@iclips/ui 1.0.47 → 1.0.48

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,10 +1,10 @@
1
1
  import { jsx as l, jsxs as b, Fragment as qe } from "react/jsx-runtime";
2
2
  import * as Ma from "@radix-ui/react-accordion";
3
- import { ChevronDownIcon as qs, Home as B4, Folder as H4, Users as U4, Calendar as hi, BarChart3 as F4, Settings as I1, Pin as T1, Plus as qn, LayoutGrid as J4, FileText as j1, Star as D1, MessageSquare as Gc, Download as _c, Sparkles as Y4, ChevronRight as en, Zap as Q4, PanelLeftClose as Ks, PanelLeft as V4, Bell as G4, CheckIcon as Xs, CircleIcon as Wc, ChevronRightIcon as ef, User as tf, HelpCircle as _4, LogOut as W4, ChevronDown as Za, MoreHorizontal as E1, ChevronLeft as nf, Printer as $4, Eye as A1, ArrowRight as z1, ArrowLeft as Z4, Check as O1, Smile as P1, Trash2 as R1, AlertCircle as vr, Paperclip as xa, X as Ca, Type as q4, Send as K4, Bold as B1, Italic as H1, Underline as U1, List as F1, ListOrdered as J1, Link as Y1, ChevronUpIcon as X4, Clock as ai, CalendarIcon as Zo, MoreVertical as ev, CheckSquare as tv, Activity as nv, TrendingUp as rv, TrendingDown as iv, XIcon as Q1, SearchIcon as av, Undo as ov, Redo as sv, Heading1 as fv, Heading2 as lv, Heading3 as cv, Strikethrough as dv, AlignLeft as uv, AlignCenter as hv, AlignRight as pv, Quote as mv, Image as gv, PanelLeftOpen as $c, Youtube as bv, Twitter as vv, Facebook as wv, Linkedin as yv, Instagram as Mv, GripVertical as xv, CheckCircle2 as Cv, Circle as V1, Edit as Gl, MinusIcon as Lv, ChevronUp as Nv, EyeOff as kv, Euro as Sv, DollarSign as Iv, Coins as Tv, MoreHorizontalIcon as jv, ChevronLeftIcon as Dv, GripVerticalIcon as Ev, PanelLeftIcon as Av, Github as zv, ChevronsLeft as Ov, ChevronsRight as Pv, Filter as G1, Search as _1, ArrowUpDown as Rv, Link2 as Bv, Pencil as Hv, RefreshCw as Uv, PlusCircle as Fv } from "lucide-react";
3
+ import { ChevronDownIcon as qs, Home as B4, Folder as H4, Users as U4, Calendar as hi, BarChart3 as F4, Settings as I1, Pin as T1, Plus as qn, LayoutGrid as J4, FileText as j1, Star as D1, MessageSquare as _c, Download as Gc, Sparkles as Y4, ChevronRight as en, Zap as Q4, PanelLeftClose as Ks, PanelLeft as V4, Bell as _4, CheckIcon as Xs, CircleIcon as Wc, ChevronRightIcon as ef, User as tf, HelpCircle as G4, LogOut as W4, ChevronDown as Za, MoreHorizontal as E1, ChevronLeft as nf, Printer as $4, Eye as A1, ArrowRight as z1, ArrowLeft as Z4, Check as O1, Smile as P1, Trash2 as R1, AlertCircle as vr, Paperclip as xa, X as Ca, Type as q4, Send as K4, Bold as B1, Italic as H1, Underline as U1, List as F1, ListOrdered as J1, Link as Y1, ChevronUpIcon as X4, Clock as ai, CalendarIcon as Zo, MoreVertical as ev, CheckSquare as tv, Activity as nv, TrendingUp as rv, TrendingDown as iv, XIcon as Q1, SearchIcon as av, Undo as ov, Redo as sv, Heading1 as fv, Heading2 as lv, Heading3 as cv, Strikethrough as dv, AlignLeft as uv, AlignCenter as hv, AlignRight as pv, Quote as mv, Image as gv, PanelLeftOpen as $c, Youtube as bv, Twitter as vv, Facebook as wv, Linkedin as yv, Instagram as Mv, GripVertical as xv, CheckCircle2 as Cv, Circle as V1, Edit as _l, MinusIcon as Lv, ChevronUp as Nv, EyeOff as kv, Euro as Sv, DollarSign as Iv, Coins as Tv, MoreHorizontalIcon as jv, ChevronLeftIcon as Dv, GripVerticalIcon as Ev, PanelLeftIcon as Av, Github as zv, ChevronsLeft as Ov, ChevronsRight as Pv, Filter as _1, Search as G1, ArrowUpDown as Rv, Link2 as Bv, Pencil as Hv, RefreshCw as Uv, PlusCircle as Fv } from "lucide-react";
4
4
  import { clsx as Jv } from "clsx";
5
5
  import { twMerge as Yv } from "tailwind-merge";
6
6
  import * as T from "react";
7
- import ut, { useState as ne, useRef as Ae, useDebugValue as W1, useEffect as ue, forwardRef as $1, useLayoutEffect as Zc, version as Iu, createContext as Ti, useContext as Xe, useImperativeHandle as Qv, createElement as O, memo as qc, createRef as dn, Fragment as Kc, useCallback as Ye, useMemo as ye, Suspense as Vv, Component as Gv, isValidElement as _v, cloneElement as Tu } from "react";
7
+ import ut, { useState as ne, useRef as Ae, useDebugValue as W1, useEffect as ue, forwardRef as $1, useLayoutEffect as Zc, version as Iu, createContext as Ti, useContext as Xe, useImperativeHandle as Qv, createElement as O, memo as qc, createRef as dn, Fragment as Kc, useCallback as Ye, useMemo as ye, Suspense as Vv, Component as _v, isValidElement as Gv, cloneElement as Tu } from "react";
8
8
  import * as sn from "@radix-ui/react-alert-dialog";
9
9
  import { Slot as In } from "@radix-ui/react-slot";
10
10
  import { cva as fn } from "class-variance-authority";
@@ -17,7 +17,7 @@ import Zv from "embla-carousel-react";
17
17
  import * as ed from "recharts";
18
18
  import * as ju from "@radix-ui/react-checkbox";
19
19
  import { HexColorPicker as qv } from "react-colorful";
20
- import * as Gn from "@radix-ui/react-popover";
20
+ import * as _n from "@radix-ui/react-popover";
21
21
  import * as Kv from "@radix-ui/react-label";
22
22
  import * as td from "@radix-ui/react-collapsible";
23
23
  import { format as oe, subDays as Du, startOfMonth as qo, endOfMonth as nd, subMonths as Ko, startOfWeek as Eu, endOfWeek as Au, eachDayOfInterval as Z1, isToday as rf, isSameDay as af, isSameMonth as Xv, setHours as ew, getHours as q1, getMinutes as K1, addMonths as X1, addDays as wo, addHours as ep, differenceInMinutes as tw, differenceInDays as ta, isWeekend as zu, formatDistanceToNow as nw } from "date-fns";
@@ -30,16 +30,16 @@ import * as ot from "@radix-ui/react-select";
30
30
  import * as Ou from "@radix-ui/react-progress";
31
31
  import { Command as zr } from "cmdk";
32
32
  import * as je from "@radix-ui/react-dialog";
33
- import * as Ge from "@radix-ui/react-context-menu";
33
+ import * as _e from "@radix-ui/react-context-menu";
34
34
  import * as sw from "@radix-ui/react-toggle";
35
35
  import { Drawer as Kn } from "vaul";
36
36
  import * as of from "@radix-ui/react-tabs";
37
37
  import { FormProvider as fw, Controller as lw, useFormContext as cw, useFormState as dw } from "react-hook-form";
38
38
  import * as Xo from "@radix-ui/react-hover-card";
39
39
  import { OTPInput as uw, OTPInputContext as hw } from "input-otp";
40
- import * as _e from "@radix-ui/react-menubar";
40
+ import * as Ge from "@radix-ui/react-menubar";
41
41
  import * as Or from "@radix-ui/react-navigation-menu";
42
- import * as _l from "@radix-ui/react-radio-group";
42
+ import * as Gl from "@radix-ui/react-radio-group";
43
43
  import * as rd from "react-resizable-panels";
44
44
  import * as yo from "@radix-ui/react-slider";
45
45
  import { useTheme as pw } from "next-themes";
@@ -240,7 +240,7 @@ function VA({
240
240
  }
241
241
  );
242
242
  }
243
- function GA({
243
+ function _A({
244
244
  className: t,
245
245
  ...e
246
246
  }) {
@@ -252,7 +252,7 @@ function GA({
252
252
  }
253
253
  );
254
254
  }
255
- function _A({
255
+ function GA({
256
256
  className: t,
257
257
  ...e
258
258
  }) {
@@ -501,8 +501,8 @@ const yw = [
501
501
  { label: "Todos os Projetos", icon: J4 },
502
502
  { label: "Documentos", icon: j1, badge: "3" },
503
503
  { label: "Favoritos", icon: D1, chevron: !0 },
504
- { label: "Comentários", icon: Gc, badge: "12", highlighted: !0 },
505
- { label: "Downloads", icon: _c },
504
+ { label: "Comentários", icon: _c, badge: "12", highlighted: !0 },
505
+ { label: "Downloads", icon: Gc },
506
506
  { label: "Recentes", icon: Y4, chevron: !0 }
507
507
  ];
508
508
  function qA({
@@ -631,7 +631,7 @@ function qA({
631
631
  /* @__PURE__ */ l("h1", { className: "text-base font-semibold", children: e })
632
632
  ] }),
633
633
  /* @__PURE__ */ b("div", { className: "flex items-center gap-2", children: [
634
- /* @__PURE__ */ l(B, { variant: "ghost", size: "icon", className: "h-8 w-8 p-0", children: /* @__PURE__ */ l(G4, { className: "h-4 w-4" }) }),
634
+ /* @__PURE__ */ l(B, { variant: "ghost", size: "icon", className: "h-8 w-8 p-0", children: /* @__PURE__ */ l(_4, { className: "h-4 w-4" }) }),
635
635
  r && /* @__PURE__ */ l(
636
636
  B,
637
637
  {
@@ -915,7 +915,7 @@ const Lw = [
915
915
  },
916
916
  {
917
917
  label: "Ajuda",
918
- icon: _4,
918
+ icon: G4,
919
919
  onClick: () => console.log("Ajuda clicked")
920
920
  }
921
921
  ], Bu = {
@@ -1560,7 +1560,7 @@ const Pw = {
1560
1560
  narrow: ["1", "2", "3", "4"],
1561
1561
  abbreviated: ["T1", "T2", "T3", "T4"],
1562
1562
  wide: ["1º trimestre", "2º trimestre", "3º trimestre", "4º trimestre"]
1563
- }, Gw = {
1563
+ }, _w = {
1564
1564
  narrow: ["j", "f", "m", "a", "m", "j", "j", "a", "s", "o", "n", "d"],
1565
1565
  abbreviated: [
1566
1566
  "jan",
@@ -1590,7 +1590,7 @@ const Pw = {
1590
1590
  "novembro",
1591
1591
  "dezembro"
1592
1592
  ]
1593
- }, _w = {
1593
+ }, Gw = {
1594
1594
  narrow: ["D", "S", "T", "Q", "Q", "S", "S"],
1595
1595
  short: ["dom", "seg", "ter", "qua", "qui", "sex", "sab"],
1596
1596
  abbreviated: [
@@ -1688,11 +1688,11 @@ const Pw = {
1688
1688
  argumentCallback: (t) => t - 1
1689
1689
  }),
1690
1690
  month: Ui({
1691
- values: Gw,
1691
+ values: _w,
1692
1692
  defaultWidth: "wide"
1693
1693
  }),
1694
1694
  day: Ui({
1695
- values: _w,
1695
+ values: Gw,
1696
1696
  defaultWidth: "wide"
1697
1697
  }),
1698
1698
  dayPeriod: Ui({
@@ -2649,7 +2649,7 @@ function u8({
2649
2649
  onClick: g,
2650
2650
  className: "gap-2",
2651
2651
  children: [
2652
- /* @__PURE__ */ l(_c, { className: "h-4 w-4" }),
2652
+ /* @__PURE__ */ l(Gc, { className: "h-4 w-4" }),
2653
2653
  "Download PDF"
2654
2654
  ]
2655
2655
  }
@@ -3132,12 +3132,12 @@ function wy({
3132
3132
  function dt({
3133
3133
  ...t
3134
3134
  }) {
3135
- return /* @__PURE__ */ l(Gn.Root, { "data-slot": "popover", ...t });
3135
+ return /* @__PURE__ */ l(_n.Root, { "data-slot": "popover", ...t });
3136
3136
  }
3137
- const it = T.forwardRef((t, e) => /* @__PURE__ */ l(Gn.Trigger, { ref: e, "data-slot": "popover-trigger", ...t }));
3138
- it.displayName = Gn.Trigger.displayName;
3139
- const at = T.forwardRef(({ className: t, align: e = "center", sideOffset: n = 4, ...r }, i) => /* @__PURE__ */ l(Gn.Portal, { children: /* @__PURE__ */ l(
3140
- Gn.Content,
3137
+ const it = T.forwardRef((t, e) => /* @__PURE__ */ l(_n.Trigger, { ref: e, "data-slot": "popover-trigger", ...t }));
3138
+ it.displayName = _n.Trigger.displayName;
3139
+ const at = T.forwardRef(({ className: t, align: e = "center", sideOffset: n = 4, ...r }, i) => /* @__PURE__ */ l(_n.Portal, { children: /* @__PURE__ */ l(
3140
+ _n.Content,
3141
3141
  {
3142
3142
  ref: i,
3143
3143
  "data-slot": "popover-content",
@@ -3150,10 +3150,10 @@ const at = T.forwardRef(({ className: t, align: e = "center", sideOffset: n = 4,
3150
3150
  ...r
3151
3151
  }
3152
3152
  ) }));
3153
- at.displayName = Gn.Content.displayName;
3154
- const yy = T.forwardRef((t, e) => /* @__PURE__ */ l(Gn.Anchor, { ref: e, "data-slot": "popover-anchor", ...t }));
3155
- yy.displayName = Gn.Anchor.displayName;
3156
- function _n({ className: t, type: e, ...n }) {
3153
+ at.displayName = _n.Content.displayName;
3154
+ const yy = T.forwardRef((t, e) => /* @__PURE__ */ l(_n.Anchor, { ref: e, "data-slot": "popover-anchor", ...t }));
3155
+ yy.displayName = _n.Anchor.displayName;
3156
+ function Gn({ className: t, type: e, ...n }) {
3157
3157
  return /* @__PURE__ */ l(
3158
3158
  "input",
3159
3159
  {
@@ -3235,7 +3235,7 @@ function C8({
3235
3235
  /* @__PURE__ */ b("div", { className: "relative flex-1", children: [
3236
3236
  /* @__PURE__ */ l("span", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-sm text-muted-foreground", children: "#" }),
3237
3237
  /* @__PURE__ */ l(
3238
- _n,
3238
+ Gn,
3239
3239
  {
3240
3240
  value: a.replace("#", "").toUpperCase(),
3241
3241
  onChange: d,
@@ -3306,7 +3306,7 @@ function C8({
3306
3306
  /* @__PURE__ */ b("div", { className: "relative flex-1", children: [
3307
3307
  /* @__PURE__ */ l("span", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground", children: "#" }),
3308
3308
  /* @__PURE__ */ l(
3309
- _n,
3309
+ Gn,
3310
3310
  {
3311
3311
  value: a.replace("#", "").toUpperCase(),
3312
3312
  onChange: d,
@@ -5573,7 +5573,7 @@ class Jn {
5573
5573
  Parse a document from the content of a DOM node.
5574
5574
  */
5575
5575
  parse(e, n = {}) {
5576
- let r = new Gu(this, n, !1);
5576
+ let r = new _u(this, n, !1);
5577
5577
  return r.addAll(e, de.none, n.from, n.to), r.finish();
5578
5578
  }
5579
5579
  /**
@@ -5585,7 +5585,7 @@ class Jn {
5585
5585
  the left of the input and the end of nodes at the end.
5586
5586
  */
5587
5587
  parseSlice(e, n = {}) {
5588
- let r = new Gu(this, n, !0);
5588
+ let r = new _u(this, n, !0);
5589
5589
  return r.addAll(e, de.none, n.from, n.to), U.maxOpen(r.finish());
5590
5590
  }
5591
5591
  /**
@@ -5642,13 +5642,13 @@ class Jn {
5642
5642
  for (let i in e.marks) {
5643
5643
  let a = e.marks[i].spec.parseDOM;
5644
5644
  a && a.forEach((o) => {
5645
- r(o = _u(o)), o.mark || o.ignore || o.clearMark || (o.mark = i);
5645
+ r(o = Gu(o)), o.mark || o.ignore || o.clearMark || (o.mark = i);
5646
5646
  });
5647
5647
  }
5648
5648
  for (let i in e.nodes) {
5649
5649
  let a = e.nodes[i].spec.parseDOM;
5650
5650
  a && a.forEach((o) => {
5651
- r(o = _u(o)), o.node || o.ignore || o.mark || (o.node = i);
5651
+ r(o = Gu(o)), o.node || o.ignore || o.mark || (o.node = i);
5652
5652
  });
5653
5653
  }
5654
5654
  return n;
@@ -5739,7 +5739,7 @@ class xo {
5739
5739
  return this.type ? this.type.inlineContent : this.content.length ? this.content[0].isInline : e.parentNode && !Tp.hasOwnProperty(e.parentNode.nodeName.toLowerCase());
5740
5740
  }
5741
5741
  }
5742
- class Gu {
5742
+ class _u {
5743
5743
  constructor(e, n, r) {
5744
5744
  this.parser = e, this.options = n, this.isOpen = r, this.open = 0, this.localPreserveWS = !1;
5745
5745
  let i = n.topNode, a, o = Vu(null, n.preserveWhitespace, 0) | (r ? oa : 0);
@@ -6030,7 +6030,7 @@ function Yy(t) {
6030
6030
  function Qy(t, e) {
6031
6031
  return (t.matches || t.msMatchesSelector || t.webkitMatchesSelector || t.mozMatchesSelector).call(t, e);
6032
6032
  }
6033
- function _u(t) {
6033
+ function Gu(t) {
6034
6034
  let e = {};
6035
6035
  for (let n in t)
6036
6036
  e[n] = t[n];
@@ -6172,9 +6172,9 @@ function il(t) {
6172
6172
  const Zu = /* @__PURE__ */ new WeakMap();
6173
6173
  function Vy(t) {
6174
6174
  let e = Zu.get(t);
6175
- return e === void 0 && Zu.set(t, e = Gy(t)), e;
6175
+ return e === void 0 && Zu.set(t, e = _y(t)), e;
6176
6176
  }
6177
- function Gy(t) {
6177
+ function _y(t) {
6178
6178
  let e = null;
6179
6179
  function n(r) {
6180
6180
  if (r && typeof r == "object")
@@ -6231,7 +6231,7 @@ function Ho(t, e, n, r) {
6231
6231
  return { dom: f, contentDOM: s };
6232
6232
  }
6233
6233
  const Dp = 65535, Ep = Math.pow(2, 16);
6234
- function _y(t, e) {
6234
+ function Gy(t, e) {
6235
6235
  return t + e * Ep;
6236
6236
  }
6237
6237
  function qu(t) {
@@ -6317,7 +6317,7 @@ class gt {
6317
6317
  let p = c ? e == f ? -1 : e == u ? 1 : n : n, h = f + i + (p < 0 ? 0 : d);
6318
6318
  if (r)
6319
6319
  return h;
6320
- let m = e == (n < 0 ? f : u) ? null : _y(s / 3, e - f), g = e == f ? zp : e == u ? Ap : Uo;
6320
+ let m = e == (n < 0 ? f : u) ? null : Gy(s / 3, e - f), g = e == f ? zp : e == u ? Ap : Uo;
6321
6321
  return (n < 0 ? e != f : e != u) && (g |= Op), new Xl(h, g, m);
6322
6322
  }
6323
6323
  i += d - c;
@@ -6577,7 +6577,7 @@ class Hn extends et {
6577
6577
  return Te.fromReplace(e, this.from, this.to, a);
6578
6578
  }
6579
6579
  invert() {
6580
- return new _t(this.from, this.to, this.mark);
6580
+ return new Gt(this.from, this.to, this.mark);
6581
6581
  }
6582
6582
  map(e) {
6583
6583
  let n = e.mapResult(this.from, 1), r = e.mapResult(this.to, -1);
@@ -6604,7 +6604,7 @@ class Hn extends et {
6604
6604
  }
6605
6605
  }
6606
6606
  et.jsonID("addMark", Hn);
6607
- class _t extends et {
6607
+ class Gt extends et {
6608
6608
  /**
6609
6609
  Create a mark-removing step.
6610
6610
  */
@@ -6620,10 +6620,10 @@ class _t extends et {
6620
6620
  }
6621
6621
  map(e) {
6622
6622
  let n = e.mapResult(this.from, 1), r = e.mapResult(this.to, -1);
6623
- return n.deleted && r.deleted || n.pos >= r.pos ? null : new _t(n.pos, r.pos, this.mark);
6623
+ return n.deleted && r.deleted || n.pos >= r.pos ? null : new Gt(n.pos, r.pos, this.mark);
6624
6624
  }
6625
6625
  merge(e) {
6626
- return e instanceof _t && e.mark.eq(this.mark) && this.from <= e.to && this.to >= e.from ? new _t(Math.min(this.from, e.from), Math.max(this.to, e.to), this.mark) : null;
6626
+ return e instanceof Gt && e.mark.eq(this.mark) && this.from <= e.to && this.to >= e.from ? new Gt(Math.min(this.from, e.from), Math.max(this.to, e.to), this.mark) : null;
6627
6627
  }
6628
6628
  toJSON() {
6629
6629
  return {
@@ -6639,10 +6639,10 @@ class _t extends et {
6639
6639
  static fromJSON(e, n) {
6640
6640
  if (typeof n.from != "number" || typeof n.to != "number")
6641
6641
  throw new RangeError("Invalid input for RemoveMarkStep.fromJSON");
6642
- return new _t(n.from, n.to, e.markFromJSON(n.mark));
6642
+ return new Gt(n.from, n.to, e.markFromJSON(n.mark));
6643
6643
  }
6644
6644
  }
6645
- et.jsonID("removeMark", _t);
6645
+ et.jsonID("removeMark", Gt);
6646
6646
  class Un extends et {
6647
6647
  /**
6648
6648
  Create a node mark step.
@@ -6855,7 +6855,7 @@ function $y(t, e, n, r) {
6855
6855
  if (!r.isInSet(u) && d.type.allowsMarkType(r.type)) {
6856
6856
  let p = Math.max(c, e), h = Math.min(c + f.nodeSize, n), m = r.addToSet(u);
6857
6857
  for (let g = 0; g < u.length; g++)
6858
- u[g].isInSet(m) || (o && o.to == p && o.mark.eq(u[g]) ? o.to = h : i.push(o = new _t(p, h, u[g])));
6858
+ u[g].isInSet(m) || (o && o.to == p && o.mark.eq(u[g]) ? o.to = h : i.push(o = new Gt(p, h, u[g])));
6859
6859
  s && s.to == p ? s.to = h : a.push(s = new Hn(p, h, r));
6860
6860
  }
6861
6861
  }), i.forEach((f) => t.step(f)), a.forEach((f) => t.step(f));
@@ -6883,7 +6883,7 @@ function Zy(t, e, n, r) {
6883
6883
  p ? (p.to = c, p.step = a) : i.push({ style: u, from: Math.max(s, e), to: c, step: a });
6884
6884
  }
6885
6885
  }
6886
- }), i.forEach((o) => t.step(new _t(o.from, o.to, o.style)));
6886
+ }), i.forEach((o) => t.step(new Gt(o.from, o.to, o.style)));
6887
6887
  }
6888
6888
  function od(t, e, n, r = n.contentMatch, i = !0) {
6889
6889
  let a = t.doc.nodeAt(e), o = [], s = e + 1;
@@ -6894,7 +6894,7 @@ function od(t, e, n, r = n.contentMatch, i = !0) {
6894
6894
  else {
6895
6895
  r = u;
6896
6896
  for (let p = 0; p < c.marks.length; p++)
6897
- n.allowsMarkType(c.marks[p].type) || t.step(new _t(s, d, c.marks[p]));
6897
+ n.allowsMarkType(c.marks[p].type) || t.step(new Gt(s, d, c.marks[p]));
6898
6898
  if (i && c.isText && n.whitespace != "pre") {
6899
6899
  let p, h = /\r?\n|\r/g, m;
6900
6900
  for (; p = h.exec(c.text); )
@@ -8499,7 +8499,7 @@ class Me {
8499
8499
  Create a plugin.
8500
8500
  */
8501
8501
  constructor(e) {
8502
- this.spec = e, this.props = {}, e.props && Vp(e.props, this, this.props), this.key = e.key ? e.key.key : Gp("plugin");
8502
+ this.spec = e, this.props = {}, e.props && Vp(e.props, this, this.props), this.key = e.key ? e.key.key : _p("plugin");
8503
8503
  }
8504
8504
  /**
8505
8505
  Extract the plugin's state field from an editor state.
@@ -8509,7 +8509,7 @@ class Me {
8509
8509
  }
8510
8510
  }
8511
8511
  const cl = /* @__PURE__ */ Object.create(null);
8512
- function Gp(t) {
8512
+ function _p(t) {
8513
8513
  return t in cl ? t + "$" + ++cl[t] : (cl[t] = 0, t + "$");
8514
8514
  }
8515
8515
  class Se {
@@ -8517,7 +8517,7 @@ class Se {
8517
8517
  Create a plugin key.
8518
8518
  */
8519
8519
  constructor(e = "key") {
8520
- this.key = Gp(e);
8520
+ this.key = _p(e);
8521
8521
  }
8522
8522
  /**
8523
8523
  Get the active plugin with this key, if any, from an editor
@@ -8534,12 +8534,12 @@ class Se {
8534
8534
  }
8535
8535
  }
8536
8536
  const ld = (t, e) => t.selection.empty ? !1 : (e && e(t.tr.deleteSelection().scrollIntoView()), !0);
8537
- function _p(t, e) {
8537
+ function Gp(t, e) {
8538
8538
  let { $cursor: n } = t.selection;
8539
8539
  return !n || (e ? !e.endOfTextblock("backward", t) : n.parentOffset > 0) ? null : n;
8540
8540
  }
8541
8541
  const Wp = (t, e, n) => {
8542
- let r = _p(t, n);
8542
+ let r = Gp(t, n);
8543
8543
  if (!r)
8544
8544
  return !1;
8545
8545
  let i = cd(r);
@@ -8565,7 +8565,7 @@ const Wp = (t, e, n) => {
8565
8565
  }
8566
8566
  return a.isAtom && i.depth == r.depth - 1 ? (e && e(t.tr.delete(i.pos - a.nodeSize, i.pos).scrollIntoView()), !0) : !1;
8567
8567
  }, w3 = (t, e, n) => {
8568
- let r = _p(t, n);
8568
+ let r = Gp(t, n);
8569
8569
  if (!r)
8570
8570
  return !1;
8571
8571
  let i = cd(r);
@@ -9089,8 +9089,8 @@ function V3(t, e, n) {
9089
9089
  }
9090
9090
  const rn = typeof navigator < "u" ? navigator : null, s0 = typeof document < "u" ? document : null, er = rn && rn.userAgent || "", nc = /Edge\/(\d+)/.exec(er), am = /MSIE \d/.exec(er), rc = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(er), ht = !!(am || rc || nc), Yn = am ? document.documentMode : rc ? +rc[1] : nc ? +nc[1] : 0, Rt = !ht && /gecko\/(\d+)/i.test(er);
9091
9091
  Rt && +(/Firefox\/(\d+)/.exec(er) || [0, 0])[1];
9092
- const ic = !ht && /Chrome\/(\d+)/.exec(er), Pe = !!ic, om = ic ? +ic[1] : 0, Ke = !ht && !!rn && /Apple Computer/.test(rn.vendor), vi = Ke && (/Mobile\/\w+/.test(er) || !!rn && rn.maxTouchPoints > 2), Dt = vi || (rn ? /Mac/.test(rn.platform) : !1), sm = rn ? /Win/.test(rn.platform) : !1, Ln = /Android \d/.test(er), Ka = !!s0 && "webkitFontSmoothing" in s0.documentElement.style, G3 = Ka ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
9093
- function _3(t) {
9092
+ const ic = !ht && /Chrome\/(\d+)/.exec(er), Pe = !!ic, om = ic ? +ic[1] : 0, Ke = !ht && !!rn && /Apple Computer/.test(rn.vendor), vi = Ke && (/Mobile\/\w+/.test(er) || !!rn && rn.maxTouchPoints > 2), Dt = vi || (rn ? /Mac/.test(rn.platform) : !1), sm = rn ? /Win/.test(rn.platform) : !1, Ln = /Android \d/.test(er), Ka = !!s0 && "webkitFontSmoothing" in s0.documentElement.style, _3 = Ka ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
9093
+ function G3(t) {
9094
9094
  let e = t.defaultView && t.defaultView.visualViewport;
9095
9095
  return e ? {
9096
9096
  left: 0,
@@ -9123,7 +9123,7 @@ function f0(t, e, n) {
9123
9123
  o = bi(o);
9124
9124
  continue;
9125
9125
  }
9126
- let s = o, f = s == a.body, c = f ? _3(a) : W3(s), d = 0, u = 0;
9126
+ let s = o, f = s == a.body, c = f ? G3(a) : W3(s), d = 0, u = 0;
9127
9127
  if (e.top < c.top + pn(r, "top") ? u = -(c.top - e.top + pn(i, "top")) : e.bottom > c.bottom - pn(r, "bottom") && (u = e.bottom - e.top > c.bottom - c.top ? e.top + pn(i, "top") - c.top : e.bottom - c.bottom + pn(i, "bottom")), e.left < c.left + pn(r, "left") ? d = -(c.left - e.left + pn(i, "left")) : e.right > c.right - pn(r, "right") && (d = e.right - c.right + pn(i, "right")), d || u)
9128
9128
  if (f)
9129
9129
  a.defaultView.scrollBy(d, u);
@@ -9169,18 +9169,18 @@ function lm(t, e) {
9169
9169
  r.scrollTop != i + e && (r.scrollTop = i + e), r.scrollLeft != a && (r.scrollLeft = a);
9170
9170
  }
9171
9171
  }
9172
- let _r = null;
9172
+ let Gr = null;
9173
9173
  function q3(t) {
9174
9174
  if (t.setActive)
9175
9175
  return t.setActive();
9176
- if (_r)
9177
- return t.focus(_r);
9176
+ if (Gr)
9177
+ return t.focus(Gr);
9178
9178
  let e = fm(t);
9179
- t.focus(_r == null ? {
9179
+ t.focus(Gr == null ? {
9180
9180
  get preventScroll() {
9181
- return _r = { preventScroll: !0 }, !0;
9181
+ return Gr = { preventScroll: !0 }, !0;
9182
9182
  }
9183
- } : void 0), _r || (_r = !1, lm(e, 0));
9183
+ } : void 0), Gr || (Gr = !1, lm(e, 0));
9184
9184
  }
9185
9185
  function cm(t, e) {
9186
9186
  let n, r = 2e8, i, a = 0, o = e.top, s = e.top, f, c;
@@ -11168,9 +11168,9 @@ st.mousedown = (t, e) => {
11168
11168
  let r = yd(t), i = Date.now(), a = "singleClick";
11169
11169
  i - t.input.lastClick.time < 500 && HM(n, t.input.lastClick) && !n[Tm] && 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 };
11170
11170
  let o = t.posAtCoords(bf(n));
11171
- o && (a == "singleClick" ? (t.input.mouseDown && t.input.mouseDown.done(), t.input.mouseDown = new GM(t, o, n, !!r)) : (a == "doubleClick" ? YM : QM)(t, o.pos, o.inside, n) ? n.preventDefault() : Fn(t, "pointer"));
11171
+ o && (a == "singleClick" ? (t.input.mouseDown && t.input.mouseDown.done(), t.input.mouseDown = new _M(t, o, n, !!r)) : (a == "doubleClick" ? YM : QM)(t, o.pos, o.inside, n) ? n.preventDefault() : Fn(t, "pointer"));
11172
11172
  };
11173
- class GM {
11173
+ class _M {
11174
11174
  constructor(e, n, r, i) {
11175
11175
  this.view = e, this.pos = n, this.event = r, this.flushed = i, this.delayedSelectionSync = !1, this.mightDrag = null, this.startDoc = e.state.doc, this.selectNode = !!r[Tm], this.allowDefault = r.shiftKey;
11176
11176
  let a, o;
@@ -11226,7 +11226,7 @@ st.contextmenu = (t) => yd(t);
11226
11226
  function jm(t, e) {
11227
11227
  return t.composing ? !0 : Ke && Math.abs(e.timeStamp - t.input.compositionEndedAt) < 500 ? (t.input.compositionEndedAt = -2e8, !0) : !1;
11228
11228
  }
11229
- const _M = Ln ? 5e3 : -1;
11229
+ const GM = Ln ? 5e3 : -1;
11230
11230
  ft.compositionstart = ft.compositionupdate = (t) => {
11231
11231
  if (!t.composing) {
11232
11232
  t.domObserver.flush();
@@ -11249,7 +11249,7 @@ ft.compositionstart = ft.compositionupdate = (t) => {
11249
11249
  }
11250
11250
  t.input.composing = !0;
11251
11251
  }
11252
- Dm(t, _M);
11252
+ Dm(t, GM);
11253
11253
  };
11254
11254
  function WM(t) {
11255
11255
  let { focusNode: e, focusOffset: n } = t.domSelectionRange();
@@ -11310,7 +11310,7 @@ function qM(t, e) {
11310
11310
  n.parentNode && n.parentNode.removeChild(n), t.focus();
11311
11311
  }, 50);
11312
11312
  }
11313
- const Ea = ht && Yn < 15 || vi && G3 < 604;
11313
+ const Ea = ht && Yn < 15 || vi && _3 < 604;
11314
11314
  st.copy = ft.cut = (t, e) => {
11315
11315
  let n = e, r = t.state.selection, i = n.type == "cut";
11316
11316
  if (r.empty)
@@ -12996,7 +12996,7 @@ Cd(Fm, {
12996
12996
  first: () => Jx,
12997
12997
  focus: () => Qx,
12998
12998
  forEach: () => Vx,
12999
- insertContent: () => Gx,
12999
+ insertContent: () => _x,
13000
13000
  insertContentAt: () => $x,
13001
13001
  joinBackward: () => Kx,
13002
13002
  joinDown: () => qx,
@@ -13028,8 +13028,8 @@ Cd(Fm, {
13028
13028
  setTextSelection: () => YC,
13029
13029
  sinkListItem: () => QC,
13030
13030
  splitBlock: () => VC,
13031
- splitListItem: () => GC,
13032
- toggleList: () => _C,
13031
+ splitListItem: () => _C,
13032
+ toggleList: () => GC,
13033
13033
  toggleMark: () => WC,
13034
13034
  toggleNode: () => $C,
13035
13035
  toggleWrap: () => ZC,
@@ -13203,7 +13203,7 @@ var Qx = (t = null, e = {}) => ({ editor: n, view: r, tr: i, dispatch: a }) => {
13203
13203
  return o(), !0;
13204
13204
  const s = Qm(i.doc, t) || n.state.selection, f = n.state.selection.eq(s);
13205
13205
  return a && (f || i.setSelection(s), f && i.storedMarks && i.setStoredMarks(i.storedMarks), o()), !0;
13206
- }, Vx = (t, e) => (n) => t.every((r, i) => e(r, { ...n, index: i })), Gx = (t, e) => ({ tr: n, commands: r }) => r.insertContentAt({ from: n.selection.from, to: n.selection.to }, t, e), Vm = (t) => {
13206
+ }, Vx = (t, e) => (n) => t.every((r, i) => e(r, { ...n, index: i })), _x = (t, e) => ({ tr: n, commands: r }) => r.insertContentAt({ from: n.selection.from, to: n.selection.to }, t, e), Vm = (t) => {
13207
13207
  const e = t.childNodes;
13208
13208
  for (let n = e.length - 1; n >= 0; n -= 1) {
13209
13209
  const r = e[n];
@@ -13268,7 +13268,7 @@ function Oa(t, e, n) {
13268
13268
  }
13269
13269
  return Oa("", e, n);
13270
13270
  }
13271
- function _x(t, e, n) {
13271
+ function Gx(t, e, n) {
13272
13272
  const r = t.steps.length - 1;
13273
13273
  if (r < e)
13274
13274
  return;
@@ -13344,7 +13344,7 @@ var Wx = (t) => !("type" in t), $x = (t, e, n) => ({ tr: r, dispatch: i, editor:
13344
13344
  const v = r.doc.resolve(d), w = v.node(), x = v.parentOffset === 0, L = w.isText || w.isTextblock, y = w.content.size > 0;
13345
13345
  x && L && y && (d = Math.max(0, d - 1)), r.replaceWith(d, u, g);
13346
13346
  }
13347
- n.updateSelection && _x(r, r.steps.length - 1, -1), n.applyInputRules && r.setMeta("applyInputRules", { from: d, text: g }), n.applyPasteRules && r.setMeta("applyPasteRules", { from: d, text: g });
13347
+ n.updateSelection && Gx(r, r.steps.length - 1, -1), n.applyInputRules && r.setMeta("applyInputRules", { from: d, text: g }), n.applyPasteRules && r.setMeta("applyPasteRules", { from: d, text: g });
13348
13348
  }
13349
13349
  return !0;
13350
13350
  }, Zx = () => ({ state: t, dispatch: e }) => M3(t, e), qx = () => ({ state: t, dispatch: e }) => x3(t, e), Kx = () => ({ state: t, dispatch: e }) => Wp(t, e), Xx = () => ({ state: t, dispatch: e }) => Kp(t, e), eC = () => ({ state: t, dispatch: e, tr: n }) => {
@@ -13362,7 +13362,7 @@ var Wx = (t) => !("type" in t), $x = (t, e, n) => ({ tr: r, dispatch: i, editor:
13362
13362
  return !1;
13363
13363
  }
13364
13364
  }, nC = () => ({ state: t, dispatch: e }) => w3(t, e), rC = () => ({ state: t, dispatch: e }) => y3(t, e);
13365
- function Gm() {
13365
+ function _m() {
13366
13366
  return typeof navigator < "u" ? /Mac/.test(navigator.platform) : !1;
13367
13367
  }
13368
13368
  function iC(t) {
@@ -13381,7 +13381,7 @@ function iC(t) {
13381
13381
  else if (/^s(hift)?$/i.test(f))
13382
13382
  a = !0;
13383
13383
  else if (/^mod$/i.test(f))
13384
- kd() || Gm() ? o = !0 : i = !0;
13384
+ kd() || _m() ? o = !0 : i = !0;
13385
13385
  else
13386
13386
  throw new Error(`Unrecognized modifier name: ${f}`);
13387
13387
  }
@@ -13477,7 +13477,7 @@ var vC = (t, { errorOnInvalidContent: e, emitUpdate: n = !0, parseOptions: r = {
13477
13477
  errorOnInvalidContent: e ?? i.options.enableContentCheck
13478
13478
  });
13479
13479
  };
13480
- function _m(t, e) {
13480
+ function Gm(t, e) {
13481
13481
  const n = Tn(e, t.schema), { from: r, to: i, empty: a } = t.selection, o = [];
13482
13482
  a ? (t.storedMarks && o.push(...t.storedMarks), o.push(...t.selection.$head.marks())) : t.doc.nodesBetween(r, i, (f) => {
13483
13483
  o.push(...f.marks);
@@ -13830,7 +13830,7 @@ function eg(t, e) {
13830
13830
  typeof e == "string" ? e : e.name,
13831
13831
  t.schema
13832
13832
  );
13833
- return n === "node" ? SC(t, e) : n === "mark" ? _m(t, e) : {};
13833
+ return n === "node" ? SC(t, e) : n === "mark" ? Gm(t, e) : {};
13834
13834
  }
13835
13835
  function IC(t, e = JSON.stringify) {
13836
13836
  const n = {};
@@ -14066,7 +14066,7 @@ var BC = (t, e = {}) => ({ tr: n, state: r, dispatch: i }) => {
14066
14066
  const { selection: a } = n, { empty: o, ranges: s } = a, f = Tn(t, r.schema);
14067
14067
  if (i)
14068
14068
  if (o) {
14069
- const c = _m(r, f);
14069
+ const c = Gm(r, f);
14070
14070
  n.addStoredMark(
14071
14071
  f.create({
14072
14072
  ...c,
@@ -14120,7 +14120,7 @@ var BC = (t, e = {}) => ({ tr: n, state: r, dispatch: i }) => {
14120
14120
  const r = De(t, e.schema);
14121
14121
  return B3(r)(e, n);
14122
14122
  };
14123
- function G0(t, e) {
14123
+ function _0(t, e) {
14124
14124
  const n = t.storedMarks || t.selection.$to.parentOffset && t.selection.$from.marks();
14125
14125
  if (n) {
14126
14126
  const r = n.filter((i) => e == null ? void 0 : e.includes(i.type.name));
@@ -14130,7 +14130,7 @@ function G0(t, e) {
14130
14130
  var VC = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, editor: i }) => {
14131
14131
  const { selection: a, doc: o } = e, { $from: s, $to: f } = a, c = i.extensionManager.attributes, d = Fo(c, s.node().type.name, s.node().attrs);
14132
14132
  if (a instanceof V && a.node.isBlock)
14133
- return !s.parentOffset || !Nn(o, s.pos) ? !1 : (r && (t && G0(n, i.extensionManager.splittableMarks), e.split(s.pos).scrollIntoView()), !0);
14133
+ return !s.parentOffset || !Nn(o, s.pos) ? !1 : (r && (t && _0(n, i.extensionManager.splittableMarks), e.split(s.pos).scrollIntoView()), !0);
14134
14134
  if (!s.parent.isBlock)
14135
14135
  return !1;
14136
14136
  const u = f.parentOffset === f.parent.content.size, p = s.depth === 0 ? void 0 : wC(s.node(-1).contentMatchAt(s.indexAfter(-1)));
@@ -14150,10 +14150,10 @@ var VC = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, editor
14150
14150
  const g = e.mapping.map(s.before()), v = e.doc.resolve(g);
14151
14151
  s.node(-1).canReplaceWith(v.index(), v.index() + 1, p) && e.setNodeMarkup(e.mapping.map(s.before()), p);
14152
14152
  }
14153
- t && G0(n, i.extensionManager.splittableMarks), e.scrollIntoView();
14153
+ t && _0(n, i.extensionManager.splittableMarks), e.scrollIntoView();
14154
14154
  }
14155
14155
  return m;
14156
- }, GC = (t, e = {}) => ({ tr: n, state: r, dispatch: i, editor: a }) => {
14156
+ }, _C = (t, e = {}) => ({ tr: n, state: r, dispatch: i, editor: a }) => {
14157
14157
  var o;
14158
14158
  const s = De(t, r.schema), { $from: f, $to: c } = r.selection, d = r.selection.node;
14159
14159
  if (d && d.isBlock || f.depth < 2 || !f.sameParent(c))
@@ -14229,7 +14229,7 @@ var VC = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: r, editor
14229
14229
  return !0;
14230
14230
  const i = t.doc.nodeAt(r);
14231
14231
  return n.node.type === (i == null ? void 0 : i.type) && Xn(t.doc, r) && t.join(r), !0;
14232
- }, _C = (t, e, n, r = {}) => ({ editor: i, tr: a, state: o, dispatch: s, chain: f, commands: c, can: d }) => {
14232
+ }, GC = (t, e, n, r = {}) => ({ editor: i, tr: a, state: o, dispatch: s, chain: f, commands: c, can: d }) => {
14233
14233
  const { extensions: u, splittableMarks: p } = i.extensionManager, h = De(t, o.schema), m = De(e, o.schema), { selection: g, storedMarks: v } = o, { $from: w, $to: x } = g, L = w.blockRange(x), y = v || g.$to.parentOffset && g.$from.marks();
14234
14234
  if (!L)
14235
14235
  return !1;
@@ -15028,7 +15028,7 @@ var ke = class sg extends Dd {
15028
15028
  const p = d.mapping;
15029
15029
  d.steps.forEach((h, m) => {
15030
15030
  var g, v;
15031
- if (h instanceof _t) {
15031
+ if (h instanceof Gt) {
15032
15032
  const w = p.slice(m).map(h.from, -1), x = p.slice(m).map(h.to), L = p.invert().map(w, -1), y = p.invert().map(x), N = (g = d.doc.nodeAt(w - 1)) == null ? void 0 : g.marks.some((k) => k.eq(h.mark)), C = (v = d.doc.nodeAt(x)) == null ? void 0 : v.marks.some((k) => k.eq(h.mark));
15033
15033
  this.editor.emit("delete", {
15034
15034
  type: "mark",
@@ -15153,7 +15153,7 @@ var ke = class sg extends Dd {
15153
15153
  "Ctrl-a": () => this.editor.commands.selectTextblockStart(),
15154
15154
  "Ctrl-e": () => this.editor.commands.selectTextblockEnd()
15155
15155
  };
15156
- return kd() || Gm() ? a : i;
15156
+ return kd() || _m() ? a : i;
15157
15157
  },
15158
15158
  addProseMirrorPlugins() {
15159
15159
  return [
@@ -16653,7 +16653,7 @@ function Dr(t) {
16653
16653
  });
16654
16654
  }
16655
16655
  var T6 = Object.getOwnPropertyNames, j6 = Object.getOwnPropertySymbols, D6 = Object.prototype.hasOwnProperty;
16656
- function _0(t, e) {
16656
+ function G0(t, e) {
16657
16657
  return function(r, i, a) {
16658
16658
  return t(r, i, a) && e(r, i, a);
16659
16659
  };
@@ -16782,13 +16782,13 @@ function V6(t, e) {
16782
16782
  return !1;
16783
16783
  return !0;
16784
16784
  }
16785
- function G6(t, e) {
16785
+ function _6(t, e) {
16786
16786
  return t.hostname === e.hostname && t.pathname === e.pathname && t.protocol === e.protocol && t.port === e.port && t.hash === e.hash && t.username === e.username && t.password === e.password;
16787
16787
  }
16788
16788
  function xg(t, e, n, r) {
16789
16789
  return (r === P6 || r === O6 || r === z6) && (t.$$typeof || e.$$typeof) ? !0 : A6(e, r) && n.equals(t[r], e[r], r, r, t, e, n);
16790
16790
  }
16791
- var _6 = "[object Arguments]", W6 = "[object Boolean]", $6 = "[object Date]", Z6 = "[object Error]", q6 = "[object Map]", K6 = "[object Number]", X6 = "[object Object]", eL = "[object RegExp]", tL = "[object Set]", nL = "[object String]", rL = "[object URL]", iL = Array.isArray, X0 = typeof ArrayBuffer < "u" && typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView : null, eh = Object.assign, aL = Object.prototype.toString.call.bind(Object.prototype.toString);
16791
+ var G6 = "[object Arguments]", W6 = "[object Boolean]", $6 = "[object Date]", Z6 = "[object Error]", q6 = "[object Map]", K6 = "[object Number]", X6 = "[object Object]", eL = "[object RegExp]", tL = "[object Set]", nL = "[object String]", rL = "[object URL]", iL = Array.isArray, X0 = typeof ArrayBuffer < "u" && typeof ArrayBuffer.isView == "function" ? ArrayBuffer.isView : null, eh = Object.assign, aL = Object.prototype.toString.call.bind(Object.prototype.toString);
16792
16792
  function oL(t) {
16793
16793
  var e = t.areArraysEqual, n = t.areDatesEqual, r = t.areErrorsEqual, i = t.areFunctionsEqual, a = t.areMapsEqual, o = t.areNumbersEqual, s = t.areObjectsEqual, f = t.arePrimitiveWrappersEqual, c = t.areRegExpsEqual, d = t.areSetsEqual, u = t.areTypedArraysEqual, p = t.areUrlsEqual, h = t.unknownTagComparators;
16794
16794
  return function(g, v, w) {
@@ -16833,7 +16833,7 @@ function oL(t) {
16833
16833
  return p(g, v, w);
16834
16834
  if (y === Z6)
16835
16835
  return r(g, v, w);
16836
- if (y === _6)
16836
+ if (y === G6)
16837
16837
  return s(g, v, w);
16838
16838
  if (y === W6 || y === K6 || y === nL)
16839
16839
  return f(g, v, w);
@@ -16855,14 +16855,14 @@ function sL(t) {
16855
16855
  areDatesEqual: B6,
16856
16856
  areErrorsEqual: H6,
16857
16857
  areFunctionsEqual: U6,
16858
- areMapsEqual: r ? _0(q0, Yi) : q0,
16858
+ areMapsEqual: r ? G0(q0, Yi) : q0,
16859
16859
  areNumbersEqual: F6,
16860
16860
  areObjectsEqual: r ? Yi : J6,
16861
16861
  arePrimitiveWrappersEqual: Y6,
16862
16862
  areRegExpsEqual: Q6,
16863
- areSetsEqual: r ? _0(K0, Yi) : K0,
16863
+ areSetsEqual: r ? G0(K0, Yi) : K0,
16864
16864
  areTypedArraysEqual: r ? Yi : V6,
16865
- areUrlsEqual: G6,
16865
+ areUrlsEqual: _6,
16866
16866
  unknownTagComparators: void 0
16867
16867
  };
16868
16868
  if (n && (i = eh({}, i, n(i))), e) {
@@ -17948,7 +17948,7 @@ ${n}
17948
17948
  })
17949
17949
  ];
17950
17950
  }
17951
- }), VL = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, GL = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g, _L = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/, WL = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g, $L = Rr.create({
17951
+ }), VL = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, _L = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g, GL = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/, WL = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g, $L = Rr.create({
17952
17952
  name: "italic",
17953
17953
  addOptions() {
17954
17954
  return {
@@ -17999,7 +17999,7 @@ ${n}
17999
17999
  type: this.type
18000
18000
  }),
18001
18001
  yi({
18002
- find: _L,
18002
+ find: GL,
18003
18003
  type: this.type
18004
18004
  })
18005
18005
  ];
@@ -18007,7 +18007,7 @@ ${n}
18007
18007
  addPasteRules() {
18008
18008
  return [
18009
18009
  Dr({
18010
- find: GL,
18010
+ find: _L,
18011
18011
  type: this.type
18012
18012
  }),
18013
18013
  Dr({
@@ -18629,10 +18629,10 @@ function sN({
18629
18629
  for (let J = 0; J < H.length; J++) {
18630
18630
  const [P, F] = H[J], A = z(N, P);
18631
18631
  z(C, P, A), z(A, F, N);
18632
- const G = St(Do);
18633
- X(A, e, G);
18632
+ const _ = St(Do);
18633
+ X(A, e, _);
18634
18634
  const q = St();
18635
- X(A, n), X(G, e, G), X(G, n, q), X(q, e, G), X(q, n, q), z(G, F, N), z(q, F, N);
18635
+ X(A, n), X(_, e, _), X(_, n, q), X(q, e, _), X(q, n, q), z(_, F, N), z(q, F, N);
18636
18636
  }
18637
18637
  return z(i, Pa, x), z(i, Pd, oN), {
18638
18638
  start: i,
@@ -19811,7 +19811,7 @@ var AN = lt.create({
19811
19811
  text: t.text || ""
19812
19812
  }),
19813
19813
  renderMarkdown: (t) => t.text || ""
19814
- }), Gg = Rr.create({
19814
+ }), _g = Rr.create({
19815
19815
  name: "underline",
19816
19816
  addOptions() {
19817
19817
  return {
@@ -19871,7 +19871,7 @@ var AN = lt.create({
19871
19871
  "Mod-U": () => this.editor.commands.toggleUnderline()
19872
19872
  };
19873
19873
  }
19874
- }), BN = Gg;
19874
+ }), BN = _g;
19875
19875
  function HN(t = {}) {
19876
19876
  return new Me({
19877
19877
  view(e) {
@@ -20053,7 +20053,7 @@ class Vd {
20053
20053
  return Ne.valid(n) ? new Ne(n) : ee.near(n);
20054
20054
  }
20055
20055
  }
20056
- function _g(t) {
20056
+ function Gg(t) {
20057
20057
  return t.isAtom || t.spec.isolating || t.spec.createGapCursor;
20058
20058
  }
20059
20059
  function FN(t) {
@@ -20065,7 +20065,7 @@ function FN(t) {
20065
20065
  continue;
20066
20066
  }
20067
20067
  for (let i = r.child(n - 1); ; i = i.lastChild) {
20068
- if (i.childCount == 0 && !i.inlineContent || _g(i.type))
20068
+ if (i.childCount == 0 && !i.inlineContent || Gg(i.type))
20069
20069
  return !0;
20070
20070
  if (i.inlineContent)
20071
20071
  return !1;
@@ -20082,7 +20082,7 @@ function JN(t) {
20082
20082
  continue;
20083
20083
  }
20084
20084
  for (let i = r.child(n); ; i = i.firstChild) {
20085
- if (i.childCount == 0 && !i.inlineContent || _g(i.type))
20085
+ if (i.childCount == 0 && !i.inlineContent || Gg(i.type))
20086
20086
  return !0;
20087
20087
  if (i.inlineContent)
20088
20088
  return !1;
@@ -20093,13 +20093,13 @@ function JN(t) {
20093
20093
  function YN() {
20094
20094
  return new Me({
20095
20095
  props: {
20096
- decorations: _N,
20096
+ decorations: GN,
20097
20097
  createSelectionBetween(t, e, n) {
20098
20098
  return e.pos == n.pos && Ne.valid(n) ? new Ne(n) : null;
20099
20099
  },
20100
20100
  handleClick: VN,
20101
20101
  handleKeyDown: QN,
20102
- handleDOMEvents: { beforeinput: GN }
20102
+ handleDOMEvents: { beforeinput: _N }
20103
20103
  }
20104
20104
  });
20105
20105
  }
@@ -20131,7 +20131,7 @@ function VN(t, e, n) {
20131
20131
  let i = t.posAtCoords({ left: n.clientX, top: n.clientY });
20132
20132
  return i && i.inside > -1 && V.isSelectable(t.state.doc.nodeAt(i.inside)) ? !1 : (t.dispatch(t.state.tr.setSelection(new Ne(r))), !0);
20133
20133
  }
20134
- function GN(t, e) {
20134
+ function _N(t, e) {
20135
20135
  if (e.inputType != "insertCompositionText" || !(t.state.selection instanceof Ne))
20136
20136
  return !1;
20137
20137
  let { $from: n } = t.state.selection, r = n.parent.contentMatchAt(n.index()).findWrapping(t.state.schema.nodes.text);
@@ -20143,7 +20143,7 @@ function GN(t, e) {
20143
20143
  let a = t.state.tr.replace(n.pos, n.pos, new U(i, 0, 0));
20144
20144
  return a.setSelection(Z.near(a.doc.resolve(n.pos + 1))), t.dispatch(a), !1;
20145
20145
  }
20146
- function _N(t) {
20146
+ function GN(t) {
20147
20147
  if (!(t.selection instanceof Ne))
20148
20148
  return null;
20149
20149
  let e = document.createElement("div");
@@ -20247,7 +20247,7 @@ var WN = /* @__PURE__ */ (function(t) {
20247
20247
  }, e;
20248
20248
  })(Be);
20249
20249
  const $N = 500;
20250
- class Gt {
20250
+ class _t {
20251
20251
  constructor(e, n) {
20252
20252
  this.items = e, this.eventCount = n;
20253
20253
  }
@@ -20277,7 +20277,7 @@ class Gt {
20277
20277
  } else
20278
20278
  o.maybeStep(u.step);
20279
20279
  if (u.selection)
20280
- return s = i ? u.selection.map(i.slice(a)) : u.selection, f = new Gt(this.items.slice(0, r).append(d.reverse().concat(c)), this.eventCount - 1), !1;
20280
+ return s = i ? u.selection.map(i.slice(a)) : u.selection, f = new _t(this.items.slice(0, r).append(d.reverse().concat(c)), this.eventCount - 1), !1;
20281
20281
  }, this.items.length, 0), { remaining: f, transform: o, selection: s };
20282
20282
  }
20283
20283
  // Create a new branch with the given transform added.
@@ -20288,7 +20288,7 @@ class Gt {
20288
20288
  (h = f && f.merge(p)) && (p = h, d ? a.pop() : s = s.slice(0, s.length - 1)), a.push(p), n && (o++, n = void 0), i || (f = p);
20289
20289
  }
20290
20290
  let c = o - r.depth;
20291
- return c > qN && (s = ZN(s, c), o -= c), new Gt(s.append(a), o);
20291
+ return c > qN && (s = ZN(s, c), o -= c), new _t(s.append(a), o);
20292
20292
  }
20293
20293
  remapping(e, n) {
20294
20294
  let r = new ja();
@@ -20298,7 +20298,7 @@ class Gt {
20298
20298
  }, e, n), r;
20299
20299
  }
20300
20300
  addMaps(e) {
20301
- return this.eventCount == 0 ? this : new Gt(this.items.append(e.map((n) => new qt(n))), this.eventCount);
20301
+ return this.eventCount == 0 ? this : new _t(this.items.append(e.map((n) => new qt(n))), this.eventCount);
20302
20302
  }
20303
20303
  // When the collab module receives remote changes, the history has
20304
20304
  // to know about those, so that it can adjust the steps that were
@@ -20327,7 +20327,7 @@ class Gt {
20327
20327
  let c = [];
20328
20328
  for (let p = n; p < o; p++)
20329
20329
  c.push(new qt(a.maps[p]));
20330
- let d = this.items.slice(0, i).append(c).append(r), u = new Gt(d, s);
20330
+ let d = this.items.slice(0, i).append(c).append(r), u = new _t(d, s);
20331
20331
  return u.emptyItemCount() > $N && (u = u.compress(this.items.length - r.length)), u;
20332
20332
  }
20333
20333
  emptyItemCount() {
@@ -20356,10 +20356,10 @@ class Gt {
20356
20356
  (p = i.length && i[h].merge(u)) ? i[h] = p : i.push(u);
20357
20357
  }
20358
20358
  } else o.map && r--;
20359
- }, this.items.length, 0), new Gt(Be.from(i.reverse()), a);
20359
+ }, this.items.length, 0), new _t(Be.from(i.reverse()), a);
20360
20360
  }
20361
20361
  }
20362
- Gt.empty = new Gt(Be.empty, 0);
20362
+ _t.empty = new _t(Be.empty, 0);
20363
20363
  function ZN(t, e) {
20364
20364
  let n;
20365
20365
  return t.forEach((r, i) => {
@@ -20397,7 +20397,7 @@ function KN(t, e, n, r) {
20397
20397
  return o.getMeta(Lr).redo ? new Pn(t.done.addTransform(n, void 0, r, Yo(e)), t.undone, gh(n.mapping.maps), t.prevTime, t.prevComposition) : new Pn(t.done, t.undone.addTransform(n, void 0, r, Yo(e)), null, t.prevTime, t.prevComposition);
20398
20398
  if (n.getMeta("addToHistory") !== !1 && !(o && o.getMeta("addToHistory") === !1)) {
20399
20399
  let s = n.getMeta("composition"), f = t.prevTime == 0 || !o && t.prevComposition != s && (t.prevTime < (n.time || 0) - r.newGroupDelay || !XN(n, t.prevRanges)), c = o ? Il(t.prevRanges, n.mapping) : gh(n.mapping.maps);
20400
- return new Pn(t.done.addTransform(n, f ? e.selection.getBookmark() : void 0, r, Yo(e)), Gt.empty, c, n.time, s ?? t.prevComposition);
20400
+ return new Pn(t.done.addTransform(n, f ? e.selection.getBookmark() : void 0, r, Yo(e)), _t.empty, c, n.time, s ?? t.prevComposition);
20401
20401
  } else return (a = n.getMeta("rebased")) ? new Pn(t.done.rebased(n, a), t.undone.rebased(n, a), Il(t.prevRanges, n.mapping), t.prevTime, t.prevComposition) : new Pn(t.done.addMaps(n.mapping.maps), t.undone.addMaps(n.mapping.maps), Il(t.prevRanges, n.mapping), t.prevTime, t.prevComposition);
20402
20402
  }
20403
20403
  function XN(t, e) {
@@ -20456,7 +20456,7 @@ function nk(t = {}) {
20456
20456
  key: Lr,
20457
20457
  state: {
20458
20458
  init() {
20459
- return new Pn(Gt.empty, Gt.empty, null, 0, -1);
20459
+ return new Pn(_t.empty, _t.empty, null, 0, -1);
20460
20460
  },
20461
20461
  apply(e, n, r) {
20462
20462
  return KN(n, r, e, t);
@@ -20767,7 +20767,7 @@ var ok = ke.create({
20767
20767
  addExtensions() {
20768
20768
  var t, e, n, r;
20769
20769
  const i = [];
20770
- return this.options.bold !== !1 && i.push(zL.configure(this.options.bold)), this.options.blockquote !== !1 && i.push(TL.configure(this.options.blockquote)), this.options.bulletList !== !1 && i.push(Pg.configure(this.options.bulletList)), this.options.code !== !1 && i.push(RL.configure(this.options.code)), this.options.codeBlock !== !1 && i.push(UL.configure(this.options.codeBlock)), this.options.document !== !1 && i.push(FL.configure(this.options.document)), this.options.dropcursor !== !1 && i.push(rk.configure(this.options.dropcursor)), this.options.gapcursor !== !1 && i.push(ik.configure(this.options.gapcursor)), this.options.hardBreak !== !1 && i.push(JL.configure(this.options.hardBreak)), this.options.heading !== !1 && i.push(YL.configure(this.options.heading)), this.options.undoRedo !== !1 && i.push(sk.configure(this.options.undoRedo)), this.options.horizontalRule !== !1 && i.push(QL.configure(this.options.horizontalRule)), this.options.italic !== !1 && i.push($L.configure(this.options.italic)), this.options.listItem !== !1 && i.push(Rg.configure(this.options.listItem)), this.options.listKeymap !== !1 && i.push(Yg.configure((t = this.options) == null ? void 0 : t.listKeymap)), this.options.link !== !1 && i.push(Og.configure((e = this.options) == null ? void 0 : e.link)), this.options.orderedList !== !1 && i.push(Vg.configure(this.options.orderedList)), this.options.paragraph !== !1 && i.push(AN.configure(this.options.paragraph)), this.options.strike !== !1 && i.push(PN.configure(this.options.strike)), this.options.text !== !1 && i.push(RN.configure(this.options.text)), this.options.underline !== !1 && i.push(Gg.configure((n = this.options) == null ? void 0 : n.underline)), this.options.trailingNode !== !1 && i.push(ok.configure((r = this.options) == null ? void 0 : r.trailingNode)), i;
20770
+ return this.options.bold !== !1 && i.push(zL.configure(this.options.bold)), this.options.blockquote !== !1 && i.push(TL.configure(this.options.blockquote)), this.options.bulletList !== !1 && i.push(Pg.configure(this.options.bulletList)), this.options.code !== !1 && i.push(RL.configure(this.options.code)), this.options.codeBlock !== !1 && i.push(UL.configure(this.options.codeBlock)), this.options.document !== !1 && i.push(FL.configure(this.options.document)), this.options.dropcursor !== !1 && i.push(rk.configure(this.options.dropcursor)), this.options.gapcursor !== !1 && i.push(ik.configure(this.options.gapcursor)), this.options.hardBreak !== !1 && i.push(JL.configure(this.options.hardBreak)), this.options.heading !== !1 && i.push(YL.configure(this.options.heading)), this.options.undoRedo !== !1 && i.push(sk.configure(this.options.undoRedo)), this.options.horizontalRule !== !1 && i.push(QL.configure(this.options.horizontalRule)), this.options.italic !== !1 && i.push($L.configure(this.options.italic)), this.options.listItem !== !1 && i.push(Rg.configure(this.options.listItem)), this.options.listKeymap !== !1 && i.push(Yg.configure((t = this.options) == null ? void 0 : t.listKeymap)), this.options.link !== !1 && i.push(Og.configure((e = this.options) == null ? void 0 : e.link)), this.options.orderedList !== !1 && i.push(Vg.configure(this.options.orderedList)), this.options.paragraph !== !1 && i.push(AN.configure(this.options.paragraph)), this.options.strike !== !1 && i.push(PN.configure(this.options.strike)), this.options.text !== !1 && i.push(RN.configure(this.options.text)), this.options.underline !== !1 && i.push(_g.configure((n = this.options) == null ? void 0 : n.underline)), this.options.trailingNode !== !1 && i.push(ok.configure((r = this.options) == null ? void 0 : r.trailingNode)), i;
20771
20771
  }
20772
20772
  }), Kg = fk, lk = /(?:^|\s)(!\[(.+|:?)]\((\S+)(?:(?:\s+)["'](\S+)["'])?\))$/, ck = lt.create({
20773
20773
  name: "image",
@@ -20972,10 +20972,10 @@ function hk({
20972
20972
  return {
20973
20973
  update: async (C, k) => {
20974
20974
  var S, I, D, H, J, P, F;
20975
- const A = (S = this.key) == null ? void 0 : S.getState(k), G = (I = this.key) == null ? void 0 : I.getState(C.state), q = A.active && G.active && A.range.from !== G.range.from, fe = !A.active && G.active, Ee = A.active && !G.active, _ = !fe && !Ee && A.query !== G.query, be = fe || q && _, he = _ || q, He = Ee || q && _;
20975
+ const A = (S = this.key) == null ? void 0 : S.getState(k), _ = (I = this.key) == null ? void 0 : I.getState(C.state), q = A.active && _.active && A.range.from !== _.range.from, fe = !A.active && _.active, Ee = A.active && !_.active, G = !fe && !Ee && A.query !== _.query, be = fe || q && G, he = G || q, He = Ee || q && G;
20976
20976
  if (!be && !he && !He)
20977
20977
  return;
20978
- const R = He && !be ? A : G, W = C.dom.querySelector(`[data-decoration-id="${R.decorationId}"]`);
20978
+ const R = He && !be ? A : _, W = C.dom.querySelector(`[data-decoration-id="${R.decorationId}"]`);
20979
20979
  v = {
20980
20980
  editor: e,
20981
20981
  range: R.range,
@@ -21016,8 +21016,8 @@ function hk({
21016
21016
  },
21017
21017
  // Apply changes to the plugin state from a view transaction.
21018
21018
  apply(C, k, S, I) {
21019
- const { isEditable: D } = e, { composing: H } = e.view, { selection: J } = C, { empty: P, from: F } = J, A = { ...k }, G = C.getMeta(t);
21020
- if (G && G.exit)
21019
+ const { isEditable: D } = e, { composing: H } = e.view, { selection: J } = C, { empty: P, from: F } = J, A = { ...k }, _ = C.getMeta(t);
21020
+ if (_ && _.exit)
21021
21021
  return A.active = !1, A.decorationId = null, A.range = { from: 0, to: 0 }, A.query = null, A.text = null, A;
21022
21022
  if (A.composing = H, D && (P || e.view.composing)) {
21023
21023
  (F < k.range.from || F > k.range.to) && !H && !k.composing && (A.active = !1);
@@ -21048,7 +21048,7 @@ function hk({
21048
21048
  if (!J)
21049
21049
  return !1;
21050
21050
  if (k.key === "Escape" || k.key === "Esc") {
21051
- const A = N.getState(C.state), G = (S = v == null ? void 0 : v.decorationNode) != null ? S : null, q = G ?? (A != null && A.decorationId ? C.dom.querySelector(`[data-decoration-id="${A.decorationId}"]`) : null);
21051
+ const A = N.getState(C.state), _ = (S = v == null ? void 0 : v.decorationNode) != null ? S : null, q = _ ?? (A != null && A.decorationId ? C.dom.querySelector(`[data-decoration-id="${A.decorationId}"]`) : null);
21052
21052
  if (((I = w == null ? void 0 : w.onKeyDown) == null ? void 0 : I.call(w, { view: C, event: k, range: A.range })) || !1)
21053
21053
  return !0;
21054
21054
  const Ee = {
@@ -21057,7 +21057,7 @@ function hk({
21057
21057
  query: A.query,
21058
21058
  text: A.text,
21059
21059
  items: [],
21060
- command: (_) => u({ editor: e, range: A.range, props: _ }),
21060
+ command: (G) => u({ editor: e, range: A.range, props: G }),
21061
21061
  decorationNode: q,
21062
21062
  // If we have a cached decoration node, use it for the clientRect
21063
21063
  // to avoid another DOM lookup. If not, leave clientRect null and
@@ -21265,9 +21265,9 @@ var mk = lt.create({
21265
21265
  addProseMirrorPlugins() {
21266
21266
  return e2(this).map(hk);
21267
21267
  }
21268
- }), gk = mk, pt = "top", Ut = "bottom", Ft = "right", mt = "left", Gd = "auto", to = [pt, Ut, Ft, mt], xi = "start", Ba = "end", bk = "clippingParents", t2 = "viewport", Vi = "popper", vk = "reference", yh = /* @__PURE__ */ to.reduce(function(t, e) {
21268
+ }), gk = mk, pt = "top", Ut = "bottom", Ft = "right", mt = "left", _d = "auto", to = [pt, Ut, Ft, mt], xi = "start", Ba = "end", bk = "clippingParents", t2 = "viewport", Vi = "popper", vk = "reference", yh = /* @__PURE__ */ to.reduce(function(t, e) {
21269
21269
  return t.concat([e + "-" + xi, e + "-" + Ba]);
21270
- }, []), n2 = /* @__PURE__ */ [].concat(to, [Gd]).reduce(function(t, e) {
21270
+ }, []), n2 = /* @__PURE__ */ [].concat(to, [_d]).reduce(function(t, e) {
21271
21271
  return t.concat([e, e + "-" + xi, e + "-" + Ba]);
21272
21272
  }, []), wk = "beforeRead", yk = "read", Mk = "afterRead", xk = "beforeMain", Ck = "main", Lk = "afterMain", Nk = "beforeWrite", kk = "write", Sk = "afterWrite", Ik = [wk, yk, Mk, xk, Ck, Lk, Nk, kk, Sk];
21273
21273
  function on(t) {
@@ -21290,7 +21290,7 @@ function Ht(t) {
21290
21290
  var e = Mt(t).HTMLElement;
21291
21291
  return t instanceof e || t instanceof HTMLElement;
21292
21292
  }
21293
- function _d(t) {
21293
+ function Gd(t) {
21294
21294
  if (typeof ShadowRoot > "u")
21295
21295
  return !1;
21296
21296
  var e = Mt(t).ShadowRoot;
@@ -21380,7 +21380,7 @@ function a2(t, e) {
21380
21380
  var n = e.getRootNode && e.getRootNode();
21381
21381
  if (t.contains(e))
21382
21382
  return !0;
21383
- if (n && _d(n)) {
21383
+ if (n && Gd(n)) {
21384
21384
  var r = e;
21385
21385
  do {
21386
21386
  if (r && t.isSameNode(r))
@@ -21409,7 +21409,7 @@ function kf(t) {
21409
21409
  // $FlowFixMe[prop-missing]
21410
21410
  t.assignedSlot || // step into the shadow DOM of the parent of a slotted node
21411
21411
  t.parentNode || // DOM Element detected
21412
- (_d(t) ? t.host : null) || // ShadowRoot detected
21412
+ (Gd(t) ? t.host : null) || // ShadowRoot detected
21413
21413
  // $FlowFixMe[incompatible-call]: HTMLElement is a Node
21414
21414
  nr(t)
21415
21415
  );
@@ -21426,7 +21426,7 @@ function Ek(t) {
21426
21426
  return null;
21427
21427
  }
21428
21428
  var i = kf(t);
21429
- for (_d(i) && (i = i.host); Ht(i) && ["html", "body"].indexOf(on(i)) < 0; ) {
21429
+ for (Gd(i) && (i = i.host); Ht(i) && ["html", "body"].indexOf(on(i)) < 0; ) {
21430
21430
  var a = Sn(i);
21431
21431
  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")
21432
21432
  return i;
@@ -21632,7 +21632,7 @@ function Zd(t) {
21632
21632
  function qd(t) {
21633
21633
  return Li(nr(t)).left + Zd(t).scrollLeft;
21634
21634
  }
21635
- function Gk(t, e) {
21635
+ function _k(t, e) {
21636
21636
  var n = Mt(t), r = nr(t), i = n.visualViewport, a = r.clientWidth, o = r.clientHeight, s = 0, f = 0;
21637
21637
  if (i) {
21638
21638
  a = i.width, o = i.height;
@@ -21646,7 +21646,7 @@ function Gk(t, e) {
21646
21646
  y: f
21647
21647
  };
21648
21648
  }
21649
- function _k(t) {
21649
+ function Gk(t) {
21650
21650
  var e, n = nr(t), r = Zd(t), i = (e = t.ownerDocument) == null ? void 0 : e.body, a = Nr(n.scrollWidth, n.clientWidth, i ? i.scrollWidth : 0, i ? i.clientWidth : 0), o = Nr(n.scrollHeight, n.clientHeight, i ? i.scrollHeight : 0, i ? i.clientHeight : 0), s = -r.scrollLeft + qd(t), f = -r.scrollTop;
21651
21651
  return Sn(i || n).direction === "rtl" && (s += Nr(n.clientWidth, i ? i.clientWidth : 0) - a), {
21652
21652
  width: a,
@@ -21684,7 +21684,7 @@ function Wk(t, e) {
21684
21684
  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;
21685
21685
  }
21686
21686
  function Lh(t, e, n) {
21687
- return e === t2 ? Sc(Gk(t, n)) : Er(e) ? Wk(e, n) : Sc(_k(nr(t)));
21687
+ return e === t2 ? Sc(_k(t, n)) : Er(e) ? Wk(e, n) : Sc(Gk(nr(t)));
21688
21688
  }
21689
21689
  function $k(t) {
21690
21690
  var e = ga(kf(t)), n = ["absolute", "fixed"].indexOf(Sn(t).position) >= 0, r = n && Ht(t) ? no(t) : t;
@@ -21788,7 +21788,7 @@ function qk(t, e) {
21788
21788
  });
21789
21789
  }
21790
21790
  function Kk(t) {
21791
- if (Xt(t) === Gd)
21791
+ if (Xt(t) === _d)
21792
21792
  return [];
21793
21793
  var e = Qo(t);
21794
21794
  return [Ch(t), e, Ch(e)];
@@ -21797,7 +21797,7 @@ function Xk(t) {
21797
21797
  var e = t.state, n = t.options, r = t.name;
21798
21798
  if (!e.modifiersData[r]._skip) {
21799
21799
  for (var i = n.mainAxis, a = i === void 0 ? !0 : i, o = n.altAxis, s = o === void 0 ? !0 : o, f = n.fallbackPlacements, c = n.padding, d = n.boundary, u = n.rootBoundary, p = n.altBoundary, h = n.flipVariations, m = h === void 0 ? !0 : h, g = n.allowedAutoPlacements, v = e.options.placement, w = Xt(v), x = w === v, L = f || (x || !m ? [Qo(v)] : Kk(v)), y = [v].concat(L).reduce(function(R, W) {
21800
- return R.concat(Xt(W) === Gd ? qk(e, {
21800
+ return R.concat(Xt(W) === _d ? qk(e, {
21801
21801
  placement: W,
21802
21802
  boundary: d,
21803
21803
  rootBoundary: u,
@@ -21806,7 +21806,7 @@ function Xk(t) {
21806
21806
  allowedAutoPlacements: g
21807
21807
  }) : W);
21808
21808
  }, []), N = e.rects.reference, C = e.rects.popper, k = /* @__PURE__ */ new Map(), S = !0, I = y[0], D = 0; D < y.length; D++) {
21809
- var H = y[D], J = Xt(H), P = Ni(H) === xi, F = [pt, Ut].indexOf(J) >= 0, A = F ? "width" : "height", G = Ha(e, {
21809
+ var H = y[D], J = Xt(H), P = Ni(H) === xi, F = [pt, Ut].indexOf(J) >= 0, A = F ? "width" : "height", _ = Ha(e, {
21810
21810
  placement: H,
21811
21811
  boundary: d,
21812
21812
  rootBoundary: u,
@@ -21815,7 +21815,7 @@ function Xk(t) {
21815
21815
  }), q = F ? P ? Ft : mt : P ? Ut : pt;
21816
21816
  N[A] > C[A] && (q = Qo(q));
21817
21817
  var fe = Qo(q), Ee = [];
21818
- if (a && Ee.push(G[J] <= 0), s && Ee.push(G[q] <= 0, G[fe] <= 0), Ee.every(function(R) {
21818
+ if (a && Ee.push(_[J] <= 0), s && Ee.push(_[q] <= 0, _[fe] <= 0), Ee.every(function(R) {
21819
21819
  return R;
21820
21820
  })) {
21821
21821
  I = H, S = !1;
@@ -21824,7 +21824,7 @@ function Xk(t) {
21824
21824
  k.set(H, Ee);
21825
21825
  }
21826
21826
  if (S)
21827
- for (var _ = m ? 3 : 1, be = function(W) {
21827
+ for (var G = m ? 3 : 1, be = function(W) {
21828
21828
  var se = y.find(function(tt) {
21829
21829
  var Nt = k.get(tt);
21830
21830
  if (Nt)
@@ -21834,7 +21834,7 @@ function Xk(t) {
21834
21834
  });
21835
21835
  if (se)
21836
21836
  return I = se, "break";
21837
- }, he = _; he > 0; he--) {
21837
+ }, he = G; he > 0; he--) {
21838
21838
  var He = be(he);
21839
21839
  if (He === "break") break;
21840
21840
  }
@@ -21953,10 +21953,10 @@ function l9(t) {
21953
21953
  };
21954
21954
  if (C) {
21955
21955
  if (a) {
21956
- var P, F = y === "y" ? pt : mt, A = y === "y" ? Ut : Ft, G = y === "y" ? "height" : "width", q = C[y], fe = q + v[F], Ee = q - v[A], _ = h ? -S[G] / 2 : 0, be = x === xi ? k[G] : S[G], he = x === xi ? -S[G] : -k[G], He = e.elements.arrow, R = h && He ? Wd(He) : {
21956
+ var P, F = y === "y" ? pt : mt, A = y === "y" ? Ut : Ft, _ = y === "y" ? "height" : "width", q = C[y], fe = q + v[F], Ee = q - v[A], G = h ? -S[_] / 2 : 0, be = x === xi ? k[_] : S[_], he = x === xi ? -S[_] : -k[_], He = e.elements.arrow, R = h && He ? Wd(He) : {
21957
21957
  width: 0,
21958
21958
  height: 0
21959
- }, W = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : o2(), se = W[F], tt = W[A], Nt = ma(0, k[G], R[G]), ln = L ? k[G] / 2 - _ - Nt - se - D.mainAxis : be - Nt - se - D.mainAxis, ze = L ? -k[G] / 2 + _ + Nt + tt + D.mainAxis : he + Nt + tt + D.mainAxis, Yt = e.elements.arrow && no(e.elements.arrow), ar = Yt ? y === "y" ? Yt.clientTop || 0 : Yt.clientLeft || 0 : 0, or = (P = H == null ? void 0 : H[y]) != null ? P : 0, fo = q + ln - or - ar, lo = q + ze - or, Pi = ma(h ? Ys(fe, fo) : fe, q, h ? Nr(Ee, lo) : Ee);
21959
+ }, W = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : o2(), se = W[F], tt = W[A], Nt = ma(0, k[_], R[_]), ln = L ? k[_] / 2 - G - Nt - se - D.mainAxis : be - Nt - se - D.mainAxis, ze = L ? -k[_] / 2 + G + Nt + tt + D.mainAxis : he + Nt + tt + D.mainAxis, Yt = e.elements.arrow && no(e.elements.arrow), ar = Yt ? y === "y" ? Yt.clientTop || 0 : Yt.clientLeft || 0 : 0, or = (P = H == null ? void 0 : H[y]) != null ? P : 0, fo = q + ln - or - ar, lo = q + ze - or, Pi = ma(h ? Ys(fe, fo) : fe, q, h ? Nr(Ee, lo) : Ee);
21960
21960
  C[y] = Pi, J[y] = Pi - q;
21961
21961
  }
21962
21962
  if (s) {
@@ -22442,7 +22442,7 @@ function w2(t) {
22442
22442
  }, {});
22443
22443
  return Object.assign({}, t, n);
22444
22444
  }
22445
- function G9(t, e) {
22445
+ function _9(t, e) {
22446
22446
  var n = e ? Object.keys(w2(Object.assign({}, bt, {
22447
22447
  plugins: e
22448
22448
  }))) : Q9, r = n.reduce(function(i, a) {
@@ -22464,7 +22464,7 @@ function G9(t, e) {
22464
22464
  function Ph(t, e) {
22465
22465
  var n = Object.assign({}, e, {
22466
22466
  content: m2(e.content, [t])
22467
- }, e.ignoreAttributes ? {} : G9(t, e.plugins));
22467
+ }, e.ignoreAttributes ? {} : _9(t, e.plugins));
22468
22468
  return n.aria = Object.assign({}, bt.aria, n.aria), n.aria = {
22469
22469
  expanded: n.aria.expanded === "auto" ? e.interactive : n.aria.expanded,
22470
22470
  content: n.aria.content === "auto" ? e.interactive ? null : "describedby" : n.aria.content
@@ -22483,11 +22483,11 @@ function y2(t, e) {
22483
22483
  `, "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "));
22484
22484
  });
22485
22485
  }
22486
- var _9 = function() {
22486
+ var G9 = function() {
22487
22487
  return "innerHTML";
22488
22488
  };
22489
22489
  function Tc(t, e) {
22490
- t[_9()] = e;
22490
+ t[G9()] = e;
22491
22491
  }
22492
22492
  function Rh(t) {
22493
22493
  var e = ba();
@@ -22567,7 +22567,7 @@ function $9(t, e) {
22567
22567
  var S = x.map(function(j) {
22568
22568
  return j.fn(y);
22569
22569
  }), I = t.hasAttribute("aria-expanded");
22570
- return Yt(), _(), q(), fe("onCreate", [y]), n.showOnCreate && Bi(), C.addEventListener("mouseenter", function() {
22570
+ return Yt(), G(), q(), fe("onCreate", [y]), n.showOnCreate && Bi(), C.addEventListener("mouseenter", function() {
22571
22571
  y.props.interactive && y.state.isVisible && y.clearDelayTimeouts();
22572
22572
  }), C.addEventListener("mouseleave", function() {
22573
22573
  y.props.interactive && y.props.trigger.indexOf("mouseenter") >= 0 && F().addEventListener("mousemove", m);
@@ -22593,7 +22593,7 @@ function $9(t, e) {
22593
22593
  function A() {
22594
22594
  return jc(C);
22595
22595
  }
22596
- function G(j) {
22596
+ function _(j) {
22597
22597
  return y.state.isMounted && !y.state.isVisible || Kt.isTouch || d && d.type === "focus" ? 0 : jl(y.props.delay, j ? 0 : 1, bt.delay);
22598
22598
  }
22599
22599
  function q(j) {
@@ -22622,7 +22622,7 @@ function $9(t, e) {
22622
22622
  });
22623
22623
  }
22624
22624
  }
22625
- function _() {
22625
+ function G() {
22626
22626
  if (!(I || !y.props.aria.expanded)) {
22627
22627
  var j = ni(y.props.triggerTarget || t);
22628
22628
  j.forEach(function(Y) {
@@ -22725,7 +22725,7 @@ function $9(t, e) {
22725
22725
  var Y, $ = !1;
22726
22726
  if (!(!y.state.isEnabled || Ri(j) || s)) {
22727
22727
  var le = ((Y = d) == null ? void 0 : Y.type) === "focus";
22728
- d = j, g = j.currentTarget, _(), !y.state.isVisible && j9(j) && zo.forEach(function(ae) {
22728
+ d = j, g = j.currentTarget, G(), !y.state.isVisible && j9(j) && zo.forEach(function(ae) {
22729
22729
  return ae(j);
22730
22730
  }), j.type === "click" && (y.props.trigger.indexOf("mouseenter") < 0 || o) && y.props.hideOnClick !== !1 && y.state.isVisible ? $ = !0 : Bi(j), j.type === "click" && (o = !$), $ && !le && sr(j);
22731
22731
  }
@@ -22771,12 +22771,12 @@ function $9(t, e) {
22771
22771
  phase: "beforeWrite",
22772
22772
  requires: ["computeStyles"],
22773
22773
  fn: function(bo) {
22774
- var Gr = bo.state;
22774
+ var _r = bo.state;
22775
22775
  if (J()) {
22776
22776
  var R4 = A(), tl = R4.box;
22777
22777
  ["placement", "reference-hidden", "escaped"].forEach(function(vo) {
22778
- vo === "placement" ? tl.setAttribute("data-placement", Gr.placement) : Gr.attributes.popper["data-popper-" + vo] ? tl.setAttribute("data-" + vo, "") : tl.removeAttribute("data-" + vo);
22779
- }), Gr.attributes.popper = {};
22778
+ vo === "placement" ? tl.setAttribute("data-placement", _r.placement) : _r.attributes.popper["data-popper-" + vo] ? tl.setAttribute("data-" + vo, "") : tl.removeAttribute("data-" + vo);
22779
+ }), _r.attributes.popper = {};
22780
22780
  }
22781
22781
  }
22782
22782
  }, fr = [{
@@ -22835,7 +22835,7 @@ function $9(t, e) {
22835
22835
  }
22836
22836
  function Bi(j) {
22837
22837
  y.clearDelayTimeouts(), j && fe("onTrigger", [y, j]), W();
22838
- var Y = G(!0), $ = D(), le = $[0], ae = $[1];
22838
+ var Y = _(!0), $ = D(), le = $[0], ae = $[1];
22839
22839
  Kt.isTouch && le === "hold" && ae && (Y = ae), Y ? r = setTimeout(function() {
22840
22840
  y.show();
22841
22841
  }, Y) : y.show();
@@ -22846,7 +22846,7 @@ function $9(t, e) {
22846
22846
  return;
22847
22847
  }
22848
22848
  if (!(y.props.trigger.indexOf("mouseenter") >= 0 && y.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(j.type) >= 0 && o)) {
22849
- var Y = G(!1);
22849
+ var Y = _(!1);
22850
22850
  Y ? i = setTimeout(function() {
22851
22851
  y.state.isVisible && y.hide();
22852
22852
  }, Y) : a = requestAnimationFrame(function() {
@@ -22871,7 +22871,7 @@ function $9(t, e) {
22871
22871
  }));
22872
22872
  y.props = $, Yt(), Y.interactiveDebounce !== $.interactiveDebounce && (be(), m = Th(fo, $.interactiveDebounce)), Y.triggerTarget && !$.triggerTarget ? ni(Y.triggerTarget).forEach(function(le) {
22873
22873
  le.removeAttribute("aria-expanded");
22874
- }) : $.triggerTarget && t.removeAttribute("aria-expanded"), _(), q(), k && k(Y, $), y.popperInstance && (co(), Dn().forEach(function(le) {
22874
+ }) : $.triggerTarget && t.removeAttribute("aria-expanded"), G(), q(), k && k(Y, $), y.popperInstance && (co(), Dn().forEach(function(le) {
22875
22875
  requestAnimationFrame(le._tippy.popperInstance.forceUpdate);
22876
22876
  })), fe("onAfterUpdate", [y, j]);
22877
22877
  }
@@ -22893,10 +22893,10 @@ function $9(t, e) {
22893
22893
  var fr;
22894
22894
  if (!(!y.state.isVisible || c)) {
22895
22895
  if (c = !0, C.offsetHeight, C.style.transition = y.props.moveTransition, J() && y.props.animation) {
22896
- var el = A(), bo = el.box, Gr = el.content;
22897
- Dl([bo, Gr], ae), Eh([bo, Gr], "visible");
22896
+ var el = A(), bo = el.box, _r = el.content;
22897
+ Dl([bo, _r], ae), Eh([bo, _r], "visible");
22898
22898
  }
22899
- Ee(), _(), jh(Al, y), (fr = y.popperInstance) == null || fr.forceUpdate(), fe("onMount", [y]), y.props.animation && J() && Nt(ae, function() {
22899
+ Ee(), G(), jh(Al, y), (fr = y.popperInstance) == null || fr.forceUpdate(), fe("onMount", [y]), y.props.animation && J() && Nt(ae, function() {
22900
22900
  y.state.isShown = !0, fe("onShown", [y]);
22901
22901
  });
22902
22902
  }
@@ -22911,7 +22911,7 @@ function $9(t, e) {
22911
22911
  var ae = A(), nt = ae.box, kt = ae.content;
22912
22912
  y.props.animation && (Dl([nt, kt], le), Eh([nt, kt], "hidden"));
22913
22913
  }
22914
- Ee(), _(), y.props.animation ? J() && tt(le, y.unmount) : y.unmount();
22914
+ Ee(), G(), y.props.animation ? J() && tt(le, y.unmount) : y.unmount();
22915
22915
  }
22916
22916
  }
22917
22917
  function z4(j) {
@@ -23325,7 +23325,7 @@ function Jt() {
23325
23325
  return "." + r;
23326
23326
  }).join("");
23327
23327
  }
23328
- var xe = /* @__PURE__ */ rS("epr", null), Go = {
23328
+ var xe = /* @__PURE__ */ rS("epr", null), _o = {
23329
23329
  display: "none",
23330
23330
  opacity: "0",
23331
23331
  pointerEvents: "none",
@@ -23334,7 +23334,7 @@ var xe = /* @__PURE__ */ rS("epr", null), Go = {
23334
23334
  }, nu = /* @__PURE__ */ xe.create({
23335
23335
  hidden: /* @__PURE__ */ ge({
23336
23336
  ".": ie.hidden
23337
- }, Go)
23337
+ }, _o)
23338
23338
  }), lS = /* @__PURE__ */ qc(function() {
23339
23339
  return O("style", {
23340
23340
  suppressHydrationWarning: !0,
@@ -23353,10 +23353,10 @@ var xe = /* @__PURE__ */ rS("epr", null), Go = {
23353
23353
  },
23354
23354
  hiddenOnSearch: /* @__PURE__ */ ge({
23355
23355
  ".": ie.hiddenOnSearch
23356
- }, Go)
23356
+ }, _o)
23357
23357
  },
23358
23358
  ":has(input:placeholder-shown)": {
23359
- visibleOnSearchOnly: Go
23359
+ visibleOnSearchOnly: _o
23360
23360
  }
23361
23361
  },
23362
23362
  hiddenOnReactions: {
@@ -23384,7 +23384,7 @@ var xe = /* @__PURE__ */ rS("epr", null), Go = {
23384
23384
  },
23385
23385
  visibleOnSearchOnly: /* @__PURE__ */ ge({
23386
23386
  ".": "epr-visible-on-search-only"
23387
- }, Go)
23387
+ }, _o)
23388
23388
  }
23389
23389
  });
23390
23390
  function Zn(t, e) {
@@ -40459,7 +40459,7 @@ var NS = [], kS = [
40459
40459
  u: "1f3f4-e0067-e0062-e0077-e006c-e0073-e007f",
40460
40460
  a: "5.0"
40461
40461
  }
40462
- ], Gs = {
40462
+ ], _s = {
40463
40463
  custom: NS,
40464
40464
  smileys_people: kS,
40465
40465
  animals_nature: SS,
@@ -40469,10 +40469,10 @@ var NS = [], kS = [
40469
40469
  objects: DS,
40470
40470
  symbols: ES,
40471
40471
  flags: AS
40472
- }, _s = [Vt.NEUTRAL, Vt.LIGHT, Vt.MEDIUM_LIGHT, Vt.MEDIUM, Vt.MEDIUM_DARK, Vt.DARK], zS = /* @__PURE__ */ Object.entries(Vt).reduce(function(t, e) {
40472
+ }, Gs = [Vt.NEUTRAL, Vt.LIGHT, Vt.MEDIUM_LIGHT, Vt.MEDIUM, Vt.MEDIUM_DARK, Vt.DARK], zS = /* @__PURE__ */ Object.entries(Vt).reduce(function(t, e) {
40473
40473
  var n = e[0], r = e[1];
40474
40474
  return t[r] = n, t;
40475
- }, {}), OS = /* @__PURE__ */ _s.reduce(function(t, e) {
40475
+ }, {}), OS = /* @__PURE__ */ Gs.reduce(function(t, e) {
40476
40476
  var n;
40477
40477
  return Object.assign(t, (n = {}, n[e] = e, n));
40478
40478
  }, {}), Ot;
@@ -40542,10 +40542,10 @@ function V2() {
40542
40542
  );
40543
40543
  return function(a) {
40544
40544
  var o;
40545
- return a === te.SUGGESTED ? r : (o = Gs[a]) != null ? o : [];
40545
+ return a === te.SUGGESTED ? r : (o = _s[a]) != null ? o : [];
40546
40546
  };
40547
40547
  }
40548
- function G2(t, e) {
40548
+ function _2(t, e) {
40549
40549
  return "" + LS(e) + t + ".png";
40550
40550
  }
40551
40551
  function oo(t) {
@@ -40568,11 +40568,11 @@ function Si(t) {
40568
40568
  return di[e];
40569
40569
  }
40570
40570
  }
40571
- var Ef = /* @__PURE__ */ Object.values(Gs).flat();
40571
+ var Ef = /* @__PURE__ */ Object.values(_s).flat();
40572
40572
  function HS(t) {
40573
- Gs[te.CUSTOM].length = 0, t.forEach(function(e) {
40573
+ _s[te.CUSTOM].length = 0, t.forEach(function(e) {
40574
40574
  var n = US(e);
40575
- Gs[te.CUSTOM].push(n), !di[n[Ot.unified]] && (Ef.push(n), di[n[Ot.unified]] = n, O2(n));
40575
+ _s[te.CUSTOM].push(n), !di[n[Ot.unified]] && (Ef.push(n), di[n[Ot.unified]] = n, O2(n));
40576
40576
  });
40577
40577
  }
40578
40578
  function US(t) {
@@ -40591,9 +40591,9 @@ setTimeout(function() {
40591
40591
  });
40592
40592
  function FS(t) {
40593
40593
  var e = t.split("-"), n = e[1];
40594
- return _s.includes(n) ? n : null;
40594
+ return Gs.includes(n) ? n : null;
40595
40595
  }
40596
- var JS = ["2640-fe0f", "2642-fe0f", "2695-fe0f"], Ws = "Search", _2 = "Clear", YS = "No results found", W2 = " found. Use up and down arrow keys to navigate.", QS = "1 result" + W2, VS = "%n results" + W2;
40596
+ var JS = ["2640-fe0f", "2642-fe0f", "2695-fe0f"], Ws = "Search", G2 = "Clear", YS = "No results found", W2 = " found. Use up and down arrow keys to navigate.", QS = "1 result" + W2, VS = "%n results" + W2;
40597
40597
  function Yh(t) {
40598
40598
  var e, n;
40599
40599
  t === void 0 && (t = {});
@@ -40619,14 +40619,14 @@ function $2() {
40619
40619
  defaultSkinTone: Vt.NEUTRAL,
40620
40620
  emojiStyle: vt.APPLE,
40621
40621
  emojiVersion: null,
40622
- getEmojiUrl: G2,
40622
+ getEmojiUrl: _2,
40623
40623
  height: 450,
40624
40624
  lazyLoadEmojis: !1,
40625
- previewConfig: ge({}, GS),
40625
+ previewConfig: ge({}, _S),
40626
40626
  searchDisabled: !1,
40627
40627
  searchPlaceHolder: Ws,
40628
40628
  searchPlaceholder: Ws,
40629
- searchClearButtonLabel: _2,
40629
+ searchClearButtonLabel: G2,
40630
40630
  skinTonePickerLocation: ki.SEARCH,
40631
40631
  skinTonesDisabled: !1,
40632
40632
  style: {},
@@ -40641,13 +40641,13 @@ function $2() {
40641
40641
  hiddenEmojis: []
40642
40642
  };
40643
40643
  }
40644
- var GS = {
40644
+ var _S = {
40645
40645
  defaultEmoji: "1f60a",
40646
40646
  defaultCaption: "What's your mood?",
40647
40647
  showPreview: !0
40648
- }, _S = ["children"], Z2 = /* @__PURE__ */ Ti(/* @__PURE__ */ $2());
40648
+ }, GS = ["children"], Z2 = /* @__PURE__ */ Ti(/* @__PURE__ */ $2());
40649
40649
  function WS(t) {
40650
- var e = t.children, n = A2(t, _S), r = $S(n);
40650
+ var e = t.children, n = A2(t, GS), r = $S(n);
40651
40651
  return O(Z2.Provider, {
40652
40652
  value: r
40653
40653
  }, e);
@@ -40694,7 +40694,7 @@ function qS() {
40694
40694
  }
40695
40695
  function KS() {
40696
40696
  var t = Ce(), e = t.searchClearButtonLabel;
40697
- return e ?? _2;
40697
+ return e ?? G2;
40698
40698
  }
40699
40699
  function XS() {
40700
40700
  var t = Ce(), e = t.defaultSkinTone;
@@ -41256,12 +41256,12 @@ function JI() {
41256
41256
  case Ie.ArrowLeft:
41257
41257
  if (p.preventDefault(), !a)
41258
41258
  return e();
41259
- Gh(e);
41259
+ _h(e);
41260
41260
  break;
41261
41261
  case Ie.ArrowRight:
41262
41262
  if (p.preventDefault(), !a)
41263
41263
  return e();
41264
- _h();
41264
+ Gh();
41265
41265
  break;
41266
41266
  case Ie.ArrowDown:
41267
41267
  p.preventDefault(), a && o(!1), r();
@@ -41275,12 +41275,12 @@ function JI() {
41275
41275
  case Ie.ArrowUp:
41276
41276
  if (p.preventDefault(), !a)
41277
41277
  return e();
41278
- Gh(e);
41278
+ _h(e);
41279
41279
  break;
41280
41280
  case Ie.ArrowDown:
41281
41281
  if (p.preventDefault(), !a)
41282
41282
  return e();
41283
- _h();
41283
+ Gh();
41284
41284
  break;
41285
41285
  default:
41286
41286
  c(p);
@@ -41385,11 +41385,11 @@ function VI() {
41385
41385
  return n ? t() : e();
41386
41386
  }, [t, n, e]);
41387
41387
  }
41388
- function Gh(t) {
41388
+ function _h(t) {
41389
41389
  var e = Va();
41390
41390
  e && (eT(e) || t(), ob(e));
41391
41391
  }
41392
- function _h() {
41392
+ function Gh() {
41393
41393
  var t = Va();
41394
41394
  t && ab(t);
41395
41395
  }
@@ -41397,14 +41397,14 @@ function uu() {
41397
41397
  var t = DI(), e = Qr(), n = rb(), r = Yr();
41398
41398
  return function(a) {
41399
41399
  var o = a.key;
41400
- GI(a) || n || o.match(/(^[a-zA-Z0-9]$){1}/) && (a.preventDefault(), r(), e(), t(o));
41400
+ _I(a) || n || o.match(/(^[a-zA-Z0-9]$){1}/) && (a.preventDefault(), r(), e(), t(o));
41401
41401
  };
41402
41402
  }
41403
- function GI(t) {
41403
+ function _I(t) {
41404
41404
  var e = t.metaKey, n = t.ctrlKey, r = t.altKey;
41405
41405
  return e || n || r;
41406
41406
  }
41407
- function _I(t, e, n, r, i, a, o, s) {
41407
+ function GI(t, e, n, r, i, a, o, s) {
41408
41408
  if (t && e !== vt.NATIVE) {
41409
41409
  var f = Qe(t);
41410
41410
  Oc.has(f) || !a || !o || setTimeout(function() {
@@ -41455,7 +41455,7 @@ function KI(t) {
41455
41455
  HI(), $I();
41456
41456
  var d = c || {}, u = d.width, p = d.height, h = A2(d, ZI);
41457
41457
  return O("aside", {
41458
- className: re(Gi.main, Gi.baseVariables, a === Ya.DARK && Gi.darkTheme, a === Ya.AUTO && Gi.autoThemeDark, (e = {}, e[ie.searchActive] = o, e), i && Gi.reactionsMenu, f),
41458
+ className: re(_i.main, _i.baseVariables, a === Ya.DARK && _i.darkTheme, a === Ya.AUTO && _i.autoThemeDark, (e = {}, e[ie.searchActive] = o, e), i && _i.reactionsMenu, f),
41459
41459
  ref: s,
41460
41460
  style: ge({}, h, !i && {
41461
41461
  height: p,
@@ -41481,7 +41481,7 @@ var Wh = {
41481
41481
  "--epr-skin-tone-picker-menu-color": "var(--epr-dark-skin-tone-picker-menu-color)",
41482
41482
  "--epr-skin-tone-outer-border-color": "var(--epr-dark-skin-tone-outer-border-color)",
41483
41483
  "--epr-skin-tone-inner-border-color": "var(--epr-dark-skin-tone-inner-border-color)"
41484
- }, Gi = /* @__PURE__ */ xe.create({
41484
+ }, _i = /* @__PURE__ */ xe.create({
41485
41485
  main: {
41486
41486
  ".": ["epr-main", ie.emojiPicker],
41487
41487
  position: "relative",
@@ -41634,10 +41634,10 @@ function xb(t) {
41634
41634
  }
41635
41635
  return Pc;
41636
41636
  }
41637
- var Ga = "button" + /* @__PURE__ */ Jt(ie.emoji), tT = /* @__PURE__ */ [Ga, Jt(ie.visible), ":not(" + Jt(ie.hidden) + ")"].join("");
41637
+ var _a = "button" + /* @__PURE__ */ Jt(ie.emoji), tT = /* @__PURE__ */ [_a, Jt(ie.visible), ":not(" + Jt(ie.hidden) + ")"].join("");
41638
41638
  function Wt(t) {
41639
41639
  var e;
41640
- return (e = t == null ? void 0 : t.closest(Ga)) != null ? e : null;
41640
+ return (e = t == null ? void 0 : t.closest(_a)) != null ? e : null;
41641
41641
  }
41642
41642
  function hu(t) {
41643
41643
  var e = Sb(t), n = mu(t);
@@ -41648,7 +41648,7 @@ function hu(t) {
41648
41648
  }
41649
41649
  function nT(t) {
41650
41650
  var e;
41651
- return !!(t != null && t.matches(Ga) || !(t == null || (e = t.parentElement) == null) && e.matches(Ga));
41651
+ return !!(t != null && t.matches(_a) || !(t == null || (e = t.parentElement) == null) && e.matches(_a));
41652
41652
  }
41653
41653
  function $h(t) {
41654
41654
  var e;
@@ -41987,7 +41987,7 @@ var pT = /* @__PURE__ */ xe.create({
41987
41987
  }
41988
41988
  });
41989
41989
  function Rc(t) {
41990
- var e = t.emoji, n = t.unified, r = t.emojiStyle, i = t.size, a = t.lazyLoad, o = t.getEmojiUrl, s = o === void 0 ? G2 : o, f = t.className, c = R2(), d = c[1], u = {};
41990
+ var e = t.emoji, n = t.unified, r = t.emojiStyle, i = t.size, a = t.lazyLoad, o = t.getEmojiUrl, s = o === void 0 ? _2 : o, f = t.className, c = R2(), d = c[1], u = {};
41991
41991
  i && (u.width = u.height = u.fontSize = i + "px");
41992
41992
  var p = e || Si(n);
41993
41993
  if (!p)
@@ -42182,7 +42182,7 @@ function CT(t) {
42182
42182
  var e = lb(), n = Ur(), r = n[0], i = Ai(), a = Ae(), o = au(), s = o[0], f = B2(), c = f[0], d = ne(), u = d[0], p = d[1], h = Ye(function() {
42183
42183
  var m = e.current;
42184
42184
  if (m) {
42185
- var g = m.querySelector(Ga), v = g == null ? void 0 : g.clientHeight;
42185
+ var g = m.querySelector(_a), v = g == null ? void 0 : g.clientHeight;
42186
42186
  v && (a.current = v);
42187
42187
  var w = c || v || a.current || xT, x = m.clientWidth;
42188
42188
  if (!(x === 0 || w === 0)) {
@@ -42248,7 +42248,7 @@ function NT(t) {
42248
42248
  var k = Qe(N, d), S = MT(w, C);
42249
42249
  if (x(S)) {
42250
42250
  var I, D;
42251
- return g++, _I(N, f, i, (I = (D = m.current) == null ? void 0 : D.clientHeight) != null ? I : 0, n, S, w, p), y;
42251
+ return g++, GI(N, f, i, (I = (D = m.current) == null ? void 0 : D.clientHeight) != null ? I : 0, n, S, w, p), y;
42252
42252
  }
42253
42253
  return a ? (y.push(O(Hf, {
42254
42254
  showVariations: h,
@@ -42600,12 +42600,12 @@ function HT(t, e) {
42600
42600
  originalUnified: a
42601
42601
  }));
42602
42602
  }
42603
- var Ro, _a;
42603
+ var Ro, Ga;
42604
42604
  (function(t) {
42605
42605
  t.ROW = "FlexRow", t.COLUMN = "FlexColumn";
42606
- })(_a || (_a = {}));
42606
+ })(Ga || (Ga = {}));
42607
42607
  function Pb(t) {
42608
- var e = t.children, n = t.className, r = t.style, i = r === void 0 ? {} : r, a = t.direction, o = a === void 0 ? _a.ROW : a;
42608
+ var e = t.children, n = t.className, r = t.style, i = r === void 0 ? {} : r, a = t.direction, o = a === void 0 ? Ga.ROW : a;
42609
42609
  return O("div", {
42610
42610
  style: ge({}, i),
42611
42611
  className: re(t1.flex, n, t1[o])
@@ -42615,9 +42615,9 @@ var t1 = /* @__PURE__ */ xe.create((Ro = {
42615
42615
  flex: {
42616
42616
  display: "flex"
42617
42617
  }
42618
- }, Ro[_a.ROW] = {
42618
+ }, Ro[Ga.ROW] = {
42619
42619
  flexDirection: "row"
42620
- }, Ro[_a.COLUMN] = {
42620
+ }, Ro[Ga.COLUMN] = {
42621
42621
  flexDirection: "column"
42622
42622
  }, Ro));
42623
42623
  function UT(t) {
@@ -42724,9 +42724,9 @@ function Rb(t) {
42724
42724
  var e = t.direction, n = e === void 0 ? Wa.HORIZONTAL : e, r = fu(), i = eb(), a = io(), o = a[0], s = a[1], f = jf(), c = f[0], d = f[1], u = iI(), p = Yr(), h = Qr();
42725
42725
  if (i)
42726
42726
  return null;
42727
- var m = Ki * _s.length + "px", g = o ? m : Ki + "px", v = n === Wa.VERTICAL;
42727
+ var m = Ki * Gs.length + "px", g = o ? m : Ki + "px", v = n === Wa.VERTICAL;
42728
42728
  return O(Uf, {
42729
- className: re(_i.skinTones, v && _i.vertical, o && _i.open, v && o && _i.verticalShadow),
42729
+ className: re(Gi.skinTones, v && Gi.vertical, o && Gi.open, v && o && Gi.verticalShadow),
42730
42730
  style: v ? {
42731
42731
  flexBasis: g,
42732
42732
  height: g
@@ -42734,9 +42734,9 @@ function Rb(t) {
42734
42734
  flexBasis: g
42735
42735
  }
42736
42736
  }, O("div", {
42737
- className: re(_i.select),
42737
+ className: re(Gi.select),
42738
42738
  ref: r
42739
- }, _s.map(function(w, x) {
42739
+ }, Gs.map(function(w, x) {
42740
42740
  var L = w === c;
42741
42741
  return O(JT, {
42742
42742
  key: w,
@@ -42756,7 +42756,7 @@ var Wa;
42756
42756
  (function(t) {
42757
42757
  t.VERTICAL = "epr-vertical", t.HORIZONTAL = "epr-horizontal";
42758
42758
  })(Wa || (Wa = {}));
42759
- var _i = /* @__PURE__ */ xe.create({
42759
+ var Gi = /* @__PURE__ */ xe.create({
42760
42760
  skinTones: {
42761
42761
  ".": "epr-skin-tones",
42762
42762
  "--": {
@@ -42851,17 +42851,17 @@ var wa = /* @__PURE__ */ xe.create({
42851
42851
  transition: "opacity 0.5s ease-in-out"
42852
42852
  }
42853
42853
  });
42854
- function GT(t) {
42854
+ function _T(t) {
42855
42855
  var e;
42856
42856
  return (e = t == null ? void 0 : t.getAttribute("data-name")) != null ? e : null;
42857
42857
  }
42858
- function _T(t) {
42858
+ function GT(t) {
42859
42859
  var e = t.setActiveCategory, n = t.setVisibleCategories, r = Lt();
42860
42860
  ue(function() {
42861
42861
  var i = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), o = r.current, s = new IntersectionObserver(function(f) {
42862
42862
  if (o) {
42863
42863
  for (var c = fS(f), d; !(d = c()).done; ) {
42864
- var u = d.value, p = GT(u.target);
42864
+ var u = d.value, p = _T(u.target);
42865
42865
  p && (i.set(p, u.intersectionRatio), a.set(p, u.isIntersecting));
42866
42866
  }
42867
42867
  var h = Array.from(i), m = h.filter(function(N) {
@@ -42994,7 +42994,7 @@ var n1 = {
42994
42994
  }));
42995
42995
  function ej() {
42996
42996
  var t = ne(null), e = t[0], n = t[1], r = au(), i = r[1], a = WT();
42997
- _T({
42997
+ GT({
42998
42998
  setActiveCategory: n,
42999
42999
  setVisibleCategories: i
43000
43000
  });
@@ -43129,19 +43129,19 @@ var oj = /* @__PURE__ */ xe.create(/* @__PURE__ */ ge({
43129
43129
  function sj() {
43130
43130
  var t = rb(), e = du();
43131
43131
  return t ? null : O(Pb, {
43132
- className: re(_o.overlay)
43132
+ className: re(Go.overlay)
43133
43133
  }, O(fj, null), e ? O(Rb, null) : null);
43134
43134
  }
43135
43135
  function fj() {
43136
43136
  var t = Yr(), e = rr(), n = qS(), r = eI(), i = EI(), a = i.statusSearchResults, o = i.searchTerm, s = i.onChange, f = e == null ? void 0 : e.current, c = f == null ? void 0 : f.value;
43137
43137
  return O(Uf, {
43138
- className: re(_o.searchContainer)
43138
+ className: re(Go.searchContainer)
43139
43139
  }, O("input", {
43140
43140
  // eslint-disable-next-line jsx-a11y/no-autofocus
43141
43141
  autoFocus: r,
43142
43142
  "aria-label": "Type to search for an emoji",
43143
43143
  onFocus: t,
43144
- className: re(_o.search),
43144
+ className: re(Go.search),
43145
43145
  type: "text",
43146
43146
  "aria-controls": "epr-search-id",
43147
43147
  placeholder: n,
@@ -43152,13 +43152,13 @@ function fj() {
43152
43152
  ref: e
43153
43153
  }), o ? O("div", {
43154
43154
  role: "status",
43155
- className: re("epr-status-search-results", _o.visuallyHidden),
43155
+ className: re("epr-status-search-results", Go.visuallyHidden),
43156
43156
  "aria-live": "polite",
43157
43157
  id: "epr-search-id",
43158
43158
  "aria-atomic": "true"
43159
43159
  }, a) : null, O(aj, null), O(nj, null));
43160
43160
  }
43161
- var _o = /* @__PURE__ */ xe.create(/* @__PURE__ */ ge({
43161
+ var Go = /* @__PURE__ */ xe.create(/* @__PURE__ */ ge({
43162
43162
  overlay: {
43163
43163
  padding: "var(--epr-header-padding)",
43164
43164
  zIndex: "var(--epr-header-overlay-z-index)"
@@ -43277,7 +43277,7 @@ var hj = /* @__PURE__ */ qc(cj, z2), pj = /* @__PURE__ */ (function(t) {
43277
43277
  }, n.render = function() {
43278
43278
  return this.state.hasError ? null : this.props.children;
43279
43279
  }, e;
43280
- })(Gv);
43280
+ })(_v);
43281
43281
  function Bc(t) {
43282
43282
  var e = ZS({
43283
43283
  onEmojiClick: t.onEmojiClick,
@@ -43963,7 +43963,7 @@ function Zs({
43963
43963
  return /* @__PURE__ */ b("div", { className: M("relative", f), children: [
43964
43964
  c && /* @__PURE__ */ l(ai, { className: "absolute left-3 top-1/2 -translate-y-1/2 size-4 text-muted-foreground pointer-events-none" }),
43965
43965
  /* @__PURE__ */ l(
43966
- _n,
43966
+ Gn,
43967
43967
  {
43968
43968
  type: "text",
43969
43969
  value: t || "",
@@ -44252,20 +44252,20 @@ function Lj({
44252
44252
  e == null || e(P);
44253
44253
  }, I = (P) => {
44254
44254
  if (!(t != null && t.from)) return;
44255
- const F = new Date(t.from), [A, G] = P.split(":").map(Number);
44256
- F.setHours(A, G, 0, 0), e == null || e({ ...t, from: F });
44255
+ const F = new Date(t.from), [A, _] = P.split(":").map(Number);
44256
+ F.setHours(A, _, 0, 0), e == null || e({ ...t, from: F });
44257
44257
  }, D = (P) => {
44258
44258
  if (!(t != null && t.to)) return;
44259
- const F = new Date(t.to), [A, G] = P.split(":").map(Number);
44260
- F.setHours(A, G, 0, 0), e == null || e({ ...t, to: F });
44259
+ const F = new Date(t.to), [A, _] = P.split(":").map(Number);
44260
+ F.setHours(A, _, 0, 0), e == null || e({ ...t, to: F });
44261
44261
  }, H = (P) => {
44262
44262
  const F = {
44263
44263
  from: new Date(P.value.from),
44264
44264
  to: new Date(P.value.to)
44265
44265
  };
44266
44266
  if (u) {
44267
- const [A, G] = C.split(":").map(Number), [q, fe] = k.split(":").map(Number);
44268
- F.from.setHours(A, G, 0, 0), F.to.setHours(q, fe, 0, 0);
44267
+ const [A, _] = C.split(":").map(Number), [q, fe] = k.split(":").map(Number);
44268
+ F.from.setHours(A, _, 0, 0), F.to.setHours(q, fe, 0, 0);
44269
44269
  }
44270
44270
  e == null || e(F);
44271
44271
  }, J = T.useMemo(() => {
@@ -44626,7 +44626,7 @@ const kj = {
44626
44626
  ] })
44627
44627
  ] }),
44628
44628
  f !== void 0 && f > 0 && /* @__PURE__ */ b("div", { className: "flex items-center gap-1", children: [
44629
- /* @__PURE__ */ l(Gc, { className: "h-3 w-3" }),
44629
+ /* @__PURE__ */ l(_c, { className: "h-3 w-3" }),
44630
44630
  /* @__PURE__ */ l("span", { children: f })
44631
44631
  ] }),
44632
44632
  c !== void 0 && c > 0 && /* @__PURE__ */ b("div", { className: "flex items-center gap-1", children: [
@@ -44983,33 +44983,33 @@ function B8({
44983
44983
  function H8({
44984
44984
  ...t
44985
44985
  }) {
44986
- return /* @__PURE__ */ l(Ge.Root, { "data-slot": "context-menu", ...t });
44986
+ return /* @__PURE__ */ l(_e.Root, { "data-slot": "context-menu", ...t });
44987
44987
  }
44988
44988
  function U8({
44989
44989
  ...t
44990
44990
  }) {
44991
- return /* @__PURE__ */ l(Ge.Trigger, { "data-slot": "context-menu-trigger", ...t });
44991
+ return /* @__PURE__ */ l(_e.Trigger, { "data-slot": "context-menu-trigger", ...t });
44992
44992
  }
44993
44993
  function F8({
44994
44994
  ...t
44995
44995
  }) {
44996
- return /* @__PURE__ */ l(Ge.Group, { "data-slot": "context-menu-group", ...t });
44996
+ return /* @__PURE__ */ l(_e.Group, { "data-slot": "context-menu-group", ...t });
44997
44997
  }
44998
44998
  function J8({
44999
44999
  ...t
45000
45000
  }) {
45001
- return /* @__PURE__ */ l(Ge.Portal, { "data-slot": "context-menu-portal", ...t });
45001
+ return /* @__PURE__ */ l(_e.Portal, { "data-slot": "context-menu-portal", ...t });
45002
45002
  }
45003
45003
  function Y8({
45004
45004
  ...t
45005
45005
  }) {
45006
- return /* @__PURE__ */ l(Ge.Sub, { "data-slot": "context-menu-sub", ...t });
45006
+ return /* @__PURE__ */ l(_e.Sub, { "data-slot": "context-menu-sub", ...t });
45007
45007
  }
45008
45008
  function Q8({
45009
45009
  ...t
45010
45010
  }) {
45011
45011
  return /* @__PURE__ */ l(
45012
- Ge.RadioGroup,
45012
+ _e.RadioGroup,
45013
45013
  {
45014
45014
  "data-slot": "context-menu-radio-group",
45015
45015
  ...t
@@ -45023,7 +45023,7 @@ function V8({
45023
45023
  ...r
45024
45024
  }) {
45025
45025
  return /* @__PURE__ */ b(
45026
- Ge.SubTrigger,
45026
+ _e.SubTrigger,
45027
45027
  {
45028
45028
  "data-slot": "context-menu-sub-trigger",
45029
45029
  "data-inset": e,
@@ -45039,12 +45039,12 @@ function V8({
45039
45039
  }
45040
45040
  );
45041
45041
  }
45042
- function G8({
45042
+ function _8({
45043
45043
  className: t,
45044
45044
  ...e
45045
45045
  }) {
45046
45046
  return /* @__PURE__ */ l(
45047
- Ge.SubContent,
45047
+ _e.SubContent,
45048
45048
  {
45049
45049
  "data-slot": "context-menu-sub-content",
45050
45050
  className: M(
@@ -45055,12 +45055,12 @@ function G8({
45055
45055
  }
45056
45056
  );
45057
45057
  }
45058
- function _8({
45058
+ function G8({
45059
45059
  className: t,
45060
45060
  ...e
45061
45061
  }) {
45062
- return /* @__PURE__ */ l(Ge.Portal, { children: /* @__PURE__ */ l(
45063
- Ge.Content,
45062
+ return /* @__PURE__ */ l(_e.Portal, { children: /* @__PURE__ */ l(
45063
+ _e.Content,
45064
45064
  {
45065
45065
  "data-slot": "context-menu-content",
45066
45066
  className: M(
@@ -45078,7 +45078,7 @@ function W8({
45078
45078
  ...r
45079
45079
  }) {
45080
45080
  return /* @__PURE__ */ l(
45081
- Ge.Item,
45081
+ _e.Item,
45082
45082
  {
45083
45083
  "data-slot": "context-menu-item",
45084
45084
  "data-inset": e,
@@ -45098,7 +45098,7 @@ function $8({
45098
45098
  ...r
45099
45099
  }) {
45100
45100
  return /* @__PURE__ */ b(
45101
- Ge.CheckboxItem,
45101
+ _e.CheckboxItem,
45102
45102
  {
45103
45103
  "data-slot": "context-menu-checkbox-item",
45104
45104
  className: M(
@@ -45108,7 +45108,7 @@ function $8({
45108
45108
  checked: n,
45109
45109
  ...r,
45110
45110
  children: [
45111
- /* @__PURE__ */ l("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ l(Ge.ItemIndicator, { children: /* @__PURE__ */ l(Xs, { className: "size-4" }) }) }),
45111
+ /* @__PURE__ */ l("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ l(_e.ItemIndicator, { children: /* @__PURE__ */ l(Xs, { className: "size-4" }) }) }),
45112
45112
  e
45113
45113
  ]
45114
45114
  }
@@ -45120,7 +45120,7 @@ function Z8({
45120
45120
  ...n
45121
45121
  }) {
45122
45122
  return /* @__PURE__ */ b(
45123
- Ge.RadioItem,
45123
+ _e.RadioItem,
45124
45124
  {
45125
45125
  "data-slot": "context-menu-radio-item",
45126
45126
  className: M(
@@ -45129,7 +45129,7 @@ function Z8({
45129
45129
  ),
45130
45130
  ...n,
45131
45131
  children: [
45132
- /* @__PURE__ */ l("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ l(Ge.ItemIndicator, { children: /* @__PURE__ */ l(Wc, { className: "size-2 fill-current" }) }) }),
45132
+ /* @__PURE__ */ l("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ l(_e.ItemIndicator, { children: /* @__PURE__ */ l(Wc, { className: "size-2 fill-current" }) }) }),
45133
45133
  e
45134
45134
  ]
45135
45135
  }
@@ -45141,7 +45141,7 @@ function q8({
45141
45141
  ...n
45142
45142
  }) {
45143
45143
  return /* @__PURE__ */ l(
45144
- Ge.Label,
45144
+ _e.Label,
45145
45145
  {
45146
45146
  "data-slot": "context-menu-label",
45147
45147
  "data-inset": e,
@@ -45158,7 +45158,7 @@ function K8({
45158
45158
  ...e
45159
45159
  }) {
45160
45160
  return /* @__PURE__ */ l(
45161
- Ge.Separator,
45161
+ _e.Separator,
45162
45162
  {
45163
45163
  "data-slot": "context-menu-separator",
45164
45164
  className: M("bg-border -mx-1 my-1 h-px", t),
@@ -45525,11 +45525,11 @@ function Jj({
45525
45525
  [t, d]
45526
45526
  ), H = T.useCallback(
45527
45527
  async (A) => {
45528
- const G = A ?? v;
45529
- if (G) {
45528
+ const _ = A ?? v;
45529
+ if (_) {
45530
45530
  k(!0);
45531
45531
  try {
45532
- await n(G), L(!1), w(null);
45532
+ await n(_), L(!1), w(null);
45533
45533
  } catch (q) {
45534
45534
  console.error("Error confirming value change:", q);
45535
45535
  } finally {
@@ -45685,13 +45685,13 @@ var f1 = (function() {
45685
45685
  INIT: "@@redux/INIT" + l1(),
45686
45686
  REPLACE: "@@redux/REPLACE" + l1()
45687
45687
  };
45688
- function Gj(t) {
45688
+ function _j(t) {
45689
45689
  if (typeof t != "object" || t === null) return !1;
45690
45690
  for (var e = t; Object.getPrototypeOf(e) !== null; )
45691
45691
  e = Object.getPrototypeOf(e);
45692
45692
  return Object.getPrototypeOf(t) === e;
45693
45693
  }
45694
- function _j(t) {
45694
+ function Gj(t) {
45695
45695
  if (t === void 0) return "undefined";
45696
45696
  if (t === null) return "null";
45697
45697
  var e = typeof t;
@@ -45729,7 +45729,7 @@ function Zj(t) {
45729
45729
  }
45730
45730
  function Zr(t) {
45731
45731
  var e = typeof t;
45732
- return process.env.NODE_ENV !== "production" && (e = _j(t)), e;
45732
+ return process.env.NODE_ENV !== "production" && (e = Gj(t)), e;
45733
45733
  }
45734
45734
  function Qb(t, e, n) {
45735
45735
  var r;
@@ -45768,7 +45768,7 @@ function Qb(t, e, n) {
45768
45768
  };
45769
45769
  }
45770
45770
  function p(g) {
45771
- if (!Gj(g))
45771
+ if (!_j(g))
45772
45772
  throw new Error(process.env.NODE_ENV === "production" ? Tt(7) : "Actions must be plain objects. Instead, the actual type was: '" + Zr(g) + "'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");
45773
45773
  if (typeof g.type > "u")
45774
45774
  throw new Error(process.env.NODE_ENV === "production" ? Tt(8) : 'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');
@@ -45876,7 +45876,7 @@ function tD(t, e) {
45876
45876
  (n) => e.indexOf(n) > -1
45877
45877
  );
45878
45878
  }
45879
- const yu = "dnd-core/INIT_COORDS", Gf = "dnd-core/BEGIN_DRAG", Mu = "dnd-core/PUBLISH_DRAG_SOURCE", _f = "dnd-core/HOVER", Wf = "dnd-core/DROP", $f = "dnd-core/END_DRAG";
45879
+ const yu = "dnd-core/INIT_COORDS", _f = "dnd-core/BEGIN_DRAG", Mu = "dnd-core/PUBLISH_DRAG_SOURCE", Gf = "dnd-core/HOVER", Wf = "dnd-core/DROP", $f = "dnd-core/END_DRAG";
45880
45880
  function d1(t, e) {
45881
45881
  return {
45882
45882
  type: yu,
@@ -45917,7 +45917,7 @@ function rD(t) {
45917
45917
  oD(p), f.pinSource(c);
45918
45918
  const h = f.getSourceType(c);
45919
45919
  return {
45920
- type: Gf,
45920
+ type: _f,
45921
45921
  payload: {
45922
45922
  itemType: h,
45923
45923
  item: p,
@@ -46020,7 +46020,7 @@ function bD(t) {
46020
46020
  vD(n);
46021
46021
  const i = n.slice(0), a = t.getMonitor(), o = t.getRegistry(), s = a.getItemType();
46022
46022
  return yD(i, o, s), wD(i, a, o), MD(i, a, o), {
46023
- type: _f,
46023
+ type: Gf,
46024
46024
  payload: {
46025
46025
  targetIds: i,
46026
46026
  clientOffset: r || null
@@ -46111,7 +46111,7 @@ function ND(t, e) {
46111
46111
  y: t.y + e.y
46112
46112
  };
46113
46113
  }
46114
- function Gb(t, e) {
46114
+ function _b(t, e) {
46115
46115
  return {
46116
46116
  x: t.x - e.x,
46117
46117
  y: t.y - e.y
@@ -46119,11 +46119,11 @@ function Gb(t, e) {
46119
46119
  }
46120
46120
  function kD(t) {
46121
46121
  const { clientOffset: e, initialClientOffset: n, initialSourceClientOffset: r } = t;
46122
- return !e || !n || !r ? null : Gb(ND(e, r), n);
46122
+ return !e || !n || !r ? null : _b(ND(e, r), n);
46123
46123
  }
46124
46124
  function SD(t) {
46125
46125
  const { clientOffset: e, initialClientOffset: n } = t;
46126
- return !e || !n ? null : Gb(e, n);
46126
+ return !e || !n ? null : _b(e, n);
46127
46127
  }
46128
46128
  const ya = [], xu = [];
46129
46129
  ya.__IS_NONE__ = !0;
@@ -46239,7 +46239,7 @@ class TD {
46239
46239
  this.store = e, this.registry = n;
46240
46240
  }
46241
46241
  }
46242
- const u1 = typeof global < "u" ? global : self, _b = u1.MutationObserver || u1.WebKitMutationObserver;
46242
+ const u1 = typeof global < "u" ? global : self, Gb = u1.MutationObserver || u1.WebKitMutationObserver;
46243
46243
  function Wb(t) {
46244
46244
  return function() {
46245
46245
  const n = setTimeout(i, 0), r = setInterval(i, 50);
@@ -46250,14 +46250,14 @@ function Wb(t) {
46250
46250
  }
46251
46251
  function jD(t) {
46252
46252
  let e = 1;
46253
- const n = new _b(t), r = document.createTextNode("");
46253
+ const n = new Gb(t), r = document.createTextNode("");
46254
46254
  return n.observe(r, {
46255
46255
  characterData: !0
46256
46256
  }), function() {
46257
46257
  e = -e, r.data = e;
46258
46258
  };
46259
46259
  }
46260
- const DD = typeof _b == "function" ? (
46260
+ const DD = typeof Gb == "function" ? (
46261
46261
  // reliably everywhere they are implemented.
46262
46262
  // They are implemented in all modern browsers.
46263
46263
  //
@@ -46449,7 +46449,7 @@ function p1(t, e) {
46449
46449
  } while (!r);
46450
46450
  return !1;
46451
46451
  }
46452
- class GD {
46452
+ class _D {
46453
46453
  addSource(e, n) {
46454
46454
  Uc(e), FD(n);
46455
46455
  const r = this.addHandler(At.SOURCE, e, n);
@@ -46504,11 +46504,11 @@ class GD {
46504
46504
  this.types = /* @__PURE__ */ new Map(), this.dragSources = /* @__PURE__ */ new Map(), this.dropTargets = /* @__PURE__ */ new Map(), this.pinnedSourceId = null, this.pinnedSource = null, this.store = e;
46505
46505
  }
46506
46506
  }
46507
- const _D = (t, e) => t === e;
46507
+ const GD = (t, e) => t === e;
46508
46508
  function WD(t, e) {
46509
46509
  return !t && !e ? !0 : !t || !e ? !1 : t.x === e.x && t.y === e.y;
46510
46510
  }
46511
- function $D(t, e, n = _D) {
46511
+ function $D(t, e, n = GD) {
46512
46512
  if (t.length !== e.length)
46513
46513
  return !1;
46514
46514
  for (let r = 0; r < t.length; ++r)
@@ -46518,14 +46518,14 @@ function $D(t, e, n = _D) {
46518
46518
  }
46519
46519
  function ZD(t = ya, e) {
46520
46520
  switch (e.type) {
46521
- case _f:
46521
+ case Gf:
46522
46522
  break;
46523
46523
  case Cu:
46524
46524
  case Lu:
46525
46525
  case Zf:
46526
46526
  case Nu:
46527
46527
  return ya;
46528
- case Gf:
46528
+ case _f:
46529
46529
  case Mu:
46530
46530
  case $f:
46531
46531
  case Wf:
@@ -46566,13 +46566,13 @@ function XD(t = m1, e) {
46566
46566
  const { payload: n } = e;
46567
46567
  switch (e.type) {
46568
46568
  case yu:
46569
- case Gf:
46569
+ case _f:
46570
46570
  return {
46571
46571
  initialSourceClientOffset: n.sourceClientOffset,
46572
46572
  initialClientOffset: n.clientOffset,
46573
46573
  clientOffset: n.clientOffset
46574
46574
  };
46575
- case _f:
46575
+ case Gf:
46576
46576
  return WD(t.clientOffset, n.clientOffset) ? t : KD({}, t, {
46577
46577
  clientOffset: n.clientOffset
46578
46578
  });
@@ -46614,7 +46614,7 @@ const t5 = {
46614
46614
  function n5(t = t5, e) {
46615
46615
  const { payload: n } = e;
46616
46616
  switch (e.type) {
46617
- case Gf:
46617
+ case _f:
46618
46618
  return qr({}, t, {
46619
46619
  itemType: n.itemType,
46620
46620
  item: n.item,
@@ -46627,7 +46627,7 @@ function n5(t = t5, e) {
46627
46627
  return qr({}, t, {
46628
46628
  isSourcePublic: !0
46629
46629
  });
46630
- case _f:
46630
+ case Gf:
46631
46631
  return qr({}, t, {
46632
46632
  targetIds: n.targetIds
46633
46633
  });
@@ -46704,7 +46704,7 @@ function s5(t = {}, e) {
46704
46704
  };
46705
46705
  }
46706
46706
  function f5(t, e = void 0, n = {}, r = !1) {
46707
- const i = l5(r), a = new TD(i, new GD(i)), o = new LD(i, a), s = t(o, e, n);
46707
+ const i = l5(r), a = new TD(i, new _D(i)), o = new LD(i, a), s = t(o, e, n);
46708
46708
  return o.receiveBackend(s), o;
46709
46709
  }
46710
46710
  function l5(t) {
@@ -47055,7 +47055,7 @@ function k5(t) {
47055
47055
  }
47056
47056
  function S5(t) {
47057
47057
  return (e = null, n = null) => {
47058
- if (!_v(e)) {
47058
+ if (!Gv(e)) {
47059
47059
  const a = e;
47060
47060
  return t(a, n), a;
47061
47061
  }
@@ -47415,7 +47415,7 @@ function V5(t, e) {
47415
47415
  (n) => n !== e
47416
47416
  );
47417
47417
  }
47418
- function G5(t, e) {
47418
+ function _5(t, e) {
47419
47419
  const n = /* @__PURE__ */ new Set(), r = (a) => n.add(a);
47420
47420
  t.forEach(r), e.forEach(r);
47421
47421
  const i = [];
@@ -47423,10 +47423,10 @@ function G5(t, e) {
47423
47423
  (a) => i.push(a)
47424
47424
  ), i;
47425
47425
  }
47426
- class _5 {
47426
+ class G5 {
47427
47427
  enter(e) {
47428
47428
  const n = this.entered.length, r = (i) => this.isNodeInDocument(i) && (!i.contains || i.contains(e));
47429
- return this.entered = G5(this.entered.filter(r), [
47429
+ return this.entered = _5(this.entered.filter(r), [
47430
47430
  e
47431
47431
  ]), n === 0 && this.entered.length > 0;
47432
47432
  }
@@ -47962,7 +47962,7 @@ class rE {
47962
47962
  }, this.handleSelectStart = (i) => {
47963
47963
  const a = i.target;
47964
47964
  typeof a.dragDrop == "function" && (a.tagName === "INPUT" || a.tagName === "SELECT" || a.tagName === "TEXTAREA" || a.isContentEditable || (i.preventDefault(), a.dragDrop()));
47965
- }, this.options = new tE(n, r), this.actions = e.getActions(), this.monitor = e.getMonitor(), this.registry = e.getRegistry(), this.enterLeaveCounter = new _5(this.isNodeInDocument);
47965
+ }, this.options = new tE(n, r), this.actions = e.getActions(), this.monitor = e.getMonitor(), this.registry = e.getRegistry(), this.enterLeaveCounter = new G5(this.isNodeInDocument);
47966
47966
  }
47967
47967
  }
47968
47968
  const f4 = function(e, n, r) {
@@ -48563,8 +48563,8 @@ function u4({
48563
48563
  let F = new Date(H);
48564
48564
  if (o === "month" || J === "editorial")
48565
48565
  if (P.date) {
48566
- const G = new Date(P.date);
48567
- F.setHours(G.getHours(), G.getMinutes());
48566
+ const _ = new Date(P.date);
48567
+ F.setHours(_.getHours(), _.getMinutes());
48568
48568
  } else
48569
48569
  F.setHours(9, 0);
48570
48570
  const A = { ...P, date: F };
@@ -48986,7 +48986,7 @@ const w4 = T.memo(({
48986
48986
  u.stopPropagation(), o(t);
48987
48987
  },
48988
48988
  "aria-label": "Editar marco",
48989
- children: /* @__PURE__ */ l(Gl, { className: "size-3" })
48989
+ children: /* @__PURE__ */ l(_l, { className: "size-3" })
48990
48990
  }
48991
48991
  )
48992
48992
  ]
@@ -49040,7 +49040,7 @@ const w4 = T.memo(({
49040
49040
  u.stopPropagation(), o(t);
49041
49041
  },
49042
49042
  "aria-label": "Editar tarefa",
49043
- children: /* @__PURE__ */ l(Gl, { className: "size-3.5" })
49043
+ children: /* @__PURE__ */ l(_l, { className: "size-3.5" })
49044
49044
  }
49045
49045
  )
49046
49046
  ]
@@ -49248,7 +49248,7 @@ const cE = ["DOM", "SEG", "TER", "QUA", "QUI", "SEX", "SAB"], dE = T.forwardRef(
49248
49248
  /* @__PURE__ */ l("span", { className: "text-sm truncate flex-1", children: C.name }),
49249
49249
  o === "projects" && C.assignee && /* @__PURE__ */ l(tn, { className: "size-6 opacity-0 group-hover:opacity-100 transition-opacity", children: /* @__PURE__ */ l(nn, { className: "text-[10px]", children: C.assignee.initials || C.assignee.name.substring(0, 2).toUpperCase() }) }),
49250
49250
  r && /* @__PURE__ */ l(
49251
- Gl,
49251
+ _l,
49252
49252
  {
49253
49253
  className: "size-4 text-muted-foreground cursor-pointer hover:text-primary ml-2 opacity-0 group-hover:opacity-100",
49254
49254
  onClick: () => r(C)
@@ -49411,11 +49411,11 @@ const Vc = T.forwardRef(
49411
49411
  readOnly: m,
49412
49412
  ...g
49413
49413
  }, v) => {
49414
- const [w, x] = T.useState(n), [L, y] = T.useState(""), [N, C] = T.useState(!1), k = T.useRef(null), S = e !== void 0 ? e : w, I = T.useCallback((_) => f ? new Intl.NumberFormat(c, f).format(_) : _.toFixed(s), [f, c, s]), D = (_) => {
49415
- const he = _.replace(/[^\d,.-]/g, "").replace(",", "."), He = parseFloat(he);
49414
+ const [w, x] = T.useState(n), [L, y] = T.useState(""), [N, C] = T.useState(!1), k = T.useRef(null), S = e !== void 0 ? e : w, I = T.useCallback((G) => f ? new Intl.NumberFormat(c, f).format(G) : G.toFixed(s), [f, c, s]), D = (G) => {
49415
+ const he = G.replace(/[^\d,.-]/g, "").replace(",", "."), He = parseFloat(he);
49416
49416
  return isNaN(He) ? 0 : He;
49417
- }, H = (_) => p ? Math.min(Math.max(_, i), a) : _, J = T.useCallback((_, be = !1) => {
49418
- const he = be ? H(_) : _;
49417
+ }, H = (G) => p ? Math.min(Math.max(G, i), a) : G, J = T.useCallback((G, be = !1) => {
49418
+ const he = be ? H(G) : G;
49419
49419
  e === void 0 && x(he), r && r(he);
49420
49420
  }, [e, r, H]);
49421
49421
  T.useEffect(() => {
@@ -49423,30 +49423,30 @@ const Vc = T.forwardRef(
49423
49423
  }, [S, I, N]);
49424
49424
  const P = () => {
49425
49425
  if (h || m) return;
49426
- const _ = S + o;
49427
- _ <= a && J(_);
49426
+ const G = S + o;
49427
+ G <= a && J(G);
49428
49428
  }, F = () => {
49429
49429
  if (h || m) return;
49430
- const _ = S - o;
49431
- _ >= i && J(_);
49432
- }, A = (_) => {
49433
- const be = _.target.value;
49430
+ const G = S - o;
49431
+ G >= i && J(G);
49432
+ }, A = (G) => {
49433
+ const be = G.target.value;
49434
49434
  y(be);
49435
49435
  const he = D(be);
49436
49436
  J(he, !1);
49437
- }, G = (_) => {
49437
+ }, _ = (G) => {
49438
49438
  if (C(!1), u) {
49439
49439
  const be = H(S);
49440
49440
  J(be, !1), y(I(be));
49441
49441
  } else
49442
49442
  y(I(S));
49443
- g.onBlur && g.onBlur(_);
49444
- }, q = (_) => {
49445
- C(!0), y(S.toString()), _.target.select(), g.onFocus && g.onFocus(_);
49446
- }, fe = (_) => {
49447
- h || m || (_.key === "ArrowUp" ? (_.preventDefault(), P()) : _.key === "ArrowDown" && (_.preventDefault(), F()), g.onKeyDown && g.onKeyDown(_));
49448
- }, Ee = (_) => {
49449
- !d || h || m || !N || (_.preventDefault(), _.deltaY < 0 ? P() : _.deltaY > 0 && F());
49443
+ g.onBlur && g.onBlur(G);
49444
+ }, q = (G) => {
49445
+ C(!0), y(S.toString()), G.target.select(), g.onFocus && g.onFocus(G);
49446
+ }, fe = (G) => {
49447
+ h || m || (G.key === "ArrowUp" ? (G.preventDefault(), P()) : G.key === "ArrowDown" && (G.preventDefault(), F()), g.onKeyDown && g.onKeyDown(G));
49448
+ }, Ee = (G) => {
49449
+ !d || h || m || !N || (G.preventDefault(), G.deltaY < 0 ? P() : G.deltaY > 0 && F());
49450
49450
  };
49451
49451
  return T.useImperativeHandle(v, () => k.current), /* @__PURE__ */ b("div", { className: "relative flex w-full items-center", children: [
49452
49452
  /* @__PURE__ */ l(
@@ -49465,7 +49465,7 @@ const Vc = T.forwardRef(
49465
49465
  ),
49466
49466
  value: L,
49467
49467
  onChange: A,
49468
- onBlur: G,
49468
+ onBlur: _,
49469
49469
  onFocus: q,
49470
49470
  onKeyDown: fe,
49471
49471
  onWheel: Ee,
@@ -49659,7 +49659,7 @@ function C7({
49659
49659
  ...e
49660
49660
  }) {
49661
49661
  return /* @__PURE__ */ l(
49662
- _n,
49662
+ Gn,
49663
49663
  {
49664
49664
  "data-slot": "input-group-control",
49665
49665
  className: M("cn-input-group-input flex-1", t),
@@ -49755,7 +49755,7 @@ function N7({
49755
49755
  ...e
49756
49756
  }) {
49757
49757
  return /* @__PURE__ */ l(
49758
- _e.Root,
49758
+ Ge.Root,
49759
49759
  {
49760
49760
  "data-slot": "menubar",
49761
49761
  className: M(
@@ -49769,29 +49769,29 @@ function N7({
49769
49769
  function k7({
49770
49770
  ...t
49771
49771
  }) {
49772
- return /* @__PURE__ */ l(_e.Menu, { "data-slot": "menubar-menu", ...t });
49772
+ return /* @__PURE__ */ l(Ge.Menu, { "data-slot": "menubar-menu", ...t });
49773
49773
  }
49774
49774
  function S7({
49775
49775
  ...t
49776
49776
  }) {
49777
- return /* @__PURE__ */ l(_e.Group, { "data-slot": "menubar-group", ...t });
49777
+ return /* @__PURE__ */ l(Ge.Group, { "data-slot": "menubar-group", ...t });
49778
49778
  }
49779
49779
  function wE({
49780
49780
  ...t
49781
49781
  }) {
49782
- return /* @__PURE__ */ l(_e.Portal, { "data-slot": "menubar-portal", ...t });
49782
+ return /* @__PURE__ */ l(Ge.Portal, { "data-slot": "menubar-portal", ...t });
49783
49783
  }
49784
49784
  function I7({
49785
49785
  ...t
49786
49786
  }) {
49787
- return /* @__PURE__ */ l(_e.RadioGroup, { "data-slot": "menubar-radio-group", ...t });
49787
+ return /* @__PURE__ */ l(Ge.RadioGroup, { "data-slot": "menubar-radio-group", ...t });
49788
49788
  }
49789
49789
  function T7({
49790
49790
  className: t,
49791
49791
  ...e
49792
49792
  }) {
49793
49793
  return /* @__PURE__ */ l(
49794
- _e.Trigger,
49794
+ Ge.Trigger,
49795
49795
  {
49796
49796
  "data-slot": "menubar-trigger",
49797
49797
  className: M(
@@ -49810,7 +49810,7 @@ function j7({
49810
49810
  ...i
49811
49811
  }) {
49812
49812
  return /* @__PURE__ */ l(wE, { children: /* @__PURE__ */ l(
49813
- _e.Content,
49813
+ Ge.Content,
49814
49814
  {
49815
49815
  "data-slot": "menubar-content",
49816
49816
  align: e,
@@ -49831,7 +49831,7 @@ function D7({
49831
49831
  ...r
49832
49832
  }) {
49833
49833
  return /* @__PURE__ */ l(
49834
- _e.Item,
49834
+ Ge.Item,
49835
49835
  {
49836
49836
  "data-slot": "menubar-item",
49837
49837
  "data-inset": e,
@@ -49851,7 +49851,7 @@ function E7({
49851
49851
  ...r
49852
49852
  }) {
49853
49853
  return /* @__PURE__ */ b(
49854
- _e.CheckboxItem,
49854
+ Ge.CheckboxItem,
49855
49855
  {
49856
49856
  "data-slot": "menubar-checkbox-item",
49857
49857
  className: M(
@@ -49861,7 +49861,7 @@ function E7({
49861
49861
  checked: n,
49862
49862
  ...r,
49863
49863
  children: [
49864
- /* @__PURE__ */ l("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ l(_e.ItemIndicator, { children: /* @__PURE__ */ l(Xs, { className: "size-4" }) }) }),
49864
+ /* @__PURE__ */ l("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ l(Ge.ItemIndicator, { children: /* @__PURE__ */ l(Xs, { className: "size-4" }) }) }),
49865
49865
  e
49866
49866
  ]
49867
49867
  }
@@ -49873,7 +49873,7 @@ function A7({
49873
49873
  ...n
49874
49874
  }) {
49875
49875
  return /* @__PURE__ */ b(
49876
- _e.RadioItem,
49876
+ Ge.RadioItem,
49877
49877
  {
49878
49878
  "data-slot": "menubar-radio-item",
49879
49879
  className: M(
@@ -49882,7 +49882,7 @@ function A7({
49882
49882
  ),
49883
49883
  ...n,
49884
49884
  children: [
49885
- /* @__PURE__ */ l("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ l(_e.ItemIndicator, { children: /* @__PURE__ */ l(Wc, { className: "size-2 fill-current" }) }) }),
49885
+ /* @__PURE__ */ l("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ l(Ge.ItemIndicator, { children: /* @__PURE__ */ l(Wc, { className: "size-2 fill-current" }) }) }),
49886
49886
  e
49887
49887
  ]
49888
49888
  }
@@ -49894,7 +49894,7 @@ function z7({
49894
49894
  ...n
49895
49895
  }) {
49896
49896
  return /* @__PURE__ */ l(
49897
- _e.Label,
49897
+ Ge.Label,
49898
49898
  {
49899
49899
  "data-slot": "menubar-label",
49900
49900
  "data-inset": e,
@@ -49911,7 +49911,7 @@ function O7({
49911
49911
  ...e
49912
49912
  }) {
49913
49913
  return /* @__PURE__ */ l(
49914
- _e.Separator,
49914
+ Ge.Separator,
49915
49915
  {
49916
49916
  "data-slot": "menubar-separator",
49917
49917
  className: M("bg-border -mx-1 my-1 h-px", t),
@@ -49938,7 +49938,7 @@ function P7({
49938
49938
  function R7({
49939
49939
  ...t
49940
49940
  }) {
49941
- return /* @__PURE__ */ l(_e.Sub, { "data-slot": "menubar-sub", ...t });
49941
+ return /* @__PURE__ */ l(Ge.Sub, { "data-slot": "menubar-sub", ...t });
49942
49942
  }
49943
49943
  function B7({
49944
49944
  className: t,
@@ -49947,7 +49947,7 @@ function B7({
49947
49947
  ...r
49948
49948
  }) {
49949
49949
  return /* @__PURE__ */ b(
49950
- _e.SubTrigger,
49950
+ Ge.SubTrigger,
49951
49951
  {
49952
49952
  "data-slot": "menubar-sub-trigger",
49953
49953
  "data-inset": e,
@@ -49968,7 +49968,7 @@ function H7({
49968
49968
  ...e
49969
49969
  }) {
49970
49970
  return /* @__PURE__ */ l(
49971
- _e.SubContent,
49971
+ Ge.SubContent,
49972
49972
  {
49973
49973
  "data-slot": "menubar-sub-content",
49974
49974
  className: M(
@@ -50116,7 +50116,7 @@ function V7({
50116
50116
  }
50117
50117
  );
50118
50118
  }
50119
- function G7({
50119
+ function _7({
50120
50120
  title: t,
50121
50121
  description: e,
50122
50122
  breadcrumbs: n,
@@ -50148,7 +50148,7 @@ function G7({
50148
50148
  e && /* @__PURE__ */ l("div", { className: "border-t px-6 py-3", children: /* @__PURE__ */ l("p", { className: "text-sm text-muted-foreground", children: e }) })
50149
50149
  ] });
50150
50150
  }
50151
- function _7({
50151
+ function G7({
50152
50152
  title: t,
50153
50153
  icon: e,
50154
50154
  badge: n,
@@ -50285,7 +50285,7 @@ function ez({
50285
50285
  ...e
50286
50286
  }) {
50287
50287
  return /* @__PURE__ */ l(
50288
- _l.Root,
50288
+ Gl.Root,
50289
50289
  {
50290
50290
  "data-slot": "radio-group",
50291
50291
  className: M("grid gap-3", t),
@@ -50298,7 +50298,7 @@ function tz({
50298
50298
  ...e
50299
50299
  }) {
50300
50300
  return /* @__PURE__ */ l(
50301
- _l.Item,
50301
+ Gl.Item,
50302
50302
  {
50303
50303
  "data-slot": "radio-group-item",
50304
50304
  className: M(
@@ -50307,7 +50307,7 @@ function tz({
50307
50307
  ),
50308
50308
  ...e,
50309
50309
  children: /* @__PURE__ */ l(
50310
- _l.Indicator,
50310
+ Gl.Indicator,
50311
50311
  {
50312
50312
  "data-slot": "radio-group-indicator",
50313
50313
  className: "flex items-center justify-center",
@@ -51146,22 +51146,32 @@ function JE({
51146
51146
  }
51147
51147
  );
51148
51148
  }
51149
- const jz = ({ ...t }) => {
51149
+ function jz(t) {
51150
51150
  const { theme: e = "system" } = pw();
51151
51151
  return /* @__PURE__ */ l(
51152
51152
  mw,
51153
51153
  {
51154
51154
  theme: e,
51155
51155
  className: "toaster group",
51156
- style: {
51157
- "--normal-bg": "var(--popover)",
51158
- "--normal-text": "var(--popover-foreground)",
51159
- "--normal-border": "var(--border)"
51156
+ toastOptions: {
51157
+ unstyled: !0,
51158
+ classNames: {
51159
+ toast: "w-full rounded-lg border px-4 py-3 shadow-lg flex items-start gap-3 bg-card text-card-foreground border-border",
51160
+ title: "font-medium text-sm",
51161
+ description: "text-sm mt-1",
51162
+ actionButton: "inline-flex items-center justify-center rounded-md text-sm font-medium bg-primary text-primary-foreground hover:bg-primary/90 h-8 px-3",
51163
+ cancelButton: "inline-flex items-center justify-center rounded-md text-sm font-medium bg-muted text-muted-foreground hover:bg-muted/90 h-8 px-3",
51164
+ closeButton: "absolute right-2 top-2 rounded-md p-1 text-foreground/50 hover:text-foreground",
51165
+ error: "!bg-red-50 dark:!bg-red-950/30 !text-red-700 dark:!text-red-400 !border-red-200 dark:!border-red-800 [&_[data-title]]:text-red-700 dark:[&_[data-title]]:text-red-400 [&_[data-description]]:text-red-700/90 dark:[&_[data-description]]:text-red-400/90",
51166
+ success: "!bg-green-50 dark:!bg-green-950/30 !text-green-700 dark:!text-green-400 !border-green-200 dark:!border-green-800 [&_[data-title]]:text-green-700 dark:[&_[data-title]]:text-green-400 [&_[data-description]]:text-green-700/90 dark:[&_[data-description]]:text-green-400/90",
51167
+ warning: "!bg-yellow-50 dark:!bg-yellow-950/30 !text-yellow-700 dark:!text-yellow-400 !border-yellow-200 dark:!border-yellow-800 [&_[data-title]]:text-yellow-700 dark:[&_[data-title]]:text-yellow-400 [&_[data-description]]:text-yellow-700/90 dark:[&_[data-description]]:text-yellow-400/90",
51168
+ info: "!bg-cyan-50 dark:!bg-cyan-950/30 !text-cyan-700 dark:!text-cyan-400 !border-cyan-200 dark:!border-cyan-800 [&_[data-title]]:text-cyan-700 dark:[&_[data-title]]:text-cyan-400 [&_[data-description]]:text-cyan-700/90 dark:[&_[data-description]]:text-cyan-400/90"
51169
+ }
51160
51170
  },
51161
51171
  ...t
51162
51172
  }
51163
51173
  );
51164
- };
51174
+ }
51165
51175
  function YE({
51166
51176
  className: t,
51167
51177
  ...e
@@ -51302,7 +51312,7 @@ const VE = T.forwardRef(
51302
51312
  )
51303
51313
  );
51304
51314
  VE.displayName = "TableCaption";
51305
- const GE = {
51315
+ const _E = {
51306
51316
  previous: "Anterior",
51307
51317
  next: "Próxima",
51308
51318
  first: "Primeira",
@@ -51312,7 +51322,7 @@ const GE = {
51312
51322
  results: "resultados",
51313
51323
  itemsPerPage: "Itens por página",
51314
51324
  page: "Página"
51315
- }, _E = [10, 20, 30, 50, 100];
51325
+ }, GE = [10, 20, 30, 50, 100];
51316
51326
  function WE(t, e, n = 5) {
51317
51327
  if (e <= n)
51318
51328
  return Array.from({ length: e }, (s, f) => f + 1);
@@ -51331,7 +51341,7 @@ function I4({
51331
51341
  totalItems: r,
51332
51342
  onPageChange: i,
51333
51343
  onPageSizeChange: a,
51334
- pageSizeOptions: o = _E,
51344
+ pageSizeOptions: o = GE,
51335
51345
  maxVisiblePages: s = 5,
51336
51346
  showInfo: f = !0,
51337
51347
  showPageNumbers: c = !0,
@@ -51340,7 +51350,7 @@ function I4({
51340
51350
  labels: p,
51341
51351
  className: h
51342
51352
  }) {
51343
- const m = { ...GE, ...p }, g = WE(t, e, s), v = (t - 1) * n + 1, w = Math.min(t * n, r), x = t > 1, L = t < e;
51353
+ const m = { ..._E, ...p }, g = WE(t, e, s), v = (t - 1) * n + 1, w = Math.min(t * n, r), x = t > 1, L = t < e;
51344
51354
  return e === 0 ? null : /* @__PURE__ */ b(
51345
51355
  "div",
51346
51356
  {
@@ -51640,7 +51650,7 @@ function XE({
51640
51650
  onClick: n,
51641
51651
  className: "gap-2",
51642
51652
  children: [
51643
- /* @__PURE__ */ l(G1, { className: "h-4 w-4" }),
51653
+ /* @__PURE__ */ l(_1, { className: "h-4 w-4" }),
51644
51654
  "Filtros",
51645
51655
  a && /* @__PURE__ */ l("span", { className: "ml-1 rounded-full bg-primary text-primary-foreground w-5 h-5 text-xs flex items-center justify-center", children: t.length })
51646
51656
  ]
@@ -51837,9 +51847,9 @@ function tA({
51837
51847
  /* @__PURE__ */ l(at, { className: "w-[240px] p-3", align: "start", children: /* @__PURE__ */ b("div", { className: "space-y-2", children: [
51838
51848
  /* @__PURE__ */ l($e, { className: "text-xs text-muted-foreground", children: s ? "Selecionar valores" : "Selecionar valor" }),
51839
51849
  /* @__PURE__ */ b("div", { className: "relative", children: [
51840
- /* @__PURE__ */ l(_1, { className: "absolute left-2 top-2.5 h-4 w-4 text-muted-foreground" }),
51850
+ /* @__PURE__ */ l(G1, { className: "absolute left-2 top-2.5 h-4 w-4 text-muted-foreground" }),
51841
51851
  /* @__PURE__ */ l(
51842
- _n,
51852
+ Gn,
51843
51853
  {
51844
51854
  type: "text",
51845
51855
  placeholder: "Buscar...",
@@ -51929,7 +51939,7 @@ function tA({
51929
51939
  /* @__PURE__ */ l(at, { className: "w-[240px] p-3", align: "start", children: /* @__PURE__ */ b("div", { className: "space-y-2", children: [
51930
51940
  /* @__PURE__ */ l($e, { className: "text-xs text-muted-foreground", children: "Inserir valor" }),
51931
51941
  /* @__PURE__ */ l(
51932
- _n,
51942
+ Gn,
51933
51943
  {
51934
51944
  type: (a == null ? void 0 : a.type) === "number" ? "number" : "text",
51935
51945
  value: Array.isArray(t.value) ? "" : t.value,
@@ -52076,7 +52086,7 @@ function nA({
52076
52086
  I(ze), J(ze);
52077
52087
  }
52078
52088
  };
52079
- }), G = () => {
52089
+ }), _ = () => {
52080
52090
  J(S), k(!1);
52081
52091
  }, q = () => {
52082
52092
  I([]), g && (u != null && u.onFilterChange) ? u.onFilterChange([], y) : (x.clearFilters(), y && x.setFilter(D, y, "contains"));
@@ -52094,7 +52104,7 @@ function nA({
52094
52104
  x.onSort(R);
52095
52105
  }, [g, u, w.sort, x]), Ee = Ye(async (R) => {
52096
52106
  g && (u != null && u.onPageChange) ? await u.onPageChange(R, w.pagination.pageSize) : w.pagination.onPageChange && w.pagination.onPageChange(R);
52097
- }, [g, u, w.pagination]), _ = Ye(async (R) => {
52107
+ }, [g, u, w.pagination]), G = Ye(async (R) => {
52098
52108
  g && (u != null && u.onPageChange) ? await u.onPageChange(1, R) : w.pagination.onPageSizeChange && w.pagination.onPageSizeChange(R);
52099
52109
  }, [g, u, w.pagination]), be = () => {
52100
52110
  const R = S.length > 0, W = y.trim().length > 0;
@@ -52104,9 +52114,9 @@ function nA({
52104
52114
  /* @__PURE__ */ b("div", { className: "flex items-center justify-between gap-2", children: [
52105
52115
  /* @__PURE__ */ b("div", { className: "flex items-center gap-2 flex-1", children: [
52106
52116
  i && /* @__PURE__ */ b("div", { className: "relative max-w-sm flex-1", children: [
52107
- /* @__PURE__ */ l(_1, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground pointer-events-none" }),
52117
+ /* @__PURE__ */ l(G1, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground pointer-events-none" }),
52108
52118
  /* @__PURE__ */ l(
52109
- _n,
52119
+ Gn,
52110
52120
  {
52111
52121
  placeholder: n,
52112
52122
  value: y,
@@ -52120,7 +52130,7 @@ function nA({
52120
52130
  ] }),
52121
52131
  o && a.length > 0 && /* @__PURE__ */ b(dt, { open: C, onOpenChange: k, children: [
52122
52132
  /* @__PURE__ */ l(it, { asChild: !0, children: /* @__PURE__ */ b(B, { variant: "outline", size: "sm", className: "gap-2", children: [
52123
- /* @__PURE__ */ l(G1, { className: "h-4 w-4" }),
52133
+ /* @__PURE__ */ l(_1, { className: "h-4 w-4" }),
52124
52134
  "Filtros",
52125
52135
  S.length > 0 && /* @__PURE__ */ l("span", { className: "ml-1 rounded-full bg-primary text-primary-foreground w-5 h-5 text-xs flex items-center justify-center", children: S.length })
52126
52136
  ] }) }),
@@ -52151,7 +52161,7 @@ function nA({
52151
52161
  B,
52152
52162
  {
52153
52163
  size: "sm",
52154
- onClick: G,
52164
+ onClick: _,
52155
52165
  children: "Aplicar Filtros"
52156
52166
  }
52157
52167
  )
@@ -52220,7 +52230,7 @@ function nA({
52220
52230
  pageSize: w.pagination.pageSize,
52221
52231
  totalItems: w.pagination.totalItems,
52222
52232
  onPageChange: Ee,
52223
- onPageSizeChange: _,
52233
+ onPageSizeChange: G,
52224
52234
  pageSizeOptions: f
52225
52235
  }
52226
52236
  )
@@ -52292,7 +52302,7 @@ function Dz({
52292
52302
  const a = t.filter((s) => s.isFavorite), o = t.filter((s) => !s.isFavorite);
52293
52303
  return /* @__PURE__ */ b(sf, { children: [
52294
52304
  /* @__PURE__ */ l(ff, { asChild: !0, children: /* @__PURE__ */ b(B, { variant: "outline", size: "sm", className: M("gap-2", i), children: [
52295
- /* @__PURE__ */ l(_c, { className: "h-4 w-4" }),
52305
+ /* @__PURE__ */ l(Gc, { className: "h-4 w-4" }),
52296
52306
  "Filtros salvos",
52297
52307
  t.length > 0 && /* @__PURE__ */ b("span", { className: "text-xs text-muted-foreground", children: [
52298
52308
  "(",
@@ -52425,7 +52435,7 @@ function Ez({
52425
52435
  /* @__PURE__ */ b("div", { className: "space-y-2", children: [
52426
52436
  /* @__PURE__ */ l($e, { htmlFor: "task-name", children: "Nome da Tarefa *" }),
52427
52437
  /* @__PURE__ */ l(
52428
- _n,
52438
+ Gn,
52429
52439
  {
52430
52440
  id: "task-name",
52431
52441
  value: o.name,
@@ -52645,7 +52655,7 @@ const oA = (t) => {
52645
52655
  case "status_change":
52646
52656
  return /* @__PURE__ */ l(Uv, { className: "h-4 w-4 text-blue-600" });
52647
52657
  case "comment":
52648
- return /* @__PURE__ */ l(Gc, { className: "h-4 w-4 text-slate-500" });
52658
+ return /* @__PURE__ */ l(_c, { className: "h-4 w-4 text-slate-500" });
52649
52659
  case "upload":
52650
52660
  return /* @__PURE__ */ l(xa, { className: "h-4 w-4 text-orange-600" });
52651
52661
  case "assignment":
@@ -53177,8 +53187,8 @@ export {
53177
53187
  WA as Alert,
53178
53188
  ZA as AlertDescription,
53179
53189
  HA as AlertDialog,
53180
- GA as AlertDialogAction,
53181
- _A as AlertDialogCancel,
53190
+ _A as AlertDialogAction,
53191
+ GA as AlertDialogCancel,
53182
53192
  FA as AlertDialogContent,
53183
53193
  VA as AlertDialogDescription,
53184
53194
  YA as AlertDialogFooter,
@@ -53238,10 +53248,10 @@ export {
53238
53248
  P8 as CommandSeparator,
53239
53249
  B8 as CommandShortcut,
53240
53250
  N8 as CommentSystem,
53241
- _7 as CompactPageHeader,
53251
+ G7 as CompactPageHeader,
53242
53252
  H8 as ContextMenu,
53243
53253
  $8 as ContextMenuCheckboxItem,
53244
- _8 as ContextMenuContent,
53254
+ G8 as ContextMenuContent,
53245
53255
  F8 as ContextMenuGroup,
53246
53256
  W8 as ContextMenuItem,
53247
53257
  q8 as ContextMenuLabel,
@@ -53251,7 +53261,7 @@ export {
53251
53261
  K8 as ContextMenuSeparator,
53252
53262
  X8 as ContextMenuShortcut,
53253
53263
  Y8 as ContextMenuSub,
53254
- G8 as ContextMenuSubContent,
53264
+ _8 as ContextMenuSubContent,
53255
53265
  V8 as ContextMenuSubTrigger,
53256
53266
  U8 as ContextMenuTrigger,
53257
53267
  u8 as ContractPrint,
@@ -53317,7 +53327,7 @@ export {
53317
53327
  m7 as HoverCardTrigger,
53318
53328
  Uz as Illustrations,
53319
53329
  py as ImageWithFallback,
53320
- _n as Input,
53330
+ Gn as Input,
53321
53331
  pE as InputGroup,
53322
53332
  N1 as InputGroupAddon,
53323
53333
  M7 as InputGroupButton,
@@ -53355,7 +53365,7 @@ export {
53355
53365
  F7 as NavigationMenuList,
53356
53366
  Y7 as NavigationMenuTrigger,
53357
53367
  Vc as NumberInput,
53358
- G7 as PageHeader,
53368
+ _7 as PageHeader,
53359
53369
  W7 as Pagination,
53360
53370
  $7 as PaginationContent,
53361
53371
  X7 as PaginationEllipsis,
@@ -53425,7 +53435,6 @@ export {
53425
53435
  br as Skeleton,
53426
53436
  JE as Slider,
53427
53437
  FE as SocialButton,
53428
- jz as Sonner,
53429
53438
  pA as SuccessStateIllustration,
53430
53439
  YE as Switch,
53431
53440
  L4 as Table,
@@ -53446,6 +53455,7 @@ export {
53446
53455
  y4 as Textarea,
53447
53456
  Zs as TimePicker,
53448
53457
  Az as Timeline,
53458
+ jz as Toaster,
53449
53459
  zj as Toggle,
53450
53460
  Bz as ToggleGroup,
53451
53461
  Hz as ToggleGroupItem,