@fileverse-dev/ddoc 4.1.9 → 4.1.10
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/README.md +0 -5
- package/dist/{index-nuyyRI2j.mjs → index-DiGvcOz9.mjs} +236 -243
- package/dist/{index-DRxp2R0b.mjs → index-hKhiIwWN.mjs} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{markdown-source-pane-CJNood8d.mjs → markdown-source-pane-BcRRhhfp.mjs} +2 -2
- package/dist/{split-view-toolbar-DQ9aZxVZ.mjs → split-view-toolbar-BZOg4Vsc.mjs} +2 -2
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -4,7 +4,7 @@ var Ke = (e, t, n) => ure(e, typeof t != "symbol" ? t + "" : t, n);
|
|
|
4
4
|
import * as Zn from "react";
|
|
5
5
|
import Bt, { useContext as bf, useState as Ne, useLayoutEffect as zs, useEffect as _e, useDebugValue as gU, createContext as yf, createRef as cre, memo as xf, createElement as F5, version as y_, useRef as Se, forwardRef as ir, useMemo as wt, useImperativeHandle as j8, useCallback as Ae, Fragment as dre, Component as pre, cloneElement as mU, useId as hre, useReducer as bU, lazy as yU, Suspense as x_ } from "react";
|
|
6
6
|
import xU, { flushSync as fre, createPortal as vf } from "react-dom";
|
|
7
|
-
import { Drawer as vU, DrawerContent as gre, DrawerHeader as mre, DrawerTitle as bre, DrawerClose as yre, LucideIcon as Le, Button as Rt, TextField as Pa, useTheme as FU, DropdownMenuItem as zi, DynamicDropdown as ni, Tooltip as bn, IconButton as Nt, Dialog as xre, DialogContent as vre, cn as
|
|
7
|
+
import { Drawer as vU, DrawerContent as gre, DrawerHeader as mre, DrawerTitle as bre, DrawerClose as yre, LucideIcon as Le, Button as Rt, TextField as Pa, useTheme as FU, DropdownMenuItem as zi, DynamicDropdown as ni, Tooltip as bn, IconButton as Nt, Dialog as xre, DialogContent as vre, cn as Xe, DialogHeader as Fre, DialogTitle as wre, DialogFooter as Dre, DialogClose as kre, Skeleton as er, Avatar as ia, PopoverClose as qx, TextAreaFieldV2 as lc, DynamicModal as B8, Select as Ld, SelectTrigger as Ud, SelectValue as Nh, SelectContent as Pd, SelectItem as zd, DropdownMenu as Zl, DropdownMenuTrigger as Jl, DropdownMenuContent as Ql, DropdownMenuSub as v_, DropdownMenuSubTrigger as F_, DropdownMenuSubContent as w_, Popover as Ff, PopoverTrigger as Lg, PopoverContent as wf, Divider as N8, SelectGroup as wU, SelectLabel as Ere, Toggle as Cre, toast as M8, Checkbox as Are, DrawerTrigger as D_, AnimatedLoader as _re, Label as Sre, DynamicDropdownV2 as DU, DynamicDrawerV2 as Tre, BottomDrawer as jre, ButtonGroup as Bre, UltimateIcons as Nre, PopoverAnchor as Mre, Tag as Rb, TagInput as kU } from "@fileverse/ui";
|
|
8
8
|
import { createPublicClient as Ore, http as Ire, isAddress as Rre, isHex as Lre } from "viem";
|
|
9
9
|
import { mainnet as Ure } from "viem/chains";
|
|
10
10
|
import { motion as $s, AnimatePresence as pp, MotionConfig as Pre } from "framer-motion";
|
|
@@ -17913,7 +17913,7 @@ var h$ = { exports: {} };
|
|
|
17913
17913
|
})();
|
|
17914
17914
|
})(h$);
|
|
17915
17915
|
var pde = h$.exports;
|
|
17916
|
-
const
|
|
17916
|
+
const Ze = /* @__PURE__ */ Ac(pde), R1 = typeof window < "u" ? zs : _e;
|
|
17917
17917
|
function uT(e) {
|
|
17918
17918
|
if (e !== void 0)
|
|
17919
17919
|
switch (typeof e) {
|
|
@@ -18760,7 +18760,7 @@ const zde = ({
|
|
|
18760
18760
|
/* @__PURE__ */ x.jsx(
|
|
18761
18761
|
"div",
|
|
18762
18762
|
{
|
|
18763
|
-
className:
|
|
18763
|
+
className: Ze(
|
|
18764
18764
|
"flex flex-col gap-4 w-full h-full pb-4 text-base color-text-default",
|
|
18765
18765
|
o
|
|
18766
18766
|
),
|
|
@@ -20078,7 +20078,7 @@ const w$ = ir(
|
|
|
20078
20078
|
{
|
|
20079
20079
|
ref: a,
|
|
20080
20080
|
onKeyDownCapture: b,
|
|
20081
|
-
className:
|
|
20081
|
+
className: Ze("relative", o),
|
|
20082
20082
|
role: "region",
|
|
20083
20083
|
"aria-roledescription": "carousel",
|
|
20084
20084
|
...s,
|
|
@@ -20096,7 +20096,7 @@ const D$ = ir(({ className: e, ...t }, n) => {
|
|
|
20096
20096
|
"div",
|
|
20097
20097
|
{
|
|
20098
20098
|
ref: n,
|
|
20099
|
-
className:
|
|
20099
|
+
className: Ze(
|
|
20100
20100
|
"flex",
|
|
20101
20101
|
o === "horizontal" ? "-ml-4" : "-mt-4 flex-col",
|
|
20102
20102
|
e
|
|
@@ -20115,7 +20115,7 @@ const aD = ir(
|
|
|
20115
20115
|
ref: n,
|
|
20116
20116
|
role: "group",
|
|
20117
20117
|
"aria-roledescription": "slide",
|
|
20118
|
-
className:
|
|
20118
|
+
className: Ze(
|
|
20119
20119
|
"min-w-0 shrink-0 grow-0 basis-full",
|
|
20120
20120
|
r === "horizontal" ? "pl-4" : "pt-4",
|
|
20121
20121
|
e
|
|
@@ -20145,7 +20145,7 @@ const k$ = ir(({ index: e, className: t, ...n }, r) => {
|
|
|
20145
20145
|
"button",
|
|
20146
20146
|
{
|
|
20147
20147
|
ref: r,
|
|
20148
|
-
className:
|
|
20148
|
+
className: Ze(
|
|
20149
20149
|
"w-2 h-2 transition-colors duration-200 rounded-full",
|
|
20150
20150
|
d ? "bg-black" : "bg-[#E8EBEC] hover:bg-black/50",
|
|
20151
20151
|
t
|
|
@@ -20162,7 +20162,7 @@ const wpe = Bt.forwardRef(({ className: e, ...t }, n) => {
|
|
|
20162
20162
|
"button",
|
|
20163
20163
|
{
|
|
20164
20164
|
ref: n,
|
|
20165
|
-
className:
|
|
20165
|
+
className: Ze(
|
|
20166
20166
|
"btn color-bg-default hover:color-bg-default-hover transition color-text-default flex items-center border-2 rounded h-9 px-4 py-2 text-sm font-medium disabled:bg-[#E8EBEC] disabled:text-[#A1AAB1]",
|
|
20167
20167
|
e
|
|
20168
20168
|
),
|
|
@@ -20180,7 +20180,7 @@ const Dpe = Bt.forwardRef(({ className: e, ...t }, n) => {
|
|
|
20180
20180
|
"button",
|
|
20181
20181
|
{
|
|
20182
20182
|
ref: n,
|
|
20183
|
-
className:
|
|
20183
|
+
className: Ze(
|
|
20184
20184
|
"btn bg-black hover:bg-black color-text-default flex items-center border-2 rounded h-9 px-4 py-2 text-sm font-medium disabled:bg-[#E8EBEC] disabled:text-[#A1AAB1]",
|
|
20185
20185
|
e
|
|
20186
20186
|
),
|
|
@@ -52678,7 +52678,7 @@ const tk = [
|
|
|
52678
52678
|
onClick: () => {
|
|
52679
52679
|
e.chain().focus().toggleHighlight({ color: r.color }).run(), t(st.NONE);
|
|
52680
52680
|
},
|
|
52681
|
-
className:
|
|
52681
|
+
className: Ze(
|
|
52682
52682
|
"w-5 rounded-full flex items-center justify-center cursor-pointer ease-in duration-200 hover:scale-[1.05] h-5",
|
|
52683
52683
|
r.code
|
|
52684
52684
|
),
|
|
@@ -52686,7 +52686,7 @@ const tk = [
|
|
|
52686
52686
|
Le,
|
|
52687
52687
|
{
|
|
52688
52688
|
name: "Check",
|
|
52689
|
-
className:
|
|
52689
|
+
className: Ze(
|
|
52690
52690
|
"w-[14px] aspect-square",
|
|
52691
52691
|
e.isActive("highlight", {
|
|
52692
52692
|
color: r.color
|
|
@@ -52742,7 +52742,7 @@ const tk = [
|
|
|
52742
52742
|
);
|
|
52743
52743
|
}
|
|
52744
52744
|
},
|
|
52745
|
-
className:
|
|
52745
|
+
className: Ze(
|
|
52746
52746
|
"w-full gap-2 text-left",
|
|
52747
52747
|
l && "!bg-[hsl(var(--color-bg-brand))] color-text-on-brand"
|
|
52748
52748
|
),
|
|
@@ -52766,7 +52766,7 @@ const tk = [
|
|
|
52766
52766
|
"div",
|
|
52767
52767
|
{
|
|
52768
52768
|
ref: e,
|
|
52769
|
-
className:
|
|
52769
|
+
className: Ze(
|
|
52770
52770
|
"z-50 w-48 color-bg-default px-1 py-2 shadow-elevation-1 transition-all rounded"
|
|
52771
52771
|
),
|
|
52772
52772
|
style: {
|
|
@@ -52809,7 +52809,7 @@ const tk = [
|
|
|
52809
52809
|
onClick: () => {
|
|
52810
52810
|
t == null || t.chain().focus().setTextAlign("left").run(), n(st.NONE);
|
|
52811
52811
|
},
|
|
52812
|
-
className:
|
|
52812
|
+
className: Ze(
|
|
52813
52813
|
"rounded w-8 h-8 p-1 flex justify-center items-center cursor-pointer transition",
|
|
52814
52814
|
t.isActive({ textAlign: "left" }) ? "color-bg-brand xl:hover:brightness-90 color-text-on-brand" : "hover:color-bg-default-hover"
|
|
52815
52815
|
),
|
|
@@ -52823,7 +52823,7 @@ const tk = [
|
|
|
52823
52823
|
onClick: () => {
|
|
52824
52824
|
t == null || t.chain().focus().setTextAlign("center").run(), n(st.NONE);
|
|
52825
52825
|
},
|
|
52826
|
-
className:
|
|
52826
|
+
className: Ze(
|
|
52827
52827
|
"rounded w-8 h-8 p-1 flex justify-center items-center cursor-pointer transition",
|
|
52828
52828
|
t.isActive({ textAlign: "center" }) ? "color-bg-brand xl:hover:brightness-90 color-text-on-brand" : "hover:color-bg-default-hover"
|
|
52829
52829
|
),
|
|
@@ -52837,7 +52837,7 @@ const tk = [
|
|
|
52837
52837
|
onClick: () => {
|
|
52838
52838
|
t == null || t.chain().focus().setTextAlign("right").run(), n(st.NONE);
|
|
52839
52839
|
},
|
|
52840
|
-
className:
|
|
52840
|
+
className: Ze(
|
|
52841
52841
|
"rounded w-8 h-8 p-1 flex justify-center items-center cursor-pointer transition",
|
|
52842
52842
|
t.isActive({ textAlign: "right" }) ? "color-bg-brand xl:hover:brightness-90 color-text-on-brand" : "hover:color-bg-default-hover"
|
|
52843
52843
|
),
|
|
@@ -52851,7 +52851,7 @@ const tk = [
|
|
|
52851
52851
|
onClick: () => {
|
|
52852
52852
|
t == null || t.chain().focus().setTextAlign("justify").run(), n(st.NONE);
|
|
52853
52853
|
},
|
|
52854
|
-
className:
|
|
52854
|
+
className: Ze(
|
|
52855
52855
|
"rounded w-8 h-8 p-1 flex justify-center items-center cursor-pointer transition",
|
|
52856
52856
|
t.isActive({ textAlign: "justify" }) ? "color-bg-brand xl:hover:brightness-90 color-text-on-brand" : "hover:color-bg-default-hover"
|
|
52857
52857
|
),
|
|
@@ -52949,7 +52949,7 @@ const tk = [
|
|
|
52949
52949
|
onClick: () => {
|
|
52950
52950
|
r.command();
|
|
52951
52951
|
},
|
|
52952
|
-
className:
|
|
52952
|
+
className: Ze(
|
|
52953
52953
|
"flex items-center justify-between w-full px-2 py-1 text-body-sm",
|
|
52954
52954
|
r.isActive() && "color-bg-brand hover:!bg-[#B6A02E] color-text-on-brand"
|
|
52955
52955
|
),
|
|
@@ -52986,7 +52986,7 @@ const tk = [
|
|
|
52986
52986
|
onClick: () => {
|
|
52987
52987
|
e && (e.chain().focus().setColor(a).run(), t(st.NONE));
|
|
52988
52988
|
},
|
|
52989
|
-
className:
|
|
52989
|
+
className: Ze(
|
|
52990
52990
|
"w-5 rounded-full flex justify-center items-center cursor-pointer ease-in duration-200 hover:scale-[1.05] h-5"
|
|
52991
52991
|
),
|
|
52992
52992
|
style: { backgroundColor: a },
|
|
@@ -52994,7 +52994,7 @@ const tk = [
|
|
|
52994
52994
|
Le,
|
|
52995
52995
|
{
|
|
52996
52996
|
name: "Check",
|
|
52997
|
-
className:
|
|
52997
|
+
className: Ze(
|
|
52998
52998
|
"w-[14px] aspect-square",
|
|
52999
52999
|
e != null && e.isActive("textStyle", {
|
|
53000
53000
|
color: a
|
|
@@ -53065,7 +53065,7 @@ const tk = [
|
|
|
53065
53065
|
return /* @__PURE__ */ x.jsx(
|
|
53066
53066
|
"div",
|
|
53067
53067
|
{
|
|
53068
|
-
className:
|
|
53068
|
+
className: Ze(
|
|
53069
53069
|
"z-50 flex w-48 flex-col overflow-hidden rounded color-bg-default p-1 shadow-elevation-1"
|
|
53070
53070
|
),
|
|
53071
53071
|
children: t.map((n) => /* @__PURE__ */ x.jsxs(
|
|
@@ -53073,7 +53073,7 @@ const tk = [
|
|
|
53073
53073
|
{
|
|
53074
53074
|
onMouseDown: (r) => r.preventDefault(),
|
|
53075
53075
|
onClick: () => n.command(e),
|
|
53076
|
-
className:
|
|
53076
|
+
className: Ze(
|
|
53077
53077
|
"gap-2",
|
|
53078
53078
|
n.isActive() && "!bg-[hsl(var(--color-bg-brand))]"
|
|
53079
53079
|
),
|
|
@@ -53105,7 +53105,7 @@ const tk = [
|
|
|
53105
53105
|
"div",
|
|
53106
53106
|
{
|
|
53107
53107
|
ref: n,
|
|
53108
|
-
className:
|
|
53108
|
+
className: Ze(
|
|
53109
53109
|
"z-50 flex flex-col justify-center items-center overflow-hidden rounded color-bg-default p-2 gap-1 shadow-elevation-1"
|
|
53110
53110
|
),
|
|
53111
53111
|
children: i.map((s) => /* @__PURE__ */ x.jsx(
|
|
@@ -53115,7 +53115,7 @@ const tk = [
|
|
|
53115
53115
|
onClick: () => {
|
|
53116
53116
|
o(s.value), t(st.NONE);
|
|
53117
53117
|
},
|
|
53118
|
-
className:
|
|
53118
|
+
className: Ze(
|
|
53119
53119
|
"flex w-full items-center justify-center rounded px-2 py-1 text-center text-sm color-text-default transition",
|
|
53120
53120
|
{
|
|
53121
53121
|
"color-bg-brand xl:hover:brightness-90 color-text-on-brand": r === s.value,
|
|
@@ -53139,7 +53139,7 @@ const tk = [
|
|
|
53139
53139
|
"div",
|
|
53140
53140
|
{
|
|
53141
53141
|
ref: t,
|
|
53142
|
-
className:
|
|
53142
|
+
className: Ze(
|
|
53143
53143
|
"z-50 flex flex-col justify-center items-center overflow-hidden rounded color-bg-default p-2 gap-1 shadow-elevation-1"
|
|
53144
53144
|
),
|
|
53145
53145
|
children: o.map((i) => /* @__PURE__ */ x.jsxs(
|
|
@@ -53149,7 +53149,7 @@ const tk = [
|
|
|
53149
53149
|
onClick: () => {
|
|
53150
53150
|
r(i.value), e(st.NONE);
|
|
53151
53151
|
},
|
|
53152
|
-
className:
|
|
53152
|
+
className: Ze(
|
|
53153
53153
|
"flex w-full items-center gap-2 rounded px-2 py-1 text-sm color-text-default transition min-w-[120px]",
|
|
53154
53154
|
{
|
|
53155
53155
|
"color-bg-default-hover": n === i.value,
|
|
@@ -53395,7 +53395,7 @@ const tk = [
|
|
|
53395
53395
|
"button",
|
|
53396
53396
|
{
|
|
53397
53397
|
onClick: () => e && u.command(e),
|
|
53398
|
-
className:
|
|
53398
|
+
className: Ze(
|
|
53399
53399
|
"flex w-fit items-center font-medium space-x-2 rounded p-2 text-center text-sm color-text-default transition",
|
|
53400
53400
|
{
|
|
53401
53401
|
"color-bg-brand xl:hover:brightness-90 color-text-on-brand": u.isActive(),
|
|
@@ -53411,7 +53411,7 @@ const tk = [
|
|
|
53411
53411
|
"button",
|
|
53412
53412
|
{
|
|
53413
53413
|
onClick: () => e && u.command(e),
|
|
53414
|
-
className:
|
|
53414
|
+
className: Ze(
|
|
53415
53415
|
"flex items-center space-x-2 rounded px-4 py-1 color-text-default transition h-9",
|
|
53416
53416
|
{
|
|
53417
53417
|
"color-bg-brand xl:hover:brightness-90 color-text-on-brand": u.isActive(),
|
|
@@ -53426,7 +53426,7 @@ const tk = [
|
|
|
53426
53426
|
"button",
|
|
53427
53427
|
{
|
|
53428
53428
|
onClick: () => e && u.command(e),
|
|
53429
|
-
className:
|
|
53429
|
+
className: Ze(
|
|
53430
53430
|
"flex items-center space-x-2 rounded px-4 py-1 color-text-default transition h-9",
|
|
53431
53431
|
{
|
|
53432
53432
|
"color-bg-brand xl:hover:brightness-90 color-text-on-brand": u.isActive(),
|
|
@@ -53443,7 +53443,7 @@ const tk = [
|
|
|
53443
53443
|
"button",
|
|
53444
53444
|
{
|
|
53445
53445
|
onClick: () => e && u.command(e),
|
|
53446
|
-
className:
|
|
53446
|
+
className: Ze(
|
|
53447
53447
|
"flex items-center space-x-2 rounded px-4 py-1 color-text-default transition h-9",
|
|
53448
53448
|
{
|
|
53449
53449
|
"color-bg-brand xl:hover:brightness-90 color-text-on-brand": u.isActive(),
|
|
@@ -53458,7 +53458,7 @@ const tk = [
|
|
|
53458
53458
|
"button",
|
|
53459
53459
|
{
|
|
53460
53460
|
onClick: () => e && u.command(e),
|
|
53461
|
-
className:
|
|
53461
|
+
className: Ze(
|
|
53462
53462
|
"flex items-center space-x-2 rounded px-4 py-1 color-text-default transition h-9",
|
|
53463
53463
|
{
|
|
53464
53464
|
"color-bg-brand xl:hover:brightness-90 color-text-on-brand": u.isActive(),
|
|
@@ -53474,7 +53474,7 @@ const tk = [
|
|
|
53474
53474
|
"button",
|
|
53475
53475
|
{
|
|
53476
53476
|
onClick: () => e && u.command(e),
|
|
53477
|
-
className:
|
|
53477
|
+
className: Ze(
|
|
53478
53478
|
"flex items-center space-x-2 rounded px-4 py-1 color-text-default transition h-9",
|
|
53479
53479
|
{
|
|
53480
53480
|
"color-bg-brand xl:hover:brightness-90 color-text-on-brand": u.isActive(),
|
|
@@ -53528,7 +53528,7 @@ const tk = [
|
|
|
53528
53528
|
onClick: () => {
|
|
53529
53529
|
e && e.chain().setColor(u.color).run();
|
|
53530
53530
|
},
|
|
53531
|
-
className:
|
|
53531
|
+
className: Ze(
|
|
53532
53532
|
"w-6 h-6 mb-1 drop-shadow rounded-full flex justify-center items-center cursor-pointer transition",
|
|
53533
53533
|
u.code
|
|
53534
53534
|
),
|
|
@@ -53536,7 +53536,7 @@ const tk = [
|
|
|
53536
53536
|
Le,
|
|
53537
53537
|
{
|
|
53538
53538
|
name: "Check",
|
|
53539
|
-
className:
|
|
53539
|
+
className: Ze(
|
|
53540
53540
|
"w-[14px] aspect-square",
|
|
53541
53541
|
e != null && e.isActive("textStyle", {
|
|
53542
53542
|
color: u.color
|
|
@@ -53901,7 +53901,7 @@ const tk = [
|
|
|
53901
53901
|
onClick: () => {
|
|
53902
53902
|
o.command();
|
|
53903
53903
|
},
|
|
53904
|
-
className:
|
|
53904
|
+
className: Ze(
|
|
53905
53905
|
"flex items-center justify-between rounded-sm px-2 py-1 text-body-sm hover:color-bg-default-hover transition-all",
|
|
53906
53906
|
{
|
|
53907
53907
|
"color-bg-brand hover:color-bg-brand-hover color-text-on-brand": o.isActive()
|
|
@@ -53997,7 +53997,7 @@ const tk = [
|
|
|
53997
53997
|
children: /* @__PURE__ */ x.jsxs(
|
|
53998
53998
|
vre,
|
|
53999
53999
|
{
|
|
54000
|
-
className:
|
|
54000
|
+
className: Xe(" !max-w-[336px] border-radius-xlg ## !rounded-[16px]"),
|
|
54001
54001
|
dismissable: !1,
|
|
54002
54002
|
children: [
|
|
54003
54003
|
/* @__PURE__ */ x.jsx(Fre, { className: "space-md border-b-[1px]", children: /* @__PURE__ */ x.jsx(wre, { className: "", children: /* @__PURE__ */ x.jsxs("div", { className: "flex items-center gap-4", children: [
|
|
@@ -54043,7 +54043,7 @@ const tk = [
|
|
|
54043
54043
|
) : /* @__PURE__ */ x.jsxs(
|
|
54044
54044
|
"div",
|
|
54045
54045
|
{
|
|
54046
|
-
className:
|
|
54046
|
+
className: Xe(
|
|
54047
54047
|
"absolute inset-0 z-10 flex flex-col rounded-[12px] items-center justify-center gap-[12px] bg-black/75",
|
|
54048
54048
|
o
|
|
54049
54049
|
),
|
|
@@ -54175,7 +54175,7 @@ const tk = [
|
|
|
54175
54175
|
emptyText: r,
|
|
54176
54176
|
className: o
|
|
54177
54177
|
}) => {
|
|
54178
|
-
const i =
|
|
54178
|
+
const i = Xe("text-body-sm break-words", o);
|
|
54179
54179
|
return e === "add" ? /* @__PURE__ */ x.jsxs("p", { className: i, children: [
|
|
54180
54180
|
/* @__PURE__ */ x.jsx("span", { className: "font-semibold", children: "Add:" }),
|
|
54181
54181
|
" ",
|
|
@@ -54216,7 +54216,7 @@ const tk = [
|
|
|
54216
54216
|
n,
|
|
54217
54217
|
'"'
|
|
54218
54218
|
] })
|
|
54219
|
-
] }) : r ? /* @__PURE__ */ x.jsx("p", { className:
|
|
54219
|
+
] }) : r ? /* @__PURE__ */ x.jsx("p", { className: Xe(i, "color-text-secondary italic"), children: r }) : null;
|
|
54220
54220
|
}, kV = ({ username: e, createdAt: t }) => {
|
|
54221
54221
|
const n = ca(e);
|
|
54222
54222
|
return /* @__PURE__ */ x.jsxs("div", { className: "flex justify-start items-center gap-2", children: [
|
|
@@ -54256,7 +54256,7 @@ const tk = [
|
|
|
54256
54256
|
return /* @__PURE__ */ x.jsxs(
|
|
54257
54257
|
"div",
|
|
54258
54258
|
{
|
|
54259
|
-
className:
|
|
54259
|
+
className: Xe(
|
|
54260
54260
|
"flex group relative flex-col gap-2 p-[4px]",
|
|
54261
54261
|
l && "min-h-[100px]"
|
|
54262
54262
|
),
|
|
@@ -54354,7 +54354,7 @@ const tk = [
|
|
|
54354
54354
|
"div",
|
|
54355
54355
|
{
|
|
54356
54356
|
onClick: r,
|
|
54357
|
-
className:
|
|
54357
|
+
className: Xe(
|
|
54358
54358
|
"text-helper-text-sm color-text-secondary min-h-[28px] mb-[4px] hover:underline custom-border cursor-pointer flex items-center gap-2 pr-[8px] pl-[4px]",
|
|
54359
54359
|
!a && "justify-center mt-[4px]"
|
|
54360
54360
|
),
|
|
@@ -54447,7 +54447,7 @@ const tk = [
|
|
|
54447
54447
|
"div",
|
|
54448
54448
|
{
|
|
54449
54449
|
ref: y,
|
|
54450
|
-
className:
|
|
54450
|
+
className: Xe(
|
|
54451
54451
|
"flex flex-col gap-3 px-3 group comment-card",
|
|
54452
54452
|
!p && "!px-6",
|
|
54453
54453
|
p && "py-3"
|
|
@@ -54466,7 +54466,7 @@ const tk = [
|
|
|
54466
54466
|
ref: y,
|
|
54467
54467
|
"data-testid": a ? `comment-card-${a}` : "comment-card",
|
|
54468
54468
|
onClick: k,
|
|
54469
|
-
className:
|
|
54469
|
+
className: Xe(
|
|
54470
54470
|
"flex flex-col gap-[4px] group/card comment-card",
|
|
54471
54471
|
o && "opacity-70",
|
|
54472
54472
|
d ? "p-3 pb-0" : "px-3"
|
|
@@ -54484,7 +54484,7 @@ const tk = [
|
|
|
54484
54484
|
children: /* @__PURE__ */ x.jsxs(
|
|
54485
54485
|
"div",
|
|
54486
54486
|
{
|
|
54487
|
-
className:
|
|
54487
|
+
className: Xe(
|
|
54488
54488
|
!O && "opacity-0 group-hover/card:opacity-100",
|
|
54489
54489
|
"flex gap-[4px]"
|
|
54490
54490
|
),
|
|
@@ -54574,7 +54574,7 @@ const tk = [
|
|
|
54574
54574
|
variant: "ghost",
|
|
54575
54575
|
disabled: !0,
|
|
54576
54576
|
size: "sm",
|
|
54577
|
-
className:
|
|
54577
|
+
className: Xe(
|
|
54578
54578
|
"opacity-0 group-hover:opacity-100 transition-opacity duration-300 disabled:bg-transparent"
|
|
54579
54579
|
)
|
|
54580
54580
|
}
|
|
@@ -54583,7 +54583,7 @@ const tk = [
|
|
|
54583
54583
|
/* @__PURE__ */ x.jsx(
|
|
54584
54584
|
"div",
|
|
54585
54585
|
{
|
|
54586
|
-
className:
|
|
54586
|
+
className: Xe(
|
|
54587
54587
|
"flex flex-col gap-2 pl-[18px] custom-border py-0",
|
|
54588
54588
|
(O ? j : P.length > 0) ? "border-l ml-[13px]" : "ml-[15px]"
|
|
54589
54589
|
),
|
|
@@ -54755,7 +54755,7 @@ const tk = [
|
|
|
54755
54755
|
icon: "Ellipsis",
|
|
54756
54756
|
variant: "ghost",
|
|
54757
54757
|
disabled: n,
|
|
54758
|
-
className:
|
|
54758
|
+
className: Xe({
|
|
54759
54759
|
"!bg-transparent": n
|
|
54760
54760
|
})
|
|
54761
54761
|
}
|
|
@@ -54796,7 +54796,7 @@ const tk = [
|
|
|
54796
54796
|
icon: p != null && p.resolved ? "CircleCheck2" : "CircleCheck",
|
|
54797
54797
|
variant: "ghost",
|
|
54798
54798
|
disabled: n,
|
|
54799
|
-
className:
|
|
54799
|
+
className: Xe({
|
|
54800
54800
|
"!bg-transparent": n
|
|
54801
54801
|
}),
|
|
54802
54802
|
onClick: () => p != null && p.resolved ? A(e) : E(e)
|
|
@@ -55139,7 +55139,7 @@ const tk = [
|
|
|
55139
55139
|
shift: !0
|
|
55140
55140
|
},
|
|
55141
55141
|
shouldShow: R,
|
|
55142
|
-
className:
|
|
55142
|
+
className: Xe(
|
|
55143
55143
|
"flex gap-2 overflow-hidden rounded-lg min-w-fit w-full p-1 border color-bg-default items-center shadow-elevation-3",
|
|
55144
55144
|
A || k === st.LINK_POPUP || O ? "!invisible" : "!visible",
|
|
55145
55145
|
F ? "!-translate-y-[120%]" : ""
|
|
@@ -55151,7 +55151,7 @@ const tk = [
|
|
|
55151
55151
|
children: F ? /* @__PURE__ */ x.jsx(
|
|
55152
55152
|
"div",
|
|
55153
55153
|
{
|
|
55154
|
-
className:
|
|
55154
|
+
className: Xe(
|
|
55155
55155
|
"relative",
|
|
55156
55156
|
A ? "left-1/2 translate-x-1/2" : ""
|
|
55157
55157
|
),
|
|
@@ -55627,7 +55627,7 @@ const Sy = Kt.create({
|
|
|
55627
55627
|
return u;
|
|
55628
55628
|
}, zE = ir(
|
|
55629
55629
|
({ children: e, className: t, withShadow: n = !0, withBorder: r = !1, ...o }, i) => {
|
|
55630
|
-
const s =
|
|
55630
|
+
const s = Xe(
|
|
55631
55631
|
t,
|
|
55632
55632
|
"color-bg-default rounded",
|
|
55633
55633
|
n ? "shadow-lg" : "",
|
|
@@ -55645,7 +55645,7 @@ const NV = ir(
|
|
|
55645
55645
|
className: r,
|
|
55646
55646
|
...o
|
|
55647
55647
|
}, i) => {
|
|
55648
|
-
const s =
|
|
55648
|
+
const s = Ze(
|
|
55649
55649
|
"color-text-default inline-flex h-full leading-none gap-0.5",
|
|
55650
55650
|
n ? "flex-col p-2" : "flex-row p-1 items-center",
|
|
55651
55651
|
r
|
|
@@ -55656,7 +55656,7 @@ const NV = ir(
|
|
|
55656
55656
|
NV.displayName = "Toolbar";
|
|
55657
55657
|
const b4e = ir(
|
|
55658
55658
|
({ horizontal: e, className: t, ...n }, r) => {
|
|
55659
|
-
const o =
|
|
55659
|
+
const o = Ze(
|
|
55660
55660
|
"bg-neutral-200",
|
|
55661
55661
|
e ? "w-full min-w-[1.5rem] h-[1px] my-1 first:mt-0 last:mt-0" : "h-full min-h-[1.5rem] w-[1px] mx-1 first:ml-0 last:mr-0",
|
|
55662
55662
|
t
|
|
@@ -58609,7 +58609,7 @@ ${j.getHTML()}`
|
|
|
58609
58609
|
variant: "ghost",
|
|
58610
58610
|
size: "sm",
|
|
58611
58611
|
isActive: e,
|
|
58612
|
-
className:
|
|
58612
|
+
className: Xe(
|
|
58613
58613
|
"color-text-default",
|
|
58614
58614
|
e && "color-text-on-brand"
|
|
58615
58615
|
),
|
|
@@ -58633,7 +58633,7 @@ ${j.getHTML()}`
|
|
|
58633
58633
|
const N = m(w.title);
|
|
58634
58634
|
v(N || void 0);
|
|
58635
58635
|
},
|
|
58636
|
-
className:
|
|
58636
|
+
className: Xe(
|
|
58637
58637
|
"min-h-8 rounded p-2 w-full text-left flex items-center justify-between transition text-body-sm",
|
|
58638
58638
|
w != null && w.disabled ? "opacity-50 cursor-not-allowed" : "hover:color-bg-default-hover"
|
|
58639
58639
|
),
|
|
@@ -58809,7 +58809,7 @@ ${j.getHTML()}`
|
|
|
58809
58809
|
{
|
|
58810
58810
|
onMouseDown: (i) => i.preventDefault(),
|
|
58811
58811
|
onClick: () => n(o.value),
|
|
58812
|
-
className:
|
|
58812
|
+
className: Ze(
|
|
58813
58813
|
"flex w-full items-center justify-center rounded px-2 py-1 text-center text-sm color-text-default transition",
|
|
58814
58814
|
{
|
|
58815
58815
|
"!bg-[hsl(var(--color-bg-brand))] color-text-on-brand": t === o.value
|
|
@@ -58846,7 +58846,7 @@ ${j.getHTML()}`
|
|
|
58846
58846
|
{
|
|
58847
58847
|
onMouseDown: (o) => o.preventDefault(),
|
|
58848
58848
|
onClick: () => t(r.value),
|
|
58849
|
-
className:
|
|
58849
|
+
className: Ze(
|
|
58850
58850
|
"flex w-full items-center gap-2 rounded px-2 py-1 text-sm color-text-default transition min-w-[120px]",
|
|
58851
58851
|
{
|
|
58852
58852
|
"!bg-[hsl(var(--color-bg-brand))]": e === r.value
|
|
@@ -58891,7 +58891,7 @@ ${j.getHTML()}`
|
|
|
58891
58891
|
onClick: () => {
|
|
58892
58892
|
e.chain().focus().toggleHighlight({ color: t.color }).run();
|
|
58893
58893
|
},
|
|
58894
|
-
className:
|
|
58894
|
+
className: Ze(
|
|
58895
58895
|
"w-5 p-0 rounded-full flex items-center justify-center cursor-pointer ease-in duration-200 data-[highlighted]:scale-[1.05] h-5"
|
|
58896
58896
|
),
|
|
58897
58897
|
style: { backgroundColor: t.color },
|
|
@@ -58899,7 +58899,7 @@ ${j.getHTML()}`
|
|
|
58899
58899
|
Le,
|
|
58900
58900
|
{
|
|
58901
58901
|
name: "Check",
|
|
58902
|
-
className:
|
|
58902
|
+
className: Ze(
|
|
58903
58903
|
"w-[14px] aspect-square",
|
|
58904
58904
|
e.isActive("highlight", {
|
|
58905
58905
|
color: t.color
|
|
@@ -58954,7 +58954,7 @@ ${j.getHTML()}`
|
|
|
58954
58954
|
onClick: () => {
|
|
58955
58955
|
e.chain().focus().setColor(i).run();
|
|
58956
58956
|
},
|
|
58957
|
-
className:
|
|
58957
|
+
className: Ze(
|
|
58958
58958
|
"w-5 p-0 rounded-full flex justify-center items-center cursor-pointer ease-in duration-200 data-[highlighted]:scale-[1.05] h-5"
|
|
58959
58959
|
),
|
|
58960
58960
|
style: { backgroundColor: i },
|
|
@@ -58962,7 +58962,7 @@ ${j.getHTML()}`
|
|
|
58962
58962
|
Le,
|
|
58963
58963
|
{
|
|
58964
58964
|
name: "Check",
|
|
58965
|
-
className:
|
|
58965
|
+
className: Ze(
|
|
58966
58966
|
"w-[14px] aspect-square",
|
|
58967
58967
|
e.isActive("textStyle", {
|
|
58968
58968
|
color: i
|
|
@@ -59016,7 +59016,7 @@ ${j.getHTML()}`
|
|
|
59016
59016
|
onClick: () => {
|
|
59017
59017
|
e == null || e.chain().focus().setTextAlign(t.value).run();
|
|
59018
59018
|
},
|
|
59019
|
-
className:
|
|
59019
|
+
className: Ze(
|
|
59020
59020
|
"rounded w-8 h-8 p-1 flex justify-center items-center cursor-pointer transition",
|
|
59021
59021
|
e.isActive({ textAlign: t.value }) && "!bg-[hsl(var(--color-bg-brand))]"
|
|
59022
59022
|
),
|
|
@@ -60307,7 +60307,7 @@ si.prototype = {
|
|
|
60307
60307
|
return o.j[e] = s, s;
|
|
60308
60308
|
}
|
|
60309
60309
|
};
|
|
60310
|
-
const ln = (e, t, n, r, o) => e.ta(t, n, r, o), lr = (e, t, n, r, o) => e.tr(t, n, r, o), aN = (e, t, n, r, o) => e.ts(t, n, r, o),
|
|
60310
|
+
const ln = (e, t, n, r, o) => e.ta(t, n, r, o), lr = (e, t, n, r, o) => e.tr(t, n, r, o), aN = (e, t, n, r, o) => e.ts(t, n, r, o), Ye = (e, t, n, r, o) => e.tt(t, n, r, o), Fl = "WORD", fk = "UWORD", bK = "ASCIINUMERICAL", yK = "ALPHANUMERICAL", pg = "LOCALHOST", gk = "TLD", mk = "UTLD", wb = "SCHEME", rh = "SLASH_SCHEME", GE = "NUM", bk = "WS", XE = "NL", c1 = "OPENBRACE", d1 = "CLOSEBRACE", Ny = "OPENBRACKET", My = "CLOSEBRACKET", Oy = "OPENPAREN", Iy = "CLOSEPAREN", Ry = "OPENANGLEBRACKET", Ly = "CLOSEANGLEBRACKET", Uy = "FULLWIDTHLEFTPAREN", Py = "FULLWIDTHRIGHTPAREN", zy = "LEFTCORNERBRACKET", $y = "RIGHTCORNERBRACKET", Hy = "LEFTWHITECORNERBRACKET", Wy = "RIGHTWHITECORNERBRACKET", qy = "FULLWIDTHLESSTHAN", Vy = "FULLWIDTHGREATERTHAN", Ky = "AMPERSAND", Gy = "APOSTROPHE", Xy = "ASTERISK", ju = "AT", Yy = "BACKSLASH", Zy = "BACKTICK", Jy = "CARET", Pu = "COLON", YE = "COMMA", Qy = "DOLLAR", wa = "DOT", ex = "EQUALS", ZE = "EXCLAMATION", ns = "HYPHEN", p1 = "PERCENT", tx = "PIPE", nx = "PLUS", rx = "POUND", h1 = "QUERY", JE = "QUOTE", xK = "FULLWIDTHMIDDLEDOT", QE = "SEMI", Da = "SLASH", f1 = "TILDE", ox = "UNDERSCORE", vK = "EMOJI", ix = "SYM";
|
|
60311
60311
|
var FK = /* @__PURE__ */ Object.freeze({
|
|
60312
60312
|
__proto__: null,
|
|
60313
60313
|
ALPHANUMERICAL: yK,
|
|
@@ -60373,7 +60373,7 @@ function H6e(e = []) {
|
|
|
60373
60373
|
const t = {};
|
|
60374
60374
|
si.groups = t;
|
|
60375
60375
|
const n = new si();
|
|
60376
|
-
g2 == null && (g2 = uN(O6e)), m2 == null && (m2 = uN(I6e)),
|
|
60376
|
+
g2 == null && (g2 = uN(O6e)), m2 == null && (m2 = uN(I6e)), Ye(n, "'", Gy), Ye(n, "{", c1), Ye(n, "}", d1), Ye(n, "[", Ny), Ye(n, "]", My), Ye(n, "(", Oy), Ye(n, ")", Iy), Ye(n, "<", Ry), Ye(n, ">", Ly), Ye(n, "(", Uy), Ye(n, ")", Py), Ye(n, "「", zy), Ye(n, "」", $y), Ye(n, "『", Hy), Ye(n, "』", Wy), Ye(n, "<", qy), Ye(n, ">", Vy), Ye(n, "&", Ky), Ye(n, "*", Xy), Ye(n, "@", ju), Ye(n, "`", Zy), Ye(n, "^", Jy), Ye(n, ":", Pu), Ye(n, ",", YE), Ye(n, "$", Qy), Ye(n, ".", wa), Ye(n, "=", ex), Ye(n, "!", ZE), Ye(n, "-", ns), Ye(n, "%", p1), Ye(n, "|", tx), Ye(n, "+", nx), Ye(n, "#", rx), Ye(n, "?", h1), Ye(n, '"', JE), Ye(n, "/", Da), Ye(n, ";", QE), Ye(n, "~", f1), Ye(n, "_", ox), Ye(n, "\\", Yy), Ye(n, "・", xK);
|
|
60377
60377
|
const r = lr(n, gl, GE, {
|
|
60378
60378
|
[ck]: !0
|
|
60379
60379
|
});
|
|
@@ -60390,20 +60390,20 @@ function H6e(e = []) {
|
|
|
60390
60390
|
[pk]: !0
|
|
60391
60391
|
});
|
|
60392
60392
|
lr(a, fl), lr(a, gl, i), lr(a, h0, a), lr(i, gl, i), lr(i, fl), lr(i, h0, i);
|
|
60393
|
-
const l =
|
|
60393
|
+
const l = Ye(n, YF, XE, {
|
|
60394
60394
|
[KF]: !0
|
|
60395
|
-
}), u =
|
|
60395
|
+
}), u = Ye(n, lN, bk, {
|
|
60396
60396
|
[KF]: !0
|
|
60397
60397
|
}), c = lr(n, XF, bk, {
|
|
60398
60398
|
[KF]: !0
|
|
60399
60399
|
});
|
|
60400
|
-
|
|
60400
|
+
Ye(n, ZF, c), Ye(u, YF, l), Ye(u, ZF, c), lr(u, XF, c), Ye(c, lN), Ye(c, YF), lr(c, XF, c), Ye(c, ZF, c);
|
|
60401
60401
|
const d = lr(n, GF, vK, {
|
|
60402
60402
|
[mK]: !0
|
|
60403
60403
|
});
|
|
60404
|
-
|
|
60405
|
-
const p =
|
|
60406
|
-
|
|
60404
|
+
Ye(d, "#"), lr(d, GF, d), Ye(d, z6e, d);
|
|
60405
|
+
const p = Ye(d, $6e);
|
|
60406
|
+
Ye(p, "#"), lr(p, GF, d);
|
|
60407
60407
|
const h = [[fl, s], [gl, o]], f = [[fl, null], [h0, a], [gl, i]];
|
|
60408
60408
|
for (let g = 0; g < g2.length; g++)
|
|
60409
60409
|
vu(n, g2[g], gk, Fl, h);
|
|
@@ -60729,34 +60729,34 @@ const dN = Yv("email", {
|
|
|
60729
60729
|
function V6e({
|
|
60730
60730
|
groups: e
|
|
60731
60731
|
}) {
|
|
60732
|
-
const t = e.domain.concat([Ky, Xy, ju, Yy, Zy, Jy, Qy, ex, ns, GE, p1, tx, nx, rx, Da, ix, f1, ox]), n = [Gy, Pu, YE, wa, ZE, p1, h1, JE, QE, Ry, Ly, c1, d1, My, Ny, Oy, Iy, Uy, Py, zy, $y, Hy, Wy, qy, Vy], r = [Ky, Gy, Xy, Yy, Zy, Jy, Qy, ex, ns, c1, d1, p1, tx, nx, rx, h1, Da, ix, f1, ox], o = Ji(), i =
|
|
60732
|
+
const t = e.domain.concat([Ky, Xy, ju, Yy, Zy, Jy, Qy, ex, ns, GE, p1, tx, nx, rx, Da, ix, f1, ox]), n = [Gy, Pu, YE, wa, ZE, p1, h1, JE, QE, Ry, Ly, c1, d1, My, Ny, Oy, Iy, Uy, Py, zy, $y, Hy, Wy, qy, Vy], r = [Ky, Gy, Xy, Yy, Zy, Jy, Qy, ex, ns, c1, d1, p1, tx, nx, rx, h1, Da, ix, f1, ox], o = Ji(), i = Ye(o, f1);
|
|
60733
60733
|
ln(i, r, i), ln(i, e.domain, i);
|
|
60734
60734
|
const s = Ji(), a = Ji(), l = Ji();
|
|
60735
60735
|
ln(o, e.domain, s), ln(o, e.scheme, a), ln(o, e.slashscheme, l), ln(s, r, i), ln(s, e.domain, s);
|
|
60736
|
-
const u =
|
|
60737
|
-
|
|
60738
|
-
const c =
|
|
60736
|
+
const u = Ye(s, ju);
|
|
60737
|
+
Ye(i, ju, u), Ye(a, ju, u), Ye(l, ju, u);
|
|
60738
|
+
const c = Ye(i, wa);
|
|
60739
60739
|
ln(c, r, i), ln(c, e.domain, i);
|
|
60740
60740
|
const d = Ji();
|
|
60741
60741
|
ln(u, e.domain, d), ln(d, e.domain, d);
|
|
60742
|
-
const p =
|
|
60742
|
+
const p = Ye(d, wa);
|
|
60743
60743
|
ln(p, e.domain, d);
|
|
60744
60744
|
const h = Ji(dN);
|
|
60745
|
-
ln(p, e.tld, h), ln(p, e.utld, h),
|
|
60746
|
-
const f =
|
|
60747
|
-
|
|
60748
|
-
const g =
|
|
60745
|
+
ln(p, e.tld, h), ln(p, e.utld, h), Ye(u, pg, h);
|
|
60746
|
+
const f = Ye(d, ns);
|
|
60747
|
+
Ye(f, ns, f), ln(f, e.domain, d), ln(h, e.domain, d), Ye(h, wa, p), Ye(h, ns, f);
|
|
60748
|
+
const g = Ye(h, Pu);
|
|
60749
60749
|
ln(g, e.numeric, dN);
|
|
60750
|
-
const m =
|
|
60751
|
-
|
|
60750
|
+
const m = Ye(s, ns), b = Ye(s, wa);
|
|
60751
|
+
Ye(m, ns, m), ln(m, e.domain, s), ln(b, r, i), ln(b, e.domain, s);
|
|
60752
60752
|
const y = Ji(b2);
|
|
60753
|
-
ln(b, e.tld, y), ln(b, e.utld, y), ln(y, e.domain, s), ln(y, r, i),
|
|
60754
|
-
const F =
|
|
60753
|
+
ln(b, e.tld, y), ln(b, e.utld, y), ln(y, e.domain, s), ln(y, r, i), Ye(y, wa, b), Ye(y, ns, m), Ye(y, ju, u);
|
|
60754
|
+
const F = Ye(y, Pu), v = Ji(b2);
|
|
60755
60755
|
ln(F, e.numeric, v);
|
|
60756
60756
|
const w = Ji(b2), D = Ji();
|
|
60757
|
-
ln(w, t, w), ln(w, n, D), ln(D, t, w), ln(D, n, D),
|
|
60758
|
-
const k =
|
|
60759
|
-
ln(a, e.domain, s),
|
|
60757
|
+
ln(w, t, w), ln(w, n, D), ln(D, t, w), ln(D, n, D), Ye(y, Da, w), Ye(v, Da, w);
|
|
60758
|
+
const k = Ye(a, Pu), E = Ye(l, Pu), A = Ye(E, Da), N = Ye(A, Da);
|
|
60759
|
+
ln(a, e.domain, s), Ye(a, wa, b), Ye(a, ns, m), ln(l, e.domain, s), Ye(l, wa, b), Ye(l, ns, m), ln(k, e.domain, w), Ye(k, Da, w), Ye(k, h1, w), ln(N, e.domain, w), ln(N, t, w), Ye(N, Da, w);
|
|
60760
60760
|
const M = [
|
|
60761
60761
|
[c1, d1],
|
|
60762
60762
|
// {}
|
|
@@ -60776,14 +60776,14 @@ function V6e({
|
|
|
60776
60776
|
// <>
|
|
60777
60777
|
];
|
|
60778
60778
|
for (let _ = 0; _ < M.length; _++) {
|
|
60779
|
-
const [O, C] = M[_], j =
|
|
60780
|
-
|
|
60779
|
+
const [O, C] = M[_], j = Ye(w, O);
|
|
60780
|
+
Ye(D, O, j), Ye(j, C, w);
|
|
60781
60781
|
const S = Ji(b2);
|
|
60782
60782
|
ln(j, t, S);
|
|
60783
60783
|
const R = Ji();
|
|
60784
|
-
ln(j, n), ln(S, t, S), ln(S, n, R), ln(R, t, S), ln(R, n, R),
|
|
60784
|
+
ln(j, n), ln(S, t, S), ln(S, n, R), ln(R, t, S), ln(R, n, R), Ye(S, C, w), Ye(R, C, w);
|
|
60785
60785
|
}
|
|
60786
|
-
return
|
|
60786
|
+
return Ye(o, pg, y), Ye(o, XE, q6e), {
|
|
60787
60787
|
start: o,
|
|
60788
60788
|
tokens: FK
|
|
60789
60789
|
};
|
|
@@ -63902,7 +63902,7 @@ const c5e = S6e.extend({
|
|
|
63902
63902
|
fp,
|
|
63903
63903
|
{
|
|
63904
63904
|
as: "article",
|
|
63905
|
-
className:
|
|
63905
|
+
className: Ze(
|
|
63906
63906
|
"media-node-view not-prose transition-all ease-in-out w-full",
|
|
63907
63907
|
L && `f-${n.attrs.dataFloat}`,
|
|
63908
63908
|
G && `justify-${n.attrs.dataAlign}`
|
|
@@ -63912,8 +63912,9 @@ const c5e = S6e.extend({
|
|
|
63912
63912
|
{
|
|
63913
63913
|
draggable: D,
|
|
63914
63914
|
"data-drag-handle": D,
|
|
63915
|
-
className:
|
|
63915
|
+
className: Ze(
|
|
63916
63916
|
"w-fit flex flex-col relative group transition-all ease-in-out",
|
|
63917
|
+
!l && "p-2 pt-1 color-bg-secondary rounded-lg",
|
|
63917
63918
|
D && "opacity-50"
|
|
63918
63919
|
),
|
|
63919
63920
|
onTouchStart: Q,
|
|
@@ -63921,11 +63922,27 @@ const c5e = S6e.extend({
|
|
|
63921
63922
|
onTouchEnd: le,
|
|
63922
63923
|
onTouchCancel: le,
|
|
63923
63924
|
children: [
|
|
63925
|
+
!l && /* @__PURE__ */ x.jsx("div", { className: "flex gap-1 p-1 mb-1 ml-auto", children: DN.filter((Z) => !(u === "iframe" && Z.tooltip === "Add Caption")).map((Z, T) => /* @__PURE__ */ x.jsx(
|
|
63926
|
+
dr,
|
|
63927
|
+
{
|
|
63928
|
+
variant: "ghost",
|
|
63929
|
+
tooltip: Z.tooltip,
|
|
63930
|
+
isActive: m[Z.tooltip],
|
|
63931
|
+
onClick: () => {
|
|
63932
|
+
var V;
|
|
63933
|
+
return Z.tooltip === "Delete" ? o() : (V = Z.action) == null ? void 0 : V.call(Z, r, s, a);
|
|
63934
|
+
},
|
|
63935
|
+
icon: Z.icon,
|
|
63936
|
+
classNames: "min-w-6 aspect-square",
|
|
63937
|
+
size: "sm"
|
|
63938
|
+
},
|
|
63939
|
+
T
|
|
63940
|
+
)) }),
|
|
63924
63941
|
/* @__PURE__ */ x.jsxs(
|
|
63925
63942
|
"div",
|
|
63926
63943
|
{
|
|
63927
63944
|
contentEditable: !1,
|
|
63928
|
-
className:
|
|
63945
|
+
className: Ze(
|
|
63929
63946
|
"relative",
|
|
63930
63947
|
n.attrs.dataAlign === "start" && "self-start",
|
|
63931
63948
|
n.attrs.dataAlign === "center" && "self-center",
|
|
@@ -64001,7 +64018,7 @@ const c5e = S6e.extend({
|
|
|
64001
64018
|
"iframe",
|
|
64002
64019
|
{
|
|
64003
64020
|
ref: y,
|
|
64004
|
-
className:
|
|
64021
|
+
className: Ze(
|
|
64005
64022
|
"rounded-lg max-w-full",
|
|
64006
64023
|
v && "pointer-events-none"
|
|
64007
64024
|
),
|
|
@@ -64038,7 +64055,7 @@ const c5e = S6e.extend({
|
|
|
64038
64055
|
m9,
|
|
64039
64056
|
{
|
|
64040
64057
|
as: "div",
|
|
64041
|
-
className:
|
|
64058
|
+
className: Ze("media-caption", {
|
|
64042
64059
|
"text-left": n.attrs.dataAlign === "start",
|
|
64043
64060
|
"text-center": n.attrs.dataAlign === "center",
|
|
64044
64061
|
"text-right": n.attrs.dataAlign === "end"
|
|
@@ -64048,7 +64065,7 @@ const c5e = S6e.extend({
|
|
|
64048
64065
|
"div",
|
|
64049
64066
|
{
|
|
64050
64067
|
contentEditable: !1,
|
|
64051
|
-
className:
|
|
64068
|
+
className: Ze("media-caption media-caption-legacy", {
|
|
64052
64069
|
"text-left": n.attrs.dataAlign === "start",
|
|
64053
64070
|
"text-center": n.attrs.dataAlign === "center",
|
|
64054
64071
|
"text-right": n.attrs.dataAlign === "end"
|
|
@@ -64056,31 +64073,7 @@ const c5e = S6e.extend({
|
|
|
64056
64073
|
onClick: C,
|
|
64057
64074
|
children: n.attrs.caption
|
|
64058
64075
|
}
|
|
64059
|
-
) : null
|
|
64060
|
-
!l && /* @__PURE__ */ x.jsx(
|
|
64061
|
-
"span",
|
|
64062
|
-
{
|
|
64063
|
-
className: Xe(
|
|
64064
|
-
"absolute transition-all rounded-md overflow-hidden box-border border color-border-default color-bg-default shadow-elevation-3 opacity-0 group-hover:opacity-100 flex gap-1 p-1",
|
|
64065
|
-
d ? "bottom-2 left-2" : "top-2 right-2"
|
|
64066
|
-
),
|
|
64067
|
-
children: DN.filter((Z) => !(u === "iframe" && Z.tooltip === "Add Caption")).map((Z, T) => /* @__PURE__ */ x.jsx(
|
|
64068
|
-
dr,
|
|
64069
|
-
{
|
|
64070
|
-
tooltip: Z.tooltip,
|
|
64071
|
-
isActive: m[Z.tooltip],
|
|
64072
|
-
onClick: () => {
|
|
64073
|
-
var V;
|
|
64074
|
-
return Z.tooltip === "Delete" ? o() : (V = Z.action) == null ? void 0 : V.call(Z, r, s, a);
|
|
64075
|
-
},
|
|
64076
|
-
icon: Z.icon,
|
|
64077
|
-
classNames: "min-w-6 aspect-square",
|
|
64078
|
-
size: "sm"
|
|
64079
|
-
},
|
|
64080
|
-
T
|
|
64081
|
-
))
|
|
64082
|
-
}
|
|
64083
|
-
)
|
|
64076
|
+
) : null
|
|
64084
64077
|
]
|
|
64085
64078
|
}
|
|
64086
64079
|
)
|
|
@@ -68706,7 +68699,7 @@ const X9e = [
|
|
|
68706
68699
|
{
|
|
68707
68700
|
ref: s,
|
|
68708
68701
|
tabIndex: 0,
|
|
68709
|
-
className:
|
|
68702
|
+
className: Ze("trigger-button", { hidden: i }),
|
|
68710
68703
|
contentEditable: !1,
|
|
68711
68704
|
onClick: c,
|
|
68712
68705
|
onMouseDown: (p) => {
|
|
@@ -95585,7 +95578,7 @@ function HPe({
|
|
|
95585
95578
|
return /* @__PURE__ */ x.jsx(fp, { className: "w-full", children: /* @__PURE__ */ x.jsxs(
|
|
95586
95579
|
"pre",
|
|
95587
95580
|
{
|
|
95588
|
-
className:
|
|
95581
|
+
className: Xe(
|
|
95589
95582
|
"rounded-lg overflow-clip border color-border-default w-full relative",
|
|
95590
95583
|
E && "!bg-white !bg-clip-padding"
|
|
95591
95584
|
),
|
|
@@ -95593,7 +95586,7 @@ function HPe({
|
|
|
95593
95586
|
/* @__PURE__ */ x.jsxs(
|
|
95594
95587
|
"div",
|
|
95595
95588
|
{
|
|
95596
|
-
className:
|
|
95589
|
+
className: Xe(
|
|
95597
95590
|
"flex flex-row gap-2 items-center justify-between color-bg-secondary absolute top-0 left-0 z-10 w-full border-b color-border-default px-2 py-1",
|
|
95598
95591
|
c && !u && "hidden"
|
|
95599
95592
|
),
|
|
@@ -95646,7 +95639,7 @@ function HPe({
|
|
|
95646
95639
|
{
|
|
95647
95640
|
name: i,
|
|
95648
95641
|
size: "sm",
|
|
95649
|
-
className:
|
|
95642
|
+
className: Xe(
|
|
95650
95643
|
"transition-all duration-300 absolute inset-0",
|
|
95651
95644
|
i === "Check" ? "opacity-100 scale-100" : "opacity-0 scale-0"
|
|
95652
95645
|
)
|
|
@@ -95657,7 +95650,7 @@ function HPe({
|
|
|
95657
95650
|
{
|
|
95658
95651
|
name: "Copy",
|
|
95659
95652
|
size: "sm",
|
|
95660
|
-
className:
|
|
95653
|
+
className: Xe(
|
|
95661
95654
|
"transition-all duration-300 absolute inset-0",
|
|
95662
95655
|
i === "Check" ? "opacity-0 scale-0" : "opacity-100 scale-100"
|
|
95663
95656
|
)
|
|
@@ -95676,7 +95669,7 @@ function HPe({
|
|
|
95676
95669
|
variant: "ghost",
|
|
95677
95670
|
size: "sm",
|
|
95678
95671
|
onClick: () => t({ lineNumbers: !d }),
|
|
95679
|
-
className:
|
|
95672
|
+
className: Xe(
|
|
95680
95673
|
"min-w-fit p-2",
|
|
95681
95674
|
d && "color-bg-brand color-text-on-brand hover:bg-[hsla(var(--color-bg-brand-hover))]"
|
|
95682
95675
|
),
|
|
@@ -95690,7 +95683,7 @@ function HPe({
|
|
|
95690
95683
|
variant: "ghost",
|
|
95691
95684
|
size: "sm",
|
|
95692
95685
|
onClick: () => t({ wordWrap: !p }),
|
|
95693
|
-
className:
|
|
95686
|
+
className: Xe(
|
|
95694
95687
|
"min-w-fit p-2",
|
|
95695
95688
|
p && "color-bg-brand color-text-on-brand hover:bg-[hsla(var(--color-bg-brand-hover))]"
|
|
95696
95689
|
),
|
|
@@ -95791,7 +95784,7 @@ function HPe({
|
|
|
95791
95784
|
/* @__PURE__ */ x.jsx(
|
|
95792
95785
|
"div",
|
|
95793
95786
|
{
|
|
95794
|
-
className:
|
|
95787
|
+
className: Xe(
|
|
95795
95788
|
"absolute top-3 right-3 hidden z-10 color-bg-default",
|
|
95796
95789
|
c && !u && "flex"
|
|
95797
95790
|
),
|
|
@@ -95801,7 +95794,7 @@ function HPe({
|
|
|
95801
95794
|
{
|
|
95802
95795
|
name: i,
|
|
95803
95796
|
size: "sm",
|
|
95804
|
-
className:
|
|
95797
|
+
className: Xe(
|
|
95805
95798
|
"transition-all duration-200 absolute inset-0",
|
|
95806
95799
|
i === "Check" ? "opacity-100 scale-100" : "opacity-0 scale-50"
|
|
95807
95800
|
)
|
|
@@ -95812,7 +95805,7 @@ function HPe({
|
|
|
95812
95805
|
{
|
|
95813
95806
|
name: "Copy",
|
|
95814
95807
|
size: "sm",
|
|
95815
|
-
className:
|
|
95808
|
+
className: Xe(
|
|
95816
95809
|
"transition-all duration-200 absolute inset-0",
|
|
95817
95810
|
i === "Check" ? "opacity-0 scale-50" : "opacity-100 scale-100"
|
|
95818
95811
|
)
|
|
@@ -95824,7 +95817,7 @@ function HPe({
|
|
|
95824
95817
|
/* @__PURE__ */ x.jsxs(
|
|
95825
95818
|
"div",
|
|
95826
95819
|
{
|
|
95827
|
-
className:
|
|
95820
|
+
className: Xe(
|
|
95828
95821
|
"bg-transparent w-full p-0 font-mono select-text pointer-events-auto overflow-auto no-scrollbar max-w-[650px]",
|
|
95829
95822
|
(!c || u) && "mt-8",
|
|
95830
95823
|
M.length > 20 && "max-h-[500px]"
|
|
@@ -95841,7 +95834,7 @@ function HPe({
|
|
|
95841
95834
|
/* @__PURE__ */ x.jsxs(
|
|
95842
95835
|
"div",
|
|
95843
95836
|
{
|
|
95844
|
-
className:
|
|
95837
|
+
className: Xe(
|
|
95845
95838
|
"flex flex-row gap-3",
|
|
95846
95839
|
E && "hidden",
|
|
95847
95840
|
!p && "w-max"
|
|
@@ -95860,7 +95853,7 @@ function HPe({
|
|
|
95860
95853
|
{
|
|
95861
95854
|
ref: o,
|
|
95862
95855
|
as: "div",
|
|
95863
|
-
className:
|
|
95856
|
+
className: Xe(
|
|
95864
95857
|
"leading-5 font-mono pl-4 flex-1",
|
|
95865
95858
|
e.textContent.length === 0 && "min-h-[20px]"
|
|
95866
95859
|
),
|
|
@@ -170050,7 +170043,7 @@ const T$e = (e, t, { state: n, dispatch: r }) => {
|
|
|
170050
170043
|
children: i.map((f, g) => /* @__PURE__ */ x.jsxs(
|
|
170051
170044
|
"button",
|
|
170052
170045
|
{
|
|
170053
|
-
className:
|
|
170046
|
+
className: Xe(
|
|
170054
170047
|
"flex w-full items-center space-x-2 rounded-md px-2 py-1 text-left text-sm border border-transparent transition-all",
|
|
170055
170048
|
g === r && "color-bg-default-hover",
|
|
170056
170049
|
f.isDisabled ? "cursor-not-allowed color-text-disabled" : "hover:color-bg-default-hover cursor-pointer"
|
|
@@ -170064,7 +170057,7 @@ const T$e = (e, t, { state: n, dispatch: r }) => {
|
|
|
170064
170057
|
/* @__PURE__ */ x.jsx(
|
|
170065
170058
|
"p",
|
|
170066
170059
|
{
|
|
170067
|
-
className:
|
|
170060
|
+
className: Xe(
|
|
170068
170061
|
"text-xs",
|
|
170069
170062
|
f.isDisabled && "color-text-disabled"
|
|
170070
170063
|
),
|
|
@@ -170425,7 +170418,7 @@ const T$e = (e, t, { state: n, dispatch: r }) => {
|
|
|
170425
170418
|
return /* @__PURE__ */ x.jsxs(
|
|
170426
170419
|
fp,
|
|
170427
170420
|
{
|
|
170428
|
-
className:
|
|
170421
|
+
className: Ze("flex relative w-full h-full justify-center items-center"),
|
|
170429
170422
|
style: l,
|
|
170430
170423
|
children: [
|
|
170431
170424
|
/* @__PURE__ */ x.jsx(
|
|
@@ -171790,7 +171783,7 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
171790
171783
|
"div",
|
|
171791
171784
|
{
|
|
171792
171785
|
ref: _,
|
|
171793
|
-
className:
|
|
171786
|
+
className: Xe(
|
|
171794
171787
|
"color-bg-default overflow-hidden flex flex-col rounded-lg w-full",
|
|
171795
171788
|
k ? "opacity-0" : g ? "animate-aiwriter-scale-out" : "animate-aiwriter-scale-in"
|
|
171796
171789
|
),
|
|
@@ -171835,7 +171828,7 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
171835
171828
|
/* @__PURE__ */ x.jsxs(
|
|
171836
171829
|
"div",
|
|
171837
171830
|
{
|
|
171838
|
-
className:
|
|
171831
|
+
className: Xe(
|
|
171839
171832
|
"flex items-center flex-col justify-between border color-border-default rounded-lg mb-4 mx-3 flex-1 shadow-elevation-3 ",
|
|
171840
171833
|
!d && "px-3 py-2"
|
|
171841
171834
|
),
|
|
@@ -171843,7 +171836,7 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
171843
171836
|
/* @__PURE__ */ x.jsxs(
|
|
171844
171837
|
"div",
|
|
171845
171838
|
{
|
|
171846
|
-
className:
|
|
171839
|
+
className: Xe(
|
|
171847
171840
|
"flex items-start gap-2 w-full",
|
|
171848
171841
|
d && "px-3 py-2"
|
|
171849
171842
|
),
|
|
@@ -171869,7 +171862,7 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
171869
171862
|
/* @__PURE__ */ x.jsxs(
|
|
171870
171863
|
"div",
|
|
171871
171864
|
{
|
|
171872
|
-
className:
|
|
171865
|
+
className: Xe(
|
|
171873
171866
|
"flex justify-between gap-2 w-full",
|
|
171874
171867
|
d && "px-3 pb-2"
|
|
171875
171868
|
),
|
|
@@ -171912,7 +171905,7 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
171912
171905
|
"label",
|
|
171913
171906
|
{
|
|
171914
171907
|
htmlFor: "include-context",
|
|
171915
|
-
className:
|
|
171908
|
+
className: Xe(
|
|
171916
171909
|
"text-xs md:text-sm color-text-default",
|
|
171917
171910
|
i && "color-text-disabled"
|
|
171918
171911
|
),
|
|
@@ -171926,7 +171919,7 @@ User prompt: ${u} /no_think` : `${u} /no_think`;
|
|
|
171926
171919
|
{
|
|
171927
171920
|
onClick: a ? Q : re,
|
|
171928
171921
|
disabled: !u.trim() || i && !a,
|
|
171929
|
-
className:
|
|
171922
|
+
className: Xe("p-2 min-w-0 rounded-full w-8 h-8"),
|
|
171930
171923
|
children: a ? /* @__PURE__ */ x.jsx(Le, { name: "Square", size: "sm" }) : /* @__PURE__ */ x.jsx(Le, { name: "ArrowUp", size: "sm" })
|
|
171931
171924
|
}
|
|
171932
171925
|
)
|
|
@@ -183470,7 +183463,7 @@ const DXe = async (e, t, n) => {
|
|
|
183470
183463
|
"div",
|
|
183471
183464
|
{
|
|
183472
183465
|
ref: s,
|
|
183473
|
-
className:
|
|
183466
|
+
className: Xe(
|
|
183474
183467
|
"color-bg-default flex gap-3 py-4 px-4 color-border-default-hover relative",
|
|
183475
183468
|
l ? "flex-row overflow-x-auto border-t min-h-[12rem] order-2 w-full pt-10 xl:pt-0" : "w-[251px] h-full overflow-y-auto overflow-x-hidden flex-col py-16 border-r",
|
|
183476
183469
|
a && "min-h-[20rem]"
|
|
@@ -183484,7 +183477,7 @@ const DXe = async (e, t, n) => {
|
|
|
183484
183477
|
"div",
|
|
183485
183478
|
{
|
|
183486
183479
|
ref: (f) => i.current[h] = f,
|
|
183487
|
-
className:
|
|
183480
|
+
className: Xe(
|
|
183488
183481
|
"flex p-2 rounded-xl w-[219px] h-[122px] transition-all",
|
|
183489
183482
|
t === h ? "color-bg-brand hover:color-bg-brand-hover" : "color-bg-default hover:color-bg-default-hover"
|
|
183490
183483
|
),
|
|
@@ -183492,7 +183485,7 @@ const DXe = async (e, t, n) => {
|
|
|
183492
183485
|
/* @__PURE__ */ x.jsx(
|
|
183493
183486
|
"span",
|
|
183494
183487
|
{
|
|
183495
|
-
className:
|
|
183488
|
+
className: Xe(
|
|
183496
183489
|
"text-body-sm h-full w-[20px] pr-1 text-center",
|
|
183497
183490
|
t === h ? "color-text-on-brand" : "color-text-default"
|
|
183498
183491
|
),
|
|
@@ -183503,14 +183496,14 @@ const DXe = async (e, t, n) => {
|
|
|
183503
183496
|
"div",
|
|
183504
183497
|
{
|
|
183505
183498
|
onClick: () => n(h),
|
|
183506
|
-
className:
|
|
183499
|
+
className: Xe(
|
|
183507
183500
|
"border rounded-lg cursor-pointer transition-all transform overflow-hidden aspect-video w-[188px] h-[106px]",
|
|
183508
183501
|
t === h ? "border-[#FFDF0A]" : "color-border-default"
|
|
183509
183502
|
),
|
|
183510
183503
|
children: /* @__PURE__ */ x.jsx(
|
|
183511
183504
|
"div",
|
|
183512
183505
|
{
|
|
183513
|
-
className:
|
|
183506
|
+
className: Xe(
|
|
183514
183507
|
"presentation-mode preview-slide w-[400%] h-[400%]",
|
|
183515
183508
|
!u && "color-bg-default"
|
|
183516
183509
|
),
|
|
@@ -183940,7 +183933,7 @@ const IXe = ({
|
|
|
183940
183933
|
uv,
|
|
183941
183934
|
{
|
|
183942
183935
|
editor: t,
|
|
183943
|
-
className:
|
|
183936
|
+
className: Xe("presentation-mode", {
|
|
183944
183937
|
fullscreen: i
|
|
183945
183938
|
}),
|
|
183946
183939
|
style: d,
|
|
@@ -184079,7 +184072,7 @@ const IXe = ({
|
|
|
184079
184072
|
) }) }) : c.length === 0 || !R ? null : /* @__PURE__ */ x.jsxs(
|
|
184080
184073
|
"div",
|
|
184081
184074
|
{
|
|
184082
|
-
className:
|
|
184075
|
+
className: Xe(
|
|
184083
184076
|
"fixed inset-0 color-bg-secondary flex z-50",
|
|
184084
184077
|
E ? "flex-col" : "flex-col xl:flex-row",
|
|
184085
184078
|
"items-center justify-center w-screen h-screen"
|
|
@@ -184098,7 +184091,7 @@ const IXe = ({
|
|
|
184098
184091
|
/* @__PURE__ */ x.jsxs(
|
|
184099
184092
|
"div",
|
|
184100
184093
|
{
|
|
184101
|
-
className:
|
|
184094
|
+
className: Xe(
|
|
184102
184095
|
"flex-1 h-full flex flex-col items-center justify-center",
|
|
184103
184096
|
{
|
|
184104
184097
|
"w-full": n
|
|
@@ -184184,14 +184177,14 @@ const IXe = ({
|
|
|
184184
184177
|
/* @__PURE__ */ x.jsx(
|
|
184185
184178
|
"div",
|
|
184186
184179
|
{
|
|
184187
|
-
className:
|
|
184180
|
+
className: Xe(
|
|
184188
184181
|
"w-full flex items-center justify-center",
|
|
184189
184182
|
n ? "h-screen p-0" : "h-[75vh] p-8"
|
|
184190
184183
|
),
|
|
184191
184184
|
children: /* @__PURE__ */ x.jsx(
|
|
184192
184185
|
"div",
|
|
184193
184186
|
{
|
|
184194
|
-
className:
|
|
184187
|
+
className: Xe(
|
|
184195
184188
|
"w-full rounded-lg overflow-hidden relative",
|
|
184196
184189
|
!S && "color-bg-default",
|
|
184197
184190
|
n ? "h-full max-w-none flex items-start justify-center" : "px-8 md:px-0 scale-[0.35] md:scale-[0.75] xl:scale-100 min-w-[1080px] max-w-[1080px] aspect-video py-[48px]"
|
|
@@ -184218,7 +184211,7 @@ const IXe = ({
|
|
|
184218
184211
|
children: /* @__PURE__ */ x.jsx(
|
|
184219
184212
|
"div",
|
|
184220
184213
|
{
|
|
184221
|
-
className:
|
|
184214
|
+
className: Xe(
|
|
184222
184215
|
"presentation-mode fullscreen w-full h-full"
|
|
184223
184216
|
),
|
|
184224
184217
|
dangerouslySetInnerHTML: { __html: c[v] },
|
|
@@ -184284,11 +184277,11 @@ const IXe = ({
|
|
|
184284
184277
|
"div",
|
|
184285
184278
|
{
|
|
184286
184279
|
"data-testid": "comment-auth-modal",
|
|
184287
|
-
className:
|
|
184280
|
+
className: Xe("flex flex-col !color-bg-default !rounded-b-lg"),
|
|
184288
184281
|
children: /* @__PURE__ */ x.jsxs(
|
|
184289
184282
|
"div",
|
|
184290
184283
|
{
|
|
184291
|
-
className:
|
|
184284
|
+
className: Xe(
|
|
184292
184285
|
"w-full px-6 h-full flex flex-col justify-center items-center"
|
|
184293
184286
|
),
|
|
184294
184287
|
children: [
|
|
@@ -184423,7 +184416,7 @@ const IXe = ({
|
|
|
184423
184416
|
/* @__PURE__ */ x.jsxs(
|
|
184424
184417
|
"div",
|
|
184425
184418
|
{
|
|
184426
|
-
className:
|
|
184419
|
+
className: Xe(
|
|
184427
184420
|
"border flex px-[12px] py-[8px] gap-[8px] rounded-[4px]",
|
|
184428
184421
|
m && "items-center justify-between ",
|
|
184429
184422
|
n ? "color-bg-disabled" : "color-bg-default"
|
|
@@ -184463,7 +184456,7 @@ const IXe = ({
|
|
|
184463
184456
|
},
|
|
184464
184457
|
icon: "SendHorizontal",
|
|
184465
184458
|
variant: "ghost",
|
|
184466
|
-
className:
|
|
184459
|
+
className: Xe(
|
|
184467
184460
|
"!min-w-[24px] !w-[24px] !min-h-[24px] !h-[24px]",
|
|
184468
184461
|
!m && "hidden"
|
|
184469
184462
|
)
|
|
@@ -184475,7 +184468,7 @@ const IXe = ({
|
|
|
184475
184468
|
/* @__PURE__ */ x.jsxs(
|
|
184476
184469
|
"div",
|
|
184477
184470
|
{
|
|
184478
|
-
className: m ? "hidden" :
|
|
184471
|
+
className: m ? "hidden" : Xe(
|
|
184479
184472
|
"items-center justify-end gap-2 pt-2",
|
|
184480
184473
|
b ? "flex" : "hidden group-focus-within:flex"
|
|
184481
184474
|
),
|
|
@@ -184518,7 +184511,7 @@ const IXe = ({
|
|
|
184518
184511
|
/* @__PURE__ */ x.jsxs(
|
|
184519
184512
|
"div",
|
|
184520
184513
|
{
|
|
184521
|
-
className:
|
|
184514
|
+
className: Xe(
|
|
184522
184515
|
"border mx-4 flex px-[12px] color-bg-default py-[8px] gap-[8px] rounded-[4px]",
|
|
184523
184516
|
t && "color-bg-disabled"
|
|
184524
184517
|
),
|
|
@@ -184605,7 +184598,7 @@ const gne = ({
|
|
|
184605
184598
|
Z && /* @__PURE__ */ x.jsxs(
|
|
184606
184599
|
"p",
|
|
184607
184600
|
{
|
|
184608
|
-
className:
|
|
184601
|
+
className: Xe(
|
|
184609
184602
|
"text-body-sm-bold color-text-secondary",
|
|
184610
184603
|
j && "mb-[4px]"
|
|
184611
184604
|
),
|
|
@@ -184692,7 +184685,7 @@ const gne = ({
|
|
|
184692
184685
|
"div",
|
|
184693
184686
|
{
|
|
184694
184687
|
"data-testid": "comment-section",
|
|
184695
|
-
className:
|
|
184688
|
+
className: Xe(
|
|
184696
184689
|
(!r || !u) && "flex flex-col",
|
|
184697
184690
|
!r && "h-[100dvh] sm:h-[calc(100dvh-40px)] xl:h-[calc(100dvh-292px)] !rounded-b-lg",
|
|
184698
184691
|
r && !u && "h-full",
|
|
@@ -184705,7 +184698,7 @@ const gne = ({
|
|
|
184705
184698
|
/* @__PURE__ */ x.jsx(
|
|
184706
184699
|
"div",
|
|
184707
184700
|
{
|
|
184708
|
-
className:
|
|
184701
|
+
className: Xe(
|
|
184709
184702
|
!j && "px-4 pb-4",
|
|
184710
184703
|
" w-full overflow-y-auto h-full"
|
|
184711
184704
|
),
|
|
@@ -184722,7 +184715,7 @@ const gne = ({
|
|
|
184722
184715
|
/* @__PURE__ */ x.jsx(
|
|
184723
184716
|
"div",
|
|
184724
184717
|
{
|
|
184725
|
-
className:
|
|
184718
|
+
className: Xe(
|
|
184726
184719
|
P.length > 0 && !S && "mt-[16px]"
|
|
184727
184720
|
)
|
|
184728
184721
|
}
|
|
@@ -184784,7 +184777,7 @@ const gne = ({
|
|
|
184784
184777
|
"div",
|
|
184785
184778
|
{
|
|
184786
184779
|
"data-comment-id": e.id,
|
|
184787
|
-
className:
|
|
184780
|
+
className: Xe(
|
|
184788
184781
|
"relative flex cursor-pointer flex-col w-full mt-[8px] pb-[12px] box-border transition-all color-border-default rounded-[12px]",
|
|
184789
184782
|
r && a !== e.id && "hidden",
|
|
184790
184783
|
e.id === n && (r || !b) ? "color-bg-default border" : "hover:color-bg-default-hover color-bg-transparent ",
|
|
@@ -184845,7 +184838,7 @@ const gne = ({
|
|
|
184845
184838
|
"div",
|
|
184846
184839
|
{
|
|
184847
184840
|
ref: l,
|
|
184848
|
-
className:
|
|
184841
|
+
className: Xe("flex flex-col gap-2", e.resolved && "hidden"),
|
|
184849
184842
|
onClick: (D) => D.stopPropagation(),
|
|
184850
184843
|
children: a === e.id && /* @__PURE__ */ x.jsx(
|
|
184851
184844
|
HXe,
|
|
@@ -184934,7 +184927,7 @@ const gne = ({
|
|
|
184934
184927
|
side: "right",
|
|
184935
184928
|
rounded: !0,
|
|
184936
184929
|
dismissible: !0,
|
|
184937
|
-
className:
|
|
184930
|
+
className: Ze(
|
|
184938
184931
|
"w-[336px] !z-40 right-0 shadow-elevation-4 rounded-lg border color-border-default",
|
|
184939
184932
|
l && "right-2 md:!right-4",
|
|
184940
184933
|
a ? `h-[calc(98vh-140px)] ${c ? "top-[4rem]" : "top-[7.25rem] "}` : "top-[4rem] h-[calc(100vh-90px)] xl:h-[calc(99vh-90px)]",
|
|
@@ -184946,7 +184939,7 @@ const gne = ({
|
|
|
184946
184939
|
content: /* @__PURE__ */ x.jsxs(
|
|
184947
184940
|
"div",
|
|
184948
184941
|
{
|
|
184949
|
-
className:
|
|
184942
|
+
className: Ze(
|
|
184950
184943
|
"pt-4",
|
|
184951
184944
|
!s && c && "flex items-center h-[77dvh]"
|
|
184952
184945
|
),
|
|
@@ -185089,7 +185082,7 @@ const gne = ({
|
|
|
185089
185082
|
return /* @__PURE__ */ x.jsxs(
|
|
185090
185083
|
"div",
|
|
185091
185084
|
{
|
|
185092
|
-
className:
|
|
185085
|
+
className: Xe(
|
|
185093
185086
|
"p-3 color-bg-secondary mx-[12px] rounded-[8px] flex flex-col gap-[12px]",
|
|
185094
185087
|
e && "mt-[12px]"
|
|
185095
185088
|
),
|
|
@@ -185268,7 +185261,7 @@ const gne = ({
|
|
|
185268
185261
|
}) => /* @__PURE__ */ x.jsx(
|
|
185269
185262
|
"div",
|
|
185270
185263
|
{
|
|
185271
|
-
className:
|
|
185264
|
+
className: Ze(
|
|
185272
185265
|
!h && "hidden",
|
|
185273
185266
|
"fixed h-full flex items-end z-10 inset-0"
|
|
185274
185267
|
),
|
|
@@ -185376,7 +185369,7 @@ const gne = ({
|
|
|
185376
185369
|
/* @__PURE__ */ x.jsx(
|
|
185377
185370
|
"div",
|
|
185378
185371
|
{
|
|
185379
|
-
className:
|
|
185372
|
+
className: Ze(
|
|
185380
185373
|
"mt-4 overflow-hidden",
|
|
185381
185374
|
u ? "flex-1" : "flex items-center justify-center h-full"
|
|
185382
185375
|
),
|
|
@@ -185860,7 +185853,7 @@ const gne = ({
|
|
|
185860
185853
|
}
|
|
185861
185854
|
},
|
|
185862
185855
|
editor: e,
|
|
185863
|
-
className:
|
|
185856
|
+
className: Xe(
|
|
185864
185857
|
"shadow-elevation-4 rounded-lg color-bg-default border color-border-default",
|
|
185865
185858
|
(n || c) && "hidden"
|
|
185866
185859
|
),
|
|
@@ -186986,7 +186979,7 @@ const uYe = Number.POSITIVE_INFINITY, Ib = (e) => e.isVisible && e.isMeasured &&
|
|
|
186986
186979
|
{
|
|
186987
186980
|
ref: i,
|
|
186988
186981
|
"data-floating-comment-card": e,
|
|
186989
|
-
className:
|
|
186982
|
+
className: Xe(
|
|
186990
186983
|
"absolute left-0 top-0 pb-[12px] select-text border cursor-pointer rounded-[12px] will-change-transform transition-[box-shadow,border-color] duration-150 ease-out",
|
|
186991
186984
|
n ? "shadow-elevation-3 color-bg-default color-border-default" : "color-bg-transparent border-transparent hover:color-bg-default-hover hover:color-border-default"
|
|
186992
186985
|
),
|
|
@@ -187374,7 +187367,7 @@ const MYe = ({
|
|
|
187374
187367
|
/* @__PURE__ */ x.jsxs(
|
|
187375
187368
|
"div",
|
|
187376
187369
|
{
|
|
187377
|
-
className:
|
|
187370
|
+
className: Xe(
|
|
187378
187371
|
"border flex px-[12px] py-[8px] gap-[8px] rounded-[4px]",
|
|
187379
187372
|
n ? "color-bg-disabled" : "color-bg-default"
|
|
187380
187373
|
),
|
|
@@ -187413,7 +187406,7 @@ const MYe = ({
|
|
|
187413
187406
|
/* @__PURE__ */ x.jsxs(
|
|
187414
187407
|
"div",
|
|
187415
187408
|
{
|
|
187416
|
-
className:
|
|
187409
|
+
className: Xe(
|
|
187417
187410
|
"items-center justify-end gap-2 pt-2",
|
|
187418
187411
|
h || u ? "flex" : "hidden"
|
|
187419
187412
|
),
|
|
@@ -187558,7 +187551,7 @@ const MYe = ({
|
|
|
187558
187551
|
/* @__PURE__ */ x.jsxs(
|
|
187559
187552
|
"div",
|
|
187560
187553
|
{
|
|
187561
|
-
className:
|
|
187554
|
+
className: Xe(
|
|
187562
187555
|
"border flex px-[12px] py-[8px] gap-[8px] rounded-[4px]",
|
|
187563
187556
|
n ? "color-bg-disabled" : "color-bg-default"
|
|
187564
187557
|
),
|
|
@@ -187597,7 +187590,7 @@ const MYe = ({
|
|
|
187597
187590
|
/* @__PURE__ */ x.jsxs(
|
|
187598
187591
|
"div",
|
|
187599
187592
|
{
|
|
187600
|
-
className:
|
|
187593
|
+
className: Xe(
|
|
187601
187594
|
"items-center justify-end gap-2 pt-2",
|
|
187602
187595
|
k || o ? "flex" : "hidden"
|
|
187603
187596
|
),
|
|
@@ -187649,7 +187642,7 @@ const MYe = ({
|
|
|
187649
187642
|
"div",
|
|
187650
187643
|
{
|
|
187651
187644
|
ref: a,
|
|
187652
|
-
className:
|
|
187645
|
+
className: Xe(
|
|
187653
187646
|
"comment-floating-comments relative shrink-0",
|
|
187654
187647
|
o && "pointer-events-none"
|
|
187655
187648
|
),
|
|
@@ -187739,7 +187732,7 @@ const MYe = ({
|
|
|
187739
187732
|
return globalThis.location.href;
|
|
187740
187733
|
const p = l7(e.textContent), h = a.replace(/-/g, "").substring(0, 8), f = `${p}-${h}`, g = new URL(globalThis.location.href), m = g.hash.startsWith("#") ? g.hash.substring(1) : g.hash, b = new URLSearchParams(m);
|
|
187741
187734
|
return b.set("heading", f), g.hash = b.toString(), g.toString();
|
|
187742
|
-
}, [a, e.textContent]), d = wt(() =>
|
|
187735
|
+
}, [a, e.textContent]), d = wt(() => Xe(
|
|
187743
187736
|
`flex items-center transition-all text-body-sm-bold max-[1280px]:h-[32px] max-[1280px]:px-2 max-[1280px]:py-1 h-5 max-[1280px]:max-w-full ${r === "landscape" ? "xl:!max-w-[160px] min-[1750px]:!max-w-[240px]" : "xl:!max-w-[160px] min-[1410px]:!max-w-[240px] min-[1600px]:!max-w-[320px]"} xl:border-l-2`,
|
|
187744
187737
|
e.isActive ? "color-border-active color-text-default max-[1280px]:border-none max-[1280px]:bg-[#F8F9FA] max-[1280px]:rounded max-[1280px]:text-[#363B3F]" : "color-text-secondary border-transparent lg:hover:!brightness-90"
|
|
187745
187738
|
), [e.isActive, r]);
|
|
@@ -187771,7 +187764,7 @@ const MYe = ({
|
|
|
187771
187764
|
icon: i ? "Check" : "Clipboard",
|
|
187772
187765
|
size: "sm",
|
|
187773
187766
|
variant: "ghost",
|
|
187774
|
-
className:
|
|
187767
|
+
className: Xe(
|
|
187775
187768
|
"!bg-transparent group-hover/toc-item:opacity-100 opacity-0 transition-all color-text-secondary active:scale-75",
|
|
187776
187769
|
e.isActive ? "max-[1280px]:visible" : "max-[1280px]:invisible"
|
|
187777
187770
|
),
|
|
@@ -187970,7 +187963,7 @@ const Wx = Bt.memo(wne), _8 = ({
|
|
|
187970
187963
|
l.current = g;
|
|
187971
187964
|
},
|
|
187972
187965
|
variant: "ghost",
|
|
187973
|
-
className:
|
|
187966
|
+
className: Xe(
|
|
187974
187967
|
"!min-w-[16px] !min-h-[16px] !w-[16px] !h-[16px] !p-0 flex items-center justify-center !hover:bg-transparent"
|
|
187975
187968
|
),
|
|
187976
187969
|
onClick: (g) => {
|
|
@@ -188012,12 +188005,12 @@ const Wx = Bt.memo(wne), _8 = ({
|
|
|
188012
188005
|
onClick: () => {
|
|
188013
188006
|
t(""), c(!1);
|
|
188014
188007
|
},
|
|
188015
|
-
className:
|
|
188008
|
+
className: Xe(
|
|
188016
188009
|
"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"
|
|
188017
188010
|
),
|
|
188018
188011
|
children: [
|
|
188019
|
-
/* @__PURE__ */ x.jsx(Le, { name: "X", className:
|
|
188020
|
-
/* @__PURE__ */ x.jsx("p", { className:
|
|
188012
|
+
/* @__PURE__ */ x.jsx(Le, { name: "X", className: Xe("w-[16px] h-[16px]") }),
|
|
188013
|
+
/* @__PURE__ */ x.jsx("p", { className: Xe("text-heading-xsm"), children: "Clear emoji" })
|
|
188021
188014
|
]
|
|
188022
188015
|
}
|
|
188023
188016
|
)
|
|
@@ -188059,12 +188052,12 @@ const Wx = Bt.memo(wne), _8 = ({
|
|
|
188059
188052
|
ref: (g) => {
|
|
188060
188053
|
a.current = g;
|
|
188061
188054
|
},
|
|
188062
|
-
className:
|
|
188055
|
+
className: Xe("fixed z-50"),
|
|
188063
188056
|
style: { top: d.top, left: d.left },
|
|
188064
188057
|
children: /* @__PURE__ */ x.jsxs(
|
|
188065
188058
|
WYe,
|
|
188066
188059
|
{
|
|
188067
|
-
className:
|
|
188060
|
+
className: Xe(
|
|
188068
188061
|
"color-bg-default rounded-lg border shadow-md",
|
|
188069
188062
|
h ? "h-[287px]" : "h-[340px]"
|
|
188070
188063
|
),
|
|
@@ -188089,7 +188082,7 @@ function WYe({
|
|
|
188089
188082
|
return /* @__PURE__ */ x.jsx(
|
|
188090
188083
|
ud.Root,
|
|
188091
188084
|
{
|
|
188092
|
-
className:
|
|
188085
|
+
className: Xe(
|
|
188093
188086
|
"bg-popover text-popover-foreground isolate flex h-full w-fit flex-col overflow-hidden rounded-md",
|
|
188094
188087
|
e
|
|
188095
188088
|
),
|
|
@@ -188105,7 +188098,7 @@ function qYe({
|
|
|
188105
188098
|
return /* @__PURE__ */ x.jsxs(
|
|
188106
188099
|
"div",
|
|
188107
188100
|
{
|
|
188108
|
-
className:
|
|
188101
|
+
className: Xe("flex h-9 items-center gap-2 border-b px-3", e),
|
|
188109
188102
|
"data-slot": "emoji-picker-search-wrapper",
|
|
188110
188103
|
children: [
|
|
188111
188104
|
/* @__PURE__ */ x.jsx(Le, { name: "Search", className: "size-4 shrink-0 opacity-50" }),
|
|
@@ -188136,7 +188129,7 @@ function KYe({
|
|
|
188136
188129
|
"button",
|
|
188137
188130
|
{
|
|
188138
188131
|
...n,
|
|
188139
|
-
className:
|
|
188132
|
+
className: Xe(
|
|
188140
188133
|
"data-[active]:bg-accent flex size-7 items-center justify-center rounded-sm text-base",
|
|
188141
188134
|
t
|
|
188142
188135
|
),
|
|
@@ -188166,7 +188159,7 @@ function XYe({
|
|
|
188166
188159
|
return /* @__PURE__ */ x.jsxs(
|
|
188167
188160
|
ud.Viewport,
|
|
188168
188161
|
{
|
|
188169
|
-
className:
|
|
188162
|
+
className: Xe("outline-hidden relative flex-1", e),
|
|
188170
188163
|
"data-slot": "emoji-picker-viewport",
|
|
188171
188164
|
...t,
|
|
188172
188165
|
children: [
|
|
@@ -188209,7 +188202,7 @@ function YYe({
|
|
|
188209
188202
|
return /* @__PURE__ */ x.jsx(
|
|
188210
188203
|
"div",
|
|
188211
188204
|
{
|
|
188212
|
-
className:
|
|
188205
|
+
className: Xe(
|
|
188213
188206
|
"max-w-(--frimousse-viewport-width) flex w-full min-w-0 items-center gap-1 border-t p-2",
|
|
188214
188207
|
e
|
|
188215
188208
|
),
|
|
@@ -188239,7 +188232,7 @@ const ZYe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
188239
188232
|
transform: Qre.Transform.toString(s),
|
|
188240
188233
|
transition: a
|
|
188241
188234
|
},
|
|
188242
|
-
className:
|
|
188235
|
+
className: Ze(l && "opacity-0", "w-full"),
|
|
188243
188236
|
children: /* @__PURE__ */ x.jsx(
|
|
188244
188237
|
Dne,
|
|
188245
188238
|
{
|
|
@@ -188389,7 +188382,7 @@ const ZYe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
188389
188382
|
},
|
|
188390
188383
|
onClick: l,
|
|
188391
188384
|
...d,
|
|
188392
|
-
className:
|
|
188385
|
+
className: Ze(
|
|
188393
188386
|
"flex items-center active:cursor-grabbing relative justify-between h-[40px] px-[12px] py-[8px] rounded-[4px]",
|
|
188394
188387
|
u && "color-bg-default-hover"
|
|
188395
188388
|
),
|
|
@@ -188472,7 +188465,7 @@ const ZYe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
188472
188465
|
"div",
|
|
188473
188466
|
{
|
|
188474
188467
|
"data-testid": `tab-menu-${e.id}`,
|
|
188475
|
-
className:
|
|
188468
|
+
className: Ze(ZYe, e.disabled && "!cursor-not-allowed"),
|
|
188476
188469
|
onClick: (i) => {
|
|
188477
188470
|
var s;
|
|
188478
188471
|
i.stopPropagation(), !e.disabled && ((s = e.onSelect) == null || s.call(e));
|
|
@@ -188483,13 +188476,13 @@ const ZYe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
188483
188476
|
{
|
|
188484
188477
|
name: e.icon,
|
|
188485
188478
|
stroke: e.iconStroke,
|
|
188486
|
-
className:
|
|
188479
|
+
className: Ze("w-[16px] h-[16px]")
|
|
188487
188480
|
}
|
|
188488
188481
|
),
|
|
188489
188482
|
/* @__PURE__ */ x.jsx(
|
|
188490
188483
|
"p",
|
|
188491
188484
|
{
|
|
188492
|
-
className:
|
|
188485
|
+
className: Ze(
|
|
188493
188486
|
"text-heading-xsm color-text-default",
|
|
188494
188487
|
e.textClassName
|
|
188495
188488
|
),
|
|
@@ -188531,7 +188524,7 @@ const ZYe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
188531
188524
|
elevation: 2,
|
|
188532
188525
|
side: t,
|
|
188533
188526
|
sideOffset: 4,
|
|
188534
|
-
className:
|
|
188527
|
+
className: Ze("w-[160px] space-xsm", n),
|
|
188535
188528
|
children: r.map((o, i) => /* @__PURE__ */ x.jsxs("div", { children: [
|
|
188536
188529
|
i > 0 && /* @__PURE__ */ x.jsx("hr", { className: "border-t space-x-xsm color-border-default my-[4px] w-full" }),
|
|
188537
188530
|
o.map((s) => /* @__PURE__ */ x.jsx(eZe, { item: s }, s.id))
|
|
@@ -188560,7 +188553,7 @@ const ZYe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
188560
188553
|
!d && !r && e();
|
|
188561
188554
|
},
|
|
188562
188555
|
hasCloseIcon: a,
|
|
188563
|
-
className:
|
|
188556
|
+
className: Xe(
|
|
188564
188557
|
"gap-md !z-[70]",
|
|
188565
188558
|
!c && "!w-[400px] border-radius-lg"
|
|
188566
188559
|
),
|
|
@@ -188701,7 +188694,7 @@ const ZYe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
188701
188694
|
"div",
|
|
188702
188695
|
{
|
|
188703
188696
|
"data-testid": "tab-sidebar",
|
|
188704
|
-
className:
|
|
188697
|
+
className: Ze(
|
|
188705
188698
|
"flex flex-col items-start w-full h-full justify-start left-0 px-4",
|
|
188706
188699
|
// Keep landscape TOC responsive: it can shrink to 182px on tighter widths
|
|
188707
188700
|
// and grow up to the original 263px when space allows.
|
|
@@ -188724,7 +188717,7 @@ const ZYe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
188724
188717
|
onMouseEnter: () => !r && j(!0),
|
|
188725
188718
|
onMouseLeave: () => j(!1),
|
|
188726
188719
|
onClick: () => o == null ? void 0 : o((P) => !P),
|
|
188727
|
-
className:
|
|
188720
|
+
className: Ze(
|
|
188728
188721
|
"group flex items-center h-[30px] !min-w-[30px] min-h-[30px] p-[8px] rounded-[4px] hover:color-bg-secondary-hover transition-[width,background-color] duration-200 ease-out overflow-hidden",
|
|
188729
188722
|
!r && "hover:min-w-[156px] gap-[8px]",
|
|
188730
188723
|
e.length > 0 && !r && "color-bg-default-hover"
|
|
@@ -188740,7 +188733,7 @@ const ZYe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
188740
188733
|
/* @__PURE__ */ x.jsx(
|
|
188741
188734
|
"span",
|
|
188742
188735
|
{
|
|
188743
|
-
className:
|
|
188736
|
+
className: Ze(
|
|
188744
188737
|
"whitespace-nowrap text-heading-xsm color-text-default max-w-[110px] truncate transition-opacity duration-150",
|
|
188745
188738
|
e.length === 1 && !L && !r && "hidden"
|
|
188746
188739
|
),
|
|
@@ -189024,7 +189017,7 @@ const ZYe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
189024
189017
|
"div",
|
|
189025
189018
|
{
|
|
189026
189019
|
"data-testid": "mobile-tab-panel",
|
|
189027
|
-
className:
|
|
189020
|
+
className: Ze("fixed w-full flex flex-col z-[9]"),
|
|
189028
189021
|
style: {
|
|
189029
189022
|
bottom: f ? "var(--version-sheet-bottom, 24px)" : m ? "0px" : "24px"
|
|
189030
189023
|
},
|
|
@@ -189032,7 +189025,7 @@ const ZYe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
189032
189025
|
/* @__PURE__ */ x.jsx(
|
|
189033
189026
|
"div",
|
|
189034
189027
|
{
|
|
189035
|
-
className:
|
|
189028
|
+
className: Ze(
|
|
189036
189029
|
"rounded-t-[12px] color-bg-default flex flex-col w-full gap-[8px] overflow-hidden",
|
|
189037
189030
|
J ? "h-[300px] space-md shadow-[0_-12px_32px_rgba(0,0,0,0.18)]" : " px-[8px] py-[2px] border color-bg-secondary shadow-none"
|
|
189038
189031
|
),
|
|
@@ -189041,7 +189034,7 @@ const ZYe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
189041
189034
|
/* @__PURE__ */ x.jsxs(
|
|
189042
189035
|
"div",
|
|
189043
189036
|
{
|
|
189044
|
-
className:
|
|
189037
|
+
className: Ze("gap-xsm flex items-center justify-between w-full"),
|
|
189045
189038
|
children: [
|
|
189046
189039
|
/* @__PURE__ */ x.jsx("h2", { className: "text-heading-xsm color-text-default", children: "Document tabs" }),
|
|
189047
189040
|
/* @__PURE__ */ x.jsx(
|
|
@@ -189059,7 +189052,7 @@ const ZYe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
189059
189052
|
/* @__PURE__ */ x.jsx(
|
|
189060
189053
|
"div",
|
|
189061
189054
|
{
|
|
189062
|
-
className:
|
|
189055
|
+
className: Ze(
|
|
189063
189056
|
"w-full no-scrollbar overflow-y-auto flex-1",
|
|
189064
189057
|
"min-h-0",
|
|
189065
189058
|
"transition-opacity duration-300"
|
|
@@ -189093,7 +189086,7 @@ const ZYe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
189093
189086
|
/* @__PURE__ */ x.jsx(
|
|
189094
189087
|
"div",
|
|
189095
189088
|
{
|
|
189096
|
-
className:
|
|
189089
|
+
className: Ze(
|
|
189097
189090
|
"table-of-contents transition-all duration-300 ease-[cubic-bezier(0.22,1,0.36,1)]",
|
|
189098
189091
|
X.id === t ? "opacity-100 translate-x-0" : "opacity-0 -translate-x-2 h-0 overflow-hidden"
|
|
189099
189092
|
),
|
|
@@ -189118,7 +189111,7 @@ const ZYe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
189118
189111
|
"div",
|
|
189119
189112
|
{
|
|
189120
189113
|
id: "tab-nav",
|
|
189121
|
-
className:
|
|
189114
|
+
className: Ze(
|
|
189122
189115
|
"flex justify-between items-center w-full",
|
|
189123
189116
|
"transition-all duration-300 animate-in fade-in slide-in-from-bottom-1"
|
|
189124
189117
|
),
|
|
@@ -189130,7 +189123,7 @@ const ZYe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
189130
189123
|
onClick: $,
|
|
189131
189124
|
disabled: !j,
|
|
189132
189125
|
"aria-label": "Go to previous tab",
|
|
189133
|
-
className:
|
|
189126
|
+
className: Ze(
|
|
189134
189127
|
"h-[36px] w-[36px] flex items-center justify-center transition-opacity duration-200",
|
|
189135
189128
|
j ? "cursor-pointer" : "opacity-40 cursor-not-allowed"
|
|
189136
189129
|
),
|
|
@@ -189180,7 +189173,7 @@ const ZYe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
189180
189173
|
onClick: H,
|
|
189181
189174
|
disabled: !S,
|
|
189182
189175
|
"aria-label": "Go to next tab",
|
|
189183
|
-
className:
|
|
189176
|
+
className: Ze(
|
|
189184
189177
|
"h-[36px] w-[36px] flex items-center justify-center transition-opacity duration-200",
|
|
189185
189178
|
S ? "cursor-pointer" : "opacity-40 cursor-not-allowed"
|
|
189186
189179
|
),
|
|
@@ -189192,7 +189185,7 @@ const ZYe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
189192
189185
|
) : /* @__PURE__ */ x.jsxs(
|
|
189193
189186
|
"div",
|
|
189194
189187
|
{
|
|
189195
|
-
className:
|
|
189188
|
+
className: Ze(
|
|
189196
189189
|
"flex justify-between items-center w-full",
|
|
189197
189190
|
"transition-all duration-300 animate-in fade-in slide-in-from-bottom-1"
|
|
189198
189191
|
),
|
|
@@ -189308,7 +189301,7 @@ const ZYe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
189308
189301
|
hasCloseIcon: !0,
|
|
189309
189302
|
content: /* @__PURE__ */ x.jsxs(x.Fragment, { children: [
|
|
189310
189303
|
/* @__PURE__ */ x.jsx("div", { className: "flex justify-between items-center p-4", children: /* @__PURE__ */ x.jsx("h2", { className: "text-heading-sm-bold", children: "Document outline" }) }),
|
|
189311
|
-
o ? /* @__PURE__ */ x.jsx("div", { className:
|
|
189304
|
+
o ? /* @__PURE__ */ x.jsx("div", { className: Xe("table-of-contents px-4"), children: /* @__PURE__ */ x.jsx(
|
|
189312
189305
|
Wx,
|
|
189313
189306
|
{
|
|
189314
189307
|
editor: e,
|
|
@@ -189323,7 +189316,7 @@ const ZYe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
189323
189316
|
) : /* @__PURE__ */ x.jsxs(
|
|
189324
189317
|
"div",
|
|
189325
189318
|
{
|
|
189326
|
-
className:
|
|
189319
|
+
className: Xe(
|
|
189327
189320
|
"flex flex-col gap-4 items-start px-3 justify-start z-20 h-full pb-6",
|
|
189328
189321
|
(!t || l) && "hidden"
|
|
189329
189322
|
),
|
|
@@ -189348,7 +189341,7 @@ const ZYe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
189348
189341
|
/* @__PURE__ */ x.jsx(
|
|
189349
189342
|
"div",
|
|
189350
189343
|
{
|
|
189351
|
-
className:
|
|
189344
|
+
className: Xe(
|
|
189352
189345
|
"table-of-contents animate-in fade-in slide-in-from-left-5 overflow-y-auto h-full",
|
|
189353
189346
|
o ? "block" : "hidden"
|
|
189354
189347
|
),
|
|
@@ -189456,7 +189449,7 @@ const ZYe = "space-xsm gap-xsm hover:color-bg-default-hover cursor-pointer h-[30
|
|
|
189456
189449
|
orientation: a
|
|
189457
189450
|
}
|
|
189458
189451
|
);
|
|
189459
|
-
}, iZe = "h-6 bg-gradient-to-r [--from:210,_17%,_98%,_1] [--to:0,_0%,_93%,_1] dark:[--from:0,0%,16%,1] dark:[--to:0,0%,12%,1] from-[hsl(var(--from))] to-[hsl(var(--to))]", ts = ({ className: e }) => /* @__PURE__ */ x.jsx("div", { className:
|
|
189452
|
+
}, iZe = "h-6 bg-gradient-to-r [--from:210,_17%,_98%,_1] [--to:0,_0%,_93%,_1] dark:[--from:0,0%,16%,1] dark:[--to:0,0%,12%,1] from-[hsl(var(--from))] to-[hsl(var(--to))]", ts = ({ className: e }) => /* @__PURE__ */ x.jsx("div", { className: Xe(iZe, e) }), Cne = () => /* @__PURE__ */ x.jsx("div", { className: "flex flex-col gap-8", children: /* @__PURE__ */ x.jsxs(
|
|
189460
189453
|
Pre,
|
|
189461
189454
|
{
|
|
189462
189455
|
transition: {
|
|
@@ -192692,7 +192685,7 @@ const dZe = (e, t) => {
|
|
|
192692
192685
|
{
|
|
192693
192686
|
name: "ChevronDown",
|
|
192694
192687
|
size: "sm",
|
|
192695
|
-
className:
|
|
192688
|
+
className: Xe(o ? "rotate-180" : "")
|
|
192696
192689
|
}
|
|
192697
192690
|
)
|
|
192698
192691
|
]
|
|
@@ -192775,7 +192768,7 @@ const jne = Bt.memo(
|
|
|
192775
192768
|
"div",
|
|
192776
192769
|
{
|
|
192777
192770
|
ref: r,
|
|
192778
|
-
className:
|
|
192771
|
+
className: Xe(t),
|
|
192779
192772
|
contentEditable: !1,
|
|
192780
192773
|
"data-test": "copy-heading-link-button",
|
|
192781
192774
|
...n,
|
|
@@ -193190,7 +193183,7 @@ const LZe = Bt.memo(
|
|
|
193190
193183
|
return;
|
|
193191
193184
|
const v = Ske(F.node, F.pos);
|
|
193192
193185
|
v && ((D = (w = F.handle).onCopyHeadingLink) == null || D.call(w, v));
|
|
193193
|
-
}, g =
|
|
193186
|
+
}, g = Xe(
|
|
193194
193187
|
"d-block-button color-text-default hover:color-bg-default-hover aspect-square h-5 w-5 shrink-0 opacity-0 group-hover:opacity-100 transition-opacity"
|
|
193195
193188
|
), m = !n.isPreviewMode && !o, b = c.isHeading, y = n.isPreviewMode && c.isHeading && !n.isPreviewEditor && !o;
|
|
193196
193189
|
return n.isPresentationMode && n.isPreviewMode || !a.handle.gutterElement.isConnected || !m && !b && !y ? null : vf(
|
|
@@ -193231,7 +193224,7 @@ const LZe = Bt.memo(
|
|
|
193231
193224
|
jne,
|
|
193232
193225
|
{
|
|
193233
193226
|
onClick: f,
|
|
193234
|
-
className:
|
|
193227
|
+
className: Xe(
|
|
193235
193228
|
"d-block-button color-text-default color-bg-default-hover aspect-square h-6 w-6 shrink-0"
|
|
193236
193229
|
)
|
|
193237
193230
|
}
|
|
@@ -193579,7 +193572,7 @@ const KZe = ({
|
|
|
193579
193572
|
}
|
|
193580
193573
|
)
|
|
193581
193574
|
] });
|
|
193582
|
-
}, GZe = yU(() => import("./markdown-source-pane-
|
|
193575
|
+
}, GZe = yU(() => import("./markdown-source-pane-BcRRhhfp.mjs")), XZe = yU(() => import("./split-view-toolbar-BZOg4Vsc.mjs")), YZe = ({
|
|
193583
193576
|
markdown: e,
|
|
193584
193577
|
onMarkdownChange: t,
|
|
193585
193578
|
ipfsImageUploadFn: n,
|
|
@@ -194206,7 +194199,7 @@ const KZe = ({
|
|
|
194206
194199
|
"div",
|
|
194207
194200
|
{
|
|
194208
194201
|
id: "toolbar",
|
|
194209
|
-
className:
|
|
194202
|
+
className: Ze(
|
|
194210
194203
|
"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]",
|
|
194211
194204
|
{
|
|
194212
194205
|
"translate-y-0 opacity-100": !he && L,
|
|
@@ -194316,7 +194309,7 @@ const KZe = ({
|
|
|
194316
194309
|
/* @__PURE__ */ x.jsx(
|
|
194317
194310
|
"div",
|
|
194318
194311
|
{
|
|
194319
|
-
className:
|
|
194312
|
+
className: Ze(
|
|
194320
194313
|
"editor-left-rail",
|
|
194321
194314
|
D4 && "editor-left-rail-has-outline",
|
|
194322
194315
|
!ma && "flex-[1_0_263px]",
|
|
@@ -194363,7 +194356,7 @@ const KZe = ({
|
|
|
194363
194356
|
{
|
|
194364
194357
|
ref: Te,
|
|
194365
194358
|
"data-editor-scroll-container": "true",
|
|
194366
|
-
className:
|
|
194359
|
+
className: Ze(
|
|
194367
194360
|
"flex w-full",
|
|
194368
194361
|
// In Split View the right-pane wrapper owns the scroll — let the
|
|
194369
194362
|
// editor content flow so there's only one scroller.
|
|
@@ -194374,11 +194367,11 @@ const KZe = ({
|
|
|
194374
194367
|
/* @__PURE__ */ x.jsx(
|
|
194375
194368
|
"div",
|
|
194376
194369
|
{
|
|
194377
|
-
className:
|
|
194370
|
+
className: Ze(En ? "h-full" : "w-full h-full"),
|
|
194378
194371
|
children: /* @__PURE__ */ x.jsx(
|
|
194379
194372
|
"div",
|
|
194380
194373
|
{
|
|
194381
|
-
className:
|
|
194374
|
+
className: Ze(
|
|
194382
194375
|
"flex min-h-[100%] items-start",
|
|
194383
194376
|
// Split View: wrap to the right pane's width (no min-w-max),
|
|
194384
194377
|
// so there's no horizontal scroll.
|
|
@@ -194387,7 +194380,7 @@ const KZe = ({
|
|
|
194387
194380
|
children: /* @__PURE__ */ x.jsx(
|
|
194388
194381
|
"div",
|
|
194389
194382
|
{
|
|
194390
|
-
className:
|
|
194383
|
+
className: Ze(
|
|
194391
194384
|
"editor-main-lane flex-grow min-w-0 flex overflow-visible items-stretch",
|
|
194392
194385
|
nre ? "justify-start" : "justify-center",
|
|
194393
194386
|
ma && "w-full"
|
|
@@ -194403,7 +194396,7 @@ const KZe = ({
|
|
|
194403
194396
|
children: /* @__PURE__ */ x.jsxs(
|
|
194404
194397
|
"div",
|
|
194405
194398
|
{
|
|
194406
|
-
className:
|
|
194399
|
+
className: Ze(
|
|
194407
194400
|
"editor-comment-layout relative shrink-0 overflow-visible",
|
|
194408
194401
|
ma && "w-full"
|
|
194409
194402
|
),
|
|
@@ -194426,7 +194419,7 @@ const KZe = ({
|
|
|
194426
194419
|
{
|
|
194427
194420
|
id: "editor-wrapper",
|
|
194428
194421
|
ref: Re,
|
|
194429
|
-
className:
|
|
194422
|
+
className: Ze(
|
|
194430
194423
|
"w-full flex-grow min-w-0 no-scrollbar rounded transition-all mx-auto duration-300 ease-in-out",
|
|
194431
194424
|
!(vt != null && vt.canvasBackground) && !he && "color-bg-default",
|
|
194432
194425
|
!En && !e && !he && (L ? "-mt-[1.5rem] md:!mt-[0.8rem] pt-0 md:pt-[5rem]" : "pt-0 md:pt-[1.5rem]"),
|
|
@@ -194458,7 +194451,7 @@ const KZe = ({
|
|
|
194458
194451
|
"div",
|
|
194459
194452
|
{
|
|
194460
194453
|
ref: _s,
|
|
194461
|
-
className:
|
|
194454
|
+
className: Ze(
|
|
194462
194455
|
"w-full pt-8 md:pt-0",
|
|
194463
194456
|
{
|
|
194464
194457
|
"color-bg-default": !(vt != null && vt.canvasBackground) && (j === "1.4" || j === "1.5") && !he
|
|
@@ -194537,7 +194530,7 @@ const KZe = ({
|
|
|
194537
194530
|
"div",
|
|
194538
194531
|
{
|
|
194539
194532
|
ref: Gt,
|
|
194540
|
-
className:
|
|
194533
|
+
className: Ze(
|
|
194541
194534
|
"flex flex-wrap px-4 md:px-8 lg:px-[80px] mb-8 items-center gap-1 mt-4 lg:!mt-0",
|
|
194542
194535
|
{ "pt-12": e }
|
|
194543
194536
|
),
|
|
@@ -194653,7 +194646,7 @@ const KZe = ({
|
|
|
194653
194646
|
zt,
|
|
194654
194647
|
Ve.isActive
|
|
194655
194648
|
),
|
|
194656
|
-
className:
|
|
194649
|
+
className: Ze(
|
|
194657
194650
|
"w-full h-auto",
|
|
194658
194651
|
e && "preview-mode max-sm:!pb-40",
|
|
194659
194652
|
xt !== void 0 && pt && "has-available-models",
|
|
@@ -194699,7 +194692,7 @@ const KZe = ({
|
|
|
194699
194692
|
/* @__PURE__ */ x.jsx(
|
|
194700
194693
|
"div",
|
|
194701
194694
|
{
|
|
194702
|
-
className:
|
|
194695
|
+
className: Ze(
|
|
194703
194696
|
"editor-right-rail",
|
|
194704
194697
|
!ma && "flex-[1_1_263px]",
|
|
194705
194698
|
!e && !he && L && "-mt-[1.5rem] md:!mt-[0.8rem]",
|
|
@@ -194724,7 +194717,7 @@ const KZe = ({
|
|
|
194724
194717
|
ct && (p == null || p(ct));
|
|
194725
194718
|
},
|
|
194726
194719
|
variant: "ghost",
|
|
194727
|
-
className:
|
|
194720
|
+
className: Ze(
|
|
194728
194721
|
"absolute w-12 h-12 color-bg-default rounded-full shadow-xl top-[70px] right-[-23px]"
|
|
194729
194722
|
),
|
|
194730
194723
|
children: /* @__PURE__ */ x.jsx(Le, { name: "MessageSquareText", size: "sm" })
|
|
@@ -194733,7 +194726,7 @@ const KZe = ({
|
|
|
194733
194726
|
!e && !m && /* @__PURE__ */ x.jsx(
|
|
194734
194727
|
"div",
|
|
194735
194728
|
{
|
|
194736
|
-
className:
|
|
194729
|
+
className: Ze(
|
|
194737
194730
|
"flex mobile:hidden items-center w-full h-[52px] fixed left-0 z-10 px-4 color-bg-default transition-all duration-300 ease-in-out border-b border-color-default",
|
|
194738
194731
|
et && "hidden",
|
|
194739
194732
|
{ "top-14": L, "top-0": !L }
|
|
@@ -194789,7 +194782,7 @@ const KZe = ({
|
|
|
194789
194782
|
children: /* @__PURE__ */ x.jsx(
|
|
194790
194783
|
"div",
|
|
194791
194784
|
{
|
|
194792
|
-
className:
|
|
194785
|
+
className: Ze(
|
|
194793
194786
|
"w-full",
|
|
194794
194787
|
R ? "color-bg-default" : "color-bg-secondary"
|
|
194795
194788
|
),
|
|
@@ -194801,7 +194794,7 @@ const KZe = ({
|
|
|
194801
194794
|
{
|
|
194802
194795
|
id: "editor-canvas",
|
|
194803
194796
|
onMouseDown: ore,
|
|
194804
|
-
className:
|
|
194797
|
+
className: Ze(
|
|
194805
194798
|
"h-[100%] flex w-full relative",
|
|
194806
194799
|
// Split View: the right-pane wrapper owns the scroll, not the canvas.
|
|
194807
194800
|
En ? "overflow-hidden" : "overflow-auto",
|
|
@@ -194822,7 +194815,7 @@ const KZe = ({
|
|
|
194822
194815
|
onKeyDown: (Ve) => {
|
|
194823
194816
|
Ve.key === "Escape" && ct && (Ve.preventDefault(), ct.commands.focus());
|
|
194824
194817
|
},
|
|
194825
|
-
className:
|
|
194818
|
+
className: Ze(
|
|
194826
194819
|
"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",
|
|
194827
194820
|
{
|
|
194828
194821
|
"translate-y-0 opacity-100": !he && L && !R,
|
|
@@ -194875,7 +194868,7 @@ const KZe = ({
|
|
|
194875
194868
|
"div",
|
|
194876
194869
|
{
|
|
194877
194870
|
ref: Vne,
|
|
194878
|
-
className:
|
|
194871
|
+
className: Ze(
|
|
194879
194872
|
En ? "flex w-full h-full p-4 color-bg-secondary overflow-hidden" : "contents"
|
|
194880
194873
|
),
|
|
194881
194874
|
children: [
|
|
@@ -194906,7 +194899,7 @@ const KZe = ({
|
|
|
194906
194899
|
"div",
|
|
194907
194900
|
{
|
|
194908
194901
|
style: En ? { flexGrow: 1 - w4 } : void 0,
|
|
194909
|
-
className:
|
|
194902
|
+
className: Ze(
|
|
194910
194903
|
En ? "flex-1 min-w-0 h-full flex flex-col color-bg-default rounded border color-border-default overflow-hidden relative" : "contents"
|
|
194911
194904
|
),
|
|
194912
194905
|
children: [
|
|
@@ -194922,7 +194915,7 @@ const KZe = ({
|
|
|
194922
194915
|
/* @__PURE__ */ x.jsxs(
|
|
194923
194916
|
"div",
|
|
194924
194917
|
{
|
|
194925
|
-
className:
|
|
194918
|
+
className: Ze(
|
|
194926
194919
|
En ? "flex-1 min-h-0 relative overflow-hidden" : "contents"
|
|
194927
194920
|
),
|
|
194928
194921
|
children: [
|
|
@@ -194931,7 +194924,7 @@ const KZe = ({
|
|
|
194931
194924
|
{
|
|
194932
194925
|
ref: Zne,
|
|
194933
194926
|
...En ? { "data-split-view-preview": "true" } : {},
|
|
194934
|
-
className:
|
|
194927
|
+
className: Ze(
|
|
194935
194928
|
En ? "absolute inset-0 overflow-y-auto overflow-x-hidden" : "contents"
|
|
194936
194929
|
),
|
|
194937
194930
|
children: sre()
|
|
@@ -195115,7 +195108,7 @@ const KZe = ({
|
|
|
195115
195108
|
}
|
|
195116
195109
|
),
|
|
195117
195110
|
!H || P || D ? Tr(
|
|
195118
|
-
/* @__PURE__ */ x.jsxs("div", { className:
|
|
195111
|
+
/* @__PURE__ */ x.jsxs("div", { className: Xe(`${X ? "mx-10 mt-10" : "mx-20"}`), children: [
|
|
195119
195112
|
/* @__PURE__ */ x.jsx(
|
|
195120
195113
|
er,
|
|
195121
195114
|
{
|
|
@@ -195135,7 +195128,7 @@ const KZe = ({
|
|
|
195135
195128
|
"div",
|
|
195136
195129
|
{
|
|
195137
195130
|
ref: L,
|
|
195138
|
-
className:
|
|
195131
|
+
className: Xe("overflow-x-hidden", b),
|
|
195139
195132
|
children: /* @__PURE__ */ x.jsxs(
|
|
195140
195133
|
$E,
|
|
195141
195134
|
{
|
|
@@ -195214,7 +195207,7 @@ const KZe = ({
|
|
|
195214
195207
|
{
|
|
195215
195208
|
editor: H,
|
|
195216
195209
|
"data-ddoc-editor-root": "true",
|
|
195217
|
-
className:
|
|
195210
|
+
className: Xe("w-full h-auto py-8", w)
|
|
195218
195211
|
}
|
|
195219
195212
|
)
|
|
195220
195213
|
}
|