@iclips/ui 1.3.12 → 1.3.14

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,46 @@ 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
+ onWheel: (S) => S.stopPropagation(),
4256
+ onTouchMove: (S) => S.stopPropagation(),
4257
+ 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(
4258
+ F,
4259
+ {
4260
+ variant: "ghost",
4261
+ className: C(
4262
+ "w-full justify-start font-normal",
4263
+ t === S.value && "bg-accent"
4264
+ ),
4265
+ onClick: () => A(S.value),
4266
+ disabled: S.disabled,
4267
+ children: [
4268
+ /* @__PURE__ */ f(
4269
+ ol,
4270
+ {
4271
+ className: C(
4272
+ "mr-2 h-4 w-4",
4273
+ t === S.value ? "opacity-100" : "opacity-0"
4274
+ )
4275
+ }
4276
+ ),
4277
+ /* @__PURE__ */ f("span", { className: "truncate", children: S.label })
4278
+ ]
4279
+ },
4280
+ S.value
4281
+ )) })
4282
+ }
4283
+ )
4275
4284
  ] })
4276
4285
  }
4277
4286
  )
4278
4287
  ] });
4279
4288
  }
4280
- function bl({
4289
+ function gl({
4281
4290
  ...t
4282
4291
  }) {
4283
4292
  return /* @__PURE__ */ f(Ye.Root, { "data-slot": "dialog", ...t });
@@ -4310,7 +4319,7 @@ const I0 = I.forwardRef(({ className: t, ...e }, n) => /* @__PURE__ */ f(
4310
4319
  }
4311
4320
  ));
4312
4321
  I0.displayName = Ye.Overlay.displayName;
4313
- function wl({
4322
+ function bl({
4314
4323
  className: t,
4315
4324
  children: e,
4316
4325
  ...n
@@ -4337,7 +4346,7 @@ function wl({
4337
4346
  )
4338
4347
  ] });
4339
4348
  }
4340
- function yl({ className: t, ...e }) {
4349
+ function wl({ className: t, ...e }) {
4341
4350
  return /* @__PURE__ */ f(
4342
4351
  "div",
4343
4352
  {
@@ -4360,7 +4369,7 @@ function pd({ className: t, ...e }) {
4360
4369
  }
4361
4370
  );
4362
4371
  }
4363
- function vl({
4372
+ function yl({
4364
4373
  className: t,
4365
4374
  ...e
4366
4375
  }) {
@@ -4373,7 +4382,7 @@ function vl({
4373
4382
  }
4374
4383
  );
4375
4384
  }
4376
- function Cl({
4385
+ function vl({
4377
4386
  className: t,
4378
4387
  ...e
4379
4388
  }) {
@@ -4408,12 +4417,12 @@ function x7({
4408
4417
  children: n,
4409
4418
  ...r
4410
4419
  }) {
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 })
4420
+ return /* @__PURE__ */ b(gl, { ...r, children: [
4421
+ /* @__PURE__ */ b(wl, { className: "sr-only", children: [
4422
+ /* @__PURE__ */ f(yl, { children: t }),
4423
+ /* @__PURE__ */ f(vl, { children: e })
4415
4424
  ] }),
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 }) })
4425
+ /* @__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
4426
  ] });
4418
4427
  }
4419
4428
  function L7({
@@ -4999,9 +5008,9 @@ class O {
4999
5008
  }
5000
5009
  }
5001
5010
  O.empty = new O([], 0);
5002
- const df = { index: 0, offset: 0 };
5011
+ const cf = { index: 0, offset: 0 };
5003
5012
  function Mo(t, e) {
5004
- return df.index = t, df.offset = e, df;
5013
+ return cf.index = t, cf.offset = e, cf;
5005
5014
  }
5006
5015
  function ls(t, e) {
5007
5016
  if (t === e)
@@ -5027,7 +5036,7 @@ function ls(t, e) {
5027
5036
  }
5028
5037
  return !0;
5029
5038
  }
5030
- let Ce = class sc {
5039
+ let Ce = class oc {
5031
5040
  /**
5032
5041
  @internal
5033
5042
  */
@@ -5125,8 +5134,8 @@ let Ce = class sc {
5125
5134
  */
5126
5135
  static setFrom(e) {
5127
5136
  if (!e || Array.isArray(e) && e.length == 0)
5128
- return sc.none;
5129
- if (e instanceof sc)
5137
+ return oc.none;
5138
+ if (e instanceof oc)
5130
5139
  return [e];
5131
5140
  let n = e.slice();
5132
5141
  return n.sort((r, i) => r.type.rank - i.type.rank), n;
@@ -5260,7 +5269,7 @@ function R0(t, e) {
5260
5269
  if (!e.type.compatibleContent(t.type))
5261
5270
  throw new fs("Cannot join " + e.type.name + " onto " + t.type.name);
5262
5271
  }
5263
- function lc(t, e, n) {
5272
+ function sc(t, e, n) {
5264
5273
  let r = t.node(n);
5265
5274
  return R0(r, e.node(n)), r;
5266
5275
  }
@@ -5279,13 +5288,13 @@ function Er(t, e) {
5279
5288
  return t.type.checkContent(e), t.copy(e);
5280
5289
  }
5281
5290
  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 = [];
5291
+ let a = t.depth > i && sc(t, e, i + 1), o = r.depth > i && sc(n, r, i + 1), s = [];
5283
5292
  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
5293
  }
5285
5294
  function cs(t, e, n) {
5286
5295
  let r = [];
5287
5296
  if (da(null, t, n, r), t.depth > n) {
5288
- let i = lc(t, e, n + 1);
5297
+ let i = sc(t, e, n + 1);
5289
5298
  Ar(Er(i, cs(t, e, n + 1)), r);
5290
5299
  }
5291
5300
  return da(e, null, n, r), new O(r);
@@ -6585,7 +6594,7 @@ class x3 {
6585
6594
  return !this.hasDefault;
6586
6595
  }
6587
6596
  }
6588
- class Ml {
6597
+ class Cl {
6589
6598
  /**
6590
6599
  @internal
6591
6600
  */
@@ -6607,7 +6616,7 @@ class Ml {
6607
6616
  */
6608
6617
  static compile(e, n) {
6609
6618
  let r = /* @__PURE__ */ Object.create(null), i = 0;
6610
- return e.forEach((a, o) => r[a] = new Ml(a, i++, n, o)), r;
6619
+ return e.forEach((a, o) => r[a] = new Cl(a, i++, n, o)), r;
6611
6620
  }
6612
6621
  /**
6613
6622
  When there is a mark of this type in the given set, a new set
@@ -6649,7 +6658,7 @@ class H0 {
6649
6658
  let n = this.spec = {};
6650
6659
  for (let i in e)
6651
6660
  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);
6661
+ 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
6662
  let r = /* @__PURE__ */ Object.create(null);
6654
6663
  for (let i in this.nodes) {
6655
6664
  if (i in this.marks)
@@ -6886,9 +6895,9 @@ const Q0 = {
6886
6895
  script: !0,
6887
6896
  style: !0,
6888
6897
  title: !0
6889
- }, G0 = { ol: !0, ul: !0 }, Da = 1, fc = 2, ua = 4;
6898
+ }, G0 = { ol: !0, ul: !0 }, Da = 1, lc = 2, ua = 4;
6890
6899
  function dh(t, e, n) {
6891
- return e != null ? (e ? Da : 0) | (e === "full" ? fc : 0) : t && t.whitespace == "pre" ? Da | fc : n & ~ua;
6900
+ return e != null ? (e ? Da : 0) | (e === "full" ? lc : 0) : t && t.whitespace == "pre" ? Da | lc : n & ~ua;
6892
6901
  }
6893
6902
  class xo {
6894
6903
  constructor(e, n, r, i, a, o) {
@@ -6939,7 +6948,7 @@ class uh {
6939
6948
  e.nodeType == 3 ? this.addTextNode(e, n) : e.nodeType == 1 && this.addElement(e, n);
6940
6949
  }
6941
6950
  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;
6951
+ let r = e.nodeValue, i = this.top, a = i.options & lc ? "full" : this.localPreserveWS || (i.options & Da) > 0, { schema: o } = this.parser;
6943
6952
  if (a === "full" || i.inlineContext(e) || /[^ \t\r\n\u000c]/.test(r)) {
6944
6953
  if (a)
6945
6954
  if (a === "full")
@@ -7258,7 +7267,7 @@ class Jr {
7258
7267
  nodes.
7259
7268
  */
7260
7269
  serializeFragment(e, n = {}, r) {
7261
- r || (r = uf(n).createDocumentFragment());
7270
+ r || (r = df(n).createDocumentFragment());
7262
7271
  let i = r, a = [];
7263
7272
  return e.forEach((o) => {
7264
7273
  if (a.length || o.marks.length) {
@@ -7287,7 +7296,7 @@ class Jr {
7287
7296
  @internal
7288
7297
  */
7289
7298
  serializeNodeInner(e, n) {
7290
- let { dom: r, contentDOM: i } = Uo(uf(n), this.nodes[e.type.name](e), null, e.attrs);
7299
+ let { dom: r, contentDOM: i } = Uo(df(n), this.nodes[e.type.name](e), null, e.attrs);
7291
7300
  if (i) {
7292
7301
  if (e.isLeaf)
7293
7302
  throw new RangeError("Content hole not allowed in a leaf node spec");
@@ -7315,7 +7324,7 @@ class Jr {
7315
7324
  */
7316
7325
  serializeMark(e, n, r = {}) {
7317
7326
  let i = this.marks[e.type.name];
7318
- return i && Uo(uf(r), i(e, n), null, e.attrs);
7327
+ return i && Uo(df(r), i(e, n), null, e.attrs);
7319
7328
  }
7320
7329
  static renderSpec(e, n, r = null, i) {
7321
7330
  return Uo(e, n, r, i);
@@ -7350,7 +7359,7 @@ function mh(t) {
7350
7359
  }
7351
7360
  return e;
7352
7361
  }
7353
- function uf(t) {
7362
+ function df(t) {
7354
7363
  return t.document || window.document;
7355
7364
  }
7356
7365
  const gh = /* @__PURE__ */ new WeakMap();
@@ -7425,7 +7434,7 @@ function j3(t) {
7425
7434
  return (t - (t & J0)) / K0;
7426
7435
  }
7427
7436
  const q0 = 1, Z0 = 2, Wo = 4, X0 = 8;
7428
- class cc {
7437
+ class fc {
7429
7438
  /**
7430
7439
  @internal
7431
7440
  */
@@ -7502,11 +7511,11 @@ class Nt {
7502
7511
  if (r)
7503
7512
  return h;
7504
7513
  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);
7514
+ return (n < 0 ? e != l : e != u) && (g |= X0), new fc(h, g, m);
7506
7515
  }
7507
7516
  i += d - c;
7508
7517
  }
7509
- return r ? e + i : new cc(e + i, 0, null);
7518
+ return r ? e + i : new fc(e + i, 0, null);
7510
7519
  }
7511
7520
  /**
7512
7521
  @internal
@@ -7662,10 +7671,10 @@ class Ra {
7662
7671
  }
7663
7672
  i |= s.delInfo, e = s.pos;
7664
7673
  }
7665
- return r ? e : new cc(e, i, null);
7674
+ return r ? e : new fc(e, i, null);
7666
7675
  }
7667
7676
  }
7668
- const hf = /* @__PURE__ */ Object.create(null);
7677
+ const uf = /* @__PURE__ */ Object.create(null);
7669
7678
  class st {
7670
7679
  /**
7671
7680
  Get the step map that represents the changes made by this step,
@@ -7690,7 +7699,7 @@ class st {
7690
7699
  static fromJSON(e, n) {
7691
7700
  if (!n || !n.stepType)
7692
7701
  throw new RangeError("Invalid input for Step.fromJSON");
7693
- let r = hf[n.stepType];
7702
+ let r = uf[n.stepType];
7694
7703
  if (!r)
7695
7704
  throw new RangeError(`No step type ${n.stepType} defined`);
7696
7705
  return r.fromJSON(e, n);
@@ -7702,9 +7711,9 @@ class st {
7702
7711
  that's unlikely to clash with steps from other modules.
7703
7712
  */
7704
7713
  static jsonID(e, n) {
7705
- if (e in hf)
7714
+ if (e in uf)
7706
7715
  throw new RangeError("Duplicate use of step JSON ID " + e);
7707
- return hf[e] = n, n.prototype.jsonID = e, n;
7716
+ return uf[e] = n, n.prototype.jsonID = e, n;
7708
7717
  }
7709
7718
  }
7710
7719
  class Be {
@@ -7920,7 +7929,7 @@ class ze extends st {
7920
7929
  super(), this.from = e, this.to = n, this.slice = r, this.structure = i;
7921
7930
  }
7922
7931
  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);
7932
+ 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
7933
  }
7925
7934
  getMap() {
7926
7935
  return new Nt([this.from, this.to - this.from, this.slice.size]);
@@ -7970,7 +7979,7 @@ class He extends st {
7970
7979
  super(), this.from = e, this.to = n, this.gapFrom = r, this.gapTo = i, this.slice = a, this.insert = o, this.structure = s;
7971
7980
  }
7972
7981
  apply(e) {
7973
- if (this.structure && (dc(e, this.from, this.gapFrom) || dc(e, this.gapTo, this.to)))
7982
+ if (this.structure && (cc(e, this.from, this.gapFrom) || cc(e, this.gapTo, this.to)))
7974
7983
  return Be.fail("Structure gap-replace would overwrite content");
7975
7984
  let n = e.slice(this.gapFrom, this.gapTo);
7976
7985
  if (n.openStart || n.openEnd)
@@ -8017,7 +8026,7 @@ class He extends st {
8017
8026
  }
8018
8027
  }
8019
8028
  st.jsonID("replaceAround", He);
8020
- function dc(t, e, n) {
8029
+ function cc(t, e, n) {
8021
8030
  let r = t.resolve(e), i = n - e, a = r.depth;
8022
8031
  for (; i > 0 && a > 0 && r.indexAfter(a) == r.node(a).childCount; )
8023
8032
  a--, i--;
@@ -8052,7 +8061,7 @@ function R3(t, e, n, r) {
8052
8061
  return;
8053
8062
  a++;
8054
8063
  let l = null;
8055
- if (r instanceof Ml) {
8064
+ if (r instanceof Cl) {
8056
8065
  let c = o.marks, d;
8057
8066
  for (; d = r.isInSet(c); )
8058
8067
  (l || (l = [])).push(d), c = d.removeFromSet(c);
@@ -8252,7 +8261,7 @@ function H3(t, e) {
8252
8261
  function em(t, e) {
8253
8262
  return !!(t && e && !t.isLeaf && H3(t, e));
8254
8263
  }
8255
- function xl(t, e, n = -1) {
8264
+ function Ml(t, e, n = -1) {
8256
8265
  let r = t.resolve(e);
8257
8266
  for (let i = r.depth; ; i--) {
8258
8267
  let a, o, s = r.index(i);
@@ -8325,7 +8334,7 @@ function tm(t, e, n) {
8325
8334
  }
8326
8335
  return null;
8327
8336
  }
8328
- function Ll(t, e, n = e, r = W.empty) {
8337
+ function xl(t, e, n = e, r = W.empty) {
8329
8338
  if (e == n && !r.size)
8330
8339
  return null;
8331
8340
  let i = t.resolve(e), a = t.resolve(n);
@@ -8380,7 +8389,7 @@ class J3 {
8380
8389
  for (let n = 1; n <= 2; n++)
8381
8390
  for (let r = n == 1 ? e : this.unplaced.openStart; r >= 0; r--) {
8382
8391
  let i, a = null;
8383
- r ? (a = pf(this.unplaced.content, r - 1).firstChild, i = a.content) : i = this.unplaced.content;
8392
+ r ? (a = hf(this.unplaced.content, r - 1).firstChild, i = a.content) : i = this.unplaced.content;
8384
8393
  let o = i.firstChild;
8385
8394
  for (let s = this.depth; s >= 0; s--) {
8386
8395
  let { type: l, match: c } = this.frontier[s], d, u = null;
@@ -8394,11 +8403,11 @@ class J3 {
8394
8403
  }
8395
8404
  }
8396
8405
  openMore() {
8397
- let { content: e, openStart: n, openEnd: r } = this.unplaced, i = pf(e, n);
8406
+ let { content: e, openStart: n, openEnd: r } = this.unplaced, i = hf(e, n);
8398
8407
  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
8408
  }
8400
8409
  dropNode() {
8401
- let { content: e, openStart: n, openEnd: r } = this.unplaced, i = pf(e, n);
8410
+ let { content: e, openStart: n, openEnd: r } = this.unplaced, i = hf(e, n);
8402
8411
  if (i.childCount <= 1 && n > 0) {
8403
8412
  let a = e.size - n <= n + i.size;
8404
8413
  this.unplaced = new W(ra(e, n - 1, 1), n - 1, a ? n - 1 : r);
@@ -8439,7 +8448,7 @@ class J3 {
8439
8448
  if (!this.$to.parent.isTextblock)
8440
8449
  return -1;
8441
8450
  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)
8451
+ 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
8452
  return -1;
8444
8453
  let { depth: r } = this.$to, i = this.$to.after(r);
8445
8454
  for (; r > 1 && i == this.$to.end(--r); )
@@ -8448,10 +8457,10 @@ class J3 {
8448
8457
  }
8449
8458
  findCloseLevel(e) {
8450
8459
  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);
8460
+ 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
8461
  if (o) {
8453
8462
  for (let s = n - 1; s >= 0; s--) {
8454
- let { match: l, type: c } = this.frontier[s], d = mf(e, s, c, l, !0);
8463
+ let { match: l, type: c } = this.frontier[s], d = pf(e, s, c, l, !0);
8455
8464
  if (!d || d.childCount)
8456
8465
  continue e;
8457
8466
  }
@@ -8487,7 +8496,7 @@ function ra(t, e, n) {
8487
8496
  function ia(t, e, n) {
8488
8497
  return e == 0 ? t.append(n) : t.replaceChild(t.childCount - 1, t.lastChild.copy(ia(t.lastChild.content, e - 1, n)));
8489
8498
  }
8490
- function pf(t, e) {
8499
+ function hf(t, e) {
8491
8500
  for (let n = 0; n < e; n++)
8492
8501
  t = t.firstChild.content;
8493
8502
  return t;
@@ -8498,7 +8507,7 @@ function rm(t, e, n) {
8498
8507
  let r = t.content;
8499
8508
  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
8509
  }
8501
- function mf(t, e, n, r, i) {
8510
+ function pf(t, e, n, r, i) {
8502
8511
  let a = t.node(e), o = i ? t.indexAfter(e) : t.index(e);
8503
8512
  if (o == a.childCount && !n.compatibleContent(a.type))
8504
8513
  return null;
@@ -8764,7 +8773,7 @@ class om {
8764
8773
  given `slice`.
8765
8774
  */
8766
8775
  replace(e, n = e, r = W.empty) {
8767
- let i = Ll(this.doc, e, n, r);
8776
+ let i = xl(this.doc, e, n, r);
8768
8777
  return i && this.step(i), this;
8769
8778
  }
8770
8779
  /**
@@ -8940,7 +8949,7 @@ class om {
8940
8949
  return gd(this, e, n, r), this;
8941
8950
  }
8942
8951
  }
8943
- const gf = /* @__PURE__ */ Object.create(null);
8952
+ const mf = /* @__PURE__ */ Object.create(null);
8944
8953
  class se {
8945
8954
  /**
8946
8955
  Initialize a selection with the head and anchor and ranges. If no
@@ -9076,7 +9085,7 @@ class se {
9076
9085
  static fromJSON(e, n) {
9077
9086
  if (!n || !n.type)
9078
9087
  throw new RangeError("Invalid input for Selection.fromJSON");
9079
- let r = gf[n.type];
9088
+ let r = mf[n.type];
9080
9089
  if (!r)
9081
9090
  throw new RangeError(`No selection type ${n.type} defined`);
9082
9091
  return r.fromJSON(e, n);
@@ -9088,9 +9097,9 @@ class se {
9088
9097
  clash with classes from other modules.
9089
9098
  */
9090
9099
  static jsonID(e, n) {
9091
- if (e in gf)
9100
+ if (e in mf)
9092
9101
  throw new RangeError("Duplicate use of selection JSON ID " + e);
9093
- return gf[e] = n, n.prototype.jsonID = e, n;
9102
+ return mf[e] = n, n.prototype.jsonID = e, n;
9094
9103
  }
9095
9104
  /**
9096
9105
  Get a [bookmark](https://prosemirror.net/docs/ref/#state.SelectionBookmark) for this selection,
@@ -9149,7 +9158,7 @@ class ee extends se {
9149
9158
  return e instanceof ee && e.anchor == this.anchor && e.head == this.head;
9150
9159
  }
9151
9160
  getBookmark() {
9152
- return new Nl(this.anchor, this.head);
9161
+ return new Ll(this.anchor, this.head);
9153
9162
  }
9154
9163
  toJSON() {
9155
9164
  return { type: "text", anchor: this.anchor, head: this.head };
@@ -9190,12 +9199,12 @@ class ee extends se {
9190
9199
  }
9191
9200
  }
9192
9201
  se.jsonID("text", ee);
9193
- class Nl {
9202
+ class Ll {
9194
9203
  constructor(e, n) {
9195
9204
  this.anchor = e, this.head = n;
9196
9205
  }
9197
9206
  map(e) {
9198
- return new Nl(e.map(this.anchor), e.map(this.head));
9207
+ return new Ll(e.map(this.anchor), e.map(this.head));
9199
9208
  }
9200
9209
  resolve(e) {
9201
9210
  return ee.between(e.resolve(this.anchor), e.resolve(this.head));
@@ -9256,7 +9265,7 @@ class wd {
9256
9265
  }
9257
9266
  map(e) {
9258
9267
  let { deleted: n, pos: r } = e.mapResult(this.anchor);
9259
- return n ? new Nl(r, r) : new wd(r);
9268
+ return n ? new Ll(r, r) : new wd(r);
9260
9269
  }
9261
9270
  resolve(e) {
9262
9271
  let n = e.resolve(this.anchor), r = n.nodeAfter;
@@ -9529,7 +9538,7 @@ const nC = [
9529
9538
  }
9530
9539
  })
9531
9540
  ];
9532
- class bf {
9541
+ class gf {
9533
9542
  constructor(e, n) {
9534
9543
  this.schema = e, this.plugins = [], this.pluginsByKey = /* @__PURE__ */ Object.create(null), this.fields = nC.slice(), n && n.forEach((r) => {
9535
9544
  if (this.pluginsByKey[r.key])
@@ -9630,7 +9639,7 @@ class mi {
9630
9639
  Create a new state.
9631
9640
  */
9632
9641
  static create(e) {
9633
- let n = new bf(e.doc ? e.doc.type.schema : e.schema, e.plugins), r = new mi(n);
9642
+ let n = new gf(e.doc ? e.doc.type.schema : e.schema, e.plugins), r = new mi(n);
9634
9643
  for (let i = 0; i < n.fields.length; i++)
9635
9644
  r[n.fields[i].name] = n.fields[i].init(e, r);
9636
9645
  return r;
@@ -9644,7 +9653,7 @@ class mi {
9644
9653
  configuration object..
9645
9654
  */
9646
9655
  reconfigure(e) {
9647
- let n = new bf(this.schema, e.plugins), r = n.fields, i = new mi(n);
9656
+ let n = new gf(this.schema, e.plugins), r = n.fields, i = new mi(n);
9648
9657
  for (let a = 0; a < r.length; a++) {
9649
9658
  let o = r[a].name;
9650
9659
  i[o] = this.hasOwnProperty(o) ? this[o] : r[a].init(e, i);
@@ -9681,7 +9690,7 @@ class mi {
9681
9690
  throw new RangeError("Invalid input for EditorState.fromJSON");
9682
9691
  if (!e.schema)
9683
9692
  throw new RangeError("Required config field 'schema' missing");
9684
- let i = new bf(e.schema, e.plugins), a = new mi(i);
9693
+ let i = new gf(e.schema, e.plugins), a = new mi(i);
9685
9694
  return i.fields.forEach((o) => {
9686
9695
  if (o.name == "doc")
9687
9696
  a.doc = Yt.fromJSON(e.schema, n.doc);
@@ -9724,9 +9733,9 @@ class Ie {
9724
9733
  return e[this.key];
9725
9734
  }
9726
9735
  }
9727
- const wf = /* @__PURE__ */ Object.create(null);
9736
+ const bf = /* @__PURE__ */ Object.create(null);
9728
9737
  function lm(t) {
9729
- return t in wf ? t + "$" + ++wf[t] : (wf[t] = 0, t + "$");
9738
+ return t in bf ? t + "$" + ++bf[t] : (bf[t] = 0, t + "$");
9730
9739
  }
9731
9740
  class Re {
9732
9741
  /**
@@ -9768,7 +9777,7 @@ const cm = (t, e, n) => {
9768
9777
  return !0;
9769
9778
  if (r.parent.content.size == 0 && (Ni(a, "end") || Z.isSelectable(a)))
9770
9779
  for (let o = r.depth; ; o--) {
9771
- let s = Ll(t.doc, r.before(o), r.after(o), W.empty);
9780
+ let s = xl(t.doc, r.before(o), r.after(o), W.empty);
9772
9781
  if (s && s.slice.size < s.to - s.from) {
9773
9782
  if (e) {
9774
9783
  let l = t.tr.step(s);
@@ -9812,7 +9821,7 @@ function dm(t, e, n) {
9812
9821
  return !1;
9813
9822
  s = d;
9814
9823
  }
9815
- let c = Ll(t.doc, a, l, W.empty);
9824
+ let c = xl(t.doc, a, l, W.empty);
9816
9825
  if (!c || c.from != a || c instanceof ze && c.slice.size >= l - a)
9817
9826
  return !1;
9818
9827
  if (n) {
@@ -9867,7 +9876,7 @@ const pm = (t, e, n) => {
9867
9876
  if (ym(t, i, e, 1))
9868
9877
  return !0;
9869
9878
  if (r.parent.content.size == 0 && (Ni(a, "start") || Z.isSelectable(a))) {
9870
- let o = Ll(t.doc, r.before(), r.after(), W.empty);
9879
+ let o = xl(t.doc, r.before(), r.after(), W.empty);
9871
9880
  if (o && o.slice.size < o.to - o.from) {
9872
9881
  if (e) {
9873
9882
  let s = t.tr.step(o);
@@ -9906,7 +9915,7 @@ const aC = (t, e) => {
9906
9915
  if (n.node.isTextblock || !lr(t.doc, n.from))
9907
9916
  return !1;
9908
9917
  i = n.from;
9909
- } else if (i = xl(t.doc, n.from, -1), i == null)
9918
+ } else if (i = Ml(t.doc, n.from, -1), i == null)
9910
9919
  return !1;
9911
9920
  if (e) {
9912
9921
  let a = t.tr.join(i);
@@ -9919,7 +9928,7 @@ const aC = (t, e) => {
9919
9928
  if (n.node.isTextblock || !lr(t.doc, n.to))
9920
9929
  return !1;
9921
9930
  r = n.to;
9922
- } else if (r = xl(t.doc, n.to, 1), r == null)
9931
+ } else if (r = Ml(t.doc, n.to, 1), r == null)
9923
9932
  return !1;
9924
9933
  return e && e(t.tr.join(r).scrollIntoView()), !0;
9925
9934
  }, sC = (t, e) => {
@@ -10198,12 +10207,12 @@ const Ke = function(t) {
10198
10207
  let e = t.assignedSlot || t.parentNode;
10199
10208
  return e && e.nodeType == 11 ? e.host : e;
10200
10209
  };
10201
- let uc = null;
10210
+ let dc = null;
10202
10211
  const Nn = function(t, e, n) {
10203
- let r = uc || (uc = document.createRange());
10212
+ let r = dc || (dc = document.createRange());
10204
10213
  return r.setEnd(t, n ?? t.nodeValue.length), r.setStart(t, e || 0), r;
10205
10214
  }, xC = function() {
10206
- uc = null;
10215
+ dc = null;
10207
10216
  }, Fr = function(t, e, n, r) {
10208
10217
  return n && (kh(t, e, n, r, -1) || kh(t, e, n, r, 1));
10209
10218
  }, LC = /^(img|br|input|textarea|hr)$/i;
@@ -10276,7 +10285,7 @@ function no(t) {
10276
10285
  ;
10277
10286
  return e && e.node && e.node.isBlock && (e.dom == t || e.contentDOM == t);
10278
10287
  }
10279
- const kl = function(t) {
10288
+ const Nl = function(t) {
10280
10289
  return t.focusNode && Fr(t.focusNode, t.focusOffset, t.anchorNode, t.anchorOffset);
10281
10290
  };
10282
10291
  function Cr(t, e) {
@@ -10303,9 +10312,9 @@ function AC(t, e, n) {
10303
10312
  return { node: r.startContainer, offset: Math.min(Vt(r.startContainer), r.startOffset) };
10304
10313
  }
10305
10314
  }
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);
10315
+ 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
10316
  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;
10317
+ 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
10318
  function TC(t) {
10310
10319
  let e = t.defaultView && t.defaultView.visualViewport;
10311
10320
  return e ? {
@@ -10543,14 +10552,14 @@ function Im(t, e, n) {
10543
10552
  if (a == null && i && (n < 0 || i == Vt(r))) {
10544
10553
  let l = r.childNodes[i - 1];
10545
10554
  if (l.nodeType == 1)
10546
- return yf(l.getBoundingClientRect(), !1);
10555
+ return wf(l.getBoundingClientRect(), !1);
10547
10556
  }
10548
10557
  if (a == null && i < Vt(r)) {
10549
10558
  let l = r.childNodes[i];
10550
10559
  if (l.nodeType == 1)
10551
- return yf(l.getBoundingClientRect(), !0);
10560
+ return wf(l.getBoundingClientRect(), !0);
10552
10561
  }
10553
- return yf(r.getBoundingClientRect(), n >= 0);
10562
+ return wf(r.getBoundingClientRect(), n >= 0);
10554
10563
  }
10555
10564
  if (a == null && i && (n < 0 || i == Vt(r))) {
10556
10565
  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 +10582,7 @@ function qi(t, e) {
10573
10582
  let n = e ? t.left : t.right;
10574
10583
  return { top: t.top, bottom: t.bottom, left: n, right: n };
10575
10584
  }
10576
- function yf(t, e) {
10585
+ function wf(t, e) {
10577
10586
  if (t.height == 0)
10578
10587
  return t;
10579
10588
  let n = e ? t.top : t.bottom;
@@ -11070,7 +11079,7 @@ class Vr extends io {
11070
11079
  }
11071
11080
  slice(e, n, r) {
11072
11081
  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));
11082
+ n < o && (a = gc(a, n, o, r)), e > 0 && (a = gc(a, 0, e, r));
11074
11083
  for (let s = 0; s < a.length; s++)
11075
11084
  a[s].parent = i;
11076
11085
  return i.children = a, i;
@@ -11110,7 +11119,7 @@ class _n extends io {
11110
11119
  } else d || ({ dom: d, contentDOM: u } = Jr.renderSpec(document, n.type.spec.toDOM(n), null, n.attrs));
11111
11120
  !u && !n.isText && d.nodeName != "BR" && (d.hasAttribute("contenteditable") || (d.contentEditable = "false"), n.type.spec.draggable && (d.draggable = !0));
11112
11121
  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);
11122
+ 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
11123
  }
11115
11124
  parseRule() {
11116
11125
  if (this.node.type.spec.reparseInView)
@@ -11180,7 +11189,7 @@ class _n extends io {
11180
11189
  a.pmViewDesc && (a.pmViewDesc = void 0);
11181
11190
  }
11182
11191
  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);
11192
+ e.input.compositionNodes.push(o), this.children = gc(this.children, r, r + i.length, e, o);
11184
11193
  }
11185
11194
  // If this desc must be updated to match the given node decoration,
11186
11195
  // do so and return true.
@@ -11194,7 +11203,7 @@ class _n extends io {
11194
11203
  if (hs(e, this.outerDeco))
11195
11204
  return;
11196
11205
  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;
11206
+ 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
11207
  }
11199
11208
  // Mark this node as being the selected node.
11200
11209
  selectNode() {
@@ -11213,7 +11222,7 @@ function Rh(t, e, n, r, i) {
11213
11222
  let a = new _n(void 0, t, e, n, r, r, r, i, 0);
11214
11223
  return a.contentDOM && a.updateChildren(i, 0), a;
11215
11224
  }
11216
- class Sl extends _n {
11225
+ class kl extends _n {
11217
11226
  constructor(e, n, r, i, a, o, s) {
11218
11227
  super(e, n, r, i, a, null, o, s, 0);
11219
11228
  }
@@ -11244,7 +11253,7 @@ class Sl extends _n {
11244
11253
  }
11245
11254
  slice(e, n, r) {
11246
11255
  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);
11256
+ return new kl(this.parent, i, this.outerDeco, this.innerDeco, a, a, r);
11248
11257
  }
11249
11258
  markDirty(e, n) {
11250
11259
  super.markDirty(e, n), this.dom != this.nodeDOM && (e == 0 || n == this.nodeDOM.nodeValue.length) && (this.dirty = un);
@@ -11328,7 +11337,7 @@ const ha = function(t) {
11328
11337
  };
11329
11338
  ha.prototype = /* @__PURE__ */ Object.create(null);
11330
11339
  const Nr = [new ha()];
11331
- function gc(t, e, n) {
11340
+ function mc(t, e, n) {
11332
11341
  if (t.length == 0)
11333
11342
  return Nr;
11334
11343
  let r = n ? Nr[0] : new ha(), i = [r];
@@ -11381,7 +11390,7 @@ function KC(t, e, n) {
11381
11390
  }
11382
11391
  }
11383
11392
  function Rm(t, e, n) {
11384
- return Dm(t, t, Nr, gc(e, n, t.nodeType != 1));
11393
+ return Dm(t, t, Nr, mc(e, n, t.nodeType != 1));
11385
11394
  }
11386
11395
  function hs(t, e) {
11387
11396
  if (t.length != e.length)
@@ -11530,7 +11539,7 @@ class qC {
11530
11539
  for (; e instanceof Vr; )
11531
11540
  n = e, e = n.children[n.children.length - 1];
11532
11541
  (!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));
11542
+ !(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
11543
  }
11535
11544
  addHackNode(e, n) {
11536
11545
  if (n == this.top && this.index < n.children.length && n.children[this.index].matchesHack(e))
@@ -11654,7 +11663,7 @@ function eM(t, e, n, r) {
11654
11663
  }
11655
11664
  return -1;
11656
11665
  }
11657
- function bc(t, e, n, r, i) {
11666
+ function gc(t, e, n, r, i) {
11658
11667
  let a = [];
11659
11668
  for (let o = 0, s = 0; o < t.length; o++) {
11660
11669
  let l = t[o], c = s, d = s += l.size;
@@ -11670,7 +11679,7 @@ function Nd(t, e = null) {
11670
11679
  if (o < 0)
11671
11680
  return null;
11672
11681
  let s = r.resolve(o), l, c;
11673
- if (kl(n)) {
11682
+ if (Nl(n)) {
11674
11683
  for (l = o; i && !i.node; )
11675
11684
  i = i.parent;
11676
11685
  let u = i.node;
@@ -11726,15 +11735,15 @@ const zh = ot || _e && Mm < 63;
11726
11735
  function Ph(t, e) {
11727
11736
  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
11737
  if (ot && i && i.contentEditable == "false")
11729
- return vf(i);
11738
+ return yf(i);
11730
11739
  if ((!i || i.contentEditable == "false") && (!a || a.contentEditable == "false")) {
11731
11740
  if (i)
11732
- return vf(i);
11741
+ return yf(i);
11733
11742
  if (a)
11734
- return vf(a);
11743
+ return yf(a);
11735
11744
  }
11736
11745
  }
11737
- function vf(t) {
11746
+ function yf(t) {
11738
11747
  return t.contentEditable = "true", ot && t.draggable && (t.draggable = !1, t.wasDraggable = !0), t;
11739
11748
  }
11740
11749
  function Bh(t) {
@@ -11787,7 +11796,7 @@ function rM(t) {
11787
11796
  let e = t.docView.domFromPos(t.state.selection.anchor, 0), n = t.domSelectionRange();
11788
11797
  return Fr(e.node, e.offset, n.anchorNode, n.anchorOffset);
11789
11798
  }
11790
- function wc(t, e) {
11799
+ function bc(t, e) {
11791
11800
  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
11801
  return a && se.findFrom(a, e);
11793
11802
  }
@@ -11805,7 +11814,7 @@ function Yh(t, e, n) {
11805
11814
  return Un(t, new ee(r.$anchor, o));
11806
11815
  } else if (r.empty) {
11807
11816
  if (t.endOfTextblock(e > 0 ? "forward" : "backward")) {
11808
- let i = wc(t.state, e);
11817
+ let i = bc(t.state, e);
11809
11818
  return i && i instanceof Z ? Un(t, i) : !1;
11810
11819
  } else if (!(Bt && n.indexOf("m") > -1)) {
11811
11820
  let i = r.$head, a = i.textOffset ? null : e < 0 ? i.nodeBefore : i.nodeAfter, o;
@@ -11819,7 +11828,7 @@ function Yh(t, e, n) {
11819
11828
  if (r instanceof Z && r.node.isInline)
11820
11829
  return Un(t, new ee(e > 0 ? r.$to : r.$from));
11821
11830
  {
11822
- let i = wc(t.state, e);
11831
+ let i = bc(t.state, e);
11823
11832
  return i ? Un(t, i) : !1;
11824
11833
  }
11825
11834
  }
@@ -11868,7 +11877,7 @@ function iM(t) {
11868
11877
  }
11869
11878
  }
11870
11879
  }
11871
- o ? yc(t, n, r) : i && yc(t, i, a);
11880
+ o ? wc(t, n, r) : i && wc(t, i, a);
11872
11881
  }
11873
11882
  function aM(t) {
11874
11883
  let e = t.domSelectionRange(), n = e.focusNode, r = e.focusOffset;
@@ -11900,7 +11909,7 @@ function aM(t) {
11900
11909
  }
11901
11910
  }
11902
11911
  }
11903
- a && yc(t, a, o);
11912
+ a && wc(t, a, o);
11904
11913
  }
11905
11914
  function Bm(t) {
11906
11915
  let e = t.pmViewDesc;
@@ -11930,7 +11939,7 @@ function sM(t, e) {
11930
11939
  t = n, e = t.childNodes.length;
11931
11940
  }
11932
11941
  }
11933
- function yc(t, e, n) {
11942
+ function wc(t, e, n) {
11934
11943
  if (e.nodeType != 3) {
11935
11944
  let a, o;
11936
11945
  (o = oM(e, n)) ? (e = o, n = 0) : (a = sM(e, n)) && (e = a, n = a.nodeValue.length);
@@ -11938,7 +11947,7 @@ function yc(t, e, n) {
11938
11947
  let r = t.domSelection();
11939
11948
  if (!r)
11940
11949
  return;
11941
- if (kl(r)) {
11950
+ if (Nl(r)) {
11942
11951
  let a = document.createRange();
11943
11952
  a.setEnd(e, n), a.setStart(e, n), r.removeAllRanges(), r.addRange(a);
11944
11953
  } else r.extend && r.extend(e, n);
@@ -11971,7 +11980,7 @@ function Wh(t, e, n) {
11971
11980
  return !1;
11972
11981
  let { $from: i, $to: a } = r;
11973
11982
  if (!i.parent.inlineContent || t.endOfTextblock(e < 0 ? "up" : "down")) {
11974
- let o = wc(t.state, e);
11983
+ let o = bc(t.state, e);
11975
11984
  if (o && o instanceof Z)
11976
11985
  return Un(t, o);
11977
11986
  }
@@ -12168,12 +12177,12 @@ function Um(t, e) {
12168
12177
  let n = t.content.replaceChild(t.childCount - 1, Um(t.lastChild, e - 1)), r = t.contentMatchAt(t.childCount).fillBefore(O.empty, !0);
12169
12178
  return t.copy(n.append(r));
12170
12179
  }
12171
- function vc(t, e, n, r, i, a) {
12180
+ function yc(t, e, n, r, i, a) {
12172
12181
  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));
12182
+ 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
12183
  }
12175
12184
  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;
12185
+ 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
12186
  }
12178
12187
  const Wm = {
12179
12188
  thead: ["table"],
@@ -12190,10 +12199,10 @@ let Jh = null;
12190
12199
  function Hm() {
12191
12200
  return Jh || (Jh = document.implementation.createHTMLDocument("title"));
12192
12201
  }
12193
- let Cf = null;
12202
+ let vf = null;
12194
12203
  function hM(t) {
12195
12204
  let e = window.trustedTypes;
12196
- return e ? (Cf || (Cf = e.defaultPolicy || e.createPolicy("ProseMirrorClipboard", { createHTML: (n) => n })), Cf.createHTML(t)) : t;
12205
+ return e ? (vf || (vf = e.defaultPolicy || e.createPolicy("ProseMirrorClipboard", { createHTML: (n) => n })), vf.createHTML(t)) : t;
12197
12206
  }
12198
12207
  function pM(t) {
12199
12208
  let e = /^(\s*<meta [^>]*>)*/.exec(t);
@@ -12242,7 +12251,7 @@ function yM(t) {
12242
12251
  CM(t, r) && !Id(t, r) && (t.editable || !(r.type in ht)) && n(t, r);
12243
12252
  }, bM[e] ? { passive: !0 } : void 0);
12244
12253
  }
12245
- ot && t.dom.addEventListener("input", () => null), Cc(t);
12254
+ ot && t.dom.addEventListener("input", () => null), vc(t);
12246
12255
  }
12247
12256
  function qn(t, e) {
12248
12257
  t.input.lastSelectionOrigin = e, t.input.lastSelectionTime = Date.now();
@@ -12253,7 +12262,7 @@ function vM(t) {
12253
12262
  t.dom.removeEventListener(e, t.input.eventHandlers[e]);
12254
12263
  clearTimeout(t.input.composingTimeout), clearTimeout(t.input.lastIOSEnterFallbackTimeout);
12255
12264
  }
12256
- function Cc(t) {
12265
+ function vc(t) {
12257
12266
  t.someProp("handleDOMEvents", (e) => {
12258
12267
  for (let n in e)
12259
12268
  t.input.eventHandlers[n] || t.dom.addEventListener(n, t.input.eventHandlers[n] = (r) => Id(t, r));
@@ -12305,7 +12314,7 @@ ht.keypress = (t, e) => {
12305
12314
  !/[\r\n]/.test(i) && !t.someProp("handleTextInput", (o) => o(t, r.$from.pos, r.$to.pos, i, a)) && t.dispatch(a()), n.preventDefault();
12306
12315
  }
12307
12316
  };
12308
- function Il(t) {
12317
+ function Sl(t) {
12309
12318
  return { left: t.clientX, top: t.clientY };
12310
12319
  }
12311
12320
  function xM(t, e) {
@@ -12384,7 +12393,7 @@ ut.mousedown = (t, e) => {
12384
12393
  t.input.shiftKey = n.shiftKey;
12385
12394
  let r = Ed(t), i = Date.now(), a = "singleClick";
12386
12395
  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));
12396
+ let o = t.posAtCoords(Sl(n));
12388
12397
  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
12398
  };
12390
12399
  class EM {
@@ -12416,7 +12425,7 @@ class EM {
12416
12425
  if (this.done(), !this.view.dom.contains(e.target))
12417
12426
  return;
12418
12427
  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
12428
+ 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
12429
  ot && this.mightDrag && !this.mightDrag.node.isAtom || // Chrome will sometimes treat a node selection as a
12421
12430
  // cursor, but still report that the node is selected
12422
12431
  // when asked through getSelection. You'll then get a
@@ -12587,7 +12596,7 @@ ut.dragstart = (t, e) => {
12587
12596
  let n = e, r = t.input.mouseDown;
12588
12597
  if (r && r.done(), !n.dataTransfer)
12589
12598
  return;
12590
- let i = t.state.selection, a = i.empty ? null : t.posAtCoords(Il(n)), o;
12599
+ let i = t.state.selection, a = i.empty ? null : t.posAtCoords(Sl(n)), o;
12591
12600
  if (!(a && a.pos >= i.from && a.pos <= (i instanceof Z ? i.to - 1 : i.to))) {
12592
12601
  if (r && r.mightDrag)
12593
12602
  o = Z.create(t.state.doc, r.mightDrag.pos);
@@ -12616,7 +12625,7 @@ ht.drop = (t, e) => {
12616
12625
  function FM(t, e, n) {
12617
12626
  if (!e.dataTransfer)
12618
12627
  return;
12619
- let r = t.posAtCoords(Il(e));
12628
+ let r = t.posAtCoords(Sl(e));
12620
12629
  if (!r)
12621
12630
  return;
12622
12631
  let i = t.state.doc.resolve(r.pos), a = n && n.slice;
@@ -13174,7 +13183,7 @@ function Kh(t, e, n) {
13174
13183
  e++;
13175
13184
  t.splice(e, 0, n);
13176
13185
  }
13177
- function Mf(t) {
13186
+ function Cf(t) {
13178
13187
  let e = [];
13179
13188
  return t.someProp("decorations", (n) => {
13180
13189
  let r = n(t.state);
@@ -13322,7 +13331,7 @@ class QM {
13322
13331
  }
13323
13332
  }
13324
13333
  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));
13334
+ 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
13335
  }
13327
13336
  registerMutation(e, n) {
13328
13337
  if (n.indexOf(e.target) > -1)
@@ -13412,7 +13421,7 @@ function qM(t, e) {
13412
13421
  }
13413
13422
  function ZM(t, e, n) {
13414
13423
  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)
13424
+ 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
13425
  for (let w = a; w > i; w--) {
13417
13426
  let v = r.childNodes[w - 1], M = v.pmViewDesc;
13418
13427
  if (v.nodeName == "BR" && !M) {
@@ -13555,7 +13564,7 @@ function tx(t, e, n, r, i) {
13555
13564
  if (
13556
13565
  // The content must have shrunk
13557
13566
  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
13567
+ Mf(r, !0, !1) < i.pos
13559
13568
  )
13560
13569
  return !1;
13561
13570
  let a = t.resolve(e);
@@ -13565,10 +13574,10 @@ function tx(t, e, n, r, i) {
13565
13574
  }
13566
13575
  if (a.parentOffset < a.parent.content.size || !a.parent.isTextblock)
13567
13576
  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);
13577
+ let o = t.resolve(Mf(a, !0, !0));
13578
+ return !o.parent.isTextblock || o.pos > n || Mf(o, !0, !1) < n ? !1 : r.parent.content.cut(r.parentOffset).eq(o.parent.content);
13570
13579
  }
13571
- function xf(t, e, n) {
13580
+ function Mf(t, e, n) {
13572
13581
  let r = t.depth, i = e ? t.end() : t.pos;
13573
13582
  for (; r > 0 && (e || t.indexAfter(r) == t.node(r).childCount); )
13574
13583
  r--, i++, e = !1;
@@ -13612,7 +13621,7 @@ class tg {
13612
13621
  added to the document.
13613
13622
  */
13614
13623
  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();
13624
+ 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
13625
  }
13617
13626
  /**
13618
13627
  Holds `true` when a
@@ -13640,7 +13649,7 @@ class tg {
13640
13649
  the DOM.
13641
13650
  */
13642
13651
  update(e) {
13643
- e.handleDOMEvents != this._props.handleDOMEvents && Cc(this);
13652
+ e.handleDOMEvents != this._props.handleDOMEvents && vc(this);
13644
13653
  let n = this._props;
13645
13654
  this._props = e, e.plugins && (e.plugins.forEach(ip), this.directPlugins = e.plugins), this.updateStateInner(e.state, n);
13646
13655
  }
@@ -13674,8 +13683,8 @@ class tg {
13674
13683
  let h = rp(this);
13675
13684
  ix(h, this.nodeViews) && (this.nodeViews = h, a = !0);
13676
13685
  }
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);
13686
+ (s || n.handleDOMEvents != this._props.handleDOMEvents) && vc(this), this.editable = np(this), tp(this);
13687
+ 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
13688
  (u || !e.selection.eq(i.selection)) && (o = !0);
13680
13689
  let p = d == "preserve" && o && this.dom.style.overflowAnchor == null && DC(this);
13681
13690
  if (o) {
@@ -13905,7 +13914,7 @@ class tg {
13905
13914
  views](https://prosemirror.net/docs/ref/#view.NodeView).
13906
13915
  */
13907
13916
  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());
13917
+ 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
13918
  }
13910
13919
  /**
13911
13920
  This is true when the view has been
@@ -14067,7 +14076,7 @@ for (var qe = 0; qe < 10; qe++) rr[48 + qe] = rr[96 + qe] = String(qe);
14067
14076
  for (var qe = 1; qe <= 24; qe++) rr[qe + 111] = "F" + qe;
14068
14077
  for (var qe = 65; qe <= 90; qe++)
14069
14078
  rr[qe] = String.fromCharCode(qe + 32), ws[qe] = String.fromCharCode(qe);
14070
- for (var Lf in rr) ws.hasOwnProperty(Lf) || (ws[Lf] = rr[Lf]);
14079
+ for (var xf in rr) ws.hasOwnProperty(xf) || (ws[xf] = rr[xf]);
14071
14080
  function sx(t) {
14072
14081
  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
14082
  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 +14109,7 @@ function dx(t) {
14100
14109
  e[cx(n)] = t[n];
14101
14110
  return e;
14102
14111
  }
14103
- function Nf(t, e, n = !0) {
14112
+ function Lf(t, e, n = !0) {
14104
14113
  return e.altKey && (t = "Alt-" + t), e.ctrlKey && (t = "Ctrl-" + t), e.metaKey && (t = "Meta-" + t), n && e.shiftKey && (t = "Shift-" + t), t;
14105
14114
  }
14106
14115
  function ux(t) {
@@ -14109,18 +14118,18 @@ function ux(t) {
14109
14118
  function ng(t) {
14110
14119
  let e = dx(t);
14111
14120
  return function(n, r) {
14112
- let i = sx(r), a, o = e[Nf(i, r)];
14121
+ let i = sx(r), a, o = e[Lf(i, r)];
14113
14122
  if (o && o(n.state, n.dispatch, n))
14114
14123
  return !0;
14115
14124
  if (i.length == 1 && i != " ") {
14116
14125
  if (r.shiftKey) {
14117
- let s = e[Nf(i, r, !1)];
14126
+ let s = e[Lf(i, r, !1)];
14118
14127
  if (s && s(n.state, n.dispatch, n))
14119
14128
  return !0;
14120
14129
  }
14121
14130
  if ((r.altKey || r.metaKey || r.ctrlKey) && // Ctrl-Alt may be used for AltGr on Windows
14122
14131
  !(fx && r.ctrlKey && r.altKey) && (a = rr[r.keyCode]) && a != i) {
14123
- let s = e[Nf(a, r)];
14132
+ let s = e[Lf(a, r)];
14124
14133
  if (s && s(n.state, n.dispatch, n))
14125
14134
  return !0;
14126
14135
  }
@@ -14132,7 +14141,7 @@ var hx = Object.defineProperty, Dd = (t, e) => {
14132
14141
  for (var n in e)
14133
14142
  hx(t, n, { get: e[n], enumerable: !0 });
14134
14143
  };
14135
- function Al(t) {
14144
+ function Il(t) {
14136
14145
  const { state: e, transaction: n } = t;
14137
14146
  let { selection: r } = n, { doc: i } = n, { storedMarks: a } = n;
14138
14147
  return {
@@ -14157,7 +14166,7 @@ function Al(t) {
14157
14166
  }
14158
14167
  };
14159
14168
  }
14160
- var El = class {
14169
+ var Al = class {
14161
14170
  constructor(t) {
14162
14171
  this.editor = t.editor, this.rawCommands = this.editor.extensionManager.commands, this.customState = t.state;
14163
14172
  }
@@ -14208,7 +14217,7 @@ var El = class {
14208
14217
  tr: t,
14209
14218
  editor: r,
14210
14219
  view: a,
14211
- state: Al({
14220
+ state: Il({
14212
14221
  state: i,
14213
14222
  transaction: t
14214
14223
  }),
@@ -14607,14 +14616,14 @@ var Dx = (t) => !("type" in t), Rx = (t, e, n) => ({ tr: r, dispatch: i, editor:
14607
14616
  return !0;
14608
14617
  }, 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
14618
  try {
14610
- const r = xl(t.doc, t.selection.$from.pos, -1);
14619
+ const r = Ml(t.doc, t.selection.$from.pos, -1);
14611
14620
  return r == null ? !1 : (n.join(r, 2), e && e(n), !0);
14612
14621
  } catch {
14613
14622
  return !1;
14614
14623
  }
14615
14624
  }, Vx = () => ({ state: t, dispatch: e, tr: n }) => {
14616
14625
  try {
14617
- const r = xl(t.doc, t.selection.$from.pos, 1);
14626
+ const r = Ml(t.doc, t.selection.$from.pos, 1);
14618
14627
  return r == null ? !1 : (n.join(r, 2), e && e(n), !0);
14619
14628
  } catch {
14620
14629
  return !1;
@@ -14684,7 +14693,7 @@ var Qx = (t, e = {}) => ({ state: n, dispatch: r }) => {
14684
14693
  const r = Ue(t, e.schema);
14685
14694
  return yC(r)(e, n);
14686
14695
  }, Kx = () => ({ state: t, dispatch: e }) => gm(t, e);
14687
- function Tl(t, e) {
14696
+ function El(t, e) {
14688
14697
  return e.nodes[t] ? "node" : e.marks[t] ? "mark" : null;
14689
14698
  }
14690
14699
  function sp(t, e) {
@@ -14693,7 +14702,7 @@ function sp(t, e) {
14693
14702
  }
14694
14703
  var qx = (t, e) => ({ tr: n, state: r, dispatch: i }) => {
14695
14704
  let a = null, o = null;
14696
- const s = Tl(
14705
+ const s = El(
14697
14706
  typeof t == "string" ? t : t.name,
14698
14707
  r.schema
14699
14708
  );
@@ -14715,7 +14724,7 @@ var qx = (t, e) => ({ tr: n, state: r, dispatch: i }) => {
14715
14724
  }
14716
14725
  return !0;
14717
14726
  }, _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 = {}) {
14727
+ function Cc(t, e, n = {}, r = {}) {
14719
14728
  return Fa(t, e, {
14720
14729
  slice: !1,
14721
14730
  parseOptions: n,
@@ -14725,7 +14734,7 @@ function Mc(t, e, n = {}, r = {}) {
14725
14734
  var r6 = (t, { errorOnInvalidContent: e, emitUpdate: n = !0, parseOptions: r = {} } = {}) => ({ editor: i, tr: a, dispatch: o, commands: s }) => {
14726
14735
  const { doc: l } = a;
14727
14736
  if (r.preserveWhitespace !== "full") {
14728
- const c = Mc(t, i.schema, r, {
14737
+ const c = Cc(t, i.schema, r, {
14729
14738
  errorOnInvalidContent: e ?? i.options.enableContentCheck
14730
14739
  });
14731
14740
  return o && a.replaceWith(0, l.content.size, c).setMeta("preventUpdate", !n), !0;
@@ -14780,7 +14789,7 @@ function o6(t, e) {
14780
14789
  };
14781
14790
  }
14782
14791
  }
14783
- function jl(t) {
14792
+ function Tl(t) {
14784
14793
  return (e) => o6(e.$from, t);
14785
14794
  }
14786
14795
  function q(t, e, n) {
@@ -15122,7 +15131,7 @@ function h6(t, e) {
15122
15131
  return o ? { ...o.attrs } : {};
15123
15132
  }
15124
15133
  function gg(t, e) {
15125
- const n = Tl(
15134
+ const n = El(
15126
15135
  typeof e == "string" ? e : e.name,
15127
15136
  t.schema
15128
15137
  );
@@ -15220,7 +15229,7 @@ var b6 = (t, e = 500) => {
15220
15229
  n += i.isAtom && !i.isText ? d : d.slice(0, Math.max(0, r - a));
15221
15230
  }), n;
15222
15231
  };
15223
- function xc(t, e, n = {}) {
15232
+ function Mc(t, e, n = {}) {
15224
15233
  const { empty: r, ranges: i } = t.selection, a = e ? Pn(e, t.schema) : null;
15225
15234
  if (r)
15226
15235
  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 +15258,14 @@ function xc(t, e, n = {}) {
15249
15258
  }
15250
15259
  function w6(t, e, n = {}) {
15251
15260
  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;
15261
+ return ir(t, null, n) || Mc(t, null, n);
15262
+ const r = El(e, t.schema);
15263
+ return r === "node" ? ir(t, e, n) : r === "mark" ? Mc(t, e, n) : !1;
15255
15264
  }
15256
15265
  var y6 = (t, e) => {
15257
15266
  const { $from: n, $to: r, $anchor: i } = t.selection;
15258
15267
  if (e) {
15259
- const a = jl((s) => s.type.name === e)(t.selection);
15268
+ const a = Tl((s) => s.type.name === e)(t.selection);
15260
15269
  if (!a)
15261
15270
  return !1;
15262
15271
  const o = t.doc.resolve(a.pos + 1);
@@ -15270,7 +15279,7 @@ var y6 = (t, e) => {
15270
15279
  function up(t, e) {
15271
15280
  return Array.isArray(e) ? e.some((n) => (typeof n == "string" ? n : n.name) === t.name) : e;
15272
15281
  }
15273
- function kf(t, e) {
15282
+ function Nf(t, e) {
15274
15283
  const { nodeExtensions: n } = Ii(e), r = n.find((o) => o.name === t);
15275
15284
  if (!r)
15276
15285
  return !1;
@@ -15281,7 +15290,7 @@ function kf(t, e) {
15281
15290
  }, a = be(q(r, "group", i));
15282
15291
  return typeof a != "string" ? !1 : a.split(" ").includes("list");
15283
15292
  }
15284
- function Dl(t, {
15293
+ function jl(t, {
15285
15294
  checkChildren: e = !0,
15286
15295
  ignoreWhitespace: n = !1
15287
15296
  } = {}) {
@@ -15301,7 +15310,7 @@ function Dl(t, {
15301
15310
  if (e) {
15302
15311
  let i = !0;
15303
15312
  return t.content.forEach((a) => {
15304
- i !== !1 && (Dl(a, { ignoreWhitespace: n, checkChildren: e }) || (i = !1));
15313
+ i !== !1 && (jl(a, { ignoreWhitespace: n, checkChildren: e }) || (i = !1));
15305
15314
  }), i;
15306
15315
  }
15307
15316
  return !1;
@@ -15509,8 +15518,8 @@ var T6 = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, editor
15509
15518
  n.ensureMarks(L);
15510
15519
  }
15511
15520
  return !0;
15512
- }, Sf = (t, e) => {
15513
- const n = jl((o) => o.type === e)(t.selection);
15521
+ }, kf = (t, e) => {
15522
+ const n = Tl((o) => o.type === e)(t.selection);
15514
15523
  if (!n)
15515
15524
  return !0;
15516
15525
  const r = t.doc.resolve(Math.max(0, n.pos - 1)).before(n.depth);
@@ -15518,8 +15527,8 @@ var T6 = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, editor
15518
15527
  return !0;
15519
15528
  const i = t.doc.nodeAt(r);
15520
15529
  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);
15530
+ }, Sf = (t, e) => {
15531
+ const n = Tl((o) => o.type === e)(t.selection);
15523
15532
  if (!n)
15524
15533
  return !0;
15525
15534
  const r = t.doc.resolve(n.start).after(n.depth);
@@ -15539,7 +15548,7 @@ var R6 = (t, e, n, r = {}) => ({ editor: i, tr: a, state: o, dispatch: s, chain:
15539
15548
  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
15549
  if (!x)
15541
15550
  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) ? {
15551
+ 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
15552
  node: A,
15544
15553
  pos: 0
15545
15554
  } : null, S = L ?? j, R = !!L && x.depth >= 1 && x.depth - L.depth <= 1, Y = !!j;
@@ -15549,16 +15558,16 @@ var R6 = (t, e, n, r = {}) => ({ editor: i, tr: a, state: o, dispatch: s, chain:
15549
15558
  const H = D6(V);
15550
15559
  return H ? (V.setSelection(H), B && B(V), !0) : !1;
15551
15560
  }).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();
15561
+ if (Nf(S.node.type.name, u) && h.validContent(S.node.content))
15562
+ return l().command(() => (a.setNodeMarkup(S.pos, h), !0)).command(() => kf(a, h)).command(() => Sf(a, h)).run();
15554
15563
  }
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(() => {
15564
+ 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
15565
  const V = d().wrapInList(h, r), B = y.filter((H) => p.includes(H.type.name));
15557
15566
  return a.ensureMarks(B), V ? !0 : c.clearNodes();
15558
- }).wrapInList(h, r).command(() => Sf(a, h)).command(() => If(a, h)).run();
15567
+ }).wrapInList(h, r).command(() => kf(a, h)).command(() => Sf(a, h)).run();
15559
15568
  }, O6 = (t, e = {}, n = {}) => ({ state: r, commands: i }) => {
15560
15569
  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);
15570
+ return Mc(r, o, e) ? i.unsetMark(o, { extendEmptyMarkRange: a }) : i.setMark(o, e);
15562
15571
  }, z6 = (t, e, n = {}) => ({ state: r, commands: i }) => {
15563
15572
  const a = Ue(t, r.schema), o = Ue(e, r.schema), s = ir(r, a, n);
15564
15573
  let l;
@@ -15616,7 +15625,7 @@ var R6 = (t, e, n, r = {}) => ({ editor: i, tr: a, state: o, dispatch: s, chain:
15616
15625
  }), !0;
15617
15626
  }, U6 = (t, e = {}) => ({ tr: n, state: r, dispatch: i }) => {
15618
15627
  let a = null, o = null;
15619
- const s = Tl(
15628
+ const s = El(
15620
15629
  typeof t == "string" ? t : t.name,
15621
15630
  r.schema
15622
15631
  );
@@ -15690,7 +15699,7 @@ var R6 = (t, e, n, r = {}) => ({ editor: i, tr: a, state: o, dispatch: s, chain:
15690
15699
  removeAllListeners() {
15691
15700
  this.callbacks = {};
15692
15701
  }
15693
- }, Rl = class {
15702
+ }, Dl = class {
15694
15703
  constructor(t) {
15695
15704
  var e;
15696
15705
  this.find = t.find, this.handler = t.handler, this.undoable = (e = t.undoable) != null ? e : !0;
@@ -15723,13 +15732,13 @@ function ko(t) {
15723
15732
  const h = G6(u, p.find);
15724
15733
  if (!h)
15725
15734
  return;
15726
- const m = l.state.tr, g = Al({
15735
+ const m = l.state.tr, g = Il({
15727
15736
  state: l.state,
15728
15737
  transaction: m
15729
15738
  }), w = {
15730
15739
  from: r - (h[0].length - a.length),
15731
15740
  to: i
15732
- }, { commands: v, chain: M, can: x } = new El({
15741
+ }, { commands: v, chain: M, can: x } = new Al({
15733
15742
  editor: n,
15734
15743
  state: g
15735
15744
  });
@@ -15919,7 +15928,7 @@ var Z6 = class {
15919
15928
  }) : [];
15920
15929
  };
15921
15930
  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({
15931
+ 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
15932
  editor: e,
15924
15933
  state: n
15925
15934
  }), u = [];
@@ -15973,7 +15982,7 @@ function eL(t) {
15973
15982
  rule: h,
15974
15983
  pasteEvt: m
15975
15984
  }) => {
15976
- const g = d.tr, w = Al({
15985
+ const g = d.tr, w = Il({
15977
15986
  state: d,
15978
15987
  transaction: g
15979
15988
  });
@@ -16056,7 +16065,7 @@ function eL(t) {
16056
16065
  }
16057
16066
  }));
16058
16067
  }
16059
- var Ol = class {
16068
+ var Rl = class {
16060
16069
  constructor(t, e) {
16061
16070
  this.splittableMarks = [], this.editor = e, this.baseExtensions = t, this.extensions = hg(t), this.schema = c6(this.extensions, e), this.setupExtensions();
16062
16071
  }
@@ -16295,9 +16304,9 @@ var Ol = class {
16295
16304
  });
16296
16305
  }
16297
16306
  };
16298
- Ol.resolve = hg;
16299
- Ol.sort = ma;
16300
- Ol.flatten = zd;
16307
+ Rl.resolve = hg;
16308
+ Rl.sort = ma;
16309
+ Rl.flatten = zd;
16301
16310
  var tL = {};
16302
16311
  Dd(tL, {
16303
16312
  ClipboardTextSerializer: () => Lg,
@@ -16535,12 +16544,12 @@ var De = class xg extends Fd {
16535
16544
  if (!r || i)
16536
16545
  return;
16537
16546
  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))
16547
+ if (a || !(o === l && s === c) || !jl(n.doc))
16539
16548
  return;
16540
- const p = n.tr, h = Al({
16549
+ const p = n.tr, h = Il({
16541
16550
  state: n,
16542
16551
  transaction: p
16543
- }), { commands: m } = new El({
16552
+ }), { commands: m } = new Al({
16544
16553
  editor: this.editor,
16545
16554
  state: h
16546
16555
  });
@@ -17048,13 +17057,13 @@ var aL = class extends Q6 {
17048
17057
  direction: this.options.textDirection
17049
17058
  })
17050
17059
  ].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);
17060
+ this.extensionManager = new Rl(r, this);
17052
17061
  }
17053
17062
  /**
17054
17063
  * Creates an command manager.
17055
17064
  */
17056
17065
  createCommandManager() {
17057
- this.commandManager = new El({
17066
+ this.commandManager = new Al({
17058
17067
  editor: this
17059
17068
  });
17060
17069
  }
@@ -17070,7 +17079,7 @@ var aL = class extends Q6 {
17070
17079
  createDoc() {
17071
17080
  let t;
17072
17081
  try {
17073
- t = Mc(this.options.content, this.schema, this.options.parseOptions, {
17082
+ t = Cc(this.options.content, this.schema, this.options.parseOptions, {
17074
17083
  errorOnInvalidContent: this.options.enableContentCheck
17075
17084
  });
17076
17085
  } catch (e) {
@@ -17082,7 +17091,7 @@ var aL = class extends Q6 {
17082
17091
  disableCollaboration: () => {
17083
17092
  "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
17093
  }
17085
- }), t = Mc(this.options.content, this.schema, this.options.parseOptions, {
17094
+ }), t = Cc(this.options.content, this.schema, this.options.parseOptions, {
17086
17095
  errorOnInvalidContent: !1
17087
17096
  });
17088
17097
  }
@@ -17225,7 +17234,7 @@ var aL = class extends Q6 {
17225
17234
  * Check if there is no content.
17226
17235
  */
17227
17236
  get isEmpty() {
17228
- return Dl(this.state.doc);
17237
+ return jl(this.state.doc);
17229
17238
  }
17230
17239
  /**
17231
17240
  * Destroy the editor.
@@ -17257,7 +17266,7 @@ var aL = class extends Q6 {
17257
17266
  }
17258
17267
  };
17259
17268
  function Ai(t) {
17260
- return new Rl({
17269
+ return new Dl({
17261
17270
  find: t.find,
17262
17271
  handler: ({ state: e, range: n, match: r }) => {
17263
17272
  const i = be(t.getAttributes, void 0, r);
@@ -17277,7 +17286,7 @@ function Ai(t) {
17277
17286
  });
17278
17287
  }
17279
17288
  function Og(t) {
17280
- return new Rl({
17289
+ return new Dl({
17281
17290
  find: t.find,
17282
17291
  handler: ({ state: e, range: n, match: r }) => {
17283
17292
  const i = be(t.getAttributes, void 0, r) || {}, { tr: a } = e, o = n.from;
@@ -17298,8 +17307,8 @@ function Og(t) {
17298
17307
  undoable: t.undoable
17299
17308
  });
17300
17309
  }
17301
- function Lc(t) {
17302
- return new Rl({
17310
+ function xc(t) {
17311
+ return new Dl({
17303
17312
  find: t.find,
17304
17313
  handler: ({ state: e, range: n, match: r }) => {
17305
17314
  const i = e.doc.resolve(n.from), a = be(t.getAttributes, void 0, r) || {};
@@ -17311,7 +17320,7 @@ function Lc(t) {
17311
17320
  });
17312
17321
  }
17313
17322
  function Ei(t) {
17314
- return new Rl({
17323
+ return new Dl({
17315
17324
  find: t.find,
17316
17325
  handler: ({ state: e, range: n, match: r, chain: i }) => {
17317
17326
  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 +17635,7 @@ Dd(cL, {
17626
17635
  createBlockMarkdownSpec: () => uL,
17627
17636
  createInlineMarkdownSpec: () => zg,
17628
17637
  parseAttributes: () => Vd,
17629
- parseIndentedBlocks: () => Nc,
17638
+ parseIndentedBlocks: () => Lc,
17630
17639
  renderNestedMarkdownContent: () => Ud,
17631
17640
  serializeAttributes: () => Yd
17632
17641
  });
@@ -17886,7 +17895,7 @@ function zg(t) {
17886
17895
  }
17887
17896
  };
17888
17897
  }
17889
- function Nc(t, e, n) {
17898
+ function Lc(t, e, n) {
17890
17899
  var r, i, a, o;
17891
17900
  const s = t.split(`
17892
17901
  `), l = [];
@@ -18024,7 +18033,7 @@ function Yr(t) {
18024
18033
  });
18025
18034
  }
18026
18035
  const { getOwnPropertyNames: gL, getOwnPropertySymbols: bL } = Object, { hasOwnProperty: wL } = Object.prototype;
18027
- function Af(t, e) {
18036
+ function If(t, e) {
18028
18037
  return function(r, i, a) {
18029
18038
  return t(r, i, a) && e(r, i, a);
18030
18039
  };
@@ -18259,13 +18268,13 @@ function XL({ circular: t, createCustomConfig: e, strict: n }) {
18259
18268
  areDatesEqual: SL,
18260
18269
  areErrorsEqual: IL,
18261
18270
  areFunctionsEqual: AL,
18262
- areMapsEqual: n ? Af(bp, Xi) : bp,
18271
+ areMapsEqual: n ? If(bp, Xi) : bp,
18263
18272
  areNumbersEqual: EL,
18264
18273
  areObjectsEqual: n ? Xi : TL,
18265
18274
  arePrimitiveWrappersEqual: jL,
18266
18275
  areRegExpsEqual: DL,
18267
- areSetsEqual: n ? Af(wp, Xi) : wp,
18268
- areTypedArraysEqual: n ? Af(Cs, Xi) : Cs,
18276
+ areSetsEqual: n ? If(wp, Xi) : wp,
18277
+ areTypedArraysEqual: n ? If(Cs, Xi) : Cs,
18269
18278
  areUrlsEqual: RL,
18270
18279
  unknownTagComparators: void 0
18271
18280
  };
@@ -18446,7 +18455,7 @@ var iN = class extends Ve.Component {
18446
18455
  ...t
18447
18456
  });
18448
18457
  }
18449
- ), Wd = Ve.memo(aN), oN = typeof window < "u" ? od : ye, sN = class {
18458
+ ), Wd = Ve.memo(aN), oN = typeof window < "u" ? ad : ye, sN = class {
18450
18459
  constructor(t) {
18451
18460
  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
18461
  }
@@ -18495,7 +18504,7 @@ function lN(t) {
18495
18504
  );
18496
18505
  return oN(() => n.watch(t.editor), [t.editor, n]), s0(r), r;
18497
18506
  }
18498
- var yp = process.env.NODE_ENV !== "production", kc = typeof window > "u", fN = kc || !!(typeof window < "u" && window.next), cN = class Fg {
18507
+ var yp = process.env.NODE_ENV !== "production", Nc = typeof window > "u", fN = Nc || !!(typeof window < "u" && window.next), cN = class Fg {
18499
18508
  constructor(e) {
18500
18509
  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
18510
  }
@@ -18504,7 +18513,7 @@ var yp = process.env.NODE_ENV !== "production", kc = typeof window > "u", fN = k
18504
18513
  }
18505
18514
  getInitialEditor() {
18506
18515
  if (this.options.current.immediatelyRender === void 0) {
18507
- if (kc || fN) {
18516
+ if (Nc || fN) {
18508
18517
  if (yp)
18509
18518
  throw new Error(
18510
18519
  "Tiptap Error: SSR has been detected, please set `immediatelyRender` explicitly to `false` to avoid hydration mismatches."
@@ -18513,7 +18522,7 @@ var yp = process.env.NODE_ENV !== "production", kc = typeof window > "u", fN = k
18513
18522
  }
18514
18523
  return this.createEditor();
18515
18524
  }
18516
- if (this.options.current.immediatelyRender && kc && yp)
18525
+ if (this.options.current.immediatelyRender && Nc && yp)
18517
18526
  throw new Error(
18518
18527
  "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
18528
  );
@@ -18999,7 +19008,7 @@ ${n}
18999
19008
  })
19000
19009
  ];
19001
19010
  }
19002
- }), Ef = 4, IN = /^```([a-z]+)?[\s\n]$/, AN = /^~~~([a-z]+)?[\s\n]$/, EN = pt.create({
19011
+ }), Af = 4, IN = /^```([a-z]+)?[\s\n]$/, AN = /^~~~([a-z]+)?[\s\n]$/, EN = pt.create({
19003
19012
  name: "codeBlock",
19004
19013
  addOptions() {
19005
19014
  return {
@@ -19008,7 +19017,7 @@ ${n}
19008
19017
  exitOnArrowDown: !0,
19009
19018
  defaultLanguage: null,
19010
19019
  enableTabIndentation: !1,
19011
- tabSize: Ef,
19020
+ tabSize: Af,
19012
19021
  HTMLAttributes: {}
19013
19022
  };
19014
19023
  },
@@ -19091,7 +19100,7 @@ ${n}
19091
19100
  var e;
19092
19101
  if (!this.options.enableTabIndentation)
19093
19102
  return !1;
19094
- const n = (e = this.options.tabSize) != null ? e : Ef, { state: r } = t, { selection: i } = r, { $from: a, empty: o } = i;
19103
+ const n = (e = this.options.tabSize) != null ? e : Af, { state: r } = t, { selection: i } = r, { $from: a, empty: o } = i;
19095
19104
  if (a.parent.type !== this.type)
19096
19105
  return !1;
19097
19106
  const s = " ".repeat(n);
@@ -19109,7 +19118,7 @@ ${n}
19109
19118
  var e;
19110
19119
  if (!this.options.enableTabIndentation)
19111
19120
  return !1;
19112
- const n = (e = this.options.tabSize) != null ? e : Ef, { state: r } = t, { selection: i } = r, { $from: a, empty: o } = i;
19121
+ const n = (e = this.options.tabSize) != null ? e : Af, { state: r } = t, { selection: i } = r, { $from: a, empty: o } = i;
19113
19122
  return a.parent.type !== this.type ? !1 : o ? t.commands.command(({ tr: s }) => {
19114
19123
  var l;
19115
19124
  const { pos: c } = a, d = a.start(), u = a.end(), h = r.doc.textBetween(d, u, `
@@ -19171,14 +19180,14 @@ ${n}
19171
19180
  },
19172
19181
  addInputRules() {
19173
19182
  return [
19174
- Lc({
19183
+ xc({
19175
19184
  find: IN,
19176
19185
  type: this.type,
19177
19186
  getAttributes: (t) => ({
19178
19187
  language: t[1]
19179
19188
  })
19180
19189
  }),
19181
- Lc({
19190
+ xc({
19182
19191
  find: AN,
19183
19192
  type: this.type,
19184
19193
  getAttributes: (t) => ({
@@ -19319,7 +19328,7 @@ ${n}
19319
19328
  );
19320
19329
  },
19321
19330
  addInputRules() {
19322
- return this.options.levels.map((t) => Lc({
19331
+ return this.options.levels.map((t) => xc({
19323
19332
  find: new RegExp(`^(#{${Math.min(...this.options.levels)},${t}})\\s$`),
19324
19333
  type: this.type,
19325
19334
  getAttributes: {
@@ -19452,12 +19461,12 @@ ${n}
19452
19461
  ];
19453
19462
  }
19454
19463
  });
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";
19464
+ 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
19465
  function HN(t, e) {
19457
19466
  return t in e || (e[t] = []), e[t];
19458
19467
  }
19459
19468
  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);
19469
+ 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
19470
  for (const r in e) {
19462
19471
  const i = HN(r, n);
19463
19472
  i.indexOf(t) < 0 && i.push(t);
@@ -19593,7 +19602,7 @@ yt.prototype = {
19593
19602
  return i.j[t] = o, o;
19594
19603
  }
19595
19604
  };
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";
19605
+ 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
19606
  var qg = /* @__PURE__ */ Object.freeze({
19598
19607
  __proto__: null,
19599
19608
  ALPHANUMERICAL: Gg,
@@ -19645,15 +19654,15 @@ var qg = /* @__PURE__ */ Object.freeze({
19645
19654
  SLASH_SCHEME: hi,
19646
19655
  SYM: qs,
19647
19656
  TILDE: Ca,
19648
- TLD: jc,
19657
+ TLD: Tc,
19649
19658
  UNDERSCORE: Ks,
19650
- UTLD: Dc,
19651
- UWORD: Tc,
19659
+ UTLD: jc,
19660
+ UWORD: Ec,
19652
19661
  WORD: Ln,
19653
- WS: Rc
19662
+ WS: Dc
19654
19663
  });
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 = "";
19664
+ const Mn = /[a-z]/, _i = new RegExp("\\p{L}", "u"), Tf = new RegExp("\\p{Emoji}", "u"), xn = /\d/, jf = /\s/, xp = "\r", Df = `
19665
+ `, GN = "️", JN = "‍", Rf = "";
19657
19666
  let Eo = null, To = null;
19658
19667
  function KN(t = []) {
19659
19668
  const e = {};
@@ -19661,7 +19670,7 @@ function KN(t = []) {
19661
19670
  const n = new yt();
19662
19671
  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
19672
  const r = Te(n, xn, Qd, {
19664
- [Sc]: !0
19673
+ [kc]: !0
19665
19674
  });
19666
19675
  Te(r, xn, r);
19667
19676
  const i = Te(r, Mn, Qg, {
@@ -19669,36 +19678,36 @@ function KN(t = []) {
19669
19678
  }), a = Te(r, _i, Gg, {
19670
19679
  [sa]: !0
19671
19680
  }), o = Te(n, Mn, Ln, {
19672
- [Ic]: !0
19681
+ [Sc]: !0
19673
19682
  });
19674
19683
  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
19684
+ const s = Te(n, _i, Ec, {
19685
+ [Ic]: !0
19677
19686
  });
19678
19687
  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
19688
+ const l = z(n, Df, Gd, {
19689
+ [Ef]: !0
19690
+ }), c = z(n, xp, Dc, {
19691
+ [Ef]: !0
19692
+ }), d = Te(n, jf, Dc, {
19693
+ [Ef]: !0
19685
19694
  });
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, {
19695
+ 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);
19696
+ const u = Te(n, Tf, Kg, {
19688
19697
  [Hg]: !0
19689
19698
  });
19690
- z(u, "#"), Te(u, jf, u), z(u, GN, u);
19699
+ z(u, "#"), Te(u, Tf, u), z(u, GN, u);
19691
19700
  const p = z(u, JN);
19692
- z(p, "#"), Te(p, jf, u);
19701
+ z(p, "#"), Te(p, Tf, u);
19693
19702
  const h = [[Mn, o], [xn, i]], m = [[Mn, null], [_i, s], [xn, a]];
19694
19703
  for (let g = 0; g < Eo.length; g++)
19695
- Vn(n, Eo[g], jc, Ln, h);
19704
+ Vn(n, Eo[g], Tc, Ln, h);
19696
19705
  for (let g = 0; g < To.length; g++)
19697
- Vn(n, To[g], Dc, Tc, m);
19698
- Sr(jc, {
19706
+ Vn(n, To[g], jc, Ec, m);
19707
+ Sr(Tc, {
19699
19708
  tld: !0,
19700
19709
  ascii: !0
19701
- }, e), Sr(Dc, {
19710
+ }, e), Sr(jc, {
19702
19711
  utld: !0,
19703
19712
  alpha: !0
19704
19713
  }, 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 +19723,7 @@ function KN(t = []) {
19714
19723
  } : {
19715
19724
  [WN]: !0
19716
19725
  };
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);
19726
+ 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
19727
  }
19719
19728
  return Mp(n, "localhost", Ya, {
19720
19729
  ascii: !0
@@ -19976,7 +19985,7 @@ Xg.prototype = {
19976
19985
  };
19977
19986
  }
19978
19987
  };
19979
- function zl(t, e) {
19988
+ function Ol(t, e) {
19980
19989
  class n extends Xg {
19981
19990
  constructor(i, a) {
19982
19991
  super(i, a), this.t = t;
@@ -19986,12 +19995,12 @@ function zl(t, e) {
19986
19995
  n.prototype[r] = e[r];
19987
19996
  return n.t = t, n;
19988
19997
  }
19989
- const kp = zl("email", {
19998
+ const kp = Ol("email", {
19990
19999
  isLink: !0,
19991
20000
  toHref() {
19992
20001
  return "mailto:" + this.toString();
19993
20002
  }
19994
- }), Sp = zl("text"), ZN = zl("nl"), jo = zl("url", {
20003
+ }), Sp = Ol("text"), ZN = Ol("nl"), jo = Ol("url", {
19995
20004
  isLink: !0,
19996
20005
  /**
19997
20006
  Lowercases relevant parts of the domain and adds the protocol if
@@ -20085,14 +20094,14 @@ function _N(t, e, n) {
20085
20094
  if (p < 0)
20086
20095
  i -= d, i < r && (o.push(n[i]), i++);
20087
20096
  else {
20088
- o.length > 0 && (a.push(zf(Sp, e, o)), o = []), i -= p, d -= p;
20097
+ o.length > 0 && (a.push(Of(Sp, e, o)), o = []), i -= p, d -= p;
20089
20098
  const h = u.t, m = n.slice(i - d, i);
20090
- a.push(zf(h, e, m));
20099
+ a.push(Of(h, e, m));
20091
20100
  }
20092
20101
  }
20093
- return o.length > 0 && a.push(zf(Sp, e, o)), a;
20102
+ return o.length > 0 && a.push(Of(Sp, e, o)), a;
20094
20103
  }
20095
- function zf(t, e, n) {
20104
+ function Of(t, e, n) {
20096
20105
  const r = n[0].s, i = n[n.length - 1].e, a = e.slice(r, i);
20097
20106
  return new t(a, n);
20098
20107
  }
@@ -20585,8 +20594,8 @@ var $g = Kr.create({
20585
20594
  uk(pk, {
20586
20595
  findListItemPos: () => ao,
20587
20596
  getNextListDepth: () => eu,
20588
- handleBackspace: () => Oc,
20589
- handleDelete: () => zc,
20597
+ handleBackspace: () => Rc,
20598
+ handleDelete: () => Oc,
20590
20599
  hasListBefore: () => nb,
20591
20600
  hasListItemAfter: () => mk,
20592
20601
  hasListItemBefore: () => rb,
@@ -20621,7 +20630,7 @@ var ao = (t, e) => {
20621
20630
  return n.descendants((a) => {
20622
20631
  a.type === r && (i = !0);
20623
20632
  }), i;
20624
- }, Oc = (t, e, n) => {
20633
+ }, Rc = (t, e, n) => {
20625
20634
  if (t.commands.undoInputRule())
20626
20635
  return !0;
20627
20636
  if (t.state.selection.from !== t.state.selection.to)
@@ -20650,7 +20659,7 @@ var ao = (t, e) => {
20650
20659
  }, ob = (t, e) => {
20651
20660
  const n = eu(t, e), r = ao(t, e);
20652
20661
  return !r || !n ? !1 : n < r.depth;
20653
- }, zc = (t, e) => {
20662
+ }, Oc = (t, e) => {
20654
20663
  if (!ir(t.state, e) || !y6(t.state, e))
20655
20664
  return !1;
20656
20665
  const { selection: n } = t.state, { $from: r, $to: i } = n;
@@ -20680,25 +20689,25 @@ var ao = (t, e) => {
20680
20689
  Delete: ({ editor: t }) => {
20681
20690
  let e = !1;
20682
20691
  return this.options.listTypes.forEach(({ itemName: n }) => {
20683
- t.state.schema.nodes[n] !== void 0 && zc(t, n) && (e = !0);
20692
+ t.state.schema.nodes[n] !== void 0 && Oc(t, n) && (e = !0);
20684
20693
  }), e;
20685
20694
  },
20686
20695
  "Mod-Delete": ({ editor: t }) => {
20687
20696
  let e = !1;
20688
20697
  return this.options.listTypes.forEach(({ itemName: n }) => {
20689
- t.state.schema.nodes[n] !== void 0 && zc(t, n) && (e = !0);
20698
+ t.state.schema.nodes[n] !== void 0 && Oc(t, n) && (e = !0);
20690
20699
  }), e;
20691
20700
  },
20692
20701
  Backspace: ({ editor: t }) => {
20693
20702
  let e = !1;
20694
20703
  return this.options.listTypes.forEach(({ itemName: n, wrapperNames: r }) => {
20695
- t.state.schema.nodes[n] !== void 0 && Oc(t, n, r) && (e = !0);
20704
+ t.state.schema.nodes[n] !== void 0 && Rc(t, n, r) && (e = !0);
20696
20705
  }), e;
20697
20706
  },
20698
20707
  "Mod-Backspace": ({ editor: t }) => {
20699
20708
  let e = !1;
20700
20709
  return this.options.listTypes.forEach(({ itemName: n, wrapperNames: r }) => {
20701
- t.state.schema.nodes[n] !== void 0 && Oc(t, n, r) && (e = !0);
20710
+ t.state.schema.nodes[n] !== void 0 && Rc(t, n, r) && (e = !0);
20702
20711
  }), e;
20703
20712
  }
20704
20713
  };
@@ -21114,7 +21123,7 @@ var Ck = "listItem", jp = "textStyle", Dp = /^(\d+)\.\s$/, fb = pt.create({
21114
21123
  },
21115
21124
  tokenize(t, e, n) {
21116
21125
  const r = (a) => {
21117
- const o = Nc(
21126
+ const o = Lc(
21118
21127
  a,
21119
21128
  {
21120
21129
  itemPattern: /^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,
@@ -21145,7 +21154,7 @@ var Ck = "listItem", jp = "textStyle", Dp = /^(\d+)\.\s$/, fb = pt.create({
21145
21154
  items: o.items
21146
21155
  }
21147
21156
  ] : n.blockTokens(a);
21148
- }, i = Nc(
21157
+ }, i = Lc(
21149
21158
  t,
21150
21159
  {
21151
21160
  itemPattern: /^(\s*)([-+*])\s+\[([ xX])\]\s+(.*)$/,
@@ -21198,7 +21207,7 @@ De.create({
21198
21207
  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
21208
  }
21200
21209
  });
21201
- var Do = "&nbsp;", Pf = " ", Nk = pt.create({
21210
+ var Do = "&nbsp;", zf = " ", Nk = pt.create({
21202
21211
  name: "paragraph",
21203
21212
  priority: 1e3,
21204
21213
  addOptions() {
@@ -21219,7 +21228,7 @@ var Do = "&nbsp;", Pf = " ", Nk = pt.create({
21219
21228
  if (n.length === 1 && n[0].type === "image")
21220
21229
  return e.parseChildren([n[0]]);
21221
21230
  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);
21231
+ 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
21232
  },
21224
21233
  renderMarkdown: (t, e, n) => {
21225
21234
  var r, i;
@@ -21894,9 +21903,9 @@ function Hk(t, e, n, r) {
21894
21903
  if (o && o.getMeta(Dr))
21895
21904
  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
21905
  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);
21906
+ 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
21907
  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);
21908
+ } 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
21909
  }
21901
21910
  function Qk(t, e) {
21902
21911
  if (!e)
@@ -21915,7 +21924,7 @@ function Rp(t) {
21915
21924
  t[n].forEach((r, i, a, o) => e.push(a, o));
21916
21925
  return e;
21917
21926
  }
21918
- function Bf(t, e) {
21927
+ function Pf(t, e) {
21919
21928
  if (!t)
21920
21929
  return null;
21921
21930
  let n = [];
@@ -21932,18 +21941,18 @@ function Gk(t, e, n) {
21932
21941
  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
21942
  return a.transform.setSelection(o).setMeta(Dr, { redo: n, historyState: l });
21934
21943
  }
21935
- let Ff = !1, Op = null;
21944
+ let Bf = !1, Op = null;
21936
21945
  function Go(t) {
21937
21946
  let e = t.plugins;
21938
21947
  if (Op != e) {
21939
- Ff = !1, Op = e;
21948
+ Bf = !1, Op = e;
21940
21949
  for (let n = 0; n < e.length; n++)
21941
21950
  if (e[n].spec.historyPreserveItems) {
21942
- Ff = !0;
21951
+ Bf = !0;
21943
21952
  break;
21944
21953
  }
21945
21954
  }
21946
- return Ff;
21955
+ return Bf;
21947
21956
  }
21948
21957
  const Dr = new Re("history"), Jk = new Re("closeHistory");
21949
21958
  function Kk(t = {}) {
@@ -22154,7 +22163,7 @@ var _k = De.create({
22154
22163
  return null;
22155
22164
  const o = this.editor.isEmpty;
22156
22165
  return e.descendants((s, l) => {
22157
- const c = i >= l && i <= l + s.nodeSize, d = !s.isLeaf && Dl(s);
22166
+ const c = i >= l && i <= l + s.nodeSize, d = !s.isLeaf && jl(s);
22158
22167
  if (!s.type.isTextblock)
22159
22168
  return this.options.includeChildren;
22160
22169
  if ((c || !this.options.showOnlyCurrent) && d) {
@@ -22873,14 +22882,14 @@ function fn(t) {
22873
22882
  return t.split("-")[0];
22874
22883
  }
22875
22884
  var Rr = Math.max, Xs = Math.min, ji = Math.round;
22876
- function Pc() {
22885
+ function zc() {
22877
22886
  var t = navigator.userAgentData;
22878
22887
  return t != null && t.brands && Array.isArray(t.brands) ? t.brands.map(function(e) {
22879
22888
  return e.brand + "/" + e.version;
22880
22889
  }).join(" ") : navigator.userAgent;
22881
22890
  }
22882
22891
  function Mb() {
22883
- return !/^((?!chrome|android).)*safari/i.test(Pc());
22892
+ return !/^((?!chrome|android).)*safari/i.test(zc());
22884
22893
  }
22885
22894
  function Di(t, e, n) {
22886
22895
  e === void 0 && (e = !1), n === void 0 && (n = !1);
@@ -22933,7 +22942,7 @@ function dr(t) {
22933
22942
  t.document
22934
22943
  )) || window.document).documentElement;
22935
22944
  }
22936
- function Pl(t) {
22945
+ function zl(t) {
22937
22946
  return hn(t) === "html" ? t : (
22938
22947
  // this is a quicker (but less type safe) way to save quite some bytes from the bundle
22939
22948
  // $FlowFixMe[incompatible-return]
@@ -22950,13 +22959,13 @@ function Vp(t) {
22950
22959
  On(t).position === "fixed" ? null : t.offsetParent;
22951
22960
  }
22952
22961
  function SS(t) {
22953
- var e = /firefox/i.test(Pc()), n = /Trident/i.test(Pc());
22962
+ var e = /firefox/i.test(zc()), n = /Trident/i.test(zc());
22954
22963
  if (n && Ht(t)) {
22955
22964
  var r = On(t);
22956
22965
  if (r.position === "fixed")
22957
22966
  return null;
22958
22967
  }
22959
- var i = Pl(t);
22968
+ var i = zl(t);
22960
22969
  for (ru(i) && (i = i.host); Ht(i) && ["html", "body"].indexOf(hn(i)) < 0; ) {
22961
22970
  var a = On(i);
22962
22971
  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 +23200,7 @@ function lu(t) {
23191
23200
  return /auto|scroll|overlay|hidden/.test(n + i + r);
23192
23201
  }
23193
23202
  function Sb(t) {
23194
- return ["html", "body", "#document"].indexOf(hn(t)) >= 0 ? t.ownerDocument.body : Ht(t) && lu(t) ? t : Sb(Pl(t));
23203
+ return ["html", "body", "#document"].indexOf(hn(t)) >= 0 ? t.ownerDocument.body : Ht(t) && lu(t) ? t : Sb(zl(t));
23195
23204
  }
23196
23205
  function xa(t, e) {
23197
23206
  var n;
@@ -23199,10 +23208,10 @@ function xa(t, e) {
23199
23208
  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
23209
  return i ? s : (
23201
23210
  // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
23202
- s.concat(xa(Pl(o)))
23211
+ s.concat(xa(zl(o)))
23203
23212
  );
23204
23213
  }
23205
- function Bc(t) {
23214
+ function Pc(t) {
23206
23215
  return Object.assign({}, t, {
23207
23216
  left: t.x,
23208
23217
  top: t.y,
@@ -23215,10 +23224,10 @@ function WS(t, e) {
23215
23224
  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
23225
  }
23217
23226
  function Wp(t, e, n) {
23218
- return e === yb ? Bc(YS(t, n)) : Ur(e) ? WS(e, n) : Bc(US(dr(t)));
23227
+ return e === yb ? Pc(YS(t, n)) : Ur(e) ? WS(e, n) : Pc(US(dr(t)));
23219
23228
  }
23220
23229
  function HS(t) {
23221
- var e = xa(Pl(t)), n = ["absolute", "fixed"].indexOf(On(t).position) >= 0, r = n && Ht(t) ? so(t) : t;
23230
+ var e = xa(zl(t)), n = ["absolute", "fixed"].indexOf(On(t).position) >= 0, r = n && Ht(t) ? so(t) : t;
23222
23231
  return Ur(r) ? e.filter(function(i) {
23223
23232
  return Ur(i) && xb(i, r) && hn(i) !== "body";
23224
23233
  }) : [];
@@ -23283,7 +23292,7 @@ function Ha(t, e) {
23283
23292
  reference: N,
23284
23293
  element: x,
23285
23294
  placement: i
23286
- }), A = Bc(Object.assign({}, x, k)), j = p === $i ? A : N, S = {
23295
+ }), A = Pc(Object.assign({}, x, k)), j = p === $i ? A : N, S = {
23287
23296
  top: L.top - j.top + v.top,
23288
23297
  bottom: j.bottom - L.bottom + v.bottom,
23289
23298
  left: L.left - j.left + v.left,
@@ -23705,7 +23714,7 @@ var mI = [BS, nI, zS, Cb, eI, qS, aI, jS, XS], gI = /* @__PURE__ */ pI({
23705
23714
  function yI(t, e) {
23706
23715
  return {}.hasOwnProperty.call(t, e);
23707
23716
  }
23708
- function Vf(t, e, n) {
23717
+ function Ff(t, e, n) {
23709
23718
  if (Array.isArray(t)) {
23710
23719
  var r = t[e];
23711
23720
  return r ?? (Array.isArray(n) ? n[e] : n);
@@ -23780,7 +23789,7 @@ function kI(t) {
23780
23789
  function SI(t) {
23781
23790
  return Qa(t) ? [t] : LI(t) ? _s(t) : Array.isArray(t) ? t : _s(document.querySelectorAll(t));
23782
23791
  }
23783
- function Yf(t, e) {
23792
+ function Vf(t, e) {
23784
23793
  t.forEach(function(n) {
23785
23794
  n && (n.style.transitionDuration = e + "ms");
23786
23795
  });
@@ -23804,7 +23813,7 @@ function AI(t, e) {
23804
23813
  return g || w || v || M;
23805
23814
  });
23806
23815
  }
23807
- function Uf(t, e, n) {
23816
+ function Yf(t, e, n) {
23808
23817
  var r = e + "EventListener";
23809
23818
  ["transitionend", "webkitTransitionEnd"].forEach(function(i) {
23810
23819
  t[r](i, n);
@@ -23882,7 +23891,7 @@ function kn(t, e) {
23882
23891
  Ga.add(e), (n = console).warn.apply(n, Ob(e));
23883
23892
  }
23884
23893
  }
23885
- function Fc(t, e) {
23894
+ function Bc(t, e) {
23886
23895
  if (t && !Ga.has(e)) {
23887
23896
  var n;
23888
23897
  Ga.add(e), (n = console).error.apply(n, Ob(e));
@@ -23890,7 +23899,7 @@ function Fc(t, e) {
23890
23899
  }
23891
23900
  function PI(t) {
23892
23901
  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(" "));
23902
+ 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
23903
  }
23895
23904
  var zb = {
23896
23905
  animateFill: !1,
@@ -24017,17 +24026,17 @@ function Bb(t, e) {
24017
24026
  var UI = function() {
24018
24027
  return "innerHTML";
24019
24028
  };
24020
- function Vc(t, e) {
24029
+ function Fc(t, e) {
24021
24030
  t[UI()] = e;
24022
24031
  }
24023
24032
  function n1(t) {
24024
24033
  var e = La();
24025
- return t === !0 ? e.className = Eb : (e.className = Tb, Qa(t) ? e.appendChild(t) : Vc(e, t)), e;
24034
+ return t === !0 ? e.className = Eb : (e.className = Tb, Qa(t) ? e.appendChild(t) : Fc(e, t)), e;
24026
24035
  }
24027
24036
  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);
24037
+ Qa(e.content) ? (Fc(t, ""), t.appendChild(e.content)) : typeof e.content != "function" && (e.allowHTML ? Fc(t, e.content) : t.textContent = e.content);
24029
24038
  }
24030
- function Yc(t) {
24039
+ function Vc(t) {
24031
24040
  var e = t.firstElementChild, n = _s(e.children);
24032
24041
  return {
24033
24042
  box: e,
@@ -24048,7 +24057,7 @@ function Fb(t) {
24048
24057
  var r = La();
24049
24058
  r.className = Ab, r.setAttribute("data-state", "hidden"), r1(r, t.props), e.appendChild(n), n.appendChild(r), i(t.props, t.props);
24050
24059
  function i(a, o) {
24051
- var s = Yc(e), l = s.box, c = s.content, d = s.arrow;
24060
+ var s = Vc(e), l = s.box, c = s.content, d = s.arrow;
24052
24061
  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
24062
  }
24054
24063
  return {
@@ -24057,7 +24066,7 @@ function Fb(t) {
24057
24066
  };
24058
24067
  }
24059
24068
  Fb.$$tippy = !0;
24060
- var WI = 1, zo = [], Wf = [];
24069
+ var WI = 1, zo = [], Uf = [];
24061
24070
  function HI(t, e) {
24062
24071
  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
24072
  // Is the instance currently enabled?
@@ -24092,7 +24101,7 @@ function HI(t, e) {
24092
24101
  destroy: aw
24093
24102
  };
24094
24103
  if (!n.render)
24095
- return process.env.NODE_ENV !== "production" && Fc(!0, "render() function has not been supplied."), y;
24104
+ return process.env.NODE_ENV !== "production" && Bc(!0, "render() function has not been supplied."), y;
24096
24105
  var L = n.render(y), N = L.popper, k = L.onUpdate;
24097
24106
  N.setAttribute("data-tippy-root", ""), N.id = "tippy-" + y.id, y.popper = N, t._tippy = y, N._tippy = y;
24098
24107
  var A = M.map(function(D) {
@@ -24122,10 +24131,10 @@ function HI(t, e) {
24122
24131
  return D ? II(D) : document;
24123
24132
  }
24124
24133
  function H() {
24125
- return Yc(N);
24134
+ return Vc(N);
24126
24135
  }
24127
24136
  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);
24137
+ return y.state.isMounted && !y.state.isVisible || sn.isTouch || d && d.type === "focus" ? 0 : Ff(y.props.delay, D ? 0 : 1, kt.delay);
24129
24138
  }
24130
24139
  function U(D) {
24131
24140
  D === void 0 && (D = !1), N.style.pointerEvents = y.props.interactive && !D ? "" : "none", N.style.zIndex = "" + y.props.zIndex;
@@ -24208,11 +24217,11 @@ function HI(t, e) {
24208
24217
  function te(D, K) {
24209
24218
  var $ = H().box;
24210
24219
  function ge(ue) {
24211
- ue.target === $ && (Uf($, "remove", ge), K());
24220
+ ue.target === $ && (Yf($, "remove", ge), K());
24212
24221
  }
24213
24222
  if (D === 0)
24214
24223
  return K();
24215
- Uf($, "remove", u), Uf($, "add", ge), u = ge;
24224
+ Yf($, "remove", u), Yf($, "add", ge), u = ge;
24216
24225
  }
24217
24226
  function ve(D, K, $) {
24218
24227
  $ === void 0 && ($ = !1);
@@ -24293,7 +24302,7 @@ function HI(t, e) {
24293
24302
  }
24294
24303
  function uo() {
24295
24304
  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 ? {
24305
+ 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
24306
  getBoundingClientRect: ue,
24298
24307
  contextElement: ue.contextElement || V()
24299
24308
  } : t, Uu = {
@@ -24304,9 +24313,9 @@ function HI(t, e) {
24304
24313
  fn: function(wo) {
24305
24314
  var ai = wo.state;
24306
24315
  if (Y()) {
24307
- var ow = H(), ff = ow.box;
24316
+ var ow = H(), lf = ow.box;
24308
24317
  ["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);
24318
+ yo === "placement" ? lf.setAttribute("data-placement", ai.placement) : ai.attributes.popper["data-popper-" + yo] ? lf.setAttribute("data-" + yo, "") : lf.removeAttribute("data-" + yo);
24310
24319
  }), ai.attributes.popper = {};
24311
24320
  }
24312
24321
  }
@@ -24414,20 +24423,20 @@ function HI(t, e) {
24414
24423
  }
24415
24424
  function tw() {
24416
24425
  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);
24426
+ 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
24427
  if (!(D || K || $ || ge) && !V().hasAttribute("disabled") && (_("onShow", [y], !1), y.props.onShow(y) !== !1)) {
24419
24428
  if (y.state.isVisible = !0, Y() && (N.style.visibility = "visible"), U(), ie(), y.state.isMounted || (N.style.transition = "none"), Y()) {
24420
24429
  var ft = H(), Dt = ft.box, ii = ft.content;
24421
- Yf([Dt, ii], 0);
24430
+ Vf([Dt, ii], 0);
24422
24431
  }
24423
24432
  p = function() {
24424
24433
  var wr;
24425
24434
  if (!(!y.state.isVisible || c)) {
24426
24435
  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");
24436
+ var sf = H(), wo = sf.box, ai = sf.content;
24437
+ Vf([wo, ai], ue), Xp([wo, ai], "visible");
24429
24438
  }
24430
- Q(), pe(), qp(Wf, y), (wr = y.popperInstance) == null || wr.forceUpdate(), _("onMount", [y]), y.props.animation && Y() && G(ue, function() {
24439
+ Q(), pe(), qp(Uf, y), (wr = y.popperInstance) == null || wr.forceUpdate(), _("onMount", [y]), y.props.animation && Y() && G(ue, function() {
24431
24440
  y.state.isShown = !0, _("onShown", [y]);
24432
24441
  });
24433
24442
  }
@@ -24436,11 +24445,11 @@ function HI(t, e) {
24436
24445
  }
24437
24446
  function nw() {
24438
24447
  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);
24448
+ var D = !y.state.isVisible, K = y.state.isDestroyed, $ = !y.state.isEnabled, ge = Ff(y.props.duration, 1, kt.duration);
24440
24449
  if (!(D || K || $) && (_("onHide", [y], !1), y.props.onHide(y) !== !1)) {
24441
24450
  if (y.state.isVisible = !1, y.state.isShown = !1, c = !1, o = !1, Y() && (N.style.visibility = "hidden"), me(), ne(), U(!0), Y()) {
24442
24451
  var ue = H(), ft = ue.box, Dt = ue.content;
24443
- y.props.animation && (Yf([ft, Dt], ge), Xp([ft, Dt], "hidden"));
24452
+ y.props.animation && (Vf([ft, Dt], ge), Xp([ft, Dt], "hidden"));
24444
24453
  }
24445
24454
  Q(), pe(), y.props.animation ? Y() && T(ge, y.unmount) : y.unmount();
24446
24455
  }
@@ -24451,7 +24460,7 @@ function HI(t, e) {
24451
24460
  function iw() {
24452
24461
  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
24462
  D._tippy.unmount();
24454
- }), N.parentNode && N.parentNode.removeChild(N), Wf = Wf.filter(function(D) {
24463
+ }), N.parentNode && N.parentNode.removeChild(N), Uf = Uf.filter(function(D) {
24455
24464
  return D !== y;
24456
24465
  }), y.state.isMounted = !1, _("onHidden", [y]));
24457
24466
  }
@@ -24542,17 +24551,17 @@ const Vb = l0((t, e) => {
24542
24551
  )) : /* @__PURE__ */ f("div", { className: "px-2 py-1.5 text-sm text-muted-foreground", children: "Nenhum usuário encontrado" }) });
24543
24552
  });
24544
24553
  Vb.displayName = "MentionList";
24545
- function Uc(t) {
24554
+ function Yc(t) {
24546
24555
  return [].concat(t);
24547
24556
  }
24548
24557
  function cu(t) {
24549
24558
  return t.startsWith(":");
24550
24559
  }
24551
24560
  function Yb(t) {
24552
- return Bl(t) && (t === "*" || t.length > 1 && ":>~.+*".includes(t.slice(0, 1)) || Qb(t));
24561
+ return Pl(t) && (t === "*" || t.length > 1 && ":>~.+*".includes(t.slice(0, 1)) || Qb(t));
24553
24562
  }
24554
24563
  function Ub(t, e) {
24555
- return (Bl(e) || typeof e == "number") && !Hb(t) && !cu(t) && !Wb(t);
24564
+ return (Pl(e) || typeof e == "number") && !Hb(t) && !cu(t) && !Wb(t);
24556
24565
  }
24557
24566
  function Wb(t) {
24558
24567
  return t.startsWith("@media");
@@ -24563,11 +24572,11 @@ function QI(t) {
24563
24572
  function Hb(t) {
24564
24573
  return t === "--";
24565
24574
  }
24566
- function Bl(t) {
24575
+ function Pl(t) {
24567
24576
  return t + "" === t;
24568
24577
  }
24569
24578
  function Qb(t) {
24570
- return Bl(t) && (t.startsWith("&") || cu(t));
24579
+ return Pl(t) && (t.startsWith("&") || cu(t));
24571
24580
  }
24572
24581
  function $s(t, e = "") {
24573
24582
  return t.filter(Boolean).join(e);
@@ -24607,10 +24616,10 @@ var Jb = class Kb {
24607
24616
  this.hash = this.selector.hasConditions ? this.selector.scopeClassName : Gb(this.sheet.name, this.joined), this.key = $s([this.joined, a, this.hash]);
24608
24617
  }
24609
24618
  toString() {
24610
- let e = Wc(this.selector.preconditions, {
24619
+ let e = Uc(this.selector.preconditions, {
24611
24620
  right: this.hash
24612
24621
  });
24613
- return e = Wc(this.selector.postconditions, {
24622
+ return e = Uc(this.selector.postconditions, {
24614
24623
  left: e
24615
24624
  }), `${e} {${Kb.genRule(this.property, this.value)}}`;
24616
24625
  }
@@ -24622,7 +24631,7 @@ var Jb = class Kb {
24622
24631
  ) + ";";
24623
24632
  }
24624
24633
  };
24625
- function Wc(t, { left: e = "", right: n = "" } = {}) {
24634
+ function Uc(t, { left: e = "", right: n = "" } = {}) {
24626
24635
  const r = t.reduce((i, a) => cu(a) ? i + a : Qb(a) ? i + a.slice(1) : $s([i, a], " "), e);
24627
24636
  return $s([r, KI(n)], " ");
24628
24637
  }
@@ -24631,7 +24640,7 @@ var ZI = class Ko {
24631
24640
  preconditions: r,
24632
24641
  postconditions: i
24633
24642
  } = {}) {
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);
24643
+ 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
24644
  }
24636
24645
  setScope(e) {
24637
24646
  return e ? (this.scopeClassName || (this.scopeName = e, this.scopeClassName = Gb(
@@ -24689,7 +24698,7 @@ var ZI = class Ko {
24689
24698
  }
24690
24699
  addRule(e) {
24691
24700
  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);
24701
+ 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
24702
  }
24694
24703
  };
24695
24704
  function du(t, e) {
@@ -24713,7 +24722,7 @@ function _I(t, e) {
24713
24722
  const a = {};
24714
24723
  return qb(n, i, new ZI(n)).forEach(
24715
24724
  ([s, l, c]) => {
24716
- Fl(n, l, c).forEach(
24725
+ Bl(n, l, c).forEach(
24717
24726
  (d) => {
24718
24727
  o(s, d);
24719
24728
  }
@@ -24737,18 +24746,18 @@ function qb(t, e, n) {
24737
24746
  r.push([i, e[i], n.addScope(i)]);
24738
24747
  }), r;
24739
24748
  }
24740
- function Fl(t, e, n) {
24749
+ function Bl(t, e, n) {
24741
24750
  const r = /* @__PURE__ */ new Set();
24742
24751
  return du(e, (i, a) => {
24743
24752
  let o = [];
24744
24753
  if (Yb(i))
24745
- o = Fl(
24754
+ o = Bl(
24746
24755
  t,
24747
24756
  a,
24748
24757
  n.addPostcondition(i)
24749
24758
  );
24750
24759
  else if (QI(i))
24751
- o = Uc(a);
24760
+ o = Yc(a);
24752
24761
  else if (Wb(i))
24753
24762
  o = e9(t, a, i, n);
24754
24763
  else if (Hb(i))
@@ -24770,14 +24779,14 @@ function $I(t, e, n) {
24770
24779
  i.push(Jb.genRule(a, o));
24771
24780
  return;
24772
24781
  }
24773
- const s = Fl(t, o ?? {}, n);
24782
+ const s = Bl(t, o ?? {}, n);
24774
24783
  Zb(s, r);
24775
24784
  }), !n.scopeClassName)
24776
24785
  return r;
24777
24786
  if (i.length) {
24778
24787
  const a = i.join(" ");
24779
24788
  t.append(
24780
- `${Wc(n.preconditions, {
24789
+ `${Uc(n.preconditions, {
24781
24790
  right: n.scopeClassName
24782
24791
  })} {${a}}`
24783
24792
  );
@@ -24786,7 +24795,7 @@ function $I(t, e, n) {
24786
24795
  }
24787
24796
  function e9(t, e, n, r) {
24788
24797
  t.append(n + " {");
24789
- const i = Fl(t, e, r);
24798
+ const i = Bl(t, e, r);
24790
24799
  return t.append("}"), i;
24791
24800
  }
24792
24801
  function a1(t, e) {
@@ -24822,7 +24831,7 @@ function we() {
24822
24831
  }, we.apply(null, arguments);
24823
24832
  }
24824
24833
  function n9(t, e) {
24825
- t.prototype = Object.create(e.prototype), t.prototype.constructor = t, Hc(t, e);
24834
+ t.prototype = Object.create(e.prototype), t.prototype.constructor = t, Wc(t, e);
24826
24835
  }
24827
24836
  function Xb(t, e) {
24828
24837
  if (t == null) return {};
@@ -24833,10 +24842,10 @@ function Xb(t, e) {
24833
24842
  }
24834
24843
  return n;
24835
24844
  }
24836
- function Hc(t, e) {
24837
- return Hc = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) {
24845
+ function Wc(t, e) {
24846
+ return Wc = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, r) {
24838
24847
  return n.__proto__ = r, n;
24839
- }, Hc(t, e);
24848
+ }, Wc(t, e);
24840
24849
  }
24841
24850
  function r9(t, e) {
24842
24851
  if (t) {
@@ -24866,7 +24875,7 @@ var Ae = /* @__PURE__ */ _I("epr", null), qo = {
24866
24875
  hidden: /* @__PURE__ */ we({
24867
24876
  ".": de.hidden
24868
24877
  }, qo)
24869
- }), i9 = /* @__PURE__ */ sd(function(e) {
24878
+ }), i9 = /* @__PURE__ */ od(function(e) {
24870
24879
  var n = e.nonce;
24871
24880
  return P("style", {
24872
24881
  nonce: n,
@@ -25060,7 +25069,7 @@ function r2(t) {
25060
25069
  return we({}, n2[e], t && t[e] && t[e]);
25061
25070
  });
25062
25071
  }
25063
- function Vl(t) {
25072
+ function Fl(t) {
25064
25073
  return t.category;
25065
25074
  }
25066
25075
  function i2(t) {
@@ -46679,7 +46688,7 @@ function T9() {
46679
46688
  function() {
46680
46689
  var i, a = (i = gu(t)) != null ? i : [];
46681
46690
  return a.map(function(o) {
46682
- return Ul(o.unified);
46691
+ return Yl(o.unified);
46683
46692
  }).filter(Boolean);
46684
46693
  },
46685
46694
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -46690,19 +46699,19 @@ function T9() {
46690
46699
  return a === le.SUGGESTED ? r : (o = mu.emojis[a]) != null ? o : [];
46691
46700
  };
46692
46701
  }
46693
- function Yl(t) {
46702
+ function Vl(t) {
46694
46703
  var e;
46695
46704
  return (e = t[We.variations]) != null ? e : [];
46696
46705
  }
46697
46706
  function Fi(t) {
46698
- return Yl(t).length > 0;
46707
+ return Vl(t).length > 0;
46699
46708
  }
46700
46709
  function j9(t, e) {
46701
- return e ? Yl(t).find(function(n) {
46710
+ return e ? Vl(t).find(function(n) {
46702
46711
  return n.includes(e);
46703
46712
  }) : cn(t);
46704
46713
  }
46705
- function Ul(t) {
46714
+ function Yl(t) {
46706
46715
  if (t) {
46707
46716
  if (Zo[t])
46708
46717
  return Zo[t];
@@ -46712,7 +46721,7 @@ function Ul(t) {
46712
46721
  }
46713
46722
  var D9 = /* @__PURE__ */ Object.values(mu.emojis).flat(), Zo = {};
46714
46723
  D9.reduce(function(t, e) {
46715
- return t[cn(e)] = e, Fi(e) && Yl(e).forEach(function(n) {
46724
+ return t[cn(e)] = e, Fi(e) && Vl(e).forEach(function(n) {
46716
46725
  t[n] = e;
46717
46726
  }), t;
46718
46727
  }, Zo);
@@ -46725,7 +46734,7 @@ var d2 = /* @__PURE__ */ Ve.createContext({
46725
46734
  allEmojis: [],
46726
46735
  allEmojisByUnified: {},
46727
46736
  searchIndex: {},
46728
- emojiByUnified: Ul,
46737
+ emojiByUnified: Yl,
46729
46738
  activeVariationFromUnified: function() {
46730
46739
  return null;
46731
46740
  }
@@ -46901,11 +46910,11 @@ function _r() {
46901
46910
  var t = nt(Et), e = t.reactionsModeState;
46902
46911
  return e;
46903
46912
  }
46904
- function Wl() {
46913
+ function Ul() {
46905
46914
  var t = nt(Et), e = t.searchTerm;
46906
46915
  return e;
46907
46916
  }
46908
- function Hl() {
46917
+ function Wl() {
46909
46918
  var t = nt(Et), e = t.activeSkinTone;
46910
46919
  return e;
46911
46920
  }
@@ -47094,8 +47103,8 @@ function sA(t) {
47094
47103
  var e = t > 0, n = t > 1;
47095
47104
  return e ? n ? x9.replace("%n", t.toString()) : M9 : C9;
47096
47105
  }
47097
- function Ql() {
47098
- var t = Wl(), e = t[0];
47106
+ function Hl() {
47107
+ var t = Ul(), e = t[0];
47099
47108
  return !!e;
47100
47109
  }
47101
47110
  function Tt(t) {
@@ -47160,11 +47169,11 @@ function I2() {
47160
47169
  function Ui() {
47161
47170
  return Bn().PickerMainRef;
47162
47171
  }
47163
- function Gl() {
47172
+ function Ql() {
47164
47173
  return Bn().AnchoredEmojiRef;
47165
47174
  }
47166
47175
  function A2() {
47167
- var t = Gl();
47176
+ var t = Ql();
47168
47177
  return function(e) {
47169
47178
  e === null && t.current !== null && Tt(t.current), t.current = e;
47170
47179
  };
@@ -47208,15 +47217,15 @@ function uA() {
47208
47217
  });
47209
47218
  }, [t]);
47210
47219
  }
47211
- function Jl(t) {
47220
+ function Gl(t) {
47212
47221
  if (!(!t || !XA(t)) && !t.closest(Jt(de.variationPicker))) {
47213
47222
  var e = G2(t), n = Q2(t);
47214
47223
  dA(e, -(Iu(hr(t)) - n));
47215
47224
  }
47216
47225
  }
47217
- function Kl(t) {
47226
+ function Jl(t) {
47218
47227
  var e = Du(t);
47219
- Tt(e), Jl(e);
47228
+ Tt(e), Gl(e);
47220
47229
  }
47221
47230
  function hA(t) {
47222
47231
  var e = Du(t);
@@ -47229,16 +47238,16 @@ function mA(t) {
47229
47238
  if (t) {
47230
47239
  var e = Z2(t);
47231
47240
  if (!e)
47232
- return Kl(Zl(t));
47233
- Tt(e), Jl(e);
47241
+ return Jl(ql(t));
47242
+ Tt(e), Gl(e);
47234
47243
  }
47235
47244
  }
47236
47245
  function gA(t) {
47237
47246
  if (t) {
47238
47247
  var e = ju(t);
47239
47248
  if (!e)
47240
- return pA(ql(t));
47241
- Tt(e), Jl(e);
47249
+ return pA(Kl(t));
47250
+ Tt(e), Gl(e);
47242
47251
  }
47243
47252
  }
47244
47253
  function bA(t, e) {
@@ -47246,7 +47255,7 @@ function bA(t, e) {
47246
47255
  var n = yA(t);
47247
47256
  if (!n)
47248
47257
  return e();
47249
- Tt(n), Jl(n);
47258
+ Tt(n), Gl(n);
47250
47259
  }
47251
47260
  }
47252
47261
  function wA(t) {
@@ -47263,7 +47272,7 @@ function yA(t) {
47263
47272
  return null;
47264
47273
  if (i[a - r])
47265
47274
  return i[a - r];
47266
- var s = ql(n);
47275
+ var s = Kl(n);
47267
47276
  if (!s)
47268
47277
  return null;
47269
47278
  var l = zi(s), c = l.length % r - 1;
@@ -47287,7 +47296,7 @@ function vA(t) {
47287
47296
  if (a[c])
47288
47297
  return a[c];
47289
47298
  }
47290
- var d = o % i, u = Zl(r), p = zi(u);
47299
+ var d = o % i, u = ql(r), p = zi(u);
47291
47300
  return p[d] ? p[d] : (e = p.at(0)) != null ? e : null;
47292
47301
  }
47293
47302
  function ti() {
@@ -47374,7 +47383,7 @@ function NA() {
47374
47383
  };
47375
47384
  }
47376
47385
  function kA() {
47377
- var t = ur(), e = wu(), n = LA(), r = Nu(), i = Wl(), a = i[0], o = jA(e.current, a);
47386
+ var t = ur(), e = wu(), n = LA(), r = Nu(), i = Ul(), a = i[0], o = jA(e.current, a);
47378
47387
  return {
47379
47388
  onChange: s,
47380
47389
  searchTerm: a,
@@ -47395,7 +47404,7 @@ function kA() {
47395
47404
  }
47396
47405
  }
47397
47406
  function Nu() {
47398
- var t = Wl(), e = t[1], n = Ui();
47407
+ var t = Ul(), e = t[1], n = Ui();
47399
47408
  return function(i) {
47400
47409
  requestAnimationFrame(function() {
47401
47410
  e(i && (i == null ? void 0 : i.toLowerCase())).then(function() {
@@ -47418,7 +47427,7 @@ function IA(t, e) {
47418
47427
  });
47419
47428
  }
47420
47429
  function AA() {
47421
- var t = wu(), e = t.current, n = Wl(), r = n[0];
47430
+ var t = wu(), e = t.current, n = Ul(), r = n[0];
47422
47431
  return function(i) {
47423
47432
  return EA(i, e, r);
47424
47433
  };
@@ -47588,7 +47597,7 @@ function PA() {
47588
47597
  o.preventDefault(), L2(Za());
47589
47598
  break;
47590
47599
  case Pe.ArrowDown:
47591
- o.preventDefault(), Kl(n.current);
47600
+ o.preventDefault(), Jl(n.current);
47592
47601
  break;
47593
47602
  default:
47594
47603
  r(o);
@@ -47650,13 +47659,13 @@ function BA() {
47650
47659
  }, [t, o]);
47651
47660
  }
47652
47661
  function B2() {
47653
- var t = R2(), e = Ql(), n = jt();
47662
+ var t = R2(), e = Hl(), n = jt();
47654
47663
  return ke(function() {
47655
- return e ? Kl(n.current) : t();
47664
+ return e ? Jl(n.current) : t();
47656
47665
  }, [n, t, e]);
47657
47666
  }
47658
47667
  function FA() {
47659
- var t = ni(), e = R2(), n = Ql();
47668
+ var t = ni(), e = R2(), n = Hl();
47660
47669
  return ke(function() {
47661
47670
  return n ? t() : e();
47662
47671
  }, [t, n, e]);
@@ -47683,7 +47692,7 @@ function VA(t) {
47683
47692
  function YA(t, e, n, r, i, a, o, s) {
47684
47693
  if (t && e !== St.NATIVE) {
47685
47694
  var l = Xr(t);
47686
- Qc.has(l) || !a || !o || setTimeout(function() {
47695
+ Hc.has(l) || !a || !o || setTimeout(function() {
47687
47696
  var c = i + a.top, d = n + r, u = c >= d && c < d + o.emojiSize * 2;
47688
47697
  u && F2(s, t, e);
47689
47698
  });
@@ -47692,13 +47701,13 @@ function YA(t, e, n, r, i, a, o, s) {
47692
47701
  function F2(t, e, n) {
47693
47702
  if (e) {
47694
47703
  var r = Xr(e);
47695
- Qc.has(r) || (Qc.add(r), pu(e).concat(r).forEach(function(i) {
47704
+ Hc.has(r) || (Hc.add(r), pu(e).concat(r).forEach(function(i) {
47696
47705
  var a = t(i, n);
47697
47706
  UA(a);
47698
47707
  }));
47699
47708
  }
47700
47709
  }
47701
- var Qc = /* @__PURE__ */ new Set();
47710
+ var Hc = /* @__PURE__ */ new Set();
47702
47711
  function UA(t) {
47703
47712
  var e = new Image();
47704
47713
  e.src = t;
@@ -47721,13 +47730,13 @@ function WA() {
47721
47730
  }
47722
47731
  }, [t, e, n]);
47723
47732
  }
47724
- var HA = ["width", "height"], Gc = 40;
47733
+ var HA = ["width", "height"], Qc = 40;
47725
47734
  function QA(t) {
47726
47735
  var e = t.children;
47727
47736
  return P(U9, null, P(GA, null, e));
47728
47737
  }
47729
47738
  function GA(t) {
47730
- var e, n = t.children, r = _r(), i = r[0], a = eA(), o = Ql(), s = Ui(), l = tA(), c = nA();
47739
+ var e, n = t.children, r = _r(), i = r[0], a = eA(), o = Hl(), s = Ui(), l = tA(), c = nA();
47731
47740
  DA(), WA();
47732
47741
  var d = c || {}, u = d.width, p = d.height, h = Xb(d, HA);
47733
47742
  return P("aside", {
@@ -47824,7 +47833,7 @@ var p1 = {
47824
47833
  "--epr-category-label-bg-color": "#ffffffe6",
47825
47834
  "--epr-category-label-text-color": "var(--epr-text-color)",
47826
47835
  "--epr-category-label-padding": "0 var(--epr-horizontal-padding)",
47827
- "--epr-category-label-height": Gc + "px",
47836
+ "--epr-category-label-height": Qc + "px",
47828
47837
  /* Emoji */
47829
47838
  "--epr-emoji-size": "30px",
47830
47839
  "--epr-emoji-padding": "5px",
@@ -47901,14 +47910,14 @@ function KA(t) {
47901
47910
  }
47902
47911
  function Y2(t) {
47903
47912
  if (!t)
47904
- return Gc;
47913
+ return Qc;
47905
47914
  var e = t.querySelector(Jt(de.label));
47906
47915
  if (e) {
47907
47916
  var n = e.getBoundingClientRect().height;
47908
47917
  if (n > 0)
47909
47918
  return n;
47910
47919
  }
47911
- return Gc;
47920
+ return Qc;
47912
47921
  }
47913
47922
  var Xa = "button" + /* @__PURE__ */ Jt(de.emoji), qA = /* @__PURE__ */ [Xa, Jt(de.visible), ":not(" + Jt(de.hidden) + ")"].join("");
47914
47923
  function $t(t) {
@@ -47919,7 +47928,7 @@ function U2(t) {
47919
47928
  var e = J2(t), n = Au(t);
47920
47929
  if (!e)
47921
47930
  return [];
47922
- var r = Ul(n ?? e);
47931
+ var r = Yl(n ?? e);
47923
47932
  return r ? [r, n] : [];
47924
47933
  }
47925
47934
  function ZA(t) {
@@ -48010,11 +48019,11 @@ function q2(t) {
48010
48019
  }
48011
48020
  function Z2(t) {
48012
48021
  var e = t.nextElementSibling;
48013
- return e ? Tu(e) ? e : Z2(e) : Du(Zl(t));
48022
+ return e ? Tu(e) ? e : Z2(e) : Du(ql(t));
48014
48023
  }
48015
48024
  function ju(t) {
48016
48025
  var e = t.previousElementSibling;
48017
- return e ? Tu(e) ? e : ju(e) : q2(ql(t));
48026
+ return e ? Tu(e) ? e : ju(e) : q2(Kl(t));
48018
48027
  }
48019
48028
  function Du(t) {
48020
48029
  if (!t)
@@ -48022,19 +48031,19 @@ function Du(t) {
48022
48031
  var e = zi(t);
48023
48032
  return JA(t, e, 0.1);
48024
48033
  }
48025
- function ql(t) {
48034
+ function Kl(t) {
48026
48035
  var e = hr(t);
48027
48036
  if (!e)
48028
48037
  return null;
48029
48038
  var n = e.previousElementSibling;
48030
- return n ? K2(n) ? ql(n) : n : null;
48039
+ return n ? K2(n) ? Kl(n) : n : null;
48031
48040
  }
48032
- function Zl(t) {
48041
+ function ql(t) {
48033
48042
  var e = hr(t);
48034
48043
  if (!e)
48035
48044
  return null;
48036
48045
  var n = e.nextElementSibling;
48037
- return n ? K2(n) ? Zl(n) : n : null;
48046
+ return n ? K2(n) ? ql(n) : n : null;
48038
48047
  }
48039
48048
  function hr(t) {
48040
48049
  return t ? t.closest(Jt(de.category)) : null;
@@ -48054,7 +48063,7 @@ function $2(t) {
48054
48063
  return t.imgUrl !== void 0;
48055
48064
  }
48056
48065
  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) {
48066
+ 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
48067
  if (!i.current) {
48059
48068
  s();
48060
48069
  var N = w1(L, w), k = N[0], A = N[1];
@@ -48150,7 +48159,7 @@ var rE = /* @__PURE__ */ Ae.create({
48150
48159
  function iE(t) {
48151
48160
  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
48161
  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),
48162
+ 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
48163
  "data-unified": r,
48155
48164
  "aria-label": aE(n),
48156
48165
  "data-full-name": n,
@@ -48160,7 +48169,7 @@ function iE(t) {
48160
48169
  function aE(t) {
48161
48170
  return t[t.length - 1];
48162
48171
  }
48163
- var Hf = /* @__PURE__ */ Ae.create({
48172
+ var Wf = /* @__PURE__ */ Ae.create({
48164
48173
  emoji: {
48165
48174
  ".": de.emoji,
48166
48175
  position: "relative",
@@ -48267,7 +48276,7 @@ var lE = /* @__PURE__ */ Ae.create({
48267
48276
  padding: "var(--epr-emoji-padding)"
48268
48277
  }
48269
48278
  });
48270
- function Jc(t) {
48279
+ function Gc(t) {
48271
48280
  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
48281
  i && (h.width = h.height = h.fontSize = i + "px");
48273
48282
  var m = e || p(n);
@@ -48283,7 +48292,7 @@ function Jc(t) {
48283
48292
  onError: g,
48284
48293
  className: l
48285
48294
  });
48286
- return P(ld, null, r === St.NATIVE ? P(sE, {
48295
+ return P(sd, null, r === St.NATIVE ? P(sE, {
48287
48296
  unified: n,
48288
48297
  style: h,
48289
48298
  className: l
@@ -48302,7 +48311,7 @@ function Jc(t) {
48302
48311
  });
48303
48312
  }
48304
48313
  }
48305
- function Xl(t) {
48314
+ function Zl(t) {
48306
48315
  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
48316
  return P(iE, {
48308
48317
  hasVariations: g,
@@ -48313,7 +48322,7 @@ function Xl(t) {
48313
48322
  unified: n,
48314
48323
  noBackground: h,
48315
48324
  style: m
48316
- }, P(Jc, {
48325
+ }, P(Gc, {
48317
48326
  unified: n,
48318
48327
  emoji: e,
48319
48328
  size: l,
@@ -48392,10 +48401,10 @@ function uE() {
48392
48401
  ref: n,
48393
48402
  "aria-label": "Reactions"
48394
48403
  }, r.map(function(s) {
48395
- var l = Ul(s);
48404
+ var l = Yl(s);
48396
48405
  return l ? P("li", {
48397
48406
  key: s
48398
- }, P(Xl, {
48407
+ }, P(Zl, {
48399
48408
  emoji: l,
48400
48409
  emojiStyle: i,
48401
48410
  unified: s,
@@ -48511,7 +48520,7 @@ function wE() {
48511
48520
  };
48512
48521
  }
48513
48522
  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) {
48523
+ 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
48524
  var L = u(y), N = o(y), k = N.failedToLoad, A = N.filteredOut, j = N.hidden;
48516
48525
  return !k && !A && !j && !L;
48517
48526
  }), v = bE(w.length);
@@ -48533,7 +48542,7 @@ function yE(t) {
48533
48542
  var j, S;
48534
48543
  return g++, YA(L, l, i, (j = (S = m.current) == null ? void 0 : S.clientHeight) != null ? j : 0, n, A, v, p), y;
48535
48544
  }
48536
- return a ? (y.push(P(Xl, {
48545
+ return a ? (y.push(P(Zl, {
48537
48546
  showVariations: h,
48538
48547
  key: k,
48539
48548
  emoji: L,
@@ -48553,21 +48562,21 @@ function yE(t) {
48553
48562
  };
48554
48563
  }
48555
48564
  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);
48565
+ var e = t.categoryConfig, n = t.children, r = t.hidden, i = t.hiddenOnSearch, a = t.height, o = Fl(e), s = i2(e);
48557
48566
  return P("li", {
48558
- className: fe(Qf.category, r && uu.hidden, i && Zr.hiddenOnSearch),
48567
+ className: fe(Hf.category, r && uu.hidden, i && Zr.hiddenOnSearch),
48559
48568
  "data-name": o,
48560
48569
  "aria-label": s
48561
48570
  }, P("h2", {
48562
- className: fe(Qf.label)
48571
+ className: fe(Hf.label)
48563
48572
  }, s), P("div", {
48564
- className: fe(Qf.categoryContent),
48573
+ className: fe(Hf.categoryContent),
48565
48574
  style: {
48566
48575
  height: a
48567
48576
  }
48568
48577
  }, n));
48569
48578
  }
48570
- var Qf = /* @__PURE__ */ Ae.create({
48579
+ var Hf = /* @__PURE__ */ Ae.create({
48571
48580
  category: {
48572
48581
  ".": de.category,
48573
48582
  minHeight: "calc(var(--epr-emoji-fullsize) + var(--epr-category-label-height))",
@@ -48603,15 +48612,15 @@ var Qf = /* @__PURE__ */ Ae.create({
48603
48612
  }
48604
48613
  });
48605
48614
  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() {
48615
+ 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);
48616
+ if (ad(function() {
48608
48617
  d.current && c(d.current.clientHeight);
48609
48618
  }), l)
48610
48619
  return null;
48611
- var u = t[0], p = e(Vl(u))[0], h = p ? cn(p, o) : "";
48620
+ var u = t[0], p = e(Fl(u))[0], h = p ? cn(p, o) : "";
48612
48621
  return p ? P("div", {
48613
48622
  ref: d
48614
- }, P(Xl, {
48623
+ }, P(Zl, {
48615
48624
  emoji: p,
48616
48625
  unified: h,
48617
48626
  emojiStyle: n,
@@ -48637,7 +48646,7 @@ function ME(t) {
48637
48646
  className: fe(LE.emojiList),
48638
48647
  ref: o
48639
48648
  }, P(CE, null), n.map(function(d) {
48640
- var u = Vl(d), p = c, h = i[u];
48649
+ var u = Fl(d), p = c, h = i[u];
48641
48650
  return h && (c += h + l), P(uy, {
48642
48651
  key: u
48643
48652
  }, P(xE, {
@@ -48682,9 +48691,9 @@ var LE = /* @__PURE__ */ Ae.create({
48682
48691
  t[t.Up = 0] = "Up", t[t.Down = 1] = "Down";
48683
48692
  })(Mi || (Mi = {}));
48684
48693
  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));
48694
+ 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
48695
  ye(function() {
48687
- p && Kl(e.current);
48696
+ p && Jl(e.current);
48688
48697
  }, [e, p, t]);
48689
48698
  var h, m;
48690
48699
  return !p && t.current ? l(null) : (h = o(), m = c()), P("div", {
@@ -48693,8 +48702,8 @@ function kE() {
48693
48702
  style: {
48694
48703
  top: h
48695
48704
  }
48696
- }, p && r ? [cn(r)].concat(Yl(r)).slice(0, 6).map(function(g) {
48697
- return P(Xl, {
48705
+ }, p && r ? [cn(r)].concat(Vl(r)).slice(0, 6).map(function(g) {
48706
+ return P(Zl, {
48698
48707
  key: g,
48699
48708
  emoji: r,
48700
48709
  unified: g,
@@ -48708,7 +48717,7 @@ function kE() {
48708
48717
  }));
48709
48718
  }
48710
48719
  function SE(t) {
48711
- var e = Gl();
48720
+ var e = Ql();
48712
48721
  return function() {
48713
48722
  var r = {};
48714
48723
  if (!t.current)
@@ -48723,7 +48732,7 @@ function SE(t) {
48723
48732
  };
48724
48733
  }
48725
48734
  function IE(t) {
48726
- var e = Gl(), n = jt(), r = Mi.Up;
48735
+ var e = Ql(), n = jt(), r = Mi.Up;
48727
48736
  return {
48728
48737
  getMenuDirection: i,
48729
48738
  getTop: a
@@ -48921,7 +48930,7 @@ function OE(t) {
48921
48930
  className: n
48922
48931
  }, e);
48923
48932
  }
48924
- function _l(t) {
48933
+ function Xl(t) {
48925
48934
  var e = t.children, n = t.className, r = t.style;
48926
48935
  return P("div", {
48927
48936
  style: we({}, r, {
@@ -48935,12 +48944,12 @@ function zE(t) {
48935
48944
  return P(co, {
48936
48945
  style: a,
48937
48946
  onClick: n,
48938
- className: fe("epr-tone-" + i, Gf.tone, !e && Gf.closedTone, r && Gf.active),
48947
+ className: fe("epr-tone-" + i, Qf.tone, !e && Qf.closedTone, r && Qf.active),
48939
48948
  "aria-pressed": r,
48940
48949
  "aria-label": "Skin tone " + d9[i]
48941
48950
  });
48942
48951
  }
48943
- var Gf = /* @__PURE__ */ Ae.create({
48952
+ var Qf = /* @__PURE__ */ Ae.create({
48944
48953
  closedTone: {
48945
48954
  opacity: "0",
48946
48955
  zIndex: "0"
@@ -48990,7 +48999,7 @@ var Gf = /* @__PURE__ */ Ae.create({
48990
48999
  }
48991
49000
  }), la = 28;
48992
49001
  function PE() {
48993
- return P(_l, {
49002
+ return P(Xl, {
48994
49003
  style: {
48995
49004
  height: la
48996
49005
  }
@@ -49004,11 +49013,11 @@ function PE() {
49004
49013
  })));
49005
49014
  }
49006
49015
  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();
49016
+ 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
49017
  if (i)
49009
49018
  return null;
49010
49019
  var m = la * el.length + "px", g = o ? m : la + "px", w = n === $a.VERTICAL;
49011
- return P(_l, {
49020
+ return P(Xl, {
49012
49021
  className: fe(ta.skinTones, w && ta.vertical, o && ta.open, w && o && ta.verticalShadow),
49013
49022
  style: w ? {
49014
49023
  flexBasis: g,
@@ -49092,14 +49101,14 @@ function FE() {
49092
49101
  if (!m)
49093
49102
  return null;
49094
49103
  var g = s ? f1(s) : e.defaultCaption;
49095
- return P(ld, null, P("div", null, p ? P(Jc, {
49104
+ return P(sd, null, P("div", null, p ? P(Gc, {
49096
49105
  unified: r == null ? void 0 : r.unified,
49097
49106
  emoji: u,
49098
49107
  emojiStyle: a,
49099
49108
  size: 45,
49100
49109
  getEmojiUrl: l,
49101
49110
  className: fe(Na.emoji)
49102
- }) : m ? P(Jc, {
49111
+ }) : m ? P(Gc, {
49103
49112
  unified: cn(m),
49104
49113
  emoji: m,
49105
49114
  emojiStyle: a,
@@ -49288,7 +49297,7 @@ function JE() {
49288
49297
  setActiveCategory: n,
49289
49298
  setVisibleCategories: i
49290
49299
  });
49291
- var o = Ql(), s = Mu(), l = q9(), c = Lu(), d = WE();
49300
+ var o = Hl(), s = Mu(), l = q9(), c = Lu(), d = WE();
49292
49301
  return P("div", {
49293
49302
  className: fe(KE.nav),
49294
49303
  role: "tablist",
@@ -49296,7 +49305,7 @@ function JE() {
49296
49305
  id: "epr-category-nav-id",
49297
49306
  ref: c
49298
49307
  }, s.map(function(u) {
49299
- var p = Vl(u), h = p === e;
49308
+ var p = Fl(u), h = p === e;
49300
49309
  if (tE(u) && d)
49301
49310
  return null;
49302
49311
  var m = !o && !h;
@@ -49425,7 +49434,7 @@ function eT() {
49425
49434
  }
49426
49435
  function tT() {
49427
49436
  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, {
49437
+ return P(Xl, {
49429
49438
  className: fe(Xo.searchContainer)
49430
49439
  }, P("input", {
49431
49440
  // eslint-disable-next-line jsx-a11y/no-autofocus
@@ -49530,7 +49539,7 @@ var Xo = /* @__PURE__ */ Ae.create(/* @__PURE__ */ we({
49530
49539
  }
49531
49540
  })));
49532
49541
  function nT() {
49533
- return P(_l, {
49542
+ return P(Xl, {
49534
49543
  className: fe("epr-header", Zr.hiddenOnReactions)
49535
49544
  }, P(eT, null), P(JE, null));
49536
49545
  }
@@ -49549,9 +49558,9 @@ function iT() {
49549
49558
  }
49550
49559
  function aT(t) {
49551
49560
  var e = t.renderAll;
49552
- return e ? P(ld, null, P(nT, null), P(AE, null), P(BE, null)) : null;
49561
+ return e ? P(sd, null, P(nT, null), P(AE, null), P(BE, null)) : null;
49553
49562
  }
49554
- var oT = /* @__PURE__ */ sd(rT, _b), sT = /* @__PURE__ */ (function(t) {
49563
+ var oT = /* @__PURE__ */ od(rT, _b), sT = /* @__PURE__ */ (function(t) {
49555
49564
  n9(e, t);
49556
49565
  function e(r) {
49557
49566
  var i;
@@ -49571,7 +49580,7 @@ var oT = /* @__PURE__ */ sd(rT, _b), sT = /* @__PURE__ */ (function(t) {
49571
49580
  return this.state.hasError ? null : this.props.children;
49572
49581
  }, e;
49573
49582
  })(hy);
49574
- function Kc(t) {
49583
+ function Jc(t) {
49575
49584
  var e = H9({
49576
49585
  onEmojiClick: t.onEmojiClick,
49577
49586
  onReactionClick: t.onReactionClick,
@@ -49801,7 +49810,7 @@ const lT = ({ role: t }) => {
49801
49810
  }
49802
49811
  ) }),
49803
49812
  /* @__PURE__ */ f(Xe, { className: "w-auto p-0 border-none", align: "start", side: "top", children: /* @__PURE__ */ f(
49804
- Kc,
49813
+ Jc,
49805
49814
  {
49806
49815
  onEmojiClick: (v) => h == null ? void 0 : h.chain().focus().insertContent(v.emoji).run(),
49807
49816
  width: 300,
@@ -49906,7 +49915,7 @@ const lT = ({ role: t }) => {
49906
49915
  }
49907
49916
  ) }),
49908
49917
  /* @__PURE__ */ f(Xe, { className: "w-auto p-0 border-none", align: "end", children: /* @__PURE__ */ f(
49909
- Kc,
49918
+ Jc,
49910
49919
  {
49911
49920
  onEmojiClick: (o) => r == null ? void 0 : r(t.id, o.emoji),
49912
49921
  width: 300,
@@ -49979,7 +49988,7 @@ const lT = ({ role: t }) => {
49979
49988
  }
49980
49989
  ) }),
49981
49990
  /* @__PURE__ */ f(Xe, { className: "w-auto p-0 border-none", align: "start", children: /* @__PURE__ */ f(
49982
- Kc,
49991
+ Jc,
49983
49992
  {
49984
49993
  onEmojiClick: (o) => r(t.id, o.emoji),
49985
49994
  width: 300,
@@ -50185,7 +50194,7 @@ function H7({
50185
50194
  ),
50186
50195
  ...n,
50187
50196
  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" }) }) }),
50197
+ /* @__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
50198
  e
50190
50199
  ]
50191
50200
  }
@@ -50418,7 +50427,7 @@ function o4({
50418
50427
  )
50419
50428
  ] });
50420
50429
  }
50421
- function qc({
50430
+ function Kc({
50422
50431
  columns: t,
50423
50432
  data: e,
50424
50433
  title: n,
@@ -50684,7 +50693,7 @@ function s4({
50684
50693
  t.parcelas && t.parcelas.length > 0 && /* @__PURE__ */ b("div", { className: "mt-6", children: [
50685
50694
  /* @__PURE__ */ f("h3", { className: "text-sm font-semibold mb-3", children: "Parcelas" }),
50686
50695
  /* @__PURE__ */ f(
50687
- qc,
50696
+ Kc,
50688
50697
  {
50689
50698
  columns: [
50690
50699
  { header: "Nº", key: "numeroParcela", width: "10%", align: "center" },
@@ -50716,7 +50725,7 @@ function s4({
50716
50725
  ] })
50717
50726
  ] }),
50718
50727
  r && t.pecaDetalhes && t.pecaDetalhes.pecas && t.pecaDetalhes.pecas.length > 0 && /* @__PURE__ */ f(wt, { title: "Peças Contratadas", children: /* @__PURE__ */ f(
50719
- qc,
50728
+ Kc,
50720
50729
  {
50721
50730
  columns: [
50722
50731
  { header: "Tipo de Peça", key: "tipoPeca", width: "40%" },
@@ -51181,7 +51190,7 @@ const mT = I.forwardRef(({ data: t, logo: e, showServices: n = !0, className: r
51181
51190
  }
51182
51191
  ) }));
51183
51192
  mT.displayName = "ContractPrintPreview";
51184
- const Zc = I.forwardRef(
51193
+ const qc = I.forwardRef(
51185
51194
  ({
51186
51195
  className: t,
51187
51196
  inputClassName: e,
@@ -51381,7 +51390,7 @@ const Zc = I.forwardRef(
51381
51390
  );
51382
51391
  }
51383
51392
  );
51384
- Zc.displayName = "NumberInput";
51393
+ qc.displayName = "NumberInput";
51385
51394
  const Ru = I.forwardRef(
51386
51395
  ({ className: t, ...e }, n) => /* @__PURE__ */ f(
51387
51396
  "textarea",
@@ -51547,7 +51556,7 @@ const yT = {
51547
51556
  return r ? /* @__PURE__ */ b(gT, { className: t, children: [
51548
51557
  i === "start" && /* @__PURE__ */ f(k1, { children: /* @__PURE__ */ f(d, { className: "h-4 w-4 text-muted-foreground" }) }),
51549
51558
  /* @__PURE__ */ f(
51550
- Zc,
51559
+ qc,
51551
51560
  {
51552
51561
  ref: s,
51553
51562
  className: C(
@@ -51568,7 +51577,7 @@ const yT = {
51568
51577
  ),
51569
51578
  i === "end" && /* @__PURE__ */ f(k1, { align: "inline-end", children: /* @__PURE__ */ f(d, { className: "h-4 w-4 text-muted-foreground" }) })
51570
51579
  ] }) : /* @__PURE__ */ f(
51571
- Zc,
51580
+ qc,
51572
51581
  {
51573
51582
  ref: s,
51574
51583
  className: t,
@@ -51610,7 +51619,7 @@ const CT = () => {
51610
51619
  label: "Mês passado",
51611
51620
  value: {
51612
51621
  from: rs(is(t, 1)),
51613
- to: fd(is(t, 1))
51622
+ to: ld(is(t, 1))
51614
51623
  }
51615
51624
  }
51616
51625
  ];
@@ -51818,7 +51827,7 @@ function MT({
51818
51827
  ] }),
51819
51828
  /* @__PURE__ */ b("div", { children: [
51820
51829
  /* @__PURE__ */ f(
51821
- hd,
51830
+ ud,
51822
51831
  {
51823
51832
  mode: "range",
51824
51833
  selected: t,
@@ -52241,8 +52250,8 @@ function RT({
52241
52250
  A.label
52242
52251
  ] }) : t, [p, t, A]), B = (A == null ? void 0 : A.variant) || a, H = A == null ? void 0 : A.className;
52243
52252
  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(
52253
+ /* @__PURE__ */ f("div", { ref: g, className: C("inline-flex", h), ...m, children: /* @__PURE__ */ b(ul, { open: y, onOpenChange: L, children: [
52254
+ /* @__PURE__ */ f(hl, { asChild: !0, disabled: u, children: /* @__PURE__ */ b(
52246
52255
  he,
52247
52256
  {
52248
52257
  variant: B,
@@ -52257,7 +52266,7 @@ function RT({
52257
52266
  ]
52258
52267
  }
52259
52268
  ) }),
52260
- /* @__PURE__ */ f(ml, { align: "start", className: "w-48", children: e.map((E) => /* @__PURE__ */ b(
52269
+ /* @__PURE__ */ f(pl, { align: "start", className: "w-48", children: e.map((E) => /* @__PURE__ */ b(
52261
52270
  yi,
52262
52271
  {
52263
52272
  onClick: () => S(E.value),
@@ -52271,10 +52280,10 @@ function RT({
52271
52280
  String(E.value)
52272
52281
  )) })
52273
52282
  ] }) }),
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 })
52283
+ /* @__PURE__ */ f(gl, { open: M, onOpenChange: x, children: /* @__PURE__ */ b(bl, { children: [
52284
+ /* @__PURE__ */ b(wl, { children: [
52285
+ /* @__PURE__ */ f(yl, { children: o }),
52286
+ /* @__PURE__ */ f(vl, { children: s })
52278
52287
  ] }),
52279
52288
  j && /* @__PURE__ */ b("div", { className: "flex items-center gap-3 py-4", children: [
52280
52289
  /* @__PURE__ */ b("div", { className: "flex items-center gap-2", children: [
@@ -52339,7 +52348,7 @@ function PT({
52339
52348
  }
52340
52349
  );
52341
52350
  }
52342
- function Jf({
52351
+ function Gf({
52343
52352
  className: t,
52344
52353
  ...e
52345
52354
  }) {
@@ -52573,7 +52582,7 @@ function JT(t, e) {
52573
52582
  (n) => e.indexOf(n) > -1
52574
52583
  );
52575
52584
  }
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";
52585
+ 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
52586
  function E1(t, e) {
52578
52587
  return {
52579
52588
  type: Ou,
@@ -52614,7 +52623,7 @@ function qT(t) {
52614
52623
  _T(p), l.pinSource(c);
52615
52624
  const h = l.getSourceType(c);
52616
52625
  return {
52617
- type: $l,
52626
+ type: _l,
52618
52627
  payload: {
52619
52628
  itemType: h,
52620
52629
  item: p,
@@ -52670,7 +52679,7 @@ function nj(t) {
52670
52679
  const r = t.getMonitor(), i = t.getRegistry();
52671
52680
  rj(r), oj(r).forEach((o, s) => {
52672
52681
  const l = ij(o, s, i, r), c = {
52673
- type: tf,
52682
+ type: ef,
52674
52683
  payload: {
52675
52684
  dropResult: tj({}, n, l)
52676
52685
  }
@@ -52700,14 +52709,14 @@ function sj(t) {
52700
52709
  lj(n);
52701
52710
  const i = n.getSourceId();
52702
52711
  return i != null && (r.getSource(i, !0).endDrag(n, i), r.unpinSource()), {
52703
- type: nf
52712
+ type: tf
52704
52713
  };
52705
52714
  };
52706
52715
  }
52707
52716
  function lj(t) {
52708
52717
  re(t.isDragging(), "Cannot call endDrag while not dragging.");
52709
52718
  }
52710
- function Xc(t, e) {
52719
+ function Zc(t, e) {
52711
52720
  return e === null ? t === null : Array.isArray(t) ? t.some(
52712
52721
  (n) => n === e
52713
52722
  ) : t === e;
@@ -52717,7 +52726,7 @@ function fj(t) {
52717
52726
  cj(n);
52718
52727
  const i = n.slice(0), a = t.getMonitor(), o = t.getRegistry(), s = a.getItemType();
52719
52728
  return uj(i, o, s), dj(i, a, o), hj(i, a, o), {
52720
- type: ef,
52729
+ type: $l,
52721
52730
  payload: {
52722
52731
  targetIds: i,
52723
52732
  clientOffset: r || null
@@ -52740,7 +52749,7 @@ function dj(t, e, n) {
52740
52749
  function uj(t, e, n) {
52741
52750
  for (let r = t.length - 1; r >= 0; r--) {
52742
52751
  const i = t[r], a = e.getTargetType(i);
52743
- Xc(a, n) || t.splice(r, 1);
52752
+ Zc(a, n) || t.splice(r, 1);
52744
52753
  }
52745
52754
  }
52746
52755
  function hj(t, e, n) {
@@ -52865,7 +52874,7 @@ class Cj {
52865
52874
  if (re(n, `Expected to find a valid target. targetId=${e}`), !this.isDragging() || this.didDrop())
52866
52875
  return !1;
52867
52876
  const r = this.registry.getTargetType(e), i = this.getItemType();
52868
- return Xc(r, i) && n.canDrop(this, e);
52877
+ return Zc(r, i) && n.canDrop(this, e);
52869
52878
  }
52870
52879
  isDragging() {
52871
52880
  return !!this.getItemType();
@@ -52888,7 +52897,7 @@ class Cj {
52888
52897
  if (!this.isDragging())
52889
52898
  return !1;
52890
52899
  const i = this.registry.getTargetType(e), a = this.getItemType();
52891
- if (a && !Xc(i, a))
52900
+ if (a && !Zc(i, a))
52892
52901
  return !1;
52893
52902
  const o = this.getTargetIds();
52894
52903
  if (!o.length)
@@ -53058,7 +53067,7 @@ const g4 = new Lj(), Sj = new kj(g4.registerPendingError);
53058
53067
  function Ij(t) {
53059
53068
  g4.enqueueTask(Sj.create(t));
53060
53069
  }
53061
- const Bu = "dnd-core/ADD_SOURCE", Fu = "dnd-core/ADD_TARGET", Vu = "dnd-core/REMOVE_SOURCE", rf = "dnd-core/REMOVE_TARGET";
53070
+ const Bu = "dnd-core/ADD_SOURCE", Fu = "dnd-core/ADD_TARGET", Vu = "dnd-core/REMOVE_SOURCE", nf = "dnd-core/REMOVE_TARGET";
53062
53071
  function Aj(t) {
53063
53072
  return {
53064
53073
  type: Bu,
@@ -53085,7 +53094,7 @@ function Tj(t) {
53085
53094
  }
53086
53095
  function jj(t) {
53087
53096
  return {
53088
- type: rf,
53097
+ type: nf,
53089
53098
  payload: {
53090
53099
  targetId: t
53091
53100
  }
@@ -53097,10 +53106,10 @@ function Dj(t) {
53097
53106
  function Rj(t) {
53098
53107
  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
53108
  }
53100
- function _c(t, e) {
53109
+ function Xc(t, e) {
53101
53110
  if (e && Array.isArray(t)) {
53102
53111
  t.forEach(
53103
- (n) => _c(n, !1)
53112
+ (n) => Xc(n, !1)
53104
53113
  );
53105
53114
  return;
53106
53115
  }
@@ -53148,12 +53157,12 @@ function D1(t, e) {
53148
53157
  }
53149
53158
  class Bj {
53150
53159
  addSource(e, n) {
53151
- _c(e), Dj(n);
53160
+ Xc(e), Dj(n);
53152
53161
  const r = this.addHandler(Ft.SOURCE, e, n);
53153
53162
  return this.store.dispatch(Aj(r)), r;
53154
53163
  }
53155
53164
  addTarget(e, n) {
53156
- _c(e, !0), Rj(n);
53165
+ Xc(e, !0), Rj(n);
53157
53166
  const r = this.addHandler(Ft.TARGET, e, n);
53158
53167
  return this.store.dispatch(Ej(r)), r;
53159
53168
  }
@@ -53215,17 +53224,17 @@ function Yj(t, e, n = Fj) {
53215
53224
  }
53216
53225
  function Uj(t = ka, e) {
53217
53226
  switch (e.type) {
53218
- case ef:
53227
+ case $l:
53219
53228
  break;
53220
53229
  case Bu:
53221
53230
  case Fu:
53222
- case rf:
53231
+ case nf:
53223
53232
  case Vu:
53224
53233
  return ka;
53225
- case $l:
53234
+ case _l:
53226
53235
  case zu:
53227
- case nf:
53228
53236
  case tf:
53237
+ case ef:
53229
53238
  default:
53230
53239
  return Pu;
53231
53240
  }
@@ -53263,18 +53272,18 @@ function Qj(t = R1, e) {
53263
53272
  const { payload: n } = e;
53264
53273
  switch (e.type) {
53265
53274
  case Ou:
53266
- case $l:
53275
+ case _l:
53267
53276
  return {
53268
53277
  initialSourceClientOffset: n.sourceClientOffset,
53269
53278
  initialClientOffset: n.clientOffset,
53270
53279
  clientOffset: n.clientOffset
53271
53280
  };
53272
- case ef:
53281
+ case $l:
53273
53282
  return Vj(t.clientOffset, n.clientOffset) ? t : Hj({}, t, {
53274
53283
  clientOffset: n.clientOffset
53275
53284
  });
53276
- case nf:
53277
53285
  case tf:
53286
+ case ef:
53278
53287
  return R1;
53279
53288
  default:
53280
53289
  return t;
@@ -53311,7 +53320,7 @@ const Jj = {
53311
53320
  function Kj(t = Jj, e) {
53312
53321
  const { payload: n } = e;
53313
53322
  switch (e.type) {
53314
- case $l:
53323
+ case _l:
53315
53324
  return ci({}, t, {
53316
53325
  itemType: n.itemType,
53317
53326
  item: n.item,
@@ -53324,21 +53333,21 @@ function Kj(t = Jj, e) {
53324
53333
  return ci({}, t, {
53325
53334
  isSourcePublic: !0
53326
53335
  });
53327
- case ef:
53336
+ case $l:
53328
53337
  return ci({}, t, {
53329
53338
  targetIds: n.targetIds
53330
53339
  });
53331
- case rf:
53340
+ case nf:
53332
53341
  return t.targetIds.indexOf(n.targetId) === -1 ? t : ci({}, t, {
53333
53342
  targetIds: QT(t.targetIds, n.targetId)
53334
53343
  });
53335
- case tf:
53344
+ case ef:
53336
53345
  return ci({}, t, {
53337
53346
  dropResult: n.dropResult,
53338
53347
  didDrop: !0,
53339
53348
  targetIds: []
53340
53349
  });
53341
- case nf:
53350
+ case tf:
53342
53351
  return ci({}, t, {
53343
53352
  itemType: null,
53344
53353
  item: null,
@@ -53358,7 +53367,7 @@ function qj(t = 0, e) {
53358
53367
  case Fu:
53359
53368
  return t + 1;
53360
53369
  case Vu:
53361
- case rf:
53370
+ case nf:
53362
53371
  return t - 1;
53363
53372
  default:
53364
53373
  return t;
@@ -53430,7 +53439,7 @@ function rD(t, e) {
53430
53439
  }
53431
53440
  let O1 = 0;
53432
53441
  const _o = Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");
53433
- var b4 = /* @__PURE__ */ sd(function(e) {
53442
+ var b4 = /* @__PURE__ */ od(function(e) {
53434
53443
  var { children: n } = e, r = nD(e, [
53435
53444
  "children"
53436
53445
  ]);
@@ -53473,9 +53482,9 @@ function w4() {
53473
53482
  function oD(t) {
53474
53483
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
53475
53484
  }
53476
- var Kf, z1;
53485
+ var Jf, z1;
53477
53486
  function sD() {
53478
- return z1 || (z1 = 1, Kf = function t(e, n) {
53487
+ return z1 || (z1 = 1, Jf = function t(e, n) {
53479
53488
  if (e === n) return !0;
53480
53489
  if (e && n && typeof e == "object" && typeof n == "object") {
53481
53490
  if (e.constructor !== n.constructor) return !1;
@@ -53499,10 +53508,10 @@ function sD() {
53499
53508
  return !0;
53500
53509
  }
53501
53510
  return e !== e && n !== n;
53502
- }), Kf;
53511
+ }), Jf;
53503
53512
  }
53504
53513
  var lD = sD();
53505
- const fD = /* @__PURE__ */ oD(lD), Wr = typeof window < "u" ? od : ye;
53514
+ const fD = /* @__PURE__ */ oD(lD), Wr = typeof window < "u" ? ad : ye;
53506
53515
  function cD(t, e, n) {
53507
53516
  const [r, i] = oe(
53508
53517
  () => e(t)
@@ -53563,7 +53572,7 @@ function hD(t) {
53563
53572
  ]
53564
53573
  );
53565
53574
  }
53566
- let qf = !1, Zf = !1;
53575
+ let Kf = !1, qf = !1;
53567
53576
  class pD {
53568
53577
  receiveHandlerId(e) {
53569
53578
  this.sourceId = e;
@@ -53572,21 +53581,21 @@ class pD {
53572
53581
  return this.sourceId;
53573
53582
  }
53574
53583
  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");
53584
+ 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
53585
  try {
53577
- return qf = !0, this.internalMonitor.canDragSource(this.sourceId);
53586
+ return Kf = !0, this.internalMonitor.canDragSource(this.sourceId);
53578
53587
  } finally {
53579
- qf = !1;
53588
+ Kf = !1;
53580
53589
  }
53581
53590
  }
53582
53591
  isDragging() {
53583
53592
  if (!this.sourceId)
53584
53593
  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");
53594
+ 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
53595
  try {
53587
- return Zf = !0, this.internalMonitor.isDraggingSource(this.sourceId);
53596
+ return qf = !0, this.internalMonitor.isDraggingSource(this.sourceId);
53588
53597
  } finally {
53589
- Zf = !1;
53598
+ qf = !1;
53590
53599
  }
53591
53600
  }
53592
53601
  subscribeToStateChange(e, n) {
@@ -53647,7 +53656,7 @@ class pD {
53647
53656
  this.sourceId = null, this.internalMonitor = e.getMonitor();
53648
53657
  }
53649
53658
  }
53650
- let Xf = !1;
53659
+ let Zf = !1;
53651
53660
  class mD {
53652
53661
  receiveHandlerId(e) {
53653
53662
  this.targetId = e;
@@ -53661,11 +53670,11 @@ class mD {
53661
53670
  canDrop() {
53662
53671
  if (!this.targetId)
53663
53672
  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");
53673
+ 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
53674
  try {
53666
- return Xf = !0, this.internalMonitor.canDropOnTarget(this.targetId);
53675
+ return Zf = !0, this.internalMonitor.canDropOnTarget(this.targetId);
53667
53676
  } finally {
53668
- Xf = !1;
53677
+ Zf = !1;
53669
53678
  }
53670
53679
  }
53671
53680
  isOver(e) {
@@ -53716,7 +53725,7 @@ function bD(t, e, n) {
53716
53725
  () => r.removeSource(i)
53717
53726
  ];
53718
53727
  }
53719
- function $c(t, e, n, r) {
53728
+ function _c(t, e, n, r) {
53720
53729
  let i;
53721
53730
  if (i !== void 0)
53722
53731
  return !!i;
@@ -53738,7 +53747,7 @@ function $c(t, e, n, r) {
53738
53747
  }
53739
53748
  return !0;
53740
53749
  }
53741
- function ed(t) {
53750
+ function $c(t) {
53742
53751
  return (
53743
53752
  // eslint-disable-next-line no-prototype-builtins
53744
53753
  t !== null && typeof t == "object" && Object.prototype.hasOwnProperty.call(t, "current")
@@ -53832,10 +53841,10 @@ class CD {
53832
53841
  return this.lastConnectedDragPreview !== this.dragPreview;
53833
53842
  }
53834
53843
  didDragSourceOptionsChange() {
53835
- return !$c(this.lastConnectedDragSourceOptions, this.dragSourceOptions);
53844
+ return !_c(this.lastConnectedDragSourceOptions, this.dragSourceOptions);
53836
53845
  }
53837
53846
  didDragPreviewOptionsChange() {
53838
- return !$c(this.lastConnectedDragPreviewOptions, this.dragPreviewOptions);
53847
+ return !_c(this.lastConnectedDragPreviewOptions, this.dragPreviewOptions);
53839
53848
  }
53840
53849
  disconnectDragSource() {
53841
53850
  this.dragSourceUnsubscribe && (this.dragSourceUnsubscribe(), this.dragSourceUnsubscribe = void 0);
@@ -53858,10 +53867,10 @@ class CD {
53858
53867
  constructor(e) {
53859
53868
  this.hooks = C4({
53860
53869
  dragSource: (n, r) => {
53861
- this.clearDragSource(), this.dragSourceOptions = r || null, ed(n) ? this.dragSourceRef = n : this.dragSourceNode = n, this.reconnectDragSource();
53870
+ this.clearDragSource(), this.dragSourceOptions = r || null, $c(n) ? this.dragSourceRef = n : this.dragSourceNode = n, this.reconnectDragSource();
53862
53871
  },
53863
53872
  dragPreview: (n, r) => {
53864
- this.clearDragPreview(), this.dragPreviewOptions = r || null, ed(n) ? this.dragPreviewRef = n : this.dragPreviewNode = n, this.reconnectDragPreview();
53873
+ this.clearDragPreview(), this.dragPreviewOptions = r || null, $c(n) ? this.dragPreviewRef = n : this.dragPreviewNode = n, this.reconnectDragPreview();
53865
53874
  }
53866
53875
  }), 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
53876
  }
@@ -53898,7 +53907,7 @@ class MD {
53898
53907
  return this.lastConnectedDropTarget !== this.dropTarget;
53899
53908
  }
53900
53909
  didOptionsChange() {
53901
- return !$c(this.lastConnectedDropTargetOptions, this.dropTargetOptions);
53910
+ return !_c(this.lastConnectedDropTargetOptions, this.dropTargetOptions);
53902
53911
  }
53903
53912
  disconnectDropTarget() {
53904
53913
  this.unsubscribeDropTarget && (this.unsubscribeDropTarget(), this.unsubscribeDropTarget = void 0);
@@ -53912,7 +53921,7 @@ class MD {
53912
53921
  constructor(e) {
53913
53922
  this.hooks = C4({
53914
53923
  dropTarget: (n, r) => {
53915
- this.clearDropTarget(), this.dropTargetOptions = r, ed(n) ? this.dropTargetRef = n : this.dropTargetNode = n, this.reconnect();
53924
+ this.clearDropTarget(), this.dropTargetOptions = r, $c(n) ? this.dropTargetRef = n : this.dropTargetNode = n, this.reconnect();
53916
53925
  }
53917
53926
  }), this.handlerId = null, this.dropTargetRef = null, this.dropTargetOptionsInternal = null, this.lastConnectedHandlerId = null, this.lastConnectedDropTarget = null, this.lastConnectedDropTargetOptions = null, this.backend = e;
53918
53927
  }
@@ -54185,14 +54194,14 @@ const x4 = "__NATIVE_FILE__", L4 = "__NATIVE_URL__", N4 = "__NATIVE_TEXT__", k4
54185
54194
  TEXT: N4,
54186
54195
  URL: L4
54187
54196
  }, Symbol.toStringTag, { value: "Module" }));
54188
- function _f(t, e, n) {
54197
+ function Xf(t, e, n) {
54189
54198
  const r = e.reduce(
54190
54199
  (i, a) => i || t.getData(a),
54191
54200
  ""
54192
54201
  );
54193
54202
  return r ?? n;
54194
54203
  }
54195
- const td = {
54204
+ const ed = {
54196
54205
  [x4]: {
54197
54206
  exposeProperties: {
54198
54207
  files: (t) => Array.prototype.slice.call(t.files),
@@ -54205,7 +54214,7 @@ const td = {
54205
54214
  },
54206
54215
  [k4]: {
54207
54216
  exposeProperties: {
54208
- html: (t, e) => _f(t, e, ""),
54217
+ html: (t, e) => Xf(t, e, ""),
54209
54218
  dataTransfer: (t) => t
54210
54219
  },
54211
54220
  matchesTypes: [
@@ -54215,7 +54224,7 @@ const td = {
54215
54224
  },
54216
54225
  [L4]: {
54217
54226
  exposeProperties: {
54218
- urls: (t, e) => _f(t, e, "").split(`
54227
+ urls: (t, e) => Xf(t, e, "").split(`
54219
54228
  `),
54220
54229
  dataTransfer: (t) => t
54221
54230
  },
@@ -54226,7 +54235,7 @@ const td = {
54226
54235
  },
54227
54236
  [N4]: {
54228
54237
  exposeProperties: {
54229
- text: (t, e) => _f(t, e, ""),
54238
+ text: (t, e) => Xf(t, e, ""),
54230
54239
  dataTransfer: (t) => t
54231
54240
  },
54232
54241
  matchesTypes: [
@@ -54236,18 +54245,18 @@ const td = {
54236
54245
  }
54237
54246
  };
54238
54247
  function YD(t, e) {
54239
- const n = td[t];
54248
+ const n = ed[t];
54240
54249
  if (!n)
54241
54250
  throw new Error(`native type ${t} has no configuration`);
54242
54251
  const r = new VD(n);
54243
54252
  return r.loadDataTransfer(e), r;
54244
54253
  }
54245
- function $f(t) {
54254
+ function _f(t) {
54246
54255
  if (!t)
54247
54256
  return null;
54248
54257
  const e = Array.prototype.slice.call(t.types || []);
54249
- return Object.keys(td).filter((n) => {
54250
- const r = td[n];
54258
+ return Object.keys(ed).filter((n) => {
54259
+ const r = ed[n];
54251
54260
  return r != null && r.matchesTypes ? r.matchesTypes.some(
54252
54261
  (i) => e.indexOf(i) > -1
54253
54262
  ) : !1;
@@ -54572,7 +54581,7 @@ class qD {
54572
54581
  getSourceClientOffset: this.getSourceClientOffset,
54573
54582
  clientOffset: o
54574
54583
  });
54575
- const { dataTransfer: s } = i, l = $f(s);
54584
+ const { dataTransfer: s } = i, l = _f(s);
54576
54585
  if (this.monitor.isDragging()) {
54577
54586
  if (s && typeof s.setDragImage == "function") {
54578
54587
  const d = this.monitor.getSourceId(), u = this.sourceNodes.get(d), p = this.sourcePreviewNodes.get(d) || u;
@@ -54613,7 +54622,7 @@ class qD {
54613
54622
  }
54614
54623
  if (!this.enterLeaveCounter.enter(i.target) || this.monitor.isDragging())
54615
54624
  return;
54616
- const { dataTransfer: s } = i, l = $f(s);
54625
+ const { dataTransfer: s } = i, l = _f(s);
54617
54626
  l && this.beginDragNativeItem(l, s);
54618
54627
  }, this.handleTopDragEnter = (i) => {
54619
54628
  const { dragEnterTargetIds: a } = this;
@@ -54647,7 +54656,7 @@ class qD {
54647
54656
  if (this.dropTargetIds = [], this.isDraggingNativeItem()) {
54648
54657
  var a;
54649
54658
  i.preventDefault(), (a = this.currentNativeSource) === null || a === void 0 || a.loadDataTransfer(i.dataTransfer);
54650
- } else $f(i.dataTransfer) && i.preventDefault();
54659
+ } else _f(i.dataTransfer) && i.preventDefault();
54651
54660
  this.enterLeaveCounter.reset();
54652
54661
  }, this.handleTopDrop = (i) => {
54653
54662
  const { dropTargetIds: a } = this;
@@ -54674,7 +54683,7 @@ const A4 = function(e, n, r) {
54674
54683
  youtube: zw,
54675
54684
  blog: Aa,
54676
54685
  other: Aa
54677
- }, ec = {
54686
+ }, $f = {
54678
54687
  instagram: "text-pink-600",
54679
54688
  linkedin: "text-blue-700",
54680
54689
  facebook: "text-blue-600",
@@ -54682,7 +54691,7 @@ const A4 = function(e, n, r) {
54682
54691
  youtube: "text-red-600",
54683
54692
  blog: "text-orange-500",
54684
54693
  other: "text-gray-500"
54685
- }, nd = {
54694
+ }, td = {
54686
54695
  idea: "bg-gray-100 text-gray-600 border-gray-200",
54687
54696
  planned: "bg-blue-50 text-blue-600 border-blue-200",
54688
54697
  "in-progress": "bg-yellow-50 text-yellow-600 border-yellow-200",
@@ -54700,7 +54709,7 @@ const A4 = function(e, n, r) {
54700
54709
  const e = t.split("").reduce((n, r) => n + r.charCodeAt(0), 0);
54701
54710
  return Y1[e % Y1.length];
54702
54711
  };
54703
- function af({
54712
+ function rf({
54704
54713
  task: t,
54705
54714
  view: e = "month",
54706
54715
  mode: n = "editorial",
@@ -54728,7 +54737,7 @@ function af({
54728
54737
  children: [
54729
54738
  /* @__PURE__ */ b("div", { className: "flex items-center justify-between px-3 py-2 border-b bg-gray-50/50", children: [
54730
54739
  /* @__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") }),
54740
+ /* @__PURE__ */ f(s, { size: 14, className: C(t.channel ? $f[t.channel] : "text-gray-400") }),
54732
54741
  d && /* @__PURE__ */ f("span", { className: "text-xs font-medium text-gray-500", children: d })
54733
54742
  ] }),
54734
54743
  /* @__PURE__ */ f("div", { className: "opacity-0 group-hover:opacity-100 text-gray-400 cursor-grab", children: /* @__PURE__ */ f(Yw, { size: 14 }) })
@@ -54737,7 +54746,7 @@ function af({
54737
54746
  /* @__PURE__ */ b("div", { className: "p-3", children: [
54738
54747
  /* @__PURE__ */ f("h4", { className: "text-sm font-medium text-gray-900 line-clamp-2 mb-2 leading-snug", children: t.title }),
54739
54748
  /* @__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 }),
54749
+ /* @__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
54750
  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
54751
  /* @__PURE__ */ f(nr, { src: h.avatar }),
54743
54752
  /* @__PURE__ */ f(tn, { className: "text-[8px]", children: h.name[0] })
@@ -54759,7 +54768,7 @@ function af({
54759
54768
  children: [
54760
54769
  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
54770
  /* @__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") }),
54771
+ /* @__PURE__ */ f(s, { size: 12, className: C(t.channel ? $f[t.channel] : "text-gray-400") }),
54763
54772
  /* @__PURE__ */ f("span", { className: "truncate font-medium text-xs", children: t.title })
54764
54773
  ] }) })
54765
54774
  ]
@@ -54786,7 +54795,7 @@ function af({
54786
54795
  /* @__PURE__ */ f(nr, { src: h.avatar }),
54787
54796
  /* @__PURE__ */ f(tn, { className: "text-[8px]", children: h.name[0] })
54788
54797
  ] }, m)) }),
54789
- t.status !== "published" && /* @__PURE__ */ f("div", { className: C("w-2 h-2 rounded-full", nd[t.status].split(" ")[1].replace("text-", "bg-")) })
54798
+ t.status !== "published" && /* @__PURE__ */ f("div", { className: C("w-2 h-2 rounded-full", td[t.status].split(" ")[1].replace("text-", "bg-")) })
54790
54799
  ] })
54791
54800
  ]
54792
54801
  }
@@ -54821,7 +54830,7 @@ function af({
54821
54830
  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
54831
  /* @__PURE__ */ b("div", { className: "min-w-0 flex-1", children: [
54823
54832
  /* @__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") }),
54833
+ n === "editorial" && /* @__PURE__ */ f(s, { size: 12, className: C(t.channel ? $f[t.channel] : "text-gray-400") }),
54825
54834
  /* @__PURE__ */ f("span", { className: "truncate font-medium text-sm", children: t.title })
54826
54835
  ] }),
54827
54836
  /* @__PURE__ */ f(he, { variant: "secondary", className: "text-[10px] h-4 px-1 py-0", children: t.status })
@@ -54900,7 +54909,7 @@ function XD({ day: t, tasks: e, onDropTask: n, onTaskClick: r, onAddClick: i, is
54900
54909
  }
54901
54910
  ),
54902
54911
  e.map((l) => /* @__PURE__ */ f(
54903
- af,
54912
+ rf,
54904
54913
  {
54905
54914
  task: l,
54906
54915
  view: "week",
@@ -55005,7 +55014,7 @@ function $D({
55005
55014
  m < 30 && (m = 30);
55006
55015
  const g = p * 96 + h / 60 * 96 + 40, w = m / 60 * 96;
55007
55016
  return /* @__PURE__ */ f(
55008
- af,
55017
+ rf,
55009
55018
  {
55010
55019
  task: c,
55011
55020
  view: "week",
@@ -55098,7 +55107,7 @@ function e5({
55098
55107
  )
55099
55108
  ] }),
55100
55109
  /* @__PURE__ */ f("div", { className: "flex-1 flex flex-col gap-1", children: e.map((d) => /* @__PURE__ */ f(
55101
- af,
55110
+ rf,
55102
55111
  {
55103
55112
  task: d,
55104
55113
  view: "month",
@@ -55125,10 +55134,10 @@ function j4({
55125
55134
  const s = () => {
55126
55135
  r(a), e();
55127
55136
  };
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." })
55137
+ return /* @__PURE__ */ f(gl, { open: t, onOpenChange: (l) => !l && e(), children: /* @__PURE__ */ b(bl, { className: "sm:max-w-[600px]", children: [
55138
+ /* @__PURE__ */ b(wl, { children: [
55139
+ /* @__PURE__ */ f(yl, { children: i ? "Create New Task" : "Edit Task" }),
55140
+ /* @__PURE__ */ f(vl, { children: i ? "Enter the details for the new task below." : "Modify the details of the selected task." })
55132
55141
  ] }),
55133
55142
  /* @__PURE__ */ b("div", { className: "grid gap-6 py-4", children: [
55134
55143
  /* @__PURE__ */ b("div", { className: "grid grid-cols-4 items-center gap-4", children: [
@@ -55196,7 +55205,7 @@ function j4({
55196
55205
  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
55206
  value: a.status || "idea",
55198
55207
  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))
55208
+ children: Object.keys(td).map((l) => /* @__PURE__ */ f("option", { value: l, children: l.charAt(0).toUpperCase() + l.slice(1) }, l))
55200
55209
  }
55201
55210
  )
55202
55211
  ] }),
@@ -55229,7 +55238,7 @@ function D4({
55229
55238
  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
55239
  let S, R;
55231
55240
  if (o === "month") {
55232
- const Y = rs(i), V = fd(Y);
55241
+ const Y = rs(i), V = ld(Y);
55233
55242
  S = Ju(Y), R = Ku(V);
55234
55243
  } else o === "week" ? (S = Ju(i), R = Ku(i)) : (S = i, R = i);
55235
55244
  return d0({ start: S, end: R });
@@ -55291,7 +55300,7 @@ function R4({ isOpen: t, setIsOpen: e, tasks: n, onAddClick: r, onTaskClick: i,
55291
55300
  /* @__PURE__ */ f("h3", { className: "font-semibold text-sm text-gray-900", children: "Backlog" }),
55292
55301
  /* @__PURE__ */ f(he, { variant: "secondary", className: "bg-gray-100 text-xs", children: n.length })
55293
55302
  ] }),
55294
- /* @__PURE__ */ f(F, { variant: "ghost", size: "icon", className: "h-6 w-6", onClick: () => e(!1), children: /* @__PURE__ */ f(ad, { size: 16 }) })
55303
+ /* @__PURE__ */ f(F, { variant: "ghost", size: "icon", className: "h-6 w-6", onClick: () => e(!1), children: /* @__PURE__ */ f(id, { size: 16 }) })
55295
55304
  ] }),
55296
55305
  /* @__PURE__ */ f("div", { className: "px-4 pt-3 bg-white pb-3 border-b space-y-2", children: /* @__PURE__ */ b(
55297
55306
  F,
@@ -55306,8 +55315,8 @@ function R4({ isOpen: t, setIsOpen: e, tasks: n, onAddClick: r, onTaskClick: i,
55306
55315
  ]
55307
55316
  }
55308
55317
  ) }),
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,
55318
+ /* @__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(
55319
+ rf,
55311
55320
  {
55312
55321
  task: o,
55313
55322
  view: "backlog",
@@ -55317,7 +55326,7 @@ function R4({ isOpen: t, setIsOpen: e, tasks: n, onAddClick: r, onTaskClick: i,
55317
55326
  o.id
55318
55327
  )) }) })
55319
55328
  ] }) : /* @__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 }),
55329
+ /* @__PURE__ */ f(rd, { className: "text-gray-500 mb-4", size: 20 }),
55321
55330
  /* @__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
55331
  /* @__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
55332
  ] });
@@ -55334,9 +55343,9 @@ function O4({ title: t, onPrev: e, onNext: n, onToday: r, onAdd: i, view: a, set
55334
55343
  ] }),
55335
55344
  /* @__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
55345
  /* @__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" })
55346
+ /* @__PURE__ */ f(Gf, { value: "month", className: "text-xs", children: "Month" }),
55347
+ /* @__PURE__ */ f(Gf, { value: "week", className: "text-xs", children: "Week" }),
55348
+ /* @__PURE__ */ f(Gf, { value: "day", className: "text-xs", children: "Day" })
55340
55349
  ] }) }),
55341
55350
  /* @__PURE__ */ b(
55342
55351
  F,
@@ -55487,7 +55496,7 @@ const sR = Ay, P4 = I.createContext(
55487
55496
  {}
55488
55497
  ), lR = ({
55489
55498
  ...t
55490
- }) => /* @__PURE__ */ f(P4.Provider, { value: { name: t.name }, children: /* @__PURE__ */ f(Ey, { ...t }) }), of = () => {
55499
+ }) => /* @__PURE__ */ f(P4.Provider, { value: { name: t.name }, children: /* @__PURE__ */ f(Ey, { ...t }) }), af = () => {
55491
55500
  const t = I.useContext(P4), e = I.useContext(B4), { getFieldState: n } = Ty(), r = jy({ name: t.name }), i = n(t.name, r);
55492
55501
  if (!t)
55493
55502
  throw new Error("useFormField should be used within <FormField>");
@@ -55518,7 +55527,7 @@ function cR({
55518
55527
  className: t,
55519
55528
  ...e
55520
55529
  }) {
55521
- const { error: n, formItemId: r } = of();
55530
+ const { error: n, formItemId: r } = af();
55522
55531
  return /* @__PURE__ */ f(
55523
55532
  Je,
55524
55533
  {
@@ -55531,7 +55540,7 @@ function cR({
55531
55540
  );
55532
55541
  }
55533
55542
  function dR({ ...t }) {
55534
- const { error: e, formItemId: n, formDescriptionId: r, formMessageId: i } = of();
55543
+ const { error: e, formItemId: n, formDescriptionId: r, formMessageId: i } = af();
55535
55544
  return /* @__PURE__ */ f(
55536
55545
  zn,
55537
55546
  {
@@ -55544,7 +55553,7 @@ function dR({ ...t }) {
55544
55553
  );
55545
55554
  }
55546
55555
  function uR({ className: t, ...e }) {
55547
- const { formDescriptionId: n } = of();
55556
+ const { formDescriptionId: n } = af();
55548
55557
  return /* @__PURE__ */ f(
55549
55558
  "p",
55550
55559
  {
@@ -55556,7 +55565,7 @@ function uR({ className: t, ...e }) {
55556
55565
  );
55557
55566
  }
55558
55567
  function hR({ className: t, ...e }) {
55559
- const { error: n, formMessageId: r } = of(), i = n ? String((n == null ? void 0 : n.message) ?? "") : e.children;
55568
+ const { error: n, formMessageId: r } = af(), i = n ? String((n == null ? void 0 : n.message) ?? "") : e.children;
55560
55569
  return i ? /* @__PURE__ */ f(
55561
55570
  "p",
55562
55571
  {
@@ -55683,7 +55692,7 @@ const V4 = I.memo(({
55683
55692
  u.stopPropagation(), o(t);
55684
55693
  },
55685
55694
  "aria-label": "Editar marco",
55686
- children: /* @__PURE__ */ f(nc, { className: "size-3" })
55695
+ children: /* @__PURE__ */ f(tc, { className: "size-3" })
55687
55696
  }
55688
55697
  )
55689
55698
  ]
@@ -55737,7 +55746,7 @@ const V4 = I.memo(({
55737
55746
  u.stopPropagation(), o(t);
55738
55747
  },
55739
55748
  "aria-label": "Editar tarefa",
55740
- children: /* @__PURE__ */ f(nc, { className: "size-3.5" })
55749
+ children: /* @__PURE__ */ f(tc, { className: "size-3.5" })
55741
55750
  }
55742
55751
  )
55743
55752
  ]
@@ -55794,7 +55803,7 @@ const n5 = ["DOM", "SEG", "TER", "QUA", "QUI", "SEX", "SAB"], r5 = I.forwardRef(
55794
55803
  columnWidth: a = 40,
55795
55804
  groupBy: o = "projects"
55796
55805
  }, 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(() => {
55806
+ 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
55807
  if (o === "assignees") {
55799
55808
  const y = /* @__PURE__ */ new Map();
55800
55809
  return t.forEach((N) => {
@@ -55945,7 +55954,7 @@ const n5 = ["DOM", "SEG", "TER", "QUA", "QUI", "SEX", "SAB"], r5 = I.forwardRef(
55945
55954
  /* @__PURE__ */ f("span", { className: "text-sm truncate flex-1", children: N.name }),
55946
55955
  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
55956
  r && /* @__PURE__ */ f(
55948
- nc,
55957
+ tc,
55949
55958
  {
55950
55959
  className: "size-4 text-muted-foreground cursor-pointer hover:text-primary ml-2 opacity-0 group-hover:opacity-100",
55951
55960
  onClick: () => r(N)
@@ -56377,8 +56386,8 @@ const s5 = {
56377
56386
  ] }),
56378
56387
  e && h !== "compact" && /* @__PURE__ */ f(Py, { className: "mt-2 line-clamp-2 text-xs", children: e })
56379
56388
  ] }),
56380
- (w || v || M) && /* @__PURE__ */ b(hl, { children: [
56381
- /* @__PURE__ */ f(pl, { asChild: !0, children: /* @__PURE__ */ f(
56389
+ (w || v || M) && /* @__PURE__ */ b(ul, { children: [
56390
+ /* @__PURE__ */ f(hl, { asChild: !0, children: /* @__PURE__ */ f(
56382
56391
  F,
56383
56392
  {
56384
56393
  variant: "ghost",
@@ -56387,7 +56396,7 @@ const s5 = {
56387
56396
  children: /* @__PURE__ */ f(Qw, { className: "h-4 w-4" })
56388
56397
  }
56389
56398
  ) }),
56390
- /* @__PURE__ */ b(ml, { align: "end", children: [
56399
+ /* @__PURE__ */ b(pl, { align: "end", children: [
56391
56400
  w && /* @__PURE__ */ f(yi, { onClick: w, children: "Editar" }),
56392
56401
  M && /* @__PURE__ */ f(yi, { onClick: M, children: "Duplicar" }),
56393
56402
  v && /* @__PURE__ */ f(
@@ -57088,7 +57097,7 @@ function jR({
57088
57097
  ),
57089
57098
  ...n,
57090
57099
  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" }) }) }),
57100
+ /* @__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
57101
  e
57093
57102
  ]
57094
57103
  }
@@ -57340,7 +57349,7 @@ function QR({
57340
57349
  className: "h-8 w-8 shrink-0",
57341
57350
  onClick: i,
57342
57351
  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" })
57352
+ children: r ? /* @__PURE__ */ f(rd, { className: "h-4 w-4" }) : /* @__PURE__ */ f(id, { className: "h-4 w-4" })
57344
57353
  }
57345
57354
  ),
57346
57355
  n && n.length > 0 && /* @__PURE__ */ f(qv, { children: /* @__PURE__ */ f(Zv, { children: n.map((o, s) => /* @__PURE__ */ b(I.Fragment, { children: [
@@ -57369,7 +57378,7 @@ function GR({
57369
57378
  className: "h-8 w-8 shrink-0",
57370
57379
  onClick: i,
57371
57380
  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" })
57381
+ children: r ? /* @__PURE__ */ f(rd, { className: "h-4 w-4" }) : /* @__PURE__ */ f(id, { className: "h-4 w-4" })
57373
57382
  }
57374
57383
  ),
57375
57384
  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 +57545,7 @@ function eO({
57536
57545
  ...e
57537
57546
  }) {
57538
57547
  return /* @__PURE__ */ f(
57539
- rc.Root,
57548
+ nc.Root,
57540
57549
  {
57541
57550
  "data-slot": "radio-group",
57542
57551
  className: C("grid gap-3", t),
@@ -57549,7 +57558,7 @@ function tO({
57549
57558
  ...e
57550
57559
  }) {
57551
57560
  return /* @__PURE__ */ f(
57552
- rc.Item,
57561
+ nc.Item,
57553
57562
  {
57554
57563
  "data-slot": "radio-group-item",
57555
57564
  className: C(
@@ -57558,7 +57567,7 @@ function tO({
57558
57567
  ),
57559
57568
  ...e,
57560
57569
  children: /* @__PURE__ */ f(
57561
- rc.Indicator,
57570
+ nc.Indicator,
57562
57571
  {
57563
57572
  "data-slot": "radio-group-indicator",
57564
57573
  className: "flex items-center justify-center",
@@ -57573,7 +57582,7 @@ function nO({
57573
57582
  ...e
57574
57583
  }) {
57575
57584
  return /* @__PURE__ */ f(
57576
- ud.PanelGroup,
57585
+ dd.PanelGroup,
57577
57586
  {
57578
57587
  "data-slot": "resizable-panel-group",
57579
57588
  className: C(
@@ -57587,7 +57596,7 @@ function nO({
57587
57596
  function rO({
57588
57597
  ...t
57589
57598
  }) {
57590
- return /* @__PURE__ */ f(ud.Panel, { "data-slot": "resizable-panel", ...t });
57599
+ return /* @__PURE__ */ f(dd.Panel, { "data-slot": "resizable-panel", ...t });
57591
57600
  }
57592
57601
  function iO({
57593
57602
  withHandle: t,
@@ -57595,7 +57604,7 @@ function iO({
57595
57604
  ...n
57596
57605
  }) {
57597
57606
  return /* @__PURE__ */ f(
57598
- ud.PanelResizeHandle,
57607
+ dd.PanelResizeHandle,
57599
57608
  {
57600
57609
  "data-slot": "resizable-handle",
57601
57610
  className: C(
@@ -57615,8 +57624,8 @@ function aO({
57615
57624
  className: i
57616
57625
  }) {
57617
57626
  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: [
57627
+ return /* @__PURE__ */ b(ul, { children: [
57628
+ /* @__PURE__ */ f(hl, { asChild: !0, children: /* @__PURE__ */ b(F, { variant: "outline", size: "sm", className: C("gap-2", i), children: [
57620
57629
  /* @__PURE__ */ f(ts, { className: "h-4 w-4" }),
57621
57630
  "Filtros salvos",
57622
57631
  t.length > 0 && /* @__PURE__ */ b("span", { className: "text-xs text-muted-foreground", children: [
@@ -57625,7 +57634,7 @@ function aO({
57625
57634
  ")"
57626
57635
  ] })
57627
57636
  ] }) }),
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: [
57637
+ /* @__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
57638
  a.length > 0 && /* @__PURE__ */ b(Fe, { children: [
57630
57639
  /* @__PURE__ */ f("div", { className: "px-2 py-1.5 text-xs font-semibold text-muted-foreground", children: "Favorites" }),
57631
57640
  a.map((s) => /* @__PURE__ */ f(
@@ -57638,7 +57647,7 @@ function aO({
57638
57647
  },
57639
57648
  s.id
57640
57649
  )),
57641
- o.length > 0 && /* @__PURE__ */ f(ac, {})
57650
+ o.length > 0 && /* @__PURE__ */ f(ic, {})
57642
57651
  ] }),
57643
57652
  o.length > 0 && /* @__PURE__ */ b(Fe, { children: [
57644
57653
  a.length > 0 && /* @__PURE__ */ f("div", { className: "px-2 py-1.5 text-xs font-semibold text-muted-foreground", children: "Todos filtros" }),
@@ -57818,20 +57827,20 @@ function M5({
57818
57827
  }
57819
57828
  );
57820
57829
  }
57821
- const tc = 768;
57830
+ const ec = 768;
57822
57831
  function x5() {
57823
57832
  const [t, e] = I.useState(
57824
57833
  void 0
57825
57834
  );
57826
57835
  return I.useEffect(() => {
57827
- const n = window.matchMedia(`(max-width: ${tc - 1}px)`), r = () => {
57828
- e(window.innerWidth < tc);
57836
+ const n = window.matchMedia(`(max-width: ${ec - 1}px)`), r = () => {
57837
+ e(window.innerWidth < ec);
57829
57838
  };
57830
- return n.addEventListener("change", r), e(window.innerWidth < tc), () => n.removeEventListener("change", r);
57839
+ return n.addEventListener("change", r), e(window.innerWidth < ec), () => n.removeEventListener("change", r);
57831
57840
  }, []), !!t;
57832
57841
  }
57833
57842
  const L5 = "sidebar_state", N5 = 3600 * 24 * 7, k5 = "16rem", S5 = "18rem", I5 = "3rem", A5 = "b", H4 = I.createContext(null);
57834
- function sf() {
57843
+ function of() {
57835
57844
  const t = I.useContext(H4);
57836
57845
  if (!t)
57837
57846
  throw new Error("useSidebar must be used within a SidebarProvider.");
@@ -57897,7 +57906,7 @@ function cO({
57897
57906
  children: i,
57898
57907
  ...a
57899
57908
  }) {
57900
- const { isMobile: o, state: s, openMobile: l, setOpenMobile: c } = sf();
57909
+ const { isMobile: o, state: s, openMobile: l, setOpenMobile: c } = of();
57901
57910
  return n === "none" ? /* @__PURE__ */ f(
57902
57911
  "div",
57903
57912
  {
@@ -57982,7 +57991,7 @@ function dO({
57982
57991
  onClick: e,
57983
57992
  ...n
57984
57993
  }) {
57985
- const { toggleSidebar: r } = sf();
57994
+ const { toggleSidebar: r } = of();
57986
57995
  return /* @__PURE__ */ b(
57987
57996
  F,
57988
57997
  {
@@ -58003,7 +58012,7 @@ function dO({
58003
58012
  );
58004
58013
  }
58005
58014
  function uO({ className: t, ...e }) {
58006
- const { toggleSidebar: n } = sf();
58015
+ const { toggleSidebar: n } = of();
58007
58016
  return /* @__PURE__ */ f(
58008
58017
  "button",
58009
58018
  {
@@ -58206,7 +58215,7 @@ function LO({
58206
58215
  className: a,
58207
58216
  ...o
58208
58217
  }) {
58209
- const s = t ? zn : "button", { isMobile: l, state: c } = sf(), d = /* @__PURE__ */ f(
58218
+ const s = t ? zn : "button", { isMobile: l, state: c } = of(), d = /* @__PURE__ */ f(
58210
58219
  s,
58211
58220
  {
58212
58221
  "data-slot": "sidebar-menu-button",
@@ -58556,10 +58565,10 @@ function TO({
58556
58565
  return { ...x, dependencies: L };
58557
58566
  });
58558
58567
  }, 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".' })
58568
+ return /* @__PURE__ */ f(gl, { open: e, onOpenChange: n, children: /* @__PURE__ */ b(bl, { className: "max-w-2xl max-h-[90vh] overflow-y-auto", children: [
58569
+ /* @__PURE__ */ b(wl, { children: [
58570
+ /* @__PURE__ */ f(yl, { children: "Editar Tarefa" }),
58571
+ /* @__PURE__ */ f(vl, { children: 'Altere os detalhes da tarefa abaixo. As mudanças serão salvas ao clicar em "Salvar alterações".' })
58563
58572
  ] }),
58564
58573
  /* @__PURE__ */ b("div", { className: "space-y-6 py-4", children: [
58565
58574
  /* @__PURE__ */ b("div", { className: "space-y-2", children: [
@@ -59391,7 +59400,7 @@ function HO({
59391
59400
  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
59401
  /* @__PURE__ */ b(wt, { title: "Escopo e Investimento", children: [
59393
59402
  /* @__PURE__ */ f(
59394
- qc,
59403
+ Kc,
59395
59404
  {
59396
59405
  columns: [
59397
59406
  { header: "Item", key: "name", width: "35%" },
@@ -59510,7 +59519,7 @@ export {
59510
59519
  tn as AvatarFallback,
59511
59520
  nr as AvatarImage,
59512
59521
  he as Badge,
59513
- ic as BrandLogo,
59522
+ rc as BrandLogo,
59514
59523
  qv as Breadcrumb,
59515
59524
  l7 as BreadcrumbEllipsis,
59516
59525
  Xv as BreadcrumbItem,
@@ -59519,7 +59528,7 @@ export {
59519
59528
  $v as BreadcrumbPage,
59520
59529
  e3 as BreadcrumbSeparator,
59521
59530
  F as Button,
59522
- hd as Calendar,
59531
+ ud as Calendar,
59523
59532
  zr as Card,
59524
59533
  O8 as CardAction,
59525
59534
  xi as CardContent,
@@ -59577,13 +59586,13 @@ export {
59577
59586
  Pv as DataTable,
59578
59587
  x0 as DatePicker,
59579
59588
  MT as DateRangePicker,
59580
- bl as Dialog,
59589
+ gl as Dialog,
59581
59590
  M7 as DialogClose,
59582
- wl as DialogContent,
59583
- Cl as DialogDescription,
59591
+ bl as DialogContent,
59592
+ vl as DialogDescription,
59584
59593
  pd as DialogFooter,
59585
- yl as DialogHeader,
59586
- vl as DialogTitle,
59594
+ wl as DialogHeader,
59595
+ yl as DialogTitle,
59587
59596
  C7 as DialogTrigger,
59588
59597
  eR as DocumentEditor,
59589
59598
  tR as Drawer,
@@ -59594,21 +59603,21 @@ export {
59594
59603
  nR as DrawerHeader,
59595
59604
  jT as DrawerTitle,
59596
59605
  IT as DrawerTrigger,
59597
- hl as DropdownMenu,
59606
+ ul as DropdownMenu,
59598
59607
  _8 as DropdownMenuCheckboxItem,
59599
- ml as DropdownMenuContent,
59608
+ pl as DropdownMenuContent,
59600
59609
  Wv as DropdownMenuGroup,
59601
59610
  yi as DropdownMenuItem,
59602
59611
  Hv as DropdownMenuLabel,
59603
59612
  X8 as DropdownMenuPortal,
59604
59613
  $8 as DropdownMenuRadioGroup,
59605
59614
  e7 as DropdownMenuRadioItem,
59606
- ac as DropdownMenuSeparator,
59615
+ ic as DropdownMenuSeparator,
59607
59616
  t7 as DropdownMenuShortcut,
59608
59617
  n7 as DropdownMenuSub,
59609
59618
  i7 as DropdownMenuSubContent,
59610
59619
  r7 as DropdownMenuSubTrigger,
59611
- pl as DropdownMenuTrigger,
59620
+ hl as DropdownMenuTrigger,
59612
59621
  OT as EditableBadge,
59613
59622
  aR as EditorialCalendar,
59614
59623
  s8 as EmptyCalendarIllustration,
@@ -59677,7 +59686,7 @@ export {
59677
59686
  HR as NavigationMenuLink,
59678
59687
  VR as NavigationMenuList,
59679
59688
  UR as NavigationMenuTrigger,
59680
- Zc as NumberInput,
59689
+ qc as NumberInput,
59681
59690
  QR as PageHeader,
59682
59691
  KR as Pagination,
59683
59692
  qR as PaginationContent,
@@ -59695,7 +59704,7 @@ export {
59695
59704
  gi as PrintInfoGrid,
59696
59705
  wt as PrintSection,
59697
59706
  o4 as PrintSignature,
59698
- qc as PrintTable,
59707
+ Kc as PrintTable,
59699
59708
  Y4 as Progress,
59700
59709
  DO as ProgressTimeline,
59701
59710
  HO as ProposalTemplate,
@@ -59705,7 +59714,7 @@ export {
59705
59714
  rO as ResizablePanel,
59706
59715
  nO as ResizablePanelGroup,
59707
59716
  aO as SavedFilters,
59708
- ul as ScrollArea,
59717
+ hd as ScrollArea,
59709
59718
  Uv as ScrollBar,
59710
59719
  Sn as Select,
59711
59720
  En as SelectContent,
@@ -59763,7 +59772,7 @@ export {
59763
59772
  zT as Tabs,
59764
59773
  iR as TabsContent,
59765
59774
  PT as TabsList,
59766
- Jf as TabsTrigger,
59775
+ Gf as TabsTrigger,
59767
59776
  oR as TaskCalendar,
59768
59777
  TO as TaskEditDialog,
59769
59778
  Ru as Textarea,
@@ -59792,9 +59801,9 @@ export {
59792
59801
  j5 as socialButtonVariants,
59793
59802
  JO as toast,
59794
59803
  l4 as toggleVariants,
59795
- of as useFormField,
59804
+ af as useFormField,
59796
59805
  x5 as useIsMobile,
59797
59806
  pT as usePrintContract,
59798
- sf as useSidebar
59807
+ of as useSidebar
59799
59808
  };
59800
59809
  //# sourceMappingURL=index.js.map