@fileverse-dev/ddoc 4.2.2 → 4.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index-Bp_56yR_.mjs → index-B59aQPXt.mjs} +1 -1
- package/dist/{index-Tg2gzbb_.mjs → index-DU4ChFqp.mjs} +239 -278
- package/dist/index.es.js +1 -1
- package/dist/{markdown-source-pane-CVRxw9T-.mjs → markdown-source-pane-bDzJJavW.mjs} +2 -2
- package/dist/{split-view-toolbar-CUVhk_wq.mjs → split-view-toolbar-fzF0a8Qb.mjs} +2 -2
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ var Ge = (e, t, n) => Bre(e, typeof t != "symbol" ? t + "" : t, n);
|
|
|
4
4
|
import * as Qn from "react";
|
|
5
5
|
import Mt, { useContext as mp, useState as Ne, useLayoutEffect as $s, useEffect as _e, useDebugValue as SU, createContext as Cf, createRef as Nre, memo as Af, createElement as Uh, version as __, useRef as Se, forwardRef as Yn, useMemo as vt, useImperativeHandle as U8, useCallback as Ce, useSyncExternalStore as Mre, Fragment as Ire, Component as Ore, cloneElement as TU, useId as Rre, useReducer as jU, lazy as BU, Suspense as S_ } from "react";
|
|
6
6
|
import NU, { flushSync as Lre, createPortal as _f } from "react-dom";
|
|
7
|
-
import { Drawer as MU, DrawerContent as Ure, DrawerHeader as Pre, DrawerTitle as zre, DrawerClose as $re, LucideIcon as
|
|
7
|
+
import { Drawer as MU, DrawerContent as Ure, DrawerHeader as Pre, DrawerTitle as zre, DrawerClose as $re, LucideIcon as Le, Button as Nt, TextField as za, useTheme as IU, DropdownMenuItem as $i, DynamicDropdown as ii, Tooltip as yn, IconButton as Ut, Dialog as Hre, DialogContent as Wre, cn as Ye, DialogHeader as qre, DialogTitle as Vre, DialogFooter as Kre, DialogClose as Gre, Skeleton as nr, Avatar as sa, PopoverClose as Qx, TextAreaFieldV2 as cc, DynamicModal as P8, Select as $d, SelectTrigger as Hd, SelectValue as Ph, SelectContent as Wd, SelectItem as qd, DropdownMenu as eu, DropdownMenuTrigger as tu, DropdownMenuContent as nu, DropdownMenuSub as T_, DropdownMenuSubTrigger as j_, DropdownMenuSubContent as B_, Popover as Sf, PopoverTrigger as Kg, PopoverContent as Tf, Divider as z8, SelectGroup as OU, SelectLabel as Xre, Toggle as Yre, toast as ev, Checkbox as Zre, DrawerTrigger as N_, AnimatedLoader as Jre, Label as Qre, DynamicDropdownV2 as RU, DynamicDrawerV2 as eoe, BottomDrawer as toe, ButtonGroup as noe, UltimateIcons as roe, PopoverAnchor as ooe, Tag as qb, TagInput as LU } from "@fileverse/ui";
|
|
8
8
|
import { createPublicClient as ioe, http as soe, isAddress as aoe, isHex as loe } from "viem";
|
|
9
9
|
import { mainnet as uoe } from "viem/chains";
|
|
10
10
|
import { motion as Hs, AnimatePresence as bp, MotionConfig as coe } from "framer-motion";
|
|
@@ -84,16 +84,16 @@ function Eoe() {
|
|
|
84
84
|
var b = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
85
85
|
function y(xe) {
|
|
86
86
|
{
|
|
87
|
-
for (var Oe = arguments.length,
|
|
88
|
-
|
|
89
|
-
F("error", xe,
|
|
87
|
+
for (var Oe = arguments.length, Ue = new Array(Oe > 1 ? Oe - 1 : 0), ft = 1; ft < Oe; ft++)
|
|
88
|
+
Ue[ft - 1] = arguments[ft];
|
|
89
|
+
F("error", xe, Ue);
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
|
-
function F(xe, Oe,
|
|
92
|
+
function F(xe, Oe, Ue) {
|
|
93
93
|
{
|
|
94
94
|
var ft = b.ReactDebugCurrentFrame, Qt = ft.getStackAddendum();
|
|
95
|
-
Qt !== "" && (Oe += "%s",
|
|
96
|
-
var rn =
|
|
95
|
+
Qt !== "" && (Oe += "%s", Ue = Ue.concat([Qt]));
|
|
96
|
+
var rn = Ue.map(function(St) {
|
|
97
97
|
return String(St);
|
|
98
98
|
});
|
|
99
99
|
rn.unshift("Warning: " + Oe), Function.prototype.apply.call(console[xe], console, rn);
|
|
@@ -108,12 +108,12 @@ function Eoe() {
|
|
|
108
108
|
// with.
|
|
109
109
|
xe.$$typeof === A || xe.getModuleId !== void 0));
|
|
110
110
|
}
|
|
111
|
-
function M(xe, Oe,
|
|
111
|
+
function M(xe, Oe, Ue) {
|
|
112
112
|
var ft = xe.displayName;
|
|
113
113
|
if (ft)
|
|
114
114
|
return ft;
|
|
115
115
|
var Qt = Oe.displayName || Oe.name || "";
|
|
116
|
-
return Qt !== "" ?
|
|
116
|
+
return Qt !== "" ? Ue + "(" + Qt + ")" : Ue;
|
|
117
117
|
}
|
|
118
118
|
function _(xe) {
|
|
119
119
|
return xe.displayName || "Context";
|
|
@@ -145,8 +145,8 @@ function Eoe() {
|
|
|
145
145
|
var Oe = xe;
|
|
146
146
|
return _(Oe) + ".Consumer";
|
|
147
147
|
case s:
|
|
148
|
-
var
|
|
149
|
-
return _(
|
|
148
|
+
var Ue = xe;
|
|
149
|
+
return _(Ue._context) + ".Provider";
|
|
150
150
|
case l:
|
|
151
151
|
return M(xe, xe.render, "ForwardRef");
|
|
152
152
|
case d:
|
|
@@ -226,7 +226,7 @@ function Eoe() {
|
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
var Q = b.ReactCurrentDispatcher, le;
|
|
229
|
-
function G(xe, Oe,
|
|
229
|
+
function G(xe, Oe, Ue) {
|
|
230
230
|
{
|
|
231
231
|
if (le === void 0)
|
|
232
232
|
try {
|
|
@@ -248,9 +248,9 @@ function Eoe() {
|
|
|
248
248
|
if (!xe || Y)
|
|
249
249
|
return "";
|
|
250
250
|
{
|
|
251
|
-
var
|
|
252
|
-
if (
|
|
253
|
-
return
|
|
251
|
+
var Ue = B.get(xe);
|
|
252
|
+
if (Ue !== void 0)
|
|
253
|
+
return Ue;
|
|
254
254
|
}
|
|
255
255
|
var ft;
|
|
256
256
|
Y = !0;
|
|
@@ -315,14 +315,14 @@ function Eoe() {
|
|
|
315
315
|
var je = xe ? xe.displayName || xe.name : "", Re = je ? G(je) : "";
|
|
316
316
|
return typeof xe == "function" && B.set(xe, Re), Re;
|
|
317
317
|
}
|
|
318
|
-
function oe(xe, Oe,
|
|
318
|
+
function oe(xe, Oe, Ue) {
|
|
319
319
|
return X(xe, !1);
|
|
320
320
|
}
|
|
321
321
|
function j(xe) {
|
|
322
322
|
var Oe = xe.prototype;
|
|
323
323
|
return !!(Oe && Oe.isReactComponent);
|
|
324
324
|
}
|
|
325
|
-
function ie(xe, Oe,
|
|
325
|
+
function ie(xe, Oe, Ue) {
|
|
326
326
|
if (xe == null)
|
|
327
327
|
return "";
|
|
328
328
|
if (typeof xe == "function")
|
|
@@ -340,11 +340,11 @@ function Eoe() {
|
|
|
340
340
|
case l:
|
|
341
341
|
return oe(xe.render);
|
|
342
342
|
case d:
|
|
343
|
-
return ie(xe.type, Oe,
|
|
343
|
+
return ie(xe.type, Oe, Ue);
|
|
344
344
|
case p: {
|
|
345
345
|
var ft = xe, Qt = ft._payload, rn = ft._init;
|
|
346
346
|
try {
|
|
347
|
-
return ie(rn(Qt), Oe,
|
|
347
|
+
return ie(rn(Qt), Oe, Ue);
|
|
348
348
|
} catch {
|
|
349
349
|
}
|
|
350
350
|
}
|
|
@@ -354,12 +354,12 @@ function Eoe() {
|
|
|
354
354
|
var se = Object.prototype.hasOwnProperty, K = {}, ee = b.ReactDebugCurrentFrame;
|
|
355
355
|
function ce(xe) {
|
|
356
356
|
if (xe) {
|
|
357
|
-
var Oe = xe._owner,
|
|
358
|
-
ee.setExtraStackFrame(
|
|
357
|
+
var Oe = xe._owner, Ue = ie(xe.type, xe._source, Oe ? Oe.type : null);
|
|
358
|
+
ee.setExtraStackFrame(Ue);
|
|
359
359
|
} else
|
|
360
360
|
ee.setExtraStackFrame(null);
|
|
361
361
|
}
|
|
362
|
-
function ge(xe, Oe,
|
|
362
|
+
function ge(xe, Oe, Ue, ft, Qt) {
|
|
363
363
|
{
|
|
364
364
|
var rn = Function.call.bind(se);
|
|
365
365
|
for (var St in xe)
|
|
@@ -367,14 +367,14 @@ function Eoe() {
|
|
|
367
367
|
var It = void 0;
|
|
368
368
|
try {
|
|
369
369
|
if (typeof xe[St] != "function") {
|
|
370
|
-
var Fn = Error((ft || "React class") + ": " +
|
|
370
|
+
var Fn = Error((ft || "React class") + ": " + Ue + " type `" + St + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof xe[St] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
371
371
|
throw Fn.name = "Invariant Violation", Fn;
|
|
372
372
|
}
|
|
373
|
-
It = xe[St](Oe, St, ft,
|
|
373
|
+
It = xe[St](Oe, St, ft, Ue, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
374
374
|
} catch (on) {
|
|
375
375
|
It = on;
|
|
376
376
|
}
|
|
377
|
-
It && !(It instanceof Error) && (ce(Qt), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ft || "React class",
|
|
377
|
+
It && !(It instanceof Error) && (ce(Qt), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ft || "React class", Ue, St, typeof It), ce(null)), It instanceof Error && !(It.message in K) && (K[It.message] = !0, ce(Qt), y("Failed %s type: %s", Ue, It.message), ce(null));
|
|
378
378
|
}
|
|
379
379
|
}
|
|
380
380
|
}
|
|
@@ -384,8 +384,8 @@ function Eoe() {
|
|
|
384
384
|
}
|
|
385
385
|
function de(xe) {
|
|
386
386
|
{
|
|
387
|
-
var Oe = typeof Symbol == "function" && Symbol.toStringTag,
|
|
388
|
-
return
|
|
387
|
+
var Oe = typeof Symbol == "function" && Symbol.toStringTag, Ue = Oe && xe[Symbol.toStringTag] || xe.constructor.name || "Object";
|
|
388
|
+
return Ue;
|
|
389
389
|
}
|
|
390
390
|
}
|
|
391
391
|
function pe(xe) {
|
|
@@ -429,34 +429,34 @@ function Eoe() {
|
|
|
429
429
|
}
|
|
430
430
|
function fe(xe, Oe) {
|
|
431
431
|
{
|
|
432
|
-
var
|
|
432
|
+
var Ue = function() {
|
|
433
433
|
ue || (ue = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", Oe));
|
|
434
434
|
};
|
|
435
|
-
|
|
436
|
-
get:
|
|
435
|
+
Ue.isReactWarning = !0, Object.defineProperty(xe, "key", {
|
|
436
|
+
get: Ue,
|
|
437
437
|
configurable: !0
|
|
438
438
|
});
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
441
|
function Te(xe, Oe) {
|
|
442
442
|
{
|
|
443
|
-
var
|
|
443
|
+
var Ue = function() {
|
|
444
444
|
me || (me = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", Oe));
|
|
445
445
|
};
|
|
446
|
-
|
|
447
|
-
get:
|
|
446
|
+
Ue.isReactWarning = !0, Object.defineProperty(xe, "ref", {
|
|
447
|
+
get: Ue,
|
|
448
448
|
configurable: !0
|
|
449
449
|
});
|
|
450
450
|
}
|
|
451
451
|
}
|
|
452
|
-
var Ie = function(xe, Oe,
|
|
452
|
+
var Ie = function(xe, Oe, Ue, ft, Qt, rn, St) {
|
|
453
453
|
var It = {
|
|
454
454
|
// This tag allows us to uniquely identify this as a React Element
|
|
455
455
|
$$typeof: t,
|
|
456
456
|
// Built-in properties that belong on the element
|
|
457
457
|
type: xe,
|
|
458
458
|
key: Oe,
|
|
459
|
-
ref:
|
|
459
|
+
ref: Ue,
|
|
460
460
|
props: St,
|
|
461
461
|
// Record the component responsible for creating this element.
|
|
462
462
|
_owner: rn
|
|
@@ -478,10 +478,10 @@ function Eoe() {
|
|
|
478
478
|
value: Qt
|
|
479
479
|
}), Object.freeze && (Object.freeze(It.props), Object.freeze(It)), It;
|
|
480
480
|
};
|
|
481
|
-
function $e(xe, Oe,
|
|
481
|
+
function $e(xe, Oe, Ue, ft, Qt) {
|
|
482
482
|
{
|
|
483
483
|
var rn, St = {}, It = null, Fn = null;
|
|
484
|
-
|
|
484
|
+
Ue !== void 0 && (R(Ue), It = "" + Ue), ke(Oe) && (R(Oe.key), It = "" + Oe.key), be(Oe) && (Fn = Oe.ref, Ee(Oe, Qt));
|
|
485
485
|
for (rn in Oe)
|
|
486
486
|
se.call(Oe, rn) && !te.hasOwnProperty(rn) && (St[rn] = Oe[rn]);
|
|
487
487
|
if (xe && xe.defaultProps) {
|
|
@@ -499,8 +499,8 @@ function Eoe() {
|
|
|
499
499
|
var Ke = b.ReactCurrentOwner, yt = b.ReactDebugCurrentFrame;
|
|
500
500
|
function xt(xe) {
|
|
501
501
|
if (xe) {
|
|
502
|
-
var Oe = xe._owner,
|
|
503
|
-
yt.setExtraStackFrame(
|
|
502
|
+
var Oe = xe._owner, Ue = ie(xe.type, xe._source, Oe ? Oe.type : null);
|
|
503
|
+
yt.setExtraStackFrame(Ue);
|
|
504
504
|
} else
|
|
505
505
|
yt.setExtraStackFrame(null);
|
|
506
506
|
}
|
|
@@ -529,10 +529,10 @@ Check the render method of \`` + xe + "`.";
|
|
|
529
529
|
{
|
|
530
530
|
var Oe = ct();
|
|
531
531
|
if (!Oe) {
|
|
532
|
-
var
|
|
533
|
-
|
|
532
|
+
var Ue = typeof xe == "string" ? xe : xe.displayName || xe.name;
|
|
533
|
+
Ue && (Oe = `
|
|
534
534
|
|
|
535
|
-
Check the top-level render call using <` +
|
|
535
|
+
Check the top-level render call using <` + Ue + ">.");
|
|
536
536
|
}
|
|
537
537
|
return Oe;
|
|
538
538
|
}
|
|
@@ -542,12 +542,12 @@ Check the top-level render call using <` + Le + ">.");
|
|
|
542
542
|
if (!xe._store || xe._store.validated || xe.key != null)
|
|
543
543
|
return;
|
|
544
544
|
xe._store.validated = !0;
|
|
545
|
-
var
|
|
546
|
-
if (Kt[
|
|
545
|
+
var Ue = bt(Oe);
|
|
546
|
+
if (Kt[Ue])
|
|
547
547
|
return;
|
|
548
|
-
Kt[
|
|
548
|
+
Kt[Ue] = !0;
|
|
549
549
|
var ft = "";
|
|
550
|
-
xe && xe._owner && xe._owner !== Ke.current && (ft = " It was passed a child from " + O(xe._owner.type) + "."), xt(xe), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',
|
|
550
|
+
xe && xe._owner && xe._owner !== Ke.current && (ft = " It was passed a child from " + O(xe._owner.type) + "."), xt(xe), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Ue, ft), xt(null);
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
function jt(xe, Oe) {
|
|
@@ -555,8 +555,8 @@ Check the top-level render call using <` + Le + ">.");
|
|
|
555
555
|
if (typeof xe != "object")
|
|
556
556
|
return;
|
|
557
557
|
if (he(xe))
|
|
558
|
-
for (var
|
|
559
|
-
var ft = xe[
|
|
558
|
+
for (var Ue = 0; Ue < xe.length; Ue++) {
|
|
559
|
+
var ft = xe[Ue];
|
|
560
560
|
Ht(ft) && _t(ft, Oe);
|
|
561
561
|
}
|
|
562
562
|
else if (Ht(xe))
|
|
@@ -574,18 +574,18 @@ Check the top-level render call using <` + Le + ">.");
|
|
|
574
574
|
var Oe = xe.type;
|
|
575
575
|
if (Oe == null || typeof Oe == "string")
|
|
576
576
|
return;
|
|
577
|
-
var
|
|
577
|
+
var Ue;
|
|
578
578
|
if (typeof Oe == "function")
|
|
579
|
-
|
|
579
|
+
Ue = Oe.propTypes;
|
|
580
580
|
else if (typeof Oe == "object" && (Oe.$$typeof === l || // Note: Memo only checks outer props here.
|
|
581
581
|
// Inner props are checked in the reconciler.
|
|
582
582
|
Oe.$$typeof === d))
|
|
583
|
-
|
|
583
|
+
Ue = Oe.propTypes;
|
|
584
584
|
else
|
|
585
585
|
return;
|
|
586
|
-
if (
|
|
586
|
+
if (Ue) {
|
|
587
587
|
var ft = O(Oe);
|
|
588
|
-
ge(
|
|
588
|
+
ge(Ue, xe.props, "prop", ft, xe);
|
|
589
589
|
} else if (Oe.PropTypes !== void 0 && !$t) {
|
|
590
590
|
$t = !0;
|
|
591
591
|
var Qt = O(Oe);
|
|
@@ -596,8 +596,8 @@ Check the top-level render call using <` + Le + ">.");
|
|
|
596
596
|
}
|
|
597
597
|
function et(xe) {
|
|
598
598
|
{
|
|
599
|
-
for (var Oe = Object.keys(xe.props),
|
|
600
|
-
var ft = Oe[
|
|
599
|
+
for (var Oe = Object.keys(xe.props), Ue = 0; Ue < Oe.length; Ue++) {
|
|
600
|
+
var ft = Oe[Ue];
|
|
601
601
|
if (ft !== "children" && ft !== "key") {
|
|
602
602
|
xt(xe), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", ft), xt(null);
|
|
603
603
|
break;
|
|
@@ -607,7 +607,7 @@ Check the top-level render call using <` + Le + ">.");
|
|
|
607
607
|
}
|
|
608
608
|
}
|
|
609
609
|
var wt = {};
|
|
610
|
-
function ht(xe, Oe,
|
|
610
|
+
function ht(xe, Oe, Ue, ft, Qt, rn) {
|
|
611
611
|
{
|
|
612
612
|
var St = N(xe);
|
|
613
613
|
if (!St) {
|
|
@@ -618,7 +618,7 @@ Check the top-level render call using <` + Le + ">.");
|
|
|
618
618
|
var on;
|
|
619
619
|
xe === null ? on = "null" : he(xe) ? on = "array" : xe !== void 0 && xe.$$typeof === t ? (on = "<" + (O(xe.type) || "Unknown") + " />", It = " Did you accidentally export a JSX literal instead of a component?") : on = typeof xe, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", on, It);
|
|
620
620
|
}
|
|
621
|
-
var rt = $e(xe, Oe,
|
|
621
|
+
var rt = $e(xe, Oe, Ue, Qt, rn);
|
|
622
622
|
if (rt == null)
|
|
623
623
|
return rt;
|
|
624
624
|
if (St) {
|
|
@@ -651,11 +651,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
651
651
|
return xe === r ? et(rt) : Qe(rt), rt;
|
|
652
652
|
}
|
|
653
653
|
}
|
|
654
|
-
function bn(xe, Oe,
|
|
655
|
-
return ht(xe, Oe,
|
|
654
|
+
function bn(xe, Oe, Ue) {
|
|
655
|
+
return ht(xe, Oe, Ue, !0);
|
|
656
656
|
}
|
|
657
|
-
function Ct(xe, Oe,
|
|
658
|
-
return ht(xe, Oe,
|
|
657
|
+
function Ct(xe, Oe, Ue) {
|
|
658
|
+
return ht(xe, Oe, Ue, !1);
|
|
659
659
|
}
|
|
660
660
|
var nt = Ct, pn = bn;
|
|
661
661
|
u0.Fragment = r, u0.jsx = nt, u0.jsxs = pn;
|
|
@@ -29434,7 +29434,7 @@ const dge = (e) => e.handleInlineComment, pge = (e) => e.isInlineCommentAvailabl
|
|
|
29434
29434
|
children: [
|
|
29435
29435
|
/* @__PURE__ */ x.jsx(Pre, { className: "p-4", children: /* @__PURE__ */ x.jsxs(zre, { className: "flex justify-between items-center text-left sm:text-center text-base", children: [
|
|
29436
29436
|
e,
|
|
29437
|
-
/* @__PURE__ */ x.jsx($re, { children: /* @__PURE__ */ x.jsx(
|
|
29437
|
+
/* @__PURE__ */ x.jsx($re, { children: /* @__PURE__ */ x.jsx(Le, { name: "X", size: "sm" }) })
|
|
29438
29438
|
] }) }),
|
|
29439
29439
|
/* @__PURE__ */ x.jsx(
|
|
29440
29440
|
"div",
|
|
@@ -45892,8 +45892,8 @@ const Vbe = /* @__PURE__ */ Sc(qbe), p0 = () => {
|
|
|
45892
45892
|
}
|
|
45893
45893
|
const _t = Ht, jt = (ct == null ? void 0 : ct.commentId) ?? null, Qe = jt ?? (_t == null ? void 0 : _t.id) ?? null, et = (jt ? ct == null ? void 0 : ct.resolved : void 0) ?? (_t == null ? void 0 : _t.resolved) ?? !1, wt = !!(jt && !et), ht = !!(_t && !_t.resolved), bn = !!Qe, Ct = !!Qe && et, nt = !!(Te != null && Te.getMeta(dW)), pn = L ? Ie.floatingCards.find(
|
|
45894
45894
|
(on) => on.type === "thread" && on.isFocused
|
|
45895
|
-
) : null, xe = (pn == null ? void 0 : pn.type) === "thread" ? pn.commentId : null, Oe = !Qe || (L ? !xe || xe === Qe : Ie.openReplyId === Qe) || ze || nt,
|
|
45896
|
-
if (Qt && (W = bn, Ie.setIsCommentActive(bn)), rn && (te = Ct, Ie.setIsCommentResolved(Ct)), Qe && Oe && !
|
|
45895
|
+
) : null, xe = (pn == null ? void 0 : pn.type) === "thread" ? pn.commentId : null, Oe = !Qe || (L ? !xe || xe === Qe : Ie.openReplyId === Qe) || ze || nt, Ue = !!(r && Qe && ze && !nt), ft = !!(Qe && !Ue && Oe && L && (wt || ht)), Qt = bn !== W, rn = Ct !== te;
|
|
45896
|
+
if (Qt && (W = bn, Ie.setIsCommentActive(bn)), rn && (te = Ct, Ie.setIsCommentResolved(Ct)), Qe && Oe && !Ue) {
|
|
45897
45897
|
const on = !L && !!(ze || Ie.openReplyId !== Qe);
|
|
45898
45898
|
Ie.activeCommentId !== Qe && Ie.setActiveCommentId(Qe), L || (Ie.setOpenReplyId(Qe), (Fn = Ie.setCommentDrawerOpen) == null || Fn.call(Ie, !0), on && oe(Qe));
|
|
45899
45899
|
}
|
|
@@ -49548,7 +49548,7 @@ function fV() {
|
|
|
49548
49548
|
);
|
|
49549
49549
|
}, Oe = function(Fe) {
|
|
49550
49550
|
return Fe instanceof d && (typeof Fe.nodeName != "string" || typeof Fe.textContent != "string" || typeof Fe.removeChild != "function" || !(Fe.attributes instanceof c) || typeof Fe.removeAttribute != "function" || typeof Fe.setAttribute != "function" || typeof Fe.namespaceURI != "string" || typeof Fe.insertBefore != "function" || typeof Fe.hasChildNodes != "function");
|
|
49551
|
-
},
|
|
49551
|
+
}, Ue = function(Fe) {
|
|
49552
49552
|
return typeof a == "function" && Fe instanceof a;
|
|
49553
49553
|
};
|
|
49554
49554
|
function ft(rt, Fe, je) {
|
|
@@ -49564,7 +49564,7 @@ function fV() {
|
|
|
49564
49564
|
if (ft(M.uponSanitizeElement, Fe, {
|
|
49565
49565
|
tagName: Re,
|
|
49566
49566
|
allowedTags: L
|
|
49567
|
-
}), j && Fe.hasChildNodes() && !
|
|
49567
|
+
}), j && Fe.hasChildNodes() && !Ue(Fe.firstElementChild) && eo(/<[/\w!]/g, Fe.innerHTML) && eo(/<[/\w!]/g, Fe.textContent) || j && Fe.namespaceURI === Te && Re === "style" && Ue(Fe.firstElementChild) || Fe.nodeType === m0.progressingInstruction || j && Fe.nodeType === m0.comment && eo(/<[/\w]/g, Fe.data))
|
|
49568
49568
|
return Ct(Fe), !0;
|
|
49569
49569
|
if (Q[Re] || !(G.tagCheck instanceof Function && G.tagCheck(Re)) && !L[Re]) {
|
|
49570
49570
|
if (!Q[Re] && It(Re) && (J.tagNameCheck instanceof RegExp && eo(J.tagNameCheck, Re) || J.tagNameCheck instanceof Function && J.tagNameCheck(Re)))
|
|
@@ -49692,7 +49692,7 @@ function fV() {
|
|
|
49692
49692
|
};
|
|
49693
49693
|
return t.sanitize = function(rt) {
|
|
49694
49694
|
let Fe = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, je = null, Re = null, ot = null, mt = null;
|
|
49695
|
-
if ($e = !rt, $e && (rt = "<!-->"), typeof rt != "string" && !
|
|
49695
|
+
if ($e = !rt, $e && (rt = "<!-->"), typeof rt != "string" && !Ue(rt) && (rt = Wve(rt), typeof rt != "string"))
|
|
49696
49696
|
throw x2("dirty is not a string, aborting");
|
|
49697
49697
|
if (!t.isSupported)
|
|
49698
49698
|
return rt;
|
|
@@ -53212,7 +53212,7 @@ const Na = {
|
|
|
53212
53212
|
r.code
|
|
53213
53213
|
),
|
|
53214
53214
|
children: /* @__PURE__ */ x.jsx(
|
|
53215
|
-
|
|
53215
|
+
Le,
|
|
53216
53216
|
{
|
|
53217
53217
|
name: "Check",
|
|
53218
53218
|
className: Je(
|
|
@@ -53238,7 +53238,7 @@ const Na = {
|
|
|
53238
53238
|
},
|
|
53239
53239
|
className: "w-full justify-start mt-2 gap-1 !p-1 h-fit",
|
|
53240
53240
|
children: [
|
|
53241
|
-
/* @__PURE__ */ x.jsx(
|
|
53241
|
+
/* @__PURE__ */ x.jsx(Le, { name: "Ban", className: "w-[18px] aspect-square" }),
|
|
53242
53242
|
/* @__PURE__ */ x.jsx("span", { children: "None" })
|
|
53243
53243
|
]
|
|
53244
53244
|
}
|
|
@@ -53342,7 +53342,7 @@ const Na = {
|
|
|
53342
53342
|
"rounded w-8 h-8 p-1 flex justify-center items-center cursor-pointer transition",
|
|
53343
53343
|
t.isActive({ textAlign: "left" }) ? "color-bg-brand xl:hover:brightness-90 color-text-on-brand" : "hover:color-bg-default-hover"
|
|
53344
53344
|
),
|
|
53345
|
-
children: /* @__PURE__ */ x.jsx(
|
|
53345
|
+
children: /* @__PURE__ */ x.jsx(Le, { name: "AlignLeft" })
|
|
53346
53346
|
}
|
|
53347
53347
|
),
|
|
53348
53348
|
/* @__PURE__ */ x.jsx(
|
|
@@ -53356,7 +53356,7 @@ const Na = {
|
|
|
53356
53356
|
"rounded w-8 h-8 p-1 flex justify-center items-center cursor-pointer transition",
|
|
53357
53357
|
t.isActive({ textAlign: "center" }) ? "color-bg-brand xl:hover:brightness-90 color-text-on-brand" : "hover:color-bg-default-hover"
|
|
53358
53358
|
),
|
|
53359
|
-
children: /* @__PURE__ */ x.jsx(
|
|
53359
|
+
children: /* @__PURE__ */ x.jsx(Le, { name: "AlignCenter" })
|
|
53360
53360
|
}
|
|
53361
53361
|
),
|
|
53362
53362
|
/* @__PURE__ */ x.jsx(
|
|
@@ -53370,7 +53370,7 @@ const Na = {
|
|
|
53370
53370
|
"rounded w-8 h-8 p-1 flex justify-center items-center cursor-pointer transition",
|
|
53371
53371
|
t.isActive({ textAlign: "right" }) ? "color-bg-brand xl:hover:brightness-90 color-text-on-brand" : "hover:color-bg-default-hover"
|
|
53372
53372
|
),
|
|
53373
|
-
children: /* @__PURE__ */ x.jsx(
|
|
53373
|
+
children: /* @__PURE__ */ x.jsx(Le, { name: "AlignRight" })
|
|
53374
53374
|
}
|
|
53375
53375
|
),
|
|
53376
53376
|
/* @__PURE__ */ x.jsx(
|
|
@@ -53384,7 +53384,7 @@ const Na = {
|
|
|
53384
53384
|
"rounded w-8 h-8 p-1 flex justify-center items-center cursor-pointer transition",
|
|
53385
53385
|
t.isActive({ textAlign: "justify" }) ? "color-bg-brand xl:hover:brightness-90 color-text-on-brand" : "hover:color-bg-default-hover"
|
|
53386
53386
|
),
|
|
53387
|
-
children: /* @__PURE__ */ x.jsx(
|
|
53387
|
+
children: /* @__PURE__ */ x.jsx(Le, { name: "AlignJustify" })
|
|
53388
53388
|
}
|
|
53389
53389
|
)
|
|
53390
53390
|
]
|
|
@@ -53484,10 +53484,10 @@ const Na = {
|
|
|
53484
53484
|
),
|
|
53485
53485
|
children: [
|
|
53486
53486
|
/* @__PURE__ */ x.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
53487
|
-
/* @__PURE__ */ x.jsx("div", { className: "rounded color-bg-default color-text-default p-1", children: /* @__PURE__ */ x.jsx(
|
|
53487
|
+
/* @__PURE__ */ x.jsx("div", { className: "rounded color-bg-default color-text-default p-1", children: /* @__PURE__ */ x.jsx(Le, { name: r.icon, size: "sm" }) }),
|
|
53488
53488
|
/* @__PURE__ */ x.jsx("span", { children: r.title })
|
|
53489
53489
|
] }),
|
|
53490
|
-
r.isActive() && /* @__PURE__ */ x.jsx(
|
|
53490
|
+
r.isActive() && /* @__PURE__ */ x.jsx(Le, { name: "Check", size: "sm", className: "ml-2" })
|
|
53491
53491
|
]
|
|
53492
53492
|
},
|
|
53493
53493
|
r.title
|
|
@@ -53520,7 +53520,7 @@ const Na = {
|
|
|
53520
53520
|
),
|
|
53521
53521
|
style: { backgroundColor: a },
|
|
53522
53522
|
children: /* @__PURE__ */ x.jsx(
|
|
53523
|
-
|
|
53523
|
+
Le,
|
|
53524
53524
|
{
|
|
53525
53525
|
name: "Check",
|
|
53526
53526
|
className: Je(
|
|
@@ -53546,7 +53546,7 @@ const Na = {
|
|
|
53546
53546
|
},
|
|
53547
53547
|
className: "w-full justify-center mt-2 gap-1 !p-1 h-fit min-w-fit",
|
|
53548
53548
|
children: [
|
|
53549
|
-
/* @__PURE__ */ x.jsx(
|
|
53549
|
+
/* @__PURE__ */ x.jsx(Le, { name: "Ban", className: "w-[18px] aspect-square" }),
|
|
53550
53550
|
/* @__PURE__ */ x.jsx("span", { children: "None" })
|
|
53551
53551
|
]
|
|
53552
53552
|
}
|
|
@@ -53607,7 +53607,7 @@ const Na = {
|
|
|
53607
53607
|
n.isActive() && "!bg-[hsl(var(--color-bg-brand))]"
|
|
53608
53608
|
),
|
|
53609
53609
|
children: [
|
|
53610
|
-
/* @__PURE__ */ x.jsx("div", { className: "flex h-10 w-10 items-center justify-center rounded color-bg-default color-text-default", children: /* @__PURE__ */ x.jsx(
|
|
53610
|
+
/* @__PURE__ */ x.jsx("div", { className: "flex h-10 w-10 items-center justify-center rounded color-bg-default color-text-default", children: /* @__PURE__ */ x.jsx(Le, { name: n.icon, size: "md" }) }),
|
|
53611
53611
|
/* @__PURE__ */ x.jsxs("div", { children: [
|
|
53612
53612
|
/* @__PURE__ */ x.jsx("p", { className: "font-medium", children: n.title }),
|
|
53613
53613
|
/* @__PURE__ */ x.jsxs("p", { className: "text-xs text-stone-500", children: [
|
|
@@ -53686,7 +53686,7 @@ const Na = {
|
|
|
53686
53686
|
}
|
|
53687
53687
|
),
|
|
53688
53688
|
children: [
|
|
53689
|
-
n === i.value ? /* @__PURE__ */ x.jsx(
|
|
53689
|
+
n === i.value ? /* @__PURE__ */ x.jsx(Le, { name: "Check", size: "sm" }) : /* @__PURE__ */ x.jsx("div", { className: "w-4" }),
|
|
53690
53690
|
/* @__PURE__ */ x.jsx("span", { className: "font-medium", children: i.label }),
|
|
53691
53691
|
/* @__PURE__ */ x.jsx("span", { className: "text-xs color-text-secondary", children: i.description })
|
|
53692
53692
|
]
|
|
@@ -53947,7 +53947,7 @@ const Na = {
|
|
|
53947
53947
|
"hover:color-bg-default-hover": !u.isActive()
|
|
53948
53948
|
}
|
|
53949
53949
|
),
|
|
53950
|
-
children: /* @__PURE__ */ x.jsx(
|
|
53950
|
+
children: /* @__PURE__ */ x.jsx(Le, { name: u.icon, size: "md" })
|
|
53951
53951
|
},
|
|
53952
53952
|
u.title
|
|
53953
53953
|
)) }),
|
|
@@ -53962,7 +53962,7 @@ const Na = {
|
|
|
53962
53962
|
"hover:color-bg-default-hover": !u.isActive()
|
|
53963
53963
|
}
|
|
53964
53964
|
),
|
|
53965
|
-
children: /* @__PURE__ */ x.jsx(
|
|
53965
|
+
children: /* @__PURE__ */ x.jsx(Le, { name: u.icon, size: "md" })
|
|
53966
53966
|
},
|
|
53967
53967
|
u.title
|
|
53968
53968
|
)) })
|
|
@@ -53979,7 +53979,7 @@ const Na = {
|
|
|
53979
53979
|
"hover:color-bg-default-hover": !u.isActive()
|
|
53980
53980
|
}
|
|
53981
53981
|
),
|
|
53982
|
-
children: /* @__PURE__ */ x.jsx(
|
|
53982
|
+
children: /* @__PURE__ */ x.jsx(Le, { name: u.icon, size: "sm" })
|
|
53983
53983
|
},
|
|
53984
53984
|
u.title
|
|
53985
53985
|
)) }),
|
|
@@ -53994,7 +53994,7 @@ const Na = {
|
|
|
53994
53994
|
"hover:color-bg-default-hover": !u.isActive()
|
|
53995
53995
|
}
|
|
53996
53996
|
),
|
|
53997
|
-
children: /* @__PURE__ */ x.jsx(
|
|
53997
|
+
children: /* @__PURE__ */ x.jsx(Le, { name: u.icon, size: "sm" })
|
|
53998
53998
|
},
|
|
53999
53999
|
u.title
|
|
54000
54000
|
)) })
|
|
@@ -54010,7 +54010,7 @@ const Na = {
|
|
|
54010
54010
|
"hover:color-bg-default-hover": !u.isActive()
|
|
54011
54011
|
}
|
|
54012
54012
|
),
|
|
54013
|
-
children: /* @__PURE__ */ x.jsx(
|
|
54013
|
+
children: /* @__PURE__ */ x.jsx(Le, { name: u.icon, size: "md" })
|
|
54014
54014
|
},
|
|
54015
54015
|
u.title
|
|
54016
54016
|
)) }),
|
|
@@ -54040,7 +54040,7 @@ const Na = {
|
|
|
54040
54040
|
onClick: () => {
|
|
54041
54041
|
e && e.chain().unsetColor().run();
|
|
54042
54042
|
},
|
|
54043
|
-
children: /* @__PURE__ */ x.jsx(
|
|
54043
|
+
children: /* @__PURE__ */ x.jsx(Le, { name: "Ban", className: "w-6 h-6" })
|
|
54044
54044
|
}
|
|
54045
54045
|
)
|
|
54046
54046
|
}
|
|
@@ -54062,7 +54062,7 @@ const Na = {
|
|
|
54062
54062
|
u.code
|
|
54063
54063
|
),
|
|
54064
54064
|
children: /* @__PURE__ */ x.jsx(
|
|
54065
|
-
|
|
54065
|
+
Le,
|
|
54066
54066
|
{
|
|
54067
54067
|
name: "Check",
|
|
54068
54068
|
className: Je(
|
|
@@ -54413,7 +54413,7 @@ const Na = {
|
|
|
54413
54413
|
onMouseDown: (o) => o.preventDefault(),
|
|
54414
54414
|
children: [
|
|
54415
54415
|
/* @__PURE__ */ x.jsx("span", { className: "text-body-sm truncate", children: r.name }),
|
|
54416
|
-
/* @__PURE__ */ x.jsx(
|
|
54416
|
+
/* @__PURE__ */ x.jsx(Le, { name: "ChevronDown", size: "sm", className: "mt-1" })
|
|
54417
54417
|
]
|
|
54418
54418
|
}
|
|
54419
54419
|
),
|
|
@@ -54438,10 +54438,10 @@ const Na = {
|
|
|
54438
54438
|
),
|
|
54439
54439
|
children: [
|
|
54440
54440
|
/* @__PURE__ */ x.jsxs("div", { className: "flex items-center space-x-2", children: [
|
|
54441
|
-
/* @__PURE__ */ x.jsx("div", { className: "rounded color-bg-default color-text-default p-1", children: /* @__PURE__ */ x.jsx(
|
|
54441
|
+
/* @__PURE__ */ x.jsx("div", { className: "rounded color-bg-default color-text-default p-1", children: /* @__PURE__ */ x.jsx(Le, { name: o.icon, size: "sm" }) }),
|
|
54442
54442
|
/* @__PURE__ */ x.jsx("span", { children: o.name })
|
|
54443
54443
|
] }),
|
|
54444
|
-
r.name === o.name && /* @__PURE__ */ x.jsx(
|
|
54444
|
+
r.name === o.name && /* @__PURE__ */ x.jsx(Le, { name: "Check", size: "sm" })
|
|
54445
54445
|
]
|
|
54446
54446
|
},
|
|
54447
54447
|
i
|
|
@@ -54497,7 +54497,7 @@ const Na = {
|
|
|
54497
54497
|
);
|
|
54498
54498
|
}
|
|
54499
54499
|
), As = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3cpath%20d='M0%2012C0%205.37258%205.37258%200%2012%200C18.6274%200%2024%205.37258%2024%2012C24%2018.6274%2018.6274%2024%2012%2024C5.37258%2024%200%2018.6274%200%2012Z'%20fill='url(%23pattern0_2594_44493)'/%3e%3cdefs%3e%3cpattern%20id='pattern0_2594_44493'%20patternContentUnits='objectBoundingBox'%20width='1'%20height='1'%3e%3cuse%20xlink:href='%23image0_2594_44493'%20transform='translate(0%20-0.0714286)%20scale(0.0102041)'/%3e%3c/pattern%3e%3cimage%20id='image0_2594_44493'%20width='98'%20height='112'%20xlink:href='data:image/png;base64,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'/%3e%3c/defs%3e%3c/svg%3e", Wf = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.76891%200.220314C7.29839%20-0.0734379%206.70161%20-0.0734378%206.23109%200.220314L4.81636%201.10354C4.68024%201.18851%204.53098%201.25034%204.37464%201.2865L2.74974%201.66233C2.20932%201.78733%201.78733%202.20932%201.66233%202.74974L1.2865%204.37464C1.25034%204.53098%201.18851%204.68024%201.10354%204.81636L0.220314%206.23109C-0.0734379%206.70161%20-0.0734378%207.29839%200.220314%207.76891L1.10354%209.18364C1.18851%209.31976%201.25034%209.46902%201.2865%209.62537L1.66233%2011.2503C1.78733%2011.7907%202.20932%2012.2127%202.74974%2012.3377L4.37464%2012.7135C4.53098%2012.7497%204.68024%2012.8115%204.81636%2012.8965L6.23109%2013.7797C6.70161%2014.0734%207.29839%2014.0734%207.76891%2013.7797L9.18364%2012.8965C9.31976%2012.8115%209.46902%2012.7497%209.62537%2012.7135L11.2503%2012.3377C11.7907%2012.2127%2012.2127%2011.7907%2012.3377%2011.2503L12.7135%209.62536C12.7497%209.46902%2012.8115%209.31976%2012.8965%209.18364L13.7797%207.76891C14.0734%207.29839%2014.0734%206.70161%2013.7797%206.23109L12.8965%204.81636C12.8115%204.68024%2012.7497%204.53098%2012.7135%204.37464L12.3377%202.74974C12.2127%202.20932%2011.7907%201.78733%2011.2503%201.66233L9.62537%201.2865C9.46902%201.25034%209.31976%201.18851%209.18364%201.10354L7.76891%200.220314ZM9.45472%204.37291C9.70279%204.12484%2010.105%204.12484%2010.3531%204.37291C10.6011%204.62098%2010.6011%205.02318%2010.3531%205.27126L6.36021%209.2641C6.11214%209.51218%205.70994%209.51218%205.46187%209.2641L3.64694%207.44917C3.39887%207.2011%203.39887%206.7989%203.64694%206.55083C3.89501%206.30276%204.29721%206.30276%204.54528%206.55083L5.91104%207.91659L9.45472%204.37291Z'%20fill='%234A99E9'/%3e%3c/svg%3e", Z4e = ({ size: e = "lg" }) => /* @__PURE__ */ x.jsx("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ x.jsx(
|
|
54500
|
-
|
|
54500
|
+
Le,
|
|
54501
54501
|
{
|
|
54502
54502
|
name: "LoaderCircle",
|
|
54503
54503
|
size: e,
|
|
@@ -54531,7 +54531,7 @@ const Na = {
|
|
|
54531
54531
|
children: [
|
|
54532
54532
|
/* @__PURE__ */ x.jsx(qre, { className: "space-md border-b-[1px]", children: /* @__PURE__ */ x.jsx(Vre, { className: "", children: /* @__PURE__ */ x.jsxs("div", { className: "flex items-center gap-4", children: [
|
|
54533
54533
|
/* @__PURE__ */ x.jsx(
|
|
54534
|
-
|
|
54534
|
+
Le,
|
|
54535
54535
|
{
|
|
54536
54536
|
stroke: "#FB3449",
|
|
54537
54537
|
name: "Info",
|
|
@@ -54817,7 +54817,7 @@ const Na = {
|
|
|
54817
54817
|
className: "flex items-center h-[32px] color-text-danger text-sm font-medium gap-[12px] rounded p-2 transition-all hover:color-bg-default-hover w-full",
|
|
54818
54818
|
onClick: () => u(!0),
|
|
54819
54819
|
children: [
|
|
54820
|
-
/* @__PURE__ */ x.jsx(
|
|
54820
|
+
/* @__PURE__ */ x.jsx(Le, { name: "Trash2", size: "sm", stroke: "#FB3449" }),
|
|
54821
54821
|
/* @__PURE__ */ x.jsx("p", { className: "text-body-sm color-text-danger", children: "Delete" })
|
|
54822
54822
|
]
|
|
54823
54823
|
}
|
|
@@ -55063,7 +55063,7 @@ const Na = {
|
|
|
55063
55063
|
className: "flex items-center h-[32px] color-text-default gap-[12px] rounded p-2 transition-all hover:color-bg-default-hover w-full",
|
|
55064
55064
|
onClick: _,
|
|
55065
55065
|
children: [
|
|
55066
|
-
/* @__PURE__ */ x.jsx(
|
|
55066
|
+
/* @__PURE__ */ x.jsx(Le, { name: "RotateCcw", size: "sm" }),
|
|
55067
55067
|
/* @__PURE__ */ x.jsx("p", { className: "text-body-sm color-text-default", children: "Unresolve" })
|
|
55068
55068
|
]
|
|
55069
55069
|
}
|
|
@@ -55075,7 +55075,7 @@ const Na = {
|
|
|
55075
55075
|
onClick: N,
|
|
55076
55076
|
children: [
|
|
55077
55077
|
/* @__PURE__ */ x.jsx(
|
|
55078
|
-
|
|
55078
|
+
Le,
|
|
55079
55079
|
{
|
|
55080
55080
|
name: "Trash2",
|
|
55081
55081
|
size: "sm",
|
|
@@ -55363,7 +55363,7 @@ const Na = {
|
|
|
55363
55363
|
onClick: Y,
|
|
55364
55364
|
onTouchEnd: Y,
|
|
55365
55365
|
children: [
|
|
55366
|
-
/* @__PURE__ */ x.jsx(
|
|
55366
|
+
/* @__PURE__ */ x.jsx(Le, { name: "Trash2", size: "sm" }),
|
|
55367
55367
|
"Delete thread"
|
|
55368
55368
|
]
|
|
55369
55369
|
}
|
|
@@ -55830,7 +55830,7 @@ const Na = {
|
|
|
55830
55830
|
t ?? null,
|
|
55831
55831
|
f
|
|
55832
55832
|
) }),
|
|
55833
|
-
/* @__PURE__ */ x.jsx(
|
|
55833
|
+
/* @__PURE__ */ x.jsx(Le, { name: "ChevronDown", size: "sm" })
|
|
55834
55834
|
]
|
|
55835
55835
|
}
|
|
55836
55836
|
),
|
|
@@ -59209,7 +59209,7 @@ ${S.getHTML()}`
|
|
|
59209
59209
|
/* @__PURE__ */ x.jsxs(nu, { className: "w-[13.75rem] space-y-1", align: "start", children: [
|
|
59210
59210
|
/* @__PURE__ */ x.jsxs(T_, { children: [
|
|
59211
59211
|
/* @__PURE__ */ x.jsx(j_, { children: /* @__PURE__ */ x.jsxs("div", { className: "flex items-center space-x-2", children: [
|
|
59212
|
-
/* @__PURE__ */ x.jsx(
|
|
59212
|
+
/* @__PURE__ */ x.jsx(Le, { name: "FileExport", className: "w-5 h-5" }),
|
|
59213
59213
|
/* @__PURE__ */ x.jsx("span", { className: "text-body-sm", children: "Export" })
|
|
59214
59214
|
] }) }),
|
|
59215
59215
|
/* @__PURE__ */ x.jsx(B_, { sideOffset: 6, children: n.filter((w) => w !== null).map((w, D) => {
|
|
@@ -59242,7 +59242,7 @@ ${S.getHTML()}`
|
|
|
59242
59242
|
] }),
|
|
59243
59243
|
/* @__PURE__ */ x.jsxs(T_, { children: [
|
|
59244
59244
|
/* @__PURE__ */ x.jsx(j_, { children: /* @__PURE__ */ x.jsxs("div", { className: "flex items-center space-x-2", children: [
|
|
59245
|
-
/* @__PURE__ */ x.jsx(
|
|
59245
|
+
/* @__PURE__ */ x.jsx(Le, { name: "FileImport", className: "w-5 h-5" }),
|
|
59246
59246
|
/* @__PURE__ */ x.jsx("span", { className: "text-body-sm", children: "Import" })
|
|
59247
59247
|
] }) }),
|
|
59248
59248
|
/* @__PURE__ */ x.jsx(B_, { sideOffset: 6, children: r.filter((w) => w !== null).map((w, D) => {
|
|
@@ -59268,7 +59268,7 @@ ${S.getHTML()}`
|
|
|
59268
59268
|
className: "appearance-none bg-transparent hover:color-bg-default-hover h-8 rounded gap-2 p-2 w-full text-left flex items-center justify-start transition text-body-sm",
|
|
59269
59269
|
onClick: b,
|
|
59270
59270
|
children: [
|
|
59271
|
-
/* @__PURE__ */ x.jsx(
|
|
59271
|
+
/* @__PURE__ */ x.jsx(Le, { name: "Printer" }),
|
|
59272
59272
|
"Print"
|
|
59273
59273
|
]
|
|
59274
59274
|
}
|
|
@@ -59303,7 +59303,7 @@ ${S.getHTML()}`
|
|
|
59303
59303
|
return /* @__PURE__ */ x.jsxs(eu, { children: [
|
|
59304
59304
|
/* @__PURE__ */ x.jsx(tu, { asChild: !0, children: /* @__PURE__ */ x.jsxs("button", { className: "bg-transparent hover:!color-bg-default-hover rounded p-2 h-[30px] flex items-center justify-center gap-2 w-fit tabular-nums", children: [
|
|
59305
59305
|
/* @__PURE__ */ x.jsx("span", { className: "text-body-sm-bold line-clamp-1 w-fit", children: ((n = Uy.find((r) => r.value === e)) == null ? void 0 : n.title) || "100%" }),
|
|
59306
|
-
/* @__PURE__ */ x.jsx(
|
|
59306
|
+
/* @__PURE__ */ x.jsx(Le, { name: "ChevronDown", size: "sm" })
|
|
59307
59307
|
] }) }),
|
|
59308
59308
|
/* @__PURE__ */ x.jsx(nu, { children: Uy.map((r) => /* @__PURE__ */ x.jsx(
|
|
59309
59309
|
$i,
|
|
@@ -59364,7 +59364,7 @@ ${S.getHTML()}`
|
|
|
59364
59364
|
children: (l == null ? void 0 : l.title) || "Default"
|
|
59365
59365
|
}
|
|
59366
59366
|
),
|
|
59367
|
-
/* @__PURE__ */ x.jsx(
|
|
59367
|
+
/* @__PURE__ */ x.jsx(Le, { name: "ChevronDown", size: "sm", className: "min-w-fit" })
|
|
59368
59368
|
] }) }),
|
|
59369
59369
|
/* @__PURE__ */ x.jsx(nu, { className: "p-0 b-0", children: /* @__PURE__ */ x.jsx(
|
|
59370
59370
|
P4e,
|
|
@@ -59384,7 +59384,7 @@ ${S.getHTML()}`
|
|
|
59384
59384
|
return /* @__PURE__ */ x.jsxs(eu, { children: [
|
|
59385
59385
|
/* @__PURE__ */ x.jsx(tu, { asChild: !0, children: /* @__PURE__ */ x.jsxs("button", { className: "bg-transparent hover:!color-bg-default-hover rounded gap-2 p-2 h-[30px] flex items-center justify-between w-[108px]", children: [
|
|
59386
59386
|
/* @__PURE__ */ x.jsx("span", { className: "text-body-sm-bold line-clamp-1", children: t }),
|
|
59387
|
-
/* @__PURE__ */ x.jsx(
|
|
59387
|
+
/* @__PURE__ */ x.jsx(Le, { name: "ChevronDown", size: "sm" })
|
|
59388
59388
|
] }) }),
|
|
59389
59389
|
/* @__PURE__ */ x.jsx(nu, { className: "p-0 b-0", children: /* @__PURE__ */ x.jsx(W4e, { editor: e }) })
|
|
59390
59390
|
] });
|
|
@@ -59416,7 +59416,7 @@ ${S.getHTML()}`
|
|
|
59416
59416
|
}) => /* @__PURE__ */ x.jsxs(eu, { children: [
|
|
59417
59417
|
/* @__PURE__ */ x.jsx(tu, { asChild: !0, children: /* @__PURE__ */ x.jsxs("button", { className: "bg-transparent hover:!color-bg-default-hover rounded gap-2 h-[30px] py-2 px-1 flex items-center justify-center w-[52px]", children: [
|
|
59418
59418
|
/* @__PURE__ */ x.jsx("span", { className: "text-body-sm-bold line-clamp-1", children: N$(e, t) }),
|
|
59419
|
-
/* @__PURE__ */ x.jsx(
|
|
59419
|
+
/* @__PURE__ */ x.jsx(Le, { name: "ChevronDown", size: "sm" })
|
|
59420
59420
|
] }) }),
|
|
59421
59421
|
/* @__PURE__ */ x.jsx(nu, { className: "p-0 b-0", children: /* @__PURE__ */ x.jsx(
|
|
59422
59422
|
Z6e,
|
|
@@ -59443,7 +59443,7 @@ ${S.getHTML()}`
|
|
|
59443
59443
|
}
|
|
59444
59444
|
),
|
|
59445
59445
|
children: [
|
|
59446
|
-
e === r.value ? /* @__PURE__ */ x.jsx(
|
|
59446
|
+
e === r.value ? /* @__PURE__ */ x.jsx(Le, { name: "Check", size: "sm" }) : /* @__PURE__ */ x.jsx("div", { className: "w-4" }),
|
|
59447
59447
|
/* @__PURE__ */ x.jsx("span", { className: "font-medium", children: r.label }),
|
|
59448
59448
|
/* @__PURE__ */ x.jsx("span", { className: "text-xs color-text-secondary", children: r.description })
|
|
59449
59449
|
]
|
|
@@ -59486,7 +59486,7 @@ ${S.getHTML()}`
|
|
|
59486
59486
|
),
|
|
59487
59487
|
style: { backgroundColor: t.color },
|
|
59488
59488
|
children: /* @__PURE__ */ x.jsx(
|
|
59489
|
-
|
|
59489
|
+
Le,
|
|
59490
59490
|
{
|
|
59491
59491
|
name: "Check",
|
|
59492
59492
|
className: Je(
|
|
@@ -59511,7 +59511,7 @@ ${S.getHTML()}`
|
|
|
59511
59511
|
},
|
|
59512
59512
|
className: "w-full justify-start mt-2 gap-1 p-1 h-fit hover:color-bg-default-hover",
|
|
59513
59513
|
children: [
|
|
59514
|
-
/* @__PURE__ */ x.jsx(
|
|
59514
|
+
/* @__PURE__ */ x.jsx(Le, { name: "Ban", className: "w-[18px] aspect-square" }),
|
|
59515
59515
|
/* @__PURE__ */ x.jsx("span", { children: "None" })
|
|
59516
59516
|
]
|
|
59517
59517
|
}
|
|
@@ -59549,7 +59549,7 @@ ${S.getHTML()}`
|
|
|
59549
59549
|
),
|
|
59550
59550
|
style: { backgroundColor: i },
|
|
59551
59551
|
children: /* @__PURE__ */ x.jsx(
|
|
59552
|
-
|
|
59552
|
+
Le,
|
|
59553
59553
|
{
|
|
59554
59554
|
name: "Check",
|
|
59555
59555
|
className: Je(
|
|
@@ -59574,7 +59574,7 @@ ${S.getHTML()}`
|
|
|
59574
59574
|
},
|
|
59575
59575
|
className: "w-full justify-center mt-2 gap-1 p-1 h-fit min-w-fit hover:color-bg-default-hover",
|
|
59576
59576
|
children: [
|
|
59577
|
-
/* @__PURE__ */ x.jsx(
|
|
59577
|
+
/* @__PURE__ */ x.jsx(Le, { name: "Ban", className: "w-[18px] aspect-square" }),
|
|
59578
59578
|
/* @__PURE__ */ x.jsx("span", { children: "None" })
|
|
59579
59579
|
]
|
|
59580
59580
|
}
|
|
@@ -59610,7 +59610,7 @@ ${S.getHTML()}`
|
|
|
59610
59610
|
"rounded w-8 h-8 p-1 flex justify-center items-center cursor-pointer transition",
|
|
59611
59611
|
e.isActive({ textAlign: t.value }) && "!bg-[hsl(var(--color-bg-brand))]"
|
|
59612
59612
|
),
|
|
59613
|
-
children: /* @__PURE__ */ x.jsx(
|
|
59613
|
+
children: /* @__PURE__ */ x.jsx(Le, { name: t.icon })
|
|
59614
59614
|
},
|
|
59615
59615
|
t.value
|
|
59616
59616
|
)) }), yN = ({
|
|
@@ -69150,37 +69150,37 @@ const WEe = [
|
|
|
69150
69150
|
{
|
|
69151
69151
|
name: "Add row above",
|
|
69152
69152
|
action: (e) => e.chain().focus().addRowBefore().run(),
|
|
69153
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
69153
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "AddRowAbove", size: "md" }),
|
|
69154
69154
|
group: "row"
|
|
69155
69155
|
},
|
|
69156
69156
|
{
|
|
69157
69157
|
name: "Add row below",
|
|
69158
69158
|
action: (e) => e.chain().focus().addRowAfter().run(),
|
|
69159
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
69159
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "AddRowBelow", size: "md" }),
|
|
69160
69160
|
group: "row"
|
|
69161
69161
|
},
|
|
69162
69162
|
{
|
|
69163
69163
|
name: "Remove row",
|
|
69164
69164
|
action: (e) => e.chain().focus().deleteRow().run(),
|
|
69165
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
69165
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "Trash2", size: "md" }),
|
|
69166
69166
|
group: "row"
|
|
69167
69167
|
},
|
|
69168
69168
|
{
|
|
69169
69169
|
name: "Add left column",
|
|
69170
69170
|
action: (e) => e.chain().focus().addColumnBefore().run(),
|
|
69171
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
69171
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "AddLeftColumn", size: "md" }),
|
|
69172
69172
|
group: "column"
|
|
69173
69173
|
},
|
|
69174
69174
|
{
|
|
69175
69175
|
name: "Add right column",
|
|
69176
69176
|
action: (e) => e.chain().focus().addColumnAfter().run(),
|
|
69177
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
69177
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "AddRightColumn", size: "md" }),
|
|
69178
69178
|
group: "column"
|
|
69179
69179
|
},
|
|
69180
69180
|
{
|
|
69181
69181
|
name: "Remove column",
|
|
69182
69182
|
action: (e) => e.chain().focus().deleteColumn().run(),
|
|
69183
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
69183
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "Trash2", size: "md" }),
|
|
69184
69184
|
group: "column"
|
|
69185
69185
|
},
|
|
69186
69186
|
// {
|
|
@@ -69198,25 +69198,25 @@ const WEe = [
|
|
|
69198
69198
|
{
|
|
69199
69199
|
name: "Toggle header row",
|
|
69200
69200
|
action: (e) => e.chain().focus().toggleHeaderRow().run(),
|
|
69201
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
69201
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "ToggleHeaderRow", size: "md" }),
|
|
69202
69202
|
group: "table"
|
|
69203
69203
|
},
|
|
69204
69204
|
{
|
|
69205
69205
|
name: "Toggle header cell",
|
|
69206
69206
|
action: (e) => e.chain().focus().toggleHeaderCell().run(),
|
|
69207
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
69207
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "ToggleHeaderCell", size: "md" }),
|
|
69208
69208
|
group: "table"
|
|
69209
69209
|
},
|
|
69210
69210
|
{
|
|
69211
69211
|
name: "Toggle header column",
|
|
69212
69212
|
action: (e) => e.chain().focus().toggleHeaderColumn().run(),
|
|
69213
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
69213
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "ToggleHeaderColumn", size: "md" }),
|
|
69214
69214
|
group: "table"
|
|
69215
69215
|
},
|
|
69216
69216
|
{
|
|
69217
69217
|
name: "Remove table",
|
|
69218
69218
|
action: (e) => e.chain().focus().deleteTable().run(),
|
|
69219
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
69219
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "Trash2", size: "md" }),
|
|
69220
69220
|
group: "other"
|
|
69221
69221
|
}
|
|
69222
69222
|
], QG = ({
|
|
@@ -69326,7 +69326,7 @@ const WEe = [
|
|
|
69326
69326
|
p.preventDefault(), p.stopPropagation();
|
|
69327
69327
|
},
|
|
69328
69328
|
children: /* @__PURE__ */ x.jsx(
|
|
69329
|
-
|
|
69329
|
+
Le,
|
|
69330
69330
|
{
|
|
69331
69331
|
name: "Ellipsis",
|
|
69332
69332
|
className: "color-icon-secondary",
|
|
@@ -69661,31 +69661,13 @@ const ZEe = (e) => ({ node: t, editor: n, getPos: r, deleteNode: o, ...i }) => /
|
|
|
69661
69661
|
const [i, s] = Ne(""), { isPreviewMode: a } = kp(), l = ["https://twitter.com", "https://x.com"], u = () => {
|
|
69662
69662
|
switch (e.attrs.data) {
|
|
69663
69663
|
case "twitter":
|
|
69664
|
-
return /* @__PURE__ */ x.jsx(
|
|
69664
|
+
return /* @__PURE__ */ x.jsx(Le, { name: "XSocial", size: "md" });
|
|
69665
69665
|
case "iframe-video":
|
|
69666
|
-
return /* @__PURE__ */ x.jsx(
|
|
69666
|
+
return /* @__PURE__ */ x.jsx(Le, { name: "Youtube", size: "md" });
|
|
69667
69667
|
case "iframe-soundcloud":
|
|
69668
|
-
return /* @__PURE__ */ x.jsx(
|
|
69669
|
-
"svg",
|
|
69670
|
-
{
|
|
69671
|
-
width: "24",
|
|
69672
|
-
height: "24",
|
|
69673
|
-
viewBox: "0 0 24 24",
|
|
69674
|
-
fill: "none",
|
|
69675
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
69676
|
-
className: "w-6 h-6",
|
|
69677
|
-
children: /* @__PURE__ */ x.jsx(
|
|
69678
|
-
"path",
|
|
69679
|
-
{
|
|
69680
|
-
d: "M1.33301 16.4059C1.33301 16.6786 1.42898 16.8848 1.62089 17.0245C1.81282 17.1643 2.01798 17.2137 2.23637 17.1728C2.44153 17.1319 2.58547 17.0569 2.66822 16.9478C2.75094 16.8388 2.79231 16.6581 2.79231 16.4059V13.4408C2.79231 13.2295 2.72117 13.0505 2.57888 12.904C2.4366 12.7574 2.26288 12.6842 2.05771 12.6842C1.85916 12.6842 1.68876 12.7574 1.54646 12.904C1.40417 13.0505 1.33301 13.2295 1.33301 13.4408V16.4059ZM3.61624 17.6738C3.61624 17.8715 3.68408 18.0197 3.81975 18.1186C3.95543 18.2174 4.12915 18.2668 4.34092 18.2668C4.55931 18.2668 4.73633 18.2174 4.87202 18.1186C5.00768 18.0198 5.07552 17.8715 5.07552 17.6738V10.7619C5.07552 10.5575 5.00437 10.3819 4.86209 10.2354C4.7198 10.0888 4.54607 10.0155 4.34092 10.0155C4.14238 10.0155 3.97195 10.0888 3.82967 10.2354C3.68738 10.3819 3.61624 10.5575 3.61624 10.7619V17.6738ZM5.88955 18.001C5.88955 18.1987 5.95904 18.3469 6.09801 18.4458C6.23699 18.5446 6.41568 18.594 6.6341 18.594C6.84586 18.594 7.01959 18.5446 7.15525 18.4458C7.29093 18.3469 7.35878 18.1987 7.35878 18.001V11.6924C7.35878 11.4811 7.28762 11.3004 7.14534 11.1505C7.00305 11.0005 6.83264 10.9256 6.6341 10.9256C6.42892 10.9256 6.25355 11.0005 6.10796 11.1505C5.96237 11.3004 5.88957 11.4811 5.88957 11.6924L5.88955 18.001ZM8.17278 18.0317C8.17278 18.4066 8.41764 18.594 8.90738 18.594C9.39711 18.594 9.64197 18.4066 9.64197 18.0317V7.80703C9.64197 7.23445 9.47321 6.91067 9.13569 6.83568C8.91729 6.78115 8.70219 6.84591 8.49042 7.02995C8.27864 7.214 8.17276 7.47301 8.17276 7.80703V18.0317H8.17278ZM10.4957 18.3282V7.20377C10.4957 6.84932 10.5983 6.63802 10.8035 6.56984C11.2469 6.46079 11.687 6.40625 12.1238 6.40625C13.1363 6.40625 14.0794 6.65164 14.953 7.14242C15.8266 7.63321 16.5331 8.30292 17.0724 9.15156C17.6118 10.0002 17.9245 10.9358 18.0105 11.9582C18.4142 11.781 18.8444 11.6924 19.301 11.6924C20.2276 11.6924 21.0201 12.0298 21.6786 12.7046C22.3371 13.3795 22.6663 14.1906 22.6663 15.1381C22.6663 16.0924 22.3371 16.907 21.6786 17.5818C21.0201 18.2566 20.2309 18.5941 19.311 18.5941L10.6744 18.5838C10.6148 18.5634 10.5701 18.5259 10.5404 18.4714C10.5106 18.4168 10.4957 18.3691 10.4957 18.3282Z",
|
|
69681
|
-
fill: "currentColor",
|
|
69682
|
-
stroke: "transparent"
|
|
69683
|
-
}
|
|
69684
|
-
)
|
|
69685
|
-
}
|
|
69686
|
-
);
|
|
69668
|
+
return /* @__PURE__ */ x.jsx(Le, { name: "Soundcloud", size: "md" });
|
|
69687
69669
|
default:
|
|
69688
|
-
return /* @__PURE__ */ x.jsx(
|
|
69670
|
+
return /* @__PURE__ */ x.jsx(Le, { name: "Sparkles", size: "md" });
|
|
69689
69671
|
}
|
|
69690
69672
|
}, c = () => {
|
|
69691
69673
|
switch (e.attrs.data) {
|
|
@@ -96262,7 +96244,7 @@ function Lze({
|
|
|
96262
96244
|
className: "min-w-fit p-2 relative select-none",
|
|
96263
96245
|
children: /* @__PURE__ */ x.jsxs("div", { className: "relative w-4 h-4", children: [
|
|
96264
96246
|
/* @__PURE__ */ x.jsx(
|
|
96265
|
-
|
|
96247
|
+
Le,
|
|
96266
96248
|
{
|
|
96267
96249
|
name: i,
|
|
96268
96250
|
size: "sm",
|
|
@@ -96273,7 +96255,7 @@ function Lze({
|
|
|
96273
96255
|
}
|
|
96274
96256
|
),
|
|
96275
96257
|
/* @__PURE__ */ x.jsx(
|
|
96276
|
-
|
|
96258
|
+
Le,
|
|
96277
96259
|
{
|
|
96278
96260
|
name: "Copy",
|
|
96279
96261
|
size: "sm",
|
|
@@ -96300,7 +96282,7 @@ function Lze({
|
|
|
96300
96282
|
"min-w-fit p-2",
|
|
96301
96283
|
d && "color-bg-brand color-text-on-brand hover:bg-[hsla(var(--color-bg-brand-hover))]"
|
|
96302
96284
|
),
|
|
96303
|
-
children: /* @__PURE__ */ x.jsx(
|
|
96285
|
+
children: /* @__PURE__ */ x.jsx(Le, { name: "List", size: "sm" })
|
|
96304
96286
|
}
|
|
96305
96287
|
) }),
|
|
96306
96288
|
/* @__PURE__ */ x.jsx("div", { className: "w-[1px] h-4 vertical-divider mx-1" }),
|
|
@@ -96314,7 +96296,7 @@ function Lze({
|
|
|
96314
96296
|
"min-w-fit p-2",
|
|
96315
96297
|
p && "color-bg-brand color-text-on-brand hover:bg-[hsla(var(--color-bg-brand-hover))]"
|
|
96316
96298
|
),
|
|
96317
|
-
children: /* @__PURE__ */ x.jsx(
|
|
96299
|
+
children: /* @__PURE__ */ x.jsx(Le, { name: "WrapText", size: "sm" })
|
|
96318
96300
|
}
|
|
96319
96301
|
) }),
|
|
96320
96302
|
/* @__PURE__ */ x.jsx("div", { className: "w-[1px] h-4 vertical-divider mx-1" }),
|
|
@@ -96372,7 +96354,7 @@ function Lze({
|
|
|
96372
96354
|
}
|
|
96373
96355
|
),
|
|
96374
96356
|
/* @__PURE__ */ x.jsx(
|
|
96375
|
-
|
|
96357
|
+
Le,
|
|
96376
96358
|
{
|
|
96377
96359
|
name: "Code",
|
|
96378
96360
|
size: "sm",
|
|
@@ -96380,14 +96362,14 @@ function Lze({
|
|
|
96380
96362
|
}
|
|
96381
96363
|
),
|
|
96382
96364
|
D ? /* @__PURE__ */ x.jsx(
|
|
96383
|
-
|
|
96365
|
+
Le,
|
|
96384
96366
|
{
|
|
96385
96367
|
name: "TriangleAlert",
|
|
96386
96368
|
size: "sm",
|
|
96387
96369
|
className: "col-start-2 col-end-3 row-start-1 row-end-2 pointer-events-none"
|
|
96388
96370
|
}
|
|
96389
96371
|
) : /* @__PURE__ */ x.jsx(
|
|
96390
|
-
|
|
96372
|
+
Le,
|
|
96391
96373
|
{
|
|
96392
96374
|
name: "Eye",
|
|
96393
96375
|
size: "sm",
|
|
@@ -96397,7 +96379,7 @@ function Lze({
|
|
|
96397
96379
|
] }) })
|
|
96398
96380
|
] }),
|
|
96399
96381
|
!c && /* @__PURE__ */ x.jsx(yn, { text: "Delete code block", children: /* @__PURE__ */ x.jsx(
|
|
96400
|
-
|
|
96382
|
+
Le,
|
|
96401
96383
|
{
|
|
96402
96384
|
name: "Trash2",
|
|
96403
96385
|
size: "sm",
|
|
@@ -96417,7 +96399,7 @@ function Lze({
|
|
|
96417
96399
|
),
|
|
96418
96400
|
children: /* @__PURE__ */ x.jsx(yn, { text: "Copy code", children: /* @__PURE__ */ x.jsxs("div", { className: "relative w-4 h-4", onClick: O, children: [
|
|
96419
96401
|
/* @__PURE__ */ x.jsx(
|
|
96420
|
-
|
|
96402
|
+
Le,
|
|
96421
96403
|
{
|
|
96422
96404
|
name: i,
|
|
96423
96405
|
size: "sm",
|
|
@@ -96428,7 +96410,7 @@ function Lze({
|
|
|
96428
96410
|
}
|
|
96429
96411
|
),
|
|
96430
96412
|
/* @__PURE__ */ x.jsx(
|
|
96431
|
-
|
|
96413
|
+
Le,
|
|
96432
96414
|
{
|
|
96433
96415
|
name: "Copy",
|
|
96434
96416
|
size: "sm",
|
|
@@ -170291,7 +170273,7 @@ const EHe = (e, t, { state: n, dispatch: r }) => {
|
|
|
170291
170273
|
title: "AI Writer",
|
|
170292
170274
|
description: "Generate text with AI assistance.",
|
|
170293
170275
|
searchTerms: ["ai", "generate", "writer", "assistant", "text"],
|
|
170294
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
170276
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "Sparkles", size: "md" }),
|
|
170295
170277
|
image: "",
|
|
170296
170278
|
command: ({ editor: u, range: c }) => {
|
|
170297
170279
|
if (!a) {
|
|
@@ -170312,7 +170294,7 @@ const EHe = (e, t, { state: n, dispatch: r }) => {
|
|
|
170312
170294
|
title: "Text",
|
|
170313
170295
|
description: "Just start typing with plain text.",
|
|
170314
170296
|
searchTerms: ["p", "paragraph"],
|
|
170315
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
170297
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "Text", size: "md" }),
|
|
170316
170298
|
image: "",
|
|
170317
170299
|
command: ({ editor: u, range: c }) => {
|
|
170318
170300
|
u.chain().focus().deleteRange(c).toggleNode("paragraph", "paragraph").run();
|
|
@@ -170322,7 +170304,7 @@ const EHe = (e, t, { state: n, dispatch: r }) => {
|
|
|
170322
170304
|
title: "To-do List",
|
|
170323
170305
|
description: "Track tasks with a to-do list.",
|
|
170324
170306
|
searchTerms: ["todo", "task", "list", "check", "checkbox"],
|
|
170325
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
170307
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "ListChecks", size: "md" }),
|
|
170326
170308
|
image: "",
|
|
170327
170309
|
command: ({ editor: u, range: c }) => wn.todoList(u, c)
|
|
170328
170310
|
},
|
|
@@ -170330,7 +170312,7 @@ const EHe = (e, t, { state: n, dispatch: r }) => {
|
|
|
170330
170312
|
title: "Heading 1",
|
|
170331
170313
|
description: "Big section heading.",
|
|
170332
170314
|
searchTerms: ["title", "big", "large"],
|
|
170333
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
170315
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "Heading1", size: "md" }),
|
|
170334
170316
|
image: "",
|
|
170335
170317
|
command: ({ editor: u, range: c }) => {
|
|
170336
170318
|
u.chain().focus().deleteRange(c).setNode("heading", { level: 1 }).run();
|
|
@@ -170340,7 +170322,7 @@ const EHe = (e, t, { state: n, dispatch: r }) => {
|
|
|
170340
170322
|
title: "Heading 2",
|
|
170341
170323
|
description: "Medium section heading.",
|
|
170342
170324
|
searchTerms: ["subtitle", "medium"],
|
|
170343
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
170325
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "Heading2", size: "md" }),
|
|
170344
170326
|
image: "",
|
|
170345
170327
|
command: ({ editor: u, range: c }) => {
|
|
170346
170328
|
u.chain().focus().deleteRange(c).setNode("heading", { level: 2 }).run();
|
|
@@ -170350,7 +170332,7 @@ const EHe = (e, t, { state: n, dispatch: r }) => {
|
|
|
170350
170332
|
title: "Heading 3",
|
|
170351
170333
|
description: "Small section heading.",
|
|
170352
170334
|
searchTerms: ["subtitle", "small"],
|
|
170353
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
170335
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "Heading3", size: "md" }),
|
|
170354
170336
|
image: "",
|
|
170355
170337
|
command: ({ editor: u, range: c }) => {
|
|
170356
170338
|
u.chain().focus().deleteRange(c).setNode("heading", { level: 3 }).run();
|
|
@@ -170360,7 +170342,7 @@ const EHe = (e, t, { state: n, dispatch: r }) => {
|
|
|
170360
170342
|
title: "Bullet List",
|
|
170361
170343
|
description: "Create a simple bullet list.",
|
|
170362
170344
|
searchTerms: ["unordered", "point"],
|
|
170363
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
170345
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "List", size: "md" }),
|
|
170364
170346
|
image: "",
|
|
170365
170347
|
command: ({ editor: u, range: c }) => wn.bulletList(u, c)
|
|
170366
170348
|
},
|
|
@@ -170368,7 +170350,7 @@ const EHe = (e, t, { state: n, dispatch: r }) => {
|
|
|
170368
170350
|
title: "Numbered List",
|
|
170369
170351
|
description: "Create a list with numbering.",
|
|
170370
170352
|
searchTerms: ["ordered"],
|
|
170371
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
170353
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "ListOrdered", size: "md" }),
|
|
170372
170354
|
image: "",
|
|
170373
170355
|
command: ({ editor: u, range: c }) => wn.numberedList(u, c)
|
|
170374
170356
|
},
|
|
@@ -170376,7 +170358,7 @@ const EHe = (e, t, { state: n, dispatch: r }) => {
|
|
|
170376
170358
|
title: "Callout",
|
|
170377
170359
|
description: "Make writing stand out",
|
|
170378
170360
|
searchTerms: ["callout", "note", "highlight", "box"],
|
|
170379
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
170361
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "Callout", size: "md" }),
|
|
170380
170362
|
image: "",
|
|
170381
170363
|
command: ({ editor: u, range: c }) => wn.callout(u, c)
|
|
170382
170364
|
},
|
|
@@ -170384,7 +170366,7 @@ const EHe = (e, t, { state: n, dispatch: r }) => {
|
|
|
170384
170366
|
title: "Page breaker",
|
|
170385
170367
|
description: "Insert page break that will split your document into pages.",
|
|
170386
170368
|
searchTerms: ["pagebreak", "break", "line", "page"],
|
|
170387
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
170369
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "PageBreak", size: "md" }),
|
|
170388
170370
|
image: "",
|
|
170389
170371
|
command: ({ editor: u, range: c }) => wn.pageBreak(u, c)
|
|
170390
170372
|
},
|
|
@@ -170392,7 +170374,7 @@ const EHe = (e, t, { state: n, dispatch: r }) => {
|
|
|
170392
170374
|
title: "Divider",
|
|
170393
170375
|
description: "Visually divide content.",
|
|
170394
170376
|
searchTerms: ["hr", "divider", "break", "line", "delimiter"],
|
|
170395
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
170377
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "Minus", size: "md" }),
|
|
170396
170378
|
image: "",
|
|
170397
170379
|
command: ({ editor: u, range: c }) => wn.divider(u, c)
|
|
170398
170380
|
},
|
|
@@ -170400,7 +170382,7 @@ const EHe = (e, t, { state: n, dispatch: r }) => {
|
|
|
170400
170382
|
title: "Quote",
|
|
170401
170383
|
description: "Capture a quote.",
|
|
170402
170384
|
searchTerms: ["blockquote"],
|
|
170403
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
170385
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "TextQuote", size: "md" }),
|
|
170404
170386
|
image: "",
|
|
170405
170387
|
command: ({ editor: u, range: c }) => wn.quote(u, c)
|
|
170406
170388
|
},
|
|
@@ -170408,7 +170390,7 @@ const EHe = (e, t, { state: n, dispatch: r }) => {
|
|
|
170408
170390
|
title: "Code",
|
|
170409
170391
|
description: "Capture a code snippet.",
|
|
170410
170392
|
searchTerms: ["codeblock"],
|
|
170411
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
170393
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "Code", size: "md" }),
|
|
170412
170394
|
image: "",
|
|
170413
170395
|
command: ({ editor: u, range: c }) => wn.codeBlock(u, c)
|
|
170414
170396
|
},
|
|
@@ -170416,7 +170398,7 @@ const EHe = (e, t, { state: n, dispatch: r }) => {
|
|
|
170416
170398
|
title: "Mermaid Diagram",
|
|
170417
170399
|
description: "Author a diagram in Mermaid syntax.",
|
|
170418
170400
|
searchTerms: ["mermaid", "diagram", "flowchart", "sequence", "gantt"],
|
|
170419
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
170401
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "GitGraph", size: "md" }),
|
|
170420
170402
|
image: "",
|
|
170421
170403
|
command: ({ editor: u, range: c }) => wn.mermaid(u, c)
|
|
170422
170404
|
},
|
|
@@ -170424,7 +170406,7 @@ const EHe = (e, t, { state: n, dispatch: r }) => {
|
|
|
170424
170406
|
title: "Plain text",
|
|
170425
170407
|
description: "Create a plain text block",
|
|
170426
170408
|
searchTerms: ["plaintext", "txt", "plain", "text"],
|
|
170427
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
170409
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "NotepadText", size: "md" }),
|
|
170428
170410
|
image: "",
|
|
170429
170411
|
command: ({ editor: u, range: c }) => wn.plainText(u, c)
|
|
170430
170412
|
},
|
|
@@ -170432,7 +170414,7 @@ const EHe = (e, t, { state: n, dispatch: r }) => {
|
|
|
170432
170414
|
title: "Table",
|
|
170433
170415
|
description: "Create a table.",
|
|
170434
170416
|
searchTerms: ["table"],
|
|
170435
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
170417
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "Table", size: "md" }),
|
|
170436
170418
|
image: "",
|
|
170437
170419
|
command: ({ editor: u, range: c }) => wn.table(u, c)
|
|
170438
170420
|
},
|
|
@@ -170440,7 +170422,7 @@ const EHe = (e, t, { state: n, dispatch: r }) => {
|
|
|
170440
170422
|
title: "Image",
|
|
170441
170423
|
description: "Upload an image from your computer.",
|
|
170442
170424
|
searchTerms: ["photo", "picture", "media"],
|
|
170443
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
170425
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "ImageUp", size: "md" }),
|
|
170444
170426
|
image: "",
|
|
170445
170427
|
command: ({ editor: u, range: c }) => {
|
|
170446
170428
|
u.chain().focus().deleteRange(c).run();
|
|
@@ -170466,7 +170448,7 @@ const EHe = (e, t, { state: n, dispatch: r }) => {
|
|
|
170466
170448
|
title: "Video Embed",
|
|
170467
170449
|
description: "Embed a video from YouTube, Vimeo, etc.",
|
|
170468
170450
|
searchTerms: ["iframe", "embed", "video", "youtube"],
|
|
170469
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
170451
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "Youtube", size: "md" }),
|
|
170470
170452
|
image: "",
|
|
170471
170453
|
command: ({ editor: u, range: c }) => wn.video(u, c)
|
|
170472
170454
|
},
|
|
@@ -170474,36 +170456,15 @@ const EHe = (e, t, { state: n, dispatch: r }) => {
|
|
|
170474
170456
|
title: "X",
|
|
170475
170457
|
description: "Embed a X post.",
|
|
170476
170458
|
searchTerms: ["X", "embed", "twitter", "tweet"],
|
|
170477
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
170459
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "XSocial", size: "md" }),
|
|
170478
170460
|
image: "",
|
|
170479
170461
|
command: ({ editor: u, range: c }) => wn.tweet(u, c)
|
|
170480
170462
|
},
|
|
170481
170463
|
{
|
|
170482
170464
|
title: "Soundcloud Embed",
|
|
170483
|
-
description: "Embed an audio from
|
|
170465
|
+
description: "Embed an audio from Soundcloud.",
|
|
170484
170466
|
searchTerms: ["audio", "music", "soundcloud", "sc", "embed"],
|
|
170485
|
-
icon: (
|
|
170486
|
-
// TODO: this needs to be turned to LucideIcon
|
|
170487
|
-
/* @__PURE__ */ x.jsx(
|
|
170488
|
-
"svg",
|
|
170489
|
-
{
|
|
170490
|
-
width: "24",
|
|
170491
|
-
height: "24",
|
|
170492
|
-
viewBox: "0 0 24 24",
|
|
170493
|
-
fill: "none",
|
|
170494
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
170495
|
-
className: "w-6 h-6",
|
|
170496
|
-
children: /* @__PURE__ */ x.jsx(
|
|
170497
|
-
"path",
|
|
170498
|
-
{
|
|
170499
|
-
d: "M1.33301 16.4059C1.33301 16.6786 1.42898 16.8848 1.62089 17.0245C1.81282 17.1643 2.01798 17.2137 2.23637 17.1728C2.44153 17.1319 2.58547 17.0569 2.66822 16.9478C2.75094 16.8388 2.79231 16.6581 2.79231 16.4059V13.4408C2.79231 13.2295 2.72117 13.0505 2.57888 12.904C2.4366 12.7574 2.26288 12.6842 2.05771 12.6842C1.85916 12.6842 1.68876 12.7574 1.54646 12.904C1.40417 13.0505 1.33301 13.2295 1.33301 13.4408V16.4059ZM3.61624 17.6738C3.61624 17.8715 3.68408 18.0197 3.81975 18.1186C3.95543 18.2174 4.12915 18.2668 4.34092 18.2668C4.55931 18.2668 4.73633 18.2174 4.87202 18.1186C5.00768 18.0198 5.07552 17.8715 5.07552 17.6738V10.7619C5.07552 10.5575 5.00437 10.3819 4.86209 10.2354C4.7198 10.0888 4.54607 10.0155 4.34092 10.0155C4.14238 10.0155 3.97195 10.0888 3.82967 10.2354C3.68738 10.3819 3.61624 10.5575 3.61624 10.7619V17.6738ZM5.88955 18.001C5.88955 18.1987 5.95904 18.3469 6.09801 18.4458C6.23699 18.5446 6.41568 18.594 6.6341 18.594C6.84586 18.594 7.01959 18.5446 7.15525 18.4458C7.29093 18.3469 7.35878 18.1987 7.35878 18.001V11.6924C7.35878 11.4811 7.28762 11.3004 7.14534 11.1505C7.00305 11.0005 6.83264 10.9256 6.6341 10.9256C6.42892 10.9256 6.25355 11.0005 6.10796 11.1505C5.96237 11.3004 5.88957 11.4811 5.88957 11.6924L5.88955 18.001ZM8.17278 18.0317C8.17278 18.4066 8.41764 18.594 8.90738 18.594C9.39711 18.594 9.64197 18.4066 9.64197 18.0317V7.80703C9.64197 7.23445 9.47321 6.91067 9.13569 6.83568C8.91729 6.78115 8.70219 6.84591 8.49042 7.02995C8.27864 7.214 8.17276 7.47301 8.17276 7.80703V18.0317H8.17278ZM10.4957 18.3282V7.20377C10.4957 6.84932 10.5983 6.63802 10.8035 6.56984C11.2469 6.46079 11.687 6.40625 12.1238 6.40625C13.1363 6.40625 14.0794 6.65164 14.953 7.14242C15.8266 7.63321 16.5331 8.30292 17.0724 9.15156C17.6118 10.0002 17.9245 10.9358 18.0105 11.9582C18.4142 11.781 18.8444 11.6924 19.301 11.6924C20.2276 11.6924 21.0201 12.0298 21.6786 12.7046C22.3371 13.3795 22.6663 14.1906 22.6663 15.1381C22.6663 16.0924 22.3371 16.907 21.6786 17.5818C21.0201 18.2566 20.2309 18.5941 19.311 18.5941L10.6744 18.5838C10.6148 18.5634 10.5701 18.5259 10.5404 18.4714C10.5106 18.4168 10.4957 18.3691 10.4957 18.3282Z",
|
|
170500
|
-
fill: "currentColor",
|
|
170501
|
-
stroke: "transparent"
|
|
170502
|
-
}
|
|
170503
|
-
)
|
|
170504
|
-
}
|
|
170505
|
-
)
|
|
170506
|
-
),
|
|
170467
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "Soundcloud", size: "md" }),
|
|
170507
170468
|
image: "",
|
|
170508
170469
|
command: ({ editor: u, range: c }) => wn.soundcloud(u, c)
|
|
170509
170470
|
},
|
|
@@ -170511,7 +170472,7 @@ const EHe = (e, t, { state: n, dispatch: r }) => {
|
|
|
170511
170472
|
title: "2 Columns",
|
|
170512
170473
|
description: "Create 2 columns of block",
|
|
170513
170474
|
searchTerms: ["col", "column", "2", "layout"],
|
|
170514
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
170475
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "Columns2", size: "md" }),
|
|
170515
170476
|
image: "",
|
|
170516
170477
|
command: ({ editor: u }) => wn.columns2(u)
|
|
170517
170478
|
},
|
|
@@ -170519,7 +170480,7 @@ const EHe = (e, t, { state: n, dispatch: r }) => {
|
|
|
170519
170480
|
title: "3 Columns",
|
|
170520
170481
|
description: "Create 3 columns of block",
|
|
170521
170482
|
searchTerms: ["col", "column", "3", "layout"],
|
|
170522
|
-
icon: /* @__PURE__ */ x.jsx(
|
|
170483
|
+
icon: /* @__PURE__ */ x.jsx(Le, { name: "Columns3", size: "md" }),
|
|
170523
170484
|
image: "",
|
|
170524
170485
|
command: ({ editor: u }) => wn.columns3(u)
|
|
170525
170486
|
}
|
|
@@ -171051,7 +171012,7 @@ const EHe = (e, t, { state: n, dispatch: r }) => {
|
|
|
171051
171012
|
position: "bottom",
|
|
171052
171013
|
text: "Remove page breaker",
|
|
171053
171014
|
children: /* @__PURE__ */ x.jsx(
|
|
171054
|
-
|
|
171015
|
+
Le,
|
|
171055
171016
|
{
|
|
171056
171017
|
name: "PageBreakRemove",
|
|
171057
171018
|
onClick: s,
|
|
@@ -172513,7 +172474,7 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
172513
172474
|
onClick: a ? J : ne,
|
|
172514
172475
|
disabled: !u.trim() || i && !a,
|
|
172515
172476
|
className: Ye("p-2 min-w-0 rounded-full w-8 h-8"),
|
|
172516
|
-
children: a ? /* @__PURE__ */ x.jsx(
|
|
172477
|
+
children: a ? /* @__PURE__ */ x.jsx(Le, { name: "Square", size: "sm" }) : /* @__PURE__ */ x.jsx(Le, { name: "ArrowUp", size: "sm" })
|
|
172517
172478
|
}
|
|
172518
172479
|
)
|
|
172519
172480
|
]
|
|
@@ -173293,7 +173254,7 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
173293
173254
|
ze.off("paste", je);
|
|
173294
173255
|
};
|
|
173295
173256
|
}, [ze]);
|
|
173296
|
-
const xe = Se(null), Oe = Se(null),
|
|
173257
|
+
const xe = Se(null), Oe = Se(null), Ue = Se(0), ft = Se(
|
|
173297
173258
|
null
|
|
173298
173259
|
), Qt = Se({});
|
|
173299
173260
|
_e(() => {
|
|
@@ -173322,15 +173283,15 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
173322
173283
|
const ot = ft.current;
|
|
173323
173284
|
if (!ot)
|
|
173324
173285
|
return;
|
|
173325
|
-
const mt = ++
|
|
173286
|
+
const mt = ++Ue.current;
|
|
173326
173287
|
ob(Oe.current), Oe.current = yL(() => {
|
|
173327
|
-
if (Oe.current = null, mt !==
|
|
173288
|
+
if (Oe.current = null, mt !== Ue.current || K.current !== ze || ze.isDestroyed)
|
|
173328
173289
|
return;
|
|
173329
173290
|
const Dt = ze.getHTML();
|
|
173330
173291
|
ot.getPageCount(Dt).then((Tt) => {
|
|
173331
|
-
mt ===
|
|
173292
|
+
mt === Ue.current && K.current === ze && ze && !ze.isDestroyed && (Qt.current[J] = Tt, M(Tt));
|
|
173332
173293
|
}).catch(() => {
|
|
173333
|
-
mt ===
|
|
173294
|
+
mt === Ue.current && K.current === ze && ze && !ze.isDestroyed && M(
|
|
173334
173295
|
Qt.current[J] ?? 1
|
|
173335
173296
|
);
|
|
173336
173297
|
});
|
|
@@ -173339,7 +173300,7 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
173339
173300
|
}, 500);
|
|
173340
173301
|
};
|
|
173341
173302
|
return Re(), je(), ze.on("update", Re), ze.on("selectionUpdate", je), () => {
|
|
173342
|
-
ze.off("update", Re), ze.off("selectionUpdate", je), xe.current && clearTimeout(xe.current), ob(Oe.current), Oe.current = null,
|
|
173303
|
+
ze.off("update", Re), ze.off("selectionUpdate", je), xe.current && clearTimeout(xe.current), ob(Oe.current), Oe.current = null, Ue.current += 1;
|
|
173343
173304
|
};
|
|
173344
173305
|
}, [
|
|
173345
173306
|
J,
|
|
@@ -183840,7 +183801,7 @@ const hYe = { status: "idle" }, fYe = (e) => {
|
|
|
183840
183801
|
)),
|
|
183841
183802
|
/* @__PURE__ */ x.jsx("div", { className: "w-[1px] h-4 vertical-divider mx-2" }),
|
|
183842
183803
|
/* @__PURE__ */ x.jsx("div", { className: "w-9 h-9 flex justify-center items-center", children: /* @__PURE__ */ x.jsx(
|
|
183843
|
-
|
|
183804
|
+
Le,
|
|
183844
183805
|
{
|
|
183845
183806
|
size: "md",
|
|
183846
183807
|
name: r ? "ChevronUp" : "ChevronDown",
|
|
@@ -184882,7 +184843,7 @@ const jYe = ({
|
|
|
184882
184843
|
),
|
|
184883
184844
|
children: [
|
|
184884
184845
|
/* @__PURE__ */ x.jsxs("div", { className: "inline-flex gap-2", children: [
|
|
184885
|
-
/* @__PURE__ */ x.jsx(
|
|
184846
|
+
/* @__PURE__ */ x.jsx(Le, { name: "Users", className: "w-6 h-6" }),
|
|
184886
184847
|
"What would you like to be identified with"
|
|
184887
184848
|
] }),
|
|
184888
184849
|
/* @__PURE__ */ x.jsxs("div", { className: "pt-4 w-full", children: [
|
|
@@ -185392,7 +185353,7 @@ const Nne = ({
|
|
|
185392
185353
|
variant: "ghost",
|
|
185393
185354
|
className: "flex w-[104px] gap-[8px]",
|
|
185394
185355
|
children: [
|
|
185395
|
-
/* @__PURE__ */ x.jsx(
|
|
185356
|
+
/* @__PURE__ */ x.jsx(Le, { className: "w-[16px] h-[16px]", name: "RefreshCw" }),
|
|
185396
185357
|
/* @__PURE__ */ x.jsx("p", { className: "text-body-sm-bold", children: "Re-open" })
|
|
185397
185358
|
]
|
|
185398
185359
|
}
|
|
@@ -185469,7 +185430,7 @@ const Nne = ({
|
|
|
185469
185430
|
children: /* @__PURE__ */ x.jsxs("div", { className: "flex h-[46px] items-center space-x-sm rounded-[8px] border color-button-default color-border-default", children: [
|
|
185470
185431
|
/* @__PURE__ */ x.jsxs("div", { className: "mr-[8px] flex gap-[8px] pl-[12px]", children: [
|
|
185471
185432
|
/* @__PURE__ */ x.jsx(
|
|
185472
|
-
|
|
185433
|
+
Le,
|
|
185473
185434
|
{
|
|
185474
185435
|
name: "Check",
|
|
185475
185436
|
stroke: "#FFFFFF",
|
|
@@ -185664,7 +185625,7 @@ const Nne = ({
|
|
|
185664
185625
|
title: g,
|
|
185665
185626
|
className: "!min-w-[96px] shrink-0 !px-2",
|
|
185666
185627
|
children: /* @__PURE__ */ x.jsxs("span", { className: "inline-flex items-center gap-1 whitespace-nowrap", children: [
|
|
185667
|
-
/* @__PURE__ */ x.jsx(
|
|
185628
|
+
/* @__PURE__ */ x.jsx(Le, { name: "SendHorizontal", size: "sm" }),
|
|
185668
185629
|
g
|
|
185669
185630
|
] })
|
|
185670
185631
|
}
|
|
@@ -187159,7 +187120,7 @@ const rZe = Number.POSITIVE_INFINITY, Wb = (e) => e.isVisible && e.isMeasured &&
|
|
|
187159
187120
|
} else nt && (ht.anchorTop = nt.top, ht.anchorHeight = nt.height);
|
|
187160
187121
|
}
|
|
187161
187122
|
ht.anchorVersion = Ct.anchorVersion;
|
|
187162
|
-
const
|
|
187123
|
+
const Ue = ht.anchorTop !== null && A5({
|
|
187163
187124
|
top: ht.anchorTop,
|
|
187164
187125
|
bottom: ht.anchorTop + Math.max(ht.anchorHeight, 1),
|
|
187165
187126
|
viewportTop: Ee,
|
|
@@ -187171,7 +187132,7 @@ const rZe = Number.POSITIVE_INFINITY, Wb = (e) => e.isVisible && e.isMeasured &&
|
|
|
187171
187132
|
viewportTop: Ee,
|
|
187172
187133
|
viewportBottom: fe,
|
|
187173
187134
|
viewportHeight: ke
|
|
187174
|
-
}), rn =
|
|
187135
|
+
}), rn = Ue || Qt;
|
|
187175
187136
|
if (ht.isInViewport !== rn) {
|
|
187176
187137
|
const St = ht.isInViewport;
|
|
187177
187138
|
ht.isInViewport = rn, C(
|
|
@@ -188637,7 +188598,7 @@ const Jx = Mt.memo($ne), O8 = ({
|
|
|
188637
188598
|
},
|
|
188638
188599
|
className: "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30px] border-radius-sm flex items-center",
|
|
188639
188600
|
children: [
|
|
188640
|
-
/* @__PURE__ */ x.jsx(
|
|
188601
|
+
/* @__PURE__ */ x.jsx(Le, { name: "Pencil", className: "w-[16px] h-[16px]" }),
|
|
188641
188602
|
/* @__PURE__ */ x.jsx("p", { className: "text-heading-xsm color-text-default", children: "Choose emoji" })
|
|
188642
188603
|
]
|
|
188643
188604
|
}
|
|
@@ -188653,7 +188614,7 @@ const Jx = Mt.memo($ne), O8 = ({
|
|
|
188653
188614
|
"space-xsm cursor-pointer min-w-[144px] gap-xsm hover:color-bg-default-hover border-radius-sm h-[30px] color-border-default flex items-center"
|
|
188654
188615
|
),
|
|
188655
188616
|
children: [
|
|
188656
|
-
/* @__PURE__ */ x.jsx(
|
|
188617
|
+
/* @__PURE__ */ x.jsx(Le, { name: "X", className: Ye("w-[16px] h-[16px]") }),
|
|
188657
188618
|
/* @__PURE__ */ x.jsx("p", { className: Ye("text-heading-xsm"), children: "Clear emoji" })
|
|
188658
188619
|
]
|
|
188659
188620
|
}
|
|
@@ -188672,7 +188633,7 @@ const Jx = Mt.memo($ne), O8 = ({
|
|
|
188672
188633
|
l.current = g;
|
|
188673
188634
|
},
|
|
188674
188635
|
children: /* @__PURE__ */ x.jsx(yn, { position: "top", text: "Choose emoji", children: /* @__PURE__ */ x.jsx(
|
|
188675
|
-
|
|
188636
|
+
Le,
|
|
188676
188637
|
{
|
|
188677
188638
|
onClick: () => {
|
|
188678
188639
|
if (!o) {
|
|
@@ -188745,7 +188706,7 @@ function UZe({
|
|
|
188745
188706
|
className: Ye("flex h-9 items-center gap-2 border-b px-3", e),
|
|
188746
188707
|
"data-slot": "emoji-picker-search-wrapper",
|
|
188747
188708
|
children: [
|
|
188748
|
-
/* @__PURE__ */ x.jsx(
|
|
188709
|
+
/* @__PURE__ */ x.jsx(Le, { name: "Search", className: "size-4 shrink-0 opacity-50" }),
|
|
188749
188710
|
/* @__PURE__ */ x.jsx(
|
|
188750
188711
|
pd.Search,
|
|
188751
188712
|
{
|
|
@@ -188812,7 +188773,7 @@ function HZe({
|
|
|
188812
188773
|
{
|
|
188813
188774
|
className: "absolute inset-0 flex items-center justify-center text-muted-foreground",
|
|
188814
188775
|
"data-slot": "emoji-picker-loading",
|
|
188815
|
-
children: /* @__PURE__ */ x.jsx(
|
|
188776
|
+
children: /* @__PURE__ */ x.jsx(Le, { name: "Circle", className: "size-4 animate-spin" })
|
|
188816
188777
|
}
|
|
188817
188778
|
),
|
|
188818
188779
|
/* @__PURE__ */ x.jsx(
|
|
@@ -189098,7 +189059,7 @@ const qZe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
189098
189059
|
className: `
|
|
189099
189060
|
flex items-center gap-[8px] px-[12px] py-[8px] w-[231px] h-[40px] rounded-[4px] color-bg-secondary shadow-elevation-3`,
|
|
189100
189061
|
children: [
|
|
189101
|
-
t ? /* @__PURE__ */ x.jsx("span", { className: " text-[16px] leading-[16px] w-[16px] flex items-center justify-center", children: t }) : /* @__PURE__ */ x.jsx(
|
|
189062
|
+
t ? /* @__PURE__ */ x.jsx("span", { className: " text-[16px] leading-[16px] w-[16px] flex items-center justify-center", children: t }) : /* @__PURE__ */ x.jsx(Le, { name: "FileText", className: "w-[16px]" }),
|
|
189102
189063
|
/* @__PURE__ */ x.jsx("span", { className: "text-heading-xsm color-text-default truncate", children: e })
|
|
189103
189064
|
]
|
|
189104
189065
|
}
|
|
@@ -189116,7 +189077,7 @@ const qZe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
189116
189077
|
},
|
|
189117
189078
|
children: [
|
|
189118
189079
|
/* @__PURE__ */ x.jsx(
|
|
189119
|
-
|
|
189080
|
+
Le,
|
|
189120
189081
|
{
|
|
189121
189082
|
name: e.icon,
|
|
189122
189083
|
stroke: e.iconStroke,
|
|
@@ -189157,7 +189118,7 @@ const qZe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
189157
189118
|
{
|
|
189158
189119
|
"data-testid": "tab-context-menu-trigger",
|
|
189159
189120
|
className: "h-[24px] rounded-[4px] w-[24px] hover:color-bg-secondary-hover min-w-[24px] flex items-center justify-center",
|
|
189160
|
-
children: /* @__PURE__ */ x.jsx(
|
|
189121
|
+
children: /* @__PURE__ */ x.jsx(Le, { name: "EllipsisVertical", className: "h-[16px] w-[16px]" })
|
|
189161
189122
|
}
|
|
189162
189123
|
) }),
|
|
189163
189124
|
/* @__PURE__ */ x.jsx(
|
|
@@ -189225,7 +189186,7 @@ const qZe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
189225
189186
|
disableOutsideClick: !0,
|
|
189226
189187
|
title: /* @__PURE__ */ x.jsxs("div", { className: "flex items-center gap-sm", children: [
|
|
189227
189188
|
!u && /* @__PURE__ */ x.jsx(
|
|
189228
|
-
|
|
189189
|
+
Le,
|
|
189229
189190
|
{
|
|
189230
189191
|
name: "Trash2",
|
|
189231
189192
|
stroke: "#FB3449",
|
|
@@ -189368,7 +189329,7 @@ const qZe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
189368
189329
|
),
|
|
189369
189330
|
children: [
|
|
189370
189331
|
/* @__PURE__ */ x.jsx(
|
|
189371
|
-
|
|
189332
|
+
Le,
|
|
189372
189333
|
{
|
|
189373
189334
|
name: r ? "ChevronLeft" : "List",
|
|
189374
189335
|
className: "!w-[16px]"
|
|
@@ -189682,7 +189643,7 @@ const qZe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
189682
189643
|
children: [
|
|
189683
189644
|
/* @__PURE__ */ x.jsx("h2", { className: "text-heading-xsm color-text-default", children: "Document tabs" }),
|
|
189684
189645
|
/* @__PURE__ */ x.jsx(
|
|
189685
|
-
|
|
189646
|
+
Le,
|
|
189686
189647
|
{
|
|
189687
189648
|
"data-testid": "mobile-tab-close",
|
|
189688
189649
|
onClick: () => y(!1),
|
|
@@ -189771,7 +189732,7 @@ const qZe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
189771
189732
|
"h-[36px] w-[36px] flex items-center justify-center transition-opacity duration-200",
|
|
189772
189733
|
S ? "cursor-pointer" : "opacity-40 cursor-not-allowed"
|
|
189773
189734
|
),
|
|
189774
|
-
children: /* @__PURE__ */ x.jsx(
|
|
189735
|
+
children: /* @__PURE__ */ x.jsx(Le, { name: "ChevronLeft", className: "w-[20px] h-[20px]" })
|
|
189775
189736
|
}
|
|
189776
189737
|
),
|
|
189777
189738
|
/* @__PURE__ */ x.jsxs(
|
|
@@ -189821,7 +189782,7 @@ const qZe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
189821
189782
|
"h-[36px] w-[36px] flex items-center justify-center transition-opacity duration-200",
|
|
189822
189783
|
T ? "cursor-pointer" : "opacity-40 cursor-not-allowed"
|
|
189823
189784
|
),
|
|
189824
|
-
children: /* @__PURE__ */ x.jsx(
|
|
189785
|
+
children: /* @__PURE__ */ x.jsx(Le, { name: "ChevronRight", className: "w-[20px] h-[20px]" })
|
|
189825
189786
|
}
|
|
189826
189787
|
)
|
|
189827
189788
|
]
|
|
@@ -190218,7 +190179,7 @@ const qZe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
190218
190179
|
onClick: () => l(e),
|
|
190219
190180
|
ref: (u) => n.current[0] = u,
|
|
190220
190181
|
children: [
|
|
190221
|
-
/* @__PURE__ */ x.jsx(
|
|
190182
|
+
/* @__PURE__ */ x.jsx(Le, { name: "GalleryVertical", className: "size-4 mr-2" }),
|
|
190222
190183
|
/* @__PURE__ */ x.jsx("span", { className: "mr-4", children: "Embed Tweet" }),
|
|
190223
190184
|
/* @__PURE__ */ x.jsx("span", { className: "text-helper-sm text-xs color-text-secondary ml-auto", children: "⮐" })
|
|
190224
190185
|
]
|
|
@@ -190232,7 +190193,7 @@ const qZe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
190232
190193
|
onClick: i,
|
|
190233
190194
|
ref: (u) => n.current[1] = u,
|
|
190234
190195
|
children: [
|
|
190235
|
-
/* @__PURE__ */ x.jsx(
|
|
190196
|
+
/* @__PURE__ */ x.jsx(Le, { name: "Link", className: "size-4 mr-2" }),
|
|
190236
190197
|
/* @__PURE__ */ x.jsx("span", { className: "mr-4", children: "URL" }),
|
|
190237
190198
|
/* @__PURE__ */ x.jsx("span", { className: "text-helper-sm text-xs color-text-secondary ml-auto", children: "Esc" })
|
|
190238
190199
|
]
|
|
@@ -190335,7 +190296,7 @@ const qZe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
190335
190296
|
},
|
|
190336
190297
|
children: [
|
|
190337
190298
|
/* @__PURE__ */ x.jsx("span", { className: "text-body-sm-bold line-clamp-1 w-fit", children: ((a = Uy.find((l) => l.value === n)) == null ? void 0 : a.title) || "100%" }),
|
|
190338
|
-
/* @__PURE__ */ x.jsx(
|
|
190299
|
+
/* @__PURE__ */ x.jsx(Le, { name: "ChevronDown", size: "sm" })
|
|
190339
190300
|
]
|
|
190340
190301
|
}
|
|
190341
190302
|
),
|
|
@@ -193276,7 +193237,7 @@ const iJe = (e, t) => {
|
|
|
193276
193237
|
content: n
|
|
193277
193238
|
};
|
|
193278
193239
|
}, uJe = (e) => aJe.map((t) => Kne(t, e)), cJe = (e) => lJe.map((t) => Kne(t, e)), gU = (e, t) => typeof e == "string" && roe[e] ? /* @__PURE__ */ x.jsx(
|
|
193279
|
-
|
|
193240
|
+
Le,
|
|
193280
193241
|
{
|
|
193281
193242
|
name: e,
|
|
193282
193243
|
className: t
|
|
@@ -193305,7 +193266,7 @@ const iJe = (e, t) => {
|
|
|
193305
193266
|
{
|
|
193306
193267
|
variant: "ghost",
|
|
193307
193268
|
className: "gap-2 color-bg-default-hover text-body-sm color-text-default rounded-lg hover:brightness-95 transition-all w-full min-w-0 !p-[10px]",
|
|
193308
|
-
children: /* @__PURE__ */ x.jsx(
|
|
193269
|
+
children: /* @__PURE__ */ x.jsx(Le, { name: "Ellipsis", className: "color-text-default" })
|
|
193309
193270
|
}
|
|
193310
193271
|
),
|
|
193311
193272
|
content: /* @__PURE__ */ x.jsxs("div", { className: "flex flex-col gap-1 p-2 w-[12rem]", children: [
|
|
@@ -193332,7 +193293,7 @@ const iJe = (e, t) => {
|
|
|
193332
193293
|
children: [
|
|
193333
193294
|
/* @__PURE__ */ x.jsx("span", { children: o ? "Less" : "More" }),
|
|
193334
193295
|
/* @__PURE__ */ x.jsx(
|
|
193335
|
-
|
|
193296
|
+
Le,
|
|
193336
193297
|
{
|
|
193337
193298
|
name: "ChevronDown",
|
|
193338
193299
|
size: "sm",
|
|
@@ -193355,7 +193316,7 @@ const iJe = (e, t) => {
|
|
|
193355
193316
|
onClick: e,
|
|
193356
193317
|
className: `justify-start gap-2 ${o}`,
|
|
193357
193318
|
children: [
|
|
193358
|
-
/* @__PURE__ */ x.jsx(
|
|
193319
|
+
/* @__PURE__ */ x.jsx(Le, { name: t, size: "sm" }),
|
|
193359
193320
|
n
|
|
193360
193321
|
]
|
|
193361
193322
|
}
|
|
@@ -193373,7 +193334,7 @@ const Gne = Mt.memo(
|
|
|
193373
193334
|
"data-drag-handle": !0,
|
|
193374
193335
|
...n,
|
|
193375
193336
|
onClick: e,
|
|
193376
|
-
children: /* @__PURE__ */ x.jsx(
|
|
193337
|
+
children: /* @__PURE__ */ x.jsx(Le, { name: "GripVertical", size: "sm" })
|
|
193377
193338
|
}
|
|
193378
193339
|
))
|
|
193379
193340
|
);
|
|
@@ -193387,7 +193348,7 @@ const Xne = Mt.memo(
|
|
|
193387
193348
|
contentEditable: !1,
|
|
193388
193349
|
...n,
|
|
193389
193350
|
onClick: e,
|
|
193390
|
-
children: /* @__PURE__ */ x.jsx(
|
|
193351
|
+
children: /* @__PURE__ */ x.jsx(Le, { name: "Plus", size: "sm" })
|
|
193391
193352
|
}
|
|
193392
193353
|
))
|
|
193393
193354
|
);
|
|
@@ -193403,7 +193364,7 @@ const Yne = Mt.memo(
|
|
|
193403
193364
|
...r,
|
|
193404
193365
|
onClick: t,
|
|
193405
193366
|
children: /* @__PURE__ */ x.jsx(
|
|
193406
|
-
|
|
193367
|
+
Le,
|
|
193407
193368
|
{
|
|
193408
193369
|
name: e ? "ChevronRight" : "ChevronDown",
|
|
193409
193370
|
size: "sm"
|
|
@@ -193424,7 +193385,7 @@ const Zne = Mt.memo(
|
|
|
193424
193385
|
"data-test": "copy-heading-link-button",
|
|
193425
193386
|
...n,
|
|
193426
193387
|
onClick: e,
|
|
193427
|
-
children: /* @__PURE__ */ x.jsx(
|
|
193388
|
+
children: /* @__PURE__ */ x.jsx(Le, { name: "Link", size: "sm" })
|
|
193428
193389
|
}
|
|
193429
193390
|
)
|
|
193430
193391
|
)
|
|
@@ -194332,7 +194293,7 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
194332
194293
|
),
|
|
194333
194294
|
t && /* @__PURE__ */ x.jsx("pre", { className: "m-0 px-3 pb-2 text-[11px] leading-relaxed font-mono color-text-secondary whitespace-pre-wrap break-words max-h-40 overflow-auto select-text", children: r })
|
|
194334
194295
|
] }) : null;
|
|
194335
|
-
}, XJe = BU(() => import("./markdown-source-pane-
|
|
194296
|
+
}, XJe = BU(() => import("./markdown-source-pane-bDzJJavW.mjs")), YJe = BU(() => import("./split-view-toolbar-fzF0a8Qb.mjs")), ZJe = ({
|
|
194336
194297
|
markdown: e,
|
|
194337
194298
|
onMarkdownChange: t,
|
|
194338
194299
|
ipfsImageUploadFn: n,
|
|
@@ -194664,7 +194625,7 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
194664
194625
|
...xe
|
|
194665
194626
|
}, Oe) => {
|
|
194666
194627
|
var A_;
|
|
194667
|
-
const { isFocusMode:
|
|
194628
|
+
const { isFocusMode: Ue, toggleFocusMode: ft } = nJe({
|
|
194668
194629
|
isFocusMode: Q,
|
|
194669
194630
|
onFocusModeChange: le,
|
|
194670
194631
|
onFocusMode: (qe) => {
|
|
@@ -194774,7 +194735,7 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
194774
194735
|
metadataProxyUrl: Kt,
|
|
194775
194736
|
extensions: bt,
|
|
194776
194737
|
disableInlineComment: ct,
|
|
194777
|
-
isFocusMode:
|
|
194738
|
+
isFocusMode: Ue,
|
|
194778
194739
|
onCopyHeadingLink: _t,
|
|
194779
194740
|
isConnected: $e,
|
|
194780
194741
|
activeModel: ht,
|
|
@@ -194945,8 +194906,8 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
194945
194906
|
return;
|
|
194946
194907
|
}
|
|
194947
194908
|
}, [ut, yu, Tt]), _e(() => {
|
|
194948
|
-
!
|
|
194949
|
-
}, [
|
|
194909
|
+
!Ue || !ut || ut.isDestroyed || ut.commands.focus();
|
|
194910
|
+
}, [Ue, ut]);
|
|
194950
194911
|
const ma = sr("(max-width: 768px)"), w_ = vt(() => (he || []).reduce(
|
|
194951
194912
|
(qe, Ot) => {
|
|
194952
194913
|
if (Ot.deleted) return qe;
|
|
@@ -194958,7 +194919,7 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
194958
194919
|
// Hidden in Split View — the right pane has its own tabs panel (the
|
|
194959
194920
|
// List button in the split header), so the editor's native left rail
|
|
194960
194921
|
// would just duplicate it.
|
|
194961
|
-
!Cn && (xu.length > 0 || _4.length > 0 && !((A_ = xe.versionHistoryState) != null && A_.enabled)) && (!
|
|
194922
|
+
!Cn && (xu.length > 0 || _4.length > 0 && !((A_ = xe.versionHistoryState) != null && A_.enabled)) && (!Ue || Te)
|
|
194962
194923
|
), E_ = typeof window < "u" ? window.innerWidth : 0, C_ = Wm + 148 * 2 > E_, kre = E_ - (N4 ? 148 : 0), Ere = Wm > kre, qm = Se(null), Cre = Ce(
|
|
194963
194924
|
(qe, Ot) => {
|
|
194964
194925
|
if (Ot) {
|
|
@@ -194970,7 +194931,7 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
194970
194931
|
[]
|
|
194971
194932
|
), Are = (qe) => {
|
|
194972
194933
|
var Wc;
|
|
194973
|
-
if (!
|
|
194934
|
+
if (!Ue || !ut || qe.button !== 0) return;
|
|
194974
194935
|
const Ot = qe.target;
|
|
194975
194936
|
(Wc = qm.current) != null && Wc.contains(Ot) || Ot.closest(
|
|
194976
194937
|
'[data-radix-dialog-content], [role="dialog"], [data-modal], [data-overlay]'
|
|
@@ -194984,9 +194945,9 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
194984
194945
|
className: Je(
|
|
194985
194946
|
"z-[45] hidden mobile:flex items-center justify-center w-full h-[52px] fixed left-0 color-bg-default border-b color-border-default transition-all duration-300 top-[3.5rem]",
|
|
194986
194947
|
{
|
|
194987
|
-
"translate-y-0 opacity-100": !
|
|
194988
|
-
"translate-y-[-108%] opacity-100": !
|
|
194989
|
-
"translate-y-[-108%] opacity-0 pointer-events-none":
|
|
194948
|
+
"translate-y-0 opacity-100": !Ue && L,
|
|
194949
|
+
"translate-y-[-108%] opacity-100": !Ue && !L,
|
|
194950
|
+
"translate-y-[-108%] opacity-0 pointer-events-none": Ue
|
|
194990
194951
|
}
|
|
194991
194952
|
),
|
|
194992
194953
|
children: /* @__PURE__ */ x.jsx("div", { className: "justify-center items-center grow relative color-text-default", children: /* @__PURE__ */ x.jsx(
|
|
@@ -195029,7 +194990,7 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
195029
194990
|
) })
|
|
195030
194991
|
}
|
|
195031
194992
|
), Sre = () => /* @__PURE__ */ x.jsx(bp, { children: /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
195032
|
-
|
|
194993
|
+
Ue && /* @__PURE__ */ x.jsx(
|
|
195033
194994
|
rJe,
|
|
195034
194995
|
{
|
|
195035
194996
|
dropdownOpen: ul,
|
|
@@ -195095,14 +195056,14 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
195095
195056
|
"editor-left-rail",
|
|
195096
195057
|
N4 && "editor-left-rail-has-outline",
|
|
195097
195058
|
!ma && "flex-[1_0_263px]",
|
|
195098
|
-
!e && !
|
|
195059
|
+
!e && !Ue && L && "-mt-[1.5rem] md:!mt-[0.8rem]",
|
|
195099
195060
|
e && "md:!mt-[1rem]",
|
|
195100
|
-
{ "md:!mt-[0.7rem]": !e && !
|
|
195061
|
+
{ "md:!mt-[0.7rem]": !e && !Ue },
|
|
195101
195062
|
{
|
|
195102
195063
|
"-mt-[1.5rem] md:!mt-[0.7rem]": !L && !e
|
|
195103
195064
|
},
|
|
195104
|
-
|
|
195105
|
-
|
|
195065
|
+
Ue && "mt-[48px]",
|
|
195066
|
+
Ue && !Te && C_ && "hidden"
|
|
195106
195067
|
),
|
|
195107
195068
|
children: ut && N4 && /* @__PURE__ */ x.jsx(
|
|
195108
195069
|
R8,
|
|
@@ -195128,7 +195089,7 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
195128
195089
|
tabCommentCounts: w_,
|
|
195129
195090
|
tabConfig: jt,
|
|
195130
195091
|
isConnected: $e,
|
|
195131
|
-
isFocusMode:
|
|
195092
|
+
isFocusMode: Ue
|
|
195132
195093
|
}
|
|
195133
195094
|
)
|
|
195134
195095
|
}
|
|
@@ -195169,7 +195130,7 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
195169
195130
|
),
|
|
195170
195131
|
"data-zoom-below-100": Hm < 1 ? "true" : "false",
|
|
195171
195132
|
style: {
|
|
195172
|
-
minHeight:
|
|
195133
|
+
minHeight: Ue ? "100vh" : (
|
|
195173
195134
|
// Split View: don't force viewport height — the content
|
|
195174
195135
|
// flows inside the right pane's own scroll box.
|
|
195175
195136
|
Cn ? "auto" : `calc(100dvh - 108px - ${Qe || "0px"})`
|
|
@@ -195188,7 +195149,7 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
195188
195149
|
children: [
|
|
195189
195150
|
ma && e && /* @__PURE__ */ x.jsxs("p", { className: "text-center color-text-secondary text-helper-text-sm flex gap-2 items-center justify-center py-1.5", children: [
|
|
195190
195151
|
/* @__PURE__ */ x.jsx(
|
|
195191
|
-
|
|
195152
|
+
Le,
|
|
195192
195153
|
{
|
|
195193
195154
|
name: "LockKeyhole",
|
|
195194
195155
|
className: "w-[14px] h-[14px]"
|
|
@@ -195203,18 +195164,18 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
195203
195164
|
ref: mt,
|
|
195204
195165
|
className: Je(
|
|
195205
195166
|
"w-full flex-grow min-w-0 no-scrollbar rounded transition-all mx-auto duration-300 ease-in-out",
|
|
195206
|
-
!(nt != null && nt.canvasBackground) && !
|
|
195207
|
-
!Cn && !e && !
|
|
195167
|
+
!(nt != null && nt.canvasBackground) && !Ue && "color-bg-default",
|
|
195168
|
+
!Cn && !e && !Ue && (L ? "-mt-[1.5rem] md:!mt-[0.8rem] pt-0 md:pt-[5rem]" : "pt-0 md:pt-[1.5rem]"),
|
|
195208
195169
|
!Cn && e && "md:!mt-[1rem] pt-0 md:!pt-[5rem]",
|
|
195209
195170
|
{
|
|
195210
|
-
"md:!mt-[0.7rem]": !Cn && !e && !
|
|
195171
|
+
"md:!mt-[0.7rem]": !Cn && !e && !Ue
|
|
195211
195172
|
},
|
|
195212
195173
|
{
|
|
195213
195174
|
"-mt-[1.5rem] md:!mt-[0.7rem]": !Cn && !L && !e
|
|
195214
195175
|
},
|
|
195215
195176
|
// Split View: no full-screen top spacing.
|
|
195216
195177
|
Cn && "mt-0 pt-0",
|
|
195217
|
-
|
|
195178
|
+
Ue && "mt-[48px]"
|
|
195218
195179
|
),
|
|
195219
195180
|
style: {
|
|
195220
195181
|
...ma ? {} : {
|
|
@@ -195223,12 +195184,12 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
195223
195184
|
},
|
|
195224
195185
|
flexShrink: 0,
|
|
195225
195186
|
minHeight: "100%",
|
|
195226
|
-
...
|
|
195187
|
+
...Ue ? {} : Fe() || {},
|
|
195227
195188
|
// Split View: fill the right pane instead of the
|
|
195228
195189
|
// fixed page width (kept last so it wins).
|
|
195229
195190
|
...Cn ? { width: "100%", maxWidth: "100%" } : {}
|
|
195230
195191
|
},
|
|
195231
|
-
"data-mode":
|
|
195192
|
+
"data-mode": Ue ? "focus" : "normal",
|
|
195232
195193
|
children: /* @__PURE__ */ x.jsxs(
|
|
195233
195194
|
"div",
|
|
195234
195195
|
{
|
|
@@ -195236,7 +195197,7 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
195236
195197
|
className: Je(
|
|
195237
195198
|
"w-full pt-8 md:pt-0",
|
|
195238
195199
|
{
|
|
195239
|
-
"color-bg-default": !(nt != null && nt.canvasBackground) && (S === "1.4" || S === "1.5") && !
|
|
195200
|
+
"color-bg-default": !(nt != null && nt.canvasBackground) && (S === "1.4" || S === "1.5") && !Ue
|
|
195240
195201
|
},
|
|
195241
195202
|
e && "pt-3"
|
|
195242
195203
|
),
|
|
@@ -195316,7 +195277,7 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
195316
195277
|
"flex flex-wrap px-4 md:px-8 lg:px-[80px] mb-8 items-center gap-1 mt-4 lg:!mt-0",
|
|
195317
195278
|
{ "pt-12": e }
|
|
195318
195279
|
),
|
|
195319
|
-
...!
|
|
195280
|
+
...!Ue && Fe() && {
|
|
195320
195281
|
style: Fe()
|
|
195321
195282
|
},
|
|
195322
195283
|
children: [
|
|
@@ -195451,7 +195412,7 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
195451
195412
|
)
|
|
195452
195413
|
}
|
|
195453
195414
|
),
|
|
195454
|
-
ut && !
|
|
195415
|
+
ut && !Ue && /* @__PURE__ */ x.jsx("div", { className: "comment-floating-slot absolute left-full top-0 ml-[12px] overflow-visible", children: /* @__PURE__ */ x.jsx(
|
|
195455
195416
|
RZe,
|
|
195456
195417
|
{
|
|
195457
195418
|
editor: ut,
|
|
@@ -195477,14 +195438,14 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
195477
195438
|
className: Je(
|
|
195478
195439
|
"editor-right-rail",
|
|
195479
195440
|
!ma && "flex-[1_1_263px]",
|
|
195480
|
-
!e && !
|
|
195441
|
+
!e && !Ue && L && "-mt-[1.5rem] md:!mt-[0.8rem]",
|
|
195481
195442
|
e && "md:!mt-[1rem]",
|
|
195482
|
-
{ "md:!mt-[0.7rem]": !e && !
|
|
195443
|
+
{ "md:!mt-[0.7rem]": !e && !Ue },
|
|
195483
195444
|
{
|
|
195484
195445
|
"-mt-[1.5rem] md:!mt-[0.7rem]": !L && !e
|
|
195485
195446
|
},
|
|
195486
|
-
|
|
195487
|
-
|
|
195447
|
+
Ue && "mt-[48px]",
|
|
195448
|
+
Ue && !Te && C_ && "hidden"
|
|
195488
195449
|
)
|
|
195489
195450
|
}
|
|
195490
195451
|
)
|
|
@@ -195502,7 +195463,7 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
195502
195463
|
className: Je(
|
|
195503
195464
|
"absolute w-12 h-12 color-bg-default rounded-full shadow-xl top-[70px] right-[-23px]"
|
|
195504
195465
|
),
|
|
195505
|
-
children: /* @__PURE__ */ x.jsx(
|
|
195466
|
+
children: /* @__PURE__ */ x.jsx(Le, { name: "MessageSquareText", size: "sm" })
|
|
195506
195467
|
}
|
|
195507
195468
|
),
|
|
195508
195469
|
!e && !m && /* @__PURE__ */ x.jsx(
|
|
@@ -195544,7 +195505,7 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
195544
195505
|
isCollaborationEnabled: (r == null ? void 0 : r.enabled) || !1
|
|
195545
195506
|
}
|
|
195546
195507
|
),
|
|
195547
|
-
/* @__PURE__ */ x.jsx("div", { children: ut && Dt && !
|
|
195508
|
+
/* @__PURE__ */ x.jsx("div", { children: ut && Dt && !Ue && /* @__PURE__ */ x.jsx(
|
|
195548
195509
|
eZe,
|
|
195549
195510
|
{
|
|
195550
195511
|
editor: ut,
|
|
@@ -195560,7 +195521,7 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
195560
195521
|
{
|
|
195561
195522
|
documentStyling: nt,
|
|
195562
195523
|
theme: fe ?? "light",
|
|
195563
|
-
isFocusMode:
|
|
195524
|
+
isFocusMode: Ue,
|
|
195564
195525
|
children: /* @__PURE__ */ x.jsxs(
|
|
195565
195526
|
"div",
|
|
195566
195527
|
{
|
|
@@ -195569,7 +195530,7 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
195569
195530
|
z ? "color-bg-default" : "color-bg-secondary"
|
|
195570
195531
|
),
|
|
195571
195532
|
style: {
|
|
195572
|
-
height:
|
|
195533
|
+
height: Ue ? "100vh" : Cn ? L ? `calc(100dvh - 56px - ${Qe || "0px"})` : `calc(100dvh - ${Qe || "0px"})` : e ? `calc(100dvh - 52px - ${Qe || "0px"})` : L ? `calc(100dvh - 108px - ${Qe || "0px"})` : `calc(100dvh - 52px - ${Qe || "0px"})`
|
|
195573
195534
|
},
|
|
195574
195535
|
children: [
|
|
195575
195536
|
v_ ? /* @__PURE__ */ x.jsx("style", { dangerouslySetInnerHTML: { __html: v_ } }) : null,
|
|
@@ -195582,14 +195543,14 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
195582
195543
|
"h-[100%] flex w-full relative",
|
|
195583
195544
|
// Split View: the right-pane wrapper owns the scroll, not the canvas.
|
|
195584
195545
|
Cn ? "overflow-hidden" : "overflow-auto",
|
|
195585
|
-
!e && !
|
|
195546
|
+
!e && !Ue && !Cn && (L ? "mt-[6.7rem]" : "mt-[3.3rem]"),
|
|
195586
195547
|
// Split View hides the rich toolbar, so only reserve the navbar.
|
|
195587
|
-
Cn && !
|
|
195588
|
-
e && !
|
|
195548
|
+
Cn && !Ue && (L ? "mt-[3.5rem]" : "mt-0"),
|
|
195549
|
+
e && !Ue && "mt-[3.5rem]",
|
|
195589
195550
|
z ? "color-bg-default" : "color-bg-secondary",
|
|
195590
195551
|
ie
|
|
195591
195552
|
),
|
|
195592
|
-
style:
|
|
195553
|
+
style: Ue ? void 0 : je(),
|
|
195593
195554
|
children: [
|
|
195594
195555
|
/* @__PURE__ */ x.jsx(zJe, { editor: ut, viewerMode: t }),
|
|
195595
195556
|
/* @__PURE__ */ x.jsxs(
|
|
@@ -195598,7 +195559,7 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
195598
195559
|
isInlineCommentAvailable: !s0 && !ct && Ht,
|
|
195599
195560
|
editor: ut ?? null,
|
|
195600
195561
|
ydoc: _s,
|
|
195601
|
-
isFocusMode:
|
|
195562
|
+
isFocusMode: Ue,
|
|
195602
195563
|
username: o,
|
|
195603
195564
|
setUsername: i,
|
|
195604
195565
|
activeCommentId: Op,
|
|
@@ -195639,8 +195600,8 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
195639
195600
|
className: Je(
|
|
195640
195601
|
"h-14 color-bg-default py-2 px-0 md:px-4 flex gap-2 items-center justify-between w-screen fixed left-0 top-0 border-b color-border-default z-[45] transition-all duration-300",
|
|
195641
195602
|
{
|
|
195642
|
-
"translate-y-0 opacity-100": !
|
|
195643
|
-
"translate-y-[-100%] opacity-0 pointer-events-none":
|
|
195603
|
+
"translate-y-0 opacity-100": !Ue && L && !z,
|
|
195604
|
+
"translate-y-[-100%] opacity-0 pointer-events-none": Ue || !L || z
|
|
195644
195605
|
}
|
|
195645
195606
|
),
|
|
195646
195607
|
children: ut && (s == null ? void 0 : s({
|
|
@@ -195742,7 +195703,7 @@ const VJe = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], KJe = qJe("Chevro
|
|
|
195742
195703
|
tabCommentCounts: w_,
|
|
195743
195704
|
tabConfig: jt,
|
|
195744
195705
|
isConnected: $e,
|
|
195745
|
-
isFocusMode:
|
|
195706
|
+
isFocusMode: Ue
|
|
195746
195707
|
}
|
|
195747
195708
|
) })
|
|
195748
195709
|
]
|