@factorialco/f0-react 1.322.0 → 1.322.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { bV as Om, bW as Mc, bX as aT, bY as lT, bZ as Fm, b_ as Ny, b$ as Cs, aB as Yu, c0 as _s, c1 as Qu, c2 as ho, c3 as kf, aF as Ni, c4 as Qa, c5 as Dm, c6 as cT, e as ms, c7 as Nc, c8 as fT, c9 as dT, ca as uT, cb as hT, cc as Im, cd as Oy, ce as Fy, cf as pT, cg as mT, ch as gT, d as oa, ci as Rm, cj as wf, ck as vT, cl as Dy, cm as Pm, cn as Bm, co as yT, cp as xT, cq as e0, cr as Iy, aO as kT, cs as Hm, ct as wT, cu as bf, cv as bT, cw as CT, cx as _T, cy as ST, cz as ET, cA as vh, cB as LT, cC as TT, cD as AT, m as ye, cE as Ry, cF as MT, cG as Cf, l as Ha, cH as Oc, z as c1, cI as Py, x as ed, cJ as NT, n as yh, cK as OT, q as FT, r as td, i as DT, H as IT, J as RT, t as Yg, cL as PT, G as Qg, cM as BT, N as HT, cN as By, cO as Hy, cP as $T, cQ as VT, cR as zT, D as $y, cS as e5, cT as nd, cU as jT, cV as $m, cW as Vy, cX as jp, c as D, a as Oi, b as Ge, cY as zy, cZ as jy, c_ as Wy, c$ as Uy, d0 as qy, aq as $t, d1 as Gy, A as ut, F as Ve, d2 as Ky, d3 as Zy, B as Gt, d4 as Jy, d5 as Xy, aG as Ee, S as ge, d6 as yr, d7 as WT, d8 as UT, d9 as t0, da as Yy, C as qT, bx as GT, db as Li, aA as Uo, g as hn, dc as Vm, dd as Qy, de as KT, df as Fc, dg as ZT, dh as JT, di as XT, dj as YT, bR as bl, dk as gs, bk as rs, dl as QT, bg as eA, dm as f1, dn as tA, f as aa, dp as qo, dq as e7, dr as nA, ds as t5, dt as el, du as zm, dv as _f, dw as d1, dx as iA, dy as t7, dz as rA, dA as jm, dB as Dc, dC as Ti, dD as sA, dE as oA, dF as Rs, dG as xh, dH as aA, dI as ec, dJ as Ta, dK as lA, dL as n7, dM as cA, dN as fA, dO as dA, dP as uA, O as Yn, w as rn, U as hA, Z as pA, _ as mA, a0 as gA, a5 as n5, a6 as i5, a7 as vA, a8 as yA, dQ as xA, dR as kh, dS as $a, dT as Wm, dU as kA, dV as wA, dW as bA, be as CA, dX as _A, bS as Sf, bd as u1, dY as Wp, dZ as i7, h as Fi, d_ as n0, b8 as vs, d$ as SA, e0 as EA, e1 as r7, b6 as pr, as as Zi, e2 as LA, e3 as s7, e4 as o7, e5 as Cl, e6 as Um, bl as Ic, e7 as TA, e8 as a7, e9 as AA, ea as MA, ao as qm, ap as Gm, ar as Km, eb as l7, ec as NA, ed as OA, ee as FA, ef as DA, eg as c7, aK as IA, eh as RA, ei as Up, ej as f7, b3 as h1, ek as PA, el as BA, em as HA, en as $A, eo as VA, b0 as qp, ay as d7, bU as zA, bT as jA, ep as u7, az as to, eq as WA, er as UA, br as i0, b4 as Zm, aZ as Ef, es as h7, b7 as qA, a$ as p7, aX as m7, et as r0, eu as GA, ev as g7, ew as KA, a_ as _l, b1 as v7, aM as ZA, ex as JA, bz as XA, bA as YA, bH as s0, bF as Jm, aI as o0, ey as a0, ez as l0, aJ as c0, eA as Xm, bG as y7, bc as Ym, eB as QA, bL as eM, eC as Gp, eD as tM, eE as p1, eF as nM, bB as m1, bM as iM, eG as rM, bK as x7, eH as sM, bJ as oM, bI as aM, eI as lM, eJ as cM, eK as Qm, eL as fM, eM as dM, eN as uM, eO as hM, eP as pM, eQ as mM, eR as gM, eS as vM, u as k7, bn as yM, bE as xM, aC as kM, aD as wM, eT as bM, aE as CM, eU as _M, eV as SM, b2 as EM, eW as Lf, eX as e3, b9 as t3, eY as n3, eZ as Tf, e_ as LM, e$ as w7, f0 as TM, f1 as AM, bN as b7, f2 as C7, bp as _7, f3 as MM, f4 as NM, f5 as OM, aL as FM, aa as DM, ab as IM, ad as RM, ae as PM, af as BM, ac as HM, f6 as r5, f7 as $M, f8 as VM, K as zM, f9 as S7, fa as jM } from "./hooks-D-ClnmaM.js";
1
+ import { bV as Om, bW as Mc, bX as aT, bY as lT, bZ as Fm, b_ as Ny, b$ as _s, aB as Yu, c0 as Ss, c1 as Qu, c2 as po, c3 as kf, aF as Ni, c4 as Qa, c5 as Dm, c6 as cT, e as gs, c7 as Nc, c8 as fT, c9 as dT, ca as uT, cb as hT, cc as Im, cd as Oy, ce as Fy, cf as pT, cg as mT, ch as gT, d as oa, ci as Rm, cj as wf, ck as vT, cl as Dy, cm as Pm, cn as Bm, co as yT, cp as xT, cq as e0, cr as Iy, aO as kT, cs as Hm, ct as wT, cu as bf, cv as bT, cw as CT, cx as _T, cy as ST, cz as ET, cA as vh, cB as LT, cC as TT, cD as AT, m as ye, cE as Ry, cF as MT, cG as Cf, l as Ha, cH as Oc, z as c1, cI as Py, x as ed, cJ as NT, n as yh, cK as OT, q as FT, r as td, i as DT, H as IT, J as RT, t as Yg, cL as PT, G as Qg, cM as BT, N as HT, cN as By, cO as Hy, cP as $T, cQ as VT, cR as zT, D as $y, cS as e5, cT as nd, cU as jT, cV as $m, cW as Vy, cX as jp, c as D, a as Oi, b as Ge, cY as zy, cZ as jy, c_ as Wy, c$ as Uy, d0 as qy, aq as $t, d1 as Gy, A as ut, F as Ve, d2 as Ky, d3 as Zy, B as Gt, d4 as Jy, d5 as Xy, aG as Ee, S as ge, d6 as yr, d7 as WT, d8 as UT, d9 as t0, da as Yy, C as qT, bx as GT, db as Li, aA as Uo, g as hn, dc as Vm, dd as Qy, de as KT, df as Fc, dg as ZT, dh as JT, di as XT, dj as YT, bR as bl, dk as vs, bk as ss, dl as QT, bg as eA, dm as f1, dn as tA, f as aa, dp as qo, dq as e7, dr as nA, ds as t5, dt as el, du as zm, dv as _f, dw as d1, dx as iA, dy as t7, dz as rA, dA as jm, dB as Dc, dC as Ti, dD as sA, dE as oA, dF as Ps, dG as xh, dH as aA, dI as ec, dJ as Ta, dK as lA, dL as n7, dM as cA, dN as fA, dO as dA, dP as uA, O as Yn, w as rn, U as hA, Z as pA, _ as mA, a0 as gA, a5 as n5, a6 as i5, a7 as vA, a8 as yA, dQ as xA, dR as kh, dS as $a, dT as Wm, dU as kA, dV as wA, dW as bA, be as CA, dX as _A, bS as Sf, bd as u1, dY as Wp, dZ as i7, h as Fi, d_ as n0, b8 as ys, d$ as SA, e0 as EA, e1 as r7, b6 as pr, as as Zi, e2 as LA, e3 as s7, e4 as o7, e5 as Cl, e6 as Um, bl as Ic, e7 as TA, e8 as a7, e9 as AA, ea as MA, ao as qm, ap as Gm, ar as Km, eb as l7, ec as NA, ed as OA, ee as FA, ef as DA, eg as c7, aK as IA, eh as RA, ei as Up, ej as f7, b3 as h1, ek as PA, el as BA, em as HA, en as $A, eo as VA, b0 as qp, ay as d7, bU as zA, bT as jA, ep as u7, az as no, eq as WA, er as UA, br as i0, b4 as Zm, aZ as Ef, es as h7, b7 as qA, a$ as p7, aX as m7, et as r0, eu as GA, ev as g7, ew as KA, a_ as _l, b1 as v7, aM as ZA, ex as JA, bz as XA, bA as YA, bH as s0, bF as Jm, aI as o0, ey as a0, ez as l0, aJ as c0, eA as Xm, bG as y7, bc as Ym, eB as QA, bL as eM, eC as Gp, eD as tM, eE as p1, eF as nM, bB as m1, bM as iM, eG as rM, bK as x7, eH as sM, bJ as oM, bI as aM, eI as lM, eJ as cM, eK as Qm, eL as fM, eM as dM, eN as uM, eO as hM, eP as pM, eQ as mM, eR as gM, eS as vM, u as k7, bn as yM, bE as xM, aC as kM, aD as wM, eT as bM, aE as CM, eU as _M, eV as SM, b2 as EM, eW as Lf, eX as e3, b9 as t3, eY as n3, eZ as Tf, e_ as LM, e$ as w7, f0 as TM, f1 as AM, bN as b7, f2 as C7, bp as _7, f3 as MM, f4 as NM, f5 as OM, aL as FM, aa as DM, ab as IM, ad as RM, ae as PM, af as BM, ac as HM, f6 as r5, f7 as $M, f8 as VM, K as zM, f9 as S7, fa as jM } from "./hooks-D-ClnmaM.js";
2
2
  import { aN as t3e, fc as n3e, fb as i3e, fh as r3e, fi as s3e, fe as o3e, fd as a3e, fg as l3e, b5 as c3e, bf as f3e, ff as d3e, bm as u3e } from "./hooks-D-ClnmaM.js";
3
3
  import { jsxs as x, jsx as f, Fragment as Je } from "react/jsx-runtime";
4
4
  import * as st from "react";
@@ -1141,7 +1141,7 @@ import './experimental.css';const YM = (t, e) => x("svg", {
1141
1141
  d: "M17 8V17C17 18.6569 15.6569 20 14 20H10C8.34315 20 7 18.6569 7 17V8M17 8H15.5M17 8H18.5M7 8H8.5M7 8H5.5M15.5 8V5C15.5 4.44772 15.0523 4 14.5 4L9.5 4C8.94772 4 8.5 4.44772 8.5 5V8M15.5 8H8.5",
1142
1142
  vectorEffect: "non-scaling-stroke"
1143
1143
  })
1144
- }), po = V(EO), LO = (t, e) => f("svg", {
1144
+ }), mo = V(EO), LO = (t, e) => f("svg", {
1145
1145
  xmlns: "http://www.w3.org/2000/svg",
1146
1146
  fill: "none",
1147
1147
  viewBox: "0 0 20 20",
@@ -4253,13 +4253,13 @@ import './experimental.css';const YM = (t, e) => x("svg", {
4253
4253
  CardPin: WN,
4254
4254
  ChartLine: qN,
4255
4255
  ChartPie: KN,
4256
- Check: Cs,
4256
+ Check: _s,
4257
4257
  CheckCircle: Yu,
4258
4258
  CheckCircleLine: I7,
4259
4259
  CheckDouble: u0,
4260
- ChevronDown: _s,
4260
+ ChevronDown: Ss,
4261
4261
  ChevronLeft: Qu,
4262
- ChevronRight: ho,
4262
+ ChevronRight: po,
4263
4263
  ChevronUp: kf,
4264
4264
  Chip: YN,
4265
4265
  Circle: d3,
@@ -4279,7 +4279,7 @@ import './experimental.css';const YM = (t, e) => x("svg", {
4279
4279
  Cross: Ni,
4280
4280
  CrossedCircle: Qa,
4281
4281
  Crown: SO,
4282
- Delete: po,
4282
+ Delete: mo,
4283
4283
  Deny: TO,
4284
4284
  Descending: P7,
4285
4285
  Desktop: NO,
@@ -4289,7 +4289,7 @@ import './experimental.css';const YM = (t, e) => x("svg", {
4289
4289
  Download: h3,
4290
4290
  DropdownDefault: B7,
4291
4291
  DropdownOpen: cT,
4292
- Ellipsis: ms,
4292
+ Ellipsis: gs,
4293
4293
  EllipsisHorizontal: Nc,
4294
4294
  Envelope: HO,
4295
4295
  EnvelopeOpen: VO,
@@ -4564,7 +4564,7 @@ function eP({ children: t, as: e = "ul", axis: n = "y", onReorder: i, values: r,
4564
4564
  c.current = !1;
4565
4565
  }), f(a, { ...s, ref: o, ignoreStrict: !0, children: f(hx.Provider, { value: d, children: t }) });
4566
4566
  }
4567
- const no = /* @__PURE__ */ V(eP);
4567
+ const io = /* @__PURE__ */ V(eP);
4568
4568
  function tP(t) {
4569
4569
  return t.value;
4570
4570
  }
@@ -4650,15 +4650,15 @@ function dP(t, e) {
4650
4650
  }
4651
4651
  return n;
4652
4652
  }
4653
- function ys() {
4654
- return ys = Object.assign ? Object.assign.bind() : function(t) {
4653
+ function xs() {
4654
+ return xs = Object.assign ? Object.assign.bind() : function(t) {
4655
4655
  for (var e = 1; e < arguments.length; e++) {
4656
4656
  var n = arguments[e];
4657
4657
  for (var i in n)
4658
4658
  Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i]);
4659
4659
  }
4660
4660
  return t;
4661
- }, ys.apply(this, arguments);
4661
+ }, xs.apply(this, arguments);
4662
4662
  }
4663
4663
  function c5(t, e) {
4664
4664
  var n = Object.keys(t);
@@ -4715,7 +4715,7 @@ var mP = function(e, n, i, r) {
4715
4715
  className: "recharts-polar-grid-angle"
4716
4716
  }, o.map(function(c) {
4717
4717
  var d = Oc(n, i, r, c), u = Oc(n, i, s, c);
4718
- return /* @__PURE__ */ ve.createElement("line", ys({}, l, {
4718
+ return /* @__PURE__ */ ve.createElement("line", xs({}, l, {
4719
4719
  key: "line-".concat(c),
4720
4720
  x1: d.x,
4721
4721
  y1: d.y,
@@ -4729,7 +4729,7 @@ var mP = function(e, n, i, r) {
4729
4729
  }, Ha(e, !1)), {}, {
4730
4730
  fill: "none"
4731
4731
  });
4732
- return /* @__PURE__ */ ve.createElement("circle", ys({}, o, {
4732
+ return /* @__PURE__ */ ve.createElement("circle", xs({}, o, {
4733
4733
  className: c1("recharts-polar-grid-concentric-circle", e.className),
4734
4734
  key: "circle-".concat(s),
4735
4735
  cx: n,
@@ -4742,7 +4742,7 @@ var mP = function(e, n, i, r) {
4742
4742
  }, Ha(e, !1)), {}, {
4743
4743
  fill: "none"
4744
4744
  });
4745
- return /* @__PURE__ */ ve.createElement("path", ys({}, r, {
4745
+ return /* @__PURE__ */ ve.createElement("path", xs({}, r, {
4746
4746
  className: c1("recharts-polar-grid-concentric-polygon", e.className),
4747
4747
  key: "path-".concat(i),
4748
4748
  d: mP(n, e.cx, e.cy, e.polarAngles)
@@ -4753,12 +4753,12 @@ var mP = function(e, n, i, r) {
4753
4753
  className: "recharts-polar-grid-concentric"
4754
4754
  }, n.map(function(r, s) {
4755
4755
  var o = s;
4756
- return i === "circle" ? /* @__PURE__ */ ve.createElement(vP, ys({
4756
+ return i === "circle" ? /* @__PURE__ */ ve.createElement(vP, xs({
4757
4757
  key: o
4758
4758
  }, e, {
4759
4759
  radius: r,
4760
4760
  index: s
4761
- })) : /* @__PURE__ */ ve.createElement(yP, ys({
4761
+ })) : /* @__PURE__ */ ve.createElement(yP, xs({
4762
4762
  key: o
4763
4763
  }, e, {
4764
4764
  radius: r,
@@ -4769,14 +4769,14 @@ var mP = function(e, n, i, r) {
4769
4769
  var n = e.cx, i = n === void 0 ? 0 : n, r = e.cy, s = r === void 0 ? 0 : r, o = e.innerRadius, a = o === void 0 ? 0 : o, l = e.outerRadius, c = l === void 0 ? 0 : l, d = e.gridType, u = d === void 0 ? "polygon" : d, h = e.radialLines, p = h === void 0 ? !0 : h, m = fP(e, cP);
4770
4770
  return c <= 0 ? null : /* @__PURE__ */ ve.createElement("g", {
4771
4771
  className: "recharts-polar-grid"
4772
- }, /* @__PURE__ */ ve.createElement(gP, ys({
4772
+ }, /* @__PURE__ */ ve.createElement(gP, xs({
4773
4773
  cx: i,
4774
4774
  cy: s,
4775
4775
  innerRadius: a,
4776
4776
  outerRadius: c,
4777
4777
  gridType: u,
4778
4778
  radialLines: p
4779
- }, m)), /* @__PURE__ */ ve.createElement(xP, ys({
4779
+ }, m)), /* @__PURE__ */ ve.createElement(xP, xs({
4780
4780
  cx: i,
4781
4781
  cy: s,
4782
4782
  innerRadius: a,
@@ -4854,7 +4854,7 @@ function qn(t) {
4854
4854
  for (var e = 1; e < arguments.length; e++) {
4855
4855
  var n = arguments[e] != null ? arguments[e] : {};
4856
4856
  e % 2 ? u5(Object(n), !0).forEach(function(i) {
4857
- ns(t, i, n[i]);
4857
+ is(t, i, n[i]);
4858
4858
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : u5(Object(n)).forEach(function(i) {
4859
4859
  Object.defineProperty(t, i, Object.getOwnPropertyDescriptor(n, i));
4860
4860
  });
@@ -4914,7 +4914,7 @@ function e2(t, e) {
4914
4914
  return i.__proto__ = r, i;
4915
4915
  }, e2(t, e);
4916
4916
  }
4917
- function ns(t, e, n) {
4917
+ function is(t, e, n) {
4918
4918
  return e = gx(e), e in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
4919
4919
  }
4920
4920
  function gx(t) {
@@ -4937,22 +4937,22 @@ var Ff = /* @__PURE__ */ (function(t) {
4937
4937
  LP(this, e);
4938
4938
  for (var i = arguments.length, r = new Array(i), s = 0; s < i; s++)
4939
4939
  r[s] = arguments[s];
4940
- return n = AP(this, e, [].concat(r)), ns(n, "state", {
4940
+ return n = AP(this, e, [].concat(r)), is(n, "state", {
4941
4941
  isAnimationFinished: !1
4942
- }), ns(n, "handleAnimationEnd", function() {
4942
+ }), is(n, "handleAnimationEnd", function() {
4943
4943
  var o = n.props.onAnimationEnd;
4944
4944
  n.setState({
4945
4945
  isAnimationFinished: !0
4946
4946
  }), ed(o) && o();
4947
- }), ns(n, "handleAnimationStart", function() {
4947
+ }), is(n, "handleAnimationStart", function() {
4948
4948
  var o = n.props.onAnimationStart;
4949
4949
  n.setState({
4950
4950
  isAnimationFinished: !1
4951
4951
  }), ed(o) && o();
4952
- }), ns(n, "handleMouseEnter", function(o) {
4952
+ }), is(n, "handleMouseEnter", function(o) {
4953
4953
  var a = n.props.onMouseEnter;
4954
4954
  a && a(n.props, o);
4955
- }), ns(n, "handleMouseLeave", function(o) {
4955
+ }), is(n, "handleMouseLeave", function(o) {
4956
4956
  var a = n.props.onMouseLeave;
4957
4957
  a && a(n.props, o);
4958
4958
  }), n;
@@ -5079,8 +5079,8 @@ var Ff = /* @__PURE__ */ (function(t) {
5079
5079
  }
5080
5080
  }]);
5081
5081
  })(WM);
5082
- ns(Ff, "displayName", "Radar");
5083
- ns(Ff, "defaultProps", {
5082
+ is(Ff, "displayName", "Radar");
5083
+ is(Ff, "defaultProps", {
5084
5084
  angleAxisId: 0,
5085
5085
  radiusAxisId: 0,
5086
5086
  hide: !1,
@@ -5092,7 +5092,7 @@ ns(Ff, "defaultProps", {
5092
5092
  animationDuration: 1500,
5093
5093
  animationEasing: "ease"
5094
5094
  });
5095
- ns(Ff, "getComposedData", function(t) {
5095
+ is(Ff, "getComposedData", function(t) {
5096
5096
  var e = t.radiusAxis, n = t.angleAxis, i = t.displayedData, r = t.dataKey, s = t.bandSize, o = n.cx, a = n.cy, l = !1, c = [], d = n.type !== "number" ? s ?? 0 : 0;
5097
5097
  i.forEach(function(h, p) {
5098
5098
  var m = Yg(h, n.dataKey, p), g = Yg(h, r), v = n.scale(m) + d, y = Array.isArray(g) ? PT(g) : g, b = Qg(y) ? void 0 : e.scale(y);
@@ -6110,7 +6110,7 @@ const Cx = ({ className: t, disabled: e }) => {
6110
6110
  }), f(Ee, {
6111
6111
  variant: "outline",
6112
6112
  size: "sm",
6113
- icon: ho,
6113
+ icon: po,
6114
6114
  label: t,
6115
6115
  hideLabel: !0,
6116
6116
  onClick: n
@@ -6352,7 +6352,7 @@ function V2e({ module: t, statusTag: e = void 0, breadcrumbs: n = [], actions: i
6352
6352
  href: s.previous?.url || "",
6353
6353
  disabled: !s.previous
6354
6354
  }), f(w5, {
6355
- icon: _s,
6355
+ icon: Ss,
6356
6356
  label: s.next?.title || "Next",
6357
6357
  href: s.next?.url || "",
6358
6358
  disabled: !s.next
@@ -6421,7 +6421,7 @@ const z2e = ({ text: t, confirmationText: e, onConfirm: n, cancelText: i, onCanc
6421
6421
  type: "button",
6422
6422
  variant: "outline",
6423
6423
  size: "sm",
6424
- icon: Cs,
6424
+ icon: _s,
6425
6425
  onClick: n,
6426
6426
  label: e
6427
6427
  }), f(Ee, {
@@ -6756,7 +6756,7 @@ const F3 = mB, gB = Ax, D3 = Mx, Nx = ({ icon: t, title: e, children: n }) => {
6756
6756
  className: "mr-[2px]",
6757
6757
  children: e
6758
6758
  }), f(Ve, {
6759
- icon: ho,
6759
+ icon: po,
6760
6760
  className: "h-4 w-4 transition-transform duration-200"
6761
6761
  })]
6762
6762
  }), f(D3, {
@@ -6801,7 +6801,7 @@ const F3 = mB, gB = Ax, D3 = Mx, Nx = ({ icon: t, title: e, children: n }) => {
6801
6801
  return l && (g = setTimeout(() => c(!1), 1e3)), () => {
6802
6802
  g && clearTimeout(g);
6803
6803
  };
6804
- }, [l]), f(gs, {
6804
+ }, [l]), f(vs, {
6805
6805
  ref: a,
6806
6806
  variant: r,
6807
6807
  size: s,
@@ -6830,7 +6830,7 @@ const F3 = mB, gB = Ax, D3 = Mx, Nx = ({ icon: t, title: e, children: n }) => {
6830
6830
  },
6831
6831
  children: f(Ve, {
6832
6832
  size: s === "sm" ? "sm" : "md",
6833
- icon: l ? Cs : Mf
6833
+ icon: l ? _s : Mf
6834
6834
  })
6835
6835
  }, l ? "check" : "copy")
6836
6836
  })
@@ -6884,7 +6884,7 @@ function bB({ src: t, alt: e, ...n }) {
6884
6884
  });
6885
6885
  }
6886
6886
  function CB({ children: t, ...e }) {
6887
- return f(rs, {
6887
+ return f(ss, {
6888
6888
  ...e,
6889
6889
  variant: "link",
6890
6890
  href: e.href,
@@ -6930,22 +6930,22 @@ var id = function(e) {
6930
6930
  return String.fromCharCode(e);
6931
6931
  }, C5 = function(e) {
6932
6932
  return String.fromCharCode(e);
6933
- }, b1, zs = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
6933
+ }, b1, js = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
6934
6934
  function Hc(t) {
6935
6935
  for (var e = "", n = 0, i = 0, r = 0, s = 0, o = 0, a = 0, l = 0, c = 0; c < t.length; )
6936
- n = t.charCodeAt(c++), s = n >> 2, i = t.charCodeAt(c++), o = (n & 3) << 4 | i >> 4, r = t.charCodeAt(c++), a = (i & 15) << 2 | r >> 6, l = r & 63, isNaN(i) ? a = l = 64 : isNaN(r) && (l = 64), e += zs.charAt(s) + zs.charAt(o) + zs.charAt(a) + zs.charAt(l);
6936
+ n = t.charCodeAt(c++), s = n >> 2, i = t.charCodeAt(c++), o = (n & 3) << 4 | i >> 4, r = t.charCodeAt(c++), a = (i & 15) << 2 | r >> 6, l = r & 63, isNaN(i) ? a = l = 64 : isNaN(r) && (l = 64), e += js.charAt(s) + js.charAt(o) + js.charAt(a) + js.charAt(l);
6937
6937
  return e;
6938
6938
  }
6939
- function xs(t) {
6939
+ function ks(t) {
6940
6940
  var e = "", n = 0, i = 0, r = 0, s = 0, o = 0, a = 0, l = 0;
6941
6941
  t = t.replace(/[^\w\+\/\=]/g, "");
6942
6942
  for (var c = 0; c < t.length; )
6943
- s = zs.indexOf(t.charAt(c++)), o = zs.indexOf(t.charAt(c++)), n = s << 2 | o >> 4, e += String.fromCharCode(n), a = zs.indexOf(t.charAt(c++)), i = (o & 15) << 4 | a >> 2, a !== 64 && (e += String.fromCharCode(i)), l = zs.indexOf(t.charAt(c++)), r = (a & 3) << 6 | l, l !== 64 && (e += String.fromCharCode(r));
6943
+ s = js.indexOf(t.charAt(c++)), o = js.indexOf(t.charAt(c++)), n = s << 2 | o >> 4, e += String.fromCharCode(n), a = js.indexOf(t.charAt(c++)), i = (o & 15) << 4 | a >> 2, a !== 64 && (e += String.fromCharCode(i)), l = js.indexOf(t.charAt(c++)), r = (a & 3) << 6 | l, l !== 64 && (e += String.fromCharCode(r));
6944
6944
  return e;
6945
6945
  }
6946
6946
  var yt = /* @__PURE__ */ (function() {
6947
6947
  return typeof Buffer < "u" && typeof process < "u" && typeof process.versions < "u" && !!process.versions.node;
6948
- })(), Ss = /* @__PURE__ */ (function() {
6948
+ })(), Es = /* @__PURE__ */ (function() {
6949
6949
  if (typeof Buffer < "u") {
6950
6950
  var t = !Buffer.from;
6951
6951
  if (!t) try {
@@ -6967,7 +6967,7 @@ function _5(t) {
6967
6967
  return yt ? Buffer.allocUnsafe ? Buffer.allocUnsafe(t) : new Buffer(t) : typeof Uint8Array < "u" ? new Uint8Array(t) : new Array(t);
6968
6968
  }
6969
6969
  var sr = function(e) {
6970
- return yt ? Ss(e, "binary") : e.split("").map(function(n) {
6970
+ return yt ? Es(e, "binary") : e.split("").map(function(n) {
6971
6971
  return n.charCodeAt(0) & 255;
6972
6972
  });
6973
6973
  };
@@ -6989,7 +6989,7 @@ function MB(t) {
6989
6989
  }
6990
6990
  var Nn = yt ? function(t) {
6991
6991
  return Buffer.concat(t.map(function(e) {
6992
- return Buffer.isBuffer(e) ? e : Ss(e);
6992
+ return Buffer.isBuffer(e) ? e : Es(e);
6993
6993
  }));
6994
6994
  } : function(t) {
6995
6995
  if (typeof Uint8Array < "u") {
@@ -7246,7 +7246,7 @@ function t2(t, e) {
7246
7246
  return "";
7247
7247
  case "object":
7248
7248
  if (t == null) return "";
7249
- if (t instanceof Date) return io(14, Ix(t, e && e.date1904), e);
7249
+ if (t instanceof Date) return ro(14, Ix(t, e && e.date1904), e);
7250
7250
  }
7251
7251
  throw new Error("unsupported value in General format: " + t);
7252
7252
  }
@@ -7357,7 +7357,7 @@ function jB(t, e, n, i) {
7357
7357
  var d = c > 0 ? cr(l, c) : "";
7358
7358
  return d;
7359
7359
  }
7360
- function js(t) {
7360
+ function Ws(t) {
7361
7361
  var e = 3;
7362
7362
  if (t.length <= e) return t;
7363
7363
  for (var n = t.length % e, i = t.substr(0, n); n != t.length; n += e) i += (i.length > 0 ? "," : "") + t.substr(n, e);
@@ -7366,11 +7366,11 @@ function js(t) {
7366
7366
  var Rx = /%/g;
7367
7367
  function WB(t, e, n) {
7368
7368
  var i = e.replace(Rx, ""), r = e.length - i.length;
7369
- return ls(t, i, n * Math.pow(10, 2 * r)) + Zt("%", r);
7369
+ return cs(t, i, n * Math.pow(10, 2 * r)) + Zt("%", r);
7370
7370
  }
7371
7371
  function UB(t, e, n) {
7372
7372
  for (var i = e.length - 1; e.charCodeAt(i - 1) === 44; ) --i;
7373
- return ls(t, e.substr(0, i), n / Math.pow(10, 3 * (e.length - i)));
7373
+ return cs(t, e.substr(0, i), n / Math.pow(10, 3 * (e.length - i)));
7374
7374
  }
7375
7375
  function Px(t, e) {
7376
7376
  var n, i = t.indexOf("E") - t.indexOf(".") - 1;
@@ -7454,9 +7454,9 @@ function Pi(t, e, n) {
7454
7454
  }), e.indexOf("0.") !== -1 ? r : r.replace(/^0\./, ".");
7455
7455
  if (e = e.replace(/^#+([0.])/, "$1"), s = e.match(/^(0*)\.(#*)$/))
7456
7456
  return c + T5(l, s[2].length).replace(/\.(\d*[1-9])0*$/, ".$1").replace(/^(-?\d*)$/, "$1.").replace(/^0\./, s[1].length ? "0." : ".");
7457
- if (s = e.match(/^#{1,3},##0(\.?)$/)) return c + js(ka(l, 0));
7457
+ if (s = e.match(/^#{1,3},##0(\.?)$/)) return c + Ws(ka(l, 0));
7458
7458
  if (s = e.match(/^#,##0\.([#0]*0)$/))
7459
- return n < 0 ? "-" + Pi(t, e, -n) : js("" + (Math.floor(n) + KB(n, s[1].length))) + "." + cr(A5(n, s[1].length), s[1].length);
7459
+ return n < 0 ? "-" + Pi(t, e, -n) : Ws("" + (Math.floor(n) + KB(n, s[1].length))) + "." + cr(A5(n, s[1].length), s[1].length);
7460
7460
  if (s = e.match(/^#,#*,#0/)) return Pi(t, e.replace(/^#,#*,/, ""), n);
7461
7461
  if (s = e.match(/^([0#]+)(\\?-([0#]+))+$/))
7462
7462
  return r = Va(Pi(t, e.replace(/[\\-]/g, ""), n)), o = 0, Va(Va(e.replace(/\\/g, "")).replace(/[0#]/g, function(m) {
@@ -7470,7 +7470,7 @@ function Pi(t, e, n) {
7470
7470
  /*::String(*/
7471
7471
  s[4].length,
7472
7472
  7
7473
- ), a = S1(l, Math.pow(10, o) - 1, !1), r = "" + c, d = ls(
7473
+ ), a = S1(l, Math.pow(10, o) - 1, !1), r = "" + c, d = cs(
7474
7474
  "n",
7475
7475
  /*::String(*/
7476
7476
  s[1],
@@ -7488,7 +7488,7 @@ function Pi(t, e, n) {
7488
7488
  return Gn(e.substr(0, u) + r + e.substr(e.length - h));
7489
7489
  }
7490
7490
  if (s = e.match(/^00,000\.([#0]*0)$/))
7491
- return o = A5(n, s[1].length), n < 0 ? "-" + Pi(t, e, -n) : js(ZB(n)).replace(/^\d,\d{3}$/, "0$&").replace(/^\d*$/, function(m) {
7491
+ return o = A5(n, s[1].length), n < 0 ? "-" + Pi(t, e, -n) : Ws(ZB(n)).replace(/^\d,\d{3}$/, "0$&").replace(/^\d*$/, function(m) {
7492
7492
  return "00," + (m.length < 3 ? cr(0, 3 - m.length) : "") + m;
7493
7493
  }) + "." + cr(o, s[1].length);
7494
7494
  switch (e) {
@@ -7497,7 +7497,7 @@ function Pi(t, e, n) {
7497
7497
  case "###,###":
7498
7498
  case "##,###":
7499
7499
  case "#,###":
7500
- var p = js(ka(l, 0));
7500
+ var p = Ws(ka(l, 0));
7501
7501
  return p !== "0" ? c + p : "";
7502
7502
  case "###,###.00":
7503
7503
  return Pi(t, "###,##0.00", n).replace(/^0\./, ".");
@@ -7508,11 +7508,11 @@ function Pi(t, e, n) {
7508
7508
  }
7509
7509
  function JB(t, e, n) {
7510
7510
  for (var i = e.length - 1; e.charCodeAt(i - 1) === 44; ) --i;
7511
- return ls(t, e.substr(0, i), n / Math.pow(10, 3 * (e.length - i)));
7511
+ return cs(t, e.substr(0, i), n / Math.pow(10, 3 * (e.length - i)));
7512
7512
  }
7513
7513
  function XB(t, e, n) {
7514
7514
  var i = e.replace(Rx, ""), r = e.length - i.length;
7515
- return ls(t, i, n * Math.pow(10, 2 * r)) + Zt("%", r);
7515
+ return cs(t, i, n * Math.pow(10, 2 * r)) + Zt("%", r);
7516
7516
  }
7517
7517
  function zx(t, e) {
7518
7518
  var n, i = t.indexOf("E") - t.indexOf(".") - 1;
@@ -7553,9 +7553,9 @@ function _r(t, e, n) {
7553
7553
  }), e.indexOf("0.") !== -1 ? r : r.replace(/^0\./, ".");
7554
7554
  if (e = e.replace(/^#+([0.])/, "$1"), s = e.match(/^(0*)\.(#*)$/))
7555
7555
  return c + ("" + l).replace(/\.(\d*[1-9])0*$/, ".$1").replace(/^(-?\d*)$/, "$1.").replace(/^0\./, s[1].length ? "0." : ".");
7556
- if (s = e.match(/^#{1,3},##0(\.?)$/)) return c + js("" + l);
7556
+ if (s = e.match(/^#{1,3},##0(\.?)$/)) return c + Ws("" + l);
7557
7557
  if (s = e.match(/^#,##0\.([#0]*0)$/))
7558
- return n < 0 ? "-" + _r(t, e, -n) : js("" + n) + "." + Zt("0", s[1].length);
7558
+ return n < 0 ? "-" + _r(t, e, -n) : Ws("" + n) + "." + Zt("0", s[1].length);
7559
7559
  if (s = e.match(/^#,#*,#0/)) return _r(t, e.replace(/^#,#*,/, ""), n);
7560
7560
  if (s = e.match(/^([0#]+)(\\?-([0#]+))+$/))
7561
7561
  return r = Va(_r(t, e.replace(/[\\-]/g, ""), n)), o = 0, Va(Va(e.replace(/\\/g, "")).replace(/[0#]/g, function(m) {
@@ -7569,7 +7569,7 @@ function _r(t, e, n) {
7569
7569
  /*::String(*/
7570
7570
  s[4].length,
7571
7571
  7
7572
- ), a = S1(l, Math.pow(10, o) - 1, !1), r = "" + c, d = ls(
7572
+ ), a = S1(l, Math.pow(10, o) - 1, !1), r = "" + c, d = cs(
7573
7573
  "n",
7574
7574
  /*::String(*/
7575
7575
  s[1],
@@ -7587,21 +7587,21 @@ function _r(t, e, n) {
7587
7587
  return Gn(e.substr(0, u) + r + e.substr(e.length - h));
7588
7588
  }
7589
7589
  if (s = e.match(/^00,000\.([#0]*0)$/))
7590
- return n < 0 ? "-" + _r(t, e, -n) : js("" + n).replace(/^\d,\d{3}$/, "0$&").replace(/^\d*$/, function(m) {
7590
+ return n < 0 ? "-" + _r(t, e, -n) : Ws("" + n).replace(/^\d,\d{3}$/, "0$&").replace(/^\d*$/, function(m) {
7591
7591
  return "00," + (m.length < 3 ? cr(0, 3 - m.length) : "") + m;
7592
7592
  }) + "." + cr(0, s[1].length);
7593
7593
  switch (e) {
7594
7594
  case "###,###":
7595
7595
  case "##,###":
7596
7596
  case "#,###":
7597
- var p = js("" + l);
7597
+ var p = Ws("" + l);
7598
7598
  return p !== "0" ? c + p : "";
7599
7599
  default:
7600
7600
  if (e.match(/\.[0#?]*$/)) return _r(t, e.slice(0, e.lastIndexOf(".")), n) + Gn(e.slice(e.lastIndexOf(".")));
7601
7601
  }
7602
7602
  throw new Error("unsupported format |" + e + "|");
7603
7603
  }
7604
- function ls(t, e, n) {
7604
+ function cs(t, e, n) {
7605
7605
  return (n | 0) === n ? _r(t, e, n) : Pi(t, e, n);
7606
7606
  }
7607
7607
  function YB(t) {
@@ -7899,7 +7899,7 @@ function QB(t, e, n, i) {
7899
7899
  }
7900
7900
  var _ = "", C, S;
7901
7901
  if (k.length > 0) {
7902
- k.charCodeAt(0) == 40 ? (C = e < 0 && k.charCodeAt(0) === 45 ? -e : e, S = ls("n", k, C)) : (C = e < 0 && i > 1 ? -e : e, S = ls("n", k, C), C < 0 && r[0] && r[0].t == "t" && (S = S.substr(1), r[0].v = "-" + r[0].v)), w = S.length - 1;
7902
+ k.charCodeAt(0) == 40 ? (C = e < 0 && k.charCodeAt(0) === 45 ? -e : e, S = cs("n", k, C)) : (C = e < 0 && i > 1 ? -e : e, S = cs("n", k, C), C < 0 && r[0] && r[0].t == "t" && (S = S.substr(1), r[0].v = "-" + r[0].v)), w = S.length - 1;
7903
7903
  var M = r.length;
7904
7904
  for (o = 0; o < r.length; ++o) if (r[o] != null && r[o].t != "t" && r[o].v.indexOf(".") > -1) {
7905
7905
  M = o;
@@ -7925,7 +7925,7 @@ function QB(t, e, n, i) {
7925
7925
  }
7926
7926
  }
7927
7927
  }
7928
- for (o = 0; o < r.length; ++o) r[o] != null && "n?".indexOf(r[o].t) > -1 && (C = i > 1 && e < 0 && o > 0 && r[o - 1].v === "-" ? -e : e, r[o].v = ls(r[o].t, r[o].v, C), r[o].t = "t");
7928
+ for (o = 0; o < r.length; ++o) r[o] != null && "n?".indexOf(r[o].t) > -1 && (C = i > 1 && e < 0 && o > 0 && r[o - 1].v === "-" ? -e : e, r[o].v = cs(r[o].t, r[o].v, C), r[o].t = "t");
7929
7929
  var L = "";
7930
7930
  for (o = 0; o !== r.length; ++o) r[o] != null && (L += r[o].v);
7931
7931
  return L;
@@ -7979,7 +7979,7 @@ function eH(t, e) {
7979
7979
  }
7980
7980
  return [i, s];
7981
7981
  }
7982
- function io(t, e, n) {
7982
+ function ro(t, e, n) {
7983
7983
  n == null && (n = {});
7984
7984
  var i = "";
7985
7985
  switch (typeof t) {
@@ -8231,7 +8231,7 @@ var iH = /* @__PURE__ */ (function() {
8231
8231
  }
8232
8232
  function g(A, R, O) {
8233
8233
  for (var F = A.start, B = A.size, z = [], ee = F; O && B > 0 && ee >= 0; )
8234
- z.push(R.slice(ee * T, ee * T + T)), B -= T, ee = Eo(O, ee * 4);
8234
+ z.push(R.slice(ee * T, ee * T + T)), B -= T, ee = Lo(O, ee * 4);
8235
8235
  return z.length === 0 ? oe(0) : Nn(z).slice(0, A.size);
8236
8236
  }
8237
8237
  function v(A, R, O, F, B) {
@@ -8241,9 +8241,9 @@ var iH = /* @__PURE__ */ (function() {
8241
8241
  } else if (A !== -1) {
8242
8242
  var ee = O[A], ce = (F >>> 2) - 1;
8243
8243
  if (!ee) return;
8244
- for (var Q = 0; Q < ce && (z = Eo(ee, Q * 4)) !== I; ++Q)
8244
+ for (var Q = 0; Q < ce && (z = Lo(ee, Q * 4)) !== I; ++Q)
8245
8245
  B.push(z);
8246
- v(Eo(ee, F - 4), R - 1, O, F, B);
8246
+ v(Lo(ee, F - 4), R - 1, O, F, B);
8247
8247
  }
8248
8248
  }
8249
8249
  function y(A, R, O, F, B) {
@@ -8255,7 +8255,7 @@ var iH = /* @__PURE__ */ (function() {
8255
8255
  var ne = O[Math.floor(Q * 4 / F)];
8256
8256
  if (te = Q * 4 & ce, F < 4 + te) throw new Error("FAT boundary crossed: " + Q + " 4 " + F);
8257
8257
  if (!A[ne]) break;
8258
- Q = Eo(A[ne], te);
8258
+ Q = Lo(A[ne], te);
8259
8259
  }
8260
8260
  return { nodes: z, data: H5([ee]) };
8261
8261
  }
@@ -8269,7 +8269,7 @@ var iH = /* @__PURE__ */ (function() {
8269
8269
  Me[be] = !0, ee[be] = !0, ce[ce.length] = be, Q.push(A[be]);
8270
8270
  var $e = O[Math.floor(be * 4 / F)];
8271
8271
  if (We = be * 4 & te, F < 4 + We) throw new Error("FAT boundary crossed: " + be + " 4 " + F);
8272
- if (!A[$e] || (be = Eo(A[$e], We), Me[be])) break;
8272
+ if (!A[$e] || (be = Lo(A[$e], We), Me[be])) break;
8273
8273
  }
8274
8274
  z[Pe] = { nodes: ce, data: H5([Q]) };
8275
8275
  }
@@ -8311,7 +8311,7 @@ var iH = /* @__PURE__ */ (function() {
8311
8311
  case "file":
8312
8312
  return _(A, R);
8313
8313
  case "base64":
8314
- return d(sr(xs(A)), R);
8314
+ return d(sr(ks(A)), R);
8315
8315
  case "binary":
8316
8316
  return d(sr(A), R);
8317
8317
  }
@@ -8396,8 +8396,8 @@ var iH = /* @__PURE__ */ (function() {
8396
8396
  qt > 0 && (qt < 4096 ? Me += qt + 63 >> 6 : $e += qt + 511 >> 9);
8397
8397
  }
8398
8398
  }
8399
- for (var In = We.FullPaths.length + 3 >> 2, jl = Me + 7 >> 3, Wl = Me + 127 >> 7, Ul = jl + $e + In + Wl, bo = Ul + 127 >> 7, gh = bo <= 109 ? 0 : Math.ceil((bo - 109) / 127); Ul + bo + gh + 127 >> 7 > bo; ) gh = ++bo <= 109 ? 0 : Math.ceil((bo - 109) / 127);
8400
- var Ur = [1, gh, bo, Wl, In, $e, Me, 0];
8399
+ for (var In = We.FullPaths.length + 3 >> 2, jl = Me + 7 >> 3, Wl = Me + 127 >> 7, Ul = jl + $e + In + Wl, Co = Ul + 127 >> 7, gh = Co <= 109 ? 0 : Math.ceil((Co - 109) / 127); Ul + Co + gh + 127 >> 7 > Co; ) gh = ++Co <= 109 ? 0 : Math.ceil((Co - 109) / 127);
8400
+ var Ur = [1, gh, Co, Wl, In, $e, Me, 0];
8401
8401
  return We.FileIndex[0].size = Me << 6, Ur[7] = (We.FileIndex[0].start = Ur[0] + Ur[1] + Ur[2] + Ur[3] + Ur[4] + Ur[5]) + (Ur[6] + 7 >> 3), Ur;
8402
8402
  })(A), B = oe(F[7] << 9), z = 0, ee = 0;
8403
8403
  {
@@ -8510,7 +8510,7 @@ var iH = /* @__PURE__ */ (function() {
8510
8510
  case "base64":
8511
8511
  return Hc(typeof O == "string" ? O : Te(O));
8512
8512
  case "buffer":
8513
- if (yt) return Buffer.isBuffer(O) ? O : Ss(O);
8513
+ if (yt) return Buffer.isBuffer(O) ? O : Es(O);
8514
8514
  /* falls through */
8515
8515
  case "array":
8516
8516
  return typeof O == "string" ? sr(O) : O;
@@ -8638,7 +8638,7 @@ var iH = /* @__PURE__ */ (function() {
8638
8638
  for (; R <= 287; R++) O.push(8);
8639
8639
  Ze(O, Ct, 288);
8640
8640
  })();
8641
- var ko = /* @__PURE__ */ (function() {
8641
+ var wo = /* @__PURE__ */ (function() {
8642
8642
  for (var R = he ? new Uint8Array(32768) : [], O = 0, F = 0; O < Y.length - 1; ++O)
8643
8643
  for (; F < Y[O + 1]; ++F) R[F] = O;
8644
8644
  for (; F < 32768; ++F) R[F] = 29;
@@ -8691,7 +8691,7 @@ var iH = /* @__PURE__ */ (function() {
8691
8691
  };
8692
8692
  })();
8693
8693
  function tr(A) {
8694
- var R = oe(50 + Math.floor(A.length * 1.1)), O = ko(A, R);
8694
+ var R = oe(50 + Math.floor(A.length * 1.1)), O = wo(A, R);
8695
8695
  return R.slice(0, O);
8696
8696
  }
8697
8697
  var nr = he ? new Uint16Array(32768) : He(32768), wr = he ? new Uint16Array(32768) : He(32768), Wr = he ? new Uint16Array(128) : He(128), se = 1, ze = 1;
@@ -8903,7 +8903,7 @@ var iH = /* @__PURE__ */ (function() {
8903
8903
  return O.join(`\r
8904
8904
  `);
8905
8905
  }
8906
- function wo(A) {
8906
+ function bo(A) {
8907
8907
  for (var R = [], O = 0; O < A.length; ++O) {
8908
8908
  for (var F = A[O]; O <= A.length && F.charAt(F.length - 1) == "="; ) F = F.slice(0, F.length - 1) + A[++O];
8909
8909
  R.push(F);
@@ -8933,10 +8933,10 @@ var iH = /* @__PURE__ */ (function() {
8933
8933
  }
8934
8934
  switch (++ce, B.toLowerCase()) {
8935
8935
  case "base64":
8936
- ee = sr(xs(R.slice(ce).join("")));
8936
+ ee = sr(ks(R.slice(ce).join("")));
8937
8937
  break;
8938
8938
  case "quoted-printable":
8939
- ee = wo(R.slice(ce));
8939
+ ee = bo(R.slice(ce));
8940
8940
  break;
8941
8941
  default:
8942
8942
  throw new Error("Unsupported Content-Transfer-Encoding " + B);
@@ -9183,7 +9183,7 @@ function Zt(t, e) {
9183
9183
  for (var n = ""; n.length < e; ) n += t;
9184
9184
  return n;
9185
9185
  }
9186
- function cs(t) {
9186
+ function fs(t) {
9187
9187
  var e = Number(t);
9188
9188
  if (!isNaN(e)) return isFinite(e) ? e : NaN;
9189
9189
  if (!/\d/.test(t)) return e;
@@ -9208,7 +9208,7 @@ function lt(t, e, n) {
9208
9208
  if (t.FullPaths) {
9209
9209
  if (typeof n == "string") {
9210
9210
  var i;
9211
- return yt ? i = Ss(n) : i = NB(n), Nt.utils.cfb_add(t, e, i);
9211
+ return yt ? i = Es(n) : i = NB(n), Nt.utils.cfb_add(t, e, i);
9212
9212
  }
9213
9213
  Nt.utils.cfb_add(t, e, n);
9214
9214
  } else t.file(e, n);
@@ -9293,10 +9293,10 @@ function R5(t) {
9293
9293
  return e.slice(0, s).toString("ucs2");
9294
9294
  }
9295
9295
  function P5(t) {
9296
- return Ss(t, "binary").toString("utf8");
9296
+ return Es(t, "binary").toString("utf8");
9297
9297
  }
9298
9298
  var od = "foo bar baz☃🍣", ac = yt && (/* @__PURE__ */ P5(od) == /* @__PURE__ */ Sh(od) && P5 || /* @__PURE__ */ R5(od) == /* @__PURE__ */ Sh(od) && R5) || Sh, Vc = yt ? function(t) {
9299
- return Ss(t, "utf8").toString("binary");
9299
+ return Es(t, "utf8").toString("binary");
9300
9300
  } : function(t) {
9301
9301
  for (var e = [], n = 0, i = 0, r = 0; n < t.length; )
9302
9302
  switch (i = t.charCodeAt(n++), !0) {
@@ -9406,7 +9406,7 @@ var B5 = function(t) {
9406
9406
  return e;
9407
9407
  }, H5 = yt ? function(t) {
9408
9408
  return t[0].length > 0 && Buffer.isBuffer(t[0][0]) ? Buffer.concat(t[0].map(function(e) {
9409
- return Buffer.isBuffer(e) ? e : Ss(e);
9409
+ return Buffer.isBuffer(e) ? e : Es(e);
9410
9410
  })) : B5(t);
9411
9411
  } : B5, $5 = function(t, e, n) {
9412
9412
  for (var i = [], r = e; r < n; r += 2) i.push(String.fromCharCode(tc(t, r)));
@@ -9477,7 +9477,7 @@ var Aa = function(t, e) {
9477
9477
  return n < 32768 ? n : (65535 - n + 1) * -1;
9478
9478
  }, Ci = function(t, e) {
9479
9479
  return t[e + 3] * (1 << 24) + (t[e + 2] << 16) + (t[e + 1] << 8) + t[e];
9480
- }, Eo = function(t, e) {
9480
+ }, Lo = function(t, e) {
9481
9481
  return t[e + 3] << 24 | t[e + 2] << 16 | t[e + 1] << 8 | t[e];
9482
9482
  }, kH = function(t, e) {
9483
9483
  return t[e] << 24 | t[e + 1] << 16 | t[e + 2] << 8 | t[e + 3];
@@ -9554,7 +9554,7 @@ function lc(t, e) {
9554
9554
  return i = (e === "i" ? xH : tc)(this, this.l), this.l += 2, i;
9555
9555
  case 4:
9556
9556
  case -4:
9557
- return e === "i" || (this[this.l + 3] & 128) === 0 ? (i = (t > 0 ? Eo : kH)(this, this.l), this.l += 4, i) : (r = Ci(this, this.l), this.l += 4, r);
9557
+ return e === "i" || (this[this.l + 3] & 128) === 0 ? (i = (t > 0 ? Lo : kH)(this, this.l), this.l += 4, i) : (r = Ci(this, this.l), this.l += 4, r);
9558
9558
  case 8:
9559
9559
  case -8:
9560
9560
  if (e === "f")
@@ -9759,16 +9759,16 @@ function Vt(t) {
9759
9759
  function W5(t, e) {
9760
9760
  var n = t.t == "d" && e instanceof Date;
9761
9761
  if (t.z != null) try {
9762
- return t.w = io(t.z, n ? pi(e) : e);
9762
+ return t.w = ro(t.z, n ? pi(e) : e);
9763
9763
  } catch {
9764
9764
  }
9765
9765
  try {
9766
- return t.w = io((t.XF || {}).numFmtId || (n ? 14 : 0), n ? pi(e) : e);
9766
+ return t.w = ro((t.XF || {}).numFmtId || (n ? 14 : 0), n ? pi(e) : e);
9767
9767
  } catch {
9768
9768
  return "" + e;
9769
9769
  }
9770
9770
  }
9771
- function ks(t, e, n) {
9771
+ function ws(t, e, n) {
9772
9772
  return t == null || t.t == null || t.t == "z" ? "" : t.w !== void 0 ? t.w : (t.t == "d" && !t.z && n && n.dateNF && (t.z = n.dateNF), t.t == "e" ? Pf[t.v] || t.v : e == null ? W5(t, t.v) : W5(t, e));
9773
9773
  }
9774
9774
  function fa(t, e) {
@@ -9803,7 +9803,7 @@ function dk(t, e, n) {
9803
9803
  p.t = "e", p.v = 0;
9804
9804
  else if (i.sheetStubs) p.t = "z";
9805
9805
  else continue;
9806
- else typeof p.v == "number" ? p.t = "n" : typeof p.v == "boolean" ? p.t = "b" : p.v instanceof Date ? (p.z = i.dateNF || Yt[14], i.cellDates ? (p.t = "d", p.w = io(p.z, pi(p.v))) : (p.t = "n", p.v = pi(p.v), p.w = io(p.z, p.v))) : p.t = "s";
9806
+ else typeof p.v == "number" ? p.t = "n" : typeof p.v == "boolean" ? p.t = "b" : p.v instanceof Date ? (p.z = i.dateNF || Yt[14], i.cellDates ? (p.t = "d", p.w = ro(p.z, pi(p.v))) : (p.t = "n", p.v = pi(p.v), p.w = ro(p.z, p.v))) : p.t = "s";
9807
9807
  if (r)
9808
9808
  s[m] || (s[m] = []), s[m][g] && s[m][g].z && (p.z = s[m][g].z), s[m][g] = p;
9809
9809
  else {
@@ -9881,7 +9881,7 @@ var PH = zn, i2 = G3, K3 = T1;
9881
9881
  function hk(t) {
9882
9882
  var e = t.slice(t.l, t.l + 4), n = e[0] & 1, i = e[0] & 2;
9883
9883
  t.l += 4;
9884
- var r = i === 0 ? L1([0, 0, 0, 0, e[0] & 252, e[1], e[2], e[3]], 0) : Eo(e, 0) >> 2;
9884
+ var r = i === 0 ? L1([0, 0, 0, 0, e[0] & 252, e[1], e[2], e[3]], 0) : Lo(e, 0) >> 2;
9885
9885
  return n ? r / 100 : r;
9886
9886
  }
9887
9887
  function pk(t, e) {
@@ -11254,7 +11254,7 @@ var R$ = /* @__PURE__ */ (function() {
11254
11254
  var c = [], d = Go(1);
11255
11255
  switch (l.type) {
11256
11256
  case "base64":
11257
- d = sr(xs(a));
11257
+ d = sr(ks(a));
11258
11258
  break;
11259
11259
  case "binary":
11260
11260
  d = sr(a);
@@ -11651,7 +11651,7 @@ var R$ = /* @__PURE__ */ (function() {
11651
11651
  function r(h, p) {
11652
11652
  switch (p.type) {
11653
11653
  case "base64":
11654
- return s(xs(h), p);
11654
+ return s(ks(h), p);
11655
11655
  case "binary":
11656
11656
  return s(h, p);
11657
11657
  case "buffer":
@@ -11700,7 +11700,7 @@ var R$ = /* @__PURE__ */ (function() {
11700
11700
  for (g = parseInt(I[b].slice(1)) - 1, re || (v = 0), N = k.length; N <= g; ++N) k[N] = [];
11701
11701
  break;
11702
11702
  case "K":
11703
- q = I[b].slice(1), q.charAt(0) === '"' ? q = q.slice(1, q.length - 1) : q === "TRUE" ? q = !0 : q === "FALSE" ? q = !1 : isNaN(cs(q)) ? isNaN($c(q).getDate()) || (q = Jn(q)) : (q = cs(q), _ !== null && Wx(_) && (q = Kx(q))), K = !0;
11703
+ q = I[b].slice(1), q.charAt(0) === '"' ? q = q.slice(1, q.length - 1) : q === "TRUE" ? q = !0 : q === "FALSE" ? q = !1 : isNaN(fs(q)) ? isNaN($c(q).getDate()) || (q = Jn(q)) : (q = fs(q), _ !== null && Wx(_) && (q = Kx(q))), K = !0;
11704
11704
  break;
11705
11705
  case "E":
11706
11706
  Te = !0;
@@ -11842,7 +11842,7 @@ var R$ = /* @__PURE__ */ (function() {
11842
11842
  function t(s, o) {
11843
11843
  switch (o.type) {
11844
11844
  case "base64":
11845
- return e(xs(s), o);
11845
+ return e(ks(s), o);
11846
11846
  case "binary":
11847
11847
  return e(s, o);
11848
11848
  case "buffer":
@@ -11872,7 +11872,7 @@ var R$ = /* @__PURE__ */ (function() {
11872
11872
  } else if (g !== "EOD") throw new Error("Unrecognized DIF special command " + g);
11873
11873
  break;
11874
11874
  case 0:
11875
- g === "TRUE" ? u[l][c] = !0 : g === "FALSE" ? u[l][c] = !1 : isNaN(cs(m)) ? isNaN($c(m).getDate()) ? u[l][c] = m : u[l][c] = Jn(m) : u[l][c] = cs(m), ++c;
11875
+ g === "TRUE" ? u[l][c] = !0 : g === "FALSE" ? u[l][c] = !1 : isNaN(fs(m)) ? isNaN($c(m).getDate()) ? u[l][c] = m : u[l][c] = Jn(m) : u[l][c] = fs(m), ++c;
11876
11876
  break;
11877
11877
  case 1:
11878
11878
  g = g.slice(1, g.length - 1), g = g.replace(/""/g, '"'), g && g.match(/^=".*"$/) && (g = g.slice(2, -1)), u[l][c++] = g !== "" ? g : null;
@@ -11918,7 +11918,7 @@ var R$ = /* @__PURE__ */ (function() {
11918
11918
  o(c, 1, 0, isNaN(u.v) ? u.v : '="' + u.v + '"');
11919
11919
  break;
11920
11920
  case "d":
11921
- u.w || (u.w = io(u.z || Yt[14], pi(Jn(u.v)))), o(c, 0, u.w, "V");
11921
+ u.w || (u.w = ro(u.z || Yt[14], pi(Jn(u.v)))), o(c, 0, u.w, "V");
11922
11922
  break;
11923
11923
  default:
11924
11924
  o(c, 1, 0, "");
@@ -12007,7 +12007,7 @@ var R$ = /* @__PURE__ */ (function() {
12007
12007
  break;
12008
12008
  case "d":
12009
12009
  var w = pi(Jn(m.v));
12010
- p[2] = "vtc", p[3] = "nd", p[4] = "" + w, p[5] = m.w || io(m.z || Yt[14], w);
12010
+ p[2] = "vtc", p[3] = "nd", p[4] = "" + w, p[5] = m.w || ro(m.z || Yt[14], w);
12011
12011
  break;
12012
12012
  case "e":
12013
12013
  continue;
@@ -12028,7 +12028,7 @@ var R$ = /* @__PURE__ */ (function() {
12028
12028
  };
12029
12029
  })(), H$ = /* @__PURE__ */ (function() {
12030
12030
  function t(d, u, h, p, m) {
12031
- m.raw ? u[h][p] = d : d === "" || (d === "TRUE" ? u[h][p] = !0 : d === "FALSE" ? u[h][p] = !1 : isNaN(cs(d)) ? isNaN($c(d).getDate()) ? u[h][p] = d : u[h][p] = Jn(d) : u[h][p] = cs(d));
12031
+ m.raw ? u[h][p] = d : d === "" || (d === "TRUE" ? u[h][p] = !0 : d === "FALSE" ? u[h][p] = !1 : isNaN(fs(d)) ? isNaN($c(d).getDate()) ? u[h][p] = d : u[h][p] = Jn(d) : u[h][p] = fs(d));
12032
12032
  }
12033
12033
  function e(d, u) {
12034
12034
  var h = u || {}, p = [];
@@ -12096,12 +12096,12 @@ var R$ = /* @__PURE__ */ (function() {
12096
12096
  T.t = "b", T.v = !0;
12097
12097
  else if (N == "FALSE")
12098
12098
  T.t = "b", T.v = !1;
12099
- else if (!isNaN(b = cs(N)))
12099
+ else if (!isNaN(b = fs(N)))
12100
12100
  T.t = "n", h.cellText !== !1 && (T.w = N), T.v = b;
12101
12101
  else if (!isNaN($c(N).getDate()) || E && N.match(E)) {
12102
12102
  T.z = h.dateNF || Yt[14];
12103
12103
  var I = 0;
12104
- E && N.match(E) && (N = nH(N, h.dateNF, N.match(E) || []), I = 1), h.cellDates ? (T.t = "d", T.v = Jn(N, I)) : (T.t = "n", T.v = pi(Jn(N, I))), h.cellText !== !1 && (T.w = io(T.z, T.v instanceof Date ? pi(T.v) : T.v)), h.cellNF || delete T.z;
12104
+ E && N.match(E) && (N = nH(N, h.dateNF, N.match(E) || []), I = 1), h.cellDates ? (T.t = "d", T.v = Jn(N, I)) : (T.t = "n", T.v = pi(Jn(N, I))), h.cellText !== !1 && (T.w = ro(T.z, T.v instanceof Date ? pi(T.v) : T.v)), h.cellNF || delete T.z;
12105
12105
  } else
12106
12106
  T.t = "s", T.v = N;
12107
12107
  if (T.t == "z" || (h.dense ? (m[v] || (m[v] = []), m[v][y] = T) : m[At({ c: y, r: v })] = T), k = w + 1, M = d.charCodeAt(k), g.e.c < y && (g.e.c = y), g.e.r < v && (g.e.r = v), S == _) ++y;
@@ -12126,7 +12126,7 @@ var R$ = /* @__PURE__ */ (function() {
12126
12126
  var h = "", p = u.type == "string" ? [0, 0, 0, 0] : XU(d, u);
12127
12127
  switch (u.type) {
12128
12128
  case "base64":
12129
- h = xs(d);
12129
+ h = ks(d);
12130
12130
  break;
12131
12131
  case "binary":
12132
12132
  h = d;
@@ -12156,7 +12156,7 @@ var R$ = /* @__PURE__ */ (function() {
12156
12156
  v.push(" ");
12157
12157
  continue;
12158
12158
  }
12159
- for (var k = (p.w || (ks(p), p.w) || "").slice(0, 10); k.length < 10; ) k += " ";
12159
+ for (var k = (p.w || (ws(p), p.w) || "").slice(0, 10); k.length < 10; ) k += " ";
12160
12160
  v.push(k + (y === 0 ? " " : ""));
12161
12161
  }
12162
12162
  u.push(v.join(""));
@@ -12182,7 +12182,7 @@ var R$ = /* @__PURE__ */ (function() {
12182
12182
  function e(H, G) {
12183
12183
  switch (G.type) {
12184
12184
  case "base64":
12185
- return n(sr(xs(H)), G);
12185
+ return n(sr(ks(H)), G);
12186
12186
  case "binary":
12187
12187
  return n(sr(H), G);
12188
12188
  case "buffer":
@@ -12284,7 +12284,7 @@ var R$ = /* @__PURE__ */ (function() {
12284
12284
  if (Be.t == "n")
12285
12285
  (Be.v | 0) == Be.v && Be.v >= -32768 && Be.v <= 32767 ? Oe(P, 13, p(le, je, Be.v)) : Oe(P, 14, g(le, je, Be.v));
12286
12286
  else {
12287
- var mt = ks(Be);
12287
+ var mt = ws(Be);
12288
12288
  Oe(P, 15, u(le, je, mt.slice(0, 239)));
12289
12289
  }
12290
12290
  }
@@ -12308,7 +12308,7 @@ var R$ = /* @__PURE__ */ (function() {
12308
12308
  if (j.t == "n")
12309
12309
  Oe(P, 23, L(Be, nt, ae, j.v));
12310
12310
  else {
12311
- var Z = ks(j);
12311
+ var Z = ws(j);
12312
12312
  Oe(P, 22, S(Be, nt, ae, Z.slice(0, 239)));
12313
12313
  }
12314
12314
  }
@@ -13051,7 +13051,7 @@ var q$ = /* @__PURE__ */ (function() {
13051
13051
  function t(r, s) {
13052
13052
  switch (s.type) {
13053
13053
  case "base64":
13054
- return e(xs(r), s);
13054
+ return e(ks(r), s);
13055
13055
  case "binary":
13056
13056
  return e(r, s);
13057
13057
  case "buffer":
@@ -13091,7 +13091,7 @@ var q$ = /* @__PURE__ */ (function() {
13091
13091
  for (var d = o.s.c; d <= o.e.c; ++d) s.push("\\cellx" + (d + 1));
13092
13092
  for (s.push("\\pard\\intbl"), d = o.s.c; d <= o.e.c; ++d) {
13093
13093
  var u = At({ r: c, c: d });
13094
- a = l ? (r[c] || [])[d] : r[u], !(!a || a.v == null && (!a.f || a.F)) && (s.push(" " + (a.w || (ks(a), a.w))), s.push("\\cell"));
13094
+ a = l ? (r[c] || [])[d] : r[u], !(!a || a.v == null && (!a.f || a.F)) && (s.push(" " + (a.w || (ws(a), a.w))), s.push("\\cell"));
13095
13095
  }
13096
13096
  s.push("\\pard\\intbl\\row");
13097
13097
  }
@@ -13107,18 +13107,18 @@ function t6(t) {
13107
13107
  for (var e = 0, n = 1; e != 3; ++e) n = n * 256 + (t[e] > 255 ? 255 : t[e] < 0 ? 0 : t[e]);
13108
13108
  return n.toString(16).toUpperCase().slice(1);
13109
13109
  }
13110
- var G$ = 6, fs = G$;
13110
+ var G$ = 6, ds = G$;
13111
13111
  function N1(t) {
13112
- return Math.floor((t + Math.round(128 / fs) / 256) * fs);
13112
+ return Math.floor((t + Math.round(128 / ds) / 256) * ds);
13113
13113
  }
13114
13114
  function O1(t) {
13115
- return Math.floor((t - 5) / fs * 100 + 0.5) / 100;
13115
+ return Math.floor((t - 5) / ds * 100 + 0.5) / 100;
13116
13116
  }
13117
13117
  function r2(t) {
13118
- return Math.round((t * fs + 5) / fs * 256) / 256;
13118
+ return Math.round((t * ds + 5) / ds * 256) / 256;
13119
13119
  }
13120
13120
  function J3(t) {
13121
- t.width ? (t.wpx = N1(t.width), t.wch = O1(t.wpx), t.MDW = fs) : t.wpx ? (t.wch = O1(t.wpx), t.width = r2(t.wch), t.MDW = fs) : typeof t.wch == "number" && (t.width = r2(t.wch), t.wpx = N1(t.width), t.MDW = fs), t.customWidth && delete t.customWidth;
13121
+ t.width ? (t.wpx = N1(t.width), t.wch = O1(t.wpx), t.MDW = ds) : t.wpx ? (t.wch = O1(t.wpx), t.width = r2(t.wch), t.MDW = ds) : typeof t.wch == "number" && (t.width = r2(t.wch), t.wpx = N1(t.width), t.MDW = ds), t.customWidth && delete t.customWidth;
13122
13122
  }
13123
13123
  var K$ = 96, Dk = K$;
13124
13124
  function F1(t) {
@@ -13635,7 +13635,7 @@ function PV(t) {
13635
13635
  function sn(t) {
13636
13636
  t.l += 1;
13637
13637
  }
13638
- function ro(t, e) {
13638
+ function so(t, e) {
13639
13639
  var n = t.read_shift(2);
13640
13640
  return [n & 16383, n >> 14 & 1, n >> 15 & 1];
13641
13641
  }
@@ -13645,25 +13645,25 @@ function jk(t, e, n) {
13645
13645
  if (n.biff >= 2 && n.biff <= 5) return Wk(t);
13646
13646
  n.biff == 12 && (i = 4);
13647
13647
  }
13648
- var r = t.read_shift(i), s = t.read_shift(i), o = ro(t), a = ro(t);
13648
+ var r = t.read_shift(i), s = t.read_shift(i), o = so(t), a = so(t);
13649
13649
  return { s: { r, c: o[0], cRel: o[1], rRel: o[2] }, e: { r: s, c: a[0], cRel: a[1], rRel: a[2] } };
13650
13650
  }
13651
13651
  function Wk(t) {
13652
- var e = ro(t), n = ro(t), i = t.read_shift(1), r = t.read_shift(1);
13652
+ var e = so(t), n = so(t), i = t.read_shift(1), r = t.read_shift(1);
13653
13653
  return { s: { r: e[0], c: i, cRel: e[1], rRel: e[2] }, e: { r: n[0], c: r, cRel: n[1], rRel: n[2] } };
13654
13654
  }
13655
13655
  function BV(t, e, n) {
13656
13656
  if (n.biff < 8) return Wk(t);
13657
- var i = t.read_shift(n.biff == 12 ? 4 : 2), r = t.read_shift(n.biff == 12 ? 4 : 2), s = ro(t), o = ro(t);
13657
+ var i = t.read_shift(n.biff == 12 ? 4 : 2), r = t.read_shift(n.biff == 12 ? 4 : 2), s = so(t), o = so(t);
13658
13658
  return { s: { r: i, c: s[0], cRel: s[1], rRel: s[2] }, e: { r, c: o[0], cRel: o[1], rRel: o[2] } };
13659
13659
  }
13660
13660
  function Uk(t, e, n) {
13661
13661
  if (n && n.biff >= 2 && n.biff <= 5) return HV(t);
13662
- var i = t.read_shift(n && n.biff == 12 ? 4 : 2), r = ro(t);
13662
+ var i = t.read_shift(n && n.biff == 12 ? 4 : 2), r = so(t);
13663
13663
  return { r: i, c: r[0], cRel: r[1], rRel: r[2] };
13664
13664
  }
13665
13665
  function HV(t) {
13666
- var e = ro(t), n = t.read_shift(1);
13666
+ var e = so(t), n = t.read_shift(1);
13667
13667
  return { r: e[0], c: n, cRel: e[1], rRel: e[2] };
13668
13668
  }
13669
13669
  function $V(t) {
@@ -15784,7 +15784,7 @@ function e4(t, e, n) {
15784
15784
  }
15785
15785
  function w0(t, e) {
15786
15786
  var n = { min: t + 1, max: t + 1 }, i = -1;
15787
- return e.MDW && (fs = e.MDW), e.width != null ? n.customWidth = 1 : e.wpx != null ? i = O1(e.wpx) : e.wch != null && (i = e.wch), i > -1 ? (n.width = r2(i), n.customWidth = 1) : e.width != null && (n.width = e.width), e.hidden && (n.hidden = !0), e.level != null && (n.outlineLevel = n.level = e.level), n;
15787
+ return e.MDW && (ds = e.MDW), e.width != null ? n.customWidth = 1 : e.wpx != null ? i = O1(e.wpx) : e.wch != null && (i = e.wch), i > -1 ? (n.width = r2(i), n.customWidth = 1) : e.width != null && (n.width = e.width), e.hidden && (n.hidden = !0), e.level != null && (n.outlineLevel = n.level = e.level), n;
15788
15788
  }
15789
15789
  function Jk(t, e) {
15790
15790
  if (t) {
@@ -15792,7 +15792,7 @@ function Jk(t, e) {
15792
15792
  t.left == null && (t.left = n[0]), t.right == null && (t.right = n[1]), t.top == null && (t.top = n[2]), t.bottom == null && (t.bottom = n[3]), t.header == null && (t.header = n[4]), t.footer == null && (t.footer = n[5]);
15793
15793
  }
15794
15794
  }
15795
- function mo(t, e, n) {
15795
+ function go(t, e, n) {
15796
15796
  var i = n.revssf[e.z != null ? e.z : "General"], r = 60, s = t.length;
15797
15797
  if (i == null && n.ssf) {
15798
15798
  for (; r < 392; ++r) if (n.ssf[r] == null) {
@@ -15904,7 +15904,7 @@ function yj(t, e, n, i) {
15904
15904
  r = t.v;
15905
15905
  break;
15906
15906
  }
15907
- var a = On("v", Tt(r)), l = { r: e }, c = mo(i.cellXfs, t, i);
15907
+ var a = On("v", Tt(r)), l = { r: e }, c = go(i.cellXfs, t, i);
15908
15908
  switch (c !== 0 && (l.s = c), t.t) {
15909
15909
  case "n":
15910
15910
  break;
@@ -16302,7 +16302,7 @@ function _W(t, e, n, i, r, s, o) {
16302
16302
  break;
16303
16303
  }
16304
16304
  var l = { r: n, c: i };
16305
- switch (l.s = mo(r.cellXfs, e, r), e.l && s["!links"].push([At(l), e.l]), e.c && s["!comments"].push([At(l), e.c]), e.t) {
16305
+ switch (l.s = go(r.cellXfs, e, r), e.l && s["!links"].push([At(l), e.l]), e.c && s["!comments"].push([At(l), e.c]), e.t) {
16306
16306
  case "s":
16307
16307
  case "str":
16308
16308
  return r.bookSST ? (a = e4(r.Strings, e.v, r.revStrings), l.t = "s", l.v = a, o ? de(t, 18, jj(e, l)) : de(t, 7, Vj(e, l))) : (l.t = "str", o ? de(t, 17, nW(e, l)) : de(t, 6, eW(e, l))), !0;
@@ -16741,7 +16741,7 @@ function fU(t, e, n, i, r, s, o) {
16741
16741
  u = "String", h = uH(t.v || "");
16742
16742
  break;
16743
16743
  }
16744
- var p = mo(i.cellXfs, t, i);
16744
+ var p = go(i.cellXfs, t, i);
16745
16745
  a["ss:StyleID"] = "s" + (21 + p), a["ss:Index"] = o.c + 1;
16746
16746
  var m = t.v != null ? h : "", g = t.t == "z" ? "" : '<Data ss:Type="' + u + '">' + m + "</Data>";
16747
16747
  return (t.c || []).length > 0 && (g += cU(t.c)), Ne("Cell", g, a);
@@ -16780,7 +16780,7 @@ function hU(t, e, n) {
16780
16780
  return o.length > 0 && i.push("<Names>" + o + "</Names>"), o = s ? uU(s, e, t, n) : "", o.length > 0 && i.push("<Table>" + o + "</Table>"), i.push(lU(s, e, t, n)), i.join("");
16781
16781
  }
16782
16782
  function pU(t, e) {
16783
- e || (e = {}), t.SSF || (t.SSF = mi(Yt)), t.SSF && (g0(), m0(t.SSF), e.revssf = v0(t.SSF), e.revssf[t.SSF[65535]] = 0, e.ssf = t.SSF, e.cellXfs = [], mo(e.cellXfs, {}, { revssf: { General: 0 } }));
16783
+ e || (e = {}), t.SSF || (t.SSF = mi(Yt)), t.SSF && (g0(), m0(t.SSF), e.revssf = v0(t.SSF), e.revssf[t.SSF[65535]] = 0, e.ssf = t.SSF, e.cellXfs = [], go(e.cellXfs, {}, { revssf: { General: 0 } }));
16784
16784
  var n = [];
16785
16785
  n.push(iU(t, e)), n.push(rU()), n.push(""), n.push("");
16786
16786
  for (var i = 0; i < t.SheetNames.length; ++i)
@@ -21027,7 +21027,7 @@ function AU(t, e) {
21027
21027
  }
21028
21028
  }
21029
21029
  function MU(t, e, n, i, r) {
21030
- var s = 16 + mo(r.cellXfs, e, r);
21030
+ var s = 16 + go(r.cellXfs, e, r);
21031
21031
  if (e.v == null && !e.bf) {
21032
21032
  Oe(t, 513, Zo(n, i, s));
21033
21033
  return;
@@ -21134,7 +21134,7 @@ function OU(t, e, n) {
21134
21134
  function FU(t, e) {
21135
21135
  var n = e || {}, i = [];
21136
21136
  t && !t.SSF && (t.SSF = mi(Yt)), t && t.SSF && (g0(), m0(t.SSF), n.revssf = v0(t.SSF), n.revssf[t.SSF[65535]] = 0, n.ssf = t.SSF), n.Strings = /*::((*/
21137
- [], n.Strings.Count = 0, n.Strings.Unique = 0, t4(n), n.cellXfs = [], mo(n.cellXfs, {}, { revssf: { General: 0 } }), t.Props || (t.Props = {});
21137
+ [], n.Strings.Count = 0, n.Strings.Unique = 0, t4(n), n.cellXfs = [], go(n.cellXfs, {}, { revssf: { General: 0 } }), t.Props || (t.Props = {});
21138
21138
  for (var r = 0; r < t.SheetNames.length; ++r) i[i.length] = NU(r, n, t);
21139
21139
  return i.unshift(OU(t, i, n)), Nn(i);
21140
21140
  }
@@ -21170,7 +21170,7 @@ function DU(t, e, n, i) {
21170
21170
  break;
21171
21171
  }
21172
21172
  if (!(a < 0)) {
21173
- var d = At({ r: n, c: o }), u = i.dense ? (t[n] || [])[o] : t[d], h = u && u.v != null && (u.h || dH(u.w || (ks(u), u.w) || "")) || "", p = {};
21173
+ var d = At({ r: n, c: o }), u = i.dense ? (t[n] || [])[o] : t[d], h = u && u.v != null && (u.h || dH(u.w || (ws(u), u.w) || "")) || "", p = {};
21174
21174
  a > 1 && (p.rowspan = a), l > 1 && (p.colspan = l), i.editable ? h = '<span contenteditable="true">' + h + "</span>" : u && (p["data-t"] = u && u.t || "z", u.v != null && (p["data-v"] = u.v), u.z != null && (p["data-z"] = u.z), u.l && (u.l.Target || "#").charAt(0) != "#" && (h = '<a href="' + u.l.Target + '">' + h + "</a>")), p.id = (i.id || "sjs") + "-" + d, s.push(Ne("td", h, p));
21175
21175
  }
21176
21176
  }
@@ -21219,7 +21219,7 @@ function rw(t, e, n) {
21219
21219
  }
21220
21220
  k = +C.getAttribute("colspan") || 1, ((b = +C.getAttribute("rowspan") || 1) > 1 || k > 1) && u.push({ s: { r: g + r, c: y + s }, e: { r: g + r + (b || 1) - 1, c: y + s + (k || 1) - 1 } });
21221
21221
  var L = { t: "s", v: S }, N = C.getAttribute("data-t") || C.getAttribute("t") || "";
21222
- S != null && (S.length == 0 ? L.t = N || "z" : i.raw || S.trim().length == 0 || N == "s" || (S === "TRUE" ? L = { t: "b", v: !0 } : S === "FALSE" ? L = { t: "b", v: !1 } : isNaN(cs(S)) ? isNaN($c(S).getDate()) || (L = { t: "d", v: Jn(S) }, i.cellDates || (L = { t: "n", v: pi(L.v) }), L.z = i.dateNF || Yt[14]) : L = { t: "n", v: cs(S) })), L.z === void 0 && M != null && (L.z = M);
21222
+ S != null && (S.length == 0 ? L.t = N || "z" : i.raw || S.trim().length == 0 || N == "s" || (S === "TRUE" ? L = { t: "b", v: !0 } : S === "FALSE" ? L = { t: "b", v: !1 } : isNaN(fs(S)) ? isNaN($c(S).getDate()) || (L = { t: "d", v: Jn(S) }, i.cellDates || (L = { t: "n", v: pi(L.v) }), L.z = i.dateNF || Yt[14]) : L = { t: "n", v: fs(S) })), L.z === void 0 && M != null && (L.z = M);
21223
21223
  var T = "", I = C.getElementsByTagName("A");
21224
21224
  if (I && I.length) for (var U = 0; U < I.length && !(I[U].hasAttribute("href") && (T = I[U].getAttribute("href"), T.charAt(0) != "#")); ++U) ;
21225
21225
  T && T.charAt(0) != "#" && (L.l = { Target: T }), i.dense ? (t[g + r] || (t[g + r] = []), t[g + r][y + s] = L) : t[At({ c: y + s, r: g + r })] = L, c.e.c < y + s && (c.e.c = y + s), y += k;
@@ -21475,7 +21475,7 @@ function zU(t, e) {
21475
21475
  }
21476
21476
  return !1;
21477
21477
  }
21478
- function so(t) {
21478
+ function oo(t) {
21479
21479
  var e = t.reduce(function(r, s) {
21480
21480
  return r + s.length;
21481
21481
  }, 0), n = new Uint8Array(e), i = 0;
@@ -21557,7 +21557,7 @@ function Sn(t) {
21557
21557
  n.forEach(function(r) {
21558
21558
  r.data && (e.push(Et(i * 8 + r.type)), r.type == 2 && e.push(Et(r.data.length)), e.push(r.data));
21559
21559
  });
21560
- }), so(e);
21560
+ }), oo(e);
21561
21561
  }
21562
21562
  function ir(t) {
21563
21563
  for (var e, n = [], i = [0]; i[0] < t.length; ) {
@@ -21590,7 +21590,7 @@ function wa(t) {
21590
21590
  e.push(Et(s.length)), e.push(s), r.forEach(function(o) {
21591
21591
  return e.push(o);
21592
21592
  });
21593
- }), so(e);
21593
+ }), oo(e);
21594
21594
  }
21595
21595
  function WU(t, e) {
21596
21596
  if (t != 0)
@@ -21609,7 +21609,7 @@ function WU(t, e) {
21609
21609
  continue;
21610
21610
  } else {
21611
21611
  var l = 0, c = 0;
21612
- if (s == 1 ? (c = (e[n[0]] >> 2 & 7) + 4, l = (e[n[0]++] & 224) << 3, l |= e[n[0]++]) : (c = (e[n[0]++] >> 2) + 1, s == 2 ? (l = e[n[0]] | e[n[0] + 1] << 8, n[0] += 2) : (l = (e[n[0]] | e[n[0] + 1] << 8 | e[n[0] + 2] << 16 | e[n[0] + 3] << 24) >>> 0, n[0] += 4)), r = [so(r)], l == 0)
21612
+ if (s == 1 ? (c = (e[n[0]] >> 2 & 7) + 4, l = (e[n[0]++] & 224) << 3, l |= e[n[0]++]) : (c = (e[n[0]++] >> 2) + 1, s == 2 ? (l = e[n[0]] | e[n[0] + 1] << 8, n[0] += 2) : (l = (e[n[0]] | e[n[0] + 1] << 8 | e[n[0] + 2] << 16 | e[n[0] + 3] << 24) >>> 0, n[0] += 4)), r = [oo(r)], l == 0)
21613
21613
  throw new Error("Invalid offset 0");
21614
21614
  if (l > r[0].length)
21615
21615
  throw new Error("Invalid offset beyond length");
@@ -21619,7 +21619,7 @@ function WU(t, e) {
21619
21619
  r.push(r[0].slice(-l, -l + c));
21620
21620
  }
21621
21621
  }
21622
- var d = so(r);
21622
+ var d = oo(r);
21623
21623
  if (d.length != i)
21624
21624
  throw new Error("Unexpected length: ".concat(d.length, " != ").concat(i));
21625
21625
  return d;
@@ -21631,7 +21631,7 @@ function rr(t) {
21631
21631
  }
21632
21632
  if (n !== t.length)
21633
21633
  throw new Error("data is not a valid framed stream!");
21634
- return so(e);
21634
+ return oo(e);
21635
21635
  }
21636
21636
  function ba(t) {
21637
21637
  for (var e = [], n = 0; n < t.length; ) {
@@ -21640,7 +21640,7 @@ function ba(t) {
21640
21640
  var s = Et(i), o = s.length;
21641
21641
  e.push(s), i <= 60 ? (o++, e.push(new Uint8Array([i - 1 << 2]))) : i <= 256 ? (o += 2, e.push(new Uint8Array([240, i - 1 & 255]))) : i <= 65536 ? (o += 3, e.push(new Uint8Array([244, i - 1 & 255, i - 1 >> 8 & 255]))) : i <= 16777216 ? (o += 4, e.push(new Uint8Array([248, i - 1 & 255, i - 1 >> 8 & 255, i - 1 >> 16 & 255]))) : i <= 4294967296 && (o += 5, e.push(new Uint8Array([252, i - 1 & 255, i - 1 >> 8 & 255, i - 1 >> 16 & 255, i - 1 >>> 24 & 255]))), e.push(t.slice(n, n + i)), o += i, r[0] = 0, r[1] = o & 255, r[2] = o >> 8 & 255, r[3] = o >> 16 & 255, n += i;
21642
21642
  }
21643
- return so(e);
21643
+ return oo(e);
21644
21644
  }
21645
21645
  function Mh(t, e) {
21646
21646
  var n = new Uint8Array(32), i = D1(n), r = 12, s = 0;
@@ -21680,7 +21680,7 @@ function Nh(t, e) {
21680
21680
  }
21681
21681
  return i.setUint32(4, s, !0), n.slice(0, r);
21682
21682
  }
21683
- function As(t) {
21683
+ function Ms(t) {
21684
21684
  var e = un(t);
21685
21685
  return jc(e[1][0].data);
21686
21686
  }
@@ -21715,7 +21715,7 @@ function UU(t, e, n) {
21715
21715
  }
21716
21716
  for (t[2][0].data = Et(l); g < t[7][0].data.length / 2; ++g)
21717
21717
  c.setUint16(g * 2, 65535, !0), h.setUint16(g * 2, 65535, !0);
21718
- return t[6][0].data = so(u), t[3][0].data = so(m), l;
21718
+ return t[6][0].data = oo(u), t[3][0].data = oo(m), l;
21719
21719
  }
21720
21720
  function qU(t, e) {
21721
21721
  if (!e || !e.numbers)
@@ -21772,17 +21772,17 @@ function qU(t, e) {
21772
21772
  var g = h[m];
21773
21773
  g.id == 1 && (p = g);
21774
21774
  }
21775
- var v = As(un(p.messages[0].data)[1][0].data);
21775
+ var v = Ms(un(p.messages[0].data)[1][0].data);
21776
21776
  for (u = Nt.find(c, a[v].location), h = ir(rr(u.content)), m = 0; m < h.length; ++m)
21777
21777
  g = h[m], g.id == v && (p = g);
21778
- for (v = As(un(p.messages[0].data)[2][0].data), u = Nt.find(c, a[v].location), h = ir(rr(u.content)), m = 0; m < h.length; ++m)
21778
+ for (v = Ms(un(p.messages[0].data)[2][0].data), u = Nt.find(c, a[v].location), h = ir(rr(u.content)), m = 0; m < h.length; ++m)
21779
21779
  g = h[m], g.id == v && (p = g);
21780
- for (v = As(un(p.messages[0].data)[2][0].data), u = Nt.find(c, a[v].location), h = ir(rr(u.content)), m = 0; m < h.length; ++m)
21780
+ for (v = Ms(un(p.messages[0].data)[2][0].data), u = Nt.find(c, a[v].location), h = ir(rr(u.content)), m = 0; m < h.length; ++m)
21781
21781
  g = h[m], g.id == v && (p = g);
21782
21782
  var y = un(p.messages[0].data);
21783
21783
  {
21784
21784
  y[6][0].data = Et(i.e.r + 1), y[7][0].data = Et(i.e.c + 1);
21785
- var b = As(y[46][0].data), k = Nt.find(c, a[b].location), w = ir(rr(k.content));
21785
+ var b = Ms(y[46][0].data), k = Nt.find(c, a[b].location), w = ir(rr(k.content));
21786
21786
  {
21787
21787
  for (var _ = 0; _ < w.length && w[_].id != b; ++_)
21788
21788
  ;
@@ -21803,7 +21803,7 @@ function qU(t, e) {
21803
21803
  var L = un(y[4][0].data);
21804
21804
  {
21805
21805
  L[7][0].data = Et(i.e.r + 1);
21806
- var N = un(L[1][0].data), T = As(N[2][0].data);
21806
+ var N = un(L[1][0].data), T = Ms(N[2][0].data);
21807
21807
  k = Nt.find(c, a[T].location), w = ir(rr(k.content));
21808
21808
  {
21809
21809
  if (w[0].id != T)
@@ -21816,7 +21816,7 @@ function qU(t, e) {
21816
21816
  w[0].messages[0].data = Sn(I);
21817
21817
  }
21818
21818
  k.content = ba(wa(w)), k.size = k.content.length;
21819
- var q = As(L[2][0].data);
21819
+ var q = Ms(L[2][0].data);
21820
21820
  k = Nt.find(c, a[q].location), w = ir(rr(k.content));
21821
21821
  {
21822
21822
  if (w[0].id != q)
@@ -21826,7 +21826,7 @@ function qU(t, e) {
21826
21826
  w[0].messages[0].data = Sn(I);
21827
21827
  }
21828
21828
  k.content = ba(wa(w)), k.size = k.content.length;
21829
- var K = As(L[4][0].data);
21829
+ var K = Ms(L[4][0].data);
21830
21830
  (function() {
21831
21831
  for (var G = Nt.find(c, a[K].location), W = ir(rr(G.content)), P, X = 0; X < W.length; ++X) {
21832
21832
  var Y = W[X];
@@ -21850,7 +21850,7 @@ function qU(t, e) {
21850
21850
  delete re[2];
21851
21851
  var Te = un(xe.data);
21852
21852
  {
21853
- var ke = As(Te[2][0].data);
21853
+ var ke = Ms(Te[2][0].data);
21854
21854
  (function() {
21855
21855
  for (var G = Nt.find(c, a[ke].location), W = ir(rr(G.content)), P, X = 0; X < W.length; ++X) {
21856
21856
  var Y = W[X];
@@ -21913,7 +21913,7 @@ function ZU(t, e) {
21913
21913
  var n = e.bookType == "xlsb" ? "bin" : "xml", i = zk.indexOf(e.bookType) > -1, r = vk();
21914
21914
  t4(e = e || {});
21915
21915
  var s = H3(), o = "", a = 0;
21916
- if (e.cellXfs = [], mo(e.cellXfs, {}, { revssf: { General: 0 } }), t.Props || (t.Props = {}), o = "docProps/core.xml", lt(s, o, wk(t.Props, e)), r.coreprops.push(o), Lt(e.rels, 2, o, vt.CORE_PROPS), o = "docProps/app.xml", !(t.Props && t.Props.SheetNames)) if (!t.Workbook || !t.Workbook.Sheets) t.Props.SheetNames = t.SheetNames;
21916
+ if (e.cellXfs = [], go(e.cellXfs, {}, { revssf: { General: 0 } }), t.Props || (t.Props = {}), o = "docProps/core.xml", lt(s, o, wk(t.Props, e)), r.coreprops.push(o), Lt(e.rels, 2, o, vt.CORE_PROPS), o = "docProps/app.xml", !(t.Props && t.Props.SheetNames)) if (!t.Workbook || !t.Workbook.Sheets) t.Props.SheetNames = t.SheetNames;
21917
21917
  else {
21918
21918
  for (var l = [], c = 0; c < t.SheetNames.length; ++c)
21919
21919
  (t.Workbook.Sheets[c] || {}).Hidden != 2 && l.push(t.SheetNames[c]);
@@ -21935,7 +21935,7 @@ function JU(t, e) {
21935
21935
  var n = "xml", i = zk.indexOf(e.bookType) > -1, r = vk();
21936
21936
  t4(e = e || {});
21937
21937
  var s = H3(), o = "", a = 0;
21938
- if (e.cellXfs = [], mo(e.cellXfs, {}, { revssf: { General: 0 } }), t.Props || (t.Props = {}), o = "docProps/core.xml", lt(s, o, wk(t.Props, e)), r.coreprops.push(o), Lt(e.rels, 2, o, vt.CORE_PROPS), o = "docProps/app.xml", !(t.Props && t.Props.SheetNames)) if (!t.Workbook || !t.Workbook.Sheets) t.Props.SheetNames = t.SheetNames;
21938
+ if (e.cellXfs = [], go(e.cellXfs, {}, { revssf: { General: 0 } }), t.Props || (t.Props = {}), o = "docProps/core.xml", lt(s, o, wk(t.Props, e)), r.coreprops.push(o), Lt(e.rels, 2, o, vt.CORE_PROPS), o = "docProps/app.xml", !(t.Props && t.Props.SheetNames)) if (!t.Workbook || !t.Workbook.Sheets) t.Props.SheetNames = t.SheetNames;
21939
21939
  else {
21940
21940
  for (var l = [], c = 0; c < t.SheetNames.length; ++c)
21941
21941
  (t.Workbook.Sheets[c] || {}).Hidden != 2 && l.push(t.SheetNames[c]);
@@ -21967,7 +21967,7 @@ function XU(t, e) {
21967
21967
  case "buffer":
21968
21968
  return [t[0], t[1], t[2], t[3], t[4], t[5], t[6], t[7]];
21969
21969
  case "base64":
21970
- n = xs(t.slice(0, 12));
21970
+ n = ks(t.slice(0, 12));
21971
21971
  break;
21972
21972
  case "binary":
21973
21973
  n = t;
@@ -22051,7 +22051,7 @@ function Sr(t, e, n) {
22051
22051
  case "file":
22052
22052
  return If(e.file, i, "utf8");
22053
22053
  case "buffer":
22054
- return yt ? Ss(i, "utf8") : typeof TextEncoder < "u" ? new TextEncoder().encode(i) : Sr(i, { type: "binary" }).split("").map(function(r) {
22054
+ return yt ? Es(i, "utf8") : typeof TextEncoder < "u" ? new TextEncoder().encode(i) : Sr(i, { type: "binary" }).split("").map(function(r) {
22055
22055
  return r.charCodeAt(0);
22056
22056
  });
22057
22057
  }
@@ -22069,7 +22069,7 @@ function tq(t, e) {
22069
22069
  case "file":
22070
22070
  return If(e.file, t, "binary");
22071
22071
  case "buffer":
22072
- return yt ? Ss(t, "binary") : t.split("").map(function(n) {
22072
+ return yt ? Es(t, "binary") : t.split("").map(function(n) {
22073
22073
  return n.charCodeAt(0);
22074
22074
  });
22075
22075
  }
@@ -22196,7 +22196,7 @@ function nq(t, e, n, i, r, s, o, a) {
22196
22196
  else if (d && g === null) h[s[p]] = null;
22197
22197
  else continue;
22198
22198
  else
22199
- h[s[p]] = d && (m.t !== "n" || m.t === "n" && a.rawNumbers !== !1) ? g : ks(m, g, a);
22199
+ h[s[p]] = d && (m.t !== "n" || m.t === "n" && a.rawNumbers !== !1) ? g : ws(m, g, a);
22200
22200
  g != null && (u = !1);
22201
22201
  }
22202
22202
  }
@@ -22232,7 +22232,7 @@ function I1(t, e) {
22232
22232
  s[b] = c.header[b - l.s.c];
22233
22233
  break;
22234
22234
  default:
22235
- if (n == null && (n = { w: "__EMPTY", t: "s" }), a = o = ks(n, null, c), g = k[o] || 0, !g) k[o] = 1;
22235
+ if (n == null && (n = { w: "__EMPTY", t: "s" }), a = o = ws(n, null, c), g = k[o] || 0, !g) k[o] = 1;
22236
22236
  else {
22237
22237
  do
22238
22238
  a = o + "_" + g++;
@@ -22255,7 +22255,7 @@ function iq(t, e, n, i, r, s, o, a) {
22255
22255
  var p = a.dense ? (t[n] || [])[h] : t[i[h] + u];
22256
22256
  if (p == null) d = "";
22257
22257
  else if (p.v != null) {
22258
- l = !1, d = "" + (a.rawNumbers && p.t == "n" ? p.v : ks(p, null, a));
22258
+ l = !1, d = "" + (a.rawNumbers && p.t == "n" ? p.v : ws(p, null, a));
22259
22259
  for (var m = 0, g = 0; m !== d.length; ++m) if ((g = d.charCodeAt(m)) === r || g === s || g === 34 || a.forceQuotes) {
22260
22260
  d = '"' + d.replace(l6, '""') + '"';
22261
22261
  break;
@@ -22417,7 +22417,7 @@ var Oh = {
22417
22417
  split_cell: AH,
22418
22418
  decode_cell: vn,
22419
22419
  decode_range: Ai,
22420
- format_cell: ks,
22420
+ format_cell: ws,
22421
22421
  sheet_add_aoa: dk,
22422
22422
  sheet_add_json: fw,
22423
22423
  sheet_add_dom: rw,
@@ -22627,7 +22627,7 @@ const Sq = {
22627
22627
  onCopy: (p) => {
22628
22628
  p.currentTarget.blur(), r?.(s);
22629
22629
  }
22630
- }), f(gs, {
22630
+ }), f(vs, {
22631
22631
  onClick: (p) => {
22632
22632
  const m = u === "like" ? null : "like";
22633
22633
  m && d(m, i), h(m), p.currentTarget.blur();
@@ -22644,7 +22644,7 @@ const Sq = {
22644
22644
  color: "default"
22645
22645
  })
22646
22646
  })
22647
- }), f(gs, {
22647
+ }), f(vs, {
22648
22648
  onClick: (p) => {
22649
22649
  const m = u === "dislike" ? null : "dislike";
22650
22650
  m && d(m, i), h(m), p.currentTarget.blur();
@@ -23315,7 +23315,7 @@ const Gq = (t) => GR[t] || Im, Kq = ({ iconName: t }) => t ? f("div", {
23315
23315
  const r = f(Kq, {
23316
23316
  iconName: n.icon
23317
23317
  });
23318
- return n.link ? f(gs, {
23318
+ return n.link ? f(vs, {
23319
23319
  "aria-label": n.title,
23320
23320
  href: n.link,
23321
23321
  size: "md",
@@ -23664,7 +23664,7 @@ const Gq = (t) => GR[t] || Im, Kq = ({ iconName: t }) => t ? f("div", {
23664
23664
  className: "flex flex-col gap-2",
23665
23665
  children: r.map((c, d) => x("li", {
23666
23666
  className: "flex items-center gap-1",
23667
- children: [f(Cs, {
23667
+ children: [f(_s, {
23668
23668
  className: "h-5 w-5 flex-shrink-0"
23669
23669
  }), x("span", {
23670
23670
  className: "text-md text-f1-foreground",
@@ -24905,7 +24905,7 @@ const zK = {
24905
24905
  name: "protocolAutolink",
24906
24906
  tokenize: GK,
24907
24907
  previous: Iw
24908
- }, Es = {
24908
+ }, Ls = {
24909
24909
  name: "emailAutolink",
24910
24910
  tokenize: UK,
24911
24911
  previous: Rw
@@ -24915,17 +24915,17 @@ function WK() {
24915
24915
  text: zr
24916
24916
  };
24917
24917
  }
24918
- let Co = 48;
24919
- for (; Co < 123; )
24920
- zr[Co] = Es, Co++, Co === 58 ? Co = 65 : Co === 91 && (Co = 97);
24921
- zr[43] = Es;
24922
- zr[45] = Es;
24923
- zr[46] = Es;
24924
- zr[95] = Es;
24925
- zr[72] = [Es, Fw];
24926
- zr[104] = [Es, Fw];
24927
- zr[87] = [Es, Ow];
24928
- zr[119] = [Es, Ow];
24918
+ let _o = 48;
24919
+ for (; _o < 123; )
24920
+ zr[_o] = Ls, _o++, _o === 58 ? _o = 65 : _o === 91 && (_o = 97);
24921
+ zr[43] = Ls;
24922
+ zr[45] = Ls;
24923
+ zr[46] = Ls;
24924
+ zr[95] = Ls;
24925
+ zr[72] = [Ls, Fw];
24926
+ zr[104] = [Ls, Fw];
24927
+ zr[87] = [Ls, Ow];
24928
+ zr[119] = [Ls, Ow];
24929
24929
  function UK(t, e, n) {
24930
24930
  const i = this;
24931
24931
  let r, s;
@@ -25236,7 +25236,7 @@ function rZ(t, e, n) {
25236
25236
  return m === 91 || m === 92 || m === 93 ? (t.consume(m), o++, d) : d(m);
25237
25237
  }
25238
25238
  function h(m) {
25239
- return m === 58 ? (t.enter("definitionMarker"), t.consume(m), t.exit("definitionMarker"), r.includes(s) || r.push(s), Rs(t, p, "gfmFootnoteDefinitionWhitespace")) : n(m);
25239
+ return m === 58 ? (t.enter("definitionMarker"), t.consume(m), t.exit("definitionMarker"), r.includes(s) || r.push(s), Ps(t, p, "gfmFootnoteDefinitionWhitespace")) : n(m);
25240
25240
  }
25241
25241
  function p(m) {
25242
25242
  return e(m);
@@ -25250,7 +25250,7 @@ function oZ(t) {
25250
25250
  }
25251
25251
  function aZ(t, e, n) {
25252
25252
  const i = this;
25253
- return Rs(t, r, "gfmFootnoteDefinitionIndent", 5);
25253
+ return Ps(t, r, "gfmFootnoteDefinitionIndent", 5);
25254
25254
  function r(s) {
25255
25255
  const o = i.events[i.events.length - 1];
25256
25256
  return o && o[1].type === "gfmFootnoteDefinitionIndent" && o[2].sliceSerialize(o[1], !0).length === 4 ? e(s) : n(s);
@@ -25438,7 +25438,7 @@ function hZ(t, e, n) {
25438
25438
  return L === 124 || (o = !0, s += 1), d(L);
25439
25439
  }
25440
25440
  function d(L) {
25441
- return L === null ? n(L) : ec(L) ? s > 1 ? (s = 0, i.interrupt = !0, t.exit("tableRow"), t.enter("lineEnding"), t.consume(L), t.exit("lineEnding"), p) : n(L) : Ta(L) ? Rs(t, d, "whitespace")(L) : (s += 1, o && (o = !1, r += 1), L === 124 ? (t.enter("tableCellDivider"), t.consume(L), t.exit("tableCellDivider"), o = !0, d) : (t.enter("data"), u(L)));
25441
+ return L === null ? n(L) : ec(L) ? s > 1 ? (s = 0, i.interrupt = !0, t.exit("tableRow"), t.enter("lineEnding"), t.consume(L), t.exit("lineEnding"), p) : n(L) : Ta(L) ? Ps(t, d, "whitespace")(L) : (s += 1, o && (o = !1, r += 1), L === 124 ? (t.enter("tableCellDivider"), t.consume(L), t.exit("tableCellDivider"), o = !0, d) : (t.enter("data"), u(L)));
25442
25442
  }
25443
25443
  function u(L) {
25444
25444
  return L === null || L === 124 || Ti(L) ? (t.exit("data"), d(L)) : (t.consume(L), L === 92 ? h : u);
@@ -25447,13 +25447,13 @@ function hZ(t, e, n) {
25447
25447
  return L === 92 || L === 124 ? (t.consume(L), u) : u(L);
25448
25448
  }
25449
25449
  function p(L) {
25450
- return i.interrupt = !1, i.parser.lazy[i.now().line] ? n(L) : (t.enter("tableDelimiterRow"), o = !1, Ta(L) ? Rs(t, m, "linePrefix", i.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(L) : m(L));
25450
+ return i.interrupt = !1, i.parser.lazy[i.now().line] ? n(L) : (t.enter("tableDelimiterRow"), o = !1, Ta(L) ? Ps(t, m, "linePrefix", i.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(L) : m(L));
25451
25451
  }
25452
25452
  function m(L) {
25453
25453
  return L === 45 || L === 58 ? v(L) : L === 124 ? (o = !0, t.enter("tableCellDivider"), t.consume(L), t.exit("tableCellDivider"), g) : _(L);
25454
25454
  }
25455
25455
  function g(L) {
25456
- return Ta(L) ? Rs(t, v, "whitespace")(L) : v(L);
25456
+ return Ta(L) ? Ps(t, v, "whitespace")(L) : v(L);
25457
25457
  }
25458
25458
  function v(L) {
25459
25459
  return L === 58 ? (s += 1, o = !0, t.enter("tableDelimiterMarker"), t.consume(L), t.exit("tableDelimiterMarker"), y) : L === 45 ? (s += 1, y(L)) : L === null || ec(L) ? w(L) : _(L);
@@ -25465,7 +25465,7 @@ function hZ(t, e, n) {
25465
25465
  return L === 45 ? (t.consume(L), b) : L === 58 ? (o = !0, t.exit("tableDelimiterFiller"), t.enter("tableDelimiterMarker"), t.consume(L), t.exit("tableDelimiterMarker"), k) : (t.exit("tableDelimiterFiller"), k(L));
25466
25466
  }
25467
25467
  function k(L) {
25468
- return Ta(L) ? Rs(t, w, "whitespace")(L) : w(L);
25468
+ return Ta(L) ? Ps(t, w, "whitespace")(L) : w(L);
25469
25469
  }
25470
25470
  function w(L) {
25471
25471
  return L === 124 ? m(L) : L === null || ec(L) ? !o || r !== s ? _(L) : (t.exit("tableDelimiterRow"), t.exit("tableHead"), e(L)) : _(L);
@@ -25477,7 +25477,7 @@ function hZ(t, e, n) {
25477
25477
  return t.enter("tableRow"), S(L);
25478
25478
  }
25479
25479
  function S(L) {
25480
- return L === 124 ? (t.enter("tableCellDivider"), t.consume(L), t.exit("tableCellDivider"), S) : L === null || ec(L) ? (t.exit("tableRow"), e(L)) : Ta(L) ? Rs(t, S, "whitespace")(L) : (t.enter("data"), M(L));
25480
+ return L === 124 ? (t.enter("tableCellDivider"), t.consume(L), t.exit("tableCellDivider"), S) : L === null || ec(L) ? (t.exit("tableRow"), e(L)) : Ta(L) ? Ps(t, S, "whitespace")(L) : (t.enter("data"), M(L));
25481
25481
  }
25482
25482
  function M(L) {
25483
25483
  return L === null || L === 124 || Ti(L) ? (t.exit("data"), S(L)) : (t.consume(L), L === 92 ? E : M);
@@ -25578,7 +25578,7 @@ function vZ(t, e, n) {
25578
25578
  }
25579
25579
  }
25580
25580
  function yZ(t, e, n) {
25581
- return Rs(t, i, "whitespace");
25581
+ return Ps(t, i, "whitespace");
25582
25582
  function i(r) {
25583
25583
  return r === null ? n(r) : e(r);
25584
25584
  }
@@ -26153,7 +26153,7 @@ const l4 = () => {
26153
26153
  },
26154
26154
  {
26155
26155
  label: e("coCreationForm.questionTypes.singleChoice"),
26156
- icon: Cs,
26156
+ icon: _s,
26157
26157
  questionType: "select"
26158
26158
  },
26159
26159
  {
@@ -26225,7 +26225,7 @@ const l4 = () => {
26225
26225
  className: "flex-1",
26226
26226
  children: o.label
26227
26227
  }), e === o.value && f($a, {
26228
- icon: Cs,
26228
+ icon: _s,
26229
26229
  color: "default"
26230
26230
  })]
26231
26231
  })
@@ -26278,7 +26278,7 @@ function HZ({ open: t, setOpen: e, questionId: n, questionType: i, canDeleteQues
26278
26278
  tabIndex: -1,
26279
26279
  asChild: !0,
26280
26280
  children: f(Ee, {
26281
- icon: ms,
26281
+ icon: gs,
26282
26282
  label: s("coCreationForm.labels.actions"),
26283
26283
  size: "md",
26284
26284
  variant: "ghost",
@@ -26317,7 +26317,7 @@ function HZ({ open: t, setOpen: e, questionId: n, questionType: i, canDeleteQues
26317
26317
  onClick: g
26318
26318
  }), r && f(w6, {
26319
26319
  label: s("coCreationForm.actions.deleteQuestion"),
26320
- icon: po,
26320
+ icon: mo,
26321
26321
  onClick: v
26322
26322
  })]
26323
26323
  })]
@@ -26619,7 +26619,7 @@ const b6 = {
26619
26619
  }), f(Ee, {
26620
26620
  label: g("coCreationForm.selectQuestion.remove"),
26621
26621
  variant: "ghost",
26622
- icon: po,
26622
+ icon: mo,
26623
26623
  hideLabel: !0,
26624
26624
  onClick: w
26625
26625
  })]
@@ -26720,7 +26720,7 @@ const b6 = {
26720
26720
  children: x("div", {
26721
26721
  className: "-mx-0.5 flex flex-col items-start [&>div]:w-full",
26722
26722
  children: [f(a4, {
26723
- children: f(no, {
26723
+ children: f(io, {
26724
26724
  axis: "y",
26725
26725
  values: t,
26726
26726
  onReorder: m,
@@ -26911,7 +26911,7 @@ const YZ = Fi({
26911
26911
  onClick: v
26912
26912
  }, {
26913
26913
  label: u("coCreationForm.actions.deleteSection"),
26914
- icon: po,
26914
+ icon: mo,
26915
26915
  onClick: y,
26916
26916
  critical: !0
26917
26917
  }], k = !o || r;
@@ -26934,12 +26934,12 @@ const YZ = Fi({
26934
26934
  className: D("opacity-0 group-hover/section:opacity-100", c && "opacity-100"),
26935
26935
  children: f(hn, {
26936
26936
  items: b,
26937
- icon: ms,
26937
+ icon: gs,
26938
26938
  open: c,
26939
26939
  onOpenChange: d,
26940
26940
  align: "start",
26941
26941
  children: f(Ee, {
26942
- icon: ms,
26942
+ icon: gs,
26943
26943
  label: u("coCreationForm.actions.actions"),
26944
26944
  size: "md",
26945
26945
  variant: "ghost",
@@ -26958,7 +26958,7 @@ const YZ = Fi({
26958
26958
  className: D("w-full resize-none text-f1-foreground-secondary placeholder:text-f1-foreground-tertiary disabled:text-f1-foreground-secondary [&::-webkit-search-cancel-button]:hidden", k && "cursor-not-allowed")
26959
26959
  })]
26960
26960
  }), f(a4, {
26961
- children: f(no, {
26961
+ children: f(io, {
26962
26962
  axis: "y",
26963
26963
  values: i,
26964
26964
  onReorder: g,
@@ -27089,7 +27089,7 @@ const YZ = Fi({
27089
27089
  filter: "blur(0px)"
27090
27090
  },
27091
27091
  children: [f(a4, {
27092
- children: f(no, {
27092
+ children: f(io, {
27093
27093
  axis: "y",
27094
27094
  values: a,
27095
27095
  onReorder: n,
@@ -27178,7 +27178,7 @@ const oJ = (t) => Array.isArray(t) ? t.every((e) => sJ(e)) ? t : [{
27178
27178
  onClick: l.onClick,
27179
27179
  disabled: l.disabled,
27180
27180
  size: "lg"
27181
- }) : f(vs, {
27181
+ }) : f(ys, {
27182
27182
  items: a,
27183
27183
  onClick: (d) => {
27184
27184
  c(d)?.onClick?.();
@@ -27203,7 +27203,7 @@ const oJ = (t) => Array.isArray(t) ? t.every((e) => sJ(e)) ? t : [{
27203
27203
  onClick: l.onClick,
27204
27204
  disabled: l.disabled
27205
27205
  }) : f(Je, {
27206
- children: f(vs, {
27206
+ children: f(ys, {
27207
27207
  items: a,
27208
27208
  onClick: (d) => {
27209
27209
  c(d)?.onClick?.();
@@ -27535,7 +27535,7 @@ const C6 = ({ label: t, onCreate: e, goToFirst: n, goToLast: i }) => f("div", {
27535
27535
  const a = n.find((l) => l.label === o);
27536
27536
  a && !a.disabled && a.onClick?.();
27537
27537
  }, s = n.every((o) => o.disabled);
27538
- return f(vs, {
27538
+ return f(ys, {
27539
27539
  items: i,
27540
27540
  value: t.label,
27541
27541
  disabled: s,
@@ -28912,7 +28912,7 @@ var Hh = () => {
28912
28912
  }
28913
28913
  };
28914
28914
  }, l2 = (t) => Zn(t) || !ib(t);
28915
- function Ps(t, e) {
28915
+ function Bs(t, e) {
28916
28916
  if (l2(t) || l2(e))
28917
28917
  return t === e;
28918
28918
  if (No(t) && No(e))
@@ -28926,7 +28926,7 @@ function Ps(t, e) {
28926
28926
  return !1;
28927
28927
  if (r !== "ref") {
28928
28928
  const o = e[r];
28929
- if (No(s) && No(o) || nn(s) && nn(o) || Array.isArray(s) && Array.isArray(o) ? !Ps(s, o) : s !== o)
28929
+ if (No(s) && No(o) || nn(s) && nn(o) || Array.isArray(s) && Array.isArray(o) ? !Bs(s, o) : s !== o)
28930
28930
  return !1;
28931
28931
  }
28932
28932
  }
@@ -28949,7 +28949,7 @@ function vb(t, e, n) {
28949
28949
  const i = Array.isArray(t);
28950
28950
  if (nn(t) || i)
28951
28951
  for (const r in t)
28952
- Array.isArray(t[r]) || nn(t[r]) && !gb(t[r]) ? en(e) || l2(n[r]) ? n[r] = Array.isArray(t[r]) ? j1(t[r], []) : { ...j1(t[r]) } : vb(t[r], Zn(e) ? {} : e[r], n[r]) : n[r] = !Ps(t[r], e[r]);
28952
+ Array.isArray(t[r]) || nn(t[r]) && !gb(t[r]) ? en(e) || l2(n[r]) ? n[r] = Array.isArray(t[r]) ? j1(t[r], []) : { ...j1(t[r]) } : vb(t[r], Zn(e) ? {} : e[r], n[r]) : n[r] = !Bs(t[r], e[r]);
28953
28953
  return n;
28954
28954
  }
28955
28955
  var Kl = (t, e) => vb(t, e, j1(e)), yb = (t, { valueAsNumber: e, valueAsDate: n, setValueAs: i }) => en(t) ? t : e ? t === "" ? NaN : t && +t : n && Nr(t) ? new Date(t) : i ? i(t) : t;
@@ -29105,7 +29105,7 @@ function zJ(t = {}) {
29105
29105
  const Ct = !!(Re(i, j) && Re(i, j)._f && Re(i, j)._f.disabled);
29106
29106
  if (!ie || Se) {
29107
29107
  d.isDirty && (He = n.isDirty, n.isDirty = Ze.isDirty = T(), pe = He !== Ze.isDirty);
29108
- const _t = Ct || Ps(Re(r, j), Z);
29108
+ const _t = Ct || Bs(Re(r, j), Z);
29109
29109
  He = !!(!Ct && Re(n.dirtyFields, j)), _t || Ct ? dn(n.dirtyFields, j) : wt(n.dirtyFields, j, !0), Ze.dirtyFields = n.dirtyFields, pe = pe || d.dirtyFields && He !== !_t;
29110
29110
  }
29111
29111
  if (ie) {
@@ -29117,7 +29117,7 @@ function zJ(t = {}) {
29117
29117
  return pe ? Ze : {};
29118
29118
  }, S = (j, Z, ie, Se) => {
29119
29119
  const Ae = Re(n.errors, j), pe = d.isValid && zi(Z) && n.isValid !== Z;
29120
- if (e.delayError && ie ? (l = g(() => k(j, ie)), l(e.delayError)) : (clearTimeout(c), l = null, ie ? wt(n.errors, j, ie) : dn(n.errors, j)), (ie ? !Ps(Ae, ie) : Ae) || !si(Se) || pe) {
29120
+ if (e.delayError && ie ? (l = g(() => k(j, ie)), l(e.delayError)) : (clearTimeout(c), l = null, ie ? wt(n.errors, j, ie) : dn(n.errors, j)), (ie ? !Bs(Ae, ie) : Ae) || !si(Se) || pe) {
29121
29121
  const He = {
29122
29122
  ...Se,
29123
29123
  ...pe && zi(Z) ? { isValid: Z } : {},
@@ -29168,7 +29168,7 @@ function zJ(t = {}) {
29168
29168
  Z && (Z._f.refs ? Z._f.refs.every((ie) => !$h(ie)) : !$h(Z._f.ref)) && X(j);
29169
29169
  }
29170
29170
  a.unMount = /* @__PURE__ */ new Set();
29171
- }, T = (j, Z) => !e.disabled && (j && Z && wt(s, j, Z), !Ps(me(), r)), I = (j, Z, ie) => db(j, a, {
29171
+ }, T = (j, Z) => !e.disabled && (j && Z && wt(s, j, Z), !Bs(me(), r)), I = (j, Z, ie) => db(j, a, {
29172
29172
  ...o.mount ? s : en(Z) ? r : Nr(j) ? { [j]: Z } : Z
29173
29173
  }, ie, Z), U = (j) => S0(Re(o.mount ? s : r, j, e.shouldUnregister ? Re(r, j, []) : [])), q = (j, Z, ie = {}) => {
29174
29174
  const Se = Re(i, j);
@@ -29204,18 +29204,18 @@ function zJ(t = {}) {
29204
29204
  const Z = j.target;
29205
29205
  let ie = Z.name, Se = !0;
29206
29206
  const Ae = Re(i, ie), pe = () => Z.type ? Vh(Ae._f) : rb(j), He = (Ze) => {
29207
- Se = Number.isNaN(Ze) || No(Ze) && isNaN(Ze.getTime()) || Ps(Ze, Re(s, ie, Ze));
29207
+ Se = Number.isNaN(Ze) || No(Ze) && isNaN(Ze.getTime()) || Bs(Ze, Re(s, ie, Ze));
29208
29208
  };
29209
29209
  if (Ae) {
29210
29210
  let Ze, Ct;
29211
- const _t = pe(), Wt = j.type === $1.BLUR || j.type === $1.FOCUS_OUT, ko = !BJ(Ae._f) && !e.resolver && !Re(n.errors, ie) && !Ae._f.deps || HJ(Wt, Re(n.touchedFields, ie), n.isSubmitted, p, h), tr = F6(ie, a, Wt);
29211
+ const _t = pe(), Wt = j.type === $1.BLUR || j.type === $1.FOCUS_OUT, wo = !BJ(Ae._f) && !e.resolver && !Re(n.errors, ie) && !Ae._f.deps || HJ(Wt, Re(n.touchedFields, ie), n.isSubmitted, p, h), tr = F6(ie, a, Wt);
29212
29212
  wt(s, ie, _t), Wt ? (Ae._f.onBlur && Ae._f.onBlur(j), l && l(0)) : Ae._f.onChange && Ae._f.onChange(j);
29213
29213
  const nr = C(ie, _t, Wt, !1), wr = !si(nr) || tr;
29214
29214
  if (!Wt && u.values.next({
29215
29215
  name: ie,
29216
29216
  type: j.type,
29217
29217
  values: { ...s }
29218
- }), ko)
29218
+ }), wo)
29219
29219
  return d.isValid && (e.mode === "onBlur" && Wt ? v() : Wt || v()), wr && u.state.next({ name: ie, ...tr ? {} : nr });
29220
29220
  if (!Wt && tr && u.state.next({ ...n }), e.resolver) {
29221
29221
  const { errors: Wr } = await M([ie]);
@@ -29420,7 +29420,7 @@ function zJ(t = {}) {
29420
29420
  focus: ""
29421
29421
  }, o.mount = !d.isValid || !!Z.keepIsValid || !!Z.keepDirtyValues, o.watch = !!e.shouldUnregister, u.state.next({
29422
29422
  submitCount: Z.keepSubmitCount ? n.submitCount : 0,
29423
- isDirty: Ae ? !1 : Z.keepDirty ? n.isDirty : !!(Z.keepDefaultValues && !Ps(j, r)),
29423
+ isDirty: Ae ? !1 : Z.keepDirty ? n.isDirty : !!(Z.keepDefaultValues && !Bs(j, r)),
29424
29424
  isSubmitted: Z.keepIsSubmitted ? n.isSubmitted : !1,
29425
29425
  dirtyFields: Ae ? {} : Z.keepDirtyValues ? Z.keepDefaultValues && s ? Kl(r, s) : n.dirtyFields : Z.keepDefaultValues && j ? Kl(r, j) : Z.keepDirty ? n.dirtyFields : {},
29426
29426
  touchedFields: Z.keepTouched ? n.touchedFields : {},
@@ -29553,7 +29553,7 @@ function jJ(t = {}) {
29553
29553
  });
29554
29554
  }
29555
29555
  }, [s, i.isDirty]), ve.useEffect(() => {
29556
- t.values && !Ps(t.values, n.current) ? (s._reset(t.values, s._options.resetOptions), n.current = t.values, r((o) => ({ ...o }))) : s._resetDefaultValues();
29556
+ t.values && !Bs(t.values, n.current) ? (s._reset(t.values, s._options.resetOptions), n.current = t.values, r((o) => ({ ...o }))) : s._resetDefaultValues();
29557
29557
  }, [t.values, s]), ve.useEffect(() => {
29558
29558
  t.errors && s._setErrors(t.errors);
29559
29559
  }, [t.errors, s]), ve.useEffect(() => {
@@ -29948,7 +29948,7 @@ function Bi(t, e, n) {
29948
29948
  }) : t[e] = n, t;
29949
29949
  }
29950
29950
  var L0, et, Ab, pc, Mb, z6, W1 = {}, Nb = [], uX = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;
29951
- function Ws(t, e) {
29951
+ function Us(t, e) {
29952
29952
  for (var n in e) t[n] = e[n];
29953
29953
  return t;
29954
29954
  }
@@ -30014,7 +30014,7 @@ function U1() {
30014
30014
  return e.__v.__b - n.__v.__b;
30015
30015
  }), pc = [], t.some(function(e) {
30016
30016
  var n, i, r, s, o, a;
30017
- e.__d && (o = (s = (n = e).__v).__e, (a = n.__P) && (i = [], (r = Ws({}, s)).__v = s.__v + 1, g4(a, s, r, n.__n, a.ownerSVGElement !== void 0, s.__h != null ? [
30017
+ e.__d && (o = (s = (n = e).__v).__e, (a = n.__P) && (i = [], (r = Us({}, s)).__v = s.__v + 1, g4(a, s, r, n.__n, a.ownerSVGElement !== void 0, s.__h != null ? [
30018
30018
  o
30019
30019
  ] : null, i, o ?? rl(s), s.__h), Pb(i, s), s.__e != o && Fb(s)));
30020
30020
  });
@@ -30097,7 +30097,7 @@ function g4(t, e, n, i, r, s, o, a, l) {
30097
30097
  ]), (c = et.__b) && c(e);
30098
30098
  try {
30099
30099
  e: if (typeof w == "function") {
30100
- if (v = e.props, y = (c = w.contextType) && i[c.__c], b = c ? y ? y.props.value : c.__ : i, n.__c ? g = (d = e.__c = n.__c).__ = d.__E : ("prototype" in w && w.prototype.render ? e.__c = d = new w(v, b) : (e.__c = d = new Fr(v, b), d.constructor = w, d.render = mX), y && y.sub(d), d.props = v, d.state || (d.state = {}), d.context = b, d.__n = i, u = d.__d = !0, d.__h = []), d.__s == null && (d.__s = d.state), w.getDerivedStateFromProps != null && (d.__s == d.state && (d.__s = Ws({}, d.__s)), Ws(d.__s, w.getDerivedStateFromProps(v, d.__s))), h = d.props, p = d.state, u) w.getDerivedStateFromProps == null && d.componentWillMount != null && d.componentWillMount(), d.componentDidMount != null && d.__h.push(d.componentDidMount);
30100
+ if (v = e.props, y = (c = w.contextType) && i[c.__c], b = c ? y ? y.props.value : c.__ : i, n.__c ? g = (d = e.__c = n.__c).__ = d.__E : ("prototype" in w && w.prototype.render ? e.__c = d = new w(v, b) : (e.__c = d = new Fr(v, b), d.constructor = w, d.render = mX), y && y.sub(d), d.props = v, d.state || (d.state = {}), d.context = b, d.__n = i, u = d.__d = !0, d.__h = []), d.__s == null && (d.__s = d.state), w.getDerivedStateFromProps != null && (d.__s == d.state && (d.__s = Us({}, d.__s)), Us(d.__s, w.getDerivedStateFromProps(v, d.__s))), h = d.props, p = d.state, u) w.getDerivedStateFromProps == null && d.componentWillMount != null && d.componentWillMount(), d.componentDidMount != null && d.__h.push(d.componentDidMount);
30101
30101
  else {
30102
30102
  if (w.getDerivedStateFromProps == null && v !== h && d.componentWillReceiveProps != null && d.componentWillReceiveProps(v, b), !d.__e && d.shouldComponentUpdate != null && d.shouldComponentUpdate(v, d.__s, b) === !1 || e.__v === n.__v) {
30103
30103
  d.props = v, d.state = d.__s, e.__v !== n.__v && (d.__d = !1), d.__v = e, e.__e = n.__e, e.__k = n.__k, e.__k.forEach(function(_) {
@@ -30109,7 +30109,7 @@ function g4(t, e, n, i, r, s, o, a, l) {
30109
30109
  d.componentDidUpdate(h, p, m);
30110
30110
  });
30111
30111
  }
30112
- d.context = b, d.props = v, d.state = d.__s, (c = et.__r) && c(e), d.__d = !1, d.__v = e, d.__P = t, c = d.render(d.props, d.state, d.context), d.state = d.__s, d.getChildContext != null && (i = Ws(Ws({}, i), d.getChildContext())), u || d.getSnapshotBeforeUpdate == null || (m = d.getSnapshotBeforeUpdate(h, p)), k = c != null && c.type === il && c.key == null ? c.props.children : c, Db(t, Array.isArray(k) ? k : [
30112
+ d.context = b, d.props = v, d.state = d.__s, (c = et.__r) && c(e), d.__d = !1, d.__v = e, d.__P = t, c = d.render(d.props, d.state, d.context), d.state = d.__s, d.getChildContext != null && (i = Us(Us({}, i), d.getChildContext())), u || d.getSnapshotBeforeUpdate == null || (m = d.getSnapshotBeforeUpdate(h, p)), k = c != null && c.type === il && c.key == null ? c.props.children : c, Db(t, Array.isArray(k) ? k : [
30113
30113
  k
30114
30114
  ], e, n, i, r, s, o, a, l), d.base = e.__e, e.__h = null, d.__h.length && o.push(d), g && (d.__E = d.__ = null), d.__e = !1;
30115
30115
  } else s == null && e.__v === n.__v ? (e.__k = n.__k, e.__e = n.__e) : e.__e = pX(n.__e, e, n, i, r, s, o, l);
@@ -30197,7 +30197,7 @@ L0 = Nb.slice, et = {
30197
30197
  }
30198
30198
  }, Ab = 0, Fr.prototype.setState = function(t, e) {
30199
30199
  var n;
30200
- n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = Ws({}, this.state), typeof t == "function" && (t = t(Ws({}, n), this.props)), t && Ws(n, t), t != null && this.__v && (e && this.__h.push(e), j6(this));
30200
+ n = this.__s != null && this.__s !== this.state ? this.__s : this.__s = Us({}, this.state), typeof t == "function" && (t = t(Us({}, n), this.props)), t && Us(n, t), t != null && this.__v && (e && this.__h.push(e), j6(this));
30201
30201
  }, Fr.prototype.forceUpdate = function(t) {
30202
30202
  this.__v && (this.__e = !0, t && this.__h.push(t), j6(this));
30203
30203
  }, Fr.prototype.render = il, pc = [], Mb = typeof Promise == "function" ? Promise.prototype.then.bind(Promise.resolve()) : setTimeout, U1.__r = 0;
@@ -30238,7 +30238,7 @@ function yX(t) {
30238
30238
  } catch {
30239
30239
  }
30240
30240
  }
30241
- var Js = {
30241
+ var Xs = {
30242
30242
  set: vX,
30243
30243
  get: yX
30244
30244
  };
@@ -30347,13 +30347,13 @@ const d2 = [
30347
30347
  ];
30348
30348
  let Ln = null;
30349
30349
  function CX(t) {
30350
- Ln || (Ln = Js.get("frequently") || {});
30350
+ Ln || (Ln = Xs.get("frequently") || {});
30351
30351
  const e = t.id || t;
30352
- e && (Ln[e] || (Ln[e] = 0), Ln[e] += 1, Js.set("last", e), Js.set("frequently", Ln));
30352
+ e && (Ln[e] || (Ln[e] = 0), Ln[e] += 1, Xs.set("last", e), Xs.set("frequently", Ln));
30353
30353
  }
30354
30354
  function _X({ maxFrequentRows: t, perLine: e }) {
30355
30355
  if (!t) return [];
30356
- Ln || (Ln = Js.get("frequently"));
30356
+ Ln || (Ln = Xs.get("frequently"));
30357
30357
  let n = [];
30358
30358
  if (!Ln) {
30359
30359
  Ln = {};
@@ -30363,7 +30363,7 @@ function _X({ maxFrequentRows: t, perLine: e }) {
30363
30363
  }
30364
30364
  return n;
30365
30365
  }
30366
- const i = t * e, r = Js.get("last");
30366
+ const i = t * e, r = Xs.get("last");
30367
30367
  for (let s in Ln) n.push(s);
30368
30368
  if (n.sort((s, o) => {
30369
30369
  const a = Ln[o], l = Ln[s];
@@ -30373,7 +30373,7 @@ function _X({ maxFrequentRows: t, perLine: e }) {
30373
30373
  n = n.slice(0, i);
30374
30374
  for (let o of s)
30375
30375
  o != r && delete Ln[o];
30376
- r && n.indexOf(r) == -1 && (delete Ln[n[n.length - 1]], n.splice(-1, 1, r)), Js.set("frequently", Ln);
30376
+ r && n.indexOf(r) == -1 && (delete Ln[n[n.length - 1]], n.splice(-1, 1, r)), Xs.set("frequently", Ln);
30377
30377
  }
30378
30378
  return n;
30379
30379
  }
@@ -30383,7 +30383,7 @@ var zb = {
30383
30383
  DEFAULTS: d2
30384
30384
  }, jb = {};
30385
30385
  jb = JSON.parse('{"search":"Search","search_no_results_1":"Oh no!","search_no_results_2":"That emoji couldn’t be found","pick":"Pick an emoji…","add_custom":"Add custom emoji","categories":{"activity":"Activity","custom":"Custom","flags":"Flags","foods":"Food & Drink","frequent":"Frequently used","nature":"Animals & Nature","objects":"Objects","people":"Smileys & People","places":"Travel & Places","search":"Search Results","symbols":"Symbols"},"skins":{"1":"Default","2":"Light","3":"Medium-Light","4":"Medium","5":"Medium-Dark","6":"Dark","choose":"Choose default skin tone"}}');
30386
- var is = {
30386
+ var rs = {
30387
30387
  autoFocus: {
30388
30388
  value: !1
30389
30389
  },
@@ -30567,7 +30567,7 @@ function T0(t, { caller: e } = {}) {
30567
30567
  async function SX(t) {
30568
30568
  Ub = !0;
30569
30569
  let { emojiVersion: e, set: n, locale: i } = t;
30570
- if (e || (e = is.emojiVersion.value), n || (n = is.set.value), i || (i = is.locale.value), ft)
30570
+ if (e || (e = rs.emojiVersion.value), n || (n = rs.set.value), i || (i = rs.locale.value), ft)
30571
30571
  ft.categories = ft.categories.filter((l) => !l.name);
30572
30572
  else {
30573
30573
  ft = (typeof t.data == "function" ? await t.data() : t.data) || await K6(`https://cdn.jsdelivr.net/npm/@emoji-mart/data@latest/sets/${e}/${n}.json`), ft.emoticons = {}, ft.natives = {}, ft.categories.unshift({
@@ -30599,7 +30599,7 @@ async function SX(t) {
30599
30599
  const l = ft.categories[o];
30600
30600
  if (l.id == "frequent") {
30601
30601
  let { maxFrequentRows: u, perLine: h } = t;
30602
- u = u >= 0 ? u : is.maxFrequentRows.value, h || (h = is.perLine.value), l.emojis = zb.get({
30602
+ u = u >= 0 ? u : rs.maxFrequentRows.value, h || (h = rs.perLine.value), l.emojis = zb.get({
30603
30603
  maxFrequentRows: u,
30604
30604
  perLine: h
30605
30605
  });
@@ -31035,8 +31035,8 @@ var Zb = {
31035
31035
  transform: (t) => /\D/.test(t) ? t : `${t}px`
31036
31036
  },
31037
31037
  // Shared
31038
- set: is.set,
31039
- skin: is.skin
31038
+ set: rs.set,
31039
+ skin: rs.skin
31040
31040
  };
31041
31041
  class Jb extends Kb {
31042
31042
  async connectedCallback() {
@@ -31373,7 +31373,7 @@ const md = {
31373
31373
  class XX extends Fr {
31374
31374
  getInitialState(e = this.props) {
31375
31375
  return {
31376
- skin: Js.get("skin") || e.skin,
31376
+ skin: Xs.get("skin") || e.skin,
31377
31377
  theme: this.initTheme(e.theme)
31378
31378
  };
31379
31379
  }
@@ -31654,7 +31654,7 @@ class XX extends Fr {
31654
31654
  this.ignoreMouse(), this.closeSkins(), this.setState({
31655
31655
  skin: e,
31656
31656
  tempSkin: null
31657
- }), Js.set("skin", e);
31657
+ }), Xs.set("skin", e);
31658
31658
  }
31659
31659
  renderNav() {
31660
31660
  return /* @__PURE__ */ ue(ZX, {
@@ -32149,7 +32149,7 @@ class XX extends Fr {
32149
32149
  }
32150
32150
  class v4 extends PX {
32151
32151
  async connectedCallback() {
32152
- const e = qb(this.props, is, this);
32152
+ const e = qb(this.props, rs, this);
32153
32153
  e.element = this, e.ref = (n) => {
32154
32154
  this.component = n;
32155
32155
  }, await T0(e), !this.disconnected && $b(/* @__PURE__ */ ue(XX, {
@@ -32162,7 +32162,7 @@ class v4 extends PX {
32162
32162
  });
32163
32163
  }
32164
32164
  }
32165
- Bi(v4, "Props", is);
32165
+ Bi(v4, "Props", rs);
32166
32166
  typeof customElements < "u" && !customElements.get("em-emoji-picker") && customElements.define("em-emoji-picker", v4);
32167
32167
  var Yb = {};
32168
32168
  Yb = `:host {
@@ -33136,7 +33136,7 @@ const aY = ({ link: t, firstName: e, lastName: n, src: i, onClick: r, canReact:
33136
33136
  function cY({ emoji: t, initialCount: e, hasReacted: n = !1, users: i, onInteraction: r }) {
33137
33137
  const [s, o] = J(n), [a, l] = J(e), c = _e(null), { fireEmojiConfetti: d } = zA(), u = (m, g) => {
33138
33138
  m.stopPropagation(), l(a + (s ? -1 : 1)), o(!s), r?.(g), s || d(g, c);
33139
- }, h = i?.map((m) => m.name).join(", ") || "", p = f(gs, {
33139
+ }, h = i?.map((m) => m.name).join(", ") || "", p = f(vs, {
33140
33140
  ref: c,
33141
33141
  variant: "outline",
33142
33142
  size: "md",
@@ -33208,7 +33208,7 @@ const fv = (t) => {
33208
33208
  className: D("flex flex-1 flex-row items-center gap-1.5", e && "justify-end"),
33209
33209
  children: t.map((n) => {
33210
33210
  const i = f("div", {
33211
- children: f(to, {
33211
+ children: f(no, {
33212
33212
  icon: n.icon,
33213
33213
  text: n.label ?? (n.description || ""),
33214
33214
  onlyIcon: !0,
@@ -33275,7 +33275,7 @@ const fv = (t) => {
33275
33275
  children: [f(qp, {
33276
33276
  date: c
33277
33277
  }), f(Ve, {
33278
- icon: ho,
33278
+ icon: po,
33279
33279
  size: "sm",
33280
33280
  className: "text-f1-foreground-tertiary"
33281
33281
  })]
@@ -33368,7 +33368,7 @@ const fv = (t) => {
33368
33368
  onClick: y,
33369
33369
  children: [f("div", {
33370
33370
  className: "hidden md:block",
33371
- children: e ? f(rs, {
33371
+ children: e ? f(ss, {
33372
33372
  href: e.url || "#",
33373
33373
  title: k,
33374
33374
  stopPropagation: !0,
@@ -33389,7 +33389,7 @@ const fv = (t) => {
33389
33389
  children: [x("div", {
33390
33390
  className: "flex flex-1 flex-row flex-wrap items-center gap-1",
33391
33391
  children: [e ? x(Je, {
33392
- children: [f(rs, {
33392
+ children: [f(ss, {
33393
33393
  href: e.url,
33394
33394
  className: "block md:hidden",
33395
33395
  title: k,
@@ -33403,7 +33403,7 @@ const fv = (t) => {
33403
33403
  size: "xs"
33404
33404
  })
33405
33405
  })
33406
- }), f(rs, {
33406
+ }), f(ss, {
33407
33407
  href: e.url,
33408
33408
  title: k,
33409
33409
  className: "font-medium text-f1-foreground no-underline visited:text-f1-foreground",
@@ -33419,7 +33419,7 @@ const fv = (t) => {
33419
33419
  }), f("span", {
33420
33420
  className: D("text-f1-foreground-secondary", !e && "capitalize"),
33421
33421
  children: u
33422
- }), f(rs, {
33422
+ }), f(ss, {
33423
33423
  onClick: n.onClick,
33424
33424
  title: n.title,
33425
33425
  className: "font-medium text-f1-foreground no-underline visited:text-f1-foreground",
@@ -33638,7 +33638,7 @@ function qh({ item: t, collapse: e = !1 }) {
33638
33638
  case "tag-list":
33639
33639
  return e ? x("div", {
33640
33640
  className: "flex flex-wrap items-center justify-center gap-1 font-medium",
33641
- children: [f(to, {
33641
+ children: [f(no, {
33642
33642
  text: n.tags[0]
33643
33643
  }), n.tags.length > 1 && x("span", {
33644
33644
  className: "tabular-nums text-f1-foreground-secondary",
@@ -33646,7 +33646,7 @@ function qh({ item: t, collapse: e = !1 }) {
33646
33646
  })]
33647
33647
  }) : f("div", {
33648
33648
  className: D("flex flex-col gap-1 [&>div]:w-fit", n.tags.length > 1 && "-mt-[3px]"),
33649
- children: n.tags.map((i) => f(to, {
33649
+ children: n.tags.map((i) => f(no, {
33650
33650
  text: i
33651
33651
  }, i))
33652
33652
  });
@@ -33866,7 +33866,7 @@ function CY({ title: t, avatar: e, deactivated: n, description: i, primaryAction
33866
33866
  })
33867
33867
  }), h && g(r) && f("div", {
33868
33868
  className: "w-full md:hidden [&>*]:w-full",
33869
- children: f(vs, {
33869
+ children: f(ys, {
33870
33870
  items: r.items,
33871
33871
  onClick: r.onClick,
33872
33872
  variant: "default",
@@ -33928,7 +33928,7 @@ function CY({ title: t, avatar: e, deactivated: n, description: i, primaryAction
33928
33928
  })
33929
33929
  }), h && g(r) && f("div", {
33930
33930
  className: "hidden md:block",
33931
- children: f(vs, {
33931
+ children: f(ys, {
33932
33932
  items: r.items,
33933
33933
  onClick: r.onClick,
33934
33934
  variant: "default",
@@ -33974,7 +33974,7 @@ const ome = ({ avatar: t, title: e, description: n, primaryAction: i, secondaryA
33974
33974
  })]
33975
33975
  }), i && f("div", {
33976
33976
  className: "w-fit",
33977
- children: f(rs, {
33977
+ children: f(ss, {
33978
33978
  href: i.href,
33979
33979
  target: "_blank",
33980
33980
  children: i.label
@@ -34099,7 +34099,7 @@ const ome = ({ avatar: t, title: e, description: n, primaryAction: i, secondaryA
34099
34099
  className: "grid",
34100
34100
  children: f(Ve, {
34101
34101
  "aria-hidden": !0,
34102
- icon: ho,
34102
+ icon: po,
34103
34103
  size: "md"
34104
34104
  })
34105
34105
  })]
@@ -34327,7 +34327,7 @@ const A0 = (t, e) => t && t.type === "copy" ? {
34327
34327
  }), "bottomTags" in n && f("div", {
34328
34328
  className: "-ml-1.5 flex flex-row items-center [&>div]:-mr-1",
34329
34329
  children: n.bottomTags.map((s, o) => x(Je, {
34330
- children: [f(to, {
34330
+ children: [f(no, {
34331
34331
  ...s
34332
34332
  }, s.text), o < n.bottomTags.length - 1 && f("span", {
34333
34333
  children: "·"
@@ -34600,7 +34600,7 @@ const v2 = {
34600
34600
  "aria-labelledby": r
34601
34601
  }), s ? f("div", {
34602
34602
  className: "absolute -bottom-1.5 -right-1.5 inline-flex rounded-sm bg-f1-background",
34603
- children: f(gs, {
34603
+ children: f(vs, {
34604
34604
  variant: "neutral",
34605
34605
  size: "sm",
34606
34606
  compact: !0,
@@ -34740,7 +34740,7 @@ function $Y({ otherActions: t, open: e, setOpen: n, disabled: i }) {
34740
34740
  open: e,
34741
34741
  onOpenChange: n,
34742
34742
  children: f(Gt, {
34743
- icon: ms,
34743
+ icon: gs,
34744
34744
  label: "Actions",
34745
34745
  hideLabel: !0,
34746
34746
  variant: "ghost",
@@ -34765,7 +34765,7 @@ function hv({ item: t, counter: e, isActive: n, sortable: i, collapsible: r = !1
34765
34765
  label: p.actions.toggle,
34766
34766
  hideLabel: !0,
34767
34767
  className: D("text-f1-icon transition-all", !s && "-rotate-90"),
34768
- icon: _s
34768
+ icon: Ss
34769
34769
  }), x("div", {
34770
34770
  className: D($t("focus:border-f1-border-focus"), "relative flex h-[36px] min-w-0 flex-grow items-center gap-1 rounded-[10px] border border-solid border-transparent px-1.5 text-sm transition-colors", n && "bg-f1-background-selected", g && !y && "cursor-pointer hover:bg-f1-background-hover", y && "cursor-not-allowed opacity-30"),
34771
34771
  onClick: y ? void 0 : () => g?.(t.id),
@@ -35075,7 +35075,7 @@ function J1(t, e, n, i, r, s, o, a, l) {
35075
35075
  onToggleExpanded: a,
35076
35076
  sortable: e,
35077
35077
  hideChildrenCounter: s,
35078
- children: t.children && (c === pv || d) && (e ? f(no, {
35078
+ children: t.children && (c === pv || d) && (e ? f(io, {
35079
35079
  as: "div",
35080
35080
  values: t.children,
35081
35081
  onReorder: u,
@@ -35135,7 +35135,7 @@ function WY({ title: t, items: e, className: n, activeItem: i, collapsible: r =
35135
35135
  className: "h-full min-h-0",
35136
35136
  children: f("div", {
35137
35137
  className: "px-3 pb-2",
35138
- children: s ? f(no, {
35138
+ children: s ? f(io, {
35139
35139
  as: "div",
35140
35140
  values: y,
35141
35141
  onReorder: C,
@@ -35279,7 +35279,7 @@ const KY = ({ companies: t, selected: e, onChange: n, children: i, additionalOpt
35279
35279
  },
35280
35280
  className: "flex h-3 w-3 shrink-0 items-center justify-center text-f1-icon-bold",
35281
35281
  children: f(Ve, {
35282
- icon: _s,
35282
+ icon: Ss,
35283
35283
  size: "xs"
35284
35284
  })
35285
35285
  })
@@ -35383,7 +35383,7 @@ function JY() {
35383
35383
  const { prevSidebarState: t, sidebarState: e, toggleSidebar: n, isSmallScreen: i } = Tl(), r = _e(null);
35384
35384
  return Le(() => {
35385
35385
  t === "hidden" && e === "locked" && r.current?.focus();
35386
- }, [t, e]), x(gs, {
35386
+ }, [t, e]), x(vs, {
35387
35387
  variant: "ghost",
35388
35388
  size: "md",
35389
35389
  onClick: () => n(),
@@ -35494,7 +35494,7 @@ const QY = ({ item: t, active: e }) => x("div", {
35494
35494
  }), T.push({
35495
35495
  label: c.favorites.remove,
35496
35496
  onClick: () => i?.(t),
35497
- icon: po,
35497
+ icon: mo,
35498
35498
  critical: !0
35499
35499
  }), T;
35500
35500
  }, [_, k, w, c, o, r, i, t]), S = () => {
@@ -35591,7 +35591,7 @@ const QY = ({ item: t, active: e }) => x("div", {
35591
35591
  },
35592
35592
  className: "h-3 w-3",
35593
35593
  children: f(Ve, {
35594
- icon: _s,
35594
+ icon: Ss,
35595
35595
  size: "xs",
35596
35596
  className: "text-f1-icon-secondary"
35597
35597
  })
@@ -35781,7 +35781,7 @@ function nQ({ nonSortableItems: t, sortableItems: e, setSortableItems: n, contai
35781
35781
  children: c ? f("div", {
35782
35782
  className: E,
35783
35783
  children: N
35784
- }) : f(no, {
35784
+ }) : f(io, {
35785
35785
  axis: "y",
35786
35786
  values: v,
35787
35787
  onReorder: k,
@@ -35802,7 +35802,7 @@ function nQ({ nonSortableItems: t, sortableItems: e, setSortableItems: n, contai
35802
35802
  children: c ? f("div", {
35803
35803
  className: T,
35804
35804
  children: I
35805
- }) : f(no, {
35805
+ }) : f(io, {
35806
35806
  axis: "y",
35807
35807
  values: e,
35808
35808
  onReorder: n,
@@ -35989,7 +35989,7 @@ const rQ = Oi({
35989
35989
  })]
35990
35990
  }), (n || i) && x("div", {
35991
35991
  className: D("flex flex-shrink-0 flex-row items-center gap-3 pl-8 @sm:pl-0"),
35992
- children: [i && f(rs, {
35992
+ children: [i && f(ss, {
35993
35993
  href: i.href,
35994
35994
  target: "_blank",
35995
35995
  variant: "link",
@@ -36010,7 +36010,7 @@ const rQ = Oi({
36010
36010
  rejected: "critical"
36011
36011
  }, yv = {
36012
36012
  approved: {
36013
- icon: Cs,
36013
+ icon: _s,
36014
36014
  type: "positive",
36015
36015
  size: "sm"
36016
36016
  },
@@ -36242,7 +36242,7 @@ const yQ = (t) => Array.isArray(t) ? t.every((e) => vQ(e)) ? t : [{
36242
36242
  onClick: h.onClick,
36243
36243
  disabled: h.disabled,
36244
36244
  size: "lg"
36245
- }) : f(vs, {
36245
+ }) : f(ys, {
36246
36246
  items: u,
36247
36247
  onClick: (m) => {
36248
36248
  p(m)?.onClick?.();
@@ -36269,7 +36269,7 @@ const yQ = (t) => Array.isArray(t) ? t.every((e) => vQ(e)) ? t : [{
36269
36269
  onClick: h.onClick,
36270
36270
  disabled: h.disabled
36271
36271
  }) : f(Je, {
36272
- children: f(vs, {
36272
+ children: f(ys, {
36273
36273
  items: u,
36274
36274
  onClick: (m) => {
36275
36275
  p(m)?.onClick?.();
@@ -36295,7 +36295,7 @@ const yQ = (t) => Array.isArray(t) ? t.every((e) => vQ(e)) ? t : [{
36295
36295
  label: i[0].label,
36296
36296
  loading: i[0].loading,
36297
36297
  disabled: i[0].disabled
36298
- }) : i.length > 1 && f(vs, {
36298
+ }) : i.length > 1 && f(ys, {
36299
36299
  size: "md",
36300
36300
  items: i.map((l, c) => ({
36301
36301
  label: l.label,
@@ -36321,7 +36321,7 @@ const yQ = (t) => Array.isArray(t) ? t.every((e) => vQ(e)) ? t : [{
36321
36321
  onOpenChange: a,
36322
36322
  children: f(Gt, {
36323
36323
  variant: "outline",
36324
- icon: ms,
36324
+ icon: gs,
36325
36325
  label: "Actions",
36326
36326
  hideLabel: !0,
36327
36327
  pressed: o
@@ -36581,7 +36581,7 @@ const yC = ({ className: t, ...e }) => f(N0, {
36581
36581
  className: D("border border-solid border-f1-border hover:border-f1-border-hover hover:bg-f1-background", t),
36582
36582
  ...e,
36583
36583
  children: f(Ve, {
36584
- icon: ho
36584
+ icon: po
36585
36585
  })
36586
36586
  });
36587
36587
  yC.displayName = "PaginationNext";
@@ -37143,7 +37143,7 @@ function UQ({ drag: t, id: e, index: n, total: i, laneId: r, draggable: s = !1,
37143
37143
  children: [f(nM, {
37144
37144
  ...c,
37145
37145
  disableOverlayLink: s
37146
- }), c.link && f(rs, {
37146
+ }), c.link && f(ss, {
37147
37147
  ref: u,
37148
37148
  href: c.link,
37149
37149
  className: D("!z-1 pointer-events-none absolute inset-0 block rounded-xl", $t()),
@@ -37928,7 +37928,7 @@ const eee = ({ lanes: t, title: e, description: n, avatar: i, metadata: r, onMov
37928
37928
  o(a), e?.(a);
37929
37929
  },
37930
37930
  children: f(Gt, {
37931
- icon: ms,
37931
+ icon: gs,
37932
37932
  label: i,
37933
37933
  hideLabel: !0,
37934
37934
  variant: "ghost",
@@ -38070,7 +38070,7 @@ const eee = ({ lanes: t, title: e, description: n, avatar: i, metadata: r, onMov
38070
38070
  title: `Select ${t.selectable(e)}`,
38071
38071
  hideLabel: !0
38072
38072
  })
38073
- }), c && f(rs, {
38073
+ }), c && f(ss, {
38074
38074
  href: c,
38075
38075
  className: "pointer-events-auto absolute inset-0 block",
38076
38076
  tabIndex: 0,
@@ -38300,10 +38300,7 @@ const eee = ({ lanes: t, title: e, description: n, avatar: i, metadata: r, onMov
38300
38300
  })]
38301
38301
  });
38302
38302
  }, oee = (t) => {
38303
- t.setVisualizationSettings("table", {
38304
- order: [],
38305
- hidden: []
38306
- });
38303
+ t.setVisualizationSettings("table", {});
38307
38304
  }, aee = () => {
38308
38305
  const t = {};
38309
38306
  for (const [e, n] of Object.entries(jf))
@@ -38350,61 +38347,69 @@ const eee = ({ lanes: t, title: e, description: n, avatar: i, metadata: r, onMov
38350
38347
  },
38351
38348
  children: t
38352
38349
  });
38353
- }, Lo = (t) => t.id ?? t.label ?? "column", cee = (t) => [...t].sort((e, n) => (e.order ?? t.length) - (n.order ?? t.length)).map((e) => Lo(e)), fee = (t) => t.filter((e) => e.hidden && !e.noHiding).map((e) => Lo(e)), AC = (t, e, n, i, r) => {
38354
- const [s, o] = J(
38355
- (r ? n?.hidden : void 0) ?? fee(t)
38356
- ), [a, l] = J(
38357
- (i ? n?.order : void 0) ?? cee(t)
38350
+ }, es = (t) => t.id ?? t.label ?? "column", cee = (t) => [...t].sort((e, n) => (e.order ?? t.length) - (n.order ?? t.length)).map((e) => es(e)), fee = (t) => t.filter((e) => e.hidden && !e.noHiding).map((e) => es(e)), AC = (t, e, n, i, r) => {
38351
+ const s = () => {
38352
+ if (!r || n?.hidden === void 0)
38353
+ return fee(t);
38354
+ if (!n.order || n.order.length === 0)
38355
+ return n.hidden;
38356
+ const h = new Set(n.order), p = t.filter(
38357
+ (m) => m.hidden && !m.noHiding && !h.has(es(m))
38358
+ ).map(es);
38359
+ return [...n.hidden, ...p];
38360
+ }, [o, a] = J(s()), [l, c] = J(
38361
+ (i && n?.order !== void 0 ? n.order : void 0) ?? cee(t)
38358
38362
  );
38359
38363
  Le(() => {
38360
- n?.hidden && o(n.hidden);
38361
- }, [JSON.stringify(n?.hidden)]), Le(() => {
38362
- n?.order && l(n.order);
38363
- }, [JSON.stringify(n?.order)]);
38364
- const c = we(() => {
38365
- const u = [...t], h = e || 1;
38364
+ r && n?.hidden !== void 0 && a(s());
38365
+ }, [JSON.stringify(n?.hidden), r]), Le(() => {
38366
+ i && n?.order !== void 0 && c(n.order);
38367
+ }, [JSON.stringify(n?.order), i]);
38368
+ const d = we(() => {
38369
+ const h = [...t], p = e || 1;
38366
38370
  return [
38367
38371
  // Frozen columns can not be hidden even if the id is in status
38368
38372
  // The frist column is always visible and not sortable even if frozenColumns is 0
38369
- ...u.slice(0, h).map((p, m) => ({
38373
+ ...h.slice(0, p).map((m, g) => ({
38370
38374
  column: {
38371
- ...p,
38372
- id: Lo(p)
38375
+ ...m,
38376
+ id: es(m)
38373
38377
  },
38374
38378
  canHide: !1,
38375
38379
  visible: !0,
38376
38380
  sortable: !1,
38377
- order: m
38381
+ order: g
38378
38382
  })),
38379
38383
  // The rest of the columns are sorted and hidden using the status in colsOrder and colsHidden
38380
- ...u.slice(h).sort(
38381
- (p, m) => a.indexOf(Lo(p)) - a.indexOf(Lo(m))
38382
- ).map((p, m) => ({
38384
+ ...h.slice(p).sort((m, g) => {
38385
+ const v = l.indexOf(es(m)), y = l.indexOf(es(g)), b = v === -1 ? l.length : v, k = y === -1 ? l.length : y;
38386
+ return b - k;
38387
+ }).map((m, g) => ({
38383
38388
  column: {
38384
- ...p,
38385
- id: Lo(p)
38389
+ ...m,
38390
+ id: es(m)
38386
38391
  },
38387
- canHide: r ? !(p.noHiding ?? !1) : !1,
38388
- visible: !s.includes(Lo(p)),
38392
+ canHide: r ? !(m.noHiding ?? !1) : !1,
38393
+ visible: !o.includes(es(m)),
38389
38394
  sortable: !!i,
38390
- order: m + e
38395
+ order: g + e
38391
38396
  }))
38392
38397
  ];
38393
38398
  }, [
38394
38399
  e,
38395
- a,
38396
- s,
38400
+ l,
38401
+ o,
38397
38402
  t,
38398
38403
  i,
38399
38404
  r
38400
38405
  ]);
38401
38406
  return {
38402
- columns: we(() => c.filter((u) => u.visible).map((u) => u.column), [c]),
38403
- columnsWithStatus: c,
38404
- colsHidden: s,
38405
- setColsHidden: o,
38406
- colsOrder: a,
38407
- setColsOrder: l
38407
+ columns: we(() => d.filter((h) => h.visible).map((h) => h.column), [d]),
38408
+ columnsWithStatus: d,
38409
+ colsHidden: o,
38410
+ setColsHidden: a,
38411
+ colsOrder: l,
38412
+ setColsOrder: c
38408
38413
  };
38409
38414
  }, dee = ({ item: t, onChangeVisibility: e, allowSorting: n, allowHiding: i }) => {
38410
38415
  const r = "flex items-center gap-2 text-medium text-sm pr-4", s = Of(), o = x("div", {
@@ -38459,7 +38464,7 @@ const eee = ({ lanes: t, title: e, description: n, avatar: i, metadata: r, onMov
38459
38464
  const r = (o) => {
38460
38465
  e?.(t.map((a) => a.id === o.id ? o : a));
38461
38466
  };
38462
- return f(no, {
38467
+ return f(io, {
38463
38468
  className: "flex flex-1 select-none list-none flex-col gap-2",
38464
38469
  values: t,
38465
38470
  onReorder: (o) => {
@@ -38482,10 +38487,11 @@ const eee = ({ lanes: t, title: e, description: n, avatar: i, metadata: r, onMov
38482
38487
  canHide: h.canHide,
38483
38488
  visible: h.visible
38484
38489
  })), [a, i]), c = (h) => {
38485
- o("table", {
38486
- order: h.map((p) => p.id),
38487
- hidden: h.filter((p) => !p.visible).map((p) => p.id)
38488
- });
38490
+ o("table", (p) => ({
38491
+ ...p,
38492
+ order: h.map((m) => m.id),
38493
+ hidden: h.filter((m) => !m.visible).map((m) => m.id)
38494
+ }));
38489
38495
  }, d = (h) => {
38490
38496
  c(l.map((p) => ({
38491
38497
  ...p,
@@ -38592,7 +38598,7 @@ function PC({ children: t }) {
38592
38598
  const gee = {
38593
38599
  auto: void 0,
38594
38600
  fit: 1
38595
- }, vee = (t) => typeof t == "number", BC = (t) => vee(t) ? t : gee[t], F0 = 32, X1 = 24, qd = 18, yee = "1px", Bs = 8, HC = 32, $C = 4, w2 = 40, xee = w2 - X1, S4 = ({
38601
+ }, vee = (t) => typeof t == "number", BC = (t) => vee(t) ? t : gee[t], F0 = 32, X1 = 24, qd = 18, yee = "1px", Hs = 8, HC = 32, $C = 4, w2 = 40, xee = w2 - X1, S4 = ({
38596
38602
  depth: t,
38597
38603
  padding: e = 0
38598
38604
  }) => `${t * F0 + e}px`, kee = ({
@@ -38657,7 +38663,7 @@ const gee = {
38657
38663
  })
38658
38664
  });
38659
38665
  }, Eee = (t, e) => {
38660
- const { rowWithChildren: n, nestedVariant: i, onLoadMoreChildren: r } = e ?? {}, s = i === "detailed", o = r ? HC / 2 - Bs : X1 / 2 - Bs, a = n && !r ? xee : s ? w2 - 6 : w2, l = t !== 0 && `calc(${t}px - ${X1 + Bs}px )`;
38666
+ const { rowWithChildren: n, nestedVariant: i, onLoadMoreChildren: r } = e ?? {}, s = i === "detailed", o = r ? HC / 2 - Hs : X1 / 2 - Hs, a = n && !r ? xee : s ? w2 - 6 : w2, l = t !== 0 && `calc(${t}px - ${X1 + Hs}px )`;
38661
38667
  return {
38662
38668
  "--line-left": `-${2 * qd}px`,
38663
38669
  "--line-width": yee,
@@ -38883,12 +38889,12 @@ function WC({ children: t, sticky: e = !1 }) {
38883
38889
  children: t
38884
38890
  });
38885
38891
  }
38886
- const Us = V(({ children: t, selected: e, className: n, sticky: i }, r) => f(FC, {
38892
+ const qs = V(({ children: t, selected: e, className: n, sticky: i }, r) => f(FC, {
38887
38893
  ref: r,
38888
38894
  className: D(e && "bg-f1-background-selected hover:bg-f1-background-selected", n, "relative before:pointer-events-none before:absolute before:inset-0 before:z-10 before:content-['']", "[&:has(.table-cell-action-button:focus)]:before:rounded-sm [&:has(.table-cell-action-button:focus)]:before:ring-1 [&:has(.table-cell-action-button:focus)]:before:ring-inset [&:has(.table-cell-action-button:focus)]:before:ring-f1-special-ring", "[&:has(a:focus)]:before:rounded-sm [&:has(a:focus)]:before:ring-1 [&:has(a:focus)]:before:ring-inset [&:has(a:focus)]:before:ring-f1-special-ring", i && "hover:bg-f1-background-hover! sticky top-10 z-50 bg-f1-background"),
38889
38895
  children: t
38890
38896
  }));
38891
- Us.displayName = "TableRow";
38897
+ qs.displayName = "TableRow";
38892
38898
  function Mee({ children: t, loading: e = !1 }) {
38893
38899
  const [n, i] = J(!1), [r, s] = J(!1), o = _e(null);
38894
38900
  return Le(() => {
@@ -38948,7 +38954,7 @@ function Nee({ columns: t = 5 }) {
38948
38954
  role: "presentation",
38949
38955
  "aria-hidden": "true",
38950
38956
  children: [f(WC, {
38951
- children: f(Us, {
38957
+ children: f(qs, {
38952
38958
  children: Array.from({
38953
38959
  length: t
38954
38960
  }).map((e, n) => f(Gd, {
@@ -38960,7 +38966,7 @@ function Nee({ columns: t = 5 }) {
38960
38966
  }), f(PC, {
38961
38967
  children: Array.from({
38962
38968
  length: 5
38963
- }).map((e, n) => f(Us, {
38969
+ }).map((e, n) => f(qs, {
38964
38970
  children: Array.from({
38965
38971
  length: t
38966
38972
  }).map((i, r) => f(Tr, {
@@ -39012,7 +39018,7 @@ const UC = (t, e, n) => {
39012
39018
  a(0);
39013
39019
  return;
39014
39020
  }
39015
- const p = !r || r.getBoundingClientRect().top === 0, m = () => p ? (n.getBoundingClientRect().top ?? 0) - Bs / 2 : (r?.getBoundingClientRect().top ?? 0) - Bs / 2, g = () => p ? n.getBoundingClientRect().bottom - Bs : (r?.getBoundingClientRect().bottom ?? 0) - Bs, v = () => n.getBoundingClientRect().top ?? 0 - Bs, y = () => h.getBoundingClientRect().height, b = () => e ? $C : 0, k = () => {
39021
+ const p = !r || r.getBoundingClientRect().top === 0, m = () => p ? (n.getBoundingClientRect().top ?? 0) - Hs / 2 : (r?.getBoundingClientRect().top ?? 0) - Hs / 2, g = () => p ? n.getBoundingClientRect().bottom - Hs : (r?.getBoundingClientRect().bottom ?? 0) - Hs, v = () => n.getBoundingClientRect().top ?? 0 - Hs, y = () => h.getBoundingClientRect().height, b = () => e ? $C : 0, k = () => {
39016
39022
  const M = (t === "basic" ? m() : g()) - v() + y() + b();
39017
39023
  a(M);
39018
39024
  };
@@ -39286,7 +39292,7 @@ const UC = (t, e, n) => {
39286
39292
  groupIndex: l,
39287
39293
  nestedRowProps: u,
39288
39294
  tableWithChildren: h
39289
- }, w) : x(Us, {
39295
+ }, w) : x(qs, {
39290
39296
  ref: p,
39291
39297
  className: D("group transition-colors hover:bg-f1-background-hover", "after:pointer-events-none after:absolute after:inset-x-0 after:bottom-0 after:h-px after:w-full after:bg-f1-border-secondary after:content-['']", c && "after:bg-white-100", !!u?.onLoadMoreChildren && "hover:bg-transparent"),
39292
39298
  children: [t.selectable && f(Tr, {
@@ -39394,7 +39400,7 @@ const UC = (t, e, n) => {
39394
39400
  loading: _,
39395
39401
  children: [f(WC, {
39396
39402
  sticky: !0,
39397
- children: x(Us, {
39403
+ children: x(qs, {
39398
39404
  children: [e.selectable && f(Gd, {
39399
39405
  width: G,
39400
39406
  sticky: {
@@ -39439,7 +39445,7 @@ const UC = (t, e, n) => {
39439
39445
  children: [h?.type === "grouped" && h.groups.map((P, X) => {
39440
39446
  const Y = P.itemCount;
39441
39447
  return x(Rr, {
39442
- children: [x(Us, {
39448
+ children: [x(qs, {
39443
39449
  sticky: !0,
39444
39450
  children: [f(Tr, {
39445
39451
  sticky: {
@@ -39494,7 +39500,7 @@ const UC = (t, e, n) => {
39494
39500
  tableWithChildren: W
39495
39501
  }, `row-${X}`)), p?.type === "infinite-scroll" && v && Array.from({
39496
39502
  length: 5
39497
- }).map((P, X) => f(Us, {
39503
+ }).map((P, X) => f(qs, {
39498
39504
  children: Array.from({
39499
39505
  length: me
39500
39506
  }).map((Y, ae) => f(Tr, {
@@ -39511,7 +39517,7 @@ const UC = (t, e, n) => {
39511
39517
  })
39512
39518
  })]
39513
39519
  }), U && f(Oee, {
39514
- children: x(Us, {
39520
+ children: x(qs, {
39515
39521
  className: D(U.sticky && "sticky bottom-0 z-10 bg-f1-background shadow-[0_-1px_0_0_var(--f1-border-secondary)] hover:bg-f1-background", "font-medium"),
39516
39522
  children: [e.selectable && f(Tr, {
39517
39523
  width: G,
@@ -39569,10 +39575,7 @@ const UC = (t, e, n) => {
39569
39575
  settings: {
39570
39576
  renderer: pee,
39571
39577
  resetHandler: oee,
39572
- default: {
39573
- order: [],
39574
- hidden: []
39575
- }
39578
+ default: {}
39576
39579
  }
39577
39580
  },
39578
39581
  list: {
@@ -39848,7 +39851,7 @@ const UC = (t, e, n) => {
39848
39851
  className: D(o && "bg-f1-background-secondary-hover")
39849
39852
  }), l && f(Ee, {
39850
39853
  variant: "ghost",
39851
- icon: ho,
39854
+ icon: po,
39852
39855
  label: "Next",
39853
39856
  hideLabel: !0,
39854
39857
  size: "sm",
@@ -40023,7 +40026,7 @@ const rte = (t) => "date" in t, ste = {
40023
40026
  h
40024
40027
  )) {
40025
40028
  const m = u[h];
40026
- m && p.setValue(
40029
+ m !== void 0 && p.setValue(
40027
40030
  m
40028
40031
  );
40029
40032
  }
@@ -40104,11 +40107,11 @@ const rte = (t) => "date" in t, ste = {
40104
40107
  return {
40105
40108
  type: "separator"
40106
40109
  };
40107
- const wo = ni;
40110
+ const bo = ni;
40108
40111
  return {
40109
- ...wo,
40112
+ ...bo,
40110
40113
  onClick: () => {
40111
- i?.(wo.id, ht, St), wo.keepSelection || St();
40114
+ i?.(bo.id, ht, St), bo.keepSelection || St();
40112
40115
  }
40113
40116
  };
40114
40117
  };
@@ -40131,7 +40134,7 @@ const rte = (t) => "date" in t, ste = {
40131
40134
  Pt || (Ae(Pt), ie(ht), Ze(Ct(ht, St, _n)));
40132
40135
  }, Wt = (ht) => {
40133
40136
  Ze("error", ht.cause instanceof Error ? ht.cause.message : ht.message);
40134
- }, ko = k2({
40137
+ }, wo = k2({
40135
40138
  value: !!m,
40136
40139
  delay: 100
40137
40140
  });
@@ -40215,7 +40218,7 @@ const rte = (t) => "date" in t, ste = {
40215
40218
  filters: d,
40216
40219
  value: u,
40217
40220
  presets: p,
40218
- presetsLoading: ko,
40221
+ presetsLoading: wo,
40219
40222
  onChange: (ht) => h(ht),
40220
40223
  children: [_ && f(ye.div, {
40221
40224
  className: "flex h-8 w-8 items-center justify-center",
@@ -40409,7 +40412,7 @@ const bme = Fi({
40409
40412
  onClick: n ? void 0 : a.onClick
40410
40413
  }) : f($y, {
40411
40414
  items: l,
40412
- icon: ms,
40415
+ icon: gs,
40413
40416
  size: "sm"
40414
40417
  }))]
40415
40418
  });
@@ -41411,7 +41414,7 @@ class Gc {
41411
41414
  }
41412
41415
  }
41413
41416
  const gte = /* @__PURE__ */ Object.create(null);
41414
- let Xs = class _2 {
41417
+ let Ys = class _2 {
41415
41418
  /**
41416
41419
  @internal
41417
41420
  */
@@ -41780,8 +41783,8 @@ let Xs = class _2 {
41780
41783
  return s.type.checkAttrs(s.attrs), s;
41781
41784
  }
41782
41785
  };
41783
- Xs.prototype.text = void 0;
41784
- class tu extends Xs {
41786
+ Ys.prototype.text = void 0;
41787
+ class tu extends Ys {
41785
41788
  /**
41786
41789
  @internal
41787
41790
  */
@@ -42287,7 +42290,7 @@ let Bv = class h_ {
42287
42290
  create(e = null, n, i) {
42288
42291
  if (this.isText)
42289
42292
  throw new Error("NodeType.create can't construct text nodes");
42290
- return new Xs(this, this.computeAttrs(e), fe.from(n), Ft.setFrom(i));
42293
+ return new Ys(this, this.computeAttrs(e), fe.from(n), Ft.setFrom(i));
42291
42294
  }
42292
42295
  /**
42293
42296
  Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but check the given content
@@ -42295,7 +42298,7 @@ let Bv = class h_ {
42295
42298
  if it doesn't match.
42296
42299
  */
42297
42300
  createChecked(e = null, n, i) {
42298
- return n = fe.from(n), this.checkContent(n), new Xs(this, this.computeAttrs(e), n, Ft.setFrom(i));
42301
+ return n = fe.from(n), this.checkContent(n), new Ys(this, this.computeAttrs(e), n, Ft.setFrom(i));
42299
42302
  }
42300
42303
  /**
42301
42304
  Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but see if it is
@@ -42313,7 +42316,7 @@ let Bv = class h_ {
42313
42316
  n = o.append(n);
42314
42317
  }
42315
42318
  let r = this.contentMatch.matchFragment(n), s = r && r.fillBefore(fe.empty, !0);
42316
- return s ? new Xs(this, e, n.append(s), Ft.setFrom(i)) : null;
42319
+ return s ? new Ys(this, e, n.append(s), Ft.setFrom(i)) : null;
42317
42320
  }
42318
42321
  /**
42319
42322
  Returns true if the given fragment is valid content for this node
@@ -42522,7 +42525,7 @@ class p_ {
42522
42525
  bound.
42523
42526
  */
42524
42527
  nodeFromJSON(e) {
42525
- return Xs.fromJSON(this, e);
42528
+ return Ys.fromJSON(this, e);
42526
42529
  }
42527
42530
  /**
42528
42531
  Deserialize a mark from its JSON representation. This method is
@@ -43568,7 +43571,7 @@ function E4(t, e, n) {
43568
43571
  }
43569
43572
  return fe.fromArray(i);
43570
43573
  }
43571
- class qs extends Un {
43574
+ class Gs extends Un {
43572
43575
  /**
43573
43576
  Create a mark step.
43574
43577
  */
@@ -43584,10 +43587,10 @@ class qs extends Un {
43584
43587
  }
43585
43588
  map(e) {
43586
43589
  let n = e.mapResult(this.from, 1), i = e.mapResult(this.to, -1);
43587
- return n.deleted && i.deleted || n.pos >= i.pos ? null : new qs(n.pos, i.pos, this.mark);
43590
+ return n.deleted && i.deleted || n.pos >= i.pos ? null : new Gs(n.pos, i.pos, this.mark);
43588
43591
  }
43589
43592
  merge(e) {
43590
- return e instanceof qs && e.mark.eq(this.mark) && this.from <= e.to && this.to >= e.from ? new qs(Math.min(this.from, e.from), Math.max(this.to, e.to), this.mark) : null;
43593
+ return e instanceof Gs && e.mark.eq(this.mark) && this.from <= e.to && this.to >= e.from ? new Gs(Math.min(this.from, e.from), Math.max(this.to, e.to), this.mark) : null;
43591
43594
  }
43592
43595
  toJSON() {
43593
43596
  return {
@@ -43603,10 +43606,10 @@ class qs extends Un {
43603
43606
  static fromJSON(e, n) {
43604
43607
  if (typeof n.from != "number" || typeof n.to != "number")
43605
43608
  throw new RangeError("Invalid input for AddMarkStep.fromJSON");
43606
- return new qs(n.from, n.to, e.markFromJSON(n.mark));
43609
+ return new Gs(n.from, n.to, e.markFromJSON(n.mark));
43607
43610
  }
43608
43611
  }
43609
- Un.jsonID("addMark", qs);
43612
+ Un.jsonID("addMark", Gs);
43610
43613
  class Or extends Un {
43611
43614
  /**
43612
43615
  Create a mark-removing step.
@@ -43619,7 +43622,7 @@ class Or extends Un {
43619
43622
  return on.fromReplace(e, this.from, this.to, i);
43620
43623
  }
43621
43624
  invert() {
43622
- return new qs(this.from, this.to, this.mark);
43625
+ return new Gs(this.from, this.to, this.mark);
43623
43626
  }
43624
43627
  map(e) {
43625
43628
  let n = e.mapResult(this.from, 1), i = e.mapResult(this.to, -1);
@@ -43646,7 +43649,7 @@ class Or extends Un {
43646
43649
  }
43647
43650
  }
43648
43651
  Un.jsonID("removeMark", Or);
43649
- class Gs extends Un {
43652
+ class Ks extends Un {
43650
43653
  /**
43651
43654
  Create a node mark step.
43652
43655
  */
@@ -43667,15 +43670,15 @@ class Gs extends Un {
43667
43670
  if (i.length == n.marks.length) {
43668
43671
  for (let r = 0; r < n.marks.length; r++)
43669
43672
  if (!n.marks[r].isInSet(i))
43670
- return new Gs(this.pos, n.marks[r]);
43671
- return new Gs(this.pos, this.mark);
43673
+ return new Ks(this.pos, n.marks[r]);
43674
+ return new Ks(this.pos, this.mark);
43672
43675
  }
43673
43676
  }
43674
43677
  return new ol(this.pos, this.mark);
43675
43678
  }
43676
43679
  map(e) {
43677
43680
  let n = e.mapResult(this.pos, 1);
43678
- return n.deletedAfter ? null : new Gs(n.pos, this.mark);
43681
+ return n.deletedAfter ? null : new Ks(n.pos, this.mark);
43679
43682
  }
43680
43683
  toJSON() {
43681
43684
  return { stepType: "addNodeMark", pos: this.pos, mark: this.mark.toJSON() };
@@ -43686,10 +43689,10 @@ class Gs extends Un {
43686
43689
  static fromJSON(e, n) {
43687
43690
  if (typeof n.pos != "number")
43688
43691
  throw new RangeError("Invalid input for AddNodeMarkStep.fromJSON");
43689
- return new Gs(n.pos, e.markFromJSON(n.mark));
43692
+ return new Ks(n.pos, e.markFromJSON(n.mark));
43690
43693
  }
43691
43694
  }
43692
- Un.jsonID("addNodeMark", Gs);
43695
+ Un.jsonID("addNodeMark", Ks);
43693
43696
  class ol extends Un {
43694
43697
  /**
43695
43698
  Create a mark-removing step.
@@ -43706,7 +43709,7 @@ class ol extends Un {
43706
43709
  }
43707
43710
  invert(e) {
43708
43711
  let n = e.nodeAt(this.pos);
43709
- return !n || !this.mark.isInSet(n.marks) ? this : new Gs(this.pos, this.mark);
43712
+ return !n || !this.mark.isInSet(n.marks) ? this : new Ks(this.pos, this.mark);
43710
43713
  }
43711
43714
  map(e) {
43712
43715
  let n = e.mapResult(this.pos, 1);
@@ -43859,7 +43862,7 @@ function Pte(t, e, n, i) {
43859
43862
  let h = Math.max(c, e), p = Math.min(c + l.nodeSize, n), m = i.addToSet(u);
43860
43863
  for (let g = 0; g < u.length; g++)
43861
43864
  u[g].isInSet(m) || (o && o.to == h && o.mark.eq(u[g]) ? o.to = p : r.push(o = new Or(h, p, u[g])));
43862
- a && a.to == h ? a.to = p : s.push(a = new qs(h, p, i));
43865
+ a && a.to == h ? a.to = p : s.push(a = new Gs(h, p, i));
43863
43866
  }
43864
43867
  }), r.forEach((l) => t.step(l)), s.forEach((l) => t.step(l));
43865
43868
  }
@@ -44026,7 +44029,7 @@ function qte(t, e, n, i, r) {
44026
44029
  throw new RangeError("Invalid content for node type " + n.name);
44027
44030
  t.step(new xn(e, e + s.nodeSize, e + 1, e + s.nodeSize - 1, new Fe(fe.from(o), 0, 0), 1, !0));
44028
44031
  }
44029
- function ds(t, e, n = 1, i) {
44032
+ function us(t, e, n = 1, i) {
44030
44033
  let r = t.resolve(e), s = r.depth - n, o = i && i[i.length - 1] || r.parent;
44031
44034
  if (s < 0 || r.parent.type.spec.isolating || !r.parent.canReplace(r.index(), r.parent.childCount) || !o.type.validContent(r.parent.content.cutByIndex(r.index(), r.parent.childCount)))
44032
44035
  return !1;
@@ -44052,7 +44055,7 @@ function Gte(t, e, n = 1, i) {
44052
44055
  }
44053
44056
  t.step(new mn(e, e, new Fe(s.append(o), n, n), !0));
44054
44057
  }
44055
- function go(t, e) {
44058
+ function vo(t, e) {
44056
44059
  let n = t.resolve(e), i = n.index();
44057
44060
  return __(n.nodeBefore, n.nodeAfter) && n.parent.canReplace(i, i + 1);
44058
44061
  }
@@ -44670,7 +44673,7 @@ class A4 {
44670
44673
  Add a mark to the node at position `pos`.
44671
44674
  */
44672
44675
  addNodeMark(e, n) {
44673
- return this.step(new Gs(e, n)), this;
44676
+ return this.step(new Ks(e, n)), this;
44674
44677
  }
44675
44678
  /**
44676
44679
  Remove a mark (or a mark of the given type) from the node at
@@ -45465,7 +45468,7 @@ class Pa {
45465
45468
  let r = new np(e.schema, e.plugins), s = new Pa(r);
45466
45469
  return r.fields.forEach((o) => {
45467
45470
  if (o.name == "doc")
45468
- s.doc = Xs.fromJSON(e.schema, n.doc);
45471
+ s.doc = Ys.fromJSON(e.schema, n.doc);
45469
45472
  else if (o.name == "selection")
45470
45473
  s.selection = Ye.fromJSON(s.doc, n.selection);
45471
45474
  else if (o.name == "storedMarks")
@@ -45539,7 +45542,7 @@ const An = function(t) {
45539
45542
  return e && e.nodeType == 11 ? e.host : e;
45540
45543
  };
45541
45544
  let A2 = null;
45542
- const es = function(t, e, n) {
45545
+ const ts = function(t, e, n) {
45543
45546
  let i = A2 || (A2 = document.createRange());
45544
45547
  return i.setEnd(t, n ?? t.nodeValue.length), i.setStart(t, e || 0), i;
45545
45548
  }, one = function() {
@@ -45638,9 +45641,9 @@ function une(t, e, n) {
45638
45641
  return { node: i.startContainer, offset: Math.min(Wi(i.startContainer), i.startOffset) };
45639
45642
  }
45640
45643
  }
45641
- const Br = typeof navigator < "u" ? navigator : null, t9 = typeof document < "u" ? document : null, vo = Br && Br.userAgent || "", M2 = /Edge\/(\d+)/.exec(vo), O_ = /MSIE \d/.exec(vo), N2 = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(vo), fi = !!(O_ || N2 || M2), Ys = O_ ? document.documentMode : N2 ? +N2[1] : M2 ? +M2[1] : 0, mr = !fi && /gecko\/(\d+)/i.test(vo);
45642
- mr && +(/Firefox\/(\d+)/.exec(vo) || [0, 0])[1];
45643
- const O2 = !fi && /Chrome\/(\d+)/.exec(vo), Hn = !!O2, F_ = O2 ? +O2[1] : 0, Qn = !fi && !!Br && /Apple Computer/.test(Br.vendor), cl = Qn && (/Mobile\/\w+/.test(vo) || !!Br && Br.maxTouchPoints > 2), ji = cl || (Br ? /Mac/.test(Br.platform) : !1), hne = Br ? /Win/.test(Br.platform) : !1, ss = /Android \d/.test(vo), Uf = !!t9 && "webkitFontSmoothing" in t9.documentElement.style, pne = Uf ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
45644
+ const Br = typeof navigator < "u" ? navigator : null, t9 = typeof document < "u" ? document : null, yo = Br && Br.userAgent || "", M2 = /Edge\/(\d+)/.exec(yo), O_ = /MSIE \d/.exec(yo), N2 = /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(yo), fi = !!(O_ || N2 || M2), Qs = O_ ? document.documentMode : N2 ? +N2[1] : M2 ? +M2[1] : 0, mr = !fi && /gecko\/(\d+)/i.test(yo);
45645
+ mr && +(/Firefox\/(\d+)/.exec(yo) || [0, 0])[1];
45646
+ const O2 = !fi && /Chrome\/(\d+)/.exec(yo), Hn = !!O2, F_ = O2 ? +O2[1] : 0, Qn = !fi && !!Br && /Apple Computer/.test(Br.vendor), cl = Qn && (/Mobile\/\w+/.test(yo) || !!Br && Br.maxTouchPoints > 2), ji = cl || (Br ? /Mac/.test(Br.platform) : !1), hne = Br ? /Win/.test(Br.platform) : !1, as = /Android \d/.test(yo), Uf = !!t9 && "webkitFontSmoothing" in t9.documentElement.style, pne = Uf ? +(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent) || [0, 0])[1] : 0;
45644
45647
  function mne(t) {
45645
45648
  let e = t.defaultView && t.defaultView.visualViewport;
45646
45649
  return e ? {
@@ -45740,7 +45743,7 @@ function R_(t, e) {
45740
45743
  if (d.nodeType == 1)
45741
45744
  h = d.getClientRects();
45742
45745
  else if (d.nodeType == 3)
45743
- h = es(d).getClientRects();
45746
+ h = ts(d).getClientRects();
45744
45747
  else
45745
45748
  continue;
45746
45749
  for (let p = 0; p < h.length; p++) {
@@ -45765,7 +45768,7 @@ function kne(t, e) {
45765
45768
  let n = t.nodeValue.length, i = document.createRange();
45766
45769
  for (let r = 0; r < n; r++) {
45767
45770
  i.setEnd(t, r + 1), i.setStart(t, r);
45768
- let s = Os(i, 1);
45771
+ let s = Fs(i, 1);
45769
45772
  if (s.top != s.bottom && O4(e, s))
45770
45773
  return { node: t, offset: r + (e.left >= (s.left + s.right) / 2 ? 1 : 0) };
45771
45774
  }
@@ -45844,7 +45847,7 @@ function _ne(t, e) {
45844
45847
  function i9(t) {
45845
45848
  return t.top < t.bottom || t.left < t.right;
45846
45849
  }
45847
- function Os(t, e) {
45850
+ function Fs(t, e) {
45848
45851
  let n = t.getClientRects();
45849
45852
  if (n.length) {
45850
45853
  let i = n[e < 0 ? 0 : n.length - 1];
@@ -45858,11 +45861,11 @@ function B_(t, e, n) {
45858
45861
  let { node: i, offset: r, atom: s } = t.docView.domFromPos(e, n < 0 ? -1 : 1), o = Uf || mr;
45859
45862
  if (i.nodeType == 3)
45860
45863
  if (o && (Sne.test(i.nodeValue) || (n < 0 ? !r : r == i.nodeValue.length))) {
45861
- let l = Os(es(i, r, r), n);
45864
+ let l = Fs(ts(i, r, r), n);
45862
45865
  if (mr && r && /\s/.test(i.nodeValue[r - 1]) && r < i.nodeValue.length) {
45863
- let c = Os(es(i, r - 1, r - 1), -1);
45866
+ let c = Fs(ts(i, r - 1, r - 1), -1);
45864
45867
  if (c.top == l.top) {
45865
- let d = Os(es(i, r, r + 1), -1);
45868
+ let d = Fs(ts(i, r, r + 1), -1);
45866
45869
  if (d.top != l.top)
45867
45870
  return Jl(d, d.left < c.left);
45868
45871
  }
@@ -45870,7 +45873,7 @@ function B_(t, e, n) {
45870
45873
  return l;
45871
45874
  } else {
45872
45875
  let l = r, c = r, d = n < 0 ? 1 : -1;
45873
- return n < 0 && !r ? (c++, d = -1) : n >= 0 && r == i.nodeValue.length ? (l--, d = 1) : n < 0 ? l-- : c++, Jl(Os(es(i, l, c), d), d < 0);
45876
+ return n < 0 && !r ? (c++, d = -1) : n >= 0 && r == i.nodeValue.length ? (l--, d = 1) : n < 0 ? l-- : c++, Jl(Fs(ts(i, l, c), d), d < 0);
45874
45877
  }
45875
45878
  if (!t.state.doc.resolve(e - (s || 0)).parent.inlineContent) {
45876
45879
  if (s == null && r && (n < 0 || r == Wi(i))) {
@@ -45886,19 +45889,19 @@ function B_(t, e, n) {
45886
45889
  return rp(i.getBoundingClientRect(), n >= 0);
45887
45890
  }
45888
45891
  if (s == null && r && (n < 0 || r == Wi(i))) {
45889
- let l = i.childNodes[r - 1], c = l.nodeType == 3 ? es(l, Wi(l) - (o ? 0 : 1)) : l.nodeType == 1 && (l.nodeName != "BR" || !l.nextSibling) ? l : null;
45892
+ let l = i.childNodes[r - 1], c = l.nodeType == 3 ? ts(l, Wi(l) - (o ? 0 : 1)) : l.nodeType == 1 && (l.nodeName != "BR" || !l.nextSibling) ? l : null;
45890
45893
  if (c)
45891
- return Jl(Os(c, 1), !1);
45894
+ return Jl(Fs(c, 1), !1);
45892
45895
  }
45893
45896
  if (s == null && r < Wi(i)) {
45894
45897
  let l = i.childNodes[r];
45895
45898
  for (; l.pmViewDesc && l.pmViewDesc.ignoreForCoords; )
45896
45899
  l = l.nextSibling;
45897
- let c = l ? l.nodeType == 3 ? es(l, 0, o ? 0 : 1) : l.nodeType == 1 ? l : null : null;
45900
+ let c = l ? l.nodeType == 3 ? ts(l, 0, o ? 0 : 1) : l.nodeType == 1 ? l : null : null;
45898
45901
  if (c)
45899
- return Jl(Os(c, -1), !0);
45902
+ return Jl(Fs(c, -1), !0);
45900
45903
  }
45901
- return Jl(Os(i.nodeType == 3 ? es(i) : i, -n), n >= 0);
45904
+ return Jl(Fs(i.nodeType == 3 ? ts(i) : i, -n), n >= 0);
45902
45905
  }
45903
45906
  function Jl(t, e) {
45904
45907
  if (t.width == 0)
@@ -45941,7 +45944,7 @@ function Ene(t, e, n) {
45941
45944
  if (a.nodeType == 1)
45942
45945
  l = a.getClientRects();
45943
45946
  else if (a.nodeType == 3)
45944
- l = es(a, 0, a.nodeValue.length).getClientRects();
45947
+ l = ts(a, 0, a.nodeValue.length).getClientRects();
45945
45948
  else
45946
45949
  continue;
45947
45950
  for (let c = 0; c < l.length; c++) {
@@ -46409,7 +46412,7 @@ class Yo extends qf {
46409
46412
  this.spec.destroy && this.spec.destroy(), super.destroy();
46410
46413
  }
46411
46414
  }
46412
- class Qs extends qf {
46415
+ class eo extends qf {
46413
46416
  constructor(e, n, i, r, s, o, a, l, c) {
46414
46417
  super(e, [], s, o), this.node = n, this.outerDeco = i, this.innerDeco = r, this.nodeDOM = a;
46415
46418
  }
@@ -46437,7 +46440,7 @@ class Qs extends qf {
46437
46440
  } else d || ({ dom: d, contentDOM: u } = ma.renderSpec(document, n.type.spec.toDOM(n), null, n.attrs));
46438
46441
  !u && !n.isText && d.nodeName != "BR" && (d.hasAttribute("contenteditable") || (d.contentEditable = "false"), n.type.spec.draggable && (d.draggable = !0));
46439
46442
  let h = d;
46440
- return d = W_(d, i, n), c ? l = new Nne(e, n, i, r, d, u || null, h, c, s, o + 1) : n.isText ? new H0(e, n, i, r, d, h, s) : new Qs(e, n, i, r, d, u || null, h, s, o + 1);
46443
+ return d = W_(d, i, n), c ? l = new Nne(e, n, i, r, d, u || null, h, c, s, o + 1) : n.isText ? new H0(e, n, i, r, d, h, s) : new eo(e, n, i, r, d, u || null, h, s, o + 1);
46441
46444
  }
46442
46445
  parseRule() {
46443
46446
  if (this.node.type.spec.reparseInView)
@@ -46537,10 +46540,10 @@ class Qs extends qf {
46537
46540
  }
46538
46541
  function l9(t, e, n, i, r) {
46539
46542
  W_(i, e, t);
46540
- let s = new Qs(void 0, t, e, n, i, i, i, r, 0);
46543
+ let s = new eo(void 0, t, e, n, i, i, i, r, 0);
46541
46544
  return s.contentDOM && s.updateChildren(r, 0), s;
46542
46545
  }
46543
- class H0 extends Qs {
46546
+ class H0 extends eo {
46544
46547
  constructor(e, n, i, r, s, o, a) {
46545
46548
  super(e, n, i, r, s, null, o, a, 0);
46546
46549
  }
@@ -46597,7 +46600,7 @@ class V_ extends qf {
46597
46600
  return this.dom.nodeName == "IMG";
46598
46601
  }
46599
46602
  }
46600
- class Nne extends Qs {
46603
+ class Nne extends eo {
46601
46604
  constructor(e, n, i, r, s, o, a, l, c, d) {
46602
46605
  super(e, n, i, r, s, o, a, c, d), this.spec = l;
46603
46606
  }
@@ -46808,7 +46811,7 @@ class Fne {
46808
46811
  updateNextNode(e, n, i, r, s, o) {
46809
46812
  for (let a = this.index; a < this.top.children.length; a++) {
46810
46813
  let l = this.top.children[a];
46811
- if (l instanceof Qs) {
46814
+ if (l instanceof eo) {
46812
46815
  let c = this.preMatch.matched.get(l);
46813
46816
  if (c != null && c != s)
46814
46817
  return !1;
@@ -46827,7 +46830,7 @@ class Fne {
46827
46830
  recreateWrapper(e, n, i, r, s, o) {
46828
46831
  if (e.dirty || n.isAtom || !e.children.length || !e.node.content.eq(n.content) || !nu(i, e.outerDeco) || !r.eq(e.innerDeco))
46829
46832
  return null;
46830
- let a = Qs.create(this.top, n, i, r, s, o);
46833
+ let a = eo.create(this.top, n, i, r, s, o);
46831
46834
  if (a.contentDOM) {
46832
46835
  a.children = e.children, e.children = [];
46833
46836
  for (let l of a.children)
@@ -46837,7 +46840,7 @@ class Fne {
46837
46840
  }
46838
46841
  // Insert the node as a newly created node desc.
46839
46842
  addNode(e, n, i, r, s) {
46840
- let o = Qs.create(this.top, e, n, i, r, s);
46843
+ let o = eo.create(this.top, e, n, i, r, s);
46841
46844
  o.contentDOM && o.updateChildren(r, s + 1), this.top.children.splice(this.index++, 0, o), this.changed = !0;
46842
46845
  }
46843
46846
  placeWidget(e, n, i) {
@@ -47029,7 +47032,7 @@ function F4(t, e = null) {
47029
47032
  function U_(t) {
47030
47033
  return t.editable ? t.hasFocus() : G_(t) && document.activeElement && document.activeElement.contains(t.dom);
47031
47034
  }
47032
- function us(t, e = !1) {
47035
+ function hs(t, e = !1) {
47033
47036
  let n = t.state.selection;
47034
47037
  if (q_(t, n), !!U_(t)) {
47035
47038
  if (!e && t.input.mouseDown && t.input.mouseDown.allowDefault && Hn) {
@@ -47081,7 +47084,7 @@ function $ne(t) {
47081
47084
  if (!e)
47082
47085
  return;
47083
47086
  let i = t.cursorWrapper.dom, r = i.nodeName == "IMG";
47084
- r ? n.setStart(i.parentNode, An(i) + 1) : n.setStart(i, 0), n.collapse(!0), e.removeAllRanges(), e.addRange(n), !r && !t.state.selection.visible && fi && Ys <= 11 && (i.disabled = !0, i.disabled = !1);
47087
+ r ? n.setStart(i.parentNode, An(i) + 1) : n.setStart(i, 0), n.collapse(!0), e.removeAllRanges(), e.addRange(n), !r && !t.state.selection.visible && fi && Qs <= 11 && (i.disabled = !0, i.disabled = !1);
47085
47088
  }
47086
47089
  function q_(t, e) {
47087
47090
  if (e instanceof qe) {
@@ -47117,7 +47120,7 @@ function I2(t, e) {
47117
47120
  let { $anchor: n, $head: i } = t.selection, r = e > 0 ? n.max(i) : n.min(i), s = r.parent.inlineContent ? r.depth ? t.doc.resolve(e > 0 ? r.after() : r.before()) : null : r;
47118
47121
  return s && Ye.findFrom(s, e);
47119
47122
  }
47120
- function Fs(t, e) {
47123
+ function Ds(t, e) {
47121
47124
  return t.dispatch(t.state.tr.setSelection(e).scrollIntoView()), !0;
47122
47125
  }
47123
47126
  function m9(t, e, n) {
@@ -47128,25 +47131,25 @@ function m9(t, e, n) {
47128
47131
  if (!s || s.isText || !s.isLeaf)
47129
47132
  return !1;
47130
47133
  let o = t.state.doc.resolve(r.pos + s.nodeSize * (e < 0 ? -1 : 1));
47131
- return Fs(t, new Ke(i.$anchor, o));
47134
+ return Ds(t, new Ke(i.$anchor, o));
47132
47135
  } else if (i.empty) {
47133
47136
  if (t.endOfTextblock(e > 0 ? "forward" : "backward")) {
47134
47137
  let r = I2(t.state, e);
47135
- return r && r instanceof qe ? Fs(t, r) : !1;
47138
+ return r && r instanceof qe ? Ds(t, r) : !1;
47136
47139
  } else if (!(ji && n.indexOf("m") > -1)) {
47137
47140
  let r = i.$head, s = r.textOffset ? null : e < 0 ? r.nodeBefore : r.nodeAfter, o;
47138
47141
  if (!s || s.isText)
47139
47142
  return !1;
47140
47143
  let a = e < 0 ? r.pos - s.nodeSize : r.pos;
47141
- return s.isAtom || (o = t.docView.descAt(a)) && !o.contentDOM ? qe.isSelectable(s) ? Fs(t, new qe(e < 0 ? t.state.doc.resolve(r.pos - s.nodeSize) : r)) : Uf ? Fs(t, new Ke(t.state.doc.resolve(e < 0 ? a : a + s.nodeSize))) : !1 : !1;
47144
+ return s.isAtom || (o = t.docView.descAt(a)) && !o.contentDOM ? qe.isSelectable(s) ? Ds(t, new qe(e < 0 ? t.state.doc.resolve(r.pos - s.nodeSize) : r)) : Uf ? Ds(t, new Ke(t.state.doc.resolve(e < 0 ? a : a + s.nodeSize))) : !1 : !1;
47142
47145
  }
47143
47146
  } else return !1;
47144
47147
  else {
47145
47148
  if (i instanceof qe && i.node.isInline)
47146
- return Fs(t, new Ke(e > 0 ? i.$to : i.$from));
47149
+ return Ds(t, new Ke(e > 0 ? i.$to : i.$from));
47147
47150
  {
47148
47151
  let r = I2(t.state, e);
47149
- return r ? Fs(t, r) : !1;
47152
+ return r ? Ds(t, r) : !1;
47150
47153
  }
47151
47154
  }
47152
47155
  }
@@ -47271,7 +47274,7 @@ function R2(t, e, n) {
47271
47274
  t.domObserver.setCurSelection();
47272
47275
  let { state: r } = t;
47273
47276
  setTimeout(() => {
47274
- t.state == r && us(t);
47277
+ t.state == r && hs(t);
47275
47278
  }, 50);
47276
47279
  }
47277
47280
  function g9(t, e) {
@@ -47299,11 +47302,11 @@ function v9(t, e, n) {
47299
47302
  if (!r.parent.inlineContent || t.endOfTextblock(e < 0 ? "up" : "down")) {
47300
47303
  let o = I2(t.state, e);
47301
47304
  if (o && o instanceof qe)
47302
- return Fs(t, o);
47305
+ return Ds(t, o);
47303
47306
  }
47304
47307
  if (!r.parent.inlineContent) {
47305
47308
  let o = e < 0 ? r : s, a = i instanceof ci ? Ye.near(o, e) : Ye.findFrom(o, e);
47306
- return a ? Fs(t, a) : !1;
47309
+ return a ? Ds(t, a) : !1;
47307
47310
  }
47308
47311
  return !1;
47309
47312
  }
@@ -47568,7 +47571,7 @@ function iie(t) {
47568
47571
  }
47569
47572
  Qn && t.dom.addEventListener("input", () => null), B2(t);
47570
47573
  }
47571
- function Ks(t, e) {
47574
+ function Zs(t, e) {
47572
47575
  t.input.lastSelectionOrigin = e, t.input.lastSelectionTime = Date.now();
47573
47576
  }
47574
47577
  function rie(t) {
@@ -47604,13 +47607,13 @@ function oie(t, e) {
47604
47607
  }
47605
47608
  ti.keydown = (t, e) => {
47606
47609
  let n = e;
47607
- if (t.input.shiftKey = n.keyCode == 16 || n.shiftKey, !nS(t, n) && (t.input.lastKeyCode = n.keyCode, t.input.lastKeyCodeTime = Date.now(), !(ss && Hn && n.keyCode == 13)))
47610
+ if (t.input.shiftKey = n.keyCode == 16 || n.shiftKey, !nS(t, n) && (t.input.lastKeyCode = n.keyCode, t.input.lastKeyCodeTime = Date.now(), !(as && Hn && n.keyCode == 13)))
47608
47611
  if (n.keyCode != 229 && t.domObserver.forceFlush(), cl && n.keyCode == 13 && !n.ctrlKey && !n.altKey && !n.metaKey) {
47609
47612
  let i = Date.now();
47610
47613
  t.input.lastIOSEnter = i, t.input.lastIOSEnterFallbackTimeout = setTimeout(() => {
47611
47614
  t.input.lastIOSEnter == i && (t.someProp("handleKeyDown", (r) => r(t, To(13, "Enter"))), t.input.lastIOSEnter = 0);
47612
47615
  }, 200);
47613
- } else t.someProp("handleKeyDown", (i) => i(t, n)) || Kne(t, n) ? n.preventDefault() : Ks(t, "key");
47616
+ } else t.someProp("handleKeyDown", (i) => i(t, n)) || Kne(t, n) ? n.preventDefault() : Zs(t, "key");
47614
47617
  };
47615
47618
  ti.keyup = (t, e) => {
47616
47619
  e.keyCode == 16 && (t.input.shiftKey = !1);
@@ -47709,7 +47712,7 @@ ei.mousedown = (t, e) => {
47709
47712
  let i = B4(t), r = Date.now(), s = "singleClick";
47710
47713
  r - t.input.lastClick.time < 500 && aie(n, t.input.lastClick) && !n[tS] && (t.input.lastClick.type == "singleClick" ? s = "doubleClick" : t.input.lastClick.type == "doubleClick" && (s = "tripleClick")), t.input.lastClick = { time: r, x: n.clientX, y: n.clientY, type: s };
47711
47714
  let o = t.posAtCoords($0(n));
47712
- o && (s == "singleClick" ? (t.input.mouseDown && t.input.mouseDown.done(), t.input.mouseDown = new pie(t, o, n, !!i)) : (s == "doubleClick" ? die : uie)(t, o.pos, o.inside, n) ? n.preventDefault() : Ks(t, "pointer"));
47715
+ o && (s == "singleClick" ? (t.input.mouseDown && t.input.mouseDown.done(), t.input.mouseDown = new pie(t, o, n, !!i)) : (s == "doubleClick" ? die : uie)(t, o.pos, o.inside, n) ? n.preventDefault() : Zs(t, "pointer"));
47713
47716
  };
47714
47717
  class pie {
47715
47718
  constructor(e, n, i, r) {
@@ -47731,16 +47734,16 @@ class pie {
47731
47734
  setUneditable: !!(this.target && mr && !this.target.hasAttribute("contentEditable"))
47732
47735
  }), this.target && this.mightDrag && (this.mightDrag.addAttr || this.mightDrag.setUneditable) && (this.view.domObserver.stop(), this.mightDrag.addAttr && (this.target.draggable = !0), this.mightDrag.setUneditable && setTimeout(() => {
47733
47736
  this.view.input.mouseDown == this && this.target.setAttribute("contentEditable", "false");
47734
- }, 20), this.view.domObserver.start()), e.root.addEventListener("mouseup", this.up = this.up.bind(this)), e.root.addEventListener("mousemove", this.move = this.move.bind(this)), Ks(e, "pointer");
47737
+ }, 20), this.view.domObserver.start()), e.root.addEventListener("mouseup", this.up = this.up.bind(this)), e.root.addEventListener("mousemove", this.move = this.move.bind(this)), Zs(e, "pointer");
47735
47738
  }
47736
47739
  done() {
47737
- this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() => us(this.view)), this.view.input.mouseDown = null;
47740
+ this.view.root.removeEventListener("mouseup", this.up), this.view.root.removeEventListener("mousemove", this.move), this.mightDrag && this.target && (this.view.domObserver.stop(), this.mightDrag.addAttr && this.target.removeAttribute("draggable"), this.mightDrag.setUneditable && this.target.removeAttribute("contentEditable"), this.view.domObserver.start()), this.delayedSelectionSync && setTimeout(() => hs(this.view)), this.view.input.mouseDown = null;
47738
47741
  }
47739
47742
  up(e) {
47740
47743
  if (this.done(), !this.view.dom.contains(e.target))
47741
47744
  return;
47742
47745
  let n = this.pos;
47743
- this.view.state.doc != this.startDoc && (n = this.view.posAtCoords($0(e))), this.updateAllowDefault(e), this.allowDefault || !n ? Ks(this.view, "pointer") : fie(this.view, n.pos, n.inside, e, this.selectNode) ? e.preventDefault() : e.button == 0 && (this.flushed || // Safari ignores clicks on draggable elements
47746
+ this.view.state.doc != this.startDoc && (n = this.view.posAtCoords($0(e))), this.updateAllowDefault(e), this.allowDefault || !n ? Zs(this.view, "pointer") : fie(this.view, n.pos, n.inside, e, this.selectNode) ? e.preventDefault() : e.button == 0 && (this.flushed || // Safari ignores clicks on draggable elements
47744
47747
  Qn && this.mightDrag && !this.mightDrag.node.isAtom || // Chrome will sometimes treat a node selection as a
47745
47748
  // cursor, but still report that the node is selected
47746
47749
  // when asked through getSelection. You'll then get a
@@ -47748,26 +47751,26 @@ class pie {
47748
47751
  // (hidden) cursor is doesn't change the selection, and
47749
47752
  // thus doesn't get a reaction from ProseMirror. This
47750
47753
  // works around that.
47751
- Hn && !this.view.state.selection.visible && Math.min(Math.abs(n.pos - this.view.state.selection.from), Math.abs(n.pos - this.view.state.selection.to)) <= 2) ? (Ga(this.view, Ye.near(this.view.state.doc.resolve(n.pos))), e.preventDefault()) : Ks(this.view, "pointer");
47754
+ Hn && !this.view.state.selection.visible && Math.min(Math.abs(n.pos - this.view.state.selection.from), Math.abs(n.pos - this.view.state.selection.to)) <= 2) ? (Ga(this.view, Ye.near(this.view.state.doc.resolve(n.pos))), e.preventDefault()) : Zs(this.view, "pointer");
47752
47755
  }
47753
47756
  move(e) {
47754
- this.updateAllowDefault(e), Ks(this.view, "pointer"), e.buttons == 0 && this.done();
47757
+ this.updateAllowDefault(e), Zs(this.view, "pointer"), e.buttons == 0 && this.done();
47755
47758
  }
47756
47759
  updateAllowDefault(e) {
47757
47760
  !this.allowDefault && (Math.abs(this.event.x - e.clientX) > 4 || Math.abs(this.event.y - e.clientY) > 4) && (this.allowDefault = !0);
47758
47761
  }
47759
47762
  }
47760
47763
  ei.touchstart = (t) => {
47761
- t.input.lastTouch = Date.now(), B4(t), Ks(t, "pointer");
47764
+ t.input.lastTouch = Date.now(), B4(t), Zs(t, "pointer");
47762
47765
  };
47763
47766
  ei.touchmove = (t) => {
47764
- t.input.lastTouch = Date.now(), Ks(t, "pointer");
47767
+ t.input.lastTouch = Date.now(), Zs(t, "pointer");
47765
47768
  };
47766
47769
  ei.contextmenu = (t) => B4(t);
47767
47770
  function nS(t, e) {
47768
47771
  return t.composing ? !0 : Qn && Math.abs(e.timeStamp - t.input.compositionEndedAt) < 500 ? (t.input.compositionEndedAt = -2e8, !0) : !1;
47769
47772
  }
47770
- const mie = ss ? 5e3 : -1;
47773
+ const mie = as ? 5e3 : -1;
47771
47774
  ti.compositionstart = ti.compositionupdate = (t) => {
47772
47775
  if (!t.composing) {
47773
47776
  t.domObserver.flush();
@@ -47826,7 +47829,7 @@ function vie() {
47826
47829
  return t.initEvent("event", !0, !0), t.timeStamp;
47827
47830
  }
47828
47831
  function ru(t, e = !1) {
47829
- if (!(ss && t.domObserver.flushingSoon >= 0)) {
47832
+ if (!(as && t.domObserver.flushingSoon >= 0)) {
47830
47833
  if (t.domObserver.forceFlush(), rS(t), e || t.docView && t.docView.dirty) {
47831
47834
  let n = F4(t);
47832
47835
  return n && !n.eq(t.state.selection) ? t.dispatch(t.state.tr.setSelection(n)) : (t.markCursor || e) && !t.state.selection.empty ? t.dispatch(t.state.tr.deleteSelection()) : t.updateState(t.state), !0;
@@ -47844,7 +47847,7 @@ function yie(t, e) {
47844
47847
  n.parentNode && n.parentNode.removeChild(n), t.focus();
47845
47848
  }, 50);
47846
47849
  }
47847
- const Xc = fi && Ys < 15 || cl && pne < 604;
47850
+ const Xc = fi && Qs < 15 || cl && pne < 604;
47848
47851
  ei.copy = ti.cut = (t, e) => {
47849
47852
  let n = e, i = t.state.selection, r = n.type == "cut";
47850
47853
  if (i.empty)
@@ -47883,7 +47886,7 @@ function sS(t) {
47883
47886
  }
47884
47887
  ti.paste = (t, e) => {
47885
47888
  let n = e;
47886
- if (t.composing && !ss)
47889
+ if (t.composing && !as)
47887
47890
  return;
47888
47891
  let i = Xc ? null : n.clipboardData, r = t.input.shiftKey && t.input.lastKeyCode != 45;
47889
47892
  i && Yc(t, sS(i), i.getData("text/html"), r, n) ? n.preventDefault() : kie(t, n);
@@ -47957,7 +47960,7 @@ ti.drop = (t, e) => {
47957
47960
  };
47958
47961
  ei.focus = (t) => {
47959
47962
  t.input.lastFocus = Date.now(), t.focused || (t.domObserver.stop(), t.dom.classList.add("ProseMirror-focused"), t.domObserver.start(), t.focused = !0, setTimeout(() => {
47960
- t.docView && t.hasFocus() && !t.domObserver.currentSelection.eq(t.domSelectionRange()) && us(t);
47963
+ t.docView && t.hasFocus() && !t.domObserver.currentSelection.eq(t.domSelectionRange()) && hs(t);
47961
47964
  }, 20));
47962
47965
  };
47963
47966
  ei.blur = (t, e) => {
@@ -47965,7 +47968,7 @@ ei.blur = (t, e) => {
47965
47968
  t.focused && (t.domObserver.stop(), t.dom.classList.remove("ProseMirror-focused"), t.domObserver.start(), n.relatedTarget && t.dom.contains(n.relatedTarget) && t.domObserver.currentSelection.clear(), t.focused = !1);
47966
47969
  };
47967
47970
  ei.beforeinput = (t, e) => {
47968
- if (Hn && ss && e.inputType == "deleteContentBackward") {
47971
+ if (Hn && as && e.inputType == "deleteContentBackward") {
47969
47972
  t.domObserver.flushSoon();
47970
47973
  let { domChangeCount: i } = t.input;
47971
47974
  setTimeout(() => {
@@ -48007,7 +48010,7 @@ class su {
48007
48010
  this.spec.destroy && this.spec.destroy(e);
48008
48011
  }
48009
48012
  }
48010
- class eo {
48013
+ class to {
48011
48014
  constructor(e, n) {
48012
48015
  this.attrs = e, this.spec = n || Ho;
48013
48016
  }
@@ -48019,10 +48022,10 @@ class eo {
48019
48022
  return n.from < n.to;
48020
48023
  }
48021
48024
  eq(e) {
48022
- return this == e || e instanceof eo && Qc(this.attrs, e.attrs) && Qc(this.spec, e.spec);
48025
+ return this == e || e instanceof to && Qc(this.attrs, e.attrs) && Qc(this.spec, e.spec);
48023
48026
  }
48024
48027
  static is(e) {
48025
- return e.type instanceof eo;
48028
+ return e.type instanceof to;
48026
48029
  }
48027
48030
  destroy() {
48028
48031
  }
@@ -48089,7 +48092,7 @@ class an {
48089
48092
  each inline node between `from` and `to`.
48090
48093
  */
48091
48094
  static inline(e, n, i, r) {
48092
- return new an(e, n, new eo(i, r));
48095
+ return new an(e, n, new to(i, r));
48093
48096
  }
48094
48097
  /**
48095
48098
  Creates a node decoration. `from` and `to` should point precisely
@@ -48110,7 +48113,7 @@ class an {
48110
48113
  @internal
48111
48114
  */
48112
48115
  get inline() {
48113
- return this.type instanceof eo;
48116
+ return this.type instanceof to;
48114
48117
  }
48115
48118
  /**
48116
48119
  @internal
@@ -48241,14 +48244,14 @@ class bt {
48241
48244
  let s = e + 1, o = s + n.content.size;
48242
48245
  for (let a = 0; a < this.local.length; a++) {
48243
48246
  let l = this.local[a];
48244
- if (l.from < o && l.to > s && l.type instanceof eo) {
48247
+ if (l.from < o && l.to > s && l.type instanceof to) {
48245
48248
  let c = Math.max(s, l.from) - s, d = Math.min(o, l.to) - s;
48246
48249
  c < d && (r || (r = [])).push(l.copy(c, d));
48247
48250
  }
48248
48251
  }
48249
48252
  if (r) {
48250
48253
  let a = new bt(r.sort($o), Fa);
48251
- return i ? new Hs([a, i]) : a;
48254
+ return i ? new $s([a, i]) : a;
48252
48255
  }
48253
48256
  return i || Pn;
48254
48257
  }
@@ -48280,11 +48283,11 @@ class bt {
48280
48283
  localsInner(e) {
48281
48284
  if (this == Pn)
48282
48285
  return Fa;
48283
- if (e.inlineContent || !this.local.some(eo.is))
48286
+ if (e.inlineContent || !this.local.some(to.is))
48284
48287
  return this.local;
48285
48288
  let n = [];
48286
48289
  for (let i = 0; i < this.local.length; i++)
48287
- this.local[i].type instanceof eo || n.push(this.local[i]);
48290
+ this.local[i].type instanceof to || n.push(this.local[i]);
48288
48291
  return n;
48289
48292
  }
48290
48293
  forEachSet(e) {
@@ -48294,13 +48297,13 @@ class bt {
48294
48297
  bt.empty = new bt([], []);
48295
48298
  bt.removeOverlap = $4;
48296
48299
  const Pn = bt.empty;
48297
- class Hs {
48300
+ class $s {
48298
48301
  constructor(e) {
48299
48302
  this.members = e;
48300
48303
  }
48301
48304
  map(e, n) {
48302
48305
  const i = this.members.map((r) => r.map(e, n, Ho));
48303
- return Hs.from(i);
48306
+ return $s.from(i);
48304
48307
  }
48305
48308
  forChild(e, n) {
48306
48309
  if (n.isLeaf)
@@ -48308,12 +48311,12 @@ class Hs {
48308
48311
  let i = [];
48309
48312
  for (let r = 0; r < this.members.length; r++) {
48310
48313
  let s = this.members[r].forChild(e, n);
48311
- s != Pn && (s instanceof Hs ? i = i.concat(s.members) : i.push(s));
48314
+ s != Pn && (s instanceof $s ? i = i.concat(s.members) : i.push(s));
48312
48315
  }
48313
- return Hs.from(i);
48316
+ return $s.from(i);
48314
48317
  }
48315
48318
  eq(e) {
48316
- if (!(e instanceof Hs) || e.members.length != this.members.length)
48319
+ if (!(e instanceof $s) || e.members.length != this.members.length)
48317
48320
  return !1;
48318
48321
  for (let n = 0; n < this.members.length; n++)
48319
48322
  if (!this.members[n].eq(e.members[n]))
@@ -48344,7 +48347,7 @@ class Hs {
48344
48347
  case 1:
48345
48348
  return e[0];
48346
48349
  default:
48347
- return new Hs(e.every((n) => n instanceof bt) ? e : e.reduce((n, i) => n.concat(i instanceof bt ? i : i.members), []));
48350
+ return new $s(e.every((n) => n instanceof bt) ? e : e.reduce((n, i) => n.concat(i instanceof bt ? i : i.members), []));
48348
48351
  }
48349
48352
  }
48350
48353
  forEachSet(e) {
@@ -48484,7 +48487,7 @@ function ap(t) {
48484
48487
  return t.someProp("decorations", (n) => {
48485
48488
  let i = n(t.state);
48486
48489
  i && i != Pn && e.push(i);
48487
- }), t.cursorWrapper && e.push(bt.create(t.state.doc, [t.cursorWrapper.deco])), Hs.from(e);
48490
+ }), t.cursorWrapper && e.push(bt.create(t.state.doc, [t.cursorWrapper.deco])), $s.from(e);
48488
48491
  }
48489
48492
  const Cie = {
48490
48493
  childList: !0,
@@ -48493,7 +48496,7 @@ const Cie = {
48493
48496
  attributes: !0,
48494
48497
  attributeOldValue: !0,
48495
48498
  subtree: !0
48496
- }, _ie = fi && Ys <= 11;
48499
+ }, _ie = fi && Qs <= 11;
48497
48500
  class Sie {
48498
48501
  constructor() {
48499
48502
  this.anchorNode = null, this.anchorOffset = 0, this.focusNode = null, this.focusOffset = 0;
@@ -48513,7 +48516,7 @@ class Eie {
48513
48516
  this.view = e, this.handleDOMChange = n, this.queue = [], this.flushingSoon = -1, this.observer = null, this.currentSelection = new Sie(), this.onCharData = null, this.suppressingSelectionUpdates = !1, this.lastChangedTextNode = null, this.observer = window.MutationObserver && new window.MutationObserver((i) => {
48514
48517
  for (let r = 0; r < i.length; r++)
48515
48518
  this.queue.push(i[r]);
48516
- fi && Ys <= 11 && i.some((r) => r.type == "childList" && r.removedNodes.length || r.type == "characterData" && r.oldValue.length > r.target.nodeValue.length) ? this.flushSoon() : this.flush();
48519
+ fi && Qs <= 11 && i.some((r) => r.type == "childList" && r.removedNodes.length || r.type == "characterData" && r.oldValue.length > r.target.nodeValue.length) ? this.flushSoon() : this.flush();
48517
48520
  }), _ie && (this.onCharData = (i) => {
48518
48521
  this.queue.push({ target: i.target, type: "characterData", oldValue: i.prevValue }), this.flushSoon();
48519
48522
  }), this.onSelectionChange = this.onSelectionChange.bind(this);
@@ -48553,8 +48556,8 @@ class Eie {
48553
48556
  onSelectionChange() {
48554
48557
  if (p9(this.view)) {
48555
48558
  if (this.suppressingSelectionUpdates)
48556
- return us(this.view);
48557
- if (fi && Ys <= 11 && !this.view.state.selection.empty) {
48559
+ return hs(this.view);
48560
+ if (fi && Qs <= 11 && !this.view.state.selection.empty) {
48558
48561
  let e = this.view.domSelectionRange();
48559
48562
  if (e.focusNode && Xo(e.focusNode, e.focusOffset, e.anchorNode, e.anchorOffset))
48560
48563
  return this.flushSoon();
@@ -48615,7 +48618,7 @@ class Eie {
48615
48618
  }
48616
48619
  }
48617
48620
  let c = null;
48618
- s < 0 && r && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && B0(i) && (c = F4(e)) && c.eq(Ye.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0, us(e), this.currentSelection.set(i), e.scrollToSelection()) : (s > -1 || r) && (s > -1 && (e.docView.markDirty(s, o), Lie(e)), this.handleDOMChange(s, o, a, l), e.docView && e.docView.dirty ? e.updateState(e.state) : this.currentSelection.eq(i) || us(e), this.currentSelection.set(i));
48621
+ s < 0 && r && e.input.lastFocus > Date.now() - 200 && Math.max(e.input.lastTouch, e.input.lastClick.time) < Date.now() - 300 && B0(i) && (c = F4(e)) && c.eq(Ye.near(e.state.doc.resolve(0), 1)) ? (e.input.lastFocus = 0, hs(e), this.currentSelection.set(i), e.scrollToSelection()) : (s > -1 || r) && (s > -1 && (e.docView.markDirty(s, o), Lie(e)), this.handleDOMChange(s, o, a, l), e.docView && e.docView.dirty ? e.updateState(e.state) : this.currentSelection.eq(i) || hs(e), this.currentSelection.set(i));
48619
48622
  }
48620
48623
  registerMutation(e, n) {
48621
48624
  if (n.indexOf(e.target) > -1)
@@ -48632,7 +48635,7 @@ class Eie {
48632
48635
  if (i.contentDOM && i.contentDOM != i.dom && !i.contentDOM.contains(e.target))
48633
48636
  return { from: i.posBefore, to: i.posAfter };
48634
48637
  let r = e.previousSibling, s = e.nextSibling;
48635
- if (fi && Ys <= 11 && e.addedNodes.length)
48638
+ if (fi && Qs <= 11 && e.addedNodes.length)
48636
48639
  for (let d = 0; d < e.addedNodes.length; d++) {
48637
48640
  let { previousSibling: u, nextSibling: h } = e.addedNodes[d];
48638
48641
  (!u || Array.prototype.indexOf.call(e.addedNodes, u) < 0) && (r = u), (!h || Array.prototype.indexOf.call(e.addedNodes, h) < 0) && (s = h);
@@ -48731,7 +48734,7 @@ function Fie(t, e, n, i, r) {
48731
48734
  if (t.input.compositionPendingChanges = 0, e < 0) {
48732
48735
  let E = t.input.lastSelectionTime > Date.now() - 50 ? t.input.lastSelectionOrigin : null, L = F4(t, E);
48733
48736
  if (L && !t.state.selection.eq(L)) {
48734
- if (Hn && ss && t.input.lastKeyCode === 13 && Date.now() - 100 < t.input.lastKeyCodeTime && t.someProp("handleKeyDown", (T) => T(t, To(13, "Enter"))))
48737
+ if (Hn && as && t.input.lastKeyCode === 13 && Date.now() - 100 < t.input.lastKeyCodeTime && t.someProp("handleKeyDown", (T) => T(t, To(13, "Enter"))))
48735
48738
  return;
48736
48739
  let N = t.state.tr.setSelection(L);
48737
48740
  E == "pointer" ? N.setMeta("pointer", !0) : E == "key" && N.scrollIntoView(), s && N.setMeta("composition", s), t.dispatch(N);
@@ -48743,7 +48746,7 @@ function Fie(t, e, n, i, r) {
48743
48746
  let l = t.state.selection, c = Mie(t, e, n), d = t.state.doc, u = d.slice(c.from, c.to), h, p;
48744
48747
  t.input.lastKeyCode === 8 && Date.now() - 100 < t.input.lastKeyCodeTime ? (h = t.state.selection.to, p = "end") : (h = t.state.selection.from, p = "start"), t.input.lastKeyCode = null;
48745
48748
  let m = Rie(u.content, c.doc.content, c.from, h, p);
48746
- if (m && t.input.domChangeCount++, (cl && t.input.lastIOSEnter > Date.now() - 225 || ss) && r.some((E) => E.nodeType == 1 && !Oie.test(E.nodeName)) && (!m || m.endA >= m.endB) && t.someProp("handleKeyDown", (E) => E(t, To(13, "Enter")))) {
48749
+ if (m && t.input.domChangeCount++, (cl && t.input.lastIOSEnter > Date.now() - 225 || as) && r.some((E) => E.nodeType == 1 && !Oie.test(E.nodeName)) && (!m || m.endA >= m.endB) && t.someProp("handleKeyDown", (E) => E(t, To(13, "Enter")))) {
48747
48750
  t.input.lastIOSEnter = 0;
48748
48751
  return;
48749
48752
  }
@@ -48760,17 +48763,17 @@ function Fie(t, e, n, i, r) {
48760
48763
  }
48761
48764
  return;
48762
48765
  }
48763
- t.state.selection.from < t.state.selection.to && m.start == m.endB && t.state.selection instanceof Ke && (m.start > t.state.selection.from && m.start <= t.state.selection.from + 2 && t.state.selection.from >= c.from ? m.start = t.state.selection.from : m.endA < t.state.selection.to && m.endA >= t.state.selection.to - 2 && t.state.selection.to <= c.to && (m.endB += t.state.selection.to - m.endA, m.endA = t.state.selection.to)), fi && Ys <= 11 && m.endB == m.start + 1 && m.endA == m.start && m.start > c.from && c.doc.textBetween(m.start - c.from - 1, m.start - c.from + 1) == "  " && (m.start--, m.endA--, m.endB--);
48766
+ t.state.selection.from < t.state.selection.to && m.start == m.endB && t.state.selection instanceof Ke && (m.start > t.state.selection.from && m.start <= t.state.selection.from + 2 && t.state.selection.from >= c.from ? m.start = t.state.selection.from : m.endA < t.state.selection.to && m.endA >= t.state.selection.to - 2 && t.state.selection.to <= c.to && (m.endB += t.state.selection.to - m.endA, m.endA = t.state.selection.to)), fi && Qs <= 11 && m.endB == m.start + 1 && m.endA == m.start && m.start > c.from && c.doc.textBetween(m.start - c.from - 1, m.start - c.from + 1) == "  " && (m.start--, m.endA--, m.endB--);
48764
48767
  let g = c.doc.resolveNoCache(m.start - c.from), v = c.doc.resolveNoCache(m.endB - c.from), y = d.resolve(m.start), b = g.sameParent(v) && g.parent.inlineContent && y.end() >= m.endA, k;
48765
48768
  if ((cl && t.input.lastIOSEnter > Date.now() - 225 && (!b || r.some((E) => E.nodeName == "DIV" || E.nodeName == "P")) || !b && g.pos < c.doc.content.size && !g.sameParent(v) && (k = Ye.findFrom(c.doc.resolve(g.pos + 1), 1, !0)) && k.head == v.pos) && t.someProp("handleKeyDown", (E) => E(t, To(13, "Enter")))) {
48766
48769
  t.input.lastIOSEnter = 0;
48767
48770
  return;
48768
48771
  }
48769
48772
  if (t.state.selection.anchor > m.start && Iie(d, m.start, m.endA, g, v) && t.someProp("handleKeyDown", (E) => E(t, To(8, "Backspace")))) {
48770
- ss && Hn && t.domObserver.suppressSelectionUpdates();
48773
+ as && Hn && t.domObserver.suppressSelectionUpdates();
48771
48774
  return;
48772
48775
  }
48773
- Hn && m.endB == m.start && (t.input.lastChromeDelete = Date.now()), ss && !b && g.start() != v.start() && v.parentOffset == 0 && g.depth == v.depth && c.sel && c.sel.anchor == c.sel.head && c.sel.head == m.endA && (m.endB -= 2, v = c.doc.resolveNoCache(m.endB - c.from), setTimeout(() => {
48776
+ Hn && m.endB == m.start && (t.input.lastChromeDelete = Date.now()), as && !b && g.start() != v.start() && v.parentOffset == 0 && g.depth == v.depth && c.sel && c.sel.anchor == c.sel.head && c.sel.head == m.endA && (m.endB -= 2, v = c.doc.resolveNoCache(m.endB - c.from), setTimeout(() => {
48774
48777
  t.someProp("handleKeyDown", function(E) {
48775
48778
  return E(t, To(13, "Enter"));
48776
48779
  });
@@ -48778,7 +48781,7 @@ function Fie(t, e, n, i, r) {
48778
48781
  let w = m.start, _ = m.endA, C, S, M;
48779
48782
  if (b) {
48780
48783
  if (g.pos == v.pos)
48781
- fi && Ys <= 11 && g.parentOffset == 0 && (t.domObserver.suppressSelectionUpdates(), setTimeout(() => us(t), 20)), C = t.state.tr.delete(w, _), S = d.resolve(m.start).marksAcross(d.resolve(m.endA));
48784
+ fi && Qs <= 11 && g.parentOffset == 0 && (t.domObserver.suppressSelectionUpdates(), setTimeout(() => hs(t), 20)), C = t.state.tr.delete(w, _), S = d.resolve(m.start).marksAcross(d.resolve(m.endA));
48782
48785
  else if (
48783
48786
  // Adding or removing a mark
48784
48787
  m.endA == m.endB && (M = Die(g.parent.content.cut(g.parentOffset, v.parentOffset), y.parent.content.cut(y.parentOffset, m.endA - y.start())))
@@ -48952,7 +48955,7 @@ class Pie {
48952
48955
  let m = Hn ? this.trackWrites = this.domSelectionRange().focusNode : null;
48953
48956
  this.composing && (this.input.compositionNode = gie(this)), (s || !this.docView.update(e.doc, c, l, this)) && (this.docView.updateOuterDeco(c), this.docView.destroy(), this.docView = l9(e.doc, c, l, this.dom, this)), m && !this.trackWrites && (p = !0);
48954
48957
  }
48955
- p || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && Vne(this)) ? us(this, p) : (q_(this, e.selection), this.domObserver.setCurSelection()), this.domObserver.start();
48958
+ p || !(this.input.mouseDown && this.domObserver.currentSelection.eq(this.domSelectionRange()) && Vne(this)) ? hs(this, p) : (q_(this, e.selection), this.domObserver.setCurSelection()), this.domObserver.start();
48956
48959
  }
48957
48960
  this.updatePluginViews(r), !((i = this.dragging) === null || i === void 0) && i.node && !r.doc.eq(e.doc) && this.updateDraggedNode(this.dragging, r), d == "reset" ? this.dom.scrollTop = 0 : d == "to selection" ? this.scrollToSelection() : h && yne(h);
48958
48961
  }
@@ -49041,7 +49044,7 @@ class Pie {
49041
49044
  Focus the editor.
49042
49045
  */
49043
49046
  focus() {
49044
- this.domObserver.stop(), this.editable && xne(this.dom), us(this), this.domObserver.start();
49047
+ this.domObserver.stop(), this.editable && xne(this.dom), hs(this), this.domObserver.start();
49045
49048
  }
49046
49049
  /**
49047
49050
  Get the document root in which the editor exists. This will
@@ -49260,7 +49263,7 @@ function O9(t) {
49260
49263
  if (t.spec.state || t.spec.filterTransaction || t.spec.appendTransaction)
49261
49264
  throw new RangeError("Plugins passed directly to the view must not have a state component");
49262
49265
  }
49263
- var oo = {
49266
+ var ao = {
49264
49267
  8: "Backspace",
49265
49268
  9: "Tab",
49266
49269
  10: "Enter",
@@ -49339,13 +49342,13 @@ var oo = {
49339
49342
  221: "}",
49340
49343
  222: '"'
49341
49344
  }, $ie = typeof navigator < "u" && /Mac/.test(navigator.platform), Vie = typeof navigator < "u" && /MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
49342
- for (var Mn = 0; Mn < 10; Mn++) oo[48 + Mn] = oo[96 + Mn] = String(Mn);
49343
- for (var Mn = 1; Mn <= 24; Mn++) oo[Mn + 111] = "F" + Mn;
49345
+ for (var Mn = 0; Mn < 10; Mn++) ao[48 + Mn] = ao[96 + Mn] = String(Mn);
49346
+ for (var Mn = 1; Mn <= 24; Mn++) ao[Mn + 111] = "F" + Mn;
49344
49347
  for (var Mn = 65; Mn <= 90; Mn++)
49345
- oo[Mn] = String.fromCharCode(Mn + 32), au[Mn] = String.fromCharCode(Mn);
49346
- for (var cp in oo) au.hasOwnProperty(cp) || (au[cp] = oo[cp]);
49348
+ ao[Mn] = String.fromCharCode(Mn + 32), au[Mn] = String.fromCharCode(Mn);
49349
+ for (var cp in ao) au.hasOwnProperty(cp) || (au[cp] = ao[cp]);
49347
49350
  function zie(t) {
49348
- var e = $ie && t.metaKey && t.shiftKey && !t.ctrlKey && !t.altKey || Vie && t.shiftKey && t.key && t.key.length == 1 || t.key == "Unidentified", n = !e && t.key || (t.shiftKey ? au : oo)[t.keyCode] || t.key || "Unidentified";
49351
+ var e = $ie && t.metaKey && t.shiftKey && !t.ctrlKey && !t.altKey || Vie && t.shiftKey && t.key && t.key.length == 1 || t.key == "Unidentified", n = !e && t.key || (t.shiftKey ? au : ao)[t.keyCode] || t.key || "Unidentified";
49349
49352
  return n == "Esc" && (n = "Escape"), n == "Del" && (n = "Delete"), n == "Left" && (n = "ArrowLeft"), n == "Up" && (n = "ArrowUp"), n == "Right" && (n = "ArrowRight"), n == "Down" && (n = "ArrowDown"), n;
49350
49353
  }
49351
49354
  const jie = typeof navigator < "u" ? /Mac|iP(hone|[oa]d)/.test(navigator.platform) : !1;
@@ -49394,7 +49397,7 @@ function V4(t) {
49394
49397
  if (a && a(n.state, n.dispatch, n))
49395
49398
  return !0;
49396
49399
  }
49397
- if ((i.shiftKey || i.altKey || i.metaKey || r.charCodeAt(0) > 127) && (s = oo[i.keyCode]) && s != r) {
49400
+ if ((i.shiftKey || i.altKey || i.metaKey || r.charCodeAt(0) > 127) && (s = ao[i.keyCode]) && s != r) {
49398
49401
  let a = e[fp(s, i)];
49399
49402
  if (a && a(n.state, n.dispatch, n))
49400
49403
  return !0;
@@ -49557,7 +49560,7 @@ function W4(t) {
49557
49560
  const Zie = (t, e) => {
49558
49561
  let n = t.selection, i = n instanceof qe, r;
49559
49562
  if (i) {
49560
- if (n.node.isTextblock || !go(t.doc, n.from))
49563
+ if (n.node.isTextblock || !vo(t.doc, n.from))
49561
49564
  return !1;
49562
49565
  r = n.from;
49563
49566
  } else if (r = I0(t.doc, n.from, -1), r == null)
@@ -49570,7 +49573,7 @@ const Zie = (t, e) => {
49570
49573
  }, Jie = (t, e) => {
49571
49574
  let n = t.selection, i;
49572
49575
  if (n instanceof qe) {
49573
- if (n.node.isTextblock || !go(t.doc, n.to))
49576
+ if (n.node.isTextblock || !vo(t.doc, n.to))
49574
49577
  return !1;
49575
49578
  i = n.to;
49576
49579
  } else if (i = I0(t.doc, n.to, 1), i == null)
@@ -49622,7 +49625,7 @@ const Yie = (t, e) => {
49622
49625
  return !1;
49623
49626
  if (n.depth > 1 && n.after() != n.end(-1)) {
49624
49627
  let s = n.before();
49625
- if (ds(t.doc, s))
49628
+ if (us(t.doc, s))
49626
49629
  return e && e(t.tr.split(s).scrollIntoView()), !0;
49627
49630
  }
49628
49631
  let i = n.blockRange(), r = i && Il(i);
@@ -49632,7 +49635,7 @@ function Qie(t) {
49632
49635
  return (e, n) => {
49633
49636
  let { $from: i, $to: r } = e.selection;
49634
49637
  if (e.selection instanceof qe && e.selection.node.isBlock)
49635
- return !i.parentOffset || !ds(e.doc, i.pos) ? !1 : (n && n(e.tr.split(i.pos).scrollIntoView()), !0);
49638
+ return !i.parentOffset || !us(e.doc, i.pos) ? !1 : (n && n(e.tr.split(i.pos).scrollIntoView()), !0);
49636
49639
  if (!i.depth)
49637
49640
  return !1;
49638
49641
  let s = [], o, a, l = !1, c = !1;
@@ -49647,8 +49650,8 @@ function Qie(t) {
49647
49650
  }
49648
49651
  let d = e.tr;
49649
49652
  (e.selection instanceof Ke || e.selection instanceof ci) && d.deleteSelection();
49650
- let u = d.mapping.map(i.pos), h = ds(d.doc, u, s.length, s);
49651
- if (h || (s[0] = a ? { type: a } : null, h = ds(d.doc, u, s.length, s)), d.split(u, s.length, s), !l && c && i.node(o).type != a) {
49653
+ let u = d.mapping.map(i.pos), h = us(d.doc, u, s.length, s);
49654
+ if (h || (s[0] = a ? { type: a } : null, h = us(d.doc, u, s.length, s)), d.split(u, s.length, s), !l && c && i.node(o).type != a) {
49652
49655
  let p = d.mapping.map(i.before(o)), m = d.doc.resolve(p);
49653
49656
  a && i.node(o - 1).canReplaceWith(m.index(), m.index() + 1, a) && d.setNodeMarkup(d.mapping.map(i.before(o)), a);
49654
49657
  }
@@ -49661,7 +49664,7 @@ const ere = Qie(), tre = (t, e) => {
49661
49664
  };
49662
49665
  function nre(t, e, n) {
49663
49666
  let i = e.nodeBefore, r = e.nodeAfter, s = e.index();
49664
- return !i || !r || !i.type.compatibleContent(r.type) ? !1 : !i.content.size && e.parent.canReplace(s - 1, s) ? (n && n(t.tr.delete(e.pos - i.nodeSize, e.pos).scrollIntoView()), !0) : !e.parent.canReplace(s, s + 1) || !(r.isTextblock || go(t.doc, e.pos)) ? !1 : (n && n(t.tr.join(e.pos).scrollIntoView()), !0);
49667
+ return !i || !r || !i.type.compatibleContent(r.type) ? !1 : !i.content.size && e.parent.canReplace(s - 1, s) ? (n && n(t.tr.delete(e.pos - i.nodeSize, e.pos).scrollIntoView()), !0) : !e.parent.canReplace(s, s + 1) || !(r.isTextblock || vo(t.doc, e.pos)) ? !1 : (n && n(t.tr.join(e.pos).scrollIntoView()), !0);
49665
49668
  }
49666
49669
  function wS(t, e, n, i) {
49667
49670
  let r = e.nodeBefore, s = e.nodeAfter, o, a, l = r.type.spec.isolating || s.type.spec.isolating;
@@ -49675,7 +49678,7 @@ function wS(t, e, n, i) {
49675
49678
  m = fe.from(o[y].create(null, m));
49676
49679
  m = fe.from(r.copy(m));
49677
49680
  let g = t.tr.step(new xn(e.pos - 1, p, e.pos, p, new Fe(m, 1, 0), o.length, !0)), v = g.doc.resolve(p + 2 * o.length);
49678
- v.nodeAfter && v.nodeAfter.type == r.type && go(g.doc, v.pos) && g.join(v.pos), n(g.scrollIntoView());
49681
+ v.nodeAfter && v.nodeAfter.type == r.type && vo(g.doc, v.pos) && g.join(v.pos), n(g.scrollIntoView());
49679
49682
  }
49680
49683
  return !0;
49681
49684
  }
@@ -49792,7 +49795,7 @@ function lre(t, e, n, i, r) {
49792
49795
  n[d].type == r && (o = d + 1);
49793
49796
  let a = n.length - o, l = e.start + n.length - (i ? 2 : 0), c = e.parent;
49794
49797
  for (let d = e.startIndex, u = e.endIndex, h = !0; d < u; d++, h = !1)
49795
- !h && ds(t.doc, l, a) && (t.split(l, a), l += 2 * a), l += c.child(d).nodeSize;
49798
+ !h && us(t.doc, l, a) && (t.split(l, a), l += 2 * a), l += c.child(d).nodeSize;
49796
49799
  return t;
49797
49800
  }
49798
49801
  function cre(t) {
@@ -49809,7 +49812,7 @@ function fre(t, e, n, i) {
49809
49812
  return !1;
49810
49813
  r.lift(i, a);
49811
49814
  let l = r.doc.resolve(r.mapping.map(s, -1) - 1);
49812
- return go(r.doc, l.pos) && l.nodeBefore.type == l.nodeAfter.type && r.join(l.pos), e(r.scrollIntoView()), !0;
49815
+ return vo(r.doc, l.pos) && l.nodeBefore.type == l.nodeAfter.type && r.join(l.pos), e(r.scrollIntoView()), !0;
49813
49816
  }
49814
49817
  function dre(t, e, n) {
49815
49818
  let i = t.tr, r = n.parent;
@@ -50867,7 +50870,7 @@ function Z4(t, e, n) {
50867
50870
  to: c
50868
50871
  };
50869
50872
  }
50870
- function yo(t, e) {
50873
+ function xo(t, e) {
50871
50874
  if (typeof t == "string") {
50872
50875
  if (!e.marks[t])
50873
50876
  throw Error(`There is no mark type named '${t}'. Maybe you forgot to add the extension?`);
@@ -50876,7 +50879,7 @@ function yo(t, e) {
50876
50879
  return t;
50877
50880
  }
50878
50881
  const Vre = (t, e = {}) => ({ tr: n, state: i, dispatch: r }) => {
50879
- const s = yo(t, i.schema), { doc: o, selection: a } = n, { $from: l, from: c, to: d } = a;
50882
+ const s = xo(t, i.schema), { doc: o, selection: a } = n, { $from: l, from: c, to: d } = a;
50880
50883
  if (r) {
50881
50884
  const u = Z4(l, s, e);
50882
50885
  if (u && u.from <= c && u.to >= d) {
@@ -50895,7 +50898,7 @@ const Vre = (t, e = {}) => ({ tr: n, state: i, dispatch: r }) => {
50895
50898
  function U0(t) {
50896
50899
  return t instanceof Ke;
50897
50900
  }
50898
- function as(t = 0, e = 0, n = 0) {
50901
+ function ls(t = 0, e = 0, n = 0) {
50899
50902
  return Math.min(Math.max(t, e), n);
50900
50903
  }
50901
50904
  function TS(t, e = null) {
@@ -50907,7 +50910,7 @@ function TS(t, e = null) {
50907
50910
  if (e === "end")
50908
50911
  return i;
50909
50912
  const r = n.from, s = i.to;
50910
- return e === "all" ? Ke.create(t, as(0, r, s), as(t.content.size, r, s)) : Ke.create(t, as(e, r, s), as(e, r, s));
50913
+ return e === "all" ? Ke.create(t, ls(0, r, s), ls(t.content.size, r, s)) : Ke.create(t, ls(e, r, s), ls(e, r, s));
50911
50914
  }
50912
50915
  function AS() {
50913
50916
  return navigator.platform === "Android" || /android/i.test(navigator.userAgent);
@@ -50951,7 +50954,7 @@ function Cd(t) {
50951
50954
  return MS(n);
50952
50955
  }
50953
50956
  function ef(t, e, n) {
50954
- if (t instanceof Xs || t instanceof fe)
50957
+ if (t instanceof Ys || t instanceof fe)
50955
50958
  return t;
50956
50959
  n = {
50957
50960
  slice: !0,
@@ -51164,7 +51167,7 @@ function B9(t, e) {
51164
51167
  const cse = (t, e) => ({ tr: n, state: i, dispatch: r }) => {
51165
51168
  let s = null, o = null;
51166
51169
  const a = G0(typeof t == "string" ? t : t.name, i.schema);
51167
- return a ? (a === "node" && (s = bn(t, i.schema)), a === "mark" && (o = yo(t, i.schema)), r && n.selection.ranges.forEach((l) => {
51170
+ return a ? (a === "node" && (s = bn(t, i.schema)), a === "mark" && (o = xo(t, i.schema)), r && n.selection.ranges.forEach((l) => {
51168
51171
  i.doc.nodesBetween(l.$from.pos, l.$to.pos, (c, d) => {
51169
51172
  s && s === c.type && n.setNodeMarkup(d, void 0, B9(c.attrs, e)), o && c.marks.length && c.marks.forEach((u) => {
51170
51173
  o === u.type && n.addMark(d, d + c.nodeSize, o.create(B9(u.attrs, e)));
@@ -51200,7 +51203,7 @@ const vse = (t, e = !1, n = {}, i = {}) => ({ editor: r, tr: s, dispatch: o, com
51200
51203
  });
51201
51204
  };
51202
51205
  function OS(t, e) {
51203
- const n = yo(e, t.schema), { from: i, to: r, empty: s } = t.selection, o = [];
51206
+ const n = xo(e, t.schema), { from: i, to: r, empty: s } = t.selection, o = [];
51204
51207
  s ? (t.storedMarks && o.push(...t.storedMarks), o.push(...t.selection.$head.marks())) : t.doc.nodesBetween(i, r, (l) => {
51205
51208
  o.push(...l.marks);
51206
51209
  });
@@ -51338,7 +51341,7 @@ function Xd(t, e, n) {
51338
51341
  }));
51339
51342
  }
51340
51343
  function $2(t, e, n = {}) {
51341
- const { empty: i, ranges: r } = t.selection, s = e ? yo(e, t.schema) : null;
51344
+ const { empty: i, ranges: r } = t.selection, s = e ? xo(e, t.schema) : null;
51342
51345
  if (i)
51343
51346
  return !!(t.storedMarks || t.selection.$from.marks()).filter((u) => s ? s.name === u.type.name : !0).find((u) => cu(u.attrs, n, { strict: !1 }));
51344
51347
  let o = 0;
@@ -51403,7 +51406,7 @@ function RS(t) {
51403
51406
  return t instanceof qe;
51404
51407
  }
51405
51408
  function Sse(t, e, n) {
51406
- const r = t.state.doc.content.size, s = as(e, 0, r), o = as(n, 0, r), a = t.coordsAtPos(s), l = t.coordsAtPos(o, -1), c = Math.min(a.top, l.top), d = Math.max(a.bottom, l.bottom), u = Math.min(a.left, l.left), h = Math.max(a.right, l.right), p = h - u, m = d - c, y = {
51409
+ const r = t.state.doc.content.size, s = ls(e, 0, r), o = ls(n, 0, r), a = t.coordsAtPos(s), l = t.coordsAtPos(o, -1), c = Math.min(a.top, l.top), d = Math.max(a.bottom, l.bottom), u = Math.min(a.left, l.left), h = Math.max(a.right, l.right), p = h - u, m = d - c, y = {
51407
51410
  top: c,
51408
51411
  bottom: d,
51409
51412
  left: u,
@@ -51441,7 +51444,7 @@ function Ese(t, e, n) {
51441
51444
  });
51442
51445
  }
51443
51446
  const Lse = (t, e = {}) => ({ tr: n, state: i, dispatch: r }) => {
51444
- const { selection: s } = n, { empty: o, ranges: a } = s, l = yo(t, i.schema);
51447
+ const { selection: s } = n, { empty: o, ranges: a } = s, l = xo(t, i.schema);
51445
51448
  if (r)
51446
51449
  if (o) {
51447
51450
  const c = OS(i, l);
@@ -51469,13 +51472,13 @@ const Lse = (t, e = {}) => ({ tr: n, state: i, dispatch: r }) => {
51469
51472
  return n.selection.$anchor.sameParent(n.selection.$head) && (o = n.selection.$anchor.parent.attrs), s.isTextblock ? r().command(({ commands: a }) => F9(s, { ...o, ...e })(n) ? !0 : a.clearNodes()).command(({ state: a }) => F9(s, { ...o, ...e })(a, i)).run() : (console.warn('[tiptap warn]: Currently "setNode()" only supports text block nodes.'), !1);
51470
51473
  }, Mse = (t) => ({ tr: e, dispatch: n }) => {
51471
51474
  if (n) {
51472
- const { doc: i } = e, r = as(t, 0, i.content.size), s = qe.create(i, r);
51475
+ const { doc: i } = e, r = ls(t, 0, i.content.size), s = qe.create(i, r);
51473
51476
  e.setSelection(s);
51474
51477
  }
51475
51478
  return !0;
51476
51479
  }, Nse = (t) => ({ tr: e, dispatch: n }) => {
51477
51480
  if (n) {
51478
- const { doc: i } = e, { from: r, to: s } = typeof t == "number" ? { from: t, to: t } : t, o = Ke.atStart(i).from, a = Ke.atEnd(i).to, l = as(r, o, a), c = as(s, o, a), d = Ke.create(i, l, c);
51481
+ const { doc: i } = e, { from: r, to: s } = typeof t == "number" ? { from: t, to: t } : t, o = Ke.atStart(i).from, a = Ke.atEnd(i).to, l = ls(r, o, a), c = ls(s, o, a), d = Ke.create(i, l, c);
51479
51482
  e.setSelection(d);
51480
51483
  }
51481
51484
  return !0;
@@ -51493,7 +51496,7 @@ function $9(t, e) {
51493
51496
  const Fse = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: i, editor: r }) => {
51494
51497
  const { selection: s, doc: o } = e, { $from: a, $to: l } = s, c = r.extensionManager.attributes, d = Xd(c, a.node().type.name, a.node().attrs);
51495
51498
  if (s instanceof qe && s.node.isBlock)
51496
- return !a.parentOffset || !ds(o, a.pos) ? !1 : (i && (t && $9(n, r.extensionManager.splittableMarks), e.split(a.pos).scrollIntoView()), !0);
51499
+ return !a.parentOffset || !us(o, a.pos) ? !1 : (i && (t && $9(n, r.extensionManager.splittableMarks), e.split(a.pos).scrollIntoView()), !0);
51497
51500
  if (!a.parent.isBlock)
51498
51501
  return !1;
51499
51502
  const u = l.parentOffset === l.parent.content.size, h = a.depth === 0 ? void 0 : J4(a.node(-1).contentMatchAt(a.indexAfter(-1)));
@@ -51502,8 +51505,8 @@ const Fse = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: i, edi
51502
51505
  type: h,
51503
51506
  attrs: d
51504
51507
  }
51505
- ] : void 0, m = ds(e.doc, e.mapping.map(a.pos), 1, p);
51506
- if (!p && !m && ds(e.doc, e.mapping.map(a.pos), 1, h ? [{ type: h }] : void 0) && (m = !0, p = h ? [
51508
+ ] : void 0, m = us(e.doc, e.mapping.map(a.pos), 1, p);
51509
+ if (!p && !m && us(e.doc, e.mapping.map(a.pos), 1, h ? [{ type: h }] : void 0) && (m = !0, p = h ? [
51507
51510
  {
51508
51511
  type: h,
51509
51512
  attrs: d
@@ -51561,7 +51564,7 @@ const Fse = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: i, edi
51561
51564
  { type: a, attrs: m },
51562
51565
  { type: p, attrs: g }
51563
51566
  ] : [{ type: a, attrs: m }];
51564
- if (!ds(n.doc, l.pos, 2))
51567
+ if (!us(n.doc, l.pos, 2))
51565
51568
  return !1;
51566
51569
  if (r) {
51567
51570
  const { selection: y, storedMarks: b } = i, { splittableMarks: k } = s.extensionManager, w = b || y.$to.parentOffset && y.$from.marks();
@@ -51579,7 +51582,7 @@ const Fse = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: i, edi
51579
51582
  if (i === void 0)
51580
51583
  return !0;
51581
51584
  const r = t.doc.nodeAt(i);
51582
- return n.node.type === r?.type && go(t.doc, n.pos) && t.join(n.pos), !0;
51585
+ return n.node.type === r?.type && vo(t.doc, n.pos) && t.join(n.pos), !0;
51583
51586
  }, hp = (t, e) => {
51584
51587
  const n = Rl((o) => o.type === e)(t.selection);
51585
51588
  if (!n)
@@ -51588,7 +51591,7 @@ const Fse = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: i, edi
51588
51591
  if (i === void 0)
51589
51592
  return !0;
51590
51593
  const r = t.doc.nodeAt(i);
51591
- return n.node.type === r?.type && go(t.doc, i) && t.join(i), !0;
51594
+ return n.node.type === r?.type && vo(t.doc, i) && t.join(i), !0;
51592
51595
  }, Ise = (t, e, n, i = {}) => ({ editor: r, tr: s, state: o, dispatch: a, chain: l, commands: c, can: d }) => {
51593
51596
  const { extensions: u, splittableMarks: h } = r.extensionManager, p = bn(t, o.schema), m = bn(e, o.schema), { selection: g, storedMarks: v } = o, { $from: y, $to: b } = g, k = y.blockRange(b), w = v || g.$to.parentOffset && g.$from.marks();
51594
51597
  if (!k)
@@ -51605,7 +51608,7 @@ const Fse = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: i, edi
51605
51608
  return s.ensureMarks(S), C ? !0 : c.clearNodes();
51606
51609
  }).wrapInList(p, i).command(() => up(s, p)).command(() => hp(s, p)).run();
51607
51610
  }, Rse = (t, e = {}, n = {}) => ({ state: i, commands: r }) => {
51608
- const { extendEmptyMarkRange: s = !1 } = n, o = yo(t, i.schema);
51611
+ const { extendEmptyMarkRange: s = !1 } = n, o = xo(t, i.schema);
51609
51612
  return $2(i, o, e) ? r.unsetMark(o, { extendEmptyMarkRange: s }) : r.setMark(o, e);
51610
51613
  }, Pse = (t, e, n = {}) => ({ state: i, commands: r }) => {
51611
51614
  const s = bn(t, i.schema), o = bn(e, i.schema), a = tf(i, s, n);
@@ -51641,7 +51644,7 @@ const Fse = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: i, edi
51641
51644
  }), !0;
51642
51645
  }, Vse = (t, e = {}) => ({ tr: n, state: i, dispatch: r }) => {
51643
51646
  var s;
51644
- const { extendEmptyMarkRange: o = !1 } = e, { selection: a } = n, l = yo(t, i.schema), { $from: c, empty: d, ranges: u } = a;
51647
+ const { extendEmptyMarkRange: o = !1 } = e, { selection: a } = n, l = xo(t, i.schema), { $from: c, empty: d, ranges: u } = a;
51645
51648
  if (!r)
51646
51649
  return !0;
51647
51650
  if (d && o) {
@@ -51656,7 +51659,7 @@ const Fse = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: i, edi
51656
51659
  }, zse = (t, e = {}) => ({ tr: n, state: i, dispatch: r }) => {
51657
51660
  let s = null, o = null;
51658
51661
  const a = G0(typeof t == "string" ? t : t.name, i.schema);
51659
- return a ? (a === "node" && (s = bn(t, i.schema)), a === "mark" && (o = yo(t, i.schema)), r && n.selection.ranges.forEach((l) => {
51662
+ return a ? (a === "node" && (s = bn(t, i.schema)), a === "mark" && (o = xo(t, i.schema)), r && n.selection.ranges.forEach((l) => {
51660
51663
  const c = l.$from.pos, d = l.$to.pos;
51661
51664
  let u, h, p, m;
51662
51665
  n.selection.empty ? i.doc.nodesBetween(c, d, (g, v) => {
@@ -52564,7 +52567,7 @@ function dl(t) {
52564
52567
  r().updateAttributes(u, s).run();
52565
52568
  }
52566
52569
  const d = o.doc.resolve(n.from - 1).nodeBefore;
52567
- d && d.type === t.type && go(o.doc, n.from - 1) && (!t.joinPredicate || t.joinPredicate(i, d)) && o.join(n.from - 1);
52570
+ d && d.type === t.type && vo(o.doc, n.from - 1) && (!t.joinPredicate || t.joinPredicate(i, d)) && o.join(n.from - 1);
52568
52571
  }
52569
52572
  });
52570
52573
  }
@@ -52698,7 +52701,7 @@ class roe {
52698
52701
  this.editor.commands.deleteRange({ from: e, to: n });
52699
52702
  }
52700
52703
  }
52701
- function ao(t) {
52704
+ function lo(t) {
52702
52705
  return new bre({
52703
52706
  find: t.find,
52704
52707
  handler: ({ state: e, range: n, match: i, pasteEvent: r }) => {
@@ -52844,13 +52847,13 @@ function VS(t, e) {
52844
52847
  }
52845
52848
  return !1;
52846
52849
  }
52847
- function ws(t) {
52850
+ function bs(t) {
52848
52851
  return Mi(t).getComputedStyle(t);
52849
52852
  }
52850
52853
  function koe(t) {
52851
52854
  return ["table", "td", "th"].indexOf($r(t)) >= 0;
52852
52855
  }
52853
- function xo(t) {
52856
+ function ko(t) {
52854
52857
  return ((ea(t) ? t.ownerDocument : (
52855
52858
  // $FlowFixMe[prop-missing]
52856
52859
  t.document
@@ -52865,23 +52868,23 @@ function Z0(t) {
52865
52868
  t.parentNode || // DOM Element detected
52866
52869
  (Q4(t) ? t.host : null) || // ShadowRoot detected
52867
52870
  // $FlowFixMe[incompatible-call]: HTMLElement is a Node
52868
- xo(t)
52871
+ ko(t)
52869
52872
  );
52870
52873
  }
52871
52874
  function z9(t) {
52872
52875
  return !Ki(t) || // https://github.com/popperjs/popper-core/issues/837
52873
- ws(t).position === "fixed" ? null : t.offsetParent;
52876
+ bs(t).position === "fixed" ? null : t.offsetParent;
52874
52877
  }
52875
52878
  function woe(t) {
52876
52879
  var e = /firefox/i.test(j2()), n = /Trident/i.test(j2());
52877
52880
  if (n && Ki(t)) {
52878
- var i = ws(t);
52881
+ var i = bs(t);
52879
52882
  if (i.position === "fixed")
52880
52883
  return null;
52881
52884
  }
52882
52885
  var r = Z0(t);
52883
52886
  for (Q4(r) && (r = r.host); Ki(r) && ["html", "body"].indexOf($r(r)) < 0; ) {
52884
- var s = ws(r);
52887
+ var s = bs(r);
52885
52888
  if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || e && s.willChange === "filter" || e && s.filter && s.filter !== "none")
52886
52889
  return r;
52887
52890
  r = r.parentNode;
@@ -52889,9 +52892,9 @@ function woe(t) {
52889
52892
  return null;
52890
52893
  }
52891
52894
  function Zf(t) {
52892
- for (var e = Mi(t), n = z9(t); n && koe(n) && ws(n).position === "static"; )
52895
+ for (var e = Mi(t), n = z9(t); n && koe(n) && bs(n).position === "static"; )
52893
52896
  n = z9(n);
52894
- return n && ($r(n) === "html" || $r(n) === "body" && ws(n).position === "static") ? e : n || woe(t) || e;
52897
+ return n && ($r(n) === "html" || $r(n) === "body" && bs(n).position === "static") ? e : n || woe(t) || e;
52895
52898
  }
52896
52899
  function tg(t) {
52897
52900
  return ["top", "bottom"].indexOf(t) >= 0 ? "x" : "y";
@@ -52972,7 +52975,7 @@ function j9(t) {
52972
52975
  var y = o.hasOwnProperty("x"), b = o.hasOwnProperty("y"), k = ui, w = di, _ = window;
52973
52976
  if (c) {
52974
52977
  var C = Zf(n), S = "clientHeight", M = "clientWidth";
52975
- if (C === Mi(n) && (C = xo(n), ws(C).position !== "static" && a === "absolute" && (S = "scrollHeight", M = "scrollWidth")), C = C, r === di || (r === ui || r === Yi) && s === nf) {
52978
+ if (C === Mi(n) && (C = ko(n), bs(C).position !== "static" && a === "absolute" && (S = "scrollHeight", M = "scrollWidth")), C = C, r === di || (r === ui || r === Yi) && s === nf) {
52976
52979
  w = Xi;
52977
52980
  var E = u && C === _ && _.visualViewport ? _.visualViewport.height : (
52978
52981
  // $FlowFixMe[prop-missing]
@@ -53084,10 +53087,10 @@ function ng(t) {
53084
53087
  };
53085
53088
  }
53086
53089
  function ig(t) {
53087
- return pl(xo(t)).left + ng(t).scrollLeft;
53090
+ return pl(ko(t)).left + ng(t).scrollLeft;
53088
53091
  }
53089
53092
  function Ioe(t, e) {
53090
- var n = Mi(t), i = xo(t), r = n.visualViewport, s = i.clientWidth, o = i.clientHeight, a = 0, l = 0;
53093
+ var n = Mi(t), i = ko(t), r = n.visualViewport, s = i.clientWidth, o = i.clientHeight, a = 0, l = 0;
53091
53094
  if (r) {
53092
53095
  s = r.width, o = r.height;
53093
53096
  var c = $S();
@@ -53101,8 +53104,8 @@ function Ioe(t, e) {
53101
53104
  };
53102
53105
  }
53103
53106
  function Roe(t) {
53104
- var e, n = xo(t), i = ng(t), r = (e = t.ownerDocument) == null ? void 0 : e.body, s = Vo(n.scrollWidth, n.clientWidth, r ? r.scrollWidth : 0, r ? r.clientWidth : 0), o = Vo(n.scrollHeight, n.clientHeight, r ? r.scrollHeight : 0, r ? r.clientHeight : 0), a = -i.scrollLeft + ig(t), l = -i.scrollTop;
53105
- return ws(r || n).direction === "rtl" && (a += Vo(n.clientWidth, r ? r.clientWidth : 0) - s), {
53107
+ var e, n = ko(t), i = ng(t), r = (e = t.ownerDocument) == null ? void 0 : e.body, s = Vo(n.scrollWidth, n.clientWidth, r ? r.scrollWidth : 0, r ? r.clientWidth : 0), o = Vo(n.scrollHeight, n.clientHeight, r ? r.scrollHeight : 0, r ? r.clientHeight : 0), a = -i.scrollLeft + ig(t), l = -i.scrollTop;
53108
+ return bs(r || n).direction === "rtl" && (a += Vo(n.clientWidth, r ? r.clientWidth : 0) - s), {
53106
53109
  width: s,
53107
53110
  height: o,
53108
53111
  x: a,
@@ -53110,7 +53113,7 @@ function Roe(t) {
53110
53113
  };
53111
53114
  }
53112
53115
  function rg(t) {
53113
- var e = ws(t), n = e.overflow, i = e.overflowX, r = e.overflowY;
53116
+ var e = bs(t), n = e.overflow, i = e.overflowX, r = e.overflowY;
53114
53117
  return /auto|scroll|overlay|hidden/.test(n + r + i);
53115
53118
  }
53116
53119
  function US(t) {
@@ -53138,10 +53141,10 @@ function Poe(t, e) {
53138
53141
  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;
53139
53142
  }
53140
53143
  function U9(t, e, n) {
53141
- return e === PS ? W2(Ioe(t, n)) : ea(e) ? Poe(e, n) : W2(Roe(xo(t)));
53144
+ return e === PS ? W2(Ioe(t, n)) : ea(e) ? Poe(e, n) : W2(Roe(ko(t)));
53142
53145
  }
53143
53146
  function Boe(t) {
53144
- var e = wc(Z0(t)), n = ["absolute", "fixed"].indexOf(ws(t).position) >= 0, i = n && Ki(t) ? Zf(t) : t;
53147
+ var e = wc(Z0(t)), n = ["absolute", "fixed"].indexOf(bs(t).position) >= 0, i = n && Ki(t) ? Zf(t) : t;
53145
53148
  return ea(i) ? e.filter(function(r) {
53146
53149
  return ea(r) && VS(r, i) && $r(r) !== "body";
53147
53150
  }) : [];
@@ -53202,7 +53205,7 @@ function qS(t) {
53202
53205
  }
53203
53206
  function rf(t, e) {
53204
53207
  e === void 0 && (e = {});
53205
- var n = e, i = n.placement, r = i === void 0 ? t.placement : i, s = n.strategy, o = s === void 0 ? t.strategy : s, a = n.boundary, l = a === void 0 ? ooe : a, c = n.rootBoundary, d = c === void 0 ? PS : c, u = n.elementContext, h = u === void 0 ? Xl : u, p = n.altBoundary, m = p === void 0 ? !1 : p, g = n.padding, v = g === void 0 ? 0 : g, y = jS(typeof v != "number" ? v : WS(v, Kf)), b = h === Xl ? aoe : Xl, k = t.rects.popper, w = t.elements[m ? b : h], _ = Hoe(ea(w) ? w : w.contextElement || xo(t.elements.popper), l, d, o), C = pl(t.elements.reference), S = qS({
53208
+ var n = e, i = n.placement, r = i === void 0 ? t.placement : i, s = n.strategy, o = s === void 0 ? t.strategy : s, a = n.boundary, l = a === void 0 ? ooe : a, c = n.rootBoundary, d = c === void 0 ? PS : c, u = n.elementContext, h = u === void 0 ? Xl : u, p = n.altBoundary, m = p === void 0 ? !1 : p, g = n.padding, v = g === void 0 ? 0 : g, y = jS(typeof v != "number" ? v : WS(v, Kf)), b = h === Xl ? aoe : Xl, k = t.rects.popper, w = t.elements[m ? b : h], _ = Hoe(ea(w) ? w : w.contextElement || ko(t.elements.popper), l, d, o), C = pl(t.elements.reference), S = qS({
53206
53209
  reference: C,
53207
53210
  element: k,
53208
53211
  placement: r
@@ -53442,7 +53445,7 @@ function nae(t) {
53442
53445
  }
53443
53446
  function iae(t, e, n) {
53444
53447
  n === void 0 && (n = !1);
53445
- var i = Ki(e), r = Ki(e) && nae(e), s = xo(e), o = pl(t, r, n), a = {
53448
+ var i = Ki(e), r = Ki(e) && nae(e), s = ko(e), o = pl(t, r, n), a = {
53446
53449
  scrollLeft: 0,
53447
53450
  scrollTop: 0
53448
53451
  }, l = {
@@ -53619,7 +53622,7 @@ function lae(t) {
53619
53622
  }
53620
53623
  var cae = [Ooe, Joe, Moe, HS, Koe, joe, Qoe, Eoe, Uoe], fae = /* @__PURE__ */ lae({
53621
53624
  defaultModifiers: cae
53622
- }), dae = "tippy-box", GS = "tippy-content", uae = "tippy-backdrop", KS = "tippy-arrow", ZS = "tippy-svg-arrow", So = {
53625
+ }), dae = "tippy-box", GS = "tippy-content", uae = "tippy-backdrop", KS = "tippy-arrow", ZS = "tippy-svg-arrow", Eo = {
53623
53626
  passive: !0,
53624
53627
  capture: !0
53625
53628
  }, JS = function() {
@@ -53760,7 +53763,7 @@ function Sae() {
53760
53763
  }
53761
53764
  }
53762
53765
  function Eae() {
53763
- document.addEventListener("touchstart", _ae, So), window.addEventListener("blur", Sae);
53766
+ document.addEventListener("touchstart", _ae, Eo), window.addEventListener("blur", Sae);
53764
53767
  }
53765
53768
  var Lae = typeof window < "u" && typeof document < "u", Tae = Lae ? (
53766
53769
  // @ts-ignore
@@ -53799,7 +53802,7 @@ process.env.NODE_ENV !== "production" && Mae();
53799
53802
  function Mae() {
53800
53803
  of = /* @__PURE__ */ new Set();
53801
53804
  }
53802
- function ts(t, e) {
53805
+ function ns(t, e) {
53803
53806
  if (t && !of.has(e)) {
53804
53807
  var n;
53805
53808
  of.add(e), (n = console).warn.apply(n, QS(e));
@@ -53931,7 +53934,7 @@ function nE(t, e) {
53931
53934
  var r = pae(Si, Object.keys(eE)), s = !hae(r, i);
53932
53935
  s && (s = e.filter(function(o) {
53933
53936
  return o.name === i;
53934
- }).length === 0), ts(s, ["`" + i + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
53937
+ }).length === 0), ns(s, ["`" + i + "`", "is not a valid prop. You may have spelled it incorrectly, or if it's", "a plugin, forgot to pass it in an array as props.plugins.", `
53935
53938
 
53936
53939
  `, `All props: https://atomiks.github.io/tippyjs/v6/all-props/
53937
53940
  `, "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "));
@@ -54006,7 +54009,7 @@ function Bae(t, e) {
54006
54009
  clearDelayTimeouts: Ct,
54007
54010
  setProps: _t,
54008
54011
  setContent: Wt,
54009
- show: ko,
54012
+ show: wo,
54010
54013
  hide: tr,
54011
54014
  hideWithInteractivity: nr,
54012
54015
  enable: He,
@@ -54114,11 +54117,11 @@ function Bae(t, e) {
54114
54117
  }
54115
54118
  function P() {
54116
54119
  var se = U();
54117
- se.addEventListener("mousedown", H, !0), se.addEventListener("touchend", H, So), se.addEventListener("touchstart", W, So), se.addEventListener("touchmove", G, So);
54120
+ se.addEventListener("mousedown", H, !0), se.addEventListener("touchend", H, Eo), se.addEventListener("touchstart", W, Eo), se.addEventListener("touchmove", G, Eo);
54118
54121
  }
54119
54122
  function X() {
54120
54123
  var se = U();
54121
- se.removeEventListener("mousedown", H, !0), se.removeEventListener("touchend", H, So), se.removeEventListener("touchstart", W, So), se.removeEventListener("touchmove", G, So);
54124
+ se.removeEventListener("mousedown", H, !0), se.removeEventListener("touchend", H, Eo), se.removeEventListener("touchstart", W, Eo), se.removeEventListener("touchmove", G, Eo);
54122
54125
  }
54123
54126
  function Y(se, ze) {
54124
54127
  he(se, function() {
@@ -54227,7 +54230,7 @@ function Bae(t, e) {
54227
54230
  fn: function(_n) {
54228
54231
  var ni = _n.state;
54229
54232
  if (T()) {
54230
- var wo = q(), zl = wo.box;
54233
+ var bo = q(), zl = bo.box;
54231
54234
  ["placement", "reference-hidden", "escaped"].forEach(function(ya) {
54232
54235
  ya === "placement" ? zl.setAttribute("data-placement", ni.placement) : ni.attributes.popper["data-popper-" + ya] ? zl.setAttribute("data-" + ya, "") : zl.removeAttribute("data-" + ya);
54233
54236
  }), ni.attributes.popper = {};
@@ -54276,7 +54279,7 @@ function Bae(t, e) {
54276
54279
  }
54277
54280
  function ie() {
54278
54281
  var se = w.props.appendTo, ze, Xe = I();
54279
- w.props.interactive && se === JS || se === "parent" ? ze = Xe.parentNode : ze = XS(se, [Xe]), ze.contains(C) || ze.appendChild(C), w.state.isMounted = !0, j(), process.env.NODE_ENV !== "production" && ts(w.props.interactive && se === Si.appendTo && Xe.nextElementSibling !== C, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
54282
+ w.props.interactive && se === JS || se === "parent" ? ze = Xe.parentNode : ze = XS(se, [Xe]), ze.contains(C) || ze.appendChild(C), w.state.isMounted = !0, j(), process.env.NODE_ENV !== "production" && ns(w.props.interactive && se === Si.appendTo && Xe.nextElementSibling !== C, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
54280
54283
 
54281
54284
  `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
54282
54285
 
@@ -54318,7 +54321,7 @@ function Bae(t, e) {
54318
54321
  clearTimeout(i), clearTimeout(r), cancelAnimationFrame(s);
54319
54322
  }
54320
54323
  function _t(se) {
54321
- if (process.env.NODE_ENV !== "production" && ts(w.state.isDestroyed, Ea("setProps")), !w.state.isDestroyed) {
54324
+ if (process.env.NODE_ENV !== "production" && ns(w.state.isDestroyed, Ea("setProps")), !w.state.isDestroyed) {
54322
54325
  xe("onBeforeUpdate", [w, se]), je();
54323
54326
  var ze = w.props, Xe = i8(t, Object.assign({}, ze, Y9(se), {
54324
54327
  ignoreAttributes: !0
@@ -54335,8 +54338,8 @@ function Bae(t, e) {
54335
54338
  content: se
54336
54339
  });
54337
54340
  }
54338
- function ko() {
54339
- process.env.NODE_ENV !== "production" && ts(w.state.isDestroyed, Ea("show"));
54341
+ function wo() {
54342
+ process.env.NODE_ENV !== "production" && ns(w.state.isDestroyed, Ea("show"));
54340
54343
  var se = w.state.isVisible, ze = w.state.isDestroyed, Xe = !w.state.isEnabled, dt = Ar.isTouch && !w.props.touch, it = pp(w.props.duration, 0, Si.duration);
54341
54344
  if (!(se || ze || Xe || dt) && !I().hasAttribute("disabled") && (xe("onShow", [w], !1), w.props.onShow(w) !== !1)) {
54342
54345
  if (w.state.isVisible = !0, T() && (C.style.visibility = "visible"), re(), P(), w.state.isMounted || (C.style.transition = "none"), T()) {
@@ -54358,7 +54361,7 @@ function Bae(t, e) {
54358
54361
  }
54359
54362
  }
54360
54363
  function tr() {
54361
- process.env.NODE_ENV !== "production" && ts(w.state.isDestroyed, Ea("hide"));
54364
+ process.env.NODE_ENV !== "production" && ns(w.state.isDestroyed, Ea("hide"));
54362
54365
  var se = !w.state.isVisible, ze = w.state.isDestroyed, Xe = !w.state.isEnabled, dt = pp(w.props.duration, 1, Si.duration);
54363
54366
  if (!(se || ze || Xe) && (xe("onHide", [w], !1), w.props.onHide(w) !== !1)) {
54364
54367
  if (w.state.isVisible = !1, w.state.isShown = !1, c = !1, o = !1, T() && (C.style.visibility = "hidden"), me(), X(), re(!0), T()) {
@@ -54369,17 +54372,17 @@ function Bae(t, e) {
54369
54372
  }
54370
54373
  }
54371
54374
  function nr(se) {
54372
- process.env.NODE_ENV !== "production" && ts(w.state.isDestroyed, Ea("hideWithInteractivity")), U().addEventListener("mousemove", m), X9(Sd, m), m(se);
54375
+ process.env.NODE_ENV !== "production" && ns(w.state.isDestroyed, Ea("hideWithInteractivity")), U().addEventListener("mousemove", m), X9(Sd, m), m(se);
54373
54376
  }
54374
54377
  function wr() {
54375
- process.env.NODE_ENV !== "production" && ts(w.state.isDestroyed, Ea("unmount")), w.state.isVisible && w.hide(), w.state.isMounted && (Z(), Se().forEach(function(se) {
54378
+ process.env.NODE_ENV !== "production" && ns(w.state.isDestroyed, Ea("unmount")), w.state.isVisible && w.hide(), w.state.isMounted && (Z(), Se().forEach(function(se) {
54376
54379
  se._tippy.unmount();
54377
54380
  }), C.parentNode && C.parentNode.removeChild(C), vp = vp.filter(function(se) {
54378
54381
  return se !== w;
54379
54382
  }), w.state.isMounted = !1, xe("onHidden", [w]));
54380
54383
  }
54381
54384
  function Wr() {
54382
- process.env.NODE_ENV !== "production" && ts(w.state.isDestroyed, Ea("destroy")), !w.state.isDestroyed && (w.clearDelayTimeouts(), w.unmount(), je(), delete t._tippy, w.state.isDestroyed = !0, xe("onDestroy", [w]));
54385
+ process.env.NODE_ENV !== "production" && ns(w.state.isDestroyed, Ea("destroy")), !w.state.isDestroyed && (w.clearDelayTimeouts(), w.unmount(), je(), delete t._tippy, w.state.isDestroyed = !0, xe("onDestroy", [w]));
54383
54386
  }
54384
54387
  }
54385
54388
  function Pl(t, e) {
@@ -54391,7 +54394,7 @@ function Pl(t, e) {
54391
54394
  }), r = wae(t);
54392
54395
  if (process.env.NODE_ENV !== "production") {
54393
54396
  var s = sf(i.content), o = r.length > 1;
54394
- ts(s && o, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
54397
+ ns(s && o, ["tippy() was passed an Element as the `content` prop, but more than", "one tippy instance was created by this invocation. This means the", "content element will only be appended to the last tippy instance.", `
54395
54398
 
54396
54399
  `, "Instead, pass the .innerHTML of the element, or use a function that", "returns a cloned version of the element instead.", `
54397
54400
 
@@ -55436,7 +55439,7 @@ const cle = ({ editor: t, disabled: e, labels: n }) => {
55436
55439
  children: [f("div", {
55437
55440
  className: D("flex items-center justify-center", o.length > 0 ? "w-6" : "w-4"),
55438
55441
  children: f(g7, {
55439
- icon: o.length > 0 ? c(o) ? Cs : M7 : Jp,
55442
+ icon: o.length > 0 ? c(o) ? _s : M7 : Jp,
55440
55443
  type: o ? c(o) ? "positive" : "warning" : "neutral",
55441
55444
  size: o.length > 0 ? "sm" : "lg"
55442
55445
  })
@@ -55480,7 +55483,7 @@ const cle = ({ editor: t, disabled: e, labels: n }) => {
55480
55483
  className: D("mx-1 h-4 w-[1px] flex-shrink-0 bg-f1-foreground-disabled", t && "hidden")
55481
55484
  }), cE = V(({ onClick: t = () => {
55482
55485
  }, active: e = !1, label: n, disabled: i, icon: r, tooltip: s, showLabel: o = !1, ...a }, l) => {
55483
- const c = f(gs, {
55486
+ const c = f(vs, {
55484
55487
  ref: l,
55485
55488
  variant: "ghost",
55486
55489
  size: "md",
@@ -55778,7 +55781,7 @@ const h8 = ({ items: t, disabled: e = !1, activator: n, darkMode: i = !1, positi
55778
55781
  disabled: n,
55779
55782
  activator: {
55780
55783
  label: s.moreOptions,
55781
- icon: ms
55784
+ icon: gs
55782
55785
  }
55783
55786
  })]
55784
55787
  }), v = [f(cle, {
@@ -55960,7 +55963,7 @@ const h8 = ({ items: t, disabled: e = !1, activator: n, darkMode: i = !1, positi
55960
55963
  },
55961
55964
  addPasteRules() {
55962
55965
  return [
55963
- ao({
55966
+ lo({
55964
55967
  find: vle,
55965
55968
  type: this.type
55966
55969
  })
@@ -56911,7 +56914,7 @@ oi.prototype = {
56911
56914
  return r.j[t] = o, o;
56912
56915
  }
56913
56916
  };
56914
- const ot = (t, e, n, i, r) => t.ta(e, n, i, r), Kt = (t, e, n, i, r) => t.tr(e, n, i, r), m8 = (t, e, n, i, r) => t.ts(e, n, i, r), Ce = (t, e, n, i, r) => t.tt(e, n, i, r), Yr = "WORD", tm = "UWORD", gE = "ASCIINUMERICAL", vE = "ALPHANUMERICAL", af = "LOCALHOST", nm = "TLD", im = "UTLD", Qd = "SCHEME", Ia = "SLASH_SCHEME", mg = "NUM", rm = "WS", gg = "NL", _c = "OPENBRACE", Sc = "CLOSEBRACE", hu = "OPENBRACKET", pu = "CLOSEBRACKET", mu = "OPENPAREN", gu = "CLOSEPAREN", vu = "OPENANGLEBRACKET", yu = "CLOSEANGLEBRACKET", xu = "FULLWIDTHLEFTPAREN", ku = "FULLWIDTHRIGHTPAREN", wu = "LEFTCORNERBRACKET", bu = "RIGHTCORNERBRACKET", Cu = "LEFTWHITECORNERBRACKET", _u = "RIGHTWHITECORNERBRACKET", Su = "FULLWIDTHLESSTHAN", Eu = "FULLWIDTHGREATERTHAN", Lu = "AMPERSAND", vg = "APOSTROPHE", Tu = "ASTERISK", Ds = "AT", Au = "BACKSLASH", Mu = "BACKTICK", Nu = "CARET", $s = "COLON", yg = "COMMA", Ou = "DOLLAR", Er = "DOT", Fu = "EQUALS", xg = "EXCLAMATION", Hi = "HYPHEN", Ec = "PERCENT", Du = "PIPE", Iu = "PLUS", Ru = "POUND", Lc = "QUERY", kg = "QUOTE", yE = "FULLWIDTHMIDDLEDOT", wg = "SEMI", Lr = "SLASH", Tc = "TILDE", Pu = "UNDERSCORE", xE = "EMOJI", Bu = "SYM";
56917
+ const ot = (t, e, n, i, r) => t.ta(e, n, i, r), Kt = (t, e, n, i, r) => t.tr(e, n, i, r), m8 = (t, e, n, i, r) => t.ts(e, n, i, r), Ce = (t, e, n, i, r) => t.tt(e, n, i, r), Yr = "WORD", tm = "UWORD", gE = "ASCIINUMERICAL", vE = "ALPHANUMERICAL", af = "LOCALHOST", nm = "TLD", im = "UTLD", Qd = "SCHEME", Ia = "SLASH_SCHEME", mg = "NUM", rm = "WS", gg = "NL", _c = "OPENBRACE", Sc = "CLOSEBRACE", hu = "OPENBRACKET", pu = "CLOSEBRACKET", mu = "OPENPAREN", gu = "CLOSEPAREN", vu = "OPENANGLEBRACKET", yu = "CLOSEANGLEBRACKET", xu = "FULLWIDTHLEFTPAREN", ku = "FULLWIDTHRIGHTPAREN", wu = "LEFTCORNERBRACKET", bu = "RIGHTCORNERBRACKET", Cu = "LEFTWHITECORNERBRACKET", _u = "RIGHTWHITECORNERBRACKET", Su = "FULLWIDTHLESSTHAN", Eu = "FULLWIDTHGREATERTHAN", Lu = "AMPERSAND", vg = "APOSTROPHE", Tu = "ASTERISK", Is = "AT", Au = "BACKSLASH", Mu = "BACKTICK", Nu = "CARET", Vs = "COLON", yg = "COMMA", Ou = "DOLLAR", Er = "DOT", Fu = "EQUALS", xg = "EXCLAMATION", Hi = "HYPHEN", Ec = "PERCENT", Du = "PIPE", Iu = "PLUS", Ru = "POUND", Lc = "QUERY", kg = "QUOTE", yE = "FULLWIDTHMIDDLEDOT", wg = "SEMI", Lr = "SLASH", Tc = "TILDE", Pu = "UNDERSCORE", xE = "EMOJI", Bu = "SYM";
56915
56918
  var kE = /* @__PURE__ */ Object.freeze({
56916
56919
  __proto__: null,
56917
56920
  WORD: Yr,
@@ -56945,11 +56948,11 @@ var kE = /* @__PURE__ */ Object.freeze({
56945
56948
  AMPERSAND: Lu,
56946
56949
  APOSTROPHE: vg,
56947
56950
  ASTERISK: Tu,
56948
- AT: Ds,
56951
+ AT: Is,
56949
56952
  BACKSLASH: Au,
56950
56953
  BACKTICK: Mu,
56951
56954
  CARET: Nu,
56952
- COLON: $s,
56955
+ COLON: Vs,
56953
56956
  COMMA: yg,
56954
56957
  DOLLAR: Ou,
56955
56958
  DOT: Er,
@@ -56977,7 +56980,7 @@ function dce(t = []) {
56977
56980
  const e = {};
56978
56981
  oi.groups = e;
56979
56982
  const n = new oi();
56980
- Ld == null && (Ld = v8(ice)), Td == null && (Td = v8(rce)), Ce(n, "'", vg), Ce(n, "{", _c), Ce(n, "}", Sc), Ce(n, "[", hu), Ce(n, "]", pu), Ce(n, "(", mu), Ce(n, ")", gu), Ce(n, "<", vu), Ce(n, ">", yu), Ce(n, "(", xu), Ce(n, ")", ku), Ce(n, "「", wu), Ce(n, "」", bu), Ce(n, "『", Cu), Ce(n, "』", _u), Ce(n, "<", Su), Ce(n, ">", Eu), Ce(n, "&", Lu), Ce(n, "*", Tu), Ce(n, "@", Ds), Ce(n, "`", Mu), Ce(n, "^", Nu), Ce(n, ":", $s), Ce(n, ",", yg), Ce(n, "$", Ou), Ce(n, ".", Er), Ce(n, "=", Fu), Ce(n, "!", xg), Ce(n, "-", Hi), Ce(n, "%", Ec), Ce(n, "|", Du), Ce(n, "+", Iu), Ce(n, "#", Ru), Ce(n, "?", Lc), Ce(n, '"', kg), Ce(n, "/", Lr), Ce(n, ";", wg), Ce(n, "~", Tc), Ce(n, "_", Pu), Ce(n, "\\", Au), Ce(n, "・", yE);
56983
+ Ld == null && (Ld = v8(ice)), Td == null && (Td = v8(rce)), Ce(n, "'", vg), Ce(n, "{", _c), Ce(n, "}", Sc), Ce(n, "[", hu), Ce(n, "]", pu), Ce(n, "(", mu), Ce(n, ")", gu), Ce(n, "<", vu), Ce(n, ">", yu), Ce(n, "(", xu), Ce(n, ")", ku), Ce(n, "「", wu), Ce(n, "」", bu), Ce(n, "『", Cu), Ce(n, "』", _u), Ce(n, "<", Su), Ce(n, ">", Eu), Ce(n, "&", Lu), Ce(n, "*", Tu), Ce(n, "@", Is), Ce(n, "`", Mu), Ce(n, "^", Nu), Ce(n, ":", Vs), Ce(n, ",", yg), Ce(n, "$", Ou), Ce(n, ".", Er), Ce(n, "=", Fu), Ce(n, "!", xg), Ce(n, "-", Hi), Ce(n, "%", Ec), Ce(n, "|", Du), Ce(n, "+", Iu), Ce(n, "#", Ru), Ce(n, "?", Lc), Ce(n, '"', kg), Ce(n, "/", Lr), Ce(n, ";", wg), Ce(n, "~", Tc), Ce(n, "_", Pu), Ce(n, "\\", Au), Ce(n, "・", yE);
56981
56984
  const i = Kt(n, Jr, mg, {
56982
56985
  [X2]: !0
56983
56986
  });
@@ -57010,16 +57013,16 @@ function dce(t = []) {
57010
57013
  Ce(h, "#"), Kt(h, Cp, u);
57011
57014
  const p = [[Zr, o], [Jr, r]], m = [[Zr, null], [Yl, a], [Jr, s]];
57012
57015
  for (let g = 0; g < Ld.length; g++)
57013
- Ms(n, Ld[g], nm, Yr, p);
57016
+ Ns(n, Ld[g], nm, Yr, p);
57014
57017
  for (let g = 0; g < Td.length; g++)
57015
- Ms(n, Td[g], im, tm, m);
57018
+ Ns(n, Td[g], im, tm, m);
57016
57019
  Do(nm, {
57017
57020
  tld: !0,
57018
57021
  ascii: !0
57019
57022
  }, e), Do(im, {
57020
57023
  utld: !0,
57021
57024
  alpha: !0
57022
- }, e), Ms(n, "file", Qd, Yr, p), Ms(n, "mailto", Qd, Yr, p), Ms(n, "http", Ia, Yr, p), Ms(n, "https", Ia, Yr, p), Ms(n, "ftp", Ia, Yr, p), Ms(n, "ftps", Ia, Yr, p), Do(Qd, {
57025
+ }, e), Ns(n, "file", Qd, Yr, p), Ns(n, "mailto", Qd, Yr, p), Ns(n, "http", Ia, Yr, p), Ns(n, "https", Ia, Yr, p), Ns(n, "ftp", Ia, Yr, p), Ns(n, "ftps", Ia, Yr, p), Do(Qd, {
57023
57026
  scheme: !0,
57024
57027
  ascii: !0
57025
57028
  }, e), Do(Ia, {
@@ -57072,7 +57075,7 @@ function uce(t) {
57072
57075
  }
57073
57076
  return e;
57074
57077
  }
57075
- function Ms(t, e, n, i, r) {
57078
+ function Ns(t, e, n, i, r) {
57076
57079
  let s;
57077
57080
  const o = e.length;
57078
57081
  for (let a = 0; a < o - 1; a++) {
@@ -57327,18 +57330,18 @@ const x8 = th("email", {
57327
57330
  */
57328
57331
  hasProtocol() {
57329
57332
  const t = this.tk;
57330
- return t.length >= 2 && t[0].t !== af && t[1].t === $s;
57333
+ return t.length >= 2 && t[0].t !== af && t[1].t === Vs;
57331
57334
  }
57332
57335
  }), Ii = (t) => new oi(t);
57333
57336
  function pce({
57334
57337
  groups: t
57335
57338
  }) {
57336
- const e = t.domain.concat([Lu, Tu, Ds, Au, Mu, Nu, Ou, Fu, Hi, mg, Ec, Du, Iu, Ru, Lr, Bu, Tc, Pu]), n = [$s, yg, Er, xg, Ec, Lc, kg, wg, vu, yu, _c, Sc, pu, hu, mu, gu, xu, ku, wu, bu, Cu, _u, Su, Eu], i = [Lu, vg, Tu, Au, Mu, Nu, Ou, Fu, Hi, _c, Sc, Ec, Du, Iu, Ru, Lc, Lr, Bu, Tc, Pu], r = Ii(), s = Ce(r, Tc);
57339
+ const e = t.domain.concat([Lu, Tu, Is, Au, Mu, Nu, Ou, Fu, Hi, mg, Ec, Du, Iu, Ru, Lr, Bu, Tc, Pu]), n = [Vs, yg, Er, xg, Ec, Lc, kg, wg, vu, yu, _c, Sc, pu, hu, mu, gu, xu, ku, wu, bu, Cu, _u, Su, Eu], i = [Lu, vg, Tu, Au, Mu, Nu, Ou, Fu, Hi, _c, Sc, Ec, Du, Iu, Ru, Lc, Lr, Bu, Tc, Pu], r = Ii(), s = Ce(r, Tc);
57337
57340
  ot(s, i, s), ot(s, t.domain, s);
57338
57341
  const o = Ii(), a = Ii(), l = Ii();
57339
57342
  ot(r, t.domain, o), ot(r, t.scheme, a), ot(r, t.slashscheme, l), ot(o, i, s), ot(o, t.domain, o);
57340
- const c = Ce(o, Ds);
57341
- Ce(s, Ds, c), Ce(a, Ds, c), Ce(l, Ds, c);
57343
+ const c = Ce(o, Is);
57344
+ Ce(s, Is, c), Ce(a, Is, c), Ce(l, Is, c);
57342
57345
  const d = Ce(s, Er);
57343
57346
  ot(d, i, s), ot(d, t.domain, s);
57344
57347
  const u = Ii();
@@ -57349,17 +57352,17 @@ function pce({
57349
57352
  ot(h, t.tld, p), ot(h, t.utld, p), Ce(c, af, p);
57350
57353
  const m = Ce(u, Hi);
57351
57354
  Ce(m, Hi, m), ot(m, t.domain, u), ot(p, t.domain, u), Ce(p, Er, h), Ce(p, Hi, m);
57352
- const g = Ce(p, $s);
57355
+ const g = Ce(p, Vs);
57353
57356
  ot(g, t.numeric, x8);
57354
57357
  const v = Ce(o, Hi), y = Ce(o, Er);
57355
57358
  Ce(v, Hi, v), ot(v, t.domain, o), ot(y, i, s), ot(y, t.domain, o);
57356
57359
  const b = Ii(Ad);
57357
- ot(y, t.tld, b), ot(y, t.utld, b), ot(b, t.domain, o), ot(b, i, s), Ce(b, Er, y), Ce(b, Hi, v), Ce(b, Ds, c);
57358
- const k = Ce(b, $s), w = Ii(Ad);
57360
+ ot(y, t.tld, b), ot(y, t.utld, b), ot(b, t.domain, o), ot(b, i, s), Ce(b, Er, y), Ce(b, Hi, v), Ce(b, Is, c);
57361
+ const k = Ce(b, Vs), w = Ii(Ad);
57359
57362
  ot(k, t.numeric, w);
57360
57363
  const _ = Ii(Ad), C = Ii();
57361
57364
  ot(_, e, _), ot(_, n, C), ot(C, e, _), ot(C, n, C), Ce(b, Lr, _), Ce(w, Lr, _);
57362
- const S = Ce(a, $s), M = Ce(l, $s), E = Ce(M, Lr), L = Ce(E, Lr);
57365
+ const S = Ce(a, Vs), M = Ce(l, Vs), E = Ce(M, Lr), L = Ce(E, Lr);
57363
57366
  ot(a, t.domain, o), Ce(a, Er, y), Ce(a, Hi, v), ot(l, t.domain, o), Ce(l, Er, y), Ce(l, Hi, v), ot(S, t.domain, _), Ce(S, Lr, _), Ce(S, Lc, _), ot(L, t.domain, _), ot(L, e, _), Ce(L, Lr, _);
57364
57367
  const N = [
57365
57368
  [_c, Sc],
@@ -57545,7 +57548,7 @@ function Cce(t) {
57545
57548
  });
57546
57549
  }
57547
57550
  const _ce = /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g;
57548
- function _o(t, e) {
57551
+ function So(t, e) {
57549
57552
  const n = [
57550
57553
  "http",
57551
57554
  "https",
@@ -57599,7 +57602,7 @@ const Sce = Ji.create({
57599
57602
  rel: "noopener noreferrer nofollow",
57600
57603
  class: null
57601
57604
  },
57602
- isAllowedUri: (t, e) => !!_o(t, e.protocols),
57605
+ isAllowedUri: (t, e) => !!So(t, e.protocols),
57603
57606
  validate: (t) => !!t,
57604
57607
  shouldAutoLink: (t) => !!t
57605
57608
  };
@@ -57630,7 +57633,7 @@ const Sce = Ji.create({
57630
57633
  getAttrs: (t) => {
57631
57634
  const e = t.getAttribute("href");
57632
57635
  return !e || !this.options.isAllowedUri(e, {
57633
- defaultValidate: (n) => !!_o(n, this.options.protocols),
57636
+ defaultValidate: (n) => !!So(n, this.options.protocols),
57634
57637
  protocols: this.options.protocols,
57635
57638
  defaultProtocol: this.options.defaultProtocol
57636
57639
  }) ? !1 : null;
@@ -57640,7 +57643,7 @@ const Sce = Ji.create({
57640
57643
  },
57641
57644
  renderHTML({ HTMLAttributes: t }) {
57642
57645
  return this.options.isAllowedUri(t.href, {
57643
- defaultValidate: (e) => !!_o(e, this.options.protocols),
57646
+ defaultValidate: (e) => !!So(e, this.options.protocols),
57644
57647
  protocols: this.options.protocols,
57645
57648
  defaultProtocol: this.options.defaultProtocol
57646
57649
  }) ? ["a", pt(this.options.HTMLAttributes, t), 0] : [
@@ -57654,7 +57657,7 @@ const Sce = Ji.create({
57654
57657
  setLink: (t) => ({ chain: e }) => {
57655
57658
  const { href: n } = t;
57656
57659
  return this.options.isAllowedUri(n, {
57657
- defaultValidate: (i) => !!_o(i, this.options.protocols),
57660
+ defaultValidate: (i) => !!So(i, this.options.protocols),
57658
57661
  protocols: this.options.protocols,
57659
57662
  defaultProtocol: this.options.defaultProtocol
57660
57663
  }) ? e().setMark(this.name, t).setMeta("preventAutolink", !0).run() : !1;
@@ -57662,7 +57665,7 @@ const Sce = Ji.create({
57662
57665
  toggleLink: (t) => ({ chain: e }) => {
57663
57666
  const { href: n } = t;
57664
57667
  return this.options.isAllowedUri(n, {
57665
- defaultValidate: (i) => !!_o(i, this.options.protocols),
57668
+ defaultValidate: (i) => !!So(i, this.options.protocols),
57666
57669
  protocols: this.options.protocols,
57667
57670
  defaultProtocol: this.options.defaultProtocol
57668
57671
  }) ? e().toggleMark(this.name, t, { extendEmptyMarkRange: !0 }).setMeta("preventAutolink", !0).run() : !1;
@@ -57672,12 +57675,12 @@ const Sce = Ji.create({
57672
57675
  },
57673
57676
  addPasteRules() {
57674
57677
  return [
57675
- ao({
57678
+ lo({
57676
57679
  find: (t) => {
57677
57680
  const e = [];
57678
57681
  if (t) {
57679
57682
  const { protocols: n, defaultProtocol: i } = this.options, r = CE(t).filter((s) => s.isLink && this.options.isAllowedUri(s.value, {
57680
- defaultValidate: (o) => !!_o(o, n),
57683
+ defaultValidate: (o) => !!So(o, n),
57681
57684
  protocols: n,
57682
57685
  defaultProtocol: i
57683
57686
  }));
@@ -57707,7 +57710,7 @@ const Sce = Ji.create({
57707
57710
  type: this.type,
57708
57711
  defaultProtocol: this.options.defaultProtocol,
57709
57712
  validate: (i) => this.options.isAllowedUri(i, {
57710
- defaultValidate: (r) => !!_o(r, e),
57713
+ defaultValidate: (r) => !!So(r, e),
57711
57714
  protocols: e,
57712
57715
  defaultProtocol: n
57713
57716
  }),
@@ -57820,11 +57823,11 @@ const Sce = Ji.create({
57820
57823
  },
57821
57824
  addPasteRules() {
57822
57825
  return [
57823
- ao({
57826
+ lo({
57824
57827
  find: Ace,
57825
57828
  type: this.type
57826
57829
  }),
57827
- ao({
57830
+ lo({
57828
57831
  find: Nce,
57829
57832
  type: this.type
57830
57833
  })
@@ -57918,7 +57921,7 @@ const Sce = Ji.create({
57918
57921
  },
57919
57922
  addPasteRules() {
57920
57923
  return [
57921
- ao({
57924
+ lo({
57922
57925
  find: Rce,
57923
57926
  type: this.type
57924
57927
  })
@@ -58389,9 +58392,9 @@ class ar {
58389
58392
  return;
58390
58393
  }
58391
58394
  if (r) {
58392
- d.push(new Ns(u.map));
58395
+ d.push(new Os(u.map));
58393
58396
  let p = u.step.map(r.slice(s)), m;
58394
- p && o.maybeStep(p).doc && (m = o.mapping.maps[o.mapping.maps.length - 1], c.push(new Ns(m, void 0, void 0, c.length + d.length))), s--, m && r.appendMap(m, s);
58397
+ p && o.maybeStep(p).doc && (m = o.mapping.maps[o.mapping.maps.length - 1], c.push(new Os(m, void 0, void 0, c.length + d.length))), s--, m && r.appendMap(m, s);
58395
58398
  } else
58396
58399
  o.maybeStep(u.step);
58397
58400
  if (u.selection)
@@ -58402,7 +58405,7 @@ class ar {
58402
58405
  addTransform(e, n, i, r) {
58403
58406
  let s = [], o = this.eventCount, a = this.items, l = !r && a.length ? a.get(a.length - 1) : null;
58404
58407
  for (let d = 0; d < e.steps.length; d++) {
58405
- let u = e.steps[d].invert(e.docs[d]), h = new Ns(e.mapping.maps[d], u, n), p;
58408
+ let u = e.steps[d].invert(e.docs[d]), h = new Os(e.mapping.maps[d], u, n), p;
58406
58409
  (p = l && l.merge(h)) && (h = p, d ? s.pop() : a = a.slice(0, a.length - 1)), s.push(h), n && (o++, n = void 0), r || (l = h);
58407
58410
  }
58408
58411
  let c = o - i.depth;
@@ -58416,7 +58419,7 @@ class ar {
58416
58419
  }, e, n), i;
58417
58420
  }
58418
58421
  addMaps(e) {
58419
- return this.eventCount == 0 ? this : new ar(this.items.append(e.map((n) => new Ns(n))), this.eventCount);
58422
+ return this.eventCount == 0 ? this : new ar(this.items.append(e.map((n) => new Os(n))), this.eventCount);
58420
58423
  }
58421
58424
  // When the collab module receives remote changes, the history has
58422
58425
  // to know about those, so that it can adjust the steps that were
@@ -58438,13 +58441,13 @@ class ar {
58438
58441
  let m = s.maps[p];
58439
58442
  if (h.step) {
58440
58443
  let g = e.steps[p].invert(e.docs[p]), v = h.selection && h.selection.map(s.slice(l + 1, p));
58441
- v && a++, i.push(new Ns(m, g, v));
58444
+ v && a++, i.push(new Os(m, g, v));
58442
58445
  } else
58443
- i.push(new Ns(m));
58446
+ i.push(new Os(m));
58444
58447
  }, r);
58445
58448
  let c = [];
58446
58449
  for (let h = n; h < o; h++)
58447
- c.push(new Ns(s.maps[h]));
58450
+ c.push(new Os(s.maps[h]));
58448
58451
  let d = this.items.slice(0, r).append(c).append(i), u = new ar(d, a);
58449
58452
  return u.emptyItemCount() > Zce && (u = u.compress(this.items.length - i.length)), u;
58450
58453
  }
@@ -58470,7 +58473,7 @@ class ar {
58470
58473
  if (i--, c && n.appendMap(c, i), l) {
58471
58474
  let d = o.selection && o.selection.map(n.slice(i));
58472
58475
  d && s++;
58473
- let u = new Ns(c.invert(), l, d), h, p = r.length - 1;
58476
+ let u = new Os(c.invert(), l, d), h, p = r.length - 1;
58474
58477
  (h = r.length && r[p].merge(u)) ? r[p] = h : r.push(u);
58475
58478
  }
58476
58479
  } else o.map && i--;
@@ -58485,7 +58488,7 @@ function Jce(t, e) {
58485
58488
  return n = r, !1;
58486
58489
  }), t.slice(n);
58487
58490
  }
58488
- let Ns = class SE {
58491
+ let Os = class SE {
58489
58492
  constructor(e, n, i, r) {
58490
58493
  this.map = e, this.step = n, this.selection = i, this.mirrorOffset = r;
58491
58494
  }
@@ -58497,7 +58500,7 @@ let Ns = class SE {
58497
58500
  }
58498
58501
  }
58499
58502
  };
58500
- class Is {
58503
+ class Rs {
58501
58504
  constructor(e, n, i, r, s) {
58502
58505
  this.done = e, this.undone = n, this.prevRanges = i, this.prevTime = r, this.prevComposition = s;
58503
58506
  }
@@ -58507,16 +58510,16 @@ function Yce(t, e, n, i) {
58507
58510
  let r = n.getMeta(zo), s;
58508
58511
  if (r)
58509
58512
  return r.historyState;
58510
- n.getMeta(tfe) && (t = new Is(t.done, t.undone, null, 0, -1));
58513
+ n.getMeta(tfe) && (t = new Rs(t.done, t.undone, null, 0, -1));
58511
58514
  let o = n.getMeta("appendedTransaction");
58512
58515
  if (n.steps.length == 0)
58513
58516
  return t;
58514
58517
  if (o && o.getMeta(zo))
58515
- return o.getMeta(zo).redo ? new Is(t.done.addTransform(n, void 0, i, e1(e)), t.undone, _8(n.mapping.maps), t.prevTime, t.prevComposition) : new Is(t.done, t.undone.addTransform(n, void 0, i, e1(e)), null, t.prevTime, t.prevComposition);
58518
+ return o.getMeta(zo).redo ? new Rs(t.done.addTransform(n, void 0, i, e1(e)), t.undone, _8(n.mapping.maps), t.prevTime, t.prevComposition) : new Rs(t.done, t.undone.addTransform(n, void 0, i, e1(e)), null, t.prevTime, t.prevComposition);
58516
58519
  if (n.getMeta("addToHistory") !== !1 && !(o && o.getMeta("addToHistory") === !1)) {
58517
58520
  let a = n.getMeta("composition"), l = t.prevTime == 0 || !o && t.prevComposition != a && (t.prevTime < (n.time || 0) - i.newGroupDelay || !Qce(n, t.prevRanges)), c = o ? Tp(t.prevRanges, n.mapping) : _8(n.mapping.maps);
58518
- return new Is(t.done.addTransform(n, l ? e.selection.getBookmark() : void 0, i, e1(e)), ar.empty, c, n.time, a ?? t.prevComposition);
58519
- } else return (s = n.getMeta("rebased")) ? new Is(t.done.rebased(n, s), t.undone.rebased(n, s), Tp(t.prevRanges, n.mapping), t.prevTime, t.prevComposition) : new Is(t.done.addMaps(n.mapping.maps), t.undone.addMaps(n.mapping.maps), Tp(t.prevRanges, n.mapping), t.prevTime, t.prevComposition);
58521
+ return new Rs(t.done.addTransform(n, l ? e.selection.getBookmark() : void 0, i, e1(e)), ar.empty, c, n.time, a ?? t.prevComposition);
58522
+ } else return (s = n.getMeta("rebased")) ? new Rs(t.done.rebased(n, s), t.undone.rebased(n, s), Tp(t.prevRanges, n.mapping), t.prevTime, t.prevComposition) : new Rs(t.done.addMaps(n.mapping.maps), t.undone.addMaps(n.mapping.maps), Tp(t.prevRanges, n.mapping), t.prevTime, t.prevComposition);
58520
58523
  }
58521
58524
  function Qce(t, e) {
58522
58525
  if (!e)
@@ -58549,7 +58552,7 @@ function efe(t, e, n) {
58549
58552
  let i = e1(e), r = zo.get(e).spec.config, s = (n ? t.undone : t.done).popEvent(e, i);
58550
58553
  if (!s)
58551
58554
  return null;
58552
- let o = s.selection.resolve(s.transform.doc), a = (n ? t.done : t.undone).addTransform(s.transform, e.selection.getBookmark(), r, i), l = new Is(n ? a : s.remaining, n ? s.remaining : a, null, 0, -1);
58555
+ let o = s.selection.resolve(s.transform.doc), a = (n ? t.done : t.undone).addTransform(s.transform, e.selection.getBookmark(), r, i), l = new Rs(n ? a : s.remaining, n ? s.remaining : a, null, 0, -1);
58553
58556
  return s.transform.setSelection(o).setMeta(zo, { redo: n, historyState: l });
58554
58557
  }
58555
58558
  let Ap = !1, S8 = null;
@@ -58574,7 +58577,7 @@ function nfe(t = {}) {
58574
58577
  key: zo,
58575
58578
  state: {
58576
58579
  init() {
58577
- return new Is(ar.empty, ar.empty, null, 0, -1);
58580
+ return new Rs(ar.empty, ar.empty, null, 0, -1);
58578
58581
  },
58579
58582
  apply(e, n, i) {
58580
58583
  return Yce(n, i, e, t);
@@ -58737,11 +58740,11 @@ const LE = EE(!1, !0), TE = EE(!0, !0), ife = Mt.create({
58737
58740
  },
58738
58741
  addPasteRules() {
58739
58742
  return [
58740
- ao({
58743
+ lo({
58741
58744
  find: ofe,
58742
58745
  type: this.type
58743
58746
  }),
58744
- ao({
58747
+ lo({
58745
58748
  find: lfe,
58746
58749
  type: this.type
58747
58750
  })
@@ -58919,7 +58922,7 @@ const LE = EE(!1, !0), TE = EE(!0, !0), ife = Mt.create({
58919
58922
  },
58920
58923
  addPasteRules() {
58921
58924
  return [
58922
- ao({
58925
+ lo({
58923
58926
  find: mfe,
58924
58927
  type: this.type
58925
58928
  })
@@ -59156,7 +59159,7 @@ function Wn(t) {
59156
59159
  }
59157
59160
  return e;
59158
59161
  }
59159
- var Vs = new kt("selectingCells");
59162
+ var zs = new kt("selectingCells");
59160
59163
  function Bl(t) {
59161
59164
  for (let e = t.depth - 1; e > 0; e--)
59162
59165
  if (t.node(e).type.spec.tableRole == "row")
@@ -60281,21 +60284,21 @@ function ide(t, e) {
60281
60284
  return;
60282
60285
  function s(l, c) {
60283
60286
  let d = Mp(t, c);
60284
- const u = Vs.getState(t.state) == null;
60287
+ const u = zs.getState(t.state) == null;
60285
60288
  if (!d || !Eg(l, d))
60286
60289
  if (u) d = l;
60287
60290
  else return;
60288
60291
  const h = new It(l, d);
60289
60292
  if (u || !t.state.selection.eq(h)) {
60290
60293
  const p = t.state.tr.setSelection(h);
60291
- u && p.setMeta(Vs, l.pos), t.dispatch(p);
60294
+ u && p.setMeta(zs, l.pos), t.dispatch(p);
60292
60295
  }
60293
60296
  }
60294
60297
  function o() {
60295
- t.root.removeEventListener("mouseup", o), t.root.removeEventListener("dragstart", o), t.root.removeEventListener("mousemove", a), Vs.getState(t.state) != null && t.dispatch(t.state.tr.setMeta(Vs, -1));
60298
+ t.root.removeEventListener("mouseup", o), t.root.removeEventListener("dragstart", o), t.root.removeEventListener("mousemove", a), zs.getState(t.state) != null && t.dispatch(t.state.tr.setMeta(zs, -1));
60296
60299
  }
60297
60300
  function a(l) {
60298
- const c = l, d = Vs.getState(t.state);
60301
+ const c = l, d = zs.getState(t.state);
60299
60302
  let u;
60300
60303
  if (d != null)
60301
60304
  u = t.state.doc.resolve(d);
@@ -60599,7 +60602,7 @@ function mde({
60599
60602
  allowTableNodeSelection: t = !1
60600
60603
  } = {}) {
60601
60604
  return new xt({
60602
- key: Vs,
60605
+ key: zs,
60603
60606
  // This piece of state is used to remember when a mouse-drag
60604
60607
  // cell-selection is happening, so that it can continue even as
60605
60608
  // transactions (which might move its anchor cell) come in.
@@ -60608,7 +60611,7 @@ function mde({
60608
60611
  return null;
60609
60612
  },
60610
60613
  apply(e, n) {
60611
- const i = e.getMeta(Vs);
60614
+ const i = e.getMeta(zs);
60612
60615
  if (i != null) return i == -1 ? null : i;
60613
60616
  if (n == null || !e.docChanged) return n;
60614
60617
  const { deleted: r, pos: s } = e.mapping.mapResult(n);
@@ -60621,7 +60624,7 @@ function mde({
60621
60624
  mousedown: ide
60622
60625
  },
60623
60626
  createSelectionBetween(e) {
60624
- return Vs.getState(e.state) != null ? e.state.selection : null;
60627
+ return zs.getState(e.state) != null ? e.state.selection : null;
60625
60628
  },
60626
60629
  handleTripleClick: tde,
60627
60630
  handleKeyDown: ede,
@@ -61742,7 +61745,7 @@ const jde = Hde.extend({
61742
61745
  });
61743
61746
  }, c = [{
61744
61747
  label: a.labels?.deleteBlock || "Delete",
61745
- icon: po,
61748
+ icon: mo,
61746
61749
  critical: !0,
61747
61750
  onClick: () => e()
61748
61751
  }];
@@ -61775,7 +61778,7 @@ const jde = Hde.extend({
61775
61778
  variant: "outline",
61776
61779
  hideLabel: !0,
61777
61780
  label: r ? a.labels?.collapse || "Collapse" : a.labels?.expand || "Expand",
61778
- icon: r ? kf : _s,
61781
+ icon: r ? kf : Ss,
61779
61782
  size: "sm"
61780
61783
  }), f(hn, {
61781
61784
  items: c,
@@ -61883,7 +61886,7 @@ const jde = Hde.extend({
61883
61886
  });
61884
61887
  }, c = [{
61885
61888
  label: a.labels?.deleteBlock || "Delete",
61886
- icon: po,
61889
+ icon: mo,
61887
61890
  critical: !0,
61888
61891
  onClick: () => e()
61889
61892
  }], d = (h) => o.users.find((p) => p.id === h), u = (h) => {
@@ -61923,7 +61926,7 @@ const jde = Hde.extend({
61923
61926
  variant: "outline",
61924
61927
  hideLabel: !0,
61925
61928
  label: r ? a.labels?.collapse || "Collapse" : a.labels?.expand || "Expand",
61926
- icon: r ? kf : _s,
61929
+ icon: r ? kf : Ss,
61927
61930
  size: "sm"
61928
61931
  }), f(hn, {
61929
61932
  items: c,
@@ -62347,7 +62350,7 @@ const jde = Hde.extend({
62347
62350
  });
62348
62351
  }, c = [{
62349
62352
  label: a.labels?.deleteBlock || "Delete",
62350
- icon: po,
62353
+ icon: mo,
62351
62354
  critical: !0,
62352
62355
  onClick: () => e()
62353
62356
  }];
@@ -62392,7 +62395,7 @@ const jde = Hde.extend({
62392
62395
  variant: "outline",
62393
62396
  hideLabel: !0,
62394
62397
  label: r ? a.labels?.collapse || "Collapse" : a.labels?.expand || "Expand",
62395
- icon: r ? kf : _s,
62398
+ icon: r ? kf : Ss,
62396
62399
  size: "sm"
62397
62400
  }), f(hn, {
62398
62401
  items: c,
@@ -62659,7 +62662,7 @@ const jde = Hde.extend({
62659
62662
  to: s
62660
62663
  }).setDetails().run();
62661
62664
  },
62662
- icon: _s
62665
+ icon: Ss
62663
62666
  }, {
62664
62667
  title: t.codeBlock,
62665
62668
  command: (i) => {
@@ -62946,7 +62949,7 @@ const qE = (t, e, n) => Mt.create({
62946
62949
  return t.forEach((n, i) => {
62947
62950
  e.set(i, n);
62948
62951
  }), e;
62949
- }, Ls = (t, e, n) => {
62952
+ }, Ts = (t, e, n) => {
62950
62953
  let i = t.get(e);
62951
62954
  return i === void 0 && t.set(e, i = n()), i;
62952
62955
  }, f1e = (t, e) => {
@@ -62978,7 +62981,7 @@ class GE {
62978
62981
  * @param {EVENTS[NAME]} f
62979
62982
  */
62980
62983
  on(e, n) {
62981
- return Ls(
62984
+ return Ts(
62982
62985
  this._observers,
62983
62986
  /** @type {string} */
62984
62987
  e,
@@ -63030,7 +63033,7 @@ class GE {
63030
63033
  this._observers = ur();
63031
63034
  }
63032
63035
  }
63033
- const bs = Math.floor, i1 = Math.abs, yl = (t, e) => t < e ? t : e, lo = (t, e) => t > e ? t : e, KE = (t) => t !== 0 ? t < 0 : 1 / t < 0, q8 = 1, G8 = 2, Op = 4, Fp = 8, ff = 32, hs = 64, Xn = 128, p1e = 1 << 29, ih = 31, pm = 63, jo = 127, m1e = 2147483647, ZE = Number.MAX_SAFE_INTEGER, g1e = Number.isInteger || ((t) => typeof t == "number" && isFinite(t) && bs(t) === t), v1e = String.fromCharCode, y1e = (t) => t.toLowerCase(), x1e = /^\s*/g, k1e = (t) => t.replace(x1e, ""), w1e = /([A-Z])/g, K8 = (t, e) => k1e(t.replace(w1e, (n) => `${e}${y1e(n)}`)), b1e = (t) => {
63036
+ const Cs = Math.floor, i1 = Math.abs, yl = (t, e) => t < e ? t : e, co = (t, e) => t > e ? t : e, KE = (t) => t !== 0 ? t < 0 : 1 / t < 0, q8 = 1, G8 = 2, Op = 4, Fp = 8, ff = 32, ps = 64, Xn = 128, p1e = 1 << 29, ih = 31, pm = 63, jo = 127, m1e = 2147483647, ZE = Number.MAX_SAFE_INTEGER, g1e = Number.isInteger || ((t) => typeof t == "number" && isFinite(t) && Cs(t) === t), v1e = String.fromCharCode, y1e = (t) => t.toLowerCase(), x1e = /^\s*/g, k1e = (t) => t.replace(x1e, ""), w1e = /([A-Z])/g, K8 = (t, e) => k1e(t.replace(w1e, (n) => `${e}${y1e(n)}`)), b1e = (t) => {
63034
63037
  const e = unescape(encodeURIComponent(t)), n = e.length, i = new Uint8Array(n);
63035
63038
  for (let r = 0; r < n; r++)
63036
63039
  i[r] = /** @type {number} */
@@ -63065,18 +63068,18 @@ const Xf = () => new Jf(), S1e = (t) => {
63065
63068
  return e.set(new Uint8Array(t.cbuf.buffer, 0, t.cpos), n), e;
63066
63069
  }, L1e = (t, e) => {
63067
63070
  const n = t.cbuf.length;
63068
- n - t.cpos < e && (t.bufs.push(new Uint8Array(t.cbuf.buffer, 0, t.cpos)), t.cbuf = new Uint8Array(lo(n, e) * 2), t.cpos = 0);
63071
+ n - t.cpos < e && (t.bufs.push(new Uint8Array(t.cbuf.buffer, 0, t.cpos)), t.cbuf = new Uint8Array(co(n, e) * 2), t.cpos = 0);
63069
63072
  }, pn = (t, e) => {
63070
63073
  const n = t.cbuf.length;
63071
63074
  t.cpos === n && (t.bufs.push(t.cbuf), t.cbuf = new Uint8Array(n * 2), t.cpos = 0), t.cbuf[t.cpos++] = e;
63072
63075
  }, mm = pn, gt = (t, e) => {
63073
63076
  for (; e > jo; )
63074
- pn(t, Xn | jo & e), e = bs(e / 128);
63077
+ pn(t, Xn | jo & e), e = Cs(e / 128);
63075
63078
  pn(t, jo & e);
63076
63079
  }, Og = (t, e) => {
63077
63080
  const n = KE(e);
63078
- for (n && (e = -e), pn(t, (e > pm ? Xn : 0) | (n ? hs : 0) | pm & e), e = bs(e / 64); e > 0; )
63079
- pn(t, (e > jo ? Xn : 0) | jo & e), e = bs(e / 128);
63081
+ for (n && (e = -e), pn(t, (e > pm ? Xn : 0) | (n ? ps : 0) | pm & e), e = Cs(e / 64); e > 0; )
63082
+ pn(t, (e > jo ? Xn : 0) | jo & e), e = Cs(e / 128);
63080
63083
  }, gm = new Uint8Array(3e4), T1e = gm.length / 3, A1e = (t, e) => {
63081
63084
  if (e.length < T1e) {
63082
63085
  const n = df.encodeInto(e, gm).written || 0;
@@ -63097,7 +63100,7 @@ const Xf = () => new Jf(), S1e = (t) => {
63097
63100
  }, Ka = df && /** @type {any} */
63098
63101
  df.encodeInto ? A1e : M1e, rh = (t, e) => {
63099
63102
  const n = t.cbuf.length, i = t.cpos, r = yl(n - i, e.length), s = e.length - r;
63100
- t.cbuf.set(e.subarray(0, r), i), t.cpos += r, s > 0 && (t.bufs.push(t.cbuf), t.cbuf = new Uint8Array(lo(n * 2, s)), t.cbuf.set(e.subarray(r)), t.cpos = s);
63103
+ t.cbuf.set(e.subarray(0, r), i), t.cpos += r, s > 0 && (t.bufs.push(t.cbuf), t.cbuf = new Uint8Array(co(n * 2, s)), t.cbuf.set(e.subarray(r)), t.cpos = s);
63101
63104
  }, xi = (t, e) => {
63102
63105
  gt(t, e.byteLength), rh(t, e);
63103
63106
  }, Fg = (t, e) => {
@@ -63220,11 +63223,11 @@ class I1e {
63220
63223
  return this.sarr.push(this.s), this.s = "", Ka(e, this.sarr.join("")), rh(e, this.lensE.toUint8Array()), fr(e);
63221
63224
  }
63222
63225
  }
63223
- const co = (t) => new Error(t), hr = () => {
63224
- throw co("Method unimplemented");
63226
+ const fo = (t) => new Error(t), hr = () => {
63227
+ throw fo("Method unimplemented");
63225
63228
  }, gi = () => {
63226
- throw co("Unexpected case");
63227
- }, JE = co("Unexpected end of array"), XE = co("Integer out of Range");
63229
+ throw fo("Unexpected case");
63230
+ }, JE = fo("Unexpected end of array"), XE = fo("Integer out of Range");
63228
63231
  class sh {
63229
63232
  /**
63230
63233
  * @param {Uint8Array} uint8Array Binary data to decode
@@ -63249,7 +63252,7 @@ const Dg = (t) => new sh(t), R1e = (t) => t.pos !== t.arr.length, P1e = (t, e) =
63249
63252
  throw JE;
63250
63253
  }, Ig = (t) => {
63251
63254
  let e = t.arr[t.pos++], n = e & pm, i = 64;
63252
- const r = (e & hs) > 0 ? -1 : 1;
63255
+ const r = (e & ps) > 0 ? -1 : 1;
63253
63256
  if ((e & Xn) === 0)
63254
63257
  return r * n;
63255
63258
  const s = t.arr.length;
@@ -63369,7 +63372,7 @@ class Ip extends sh {
63369
63372
  read() {
63370
63373
  if (this.count === 0) {
63371
63374
  const e = Ig(this), n = e & 1;
63372
- this.diff = bs(e / 2), this.count = 1, n && (this.count = Ht(this) + 2);
63375
+ this.diff = Cs(e / 2), this.count = 1, n && (this.count = Ht(this) + 2);
63373
63376
  }
63374
63377
  return this.s += this.diff, this.count--, this.s;
63375
63378
  }
@@ -63389,7 +63392,7 @@ class W1e {
63389
63392
  return this.spos = e, n;
63390
63393
  }
63391
63394
  }
63392
- const U1e = crypto.getRandomValues.bind(crypto), q1e = Math.random, YE = () => U1e(new Uint32Array(1))[0], G1e = (t) => t[bs(q1e() * t.length)], K1e = "10000000-1000-4000-8000" + -1e11, Z1e = () => K1e.replace(
63395
+ const U1e = crypto.getRandomValues.bind(crypto), q1e = Math.random, YE = () => U1e(new Uint32Array(1))[0], G1e = (t) => t[Cs(q1e() * t.length)], K1e = "10000000-1000-4000-8000" + -1e11, Z1e = () => K1e.replace(
63393
63396
  /[018]/g,
63394
63397
  /** @param {number} c */
63395
63398
  (t) => (t ^ YE() & 15 >> t / 4).toString(16)
@@ -63500,7 +63503,7 @@ const gue = (t) => f1e(t, (e, n) => `${n}:${e};`).join(""), vue = (t) => class {
63500
63503
  destroy() {
63501
63504
  t(this._);
63502
63505
  }
63503
- }, yue = vue(clearTimeout), sL = (t, e) => new yue(setTimeout(e, t)), Ts = Symbol, oL = Ts(), aL = Ts(), xue = Ts(), kue = Ts(), wue = Ts(), lL = Ts(), bue = Ts(), Bg = Ts(), Cue = Ts(), _ue = (t) => {
63506
+ }, yue = vue(clearTimeout), sL = (t, e) => new yue(setTimeout(e, t)), As = Symbol, oL = As(), aL = As(), xue = As(), kue = As(), wue = As(), lL = As(), bue = As(), Bg = As(), Cue = As(), _ue = (t) => {
63504
63507
  t.length === 1 && t[0]?.constructor === Function && (t = /** @type {Array<string|Symbol|Object|number>} */
63505
63508
  /** @type {[function]} */
63506
63509
  t[0]());
@@ -63593,7 +63596,7 @@ class Hl {
63593
63596
  this.clients = /* @__PURE__ */ new Map();
63594
63597
  }
63595
63598
  }
63596
- const fo = (t, e, n) => e.clients.forEach((i, r) => {
63599
+ const uo = (t, e, n) => e.clients.forEach((i, r) => {
63597
63600
  const s = (
63598
63601
  /** @type {Array<GC|Item>} */
63599
63602
  t.doc.store.clients.get(r)
@@ -63606,7 +63609,7 @@ const fo = (t, e, n) => e.clients.forEach((i, r) => {
63606
63609
  }), Aue = (t, e) => {
63607
63610
  let n = 0, i = t.length - 1;
63608
63611
  for (; n <= i; ) {
63609
- const r = bs((n + i) / 2), s = t[r], o = s.clock;
63612
+ const r = Cs((n + i) / 2), s = t[r], o = s.clock;
63610
63613
  if (o <= e) {
63611
63614
  if (e < o + s.len)
63612
63615
  return r;
@@ -63624,7 +63627,7 @@ const fo = (t, e, n) => e.clients.forEach((i, r) => {
63624
63627
  let n, i;
63625
63628
  for (n = 1, i = 1; n < e.length; n++) {
63626
63629
  const r = e[i - 1], s = e[n];
63627
- r.clock + r.len >= s.clock ? r.len = lo(r.len, s.clock + s.len - r.clock) : (i < n && (e[i] = s), i++);
63630
+ r.clock + r.len >= s.clock ? r.len = co(r.len, s.clock + s.len - r.clock) : (i < n && (e[i] = s), i++);
63628
63631
  }
63629
63632
  e.length = i;
63630
63633
  });
@@ -63641,7 +63644,7 @@ const fo = (t, e, n) => e.clients.forEach((i, r) => {
63641
63644
  });
63642
63645
  return $g(e), e;
63643
63646
  }, hf = (t, e, n, i) => {
63644
- Ls(t.clients, e, () => (
63647
+ Ts(t.clients, e, () => (
63645
63648
  /** @type {Array<DeleteItem>} */
63646
63649
  []
63647
63650
  )).push(new Hg(n, i));
@@ -63678,7 +63681,7 @@ const fo = (t, e, n) => e.clients.forEach((i, r) => {
63678
63681
  t.resetDsCurVal();
63679
63682
  const r = Ht(t.restDecoder), s = Ht(t.restDecoder);
63680
63683
  if (s > 0) {
63681
- const o = Ls(e.clients, r, () => (
63684
+ const o = Ts(e.clients, r, () => (
63682
63685
  /** @type {Array<DeleteItem>} */
63683
63686
  []
63684
63687
  ));
@@ -63801,7 +63804,7 @@ class ga extends GE {
63801
63804
  /** @type {any} */
63802
63805
  wn
63803
63806
  )) {
63804
- const i = Ls(this.share, e, () => {
63807
+ const i = Ts(this.share, e, () => {
63805
63808
  const s = new n();
63806
63809
  return s._integrate(this, null), s;
63807
63810
  }), r = i.constructor;
@@ -63846,7 +63849,7 @@ class ga extends GE {
63846
63849
  * @public
63847
63850
  */
63848
63851
  getText(e = "") {
63849
- return this.get(e, uo);
63852
+ return this.get(e, ho);
63850
63853
  }
63851
63854
  /**
63852
63855
  * @template T
@@ -64259,7 +64262,7 @@ class oh extends Iue {
64259
64262
  }
64260
64263
  }
64261
64264
  const Rue = (t, e, n, i) => {
64262
- i = lo(i, e[0].id.clock);
64265
+ i = co(i, e[0].id.clock);
64263
64266
  const r = gr(e, i);
64264
64267
  gt(t.restEncoder, e.length - r), t.writeClient(n), gt(t.restEncoder, i);
64265
64268
  const s = e[r];
@@ -64301,7 +64304,7 @@ const Rue = (t, e, n, i) => {
64301
64304
  break;
64302
64305
  }
64303
64306
  default: {
64304
- const u = (d & (hs | Xn)) === 0, h = new Dt(
64307
+ const u = (d & (ps | Xn)) === 0, h = new Dt(
64305
64308
  ct(a, l),
64306
64309
  null,
64307
64310
  // left
@@ -64309,7 +64312,7 @@ const Rue = (t, e, n, i) => {
64309
64312
  // origin
64310
64313
  null,
64311
64314
  // right
64312
- (d & hs) === hs ? t.readRightID() : null,
64315
+ (d & ps) === ps ? t.readRightID() : null,
64313
64316
  // right origin
64314
64317
  u ? t.readParentInfo() ? e.get(t.readString()) : t.readLeftID() : null,
64315
64318
  // parent
@@ -64367,7 +64370,7 @@ const Rue = (t, e, n, i) => {
64367
64370
  };
64368
64371
  for (; ; ) {
64369
64372
  if (d.constructor !== lr) {
64370
- const m = Ls(u, d.id.client, () => tn(e, d.id.client)) - d.id.clock;
64373
+ const m = Ts(u, d.id.client, () => tn(e, d.id.client)) - d.id.clock;
64371
64374
  if (m < 0)
64372
64375
  i.push(d), c(d.id.client, d.id.clock - 1), h();
64373
64376
  else {
@@ -64570,10 +64573,10 @@ class zg {
64570
64573
  }
64571
64574
  }
64572
64575
  const vL = (t, e) => new zg(t, e), Bp = (t) => vL(Mue(t.store), ah(t.store)), Mo = (t, e) => e === void 0 ? !t.deleted : e.sv.has(t.id.client) && (e.sv.get(t.id.client) || 0) > t.id.clock && !$l(e.ds, t.id), wm = (t, e) => {
64573
- const n = Ls(t.meta, wm, na), i = t.doc.store;
64576
+ const n = Ts(t.meta, wm, na), i = t.doc.store;
64574
64577
  n.has(e) || (e.sv.forEach((r, s) => {
64575
64578
  r < tn(i, s) && ai(t, ct(s, r));
64576
- }), fo(t, e.ds, (r) => {
64579
+ }), uo(t, e.ds, (r) => {
64577
64580
  }), n.add(e));
64578
64581
  };
64579
64582
  class yL {
@@ -64607,7 +64610,7 @@ const ah = (t) => {
64607
64610
  let n = 0, i = t.length - 1, r = t[i], s = r.id.clock;
64608
64611
  if (s === e)
64609
64612
  return i;
64610
- let o = bs(e / (s + r.length - 1) * i);
64613
+ let o = Cs(e / (s + r.length - 1) * i);
64611
64614
  for (; n <= i; ) {
64612
64615
  if (r = t[o], s = r.id.clock, s <= e) {
64613
64616
  if (e < s + r.length)
@@ -64615,7 +64618,7 @@ const ah = (t) => {
64615
64618
  n = o + 1;
64616
64619
  } else
64617
64620
  i = o - 1;
64618
- o = bs((n + i) / 2);
64621
+ o = Cs((n + i) / 2);
64619
64622
  }
64620
64623
  throw gi();
64621
64624
  }, que = (t, e) => {
@@ -64663,7 +64666,7 @@ class Kue {
64663
64666
  }
64664
64667
  const ly = (t, e) => e.deleteSet.clients.size === 0 && !d1e(e.afterState, (n, i) => e.beforeState.get(i) !== n) ? !1 : ($g(e.deleteSet), Hue(t, e), Vg(t, e.deleteSet), !0), cy = (t, e, n) => {
64665
64668
  const i = e._item;
64666
- (i === null || i.id.clock < (t.beforeState.get(i.id.client) || 0) && !i.deleted) && Ls(t.changed, e, na).add(n);
64669
+ (i === null || i.id.clock < (t.beforeState.get(i.id.client) || 0) && !i.deleted) && Ts(t.changed, e, na).add(n);
64667
64670
  }, o1 = (t, e) => {
64668
64671
  let n = t[e], i = t[e - 1], r = e;
64669
64672
  for (; r > 0; n = i, i = t[--r - 1]) {
@@ -64734,7 +64737,7 @@ const ly = (t, e) => e.deleteSet.clients.size === 0 && !d1e(e.afterState, (n, i)
64734
64737
  const p = (
64735
64738
  /** @type {Array<GC|Item>} */
64736
64739
  r.clients.get(u)
64737
- ), m = lo(gr(p, h), 1);
64740
+ ), m = co(gr(p, h), 1);
64738
64741
  for (let g = p.length - 1; g >= m; )
64739
64742
  g -= 1 + o1(p, g);
64740
64743
  }
@@ -64784,7 +64787,7 @@ class Xue {
64784
64787
  }
64785
64788
  }
64786
64789
  const fy = (t, e, n) => {
64787
- fo(t, n.deletions, (i) => {
64790
+ uo(t, n.deletions, (i) => {
64788
64791
  i instanceof Dt && e.scope.some((r) => r === t.doc || mf(
64789
64792
  /** @type {AbstractType<any>} */
64790
64793
  r,
@@ -64801,7 +64804,7 @@ const fy = (t, e, n) => {
64801
64804
  e.pop()
64802
64805
  ), d = /* @__PURE__ */ new Set(), u = [];
64803
64806
  let h = !1;
64804
- fo(a, c.insertions, (p) => {
64807
+ uo(a, c.insertions, (p) => {
64805
64808
  if (p instanceof Dt) {
64806
64809
  if (p.redone !== null) {
64807
64810
  let { item: m, diff: g } = _m(l, p.id);
@@ -64814,7 +64817,7 @@ const fy = (t, e, n) => {
64814
64817
  p
64815
64818
  )) && u.push(p);
64816
64819
  }
64817
- }), fo(a, c.deletions, (p) => {
64820
+ }), uo(a, c.deletions, (p) => {
64818
64821
  p instanceof Dt && s.some((m) => m === a.doc || mf(
64819
64822
  /** @type {AbstractType<any>} */
64820
64823
  m,
@@ -64877,7 +64880,7 @@ class bL extends GE {
64877
64880
  v.deletions = xm([v.deletions, l.deleteSet]), v.insertions = xm([v.insertions, h]);
64878
64881
  } else
64879
64882
  u.push(new Xue(l.deleteSet, h)), m = !0;
64880
- !c && !d && (this.lastChange = p), fo(
64883
+ !c && !d && (this.lastChange = p), uo(
64881
64884
  l,
64882
64885
  l.deleteSet,
64883
64886
  /** @param {Item|GC} item */
@@ -65007,7 +65010,7 @@ function* Yue(t) {
65007
65010
  const l = Ht(t.restDecoder);
65008
65011
  yield new lr(ct(r, s), l), s += l;
65009
65012
  } else if ((ih & a) !== 0) {
65010
- const l = (a & (hs | Xn)) === 0, c = new Dt(
65013
+ const l = (a & (ps | Xn)) === 0, c = new Dt(
65011
65014
  ct(r, s),
65012
65015
  null,
65013
65016
  // left
@@ -65015,7 +65018,7 @@ function* Yue(t) {
65015
65018
  // origin
65016
65019
  null,
65017
65020
  // right
65018
- (a & hs) === hs ? t.readRightID() : null,
65021
+ (a & ps) === ps ? t.readRightID() : null,
65019
65022
  // right origin
65020
65023
  // @ts-ignore Force writing a string here.
65021
65024
  l ? t.readParentInfo() ? t.readString() : t.readLeftID() : null,
@@ -65195,7 +65198,7 @@ class lh {
65195
65198
  get keys() {
65196
65199
  if (this._keys === null) {
65197
65200
  if (this.transaction.doc._transactionCleanups.length === 0)
65198
- throw co(hy);
65201
+ throw fo(hy);
65199
65202
  const e = /* @__PURE__ */ new Map(), n = this.target;
65200
65203
  /** @type Set<string|null> */
65201
65204
  this.transaction.changed.get(n).forEach((r) => {
@@ -65263,7 +65266,7 @@ class lh {
65263
65266
  let e = this._changes;
65264
65267
  if (e === null) {
65265
65268
  if (this.transaction.doc._transactionCleanups.length === 0)
65266
- throw co(hy);
65269
+ throw fo(hy);
65267
65270
  const n = this.target, i = na(), r = na(), s = [];
65268
65271
  if (e = {
65269
65272
  added: i,
@@ -65363,11 +65366,11 @@ const s0e = (t) => {
65363
65366
  }
65364
65367
  r.p = s, s.marker = !0;
65365
65368
  }
65366
- (e < r.index || n > 0 && e === r.index) && (r.index = lo(e, r.index + n));
65369
+ (e < r.index || n > 0 && e === r.index) && (r.index = co(e, r.index + n));
65367
65370
  }
65368
65371
  }, fh = (t, e, n) => {
65369
65372
  const i = t, r = e.changedParentTypes;
65370
- for (; Ls(r, t, () => []).push(n), t._item !== null; )
65373
+ for (; Ts(r, t, () => []).push(n), t._item !== null; )
65371
65374
  t = /** @type {AbstractType<any>} */
65372
65375
  t._item.parent;
65373
65376
  gL(i._eH, n, e);
@@ -65612,7 +65615,7 @@ const EL = (t, e, n) => {
65612
65615
  }
65613
65616
  }
65614
65617
  }), d();
65615
- }, NL = () => co("Length exceeded!"), OL = (t, e, n, i) => {
65618
+ }, NL = () => fo("Length exceeded!"), OL = (t, e, n, i) => {
65616
65619
  if (n > e._length)
65617
65620
  throw NL();
65618
65621
  if (n === 0)
@@ -66130,7 +66133,7 @@ class wl extends wn {
66130
66133
  e.writeTypeRef(R0e);
66131
66134
  }
66132
66135
  }
66133
- const h0e = (t) => new wl(), Zs = (t, e) => t === e || typeof t == "object" && typeof e == "object" && t && e && rue(t, e);
66136
+ const h0e = (t) => new wl(), Js = (t, e) => t === e || typeof t == "object" && typeof e == "object" && t && e && rue(t, e);
66134
66137
  class Cm {
66135
66138
  /**
66136
66139
  * @param {Item|null} left
@@ -66170,7 +66173,7 @@ const py = (t, e, n) => {
66170
66173
  return py(t, o, n);
66171
66174
  }
66172
66175
  }, RL = (t, e, n, i) => {
66173
- for (; n.right !== null && (n.right.deleted === !0 || n.right.content.constructor === cn && Zs(
66176
+ for (; n.right !== null && (n.right.deleted === !0 || n.right.content.constructor === cn && Js(
66174
66177
  i.get(
66175
66178
  /** @type {ContentFormat} */
66176
66179
  n.right.content.key
@@ -66192,7 +66195,7 @@ const py = (t, e, n) => {
66192
66195
  i === null ? t.delete(n) : t.set(n, i);
66193
66196
  }, PL = (t, e) => {
66194
66197
  for (; t.right !== null; ) {
66195
- if (!(t.right.deleted || t.right.content.constructor === cn && Zs(
66198
+ if (!(t.right.deleted || t.right.content.constructor === cn && Js(
66196
66199
  e[
66197
66200
  /** @type {ContentFormat} */
66198
66201
  t.right.content.key
@@ -66206,7 +66209,7 @@ const py = (t, e, n) => {
66206
66209
  const r = t.doc, s = r.clientID, o = /* @__PURE__ */ new Map();
66207
66210
  for (const a in i) {
66208
66211
  const l = i[a], c = n.currentAttributes.get(a) ?? null;
66209
- if (!Zs(c, l)) {
66212
+ if (!Js(c, l)) {
66210
66213
  o.set(a, c);
66211
66214
  const { left: d, right: u } = n;
66212
66215
  n.right = new Dt(ct(s, tn(r.store, s)), d, d && d.lastId, u, u && u.id, e, null, new cn(a, l)), n.right.integrate(t, 0), n.forward();
@@ -66238,7 +66241,7 @@ const py = (t, e, n) => {
66238
66241
  n.right.content
66239
66242
  ), d = r[l];
66240
66243
  if (d !== void 0) {
66241
- if (Zs(d, c))
66244
+ if (Js(d, c))
66242
66245
  a.delete(l);
66243
66246
  else {
66244
66247
  if (i === 0)
@@ -66350,7 +66353,7 @@ const py = (t, e, n) => {
66350
66353
  );
66351
66354
  }
66352
66355
  Ot(n, (i) => {
66353
- fo(t, t.deleteSet, (r) => {
66356
+ uo(t, t.deleteSet, (r) => {
66354
66357
  if (r instanceof Ui || !/** @type {YText} */
66355
66358
  r.parent._hasFormatting || e.has(
66356
66359
  /** @type {YText} */
@@ -66472,16 +66475,16 @@ class v0e extends lh {
66472
66475
  if (this.adds(o)) {
66473
66476
  if (!this.deletes(o)) {
66474
66477
  const g = r.get(p) ?? null;
66475
- Zs(g, m) ? m !== null && o.delete(i) : (a === "retain" && h(), Zs(m, s.get(p) ?? null) ? delete l[p] : l[p] = m);
66478
+ Js(g, m) ? m !== null && o.delete(i) : (a === "retain" && h(), Js(m, s.get(p) ?? null) ? delete l[p] : l[p] = m);
66476
66479
  }
66477
66480
  } else if (this.deletes(o)) {
66478
66481
  s.set(p, m);
66479
66482
  const g = r.get(p) ?? null;
66480
- Zs(g, m) || (a === "retain" && h(), l[p] = g);
66483
+ Js(g, m) || (a === "retain" && h(), l[p] = g);
66481
66484
  } else if (!o.deleted) {
66482
66485
  s.set(p, m);
66483
66486
  const g = l[p];
66484
- g !== void 0 && (Zs(g, m) ? g !== null && o.delete(i) : (a === "retain" && h(), m === null ? delete l[p] : l[p] = m));
66487
+ g !== void 0 && (Js(g, m) ? g !== null && o.delete(i) : (a === "retain" && h(), m === null ? delete l[p] : l[p] = m));
66485
66488
  }
66486
66489
  o.deleted || (a === "insert" && h(), Vl(
66487
66490
  r,
@@ -66508,7 +66511,7 @@ class v0e extends lh {
66508
66511
  );
66509
66512
  }
66510
66513
  }
66511
- class uo extends wn {
66514
+ class ho extends wn {
66512
66515
  /**
66513
66516
  * @param {String} [string] The initial value of the YText.
66514
66517
  */
@@ -66537,7 +66540,7 @@ class uo extends wn {
66537
66540
  this._pending = null;
66538
66541
  }
66539
66542
  _copy() {
66540
- return new uo();
66543
+ return new ho();
66541
66544
  }
66542
66545
  /**
66543
66546
  * Makes a copy of this data type that can be included somewhere else.
@@ -66547,7 +66550,7 @@ class uo extends wn {
66547
66550
  * @return {YText}
66548
66551
  */
66549
66552
  clone() {
66550
- const e = new uo();
66553
+ const e = new ho();
66551
66554
  return e.applyDelta(this.toDelta()), e;
66552
66555
  }
66553
66556
  /**
@@ -66816,7 +66819,7 @@ class uo extends wn {
66816
66819
  e.writeTypeRef(P0e);
66817
66820
  }
66818
66821
  }
66819
- const y0e = (t) => new uo();
66822
+ const y0e = (t) => new ho();
66820
66823
  class $p {
66821
66824
  /**
66822
66825
  * @param {YXmlFragment | YXmlElement} root
@@ -67043,7 +67046,7 @@ class ra extends wn {
67043
67046
  this._prelimContent
67044
67047
  ), r = e === null ? 0 : i.findIndex((s) => s === e) + 1;
67045
67048
  if (r === 0 && e !== null)
67046
- throw co("Reference item not found");
67049
+ throw fo("Reference item not found");
67047
67050
  i.splice(r, 0, ...n);
67048
67051
  }
67049
67052
  }
@@ -67391,7 +67394,7 @@ class qu extends wl {
67391
67394
  }
67392
67395
  }
67393
67396
  const b0e = (t) => new qu(t.readKey());
67394
- class hi extends uo {
67397
+ class hi extends ho {
67395
67398
  /**
67396
67399
  * @type {YXmlElement|YXmlText|null}
67397
67400
  */
@@ -68613,7 +68616,7 @@ let Dt = class Sm extends qg {
68613
68616
  */
68614
68617
  write(e, n) {
68615
68618
  const i = n > 0 ? ct(this.id.client, this.id.clock + n - 1) : this.origin, r = this.rightOrigin, s = this.parentSub, o = this.content.getRef() & ih | (i === null ? 0 : Xn) | // origin is defined
68616
- (r === null ? 0 : hs) | // right origin is defined
68619
+ (r === null ? 0 : ps) | // right origin is defined
68617
68620
  (s === null ? 0 : ff);
68618
68621
  if (e.writeInfo(o), i !== null && e.writeLeftID(i), r !== null && e.writeRightID(r), i === null && r === null) {
68619
68622
  const a = (
@@ -68726,7 +68729,7 @@ const U0e = () => {
68726
68729
  remove: t.length - n - i,
68727
68730
  insert: e.slice(n, e.length - i)
68728
68731
  };
68729
- }, Z0e = K0e, Jt = new kt("y-sync"), ps = new kt("y-undo");
68732
+ }, Z0e = K0e, Jt = new kt("y-sync"), ms = new kt("y-undo");
68730
68733
  new kt("yjs-cursor");
68731
68734
  const Ir = (t, e) => t >>> e | t << 32 - e, J0e = (t) => Ir(t, 2) ^ Ir(t, 13) ^ Ir(t, 22), X0e = (t) => Ir(t, 6) ^ Ir(t, 11) ^ Ir(t, 25), Y0e = (t) => Ir(t, 7) ^ Ir(t, 18) ^ t >>> 3, Q0e = (t) => Ir(t, 17) ^ Ir(t, 19) ^ t >>> 10, ehe = new Uint32Array([
68732
68735
  1116352408,
@@ -68934,7 +68937,7 @@ e.sv.get(t.id.client) > t.id.clock && !$l(e.ds, t.id), ohe = [{ light: "#ecd4443
68934
68937
  c.state.doc.type.createAndFill().content
68935
68938
  ) !== null)) {
68936
68939
  if (o = !0, d.addToHistory === !1 && !d.isChangeOrigin) {
68937
- const u = ps.getState(c.state), h = u && u.undoManager;
68940
+ const u = ms.getState(c.state), h = u && u.undoManager;
68938
68941
  h && h.stopCapturing();
68939
68942
  }
68940
68943
  a.mux(() => {
@@ -69072,7 +69075,7 @@ class fhe {
69072
69075
  new Fe(fe.from(n), 0, 0)
69073
69076
  );
69074
69077
  if (e) {
69075
- const r = yl(lo(e.anchor, 0), i.doc.content.size), s = yl(lo(e.head, 0), i.doc.content.size);
69078
+ const r = yl(co(e.anchor, 0), i.doc.content.size), s = yl(co(e.head, 0), i.doc.content.size);
69076
69079
  i.setSelection(Ke.create(i.doc, r, s));
69077
69080
  }
69078
69081
  this.prosemirrorView.dispatch(
@@ -69107,7 +69110,7 @@ class fhe {
69107
69110
  r.transact((o) => {
69108
69111
  const a = i.permanentUserData;
69109
69112
  a && a.dss.forEach((u) => {
69110
- fo(o, u, (h) => {
69113
+ uo(o, u, (h) => {
69111
69114
  });
69112
69115
  });
69113
69116
  const l = (u, h) => {
@@ -69155,7 +69158,7 @@ class fhe {
69155
69158
  }
69156
69159
  this.mux(() => {
69157
69160
  const r = (a, l) => this.mapping.delete(l);
69158
- fo(
69161
+ uo(
69159
69162
  n,
69160
69163
  n.deleteSet,
69161
69164
  (a) => {
@@ -69242,7 +69245,7 @@ const UL = (t, e, n, i, r, s) => {
69242
69245
  /** @type {Y.ContentType} */
69243
69246
  l._item.right?.content?.type
69244
69247
  );
69245
- c instanceof uo && !c._item.deleted && c._item.id.client === c.doc.clientID && (l.applyDelta([
69248
+ c instanceof ho && !c._item.deleted && c._item.id.client === c.doc.clientID && (l.applyDelta([
69246
69249
  { retain: l.length },
69247
69250
  ...c.toDelta()
69248
69251
  ]), c.doc.transact((u) => {
@@ -69418,7 +69421,7 @@ const UL = (t, e, n, i, r, s) => {
69418
69421
  const n = {};
69419
69422
  return t.forEach((i) => {
69420
69423
  if (i.type.name !== "ychange") {
69421
- const r = Ls(e.isOMark, i.type, () => !i.type.excludes(i.type));
69424
+ const r = Ts(e.isOMark, i.type, () => !i.type.excludes(i.type));
69422
69425
  n[r ? `${i.type.name}--${she(i.toJSON())}` : i.type.name] = i.attrs;
69423
69426
  }
69424
69427
  }), n;
@@ -69645,8 +69648,8 @@ function xhe(t) {
69645
69648
  content: e.map(n)
69646
69649
  };
69647
69650
  }
69648
- const khe = (t) => ps.getState(t)?.undoManager?.undo() != null, whe = (t) => ps.getState(t)?.undoManager?.redo() != null, bhe = /* @__PURE__ */ new Set(["paragraph"]), Che = (t, e) => !(t instanceof Dt) || !(t.content instanceof kr) || !(t.content.type instanceof uo || t.content.type instanceof $n && e.has(t.content.type.nodeName)) || t.content.type._length === 0, _he = ({ protectedNodes: t = bhe, trackedOrigins: e = [], undoManager: n = null } = {}) => new xt({
69649
- key: ps,
69651
+ const khe = (t) => ms.getState(t)?.undoManager?.undo() != null, whe = (t) => ms.getState(t)?.undoManager?.redo() != null, bhe = /* @__PURE__ */ new Set(["paragraph"]), Che = (t, e) => !(t instanceof Dt) || !(t.content instanceof kr) || !(t.content.type instanceof ho || t.content.type instanceof $n && e.has(t.content.type.nodeName)) || t.content.type._length === 0, _he = ({ protectedNodes: t = bhe, trackedOrigins: e = [], undoManager: n = null } = {}) => new xt({
69652
+ key: ms,
69650
69653
  state: {
69651
69654
  init: (i, r) => {
69652
69655
  const s = Jt.getState(r), o = n || new bL(s.type, {
@@ -69675,10 +69678,10 @@ const khe = (t) => ps.getState(t)?.undoManager?.undo() != null, whe = (t) => ps.
69675
69678
  }
69676
69679
  },
69677
69680
  view: (i) => {
69678
- const r = Jt.getState(i.state), s = ps.getState(i.state).undoManager;
69681
+ const r = Jt.getState(i.state), s = ms.getState(i.state).undoManager;
69679
69682
  return s.on("stack-item-added", ({ stackItem: o }) => {
69680
69683
  const a = r.binding;
69681
- a && o.meta.set(a, ps.getState(i.state).prevSel);
69684
+ a && o.meta.set(a, ms.getState(i.state).prevSel);
69682
69685
  }), s.on("stack-item-popped", ({ stackItem: o }) => {
69683
69686
  const a = r.binding;
69684
69687
  a && (a.beforeTransactionSelection = o.meta.get(a) || a.beforeTransactionSelection);
@@ -69709,8 +69712,8 @@ Mt.create({
69709
69712
  },
69710
69713
  addCommands() {
69711
69714
  return {
69712
- undo: () => ({ tr: t, state: e, dispatch: n }) => (t.setMeta("preventDispatch", !0), ps.getState(e).undoManager.undoStack.length === 0 ? !1 : n ? khe(e) : !0),
69713
- redo: () => ({ tr: t, state: e, dispatch: n }) => (t.setMeta("preventDispatch", !0), ps.getState(e).undoManager.redoStack.length === 0 ? !1 : n ? whe(e) : !0)
69715
+ undo: () => ({ tr: t, state: e, dispatch: n }) => (t.setMeta("preventDispatch", !0), ms.getState(e).undoManager.undoStack.length === 0 ? !1 : n ? khe(e) : !0),
69716
+ redo: () => ({ tr: t, state: e, dispatch: n }) => (t.setMeta("preventDispatch", !0), ms.getState(e).undoManager.redoStack.length === 0 ? !1 : n ? whe(e) : !0)
69714
69717
  };
69715
69718
  },
69716
69719
  addKeyboardShortcuts() {
@@ -69724,7 +69727,7 @@ Mt.create({
69724
69727
  var t;
69725
69728
  const e = this.options.fragment ? this.options.fragment : this.options.document.getXmlFragment(this.options.field), n = _he(this.options.yUndoOptions), i = n.spec.view;
69726
69729
  n.spec.view = (o) => {
69727
- const { undoManager: a } = ps.getState(o.state);
69730
+ const { undoManager: a } = ms.getState(o.state);
69728
69731
  a.restore && (a.restore(), a.restore = () => {
69729
69732
  });
69730
69733
  const l = i ? i(o) : void 0;
@@ -70234,7 +70237,7 @@ const Fhe = (t) => {
70234
70237
  }) : e.type === "dot-tag" ? f(i0, {
70235
70238
  text: e.label,
70236
70239
  color: e.color
70237
- }) : e.type === "tag" ? f(to, {
70240
+ }) : e.type === "tag" ? f(no, {
70238
70241
  text: e.label,
70239
70242
  icon: e.icon
70240
70243
  }) : e.type === "person" ? x("div", {
@@ -70580,7 +70583,7 @@ const Fhe = (t) => {
70580
70583
  },
70581
70584
  size: "sm",
70582
70585
  variant: "default",
70583
- icon: Cs
70586
+ icon: _s
70584
70587
  })]
70585
70588
  });
70586
70589
  }, Bhe = ({ label: t, isFullscreen: e }) => f("div", {
@@ -70733,7 +70736,7 @@ const Fhe = (t) => {
70733
70736
  className: "text-neutral-40 text-md grow text-ellipsis font-normal",
70734
70737
  children: t.label
70735
70738
  }), t.subOptions && t.subOptions.length > 0 && f(Ve, {
70736
- icon: ho,
70739
+ icon: po,
70737
70740
  size: "md",
70738
70741
  className: "text-f1-icon"
70739
70742
  })]
@@ -70842,7 +70845,7 @@ const Fhe = (t) => {
70842
70845
  },
70843
70846
  children: [f(e3, {
70844
70847
  asChild: !0,
70845
- children: x(gs, {
70848
+ children: x(vs, {
70846
70849
  type: "button",
70847
70850
  ref: l,
70848
70851
  variant: "outline",
@@ -70984,7 +70987,7 @@ const Fhe = (t) => {
70984
70987
  o.preventDefault(), t.action.onClick();
70985
70988
  }
70986
70989
  })]
70987
- }) : t.subActions || s ? f(vs, {
70990
+ }) : t.subActions || s ? f(ys, {
70988
70991
  items: n,
70989
70992
  onClick: i,
70990
70993
  variant: t.action.variant ?? "default",
@@ -72740,11 +72743,11 @@ function Vme({ trackedMinutes: t, remainingMinutes: e, data: n = [], labels: i,
72740
72743
  }), y && b]
72741
72744
  }) : x(Je, {
72742
72745
  children: [o && q && f(Je, {
72743
- children: f(to, {
72746
+ children: f(no, {
72744
72747
  text: q.name,
72745
72748
  icon: q.icon
72746
72749
  })
72747
- }), y && b, re && k && f(to, {
72750
+ }), y && b, re && k && f(no, {
72748
72751
  text: k
72749
72752
  })]
72750
72753
  })
@@ -72934,7 +72937,7 @@ function Nm({ id: t, title: e, alert: n, rawTag: i, count: r, icon: s, rightIcon
72934
72937
  className: "flex flex-row items-center gap-2",
72935
72938
  children: [n && f(_7, {
72936
72939
  ...n
72937
- }), i && f(to, {
72940
+ }), i && f(no, {
72938
72941
  ...i
72939
72942
  }), !!r && f(Cl, {
72940
72943
  value: r