@iclips/ui 1.3.12 → 1.3.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,17 +1,17 @@
1
1
  import { jsx as f, jsxs as b, Fragment as Fe } from "react/jsx-runtime";
2
2
  import * as Sa from "@radix-ui/react-accordion";
3
- import { ChevronDownIcon as rl, Loader2 as Q1, CheckIcon as il, ChevronUpIcon as sw, ChevronsLeft as lw, ChevronLeft as al, ChevronRight as Rn, ChevronsRight as fw, X as er, Filter as G1, Check as ol, Clock as bi, CalendarIcon as $o, Plus as or, Search as Ia, ArrowUpDown as cw, CircleIcon as rd, ChevronRightIcon as sl, User as ll, Settings as dw, HelpCircle as uw, LogOut as hw, Pin as pw, ChevronDown as to, MoreHorizontal as J1, ArrowRight as K1, ArrowLeft as mw, ChevronsUpDown as q1, XIcon as Z1, SearchIcon as gw, Smile as X1, Trash2 as es, AlertCircle as ln, Paperclip as Or, Type as bw, Send as ww, Bold as _1, Italic as $1, Underline as e0, List as t0, ListOrdered as n0, Link as r0, Download as ts, Printer as yw, Eye as ns, ChevronUp as vw, Minus as Cw, Euro as Mw, DollarSign as xw, Coins as Lw, Undo as Nw, Redo as kw, Heading1 as Sw, Heading2 as Iw, Heading3 as Aw, Strikethrough as Ew, AlignLeft as Tw, AlignCenter as jw, AlignRight as Dw, Quote as Rw, Image as Ow, PanelLeftOpen as id, PanelLeftClose as ad, Calendar as Aa, Youtube as zw, Twitter as Pw, Facebook as Bw, Linkedin as Fw, Instagram as Vw, GripVertical as Yw, CheckCircle2 as i0, Circle as a0, Edit as nc, MinusIcon as Uw, XCircle as Ww, Flag as Hw, MoreVertical as Qw, CheckSquare as Gw, MessageSquare as o0, Activity as Jw, TrendingUp as Kw, TrendingDown as qw, MoreHorizontalIcon as Zw, ChevronLeftIcon as Xw, EyeOff as _w, GripVerticalIcon as $w, Star as ey, PanelLeftIcon as ty, Github as ny, Link2 as ry, FileText as iy, Pencil as ay, RefreshCw as oy, PlusCircle as sy, Upload as ly } from "lucide-react";
3
+ import { ChevronDownIcon as rl, Loader2 as Q1, CheckIcon as il, ChevronUpIcon as sw, ChevronsLeft as lw, ChevronLeft as al, ChevronRight as Rn, ChevronsRight as fw, X as er, Filter as G1, Check as ol, Clock as bi, CalendarIcon as $o, Plus as or, Search as Ia, ArrowUpDown as cw, CircleIcon as nd, ChevronRightIcon as sl, User as ll, Settings as dw, HelpCircle as uw, LogOut as hw, Pin as pw, ChevronDown as to, MoreHorizontal as J1, ArrowRight as K1, ArrowLeft as mw, ChevronsUpDown as q1, XIcon as Z1, SearchIcon as gw, Smile as X1, Trash2 as es, AlertCircle as ln, Paperclip as Or, Type as bw, Send as ww, Bold as _1, Italic as $1, Underline as e0, List as t0, ListOrdered as n0, Link as r0, Download as ts, Printer as yw, Eye as ns, ChevronUp as vw, Minus as Cw, Euro as Mw, DollarSign as xw, Coins as Lw, Undo as Nw, Redo as kw, Heading1 as Sw, Heading2 as Iw, Heading3 as Aw, Strikethrough as Ew, AlignLeft as Tw, AlignCenter as jw, AlignRight as Dw, Quote as Rw, Image as Ow, PanelLeftOpen as rd, PanelLeftClose as id, Calendar as Aa, Youtube as zw, Twitter as Pw, Facebook as Bw, Linkedin as Fw, Instagram as Vw, GripVertical as Yw, CheckCircle2 as i0, Circle as a0, Edit as tc, MinusIcon as Uw, XCircle as Ww, Flag as Hw, MoreVertical as Qw, CheckSquare as Gw, MessageSquare as o0, Activity as Jw, TrendingUp as Kw, TrendingDown as qw, MoreHorizontalIcon as Zw, ChevronLeftIcon as Xw, EyeOff as _w, GripVerticalIcon as $w, Star as ey, PanelLeftIcon as ty, Github as ny, Link2 as ry, FileText as iy, Pencil as ay, RefreshCw as oy, PlusCircle as sy, Upload as ly } from "lucide-react";
4
4
  import { clsx as fy } from "clsx";
5
5
  import { twMerge as cy } from "tailwind-merge";
6
6
  import * as I from "react";
7
- import Ve, { useState as oe, useMemo as Me, useEffect as ye, useCallback as ke, useRef as Oe, useDebugValue as s0, forwardRef as l0, version as Wu, useLayoutEffect as od, createContext as Hr, useContext as nt, useImperativeHandle as dy, createElement as P, memo as sd, createRef as wn, Fragment as ld, Suspense as uy, Component as hy, isValidElement as py, cloneElement as Hu } from "react";
7
+ import Ve, { useState as oe, useMemo as Me, useEffect as ye, useCallback as ke, useRef as Oe, useDebugValue as s0, forwardRef as l0, version as Wu, useLayoutEffect as ad, createContext as Hr, useContext as nt, useImperativeHandle as dy, createElement as P, memo as od, createRef as wn, Fragment as sd, Suspense as uy, Component as hy, isValidElement as py, cloneElement as Hu } from "react";
8
8
  import { Slot as zn } from "@radix-ui/react-slot";
9
9
  import { cva as nn } from "class-variance-authority";
10
10
  import * as dt from "@radix-ui/react-select";
11
11
  import * as tr from "@radix-ui/react-popover";
12
12
  import * as Qu from "@radix-ui/react-checkbox";
13
13
  import * as my from "@radix-ui/react-label";
14
- import { format as ce, parse as f0, isValid as c0, subDays as Gu, startOfMonth as rs, endOfMonth as fd, subMonths as is, startOfWeek as Ju, endOfWeek as Ku, eachDayOfInterval as d0, isToday as fl, isSameDay as cl, isSameMonth as gy, setHours as by, getHours as u0, getMinutes as h0, addMonths as p0, addDays as vo, addHours as m0, differenceInMinutes as wy, differenceInDays as fa, isWeekend as qu, formatDistanceToNow as yy } from "date-fns";
14
+ import { format as ce, parse as f0, isValid as c0, subDays as Gu, startOfMonth as rs, endOfMonth as ld, subMonths as is, startOfWeek as Ju, endOfWeek as Ku, eachDayOfInterval as d0, isToday as fl, isSameDay as cl, isSameMonth as gy, setHours as by, getHours as u0, getMinutes as h0, addMonths as p0, addDays as vo, addHours as m0, differenceInMinutes as wy, differenceInDays as fa, isWeekend as qu, formatDistanceToNow as yy } from "date-fns";
15
15
  import { DayPicker as vy } from "react-day-picker";
16
16
  import * as pn from "@radix-ui/react-alert-dialog";
17
17
  import * as ca from "@radix-ui/react-scroll-area";
@@ -19,8 +19,8 @@ import * as $e from "@radix-ui/react-dropdown-menu";
19
19
  import * as Pi from "@radix-ui/react-avatar";
20
20
  import * as Cy from "@radix-ui/react-aspect-ratio";
21
21
  import My from "embla-carousel-react";
22
- import * as cd from "recharts";
23
- import * as dd from "@radix-ui/react-collapsible";
22
+ import * as fd from "recharts";
23
+ import * as cd from "@radix-ui/react-collapsible";
24
24
  import { HexColorPicker as xy } from "react-colorful";
25
25
  import { Command as Qr } from "cmdk";
26
26
  import * as Ye from "@radix-ui/react-dialog";
@@ -39,8 +39,8 @@ import { OTPInput as Dy, OTPInputContext as Ry } from "input-otp";
39
39
  import * as Zu from "@radix-ui/react-progress";
40
40
  import * as tt from "@radix-ui/react-menubar";
41
41
  import * as Gr from "@radix-ui/react-navigation-menu";
42
- import * as rc from "@radix-ui/react-radio-group";
43
- import * as ud from "react-resizable-panels";
42
+ import * as nc from "@radix-ui/react-radio-group";
43
+ import * as dd from "react-resizable-panels";
44
44
  import * as Co from "@radix-ui/react-slider";
45
45
  import * as Xu from "@radix-ui/react-switch";
46
46
  import { useTheme as Oy } from "next-themes";
@@ -1058,7 +1058,7 @@ const Je = I.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ f(
1058
1058
  }
1059
1059
  ));
1060
1060
  Je.displayName = "Label";
1061
- function cf(t) {
1061
+ function ff(t) {
1062
1062
  return (e = {}) => {
1063
1063
  const n = e.width ? String(e.width) : t.defaultWidth;
1064
1064
  return t.formats[n] || t.formats[t.defaultWidth];
@@ -1201,15 +1201,15 @@ const iv = {
1201
1201
  medium: "{{date}}, {{time}}",
1202
1202
  short: "{{date}}, {{time}}"
1203
1203
  }, fv = {
1204
- date: cf({
1204
+ date: ff({
1205
1205
  formats: ov,
1206
1206
  defaultWidth: "full"
1207
1207
  }),
1208
- time: cf({
1208
+ time: ff({
1209
1209
  formats: sv,
1210
1210
  defaultWidth: "full"
1211
1211
  }),
1212
- dateTime: cf({
1212
+ dateTime: ff({
1213
1213
  formats: lv,
1214
1214
  defaultWidth: "full"
1215
1215
  })
@@ -1493,7 +1493,7 @@ const iv = {
1493
1493
  firstWeekContainsDate: 1
1494
1494
  }
1495
1495
  };
1496
- function hd({
1496
+ function ud({
1497
1497
  className: t,
1498
1498
  classNames: e,
1499
1499
  showOutsideDays: n = !0,
@@ -1546,7 +1546,7 @@ function hd({
1546
1546
  }
1547
1547
  );
1548
1548
  }
1549
- hd.displayName = "Calendar";
1549
+ ud.displayName = "Calendar";
1550
1550
  const $u = (t) => {
1551
1551
  const e = [], n = t === "24h" ? 24 : 12, r = t === "24h" ? 0 : 1;
1552
1552
  for (let i = r; i < n + r; i++)
@@ -1874,7 +1874,7 @@ function x0({
1874
1874
  ] }) }),
1875
1875
  /* @__PURE__ */ b(Xe, { className: "w-auto p-0", align: "start", children: [
1876
1876
  /* @__PURE__ */ f(
1877
- hd,
1877
+ ud,
1878
1878
  {
1879
1879
  mode: "single",
1880
1880
  selected: t,
@@ -2762,7 +2762,7 @@ function Z8({
2762
2762
  }
2763
2763
  );
2764
2764
  }
2765
- function ul({
2765
+ function hd({
2766
2766
  className: t,
2767
2767
  children: e,
2768
2768
  scrollbarClassName: n,
@@ -2840,7 +2840,7 @@ const rh = {
2840
2840
  p75f2980: "M20.3786 15.1414V5.89714C20.3786 5.76004 20.4058 5.62432 20.4588 5.49788C20.5118 5.37144 20.5894 5.2568 20.6871 5.16067C20.7849 5.06453 20.9008 4.98881 21.0281 4.93792C21.1553 4.88704 21.2915 4.862 21.4286 4.86428H22.4186V16.1743H21.4286C21.2915 16.1766 21.1553 16.1515 21.0281 16.1006C20.9008 16.0498 20.7849 15.974 20.6871 15.8779C20.5894 15.7818 20.5118 15.6671 20.4588 15.5407C20.4058 15.4142 20.3786 15.2785 20.3786 15.1414V15.1414Z",
2841
2841
  pb292700: "M35.4086 9.31285C36.1566 10.1046 36.5616 11.1597 36.5357 12.2486C36.562 13.3426 36.1572 14.4032 35.4086 15.2014C35.0701 15.5832 34.6534 15.8876 34.1867 16.094C33.7201 16.3003 33.2144 16.4037 32.7043 16.3971C32.2189 16.4239 31.7343 16.3336 31.2912 16.1337C30.8481 15.9337 30.4596 15.6302 30.1586 15.2486V19.6371H29.1686C28.8946 19.6371 28.6319 19.5283 28.4382 19.3346C28.2445 19.1409 28.1357 18.8782 28.1357 18.6043V8.31857H29.3314C29.4402 8.318 29.548 8.33901 29.6486 8.38037C29.7492 8.42174 29.8406 8.48264 29.9176 8.55957C29.9945 8.63649 30.0554 8.7279 30.0967 8.82851C30.1381 8.92912 30.1591 9.03693 30.1586 9.14571V9.24428C30.4606 8.864 30.8493 8.56165 31.2923 8.36255C31.7352 8.16346 32.2194 8.07343 32.7043 8.1C33.2156 8.09642 33.7218 8.20287 34.1884 8.41214C34.655 8.62141 35.0711 8.92859 35.4086 9.31285V9.31285ZM32.3271 14.4557C32.6145 14.465 32.9008 14.4155 33.1683 14.3101C33.4359 14.2047 33.679 14.0457 33.8828 13.8429C34.0917 13.6329 34.2554 13.3823 34.3638 13.1067C34.4721 12.831 34.5229 12.536 34.5128 12.24C34.5244 11.9463 34.4743 11.6535 34.3658 11.3804C34.2573 11.1073 34.0928 10.86 33.8828 10.6543C33.4656 10.2505 32.9077 10.0248 32.3271 10.0248C31.7465 10.0248 31.1887 10.2505 30.7714 10.6543C30.5665 10.8628 30.4064 11.1111 30.301 11.3838C30.1956 11.6565 30.1471 11.9479 30.1586 12.24C30.1495 12.5344 30.199 12.8278 30.3042 13.1029C30.4094 13.3781 30.5682 13.6296 30.7714 13.8429C30.9757 14.0456 31.2187 14.2051 31.486 14.3119C31.7533 14.4187 32.0394 14.4705 32.3271 14.4643V14.4557Z"
2842
2842
  };
2843
- function ic({ variant: t = "full", mode: e = "positive", className: n, ...r }) {
2843
+ function rc({ variant: t = "full", mode: e = "positive", className: n, ...r }) {
2844
2844
  return t === "symbol" ? /* @__PURE__ */ f("div", { className: C("relative inline-block", n), ...r, "data-name": "Logo Símbolo", children: /* @__PURE__ */ b(
2845
2845
  "svg",
2846
2846
  {
@@ -2903,7 +2903,7 @@ function ic({ variant: t = "full", mode: e = "positive", className: n, ...r }) {
2903
2903
  }
2904
2904
  ) });
2905
2905
  }
2906
- function hl({
2906
+ function ul({
2907
2907
  ...t
2908
2908
  }) {
2909
2909
  return /* @__PURE__ */ f($e.Root, { "data-slot": "dropdown-menu", ...t });
@@ -2913,7 +2913,7 @@ function X8({
2913
2913
  }) {
2914
2914
  return /* @__PURE__ */ f($e.Portal, { "data-slot": "dropdown-menu-portal", ...t });
2915
2915
  }
2916
- function pl({
2916
+ function hl({
2917
2917
  ...t
2918
2918
  }) {
2919
2919
  return /* @__PURE__ */ f(
@@ -2924,7 +2924,7 @@ function pl({
2924
2924
  }
2925
2925
  );
2926
2926
  }
2927
- function ml({
2927
+ function pl({
2928
2928
  className: t,
2929
2929
  sideOffset: e = 4,
2930
2930
  ...n
@@ -3016,7 +3016,7 @@ function e7({
3016
3016
  ),
3017
3017
  ...n,
3018
3018
  children: [
3019
- /* @__PURE__ */ f("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ f($e.ItemIndicator, { children: /* @__PURE__ */ f(rd, { className: "size-2 fill-current" }) }) }),
3019
+ /* @__PURE__ */ f("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ f($e.ItemIndicator, { children: /* @__PURE__ */ f(nd, { className: "size-2 fill-current" }) }) }),
3020
3020
  e
3021
3021
  ]
3022
3022
  }
@@ -3040,7 +3040,7 @@ function Hv({
3040
3040
  }
3041
3041
  );
3042
3042
  }
3043
- function ac({
3043
+ function ic({
3044
3044
  className: t,
3045
3045
  ...e
3046
3046
  }) {
@@ -3193,8 +3193,8 @@ function Jv({
3193
3193
  className: a
3194
3194
  }) {
3195
3195
  const o = t.initials || t.name.split(" ").map((s) => s[0]).slice(0, 2).join("").toUpperCase();
3196
- return /* @__PURE__ */ b(hl, { onOpenChange: i, children: [
3197
- /* @__PURE__ */ f(pl, { asChild: !0, children: /* @__PURE__ */ b(
3196
+ return /* @__PURE__ */ b(ul, { onOpenChange: i, children: [
3197
+ /* @__PURE__ */ f(hl, { asChild: !0, children: /* @__PURE__ */ b(
3198
3198
  "button",
3199
3199
  {
3200
3200
  className: C(
@@ -3213,12 +3213,12 @@ function Jv({
3213
3213
  ]
3214
3214
  }
3215
3215
  ) }),
3216
- /* @__PURE__ */ b(ml, { className: "w-56", align: "end", side: "right", children: [
3216
+ /* @__PURE__ */ b(pl, { className: "w-56", align: "end", side: "right", children: [
3217
3217
  /* @__PURE__ */ f(Hv, { children: /* @__PURE__ */ b("div", { className: "flex flex-col space-y-1", children: [
3218
3218
  /* @__PURE__ */ f("p", { className: "text-sm font-medium leading-none", children: t.name }),
3219
3219
  t.email && /* @__PURE__ */ f("p", { className: "text-xs leading-none text-muted-foreground", children: t.email })
3220
3220
  ] }) }),
3221
- /* @__PURE__ */ f(ac, {}),
3221
+ /* @__PURE__ */ f(ic, {}),
3222
3222
  /* @__PURE__ */ f(Wv, { children: e.map((s, l) => {
3223
3223
  const c = s.icon;
3224
3224
  return /* @__PURE__ */ b(
@@ -3236,7 +3236,7 @@ function Jv({
3236
3236
  l
3237
3237
  );
3238
3238
  }) }),
3239
- /* @__PURE__ */ f(ac, {}),
3239
+ /* @__PURE__ */ f(ic, {}),
3240
3240
  /* @__PURE__ */ b(
3241
3241
  yi,
3242
3242
  {
@@ -3281,7 +3281,7 @@ function a7({
3281
3281
  onMouseLeave: () => p(!1),
3282
3282
  children: [
3283
3283
  /* @__PURE__ */ f("div", { className: "flex h-16 min-h-16 items-center px-2", children: v ? /* @__PURE__ */ b("div", { className: "flex min-w-0 flex-1 items-center justify-between overflow-hidden", children: [
3284
- r || /* @__PURE__ */ f(ic, { variant: "full", className: "h-8 w-auto" }),
3284
+ r || /* @__PURE__ */ f(rc, { variant: "full", className: "h-8 w-auto" }),
3285
3285
  /* @__PURE__ */ f(
3286
3286
  "button",
3287
3287
  {
@@ -3298,8 +3298,8 @@ function a7({
3298
3298
  )
3299
3299
  }
3300
3300
  )
3301
- ] }) : /* @__PURE__ */ f("div", { className: "flex w-full justify-center", children: r || /* @__PURE__ */ f(ic, { variant: "symbol", className: "h-8 w-8" }) }) }),
3302
- /* @__PURE__ */ f(ul, { className: "flex-1", children: /* @__PURE__ */ f("nav", { className: "space-y-1 py-3 px-2", children: t.map((y) => {
3301
+ ] }) : /* @__PURE__ */ f("div", { className: "flex w-full justify-center", children: r || /* @__PURE__ */ f(rc, { variant: "symbol", className: "h-8 w-8" }) }) }),
3302
+ /* @__PURE__ */ f(hd, { className: "flex-1", children: /* @__PURE__ */ f("nav", { className: "space-y-1 py-3 px-2", children: t.map((y) => {
3303
3303
  var j;
3304
3304
  const L = y.icon, N = y.children && y.children.length > 0, k = g.includes(y.id), A = e === y.id || ((j = y.children) == null ? void 0 : j.some((S) => S.id === e));
3305
3305
  return /* @__PURE__ */ b("div", { className: C(!v && "flex justify-center"), children: [
@@ -3460,7 +3460,7 @@ function o7({
3460
3460
  )
3461
3461
  ] })
3462
3462
  ] }),
3463
- /* @__PURE__ */ f(ul, { className: "flex-1", children: /* @__PURE__ */ b("div", { className: "p-3 space-y-4", children: [
3463
+ /* @__PURE__ */ f(hd, { className: "flex-1", children: /* @__PURE__ */ b("div", { className: "p-3 space-y-4", children: [
3464
3464
  e && e.map((x) => {
3465
3465
  const y = u.includes(x.title);
3466
3466
  return /* @__PURE__ */ b("div", { className: "space-y-1", children: [
@@ -3527,7 +3527,7 @@ const ah = nn(
3527
3527
  "flex flex-col gap-6",
3528
3528
  d ? "min-h-screen justify-center px-8 py-12 lg:px-16" : "w-full max-w-md"
3529
3529
  ), children: [
3530
- /* @__PURE__ */ f("div", { className: C("flex justify-center", d && "lg:justify-start"), children: n || /* @__PURE__ */ f(ic, { className: "w-32 h-auto" }) }),
3530
+ /* @__PURE__ */ f("div", { className: C("flex justify-center", d && "lg:justify-start"), children: n || /* @__PURE__ */ f(rc, { className: "w-32 h-auto" }) }),
3531
3531
  (r || i) && /* @__PURE__ */ b("div", { className: "space-y-2 text-center lg:text-left", children: [
3532
3532
  r && /* @__PURE__ */ f("h1", { className: "text-2xl font-semibold tracking-tight", children: r }),
3533
3533
  i && /* @__PURE__ */ f("p", { className: "text-sm text-muted-foreground", children: i })
@@ -3652,7 +3652,7 @@ function l7({
3652
3652
  );
3653
3653
  }
3654
3654
  const N0 = I.createContext(null);
3655
- function gl() {
3655
+ function ml() {
3656
3656
  const t = I.useContext(N0);
3657
3657
  if (!t)
3658
3658
  throw new Error("useCarousel must be used within a <Carousel />");
@@ -3721,7 +3721,7 @@ function f7({
3721
3721
  );
3722
3722
  }
3723
3723
  function c7({ className: t, ...e }) {
3724
- const { carouselRef: n, orientation: r } = gl();
3724
+ const { carouselRef: n, orientation: r } = ml();
3725
3725
  return /* @__PURE__ */ f(
3726
3726
  "div",
3727
3727
  {
@@ -3743,7 +3743,7 @@ function c7({ className: t, ...e }) {
3743
3743
  );
3744
3744
  }
3745
3745
  function d7({ className: t, ...e }) {
3746
- const { orientation: n } = gl();
3746
+ const { orientation: n } = ml();
3747
3747
  return /* @__PURE__ */ f(
3748
3748
  "div",
3749
3749
  {
@@ -3765,7 +3765,7 @@ function u7({
3765
3765
  size: n = "icon",
3766
3766
  ...r
3767
3767
  }) {
3768
- const { orientation: i, scrollPrev: a, canScrollPrev: o } = gl();
3768
+ const { orientation: i, scrollPrev: a, canScrollPrev: o } = ml();
3769
3769
  return /* @__PURE__ */ b(
3770
3770
  F,
3771
3771
  {
@@ -3793,7 +3793,7 @@ function h7({
3793
3793
  size: n = "icon",
3794
3794
  ...r
3795
3795
  }) {
3796
- const { orientation: i, scrollNext: a, canScrollNext: o } = gl();
3796
+ const { orientation: i, scrollNext: a, canScrollNext: o } = ml();
3797
3797
  return /* @__PURE__ */ b(
3798
3798
  F,
3799
3799
  {
@@ -3842,7 +3842,7 @@ function p7({
3842
3842
  ...i,
3843
3843
  children: [
3844
3844
  /* @__PURE__ */ f(n3, { id: o, config: r }),
3845
- /* @__PURE__ */ f(cd.ResponsiveContainer, { children: n })
3845
+ /* @__PURE__ */ f(fd.ResponsiveContainer, { children: n })
3846
3846
  ]
3847
3847
  }
3848
3848
  ) });
@@ -3871,7 +3871,7 @@ ${n.map(([a, o]) => {
3871
3871
  }
3872
3872
  }
3873
3873
  ) : null;
3874
- }, m7 = cd.Tooltip;
3874
+ }, m7 = fd.Tooltip;
3875
3875
  function g7({
3876
3876
  active: t,
3877
3877
  payload: e = [],
@@ -3891,7 +3891,7 @@ function g7({
3891
3891
  var y;
3892
3892
  if (i || !(e != null && e.length))
3893
3893
  return null;
3894
- const [w] = e, v = `${p || (w == null ? void 0 : w.dataKey) || (w == null ? void 0 : w.name) || "value"}`, M = oc(h, w, v), x = !p && typeof o == "string" ? ((y = h[o]) == null ? void 0 : y.label) || o : M == null ? void 0 : M.label;
3894
+ const [w] = e, v = `${p || (w == null ? void 0 : w.dataKey) || (w == null ? void 0 : w.name) || "value"}`, M = ac(h, w, v), x = !p && typeof o == "string" ? ((y = h[o]) == null ? void 0 : y.label) || o : M == null ? void 0 : M.label;
3895
3895
  return s ? /* @__PURE__ */ f("div", { className: C("font-medium", l), children: s(x, e) }) : x ? /* @__PURE__ */ f("div", { className: C("font-medium", l), children: x }) : null;
3896
3896
  }, [
3897
3897
  o,
@@ -3915,7 +3915,7 @@ function g7({
3915
3915
  children: [
3916
3916
  g ? null : m,
3917
3917
  /* @__PURE__ */ f("div", { className: "grid gap-1.5", children: e.map((w, v) => {
3918
- const M = `${u || w.name || w.dataKey || "value"}`, x = oc(h, w, M), y = d || w.payload.fill || w.color;
3918
+ const M = `${u || w.name || w.dataKey || "value"}`, x = ac(h, w, M), y = d || w.payload.fill || w.color;
3919
3919
  return /* @__PURE__ */ f(
3920
3920
  "div",
3921
3921
  {
@@ -3967,7 +3967,7 @@ function g7({
3967
3967
  }
3968
3968
  );
3969
3969
  }
3970
- const b7 = cd.Legend;
3970
+ const b7 = fd.Legend;
3971
3971
  function w7({
3972
3972
  className: t,
3973
3973
  hideIcon: e = !1,
@@ -3985,7 +3985,7 @@ function w7({
3985
3985
  t
3986
3986
  ),
3987
3987
  children: n.map((o) => {
3988
- const s = `${i || o.dataKey || "value"}`, l = oc(a, o, s);
3988
+ const s = `${i || o.dataKey || "value"}`, l = ac(a, o, s);
3989
3989
  return /* @__PURE__ */ b(
3990
3990
  "div",
3991
3991
  {
@@ -4011,7 +4011,7 @@ function w7({
4011
4011
  }
4012
4012
  ) : null;
4013
4013
  }
4014
- function oc(t, e, n) {
4014
+ function ac(t, e, n) {
4015
4015
  if (typeof e != "object" || e === null)
4016
4016
  return;
4017
4017
  const r = "payload" in e && typeof e.payload == "object" && e.payload !== null ? e.payload : void 0;
@@ -4021,13 +4021,13 @@ function oc(t, e, n) {
4021
4021
  function r3({
4022
4022
  ...t
4023
4023
  }) {
4024
- return /* @__PURE__ */ f(dd.Root, { "data-slot": "collapsible", ...t });
4024
+ return /* @__PURE__ */ f(cd.Root, { "data-slot": "collapsible", ...t });
4025
4025
  }
4026
4026
  function i3({
4027
4027
  ...t
4028
4028
  }) {
4029
4029
  return /* @__PURE__ */ f(
4030
- dd.CollapsibleTrigger,
4030
+ cd.CollapsibleTrigger,
4031
4031
  {
4032
4032
  "data-slot": "collapsible-trigger",
4033
4033
  ...t
@@ -4038,7 +4038,7 @@ function a3({
4038
4038
  ...t
4039
4039
  }) {
4040
4040
  return /* @__PURE__ */ f(
4041
- dd.CollapsibleContent,
4041
+ cd.CollapsibleContent,
4042
4042
  {
4043
4043
  "data-slot": "collapsible-content",
4044
4044
  ...t
@@ -4228,12 +4228,12 @@ function v7({
4228
4228
  /* @__PURE__ */ f(
4229
4229
  Xe,
4230
4230
  {
4231
- className: "p-0",
4231
+ className: "overflow-hidden p-0",
4232
4232
  style: {
4233
4233
  width: c || ((j = M.current) == null ? void 0 : j.offsetWidth) || "auto"
4234
4234
  },
4235
4235
  align: u,
4236
- children: /* @__PURE__ */ b("div", { className: "flex flex-col", children: [
4236
+ children: /* @__PURE__ */ b("div", { className: "flex flex-col overflow-hidden", children: [
4237
4237
  /* @__PURE__ */ b("div", { className: "flex items-center border-b px-3", children: [
4238
4238
  /* @__PURE__ */ f(Ia, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
4239
4239
  /* @__PURE__ */ f(
@@ -4247,37 +4247,44 @@ function v7({
4247
4247
  }
4248
4248
  )
4249
4249
  ] }),
4250
- /* @__PURE__ */ f(ul, { style: { maxHeight: d }, children: /* @__PURE__ */ f("div", { className: "p-1", children: L.length === 0 ? /* @__PURE__ */ f("div", { className: "py-6 text-center text-sm text-muted-foreground", children: a }) : L.map((S) => /* @__PURE__ */ b(
4251
- F,
4250
+ /* @__PURE__ */ f(
4251
+ "div",
4252
4252
  {
4253
- variant: "ghost",
4254
- className: C(
4255
- "w-full justify-start font-normal",
4256
- t === S.value && "bg-accent"
4257
- ),
4258
- onClick: () => A(S.value),
4259
- disabled: S.disabled,
4260
- children: [
4261
- /* @__PURE__ */ f(
4262
- ol,
4263
- {
4264
- className: C(
4265
- "mr-2 h-4 w-4",
4266
- t === S.value ? "opacity-100" : "opacity-0"
4267
- )
4268
- }
4269
- ),
4270
- /* @__PURE__ */ f("span", { className: "truncate", children: S.label })
4271
- ]
4272
- },
4273
- S.value
4274
- )) }) })
4253
+ className: "overflow-y-auto overflow-x-hidden overscroll-contain [&::-webkit-scrollbar]:w-2.5 [&::-webkit-scrollbar-track]:bg-transparent [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-primary/30 [&::-webkit-scrollbar-thumb:hover]:bg-primary/50",
4254
+ style: { maxHeight: d },
4255
+ children: /* @__PURE__ */ f("div", { className: "p-1", children: L.length === 0 ? /* @__PURE__ */ f("div", { className: "py-6 text-center text-sm text-muted-foreground", children: a }) : L.map((S) => /* @__PURE__ */ b(
4256
+ F,
4257
+ {
4258
+ variant: "ghost",
4259
+ className: C(
4260
+ "w-full justify-start font-normal",
4261
+ t === S.value && "bg-accent"
4262
+ ),
4263
+ onClick: () => A(S.value),
4264
+ disabled: S.disabled,
4265
+ children: [
4266
+ /* @__PURE__ */ f(
4267
+ ol,
4268
+ {
4269
+ className: C(
4270
+ "mr-2 h-4 w-4",
4271
+ t === S.value ? "opacity-100" : "opacity-0"
4272
+ )
4273
+ }
4274
+ ),
4275
+ /* @__PURE__ */ f("span", { className: "truncate", children: S.label })
4276
+ ]
4277
+ },
4278
+ S.value
4279
+ )) })
4280
+ }
4281
+ )
4275
4282
  ] })
4276
4283
  }
4277
4284
  )
4278
4285
  ] });
4279
4286
  }
4280
- function bl({
4287
+ function gl({
4281
4288
  ...t
4282
4289
  }) {
4283
4290
  return /* @__PURE__ */ f(Ye.Root, { "data-slot": "dialog", ...t });
@@ -4310,7 +4317,7 @@ const I0 = I.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ f(
4310
4317
  }
4311
4318
  ));
4312
4319
  I0.displayName = Ye.Overlay.displayName;
4313
- function wl({
4320
+ function bl({
4314
4321
  className: t,
4315
4322
  children: e,
4316
4323
  ...n
@@ -4337,7 +4344,7 @@ function wl({
4337
4344
  )
4338
4345
  ] });
4339
4346
  }
4340
- function yl({ className: t, ...e }) {
4347
+ function wl({ className: t, ...e }) {
4341
4348
  return /* @__PURE__ */ f(
4342
4349
  "div",
4343
4350
  {
@@ -4360,7 +4367,7 @@ function pd({ className: t, ...e }) {
4360
4367
  }
4361
4368
  );
4362
4369
  }
4363
- function vl({
4370
+ function yl({
4364
4371
  className: t,
4365
4372
  ...e
4366
4373
  }) {
@@ -4373,7 +4380,7 @@ function vl({
4373
4380
  }
4374
4381
  );
4375
4382
  }
4376
- function Cl({
4383
+ function vl({
4377
4384
  className: t,
4378
4385
  ...e
4379
4386
  }) {
@@ -4408,12 +4415,12 @@ function x7({
4408
4415
  children: n,
4409
4416
  ...r
4410
4417
  }) {
4411
- return /* @__PURE__ */ b(bl, { ...r, children: [
4412
- /* @__PURE__ */ b(yl, { className: "sr-only", children: [
4413
- /* @__PURE__ */ f(vl, { children: t }),
4414
- /* @__PURE__ */ f(Cl, { children: e })
4418
+ return /* @__PURE__ */ b(gl, { ...r, children: [
4419
+ /* @__PURE__ */ b(wl, { className: "sr-only", children: [
4420
+ /* @__PURE__ */ f(yl, { children: t }),
4421
+ /* @__PURE__ */ f(vl, { children: e })
4415
4422
  ] }),
4416
- /* @__PURE__ */ f(wl, { className: "overflow-hidden p-0", children: /* @__PURE__ */ f(s3, { className: "[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: n }) })
4423
+ /* @__PURE__ */ f(bl, { className: "overflow-hidden p-0", children: /* @__PURE__ */ f(s3, { className: "[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: n }) })
4417
4424
  ] });
4418
4425
  }
4419
4426
  function L7({
@@ -4999,9 +5006,9 @@ class O {
4999
5006
  }
5000
5007
  }
5001
5008
  O.empty = new O([], 0);
5002
- const df = { index: 0, offset: 0 };
5009
+ const cf = { index: 0, offset: 0 };
5003
5010
  function Mo(t, e) {
5004
- return df.index = t, df.offset = e, df;
5011
+ return cf.index = t, cf.offset = e, cf;
5005
5012
  }
5006
5013
  function ls(t, e) {
5007
5014
  if (t === e)
@@ -5027,7 +5034,7 @@ function ls(t, e) {
5027
5034
  }
5028
5035
  return !0;
5029
5036
  }
5030
- let Ce = class sc {
5037
+ let Ce = class oc {
5031
5038
  /**
5032
5039
  @internal
5033
5040
  */
@@ -5125,8 +5132,8 @@ let Ce = class sc {
5125
5132
  */
5126
5133
  static setFrom(e) {
5127
5134
  if (!e || Array.isArray(e) && e.length == 0)
5128
- return sc.none;
5129
- if (e instanceof sc)
5135
+ return oc.none;
5136
+ if (e instanceof oc)
5130
5137
  return [e];
5131
5138
  let n = e.slice();
5132
5139
  return n.sort((r, i) => r.type.rank - i.type.rank), n;
@@ -5260,7 +5267,7 @@ function R0(t, e) {
5260
5267
  if (!e.type.compatibleContent(t.type))
5261
5268
  throw new fs("Cannot join " + e.type.name + " onto " + t.type.name);
5262
5269
  }
5263
- function lc(t, e, n) {
5270
+ function sc(t, e, n) {
5264
5271
  let r = t.node(n);
5265
5272
  return R0(r, e.node(n)), r;
5266
5273
  }
@@ -5279,13 +5286,13 @@ function Er(t, e) {
5279
5286
  return t.type.checkContent(e), t.copy(e);
5280
5287
  }
5281
5288
  function O0(t, e, n, r, i) {
5282
- let a = t.depth > i && lc(t, e, i + 1), o = r.depth > i && lc(n, r, i + 1), s = [];
5289
+ let a = t.depth > i && sc(t, e, i + 1), o = r.depth > i && sc(n, r, i + 1), s = [];
5283
5290
  return da(null, t, i, s), a && o && e.index(i) == n.index(i) ? (R0(a, o), Ar(Er(a, O0(t, e, n, r, i + 1)), s)) : (a && Ar(Er(a, cs(t, e, i + 1)), s), da(e, n, i, s), o && Ar(Er(o, cs(n, r, i + 1)), s)), da(r, null, i, s), new O(s);
5284
5291
  }
5285
5292
  function cs(t, e, n) {
5286
5293
  let r = [];
5287
5294
  if (da(null, t, n, r), t.depth > n) {
5288
- let i = lc(t, e, n + 1);
5295
+ let i = sc(t, e, n + 1);
5289
5296
  Ar(Er(i, cs(t, e, n + 1)), r);
5290
5297
  }
5291
5298
  return da(e, null, n, r), new O(r);
@@ -6585,7 +6592,7 @@ class x3 {
6585
6592
  return !this.hasDefault;
6586
6593
  }
6587
6594
  }
6588
- class Ml {
6595
+ class Cl {
6589
6596
  /**
6590
6597
  @internal
6591
6598
  */
@@ -6607,7 +6614,7 @@ class Ml {
6607
6614
  */
6608
6615
  static compile(e, n) {
6609
6616
  let r = /* @__PURE__ */ Object.create(null), i = 0;
6610
- return e.forEach((a, o) => r[a] = new Ml(a, i++, n, o)), r;
6617
+ return e.forEach((a, o) => r[a] = new Cl(a, i++, n, o)), r;
6611
6618
  }
6612
6619
  /**
6613
6620
  When there is a mark of this type in the given set, a new set
@@ -6649,7 +6656,7 @@ class H0 {
6649
6656
  let n = this.spec = {};
6650
6657
  for (let i in e)
6651
6658
  n[i] = e[i];
6652
- n.nodes = Ge.from(e.nodes), n.marks = Ge.from(e.marks || {}), this.nodes = fh.compile(this.spec.nodes, this), this.marks = Ml.compile(this.spec.marks, this);
6659
+ n.nodes = Ge.from(e.nodes), n.marks = Ge.from(e.marks || {}), this.nodes = fh.compile(this.spec.nodes, this), this.marks = Cl.compile(this.spec.marks, this);
6653
6660
  let r = /* @__PURE__ */ Object.create(null);
6654
6661
  for (let i in this.nodes) {
6655
6662
  if (i in this.marks)
@@ -6886,9 +6893,9 @@ const Q0 = {
6886
6893
  script: !0,
6887
6894
  style: !0,
6888
6895
  title: !0
6889
- }, G0 = { ol: !0, ul: !0 }, Da = 1, fc = 2, ua = 4;
6896
+ }, G0 = { ol: !0, ul: !0 }, Da = 1, lc = 2, ua = 4;
6890
6897
  function dh(t, e, n) {
6891
- return e != null ? (e ? Da : 0) | (e === "full" ? fc : 0) : t && t.whitespace == "pre" ? Da | fc : n & ~ua;
6898
+ return e != null ? (e ? Da : 0) | (e === "full" ? lc : 0) : t && t.whitespace == "pre" ? Da | lc : n & ~ua;
6892
6899
  }
6893
6900
  class xo {
6894
6901
  constructor(e, n, r, i, a, o) {
@@ -6939,7 +6946,7 @@ class uh {
6939
6946
  e.nodeType == 3 ? this.addTextNode(e, n) : e.nodeType == 1 && this.addElement(e, n);
6940
6947
  }
6941
6948
  addTextNode(e, n) {
6942
- let r = e.nodeValue, i = this.top, a = i.options & fc ? "full" : this.localPreserveWS || (i.options & Da) > 0, { schema: o } = this.parser;
6949
+ let r = e.nodeValue, i = this.top, a = i.options & lc ? "full" : this.localPreserveWS || (i.options & Da) > 0, { schema: o } = this.parser;
6943
6950
  if (a === "full" || i.inlineContext(e) || /[^ \t\r\n\u000c]/.test(r)) {
6944
6951
  if (a)
6945
6952
  if (a === "full")
@@ -7258,7 +7265,7 @@ class Jr {
7258
7265
  nodes.
7259
7266
  */
7260
7267
  serializeFragment(e, n = {}, r) {
7261
- r || (r = uf(n).createDocumentFragment());
7268
+ r || (r = df(n).createDocumentFragment());
7262
7269
  let i = r, a = [];
7263
7270
  return e.forEach((o) => {
7264
7271
  if (a.length || o.marks.length) {
@@ -7287,7 +7294,7 @@ class Jr {
7287
7294
  @internal
7288
7295
  */
7289
7296
  serializeNodeInner(e, n) {
7290
- let { dom: r, contentDOM: i } = Uo(uf(n), this.nodes[e.type.name](e), null, e.attrs);
7297
+ let { dom: r, contentDOM: i } = Uo(df(n), this.nodes[e.type.name](e), null, e.attrs);
7291
7298
  if (i) {
7292
7299
  if (e.isLeaf)
7293
7300
  throw new RangeError("Content hole not allowed in a leaf node spec");
@@ -7315,7 +7322,7 @@ class Jr {
7315
7322
  */
7316
7323
  serializeMark(e, n, r = {}) {
7317
7324
  let i = this.marks[e.type.name];
7318
- return i && Uo(uf(r), i(e, n), null, e.attrs);
7325
+ return i && Uo(df(r), i(e, n), null, e.attrs);
7319
7326
  }
7320
7327
  static renderSpec(e, n, r = null, i) {
7321
7328
  return Uo(e, n, r, i);
@@ -7350,7 +7357,7 @@ function mh(t) {
7350
7357
  }
7351
7358
  return e;
7352
7359
  }
7353
- function uf(t) {
7360
+ function df(t) {
7354
7361
  return t.document || window.document;
7355
7362
  }
7356
7363
  const gh = /* @__PURE__ */ new WeakMap();
@@ -7425,7 +7432,7 @@ function j3(t) {
7425
7432
  return (t - (t & J0)) / K0;
7426
7433
  }
7427
7434
  const q0 = 1, Z0 = 2, Wo = 4, X0 = 8;
7428
- class cc {
7435
+ class fc {
7429
7436
  /**
7430
7437
  @internal
7431
7438
  */
@@ -7502,11 +7509,11 @@ class Nt {
7502
7509
  if (r)
7503
7510
  return h;
7504
7511
  let m = e == (n < 0 ? l : u) ? null : T3(s / 3, e - l), g = e == l ? Z0 : e == u ? q0 : Wo;
7505
- return (n < 0 ? e != l : e != u) && (g |= X0), new cc(h, g, m);
7512
+ return (n < 0 ? e != l : e != u) && (g |= X0), new fc(h, g, m);
7506
7513
  }
7507
7514
  i += d - c;
7508
7515
  }
7509
- return r ? e + i : new cc(e + i, 0, null);
7516
+ return r ? e + i : new fc(e + i, 0, null);
7510
7517
  }
7511
7518
  /**
7512
7519
  @internal
@@ -7662,10 +7669,10 @@ class Ra {
7662
7669
  }
7663
7670
  i |= s.delInfo, e = s.pos;
7664
7671
  }
7665
- return r ? e : new cc(e, i, null);
7672
+ return r ? e : new fc(e, i, null);
7666
7673
  }
7667
7674
  }
7668
- const hf = /* @__PURE__ */ Object.create(null);
7675
+ const uf = /* @__PURE__ */ Object.create(null);
7669
7676
  class st {
7670
7677
  /**
7671
7678
  Get the step map that represents the changes made by this step,
@@ -7690,7 +7697,7 @@ class st {
7690
7697
  static fromJSON(e, n) {
7691
7698
  if (!n || !n.stepType)
7692
7699
  throw new RangeError("Invalid input for Step.fromJSON");
7693
- let r = hf[n.stepType];
7700
+ let r = uf[n.stepType];
7694
7701
  if (!r)
7695
7702
  throw new RangeError(`No step type ${n.stepType} defined`);
7696
7703
  return r.fromJSON(e, n);
@@ -7702,9 +7709,9 @@ class st {
7702
7709
  that's unlikely to clash with steps from other modules.
7703
7710
  */
7704
7711
  static jsonID(e, n) {
7705
- if (e in hf)
7712
+ if (e in uf)
7706
7713
  throw new RangeError("Duplicate use of step JSON ID " + e);
7707
- return hf[e] = n, n.prototype.jsonID = e, n;
7714
+ return uf[e] = n, n.prototype.jsonID = e, n;
7708
7715
  }
7709
7716
  }
7710
7717
  class Be {
@@ -7920,7 +7927,7 @@ class ze extends st {
7920
7927
  super(), this.from = e, this.to = n, this.slice = r, this.structure = i;
7921
7928
  }
7922
7929
  apply(e) {
7923
- return this.structure && dc(e, this.from, this.to) ? Be.fail("Structure replace would overwrite content") : Be.fromReplace(e, this.from, this.to, this.slice);
7930
+ return this.structure && cc(e, this.from, this.to) ? Be.fail("Structure replace would overwrite content") : Be.fromReplace(e, this.from, this.to, this.slice);
7924
7931
  }
7925
7932
  getMap() {
7926
7933
  return new Nt([this.from, this.to - this.from, this.slice.size]);
@@ -7970,7 +7977,7 @@ class He extends st {
7970
7977
  super(), this.from = e, this.to = n, this.gapFrom = r, this.gapTo = i, this.slice = a, this.insert = o, this.structure = s;
7971
7978
  }
7972
7979
  apply(e) {
7973
- if (this.structure && (dc(e, this.from, this.gapFrom) || dc(e, this.gapTo, this.to)))
7980
+ if (this.structure && (cc(e, this.from, this.gapFrom) || cc(e, this.gapTo, this.to)))
7974
7981
  return Be.fail("Structure gap-replace would overwrite content");
7975
7982
  let n = e.slice(this.gapFrom, this.gapTo);
7976
7983
  if (n.openStart || n.openEnd)
@@ -8017,7 +8024,7 @@ class He extends st {
8017
8024
  }
8018
8025
  }
8019
8026
  st.jsonID("replaceAround", He);
8020
- function dc(t, e, n) {
8027
+ function cc(t, e, n) {
8021
8028
  let r = t.resolve(e), i = n - e, a = r.depth;
8022
8029
  for (; i > 0 && a > 0 && r.indexAfter(a) == r.node(a).childCount; )
8023
8030
  a--, i--;
@@ -8052,7 +8059,7 @@ function R3(t, e, n, r) {
8052
8059
  return;
8053
8060
  a++;
8054
8061
  let l = null;
8055
- if (r instanceof Ml) {
8062
+ if (r instanceof Cl) {
8056
8063
  let c = o.marks, d;
8057
8064
  for (; d = r.isInSet(c); )
8058
8065
  (l || (l = [])).push(d), c = d.removeFromSet(c);
@@ -8252,7 +8259,7 @@ function H3(t, e) {
8252
8259
  function em(t, e) {
8253
8260
  return !!(t && e && !t.isLeaf && H3(t, e));
8254
8261
  }
8255
- function xl(t, e, n = -1) {
8262
+ function Ml(t, e, n = -1) {
8256
8263
  let r = t.resolve(e);
8257
8264
  for (let i = r.depth; ; i--) {
8258
8265
  let a, o, s = r.index(i);
@@ -8325,7 +8332,7 @@ function tm(t, e, n) {
8325
8332
  }
8326
8333
  return null;
8327
8334
  }
8328
- function Ll(t, e, n = e, r = W.empty) {
8335
+ function xl(t, e, n = e, r = W.empty) {
8329
8336
  if (e == n && !r.size)
8330
8337
  return null;
8331
8338
  let i = t.resolve(e), a = t.resolve(n);
@@ -8380,7 +8387,7 @@ class J3 {
8380
8387
  for (let n = 1; n <= 2; n++)
8381
8388
  for (let r = n == 1 ? e : this.unplaced.openStart; r >= 0; r--) {
8382
8389
  let i, a = null;
8383
- r ? (a = pf(this.unplaced.content, r - 1).firstChild, i = a.content) : i = this.unplaced.content;
8390
+ r ? (a = hf(this.unplaced.content, r - 1).firstChild, i = a.content) : i = this.unplaced.content;
8384
8391
  let o = i.firstChild;
8385
8392
  for (let s = this.depth; s >= 0; s--) {
8386
8393
  let { type: l, match: c } = this.frontier[s], d, u = null;
@@ -8394,11 +8401,11 @@ class J3 {
8394
8401
  }
8395
8402
  }
8396
8403
  openMore() {
8397
- let { content: e, openStart: n, openEnd: r } = this.unplaced, i = pf(e, n);
8404
+ let { content: e, openStart: n, openEnd: r } = this.unplaced, i = hf(e, n);
8398
8405
  return !i.childCount || i.firstChild.isLeaf ? !1 : (this.unplaced = new W(e, n + 1, Math.max(r, i.size + n >= e.size - r ? n + 1 : 0)), !0);
8399
8406
  }
8400
8407
  dropNode() {
8401
- let { content: e, openStart: n, openEnd: r } = this.unplaced, i = pf(e, n);
8408
+ let { content: e, openStart: n, openEnd: r } = this.unplaced, i = hf(e, n);
8402
8409
  if (i.childCount <= 1 && n > 0) {
8403
8410
  let a = e.size - n <= n + i.size;
8404
8411
  this.unplaced = new W(ra(e, n - 1, 1), n - 1, a ? n - 1 : r);
@@ -8439,7 +8446,7 @@ class J3 {
8439
8446
  if (!this.$to.parent.isTextblock)
8440
8447
  return -1;
8441
8448
  let e = this.frontier[this.depth], n;
8442
- if (!e.type.isTextblock || !mf(this.$to, this.$to.depth, e.type, e.match, !1) || this.$to.depth == this.depth && (n = this.findCloseLevel(this.$to)) && n.depth == this.depth)
8449
+ if (!e.type.isTextblock || !pf(this.$to, this.$to.depth, e.type, e.match, !1) || this.$to.depth == this.depth && (n = this.findCloseLevel(this.$to)) && n.depth == this.depth)
8443
8450
  return -1;
8444
8451
  let { depth: r } = this.$to, i = this.$to.after(r);
8445
8452
  for (; r > 1 && i == this.$to.end(--r); )
@@ -8448,10 +8455,10 @@ class J3 {
8448
8455
  }
8449
8456
  findCloseLevel(e) {
8450
8457
  e: for (let n = Math.min(this.depth, e.depth); n >= 0; n--) {
8451
- let { match: r, type: i } = this.frontier[n], a = n < e.depth && e.end(n + 1) == e.pos + (e.depth - (n + 1)), o = mf(e, n, i, r, a);
8458
+ let { match: r, type: i } = this.frontier[n], a = n < e.depth && e.end(n + 1) == e.pos + (e.depth - (n + 1)), o = pf(e, n, i, r, a);
8452
8459
  if (o) {
8453
8460
  for (let s = n - 1; s >= 0; s--) {
8454
- let { match: l, type: c } = this.frontier[s], d = mf(e, s, c, l, !0);
8461
+ let { match: l, type: c } = this.frontier[s], d = pf(e, s, c, l, !0);
8455
8462
  if (!d || d.childCount)
8456
8463
  continue e;
8457
8464
  }
@@ -8487,7 +8494,7 @@ function ra(t, e, n) {
8487
8494
  function ia(t, e, n) {
8488
8495
  return e == 0 ? t.append(n) : t.replaceChild(t.childCount - 1, t.lastChild.copy(ia(t.lastChild.content, e - 1, n)));
8489
8496
  }
8490
- function pf(t, e) {
8497
+ function hf(t, e) {
8491
8498
  for (let n = 0; n < e; n++)
8492
8499
  t = t.firstChild.content;
8493
8500
  return t;
@@ -8498,7 +8505,7 @@ function rm(t, e, n) {
8498
8505
  let r = t.content;
8499
8506
  return e > 1 && (r = r.replaceChild(0, rm(r.firstChild, e - 1, r.childCount == 1 ? n - 1 : 0))), e > 0 && (r = t.type.contentMatch.fillBefore(r).append(r), n <= 0 && (r = r.append(t.type.contentMatch.matchFragment(r).fillBefore(O.empty, !0)))), t.copy(r);
8500
8507
  }
8501
- function mf(t, e, n, r, i) {
8508
+ function pf(t, e, n, r, i) {
8502
8509
  let a = t.node(e), o = i ? t.indexAfter(e) : t.index(e);
8503
8510
  if (o == a.childCount && !n.compatibleContent(a.type))
8504
8511
  return null;
@@ -8764,7 +8771,7 @@ class om {
8764
8771
  given `slice`.
8765
8772
  */
8766
8773
  replace(e, n = e, r = W.empty) {
8767
- let i = Ll(this.doc, e, n, r);
8774
+ let i = xl(this.doc, e, n, r);
8768
8775
  return i && this.step(i), this;
8769
8776
  }
8770
8777
  /**
@@ -8940,7 +8947,7 @@ class om {
8940
8947
  return gd(this, e, n, r), this;
8941
8948
  }
8942
8949
  }
8943
- const gf = /* @__PURE__ */ Object.create(null);
8950
+ const mf = /* @__PURE__ */ Object.create(null);
8944
8951
  class se {
8945
8952
  /**
8946
8953
  Initialize a selection with the head and anchor and ranges. If no
@@ -9076,7 +9083,7 @@ class se {
9076
9083
  static fromJSON(e, n) {
9077
9084
  if (!n || !n.type)
9078
9085
  throw new RangeError("Invalid input for Selection.fromJSON");
9079
- let r = gf[n.type];
9086
+ let r = mf[n.type];
9080
9087
  if (!r)
9081
9088
  throw new RangeError(`No selection type ${n.type} defined`);
9082
9089
  return r.fromJSON(e, n);
@@ -9088,9 +9095,9 @@ class se {
9088
9095
  clash with classes from other modules.
9089
9096
  */
9090
9097
  static jsonID(e, n) {
9091
- if (e in gf)
9098
+ if (e in mf)
9092
9099
  throw new RangeError("Duplicate use of selection JSON ID " + e);
9093
- return gf[e] = n, n.prototype.jsonID = e, n;
9100
+ return mf[e] = n, n.prototype.jsonID = e, n;
9094
9101
  }
9095
9102
  /**
9096
9103
  Get a [bookmark](https://prosemirror.net/docs/ref/#state.SelectionBookmark) for this selection,
@@ -9149,7 +9156,7 @@ class ee extends se {
9149
9156
  return e instanceof ee && e.anchor == this.anchor && e.head == this.head;
9150
9157
  }
9151
9158
  getBookmark() {
9152
- return new Nl(this.anchor, this.head);
9159
+ return new Ll(this.anchor, this.head);
9153
9160
  }
9154
9161
  toJSON() {
9155
9162
  return { type: "text", anchor: this.anchor, head: this.head };
@@ -9190,12 +9197,12 @@ class ee extends se {
9190
9197
  }
9191
9198
  }
9192
9199
  se.jsonID("text", ee);
9193
- class Nl {
9200
+ class Ll {
9194
9201
  constructor(e, n) {
9195
9202
  this.anchor = e, this.head = n;
9196
9203
  }
9197
9204
  map(e) {
9198
- return new Nl(e.map(this.anchor), e.map(this.head));
9205
+ return new Ll(e.map(this.anchor), e.map(this.head));
9199
9206
  }
9200
9207
  resolve(e) {
9201
9208
  return ee.between(e.resolve(this.anchor), e.resolve(this.head));
@@ -9256,7 +9263,7 @@ class wd {
9256
9263
  }
9257
9264
  map(e) {
9258
9265
  let { deleted: n, pos: r } = e.mapResult(this.anchor);
9259
- return n ? new Nl(r, r) : new wd(r);
9266
+ return n ? new Ll(r, r) : new wd(r);
9260
9267
  }
9261
9268
  resolve(e) {
9262
9269
  let n = e.resolve(this.anchor), r = n.nodeAfter;
@@ -9529,7 +9536,7 @@ const nC = [
9529
9536
  }
9530
9537
  })
9531
9538
  ];
9532
- class bf {
9539
+ class gf {
9533
9540
  constructor(e, n) {
9534
9541
  this.schema = e, this.plugins = [], this.pluginsByKey = /* @__PURE__ */ Object.create(null), this.fields = nC.slice(), n && n.forEach((r) => {
9535
9542
  if (this.pluginsByKey[r.key])
@@ -9630,7 +9637,7 @@ class mi {
9630
9637
  Create a new state.
9631
9638
  */
9632
9639
  static create(e) {
9633
- let n = new bf(e.doc ? e.doc.type.schema : e.schema, e.plugins), r = new mi(n);
9640
+ let n = new gf(e.doc ? e.doc.type.schema : e.schema, e.plugins), r = new mi(n);
9634
9641
  for (let i = 0; i < n.fields.length; i++)
9635
9642
  r[n.fields[i].name] = n.fields[i].init(e, r);
9636
9643
  return r;
@@ -9644,7 +9651,7 @@ class mi {
9644
9651
  configuration object..
9645
9652
  */
9646
9653
  reconfigure(e) {
9647
- let n = new bf(this.schema, e.plugins), r = n.fields, i = new mi(n);
9654
+ let n = new gf(this.schema, e.plugins), r = n.fields, i = new mi(n);
9648
9655
  for (let a = 0; a < r.length; a++) {
9649
9656
  let o = r[a].name;
9650
9657
  i[o] = this.hasOwnProperty(o) ? this[o] : r[a].init(e, i);
@@ -9681,7 +9688,7 @@ class mi {
9681
9688
  throw new RangeError("Invalid input for EditorState.fromJSON");
9682
9689
  if (!e.schema)
9683
9690
  throw new RangeError("Required config field 'schema' missing");
9684
- let i = new bf(e.schema, e.plugins), a = new mi(i);
9691
+ let i = new gf(e.schema, e.plugins), a = new mi(i);
9685
9692
  return i.fields.forEach((o) => {
9686
9693
  if (o.name == "doc")
9687
9694
  a.doc = Yt.fromJSON(e.schema, n.doc);
@@ -9724,9 +9731,9 @@ class Ie {
9724
9731
  return e[this.key];
9725
9732
  }
9726
9733
  }
9727
- const wf = /* @__PURE__ */ Object.create(null);
9734
+ const bf = /* @__PURE__ */ Object.create(null);
9728
9735
  function lm(t) {
9729
- return t in wf ? t + "$" + ++wf[t] : (wf[t] = 0, t + "$");
9736
+ return t in bf ? t + "$" + ++bf[t] : (bf[t] = 0, t + "$");
9730
9737
  }
9731
9738
  class Re {
9732
9739
  /**
@@ -9768,7 +9775,7 @@ const cm = (t, e, n) => {
9768
9775
  return !0;
9769
9776
  if (r.parent.content.size == 0 && (Ni(a, "end") || Z.isSelectable(a)))
9770
9777
  for (let o = r.depth; ; o--) {
9771
- let s = Ll(t.doc, r.before(o), r.after(o), W.empty);
9778
+ let s = xl(t.doc, r.before(o), r.after(o), W.empty);
9772
9779
  if (s && s.slice.size < s.to - s.from) {
9773
9780
  if (e) {
9774
9781
  let l = t.tr.step(s);
@@ -9812,7 +9819,7 @@ function dm(t, e, n) {
9812
9819
  return !1;
9813
9820
  s = d;
9814
9821
  }
9815
- let c = Ll(t.doc, a, l, W.empty);
9822
+ let c = xl(t.doc, a, l, W.empty);
9816
9823
  if (!c || c.from != a || c instanceof ze && c.slice.size >= l - a)
9817
9824
  return !1;
9818
9825
  if (n) {
@@ -9867,7 +9874,7 @@ const pm = (t, e, n) => {
9867
9874
  if (ym(t, i, e, 1))
9868
9875
  return !0;
9869
9876
  if (r.parent.content.size == 0 && (Ni(a, "start") || Z.isSelectable(a))) {
9870
- let o = Ll(t.doc, r.before(), r.after(), W.empty);
9877
+ let o = xl(t.doc, r.before(), r.after(), W.empty);
9871
9878
  if (o && o.slice.size < o.to - o.from) {
9872
9879
  if (e) {
9873
9880
  let s = t.tr.step(o);
@@ -9906,7 +9913,7 @@ const aC = (t, e) => {
9906
9913
  if (n.node.isTextblock || !lr(t.doc, n.from))
9907
9914
  return !1;
9908
9915
  i = n.from;
9909
- } else if (i = xl(t.doc, n.from, -1), i == null)
9916
+ } else if (i = Ml(t.doc, n.from, -1), i == null)
9910
9917
  return !1;
9911
9918
  if (e) {
9912
9919
  let a = t.tr.join(i);
@@ -9919,7 +9926,7 @@ const aC = (t, e) => {
9919
9926
  if (n.node.isTextblock || !lr(t.doc, n.to))
9920
9927
  return !1;
9921
9928
  r = n.to;
9922
- } else if (r = xl(t.doc, n.to, 1), r == null)
9929
+ } else if (r = Ml(t.doc, n.to, 1), r == null)
9923
9930
  return !1;
9924
9931
  return e && e(t.tr.join(r).scrollIntoView()), !0;
9925
9932
  }, sC = (t, e) => {
@@ -10198,12 +10205,12 @@ const Ke = function(t) {
10198
10205
  let e = t.assignedSlot || t.parentNode;
10199
10206
  return e && e.nodeType == 11 ? e.host : e;
10200
10207
  };
10201
- let uc = null;
10208
+ let dc = null;
10202
10209
  const Nn = function(t, e, n) {
10203
- let r = uc || (uc = document.createRange());
10210
+ let r = dc || (dc = document.createRange());
10204
10211
  return r.setEnd(t, n ?? t.nodeValue.length), r.setStart(t, e || 0), r;
10205
10212
  }, xC = function() {
10206
- uc = null;
10213
+ dc = null;
10207
10214
  }, Fr = function(t, e, n, r) {
10208
10215
  return n && (kh(t, e, n, r, -1) || kh(t, e, n, r, 1));
10209
10216
  }, LC = /^(img|br|input|textarea|hr)$/i;
@@ -10276,7 +10283,7 @@ function no(t) {
10276
10283
  ;
10277
10284
  return e && e.node && e.node.isBlock && (e.dom == t || e.contentDOM == t);
10278
10285
  }
10279
- const kl = function(t) {
10286
+ const Nl = function(t) {
10280
10287
  return t.focusNode && Fr(t.focusNode, t.focusOffset, t.anchorNode, t.anchorOffset);
10281
10288
  };
10282
10289
  function Cr(t, e) {
@@ -10303,9 +10310,9 @@ function AC(t, e, n) {
10303
10310
  return { node: r.startContainer, offset: Math.min(Vt(r.startContainer), r.startOffset) };
10304
10311
  }
10305
10312
  }
10306
- const dn = typeof navigator < "u" ? navigator : null, Sh = typeof document < "u" ? document : null, fr = dn && dn.userAgent || "", hc = /Edge\/(\d+)/.exec(fr), Cm = /MSIE \d/.exec(fr), pc = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(fr), Ct = !!(Cm || pc || hc), Xn = Cm ? document.documentMode : pc ? +pc[1] : hc ? +hc[1] : 0, Ut = !Ct && /gecko\/(\d+)/i.test(fr);
10313
+ const dn = typeof navigator < "u" ? navigator : null, Sh = typeof document < "u" ? document : null, fr = dn && dn.userAgent || "", uc = /Edge\/(\d+)/.exec(fr), Cm = /MSIE \d/.exec(fr), hc = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(fr), Ct = !!(Cm || hc || uc), Xn = Cm ? document.documentMode : hc ? +hc[1] : uc ? +uc[1] : 0, Ut = !Ct && /gecko\/(\d+)/i.test(fr);
10307
10314
  Ut && +(/Firefox\/(\d+)/.exec(fr) || [0, 0])[1];
10308
- const mc = !Ct && /Chrome\/(\d+)/.exec(fr), _e = !!mc, Mm = mc ? +mc[1] : 0, ot = !Ct && !!dn && /Apple Computer/.test(dn.vendor), Si = ot && (/Mobile\/\w+/.test(fr) || !!dn && dn.maxTouchPoints > 2), Bt = Si || (dn ? /Mac/.test(dn.platform) : !1), xm = dn ? /Win/.test(dn.platform) : !1, Tn = /Android \d/.test(fr), ro = !!Sh && "webkitFontSmoothing" in Sh.documentElement.style, EC = ro ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
10315
+ const pc = !Ct && /Chrome\/(\d+)/.exec(fr), _e = !!pc, Mm = pc ? +pc[1] : 0, ot = !Ct && !!dn && /Apple Computer/.test(dn.vendor), Si = ot && (/Mobile\/\w+/.test(fr) || !!dn && dn.maxTouchPoints > 2), Bt = Si || (dn ? /Mac/.test(dn.platform) : !1), xm = dn ? /Win/.test(dn.platform) : !1, Tn = /Android \d/.test(fr), ro = !!Sh && "webkitFontSmoothing" in Sh.documentElement.style, EC = ro ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
10309
10316
  function TC(t) {
10310
10317
  let e = t.defaultView && t.defaultView.visualViewport;
10311
10318
  return e ? {
@@ -10543,14 +10550,14 @@ function Im(t, e, n) {
10543
10550
  if (a == null && i && (n < 0 || i == Vt(r))) {
10544
10551
  let l = r.childNodes[i - 1];
10545
10552
  if (l.nodeType == 1)
10546
- return yf(l.getBoundingClientRect(), !1);
10553
+ return wf(l.getBoundingClientRect(), !1);
10547
10554
  }
10548
10555
  if (a == null && i < Vt(r)) {
10549
10556
  let l = r.childNodes[i];
10550
10557
  if (l.nodeType == 1)
10551
- return yf(l.getBoundingClientRect(), !0);
10558
+ return wf(l.getBoundingClientRect(), !0);
10552
10559
  }
10553
- return yf(r.getBoundingClientRect(), n >= 0);
10560
+ return wf(r.getBoundingClientRect(), n >= 0);
10554
10561
  }
10555
10562
  if (a == null && i && (n < 0 || i == Vt(r))) {
10556
10563
  let l = r.childNodes[i - 1], c = l.nodeType == 3 ? Nn(l, Vt(l) - (o ? 0 : 1)) : l.nodeType == 1 && (l.nodeName != "BR" || !l.nextSibling) ? l : null;
@@ -10573,7 +10580,7 @@ function qi(t, e) {
10573
10580
  let n = e ? t.left : t.right;
10574
10581
  return { top: t.top, bottom: t.bottom, left: n, right: n };
10575
10582
  }
10576
- function yf(t, e) {
10583
+ function wf(t, e) {
10577
10584
  if (t.height == 0)
10578
10585
  return t;
10579
10586
  let n = e ? t.top : t.bottom;
@@ -11070,7 +11077,7 @@ class Vr extends io {
11070
11077
  }
11071
11078
  slice(e, n, r) {
11072
11079
  let i = Vr.create(this.parent, this.mark, !0, r), a = this.children, o = this.size;
11073
- n < o && (a = bc(a, n, o, r)), e > 0 && (a = bc(a, 0, e, r));
11080
+ n < o && (a = gc(a, n, o, r)), e > 0 && (a = gc(a, 0, e, r));
11074
11081
  for (let s = 0; s < a.length; s++)
11075
11082
  a[s].parent = i;
11076
11083
  return i.children = a, i;
@@ -11110,7 +11117,7 @@ class _n extends io {
11110
11117
  } else d || ({ dom: d, contentDOM: u } = Jr.renderSpec(document, n.type.spec.toDOM(n), null, n.attrs));
11111
11118
  !u && !n.isText && d.nodeName != "BR" && (d.hasAttribute("contenteditable") || (d.contentEditable = "false"), n.type.spec.draggable && (d.draggable = !0));
11112
11119
  let p = d;
11113
- return d = Rm(d, r, n), c ? l = new JC(e, n, r, i, d, u || null, p, c, a, o + 1) : n.isText ? new Sl(e, n, r, i, d, p, a) : new _n(e, n, r, i, d, u || null, p, a, o + 1);
11120
+ return d = Rm(d, r, n), c ? l = new JC(e, n, r, i, d, u || null, p, c, a, o + 1) : n.isText ? new kl(e, n, r, i, d, p, a) : new _n(e, n, r, i, d, u || null, p, a, o + 1);
11114
11121
  }
11115
11122
  parseRule() {
11116
11123
  if (this.node.type.spec.reparseInView)
@@ -11180,7 +11187,7 @@ class _n extends io {
11180
11187
  a.pmViewDesc && (a.pmViewDesc = void 0);
11181
11188
  }
11182
11189
  let o = new GC(this, a, n, i);
11183
- e.input.compositionNodes.push(o), this.children = bc(this.children, r, r + i.length, e, o);
11190
+ e.input.compositionNodes.push(o), this.children = gc(this.children, r, r + i.length, e, o);
11184
11191
  }
11185
11192
  // If this desc must be updated to match the given node decoration,
11186
11193
  // do so and return true.
@@ -11194,7 +11201,7 @@ class _n extends io {
11194
11201
  if (hs(e, this.outerDeco))
11195
11202
  return;
11196
11203
  let n = this.nodeDOM.nodeType != 1, r = this.dom;
11197
- this.dom = Dm(this.dom, this.nodeDOM, gc(this.outerDeco, this.node, n), gc(e, this.node, n)), this.dom != r && (r.pmViewDesc = void 0, this.dom.pmViewDesc = this), this.outerDeco = e;
11204
+ this.dom = Dm(this.dom, this.nodeDOM, mc(this.outerDeco, this.node, n), mc(e, this.node, n)), this.dom != r && (r.pmViewDesc = void 0, this.dom.pmViewDesc = this), this.outerDeco = e;
11198
11205
  }
11199
11206
  // Mark this node as being the selected node.
11200
11207
  selectNode() {
@@ -11213,7 +11220,7 @@ function Rh(t, e, n, r, i) {
11213
11220
  let a = new _n(void 0, t, e, n, r, r, r, i, 0);
11214
11221
  return a.contentDOM && a.updateChildren(i, 0), a;
11215
11222
  }
11216
- class Sl extends _n {
11223
+ class kl extends _n {
11217
11224
  constructor(e, n, r, i, a, o, s) {
11218
11225
  super(e, n, r, i, a, null, o, s, 0);
11219
11226
  }
@@ -11244,7 +11251,7 @@ class Sl extends _n {
11244
11251
  }
11245
11252
  slice(e, n, r) {
11246
11253
  let i = this.node.cut(e, n), a = document.createTextNode(i.text);
11247
- return new Sl(this.parent, i, this.outerDeco, this.innerDeco, a, a, r);
11254
+ return new kl(this.parent, i, this.outerDeco, this.innerDeco, a, a, r);
11248
11255
  }
11249
11256
  markDirty(e, n) {
11250
11257
  super.markDirty(e, n), this.dom != this.nodeDOM && (e == 0 || n == this.nodeDOM.nodeValue.length) && (this.dirty = un);
@@ -11328,7 +11335,7 @@ const ha = function(t) {
11328
11335
  };
11329
11336
  ha.prototype = /* @__PURE__ */ Object.create(null);
11330
11337
  const Nr = [new ha()];
11331
- function gc(t, e, n) {
11338
+ function mc(t, e, n) {
11332
11339
  if (t.length == 0)
11333
11340
  return Nr;
11334
11341
  let r = n ? Nr[0] : new ha(), i = [r];
@@ -11381,7 +11388,7 @@ function KC(t, e, n) {
11381
11388
  }
11382
11389
  }
11383
11390
  function Rm(t, e, n) {
11384
- return Dm(t, t, Nr, gc(e, n, t.nodeType != 1));
11391
+ return Dm(t, t, Nr, mc(e, n, t.nodeType != 1));
11385
11392
  }
11386
11393
  function hs(t, e) {
11387
11394
  if (t.length != e.length)
@@ -11530,7 +11537,7 @@ class qC {
11530
11537
  for (; e instanceof Vr; )
11531
11538
  n = e, e = n.children[n.children.length - 1];
11532
11539
  (!e || // Empty textblock
11533
- !(e instanceof Sl) || /\n$/.test(e.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(e.node.text)) && ((ot || _e) && e && e.dom.contentEditable == "false" && this.addHackNode("IMG", n), this.addHackNode("BR", this.top));
11540
+ !(e instanceof kl) || /\n$/.test(e.node.text) || this.view.requiresGeckoHackNode && /\s$/.test(e.node.text)) && ((ot || _e) && e && e.dom.contentEditable == "false" && this.addHackNode("IMG", n), this.addHackNode("BR", this.top));
11534
11541
  }
11535
11542
  addHackNode(e, n) {
11536
11543
  if (n == this.top && this.index < n.children.length && n.children[this.index].matchesHack(e))
@@ -11654,7 +11661,7 @@ function eM(t, e, n, r) {
11654
11661
  }
11655
11662
  return -1;
11656
11663
  }
11657
- function bc(t, e, n, r, i) {
11664
+ function gc(t, e, n, r, i) {
11658
11665
  let a = [];
11659
11666
  for (let o = 0, s = 0; o < t.length; o++) {
11660
11667
  let l = t[o], c = s, d = s += l.size;
@@ -11670,7 +11677,7 @@ function Nd(t, e = null) {
11670
11677
  if (o < 0)
11671
11678
  return null;
11672
11679
  let s = r.resolve(o), l, c;
11673
- if (kl(n)) {
11680
+ if (Nl(n)) {
11674
11681
  for (l = o; i && !i.node; )
11675
11682
  i = i.parent;
11676
11683
  let u = i.node;
@@ -11726,15 +11733,15 @@ const zh = ot || _e && Mm < 63;
11726
11733
  function Ph(t, e) {
11727
11734
  let { node: n, offset: r } = t.docView.domFromPos(e, 0), i = r < n.childNodes.length ? n.childNodes[r] : null, a = r ? n.childNodes[r - 1] : null;
11728
11735
  if (ot && i && i.contentEditable == "false")
11729
- return vf(i);
11736
+ return yf(i);
11730
11737
  if ((!i || i.contentEditable == "false") && (!a || a.contentEditable == "false")) {
11731
11738
  if (i)
11732
- return vf(i);
11739
+ return yf(i);
11733
11740
  if (a)
11734
- return vf(a);
11741
+ return yf(a);
11735
11742
  }
11736
11743
  }
11737
- function vf(t) {
11744
+ function yf(t) {
11738
11745
  return t.contentEditable = "true", ot && t.draggable && (t.draggable = !1, t.wasDraggable = !0), t;
11739
11746
  }
11740
11747
  function Bh(t) {
@@ -11787,7 +11794,7 @@ function rM(t) {
11787
11794
  let e = t.docView.domFromPos(t.state.selection.anchor, 0), n = t.domSelectionRange();
11788
11795
  return Fr(e.node, e.offset, n.anchorNode, n.anchorOffset);
11789
11796
  }
11790
- function wc(t, e) {
11797
+ function bc(t, e) {
11791
11798
  let { $anchor: n, $head: r } = t.selection, i = e > 0 ? n.max(r) : n.min(r), a = i.parent.inlineContent ? i.depth ? t.doc.resolve(e > 0 ? i.after() : i.before()) : null : i;
11792
11799
  return a && se.findFrom(a, e);
11793
11800
  }
@@ -11805,7 +11812,7 @@ function Yh(t, e, n) {
11805
11812
  return Un(t, new ee(r.$anchor, o));
11806
11813
  } else if (r.empty) {
11807
11814
  if (t.endOfTextblock(e > 0 ? "forward" : "backward")) {
11808
- let i = wc(t.state, e);
11815
+ let i = bc(t.state, e);
11809
11816
  return i && i instanceof Z ? Un(t, i) : !1;
11810
11817
  } else if (!(Bt && n.indexOf("m") > -1)) {
11811
11818
  let i = r.$head, a = i.textOffset ? null : e < 0 ? i.nodeBefore : i.nodeAfter, o;
@@ -11819,7 +11826,7 @@ function Yh(t, e, n) {
11819
11826
  if (r instanceof Z && r.node.isInline)
11820
11827
  return Un(t, new ee(e > 0 ? r.$to : r.$from));
11821
11828
  {
11822
- let i = wc(t.state, e);
11829
+ let i = bc(t.state, e);
11823
11830
  return i ? Un(t, i) : !1;
11824
11831
  }
11825
11832
  }
@@ -11868,7 +11875,7 @@ function iM(t) {
11868
11875
  }
11869
11876
  }
11870
11877
  }
11871
- o ? yc(t, n, r) : i && yc(t, i, a);
11878
+ o ? wc(t, n, r) : i && wc(t, i, a);
11872
11879
  }
11873
11880
  function aM(t) {
11874
11881
  let e = t.domSelectionRange(), n = e.focusNode, r = e.focusOffset;
@@ -11900,7 +11907,7 @@ function aM(t) {
11900
11907
  }
11901
11908
  }
11902
11909
  }
11903
- a && yc(t, a, o);
11910
+ a && wc(t, a, o);
11904
11911
  }
11905
11912
  function Bm(t) {
11906
11913
  let e = t.pmViewDesc;
@@ -11930,7 +11937,7 @@ function sM(t, e) {
11930
11937
  t = n, e = t.childNodes.length;
11931
11938
  }
11932
11939
  }
11933
- function yc(t, e, n) {
11940
+ function wc(t, e, n) {
11934
11941
  if (e.nodeType != 3) {
11935
11942
  let a, o;
11936
11943
  (o = oM(e, n)) ? (e = o, n = 0) : (a = sM(e, n)) && (e = a, n = a.nodeValue.length);
@@ -11938,7 +11945,7 @@ function yc(t, e, n) {
11938
11945
  let r = t.domSelection();
11939
11946
  if (!r)
11940
11947
  return;
11941
- if (kl(r)) {
11948
+ if (Nl(r)) {
11942
11949
  let a = document.createRange();
11943
11950
  a.setEnd(e, n), a.setStart(e, n), r.removeAllRanges(), r.addRange(a);
11944
11951
  } else r.extend && r.extend(e, n);
@@ -11971,7 +11978,7 @@ function Wh(t, e, n) {
11971
11978
  return !1;
11972
11979
  let { $from: i, $to: a } = r;
11973
11980
  if (!i.parent.inlineContent || t.endOfTextblock(e < 0 ? "up" : "down")) {
11974
- let o = wc(t.state, e);
11981
+ let o = bc(t.state, e);
11975
11982
  if (o && o instanceof Z)
11976
11983
  return Un(t, o);
11977
11984
  }
@@ -12168,12 +12175,12 @@ function Um(t, e) {
12168
12175
  let n = t.content.replaceChild(t.childCount - 1, Um(t.lastChild, e - 1)), r = t.contentMatchAt(t.childCount).fillBefore(O.empty, !0);
12169
12176
  return t.copy(n.append(r));
12170
12177
  }
12171
- function vc(t, e, n, r, i, a) {
12178
+ function yc(t, e, n, r, i, a) {
12172
12179
  let o = e < 0 ? t.firstChild : t.lastChild, s = o.content;
12173
- return t.childCount > 1 && (a = 0), i < r - 1 && (s = vc(s, e, n, r, i + 1, a)), i >= n && (s = e < 0 ? o.contentMatchAt(0).fillBefore(s, a <= i).append(s) : s.append(o.contentMatchAt(o.childCount).fillBefore(O.empty, !0))), t.replaceChild(e < 0 ? 0 : t.childCount - 1, o.copy(s));
12180
+ return t.childCount > 1 && (a = 0), i < r - 1 && (s = yc(s, e, n, r, i + 1, a)), i >= n && (s = e < 0 ? o.contentMatchAt(0).fillBefore(s, a <= i).append(s) : s.append(o.contentMatchAt(o.childCount).fillBefore(O.empty, !0))), t.replaceChild(e < 0 ? 0 : t.childCount - 1, o.copy(s));
12174
12181
  }
12175
12182
  function Gh(t, e, n) {
12176
- return e < t.openStart && (t = new W(vc(t.content, -1, e, t.openStart, 0, t.openEnd), e, t.openEnd)), n < t.openEnd && (t = new W(vc(t.content, 1, n, t.openEnd, 0, 0), t.openStart, n)), t;
12183
+ return e < t.openStart && (t = new W(yc(t.content, -1, e, t.openStart, 0, t.openEnd), e, t.openEnd)), n < t.openEnd && (t = new W(yc(t.content, 1, n, t.openEnd, 0, 0), t.openStart, n)), t;
12177
12184
  }
12178
12185
  const Wm = {
12179
12186
  thead: ["table"],
@@ -12190,10 +12197,10 @@ let Jh = null;
12190
12197
  function Hm() {
12191
12198
  return Jh || (Jh = document.implementation.createHTMLDocument("title"));
12192
12199
  }
12193
- let Cf = null;
12200
+ let vf = null;
12194
12201
  function hM(t) {
12195
12202
  let e = window.trustedTypes;
12196
- return e ? (Cf || (Cf = e.defaultPolicy || e.createPolicy("ProseMirrorClipboard", { createHTML: (n) => n })), Cf.createHTML(t)) : t;
12203
+ return e ? (vf || (vf = e.defaultPolicy || e.createPolicy("ProseMirrorClipboard", { createHTML: (n) => n })), vf.createHTML(t)) : t;
12197
12204
  }
12198
12205
  function pM(t) {
12199
12206
  let e = /^(\s*<meta [^>]*>)*/.exec(t);
@@ -12242,7 +12249,7 @@ function yM(t) {
12242
12249
  CM(t, r) && !Id(t, r) && (t.editable || !(r.type in ht)) && n(t, r);
12243
12250
  }, bM[e] ? { passive: !0 } : void 0);
12244
12251
  }
12245
- ot && t.dom.addEventListener("input", () => null), Cc(t);
12252
+ ot && t.dom.addEventListener("input", () => null), vc(t);
12246
12253
  }
12247
12254
  function qn(t, e) {
12248
12255
  t.input.lastSelectionOrigin = e, t.input.lastSelectionTime = Date.now();
@@ -12253,7 +12260,7 @@ function vM(t) {
12253
12260
  t.dom.removeEventListener(e, t.input.eventHandlers[e]);
12254
12261
  clearTimeout(t.input.composingTimeout), clearTimeout(t.input.lastIOSEnterFallbackTimeout);
12255
12262
  }
12256
- function Cc(t) {
12263
+ function vc(t) {
12257
12264
  t.someProp("handleDOMEvents", (e) => {
12258
12265
  for (let n in e)
12259
12266
  t.input.eventHandlers[n] || t.dom.addEventListener(n, t.input.eventHandlers[n] = (r) => Id(t, r));
@@ -12305,7 +12312,7 @@ ht.keypress = (t, e) => {
12305
12312
  !/[\r\n]/.test(i) && !t.someProp("handleTextInput", (o) => o(t, r.$from.pos, r.$to.pos, i, a)) && t.dispatch(a()), n.preventDefault();
12306
12313
  }
12307
12314
  };
12308
- function Il(t) {
12315
+ function Sl(t) {
12309
12316
  return { left: t.clientX, top: t.clientY };
12310
12317
  }
12311
12318
  function xM(t, e) {
@@ -12384,7 +12391,7 @@ ut.mousedown = (t, e) => {
12384
12391
  t.input.shiftKey = n.shiftKey;
12385
12392
  let r = Ed(t), i = Date.now(), a = "singleClick";
12386
12393
  i - t.input.lastClick.time < 500 && xM(n, t.input.lastClick) && !n[Qm] && t.input.lastClick.button == n.button && (t.input.lastClick.type == "singleClick" ? a = "doubleClick" : t.input.lastClick.type == "doubleClick" && (a = "tripleClick")), t.input.lastClick = { time: i, x: n.clientX, y: n.clientY, type: a, button: n.button };
12387
- let o = t.posAtCoords(Il(n));
12394
+ let o = t.posAtCoords(Sl(n));
12388
12395
  o && (a == "singleClick" ? (t.input.mouseDown && t.input.mouseDown.done(), t.input.mouseDown = new EM(t, o, n, !!r)) : (a == "doubleClick" ? SM : IM)(t, o.pos, o.inside, n) ? n.preventDefault() : qn(t, "pointer"));
12389
12396
  };
12390
12397
  class EM {
@@ -12416,7 +12423,7 @@ class EM {
12416
12423
  if (this.done(), !this.view.dom.contains(e.target))
12417
12424
  return;
12418
12425
  let n = this.pos;
12419
- this.view.state.doc != this.startDoc && (n = this.view.posAtCoords(Il(e))), this.updateAllowDefault(e), this.allowDefault || !n ? qn(this.view, "pointer") : kM(this.view, n.pos, n.inside, e, this.selectNode) ? e.preventDefault() : e.button == 0 && (this.flushed || // Safari ignores clicks on draggable elements
12426
+ this.view.state.doc != this.startDoc && (n = this.view.posAtCoords(Sl(e))), this.updateAllowDefault(e), this.allowDefault || !n ? qn(this.view, "pointer") : kM(this.view, n.pos, n.inside, e, this.selectNode) ? e.preventDefault() : e.button == 0 && (this.flushed || // Safari ignores clicks on draggable elements
12420
12427
  ot && this.mightDrag && !this.mightDrag.node.isAtom || // Chrome will sometimes treat a node selection as a
12421
12428
  // cursor, but still report that the node is selected
12422
12429
  // when asked through getSelection. You'll then get a
@@ -12587,7 +12594,7 @@ ut.dragstart = (t, e) => {
12587
12594
  let n = e, r = t.input.mouseDown;
12588
12595
  if (r && r.done(), !n.dataTransfer)
12589
12596
  return;
12590
- let i = t.state.selection, a = i.empty ? null : t.posAtCoords(Il(n)), o;
12597
+ let i = t.state.selection, a = i.empty ? null : t.posAtCoords(Sl(n)), o;
12591
12598
  if (!(a && a.pos >= i.from && a.pos <= (i instanceof Z ? i.to - 1 : i.to))) {
12592
12599
  if (r && r.mightDrag)
12593
12600
  o = Z.create(t.state.doc, r.mightDrag.pos);
@@ -12616,7 +12623,7 @@ ht.drop = (t, e) => {
12616
12623
  function FM(t, e, n) {
12617
12624
  if (!e.dataTransfer)
12618
12625
  return;
12619
- let r = t.posAtCoords(Il(e));
12626
+ let r = t.posAtCoords(Sl(e));
12620
12627
  if (!r)
12621
12628
  return;
12622
12629
  let i = t.state.doc.resolve(r.pos), a = n && n.slice;
@@ -13174,7 +13181,7 @@ function Kh(t, e, n) {
13174
13181
  e++;
13175
13182
  t.splice(e, 0, n);
13176
13183
  }
13177
- function Mf(t) {
13184
+ function Cf(t) {
13178
13185
  let e = [];
13179
13186
  return t.someProp("decorations", (n) => {
13180
13187
  let r = n(t.state);
@@ -13322,7 +13329,7 @@ class QM {
13322
13329
  }
13323
13330
  }
13324
13331
  let c = null;
13325
- a < 0 && i && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && kl(r) && (c = Nd(e)) && c.eq(se.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0, Dn(e), this.currentSelection.set(r), e.scrollToSelection()) : (a > -1 || i) && (a > -1 && (e.docView.markDirty(a, o), GM(e)), e.input.badSafariComposition && (e.input.badSafariComposition = !1, qM(e, l)), this.handleDOMChange(a, o, s, l), e.docView && e.docView.dirty ? e.updateState(e.state) : this.currentSelection.eq(r) || Dn(e), this.currentSelection.set(r));
13332
+ a < 0 && i && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && Nl(r) && (c = Nd(e)) && c.eq(se.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0, Dn(e), this.currentSelection.set(r), e.scrollToSelection()) : (a > -1 || i) && (a > -1 && (e.docView.markDirty(a, o), GM(e)), e.input.badSafariComposition && (e.input.badSafariComposition = !1, qM(e, l)), this.handleDOMChange(a, o, s, l), e.docView && e.docView.dirty ? e.updateState(e.state) : this.currentSelection.eq(r) || Dn(e), this.currentSelection.set(r));
13326
13333
  }
13327
13334
  registerMutation(e, n) {
13328
13335
  if (n.indexOf(e.target) > -1)
@@ -13412,7 +13419,7 @@ function qM(t, e) {
13412
13419
  }
13413
13420
  function ZM(t, e, n) {
13414
13421
  let { node: r, fromOffset: i, toOffset: a, from: o, to: s } = t.docView.parseRange(e, n), l = t.domSelectionRange(), c, d = l.anchorNode;
13415
- if (d && t.dom.contains(d.nodeType == 1 ? d : d.parentNode) && (c = [{ node: d, offset: l.anchorOffset }], kl(l) || c.push({ node: l.focusNode, offset: l.focusOffset })), _e && t.input.lastKeyCode === 8)
13422
+ if (d && t.dom.contains(d.nodeType == 1 ? d : d.parentNode) && (c = [{ node: d, offset: l.anchorOffset }], Nl(l) || c.push({ node: l.focusNode, offset: l.focusOffset })), _e && t.input.lastKeyCode === 8)
13416
13423
  for (let w = a; w > i; w--) {
13417
13424
  let v = r.childNodes[w - 1], M = v.pmViewDesc;
13418
13425
  if (v.nodeName == "BR" && !M) {
@@ -13555,7 +13562,7 @@ function tx(t, e, n, r, i) {
13555
13562
  if (
13556
13563
  // The content must have shrunk
13557
13564
  n - e <= i.pos - r.pos || // newEnd must point directly at or after the end of the block that newStart points into
13558
- xf(r, !0, !1) < i.pos
13565
+ Mf(r, !0, !1) < i.pos
13559
13566
  )
13560
13567
  return !1;
13561
13568
  let a = t.resolve(e);
@@ -13565,10 +13572,10 @@ function tx(t, e, n, r, i) {
13565
13572
  }
13566
13573
  if (a.parentOffset < a.parent.content.size || !a.parent.isTextblock)
13567
13574
  return !1;
13568
- let o = t.resolve(xf(a, !0, !0));
13569
- return !o.parent.isTextblock || o.pos > n || xf(o, !0, !1) < n ? !1 : r.parent.content.cut(r.parentOffset).eq(o.parent.content);
13575
+ let o = t.resolve(Mf(a, !0, !0));
13576
+ return !o.parent.isTextblock || o.pos > n || Mf(o, !0, !1) < n ? !1 : r.parent.content.cut(r.parentOffset).eq(o.parent.content);
13570
13577
  }
13571
- function xf(t, e, n) {
13578
+ function Mf(t, e, n) {
13572
13579
  let r = t.depth, i = e ? t.end() : t.pos;
13573
13580
  for (; r > 0 && (e || t.indexAfter(r) == t.node(r).childCount); )
13574
13581
  r--, i++, e = !1;
@@ -13612,7 +13619,7 @@ class tg {
13612
13619
  added to the document.
13613
13620
  */
13614
13621
  constructor(e, n) {
13615
- this._root = null, this.focused = !1, this.trackWrites = null, this.mounted = !1, this.markCursor = null, this.cursorWrapper = null, this.lastSelectedViewDesc = void 0, this.input = new wM(), this.prevDirectPlugins = [], this.pluginViews = [], this.requiresGeckoHackNode = !1, this.dragging = null, this._props = n, this.state = n.state, this.directPlugins = n.plugins || [], this.directPlugins.forEach(ip), this.dispatch = this.dispatch.bind(this), this.dom = e && e.mount || document.createElement("div"), e && (e.appendChild ? e.appendChild(this.dom) : typeof e == "function" ? e(this.dom) : e.mount && (this.mounted = !0)), this.editable = np(this), tp(this), this.nodeViews = rp(this), this.docView = Rh(this.state.doc, ep(this), Mf(this), this.dom, this), this.domObserver = new QM(this, (r, i, a, o) => $M(this, r, i, a, o)), this.domObserver.start(), yM(this), this.updatePluginViews();
13622
+ this._root = null, this.focused = !1, this.trackWrites = null, this.mounted = !1, this.markCursor = null, this.cursorWrapper = null, this.lastSelectedViewDesc = void 0, this.input = new wM(), this.prevDirectPlugins = [], this.pluginViews = [], this.requiresGeckoHackNode = !1, this.dragging = null, this._props = n, this.state = n.state, this.directPlugins = n.plugins || [], this.directPlugins.forEach(ip), this.dispatch = this.dispatch.bind(this), this.dom = e && e.mount || document.createElement("div"), e && (e.appendChild ? e.appendChild(this.dom) : typeof e == "function" ? e(this.dom) : e.mount && (this.mounted = !0)), this.editable = np(this), tp(this), this.nodeViews = rp(this), this.docView = Rh(this.state.doc, ep(this), Cf(this), this.dom, this), this.domObserver = new QM(this, (r, i, a, o) => $M(this, r, i, a, o)), this.domObserver.start(), yM(this), this.updatePluginViews();
13616
13623
  }
13617
13624
  /**
13618
13625
  Holds `true` when a
@@ -13640,7 +13647,7 @@ class tg {
13640
13647
  the DOM.
13641
13648
  */
13642
13649
  update(e) {
13643
- e.handleDOMEvents != this._props.handleDOMEvents && Cc(this);
13650
+ e.handleDOMEvents != this._props.handleDOMEvents && vc(this);
13644
13651
  let n = this._props;
13645
13652
  this._props = e, e.plugins && (e.plugins.forEach(ip), this.directPlugins = e.plugins), this.updateStateInner(e.state, n);
13646
13653
  }
@@ -13674,8 +13681,8 @@ class tg {
13674
13681
  let h = rp(this);
13675
13682
  ix(h, this.nodeViews) && (this.nodeViews = h, a = !0);
13676
13683
  }
13677
- (s || n.handleDOMEvents != this._props.handleDOMEvents) && Cc(this), this.editable = np(this), tp(this);
13678
- let l = Mf(this), c = ep(this), d = i.plugins != e.plugins && !i.doc.eq(e.doc) ? "reset" : e.scrollToSelection > i.scrollToSelection ? "to selection" : "preserve", u = a || !this.docView.matchesNode(e.doc, c, l);
13684
+ (s || n.handleDOMEvents != this._props.handleDOMEvents) && vc(this), this.editable = np(this), tp(this);
13685
+ let l = Cf(this), c = ep(this), d = i.plugins != e.plugins && !i.doc.eq(e.doc) ? "reset" : e.scrollToSelection > i.scrollToSelection ? "to selection" : "preserve", u = a || !this.docView.matchesNode(e.doc, c, l);
13679
13686
  (u || !e.selection.eq(i.selection)) && (o = !0);
13680
13687
  let p = d == "preserve" && o && this.dom.style.overflowAnchor == null && DC(this);
13681
13688
  if (o) {
@@ -13905,7 +13912,7 @@ class tg {
13905
13912
  views](https://prosemirror.net/docs/ref/#view.NodeView).
13906
13913
  */
13907
13914
  destroy() {
13908
- this.docView && (vM(this), this.destroyPluginViews(), this.mounted ? (this.docView.update(this.state.doc, [], Mf(this), this), this.dom.textContent = "") : this.dom.parentNode && this.dom.parentNode.removeChild(this.dom), this.docView.destroy(), this.docView = null, xC());
13915
+ this.docView && (vM(this), this.destroyPluginViews(), this.mounted ? (this.docView.update(this.state.doc, [], Cf(this), this), this.dom.textContent = "") : this.dom.parentNode && this.dom.parentNode.removeChild(this.dom), this.docView.destroy(), this.docView = null, xC());
13909
13916
  }
13910
13917
  /**
13911
13918
  This is true when the view has been
@@ -14067,7 +14074,7 @@ for (var qe = 0; qe < 10; qe++) rr[48 + qe] = rr[96 + qe] = String(qe);
14067
14074
  for (var qe = 1; qe <= 24; qe++) rr[qe + 111] = "F" + qe;
14068
14075
  for (var qe = 65; qe <= 90; qe++)
14069
14076
  rr[qe] = String.fromCharCode(qe + 32), ws[qe] = String.fromCharCode(qe);
14070
- for (var Lf in rr) ws.hasOwnProperty(Lf) || (ws[Lf] = rr[Lf]);
14077
+ for (var xf in rr) ws.hasOwnProperty(xf) || (ws[xf] = rr[xf]);
14071
14078
  function sx(t) {
14072
14079
  var e = ax && t.metaKey && t.shiftKey && !t.ctrlKey && !t.altKey || ox && t.shiftKey && t.key && t.key.length == 1 || t.key == "Unidentified", n = !e && t.key || (t.shiftKey ? ws : rr)[t.keyCode] || t.key || "Unidentified";
14073
14080
  return n == "Esc" && (n = "Escape"), n == "Del" && (n = "Delete"), n == "Left" && (n = "ArrowLeft"), n == "Up" && (n = "ArrowUp"), n == "Right" && (n = "ArrowRight"), n == "Down" && (n = "ArrowDown"), n;
@@ -14100,7 +14107,7 @@ function dx(t) {
14100
14107
  e[cx(n)] = t[n];
14101
14108
  return e;
14102
14109
  }
14103
- function Nf(t, e, n = !0) {
14110
+ function Lf(t, e, n = !0) {
14104
14111
  return e.altKey && (t = "Alt-" + t), e.ctrlKey && (t = "Ctrl-" + t), e.metaKey && (t = "Meta-" + t), n && e.shiftKey && (t = "Shift-" + t), t;
14105
14112
  }
14106
14113
  function ux(t) {
@@ -14109,18 +14116,18 @@ function ux(t) {
14109
14116
  function ng(t) {
14110
14117
  let e = dx(t);
14111
14118
  return function(n, r) {
14112
- let i = sx(r), a, o = e[Nf(i, r)];
14119
+ let i = sx(r), a, o = e[Lf(i, r)];
14113
14120
  if (o && o(n.state, n.dispatch, n))
14114
14121
  return !0;
14115
14122
  if (i.length == 1 && i != " ") {
14116
14123
  if (r.shiftKey) {
14117
- let s = e[Nf(i, r, !1)];
14124
+ let s = e[Lf(i, r, !1)];
14118
14125
  if (s && s(n.state, n.dispatch, n))
14119
14126
  return !0;
14120
14127
  }
14121
14128
  if ((r.altKey || r.metaKey || r.ctrlKey) && // Ctrl-Alt may be used for AltGr on Windows
14122
14129
  !(fx && r.ctrlKey && r.altKey) && (a = rr[r.keyCode]) && a != i) {
14123
- let s = e[Nf(a, r)];
14130
+ let s = e[Lf(a, r)];
14124
14131
  if (s && s(n.state, n.dispatch, n))
14125
14132
  return !0;
14126
14133
  }
@@ -14132,7 +14139,7 @@ var hx = Object.defineProperty, Dd = (t, e) => {
14132
14139
  for (var n in e)
14133
14140
  hx(t, n, { get: e[n], enumerable: !0 });
14134
14141
  };
14135
- function Al(t) {
14142
+ function Il(t) {
14136
14143
  const { state: e, transaction: n } = t;
14137
14144
  let { selection: r } = n, { doc: i } = n, { storedMarks: a } = n;
14138
14145
  return {
@@ -14157,7 +14164,7 @@ function Al(t) {
14157
14164
  }
14158
14165
  };
14159
14166
  }
14160
- var El = class {
14167
+ var Al = class {
14161
14168
  constructor(t) {
14162
14169
  this.editor = t.editor, this.rawCommands = this.editor.extensionManager.commands, this.customState = t.state;
14163
14170
  }
@@ -14208,7 +14215,7 @@ var El = class {
14208
14215
  tr: t,
14209
14216
  editor: r,
14210
14217
  view: a,
14211
- state: Al({
14218
+ state: Il({
14212
14219
  state: i,
14213
14220
  transaction: t
14214
14221
  }),
@@ -14607,14 +14614,14 @@ var Dx = (t) => !("type" in t), Rx = (t, e, n) => ({ tr: r, dispatch: i, editor:
14607
14614
  return !0;
14608
14615
  }, Ox = () => ({ state: t, dispatch: e }) => aC(t, e), zx = () => ({ state: t, dispatch: e }) => oC(t, e), Px = () => ({ state: t, dispatch: e }) => cm(t, e), Bx = () => ({ state: t, dispatch: e }) => pm(t, e), Fx = () => ({ state: t, dispatch: e, tr: n }) => {
14609
14616
  try {
14610
- const r = xl(t.doc, t.selection.$from.pos, -1);
14617
+ const r = Ml(t.doc, t.selection.$from.pos, -1);
14611
14618
  return r == null ? !1 : (n.join(r, 2), e && e(n), !0);
14612
14619
  } catch {
14613
14620
  return !1;
14614
14621
  }
14615
14622
  }, Vx = () => ({ state: t, dispatch: e, tr: n }) => {
14616
14623
  try {
14617
- const r = xl(t.doc, t.selection.$from.pos, 1);
14624
+ const r = Ml(t.doc, t.selection.$from.pos, 1);
14618
14625
  return r == null ? !1 : (n.join(r, 2), e && e(n), !0);
14619
14626
  } catch {
14620
14627
  return !1;
@@ -14684,7 +14691,7 @@ var Qx = (t, e = {}) => ({ state: n, dispatch: r }) => {
14684
14691
  const r = Ue(t, e.schema);
14685
14692
  return yC(r)(e, n);
14686
14693
  }, Kx = () => ({ state: t, dispatch: e }) => gm(t, e);
14687
- function Tl(t, e) {
14694
+ function El(t, e) {
14688
14695
  return e.nodes[t] ? "node" : e.marks[t] ? "mark" : null;
14689
14696
  }
14690
14697
  function sp(t, e) {
@@ -14693,7 +14700,7 @@ function sp(t, e) {
14693
14700
  }
14694
14701
  var qx = (t, e) => ({ tr: n, state: r, dispatch: i }) => {
14695
14702
  let a = null, o = null;
14696
- const s = Tl(
14703
+ const s = El(
14697
14704
  typeof t == "string" ? t : t.name,
14698
14705
  r.schema
14699
14706
  );
@@ -14715,7 +14722,7 @@ var qx = (t, e) => ({ tr: n, state: r, dispatch: i }) => {
14715
14722
  }
14716
14723
  return !0;
14717
14724
  }, _x = () => ({ state: t, dispatch: e }) => um(t, e), $x = () => ({ state: t, dispatch: e }) => mm(t, e), e6 = () => ({ state: t, dispatch: e }) => dC(t, e), t6 = () => ({ state: t, dispatch: e }) => pC(t, e), n6 = () => ({ state: t, dispatch: e }) => hC(t, e);
14718
- function Mc(t, e, n = {}, r = {}) {
14725
+ function Cc(t, e, n = {}, r = {}) {
14719
14726
  return Fa(t, e, {
14720
14727
  slice: !1,
14721
14728
  parseOptions: n,
@@ -14725,7 +14732,7 @@ function Mc(t, e, n = {}, r = {}) {
14725
14732
  var r6 = (t, { errorOnInvalidContent: e, emitUpdate: n = !0, parseOptions: r = {} } = {}) => ({ editor: i, tr: a, dispatch: o, commands: s }) => {
14726
14733
  const { doc: l } = a;
14727
14734
  if (r.preserveWhitespace !== "full") {
14728
- const c = Mc(t, i.schema, r, {
14735
+ const c = Cc(t, i.schema, r, {
14729
14736
  errorOnInvalidContent: e ?? i.options.enableContentCheck
14730
14737
  });
14731
14738
  return o && a.replaceWith(0, l.content.size, c).setMeta("preventUpdate", !n), !0;
@@ -14780,7 +14787,7 @@ function o6(t, e) {
14780
14787
  };
14781
14788
  }
14782
14789
  }
14783
- function jl(t) {
14790
+ function Tl(t) {
14784
14791
  return (e) => o6(e.$from, t);
14785
14792
  }
14786
14793
  function q(t, e, n) {
@@ -15122,7 +15129,7 @@ function h6(t, e) {
15122
15129
  return o ? { ...o.attrs } : {};
15123
15130
  }
15124
15131
  function gg(t, e) {
15125
- const n = Tl(
15132
+ const n = El(
15126
15133
  typeof e == "string" ? e : e.name,
15127
15134
  t.schema
15128
15135
  );
@@ -15220,7 +15227,7 @@ var b6 = (t, e = 500) => {
15220
15227
  n += i.isAtom && !i.isText ? d : d.slice(0, Math.max(0, r - a));
15221
15228
  }), n;
15222
15229
  };
15223
- function xc(t, e, n = {}) {
15230
+ function Mc(t, e, n = {}) {
15224
15231
  const { empty: r, ranges: i } = t.selection, a = e ? Pn(e, t.schema) : null;
15225
15232
  if (r)
15226
15233
  return !!(t.storedMarks || t.selection.$from.marks()).filter((u) => a ? a.name === u.type.name : !0).find((u) => ys(u.attrs, n, { strict: !1 }));
@@ -15249,14 +15256,14 @@ function xc(t, e, n = {}) {
15249
15256
  }
15250
15257
  function w6(t, e, n = {}) {
15251
15258
  if (!e)
15252
- return ir(t, null, n) || xc(t, null, n);
15253
- const r = Tl(e, t.schema);
15254
- return r === "node" ? ir(t, e, n) : r === "mark" ? xc(t, e, n) : !1;
15259
+ return ir(t, null, n) || Mc(t, null, n);
15260
+ const r = El(e, t.schema);
15261
+ return r === "node" ? ir(t, e, n) : r === "mark" ? Mc(t, e, n) : !1;
15255
15262
  }
15256
15263
  var y6 = (t, e) => {
15257
15264
  const { $from: n, $to: r, $anchor: i } = t.selection;
15258
15265
  if (e) {
15259
- const a = jl((s) => s.type.name === e)(t.selection);
15266
+ const a = Tl((s) => s.type.name === e)(t.selection);
15260
15267
  if (!a)
15261
15268
  return !1;
15262
15269
  const o = t.doc.resolve(a.pos + 1);
@@ -15270,7 +15277,7 @@ var y6 = (t, e) => {
15270
15277
  function up(t, e) {
15271
15278
  return Array.isArray(e) ? e.some((n) => (typeof n == "string" ? n : n.name) === t.name) : e;
15272
15279
  }
15273
- function kf(t, e) {
15280
+ function Nf(t, e) {
15274
15281
  const { nodeExtensions: n } = Ii(e), r = n.find((o) => o.name === t);
15275
15282
  if (!r)
15276
15283
  return !1;
@@ -15281,7 +15288,7 @@ function kf(t, e) {
15281
15288
  }, a = be(q(r, "group", i));
15282
15289
  return typeof a != "string" ? !1 : a.split(" ").includes("list");
15283
15290
  }
15284
- function Dl(t, {
15291
+ function jl(t, {
15285
15292
  checkChildren: e = !0,
15286
15293
  ignoreWhitespace: n = !1
15287
15294
  } = {}) {
@@ -15301,7 +15308,7 @@ function Dl(t, {
15301
15308
  if (e) {
15302
15309
  let i = !0;
15303
15310
  return t.content.forEach((a) => {
15304
- i !== !1 && (Dl(a, { ignoreWhitespace: n, checkChildren: e }) || (i = !1));
15311
+ i !== !1 && (jl(a, { ignoreWhitespace: n, checkChildren: e }) || (i = !1));
15305
15312
  }), i;
15306
15313
  }
15307
15314
  return !1;
@@ -15509,8 +15516,8 @@ var T6 = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, editor
15509
15516
  n.ensureMarks(L);
15510
15517
  }
15511
15518
  return !0;
15512
- }, Sf = (t, e) => {
15513
- const n = jl((o) => o.type === e)(t.selection);
15519
+ }, kf = (t, e) => {
15520
+ const n = Tl((o) => o.type === e)(t.selection);
15514
15521
  if (!n)
15515
15522
  return !0;
15516
15523
  const r = t.doc.resolve(Math.max(0, n.pos - 1)).before(n.depth);
@@ -15518,8 +15525,8 @@ var T6 = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, editor
15518
15525
  return !0;
15519
15526
  const i = t.doc.nodeAt(r);
15520
15527
  return n.node.type === (i == null ? void 0 : i.type) && lr(t.doc, n.pos) && t.join(n.pos), !0;
15521
- }, If = (t, e) => {
15522
- const n = jl((o) => o.type === e)(t.selection);
15528
+ }, Sf = (t, e) => {
15529
+ const n = Tl((o) => o.type === e)(t.selection);
15523
15530
  if (!n)
15524
15531
  return !0;
15525
15532
  const r = t.doc.resolve(n.start).after(n.depth);
@@ -15539,7 +15546,7 @@ var R6 = (t, e, n, r = {}) => ({ editor: i, tr: a, state: o, dispatch: s, chain:
15539
15546
  const { extensions: u, splittableMarks: p } = i.extensionManager, h = Ue(t, o.schema), m = Ue(e, o.schema), { selection: g, storedMarks: w } = o, { $from: v, $to: M } = g, x = v.blockRange(M), y = w || g.$to.parentOffset && g.$from.marks();
15540
15547
  if (!x)
15541
15548
  return !1;
15542
- const L = jl((V) => kf(V.type.name, u))(g), N = g.from === 0 && g.to === o.doc.content.size, k = o.doc.content.content, A = k.length === 1 ? k[0] : null, j = N && A && kf(A.type.name, u) ? {
15549
+ const L = Tl((V) => Nf(V.type.name, u))(g), N = g.from === 0 && g.to === o.doc.content.size, k = o.doc.content.content, A = k.length === 1 ? k[0] : null, j = N && A && Nf(A.type.name, u) ? {
15543
15550
  node: A,
15544
15551
  pos: 0
15545
15552
  } : null, S = L ?? j, R = !!L && x.depth >= 1 && x.depth - L.depth <= 1, Y = !!j;
@@ -15549,16 +15556,16 @@ var R6 = (t, e, n, r = {}) => ({ editor: i, tr: a, state: o, dispatch: s, chain:
15549
15556
  const H = D6(V);
15550
15557
  return H ? (V.setSelection(H), B && B(V), !0) : !1;
15551
15558
  }).liftListItem(m).run() : c.liftListItem(m);
15552
- if (kf(S.node.type.name, u) && h.validContent(S.node.content))
15553
- return l().command(() => (a.setNodeMarkup(S.pos, h), !0)).command(() => Sf(a, h)).command(() => If(a, h)).run();
15559
+ if (Nf(S.node.type.name, u) && h.validContent(S.node.content))
15560
+ return l().command(() => (a.setNodeMarkup(S.pos, h), !0)).command(() => kf(a, h)).command(() => Sf(a, h)).run();
15554
15561
  }
15555
- return !n || !y || !s ? l().command(() => d().wrapInList(h, r) ? !0 : c.clearNodes()).wrapInList(h, r).command(() => Sf(a, h)).command(() => If(a, h)).run() : l().command(() => {
15562
+ return !n || !y || !s ? l().command(() => d().wrapInList(h, r) ? !0 : c.clearNodes()).wrapInList(h, r).command(() => kf(a, h)).command(() => Sf(a, h)).run() : l().command(() => {
15556
15563
  const V = d().wrapInList(h, r), B = y.filter((H) => p.includes(H.type.name));
15557
15564
  return a.ensureMarks(B), V ? !0 : c.clearNodes();
15558
- }).wrapInList(h, r).command(() => Sf(a, h)).command(() => If(a, h)).run();
15565
+ }).wrapInList(h, r).command(() => kf(a, h)).command(() => Sf(a, h)).run();
15559
15566
  }, O6 = (t, e = {}, n = {}) => ({ state: r, commands: i }) => {
15560
15567
  const { extendEmptyMarkRange: a = !1 } = n, o = Pn(t, r.schema);
15561
- return xc(r, o, e) ? i.unsetMark(o, { extendEmptyMarkRange: a }) : i.setMark(o, e);
15568
+ return Mc(r, o, e) ? i.unsetMark(o, { extendEmptyMarkRange: a }) : i.setMark(o, e);
15562
15569
  }, z6 = (t, e, n = {}) => ({ state: r, commands: i }) => {
15563
15570
  const a = Ue(t, r.schema), o = Ue(e, r.schema), s = ir(r, a, n);
15564
15571
  let l;
@@ -15616,7 +15623,7 @@ var R6 = (t, e, n, r = {}) => ({ editor: i, tr: a, state: o, dispatch: s, chain:
15616
15623
  }), !0;
15617
15624
  }, U6 = (t, e = {}) => ({ tr: n, state: r, dispatch: i }) => {
15618
15625
  let a = null, o = null;
15619
- const s = Tl(
15626
+ const s = El(
15620
15627
  typeof t == "string" ? t : t.name,
15621
15628
  r.schema
15622
15629
  );
@@ -15690,7 +15697,7 @@ var R6 = (t, e, n, r = {}) => ({ editor: i, tr: a, state: o, dispatch: s, chain:
15690
15697
  removeAllListeners() {
15691
15698
  this.callbacks = {};
15692
15699
  }
15693
- }, Rl = class {
15700
+ }, Dl = class {
15694
15701
  constructor(t) {
15695
15702
  var e;
15696
15703
  this.find = t.find, this.handler = t.handler, this.undoable = (e = t.undoable) != null ? e : !0;
@@ -15723,13 +15730,13 @@ function ko(t) {
15723
15730
  const h = G6(u, p.find);
15724
15731
  if (!h)
15725
15732
  return;
15726
- const m = l.state.tr, g = Al({
15733
+ const m = l.state.tr, g = Il({
15727
15734
  state: l.state,
15728
15735
  transaction: m
15729
15736
  }), w = {
15730
15737
  from: r - (h[0].length - a.length),
15731
15738
  to: i
15732
- }, { commands: v, chain: M, can: x } = new El({
15739
+ }, { commands: v, chain: M, can: x } = new Al({
15733
15740
  editor: n,
15734
15741
  state: g
15735
15742
  });
@@ -15919,7 +15926,7 @@ var Z6 = class {
15919
15926
  }) : [];
15920
15927
  };
15921
15928
  function _6(t) {
15922
- const { editor: e, state: n, from: r, to: i, rule: a, pasteEvent: o, dropEvent: s } = t, { commands: l, chain: c, can: d } = new El({
15929
+ const { editor: e, state: n, from: r, to: i, rule: a, pasteEvent: o, dropEvent: s } = t, { commands: l, chain: c, can: d } = new Al({
15923
15930
  editor: e,
15924
15931
  state: n
15925
15932
  }), u = [];
@@ -15973,7 +15980,7 @@ function eL(t) {
15973
15980
  rule: h,
15974
15981
  pasteEvt: m
15975
15982
  }) => {
15976
- const g = d.tr, w = Al({
15983
+ const g = d.tr, w = Il({
15977
15984
  state: d,
15978
15985
  transaction: g
15979
15986
  });
@@ -16056,7 +16063,7 @@ function eL(t) {
16056
16063
  }
16057
16064
  }));
16058
16065
  }
16059
- var Ol = class {
16066
+ var Rl = class {
16060
16067
  constructor(t, e) {
16061
16068
  this.splittableMarks = [], this.editor = e, this.baseExtensions = t, this.extensions = hg(t), this.schema = c6(this.extensions, e), this.setupExtensions();
16062
16069
  }
@@ -16295,9 +16302,9 @@ var Ol = class {
16295
16302
  });
16296
16303
  }
16297
16304
  };
16298
- Ol.resolve = hg;
16299
- Ol.sort = ma;
16300
- Ol.flatten = zd;
16305
+ Rl.resolve = hg;
16306
+ Rl.sort = ma;
16307
+ Rl.flatten = zd;
16301
16308
  var tL = {};
16302
16309
  Dd(tL, {
16303
16310
  ClipboardTextSerializer: () => Lg,
@@ -16535,12 +16542,12 @@ var De = class xg extends Fd {
16535
16542
  if (!r || i)
16536
16543
  return;
16537
16544
  const { empty: a, from: o, to: s } = e.selection, l = se.atStart(e.doc).from, c = se.atEnd(e.doc).to;
16538
- if (a || !(o === l && s === c) || !Dl(n.doc))
16545
+ if (a || !(o === l && s === c) || !jl(n.doc))
16539
16546
  return;
16540
- const p = n.tr, h = Al({
16547
+ const p = n.tr, h = Il({
16541
16548
  state: n,
16542
16549
  transaction: p
16543
- }), { commands: m } = new El({
16550
+ }), { commands: m } = new Al({
16544
16551
  editor: this.editor,
16545
16552
  state: h
16546
16553
  });
@@ -17048,13 +17055,13 @@ var aL = class extends Q6 {
17048
17055
  direction: this.options.textDirection
17049
17056
  })
17050
17057
  ].filter((i) => typeof this.options.enableCoreExtensions == "object" ? this.options.enableCoreExtensions[i.name] !== !1 : !0) : [], ...this.options.extensions].filter((i) => ["extension", "node", "mark"].includes(i == null ? void 0 : i.type));
17051
- this.extensionManager = new Ol(r, this);
17058
+ this.extensionManager = new Rl(r, this);
17052
17059
  }
17053
17060
  /**
17054
17061
  * Creates an command manager.
17055
17062
  */
17056
17063
  createCommandManager() {
17057
- this.commandManager = new El({
17064
+ this.commandManager = new Al({
17058
17065
  editor: this
17059
17066
  });
17060
17067
  }
@@ -17070,7 +17077,7 @@ var aL = class extends Q6 {
17070
17077
  createDoc() {
17071
17078
  let t;
17072
17079
  try {
17073
- t = Mc(this.options.content, this.schema, this.options.parseOptions, {
17080
+ t = Cc(this.options.content, this.schema, this.options.parseOptions, {
17074
17081
  errorOnInvalidContent: this.options.enableContentCheck
17075
17082
  });
17076
17083
  } catch (e) {
@@ -17082,7 +17089,7 @@ var aL = class extends Q6 {
17082
17089
  disableCollaboration: () => {
17083
17090
  "collaboration" in this.storage && typeof this.storage.collaboration == "object" && this.storage.collaboration && (this.storage.collaboration.isDisabled = !0), this.options.extensions = this.options.extensions.filter((n) => n.name !== "collaboration"), this.createExtensionManager();
17084
17091
  }
17085
- }), t = Mc(this.options.content, this.schema, this.options.parseOptions, {
17092
+ }), t = Cc(this.options.content, this.schema, this.options.parseOptions, {
17086
17093
  errorOnInvalidContent: !1
17087
17094
  });
17088
17095
  }
@@ -17225,7 +17232,7 @@ var aL = class extends Q6 {
17225
17232
  * Check if there is no content.
17226
17233
  */
17227
17234
  get isEmpty() {
17228
- return Dl(this.state.doc);
17235
+ return jl(this.state.doc);
17229
17236
  }
17230
17237
  /**
17231
17238
  * Destroy the editor.
@@ -17257,7 +17264,7 @@ var aL = class extends Q6 {
17257
17264
  }
17258
17265
  };
17259
17266
  function Ai(t) {
17260
- return new Rl({
17267
+ return new Dl({
17261
17268
  find: t.find,
17262
17269
  handler: ({ state: e, range: n, match: r }) => {
17263
17270
  const i = be(t.getAttributes, void 0, r);
@@ -17277,7 +17284,7 @@ function Ai(t) {
17277
17284
  });
17278
17285
  }
17279
17286
  function Og(t) {
17280
- return new Rl({
17287
+ return new Dl({
17281
17288
  find: t.find,
17282
17289
  handler: ({ state: e, range: n, match: r }) => {
17283
17290
  const i = be(t.getAttributes, void 0, r) || {}, { tr: a } = e, o = n.from;
@@ -17298,8 +17305,8 @@ function Og(t) {
17298
17305
  undoable: t.undoable
17299
17306
  });
17300
17307
  }
17301
- function Lc(t) {
17302
- return new Rl({
17308
+ function xc(t) {
17309
+ return new Dl({
17303
17310
  find: t.find,
17304
17311
  handler: ({ state: e, range: n, match: r }) => {
17305
17312
  const i = e.doc.resolve(n.from), a = be(t.getAttributes, void 0, r) || {};
@@ -17311,7 +17318,7 @@ function Lc(t) {
17311
17318
  });
17312
17319
  }
17313
17320
  function Ei(t) {
17314
- return new Rl({
17321
+ return new Dl({
17315
17322
  find: t.find,
17316
17323
  handler: ({ state: e, range: n, match: r, chain: i }) => {
17317
17324
  const a = be(t.getAttributes, void 0, r) || {}, o = e.tr.delete(n.from, n.to), l = o.doc.resolve(n.from).blockRange(), c = l && bd(l, t.type, a);
@@ -17626,7 +17633,7 @@ Dd(cL, {
17626
17633
  createBlockMarkdownSpec: () => uL,
17627
17634
  createInlineMarkdownSpec: () => zg,
17628
17635
  parseAttributes: () => Vd,
17629
- parseIndentedBlocks: () => Nc,
17636
+ parseIndentedBlocks: () => Lc,
17630
17637
  renderNestedMarkdownContent: () => Ud,
17631
17638
  serializeAttributes: () => Yd
17632
17639
  });
@@ -17886,7 +17893,7 @@ function zg(t) {
17886
17893
  }
17887
17894
  };
17888
17895
  }
17889
- function Nc(t, e, n) {
17896
+ function Lc(t, e, n) {
17890
17897
  var r, i, a, o;
17891
17898
  const s = t.split(`
17892
17899
  `), l = [];
@@ -18024,7 +18031,7 @@ function Yr(t) {
18024
18031
  });
18025
18032
  }
18026
18033
  const { getOwnPropertyNames: gL, getOwnPropertySymbols: bL } = Object, { hasOwnProperty: wL } = Object.prototype;
18027
- function Af(t, e) {
18034
+ function If(t, e) {
18028
18035
  return function(r, i, a) {
18029
18036
  return t(r, i, a) && e(r, i, a);
18030
18037
  };
@@ -18259,13 +18266,13 @@ function XL({ circular: t, createCustomConfig: e, strict: n }) {
18259
18266
  areDatesEqual: SL,
18260
18267
  areErrorsEqual: IL,
18261
18268
  areFunctionsEqual: AL,
18262
- areMapsEqual: n ? Af(bp, Xi) : bp,
18269
+ areMapsEqual: n ? If(bp, Xi) : bp,
18263
18270
  areNumbersEqual: EL,
18264
18271
  areObjectsEqual: n ? Xi : TL,
18265
18272
  arePrimitiveWrappersEqual: jL,
18266
18273
  areRegExpsEqual: DL,
18267
- areSetsEqual: n ? Af(wp, Xi) : wp,
18268
- areTypedArraysEqual: n ? Af(Cs, Xi) : Cs,
18274
+ areSetsEqual: n ? If(wp, Xi) : wp,
18275
+ areTypedArraysEqual: n ? If(Cs, Xi) : Cs,
18269
18276
  areUrlsEqual: RL,
18270
18277
  unknownTagComparators: void 0
18271
18278
  };
@@ -18446,7 +18453,7 @@ var iN = class extends Ve.Component {
18446
18453
  ...t
18447
18454
  });
18448
18455
  }
18449
- ), Wd = Ve.memo(aN), oN = typeof window < "u" ? od : ye, sN = class {
18456
+ ), Wd = Ve.memo(aN), oN = typeof window < "u" ? ad : ye, sN = class {
18450
18457
  constructor(t) {
18451
18458
  this.transactionNumber = 0, this.lastTransactionNumber = 0, this.subscribers = /* @__PURE__ */ new Set(), this.editor = t, this.lastSnapshot = { editor: t, transactionNumber: 0 }, this.getSnapshot = this.getSnapshot.bind(this), this.getServerSnapshot = this.getServerSnapshot.bind(this), this.watch = this.watch.bind(this), this.subscribe = this.subscribe.bind(this);
18452
18459
  }
@@ -18495,7 +18502,7 @@ function lN(t) {
18495
18502
  );
18496
18503
  return oN(() => n.watch(t.editor), [t.editor, n]), s0(r), r;
18497
18504
  }
18498
- var yp = process.env.NODE_ENV !== "production", kc = typeof window > "u", fN = kc || !!(typeof window < "u" && window.next), cN = class Fg {
18505
+ var yp = process.env.NODE_ENV !== "production", Nc = typeof window > "u", fN = Nc || !!(typeof window < "u" && window.next), cN = class Fg {
18499
18506
  constructor(e) {
18500
18507
  this.editor = null, this.subscriptions = /* @__PURE__ */ new Set(), this.isComponentMounted = !1, this.previousDeps = null, this.instanceId = "", this.options = e, this.subscriptions = /* @__PURE__ */ new Set(), this.setEditor(this.getInitialEditor()), this.scheduleDestroy(), this.getEditor = this.getEditor.bind(this), this.getServerSnapshot = this.getServerSnapshot.bind(this), this.subscribe = this.subscribe.bind(this), this.refreshEditorInstance = this.refreshEditorInstance.bind(this), this.scheduleDestroy = this.scheduleDestroy.bind(this), this.onRender = this.onRender.bind(this), this.createEditor = this.createEditor.bind(this);
18501
18508
  }
@@ -18504,7 +18511,7 @@ var yp = process.env.NODE_ENV !== "production", kc = typeof window > "u", fN = k
18504
18511
  }
18505
18512
  getInitialEditor() {
18506
18513
  if (this.options.current.immediatelyRender === void 0) {
18507
- if (kc || fN) {
18514
+ if (Nc || fN) {
18508
18515
  if (yp)
18509
18516
  throw new Error(
18510
18517
  "Tiptap Error: SSR has been detected, please set `immediatelyRender` explicitly to `false` to avoid hydration mismatches."
@@ -18513,7 +18520,7 @@ var yp = process.env.NODE_ENV !== "production", kc = typeof window > "u", fN = k
18513
18520
  }
18514
18521
  return this.createEditor();
18515
18522
  }
18516
- if (this.options.current.immediatelyRender && kc && yp)
18523
+ if (this.options.current.immediatelyRender && Nc && yp)
18517
18524
  throw new Error(
18518
18525
  "Tiptap Error: SSR has been detected, and `immediatelyRender` has been set to `true` this is an unsupported configuration that may result in errors, explicitly set `immediatelyRender` to `false` to avoid hydration mismatches."
18519
18526
  );
@@ -18999,7 +19006,7 @@ ${n}
18999
19006
  })
19000
19007
  ];
19001
19008
  }
19002
- }), Ef = 4, IN = /^```([a-z]+)?[\s\n]$/, AN = /^~~~([a-z]+)?[\s\n]$/, EN = pt.create({
19009
+ }), Af = 4, IN = /^```([a-z]+)?[\s\n]$/, AN = /^~~~([a-z]+)?[\s\n]$/, EN = pt.create({
19003
19010
  name: "codeBlock",
19004
19011
  addOptions() {
19005
19012
  return {
@@ -19008,7 +19015,7 @@ ${n}
19008
19015
  exitOnArrowDown: !0,
19009
19016
  defaultLanguage: null,
19010
19017
  enableTabIndentation: !1,
19011
- tabSize: Ef,
19018
+ tabSize: Af,
19012
19019
  HTMLAttributes: {}
19013
19020
  };
19014
19021
  },
@@ -19091,7 +19098,7 @@ ${n}
19091
19098
  var e;
19092
19099
  if (!this.options.enableTabIndentation)
19093
19100
  return !1;
19094
- const n = (e = this.options.tabSize) != null ? e : Ef, { state: r } = t, { selection: i } = r, { $from: a, empty: o } = i;
19101
+ const n = (e = this.options.tabSize) != null ? e : Af, { state: r } = t, { selection: i } = r, { $from: a, empty: o } = i;
19095
19102
  if (a.parent.type !== this.type)
19096
19103
  return !1;
19097
19104
  const s = " ".repeat(n);
@@ -19109,7 +19116,7 @@ ${n}
19109
19116
  var e;
19110
19117
  if (!this.options.enableTabIndentation)
19111
19118
  return !1;
19112
- const n = (e = this.options.tabSize) != null ? e : Ef, { state: r } = t, { selection: i } = r, { $from: a, empty: o } = i;
19119
+ const n = (e = this.options.tabSize) != null ? e : Af, { state: r } = t, { selection: i } = r, { $from: a, empty: o } = i;
19113
19120
  return a.parent.type !== this.type ? !1 : o ? t.commands.command(({ tr: s }) => {
19114
19121
  var l;
19115
19122
  const { pos: c } = a, d = a.start(), u = a.end(), h = r.doc.textBetween(d, u, `
@@ -19171,14 +19178,14 @@ ${n}
19171
19178
  },
19172
19179
  addInputRules() {
19173
19180
  return [
19174
- Lc({
19181
+ xc({
19175
19182
  find: IN,
19176
19183
  type: this.type,
19177
19184
  getAttributes: (t) => ({
19178
19185
  language: t[1]
19179
19186
  })
19180
19187
  }),
19181
- Lc({
19188
+ xc({
19182
19189
  find: AN,
19183
19190
  type: this.type,
19184
19191
  getAttributes: (t) => ({
@@ -19319,7 +19326,7 @@ ${n}
19319
19326
  );
19320
19327
  },
19321
19328
  addInputRules() {
19322
- return this.options.levels.map((t) => Lc({
19329
+ return this.options.levels.map((t) => xc({
19323
19330
  find: new RegExp(`^(#{${Math.min(...this.options.levels)},${t}})\\s$`),
19324
19331
  type: this.type,
19325
19332
  getAttributes: {
@@ -19452,12 +19459,12 @@ ${n}
19452
19459
  ];
19453
19460
  }
19454
19461
  });
19455
- const VN = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", YN = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", Sc = "numeric", Ic = "ascii", Ac = "alpha", ga = "asciinumeric", sa = "alphanumeric", Ec = "domain", Hg = "emoji", UN = "scheme", WN = "slashscheme", Tf = "whitespace";
19462
+ const VN = "aaa1rp3bb0ott3vie4c1le2ogado5udhabi7c0ademy5centure6ountant0s9o1tor4d0s1ult4e0g1ro2tna4f0l1rica5g0akhan5ency5i0g1rbus3force5tel5kdn3l0ibaba4pay4lfinanz6state5y2sace3tom5m0azon4ericanexpress7family11x2fam3ica3sterdam8nalytics7droid5quan4z2o0l2partments8p0le4q0uarelle8r0ab1mco4chi3my2pa2t0e3s0da2ia2sociates9t0hleta5torney7u0ction5di0ble3o3spost5thor3o0s4w0s2x0a2z0ure5ba0by2idu3namex4d1k2r0celona5laycard4s5efoot5gains6seball5ketball8uhaus5yern5b0c1t1va3cg1n2d1e0ats2uty4er2rlin4st0buy5t2f1g1h0arti5i0ble3d1ke2ng0o3o1z2j1lack0friday9ockbuster8g1omberg7ue3m0s1w2n0pparibas9o0ats3ehringer8fa2m1nd2o0k0ing5sch2tik2on4t1utique6x2r0adesco6idgestone9oadway5ker3ther5ussels7s1t1uild0ers6siness6y1zz3v1w1y1z0h3ca0b1fe2l0l1vinklein9m0era3p2non3petown5ital0one8r0avan4ds2e0er0s4s2sa1e1h1ino4t0ering5holic7ba1n1re3c1d1enter4o1rn3f0a1d2g1h0anel2nel4rity4se2t2eap3intai5ristmas6ome4urch5i0priani6rcle4sco3tadel4i0c2y3k1l0aims4eaning6ick2nic1que6othing5ud3ub0med6m1n1o0ach3des3ffee4llege4ogne5m0mbank4unity6pany2re3uter5sec4ndos3struction8ulting7tact3ractors9oking4l1p2rsica5untry4pon0s4rses6pa2r0edit0card4union9icket5own3s1uise0s6u0isinella9v1w1x1y0mru3ou3z2dad1nce3ta1e1ing3sun4y2clk3ds2e0al0er2s3gree4livery5l1oitte5ta3mocrat6ntal2ist5si0gn4v2hl2iamonds6et2gital5rect0ory7scount3ver5h2y2j1k1m1np2o0cs1tor4g1mains5t1wnload7rive4tv2ubai3nlop4pont4rban5vag2r2z2earth3t2c0o2deka3u0cation8e1g1mail3erck5nergy4gineer0ing9terprises10pson4quipment8r0icsson6ni3s0q1tate5t1u0rovision8s2vents5xchange6pert3osed4ress5traspace10fage2il1rwinds6th3mily4n0s2rm0ers5shion4t3edex3edback6rrari3ero6i0delity5o2lm2nal1nce1ial7re0stone6mdale6sh0ing5t0ness6j1k1lickr3ghts4r2orist4wers5y2m1o0o0d1tball6rd1ex2sale4um3undation8x2r0ee1senius7l1ogans4ntier7tr2ujitsu5n0d2rniture7tbol5yi3ga0l0lery3o1up4me0s3p1rden4y2b0iz3d0n2e0a1nt0ing5orge5f1g0ee3h1i0ft0s3ves2ing5l0ass3e1obal2o4m0ail3bh2o1x2n1odaddy5ld0point6f2o0dyear5g0le4p1t1v2p1q1r0ainger5phics5tis4een3ipe3ocery4up4s1t1u0cci3ge2ide2tars5ru3w1y2hair2mburg5ngout5us3bo2dfc0bank7ealth0care8lp1sinki6re1mes5iphop4samitsu7tachi5v2k0t2m1n1ockey4ldings5iday5medepot5goods5s0ense7nda3rse3spital5t0ing5t0els3mail5use3w2r1sbc3t1u0ghes5yatt3undai7ibm2cbc2e1u2d1e0ee3fm2kano4l1m0amat4db2mo0bilien9n0c1dustries8finiti5o2g1k1stitute6urance4e4t0ernational10uit4vestments10o1piranga7q1r0ish4s0maili5t0anbul7t0au2v3jaguar4va3cb2e0ep2tzt3welry6io2ll2m0p2nj2o0bs1urg4t1y2p0morgan6rs3uegos4niper7kaufen5ddi3e0rryhotels6properties14fh2g1h1i0a1ds2m1ndle4tchen5wi3m1n1oeln3matsu5sher5p0mg2n2r0d1ed3uokgroup8w1y0oto4z2la0caixa5mborghini8er3nd0rover6xess5salle5t0ino3robe5w0yer5b1c1ds2ease3clerc5frak4gal2o2xus4gbt3i0dl2fe0insurance9style7ghting6ke2lly3mited4o2ncoln4k2ve1ing5k1lc1p2oan0s3cker3us3l1ndon4tte1o3ve3pl0financial11r1s1t0d0a3u0ndbeck6xe1ury5v1y2ma0drid4if1son4keup4n0agement7go3p1rket0ing3s4riott5shalls7ttel5ba2c0kinsey7d1e0d0ia3et2lbourne7me1orial6n0u2rckmsd7g1h1iami3crosoft7l1ni1t2t0subishi9k1l0b1s2m0a2n1o0bi0le4da2e1i1m1nash3ey2ster5rmon3tgage6scow4to0rcycles9v0ie4p1q1r1s0d2t0n1r2u0seum3ic4v1w1x1y1z2na0b1goya4me2vy3ba2c1e0c1t0bank4flix4work5ustar5w0s2xt0direct7us4f0l2g0o2hk2i0co2ke1on3nja3ssan1y5l1o0kia3rton4w0ruz3tv4p1r0a1w2tt2u1yc2z2obi1server7ffice5kinawa6layan0group9lo3m0ega4ne1g1l0ine5oo2pen3racle3nge4g0anic5igins6saka4tsuka4t2vh3pa0ge2nasonic7ris2s1tners4s1y3y2ccw3e0t2f0izer5g1h0armacy6d1ilips5one2to0graphy6s4ysio5ics1tet2ures6d1n0g1k2oneer5zza4k1l0ace2y0station9umbing5s3m1n0c2ohl2ker3litie5rn2st3r0axi3ess3ime3o0d0uctions8f1gressive8mo2perties3y5tection8u0dential9s1t1ub2w0c2y2qa1pon3uebec3st5racing4dio4e0ad1lestate6tor2y4cipes5d0stone5umbrella9hab3ise0n3t2liance6n0t0als5pair3ort3ublican8st0aurant8view0s5xroth6ich0ardli6oh3l1o1p2o0cks3deo3gers4om3s0vp3u0gby3hr2n2w0e2yukyu6sa0arland6fe0ty4kura4le1on3msclub4ung5ndvik0coromant12ofi4p1rl2s1ve2xo3b0i1s2c0b1haeffler7midt4olarships8ol3ule3warz5ience5ot3d1e0arch3t2cure1ity6ek2lect4ner3rvices6ven3w1x0y3fr2g1h0angrila6rp3ell3ia1ksha5oes2p0ping5uji3w3i0lk2na1gles5te3j1k0i0n2y0pe4l0ing4m0art3ile4n0cf3o0ccer3ial4ftbank4ware6hu2lar2utions7ng1y2y2pa0ce3ort2t3r0l2s1t0ada2ples4r1tebank4farm7c0group6ockholm6rage3e3ream4udio2y3yle4u0cks3pplies3y2ort5rf1gery5zuki5v1watch4iss4x1y0dney4stems6z2tab1ipei4lk2obao4rget4tamotors6r2too4x0i3c0i2d0k2eam2ch0nology8l1masek5nnis4va3f1g1h0d1eater2re6iaa2ckets5enda4ps2res2ol4j0maxx4x2k0maxx5l1m0all4n1o0day3kyo3ols3p1ray3shiba5tal3urs3wn2yota3s3r0ade1ing4ining5vel0ers0insurance16ust3v2t1ube2i1nes3shu4v0s2w1z2ua1bank3s2g1k1nicom3versity8o2ol2ps2s1y1z2va0cations7na1guard7c1e0gas3ntures6risign5mögensberater2ung14sicherung10t2g1i0ajes4deo3g1king4llas4n1p1rgin4sa1ion4va1o3laanderen9n1odka3lvo3te1ing3o2yage5u2wales2mart4ter4ng0gou5tch0es6eather0channel12bcam3er2site5d0ding5ibo2r3f1hoswho6ien2ki2lliamhill9n0dows4e1ners6me2olterskluwer11odside6rk0s2ld3w2s1tc1f3xbox3erox4ihuan4n2xx2yz3yachts4hoo3maxun5ndex5e1odobashi7ga2kohama6u0tube6t1un3za0ppos4ra3ero3ip2m1one3uerich6w2", YN = "ελ1υ2бг1ел3дети4ею2католик6ом3мкд2он1сква6онлайн5рг3рус2ф2сайт3рб3укр3қаз3հայ3ישראל5קום3ابوظبي5رامكو5لاردن4بحرين5جزائر5سعودية6عليان5مغرب5مارات5یران5بارت2زار4يتك3ھارت5تونس4سودان3رية5شبكة4عراق2ب2مان4فلسطين6قطر3كاثوليك6وم3مصر2ليسيا5وريتانيا7قع4همراه5پاکستان7ڀارت4कॉम3नेट3भारत0म्3ोत5संगठन5বাংলা5ভারত2ৰত4ਭਾਰਤ4ભારત4ଭାରତ4இந்தியா6லங்கை6சிங்கப்பூர்11భారత్5ಭಾರತ4ഭാരതം5ලංකා4คอม3ไทย3ລາວ3გე2みんな3アマゾン4クラウド4グーグル4コム2ストア3セール3ファッション6ポイント4世界2中信1国1國1文网3亚马逊3企业2佛山2信息2健康2八卦2公司1益2台湾1灣2商城1店1标2嘉里0大酒店5在线2大拿2天主教3娱乐2家電2广东2微博2慈善2我爱你3手机2招聘2政务1府2新加坡2闻2时尚2書籍2机构2淡马锡3游戏2澳門2点看2移动2组织机构4网址1店1站1络2联通2谷歌2购物2通販2集团2電訊盈科4飞利浦3食品2餐厅2香格里拉3港2닷넷1컴2삼성2한국2", kc = "numeric", Sc = "ascii", Ic = "alpha", ga = "asciinumeric", sa = "alphanumeric", Ac = "domain", Hg = "emoji", UN = "scheme", WN = "slashscheme", Ef = "whitespace";
19456
19463
  function HN(t, e) {
19457
19464
  return t in e || (e[t] = []), e[t];
19458
19465
  }
19459
19466
  function Sr(t, e, n) {
19460
- e[Sc] && (e[ga] = !0, e[sa] = !0), e[Ic] && (e[ga] = !0, e[Ac] = !0), e[ga] && (e[sa] = !0), e[Ac] && (e[sa] = !0), e[sa] && (e[Ec] = !0), e[Hg] && (e[Ec] = !0);
19467
+ e[kc] && (e[ga] = !0, e[sa] = !0), e[Sc] && (e[ga] = !0, e[Ic] = !0), e[ga] && (e[sa] = !0), e[Ic] && (e[sa] = !0), e[sa] && (e[Ac] = !0), e[Hg] && (e[Ac] = !0);
19461
19468
  for (const r in e) {
19462
19469
  const i = HN(r, n);
19463
19470
  i.indexOf(t) < 0 && i.push(t);
@@ -19593,7 +19600,7 @@ yt.prototype = {
19593
19600
  return i.j[t] = o, o;
19594
19601
  }
19595
19602
  };
19596
- const ae = (t, e, n, r, i) => t.ta(e, n, r, i), Te = (t, e, n, r, i) => t.tr(e, n, r, i), Mp = (t, e, n, r, i) => t.ts(e, n, r, i), z = (t, e, n, r, i) => t.tt(e, n, r, i), Ln = "WORD", Tc = "UWORD", Qg = "ASCIINUMERICAL", Gg = "ALPHANUMERICAL", Ya = "LOCALHOST", jc = "TLD", Dc = "UTLD", Qo = "SCHEME", hi = "SLASH_SCHEME", Qd = "NUM", Rc = "WS", Gd = "NL", ba = "OPENBRACE", wa = "CLOSEBRACE", xs = "OPENBRACKET", Ls = "CLOSEBRACKET", Ns = "OPENPAREN", ks = "CLOSEPAREN", Ss = "OPENANGLEBRACKET", Is = "CLOSEANGLEBRACKET", As = "FULLWIDTHLEFTPAREN", Es = "FULLWIDTHRIGHTPAREN", Ts = "LEFTCORNERBRACKET", js = "RIGHTCORNERBRACKET", Ds = "LEFTWHITECORNERBRACKET", Rs = "RIGHTWHITECORNERBRACKET", Os = "FULLWIDTHLESSTHAN", zs = "FULLWIDTHGREATERTHAN", Ps = "AMPERSAND", Bs = "APOSTROPHE", Fs = "ASTERISK", Wn = "AT", Vs = "BACKSLASH", Ys = "BACKTICK", Us = "CARET", Gn = "COLON", Jd = "COMMA", Ws = "DOLLAR", rn = "DOT", Hs = "EQUALS", Kd = "EXCLAMATION", Pt = "HYPHEN", ya = "PERCENT", Qs = "PIPE", Gs = "PLUS", Js = "POUND", va = "QUERY", qd = "QUOTE", Jg = "FULLWIDTHMIDDLEDOT", Zd = "SEMI", an = "SLASH", Ca = "TILDE", Ks = "UNDERSCORE", Kg = "EMOJI", qs = "SYM";
19603
+ const ae = (t, e, n, r, i) => t.ta(e, n, r, i), Te = (t, e, n, r, i) => t.tr(e, n, r, i), Mp = (t, e, n, r, i) => t.ts(e, n, r, i), z = (t, e, n, r, i) => t.tt(e, n, r, i), Ln = "WORD", Ec = "UWORD", Qg = "ASCIINUMERICAL", Gg = "ALPHANUMERICAL", Ya = "LOCALHOST", Tc = "TLD", jc = "UTLD", Qo = "SCHEME", hi = "SLASH_SCHEME", Qd = "NUM", Dc = "WS", Gd = "NL", ba = "OPENBRACE", wa = "CLOSEBRACE", xs = "OPENBRACKET", Ls = "CLOSEBRACKET", Ns = "OPENPAREN", ks = "CLOSEPAREN", Ss = "OPENANGLEBRACKET", Is = "CLOSEANGLEBRACKET", As = "FULLWIDTHLEFTPAREN", Es = "FULLWIDTHRIGHTPAREN", Ts = "LEFTCORNERBRACKET", js = "RIGHTCORNERBRACKET", Ds = "LEFTWHITECORNERBRACKET", Rs = "RIGHTWHITECORNERBRACKET", Os = "FULLWIDTHLESSTHAN", zs = "FULLWIDTHGREATERTHAN", Ps = "AMPERSAND", Bs = "APOSTROPHE", Fs = "ASTERISK", Wn = "AT", Vs = "BACKSLASH", Ys = "BACKTICK", Us = "CARET", Gn = "COLON", Jd = "COMMA", Ws = "DOLLAR", rn = "DOT", Hs = "EQUALS", Kd = "EXCLAMATION", Pt = "HYPHEN", ya = "PERCENT", Qs = "PIPE", Gs = "PLUS", Js = "POUND", va = "QUERY", qd = "QUOTE", Jg = "FULLWIDTHMIDDLEDOT", Zd = "SEMI", an = "SLASH", Ca = "TILDE", Ks = "UNDERSCORE", Kg = "EMOJI", qs = "SYM";
19597
19604
  var qg = /* @__PURE__ */ Object.freeze({
19598
19605
  __proto__: null,
19599
19606
  ALPHANUMERICAL: Gg,
@@ -19645,15 +19652,15 @@ var qg = /* @__PURE__ */ Object.freeze({
19645
19652
  SLASH_SCHEME: hi,
19646
19653
  SYM: qs,
19647
19654
  TILDE: Ca,
19648
- TLD: jc,
19655
+ TLD: Tc,
19649
19656
  UNDERSCORE: Ks,
19650
- UTLD: Dc,
19651
- UWORD: Tc,
19657
+ UTLD: jc,
19658
+ UWORD: Ec,
19652
19659
  WORD: Ln,
19653
- WS: Rc
19660
+ WS: Dc
19654
19661
  });
19655
- const Mn = /[a-z]/, _i = new RegExp("\\p{L}", "u"), jf = new RegExp("\\p{Emoji}", "u"), xn = /\d/, Df = /\s/, xp = "\r", Rf = `
19656
- `, GN = "️", JN = "‍", Of = "";
19662
+ const Mn = /[a-z]/, _i = new RegExp("\\p{L}", "u"), Tf = new RegExp("\\p{Emoji}", "u"), xn = /\d/, jf = /\s/, xp = "\r", Df = `
19663
+ `, GN = "️", JN = "‍", Rf = "";
19657
19664
  let Eo = null, To = null;
19658
19665
  function KN(t = []) {
19659
19666
  const e = {};
@@ -19661,7 +19668,7 @@ function KN(t = []) {
19661
19668
  const n = new yt();
19662
19669
  Eo == null && (Eo = Lp(VN)), To == null && (To = Lp(YN)), z(n, "'", Bs), z(n, "{", ba), z(n, "}", wa), z(n, "[", xs), z(n, "]", Ls), z(n, "(", Ns), z(n, ")", ks), z(n, "<", Ss), z(n, ">", Is), z(n, "(", As), z(n, ")", Es), z(n, "「", Ts), z(n, "」", js), z(n, "『", Ds), z(n, "』", Rs), z(n, "<", Os), z(n, ">", zs), z(n, "&", Ps), z(n, "*", Fs), z(n, "@", Wn), z(n, "`", Ys), z(n, "^", Us), z(n, ":", Gn), z(n, ",", Jd), z(n, "$", Ws), z(n, ".", rn), z(n, "=", Hs), z(n, "!", Kd), z(n, "-", Pt), z(n, "%", ya), z(n, "|", Qs), z(n, "+", Gs), z(n, "#", Js), z(n, "?", va), z(n, '"', qd), z(n, "/", an), z(n, ";", Zd), z(n, "~", Ca), z(n, "_", Ks), z(n, "\\", Vs), z(n, "・", Jg);
19663
19670
  const r = Te(n, xn, Qd, {
19664
- [Sc]: !0
19671
+ [kc]: !0
19665
19672
  });
19666
19673
  Te(r, xn, r);
19667
19674
  const i = Te(r, Mn, Qg, {
@@ -19669,36 +19676,36 @@ function KN(t = []) {
19669
19676
  }), a = Te(r, _i, Gg, {
19670
19677
  [sa]: !0
19671
19678
  }), o = Te(n, Mn, Ln, {
19672
- [Ic]: !0
19679
+ [Sc]: !0
19673
19680
  });
19674
19681
  Te(o, xn, i), Te(o, Mn, o), Te(i, xn, i), Te(i, Mn, i);
19675
- const s = Te(n, _i, Tc, {
19676
- [Ac]: !0
19682
+ const s = Te(n, _i, Ec, {
19683
+ [Ic]: !0
19677
19684
  });
19678
19685
  Te(s, Mn), Te(s, xn, a), Te(s, _i, s), Te(a, xn, a), Te(a, Mn), Te(a, _i, a);
19679
- const l = z(n, Rf, Gd, {
19680
- [Tf]: !0
19681
- }), c = z(n, xp, Rc, {
19682
- [Tf]: !0
19683
- }), d = Te(n, Df, Rc, {
19684
- [Tf]: !0
19686
+ const l = z(n, Df, Gd, {
19687
+ [Ef]: !0
19688
+ }), c = z(n, xp, Dc, {
19689
+ [Ef]: !0
19690
+ }), d = Te(n, jf, Dc, {
19691
+ [Ef]: !0
19685
19692
  });
19686
- z(n, Of, d), z(c, Rf, l), z(c, Of, d), Te(c, Df, d), z(d, xp), z(d, Rf), Te(d, Df, d), z(d, Of, d);
19687
- const u = Te(n, jf, Kg, {
19693
+ z(n, Rf, d), z(c, Df, l), z(c, Rf, d), Te(c, jf, d), z(d, xp), z(d, Df), Te(d, jf, d), z(d, Rf, d);
19694
+ const u = Te(n, Tf, Kg, {
19688
19695
  [Hg]: !0
19689
19696
  });
19690
- z(u, "#"), Te(u, jf, u), z(u, GN, u);
19697
+ z(u, "#"), Te(u, Tf, u), z(u, GN, u);
19691
19698
  const p = z(u, JN);
19692
- z(p, "#"), Te(p, jf, u);
19699
+ z(p, "#"), Te(p, Tf, u);
19693
19700
  const h = [[Mn, o], [xn, i]], m = [[Mn, null], [_i, s], [xn, a]];
19694
19701
  for (let g = 0; g < Eo.length; g++)
19695
- Vn(n, Eo[g], jc, Ln, h);
19702
+ Vn(n, Eo[g], Tc, Ln, h);
19696
19703
  for (let g = 0; g < To.length; g++)
19697
- Vn(n, To[g], Dc, Tc, m);
19698
- Sr(jc, {
19704
+ Vn(n, To[g], jc, Ec, m);
19705
+ Sr(Tc, {
19699
19706
  tld: !0,
19700
19707
  ascii: !0
19701
- }, e), Sr(Dc, {
19708
+ }, e), Sr(jc, {
19702
19709
  utld: !0,
19703
19710
  alpha: !0
19704
19711
  }, e), Vn(n, "file", Qo, Ln, h), Vn(n, "mailto", Qo, Ln, h), Vn(n, "http", hi, Ln, h), Vn(n, "https", hi, Ln, h), Vn(n, "ftp", hi, Ln, h), Vn(n, "ftps", hi, Ln, h), Sr(Qo, {
@@ -19714,7 +19721,7 @@ function KN(t = []) {
19714
19721
  } : {
19715
19722
  [WN]: !0
19716
19723
  };
19717
- w.indexOf("-") >= 0 ? M[Ec] = !0 : Mn.test(w) ? xn.test(w) ? M[ga] = !0 : M[Ic] = !0 : M[Sc] = !0, Mp(n, w, w, M);
19724
+ w.indexOf("-") >= 0 ? M[Ac] = !0 : Mn.test(w) ? xn.test(w) ? M[ga] = !0 : M[Sc] = !0 : M[kc] = !0, Mp(n, w, w, M);
19718
19725
  }
19719
19726
  return Mp(n, "localhost", Ya, {
19720
19727
  ascii: !0
@@ -19976,7 +19983,7 @@ Xg.prototype = {
19976
19983
  };
19977
19984
  }
19978
19985
  };
19979
- function zl(t, e) {
19986
+ function Ol(t, e) {
19980
19987
  class n extends Xg {
19981
19988
  constructor(i, a) {
19982
19989
  super(i, a), this.t = t;
@@ -19986,12 +19993,12 @@ function zl(t, e) {
19986
19993
  n.prototype[r] = e[r];
19987
19994
  return n.t = t, n;
19988
19995
  }
19989
- const kp = zl("email", {
19996
+ const kp = Ol("email", {
19990
19997
  isLink: !0,
19991
19998
  toHref() {
19992
19999
  return "mailto:" + this.toString();
19993
20000
  }
19994
- }), Sp = zl("text"), ZN = zl("nl"), jo = zl("url", {
20001
+ }), Sp = Ol("text"), ZN = Ol("nl"), jo = Ol("url", {
19995
20002
  isLink: !0,
19996
20003
  /**
19997
20004
  Lowercases relevant parts of the domain and adds the protocol if
@@ -20085,14 +20092,14 @@ function _N(t, e, n) {
20085
20092
  if (p < 0)
20086
20093
  i -= d, i < r && (o.push(n[i]), i++);
20087
20094
  else {
20088
- o.length > 0 && (a.push(zf(Sp, e, o)), o = []), i -= p, d -= p;
20095
+ o.length > 0 && (a.push(Of(Sp, e, o)), o = []), i -= p, d -= p;
20089
20096
  const h = u.t, m = n.slice(i - d, i);
20090
- a.push(zf(h, e, m));
20097
+ a.push(Of(h, e, m));
20091
20098
  }
20092
20099
  }
20093
- return o.length > 0 && a.push(zf(Sp, e, o)), a;
20100
+ return o.length > 0 && a.push(Of(Sp, e, o)), a;
20094
20101
  }
20095
- function zf(t, e, n) {
20102
+ function Of(t, e, n) {
20096
20103
  const r = n[0].s, i = n[n.length - 1].e, a = e.slice(r, i);
20097
20104
  return new t(a, n);
20098
20105
  }
@@ -20585,8 +20592,8 @@ var $g = Kr.create({
20585
20592
  uk(pk, {
20586
20593
  findListItemPos: () => ao,
20587
20594
  getNextListDepth: () => eu,
20588
- handleBackspace: () => Oc,
20589
- handleDelete: () => zc,
20595
+ handleBackspace: () => Rc,
20596
+ handleDelete: () => Oc,
20590
20597
  hasListBefore: () => nb,
20591
20598
  hasListItemAfter: () => mk,
20592
20599
  hasListItemBefore: () => rb,
@@ -20621,7 +20628,7 @@ var ao = (t, e) => {
20621
20628
  return n.descendants((a) => {
20622
20629
  a.type === r && (i = !0);
20623
20630
  }), i;
20624
- }, Oc = (t, e, n) => {
20631
+ }, Rc = (t, e, n) => {
20625
20632
  if (t.commands.undoInputRule())
20626
20633
  return !0;
20627
20634
  if (t.state.selection.from !== t.state.selection.to)
@@ -20650,7 +20657,7 @@ var ao = (t, e) => {
20650
20657
  }, ob = (t, e) => {
20651
20658
  const n = eu(t, e), r = ao(t, e);
20652
20659
  return !r || !n ? !1 : n < r.depth;
20653
- }, zc = (t, e) => {
20660
+ }, Oc = (t, e) => {
20654
20661
  if (!ir(t.state, e) || !y6(t.state, e))
20655
20662
  return !1;
20656
20663
  const { selection: n } = t.state, { $from: r, $to: i } = n;
@@ -20680,25 +20687,25 @@ var ao = (t, e) => {
20680
20687
  Delete: ({ editor: t }) => {
20681
20688
  let e = !1;
20682
20689
  return this.options.listTypes.forEach(({ itemName: n }) => {
20683
- t.state.schema.nodes[n] !== void 0 && zc(t, n) && (e = !0);
20690
+ t.state.schema.nodes[n] !== void 0 && Oc(t, n) && (e = !0);
20684
20691
  }), e;
20685
20692
  },
20686
20693
  "Mod-Delete": ({ editor: t }) => {
20687
20694
  let e = !1;
20688
20695
  return this.options.listTypes.forEach(({ itemName: n }) => {
20689
- t.state.schema.nodes[n] !== void 0 && zc(t, n) && (e = !0);
20696
+ t.state.schema.nodes[n] !== void 0 && Oc(t, n) && (e = !0);
20690
20697
  }), e;
20691
20698
  },
20692
20699
  Backspace: ({ editor: t }) => {
20693
20700
  let e = !1;
20694
20701
  return this.options.listTypes.forEach(({ itemName: n, wrapperNames: r }) => {
20695
- t.state.schema.nodes[n] !== void 0 && Oc(t, n, r) && (e = !0);
20702
+ t.state.schema.nodes[n] !== void 0 && Rc(t, n, r) && (e = !0);
20696
20703
  }), e;
20697
20704
  },
20698
20705
  "Mod-Backspace": ({ editor: t }) => {
20699
20706
  let e = !1;
20700
20707
  return this.options.listTypes.forEach(({ itemName: n, wrapperNames: r }) => {
20701
- t.state.schema.nodes[n] !== void 0 && Oc(t, n, r) && (e = !0);
20708
+ t.state.schema.nodes[n] !== void 0 && Rc(t, n, r) && (e = !0);
20702
20709
  }), e;
20703
20710
  }
20704
20711
  };
@@ -21114,7 +21121,7 @@ var Ck = "listItem", jp = "textStyle", Dp = /^(\d+)\.\s$/, fb = pt.create({
21114
21121
  },
21115
21122
  tokenize(t, e, n) {
21116
21123
  const r = (a) => {
21117
- const o = Nc(
21124
+ const o = Lc(
21118
21125
  a,
21119
21126
  {
21120
21127
  itemPattern: /^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,
@@ -21145,7 +21152,7 @@ var Ck = "listItem", jp = "textStyle", Dp = /^(\d+)\.\s$/, fb = pt.create({
21145
21152
  items: o.items
21146
21153
  }
21147
21154
  ] : n.blockTokens(a);
21148
- }, i = Nc(
21155
+ }, i = Lc(
21149
21156
  t,
21150
21157
  {
21151
21158
  itemPattern: /^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,
@@ -21198,7 +21205,7 @@ De.create({
21198
21205
  return this.options.bulletList !== !1 && t.push(eb.configure(this.options.bulletList)), this.options.listItem !== !1 && t.push(tb.configure(this.options.listItem)), this.options.listKeymap !== !1 && t.push(sb.configure(this.options.listKeymap)), this.options.orderedList !== !1 && t.push(fb.configure(this.options.orderedList)), this.options.taskItem !== !1 && t.push(xk.configure(this.options.taskItem)), this.options.taskList !== !1 && t.push(Lk.configure(this.options.taskList)), t;
21199
21206
  }
21200
21207
  });
21201
- var Do = "&nbsp;", Pf = " ", Nk = pt.create({
21208
+ var Do = "&nbsp;", zf = " ", Nk = pt.create({
21202
21209
  name: "paragraph",
21203
21210
  priority: 1e3,
21204
21211
  addOptions() {
@@ -21219,7 +21226,7 @@ var Do = "&nbsp;", Pf = " ", Nk = pt.create({
21219
21226
  if (n.length === 1 && n[0].type === "image")
21220
21227
  return e.parseChildren([n[0]]);
21221
21228
  const r = e.parseInline(n);
21222
- return n.length === 1 && n[0].type === "text" && (n[0].raw === Do || n[0].text === Do || n[0].raw === Pf || n[0].text === Pf) && r.length === 1 && r[0].type === "text" && (r[0].text === Do || r[0].text === Pf) ? e.createNode("paragraph", void 0, []) : e.createNode("paragraph", void 0, r);
21229
+ return n.length === 1 && n[0].type === "text" && (n[0].raw === Do || n[0].text === Do || n[0].raw === zf || n[0].text === zf) && r.length === 1 && r[0].type === "text" && (r[0].text === Do || r[0].text === zf) ? e.createNode("paragraph", void 0, []) : e.createNode("paragraph", void 0, r);
21223
21230
  },
21224
21231
  renderMarkdown: (t, e, n) => {
21225
21232
  var r, i;
@@ -21894,9 +21901,9 @@ function Hk(t, e, n, r) {
21894
21901
  if (o && o.getMeta(Dr))
21895
21902
  return o.getMeta(Dr).redo ? new Hn(t.done.addTransform(n, void 0, r, Go(e)), t.undone, Rp(n.mapping.maps), t.prevTime, t.prevComposition) : new Hn(t.done, t.undone.addTransform(n, void 0, r, Go(e)), null, t.prevTime, t.prevComposition);
21896
21903
  if (n.getMeta("addToHistory") !== !1 && !(o && o.getMeta("addToHistory") === !1)) {
21897
- let s = n.getMeta("composition"), l = t.prevTime == 0 || !o && t.prevComposition != s && (t.prevTime < (n.time || 0) - r.newGroupDelay || !Qk(n, t.prevRanges)), c = o ? Bf(t.prevRanges, n.mapping) : Rp(n.mapping.maps);
21904
+ let s = n.getMeta("composition"), l = t.prevTime == 0 || !o && t.prevComposition != s && (t.prevTime < (n.time || 0) - r.newGroupDelay || !Qk(n, t.prevRanges)), c = o ? Pf(t.prevRanges, n.mapping) : Rp(n.mapping.maps);
21898
21905
  return new Hn(t.done.addTransform(n, l ? e.selection.getBookmark() : void 0, r, Go(e)), Xt.empty, c, n.time, s ?? t.prevComposition);
21899
- } else return (a = n.getMeta("rebased")) ? new Hn(t.done.rebased(n, a), t.undone.rebased(n, a), Bf(t.prevRanges, n.mapping), t.prevTime, t.prevComposition) : new Hn(t.done.addMaps(n.mapping.maps), t.undone.addMaps(n.mapping.maps), Bf(t.prevRanges, n.mapping), t.prevTime, t.prevComposition);
21906
+ } else return (a = n.getMeta("rebased")) ? new Hn(t.done.rebased(n, a), t.undone.rebased(n, a), Pf(t.prevRanges, n.mapping), t.prevTime, t.prevComposition) : new Hn(t.done.addMaps(n.mapping.maps), t.undone.addMaps(n.mapping.maps), Pf(t.prevRanges, n.mapping), t.prevTime, t.prevComposition);
21900
21907
  }
21901
21908
  function Qk(t, e) {
21902
21909
  if (!e)
@@ -21915,7 +21922,7 @@ function Rp(t) {
21915
21922
  t[n].forEach((r, i, a, o) => e.push(a, o));
21916
21923
  return e;
21917
21924
  }
21918
- function Bf(t, e) {
21925
+ function Pf(t, e) {
21919
21926
  if (!t)
21920
21927
  return null;
21921
21928
  let n = [];
@@ -21932,18 +21939,18 @@ function Gk(t, e, n) {
21932
21939
  let o = a.selection.resolve(a.transform.doc), s = (n ? t.done : t.undone).addTransform(a.transform, e.selection.getBookmark(), i, r), l = new Hn(n ? s : a.remaining, n ? a.remaining : s, null, 0, -1);
21933
21940
  return a.transform.setSelection(o).setMeta(Dr, { redo: n, historyState: l });
21934
21941
  }
21935
- let Ff = !1, Op = null;
21942
+ let Bf = !1, Op = null;
21936
21943
  function Go(t) {
21937
21944
  let e = t.plugins;
21938
21945
  if (Op != e) {
21939
- Ff = !1, Op = e;
21946
+ Bf = !1, Op = e;
21940
21947
  for (let n = 0; n < e.length; n++)
21941
21948
  if (e[n].spec.historyPreserveItems) {
21942
- Ff = !0;
21949
+ Bf = !0;
21943
21950
  break;
21944
21951
  }
21945
21952
  }
21946
- return Ff;
21953
+ return Bf;
21947
21954
  }
21948
21955
  const Dr = new Re("history"), Jk = new Re("closeHistory");
21949
21956
  function Kk(t = {}) {
@@ -22154,7 +22161,7 @@ var _k = De.create({
22154
22161
  return null;
22155
22162
  const o = this.editor.isEmpty;
22156
22163
  return e.descendants((s, l) => {
22157
- const c = i >= l && i <= l + s.nodeSize, d = !s.isLeaf && Dl(s);
22164
+ const c = i >= l && i <= l + s.nodeSize, d = !s.isLeaf && jl(s);
22158
22165
  if (!s.type.isTextblock)
22159
22166
  return this.options.includeChildren;
22160
22167
  if ((c || !this.options.showOnlyCurrent) && d) {
@@ -22873,14 +22880,14 @@ function fn(t) {
22873
22880
  return t.split("-")[0];
22874
22881
  }
22875
22882
  var Rr = Math.max, Xs = Math.min, ji = Math.round;
22876
- function Pc() {
22883
+ function zc() {
22877
22884
  var t = navigator.userAgentData;
22878
22885
  return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
22879
22886
  return e.brand + "/" + e.version;
22880
22887
  }).join(" ") : navigator.userAgent;
22881
22888
  }
22882
22889
  function Mb() {
22883
- return !/^((?!chrome|android).)*safari/i.test(Pc());
22890
+ return !/^((?!chrome|android).)*safari/i.test(zc());
22884
22891
  }
22885
22892
  function Di(t, e, n) {
22886
22893
  e === void 0 && (e = !1), n === void 0 && (n = !1);
@@ -22933,7 +22940,7 @@ function dr(t) {
22933
22940
  t.document
22934
22941
  )) || window.document).documentElement;
22935
22942
  }
22936
- function Pl(t) {
22943
+ function zl(t) {
22937
22944
  return hn(t) === "html" ? t : (
22938
22945
  // this is a quicker (but less type safe) way to save quite some bytes from the bundle
22939
22946
  // $FlowFixMe[incompatible-return]
@@ -22950,13 +22957,13 @@ function Vp(t) {
22950
22957
  On(t).position === "fixed" ? null : t.offsetParent;
22951
22958
  }
22952
22959
  function SS(t) {
22953
- var e = /firefox/i.test(Pc()), n = /Trident/i.test(Pc());
22960
+ var e = /firefox/i.test(zc()), n = /Trident/i.test(zc());
22954
22961
  if (n && Ht(t)) {
22955
22962
  var r = On(t);
22956
22963
  if (r.position === "fixed")
22957
22964
  return null;
22958
22965
  }
22959
- var i = Pl(t);
22966
+ var i = zl(t);
22960
22967
  for (ru(i) && (i = i.host); Ht(i) && ["html", "body"].indexOf(hn(i)) < 0; ) {
22961
22968
  var a = On(i);
22962
22969
  if (a.transform !== "none" || a.perspective !== "none" || a.contain === "paint" || ["transform", "perspective"].indexOf(a.willChange) !== -1 || e && a.willChange === "filter" || e && a.filter && a.filter !== "none")
@@ -23191,7 +23198,7 @@ function lu(t) {
23191
23198
  return /auto|scroll|overlay|hidden/.test(n + i + r);
23192
23199
  }
23193
23200
  function Sb(t) {
23194
- return ["html", "body", "#document"].indexOf(hn(t)) >= 0 ? t.ownerDocument.body : Ht(t) && lu(t) ? t : Sb(Pl(t));
23201
+ return ["html", "body", "#document"].indexOf(hn(t)) >= 0 ? t.ownerDocument.body : Ht(t) && lu(t) ? t : Sb(zl(t));
23195
23202
  }
23196
23203
  function xa(t, e) {
23197
23204
  var n;
@@ -23199,10 +23206,10 @@ function xa(t, e) {
23199
23206
  var r = Sb(t), i = r === ((n = t.ownerDocument) == null ? void 0 : n.body), a = At(r), o = i ? [a].concat(a.visualViewport || [], lu(r) ? r : []) : r, s = e.concat(o);
23200
23207
  return i ? s : (
23201
23208
  // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
23202
- s.concat(xa(Pl(o)))
23209
+ s.concat(xa(zl(o)))
23203
23210
  );
23204
23211
  }
23205
- function Bc(t) {
23212
+ function Pc(t) {
23206
23213
  return Object.assign({}, t, {
23207
23214
  left: t.x,
23208
23215
  top: t.y,
@@ -23215,10 +23222,10 @@ function WS(t, e) {
23215
23222
  return n.top = n.top + t.clientTop, n.left = n.left + t.clientLeft, n.bottom = n.top + t.clientHeight, n.right = n.left + t.clientWidth, n.width = t.clientWidth, n.height = t.clientHeight, n.x = n.left, n.y = n.top, n;
23216
23223
  }
23217
23224
  function Wp(t, e, n) {
23218
- return e === yb ? Bc(YS(t, n)) : Ur(e) ? WS(e, n) : Bc(US(dr(t)));
23225
+ return e === yb ? Pc(YS(t, n)) : Ur(e) ? WS(e, n) : Pc(US(dr(t)));
23219
23226
  }
23220
23227
  function HS(t) {
23221
- var e = xa(Pl(t)), n = ["absolute", "fixed"].indexOf(On(t).position) >= 0, r = n && Ht(t) ? so(t) : t;
23228
+ var e = xa(zl(t)), n = ["absolute", "fixed"].indexOf(On(t).position) >= 0, r = n && Ht(t) ? so(t) : t;
23222
23229
  return Ur(r) ? e.filter(function(i) {
23223
23230
  return Ur(i) && xb(i, r) && hn(i) !== "body";
23224
23231
  }) : [];
@@ -23283,7 +23290,7 @@ function Ha(t, e) {
23283
23290
  reference: N,
23284
23291
  element: x,
23285
23292
  placement: i
23286
- }), A = Bc(Object.assign({}, x, k)), j = p === $i ? A : N, S = {
23293
+ }), A = Pc(Object.assign({}, x, k)), j = p === $i ? A : N, S = {
23287
23294
  top: L.top - j.top + v.top,
23288
23295
  bottom: j.bottom - L.bottom + v.bottom,
23289
23296
  left: L.left - j.left + v.left,
@@ -23705,7 +23712,7 @@ var mI = [BS, nI, zS, Cb, eI, qS, aI, jS, XS], gI = /* @__PURE__ */ pI({
23705
23712
  function yI(t, e) {
23706
23713
  return {}.hasOwnProperty.call(t, e);
23707
23714
  }
23708
- function Vf(t, e, n) {
23715
+ function Ff(t, e, n) {
23709
23716
  if (Array.isArray(t)) {
23710
23717
  var r = t[e];
23711
23718
  return r ?? (Array.isArray(n) ? n[e] : n);
@@ -23780,7 +23787,7 @@ function kI(t) {
23780
23787
  function SI(t) {
23781
23788
  return Qa(t) ? [t] : LI(t) ? _s(t) : Array.isArray(t) ? t : _s(document.querySelectorAll(t));
23782
23789
  }
23783
- function Yf(t, e) {
23790
+ function Vf(t, e) {
23784
23791
  t.forEach(function(n) {
23785
23792
  n && (n.style.transitionDuration = e + "ms");
23786
23793
  });
@@ -23804,7 +23811,7 @@ function AI(t, e) {
23804
23811
  return g || w || v || M;
23805
23812
  });
23806
23813
  }
23807
- function Uf(t, e, n) {
23814
+ function Yf(t, e, n) {
23808
23815
  var r = e + "EventListener";
23809
23816
  ["transitionend", "webkitTransitionEnd"].forEach(function(i) {
23810
23817
  t[r](i, n);
@@ -23882,7 +23889,7 @@ function kn(t, e) {
23882
23889
  Ga.add(e), (n = console).warn.apply(n, Ob(e));
23883
23890
  }
23884
23891
  }
23885
- function Fc(t, e) {
23892
+ function Bc(t, e) {
23886
23893
  if (t && !Ga.has(e)) {
23887
23894
  var n;
23888
23895
  Ga.add(e), (n = console).error.apply(n, Ob(e));
@@ -23890,7 +23897,7 @@ function Fc(t, e) {
23890
23897
  }
23891
23898
  function PI(t) {
23892
23899
  var e = !t, n = Object.prototype.toString.call(t) === "[object Object]" && !t.addEventListener;
23893
- Fc(e, ["tippy() was passed", "`" + String(t) + "`", "as its targets (first) argument. Valid types are: String, Element,", "Element[], or NodeList."].join(" ")), Fc(n, ["tippy() was passed a plain object which is not supported as an argument", "for virtual positioning. Use props.getReferenceClientRect instead."].join(" "));
23900
+ Bc(e, ["tippy() was passed", "`" + String(t) + "`", "as its targets (first) argument. Valid types are: String, Element,", "Element[], or NodeList."].join(" ")), Bc(n, ["tippy() was passed a plain object which is not supported as an argument", "for virtual positioning. Use props.getReferenceClientRect instead."].join(" "));
23894
23901
  }
23895
23902
  var zb = {
23896
23903
  animateFill: !1,
@@ -24017,17 +24024,17 @@ function Bb(t, e) {
24017
24024
  var UI = function() {
24018
24025
  return "innerHTML";
24019
24026
  };
24020
- function Vc(t, e) {
24027
+ function Fc(t, e) {
24021
24028
  t[UI()] = e;
24022
24029
  }
24023
24030
  function n1(t) {
24024
24031
  var e = La();
24025
- return t === !0 ? e.className = Eb : (e.className = Tb, Qa(t) ? e.appendChild(t) : Vc(e, t)), e;
24032
+ return t === !0 ? e.className = Eb : (e.className = Tb, Qa(t) ? e.appendChild(t) : Fc(e, t)), e;
24026
24033
  }
24027
24034
  function r1(t, e) {
24028
- Qa(e.content) ? (Vc(t, ""), t.appendChild(e.content)) : typeof e.content != "function" && (e.allowHTML ? Vc(t, e.content) : t.textContent = e.content);
24035
+ Qa(e.content) ? (Fc(t, ""), t.appendChild(e.content)) : typeof e.content != "function" && (e.allowHTML ? Fc(t, e.content) : t.textContent = e.content);
24029
24036
  }
24030
- function Yc(t) {
24037
+ function Vc(t) {
24031
24038
  var e = t.firstElementChild, n = _s(e.children);
24032
24039
  return {
24033
24040
  box: e,
@@ -24048,7 +24055,7 @@ function Fb(t) {
24048
24055
  var r = La();
24049
24056
  r.className = Ab, r.setAttribute("data-state", "hidden"), r1(r, t.props), e.appendChild(n), n.appendChild(r), i(t.props, t.props);
24050
24057
  function i(a, o) {
24051
- var s = Yc(e), l = s.box, c = s.content, d = s.arrow;
24058
+ var s = Vc(e), l = s.box, c = s.content, d = s.arrow;
24052
24059
  o.theme ? l.setAttribute("data-theme", o.theme) : l.removeAttribute("data-theme"), typeof o.animation == "string" ? l.setAttribute("data-animation", o.animation) : l.removeAttribute("data-animation"), o.inertia ? l.setAttribute("data-inertia", "") : l.removeAttribute("data-inertia"), l.style.maxWidth = typeof o.maxWidth == "number" ? o.maxWidth + "px" : o.maxWidth, o.role ? l.setAttribute("role", o.role) : l.removeAttribute("role"), (a.content !== o.content || a.allowHTML !== o.allowHTML) && r1(c, t.props), o.arrow ? d ? a.arrow !== o.arrow && (l.removeChild(d), l.appendChild(n1(o.arrow))) : l.appendChild(n1(o.arrow)) : d && l.removeChild(d);
24053
24060
  }
24054
24061
  return {
@@ -24057,7 +24064,7 @@ function Fb(t) {
24057
24064
  };
24058
24065
  }
24059
24066
  Fb.$$tippy = !0;
24060
- var WI = 1, zo = [], Wf = [];
24067
+ var WI = 1, zo = [], Uf = [];
24061
24068
  function HI(t, e) {
24062
24069
  var n = t1(t, Object.assign({}, kt, Pb(Zp(e)))), r, i, a, o = !1, s = !1, l = !1, c = !1, d, u, p, h = [], m = Kp(gn, n.interactiveDebounce), g, w = WI++, v = null, M = MI(n.plugins), x = {
24063
24070
  // Is the instance currently enabled?
@@ -24092,7 +24099,7 @@ function HI(t, e) {
24092
24099
  destroy: aw
24093
24100
  };
24094
24101
  if (!n.render)
24095
- return process.env.NODE_ENV !== "production" && Fc(!0, "render() function has not been supplied."), y;
24102
+ return process.env.NODE_ENV !== "production" && Bc(!0, "render() function has not been supplied."), y;
24096
24103
  var L = n.render(y), N = L.popper, k = L.onUpdate;
24097
24104
  N.setAttribute("data-tippy-root", ""), N.id = "tippy-" + y.id, y.popper = N, t._tippy = y, N._tippy = y;
24098
24105
  var A = M.map(function(D) {
@@ -24122,10 +24129,10 @@ function HI(t, e) {
24122
24129
  return D ? II(D) : document;
24123
24130
  }
24124
24131
  function H() {
24125
- return Yc(N);
24132
+ return Vc(N);
24126
24133
  }
24127
24134
  function E(D) {
24128
- return y.state.isMounted && !y.state.isVisible || sn.isTouch || d && d.type === "focus" ? 0 : Vf(y.props.delay, D ? 0 : 1, kt.delay);
24135
+ return y.state.isMounted && !y.state.isVisible || sn.isTouch || d && d.type === "focus" ? 0 : Ff(y.props.delay, D ? 0 : 1, kt.delay);
24129
24136
  }
24130
24137
  function U(D) {
24131
24138
  D === void 0 && (D = !1), N.style.pointerEvents = y.props.interactive && !D ? "" : "none", N.style.zIndex = "" + y.props.zIndex;
@@ -24208,11 +24215,11 @@ function HI(t, e) {
24208
24215
  function te(D, K) {
24209
24216
  var $ = H().box;
24210
24217
  function ge(ue) {
24211
- ue.target === $ && (Uf($, "remove", ge), K());
24218
+ ue.target === $ && (Yf($, "remove", ge), K());
24212
24219
  }
24213
24220
  if (D === 0)
24214
24221
  return K();
24215
- Uf($, "remove", u), Uf($, "add", ge), u = ge;
24222
+ Yf($, "remove", u), Yf($, "add", ge), u = ge;
24216
24223
  }
24217
24224
  function ve(D, K, $) {
24218
24225
  $ === void 0 && ($ = !1);
@@ -24293,7 +24300,7 @@ function HI(t, e) {
24293
24300
  }
24294
24301
  function uo() {
24295
24302
  ho();
24296
- var D = y.props, K = D.popperOptions, $ = D.placement, ge = D.offset, ue = D.getReferenceClientRect, ft = D.moveTransition, Dt = Y() ? Yc(N).arrow : null, ii = ue ? {
24303
+ var D = y.props, K = D.popperOptions, $ = D.placement, ge = D.offset, ue = D.getReferenceClientRect, ft = D.moveTransition, Dt = Y() ? Vc(N).arrow : null, ii = ue ? {
24297
24304
  getBoundingClientRect: ue,
24298
24305
  contextElement: ue.contextElement || V()
24299
24306
  } : t, Uu = {
@@ -24304,9 +24311,9 @@ function HI(t, e) {
24304
24311
  fn: function(wo) {
24305
24312
  var ai = wo.state;
24306
24313
  if (Y()) {
24307
- var ow = H(), ff = ow.box;
24314
+ var ow = H(), lf = ow.box;
24308
24315
  ["placement", "reference-hidden", "escaped"].forEach(function(yo) {
24309
- yo === "placement" ? ff.setAttribute("data-placement", ai.placement) : ai.attributes.popper["data-popper-" + yo] ? ff.setAttribute("data-" + yo, "") : ff.removeAttribute("data-" + yo);
24316
+ yo === "placement" ? lf.setAttribute("data-placement", ai.placement) : ai.attributes.popper["data-popper-" + yo] ? lf.setAttribute("data-" + yo, "") : lf.removeAttribute("data-" + yo);
24310
24317
  }), ai.attributes.popper = {};
24311
24318
  }
24312
24319
  }
@@ -24414,20 +24421,20 @@ function HI(t, e) {
24414
24421
  }
24415
24422
  function tw() {
24416
24423
  process.env.NODE_ENV !== "production" && kn(y.state.isDestroyed, li("show"));
24417
- var D = y.state.isVisible, K = y.state.isDestroyed, $ = !y.state.isEnabled, ge = sn.isTouch && !y.props.touch, ue = Vf(y.props.duration, 0, kt.duration);
24424
+ var D = y.state.isVisible, K = y.state.isDestroyed, $ = !y.state.isEnabled, ge = sn.isTouch && !y.props.touch, ue = Ff(y.props.duration, 0, kt.duration);
24418
24425
  if (!(D || K || $ || ge) && !V().hasAttribute("disabled") && (_("onShow", [y], !1), y.props.onShow(y) !== !1)) {
24419
24426
  if (y.state.isVisible = !0, Y() && (N.style.visibility = "visible"), U(), ie(), y.state.isMounted || (N.style.transition = "none"), Y()) {
24420
24427
  var ft = H(), Dt = ft.box, ii = ft.content;
24421
- Yf([Dt, ii], 0);
24428
+ Vf([Dt, ii], 0);
24422
24429
  }
24423
24430
  p = function() {
24424
24431
  var wr;
24425
24432
  if (!(!y.state.isVisible || c)) {
24426
24433
  if (c = !0, N.offsetHeight, N.style.transition = y.props.moveTransition, Y() && y.props.animation) {
24427
- var lf = H(), wo = lf.box, ai = lf.content;
24428
- Yf([wo, ai], ue), Xp([wo, ai], "visible");
24434
+ var sf = H(), wo = sf.box, ai = sf.content;
24435
+ Vf([wo, ai], ue), Xp([wo, ai], "visible");
24429
24436
  }
24430
- Q(), pe(), qp(Wf, y), (wr = y.popperInstance) == null || wr.forceUpdate(), _("onMount", [y]), y.props.animation && Y() && G(ue, function() {
24437
+ Q(), pe(), qp(Uf, y), (wr = y.popperInstance) == null || wr.forceUpdate(), _("onMount", [y]), y.props.animation && Y() && G(ue, function() {
24431
24438
  y.state.isShown = !0, _("onShown", [y]);
24432
24439
  });
24433
24440
  }
@@ -24436,11 +24443,11 @@ function HI(t, e) {
24436
24443
  }
24437
24444
  function nw() {
24438
24445
  process.env.NODE_ENV !== "production" && kn(y.state.isDestroyed, li("hide"));
24439
- var D = !y.state.isVisible, K = y.state.isDestroyed, $ = !y.state.isEnabled, ge = Vf(y.props.duration, 1, kt.duration);
24446
+ var D = !y.state.isVisible, K = y.state.isDestroyed, $ = !y.state.isEnabled, ge = Ff(y.props.duration, 1, kt.duration);
24440
24447
  if (!(D || K || $) && (_("onHide", [y], !1), y.props.onHide(y) !== !1)) {
24441
24448
  if (y.state.isVisible = !1, y.state.isShown = !1, c = !1, o = !1, Y() && (N.style.visibility = "hidden"), me(), ne(), U(!0), Y()) {
24442
24449
  var ue = H(), ft = ue.box, Dt = ue.content;
24443
- y.props.animation && (Yf([ft, Dt], ge), Xp([ft, Dt], "hidden"));
24450
+ y.props.animation && (Vf([ft, Dt], ge), Xp([ft, Dt], "hidden"));
24444
24451
  }
24445
24452
  Q(), pe(), y.props.animation ? Y() && T(ge, y.unmount) : y.unmount();
24446
24453
  }
@@ -24451,7 +24458,7 @@ function HI(t, e) {
24451
24458
  function iw() {
24452
24459
  process.env.NODE_ENV !== "production" && kn(y.state.isDestroyed, li("unmount")), y.state.isVisible && y.hide(), y.state.isMounted && (ho(), Fn().forEach(function(D) {
24453
24460
  D._tippy.unmount();
24454
- }), N.parentNode && N.parentNode.removeChild(N), Wf = Wf.filter(function(D) {
24461
+ }), N.parentNode && N.parentNode.removeChild(N), Uf = Uf.filter(function(D) {
24455
24462
  return D !== y;
24456
24463
  }), y.state.isMounted = !1, _("onHidden", [y]));
24457
24464
  }
@@ -24542,17 +24549,17 @@ const Vb = l0((t, e) => {
24542
24549
  )) : /* @__PURE__ */ f("div", { className: "px-2 py-1.5 text-sm text-muted-foreground", children: "Nenhum usuário encontrado" }) });
24543
24550
  });
24544
24551
  Vb.displayName = "MentionList";
24545
- function Uc(t) {
24552
+ function Yc(t) {
24546
24553
  return [].concat(t);
24547
24554
  }
24548
24555
  function cu(t) {
24549
24556
  return t.startsWith(":");
24550
24557
  }
24551
24558
  function Yb(t) {
24552
- return Bl(t) && (t === "*" || t.length > 1 && ":>~.+*".includes(t.slice(0, 1)) || Qb(t));
24559
+ return Pl(t) && (t === "*" || t.length > 1 && ":>~.+*".includes(t.slice(0, 1)) || Qb(t));
24553
24560
  }
24554
24561
  function Ub(t, e) {
24555
- return (Bl(e) || typeof e == "number") && !Hb(t) && !cu(t) && !Wb(t);
24562
+ return (Pl(e) || typeof e == "number") && !Hb(t) && !cu(t) && !Wb(t);
24556
24563
  }
24557
24564
  function Wb(t) {
24558
24565
  return t.startsWith("@media");
@@ -24563,11 +24570,11 @@ function QI(t) {
24563
24570
  function Hb(t) {
24564
24571
  return t === "--";
24565
24572
  }
24566
- function Bl(t) {
24573
+ function Pl(t) {
24567
24574
  return t + "" === t;
24568
24575
  }
24569
24576
  function Qb(t) {
24570
- return Bl(t) && (t.startsWith("&") || cu(t));
24577
+ return Pl(t) && (t.startsWith("&") || cu(t));
24571
24578
  }
24572
24579
  function $s(t, e = "") {
24573
24580
  return t.filter(Boolean).join(e);
@@ -24607,10 +24614,10 @@ var Jb = class Kb {
24607
24614
  this.hash = this.selector.hasConditions ? this.selector.scopeClassName : Gb(this.sheet.name, this.joined), this.key = $s([this.joined, a, this.hash]);
24608
24615
  }
24609
24616
  toString() {
24610
- let e = Wc(this.selector.preconditions, {
24617
+ let e = Uc(this.selector.preconditions, {
24611
24618
  right: this.hash
24612
24619
  });
24613
- return e = Wc(this.selector.postconditions, {
24620
+ return e = Uc(this.selector.postconditions, {
24614
24621
  left: e
24615
24622
  }), `${e} {${Kb.genRule(this.property, this.value)}}`;
24616
24623
  }
@@ -24622,7 +24629,7 @@ var Jb = class Kb {
24622
24629
  ) + ";";
24623
24630
  }
24624
24631
  };
24625
- function Wc(t, { left: e = "", right: n = "" } = {}) {
24632
+ function Uc(t, { left: e = "", right: n = "" } = {}) {
24626
24633
  const r = t.reduce((i, a) => cu(a) ? i + a : Qb(a) ? i + a.slice(1) : $s([i, a], " "), e);
24627
24634
  return $s([r, KI(n)], " ");
24628
24635
  }
@@ -24631,7 +24638,7 @@ var ZI = class Ko {
24631
24638
  preconditions: r,
24632
24639
  postconditions: i
24633
24640
  } = {}) {
24634
- this.sheet = e, this.preconditions = [], this.scopeClassName = null, this.scopeName = null, this.postconditions = [], this.preconditions = r ? Uc(r) : [], this.postconditions = i ? Uc(i) : [], this.setScope(n);
24641
+ this.sheet = e, this.preconditions = [], this.scopeClassName = null, this.scopeName = null, this.postconditions = [], this.preconditions = r ? Yc(r) : [], this.postconditions = i ? Yc(i) : [], this.setScope(n);
24635
24642
  }
24636
24643
  setScope(e) {
24637
24644
  return e ? (this.scopeClassName || (this.scopeName = e, this.scopeClassName = Gb(
@@ -24689,7 +24696,7 @@ var ZI = class Ko {
24689
24696
  }
24690
24697
  addRule(e) {
24691
24698
  const n = this.storedClasses[e.key];
24692
- return Bl(n) ? n : (this.storedClasses[e.key] = e.hash, this.storedStyles[e.hash] = [e.property, e.value], this.append(e.toString()), e.hash);
24699
+ return Pl(n) ? n : (this.storedClasses[e.key] = e.hash, this.storedStyles[e.hash] = [e.property, e.value], this.append(e.toString()), e.hash);
24693
24700
  }
24694
24701
  };
24695
24702
  function du(t, e) {
@@ -24713,7 +24720,7 @@ function _I(t, e) {
24713
24720
  const a = {};
24714
24721
  return qb(n, i, new ZI(n)).forEach(
24715
24722
  ([s, l, c]) => {
24716
- Fl(n, l, c).forEach(
24723
+ Bl(n, l, c).forEach(
24717
24724
  (d) => {
24718
24725
  o(s, d);
24719
24726
  }
@@ -24737,18 +24744,18 @@ function qb(t, e, n) {
24737
24744
  r.push([i, e[i], n.addScope(i)]);
24738
24745
  }), r;
24739
24746
  }
24740
- function Fl(t, e, n) {
24747
+ function Bl(t, e, n) {
24741
24748
  const r = /* @__PURE__ */ new Set();
24742
24749
  return du(e, (i, a) => {
24743
24750
  let o = [];
24744
24751
  if (Yb(i))
24745
- o = Fl(
24752
+ o = Bl(
24746
24753
  t,
24747
24754
  a,
24748
24755
  n.addPostcondition(i)
24749
24756
  );
24750
24757
  else if (QI(i))
24751
- o = Uc(a);
24758
+ o = Yc(a);
24752
24759
  else if (Wb(i))
24753
24760
  o = e9(t, a, i, n);
24754
24761
  else if (Hb(i))
@@ -24770,14 +24777,14 @@ function $I(t, e, n) {
24770
24777
  i.push(Jb.genRule(a, o));
24771
24778
  return;
24772
24779
  }
24773
- const s = Fl(t, o ?? {}, n);
24780
+ const s = Bl(t, o ?? {}, n);
24774
24781
  Zb(s, r);
24775
24782
  }), !n.scopeClassName)
24776
24783
  return r;
24777
24784
  if (i.length) {
24778
24785
  const a = i.join(" ");
24779
24786
  t.append(
24780
- `${Wc(n.preconditions, {
24787
+ `${Uc(n.preconditions, {
24781
24788
  right: n.scopeClassName
24782
24789
  })} {${a}}`
24783
24790
  );
@@ -24786,7 +24793,7 @@ function $I(t, e, n) {
24786
24793
  }
24787
24794
  function e9(t, e, n, r) {
24788
24795
  t.append(n + " {");
24789
- const i = Fl(t, e, r);
24796
+ const i = Bl(t, e, r);
24790
24797
  return t.append("}"), i;
24791
24798
  }
24792
24799
  function a1(t, e) {
@@ -24822,7 +24829,7 @@ function we() {
24822
24829
  }, we.apply(null, arguments);
24823
24830
  }
24824
24831
  function n9(t, e) {
24825
- t.prototype = Object.create(e.prototype), t.prototype.constructor = t, Hc(t, e);
24832
+ t.prototype = Object.create(e.prototype), t.prototype.constructor = t, Wc(t, e);
24826
24833
  }
24827
24834
  function Xb(t, e) {
24828
24835
  if (t == null) return {};
@@ -24833,10 +24840,10 @@ function Xb(t, e) {
24833
24840
  }
24834
24841
  return n;
24835
24842
  }
24836
- function Hc(t, e) {
24837
- return Hc = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) {
24843
+ function Wc(t, e) {
24844
+ return Wc = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) {
24838
24845
  return n.__proto__ = r, n;
24839
- }, Hc(t, e);
24846
+ }, Wc(t, e);
24840
24847
  }
24841
24848
  function r9(t, e) {
24842
24849
  if (t) {
@@ -24866,7 +24873,7 @@ var Ae = /* @__PURE__ */ _I("epr", null), qo = {
24866
24873
  hidden: /* @__PURE__ */ we({
24867
24874
  ".": de.hidden
24868
24875
  }, qo)
24869
- }), i9 = /* @__PURE__ */ sd(function(e) {
24876
+ }), i9 = /* @__PURE__ */ od(function(e) {
24870
24877
  var n = e.nonce;
24871
24878
  return P("style", {
24872
24879
  nonce: n,
@@ -25060,7 +25067,7 @@ function r2(t) {
25060
25067
  return we({}, n2[e], t && t[e] && t[e]);
25061
25068
  });
25062
25069
  }
25063
- function Vl(t) {
25070
+ function Fl(t) {
25064
25071
  return t.category;
25065
25072
  }
25066
25073
  function i2(t) {
@@ -46679,7 +46686,7 @@ function T9() {
46679
46686
  function() {
46680
46687
  var i, a = (i = gu(t)) != null ? i : [];
46681
46688
  return a.map(function(o) {
46682
- return Ul(o.unified);
46689
+ return Yl(o.unified);
46683
46690
  }).filter(Boolean);
46684
46691
  },
46685
46692
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -46690,19 +46697,19 @@ function T9() {
46690
46697
  return a === le.SUGGESTED ? r : (o = mu.emojis[a]) != null ? o : [];
46691
46698
  };
46692
46699
  }
46693
- function Yl(t) {
46700
+ function Vl(t) {
46694
46701
  var e;
46695
46702
  return (e = t[We.variations]) != null ? e : [];
46696
46703
  }
46697
46704
  function Fi(t) {
46698
- return Yl(t).length > 0;
46705
+ return Vl(t).length > 0;
46699
46706
  }
46700
46707
  function j9(t, e) {
46701
- return e ? Yl(t).find(function(n) {
46708
+ return e ? Vl(t).find(function(n) {
46702
46709
  return n.includes(e);
46703
46710
  }) : cn(t);
46704
46711
  }
46705
- function Ul(t) {
46712
+ function Yl(t) {
46706
46713
  if (t) {
46707
46714
  if (Zo[t])
46708
46715
  return Zo[t];
@@ -46712,7 +46719,7 @@ function Ul(t) {
46712
46719
  }
46713
46720
  var D9 = /* @__PURE__ */ Object.values(mu.emojis).flat(), Zo = {};
46714
46721
  D9.reduce(function(t, e) {
46715
- return t[cn(e)] = e, Fi(e) && Yl(e).forEach(function(n) {
46722
+ return t[cn(e)] = e, Fi(e) && Vl(e).forEach(function(n) {
46716
46723
  t[n] = e;
46717
46724
  }), t;
46718
46725
  }, Zo);
@@ -46725,7 +46732,7 @@ var d2 = /* @__PURE__ */ Ve.createContext({
46725
46732
  allEmojis: [],
46726
46733
  allEmojisByUnified: {},
46727
46734
  searchIndex: {},
46728
- emojiByUnified: Ul,
46735
+ emojiByUnified: Yl,
46729
46736
  activeVariationFromUnified: function() {
46730
46737
  return null;
46731
46738
  }
@@ -46901,11 +46908,11 @@ function _r() {
46901
46908
  var t = nt(Et), e = t.reactionsModeState;
46902
46909
  return e;
46903
46910
  }
46904
- function Wl() {
46911
+ function Ul() {
46905
46912
  var t = nt(Et), e = t.searchTerm;
46906
46913
  return e;
46907
46914
  }
46908
- function Hl() {
46915
+ function Wl() {
46909
46916
  var t = nt(Et), e = t.activeSkinTone;
46910
46917
  return e;
46911
46918
  }
@@ -47094,8 +47101,8 @@ function sA(t) {
47094
47101
  var e = t > 0, n = t > 1;
47095
47102
  return e ? n ? x9.replace("%n", t.toString()) : M9 : C9;
47096
47103
  }
47097
- function Ql() {
47098
- var t = Wl(), e = t[0];
47104
+ function Hl() {
47105
+ var t = Ul(), e = t[0];
47099
47106
  return !!e;
47100
47107
  }
47101
47108
  function Tt(t) {
@@ -47160,11 +47167,11 @@ function I2() {
47160
47167
  function Ui() {
47161
47168
  return Bn().PickerMainRef;
47162
47169
  }
47163
- function Gl() {
47170
+ function Ql() {
47164
47171
  return Bn().AnchoredEmojiRef;
47165
47172
  }
47166
47173
  function A2() {
47167
- var t = Gl();
47174
+ var t = Ql();
47168
47175
  return function(e) {
47169
47176
  e === null && t.current !== null && Tt(t.current), t.current = e;
47170
47177
  };
@@ -47208,15 +47215,15 @@ function uA() {
47208
47215
  });
47209
47216
  }, [t]);
47210
47217
  }
47211
- function Jl(t) {
47218
+ function Gl(t) {
47212
47219
  if (!(!t || !XA(t)) && !t.closest(Jt(de.variationPicker))) {
47213
47220
  var e = G2(t), n = Q2(t);
47214
47221
  dA(e, -(Iu(hr(t)) - n));
47215
47222
  }
47216
47223
  }
47217
- function Kl(t) {
47224
+ function Jl(t) {
47218
47225
  var e = Du(t);
47219
- Tt(e), Jl(e);
47226
+ Tt(e), Gl(e);
47220
47227
  }
47221
47228
  function hA(t) {
47222
47229
  var e = Du(t);
@@ -47229,16 +47236,16 @@ function mA(t) {
47229
47236
  if (t) {
47230
47237
  var e = Z2(t);
47231
47238
  if (!e)
47232
- return Kl(Zl(t));
47233
- Tt(e), Jl(e);
47239
+ return Jl(ql(t));
47240
+ Tt(e), Gl(e);
47234
47241
  }
47235
47242
  }
47236
47243
  function gA(t) {
47237
47244
  if (t) {
47238
47245
  var e = ju(t);
47239
47246
  if (!e)
47240
- return pA(ql(t));
47241
- Tt(e), Jl(e);
47247
+ return pA(Kl(t));
47248
+ Tt(e), Gl(e);
47242
47249
  }
47243
47250
  }
47244
47251
  function bA(t, e) {
@@ -47246,7 +47253,7 @@ function bA(t, e) {
47246
47253
  var n = yA(t);
47247
47254
  if (!n)
47248
47255
  return e();
47249
- Tt(n), Jl(n);
47256
+ Tt(n), Gl(n);
47250
47257
  }
47251
47258
  }
47252
47259
  function wA(t) {
@@ -47263,7 +47270,7 @@ function yA(t) {
47263
47270
  return null;
47264
47271
  if (i[a - r])
47265
47272
  return i[a - r];
47266
- var s = ql(n);
47273
+ var s = Kl(n);
47267
47274
  if (!s)
47268
47275
  return null;
47269
47276
  var l = zi(s), c = l.length % r - 1;
@@ -47287,7 +47294,7 @@ function vA(t) {
47287
47294
  if (a[c])
47288
47295
  return a[c];
47289
47296
  }
47290
- var d = o % i, u = Zl(r), p = zi(u);
47297
+ var d = o % i, u = ql(r), p = zi(u);
47291
47298
  return p[d] ? p[d] : (e = p.at(0)) != null ? e : null;
47292
47299
  }
47293
47300
  function ti() {
@@ -47374,7 +47381,7 @@ function NA() {
47374
47381
  };
47375
47382
  }
47376
47383
  function kA() {
47377
- var t = ur(), e = wu(), n = LA(), r = Nu(), i = Wl(), a = i[0], o = jA(e.current, a);
47384
+ var t = ur(), e = wu(), n = LA(), r = Nu(), i = Ul(), a = i[0], o = jA(e.current, a);
47378
47385
  return {
47379
47386
  onChange: s,
47380
47387
  searchTerm: a,
@@ -47395,7 +47402,7 @@ function kA() {
47395
47402
  }
47396
47403
  }
47397
47404
  function Nu() {
47398
- var t = Wl(), e = t[1], n = Ui();
47405
+ var t = Ul(), e = t[1], n = Ui();
47399
47406
  return function(i) {
47400
47407
  requestAnimationFrame(function() {
47401
47408
  e(i && (i == null ? void 0 : i.toLowerCase())).then(function() {
@@ -47418,7 +47425,7 @@ function IA(t, e) {
47418
47425
  });
47419
47426
  }
47420
47427
  function AA() {
47421
- var t = wu(), e = t.current, n = Wl(), r = n[0];
47428
+ var t = wu(), e = t.current, n = Ul(), r = n[0];
47422
47429
  return function(i) {
47423
47430
  return EA(i, e, r);
47424
47431
  };
@@ -47588,7 +47595,7 @@ function PA() {
47588
47595
  o.preventDefault(), L2(Za());
47589
47596
  break;
47590
47597
  case Pe.ArrowDown:
47591
- o.preventDefault(), Kl(n.current);
47598
+ o.preventDefault(), Jl(n.current);
47592
47599
  break;
47593
47600
  default:
47594
47601
  r(o);
@@ -47650,13 +47657,13 @@ function BA() {
47650
47657
  }, [t, o]);
47651
47658
  }
47652
47659
  function B2() {
47653
- var t = R2(), e = Ql(), n = jt();
47660
+ var t = R2(), e = Hl(), n = jt();
47654
47661
  return ke(function() {
47655
- return e ? Kl(n.current) : t();
47662
+ return e ? Jl(n.current) : t();
47656
47663
  }, [n, t, e]);
47657
47664
  }
47658
47665
  function FA() {
47659
- var t = ni(), e = R2(), n = Ql();
47666
+ var t = ni(), e = R2(), n = Hl();
47660
47667
  return ke(function() {
47661
47668
  return n ? t() : e();
47662
47669
  }, [t, n, e]);
@@ -47683,7 +47690,7 @@ function VA(t) {
47683
47690
  function YA(t, e, n, r, i, a, o, s) {
47684
47691
  if (t && e !== St.NATIVE) {
47685
47692
  var l = Xr(t);
47686
- Qc.has(l) || !a || !o || setTimeout(function() {
47693
+ Hc.has(l) || !a || !o || setTimeout(function() {
47687
47694
  var c = i + a.top, d = n + r, u = c >= d && c < d + o.emojiSize * 2;
47688
47695
  u && F2(s, t, e);
47689
47696
  });
@@ -47692,13 +47699,13 @@ function YA(t, e, n, r, i, a, o, s) {
47692
47699
  function F2(t, e, n) {
47693
47700
  if (e) {
47694
47701
  var r = Xr(e);
47695
- Qc.has(r) || (Qc.add(r), pu(e).concat(r).forEach(function(i) {
47702
+ Hc.has(r) || (Hc.add(r), pu(e).concat(r).forEach(function(i) {
47696
47703
  var a = t(i, n);
47697
47704
  UA(a);
47698
47705
  }));
47699
47706
  }
47700
47707
  }
47701
- var Qc = /* @__PURE__ */ new Set();
47708
+ var Hc = /* @__PURE__ */ new Set();
47702
47709
  function UA(t) {
47703
47710
  var e = new Image();
47704
47711
  e.src = t;
@@ -47721,13 +47728,13 @@ function WA() {
47721
47728
  }
47722
47729
  }, [t, e, n]);
47723
47730
  }
47724
- var HA = ["width", "height"], Gc = 40;
47731
+ var HA = ["width", "height"], Qc = 40;
47725
47732
  function QA(t) {
47726
47733
  var e = t.children;
47727
47734
  return P(U9, null, P(GA, null, e));
47728
47735
  }
47729
47736
  function GA(t) {
47730
- var e, n = t.children, r = _r(), i = r[0], a = eA(), o = Ql(), s = Ui(), l = tA(), c = nA();
47737
+ var e, n = t.children, r = _r(), i = r[0], a = eA(), o = Hl(), s = Ui(), l = tA(), c = nA();
47731
47738
  DA(), WA();
47732
47739
  var d = c || {}, u = d.width, p = d.height, h = Xb(d, HA);
47733
47740
  return P("aside", {
@@ -47824,7 +47831,7 @@ var p1 = {
47824
47831
  "--epr-category-label-bg-color": "#ffffffe6",
47825
47832
  "--epr-category-label-text-color": "var(--epr-text-color)",
47826
47833
  "--epr-category-label-padding": "0 var(--epr-horizontal-padding)",
47827
- "--epr-category-label-height": Gc + "px",
47834
+ "--epr-category-label-height": Qc + "px",
47828
47835
  /* Emoji */
47829
47836
  "--epr-emoji-size": "30px",
47830
47837
  "--epr-emoji-padding": "5px",
@@ -47901,14 +47908,14 @@ function KA(t) {
47901
47908
  }
47902
47909
  function Y2(t) {
47903
47910
  if (!t)
47904
- return Gc;
47911
+ return Qc;
47905
47912
  var e = t.querySelector(Jt(de.label));
47906
47913
  if (e) {
47907
47914
  var n = e.getBoundingClientRect().height;
47908
47915
  if (n > 0)
47909
47916
  return n;
47910
47917
  }
47911
- return Gc;
47918
+ return Qc;
47912
47919
  }
47913
47920
  var Xa = "button" + /* @__PURE__ */ Jt(de.emoji), qA = /* @__PURE__ */ [Xa, Jt(de.visible), ":not(" + Jt(de.hidden) + ")"].join("");
47914
47921
  function $t(t) {
@@ -47919,7 +47926,7 @@ function U2(t) {
47919
47926
  var e = J2(t), n = Au(t);
47920
47927
  if (!e)
47921
47928
  return [];
47922
- var r = Ul(n ?? e);
47929
+ var r = Yl(n ?? e);
47923
47930
  return r ? [r, n] : [];
47924
47931
  }
47925
47932
  function ZA(t) {
@@ -48010,11 +48017,11 @@ function q2(t) {
48010
48017
  }
48011
48018
  function Z2(t) {
48012
48019
  var e = t.nextElementSibling;
48013
- return e ? Tu(e) ? e : Z2(e) : Du(Zl(t));
48020
+ return e ? Tu(e) ? e : Z2(e) : Du(ql(t));
48014
48021
  }
48015
48022
  function ju(t) {
48016
48023
  var e = t.previousElementSibling;
48017
- return e ? Tu(e) ? e : ju(e) : q2(ql(t));
48024
+ return e ? Tu(e) ? e : ju(e) : q2(Kl(t));
48018
48025
  }
48019
48026
  function Du(t) {
48020
48027
  if (!t)
@@ -48022,19 +48029,19 @@ function Du(t) {
48022
48029
  var e = zi(t);
48023
48030
  return JA(t, e, 0.1);
48024
48031
  }
48025
- function ql(t) {
48032
+ function Kl(t) {
48026
48033
  var e = hr(t);
48027
48034
  if (!e)
48028
48035
  return null;
48029
48036
  var n = e.previousElementSibling;
48030
- return n ? K2(n) ? ql(n) : n : null;
48037
+ return n ? K2(n) ? Kl(n) : n : null;
48031
48038
  }
48032
- function Zl(t) {
48039
+ function ql(t) {
48033
48040
  var e = hr(t);
48034
48041
  if (!e)
48035
48042
  return null;
48036
48043
  var n = e.nextElementSibling;
48037
- return n ? K2(n) ? Zl(n) : n : null;
48044
+ return n ? K2(n) ? ql(n) : n : null;
48038
48045
  }
48039
48046
  function hr(t) {
48040
48047
  return t ? t.closest(Jt(de.category)) : null;
@@ -48054,7 +48061,7 @@ function $2(t) {
48054
48061
  return t.imgUrl !== void 0;
48055
48062
  }
48056
48063
  function e4(t, e) {
48057
- var n = Oe(), r = z2(), i = W9(), a = Yi(), o = a[1], s = ti(), l = Hl(), c = l[0], d = _9(e), u = Cu(), p = u[1], h = ei(), m = $r(), g = Vi(), w = g.emojiByUnified, v = ke(function(L) {
48064
+ var n = Oe(), r = z2(), i = W9(), a = Yi(), o = a[1], s = ti(), l = Wl(), c = l[0], d = _9(e), u = Cu(), p = u[1], h = ei(), m = $r(), g = Vi(), w = g.emojiByUnified, v = ke(function(L) {
48058
48065
  if (!i.current) {
48059
48066
  s();
48060
48067
  var N = w1(L, w), k = N[0], A = N[1];
@@ -48150,7 +48157,7 @@ var rE = /* @__PURE__ */ Ae.create({
48150
48157
  function iE(t) {
48151
48158
  var e, n = t.emojiNames, r = t.unified, i = t.hidden, a = t.hiddenOnSearch, o = t.showVariations, s = o === void 0 ? !0 : o, l = t.hasVariations, c = t.children, d = t.className, u = t.noBackground, p = u === void 0 ? !1 : u, h = t.style;
48152
48159
  return P(co, {
48153
- className: fe(Hf.emoji, i && uu.hidden, a && Zr.hiddenOnSearch, (e = {}, e[de.visible] = !i && !a, e), !!(l && s) && Hf.hasVariations, p && Hf.noBackground, d),
48160
+ className: fe(Wf.emoji, i && uu.hidden, a && Zr.hiddenOnSearch, (e = {}, e[de.visible] = !i && !a, e), !!(l && s) && Wf.hasVariations, p && Wf.noBackground, d),
48154
48161
  "data-unified": r,
48155
48162
  "aria-label": aE(n),
48156
48163
  "data-full-name": n,
@@ -48160,7 +48167,7 @@ function iE(t) {
48160
48167
  function aE(t) {
48161
48168
  return t[t.length - 1];
48162
48169
  }
48163
- var Hf = /* @__PURE__ */ Ae.create({
48170
+ var Wf = /* @__PURE__ */ Ae.create({
48164
48171
  emoji: {
48165
48172
  ".": de.emoji,
48166
48173
  position: "relative",
@@ -48267,7 +48274,7 @@ var lE = /* @__PURE__ */ Ae.create({
48267
48274
  padding: "var(--epr-emoji-padding)"
48268
48275
  }
48269
48276
  });
48270
- function Jc(t) {
48277
+ function Gc(t) {
48271
48278
  var e = t.emoji, n = t.unified, r = t.emojiStyle, i = t.size, a = t.lazyLoad, o = t.getEmojiUrl, s = o === void 0 ? t2 : o, l = t.className, c = h2(), d = c[1], u = Vi(), p = u.emojiByUnified, h = {};
48272
48279
  i && (h.width = h.height = h.fontSize = i + "px");
48273
48280
  var m = e || p(n);
@@ -48283,7 +48290,7 @@ function Jc(t) {
48283
48290
  onError: g,
48284
48291
  className: l
48285
48292
  });
48286
- return P(ld, null, r === St.NATIVE ? P(sE, {
48293
+ return P(sd, null, r === St.NATIVE ? P(sE, {
48287
48294
  unified: n,
48288
48295
  style: h,
48289
48296
  className: l
@@ -48302,7 +48309,7 @@ function Jc(t) {
48302
48309
  });
48303
48310
  }
48304
48311
  }
48305
- function Xl(t) {
48312
+ function Zl(t) {
48306
48313
  var e = t.emoji, n = t.unified, r = t.hidden, i = t.hiddenOnSearch, a = t.emojiStyle, o = t.showVariations, s = o === void 0 ? !0 : o, l = t.size, c = t.lazyLoad, d = t.getEmojiUrl, u = t.className, p = t.noBackground, h = p === void 0 ? !1 : p, m = t.style, g = Fi(e);
48307
48314
  return P(iE, {
48308
48315
  hasVariations: g,
@@ -48313,7 +48320,7 @@ function Xl(t) {
48313
48320
  unified: n,
48314
48321
  noBackground: h,
48315
48322
  style: m
48316
- }, P(Jc, {
48323
+ }, P(Gc, {
48317
48324
  unified: n,
48318
48325
  emoji: e,
48319
48326
  size: l,
@@ -48392,10 +48399,10 @@ function uE() {
48392
48399
  ref: n,
48393
48400
  "aria-label": "Reactions"
48394
48401
  }, r.map(function(s) {
48395
- var l = Ul(s);
48402
+ var l = Yl(s);
48396
48403
  return l ? P("li", {
48397
48404
  key: s
48398
- }, P(Xl, {
48405
+ }, P(Zl, {
48399
48406
  emoji: l,
48400
48407
  emojiStyle: i,
48401
48408
  unified: s,
@@ -48511,7 +48518,7 @@ function wE() {
48511
48518
  };
48512
48519
  }
48513
48520
  function yE(t) {
48514
- var e = t.categoryEmojis, n = t.topOffset, r = t.onHeightReady, i = t.scrollTop, a = t.isCategoryVisible, o = wE(), s = C2(), l = $r(), c = Hl(), d = c[0], u = F9(), p = ei(), h = !w2(), m = jt(), g = 0, w = e.filter(function(y) {
48521
+ var e = t.categoryEmojis, n = t.topOffset, r = t.onHeightReady, i = t.scrollTop, a = t.isCategoryVisible, o = wE(), s = C2(), l = $r(), c = Wl(), d = c[0], u = F9(), p = ei(), h = !w2(), m = jt(), g = 0, w = e.filter(function(y) {
48515
48522
  var L = u(y), N = o(y), k = N.failedToLoad, A = N.filteredOut, j = N.hidden;
48516
48523
  return !k && !A && !j && !L;
48517
48524
  }), v = bE(w.length);
@@ -48533,7 +48540,7 @@ function yE(t) {
48533
48540
  var j, S;
48534
48541
  return g++, YA(L, l, i, (j = (S = m.current) == null ? void 0 : S.clientHeight) != null ? j : 0, n, A, v, p), y;
48535
48542
  }
48536
- return a ? (y.push(P(Xl, {
48543
+ return a ? (y.push(P(Zl, {
48537
48544
  showVariations: h,
48538
48545
  key: k,
48539
48546
  emoji: L,
@@ -48553,21 +48560,21 @@ function yE(t) {
48553
48560
  };
48554
48561
  }
48555
48562
  function vE(t) {
48556
- var e = t.categoryConfig, n = t.children, r = t.hidden, i = t.hiddenOnSearch, a = t.height, o = Vl(e), s = i2(e);
48563
+ var e = t.categoryConfig, n = t.children, r = t.hidden, i = t.hiddenOnSearch, a = t.height, o = Fl(e), s = i2(e);
48557
48564
  return P("li", {
48558
- className: fe(Qf.category, r && uu.hidden, i && Zr.hiddenOnSearch),
48565
+ className: fe(Hf.category, r && uu.hidden, i && Zr.hiddenOnSearch),
48559
48566
  "data-name": o,
48560
48567
  "aria-label": s
48561
48568
  }, P("h2", {
48562
- className: fe(Qf.label)
48569
+ className: fe(Hf.label)
48563
48570
  }, s), P("div", {
48564
- className: fe(Qf.categoryContent),
48571
+ className: fe(Hf.categoryContent),
48565
48572
  style: {
48566
48573
  height: a
48567
48574
  }
48568
48575
  }, n));
48569
48576
  }
48570
- var Qf = /* @__PURE__ */ Ae.create({
48577
+ var Hf = /* @__PURE__ */ Ae.create({
48571
48578
  category: {
48572
48579
  ".": de.category,
48573
48580
  minHeight: "calc(var(--epr-emoji-fullsize) + var(--epr-category-label-height))",
@@ -48603,15 +48610,15 @@ var Qf = /* @__PURE__ */ Ae.create({
48603
48610
  }
48604
48611
  });
48605
48612
  function CE() {
48606
- var t = Mu(), e = T9(), n = $r(), r = ei(), i = C2(), a = Hl(), o = a[0], s = p2(), l = s[0], c = s[1], d = Oe(null);
48607
- if (od(function() {
48613
+ var t = Mu(), e = T9(), n = $r(), r = ei(), i = C2(), a = Wl(), o = a[0], s = p2(), l = s[0], c = s[1], d = Oe(null);
48614
+ if (ad(function() {
48608
48615
  d.current && c(d.current.clientHeight);
48609
48616
  }), l)
48610
48617
  return null;
48611
- var u = t[0], p = e(Vl(u))[0], h = p ? cn(p, o) : "";
48618
+ var u = t[0], p = e(Fl(u))[0], h = p ? cn(p, o) : "";
48612
48619
  return p ? P("div", {
48613
48620
  ref: d
48614
- }, P(Xl, {
48621
+ }, P(Zl, {
48615
48622
  emoji: p,
48616
48623
  unified: h,
48617
48624
  emojiStyle: n,
@@ -48637,7 +48644,7 @@ function ME(t) {
48637
48644
  className: fe(LE.emojiList),
48638
48645
  ref: o
48639
48646
  }, P(CE, null), n.map(function(d) {
48640
- var u = Vl(d), p = c, h = i[u];
48647
+ var u = Fl(d), p = c, h = i[u];
48641
48648
  return h && (c += h + l), P(uy, {
48642
48649
  key: u
48643
48650
  }, P(xE, {
@@ -48682,9 +48689,9 @@ var LE = /* @__PURE__ */ Ae.create({
48682
48689
  t[t.Up = 0] = "Up", t[t.Down = 1] = "Down";
48683
48690
  })(Mi || (Mi = {}));
48684
48691
  function kE() {
48685
- var t = Gl(), e = cA(), n = Yi(), r = n[0], i = $r(), a = IE(e), o = a.getTop, s = a.getMenuDirection, l = A2(), c = SE(e), d = ei(), u = $t(t.current), p = !!(r && u && Fi(r) && u.classList.contains(de.emojiHasVariations));
48692
+ var t = Ql(), e = cA(), n = Yi(), r = n[0], i = $r(), a = IE(e), o = a.getTop, s = a.getMenuDirection, l = A2(), c = SE(e), d = ei(), u = $t(t.current), p = !!(r && u && Fi(r) && u.classList.contains(de.emojiHasVariations));
48686
48693
  ye(function() {
48687
- p && Kl(e.current);
48694
+ p && Jl(e.current);
48688
48695
  }, [e, p, t]);
48689
48696
  var h, m;
48690
48697
  return !p && t.current ? l(null) : (h = o(), m = c()), P("div", {
@@ -48693,8 +48700,8 @@ function kE() {
48693
48700
  style: {
48694
48701
  top: h
48695
48702
  }
48696
- }, p && r ? [cn(r)].concat(Yl(r)).slice(0, 6).map(function(g) {
48697
- return P(Xl, {
48703
+ }, p && r ? [cn(r)].concat(Vl(r)).slice(0, 6).map(function(g) {
48704
+ return P(Zl, {
48698
48705
  key: g,
48699
48706
  emoji: r,
48700
48707
  unified: g,
@@ -48708,7 +48715,7 @@ function kE() {
48708
48715
  }));
48709
48716
  }
48710
48717
  function SE(t) {
48711
- var e = Gl();
48718
+ var e = Ql();
48712
48719
  return function() {
48713
48720
  var r = {};
48714
48721
  if (!t.current)
@@ -48723,7 +48730,7 @@ function SE(t) {
48723
48730
  };
48724
48731
  }
48725
48732
  function IE(t) {
48726
- var e = Gl(), n = jt(), r = Mi.Up;
48733
+ var e = Ql(), n = jt(), r = Mi.Up;
48727
48734
  return {
48728
48735
  getMenuDirection: i,
48729
48736
  getTop: a
@@ -48921,7 +48928,7 @@ function OE(t) {
48921
48928
  className: n
48922
48929
  }, e);
48923
48930
  }
48924
- function _l(t) {
48931
+ function Xl(t) {
48925
48932
  var e = t.children, n = t.className, r = t.style;
48926
48933
  return P("div", {
48927
48934
  style: we({}, r, {
@@ -48935,12 +48942,12 @@ function zE(t) {
48935
48942
  return P(co, {
48936
48943
  style: a,
48937
48944
  onClick: n,
48938
- className: fe("epr-tone-" + i, Gf.tone, !e && Gf.closedTone, r && Gf.active),
48945
+ className: fe("epr-tone-" + i, Qf.tone, !e && Qf.closedTone, r && Qf.active),
48939
48946
  "aria-pressed": r,
48940
48947
  "aria-label": "Skin tone " + d9[i]
48941
48948
  });
48942
48949
  }
48943
- var Gf = /* @__PURE__ */ Ae.create({
48950
+ var Qf = /* @__PURE__ */ Ae.create({
48944
48951
  closedTone: {
48945
48952
  opacity: "0",
48946
48953
  zIndex: "0"
@@ -48990,7 +48997,7 @@ var Gf = /* @__PURE__ */ Ae.create({
48990
48997
  }
48991
48998
  }), la = 28;
48992
48999
  function PE() {
48993
- return P(_l, {
49000
+ return P(Xl, {
48994
49001
  style: {
48995
49002
  height: la
48996
49003
  }
@@ -49004,11 +49011,11 @@ function PE() {
49004
49011
  })));
49005
49012
  }
49006
49013
  function n4(t) {
49007
- var e = t.direction, n = e === void 0 ? $a.HORIZONTAL : e, r = xu(), i = w2(), a = fo(), o = a[0], s = a[1], l = Hl(), c = l[0], d = l[1], u = $9(), p = ti(), h = ni();
49014
+ var e = t.direction, n = e === void 0 ? $a.HORIZONTAL : e, r = xu(), i = w2(), a = fo(), o = a[0], s = a[1], l = Wl(), c = l[0], d = l[1], u = $9(), p = ti(), h = ni();
49008
49015
  if (i)
49009
49016
  return null;
49010
49017
  var m = la * el.length + "px", g = o ? m : la + "px", w = n === $a.VERTICAL;
49011
- return P(_l, {
49018
+ return P(Xl, {
49012
49019
  className: fe(ta.skinTones, w && ta.vertical, o && ta.open, w && o && ta.verticalShadow),
49013
49020
  style: w ? {
49014
49021
  flexBasis: g,
@@ -49092,14 +49099,14 @@ function FE() {
49092
49099
  if (!m)
49093
49100
  return null;
49094
49101
  var g = s ? f1(s) : e.defaultCaption;
49095
- return P(ld, null, P("div", null, p ? P(Jc, {
49102
+ return P(sd, null, P("div", null, p ? P(Gc, {
49096
49103
  unified: r == null ? void 0 : r.unified,
49097
49104
  emoji: u,
49098
49105
  emojiStyle: a,
49099
49106
  size: 45,
49100
49107
  getEmojiUrl: l,
49101
49108
  className: fe(Na.emoji)
49102
- }) : m ? P(Jc, {
49109
+ }) : m ? P(Gc, {
49103
49110
  unified: cn(m),
49104
49111
  emoji: m,
49105
49112
  emojiStyle: a,
@@ -49288,7 +49295,7 @@ function JE() {
49288
49295
  setActiveCategory: n,
49289
49296
  setVisibleCategories: i
49290
49297
  });
49291
- var o = Ql(), s = Mu(), l = q9(), c = Lu(), d = WE();
49298
+ var o = Hl(), s = Mu(), l = q9(), c = Lu(), d = WE();
49292
49299
  return P("div", {
49293
49300
  className: fe(KE.nav),
49294
49301
  role: "tablist",
@@ -49296,7 +49303,7 @@ function JE() {
49296
49303
  id: "epr-category-nav-id",
49297
49304
  ref: c
49298
49305
  }, s.map(function(u) {
49299
- var p = Vl(u), h = p === e;
49306
+ var p = Fl(u), h = p === e;
49300
49307
  if (tE(u) && d)
49301
49308
  return null;
49302
49309
  var m = !o && !h;
@@ -49425,7 +49432,7 @@ function eT() {
49425
49432
  }
49426
49433
  function tT() {
49427
49434
  var t = ti(), e = ur(), n = Q9(), r = K9(), i = kA(), a = i.statusSearchResults, o = i.searchTerm, s = i.onChange, l = e == null ? void 0 : e.current, c = l == null ? void 0 : l.value;
49428
- return P(_l, {
49435
+ return P(Xl, {
49429
49436
  className: fe(Xo.searchContainer)
49430
49437
  }, P("input", {
49431
49438
  // eslint-disable-next-line jsx-a11y/no-autofocus
@@ -49530,7 +49537,7 @@ var Xo = /* @__PURE__ */ Ae.create(/* @__PURE__ */ we({
49530
49537
  }
49531
49538
  })));
49532
49539
  function nT() {
49533
- return P(_l, {
49540
+ return P(Xl, {
49534
49541
  className: fe("epr-header", Zr.hiddenOnReactions)
49535
49542
  }, P(eT, null), P(JE, null));
49536
49543
  }
@@ -49549,9 +49556,9 @@ function iT() {
49549
49556
  }
49550
49557
  function aT(t) {
49551
49558
  var e = t.renderAll;
49552
- return e ? P(ld, null, P(nT, null), P(AE, null), P(BE, null)) : null;
49559
+ return e ? P(sd, null, P(nT, null), P(AE, null), P(BE, null)) : null;
49553
49560
  }
49554
- var oT = /* @__PURE__ */ sd(rT, _b), sT = /* @__PURE__ */ (function(t) {
49561
+ var oT = /* @__PURE__ */ od(rT, _b), sT = /* @__PURE__ */ (function(t) {
49555
49562
  n9(e, t);
49556
49563
  function e(r) {
49557
49564
  var i;
@@ -49571,7 +49578,7 @@ var oT = /* @__PURE__ */ sd(rT, _b), sT = /* @__PURE__ */ (function(t) {
49571
49578
  return this.state.hasError ? null : this.props.children;
49572
49579
  }, e;
49573
49580
  })(hy);
49574
- function Kc(t) {
49581
+ function Jc(t) {
49575
49582
  var e = H9({
49576
49583
  onEmojiClick: t.onEmojiClick,
49577
49584
  onReactionClick: t.onReactionClick,
@@ -49801,7 +49808,7 @@ const lT = ({ role: t }) => {
49801
49808
  }
49802
49809
  ) }),
49803
49810
  /* @__PURE__ */ f(Xe, { className: "w-auto p-0 border-none", align: "start", side: "top", children: /* @__PURE__ */ f(
49804
- Kc,
49811
+ Jc,
49805
49812
  {
49806
49813
  onEmojiClick: (v) => h == null ? void 0 : h.chain().focus().insertContent(v.emoji).run(),
49807
49814
  width: 300,
@@ -49906,7 +49913,7 @@ const lT = ({ role: t }) => {
49906
49913
  }
49907
49914
  ) }),
49908
49915
  /* @__PURE__ */ f(Xe, { className: "w-auto p-0 border-none", align: "end", children: /* @__PURE__ */ f(
49909
- Kc,
49916
+ Jc,
49910
49917
  {
49911
49918
  onEmojiClick: (o) => r == null ? void 0 : r(t.id, o.emoji),
49912
49919
  width: 300,
@@ -49979,7 +49986,7 @@ const lT = ({ role: t }) => {
49979
49986
  }
49980
49987
  ) }),
49981
49988
  /* @__PURE__ */ f(Xe, { className: "w-auto p-0 border-none", align: "start", children: /* @__PURE__ */ f(
49982
- Kc,
49989
+ Jc,
49983
49990
  {
49984
49991
  onEmojiClick: (o) => r(t.id, o.emoji),
49985
49992
  width: 300,
@@ -50185,7 +50192,7 @@ function H7({
50185
50192
  ),
50186
50193
  ...n,
50187
50194
  children: [
50188
- /* @__PURE__ */ f("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ f(et.ItemIndicator, { children: /* @__PURE__ */ f(rd, { className: "size-2 fill-current" }) }) }),
50195
+ /* @__PURE__ */ f("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ f(et.ItemIndicator, { children: /* @__PURE__ */ f(nd, { className: "size-2 fill-current" }) }) }),
50189
50196
  e
50190
50197
  ]
50191
50198
  }
@@ -50418,7 +50425,7 @@ function o4({
50418
50425
  )
50419
50426
  ] });
50420
50427
  }
50421
- function qc({
50428
+ function Kc({
50422
50429
  columns: t,
50423
50430
  data: e,
50424
50431
  title: n,
@@ -50684,7 +50691,7 @@ function s4({
50684
50691
  t.parcelas && t.parcelas.length > 0 && /* @__PURE__ */ b("div", { className: "mt-6", children: [
50685
50692
  /* @__PURE__ */ f("h3", { className: "text-sm font-semibold mb-3", children: "Parcelas" }),
50686
50693
  /* @__PURE__ */ f(
50687
- qc,
50694
+ Kc,
50688
50695
  {
50689
50696
  columns: [
50690
50697
  { header: "Nº", key: "numeroParcela", width: "10%", align: "center" },
@@ -50716,7 +50723,7 @@ function s4({
50716
50723
  ] })
50717
50724
  ] }),
50718
50725
  r && t.pecaDetalhes && t.pecaDetalhes.pecas && t.pecaDetalhes.pecas.length > 0 && /* @__PURE__ */ f(wt, { title: "Peças Contratadas", children: /* @__PURE__ */ f(
50719
- qc,
50726
+ Kc,
50720
50727
  {
50721
50728
  columns: [
50722
50729
  { header: "Tipo de Peça", key: "tipoPeca", width: "40%" },
@@ -51181,7 +51188,7 @@ const mT = I.forwardRef(({ data: t, logo: e, showServices: n = !0, className: r
51181
51188
  }
51182
51189
  ) }));
51183
51190
  mT.displayName = "ContractPrintPreview";
51184
- const Zc = I.forwardRef(
51191
+ const qc = I.forwardRef(
51185
51192
  ({
51186
51193
  className: t,
51187
51194
  inputClassName: e,
@@ -51381,7 +51388,7 @@ const Zc = I.forwardRef(
51381
51388
  );
51382
51389
  }
51383
51390
  );
51384
- Zc.displayName = "NumberInput";
51391
+ qc.displayName = "NumberInput";
51385
51392
  const Ru = I.forwardRef(
51386
51393
  ({ className: t, ...e }, n) => /* @__PURE__ */ f(
51387
51394
  "textarea",
@@ -51547,7 +51554,7 @@ const yT = {
51547
51554
  return r ? /* @__PURE__ */ b(gT, { className: t, children: [
51548
51555
  i === "start" && /* @__PURE__ */ f(k1, { children: /* @__PURE__ */ f(d, { className: "h-4 w-4 text-muted-foreground" }) }),
51549
51556
  /* @__PURE__ */ f(
51550
- Zc,
51557
+ qc,
51551
51558
  {
51552
51559
  ref: s,
51553
51560
  className: C(
@@ -51568,7 +51575,7 @@ const yT = {
51568
51575
  ),
51569
51576
  i === "end" && /* @__PURE__ */ f(k1, { align: "inline-end", children: /* @__PURE__ */ f(d, { className: "h-4 w-4 text-muted-foreground" }) })
51570
51577
  ] }) : /* @__PURE__ */ f(
51571
- Zc,
51578
+ qc,
51572
51579
  {
51573
51580
  ref: s,
51574
51581
  className: t,
@@ -51610,7 +51617,7 @@ const CT = () => {
51610
51617
  label: "Mês passado",
51611
51618
  value: {
51612
51619
  from: rs(is(t, 1)),
51613
- to: fd(is(t, 1))
51620
+ to: ld(is(t, 1))
51614
51621
  }
51615
51622
  }
51616
51623
  ];
@@ -51818,7 +51825,7 @@ function MT({
51818
51825
  ] }),
51819
51826
  /* @__PURE__ */ b("div", { children: [
51820
51827
  /* @__PURE__ */ f(
51821
- hd,
51828
+ ud,
51822
51829
  {
51823
51830
  mode: "range",
51824
51831
  selected: t,
@@ -52241,8 +52248,8 @@ function RT({
52241
52248
  A.label
52242
52249
  ] }) : t, [p, t, A]), B = (A == null ? void 0 : A.variant) || a, H = A == null ? void 0 : A.className;
52243
52250
  return i ? /* @__PURE__ */ f("div", { ref: g, className: C("inline-flex", h), ...m, children: /* @__PURE__ */ f(he, { variant: B, className: H, children: V() }) }) : /* @__PURE__ */ b(Fe, { children: [
52244
- /* @__PURE__ */ f("div", { ref: g, className: C("inline-flex", h), ...m, children: /* @__PURE__ */ b(hl, { open: y, onOpenChange: L, children: [
52245
- /* @__PURE__ */ f(pl, { asChild: !0, disabled: u, children: /* @__PURE__ */ b(
52251
+ /* @__PURE__ */ f("div", { ref: g, className: C("inline-flex", h), ...m, children: /* @__PURE__ */ b(ul, { open: y, onOpenChange: L, children: [
52252
+ /* @__PURE__ */ f(hl, { asChild: !0, disabled: u, children: /* @__PURE__ */ b(
52246
52253
  he,
52247
52254
  {
52248
52255
  variant: B,
@@ -52257,7 +52264,7 @@ function RT({
52257
52264
  ]
52258
52265
  }
52259
52266
  ) }),
52260
- /* @__PURE__ */ f(ml, { align: "start", className: "w-48", children: e.map((E) => /* @__PURE__ */ b(
52267
+ /* @__PURE__ */ f(pl, { align: "start", className: "w-48", children: e.map((E) => /* @__PURE__ */ b(
52261
52268
  yi,
52262
52269
  {
52263
52270
  onClick: () => S(E.value),
@@ -52271,10 +52278,10 @@ function RT({
52271
52278
  String(E.value)
52272
52279
  )) })
52273
52280
  ] }) }),
52274
- /* @__PURE__ */ f(bl, { open: M, onOpenChange: x, children: /* @__PURE__ */ b(wl, { children: [
52275
- /* @__PURE__ */ b(yl, { children: [
52276
- /* @__PURE__ */ f(vl, { children: o }),
52277
- /* @__PURE__ */ f(Cl, { children: s })
52281
+ /* @__PURE__ */ f(gl, { open: M, onOpenChange: x, children: /* @__PURE__ */ b(bl, { children: [
52282
+ /* @__PURE__ */ b(wl, { children: [
52283
+ /* @__PURE__ */ f(yl, { children: o }),
52284
+ /* @__PURE__ */ f(vl, { children: s })
52278
52285
  ] }),
52279
52286
  j && /* @__PURE__ */ b("div", { className: "flex items-center gap-3 py-4", children: [
52280
52287
  /* @__PURE__ */ b("div", { className: "flex items-center gap-2", children: [
@@ -52339,7 +52346,7 @@ function PT({
52339
52346
  }
52340
52347
  );
52341
52348
  }
52342
- function Jf({
52349
+ function Gf({
52343
52350
  className: t,
52344
52351
  ...e
52345
52352
  }) {
@@ -52573,7 +52580,7 @@ function JT(t, e) {
52573
52580
  (n) => e.indexOf(n) > -1
52574
52581
  );
52575
52582
  }
52576
- const Ou = "dnd-core/INIT_COORDS", $l = "dnd-core/BEGIN_DRAG", zu = "dnd-core/PUBLISH_DRAG_SOURCE", ef = "dnd-core/HOVER", tf = "dnd-core/DROP", nf = "dnd-core/END_DRAG";
52583
+ const Ou = "dnd-core/INIT_COORDS", _l = "dnd-core/BEGIN_DRAG", zu = "dnd-core/PUBLISH_DRAG_SOURCE", $l = "dnd-core/HOVER", ef = "dnd-core/DROP", tf = "dnd-core/END_DRAG";
52577
52584
  function E1(t, e) {
52578
52585
  return {
52579
52586
  type: Ou,
@@ -52614,7 +52621,7 @@ function qT(t) {
52614
52621
  _T(p), l.pinSource(c);
52615
52622
  const h = l.getSourceType(c);
52616
52623
  return {
52617
- type: $l,
52624
+ type: _l,
52618
52625
  payload: {
52619
52626
  itemType: h,
52620
52627
  item: p,
@@ -52670,7 +52677,7 @@ function nj(t) {
52670
52677
  const r = t.getMonitor(), i = t.getRegistry();
52671
52678
  rj(r), oj(r).forEach((o, s) => {
52672
52679
  const l = ij(o, s, i, r), c = {
52673
- type: tf,
52680
+ type: ef,
52674
52681
  payload: {
52675
52682
  dropResult: tj({}, n, l)
52676
52683
  }
@@ -52700,14 +52707,14 @@ function sj(t) {
52700
52707
  lj(n);
52701
52708
  const i = n.getSourceId();
52702
52709
  return i != null && (r.getSource(i, !0).endDrag(n, i), r.unpinSource()), {
52703
- type: nf
52710
+ type: tf
52704
52711
  };
52705
52712
  };
52706
52713
  }
52707
52714
  function lj(t) {
52708
52715
  re(t.isDragging(), "Cannot call endDrag while not dragging.");
52709
52716
  }
52710
- function Xc(t, e) {
52717
+ function Zc(t, e) {
52711
52718
  return e === null ? t === null : Array.isArray(t) ? t.some(
52712
52719
  (n) => n === e
52713
52720
  ) : t === e;
@@ -52717,7 +52724,7 @@ function fj(t) {
52717
52724
  cj(n);
52718
52725
  const i = n.slice(0), a = t.getMonitor(), o = t.getRegistry(), s = a.getItemType();
52719
52726
  return uj(i, o, s), dj(i, a, o), hj(i, a, o), {
52720
- type: ef,
52727
+ type: $l,
52721
52728
  payload: {
52722
52729
  targetIds: i,
52723
52730
  clientOffset: r || null
@@ -52740,7 +52747,7 @@ function dj(t, e, n) {
52740
52747
  function uj(t, e, n) {
52741
52748
  for (let r = t.length - 1; r >= 0; r--) {
52742
52749
  const i = t[r], a = e.getTargetType(i);
52743
- Xc(a, n) || t.splice(r, 1);
52750
+ Zc(a, n) || t.splice(r, 1);
52744
52751
  }
52745
52752
  }
52746
52753
  function hj(t, e, n) {
@@ -52865,7 +52872,7 @@ class Cj {
52865
52872
  if (re(n, `Expected to find a valid target. targetId=${e}`), !this.isDragging() || this.didDrop())
52866
52873
  return !1;
52867
52874
  const r = this.registry.getTargetType(e), i = this.getItemType();
52868
- return Xc(r, i) && n.canDrop(this, e);
52875
+ return Zc(r, i) && n.canDrop(this, e);
52869
52876
  }
52870
52877
  isDragging() {
52871
52878
  return !!this.getItemType();
@@ -52888,7 +52895,7 @@ class Cj {
52888
52895
  if (!this.isDragging())
52889
52896
  return !1;
52890
52897
  const i = this.registry.getTargetType(e), a = this.getItemType();
52891
- if (a && !Xc(i, a))
52898
+ if (a && !Zc(i, a))
52892
52899
  return !1;
52893
52900
  const o = this.getTargetIds();
52894
52901
  if (!o.length)
@@ -53058,7 +53065,7 @@ const g4 = new Lj(), Sj = new kj(g4.registerPendingError);
53058
53065
  function Ij(t) {
53059
53066
  g4.enqueueTask(Sj.create(t));
53060
53067
  }
53061
- const Bu = "dnd-core/ADD_SOURCE", Fu = "dnd-core/ADD_TARGET", Vu = "dnd-core/REMOVE_SOURCE", rf = "dnd-core/REMOVE_TARGET";
53068
+ const Bu = "dnd-core/ADD_SOURCE", Fu = "dnd-core/ADD_TARGET", Vu = "dnd-core/REMOVE_SOURCE", nf = "dnd-core/REMOVE_TARGET";
53062
53069
  function Aj(t) {
53063
53070
  return {
53064
53071
  type: Bu,
@@ -53085,7 +53092,7 @@ function Tj(t) {
53085
53092
  }
53086
53093
  function jj(t) {
53087
53094
  return {
53088
- type: rf,
53095
+ type: nf,
53089
53096
  payload: {
53090
53097
  targetId: t
53091
53098
  }
@@ -53097,10 +53104,10 @@ function Dj(t) {
53097
53104
  function Rj(t) {
53098
53105
  re(typeof t.canDrop == "function", "Expected canDrop to be a function."), re(typeof t.hover == "function", "Expected hover to be a function."), re(typeof t.drop == "function", "Expected beginDrag to be a function.");
53099
53106
  }
53100
- function _c(t, e) {
53107
+ function Xc(t, e) {
53101
53108
  if (e && Array.isArray(t)) {
53102
53109
  t.forEach(
53103
- (n) => _c(n, !1)
53110
+ (n) => Xc(n, !1)
53104
53111
  );
53105
53112
  return;
53106
53113
  }
@@ -53148,12 +53155,12 @@ function D1(t, e) {
53148
53155
  }
53149
53156
  class Bj {
53150
53157
  addSource(e, n) {
53151
- _c(e), Dj(n);
53158
+ Xc(e), Dj(n);
53152
53159
  const r = this.addHandler(Ft.SOURCE, e, n);
53153
53160
  return this.store.dispatch(Aj(r)), r;
53154
53161
  }
53155
53162
  addTarget(e, n) {
53156
- _c(e, !0), Rj(n);
53163
+ Xc(e, !0), Rj(n);
53157
53164
  const r = this.addHandler(Ft.TARGET, e, n);
53158
53165
  return this.store.dispatch(Ej(r)), r;
53159
53166
  }
@@ -53215,17 +53222,17 @@ function Yj(t, e, n = Fj) {
53215
53222
  }
53216
53223
  function Uj(t = ka, e) {
53217
53224
  switch (e.type) {
53218
- case ef:
53225
+ case $l:
53219
53226
  break;
53220
53227
  case Bu:
53221
53228
  case Fu:
53222
- case rf:
53229
+ case nf:
53223
53230
  case Vu:
53224
53231
  return ka;
53225
- case $l:
53232
+ case _l:
53226
53233
  case zu:
53227
- case nf:
53228
53234
  case tf:
53235
+ case ef:
53229
53236
  default:
53230
53237
  return Pu;
53231
53238
  }
@@ -53263,18 +53270,18 @@ function Qj(t = R1, e) {
53263
53270
  const { payload: n } = e;
53264
53271
  switch (e.type) {
53265
53272
  case Ou:
53266
- case $l:
53273
+ case _l:
53267
53274
  return {
53268
53275
  initialSourceClientOffset: n.sourceClientOffset,
53269
53276
  initialClientOffset: n.clientOffset,
53270
53277
  clientOffset: n.clientOffset
53271
53278
  };
53272
- case ef:
53279
+ case $l:
53273
53280
  return Vj(t.clientOffset, n.clientOffset) ? t : Hj({}, t, {
53274
53281
  clientOffset: n.clientOffset
53275
53282
  });
53276
- case nf:
53277
53283
  case tf:
53284
+ case ef:
53278
53285
  return R1;
53279
53286
  default:
53280
53287
  return t;
@@ -53311,7 +53318,7 @@ const Jj = {
53311
53318
  function Kj(t = Jj, e) {
53312
53319
  const { payload: n } = e;
53313
53320
  switch (e.type) {
53314
- case $l:
53321
+ case _l:
53315
53322
  return ci({}, t, {
53316
53323
  itemType: n.itemType,
53317
53324
  item: n.item,
@@ -53324,21 +53331,21 @@ function Kj(t = Jj, e) {
53324
53331
  return ci({}, t, {
53325
53332
  isSourcePublic: !0
53326
53333
  });
53327
- case ef:
53334
+ case $l:
53328
53335
  return ci({}, t, {
53329
53336
  targetIds: n.targetIds
53330
53337
  });
53331
- case rf:
53338
+ case nf:
53332
53339
  return t.targetIds.indexOf(n.targetId) === -1 ? t : ci({}, t, {
53333
53340
  targetIds: QT(t.targetIds, n.targetId)
53334
53341
  });
53335
- case tf:
53342
+ case ef:
53336
53343
  return ci({}, t, {
53337
53344
  dropResult: n.dropResult,
53338
53345
  didDrop: !0,
53339
53346
  targetIds: []
53340
53347
  });
53341
- case nf:
53348
+ case tf:
53342
53349
  return ci({}, t, {
53343
53350
  itemType: null,
53344
53351
  item: null,
@@ -53358,7 +53365,7 @@ function qj(t = 0, e) {
53358
53365
  case Fu:
53359
53366
  return t + 1;
53360
53367
  case Vu:
53361
- case rf:
53368
+ case nf:
53362
53369
  return t - 1;
53363
53370
  default:
53364
53371
  return t;
@@ -53430,7 +53437,7 @@ function rD(t, e) {
53430
53437
  }
53431
53438
  let O1 = 0;
53432
53439
  const _o = Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");
53433
- var b4 = /* @__PURE__ */ sd(function(e) {
53440
+ var b4 = /* @__PURE__ */ od(function(e) {
53434
53441
  var { children: n } = e, r = nD(e, [
53435
53442
  "children"
53436
53443
  ]);
@@ -53473,9 +53480,9 @@ function w4() {
53473
53480
  function oD(t) {
53474
53481
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
53475
53482
  }
53476
- var Kf, z1;
53483
+ var Jf, z1;
53477
53484
  function sD() {
53478
- return z1 || (z1 = 1, Kf = function t(e, n) {
53485
+ return z1 || (z1 = 1, Jf = function t(e, n) {
53479
53486
  if (e === n) return !0;
53480
53487
  if (e && n && typeof e == "object" && typeof n == "object") {
53481
53488
  if (e.constructor !== n.constructor) return !1;
@@ -53499,10 +53506,10 @@ function sD() {
53499
53506
  return !0;
53500
53507
  }
53501
53508
  return e !== e && n !== n;
53502
- }), Kf;
53509
+ }), Jf;
53503
53510
  }
53504
53511
  var lD = sD();
53505
- const fD = /* @__PURE__ */ oD(lD), Wr = typeof window < "u" ? od : ye;
53512
+ const fD = /* @__PURE__ */ oD(lD), Wr = typeof window < "u" ? ad : ye;
53506
53513
  function cD(t, e, n) {
53507
53514
  const [r, i] = oe(
53508
53515
  () => e(t)
@@ -53563,7 +53570,7 @@ function hD(t) {
53563
53570
  ]
53564
53571
  );
53565
53572
  }
53566
- let qf = !1, Zf = !1;
53573
+ let Kf = !1, qf = !1;
53567
53574
  class pD {
53568
53575
  receiveHandlerId(e) {
53569
53576
  this.sourceId = e;
@@ -53572,21 +53579,21 @@ class pD {
53572
53579
  return this.sourceId;
53573
53580
  }
53574
53581
  canDrag() {
53575
- re(!qf, "You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");
53582
+ re(!Kf, "You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");
53576
53583
  try {
53577
- return qf = !0, this.internalMonitor.canDragSource(this.sourceId);
53584
+ return Kf = !0, this.internalMonitor.canDragSource(this.sourceId);
53578
53585
  } finally {
53579
- qf = !1;
53586
+ Kf = !1;
53580
53587
  }
53581
53588
  }
53582
53589
  isDragging() {
53583
53590
  if (!this.sourceId)
53584
53591
  return !1;
53585
- re(!Zf, "You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");
53592
+ re(!qf, "You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");
53586
53593
  try {
53587
- return Zf = !0, this.internalMonitor.isDraggingSource(this.sourceId);
53594
+ return qf = !0, this.internalMonitor.isDraggingSource(this.sourceId);
53588
53595
  } finally {
53589
- Zf = !1;
53596
+ qf = !1;
53590
53597
  }
53591
53598
  }
53592
53599
  subscribeToStateChange(e, n) {
@@ -53647,7 +53654,7 @@ class pD {
53647
53654
  this.sourceId = null, this.internalMonitor = e.getMonitor();
53648
53655
  }
53649
53656
  }
53650
- let Xf = !1;
53657
+ let Zf = !1;
53651
53658
  class mD {
53652
53659
  receiveHandlerId(e) {
53653
53660
  this.targetId = e;
@@ -53661,11 +53668,11 @@ class mD {
53661
53668
  canDrop() {
53662
53669
  if (!this.targetId)
53663
53670
  return !1;
53664
- re(!Xf, "You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");
53671
+ re(!Zf, "You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");
53665
53672
  try {
53666
- return Xf = !0, this.internalMonitor.canDropOnTarget(this.targetId);
53673
+ return Zf = !0, this.internalMonitor.canDropOnTarget(this.targetId);
53667
53674
  } finally {
53668
- Xf = !1;
53675
+ Zf = !1;
53669
53676
  }
53670
53677
  }
53671
53678
  isOver(e) {
@@ -53716,7 +53723,7 @@ function bD(t, e, n) {
53716
53723
  () => r.removeSource(i)
53717
53724
  ];
53718
53725
  }
53719
- function $c(t, e, n, r) {
53726
+ function _c(t, e, n, r) {
53720
53727
  let i;
53721
53728
  if (i !== void 0)
53722
53729
  return !!i;
@@ -53738,7 +53745,7 @@ function $c(t, e, n, r) {
53738
53745
  }
53739
53746
  return !0;
53740
53747
  }
53741
- function ed(t) {
53748
+ function $c(t) {
53742
53749
  return (
53743
53750
  // eslint-disable-next-line no-prototype-builtins
53744
53751
  t !== null && typeof t == "object" && Object.prototype.hasOwnProperty.call(t, "current")
@@ -53832,10 +53839,10 @@ class CD {
53832
53839
  return this.lastConnectedDragPreview !== this.dragPreview;
53833
53840
  }
53834
53841
  didDragSourceOptionsChange() {
53835
- return !$c(this.lastConnectedDragSourceOptions, this.dragSourceOptions);
53842
+ return !_c(this.lastConnectedDragSourceOptions, this.dragSourceOptions);
53836
53843
  }
53837
53844
  didDragPreviewOptionsChange() {
53838
- return !$c(this.lastConnectedDragPreviewOptions, this.dragPreviewOptions);
53845
+ return !_c(this.lastConnectedDragPreviewOptions, this.dragPreviewOptions);
53839
53846
  }
53840
53847
  disconnectDragSource() {
53841
53848
  this.dragSourceUnsubscribe && (this.dragSourceUnsubscribe(), this.dragSourceUnsubscribe = void 0);
@@ -53858,10 +53865,10 @@ class CD {
53858
53865
  constructor(e) {
53859
53866
  this.hooks = C4({
53860
53867
  dragSource: (n, r) => {
53861
- this.clearDragSource(), this.dragSourceOptions = r || null, ed(n) ? this.dragSourceRef = n : this.dragSourceNode = n, this.reconnectDragSource();
53868
+ this.clearDragSource(), this.dragSourceOptions = r || null, $c(n) ? this.dragSourceRef = n : this.dragSourceNode = n, this.reconnectDragSource();
53862
53869
  },
53863
53870
  dragPreview: (n, r) => {
53864
- this.clearDragPreview(), this.dragPreviewOptions = r || null, ed(n) ? this.dragPreviewRef = n : this.dragPreviewNode = n, this.reconnectDragPreview();
53871
+ this.clearDragPreview(), this.dragPreviewOptions = r || null, $c(n) ? this.dragPreviewRef = n : this.dragPreviewNode = n, this.reconnectDragPreview();
53865
53872
  }
53866
53873
  }), this.handlerId = null, this.dragSourceRef = null, this.dragSourceOptionsInternal = null, this.dragPreviewRef = null, this.dragPreviewOptionsInternal = null, this.lastConnectedHandlerId = null, this.lastConnectedDragSource = null, this.lastConnectedDragSourceOptions = null, this.lastConnectedDragPreview = null, this.lastConnectedDragPreviewOptions = null, this.backend = e;
53867
53874
  }
@@ -53898,7 +53905,7 @@ class MD {
53898
53905
  return this.lastConnectedDropTarget !== this.dropTarget;
53899
53906
  }
53900
53907
  didOptionsChange() {
53901
- return !$c(this.lastConnectedDropTargetOptions, this.dropTargetOptions);
53908
+ return !_c(this.lastConnectedDropTargetOptions, this.dropTargetOptions);
53902
53909
  }
53903
53910
  disconnectDropTarget() {
53904
53911
  this.unsubscribeDropTarget && (this.unsubscribeDropTarget(), this.unsubscribeDropTarget = void 0);
@@ -53912,7 +53919,7 @@ class MD {
53912
53919
  constructor(e) {
53913
53920
  this.hooks = C4({
53914
53921
  dropTarget: (n, r) => {
53915
- this.clearDropTarget(), this.dropTargetOptions = r, ed(n) ? this.dropTargetRef = n : this.dropTargetNode = n, this.reconnect();
53922
+ this.clearDropTarget(), this.dropTargetOptions = r, $c(n) ? this.dropTargetRef = n : this.dropTargetNode = n, this.reconnect();
53916
53923
  }
53917
53924
  }), this.handlerId = null, this.dropTargetRef = null, this.dropTargetOptionsInternal = null, this.lastConnectedHandlerId = null, this.lastConnectedDropTarget = null, this.lastConnectedDropTargetOptions = null, this.backend = e;
53918
53925
  }
@@ -54185,14 +54192,14 @@ const x4 = "__NATIVE_FILE__", L4 = "__NATIVE_URL__", N4 = "__NATIVE_TEXT__", k4
54185
54192
  TEXT: N4,
54186
54193
  URL: L4
54187
54194
  }, Symbol.toStringTag, { value: "Module" }));
54188
- function _f(t, e, n) {
54195
+ function Xf(t, e, n) {
54189
54196
  const r = e.reduce(
54190
54197
  (i, a) => i || t.getData(a),
54191
54198
  ""
54192
54199
  );
54193
54200
  return r ?? n;
54194
54201
  }
54195
- const td = {
54202
+ const ed = {
54196
54203
  [x4]: {
54197
54204
  exposeProperties: {
54198
54205
  files: (t) => Array.prototype.slice.call(t.files),
@@ -54205,7 +54212,7 @@ const td = {
54205
54212
  },
54206
54213
  [k4]: {
54207
54214
  exposeProperties: {
54208
- html: (t, e) => _f(t, e, ""),
54215
+ html: (t, e) => Xf(t, e, ""),
54209
54216
  dataTransfer: (t) => t
54210
54217
  },
54211
54218
  matchesTypes: [
@@ -54215,7 +54222,7 @@ const td = {
54215
54222
  },
54216
54223
  [L4]: {
54217
54224
  exposeProperties: {
54218
- urls: (t, e) => _f(t, e, "").split(`
54225
+ urls: (t, e) => Xf(t, e, "").split(`
54219
54226
  `),
54220
54227
  dataTransfer: (t) => t
54221
54228
  },
@@ -54226,7 +54233,7 @@ const td = {
54226
54233
  },
54227
54234
  [N4]: {
54228
54235
  exposeProperties: {
54229
- text: (t, e) => _f(t, e, ""),
54236
+ text: (t, e) => Xf(t, e, ""),
54230
54237
  dataTransfer: (t) => t
54231
54238
  },
54232
54239
  matchesTypes: [
@@ -54236,18 +54243,18 @@ const td = {
54236
54243
  }
54237
54244
  };
54238
54245
  function YD(t, e) {
54239
- const n = td[t];
54246
+ const n = ed[t];
54240
54247
  if (!n)
54241
54248
  throw new Error(`native type ${t} has no configuration`);
54242
54249
  const r = new VD(n);
54243
54250
  return r.loadDataTransfer(e), r;
54244
54251
  }
54245
- function $f(t) {
54252
+ function _f(t) {
54246
54253
  if (!t)
54247
54254
  return null;
54248
54255
  const e = Array.prototype.slice.call(t.types || []);
54249
- return Object.keys(td).filter((n) => {
54250
- const r = td[n];
54256
+ return Object.keys(ed).filter((n) => {
54257
+ const r = ed[n];
54251
54258
  return r != null && r.matchesTypes ? r.matchesTypes.some(
54252
54259
  (i) => e.indexOf(i) > -1
54253
54260
  ) : !1;
@@ -54572,7 +54579,7 @@ class qD {
54572
54579
  getSourceClientOffset: this.getSourceClientOffset,
54573
54580
  clientOffset: o
54574
54581
  });
54575
- const { dataTransfer: s } = i, l = $f(s);
54582
+ const { dataTransfer: s } = i, l = _f(s);
54576
54583
  if (this.monitor.isDragging()) {
54577
54584
  if (s && typeof s.setDragImage == "function") {
54578
54585
  const d = this.monitor.getSourceId(), u = this.sourceNodes.get(d), p = this.sourcePreviewNodes.get(d) || u;
@@ -54613,7 +54620,7 @@ class qD {
54613
54620
  }
54614
54621
  if (!this.enterLeaveCounter.enter(i.target) || this.monitor.isDragging())
54615
54622
  return;
54616
- const { dataTransfer: s } = i, l = $f(s);
54623
+ const { dataTransfer: s } = i, l = _f(s);
54617
54624
  l && this.beginDragNativeItem(l, s);
54618
54625
  }, this.handleTopDragEnter = (i) => {
54619
54626
  const { dragEnterTargetIds: a } = this;
@@ -54647,7 +54654,7 @@ class qD {
54647
54654
  if (this.dropTargetIds = [], this.isDraggingNativeItem()) {
54648
54655
  var a;
54649
54656
  i.preventDefault(), (a = this.currentNativeSource) === null || a === void 0 || a.loadDataTransfer(i.dataTransfer);
54650
- } else $f(i.dataTransfer) && i.preventDefault();
54657
+ } else _f(i.dataTransfer) && i.preventDefault();
54651
54658
  this.enterLeaveCounter.reset();
54652
54659
  }, this.handleTopDrop = (i) => {
54653
54660
  const { dropTargetIds: a } = this;
@@ -54674,7 +54681,7 @@ const A4 = function(e, n, r) {
54674
54681
  youtube: zw,
54675
54682
  blog: Aa,
54676
54683
  other: Aa
54677
- }, ec = {
54684
+ }, $f = {
54678
54685
  instagram: "text-pink-600",
54679
54686
  linkedin: "text-blue-700",
54680
54687
  facebook: "text-blue-600",
@@ -54682,7 +54689,7 @@ const A4 = function(e, n, r) {
54682
54689
  youtube: "text-red-600",
54683
54690
  blog: "text-orange-500",
54684
54691
  other: "text-gray-500"
54685
- }, nd = {
54692
+ }, td = {
54686
54693
  idea: "bg-gray-100 text-gray-600 border-gray-200",
54687
54694
  planned: "bg-blue-50 text-blue-600 border-blue-200",
54688
54695
  "in-progress": "bg-yellow-50 text-yellow-600 border-yellow-200",
@@ -54700,7 +54707,7 @@ const A4 = function(e, n, r) {
54700
54707
  const e = t.split("").reduce((n, r) => n + r.charCodeAt(0), 0);
54701
54708
  return Y1[e % Y1.length];
54702
54709
  };
54703
- function af({
54710
+ function rf({
54704
54711
  task: t,
54705
54712
  view: e = "month",
54706
54713
  mode: n = "editorial",
@@ -54728,7 +54735,7 @@ function af({
54728
54735
  children: [
54729
54736
  /* @__PURE__ */ b("div", { className: "flex items-center justify-between px-3 py-2 border-b bg-gray-50/50", children: [
54730
54737
  /* @__PURE__ */ b("div", { className: "flex items-center gap-2", children: [
54731
- /* @__PURE__ */ f(s, { size: 14, className: C(t.channel ? ec[t.channel] : "text-gray-400") }),
54738
+ /* @__PURE__ */ f(s, { size: 14, className: C(t.channel ? $f[t.channel] : "text-gray-400") }),
54732
54739
  d && /* @__PURE__ */ f("span", { className: "text-xs font-medium text-gray-500", children: d })
54733
54740
  ] }),
54734
54741
  /* @__PURE__ */ f("div", { className: "opacity-0 group-hover:opacity-100 text-gray-400 cursor-grab", children: /* @__PURE__ */ f(Yw, { size: 14 }) })
@@ -54737,7 +54744,7 @@ function af({
54737
54744
  /* @__PURE__ */ b("div", { className: "p-3", children: [
54738
54745
  /* @__PURE__ */ f("h4", { className: "text-sm font-medium text-gray-900 line-clamp-2 mb-2 leading-snug", children: t.title }),
54739
54746
  /* @__PURE__ */ b("div", { className: "flex items-center justify-between", children: [
54740
- /* @__PURE__ */ f(he, { variant: "outline", className: C("px-1.5 py-0 text-[10px] h-5 font-normal uppercase tracking-wide", nd[t.status]), children: t.status }),
54747
+ /* @__PURE__ */ f(he, { variant: "outline", className: C("px-1.5 py-0 text-[10px] h-5 font-normal uppercase tracking-wide", td[t.status]), children: t.status }),
54741
54748
  t.assignees && t.assignees.length > 0 && /* @__PURE__ */ f("div", { className: "flex -space-x-2", children: t.assignees.slice(0, 2).map((h, m) => /* @__PURE__ */ b(en, { className: "w-5 h-5 border border-white", children: [
54742
54749
  /* @__PURE__ */ f(nr, { src: h.avatar }),
54743
54750
  /* @__PURE__ */ f(tn, { className: "text-[8px]", children: h.name[0] })
@@ -54759,7 +54766,7 @@ function af({
54759
54766
  children: [
54760
54767
  t.imageUrl && /* @__PURE__ */ f("div", { className: "w-8 h-8 flex-shrink-0 bg-gray-100 rounded overflow-hidden", children: /* @__PURE__ */ f("img", { src: t.imageUrl, alt: "", className: "w-full h-full object-cover" }) }),
54761
54768
  /* @__PURE__ */ f("div", { className: "min-w-0 flex-1", children: /* @__PURE__ */ b("div", { className: "flex items-center gap-1.5", children: [
54762
- /* @__PURE__ */ f(s, { size: 12, className: C(t.channel ? ec[t.channel] : "text-gray-400") }),
54769
+ /* @__PURE__ */ f(s, { size: 12, className: C(t.channel ? $f[t.channel] : "text-gray-400") }),
54763
54770
  /* @__PURE__ */ f("span", { className: "truncate font-medium text-xs", children: t.title })
54764
54771
  ] }) })
54765
54772
  ]
@@ -54786,7 +54793,7 @@ function af({
54786
54793
  /* @__PURE__ */ f(nr, { src: h.avatar }),
54787
54794
  /* @__PURE__ */ f(tn, { className: "text-[8px]", children: h.name[0] })
54788
54795
  ] }, m)) }),
54789
- t.status !== "published" && /* @__PURE__ */ f("div", { className: C("w-2 h-2 rounded-full", nd[t.status].split(" ")[1].replace("text-", "bg-")) })
54796
+ t.status !== "published" && /* @__PURE__ */ f("div", { className: C("w-2 h-2 rounded-full", td[t.status].split(" ")[1].replace("text-", "bg-")) })
54790
54797
  ] })
54791
54798
  ]
54792
54799
  }
@@ -54821,7 +54828,7 @@ function af({
54821
54828
  n === "editorial" && t.imageUrl && /* @__PURE__ */ f("div", { className: "w-10 h-10 flex-shrink-0 bg-gray-100 rounded overflow-hidden", children: /* @__PURE__ */ f("img", { src: t.imageUrl, alt: "", className: "w-full h-full object-cover" }) }),
54822
54829
  /* @__PURE__ */ b("div", { className: "min-w-0 flex-1", children: [
54823
54830
  /* @__PURE__ */ b("div", { className: "flex items-center gap-1.5 mb-1", children: [
54824
- n === "editorial" && /* @__PURE__ */ f(s, { size: 12, className: C(t.channel ? ec[t.channel] : "text-gray-400") }),
54831
+ n === "editorial" && /* @__PURE__ */ f(s, { size: 12, className: C(t.channel ? $f[t.channel] : "text-gray-400") }),
54825
54832
  /* @__PURE__ */ f("span", { className: "truncate font-medium text-sm", children: t.title })
54826
54833
  ] }),
54827
54834
  /* @__PURE__ */ f(he, { variant: "secondary", className: "text-[10px] h-4 px-1 py-0", children: t.status })
@@ -54900,7 +54907,7 @@ function XD({ day: t, tasks: e, onDropTask: n, onTaskClick: r, onAddClick: i, is
54900
54907
  }
54901
54908
  ),
54902
54909
  e.map((l) => /* @__PURE__ */ f(
54903
- af,
54910
+ rf,
54904
54911
  {
54905
54912
  task: l,
54906
54913
  view: "week",
@@ -55005,7 +55012,7 @@ function $D({
55005
55012
  m < 30 && (m = 30);
55006
55013
  const g = p * 96 + h / 60 * 96 + 40, w = m / 60 * 96;
55007
55014
  return /* @__PURE__ */ f(
55008
- af,
55015
+ rf,
55009
55016
  {
55010
55017
  task: c,
55011
55018
  view: "week",
@@ -55098,7 +55105,7 @@ function e5({
55098
55105
  )
55099
55106
  ] }),
55100
55107
  /* @__PURE__ */ f("div", { className: "flex-1 flex flex-col gap-1", children: e.map((d) => /* @__PURE__ */ f(
55101
- af,
55108
+ rf,
55102
55109
  {
55103
55110
  task: d,
55104
55111
  view: "month",
@@ -55125,10 +55132,10 @@ function j4({
55125
55132
  const s = () => {
55126
55133
  r(a), e();
55127
55134
  };
55128
- return /* @__PURE__ */ f(bl, { open: t, onOpenChange: (l) => !l && e(), children: /* @__PURE__ */ b(wl, { className: "sm:max-w-[600px]", children: [
55129
- /* @__PURE__ */ b(yl, { children: [
55130
- /* @__PURE__ */ f(vl, { children: i ? "Create New Task" : "Edit Task" }),
55131
- /* @__PURE__ */ f(Cl, { children: i ? "Enter the details for the new task below." : "Modify the details of the selected task." })
55135
+ return /* @__PURE__ */ f(gl, { open: t, onOpenChange: (l) => !l && e(), children: /* @__PURE__ */ b(bl, { className: "sm:max-w-[600px]", children: [
55136
+ /* @__PURE__ */ b(wl, { children: [
55137
+ /* @__PURE__ */ f(yl, { children: i ? "Create New Task" : "Edit Task" }),
55138
+ /* @__PURE__ */ f(vl, { children: i ? "Enter the details for the new task below." : "Modify the details of the selected task." })
55132
55139
  ] }),
55133
55140
  /* @__PURE__ */ b("div", { className: "grid gap-6 py-4", children: [
55134
55141
  /* @__PURE__ */ b("div", { className: "grid grid-cols-4 items-center gap-4", children: [
@@ -55196,7 +55203,7 @@ function j4({
55196
55203
  className: "col-span-3 flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm",
55197
55204
  value: a.status || "idea",
55198
55205
  onChange: (l) => o({ ...a, status: l.target.value }),
55199
- children: Object.keys(nd).map((l) => /* @__PURE__ */ f("option", { value: l, children: l.charAt(0).toUpperCase() + l.slice(1) }, l))
55206
+ children: Object.keys(td).map((l) => /* @__PURE__ */ f("option", { value: l, children: l.charAt(0).toUpperCase() + l.slice(1) }, l))
55200
55207
  }
55201
55208
  )
55202
55209
  ] }),
@@ -55229,7 +55236,7 @@ function D4({
55229
55236
  const [i, a] = oe(/* @__PURE__ */ new Date()), [o, s] = oe(r), [l, c] = oe(!0), [d, u] = oe(!1), [p, h] = oe(null), [m, g] = oe(!1), w = Me(() => {
55230
55237
  let S, R;
55231
55238
  if (o === "month") {
55232
- const Y = rs(i), V = fd(Y);
55239
+ const Y = rs(i), V = ld(Y);
55233
55240
  S = Ju(Y), R = Ku(V);
55234
55241
  } else o === "week" ? (S = Ju(i), R = Ku(i)) : (S = i, R = i);
55235
55242
  return d0({ start: S, end: R });
@@ -55291,7 +55298,7 @@ function R4({ isOpen: t, setIsOpen: e, tasks: n, onAddClick: r, onTaskClick: i,
55291
55298
  /* @__PURE__ */ f("h3", { className: "font-semibold text-sm text-gray-900", children: "Backlog" }),
55292
55299
  /* @__PURE__ */ f(he, { variant: "secondary", className: "bg-gray-100 text-xs", children: n.length })
55293
55300
  ] }),
55294
- /* @__PURE__ */ f(F, { variant: "ghost", size: "icon", className: "h-6 w-6", onClick: () => e(!1), children: /* @__PURE__ */ f(ad, { size: 16 }) })
55301
+ /* @__PURE__ */ f(F, { variant: "ghost", size: "icon", className: "h-6 w-6", onClick: () => e(!1), children: /* @__PURE__ */ f(id, { size: 16 }) })
55295
55302
  ] }),
55296
55303
  /* @__PURE__ */ f("div", { className: "px-4 pt-3 bg-white pb-3 border-b space-y-2", children: /* @__PURE__ */ b(
55297
55304
  F,
@@ -55306,8 +55313,8 @@ function R4({ isOpen: t, setIsOpen: e, tasks: n, onAddClick: r, onTaskClick: i,
55306
55313
  ]
55307
55314
  }
55308
55315
  ) }),
55309
- /* @__PURE__ */ f(ul, { className: "flex-1 p-3", children: /* @__PURE__ */ f("div", { className: "space-y-2", children: n.length === 0 ? /* @__PURE__ */ f("div", { className: "text-center py-10 px-4 border-2 border-dashed border-gray-200 rounded-lg", children: /* @__PURE__ */ f("p", { className: "text-xs text-gray-400", children: "No unscheduled items" }) }) : n.map((o) => /* @__PURE__ */ f(
55310
- af,
55316
+ /* @__PURE__ */ f(hd, { className: "flex-1 p-3", children: /* @__PURE__ */ f("div", { className: "space-y-2", children: n.length === 0 ? /* @__PURE__ */ f("div", { className: "text-center py-10 px-4 border-2 border-dashed border-gray-200 rounded-lg", children: /* @__PURE__ */ f("p", { className: "text-xs text-gray-400", children: "No unscheduled items" }) }) : n.map((o) => /* @__PURE__ */ f(
55317
+ rf,
55311
55318
  {
55312
55319
  task: o,
55313
55320
  view: "backlog",
@@ -55317,7 +55324,7 @@ function R4({ isOpen: t, setIsOpen: e, tasks: n, onAddClick: r, onTaskClick: i,
55317
55324
  o.id
55318
55325
  )) }) })
55319
55326
  ] }) : /* @__PURE__ */ b("div", { className: "border-r bg-white flex flex-col items-center py-4 w-12 flex-shrink-0 cursor-pointer hover:bg-gray-50 transition-colors", onClick: () => e(!0), children: [
55320
- /* @__PURE__ */ f(id, { className: "text-gray-500 mb-4", size: 20 }),
55327
+ /* @__PURE__ */ f(rd, { className: "text-gray-500 mb-4", size: 20 }),
55321
55328
  /* @__PURE__ */ f("div", { className: "flex-1 flex items-center justify-center min-h-0", children: /* @__PURE__ */ f("div", { className: "whitespace-nowrap text-xs font-medium text-gray-400 -rotate-90 transform", children: "BACKLOG" }) }),
55322
55329
  /* @__PURE__ */ f(he, { className: "mt-2 h-5 w-5 p-0 flex items-center justify-center rounded-full bg-[#7F26BF] text-[10px]", children: n.length })
55323
55330
  ] });
@@ -55334,9 +55341,9 @@ function O4({ title: t, onPrev: e, onNext: n, onToday: r, onAdd: i, view: a, set
55334
55341
  ] }),
55335
55342
  /* @__PURE__ */ b("div", { className: "flex items-center gap-3 w-full xl:w-auto overflow-x-auto pb-1 xl:pb-0 justify-end", children: [
55336
55343
  /* @__PURE__ */ f(zT, { value: a, onValueChange: (s) => o(s), className: "flex-shrink-0", children: /* @__PURE__ */ b(PT, { className: "h-9", children: [
55337
- /* @__PURE__ */ f(Jf, { value: "month", className: "text-xs", children: "Month" }),
55338
- /* @__PURE__ */ f(Jf, { value: "week", className: "text-xs", children: "Week" }),
55339
- /* @__PURE__ */ f(Jf, { value: "day", className: "text-xs", children: "Day" })
55344
+ /* @__PURE__ */ f(Gf, { value: "month", className: "text-xs", children: "Month" }),
55345
+ /* @__PURE__ */ f(Gf, { value: "week", className: "text-xs", children: "Week" }),
55346
+ /* @__PURE__ */ f(Gf, { value: "day", className: "text-xs", children: "Day" })
55340
55347
  ] }) }),
55341
55348
  /* @__PURE__ */ b(
55342
55349
  F,
@@ -55487,7 +55494,7 @@ const sR = Ay, P4 = I.createContext(
55487
55494
  {}
55488
55495
  ), lR = ({
55489
55496
  ...t
55490
- }) => /* @__PURE__ */ f(P4.Provider, { value: { name: t.name }, children: /* @__PURE__ */ f(Ey, { ...t }) }), of = () => {
55497
+ }) => /* @__PURE__ */ f(P4.Provider, { value: { name: t.name }, children: /* @__PURE__ */ f(Ey, { ...t }) }), af = () => {
55491
55498
  const t = I.useContext(P4), e = I.useContext(B4), { getFieldState: n } = Ty(), r = jy({ name: t.name }), i = n(t.name, r);
55492
55499
  if (!t)
55493
55500
  throw new Error("useFormField should be used within <FormField>");
@@ -55518,7 +55525,7 @@ function cR({
55518
55525
  className: t,
55519
55526
  ...e
55520
55527
  }) {
55521
- const { error: n, formItemId: r } = of();
55528
+ const { error: n, formItemId: r } = af();
55522
55529
  return /* @__PURE__ */ f(
55523
55530
  Je,
55524
55531
  {
@@ -55531,7 +55538,7 @@ function cR({
55531
55538
  );
55532
55539
  }
55533
55540
  function dR({ ...t }) {
55534
- const { error: e, formItemId: n, formDescriptionId: r, formMessageId: i } = of();
55541
+ const { error: e, formItemId: n, formDescriptionId: r, formMessageId: i } = af();
55535
55542
  return /* @__PURE__ */ f(
55536
55543
  zn,
55537
55544
  {
@@ -55544,7 +55551,7 @@ function dR({ ...t }) {
55544
55551
  );
55545
55552
  }
55546
55553
  function uR({ className: t, ...e }) {
55547
- const { formDescriptionId: n } = of();
55554
+ const { formDescriptionId: n } = af();
55548
55555
  return /* @__PURE__ */ f(
55549
55556
  "p",
55550
55557
  {
@@ -55556,7 +55563,7 @@ function uR({ className: t, ...e }) {
55556
55563
  );
55557
55564
  }
55558
55565
  function hR({ className: t, ...e }) {
55559
- const { error: n, formMessageId: r } = of(), i = n ? String((n == null ? void 0 : n.message) ?? "") : e.children;
55566
+ const { error: n, formMessageId: r } = af(), i = n ? String((n == null ? void 0 : n.message) ?? "") : e.children;
55560
55567
  return i ? /* @__PURE__ */ f(
55561
55568
  "p",
55562
55569
  {
@@ -55683,7 +55690,7 @@ const V4 = I.memo(({
55683
55690
  u.stopPropagation(), o(t);
55684
55691
  },
55685
55692
  "aria-label": "Editar marco",
55686
- children: /* @__PURE__ */ f(nc, { className: "size-3" })
55693
+ children: /* @__PURE__ */ f(tc, { className: "size-3" })
55687
55694
  }
55688
55695
  )
55689
55696
  ]
@@ -55737,7 +55744,7 @@ const V4 = I.memo(({
55737
55744
  u.stopPropagation(), o(t);
55738
55745
  },
55739
55746
  "aria-label": "Editar tarefa",
55740
- children: /* @__PURE__ */ f(nc, { className: "size-3.5" })
55747
+ children: /* @__PURE__ */ f(tc, { className: "size-3.5" })
55741
55748
  }
55742
55749
  )
55743
55750
  ]
@@ -55794,7 +55801,7 @@ const n5 = ["DOM", "SEG", "TER", "QUA", "QUI", "SEX", "SAB"], r5 = I.forwardRef(
55794
55801
  columnWidth: a = 40,
55795
55802
  groupBy: o = "projects"
55796
55803
  }, s) => {
55797
- const [l, c] = I.useState(/* @__PURE__ */ new Date()), [d, u] = I.useState(/* @__PURE__ */ new Set()), p = rs(l), h = fd(l), m = d0({ start: p, end: h }), g = () => c(is(l, 1)), w = () => c(p0(l, 1)), v = () => c(/* @__PURE__ */ new Date()), M = I.useMemo(() => {
55804
+ const [l, c] = I.useState(/* @__PURE__ */ new Date()), [d, u] = I.useState(/* @__PURE__ */ new Set()), p = rs(l), h = ld(l), m = d0({ start: p, end: h }), g = () => c(is(l, 1)), w = () => c(p0(l, 1)), v = () => c(/* @__PURE__ */ new Date()), M = I.useMemo(() => {
55798
55805
  if (o === "assignees") {
55799
55806
  const y = /* @__PURE__ */ new Map();
55800
55807
  return t.forEach((N) => {
@@ -55945,7 +55952,7 @@ const n5 = ["DOM", "SEG", "TER", "QUA", "QUI", "SEX", "SAB"], r5 = I.forwardRef(
55945
55952
  /* @__PURE__ */ f("span", { className: "text-sm truncate flex-1", children: N.name }),
55946
55953
  o === "projects" && N.assignee && /* @__PURE__ */ f(en, { className: "size-6 opacity-0 group-hover:opacity-100 transition-opacity", children: /* @__PURE__ */ f(tn, { className: "text-[10px]", children: N.assignee.initials || N.assignee.name.substring(0, 2).toUpperCase() }) }),
55947
55954
  r && /* @__PURE__ */ f(
55948
- nc,
55955
+ tc,
55949
55956
  {
55950
55957
  className: "size-4 text-muted-foreground cursor-pointer hover:text-primary ml-2 opacity-0 group-hover:opacity-100",
55951
55958
  onClick: () => r(N)
@@ -56377,8 +56384,8 @@ const s5 = {
56377
56384
  ] }),
56378
56385
  e && h !== "compact" && /* @__PURE__ */ f(Py, { className: "mt-2 line-clamp-2 text-xs", children: e })
56379
56386
  ] }),
56380
- (w || v || M) && /* @__PURE__ */ b(hl, { children: [
56381
- /* @__PURE__ */ f(pl, { asChild: !0, children: /* @__PURE__ */ f(
56387
+ (w || v || M) && /* @__PURE__ */ b(ul, { children: [
56388
+ /* @__PURE__ */ f(hl, { asChild: !0, children: /* @__PURE__ */ f(
56382
56389
  F,
56383
56390
  {
56384
56391
  variant: "ghost",
@@ -56387,7 +56394,7 @@ const s5 = {
56387
56394
  children: /* @__PURE__ */ f(Qw, { className: "h-4 w-4" })
56388
56395
  }
56389
56396
  ) }),
56390
- /* @__PURE__ */ b(ml, { align: "end", children: [
56397
+ /* @__PURE__ */ b(pl, { align: "end", children: [
56391
56398
  w && /* @__PURE__ */ f(yi, { onClick: w, children: "Editar" }),
56392
56399
  M && /* @__PURE__ */ f(yi, { onClick: M, children: "Duplicar" }),
56393
56400
  v && /* @__PURE__ */ f(
@@ -57088,7 +57095,7 @@ function jR({
57088
57095
  ),
57089
57096
  ...n,
57090
57097
  children: [
57091
- /* @__PURE__ */ f("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ f(tt.ItemIndicator, { children: /* @__PURE__ */ f(rd, { className: "size-2 fill-current" }) }) }),
57098
+ /* @__PURE__ */ f("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ f(tt.ItemIndicator, { children: /* @__PURE__ */ f(nd, { className: "size-2 fill-current" }) }) }),
57092
57099
  e
57093
57100
  ]
57094
57101
  }
@@ -57340,7 +57347,7 @@ function QR({
57340
57347
  className: "h-8 w-8 shrink-0",
57341
57348
  onClick: i,
57342
57349
  title: r ? "Mostrar menu lateral" : "Ocultar menu lateral",
57343
- children: r ? /* @__PURE__ */ f(id, { className: "h-4 w-4" }) : /* @__PURE__ */ f(ad, { className: "h-4 w-4" })
57350
+ children: r ? /* @__PURE__ */ f(rd, { className: "h-4 w-4" }) : /* @__PURE__ */ f(id, { className: "h-4 w-4" })
57344
57351
  }
57345
57352
  ),
57346
57353
  n && n.length > 0 && /* @__PURE__ */ f(qv, { children: /* @__PURE__ */ f(Zv, { children: n.map((o, s) => /* @__PURE__ */ b(I.Fragment, { children: [
@@ -57369,7 +57376,7 @@ function GR({
57369
57376
  className: "h-8 w-8 shrink-0",
57370
57377
  onClick: i,
57371
57378
  title: r ? "Mostrar menu lateral" : "Ocultar menu lateral",
57372
- children: r ? /* @__PURE__ */ f(id, { className: "h-4 w-4" }) : /* @__PURE__ */ f(ad, { className: "h-4 w-4" })
57379
+ children: r ? /* @__PURE__ */ f(rd, { className: "h-4 w-4" }) : /* @__PURE__ */ f(id, { className: "h-4 w-4" })
57373
57380
  }
57374
57381
  ),
57375
57382
  e && /* @__PURE__ */ f("div", { className: "flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-primary/10", children: /* @__PURE__ */ f(e, { className: "h-4 w-4 text-primary" }) }),
@@ -57536,7 +57543,7 @@ function eO({
57536
57543
  ...e
57537
57544
  }) {
57538
57545
  return /* @__PURE__ */ f(
57539
- rc.Root,
57546
+ nc.Root,
57540
57547
  {
57541
57548
  "data-slot": "radio-group",
57542
57549
  className: C("grid gap-3", t),
@@ -57549,7 +57556,7 @@ function tO({
57549
57556
  ...e
57550
57557
  }) {
57551
57558
  return /* @__PURE__ */ f(
57552
- rc.Item,
57559
+ nc.Item,
57553
57560
  {
57554
57561
  "data-slot": "radio-group-item",
57555
57562
  className: C(
@@ -57558,7 +57565,7 @@ function tO({
57558
57565
  ),
57559
57566
  ...e,
57560
57567
  children: /* @__PURE__ */ f(
57561
- rc.Indicator,
57568
+ nc.Indicator,
57562
57569
  {
57563
57570
  "data-slot": "radio-group-indicator",
57564
57571
  className: "flex items-center justify-center",
@@ -57573,7 +57580,7 @@ function nO({
57573
57580
  ...e
57574
57581
  }) {
57575
57582
  return /* @__PURE__ */ f(
57576
- ud.PanelGroup,
57583
+ dd.PanelGroup,
57577
57584
  {
57578
57585
  "data-slot": "resizable-panel-group",
57579
57586
  className: C(
@@ -57587,7 +57594,7 @@ function nO({
57587
57594
  function rO({
57588
57595
  ...t
57589
57596
  }) {
57590
- return /* @__PURE__ */ f(ud.Panel, { "data-slot": "resizable-panel", ...t });
57597
+ return /* @__PURE__ */ f(dd.Panel, { "data-slot": "resizable-panel", ...t });
57591
57598
  }
57592
57599
  function iO({
57593
57600
  withHandle: t,
@@ -57595,7 +57602,7 @@ function iO({
57595
57602
  ...n
57596
57603
  }) {
57597
57604
  return /* @__PURE__ */ f(
57598
- ud.PanelResizeHandle,
57605
+ dd.PanelResizeHandle,
57599
57606
  {
57600
57607
  "data-slot": "resizable-handle",
57601
57608
  className: C(
@@ -57615,8 +57622,8 @@ function aO({
57615
57622
  className: i
57616
57623
  }) {
57617
57624
  const a = t.filter((s) => s.isFavorite), o = t.filter((s) => !s.isFavorite);
57618
- return /* @__PURE__ */ b(hl, { children: [
57619
- /* @__PURE__ */ f(pl, { asChild: !0, children: /* @__PURE__ */ b(F, { variant: "outline", size: "sm", className: C("gap-2", i), children: [
57625
+ return /* @__PURE__ */ b(ul, { children: [
57626
+ /* @__PURE__ */ f(hl, { asChild: !0, children: /* @__PURE__ */ b(F, { variant: "outline", size: "sm", className: C("gap-2", i), children: [
57620
57627
  /* @__PURE__ */ f(ts, { className: "h-4 w-4" }),
57621
57628
  "Filtros salvos",
57622
57629
  t.length > 0 && /* @__PURE__ */ b("span", { className: "text-xs text-muted-foreground", children: [
@@ -57625,7 +57632,7 @@ function aO({
57625
57632
  ")"
57626
57633
  ] })
57627
57634
  ] }) }),
57628
- /* @__PURE__ */ f(ml, { align: "start", className: "w-[280px]", children: t.length === 0 ? /* @__PURE__ */ f("div", { className: "px-2 py-6 text-center text-sm text-muted-foreground", children: "No saved filters yet" }) : /* @__PURE__ */ b(Fe, { children: [
57635
+ /* @__PURE__ */ f(pl, { align: "start", className: "w-[280px]", children: t.length === 0 ? /* @__PURE__ */ f("div", { className: "px-2 py-6 text-center text-sm text-muted-foreground", children: "No saved filters yet" }) : /* @__PURE__ */ b(Fe, { children: [
57629
57636
  a.length > 0 && /* @__PURE__ */ b(Fe, { children: [
57630
57637
  /* @__PURE__ */ f("div", { className: "px-2 py-1.5 text-xs font-semibold text-muted-foreground", children: "Favorites" }),
57631
57638
  a.map((s) => /* @__PURE__ */ f(
@@ -57638,7 +57645,7 @@ function aO({
57638
57645
  },
57639
57646
  s.id
57640
57647
  )),
57641
- o.length > 0 && /* @__PURE__ */ f(ac, {})
57648
+ o.length > 0 && /* @__PURE__ */ f(ic, {})
57642
57649
  ] }),
57643
57650
  o.length > 0 && /* @__PURE__ */ b(Fe, { children: [
57644
57651
  a.length > 0 && /* @__PURE__ */ f("div", { className: "px-2 py-1.5 text-xs font-semibold text-muted-foreground", children: "Todos filtros" }),
@@ -57818,20 +57825,20 @@ function M5({
57818
57825
  }
57819
57826
  );
57820
57827
  }
57821
- const tc = 768;
57828
+ const ec = 768;
57822
57829
  function x5() {
57823
57830
  const [t, e] = I.useState(
57824
57831
  void 0
57825
57832
  );
57826
57833
  return I.useEffect(() => {
57827
- const n = window.matchMedia(`(max-width: ${tc - 1}px)`), r = () => {
57828
- e(window.innerWidth < tc);
57834
+ const n = window.matchMedia(`(max-width: ${ec - 1}px)`), r = () => {
57835
+ e(window.innerWidth < ec);
57829
57836
  };
57830
- return n.addEventListener("change", r), e(window.innerWidth < tc), () => n.removeEventListener("change", r);
57837
+ return n.addEventListener("change", r), e(window.innerWidth < ec), () => n.removeEventListener("change", r);
57831
57838
  }, []), !!t;
57832
57839
  }
57833
57840
  const L5 = "sidebar_state", N5 = 3600 * 24 * 7, k5 = "16rem", S5 = "18rem", I5 = "3rem", A5 = "b", H4 = I.createContext(null);
57834
- function sf() {
57841
+ function of() {
57835
57842
  const t = I.useContext(H4);
57836
57843
  if (!t)
57837
57844
  throw new Error("useSidebar must be used within a SidebarProvider.");
@@ -57897,7 +57904,7 @@ function cO({
57897
57904
  children: i,
57898
57905
  ...a
57899
57906
  }) {
57900
- const { isMobile: o, state: s, openMobile: l, setOpenMobile: c } = sf();
57907
+ const { isMobile: o, state: s, openMobile: l, setOpenMobile: c } = of();
57901
57908
  return n === "none" ? /* @__PURE__ */ f(
57902
57909
  "div",
57903
57910
  {
@@ -57982,7 +57989,7 @@ function dO({
57982
57989
  onClick: e,
57983
57990
  ...n
57984
57991
  }) {
57985
- const { toggleSidebar: r } = sf();
57992
+ const { toggleSidebar: r } = of();
57986
57993
  return /* @__PURE__ */ b(
57987
57994
  F,
57988
57995
  {
@@ -58003,7 +58010,7 @@ function dO({
58003
58010
  );
58004
58011
  }
58005
58012
  function uO({ className: t, ...e }) {
58006
- const { toggleSidebar: n } = sf();
58013
+ const { toggleSidebar: n } = of();
58007
58014
  return /* @__PURE__ */ f(
58008
58015
  "button",
58009
58016
  {
@@ -58206,7 +58213,7 @@ function LO({
58206
58213
  className: a,
58207
58214
  ...o
58208
58215
  }) {
58209
- const s = t ? zn : "button", { isMobile: l, state: c } = sf(), d = /* @__PURE__ */ f(
58216
+ const s = t ? zn : "button", { isMobile: l, state: c } = of(), d = /* @__PURE__ */ f(
58210
58217
  s,
58211
58218
  {
58212
58219
  "data-slot": "sidebar-menu-button",
@@ -58556,10 +58563,10 @@ function TO({
58556
58563
  return { ...x, dependencies: L };
58557
58564
  });
58558
58565
  }, g = i.filter((M) => M.id !== o.id), w = o.name.trim() !== "" && o.startDate <= o.endDate;
58559
- return /* @__PURE__ */ f(bl, { open: e, onOpenChange: n, children: /* @__PURE__ */ b(wl, { className: "max-w-2xl max-h-[90vh] overflow-y-auto", children: [
58560
- /* @__PURE__ */ b(yl, { children: [
58561
- /* @__PURE__ */ f(vl, { children: "Editar Tarefa" }),
58562
- /* @__PURE__ */ f(Cl, { children: 'Altere os detalhes da tarefa abaixo. As mudanças serão salvas ao clicar em "Salvar alterações".' })
58566
+ return /* @__PURE__ */ f(gl, { open: e, onOpenChange: n, children: /* @__PURE__ */ b(bl, { className: "max-w-2xl max-h-[90vh] overflow-y-auto", children: [
58567
+ /* @__PURE__ */ b(wl, { children: [
58568
+ /* @__PURE__ */ f(yl, { children: "Editar Tarefa" }),
58569
+ /* @__PURE__ */ f(vl, { children: 'Altere os detalhes da tarefa abaixo. As mudanças serão salvas ao clicar em "Salvar alterações".' })
58563
58570
  ] }),
58564
58571
  /* @__PURE__ */ b("div", { className: "space-y-6 py-4", children: [
58565
58572
  /* @__PURE__ */ b("div", { className: "space-y-2", children: [
@@ -59391,7 +59398,7 @@ function HO({
59391
59398
  t.objectives && t.objectives.length > 0 && /* @__PURE__ */ f(wt, { title: "Objetivos", children: /* @__PURE__ */ f("ul", { className: "list-disc list-inside space-y-2", children: t.objectives.map((a, o) => /* @__PURE__ */ f("li", { className: "text-sm text-gray-700", children: a }, o)) }) }),
59392
59399
  /* @__PURE__ */ b(wt, { title: "Escopo e Investimento", children: [
59393
59400
  /* @__PURE__ */ f(
59394
- qc,
59401
+ Kc,
59395
59402
  {
59396
59403
  columns: [
59397
59404
  { header: "Item", key: "name", width: "35%" },
@@ -59510,7 +59517,7 @@ export {
59510
59517
  tn as AvatarFallback,
59511
59518
  nr as AvatarImage,
59512
59519
  he as Badge,
59513
- ic as BrandLogo,
59520
+ rc as BrandLogo,
59514
59521
  qv as Breadcrumb,
59515
59522
  l7 as BreadcrumbEllipsis,
59516
59523
  Xv as BreadcrumbItem,
@@ -59519,7 +59526,7 @@ export {
59519
59526
  $v as BreadcrumbPage,
59520
59527
  e3 as BreadcrumbSeparator,
59521
59528
  F as Button,
59522
- hd as Calendar,
59529
+ ud as Calendar,
59523
59530
  zr as Card,
59524
59531
  O8 as CardAction,
59525
59532
  xi as CardContent,
@@ -59577,13 +59584,13 @@ export {
59577
59584
  Pv as DataTable,
59578
59585
  x0 as DatePicker,
59579
59586
  MT as DateRangePicker,
59580
- bl as Dialog,
59587
+ gl as Dialog,
59581
59588
  M7 as DialogClose,
59582
- wl as DialogContent,
59583
- Cl as DialogDescription,
59589
+ bl as DialogContent,
59590
+ vl as DialogDescription,
59584
59591
  pd as DialogFooter,
59585
- yl as DialogHeader,
59586
- vl as DialogTitle,
59592
+ wl as DialogHeader,
59593
+ yl as DialogTitle,
59587
59594
  C7 as DialogTrigger,
59588
59595
  eR as DocumentEditor,
59589
59596
  tR as Drawer,
@@ -59594,21 +59601,21 @@ export {
59594
59601
  nR as DrawerHeader,
59595
59602
  jT as DrawerTitle,
59596
59603
  IT as DrawerTrigger,
59597
- hl as DropdownMenu,
59604
+ ul as DropdownMenu,
59598
59605
  _8 as DropdownMenuCheckboxItem,
59599
- ml as DropdownMenuContent,
59606
+ pl as DropdownMenuContent,
59600
59607
  Wv as DropdownMenuGroup,
59601
59608
  yi as DropdownMenuItem,
59602
59609
  Hv as DropdownMenuLabel,
59603
59610
  X8 as DropdownMenuPortal,
59604
59611
  $8 as DropdownMenuRadioGroup,
59605
59612
  e7 as DropdownMenuRadioItem,
59606
- ac as DropdownMenuSeparator,
59613
+ ic as DropdownMenuSeparator,
59607
59614
  t7 as DropdownMenuShortcut,
59608
59615
  n7 as DropdownMenuSub,
59609
59616
  i7 as DropdownMenuSubContent,
59610
59617
  r7 as DropdownMenuSubTrigger,
59611
- pl as DropdownMenuTrigger,
59618
+ hl as DropdownMenuTrigger,
59612
59619
  OT as EditableBadge,
59613
59620
  aR as EditorialCalendar,
59614
59621
  s8 as EmptyCalendarIllustration,
@@ -59677,7 +59684,7 @@ export {
59677
59684
  HR as NavigationMenuLink,
59678
59685
  VR as NavigationMenuList,
59679
59686
  UR as NavigationMenuTrigger,
59680
- Zc as NumberInput,
59687
+ qc as NumberInput,
59681
59688
  QR as PageHeader,
59682
59689
  KR as Pagination,
59683
59690
  qR as PaginationContent,
@@ -59695,7 +59702,7 @@ export {
59695
59702
  gi as PrintInfoGrid,
59696
59703
  wt as PrintSection,
59697
59704
  o4 as PrintSignature,
59698
- qc as PrintTable,
59705
+ Kc as PrintTable,
59699
59706
  Y4 as Progress,
59700
59707
  DO as ProgressTimeline,
59701
59708
  HO as ProposalTemplate,
@@ -59705,7 +59712,7 @@ export {
59705
59712
  rO as ResizablePanel,
59706
59713
  nO as ResizablePanelGroup,
59707
59714
  aO as SavedFilters,
59708
- ul as ScrollArea,
59715
+ hd as ScrollArea,
59709
59716
  Uv as ScrollBar,
59710
59717
  Sn as Select,
59711
59718
  En as SelectContent,
@@ -59763,7 +59770,7 @@ export {
59763
59770
  zT as Tabs,
59764
59771
  iR as TabsContent,
59765
59772
  PT as TabsList,
59766
- Jf as TabsTrigger,
59773
+ Gf as TabsTrigger,
59767
59774
  oR as TaskCalendar,
59768
59775
  TO as TaskEditDialog,
59769
59776
  Ru as Textarea,
@@ -59792,9 +59799,9 @@ export {
59792
59799
  j5 as socialButtonVariants,
59793
59800
  JO as toast,
59794
59801
  l4 as toggleVariants,
59795
- of as useFormField,
59802
+ af as useFormField,
59796
59803
  x5 as useIsMobile,
59797
59804
  pT as usePrintContract,
59798
- sf as useSidebar
59805
+ of as useSidebar
59799
59806
  };
59800
59807
  //# sourceMappingURL=index.js.map