@fileverse-dev/ddoc 2.0.3-patch-6 → 2.0.3-patch-7

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.es.js CHANGED
@@ -15412,7 +15412,7 @@ var RB = { exports: {} };
15412
15412
  })();
15413
15413
  })(RB);
15414
15414
  var Poe = RB.exports;
15415
- const Vt = /* @__PURE__ */ Wm(Poe);
15415
+ const _t = /* @__PURE__ */ Wm(Poe);
15416
15416
  var $4 = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
15417
15417
  function Ooe(t) {
15418
15418
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
@@ -76898,7 +76898,7 @@ const hHe = ({
76898
76898
  onClick: () => {
76899
76899
  i.command();
76900
76900
  },
76901
- className: Vt(
76901
+ className: _t(
76902
76902
  "flex items-center justify-between rounded-sm px-2 py-1 text-sm text-stone-600 hover:bg-stone-100",
76903
76903
  {
76904
76904
  "text-blue-600": i.isActive()
@@ -77011,7 +77011,7 @@ const bHe = async (t) => {
77011
77011
  /* @__PURE__ */ _.jsx(
77012
77012
  "div",
77013
77013
  {
77014
- className: Vt(
77014
+ className: _t(
77015
77015
  "flex flex-col gap-4 w-full h-full pb-4 text-base text-black",
77016
77016
  n
77017
77017
  ),
@@ -78321,7 +78321,7 @@ const AZ = on(
78321
78321
  {
78322
78322
  ref: s,
78323
78323
  onKeyDownCapture: v,
78324
- className: Vt("relative", i),
78324
+ className: _t("relative", i),
78325
78325
  role: "region",
78326
78326
  "aria-roledescription": "carousel",
78327
78327
  ...o,
@@ -78339,7 +78339,7 @@ const SZ = on(({ className: t, ...e }, n) => {
78339
78339
  "div",
78340
78340
  {
78341
78341
  ref: n,
78342
- className: Vt(
78342
+ className: _t(
78343
78343
  "flex",
78344
78344
  i === "horizontal" ? "-ml-4" : "-mt-4 flex-col",
78345
78345
  t
@@ -78358,7 +78358,7 @@ const rk = on(
78358
78358
  ref: n,
78359
78359
  role: "group",
78360
78360
  "aria-roledescription": "slide",
78361
- className: Vt(
78361
+ className: _t(
78362
78362
  "min-w-0 shrink-0 grow-0 basis-full",
78363
78363
  r === "horizontal" ? "pl-4" : "pt-4",
78364
78364
  t
@@ -78388,7 +78388,7 @@ const EZ = on(({ index: t, className: e, ...n }, r) => {
78388
78388
  "button",
78389
78389
  {
78390
78390
  ref: r,
78391
- className: Vt(
78391
+ className: _t(
78392
78392
  "w-2 h-2 transition-colors duration-200 rounded-full",
78393
78393
  f ? "bg-black" : "bg-[#E8EBEC] hover:bg-black/50",
78394
78394
  e
@@ -78405,7 +78405,7 @@ const eVe = Ae.forwardRef(({ className: t, ...e }, n) => {
78405
78405
  "button",
78406
78406
  {
78407
78407
  ref: n,
78408
- className: Vt(
78408
+ className: _t(
78409
78409
  "btn bg-white hover:bg-[#F2F4F5] transition text-black flex items-center border-2 rounded h-9 px-4 py-2 text-sm font-medium disabled:bg-[#E8EBEC] disabled:text-[#A1AAB1]",
78410
78410
  t
78411
78411
  ),
@@ -78423,7 +78423,7 @@ const tVe = Ae.forwardRef(({ className: t, ...e }, n) => {
78423
78423
  "button",
78424
78424
  {
78425
78425
  ref: n,
78426
- className: Vt(
78426
+ className: _t(
78427
78427
  "btn bg-black hover:bg-black text-white flex items-center border-2 rounded h-9 px-4 py-2 text-sm font-medium disabled:bg-[#E8EBEC] disabled:text-[#A1AAB1]",
78428
78428
  t
78429
78429
  ),
@@ -78912,7 +78912,7 @@ const F3 = [
78912
78912
  onClick: () => {
78913
78913
  t.chain().focus().toggleHighlight({ color: r.color }).run(), e(Mt.NONE);
78914
78914
  },
78915
- className: Vt(
78915
+ className: _t(
78916
78916
  "w-5 rounded-full flex items-center justify-center cursor-pointer ease-in duration-200 hover:scale-[1.05] h-5",
78917
78917
  r.code
78918
78918
  ),
@@ -78920,7 +78920,7 @@ const F3 = [
78920
78920
  $e,
78921
78921
  {
78922
78922
  name: "Check",
78923
- className: Vt(
78923
+ className: _t(
78924
78924
  "w-[14px] aspect-square",
78925
78925
  t.isActive("textStyle", {
78926
78926
  color: r.color
@@ -78955,7 +78955,7 @@ const F3 = [
78955
78955
  "div",
78956
78956
  {
78957
78957
  ref: t,
78958
- className: Vt(
78958
+ className: _t(
78959
78959
  "z-50 h-auto max-h-[330px] w-48 overflow-y-auto scroll-smooth bg-white px-1 py-2 shadow-elevation-1 transition-all rounded"
78960
78960
  ),
78961
78961
  children: TZ.map((r) => /* @__PURE__ */ _.jsx(
@@ -78967,7 +78967,7 @@ const F3 = [
78967
78967
  style: {
78968
78968
  fontFamily: r.title
78969
78969
  },
78970
- className: Vt(
78970
+ className: _t(
78971
78971
  "flex w-full items-center space-x-2 rounded px-2 py-1 text-left text-sm text-black transition",
78972
78972
  e.isActive("textStyle", { fontFamily: r.value }) ? "bg-yellow-300 hover:brightness-90" : "hover:bg-[#f2f2f2]"
78973
78973
  ),
@@ -78992,7 +78992,7 @@ const F3 = [
78992
78992
  onClick: () => {
78993
78993
  e == null || e.chain().focus().setTextAlign("left").run(), n(Mt.NONE);
78994
78994
  },
78995
- className: Vt(
78995
+ className: _t(
78996
78996
  "rounded w-8 h-8 p-1 flex justify-center items-center cursor-pointer transition",
78997
78997
  e.isActive({ textAlign: "left" }) ? "bg-yellow-300 hover:brightness-90" : "hover:bg-[#f2f2f2]"
78998
78998
  ),
@@ -79005,7 +79005,7 @@ const F3 = [
79005
79005
  onClick: () => {
79006
79006
  e == null || e.chain().focus().setTextAlign("center").run(), n(Mt.NONE);
79007
79007
  },
79008
- className: Vt(
79008
+ className: _t(
79009
79009
  "rounded w-8 h-8 p-1 flex justify-center items-center cursor-pointer transition",
79010
79010
  e.isActive({ textAlign: "center" }) ? "bg-yellow-300 hover:brightness-90" : "hover:bg-[#f2f2f2]"
79011
79011
  ),
@@ -79018,7 +79018,7 @@ const F3 = [
79018
79018
  onClick: () => {
79019
79019
  e == null || e.chain().focus().setTextAlign("right").run(), n(Mt.NONE);
79020
79020
  },
79021
- className: Vt(
79021
+ className: _t(
79022
79022
  "rounded w-8 h-8 p-1 flex justify-center items-center cursor-pointer transition",
79023
79023
  e.isActive({ textAlign: "right" }) ? "bg-yellow-300 hover:brightness-90" : "hover:bg-[#f2f2f2]"
79024
79024
  ),
@@ -79136,7 +79136,7 @@ const F3 = [
79136
79136
  onClick: () => {
79137
79137
  t.chain().focus().setColor(r.color).run(), e(Mt.NONE);
79138
79138
  },
79139
- className: Vt(
79139
+ className: _t(
79140
79140
  "w-5 rounded-full flex justify-center items-center cursor-pointer ease-in duration-200 hover:scale-[1.05] h-5",
79141
79141
  r.code
79142
79142
  ),
@@ -79144,7 +79144,7 @@ const F3 = [
79144
79144
  $e,
79145
79145
  {
79146
79146
  name: "Check",
79147
- className: Vt(
79147
+ className: _t(
79148
79148
  "w-[14px] aspect-square",
79149
79149
  t.isActive("textStyle", {
79150
79150
  color: r.color
@@ -79216,7 +79216,7 @@ const F3 = [
79216
79216
  "div",
79217
79217
  {
79218
79218
  ref: n,
79219
- className: Vt(
79219
+ className: _t(
79220
79220
  "z-50 flex w-48 flex-col overflow-hidden rounded bg-white p-1 shadow-elevation-1"
79221
79221
  ),
79222
79222
  children: r.map((i) => /* @__PURE__ */ _.jsxs(
@@ -79225,7 +79225,7 @@ const F3 = [
79225
79225
  onClick: () => {
79226
79226
  i.command(t), e(Mt.NONE);
79227
79227
  },
79228
- className: Vt(
79228
+ className: _t(
79229
79229
  "flex w-full items-center space-x-2 rounded-md px-2 py-1 text-left text-sm text-black transition",
79230
79230
  {
79231
79231
  "bg-yellow-300 hover:brightness-90": i.isActive(),
@@ -79406,7 +79406,7 @@ const F3 = [
79406
79406
  "button",
79407
79407
  {
79408
79408
  onClick: () => l.command(t),
79409
- className: Vt(
79409
+ className: _t(
79410
79410
  "flex w-fit items-center font-medium space-x-2 rounded p-2 text-center text-sm text-black transition",
79411
79411
  {
79412
79412
  "bg-yellow-300 hover:brightness-90": l.isActive(),
@@ -79422,7 +79422,7 @@ const F3 = [
79422
79422
  "button",
79423
79423
  {
79424
79424
  onClick: () => l.command(t),
79425
- className: Vt(
79425
+ className: _t(
79426
79426
  "flex items-center space-x-2 rounded px-4 py-1 text-black transition h-9",
79427
79427
  {
79428
79428
  "bg-yellow-300 hover:brightness-90": l.isActive(),
@@ -79437,7 +79437,7 @@ const F3 = [
79437
79437
  "button",
79438
79438
  {
79439
79439
  onClick: () => l.command(t),
79440
- className: Vt(
79440
+ className: _t(
79441
79441
  "flex items-center space-x-2 rounded px-4 py-1 text-black transition h-9",
79442
79442
  {
79443
79443
  "bg-yellow-300 hover:brightness-90": l.isActive(),
@@ -79454,7 +79454,7 @@ const F3 = [
79454
79454
  "button",
79455
79455
  {
79456
79456
  onClick: () => l.command(t),
79457
- className: Vt(
79457
+ className: _t(
79458
79458
  "flex items-center space-x-2 rounded px-4 py-1 text-black transition h-9",
79459
79459
  {
79460
79460
  "bg-yellow-300 hover:brightness-90": l.isActive(),
@@ -79469,7 +79469,7 @@ const F3 = [
79469
79469
  "button",
79470
79470
  {
79471
79471
  onClick: () => l.command(t),
79472
- className: Vt(
79472
+ className: _t(
79473
79473
  "flex items-center space-x-2 rounded px-4 py-1 text-black transition h-9",
79474
79474
  {
79475
79475
  "bg-yellow-300 hover:brightness-90": l.isActive(),
@@ -79485,7 +79485,7 @@ const F3 = [
79485
79485
  "button",
79486
79486
  {
79487
79487
  onClick: () => l.command(t),
79488
- className: Vt(
79488
+ className: _t(
79489
79489
  "flex items-center space-x-2 rounded px-4 py-1 text-black transition h-9",
79490
79490
  {
79491
79491
  "bg-yellow-300 hover:brightness-90": l.isActive(),
@@ -79545,7 +79545,7 @@ const F3 = [
79545
79545
  onClick: () => {
79546
79546
  t.chain().setColor(l.color).run();
79547
79547
  },
79548
- className: Vt(
79548
+ className: _t(
79549
79549
  "w-6 h-6 mb-1 drop-shadow rounded-full flex justify-center items-center cursor-pointer transition",
79550
79550
  l.code
79551
79551
  ),
@@ -79553,7 +79553,7 @@ const F3 = [
79553
79553
  $e,
79554
79554
  {
79555
79555
  name: "Check",
79556
- className: Vt(
79556
+ className: _t(
79557
79557
  "w-[14px] aspect-square",
79558
79558
  t.isActive("textStyle", {
79559
79559
  color: l.color
@@ -80017,7 +80017,7 @@ const V3 = jt.create({
80017
80017
  return c;
80018
80018
  }, LA = on(
80019
80019
  ({ children: t, className: e, withShadow: n = !0, withBorder: r = !1, ...i }, a) => {
80020
- const o = Vt(
80020
+ const o = _t(
80021
80021
  e,
80022
80022
  "bg-white rounded",
80023
80023
  n ? "shadow-lg" : "",
@@ -80035,7 +80035,7 @@ const zZ = on(
80035
80035
  className: r,
80036
80036
  ...i
80037
80037
  }, a) => {
80038
- const o = Vt(
80038
+ const o = _t(
80039
80039
  "text-black inline-flex h-full leading-none gap-0.5",
80040
80040
  n ? "flex-col p-2" : "flex-row p-1 items-center",
80041
80041
  r
@@ -80046,7 +80046,7 @@ const zZ = on(
80046
80046
  zZ.displayName = "Toolbar";
80047
80047
  const BZ = on(
80048
80048
  ({ horizontal: t, className: e, ...n }, r) => {
80049
- const i = Vt(
80049
+ const i = _t(
80050
80050
  "bg-neutral-200",
80051
80051
  t ? "w-full min-w-[1.5rem] h-[1px] my-1 first:mt-0 last:mt-0" : "h-full min-h-[1.5rem] w-[1px] mx-1 first:ml-0 last:mr-0",
80052
80052
  e
@@ -92327,7 +92327,7 @@ Ri.prototype = {
92327
92327
  return i.j[t] = o, o;
92328
92328
  }
92329
92329
  };
92330
- const Ft = (t, e, n, r, i) => t.ta(e, n, r, i), Sa = (t, e, n, r, i) => t.tr(e, n, r, i), Wj = (t, e, n, r, i) => t.ts(e, n, r, i), Ye = (t, e, n, r, i) => t.tt(e, n, r, i), Vs = "WORD", Lk = "UWORD", fm = "LOCALHOST", Tk = "TLD", Nk = "UTLD", Og = "SCHEME", wf = "SLASH_SCHEME", sS = "NUM", MQ = "WS", lS = "NL", up = "OPENBRACE", fp = "CLOSEBRACE", i6 = "OPENBRACKET", a6 = "CLOSEBRACKET", o6 = "OPENPAREN", s6 = "CLOSEPAREN", l6 = "OPENANGLEBRACKET", c6 = "CLOSEANGLEBRACKET", u6 = "FULLWIDTHLEFTPAREN", f6 = "FULLWIDTHRIGHTPAREN", d6 = "LEFTCORNERBRACKET", h6 = "RIGHTCORNERBRACKET", p6 = "LEFTWHITECORNERBRACKET", m6 = "RIGHTWHITECORNERBRACKET", y6 = "FULLWIDTHLESSTHAN", g6 = "FULLWIDTHGREATERTHAN", v6 = "AMPERSAND", b6 = "APOSTROPHE", w6 = "ASTERISK", mc = "AT", k6 = "BACKSLASH", x6 = "BACKTICK", M6 = "CARET", bc = "COLON", cS = "COMMA", C6 = "DOLLAR", qo = "DOT", A6 = "EQUALS", uS = "EXCLAMATION", Go = "HYPHEN", S6 = "PERCENT", E6 = "PIPE", L6 = "PLUS", T6 = "POUND", N6 = "QUERY", fS = "QUOTE", dS = "SEMI", Zo = "SLASH", dp = "TILDE", D6 = "UNDERSCORE", CQ = "EMOJI", j6 = "SYM";
92330
+ const Ht = (t, e, n, r, i) => t.ta(e, n, r, i), Sa = (t, e, n, r, i) => t.tr(e, n, r, i), Wj = (t, e, n, r, i) => t.ts(e, n, r, i), Ye = (t, e, n, r, i) => t.tt(e, n, r, i), Vs = "WORD", Lk = "UWORD", fm = "LOCALHOST", Tk = "TLD", Nk = "UTLD", Og = "SCHEME", wf = "SLASH_SCHEME", sS = "NUM", MQ = "WS", lS = "NL", up = "OPENBRACE", fp = "CLOSEBRACE", i6 = "OPENBRACKET", a6 = "CLOSEBRACKET", o6 = "OPENPAREN", s6 = "CLOSEPAREN", l6 = "OPENANGLEBRACKET", c6 = "CLOSEANGLEBRACKET", u6 = "FULLWIDTHLEFTPAREN", f6 = "FULLWIDTHRIGHTPAREN", d6 = "LEFTCORNERBRACKET", h6 = "RIGHTCORNERBRACKET", p6 = "LEFTWHITECORNERBRACKET", m6 = "RIGHTWHITECORNERBRACKET", y6 = "FULLWIDTHLESSTHAN", g6 = "FULLWIDTHGREATERTHAN", v6 = "AMPERSAND", b6 = "APOSTROPHE", w6 = "ASTERISK", mc = "AT", k6 = "BACKSLASH", x6 = "BACKTICK", M6 = "CARET", bc = "COLON", cS = "COMMA", C6 = "DOLLAR", qo = "DOT", A6 = "EQUALS", uS = "EXCLAMATION", Go = "HYPHEN", S6 = "PERCENT", E6 = "PIPE", L6 = "PLUS", T6 = "POUND", N6 = "QUERY", fS = "QUOTE", dS = "SEMI", Zo = "SLASH", dp = "TILDE", D6 = "UNDERSCORE", CQ = "EMOJI", j6 = "SYM";
92331
92331
  var AQ = /* @__PURE__ */ Object.freeze({
92332
92332
  __proto__: null,
92333
92333
  WORD: Vs,
@@ -92744,33 +92744,33 @@ function uWe(t) {
92744
92744
  groups: e
92745
92745
  } = t;
92746
92746
  const n = e.domain.concat([v6, w6, mc, k6, x6, M6, C6, A6, Go, sS, S6, E6, L6, T6, Zo, j6, dp, D6]), r = [b6, bc, cS, qo, uS, N6, fS, dS, l6, c6, up, fp, a6, i6, o6, s6, u6, f6, d6, h6, p6, m6, y6, g6], i = [v6, b6, w6, k6, x6, M6, C6, A6, Go, up, fp, S6, E6, L6, T6, N6, Zo, j6, dp, D6], a = Ea(), o = Ye(a, dp);
92747
- Ft(o, i, o), Ft(o, e.domain, o);
92747
+ Ht(o, i, o), Ht(o, e.domain, o);
92748
92748
  const s = Ea(), l = Ea(), c = Ea();
92749
- Ft(a, e.domain, s), Ft(a, e.scheme, l), Ft(a, e.slashscheme, c), Ft(s, i, o), Ft(s, e.domain, s);
92749
+ Ht(a, e.domain, s), Ht(a, e.scheme, l), Ht(a, e.slashscheme, c), Ht(s, i, o), Ht(s, e.domain, s);
92750
92750
  const u = Ye(s, mc);
92751
92751
  Ye(o, mc, u), Ye(l, mc, u), Ye(c, mc, u);
92752
92752
  const f = Ye(o, qo);
92753
- Ft(f, i, o), Ft(f, e.domain, o);
92753
+ Ht(f, i, o), Ht(f, e.domain, o);
92754
92754
  const d = Ea();
92755
- Ft(u, e.domain, d), Ft(d, e.domain, d);
92755
+ Ht(u, e.domain, d), Ht(d, e.domain, d);
92756
92756
  const h = Ye(d, qo);
92757
- Ft(h, e.domain, d);
92757
+ Ht(h, e.domain, d);
92758
92758
  const p = Ea($j);
92759
- Ft(h, e.tld, p), Ft(h, e.utld, p), Ye(u, fm, p);
92759
+ Ht(h, e.tld, p), Ht(h, e.utld, p), Ye(u, fm, p);
92760
92760
  const m = Ye(d, Go);
92761
- Ft(m, e.domain, d), Ft(p, e.domain, d), Ye(p, qo, h), Ye(p, Go, m);
92761
+ Ht(m, e.domain, d), Ht(p, e.domain, d), Ye(p, qo, h), Ye(p, Go, m);
92762
92762
  const g = Ye(p, bc);
92763
- Ft(g, e.numeric, $j);
92763
+ Ht(g, e.numeric, $j);
92764
92764
  const v = Ye(s, Go), k = Ye(s, qo);
92765
- Ft(v, e.domain, s), Ft(k, i, o), Ft(k, e.domain, s);
92765
+ Ht(v, e.domain, s), Ht(k, i, o), Ht(k, e.domain, s);
92766
92766
  const b = Ea(Ny);
92767
- Ft(k, e.tld, b), Ft(k, e.utld, b), Ft(b, e.domain, s), Ft(b, i, o), Ye(b, qo, k), Ye(b, Go, v), Ye(b, mc, u);
92767
+ Ht(k, e.tld, b), Ht(k, e.utld, b), Ht(b, e.domain, s), Ht(b, i, o), Ye(b, qo, k), Ye(b, Go, v), Ye(b, mc, u);
92768
92768
  const w = Ye(b, bc), x = Ea(Ny);
92769
- Ft(w, e.numeric, x);
92769
+ Ht(w, e.numeric, x);
92770
92770
  const S = Ea(Ny), L = Ea();
92771
- Ft(S, n, S), Ft(S, r, L), Ft(L, n, S), Ft(L, r, L), Ye(b, Zo, S), Ye(x, Zo, S);
92771
+ Ht(S, n, S), Ht(S, r, L), Ht(L, n, S), Ht(L, r, L), Ye(b, Zo, S), Ye(x, Zo, S);
92772
92772
  const E = Ye(l, bc), D = Ye(c, bc), I = Ye(D, Zo), P = Ye(I, Zo);
92773
- Ft(l, e.domain, s), Ye(l, qo, k), Ye(l, Go, v), Ft(c, e.domain, s), Ye(c, qo, k), Ye(c, Go, v), Ft(E, e.domain, S), Ye(E, Zo, S), Ft(P, e.domain, S), Ft(P, n, S), Ye(P, Zo, S);
92773
+ Ht(l, e.domain, s), Ye(l, qo, k), Ye(l, Go, v), Ht(c, e.domain, s), Ye(c, qo, k), Ye(c, Go, v), Ht(E, e.domain, S), Ye(E, Zo, S), Ht(P, e.domain, S), Ht(P, n, S), Ye(P, Zo, S);
92774
92774
  const F = [
92775
92775
  [up, fp],
92776
92776
  // {}
@@ -92793,9 +92793,9 @@ function uWe(t) {
92793
92793
  const [U, H] = F[G], W = Ye(S, U);
92794
92794
  Ye(L, U, W), Ye(W, H, S);
92795
92795
  const ee = Ea(Ny);
92796
- Ft(W, n, ee);
92796
+ Ht(W, n, ee);
92797
92797
  const le = Ea();
92798
- Ft(W, r), Ft(ee, n, ee), Ft(ee, r, le), Ft(le, n, ee), Ft(le, r, le), Ye(ee, H, S), Ye(le, H, S);
92798
+ Ht(W, r), Ht(ee, n, ee), Ht(ee, r, le), Ht(le, n, ee), Ht(le, r, le), Ye(ee, H, S), Ye(le, H, S);
92799
92799
  }
92800
92800
  return Ye(a, fm, b), Ye(a, lS, cWe), {
92801
92801
  start: a,
@@ -93539,7 +93539,7 @@ const TQ = ({
93539
93539
  e4,
93540
93540
  {
93541
93541
  as: "article",
93542
- className: Vt(
93542
+ className: _t(
93543
93543
  "media-node-view not-prose transition-all ease-in-out w-full",
93544
93544
  E && `f-${t.attrs.dataFloat}`,
93545
93545
  I && `justify-${t.attrs.dataAlign}`
@@ -93571,7 +93571,7 @@ const TQ = ({
93571
93571
  "iframe",
93572
93572
  {
93573
93573
  ref: d,
93574
- className: Vt(
93574
+ className: _t(
93575
93575
  "rounded-lg max-w-full",
93576
93576
  h && "pointer-events-none"
93577
93577
  ),
@@ -96729,7 +96729,7 @@ const By = ({
96729
96729
  disabled: r,
96730
96730
  className: i
96731
96731
  }) => {
96732
- const a = Vt(
96732
+ const a = _t(
96733
96733
  "flex items-center gap-2 p-1.5 text-xs font-medium text-neutral-500 text-left w-full rounded-md border border-transparent transition-all",
96734
96734
  !e && !r,
96735
96735
  "hover:border-neutral-200 hover:bg-neutral-100",
@@ -98328,7 +98328,7 @@ const By = ({
98328
98328
  e4,
98329
98329
  {
98330
98330
  as: "div",
98331
- className: Vt(
98331
+ className: _t(
98332
98332
  "flex gap-2 group w-full relative justify-center items-start",
98333
98333
  s && "pointer-events-none",
98334
98334
  c && "pointer-events-auto"
@@ -98420,7 +98420,7 @@ const By = ({
98420
98420
  /* @__PURE__ */ _.jsx(
98421
98421
  jB,
98422
98422
  {
98423
- className: Vt("node-view-content w-full relative", {
98423
+ className: _t("node-view-content w-full relative", {
98424
98424
  "is-table": c
98425
98425
  }),
98426
98426
  children: I && !s && NJe(F, G, W, le, U)
@@ -100534,7 +100534,7 @@ const VKe = [
100534
100534
  "label",
100535
100535
  {
100536
100536
  tabIndex: 0,
100537
- className: Vt("trigger-button", { hidden: o }),
100537
+ className: _t("trigger-button", { hidden: o }),
100538
100538
  contentEditable: !1,
100539
100539
  children: /* @__PURE__ */ _.jsx($e, { name: "Ellipsis", className: "color-text-default", size: "sm" })
100540
100540
  }
@@ -112442,7 +112442,7 @@ var VJ = function(e) {
112442
112442
  mathMLnode: Hit,
112443
112443
  svgSpan: qit
112444
112444
  };
112445
- function _t(t, e) {
112445
+ function Ft(t, e) {
112446
112446
  if (!t || t.type !== e)
112447
112447
  throw new Error("Expected node of type " + e + ", but got " + (t ? "node of type " + t.type : String(t)));
112448
112448
  return t;
@@ -112458,7 +112458,7 @@ function r8(t) {
112458
112458
  }
112459
112459
  var WS = (t, e) => {
112460
112460
  var n, r, i;
112461
- t && t.type === "supsub" ? (r = _t(t.base, "accent"), n = r.base, t.base = n, i = pit(an(t, e)), t.base = r) : (r = _t(t, "accent"), n = r.base);
112461
+ t && t.type === "supsub" ? (r = Ft(t.base, "accent"), n = r.base, t.base = n, i = pit(an(t, e)), t.base = r) : (r = Ft(t, "accent"), n = r.base);
112462
112462
  var a = an(n, e.havingCrampedStyle()), o = r.isShifty && bt.isCharacterBox(n), s = 0;
112463
112463
  if (o) {
112464
112464
  var l = bt.getBaseElem(n), c = an(l, e.havingCrampedStyle());
@@ -113021,8 +113021,8 @@ nt({
113021
113021
  handler(t, e) {
113022
113022
  for (var {
113023
113023
  parser: n
113024
- } = t, r = _t(e[0], "ordgroup"), i = r.body, a = "", o = 0; o < i.length; o++) {
113025
- var s = _t(i[o], "textord");
113024
+ } = t, r = Ft(e[0], "ordgroup"), i = r.body, a = "", o = 0; o < i.length; o++) {
113025
+ var s = Ft(i[o], "textord");
113026
113026
  a += s.text;
113027
113027
  }
113028
113028
  var l = parseInt(a), c;
@@ -113055,7 +113055,7 @@ nt({
113055
113055
  handler(t, e) {
113056
113056
  var {
113057
113057
  parser: n
113058
- } = t, r = _t(e[0], "color-token").color, i = e[1];
113058
+ } = t, r = Ft(e[0], "color-token").color, i = e[1];
113059
113059
  return {
113060
113060
  type: "color",
113061
113061
  mode: n.mode,
@@ -113078,7 +113078,7 @@ nt({
113078
113078
  var {
113079
113079
  parser: n,
113080
113080
  breakOnTokenText: r
113081
- } = t, i = _t(e[0], "color-token").color;
113081
+ } = t, i = Ft(e[0], "color-token").color;
113082
113082
  n.gullet.macros.set("\\current@color", i);
113083
113083
  var a = n.parseExpression(!0, r);
113084
113084
  return {
@@ -113107,7 +113107,7 @@ nt({
113107
113107
  type: "cr",
113108
113108
  mode: r.mode,
113109
113109
  newLine: a,
113110
- size: i && _t(i, "size").value
113110
+ size: i && Ft(i, "size").value
113111
113111
  };
113112
113112
  },
113113
113113
  // The following builders are called only at the top level,
@@ -113168,7 +113168,7 @@ nt({
113168
113168
  e.consumeSpaces();
113169
113169
  var r = e.fetch();
113170
113170
  if (rx[r.text])
113171
- return (n === "\\global" || n === "\\\\globallong") && (r.text = rx[r.text]), _t(e.parseFunction(), "internal");
113171
+ return (n === "\\global" || n === "\\\\globallong") && (r.text = rx[r.text]), Ft(e.parseFunction(), "internal");
113172
113172
  throw new Ue("Invalid token after macro prefix", r);
113173
113173
  }
113174
113174
  });
@@ -113608,7 +113608,7 @@ nt({
113608
113608
  ++r.leftrightDepth;
113609
113609
  var i = r.parseExpression(!1);
113610
113610
  --r.leftrightDepth, r.expect("\\right", !1);
113611
- var a = _t(r.parseFunction(), "leftright-right");
113611
+ var a = Ft(r.parseFunction(), "leftright-right");
113612
113612
  return {
113613
113613
  type: "leftright",
113614
113614
  mode: r.mode,
@@ -113810,7 +113810,7 @@ nt({
113810
113810
  var {
113811
113811
  parser: r,
113812
113812
  funcName: i
113813
- } = t, a = _t(e[0], "color-token").color, o = e[1];
113813
+ } = t, a = Ft(e[0], "color-token").color, o = e[1];
113814
113814
  return {
113815
113815
  type: "enclose",
113816
113816
  mode: r.mode,
@@ -113834,7 +113834,7 @@ nt({
113834
113834
  var {
113835
113835
  parser: r,
113836
113836
  funcName: i
113837
- } = t, a = _t(e[0], "color-token").color, o = _t(e[1], "color-token").color, s = e[2];
113837
+ } = t, a = Ft(e[0], "color-token").color, o = Ft(e[1], "color-token").color, s = e[2];
113838
113838
  return {
113839
113839
  type: "enclose",
113840
113840
  mode: r.mode,
@@ -114181,7 +114181,7 @@ var Ps = function(e, n) {
114181
114181
  };
114182
114182
  if (n[0] && n[0].type === "ordgroup") {
114183
114183
  for (var u = "", f = 0; f < n[0].body.length; f++) {
114184
- var d = _t(n[0].body[f], "textord");
114184
+ var d = Ft(n[0].body[f], "textord");
114185
114185
  u += d.text;
114186
114186
  }
114187
114187
  s = Number(u), l = s * 2;
@@ -114189,7 +114189,7 @@ var Ps = function(e, n) {
114189
114189
  var h = !l;
114190
114190
  o.body.forEach(function(v) {
114191
114191
  for (var k = 1; k < v.length; k += 2) {
114192
- var b = _t(v[k], "styling"), w = _t(b.body[0], "ordgroup");
114192
+ var b = Ft(v[k], "styling"), w = Ft(b.body[0], "ordgroup");
114193
114193
  w.body.unshift(c);
114194
114194
  }
114195
114195
  if (h)
@@ -114218,7 +114218,7 @@ Rs({
114218
114218
  numArgs: 1
114219
114219
  },
114220
114220
  handler(t, e) {
114221
- var n = r8(e[0]), r = n ? [e[0]] : _t(e[0], "ordgroup").body, i = r.map(function(o) {
114221
+ var n = r8(e[0]), r = n ? [e[0]] : Ft(e[0], "ordgroup").body, i = r.map(function(o) {
114222
114222
  var s = ZS(o), l = s.text;
114223
114223
  if ("lcr".indexOf(l) !== -1)
114224
114224
  return {
@@ -114318,7 +114318,7 @@ Rs({
114318
114318
  numArgs: 1
114319
114319
  },
114320
114320
  handler(t, e) {
114321
- var n = r8(e[0]), r = n ? [e[0]] : _t(e[0], "ordgroup").body, i = r.map(function(o) {
114321
+ var n = r8(e[0]), r = n ? [e[0]] : Ft(e[0], "ordgroup").body, i = r.map(function(o) {
114322
114322
  var s = ZS(o), l = s.text;
114323
114323
  if ("lc".indexOf(l) !== -1)
114324
114324
  return {
@@ -114486,7 +114486,7 @@ nt({
114486
114486
  if (i.type !== "ordgroup")
114487
114487
  throw new Ue("Invalid environment name", i);
114488
114488
  for (var a = "", o = 0; o < i.body.length; ++o)
114489
- a += _t(i.body[o], "textord").text;
114489
+ a += Ft(i.body[o], "textord").text;
114490
114490
  if (r === "\\begin") {
114491
114491
  if (!_R.hasOwnProperty(a))
114492
114492
  throw new Ue("No such environment: " + a, i);
@@ -114499,7 +114499,7 @@ nt({
114499
114499
  parser: n
114500
114500
  }, f = s.handler(u, l, c);
114501
114501
  n.expect("\\end", !1);
114502
- var d = n.nextToken, h = _t(n.parseFunction(), "environment");
114502
+ var d = n.nextToken, h = Ft(n.parseFunction(), "environment");
114503
114503
  if (h.name !== a)
114504
114504
  throw new Ue("Mismatch: \\begin{" + a + "} matched by \\end{" + h.name + "}", d);
114505
114505
  return f;
@@ -114854,16 +114854,16 @@ nt({
114854
114854
  handler(t, e) {
114855
114855
  var {
114856
114856
  parser: n
114857
- } = t, r = e[4], i = e[5], a = Q6(e[0]), o = a.type === "atom" && a.family === "open" ? VR(a.text) : null, s = Q6(e[1]), l = s.type === "atom" && s.family === "close" ? VR(s.text) : null, c = _t(e[2], "size"), u, f = null;
114857
+ } = t, r = e[4], i = e[5], a = Q6(e[0]), o = a.type === "atom" && a.family === "open" ? VR(a.text) : null, s = Q6(e[1]), l = s.type === "atom" && s.family === "close" ? VR(s.text) : null, c = Ft(e[2], "size"), u, f = null;
114858
114858
  c.isBlank ? u = !0 : (f = c.value, u = f.number > 0);
114859
114859
  var d = "auto", h = e[3];
114860
114860
  if (h.type === "ordgroup") {
114861
114861
  if (h.body.length > 0) {
114862
- var p = _t(h.body[0], "textord");
114862
+ var p = Ft(h.body[0], "textord");
114863
114863
  d = HR[Number(p.text)];
114864
114864
  }
114865
114865
  } else
114866
- h = _t(h, "textord"), d = HR[Number(h.text)];
114866
+ h = Ft(h, "textord"), d = HR[Number(h.text)];
114867
114867
  return {
114868
114868
  type: "genfrac",
114869
114869
  mode: n.mode,
@@ -114898,7 +114898,7 @@ nt({
114898
114898
  type: "infix",
114899
114899
  mode: n.mode,
114900
114900
  replaceWith: "\\\\abovefrac",
114901
- size: _t(e[0], "size").value,
114901
+ size: Ft(e[0], "size").value,
114902
114902
  token: i
114903
114903
  };
114904
114904
  }
@@ -114914,7 +114914,7 @@ nt({
114914
114914
  var {
114915
114915
  parser: n,
114916
114916
  funcName: r
114917
- } = t, i = e[0], a = Vrt(_t(e[1], "infix").size), o = e[2], s = a.number > 0;
114917
+ } = t, i = e[0], a = Vrt(Ft(e[1], "infix").size), o = e[2], s = a.number > 0;
114918
114918
  return {
114919
114919
  type: "genfrac",
114920
114920
  mode: n.mode,
@@ -114933,7 +114933,7 @@ nt({
114933
114933
  });
114934
114934
  var fK = (t, e) => {
114935
114935
  var n = e.style, r, i;
114936
- t.type === "supsub" ? (r = t.sup ? an(t.sup, e.havingStyle(n.sup()), e) : an(t.sub, e.havingStyle(n.sub()), e), i = _t(t.base, "horizBrace")) : i = _t(t, "horizBrace");
114936
+ t.type === "supsub" ? (r = t.sup ? an(t.sup, e.havingStyle(n.sup()), e) : an(t.sub, e.havingStyle(n.sub()), e), i = Ft(t.base, "horizBrace")) : i = Ft(t, "horizBrace");
114937
114937
  var a = an(i.base, e.havingBaseStyle(At.DISPLAY)), o = _l.svgSpan(i, e), s;
114938
114938
  if (i.isOver ? (s = de.makeVList({
114939
114939
  positionType: "firstBaseline",
@@ -115027,7 +115027,7 @@ nt({
115027
115027
  handler: (t, e) => {
115028
115028
  var {
115029
115029
  parser: n
115030
- } = t, r = e[1], i = _t(e[0], "url").url;
115030
+ } = t, r = e[1], i = Ft(e[0], "url").url;
115031
115031
  return n.settings.isTrusted({
115032
115032
  command: "\\href",
115033
115033
  url: i
@@ -115058,7 +115058,7 @@ nt({
115058
115058
  handler: (t, e) => {
115059
115059
  var {
115060
115060
  parser: n
115061
- } = t, r = _t(e[0], "url").url;
115061
+ } = t, r = Ft(e[0], "url").url;
115062
115062
  if (!n.settings.isTrusted({
115063
115063
  command: "\\url",
115064
115064
  url: r
@@ -115126,7 +115126,7 @@ nt({
115126
115126
  parser: n,
115127
115127
  funcName: r,
115128
115128
  token: i
115129
- } = t, a = _t(e[0], "raw").string, o = e[1];
115129
+ } = t, a = Ft(e[0], "raw").string, o = e[1];
115130
115130
  n.settings.strict && n.settings.reportNonstrict("htmlExtension", "HTML extension is disabled on strict mode");
115131
115131
  var s, l = {};
115132
115132
  switch (r) {
@@ -115246,7 +115246,7 @@ nt({
115246
115246
  unit: "em"
115247
115247
  }, s = "";
115248
115248
  if (n[0])
115249
- for (var l = _t(n[0], "raw").string, c = l.split(","), u = 0; u < c.length; u++) {
115249
+ for (var l = Ft(n[0], "raw").string, c = l.split(","), u = 0; u < c.length; u++) {
115250
115250
  var f = c[u].split("=");
115251
115251
  if (f.length === 2) {
115252
115252
  var d = f[1].trim();
@@ -115268,7 +115268,7 @@ nt({
115268
115268
  }
115269
115269
  }
115270
115270
  }
115271
- var h = _t(e[0], "url").url;
115271
+ var h = Ft(e[0], "url").url;
115272
115272
  return s === "" && (s = h, s = s.replace(/^.*[\\/]/, ""), s = s.substring(0, s.lastIndexOf("."))), r.settings.isTrusted({
115273
115273
  command: "\\includegraphics",
115274
115274
  url: h
@@ -115318,7 +115318,7 @@ nt({
115318
115318
  var {
115319
115319
  parser: n,
115320
115320
  funcName: r
115321
- } = t, i = _t(e[0], "size");
115321
+ } = t, i = Ft(e[0], "size");
115322
115322
  if (n.settings.strict) {
115323
115323
  var a = r[1] === "m", o = i.value.unit === "mu";
115324
115324
  a ? (o || n.settings.reportNonstrict("mathVsTextUnits", "LaTeX's " + r + " supports only mu units, " + ("not " + i.value.unit + " units")), n.mode !== "math" && n.settings.reportNonstrict("mathVsTextUnits", "LaTeX's " + r + " works only in math mode")) : o && n.settings.reportNonstrict("mathVsTextUnits", "LaTeX's " + r + " doesn't support mu units");
@@ -115548,7 +115548,7 @@ var dK = (t, e, n, r, i, a, o) => {
115548
115548
  return de.makeSpan(["mop", "op-limits"], g, r);
115549
115549
  }, hK = ["\\smallint"], t2 = (t, e) => {
115550
115550
  var n, r, i = !1, a;
115551
- t.type === "supsub" ? (n = t.sup, r = t.sub, a = _t(t.base, "op"), i = !0) : a = _t(t, "op");
115551
+ t.type === "supsub" ? (n = t.sup, r = t.sub, a = Ft(t.base, "op"), i = !0) : a = Ft(t, "op");
115552
115552
  var o = e.style, s = !1;
115553
115553
  o.size === At.DISPLAY.size && a.symbol && !bt.contains(hK, a.name) && (s = !0);
115554
115554
  var l;
@@ -115730,7 +115730,7 @@ nt({
115730
115730
  });
115731
115731
  var pK = (t, e) => {
115732
115732
  var n, r, i = !1, a;
115733
- t.type === "supsub" ? (n = t.sup, r = t.sub, a = _t(t.base, "operatorname"), i = !0) : a = _t(t, "operatorname");
115733
+ t.type === "supsub" ? (n = t.sup, r = t.sub, a = Ft(t.base, "operatorname"), i = !0) : a = Ft(t, "operatorname");
115734
115734
  var o;
115735
115735
  if (a.body.length > 0) {
115736
115736
  for (var s = a.body.map((f) => {
@@ -115952,7 +115952,7 @@ nt({
115952
115952
  handler(t, e) {
115953
115953
  var {
115954
115954
  parser: n
115955
- } = t, r = _t(e[0], "size").value, i = e[1];
115955
+ } = t, r = Ft(e[0], "size").value, i = e[1];
115956
115956
  return {
115957
115957
  type: "raisebox",
115958
115958
  mode: n.mode,
@@ -116004,11 +116004,11 @@ nt({
116004
116004
  handler(t, e, n) {
116005
116005
  var {
116006
116006
  parser: r
116007
- } = t, i = n[0], a = _t(e[0], "size"), o = _t(e[1], "size");
116007
+ } = t, i = n[0], a = Ft(e[0], "size"), o = Ft(e[1], "size");
116008
116008
  return {
116009
116009
  type: "rule",
116010
116010
  mode: r.mode,
116011
- shift: i && _t(i, "size").value,
116011
+ shift: i && Ft(i, "size").value,
116012
116012
  width: a.value,
116013
116013
  height: o.value
116014
116014
  };
@@ -116073,7 +116073,7 @@ nt({
116073
116073
  handler: (t, e, n) => {
116074
116074
  var {
116075
116075
  parser: r
116076
- } = t, i = !1, a = !1, o = n[0] && _t(n[0], "ordgroup");
116076
+ } = t, i = !1, a = !1, o = n[0] && Ft(n[0], "ordgroup");
116077
116077
  if (o)
116078
116078
  for (var s = "", l = 0; l < o.body.length; ++l) {
116079
116079
  var c = o.body[l];
@@ -121912,7 +121912,7 @@ function Lst(t, e, n, r) {
121912
121912
  const i = (e >>> 0) + (r >>> 0);
121913
121913
  return { h: t + n + (i / 2 ** 32 | 0) | 0, l: i | 0 };
121914
121914
  }
121915
- const Tst = (t, e, n) => (t >>> 0) + (e >>> 0) + (n >>> 0), Nst = (t, e, n, r) => e + n + r + (t / 2 ** 32 | 0) | 0, Dst = (t, e, n, r) => (t >>> 0) + (e >>> 0) + (n >>> 0) + (r >>> 0), jst = (t, e, n, r, i) => e + n + r + i + (t / 2 ** 32 | 0) | 0, Ist = (t, e, n, r, i) => (t >>> 0) + (e >>> 0) + (n >>> 0) + (r >>> 0) + (i >>> 0), Rst = (t, e, n, r, i, a) => e + n + r + i + a + (t / 2 ** 32 | 0) | 0, Ht = {
121915
+ const Tst = (t, e, n) => (t >>> 0) + (e >>> 0) + (n >>> 0), Nst = (t, e, n, r) => e + n + r + (t / 2 ** 32 | 0) | 0, Dst = (t, e, n, r) => (t >>> 0) + (e >>> 0) + (n >>> 0) + (r >>> 0), jst = (t, e, n, r, i) => e + n + r + i + (t / 2 ** 32 | 0) | 0, Ist = (t, e, n, r, i) => (t >>> 0) + (e >>> 0) + (n >>> 0) + (r >>> 0) + (i >>> 0), Rst = (t, e, n, r, i, a) => e + n + r + i + a + (t / 2 ** 32 | 0) | 0, Vt = {
121916
121916
  fromBig: KK,
121917
121917
  split: $K,
121918
121918
  toBig: bst,
@@ -121935,7 +121935,7 @@ const Tst = (t, e, n) => (t >>> 0) + (e >>> 0) + (n >>> 0), Nst = (t, e, n, r) =
121935
121935
  add4H: jst,
121936
121936
  add5H: Rst,
121937
121937
  add5L: Ist
121938
- }, [Pst, Ost] = Ht.split([
121938
+ }, [Pst, Ost] = Vt.split([
121939
121939
  "0x428a2f98d728ae22",
121940
121940
  "0x7137449123ef65cd",
121941
121941
  "0xb5c0fbcfec4d3b2f",
@@ -122034,17 +122034,17 @@ class zst extends YK {
122034
122034
  for (let b = 0; b < 16; b++, n += 4)
122035
122035
  ic[b] = e.getUint32(n), ac[b] = e.getUint32(n += 4);
122036
122036
  for (let b = 16; b < 80; b++) {
122037
- const w = ic[b - 15] | 0, x = ac[b - 15] | 0, S = Ht.rotrSH(w, x, 1) ^ Ht.rotrSH(w, x, 8) ^ Ht.shrSH(w, x, 7), L = Ht.rotrSL(w, x, 1) ^ Ht.rotrSL(w, x, 8) ^ Ht.shrSL(w, x, 7), E = ic[b - 2] | 0, D = ac[b - 2] | 0, I = Ht.rotrSH(E, D, 19) ^ Ht.rotrBH(E, D, 61) ^ Ht.shrSH(E, D, 6), P = Ht.rotrSL(E, D, 19) ^ Ht.rotrBL(E, D, 61) ^ Ht.shrSL(E, D, 6), F = Ht.add4L(L, P, ac[b - 7], ac[b - 16]), G = Ht.add4H(F, S, I, ic[b - 7], ic[b - 16]);
122037
+ const w = ic[b - 15] | 0, x = ac[b - 15] | 0, S = Vt.rotrSH(w, x, 1) ^ Vt.rotrSH(w, x, 8) ^ Vt.shrSH(w, x, 7), L = Vt.rotrSL(w, x, 1) ^ Vt.rotrSL(w, x, 8) ^ Vt.shrSL(w, x, 7), E = ic[b - 2] | 0, D = ac[b - 2] | 0, I = Vt.rotrSH(E, D, 19) ^ Vt.rotrBH(E, D, 61) ^ Vt.shrSH(E, D, 6), P = Vt.rotrSL(E, D, 19) ^ Vt.rotrBL(E, D, 61) ^ Vt.shrSL(E, D, 6), F = Vt.add4L(L, P, ac[b - 7], ac[b - 16]), G = Vt.add4H(F, S, I, ic[b - 7], ic[b - 16]);
122038
122038
  ic[b] = G | 0, ac[b] = F | 0;
122039
122039
  }
122040
122040
  let { Ah: r, Al: i, Bh: a, Bl: o, Ch: s, Cl: l, Dh: c, Dl: u, Eh: f, El: d, Fh: h, Fl: p, Gh: m, Gl: g, Hh: v, Hl: k } = this;
122041
122041
  for (let b = 0; b < 80; b++) {
122042
- const w = Ht.rotrSH(f, d, 14) ^ Ht.rotrSH(f, d, 18) ^ Ht.rotrBH(f, d, 41), x = Ht.rotrSL(f, d, 14) ^ Ht.rotrSL(f, d, 18) ^ Ht.rotrBL(f, d, 41), S = f & h ^ ~f & m, L = d & p ^ ~d & g, E = Ht.add5L(k, x, L, Ost[b], ac[b]), D = Ht.add5H(E, v, w, S, Pst[b], ic[b]), I = E | 0, P = Ht.rotrSH(r, i, 28) ^ Ht.rotrBH(r, i, 34) ^ Ht.rotrBH(r, i, 39), F = Ht.rotrSL(r, i, 28) ^ Ht.rotrBL(r, i, 34) ^ Ht.rotrBL(r, i, 39), G = r & a ^ r & s ^ a & s, U = i & o ^ i & l ^ o & l;
122043
- v = m | 0, k = g | 0, m = h | 0, g = p | 0, h = f | 0, p = d | 0, { h: f, l: d } = Ht.add(c | 0, u | 0, D | 0, I | 0), c = s | 0, u = l | 0, s = a | 0, l = o | 0, a = r | 0, o = i | 0;
122044
- const H = Ht.add3L(I, F, U);
122045
- r = Ht.add3H(H, D, P, G), i = H | 0;
122042
+ const w = Vt.rotrSH(f, d, 14) ^ Vt.rotrSH(f, d, 18) ^ Vt.rotrBH(f, d, 41), x = Vt.rotrSL(f, d, 14) ^ Vt.rotrSL(f, d, 18) ^ Vt.rotrBL(f, d, 41), S = f & h ^ ~f & m, L = d & p ^ ~d & g, E = Vt.add5L(k, x, L, Ost[b], ac[b]), D = Vt.add5H(E, v, w, S, Pst[b], ic[b]), I = E | 0, P = Vt.rotrSH(r, i, 28) ^ Vt.rotrBH(r, i, 34) ^ Vt.rotrBH(r, i, 39), F = Vt.rotrSL(r, i, 28) ^ Vt.rotrBL(r, i, 34) ^ Vt.rotrBL(r, i, 39), G = r & a ^ r & s ^ a & s, U = i & o ^ i & l ^ o & l;
122043
+ v = m | 0, k = g | 0, m = h | 0, g = p | 0, h = f | 0, p = d | 0, { h: f, l: d } = Vt.add(c | 0, u | 0, D | 0, I | 0), c = s | 0, u = l | 0, s = a | 0, l = o | 0, a = r | 0, o = i | 0;
122044
+ const H = Vt.add3L(I, F, U);
122045
+ r = Vt.add3H(H, D, P, G), i = H | 0;
122046
122046
  }
122047
- ({ h: r, l: i } = Ht.add(this.Ah | 0, this.Al | 0, r | 0, i | 0)), { h: a, l: o } = Ht.add(this.Bh | 0, this.Bl | 0, a | 0, o | 0), { h: s, l } = Ht.add(this.Ch | 0, this.Cl | 0, s | 0, l | 0), { h: c, l: u } = Ht.add(this.Dh | 0, this.Dl | 0, c | 0, u | 0), { h: f, l: d } = Ht.add(this.Eh | 0, this.El | 0, f | 0, d | 0), { h, l: p } = Ht.add(this.Fh | 0, this.Fl | 0, h | 0, p | 0), { h: m, l: g } = Ht.add(this.Gh | 0, this.Gl | 0, m | 0, g | 0), { h: v, l: k } = Ht.add(this.Hh | 0, this.Hl | 0, v | 0, k | 0), this.set(r, i, a, o, s, l, c, u, f, d, h, p, m, g, v, k);
122047
+ ({ h: r, l: i } = Vt.add(this.Ah | 0, this.Al | 0, r | 0, i | 0)), { h: a, l: o } = Vt.add(this.Bh | 0, this.Bl | 0, a | 0, o | 0), { h: s, l } = Vt.add(this.Ch | 0, this.Cl | 0, s | 0, l | 0), { h: c, l: u } = Vt.add(this.Dh | 0, this.Dl | 0, c | 0, u | 0), { h: f, l: d } = Vt.add(this.Eh | 0, this.El | 0, f | 0, d | 0), { h, l: p } = Vt.add(this.Fh | 0, this.Fl | 0, h | 0, p | 0), { h: m, l: g } = Vt.add(this.Gh | 0, this.Gl | 0, m | 0, g | 0), { h: v, l: k } = Vt.add(this.Hh | 0, this.Hl | 0, v | 0, k | 0), this.set(r, i, a, o, s, l, c, u, f, d, h, p, m, g, v, k);
122048
122048
  }
122049
122049
  roundClean() {
122050
122050
  ic.fill(0), ac.fill(0);
@@ -135768,8 +135768,13 @@ const n1t = /* @__PURE__ */ Wm(t1t), r1t = ({
135768
135768
  "nav",
135769
135769
  {
135770
135770
  id: "Navbar",
135771
- className: "h-14 bg-[#ffffff] py-2 px-3 xl:px-4 flex gap-[40px] items-center justify-between w-screen xl:w-full fixed left-0 top-0 border-b color-border-default z-50 transition-transform duration-300",
135772
- style: { transform: b ? "translateY(0)" : "translateY(-100%)" },
135771
+ className: _t(
135772
+ "h-14 bg-[#ffffff] py-2 px-4 flex gap-[40px] items-center justify-between w-screen fixed left-0 top-0 border-b color-border-default z-50 transition-transform duration-300",
135773
+ {
135774
+ "translate-y-0": b,
135775
+ "translate-y-[-100%]": !b
135776
+ }
135777
+ ),
135773
135778
  children: a == null ? void 0 : a({ editor: I.getJSON() })
135774
135779
  }
135775
135780
  ),
@@ -135777,10 +135782,10 @@ const n1t = /* @__PURE__ */ Wm(t1t), r1t = ({
135777
135782
  "div",
135778
135783
  {
135779
135784
  id: "toolbar",
135780
- className: Vt(
135781
- "z-50 hidden xl:flex items-center justify-center w-full h-[52px] fixed left-0 px-1 bg-[#ffffff] border-b color-border-default transition-transform duration-300 top-14"
135785
+ className: _t(
135786
+ "z-50 hidden xl:flex items-center justify-center w-full h-[52px] fixed left-0 px-1 bg-[#ffffff] border-b color-border-default transition-transform duration-300 top-14",
135787
+ { "translate-y-0": b, "translate-y-[-105%]": !b }
135782
135788
  ),
135783
- style: { transform: b ? "translateY(0)" : "translateY(-100%)" },
135784
135789
  children: /* @__PURE__ */ _.jsx("div", { className: "justify-center items-center grow relative", children: /* @__PURE__ */ _.jsx(
135785
135790
  bVe,
135786
135791
  {
@@ -135795,11 +135800,12 @@ const n1t = /* @__PURE__ */ Wm(t1t), r1t = ({
135795
135800
  /* @__PURE__ */ _.jsxs(
135796
135801
  "div",
135797
135802
  {
135798
- className: Vt(
135799
- "p-4 md:px-[80px] md:mt-12 md:py-[78px] bg-white w-full md:w-[850px] max-w-[850px] mx-auto shadow-elevation-2 rounded",
135800
- { "mt-0 xl:!mt-6": t },
135801
- { "pt-20 md:mt-[7.5rem]": b },
135802
- { "pt-6 md:mt-[4rem]": !b }
135803
+ className: _t(
135804
+ "p-4 md:px-[80px] md:py-[78px] bg-white w-full md:w-[850px] max-w-[850px] mx-auto shadow-elevation-2 rounded",
135805
+ { "mt-0 md:!mt-16": t },
135806
+ { "md:!mt-16": !t },
135807
+ { "pt-20 md:!mt-[7.5rem]": b && !t },
135808
+ { "pt-6 md:!mt-16": !b && !t }
135803
135809
  ),
135804
135810
  style: {
135805
135811
  height: D && !t ? "calc(100vh - 4rem)" : "95vh"
@@ -135834,7 +135840,7 @@ const n1t = /* @__PURE__ */ Wm(t1t), r1t = ({
135834
135840
  f == null || f(I);
135835
135841
  },
135836
135842
  variant: "ghost",
135837
- className: Vt(
135843
+ className: _t(
135838
135844
  "absolute w-12 h-12 bg-white rounded-full shadow-xl top-[70px] right-[-23px]"
135839
135845
  ),
135840
135846
  children: /* @__PURE__ */ _.jsx($e, { name: "MessageSquareText", size: "sm" })
@@ -135846,7 +135852,7 @@ const n1t = /* @__PURE__ */ Wm(t1t), r1t = ({
135846
135852
  !t && !p && /* @__PURE__ */ _.jsx(
135847
135853
  "div",
135848
135854
  {
135849
- className: Vt(
135855
+ className: _t(
135850
135856
  "flex xl:hidden items-center w-full h-[52px] absolute left-0 z-10 px-4 bg-[#ffffff] transition-all duration-300 ease-in-out border-b border-color-default",
135851
135857
  x && "hidden",
135852
135858
  { "top-14": b, "top-0": !b }