reactjs-tiptap-editor 1.0.11 → 1.0.13
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/lib/ActionMenuButton-DNj0f_A4.cjs +1 -0
- package/lib/{ActionMenuButton-DTXFBdGX.js → ActionMenuButton-l5rSmAO_.js} +18 -14
- package/lib/Attachment.cjs +2 -2
- package/lib/Attachment.js +24 -21
- package/lib/Blockquote.cjs +2 -2
- package/lib/Blockquote.js +7 -5
- package/lib/Bold.cjs +1 -1
- package/lib/Bold.js +11 -9
- package/lib/BulletList.cjs +1 -1
- package/lib/BulletList.js +14 -12
- package/lib/Callout.cjs +1 -0
- package/lib/Callout.js +230 -0
- package/lib/Clear.cjs +1 -1
- package/lib/Clear.js +3 -3
- package/lib/Code.cjs +1 -1
- package/lib/Code.js +11 -9
- package/lib/CodeBlock.cjs +39 -39
- package/lib/CodeBlock.js +840 -945
- package/lib/CodeView.cjs +1 -1
- package/lib/CodeView.js +10 -8
- package/lib/Color.cjs +1 -1
- package/lib/Color.js +20 -18
- package/lib/Column.cjs +1 -1
- package/lib/Column.js +7 -5
- package/lib/{Drawer-D0yQ0wR7.js → Drawer-Cbi_MURj.js} +10 -9
- package/lib/Drawer-DKU32YW_.cjs +1 -0
- package/lib/Drawer.cjs +1 -1
- package/lib/Drawer.js +3 -3
- package/lib/Emoji.cjs +1 -1
- package/lib/Emoji.js +11 -9
- package/lib/{Excalidraw-CO4IRHmG.js → Excalidraw-CWrVL5hs.js} +28 -27
- package/lib/Excalidraw-Kb-TRcWY.cjs +1 -0
- package/lib/Excalidraw.cjs +1 -1
- package/lib/Excalidraw.js +2 -2
- package/lib/ExportPdf.cjs +2 -2
- package/lib/ExportPdf.js +7 -5
- package/lib/ExportWord.cjs +1 -1
- package/lib/ExportWord.js +7 -5
- package/lib/FontFamily.cjs +1 -1
- package/lib/FontFamily.js +9 -8
- package/lib/FontSize.cjs +1 -1
- package/lib/FontSize.js +13 -12
- package/lib/Heading.cjs +1 -1
- package/lib/Heading.js +20 -19
- package/lib/Highlight.cjs +1 -1
- package/lib/Highlight.js +9 -7
- package/lib/History.cjs +1 -1
- package/lib/History.js +11 -8
- package/lib/HorizontalRule.cjs +1 -1
- package/lib/HorizontalRule.js +7 -5
- package/lib/Icon-Ctva8VeB.js +12 -0
- package/lib/Icon-yqCglrdK.cjs +1 -0
- package/lib/Iframe-BczF8Hex.cjs +1 -0
- package/lib/{Iframe-BEO28NPs.js → Iframe-C942bNjs.js} +42 -40
- package/lib/Iframe.cjs +1 -1
- package/lib/Iframe.js +2 -2
- package/lib/Image.cjs +1 -1
- package/lib/Image.js +25 -23
- package/lib/ImageGif.cjs +1 -1
- package/lib/ImageGif.js +50 -48
- package/lib/ImportWord.cjs +31 -31
- package/lib/ImportWord.js +8 -6
- package/lib/{Indent-CXurBbOr.js → Indent-C_O5WdyR.js} +26 -24
- package/lib/Indent-CkEC7x36.cjs +1 -0
- package/lib/Indent.cjs +1 -1
- package/lib/Indent.js +2 -2
- package/lib/Italic.cjs +1 -1
- package/lib/Italic.js +12 -10
- package/lib/{Katex-Bvj469K1.js → Katex-D3PEWimM.js} +12 -10
- package/lib/Katex-DW_HjgNM.cjs +4 -0
- package/lib/Katex.cjs +1 -1
- package/lib/Katex.js +2 -2
- package/lib/LineHeight.cjs +1 -1
- package/lib/LineHeight.js +10 -8
- package/lib/Link.cjs +1 -1
- package/lib/Link.js +2 -2
- package/lib/{LinkEditBlock-8ePAZ-G1.cjs → LinkEditBlock-DL1e2ILk.cjs} +1 -1
- package/lib/{LinkEditBlock-DjXUEubR.js → LinkEditBlock-h5054QDo.js} +22 -20
- package/lib/Mention.cjs +1 -1
- package/lib/Mention.js +3 -3
- package/lib/Mermaid.cjs +2 -2
- package/lib/Mermaid.js +8 -8
- package/lib/MoreMark.cjs +1 -1
- package/lib/MoreMark.js +25 -22
- package/lib/OrderedList.cjs +1 -1
- package/lib/OrderedList.js +10 -8
- package/lib/SearchAndReplace.cjs +1 -1
- package/lib/SearchAndReplace.js +43 -41
- package/lib/SlashCommand.cjs +1 -1
- package/lib/SlashCommand.js +6 -6
- package/lib/SlashCommandNodeView-BqrmHCpu.cjs +1 -0
- package/lib/{SlashCommandNodeView-CcqL8ymb.js → SlashCommandNodeView-DXUqkx82.js} +75 -66
- package/lib/Strike.cjs +1 -1
- package/lib/Strike.js +7 -5
- package/lib/{Table-9Y0Cg8Ab.js → Table-DdrY4jcM.js} +10 -8
- package/lib/Table-kY0nbqJo.cjs +9 -0
- package/lib/Table.cjs +1 -1
- package/lib/Table.js +1 -1
- package/lib/TaskList.cjs +1 -1
- package/lib/TaskList.js +15 -13
- package/lib/TextAlign.cjs +1 -1
- package/lib/TextAlign.js +20 -17
- package/lib/TextDirection.cjs +1 -1
- package/lib/TextDirection.js +20 -17
- package/lib/TextUnderline.cjs +1 -1
- package/lib/TextUnderline.js +7 -5
- package/lib/{Twitter-DWwd0vHR.js → Twitter-B-JQ3ZJ1.js} +51 -49
- package/lib/Twitter-DjZcVa3l.cjs +1 -0
- package/lib/Twitter.cjs +1 -1
- package/lib/Twitter.js +2 -2
- package/lib/Video.cjs +1 -1
- package/lib/Video.js +13 -11
- package/lib/bubble.cjs +4 -4
- package/lib/bubble.js +2084 -1949
- package/lib/button-BS3n6_Aq.cjs +1 -0
- package/lib/{button-RnHbJfd-.js → button-Uv01FNnd.js} +9 -8
- package/lib/{checkbox-CTEN0q4y.cjs → checkbox-C8ByRi7-.cjs} +1 -1
- package/lib/{checkbox-CLSoR1Qj.js → checkbox-DEFNwGwb.js} +1 -1
- package/lib/{index-sVScpCFG.js → clsx-BWSGDJNJ.js} +224 -224
- package/lib/{index-BBNITgNi.cjs → clsx-CXbNJWDD.cjs} +13 -13
- package/lib/components/Bubble/RichTextBubbleCallout.d.ts +1 -0
- package/lib/components/Bubble/index.d.ts +1 -0
- package/lib/components/ui/index.d.ts +1 -0
- package/lib/{dialog-CMC9hsCo.cjs → dialog-Bt5zwGYB.cjs} +1 -1
- package/lib/{dialog-D_HCtKvc.js → dialog-DwTMZSt6.js} +1 -1
- package/lib/{dropdown-menu-66q7Ofc5.js → dropdown-menu-BetI14G6.js} +1 -1
- package/lib/{dropdown-menu-DKSAS-w_.cjs → dropdown-menu-Bo68IEOT.cjs} +1 -1
- package/lib/events.constant-Dq21NPdV.cjs +1 -0
- package/lib/events.constant-do95b767.js +21 -0
- package/lib/extensions/Callout/Callout.d.ts +18 -0
- package/lib/extensions/Callout/components/NodeViewCallout/NodeViewCallout.d.ts +1 -0
- package/lib/extensions/Callout/components/RichTextCallout.d.ts +1 -0
- package/lib/extensions/Callout/index.d.ts +1 -0
- package/lib/{index-CApXPpjF.cjs → index-BCzvbrf5.cjs} +1 -1
- package/lib/{index-9A6-kVBM.js → index-BDKHXe7R.js} +1 -1
- package/lib/{index-DmPwbBqm.js → index-CHKWG6E8.js} +1 -1
- package/lib/index-CcoWj0mF.js +426 -0
- package/lib/index-CjhjjJsN.cjs +1 -0
- package/lib/index-Cs6cp0Y6.cjs +1 -0
- package/lib/index-D3RLYf-J.cjs +1 -0
- package/lib/{index-C3zg3DPB.js → index-DF5ZPtWM.js} +371 -1177
- package/lib/{index-DRHrDScg.js → index-DJbmnBzK.js} +1 -1
- package/lib/index-Doks9cbR.cjs +1 -0
- package/lib/{index-0OnGZkVF.js → index-Dujzr6bY.js} +179 -317
- package/lib/index-VhKd73hZ.cjs +1 -0
- package/lib/{index-DKt5wfAc.js → index-mR8PNv5P.js} +1 -1
- package/lib/{index--nUS7Y66.cjs → index-neeeY2o7.cjs} +3 -3
- package/lib/index.cjs +9 -2
- package/lib/index.js +142 -26
- package/lib/{input-CvyMYMZG.js → input-DUBdJD3L.js} +5 -5
- package/lib/{input-D555880-.cjs → input-Dt_BA_9B.cjs} +1 -1
- package/lib/{isNumber-Bv1Qhmw8.cjs → isNumber-BTYSVlKo.cjs} +1 -1
- package/lib/{isNumber-DF0fU3ob.js → isNumber-CIgubz2e.js} +1 -1
- package/lib/label-JNOksCA-.cjs +1 -0
- package/lib/label-topD46-u.js +19 -0
- package/lib/locale-bundle.cjs +1 -1
- package/lib/locale-bundle.js +6 -7
- package/lib/locales/en.d.ts +16 -0
- package/lib/locales/fi.d.ts +16 -0
- package/lib/locales/hu.d.ts +16 -0
- package/lib/locales/index.d.ts +99 -4316
- package/lib/locales/pt-br.d.ts +16 -0
- package/lib/locales/vi.d.ts +16 -0
- package/lib/locales/zh-cn.d.ts +16 -0
- package/lib/{popover-B7ec5-u2.js → popover-LfNBhRyz.js} +1 -1
- package/lib/{popover-BSzR_R01.cjs → popover-mL-2sX5r.cjs} +1 -1
- package/lib/react-BEoMZB61.cjs +1 -0
- package/lib/react-c9FSfB30.js +27 -0
- package/lib/select-CwGYPsPq.cjs +1 -0
- package/lib/select-DctYuHLH.js +117 -0
- package/lib/separator-Ddfrhn4D.js +329 -0
- package/lib/separator-NoH_SLRW.cjs +1 -0
- package/lib/store/EditorEditableReactive.d.ts +1 -0
- package/lib/store/ThemeColorReactive.d.ts +1 -0
- package/lib/store/commandList.d.ts +1 -1
- package/lib/store/store.d.ts +6 -7
- package/lib/store-CkjKIgjQ.cjs +1 -0
- package/lib/store-DNpS8vXA.js +10 -0
- package/lib/style.css +1 -1
- package/lib/{tabs-CWr9HYaM.js → tabs-BT3AeqQQ.js} +1 -1
- package/lib/{tabs-BTwiZkWd.cjs → tabs-DRSwUeKP.cjs} +1 -1
- package/lib/{textarea-Yetl_PZi.cjs → textarea-BDO6XQoF.cjs} +1 -1
- package/lib/{textarea-BdeLXbp8.js → textarea-DZzMEDfZ.js} +1 -1
- package/lib/theme/theme.d.ts +5 -0
- package/lib/theme.cjs +1 -1
- package/lib/theme.js +37 -8
- package/lib/{throttle-DsowOft0.js → throttle-IERhwcLa.js} +1 -1
- package/lib/throttle-gTTvqDTW.cjs +1 -0
- package/lib/toggle-BQHMh_Q-.cjs +1 -0
- package/lib/toggle-DKHg5sLm.js +99 -0
- package/lib/tooltip-BYtGp6FM.cjs +1 -0
- package/lib/tooltip-DNKq7zgN.js +24 -0
- package/lib/{updatePosition-Bbd8ETMv.js → updatePosition-Bie75EFq.js} +2 -2
- package/lib/updatePosition-Cjuj2E26.cjs +1 -0
- package/lib/useButtonProps-DBJkNDS2.cjs +1 -0
- package/lib/{useButtonProps-cMoicZgd.js → useButtonProps-DVP4s_ER.js} +48 -36
- package/lib/utils/customEvents/events.constant.d.ts +0 -5
- package/package.json +3 -3
- package/lib/ActionMenuButton-BLlse5KO.cjs +0 -1
- package/lib/Drawer-kv6BU_6O.cjs +0 -1
- package/lib/Excalidraw-B82ThkJA.cjs +0 -1
- package/lib/Icon-DRuJhcHK.js +0 -10
- package/lib/Icon-DXePECFW.cjs +0 -1
- package/lib/Iframe-03dn9wcM.cjs +0 -1
- package/lib/Indent-Cqjdn3Jt.cjs +0 -1
- package/lib/Katex-DdWTV5NJ.cjs +0 -4
- package/lib/SlashCommandNodeView-Bl_gwZJB.cjs +0 -1
- package/lib/Table-DBGjezZK.cjs +0 -9
- package/lib/Twitter-Cnvt7GBg.cjs +0 -1
- package/lib/button-BW5bDPz_.cjs +0 -1
- package/lib/events.constant-DQYeJpu5.cjs +0 -1
- package/lib/events.constant-wrlJ_7JZ.js +0 -26
- package/lib/index-BZ6DfR2r.cjs +0 -1
- package/lib/index-C838s-or.cjs +0 -8
- package/lib/index-Cv9Z6dyV.cjs +0 -1
- package/lib/index-FSRjMsxW.cjs +0 -1
- package/lib/label-DsOYPjAo.js +0 -18
- package/lib/label-E6jF3Xud.cjs +0 -1
- package/lib/separator-JaTTqb3J.js +0 -241
- package/lib/separator-PGnA-6Hr.cjs +0 -1
- package/lib/store/ProviderUniqueId.d.ts +0 -6
- package/lib/store-Cf7tFiiI.js +0 -10
- package/lib/store-oDk-lTPM.cjs +0 -1
- package/lib/throttle-BM3Bmbf_.cjs +0 -1
- package/lib/updatePosition-M2IyqkI1.cjs +0 -1
- package/lib/useButtonProps-DfnJiJLV.cjs +0 -1
|
@@ -1,94 +1,86 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import { l as j, E as B } from "./events.constant-wrlJ_7JZ.js";
|
|
8
|
-
import * as G from "@radix-ui/react-tooltip";
|
|
9
|
-
import * as Me from "@radix-ui/react-toggle";
|
|
10
|
-
import { TextAlignRightIcon as Xe, TextAlignLeftIcon as qe, TextAlignJustifyIcon as Je, TextAlignCenterIcon as Ke } from "@radix-ui/react-icons";
|
|
11
|
-
import { ExternalLink as Qe, X as Ye, Loader2 as Ze, WrapText as et, PencilRuler as tt, FlipHorizontal as rt, FlipVertical as ot, CropIcon as nt, ChevronUp as it, Paperclip as st, Eye as lt, Settings as at, ZoomOut as ct, ZoomIn as dt, BookMarked as ut, Sigma as ht, SmilePlusIcon as gt, Replace as me, SmilePlus as mt, Frame as pt, Columns2 as pe, PanelRight as ft, PanelLeft as bt, Clipboard as vt, Copy as wt, GripVertical as xt, Plus as yt, Columns4 as Ct, Columns3 as zt, Heading6 as Mt, Heading5 as kt, Heading4 as St, Heading3 as Lt, Heading2 as Et, Heading1 as At, Pilcrow as Vt, ChevronsUpDown as Ht, Trash as Rt, Trash2 as Tt, TableCellsSplit as Nt, TableCellsMerge as Pt, BetweenVerticalEnd as It, BetweenVerticalStart as jt, BetweenHorizonalStart as Bt, BetweenHorizonalEnd as Gt, Unlink as Ot, Pencil as Wt, Sparkles as $t, Table as _t, Minimize as Ft, Maximize as Ut, Video as Dt, ImageUp as Xt, Link as qt, ListTodo as Jt, ListOrdered as Kt, List as Qt, IndentDecrease as Yt, IndentIncrease as Zt, Type as er, CodeXml as tr, Code as rr, Superscript as or, Subscript as nr, ChevronDown as ir, Undo2 as sr, Redo2 as lr, PaintRoller as ar, Eraser as cr, Minus as dr, Strikethrough as ur, Quote as hr, Underline as gr, Italic as mr, LoaderCircle as pr, Bold as fr } from "lucide-react";
|
|
12
|
-
import { C as ke } from "./index-sVScpCFG.js";
|
|
13
|
-
const re = "-", br = (e) => {
|
|
14
|
-
const r = wr(e), {
|
|
1
|
+
import { j as le } from "./clsx-BWSGDJNJ.js";
|
|
2
|
+
import { jsx as ie } from "react/jsx-runtime";
|
|
3
|
+
import { createContext as ae, useContext as ce, useSyncExternalStore as de, useRef as Q, useCallback as _ } from "react";
|
|
4
|
+
import { c as ue } from "./react-c9FSfB30.js";
|
|
5
|
+
const F = "-", pe = (e) => {
|
|
6
|
+
const r = ge(e), {
|
|
15
7
|
conflictingClassGroups: t,
|
|
16
|
-
conflictingClassGroupModifiers:
|
|
8
|
+
conflictingClassGroupModifiers: n
|
|
17
9
|
} = e;
|
|
18
10
|
return {
|
|
19
11
|
getClassGroupId: (l) => {
|
|
20
|
-
const
|
|
21
|
-
return
|
|
12
|
+
const s = l.split(F);
|
|
13
|
+
return s[0] === "" && s.length !== 1 && s.shift(), ee(s, r) || be(l);
|
|
22
14
|
},
|
|
23
|
-
getConflictingClassGroupIds: (l,
|
|
15
|
+
getConflictingClassGroupIds: (l, s) => {
|
|
24
16
|
const u = t[l] || [];
|
|
25
|
-
return
|
|
17
|
+
return s && n[l] ? [...u, ...n[l]] : u;
|
|
26
18
|
}
|
|
27
19
|
};
|
|
28
|
-
},
|
|
20
|
+
}, ee = (e, r) => {
|
|
29
21
|
var l;
|
|
30
22
|
if (e.length === 0)
|
|
31
23
|
return r.classGroupId;
|
|
32
|
-
const t = e[0],
|
|
33
|
-
if (
|
|
34
|
-
return
|
|
24
|
+
const t = e[0], n = r.nextPart.get(t), a = n ? ee(e.slice(1), n) : void 0;
|
|
25
|
+
if (a)
|
|
26
|
+
return a;
|
|
35
27
|
if (r.validators.length === 0)
|
|
36
28
|
return;
|
|
37
|
-
const
|
|
29
|
+
const o = e.join(F);
|
|
38
30
|
return (l = r.validators.find(({
|
|
39
|
-
validator:
|
|
40
|
-
}) =>
|
|
41
|
-
},
|
|
42
|
-
if (
|
|
43
|
-
const r =
|
|
31
|
+
validator: s
|
|
32
|
+
}) => s(o))) == null ? void 0 : l.classGroupId;
|
|
33
|
+
}, Y = /^\[(.+)\]$/, be = (e) => {
|
|
34
|
+
if (Y.test(e)) {
|
|
35
|
+
const r = Y.exec(e)[1], t = r == null ? void 0 : r.substring(0, r.indexOf(":"));
|
|
44
36
|
if (t)
|
|
45
37
|
return "arbitrary.." + t;
|
|
46
38
|
}
|
|
47
|
-
},
|
|
39
|
+
}, ge = (e) => {
|
|
48
40
|
const {
|
|
49
41
|
theme: r,
|
|
50
42
|
prefix: t
|
|
51
|
-
} = e,
|
|
43
|
+
} = e, n = {
|
|
52
44
|
nextPart: /* @__PURE__ */ new Map(),
|
|
53
45
|
validators: []
|
|
54
46
|
};
|
|
55
|
-
return
|
|
56
|
-
|
|
57
|
-
}),
|
|
58
|
-
},
|
|
59
|
-
e.forEach((
|
|
60
|
-
if (typeof
|
|
61
|
-
const
|
|
62
|
-
|
|
47
|
+
return me(Object.entries(e.classGroups), t).forEach(([o, l]) => {
|
|
48
|
+
B(l, n, o, r);
|
|
49
|
+
}), n;
|
|
50
|
+
}, B = (e, r, t, n) => {
|
|
51
|
+
e.forEach((a) => {
|
|
52
|
+
if (typeof a == "string") {
|
|
53
|
+
const o = a === "" ? r : D(r, a);
|
|
54
|
+
o.classGroupId = t;
|
|
63
55
|
return;
|
|
64
56
|
}
|
|
65
|
-
if (typeof
|
|
66
|
-
if (
|
|
67
|
-
|
|
57
|
+
if (typeof a == "function") {
|
|
58
|
+
if (fe(a)) {
|
|
59
|
+
B(a(n), r, t, n);
|
|
68
60
|
return;
|
|
69
61
|
}
|
|
70
62
|
r.validators.push({
|
|
71
|
-
validator:
|
|
63
|
+
validator: a,
|
|
72
64
|
classGroupId: t
|
|
73
65
|
});
|
|
74
66
|
return;
|
|
75
67
|
}
|
|
76
|
-
Object.entries(
|
|
77
|
-
|
|
68
|
+
Object.entries(a).forEach(([o, l]) => {
|
|
69
|
+
B(l, D(r, o), t, n);
|
|
78
70
|
});
|
|
79
71
|
});
|
|
80
|
-
},
|
|
72
|
+
}, D = (e, r) => {
|
|
81
73
|
let t = e;
|
|
82
|
-
return r.split(
|
|
83
|
-
t.nextPart.has(
|
|
74
|
+
return r.split(F).forEach((n) => {
|
|
75
|
+
t.nextPart.has(n) || t.nextPart.set(n, {
|
|
84
76
|
nextPart: /* @__PURE__ */ new Map(),
|
|
85
77
|
validators: []
|
|
86
|
-
}), t = t.nextPart.get(
|
|
78
|
+
}), t = t.nextPart.get(n);
|
|
87
79
|
}), t;
|
|
88
|
-
},
|
|
89
|
-
const
|
|
90
|
-
return [t,
|
|
91
|
-
}) : e,
|
|
80
|
+
}, fe = (e) => e.isThemeGetter, me = (e, r) => r ? e.map(([t, n]) => {
|
|
81
|
+
const a = n.map((o) => typeof o == "string" ? r + o : typeof o == "object" ? Object.fromEntries(Object.entries(o).map(([l, s]) => [r + l, s])) : o);
|
|
82
|
+
return [t, a];
|
|
83
|
+
}) : e, he = (e) => {
|
|
92
84
|
if (e < 1)
|
|
93
85
|
return {
|
|
94
86
|
get: () => {
|
|
@@ -96,179 +88,179 @@ const re = "-", br = (e) => {
|
|
|
96
88
|
set: () => {
|
|
97
89
|
}
|
|
98
90
|
};
|
|
99
|
-
let r = 0, t = /* @__PURE__ */ new Map(),
|
|
100
|
-
const
|
|
101
|
-
t.set(
|
|
91
|
+
let r = 0, t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map();
|
|
92
|
+
const a = (o, l) => {
|
|
93
|
+
t.set(o, l), r++, r > e && (r = 0, n = t, t = /* @__PURE__ */ new Map());
|
|
102
94
|
};
|
|
103
95
|
return {
|
|
104
|
-
get(
|
|
105
|
-
let l = t.get(
|
|
96
|
+
get(o) {
|
|
97
|
+
let l = t.get(o);
|
|
106
98
|
if (l !== void 0)
|
|
107
99
|
return l;
|
|
108
|
-
if ((l =
|
|
109
|
-
return
|
|
100
|
+
if ((l = n.get(o)) !== void 0)
|
|
101
|
+
return a(o, l), l;
|
|
110
102
|
},
|
|
111
|
-
set(
|
|
112
|
-
t.has(
|
|
103
|
+
set(o, l) {
|
|
104
|
+
t.has(o) ? t.set(o, l) : a(o, l);
|
|
113
105
|
}
|
|
114
106
|
};
|
|
115
|
-
},
|
|
107
|
+
}, re = "!", xe = (e) => {
|
|
116
108
|
const {
|
|
117
109
|
separator: r,
|
|
118
110
|
experimentalParseClassName: t
|
|
119
|
-
} = e,
|
|
111
|
+
} = e, n = r.length === 1, a = r[0], o = r.length, l = (s) => {
|
|
120
112
|
const u = [];
|
|
121
|
-
let
|
|
122
|
-
for (let p = 0; p <
|
|
123
|
-
let
|
|
124
|
-
if (
|
|
125
|
-
if (
|
|
126
|
-
u.push(
|
|
113
|
+
let g = 0, b = 0, h;
|
|
114
|
+
for (let p = 0; p < s.length; p++) {
|
|
115
|
+
let m = s[p];
|
|
116
|
+
if (g === 0) {
|
|
117
|
+
if (m === a && (n || s.slice(p, p + o) === r)) {
|
|
118
|
+
u.push(s.slice(b, p)), b = p + o;
|
|
127
119
|
continue;
|
|
128
120
|
}
|
|
129
|
-
if (
|
|
130
|
-
|
|
121
|
+
if (m === "/") {
|
|
122
|
+
h = p;
|
|
131
123
|
continue;
|
|
132
124
|
}
|
|
133
125
|
}
|
|
134
|
-
|
|
126
|
+
m === "[" ? g++ : m === "]" && g--;
|
|
135
127
|
}
|
|
136
|
-
const
|
|
128
|
+
const y = u.length === 0 ? s : s.substring(b), v = y.startsWith(re), w = v ? y.substring(1) : y, f = h && h > b ? h - b : void 0;
|
|
137
129
|
return {
|
|
138
130
|
modifiers: u,
|
|
139
|
-
hasImportantModifier:
|
|
140
|
-
baseClassName:
|
|
141
|
-
maybePostfixModifierPosition:
|
|
131
|
+
hasImportantModifier: v,
|
|
132
|
+
baseClassName: w,
|
|
133
|
+
maybePostfixModifierPosition: f
|
|
142
134
|
};
|
|
143
135
|
};
|
|
144
|
-
return t ? (
|
|
145
|
-
className:
|
|
136
|
+
return t ? (s) => t({
|
|
137
|
+
className: s,
|
|
146
138
|
parseClassName: l
|
|
147
139
|
}) : l;
|
|
148
|
-
},
|
|
140
|
+
}, ye = (e) => {
|
|
149
141
|
if (e.length <= 1)
|
|
150
142
|
return e;
|
|
151
143
|
const r = [];
|
|
152
144
|
let t = [];
|
|
153
|
-
return e.forEach((
|
|
154
|
-
|
|
145
|
+
return e.forEach((n) => {
|
|
146
|
+
n[0] === "[" ? (r.push(...t.sort(), n), t = []) : t.push(n);
|
|
155
147
|
}), r.push(...t.sort()), r;
|
|
156
|
-
},
|
|
157
|
-
cache:
|
|
158
|
-
parseClassName:
|
|
159
|
-
...
|
|
160
|
-
}),
|
|
148
|
+
}, we = (e) => ({
|
|
149
|
+
cache: he(e.cacheSize),
|
|
150
|
+
parseClassName: xe(e),
|
|
151
|
+
...pe(e)
|
|
152
|
+
}), ve = /\s+/, Ce = (e, r) => {
|
|
161
153
|
const {
|
|
162
154
|
parseClassName: t,
|
|
163
|
-
getClassGroupId:
|
|
164
|
-
getConflictingClassGroupIds:
|
|
165
|
-
} = r,
|
|
166
|
-
let
|
|
155
|
+
getClassGroupId: n,
|
|
156
|
+
getConflictingClassGroupIds: a
|
|
157
|
+
} = r, o = [], l = e.trim().split(ve);
|
|
158
|
+
let s = "";
|
|
167
159
|
for (let u = l.length - 1; u >= 0; u -= 1) {
|
|
168
|
-
const
|
|
169
|
-
modifiers:
|
|
170
|
-
hasImportantModifier:
|
|
171
|
-
baseClassName:
|
|
172
|
-
maybePostfixModifierPosition:
|
|
173
|
-
} = t(
|
|
174
|
-
let
|
|
175
|
-
if (!
|
|
176
|
-
if (!
|
|
177
|
-
|
|
160
|
+
const g = l[u], {
|
|
161
|
+
modifiers: b,
|
|
162
|
+
hasImportantModifier: h,
|
|
163
|
+
baseClassName: y,
|
|
164
|
+
maybePostfixModifierPosition: v
|
|
165
|
+
} = t(g);
|
|
166
|
+
let w = !!v, f = n(w ? y.substring(0, v) : y);
|
|
167
|
+
if (!f) {
|
|
168
|
+
if (!w) {
|
|
169
|
+
s = g + (s.length > 0 ? " " + s : s);
|
|
178
170
|
continue;
|
|
179
171
|
}
|
|
180
|
-
if (
|
|
181
|
-
|
|
172
|
+
if (f = n(y), !f) {
|
|
173
|
+
s = g + (s.length > 0 ? " " + s : s);
|
|
182
174
|
continue;
|
|
183
175
|
}
|
|
184
|
-
|
|
176
|
+
w = !1;
|
|
185
177
|
}
|
|
186
|
-
const p =
|
|
187
|
-
if (
|
|
178
|
+
const p = ye(b).join(":"), m = h ? p + re : p, x = m + f;
|
|
179
|
+
if (o.includes(x))
|
|
188
180
|
continue;
|
|
189
|
-
|
|
190
|
-
const
|
|
191
|
-
for (let
|
|
192
|
-
const
|
|
193
|
-
|
|
181
|
+
o.push(x);
|
|
182
|
+
const G = a(f, w);
|
|
183
|
+
for (let A = 0; A < G.length; ++A) {
|
|
184
|
+
const j = G[A];
|
|
185
|
+
o.push(m + j);
|
|
194
186
|
}
|
|
195
|
-
|
|
187
|
+
s = g + (s.length > 0 ? " " + s : s);
|
|
196
188
|
}
|
|
197
|
-
return
|
|
189
|
+
return s;
|
|
198
190
|
};
|
|
199
|
-
function
|
|
200
|
-
let e = 0, r, t,
|
|
191
|
+
function ke() {
|
|
192
|
+
let e = 0, r, t, n = "";
|
|
201
193
|
for (; e < arguments.length; )
|
|
202
|
-
(r = arguments[e++]) && (t =
|
|
203
|
-
return
|
|
194
|
+
(r = arguments[e++]) && (t = te(r)) && (n && (n += " "), n += t);
|
|
195
|
+
return n;
|
|
204
196
|
}
|
|
205
|
-
const
|
|
197
|
+
const te = (e) => {
|
|
206
198
|
if (typeof e == "string")
|
|
207
199
|
return e;
|
|
208
200
|
let r, t = "";
|
|
209
|
-
for (let
|
|
210
|
-
e[
|
|
201
|
+
for (let n = 0; n < e.length; n++)
|
|
202
|
+
e[n] && (r = te(e[n])) && (t && (t += " "), t += r);
|
|
211
203
|
return t;
|
|
212
204
|
};
|
|
213
|
-
function
|
|
214
|
-
let t,
|
|
205
|
+
function ze(e, ...r) {
|
|
206
|
+
let t, n, a, o = l;
|
|
215
207
|
function l(u) {
|
|
216
|
-
const
|
|
217
|
-
return t =
|
|
208
|
+
const g = r.reduce((b, h) => h(b), e());
|
|
209
|
+
return t = we(g), n = t.cache.get, a = t.cache.set, o = s, s(u);
|
|
218
210
|
}
|
|
219
|
-
function
|
|
220
|
-
const
|
|
221
|
-
if (
|
|
222
|
-
return
|
|
223
|
-
const
|
|
224
|
-
return
|
|
211
|
+
function s(u) {
|
|
212
|
+
const g = n(u);
|
|
213
|
+
if (g)
|
|
214
|
+
return g;
|
|
215
|
+
const b = Ce(u, t);
|
|
216
|
+
return a(u, b), b;
|
|
225
217
|
}
|
|
226
218
|
return function() {
|
|
227
|
-
return
|
|
219
|
+
return o(ke.apply(null, arguments));
|
|
228
220
|
};
|
|
229
221
|
}
|
|
230
|
-
const
|
|
222
|
+
const c = (e) => {
|
|
231
223
|
const r = (t) => t[e] || [];
|
|
232
224
|
return r.isThemeGetter = !0, r;
|
|
233
|
-
},
|
|
234
|
-
const
|
|
235
|
-
return
|
|
236
|
-
},
|
|
225
|
+
}, oe = /^\[(?:([a-z-]+):)?(.+)\]$/i, Se = /^\d+\/\d+$/, Ae = /* @__PURE__ */ new Set(["px", "full", "screen"]), Me = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ee = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Ge = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Re = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Pe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, k = (e) => M(e) || Ae.has(e) || Se.test(e), z = (e) => E(e, "length", Oe), M = (e) => !!e && !Number.isNaN(Number(e)), $ = (e) => E(e, "number", M), P = (e) => !!e && Number.isInteger(Number(e)), Ie = (e) => e.endsWith("%") && M(e.slice(0, -1)), i = (e) => oe.test(e), S = (e) => Me.test(e), je = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Ne = (e) => E(e, je, ne), Te = (e) => E(e, "position", ne), Le = /* @__PURE__ */ new Set(["image", "url"]), We = (e) => E(e, Le, $e), Ve = (e) => E(e, "", _e), I = () => !0, E = (e, r, t) => {
|
|
226
|
+
const n = oe.exec(e);
|
|
227
|
+
return n ? n[1] ? typeof r == "string" ? n[1] === r : r.has(n[1]) : t(n[2]) : !1;
|
|
228
|
+
}, Oe = (e) => (
|
|
237
229
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
238
230
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
239
231
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
240
|
-
|
|
241
|
-
),
|
|
242
|
-
const e =
|
|
232
|
+
Ee.test(e) && !Ge.test(e)
|
|
233
|
+
), ne = () => !1, _e = (e) => Re.test(e), $e = (e) => Pe.test(e), Be = () => {
|
|
234
|
+
const e = c("colors"), r = c("spacing"), t = c("blur"), n = c("brightness"), a = c("borderColor"), o = c("borderRadius"), l = c("borderSpacing"), s = c("borderWidth"), u = c("contrast"), g = c("grayscale"), b = c("hueRotate"), h = c("invert"), y = c("gap"), v = c("gradientColorStops"), w = c("gradientColorStopPositions"), f = c("inset"), p = c("margin"), m = c("opacity"), x = c("padding"), G = c("saturate"), A = c("scale"), j = c("sepia"), U = c("skew"), q = c("space"), J = c("translate"), L = () => ["auto", "contain", "none"], W = () => ["auto", "hidden", "clip", "visible", "scroll"], V = () => ["auto", i, r], d = () => [i, r], X = () => ["", k, z], N = () => ["auto", M, i], Z = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], T = () => ["solid", "dashed", "dotted", "double", "none"], H = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], O = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], R = () => ["", "0", i], K = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], C = () => [M, i];
|
|
243
235
|
return {
|
|
244
236
|
cacheSize: 500,
|
|
245
237
|
separator: ":",
|
|
246
238
|
theme: {
|
|
247
239
|
colors: [I],
|
|
248
|
-
spacing: [k,
|
|
249
|
-
blur: ["none", "",
|
|
250
|
-
brightness:
|
|
240
|
+
spacing: [k, z],
|
|
241
|
+
blur: ["none", "", S, i],
|
|
242
|
+
brightness: C(),
|
|
251
243
|
borderColor: [e],
|
|
252
|
-
borderRadius: ["none", "", "full",
|
|
253
|
-
borderSpacing:
|
|
254
|
-
borderWidth:
|
|
255
|
-
contrast:
|
|
256
|
-
grayscale:
|
|
257
|
-
hueRotate:
|
|
258
|
-
invert:
|
|
259
|
-
gap:
|
|
244
|
+
borderRadius: ["none", "", "full", S, i],
|
|
245
|
+
borderSpacing: d(),
|
|
246
|
+
borderWidth: X(),
|
|
247
|
+
contrast: C(),
|
|
248
|
+
grayscale: R(),
|
|
249
|
+
hueRotate: C(),
|
|
250
|
+
invert: R(),
|
|
251
|
+
gap: d(),
|
|
260
252
|
gradientColorStops: [e],
|
|
261
|
-
gradientColorStopPositions: [
|
|
262
|
-
inset:
|
|
263
|
-
margin:
|
|
264
|
-
opacity:
|
|
265
|
-
padding:
|
|
266
|
-
saturate:
|
|
267
|
-
scale:
|
|
268
|
-
sepia:
|
|
269
|
-
skew:
|
|
270
|
-
space:
|
|
271
|
-
translate:
|
|
253
|
+
gradientColorStopPositions: [Ie, z],
|
|
254
|
+
inset: V(),
|
|
255
|
+
margin: V(),
|
|
256
|
+
opacity: C(),
|
|
257
|
+
padding: d(),
|
|
258
|
+
saturate: C(),
|
|
259
|
+
scale: C(),
|
|
260
|
+
sepia: R(),
|
|
261
|
+
skew: C(),
|
|
262
|
+
space: d(),
|
|
263
|
+
translate: d()
|
|
272
264
|
},
|
|
273
265
|
classGroups: {
|
|
274
266
|
// Layout
|
|
@@ -277,7 +269,7 @@ const b = (e) => {
|
|
|
277
269
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
278
270
|
*/
|
|
279
271
|
aspect: [{
|
|
280
|
-
aspect: ["auto", "square", "video",
|
|
272
|
+
aspect: ["auto", "square", "video", i]
|
|
281
273
|
}],
|
|
282
274
|
/**
|
|
283
275
|
* Container
|
|
@@ -289,21 +281,21 @@ const b = (e) => {
|
|
|
289
281
|
* @see https://tailwindcss.com/docs/columns
|
|
290
282
|
*/
|
|
291
283
|
columns: [{
|
|
292
|
-
columns: [
|
|
284
|
+
columns: [S]
|
|
293
285
|
}],
|
|
294
286
|
/**
|
|
295
287
|
* Break After
|
|
296
288
|
* @see https://tailwindcss.com/docs/break-after
|
|
297
289
|
*/
|
|
298
290
|
"break-after": [{
|
|
299
|
-
"break-after":
|
|
291
|
+
"break-after": K()
|
|
300
292
|
}],
|
|
301
293
|
/**
|
|
302
294
|
* Break Before
|
|
303
295
|
* @see https://tailwindcss.com/docs/break-before
|
|
304
296
|
*/
|
|
305
297
|
"break-before": [{
|
|
306
|
-
"break-before":
|
|
298
|
+
"break-before": K()
|
|
307
299
|
}],
|
|
308
300
|
/**
|
|
309
301
|
* Break Inside
|
|
@@ -362,49 +354,49 @@ const b = (e) => {
|
|
|
362
354
|
* @see https://tailwindcss.com/docs/object-position
|
|
363
355
|
*/
|
|
364
356
|
"object-position": [{
|
|
365
|
-
object: [...
|
|
357
|
+
object: [...Z(), i]
|
|
366
358
|
}],
|
|
367
359
|
/**
|
|
368
360
|
* Overflow
|
|
369
361
|
* @see https://tailwindcss.com/docs/overflow
|
|
370
362
|
*/
|
|
371
363
|
overflow: [{
|
|
372
|
-
overflow:
|
|
364
|
+
overflow: W()
|
|
373
365
|
}],
|
|
374
366
|
/**
|
|
375
367
|
* Overflow X
|
|
376
368
|
* @see https://tailwindcss.com/docs/overflow
|
|
377
369
|
*/
|
|
378
370
|
"overflow-x": [{
|
|
379
|
-
"overflow-x":
|
|
371
|
+
"overflow-x": W()
|
|
380
372
|
}],
|
|
381
373
|
/**
|
|
382
374
|
* Overflow Y
|
|
383
375
|
* @see https://tailwindcss.com/docs/overflow
|
|
384
376
|
*/
|
|
385
377
|
"overflow-y": [{
|
|
386
|
-
"overflow-y":
|
|
378
|
+
"overflow-y": W()
|
|
387
379
|
}],
|
|
388
380
|
/**
|
|
389
381
|
* Overscroll Behavior
|
|
390
382
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
391
383
|
*/
|
|
392
384
|
overscroll: [{
|
|
393
|
-
overscroll:
|
|
385
|
+
overscroll: L()
|
|
394
386
|
}],
|
|
395
387
|
/**
|
|
396
388
|
* Overscroll Behavior X
|
|
397
389
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
398
390
|
*/
|
|
399
391
|
"overscroll-x": [{
|
|
400
|
-
"overscroll-x":
|
|
392
|
+
"overscroll-x": L()
|
|
401
393
|
}],
|
|
402
394
|
/**
|
|
403
395
|
* Overscroll Behavior Y
|
|
404
396
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
405
397
|
*/
|
|
406
398
|
"overscroll-y": [{
|
|
407
|
-
"overscroll-y":
|
|
399
|
+
"overscroll-y": L()
|
|
408
400
|
}],
|
|
409
401
|
/**
|
|
410
402
|
* Position
|
|
@@ -416,63 +408,63 @@ const b = (e) => {
|
|
|
416
408
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
417
409
|
*/
|
|
418
410
|
inset: [{
|
|
419
|
-
inset: [
|
|
411
|
+
inset: [f]
|
|
420
412
|
}],
|
|
421
413
|
/**
|
|
422
414
|
* Right / Left
|
|
423
415
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
424
416
|
*/
|
|
425
417
|
"inset-x": [{
|
|
426
|
-
"inset-x": [
|
|
418
|
+
"inset-x": [f]
|
|
427
419
|
}],
|
|
428
420
|
/**
|
|
429
421
|
* Top / Bottom
|
|
430
422
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
431
423
|
*/
|
|
432
424
|
"inset-y": [{
|
|
433
|
-
"inset-y": [
|
|
425
|
+
"inset-y": [f]
|
|
434
426
|
}],
|
|
435
427
|
/**
|
|
436
428
|
* Start
|
|
437
429
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
438
430
|
*/
|
|
439
431
|
start: [{
|
|
440
|
-
start: [
|
|
432
|
+
start: [f]
|
|
441
433
|
}],
|
|
442
434
|
/**
|
|
443
435
|
* End
|
|
444
436
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
445
437
|
*/
|
|
446
438
|
end: [{
|
|
447
|
-
end: [
|
|
439
|
+
end: [f]
|
|
448
440
|
}],
|
|
449
441
|
/**
|
|
450
442
|
* Top
|
|
451
443
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
452
444
|
*/
|
|
453
445
|
top: [{
|
|
454
|
-
top: [
|
|
446
|
+
top: [f]
|
|
455
447
|
}],
|
|
456
448
|
/**
|
|
457
449
|
* Right
|
|
458
450
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
459
451
|
*/
|
|
460
452
|
right: [{
|
|
461
|
-
right: [
|
|
453
|
+
right: [f]
|
|
462
454
|
}],
|
|
463
455
|
/**
|
|
464
456
|
* Bottom
|
|
465
457
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
466
458
|
*/
|
|
467
459
|
bottom: [{
|
|
468
|
-
bottom: [
|
|
460
|
+
bottom: [f]
|
|
469
461
|
}],
|
|
470
462
|
/**
|
|
471
463
|
* Left
|
|
472
464
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
473
465
|
*/
|
|
474
466
|
left: [{
|
|
475
|
-
left: [
|
|
467
|
+
left: [f]
|
|
476
468
|
}],
|
|
477
469
|
/**
|
|
478
470
|
* Visibility
|
|
@@ -484,7 +476,7 @@ const b = (e) => {
|
|
|
484
476
|
* @see https://tailwindcss.com/docs/z-index
|
|
485
477
|
*/
|
|
486
478
|
z: [{
|
|
487
|
-
z: ["auto", P,
|
|
479
|
+
z: ["auto", P, i]
|
|
488
480
|
}],
|
|
489
481
|
// Flexbox and Grid
|
|
490
482
|
/**
|
|
@@ -492,7 +484,7 @@ const b = (e) => {
|
|
|
492
484
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
493
485
|
*/
|
|
494
486
|
basis: [{
|
|
495
|
-
basis:
|
|
487
|
+
basis: V()
|
|
496
488
|
}],
|
|
497
489
|
/**
|
|
498
490
|
* Flex Direction
|
|
@@ -513,28 +505,28 @@ const b = (e) => {
|
|
|
513
505
|
* @see https://tailwindcss.com/docs/flex
|
|
514
506
|
*/
|
|
515
507
|
flex: [{
|
|
516
|
-
flex: ["1", "auto", "initial", "none",
|
|
508
|
+
flex: ["1", "auto", "initial", "none", i]
|
|
517
509
|
}],
|
|
518
510
|
/**
|
|
519
511
|
* Flex Grow
|
|
520
512
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
521
513
|
*/
|
|
522
514
|
grow: [{
|
|
523
|
-
grow:
|
|
515
|
+
grow: R()
|
|
524
516
|
}],
|
|
525
517
|
/**
|
|
526
518
|
* Flex Shrink
|
|
527
519
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
528
520
|
*/
|
|
529
521
|
shrink: [{
|
|
530
|
-
shrink:
|
|
522
|
+
shrink: R()
|
|
531
523
|
}],
|
|
532
524
|
/**
|
|
533
525
|
* Order
|
|
534
526
|
* @see https://tailwindcss.com/docs/order
|
|
535
527
|
*/
|
|
536
528
|
order: [{
|
|
537
|
-
order: ["first", "last", "none", P,
|
|
529
|
+
order: ["first", "last", "none", P, i]
|
|
538
530
|
}],
|
|
539
531
|
/**
|
|
540
532
|
* Grid Template Columns
|
|
@@ -549,22 +541,22 @@ const b = (e) => {
|
|
|
549
541
|
*/
|
|
550
542
|
"col-start-end": [{
|
|
551
543
|
col: ["auto", {
|
|
552
|
-
span: ["full", P,
|
|
553
|
-
},
|
|
544
|
+
span: ["full", P, i]
|
|
545
|
+
}, i]
|
|
554
546
|
}],
|
|
555
547
|
/**
|
|
556
548
|
* Grid Column Start
|
|
557
549
|
* @see https://tailwindcss.com/docs/grid-column
|
|
558
550
|
*/
|
|
559
551
|
"col-start": [{
|
|
560
|
-
"col-start":
|
|
552
|
+
"col-start": N()
|
|
561
553
|
}],
|
|
562
554
|
/**
|
|
563
555
|
* Grid Column End
|
|
564
556
|
* @see https://tailwindcss.com/docs/grid-column
|
|
565
557
|
*/
|
|
566
558
|
"col-end": [{
|
|
567
|
-
"col-end":
|
|
559
|
+
"col-end": N()
|
|
568
560
|
}],
|
|
569
561
|
/**
|
|
570
562
|
* Grid Template Rows
|
|
@@ -579,22 +571,22 @@ const b = (e) => {
|
|
|
579
571
|
*/
|
|
580
572
|
"row-start-end": [{
|
|
581
573
|
row: ["auto", {
|
|
582
|
-
span: [P,
|
|
583
|
-
},
|
|
574
|
+
span: [P, i]
|
|
575
|
+
}, i]
|
|
584
576
|
}],
|
|
585
577
|
/**
|
|
586
578
|
* Grid Row Start
|
|
587
579
|
* @see https://tailwindcss.com/docs/grid-row
|
|
588
580
|
*/
|
|
589
581
|
"row-start": [{
|
|
590
|
-
"row-start":
|
|
582
|
+
"row-start": N()
|
|
591
583
|
}],
|
|
592
584
|
/**
|
|
593
585
|
* Grid Row End
|
|
594
586
|
* @see https://tailwindcss.com/docs/grid-row
|
|
595
587
|
*/
|
|
596
588
|
"row-end": [{
|
|
597
|
-
"row-end":
|
|
589
|
+
"row-end": N()
|
|
598
590
|
}],
|
|
599
591
|
/**
|
|
600
592
|
* Grid Auto Flow
|
|
@@ -608,42 +600,42 @@ const b = (e) => {
|
|
|
608
600
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
609
601
|
*/
|
|
610
602
|
"auto-cols": [{
|
|
611
|
-
"auto-cols": ["auto", "min", "max", "fr",
|
|
603
|
+
"auto-cols": ["auto", "min", "max", "fr", i]
|
|
612
604
|
}],
|
|
613
605
|
/**
|
|
614
606
|
* Grid Auto Rows
|
|
615
607
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
616
608
|
*/
|
|
617
609
|
"auto-rows": [{
|
|
618
|
-
"auto-rows": ["auto", "min", "max", "fr",
|
|
610
|
+
"auto-rows": ["auto", "min", "max", "fr", i]
|
|
619
611
|
}],
|
|
620
612
|
/**
|
|
621
613
|
* Gap
|
|
622
614
|
* @see https://tailwindcss.com/docs/gap
|
|
623
615
|
*/
|
|
624
616
|
gap: [{
|
|
625
|
-
gap: [
|
|
617
|
+
gap: [y]
|
|
626
618
|
}],
|
|
627
619
|
/**
|
|
628
620
|
* Gap X
|
|
629
621
|
* @see https://tailwindcss.com/docs/gap
|
|
630
622
|
*/
|
|
631
623
|
"gap-x": [{
|
|
632
|
-
"gap-x": [
|
|
624
|
+
"gap-x": [y]
|
|
633
625
|
}],
|
|
634
626
|
/**
|
|
635
627
|
* Gap Y
|
|
636
628
|
* @see https://tailwindcss.com/docs/gap
|
|
637
629
|
*/
|
|
638
630
|
"gap-y": [{
|
|
639
|
-
"gap-y": [
|
|
631
|
+
"gap-y": [y]
|
|
640
632
|
}],
|
|
641
633
|
/**
|
|
642
634
|
* Justify Content
|
|
643
635
|
* @see https://tailwindcss.com/docs/justify-content
|
|
644
636
|
*/
|
|
645
637
|
"justify-content": [{
|
|
646
|
-
justify: ["normal", ...
|
|
638
|
+
justify: ["normal", ...O()]
|
|
647
639
|
}],
|
|
648
640
|
/**
|
|
649
641
|
* Justify Items
|
|
@@ -664,7 +656,7 @@ const b = (e) => {
|
|
|
664
656
|
* @see https://tailwindcss.com/docs/align-content
|
|
665
657
|
*/
|
|
666
658
|
"align-content": [{
|
|
667
|
-
content: ["normal", ...
|
|
659
|
+
content: ["normal", ...O(), "baseline"]
|
|
668
660
|
}],
|
|
669
661
|
/**
|
|
670
662
|
* Align Items
|
|
@@ -685,7 +677,7 @@ const b = (e) => {
|
|
|
685
677
|
* @see https://tailwindcss.com/docs/place-content
|
|
686
678
|
*/
|
|
687
679
|
"place-content": [{
|
|
688
|
-
"place-content": [...
|
|
680
|
+
"place-content": [...O(), "baseline"]
|
|
689
681
|
}],
|
|
690
682
|
/**
|
|
691
683
|
* Place Items
|
|
@@ -707,63 +699,63 @@ const b = (e) => {
|
|
|
707
699
|
* @see https://tailwindcss.com/docs/padding
|
|
708
700
|
*/
|
|
709
701
|
p: [{
|
|
710
|
-
p: [
|
|
702
|
+
p: [x]
|
|
711
703
|
}],
|
|
712
704
|
/**
|
|
713
705
|
* Padding X
|
|
714
706
|
* @see https://tailwindcss.com/docs/padding
|
|
715
707
|
*/
|
|
716
708
|
px: [{
|
|
717
|
-
px: [
|
|
709
|
+
px: [x]
|
|
718
710
|
}],
|
|
719
711
|
/**
|
|
720
712
|
* Padding Y
|
|
721
713
|
* @see https://tailwindcss.com/docs/padding
|
|
722
714
|
*/
|
|
723
715
|
py: [{
|
|
724
|
-
py: [
|
|
716
|
+
py: [x]
|
|
725
717
|
}],
|
|
726
718
|
/**
|
|
727
719
|
* Padding Start
|
|
728
720
|
* @see https://tailwindcss.com/docs/padding
|
|
729
721
|
*/
|
|
730
722
|
ps: [{
|
|
731
|
-
ps: [
|
|
723
|
+
ps: [x]
|
|
732
724
|
}],
|
|
733
725
|
/**
|
|
734
726
|
* Padding End
|
|
735
727
|
* @see https://tailwindcss.com/docs/padding
|
|
736
728
|
*/
|
|
737
729
|
pe: [{
|
|
738
|
-
pe: [
|
|
730
|
+
pe: [x]
|
|
739
731
|
}],
|
|
740
732
|
/**
|
|
741
733
|
* Padding Top
|
|
742
734
|
* @see https://tailwindcss.com/docs/padding
|
|
743
735
|
*/
|
|
744
736
|
pt: [{
|
|
745
|
-
pt: [
|
|
737
|
+
pt: [x]
|
|
746
738
|
}],
|
|
747
739
|
/**
|
|
748
740
|
* Padding Right
|
|
749
741
|
* @see https://tailwindcss.com/docs/padding
|
|
750
742
|
*/
|
|
751
743
|
pr: [{
|
|
752
|
-
pr: [
|
|
744
|
+
pr: [x]
|
|
753
745
|
}],
|
|
754
746
|
/**
|
|
755
747
|
* Padding Bottom
|
|
756
748
|
* @see https://tailwindcss.com/docs/padding
|
|
757
749
|
*/
|
|
758
750
|
pb: [{
|
|
759
|
-
pb: [
|
|
751
|
+
pb: [x]
|
|
760
752
|
}],
|
|
761
753
|
/**
|
|
762
754
|
* Padding Left
|
|
763
755
|
* @see https://tailwindcss.com/docs/padding
|
|
764
756
|
*/
|
|
765
757
|
pl: [{
|
|
766
|
-
pl: [
|
|
758
|
+
pl: [x]
|
|
767
759
|
}],
|
|
768
760
|
/**
|
|
769
761
|
* Margin
|
|
@@ -833,7 +825,7 @@ const b = (e) => {
|
|
|
833
825
|
* @see https://tailwindcss.com/docs/space
|
|
834
826
|
*/
|
|
835
827
|
"space-x": [{
|
|
836
|
-
"space-x": [
|
|
828
|
+
"space-x": [q]
|
|
837
829
|
}],
|
|
838
830
|
/**
|
|
839
831
|
* Space Between X Reverse
|
|
@@ -845,7 +837,7 @@ const b = (e) => {
|
|
|
845
837
|
* @see https://tailwindcss.com/docs/space
|
|
846
838
|
*/
|
|
847
839
|
"space-y": [{
|
|
848
|
-
"space-y": [
|
|
840
|
+
"space-y": [q]
|
|
849
841
|
}],
|
|
850
842
|
/**
|
|
851
843
|
* Space Between Y Reverse
|
|
@@ -858,51 +850,51 @@ const b = (e) => {
|
|
|
858
850
|
* @see https://tailwindcss.com/docs/width
|
|
859
851
|
*/
|
|
860
852
|
w: [{
|
|
861
|
-
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw",
|
|
853
|
+
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", i, r]
|
|
862
854
|
}],
|
|
863
855
|
/**
|
|
864
856
|
* Min-Width
|
|
865
857
|
* @see https://tailwindcss.com/docs/min-width
|
|
866
858
|
*/
|
|
867
859
|
"min-w": [{
|
|
868
|
-
"min-w": [
|
|
860
|
+
"min-w": [i, r, "min", "max", "fit"]
|
|
869
861
|
}],
|
|
870
862
|
/**
|
|
871
863
|
* Max-Width
|
|
872
864
|
* @see https://tailwindcss.com/docs/max-width
|
|
873
865
|
*/
|
|
874
866
|
"max-w": [{
|
|
875
|
-
"max-w": [
|
|
876
|
-
screen: [
|
|
877
|
-
},
|
|
867
|
+
"max-w": [i, r, "none", "full", "min", "max", "fit", "prose", {
|
|
868
|
+
screen: [S]
|
|
869
|
+
}, S]
|
|
878
870
|
}],
|
|
879
871
|
/**
|
|
880
872
|
* Height
|
|
881
873
|
* @see https://tailwindcss.com/docs/height
|
|
882
874
|
*/
|
|
883
875
|
h: [{
|
|
884
|
-
h: [
|
|
876
|
+
h: [i, r, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
885
877
|
}],
|
|
886
878
|
/**
|
|
887
879
|
* Min-Height
|
|
888
880
|
* @see https://tailwindcss.com/docs/min-height
|
|
889
881
|
*/
|
|
890
882
|
"min-h": [{
|
|
891
|
-
"min-h": [
|
|
883
|
+
"min-h": [i, r, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
892
884
|
}],
|
|
893
885
|
/**
|
|
894
886
|
* Max-Height
|
|
895
887
|
* @see https://tailwindcss.com/docs/max-height
|
|
896
888
|
*/
|
|
897
889
|
"max-h": [{
|
|
898
|
-
"max-h": [
|
|
890
|
+
"max-h": [i, r, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
899
891
|
}],
|
|
900
892
|
/**
|
|
901
893
|
* Size
|
|
902
894
|
* @see https://tailwindcss.com/docs/size
|
|
903
895
|
*/
|
|
904
896
|
size: [{
|
|
905
|
-
size: [
|
|
897
|
+
size: [i, r, "auto", "min", "max", "fit"]
|
|
906
898
|
}],
|
|
907
899
|
// Typography
|
|
908
900
|
/**
|
|
@@ -910,7 +902,7 @@ const b = (e) => {
|
|
|
910
902
|
* @see https://tailwindcss.com/docs/font-size
|
|
911
903
|
*/
|
|
912
904
|
"font-size": [{
|
|
913
|
-
text: ["base",
|
|
905
|
+
text: ["base", S, z]
|
|
914
906
|
}],
|
|
915
907
|
/**
|
|
916
908
|
* Font Smoothing
|
|
@@ -927,7 +919,7 @@ const b = (e) => {
|
|
|
927
919
|
* @see https://tailwindcss.com/docs/font-weight
|
|
928
920
|
*/
|
|
929
921
|
"font-weight": [{
|
|
930
|
-
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black",
|
|
922
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", $]
|
|
931
923
|
}],
|
|
932
924
|
/**
|
|
933
925
|
* Font Family
|
|
@@ -971,35 +963,35 @@ const b = (e) => {
|
|
|
971
963
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
972
964
|
*/
|
|
973
965
|
tracking: [{
|
|
974
|
-
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest",
|
|
966
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", i]
|
|
975
967
|
}],
|
|
976
968
|
/**
|
|
977
969
|
* Line Clamp
|
|
978
970
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
979
971
|
*/
|
|
980
972
|
"line-clamp": [{
|
|
981
|
-
"line-clamp": ["none",
|
|
973
|
+
"line-clamp": ["none", M, $]
|
|
982
974
|
}],
|
|
983
975
|
/**
|
|
984
976
|
* Line Height
|
|
985
977
|
* @see https://tailwindcss.com/docs/line-height
|
|
986
978
|
*/
|
|
987
979
|
leading: [{
|
|
988
|
-
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", k,
|
|
980
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", k, i]
|
|
989
981
|
}],
|
|
990
982
|
/**
|
|
991
983
|
* List Style Image
|
|
992
984
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
993
985
|
*/
|
|
994
986
|
"list-image": [{
|
|
995
|
-
"list-image": ["none",
|
|
987
|
+
"list-image": ["none", i]
|
|
996
988
|
}],
|
|
997
989
|
/**
|
|
998
990
|
* List Style Type
|
|
999
991
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1000
992
|
*/
|
|
1001
993
|
"list-style-type": [{
|
|
1002
|
-
list: ["none", "disc", "decimal",
|
|
994
|
+
list: ["none", "disc", "decimal", i]
|
|
1003
995
|
}],
|
|
1004
996
|
/**
|
|
1005
997
|
* List Style Position
|
|
@@ -1021,7 +1013,7 @@ const b = (e) => {
|
|
|
1021
1013
|
* @see https://tailwindcss.com/docs/placeholder-opacity
|
|
1022
1014
|
*/
|
|
1023
1015
|
"placeholder-opacity": [{
|
|
1024
|
-
"placeholder-opacity": [
|
|
1016
|
+
"placeholder-opacity": [m]
|
|
1025
1017
|
}],
|
|
1026
1018
|
/**
|
|
1027
1019
|
* Text Alignment
|
|
@@ -1042,7 +1034,7 @@ const b = (e) => {
|
|
|
1042
1034
|
* @see https://tailwindcss.com/docs/text-opacity
|
|
1043
1035
|
*/
|
|
1044
1036
|
"text-opacity": [{
|
|
1045
|
-
"text-opacity": [
|
|
1037
|
+
"text-opacity": [m]
|
|
1046
1038
|
}],
|
|
1047
1039
|
/**
|
|
1048
1040
|
* Text Decoration
|
|
@@ -1054,21 +1046,21 @@ const b = (e) => {
|
|
|
1054
1046
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1055
1047
|
*/
|
|
1056
1048
|
"text-decoration-style": [{
|
|
1057
|
-
decoration: [
|
|
1049
|
+
decoration: [...T(), "wavy"]
|
|
1058
1050
|
}],
|
|
1059
1051
|
/**
|
|
1060
1052
|
* Text Decoration Thickness
|
|
1061
1053
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1062
1054
|
*/
|
|
1063
1055
|
"text-decoration-thickness": [{
|
|
1064
|
-
decoration: ["auto", "from-font", k,
|
|
1056
|
+
decoration: ["auto", "from-font", k, z]
|
|
1065
1057
|
}],
|
|
1066
1058
|
/**
|
|
1067
1059
|
* Text Underline Offset
|
|
1068
1060
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1069
1061
|
*/
|
|
1070
1062
|
"underline-offset": [{
|
|
1071
|
-
"underline-offset": ["auto", k,
|
|
1063
|
+
"underline-offset": ["auto", k, i]
|
|
1072
1064
|
}],
|
|
1073
1065
|
/**
|
|
1074
1066
|
* Text Decoration Color
|
|
@@ -1099,14 +1091,14 @@ const b = (e) => {
|
|
|
1099
1091
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1100
1092
|
*/
|
|
1101
1093
|
indent: [{
|
|
1102
|
-
indent:
|
|
1094
|
+
indent: d()
|
|
1103
1095
|
}],
|
|
1104
1096
|
/**
|
|
1105
1097
|
* Vertical Alignment
|
|
1106
1098
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1107
1099
|
*/
|
|
1108
1100
|
"vertical-align": [{
|
|
1109
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1101
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", i]
|
|
1110
1102
|
}],
|
|
1111
1103
|
/**
|
|
1112
1104
|
* Whitespace
|
|
@@ -1134,7 +1126,7 @@ const b = (e) => {
|
|
|
1134
1126
|
* @see https://tailwindcss.com/docs/content
|
|
1135
1127
|
*/
|
|
1136
1128
|
content: [{
|
|
1137
|
-
content: ["none",
|
|
1129
|
+
content: ["none", i]
|
|
1138
1130
|
}],
|
|
1139
1131
|
// Backgrounds
|
|
1140
1132
|
/**
|
|
@@ -1157,7 +1149,7 @@ const b = (e) => {
|
|
|
1157
1149
|
* @see https://tailwindcss.com/docs/background-opacity
|
|
1158
1150
|
*/
|
|
1159
1151
|
"bg-opacity": [{
|
|
1160
|
-
"bg-opacity": [
|
|
1152
|
+
"bg-opacity": [m]
|
|
1161
1153
|
}],
|
|
1162
1154
|
/**
|
|
1163
1155
|
* Background Origin
|
|
@@ -1171,7 +1163,7 @@ const b = (e) => {
|
|
|
1171
1163
|
* @see https://tailwindcss.com/docs/background-position
|
|
1172
1164
|
*/
|
|
1173
1165
|
"bg-position": [{
|
|
1174
|
-
bg: [...
|
|
1166
|
+
bg: [...Z(), Te]
|
|
1175
1167
|
}],
|
|
1176
1168
|
/**
|
|
1177
1169
|
* Background Repeat
|
|
@@ -1187,7 +1179,7 @@ const b = (e) => {
|
|
|
1187
1179
|
* @see https://tailwindcss.com/docs/background-size
|
|
1188
1180
|
*/
|
|
1189
1181
|
"bg-size": [{
|
|
1190
|
-
bg: ["auto", "cover", "contain",
|
|
1182
|
+
bg: ["auto", "cover", "contain", Ne]
|
|
1191
1183
|
}],
|
|
1192
1184
|
/**
|
|
1193
1185
|
* Background Image
|
|
@@ -1196,7 +1188,7 @@ const b = (e) => {
|
|
|
1196
1188
|
"bg-image": [{
|
|
1197
1189
|
bg: ["none", {
|
|
1198
1190
|
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1199
|
-
},
|
|
1191
|
+
}, We]
|
|
1200
1192
|
}],
|
|
1201
1193
|
/**
|
|
1202
1194
|
* Background Color
|
|
@@ -1210,42 +1202,42 @@ const b = (e) => {
|
|
|
1210
1202
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1211
1203
|
*/
|
|
1212
1204
|
"gradient-from-pos": [{
|
|
1213
|
-
from: [
|
|
1205
|
+
from: [w]
|
|
1214
1206
|
}],
|
|
1215
1207
|
/**
|
|
1216
1208
|
* Gradient Color Stops Via Position
|
|
1217
1209
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1218
1210
|
*/
|
|
1219
1211
|
"gradient-via-pos": [{
|
|
1220
|
-
via: [
|
|
1212
|
+
via: [w]
|
|
1221
1213
|
}],
|
|
1222
1214
|
/**
|
|
1223
1215
|
* Gradient Color Stops To Position
|
|
1224
1216
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1225
1217
|
*/
|
|
1226
1218
|
"gradient-to-pos": [{
|
|
1227
|
-
to: [
|
|
1219
|
+
to: [w]
|
|
1228
1220
|
}],
|
|
1229
1221
|
/**
|
|
1230
1222
|
* Gradient Color Stops From
|
|
1231
1223
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1232
1224
|
*/
|
|
1233
1225
|
"gradient-from": [{
|
|
1234
|
-
from: [
|
|
1226
|
+
from: [v]
|
|
1235
1227
|
}],
|
|
1236
1228
|
/**
|
|
1237
1229
|
* Gradient Color Stops Via
|
|
1238
1230
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1239
1231
|
*/
|
|
1240
1232
|
"gradient-via": [{
|
|
1241
|
-
via: [
|
|
1233
|
+
via: [v]
|
|
1242
1234
|
}],
|
|
1243
1235
|
/**
|
|
1244
1236
|
* Gradient Color Stops To
|
|
1245
1237
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1246
1238
|
*/
|
|
1247
1239
|
"gradient-to": [{
|
|
1248
|
-
to: [
|
|
1240
|
+
to: [v]
|
|
1249
1241
|
}],
|
|
1250
1242
|
// Borders
|
|
1251
1243
|
/**
|
|
@@ -1253,189 +1245,189 @@ const b = (e) => {
|
|
|
1253
1245
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1254
1246
|
*/
|
|
1255
1247
|
rounded: [{
|
|
1256
|
-
rounded: [
|
|
1248
|
+
rounded: [o]
|
|
1257
1249
|
}],
|
|
1258
1250
|
/**
|
|
1259
1251
|
* Border Radius Start
|
|
1260
1252
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1261
1253
|
*/
|
|
1262
1254
|
"rounded-s": [{
|
|
1263
|
-
"rounded-s": [
|
|
1255
|
+
"rounded-s": [o]
|
|
1264
1256
|
}],
|
|
1265
1257
|
/**
|
|
1266
1258
|
* Border Radius End
|
|
1267
1259
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1268
1260
|
*/
|
|
1269
1261
|
"rounded-e": [{
|
|
1270
|
-
"rounded-e": [
|
|
1262
|
+
"rounded-e": [o]
|
|
1271
1263
|
}],
|
|
1272
1264
|
/**
|
|
1273
1265
|
* Border Radius Top
|
|
1274
1266
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1275
1267
|
*/
|
|
1276
1268
|
"rounded-t": [{
|
|
1277
|
-
"rounded-t": [
|
|
1269
|
+
"rounded-t": [o]
|
|
1278
1270
|
}],
|
|
1279
1271
|
/**
|
|
1280
1272
|
* Border Radius Right
|
|
1281
1273
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1282
1274
|
*/
|
|
1283
1275
|
"rounded-r": [{
|
|
1284
|
-
"rounded-r": [
|
|
1276
|
+
"rounded-r": [o]
|
|
1285
1277
|
}],
|
|
1286
1278
|
/**
|
|
1287
1279
|
* Border Radius Bottom
|
|
1288
1280
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1289
1281
|
*/
|
|
1290
1282
|
"rounded-b": [{
|
|
1291
|
-
"rounded-b": [
|
|
1283
|
+
"rounded-b": [o]
|
|
1292
1284
|
}],
|
|
1293
1285
|
/**
|
|
1294
1286
|
* Border Radius Left
|
|
1295
1287
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1296
1288
|
*/
|
|
1297
1289
|
"rounded-l": [{
|
|
1298
|
-
"rounded-l": [
|
|
1290
|
+
"rounded-l": [o]
|
|
1299
1291
|
}],
|
|
1300
1292
|
/**
|
|
1301
1293
|
* Border Radius Start Start
|
|
1302
1294
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1303
1295
|
*/
|
|
1304
1296
|
"rounded-ss": [{
|
|
1305
|
-
"rounded-ss": [
|
|
1297
|
+
"rounded-ss": [o]
|
|
1306
1298
|
}],
|
|
1307
1299
|
/**
|
|
1308
1300
|
* Border Radius Start End
|
|
1309
1301
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1310
1302
|
*/
|
|
1311
1303
|
"rounded-se": [{
|
|
1312
|
-
"rounded-se": [
|
|
1304
|
+
"rounded-se": [o]
|
|
1313
1305
|
}],
|
|
1314
1306
|
/**
|
|
1315
1307
|
* Border Radius End End
|
|
1316
1308
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1317
1309
|
*/
|
|
1318
1310
|
"rounded-ee": [{
|
|
1319
|
-
"rounded-ee": [
|
|
1311
|
+
"rounded-ee": [o]
|
|
1320
1312
|
}],
|
|
1321
1313
|
/**
|
|
1322
1314
|
* Border Radius End Start
|
|
1323
1315
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1324
1316
|
*/
|
|
1325
1317
|
"rounded-es": [{
|
|
1326
|
-
"rounded-es": [
|
|
1318
|
+
"rounded-es": [o]
|
|
1327
1319
|
}],
|
|
1328
1320
|
/**
|
|
1329
1321
|
* Border Radius Top Left
|
|
1330
1322
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1331
1323
|
*/
|
|
1332
1324
|
"rounded-tl": [{
|
|
1333
|
-
"rounded-tl": [
|
|
1325
|
+
"rounded-tl": [o]
|
|
1334
1326
|
}],
|
|
1335
1327
|
/**
|
|
1336
1328
|
* Border Radius Top Right
|
|
1337
1329
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1338
1330
|
*/
|
|
1339
1331
|
"rounded-tr": [{
|
|
1340
|
-
"rounded-tr": [
|
|
1332
|
+
"rounded-tr": [o]
|
|
1341
1333
|
}],
|
|
1342
1334
|
/**
|
|
1343
1335
|
* Border Radius Bottom Right
|
|
1344
1336
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1345
1337
|
*/
|
|
1346
1338
|
"rounded-br": [{
|
|
1347
|
-
"rounded-br": [
|
|
1339
|
+
"rounded-br": [o]
|
|
1348
1340
|
}],
|
|
1349
1341
|
/**
|
|
1350
1342
|
* Border Radius Bottom Left
|
|
1351
1343
|
* @see https://tailwindcss.com/docs/border-radius
|
|
1352
1344
|
*/
|
|
1353
1345
|
"rounded-bl": [{
|
|
1354
|
-
"rounded-bl": [
|
|
1346
|
+
"rounded-bl": [o]
|
|
1355
1347
|
}],
|
|
1356
1348
|
/**
|
|
1357
1349
|
* Border Width
|
|
1358
1350
|
* @see https://tailwindcss.com/docs/border-width
|
|
1359
1351
|
*/
|
|
1360
1352
|
"border-w": [{
|
|
1361
|
-
border: [
|
|
1353
|
+
border: [s]
|
|
1362
1354
|
}],
|
|
1363
1355
|
/**
|
|
1364
1356
|
* Border Width X
|
|
1365
1357
|
* @see https://tailwindcss.com/docs/border-width
|
|
1366
1358
|
*/
|
|
1367
1359
|
"border-w-x": [{
|
|
1368
|
-
"border-x": [
|
|
1360
|
+
"border-x": [s]
|
|
1369
1361
|
}],
|
|
1370
1362
|
/**
|
|
1371
1363
|
* Border Width Y
|
|
1372
1364
|
* @see https://tailwindcss.com/docs/border-width
|
|
1373
1365
|
*/
|
|
1374
1366
|
"border-w-y": [{
|
|
1375
|
-
"border-y": [
|
|
1367
|
+
"border-y": [s]
|
|
1376
1368
|
}],
|
|
1377
1369
|
/**
|
|
1378
1370
|
* Border Width Start
|
|
1379
1371
|
* @see https://tailwindcss.com/docs/border-width
|
|
1380
1372
|
*/
|
|
1381
1373
|
"border-w-s": [{
|
|
1382
|
-
"border-s": [
|
|
1374
|
+
"border-s": [s]
|
|
1383
1375
|
}],
|
|
1384
1376
|
/**
|
|
1385
1377
|
* Border Width End
|
|
1386
1378
|
* @see https://tailwindcss.com/docs/border-width
|
|
1387
1379
|
*/
|
|
1388
1380
|
"border-w-e": [{
|
|
1389
|
-
"border-e": [
|
|
1381
|
+
"border-e": [s]
|
|
1390
1382
|
}],
|
|
1391
1383
|
/**
|
|
1392
1384
|
* Border Width Top
|
|
1393
1385
|
* @see https://tailwindcss.com/docs/border-width
|
|
1394
1386
|
*/
|
|
1395
1387
|
"border-w-t": [{
|
|
1396
|
-
"border-t": [
|
|
1388
|
+
"border-t": [s]
|
|
1397
1389
|
}],
|
|
1398
1390
|
/**
|
|
1399
1391
|
* Border Width Right
|
|
1400
1392
|
* @see https://tailwindcss.com/docs/border-width
|
|
1401
1393
|
*/
|
|
1402
1394
|
"border-w-r": [{
|
|
1403
|
-
"border-r": [
|
|
1395
|
+
"border-r": [s]
|
|
1404
1396
|
}],
|
|
1405
1397
|
/**
|
|
1406
1398
|
* Border Width Bottom
|
|
1407
1399
|
* @see https://tailwindcss.com/docs/border-width
|
|
1408
1400
|
*/
|
|
1409
1401
|
"border-w-b": [{
|
|
1410
|
-
"border-b": [
|
|
1402
|
+
"border-b": [s]
|
|
1411
1403
|
}],
|
|
1412
1404
|
/**
|
|
1413
1405
|
* Border Width Left
|
|
1414
1406
|
* @see https://tailwindcss.com/docs/border-width
|
|
1415
1407
|
*/
|
|
1416
1408
|
"border-w-l": [{
|
|
1417
|
-
"border-l": [
|
|
1409
|
+
"border-l": [s]
|
|
1418
1410
|
}],
|
|
1419
1411
|
/**
|
|
1420
1412
|
* Border Opacity
|
|
1421
1413
|
* @see https://tailwindcss.com/docs/border-opacity
|
|
1422
1414
|
*/
|
|
1423
1415
|
"border-opacity": [{
|
|
1424
|
-
"border-opacity": [
|
|
1416
|
+
"border-opacity": [m]
|
|
1425
1417
|
}],
|
|
1426
1418
|
/**
|
|
1427
1419
|
* Border Style
|
|
1428
1420
|
* @see https://tailwindcss.com/docs/border-style
|
|
1429
1421
|
*/
|
|
1430
1422
|
"border-style": [{
|
|
1431
|
-
border: [
|
|
1423
|
+
border: [...T(), "hidden"]
|
|
1432
1424
|
}],
|
|
1433
1425
|
/**
|
|
1434
1426
|
* Divide Width X
|
|
1435
1427
|
* @see https://tailwindcss.com/docs/divide-width
|
|
1436
1428
|
*/
|
|
1437
1429
|
"divide-x": [{
|
|
1438
|
-
"divide-x": [
|
|
1430
|
+
"divide-x": [s]
|
|
1439
1431
|
}],
|
|
1440
1432
|
/**
|
|
1441
1433
|
* Divide Width X Reverse
|
|
@@ -1447,7 +1439,7 @@ const b = (e) => {
|
|
|
1447
1439
|
* @see https://tailwindcss.com/docs/divide-width
|
|
1448
1440
|
*/
|
|
1449
1441
|
"divide-y": [{
|
|
1450
|
-
"divide-y": [
|
|
1442
|
+
"divide-y": [s]
|
|
1451
1443
|
}],
|
|
1452
1444
|
/**
|
|
1453
1445
|
* Divide Width Y Reverse
|
|
@@ -1459,105 +1451,105 @@ const b = (e) => {
|
|
|
1459
1451
|
* @see https://tailwindcss.com/docs/divide-opacity
|
|
1460
1452
|
*/
|
|
1461
1453
|
"divide-opacity": [{
|
|
1462
|
-
"divide-opacity": [
|
|
1454
|
+
"divide-opacity": [m]
|
|
1463
1455
|
}],
|
|
1464
1456
|
/**
|
|
1465
1457
|
* Divide Style
|
|
1466
1458
|
* @see https://tailwindcss.com/docs/divide-style
|
|
1467
1459
|
*/
|
|
1468
1460
|
"divide-style": [{
|
|
1469
|
-
divide:
|
|
1461
|
+
divide: T()
|
|
1470
1462
|
}],
|
|
1471
1463
|
/**
|
|
1472
1464
|
* Border Color
|
|
1473
1465
|
* @see https://tailwindcss.com/docs/border-color
|
|
1474
1466
|
*/
|
|
1475
1467
|
"border-color": [{
|
|
1476
|
-
border: [
|
|
1468
|
+
border: [a]
|
|
1477
1469
|
}],
|
|
1478
1470
|
/**
|
|
1479
1471
|
* Border Color X
|
|
1480
1472
|
* @see https://tailwindcss.com/docs/border-color
|
|
1481
1473
|
*/
|
|
1482
1474
|
"border-color-x": [{
|
|
1483
|
-
"border-x": [
|
|
1475
|
+
"border-x": [a]
|
|
1484
1476
|
}],
|
|
1485
1477
|
/**
|
|
1486
1478
|
* Border Color Y
|
|
1487
1479
|
* @see https://tailwindcss.com/docs/border-color
|
|
1488
1480
|
*/
|
|
1489
1481
|
"border-color-y": [{
|
|
1490
|
-
"border-y": [
|
|
1482
|
+
"border-y": [a]
|
|
1491
1483
|
}],
|
|
1492
1484
|
/**
|
|
1493
1485
|
* Border Color S
|
|
1494
1486
|
* @see https://tailwindcss.com/docs/border-color
|
|
1495
1487
|
*/
|
|
1496
1488
|
"border-color-s": [{
|
|
1497
|
-
"border-s": [
|
|
1489
|
+
"border-s": [a]
|
|
1498
1490
|
}],
|
|
1499
1491
|
/**
|
|
1500
1492
|
* Border Color E
|
|
1501
1493
|
* @see https://tailwindcss.com/docs/border-color
|
|
1502
1494
|
*/
|
|
1503
1495
|
"border-color-e": [{
|
|
1504
|
-
"border-e": [
|
|
1496
|
+
"border-e": [a]
|
|
1505
1497
|
}],
|
|
1506
1498
|
/**
|
|
1507
1499
|
* Border Color Top
|
|
1508
1500
|
* @see https://tailwindcss.com/docs/border-color
|
|
1509
1501
|
*/
|
|
1510
1502
|
"border-color-t": [{
|
|
1511
|
-
"border-t": [
|
|
1503
|
+
"border-t": [a]
|
|
1512
1504
|
}],
|
|
1513
1505
|
/**
|
|
1514
1506
|
* Border Color Right
|
|
1515
1507
|
* @see https://tailwindcss.com/docs/border-color
|
|
1516
1508
|
*/
|
|
1517
1509
|
"border-color-r": [{
|
|
1518
|
-
"border-r": [
|
|
1510
|
+
"border-r": [a]
|
|
1519
1511
|
}],
|
|
1520
1512
|
/**
|
|
1521
1513
|
* Border Color Bottom
|
|
1522
1514
|
* @see https://tailwindcss.com/docs/border-color
|
|
1523
1515
|
*/
|
|
1524
1516
|
"border-color-b": [{
|
|
1525
|
-
"border-b": [
|
|
1517
|
+
"border-b": [a]
|
|
1526
1518
|
}],
|
|
1527
1519
|
/**
|
|
1528
1520
|
* Border Color Left
|
|
1529
1521
|
* @see https://tailwindcss.com/docs/border-color
|
|
1530
1522
|
*/
|
|
1531
1523
|
"border-color-l": [{
|
|
1532
|
-
"border-l": [
|
|
1524
|
+
"border-l": [a]
|
|
1533
1525
|
}],
|
|
1534
1526
|
/**
|
|
1535
1527
|
* Divide Color
|
|
1536
1528
|
* @see https://tailwindcss.com/docs/divide-color
|
|
1537
1529
|
*/
|
|
1538
1530
|
"divide-color": [{
|
|
1539
|
-
divide: [
|
|
1531
|
+
divide: [a]
|
|
1540
1532
|
}],
|
|
1541
1533
|
/**
|
|
1542
1534
|
* Outline Style
|
|
1543
1535
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1544
1536
|
*/
|
|
1545
1537
|
"outline-style": [{
|
|
1546
|
-
outline: ["",
|
|
1538
|
+
outline: ["", ...T()]
|
|
1547
1539
|
}],
|
|
1548
1540
|
/**
|
|
1549
1541
|
* Outline Offset
|
|
1550
1542
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1551
1543
|
*/
|
|
1552
1544
|
"outline-offset": [{
|
|
1553
|
-
"outline-offset": [k,
|
|
1545
|
+
"outline-offset": [k, i]
|
|
1554
1546
|
}],
|
|
1555
1547
|
/**
|
|
1556
1548
|
* Outline Width
|
|
1557
1549
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1558
1550
|
*/
|
|
1559
1551
|
"outline-w": [{
|
|
1560
|
-
outline: [k,
|
|
1552
|
+
outline: [k, z]
|
|
1561
1553
|
}],
|
|
1562
1554
|
/**
|
|
1563
1555
|
* Outline Color
|
|
@@ -1571,7 +1563,7 @@ const b = (e) => {
|
|
|
1571
1563
|
* @see https://tailwindcss.com/docs/ring-width
|
|
1572
1564
|
*/
|
|
1573
1565
|
"ring-w": [{
|
|
1574
|
-
ring:
|
|
1566
|
+
ring: X()
|
|
1575
1567
|
}],
|
|
1576
1568
|
/**
|
|
1577
1569
|
* Ring Width Inset
|
|
@@ -1590,14 +1582,14 @@ const b = (e) => {
|
|
|
1590
1582
|
* @see https://tailwindcss.com/docs/ring-opacity
|
|
1591
1583
|
*/
|
|
1592
1584
|
"ring-opacity": [{
|
|
1593
|
-
"ring-opacity": [
|
|
1585
|
+
"ring-opacity": [m]
|
|
1594
1586
|
}],
|
|
1595
1587
|
/**
|
|
1596
1588
|
* Ring Offset Width
|
|
1597
1589
|
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
1598
1590
|
*/
|
|
1599
1591
|
"ring-offset-w": [{
|
|
1600
|
-
"ring-offset": [k,
|
|
1592
|
+
"ring-offset": [k, z]
|
|
1601
1593
|
}],
|
|
1602
1594
|
/**
|
|
1603
1595
|
* Ring Offset Color
|
|
@@ -1612,7 +1604,7 @@ const b = (e) => {
|
|
|
1612
1604
|
* @see https://tailwindcss.com/docs/box-shadow
|
|
1613
1605
|
*/
|
|
1614
1606
|
shadow: [{
|
|
1615
|
-
shadow: ["", "inner", "none",
|
|
1607
|
+
shadow: ["", "inner", "none", S, Ve]
|
|
1616
1608
|
}],
|
|
1617
1609
|
/**
|
|
1618
1610
|
* Box Shadow Color
|
|
@@ -1626,21 +1618,21 @@ const b = (e) => {
|
|
|
1626
1618
|
* @see https://tailwindcss.com/docs/opacity
|
|
1627
1619
|
*/
|
|
1628
1620
|
opacity: [{
|
|
1629
|
-
opacity: [
|
|
1621
|
+
opacity: [m]
|
|
1630
1622
|
}],
|
|
1631
1623
|
/**
|
|
1632
1624
|
* Mix Blend Mode
|
|
1633
1625
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1634
1626
|
*/
|
|
1635
1627
|
"mix-blend": [{
|
|
1636
|
-
"mix-blend": [...
|
|
1628
|
+
"mix-blend": [...H(), "plus-lighter", "plus-darker"]
|
|
1637
1629
|
}],
|
|
1638
1630
|
/**
|
|
1639
1631
|
* Background Blend Mode
|
|
1640
1632
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1641
1633
|
*/
|
|
1642
1634
|
"bg-blend": [{
|
|
1643
|
-
"bg-blend":
|
|
1635
|
+
"bg-blend": H()
|
|
1644
1636
|
}],
|
|
1645
1637
|
// Filters
|
|
1646
1638
|
/**
|
|
@@ -1663,7 +1655,7 @@ const b = (e) => {
|
|
|
1663
1655
|
* @see https://tailwindcss.com/docs/brightness
|
|
1664
1656
|
*/
|
|
1665
1657
|
brightness: [{
|
|
1666
|
-
brightness: [
|
|
1658
|
+
brightness: [n]
|
|
1667
1659
|
}],
|
|
1668
1660
|
/**
|
|
1669
1661
|
* Contrast
|
|
@@ -1677,42 +1669,42 @@ const b = (e) => {
|
|
|
1677
1669
|
* @see https://tailwindcss.com/docs/drop-shadow
|
|
1678
1670
|
*/
|
|
1679
1671
|
"drop-shadow": [{
|
|
1680
|
-
"drop-shadow": ["", "none",
|
|
1672
|
+
"drop-shadow": ["", "none", S, i]
|
|
1681
1673
|
}],
|
|
1682
1674
|
/**
|
|
1683
1675
|
* Grayscale
|
|
1684
1676
|
* @see https://tailwindcss.com/docs/grayscale
|
|
1685
1677
|
*/
|
|
1686
1678
|
grayscale: [{
|
|
1687
|
-
grayscale: [
|
|
1679
|
+
grayscale: [g]
|
|
1688
1680
|
}],
|
|
1689
1681
|
/**
|
|
1690
1682
|
* Hue Rotate
|
|
1691
1683
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
1692
1684
|
*/
|
|
1693
1685
|
"hue-rotate": [{
|
|
1694
|
-
"hue-rotate": [
|
|
1686
|
+
"hue-rotate": [b]
|
|
1695
1687
|
}],
|
|
1696
1688
|
/**
|
|
1697
1689
|
* Invert
|
|
1698
1690
|
* @see https://tailwindcss.com/docs/invert
|
|
1699
1691
|
*/
|
|
1700
1692
|
invert: [{
|
|
1701
|
-
invert: [
|
|
1693
|
+
invert: [h]
|
|
1702
1694
|
}],
|
|
1703
1695
|
/**
|
|
1704
1696
|
* Saturate
|
|
1705
1697
|
* @see https://tailwindcss.com/docs/saturate
|
|
1706
1698
|
*/
|
|
1707
1699
|
saturate: [{
|
|
1708
|
-
saturate: [
|
|
1700
|
+
saturate: [G]
|
|
1709
1701
|
}],
|
|
1710
1702
|
/**
|
|
1711
1703
|
* Sepia
|
|
1712
1704
|
* @see https://tailwindcss.com/docs/sepia
|
|
1713
1705
|
*/
|
|
1714
1706
|
sepia: [{
|
|
1715
|
-
sepia: [
|
|
1707
|
+
sepia: [j]
|
|
1716
1708
|
}],
|
|
1717
1709
|
/**
|
|
1718
1710
|
* Backdrop Filter
|
|
@@ -1734,7 +1726,7 @@ const b = (e) => {
|
|
|
1734
1726
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
1735
1727
|
*/
|
|
1736
1728
|
"backdrop-brightness": [{
|
|
1737
|
-
"backdrop-brightness": [
|
|
1729
|
+
"backdrop-brightness": [n]
|
|
1738
1730
|
}],
|
|
1739
1731
|
/**
|
|
1740
1732
|
* Backdrop Contrast
|
|
@@ -1748,42 +1740,42 @@ const b = (e) => {
|
|
|
1748
1740
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
1749
1741
|
*/
|
|
1750
1742
|
"backdrop-grayscale": [{
|
|
1751
|
-
"backdrop-grayscale": [
|
|
1743
|
+
"backdrop-grayscale": [g]
|
|
1752
1744
|
}],
|
|
1753
1745
|
/**
|
|
1754
1746
|
* Backdrop Hue Rotate
|
|
1755
1747
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
1756
1748
|
*/
|
|
1757
1749
|
"backdrop-hue-rotate": [{
|
|
1758
|
-
"backdrop-hue-rotate": [
|
|
1750
|
+
"backdrop-hue-rotate": [b]
|
|
1759
1751
|
}],
|
|
1760
1752
|
/**
|
|
1761
1753
|
* Backdrop Invert
|
|
1762
1754
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
1763
1755
|
*/
|
|
1764
1756
|
"backdrop-invert": [{
|
|
1765
|
-
"backdrop-invert": [
|
|
1757
|
+
"backdrop-invert": [h]
|
|
1766
1758
|
}],
|
|
1767
1759
|
/**
|
|
1768
1760
|
* Backdrop Opacity
|
|
1769
1761
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
1770
1762
|
*/
|
|
1771
1763
|
"backdrop-opacity": [{
|
|
1772
|
-
"backdrop-opacity": [
|
|
1764
|
+
"backdrop-opacity": [m]
|
|
1773
1765
|
}],
|
|
1774
1766
|
/**
|
|
1775
1767
|
* Backdrop Saturate
|
|
1776
1768
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
1777
1769
|
*/
|
|
1778
1770
|
"backdrop-saturate": [{
|
|
1779
|
-
"backdrop-saturate": [
|
|
1771
|
+
"backdrop-saturate": [G]
|
|
1780
1772
|
}],
|
|
1781
1773
|
/**
|
|
1782
1774
|
* Backdrop Sepia
|
|
1783
1775
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
1784
1776
|
*/
|
|
1785
1777
|
"backdrop-sepia": [{
|
|
1786
|
-
"backdrop-sepia": [
|
|
1778
|
+
"backdrop-sepia": [j]
|
|
1787
1779
|
}],
|
|
1788
1780
|
// Tables
|
|
1789
1781
|
/**
|
|
@@ -1834,35 +1826,35 @@ const b = (e) => {
|
|
|
1834
1826
|
* @see https://tailwindcss.com/docs/transition-property
|
|
1835
1827
|
*/
|
|
1836
1828
|
transition: [{
|
|
1837
|
-
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform",
|
|
1829
|
+
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", i]
|
|
1838
1830
|
}],
|
|
1839
1831
|
/**
|
|
1840
1832
|
* Transition Duration
|
|
1841
1833
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
1842
1834
|
*/
|
|
1843
1835
|
duration: [{
|
|
1844
|
-
duration:
|
|
1836
|
+
duration: C()
|
|
1845
1837
|
}],
|
|
1846
1838
|
/**
|
|
1847
1839
|
* Transition Timing Function
|
|
1848
1840
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
1849
1841
|
*/
|
|
1850
1842
|
ease: [{
|
|
1851
|
-
ease: ["linear", "in", "out", "in-out",
|
|
1843
|
+
ease: ["linear", "in", "out", "in-out", i]
|
|
1852
1844
|
}],
|
|
1853
1845
|
/**
|
|
1854
1846
|
* Transition Delay
|
|
1855
1847
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
1856
1848
|
*/
|
|
1857
1849
|
delay: [{
|
|
1858
|
-
delay:
|
|
1850
|
+
delay: C()
|
|
1859
1851
|
}],
|
|
1860
1852
|
/**
|
|
1861
1853
|
* Animation
|
|
1862
1854
|
* @see https://tailwindcss.com/docs/animation
|
|
1863
1855
|
*/
|
|
1864
1856
|
animate: [{
|
|
1865
|
-
animate: ["none", "spin", "ping", "pulse", "bounce",
|
|
1857
|
+
animate: ["none", "spin", "ping", "pulse", "bounce", i]
|
|
1866
1858
|
}],
|
|
1867
1859
|
// Transforms
|
|
1868
1860
|
/**
|
|
@@ -1877,63 +1869,63 @@ const b = (e) => {
|
|
|
1877
1869
|
* @see https://tailwindcss.com/docs/scale
|
|
1878
1870
|
*/
|
|
1879
1871
|
scale: [{
|
|
1880
|
-
scale: [
|
|
1872
|
+
scale: [A]
|
|
1881
1873
|
}],
|
|
1882
1874
|
/**
|
|
1883
1875
|
* Scale X
|
|
1884
1876
|
* @see https://tailwindcss.com/docs/scale
|
|
1885
1877
|
*/
|
|
1886
1878
|
"scale-x": [{
|
|
1887
|
-
"scale-x": [
|
|
1879
|
+
"scale-x": [A]
|
|
1888
1880
|
}],
|
|
1889
1881
|
/**
|
|
1890
1882
|
* Scale Y
|
|
1891
1883
|
* @see https://tailwindcss.com/docs/scale
|
|
1892
1884
|
*/
|
|
1893
1885
|
"scale-y": [{
|
|
1894
|
-
"scale-y": [
|
|
1886
|
+
"scale-y": [A]
|
|
1895
1887
|
}],
|
|
1896
1888
|
/**
|
|
1897
1889
|
* Rotate
|
|
1898
1890
|
* @see https://tailwindcss.com/docs/rotate
|
|
1899
1891
|
*/
|
|
1900
1892
|
rotate: [{
|
|
1901
|
-
rotate: [P,
|
|
1893
|
+
rotate: [P, i]
|
|
1902
1894
|
}],
|
|
1903
1895
|
/**
|
|
1904
1896
|
* Translate X
|
|
1905
1897
|
* @see https://tailwindcss.com/docs/translate
|
|
1906
1898
|
*/
|
|
1907
1899
|
"translate-x": [{
|
|
1908
|
-
"translate-x": [
|
|
1900
|
+
"translate-x": [J]
|
|
1909
1901
|
}],
|
|
1910
1902
|
/**
|
|
1911
1903
|
* Translate Y
|
|
1912
1904
|
* @see https://tailwindcss.com/docs/translate
|
|
1913
1905
|
*/
|
|
1914
1906
|
"translate-y": [{
|
|
1915
|
-
"translate-y": [
|
|
1907
|
+
"translate-y": [J]
|
|
1916
1908
|
}],
|
|
1917
1909
|
/**
|
|
1918
1910
|
* Skew X
|
|
1919
1911
|
* @see https://tailwindcss.com/docs/skew
|
|
1920
1912
|
*/
|
|
1921
1913
|
"skew-x": [{
|
|
1922
|
-
"skew-x": [
|
|
1914
|
+
"skew-x": [U]
|
|
1923
1915
|
}],
|
|
1924
1916
|
/**
|
|
1925
1917
|
* Skew Y
|
|
1926
1918
|
* @see https://tailwindcss.com/docs/skew
|
|
1927
1919
|
*/
|
|
1928
1920
|
"skew-y": [{
|
|
1929
|
-
"skew-y": [
|
|
1921
|
+
"skew-y": [U]
|
|
1930
1922
|
}],
|
|
1931
1923
|
/**
|
|
1932
1924
|
* Transform Origin
|
|
1933
1925
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
1934
1926
|
*/
|
|
1935
1927
|
"transform-origin": [{
|
|
1936
|
-
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left",
|
|
1928
|
+
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", i]
|
|
1937
1929
|
}],
|
|
1938
1930
|
// Interactivity
|
|
1939
1931
|
/**
|
|
@@ -1955,7 +1947,7 @@ const b = (e) => {
|
|
|
1955
1947
|
* @see https://tailwindcss.com/docs/cursor
|
|
1956
1948
|
*/
|
|
1957
1949
|
cursor: [{
|
|
1958
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
1950
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", i]
|
|
1959
1951
|
}],
|
|
1960
1952
|
/**
|
|
1961
1953
|
* Caret Color
|
|
@@ -1990,126 +1982,126 @@ const b = (e) => {
|
|
|
1990
1982
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
1991
1983
|
*/
|
|
1992
1984
|
"scroll-m": [{
|
|
1993
|
-
"scroll-m":
|
|
1985
|
+
"scroll-m": d()
|
|
1994
1986
|
}],
|
|
1995
1987
|
/**
|
|
1996
1988
|
* Scroll Margin X
|
|
1997
1989
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
1998
1990
|
*/
|
|
1999
1991
|
"scroll-mx": [{
|
|
2000
|
-
"scroll-mx":
|
|
1992
|
+
"scroll-mx": d()
|
|
2001
1993
|
}],
|
|
2002
1994
|
/**
|
|
2003
1995
|
* Scroll Margin Y
|
|
2004
1996
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2005
1997
|
*/
|
|
2006
1998
|
"scroll-my": [{
|
|
2007
|
-
"scroll-my":
|
|
1999
|
+
"scroll-my": d()
|
|
2008
2000
|
}],
|
|
2009
2001
|
/**
|
|
2010
2002
|
* Scroll Margin Start
|
|
2011
2003
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2012
2004
|
*/
|
|
2013
2005
|
"scroll-ms": [{
|
|
2014
|
-
"scroll-ms":
|
|
2006
|
+
"scroll-ms": d()
|
|
2015
2007
|
}],
|
|
2016
2008
|
/**
|
|
2017
2009
|
* Scroll Margin End
|
|
2018
2010
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2019
2011
|
*/
|
|
2020
2012
|
"scroll-me": [{
|
|
2021
|
-
"scroll-me":
|
|
2013
|
+
"scroll-me": d()
|
|
2022
2014
|
}],
|
|
2023
2015
|
/**
|
|
2024
2016
|
* Scroll Margin Top
|
|
2025
2017
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2026
2018
|
*/
|
|
2027
2019
|
"scroll-mt": [{
|
|
2028
|
-
"scroll-mt":
|
|
2020
|
+
"scroll-mt": d()
|
|
2029
2021
|
}],
|
|
2030
2022
|
/**
|
|
2031
2023
|
* Scroll Margin Right
|
|
2032
2024
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2033
2025
|
*/
|
|
2034
2026
|
"scroll-mr": [{
|
|
2035
|
-
"scroll-mr":
|
|
2027
|
+
"scroll-mr": d()
|
|
2036
2028
|
}],
|
|
2037
2029
|
/**
|
|
2038
2030
|
* Scroll Margin Bottom
|
|
2039
2031
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2040
2032
|
*/
|
|
2041
2033
|
"scroll-mb": [{
|
|
2042
|
-
"scroll-mb":
|
|
2034
|
+
"scroll-mb": d()
|
|
2043
2035
|
}],
|
|
2044
2036
|
/**
|
|
2045
2037
|
* Scroll Margin Left
|
|
2046
2038
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2047
2039
|
*/
|
|
2048
2040
|
"scroll-ml": [{
|
|
2049
|
-
"scroll-ml":
|
|
2041
|
+
"scroll-ml": d()
|
|
2050
2042
|
}],
|
|
2051
2043
|
/**
|
|
2052
2044
|
* Scroll Padding
|
|
2053
2045
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2054
2046
|
*/
|
|
2055
2047
|
"scroll-p": [{
|
|
2056
|
-
"scroll-p":
|
|
2048
|
+
"scroll-p": d()
|
|
2057
2049
|
}],
|
|
2058
2050
|
/**
|
|
2059
2051
|
* Scroll Padding X
|
|
2060
2052
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2061
2053
|
*/
|
|
2062
2054
|
"scroll-px": [{
|
|
2063
|
-
"scroll-px":
|
|
2055
|
+
"scroll-px": d()
|
|
2064
2056
|
}],
|
|
2065
2057
|
/**
|
|
2066
2058
|
* Scroll Padding Y
|
|
2067
2059
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2068
2060
|
*/
|
|
2069
2061
|
"scroll-py": [{
|
|
2070
|
-
"scroll-py":
|
|
2062
|
+
"scroll-py": d()
|
|
2071
2063
|
}],
|
|
2072
2064
|
/**
|
|
2073
2065
|
* Scroll Padding Start
|
|
2074
2066
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2075
2067
|
*/
|
|
2076
2068
|
"scroll-ps": [{
|
|
2077
|
-
"scroll-ps":
|
|
2069
|
+
"scroll-ps": d()
|
|
2078
2070
|
}],
|
|
2079
2071
|
/**
|
|
2080
2072
|
* Scroll Padding End
|
|
2081
2073
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2082
2074
|
*/
|
|
2083
2075
|
"scroll-pe": [{
|
|
2084
|
-
"scroll-pe":
|
|
2076
|
+
"scroll-pe": d()
|
|
2085
2077
|
}],
|
|
2086
2078
|
/**
|
|
2087
2079
|
* Scroll Padding Top
|
|
2088
2080
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2089
2081
|
*/
|
|
2090
2082
|
"scroll-pt": [{
|
|
2091
|
-
"scroll-pt":
|
|
2083
|
+
"scroll-pt": d()
|
|
2092
2084
|
}],
|
|
2093
2085
|
/**
|
|
2094
2086
|
* Scroll Padding Right
|
|
2095
2087
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2096
2088
|
*/
|
|
2097
2089
|
"scroll-pr": [{
|
|
2098
|
-
"scroll-pr":
|
|
2090
|
+
"scroll-pr": d()
|
|
2099
2091
|
}],
|
|
2100
2092
|
/**
|
|
2101
2093
|
* Scroll Padding Bottom
|
|
2102
2094
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2103
2095
|
*/
|
|
2104
2096
|
"scroll-pb": [{
|
|
2105
|
-
"scroll-pb":
|
|
2097
|
+
"scroll-pb": d()
|
|
2106
2098
|
}],
|
|
2107
2099
|
/**
|
|
2108
2100
|
* Scroll Padding Left
|
|
2109
2101
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2110
2102
|
*/
|
|
2111
2103
|
"scroll-pl": [{
|
|
2112
|
-
"scroll-pl":
|
|
2104
|
+
"scroll-pl": d()
|
|
2113
2105
|
}],
|
|
2114
2106
|
/**
|
|
2115
2107
|
* Scroll Snap Align
|
|
@@ -2177,7 +2169,7 @@ const b = (e) => {
|
|
|
2177
2169
|
* @see https://tailwindcss.com/docs/will-change
|
|
2178
2170
|
*/
|
|
2179
2171
|
"will-change": [{
|
|
2180
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2172
|
+
"will-change": ["auto", "scroll", "contents", "transform", i]
|
|
2181
2173
|
}],
|
|
2182
2174
|
// SVG
|
|
2183
2175
|
/**
|
|
@@ -2192,7 +2184,7 @@ const b = (e) => {
|
|
|
2192
2184
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2193
2185
|
*/
|
|
2194
2186
|
"stroke-w": [{
|
|
2195
|
-
stroke: [k,
|
|
2187
|
+
stroke: [k, z, $]
|
|
2196
2188
|
}],
|
|
2197
2189
|
/**
|
|
2198
2190
|
* Stroke
|
|
@@ -2267,857 +2259,59 @@ const b = (e) => {
|
|
|
2267
2259
|
"font-size": ["leading"]
|
|
2268
2260
|
}
|
|
2269
2261
|
};
|
|
2270
|
-
},
|
|
2271
|
-
function
|
|
2272
|
-
return
|
|
2273
|
-
}
|
|
2274
|
-
let q;
|
|
2275
|
-
function J() {
|
|
2276
|
-
return q === void 0 && (q = navigator.platform.includes("Mac")), q;
|
|
2277
|
-
}
|
|
2278
|
-
function Jr(e) {
|
|
2279
|
-
return `${e}`.toLowerCase() === "mod" ? J() ? "⌘" : "Ctrl" : `${e}`.toLowerCase() === "alt" ? J() ? "⌥" : "Alt" : `${e}`.toLowerCase() === "shift" ? J() ? "⇧" : "Shift" : e;
|
|
2280
|
-
}
|
|
2281
|
-
function Kr(e) {
|
|
2282
|
-
return e.map(Jr).join(" ");
|
|
2283
|
-
}
|
|
2284
|
-
const Do = Be.forwardRef(
|
|
2285
|
-
(e, r) => {
|
|
2286
|
-
const {
|
|
2287
|
-
icon: t = void 0,
|
|
2288
|
-
// title = undefined,
|
|
2289
|
-
tooltip: o = void 0,
|
|
2290
|
-
disabled: s = !1,
|
|
2291
|
-
customClass: n = "",
|
|
2292
|
-
// color = undefined,
|
|
2293
|
-
loading: l = void 0,
|
|
2294
|
-
shortcutKeys: i = void 0,
|
|
2295
|
-
tooltipOptions: u = {},
|
|
2296
|
-
action: c = void 0,
|
|
2297
|
-
isActive: g = void 0,
|
|
2298
|
-
children: m,
|
|
2299
|
-
asChild: d = !1,
|
|
2300
|
-
upload: f = !1,
|
|
2301
|
-
initialDisplayedColor: y = void 0,
|
|
2302
|
-
dataState: v = !1,
|
|
2303
|
-
...p
|
|
2304
|
-
} = e, x = Co[t], C = d ? Fe : He, H = (z) => {
|
|
2305
|
-
if (s) {
|
|
2306
|
-
z.preventDefault();
|
|
2307
|
-
return;
|
|
2308
|
-
}
|
|
2309
|
-
c == null || c(z);
|
|
2310
|
-
};
|
|
2311
|
-
return /* @__PURE__ */ A(ko, { children: [
|
|
2312
|
-
/* @__PURE__ */ a(So, { asChild: !0, children: /* @__PURE__ */ A(
|
|
2313
|
-
C,
|
|
2314
|
-
{
|
|
2315
|
-
className: oe("richtext-w-[32px] richtext-h-[32px]", n),
|
|
2316
|
-
"data-state": v ? "on" : "off",
|
|
2317
|
-
disabled: s,
|
|
2318
|
-
onClick: H,
|
|
2319
|
-
ref: r,
|
|
2320
|
-
size: "sm",
|
|
2321
|
-
...p,
|
|
2322
|
-
children: [
|
|
2323
|
-
x && /* @__PURE__ */ a(x, { className: "richtext-size-4" }),
|
|
2324
|
-
m
|
|
2325
|
-
]
|
|
2326
|
-
}
|
|
2327
|
-
) }),
|
|
2328
|
-
o && /* @__PURE__ */ a(
|
|
2329
|
-
Re,
|
|
2330
|
-
{
|
|
2331
|
-
...u,
|
|
2332
|
-
className: "richtext-tooltip",
|
|
2333
|
-
children: /* @__PURE__ */ A("div", { className: "richtext-flex richtext-max-w-24 richtext-flex-col richtext-items-center richtext-text-center", children: [
|
|
2334
|
-
/* @__PURE__ */ a("div", { children: o }),
|
|
2335
|
-
!!(i != null && i.length) && /* @__PURE__ */ a("span", { children: Kr(i) })
|
|
2336
|
-
] })
|
|
2337
|
-
}
|
|
2338
|
-
)
|
|
2339
|
-
] });
|
|
2340
|
-
}
|
|
2341
|
-
), K = typeof window > "u";
|
|
2342
|
-
function ve(e, r, t = window) {
|
|
2343
|
-
const o = Y(void 0);
|
|
2344
|
-
V(() => {
|
|
2345
|
-
o.current = r;
|
|
2346
|
-
}, [r]), V(() => {
|
|
2347
|
-
if (!(t && t.addEventListener)) return;
|
|
2348
|
-
const n = (l) => {
|
|
2349
|
-
o.current && o.current(l);
|
|
2350
|
-
};
|
|
2351
|
-
return t.addEventListener(e, n), () => {
|
|
2352
|
-
t.removeEventListener(e, n);
|
|
2353
|
-
};
|
|
2354
|
-
}, [e, t]);
|
|
2355
|
-
}
|
|
2356
|
-
function Q(e, r, t = {}) {
|
|
2357
|
-
const { initializeWithValue: o = !0 } = t, s = S(
|
|
2358
|
-
(d) => t.serializer ? t.serializer(d) : JSON.stringify(d),
|
|
2359
|
-
[t]
|
|
2360
|
-
), n = S(
|
|
2361
|
-
(d) => {
|
|
2362
|
-
if (t.deserializer)
|
|
2363
|
-
return t.deserializer(d);
|
|
2364
|
-
if (d === "undefined")
|
|
2365
|
-
return;
|
|
2366
|
-
const f = r instanceof Function ? r() : r;
|
|
2367
|
-
let y;
|
|
2368
|
-
try {
|
|
2369
|
-
y = JSON.parse(d);
|
|
2370
|
-
} catch (v) {
|
|
2371
|
-
return console.error("Error parsing JSON:", v), f;
|
|
2372
|
-
}
|
|
2373
|
-
return y;
|
|
2374
|
-
},
|
|
2375
|
-
[t, r]
|
|
2376
|
-
), l = S(() => {
|
|
2377
|
-
const d = r instanceof Function ? r() : r;
|
|
2378
|
-
if (K)
|
|
2379
|
-
return d;
|
|
2380
|
-
try {
|
|
2381
|
-
const f = window.localStorage.getItem(e);
|
|
2382
|
-
return f ? n(f) : d;
|
|
2383
|
-
} catch (f) {
|
|
2384
|
-
return console.warn(
|
|
2385
|
-
`Error reading localStorage key “${e}”:`,
|
|
2386
|
-
f
|
|
2387
|
-
), d;
|
|
2388
|
-
}
|
|
2389
|
-
}, [r, e, n]), [i, u] = Ge(() => o ? l() : r instanceof Function ? r() : r), c = S((d) => {
|
|
2390
|
-
K && console.warn(
|
|
2391
|
-
`Tried setting localStorage key “${e}” even though environment is not a client`
|
|
2392
|
-
);
|
|
2393
|
-
try {
|
|
2394
|
-
const f = d instanceof Function ? d(l()) : d;
|
|
2395
|
-
window.localStorage.setItem(e, s(f)), u(f), window.dispatchEvent(
|
|
2396
|
-
new StorageEvent("local-storage", {
|
|
2397
|
-
key: e
|
|
2398
|
-
})
|
|
2399
|
-
);
|
|
2400
|
-
} catch (f) {
|
|
2401
|
-
console.warn(
|
|
2402
|
-
`Error setting localStorage key “${e}”:`,
|
|
2403
|
-
f
|
|
2404
|
-
);
|
|
2405
|
-
}
|
|
2406
|
-
}, [e, s, l]), g = S(() => {
|
|
2407
|
-
K && console.warn(
|
|
2408
|
-
`Tried removing localStorage key “${e}” even though environment is not a client`
|
|
2409
|
-
);
|
|
2410
|
-
const d = r instanceof Function ? r() : r;
|
|
2411
|
-
window.localStorage.removeItem(e), u(d), window.dispatchEvent(
|
|
2412
|
-
new StorageEvent("local-storage", {
|
|
2413
|
-
key: e
|
|
2414
|
-
})
|
|
2415
|
-
);
|
|
2416
|
-
}, [e, r]);
|
|
2417
|
-
V(() => {
|
|
2418
|
-
u(l());
|
|
2419
|
-
}, [e]);
|
|
2420
|
-
const m = S(
|
|
2421
|
-
(d) => {
|
|
2422
|
-
d.key && d.key !== e || u(l());
|
|
2423
|
-
},
|
|
2424
|
-
[e, l]
|
|
2425
|
-
);
|
|
2426
|
-
return ve("storage", m), ve("local-storage", m), [i, c, g];
|
|
2427
|
-
}
|
|
2428
|
-
function Qr(e) {
|
|
2429
|
-
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ a(
|
|
2430
|
-
"path",
|
|
2431
|
-
{
|
|
2432
|
-
fill: "currentColor",
|
|
2433
|
-
d: "M19 12h-2v3h-3v2h5zM7 9h3V7H5v5h2zm14-6H3a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2m0 16H3V5h18z"
|
|
2434
|
-
}
|
|
2435
|
-
) });
|
|
2436
|
-
}
|
|
2437
|
-
function Yr(e) {
|
|
2438
|
-
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ a(
|
|
2439
|
-
"path",
|
|
2440
|
-
{
|
|
2441
|
-
fill: "none",
|
|
2442
|
-
stroke: "currentColor",
|
|
2443
|
-
strokeLinecap: "round",
|
|
2444
|
-
strokeLinejoin: "round",
|
|
2445
|
-
strokeWidth: "2",
|
|
2446
|
-
d: "M6 15h15m0 4H6m9-8h6m0-4h-6M9 9h1a1 1 0 1 1-1 1V7.5a2 2 0 0 1 2-2M3 9h1a1 1 0 1 1-1 1V7.5a2 2 0 0 1 2-2"
|
|
2447
|
-
}
|
|
2448
|
-
) });
|
|
2449
|
-
}
|
|
2450
|
-
function Zr() {
|
|
2451
|
-
return /* @__PURE__ */ a(
|
|
2452
|
-
"svg",
|
|
2453
|
-
{
|
|
2454
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2455
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
2456
|
-
"aria-hidden": "true",
|
|
2457
|
-
role: "img",
|
|
2458
|
-
className: "richtext-w-4 richtext-h-4",
|
|
2459
|
-
width: "1em",
|
|
2460
|
-
height: "1em",
|
|
2461
|
-
viewBox: "0 0 24 24",
|
|
2462
|
-
children: /* @__PURE__ */ a(
|
|
2463
|
-
"path",
|
|
2464
|
-
{
|
|
2465
|
-
fill: "none",
|
|
2466
|
-
stroke: "currentColor",
|
|
2467
|
-
strokeLinecap: "round",
|
|
2468
|
-
strokeLinejoin: "round",
|
|
2469
|
-
strokeWidth: "1.5",
|
|
2470
|
-
d: "M5.5 3c1.404 0 2.107 0 2.611.38c.219.164.406.375.552.62C9 4.568 9 5.358 9 6.938v10.125c0 1.58 0 2.37-.337 2.937a2.1 2.1 0 0 1-.552.621c-.504.38-1.207.38-2.611.38s-2.107 0-2.611-.38a2.1 2.1 0 0 1-.552-.62C2 19.432 2 18.642 2 17.062V6.938c0-1.58 0-2.37.337-2.938a2.1 2.1 0 0 1 .552-.62C3.393 3 4.096 3 5.5 3M20 11.938v5.124c0 1.58 0 2.37-.337 2.938a2.1 2.1 0 0 1-.552.62c-.504.38-1.207.38-2.611.38s-2.107 0-2.611-.38a2.1 2.1 0 0 1-.552-.62C13 19.433 13 18.642 13 17.063V6.938c0-1.58 0-2.37.337-2.938M22 9l-6-6m6 0l-6 6",
|
|
2471
|
-
color: "currentColor"
|
|
2472
|
-
}
|
|
2473
|
-
)
|
|
2474
|
-
}
|
|
2475
|
-
);
|
|
2476
|
-
}
|
|
2477
|
-
function eo() {
|
|
2478
|
-
return /* @__PURE__ */ a(
|
|
2479
|
-
"svg",
|
|
2480
|
-
{
|
|
2481
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2482
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
2483
|
-
"aria-hidden": "true",
|
|
2484
|
-
role: "img",
|
|
2485
|
-
className: "richtext-w-4 richtext-h-4",
|
|
2486
|
-
width: "1em",
|
|
2487
|
-
height: "1em",
|
|
2488
|
-
viewBox: "0 0 24 24",
|
|
2489
|
-
children: /* @__PURE__ */ a(
|
|
2490
|
-
"path",
|
|
2491
|
-
{
|
|
2492
|
-
fill: "none",
|
|
2493
|
-
stroke: "currentColor",
|
|
2494
|
-
strokeLinecap: "round",
|
|
2495
|
-
strokeLinejoin: "round",
|
|
2496
|
-
strokeWidth: "1.5",
|
|
2497
|
-
d: "M21 18.5c0 1.404 0 2.107-.38 2.611a2.1 2.1 0 0 1-.62.552c-.567.337-1.358.337-2.937.337H6.938c-1.58 0-2.37 0-2.938-.337a2.1 2.1 0 0 1-.62-.552C3 20.607 3 19.904 3 18.5s0-2.107.38-2.611c.163-.218.374-.406.62-.552C4.567 15 5.357 15 6.938 15h10.125c1.58 0 2.37 0 2.937.337c.246.146.457.334.62.552c.38.504.38 1.207.38 2.611M12.063 4H6.937C5.358 4 4.568 4 4 4.337a2.1 2.1 0 0 0-.62.552C3 5.393 3 6.096 3 7.5s0 2.107.38 2.611c.163.218.374.406.62.552C4.567 11 5.357 11 6.938 11h10.125c1.58 0 2.37 0 2.937-.337M21 8l-6-6m6 0l-6 6",
|
|
2498
|
-
color: "currentColor"
|
|
2499
|
-
}
|
|
2500
|
-
)
|
|
2501
|
-
}
|
|
2502
|
-
);
|
|
2503
|
-
}
|
|
2504
|
-
function to(e) {
|
|
2505
|
-
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ a(
|
|
2506
|
-
"path",
|
|
2507
|
-
{
|
|
2508
|
-
fill: "currentColor",
|
|
2509
|
-
d: "M14 2H6a2 2 0 0 0-2 2v16c0 1.11.89 2 2 2h12c1.11 0 2-.89 2-2V8zm4 18H6V4h7v5h5zm-.65-10l-2.1 9h-1.4l-1.8-6.79l-1.8 6.79h-1.4l-2.2-9h1.5l1.4 6.81l1.8-6.81h1.3l1.8 6.81l1.4-6.81z"
|
|
2510
|
-
}
|
|
2511
|
-
) });
|
|
2512
|
-
}
|
|
2513
|
-
function ro(e) {
|
|
2514
|
-
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ a(
|
|
2515
|
-
"path",
|
|
2516
|
-
{
|
|
2517
|
-
fill: "currentColor",
|
|
2518
|
-
d: "M21 22H3v-2h18zm0-18H3V2h18zm-11 9.7h4l-2-5.4zM11.2 6h1.7l4.7 12h-2l-.9-2.6H9.4L8.5 18h-2z"
|
|
2519
|
-
}
|
|
2520
|
-
) });
|
|
2521
|
-
}
|
|
2522
|
-
function oo(e) {
|
|
2523
|
-
return /* @__PURE__ */ a(
|
|
2524
|
-
"svg",
|
|
2525
|
-
{
|
|
2526
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2527
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
2528
|
-
"aria-hidden": "true",
|
|
2529
|
-
role: "img",
|
|
2530
|
-
width: "1em",
|
|
2531
|
-
height: "1em",
|
|
2532
|
-
viewBox: "0 0 48 48",
|
|
2533
|
-
...e,
|
|
2534
|
-
children: /* @__PURE__ */ a(
|
|
2535
|
-
"path",
|
|
2536
|
-
{
|
|
2537
|
-
fill: "currentColor",
|
|
2538
|
-
stroke: "currentColor",
|
|
2539
|
-
strokeLinejoin: "round",
|
|
2540
|
-
strokeWidth: 4,
|
|
2541
|
-
d: "M36 19L24 31L12 19z"
|
|
2542
|
-
}
|
|
2543
|
-
)
|
|
2544
|
-
}
|
|
2545
|
-
);
|
|
2546
|
-
}
|
|
2547
|
-
function no(e) {
|
|
2548
|
-
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M9 7v10h6v-2h-4V7z" }) });
|
|
2549
|
-
}
|
|
2550
|
-
function io(e) {
|
|
2551
|
-
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ a(
|
|
2552
|
-
"path",
|
|
2553
|
-
{
|
|
2554
|
-
fill: "currentColor",
|
|
2555
|
-
d: "M9 7c-1.1 0-2 .9-2 2v8h2V9h2v7h2V9h2v8h2V9a2 2 0 0 0-2-2z"
|
|
2556
|
-
}
|
|
2557
|
-
) });
|
|
2558
|
-
}
|
|
2559
|
-
function so(e) {
|
|
2560
|
-
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ a(
|
|
2561
|
-
"path",
|
|
2562
|
-
{
|
|
2563
|
-
fill: "currentColor",
|
|
2564
|
-
d: "M11 7c-1.1 0-2 .9-2 2v2a2 2 0 0 0 2 2h2v2H9v2h4c1.11 0 2-.89 2-2v-2a2 2 0 0 0-2-2h-2V9h4V7z"
|
|
2565
|
-
}
|
|
2566
|
-
) });
|
|
2567
|
-
}
|
|
2568
|
-
function lo() {
|
|
2569
|
-
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ a(
|
|
2570
|
-
"path",
|
|
2571
|
-
{
|
|
2572
|
-
fill: "currentColor",
|
|
2573
|
-
d: "M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6l1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6l-1.4-1.4z"
|
|
2574
|
-
}
|
|
2575
|
-
) });
|
|
2576
|
-
}
|
|
2577
|
-
function ao() {
|
|
2578
|
-
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M14 4h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-4a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1m-9 8h4m-2-2v4" }) });
|
|
2579
|
-
}
|
|
2580
|
-
function co() {
|
|
2581
|
-
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M6 4h4a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V5a1 1 0 0 1 1-1m9 8h4m-2-2v4" }) });
|
|
2582
|
-
}
|
|
2583
|
-
function uo() {
|
|
2584
|
-
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "2", d: "M12 21v-4m0-4V9m0-4V3m-2 18h4M8 5v4h11l2-2l-2-2zm6 8v4H6l-2-2l2-2z" }) });
|
|
2585
|
-
}
|
|
2586
|
-
function ho() {
|
|
2587
|
-
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M23.943 19.806a.2.2 0 0 0-.168-.034c-1.26-1.855-2.873-3.61-4.419-5.315l-.252-.284c-.001-.073-.067-.12-.134-.15l-.084-.084c-.05-.1-.169-.167-.286-.1c-.47.234-.907.585-1.327.919c-.554.434-1.109.87-1.63 1.354a5 5 0 0 0-.588.618c-.084.117-.017.217.084.267c-.37.368-.74.736-1.109 1.12a.2.2 0 0 0-.05.134c0 .05.033.1.067.117l.655.502v.016c.924.92 2.554 2.173 4.285 3.527c.251.201.52.402.773.602c.117.134.234.285.335.418c.05.066.169.084.236.033c.033.034.084.067.118.1a.24.24 0 0 0 .1.034a.15.15 0 0 0 .135-.066a.24.24 0 0 0 .033-.1c.017 0 .017.016.034.016a.2.2 0 0 0 .134-.05l3.058-3.327c.12-.116.014-.267 0-.267m-7.628-.134l-1.546-1.17l-.15-.1c-.035-.017-.068-.05-.102-.067l-.117-.1c.66-.66 1.33-1.308 2-1.956c-.488.484-1.463 1.906-1.261 2.373c.002 0 .018.042.067.084zm4.1 3.126l-1.277-.97a27 27 0 0 0-1.58-1.504c.69.518 1.277.97 1.361 1.053c.673.585.638.485 1.093.87l.554.4c-.074.103-.151.148-.151.151m.336.25l-.034-.016a1 1 0 0 0 .152-.117zM.588 3.476c.033.217.084.435.117.636c.201 1.103.403 2.106.772 2.858l.152.568c.05.217.134.485.219.552a67 67 0 0 0 3.578 2.942a.18.18 0 0 0 .219 0s0 .016.016.016a.15.15 0 0 0 .118.05a.2.2 0 0 0 .134-.05c1.798-1.989 3.142-3.627 4.1-4.998c.068-.066.084-.167.084-.25c.067-.067.118-.151.185-.201c.067-.067.067-.184 0-.235l-.017-.016c0-.033-.017-.084-.05-.1c-.42-.401-.722-.685-1.042-.986a94 94 0 0 1-2.352-2.273c-.017-.017-.034-.034-.067-.034c-.336-.117-1.025-.234-1.882-.385c-1.277-.216-3.008-.517-4.57-.986c0 0-.101 0-.118.017l-.05.05C.05.714.022.707 0 .718c.017.1.017.167.05.284c0 .033.068.301.068.334zm7.19 4.78l-.033.034a.036.036 0 0 1 .033-.034M6.553 2.238c.101.1.521.502.622.585c-.437-.2-1.529-.702-2.034-.869c.505.1 1.194.201 1.412.284M.79 1.403c.252.434.454 1.939.655 3.41c-.118-.469-.201-.936-.302-1.372C.992 2.673.84 1.988.638 1.386c.124 0 .152.021.152.017m-.286-.369c0-.016 0-.033-.017-.033c.085 0 .135.017.202.05c0 .006-.145-.017-.185-.017m23.17-.217c.017-.066-.336-.367-.219-.384c.253-.017.253-.401 0-.401c-.335.017-.688.1-1.008.15c-.587.117-1.192.234-1.78.367a80 80 0 0 0-3.949.937c-.403.117-.857.2-1.243.401c-.135.067-.118.2-.05.284c-.034.017-.051.017-.085.034c-.117.017-.218.034-.335.05c-.102.017-.152.1-.135.2c0 .017.017.05.017.067c-.706.936-1.496 1.923-2.353 2.976c-.84.969-1.73 1.989-2.62 3.042c-2.84 3.31-6.05 7.07-9.594 10.38a.16.16 0 0 0 0 .234c.016.016.033.033.05.033c-.05.05-.101.085-.152.134q-.05.05-.05.1a.4.4 0 0 0-.067.084c-.067.067-.067.184.017.234c.067.066.185.066.235-.017c.017-.017.017-.033.033-.033a.265.265 0 0 1 .37 0c.202.217.404.435.588.618l-.42-.35c-.067-.067-.184-.05-.234.016c-.068.066-.051.184.016.234l4.469 3.727c.034.034.067.034.118.034a.15.15 0 0 0 .117-.05l.101-.1c.017.016.05.016.067.016c.05 0 .084-.016.118-.05c6.049-6.05 10.922-10.614 16.5-14.693c.05-.033.067-.1.067-.15c.067 0 .118-.05.15-.117c1.026-3.125 1.228-5.9 1.295-7.27c0-.059.016-.038.016-.068c.017-.033.017-.05.017-.05a.98.98 0 0 0-.067-.619m-10.82 4.915c.268-.301.537-.619.806-.903c-1.73 2.273-4.603 5.767-8.67 9.929c2.773-3.059 5.562-6.218 7.864-9.026M5.14 23.466c-.016-.017-.016-.017 0-.017zm2.504-2.156c.135-.15.27-.284.42-.434c0 0 0 .016.017.016c-.224.198-.433.418-.437.418m.69-.668c.099-.1.14-.173.284-.318c.992-1.02 2.017-2.04 3.059-3.076l.016-.016c.252-.2.555-.418.824-.619a228 228 0 0 0-4.184 4.029M14.852 3.91c-.554.719-1.176 1.671-1.697 2.423c-1.646 2.374-6.94 8.174-7.057 8.274a1190 1190 0 0 1-4.839 4.597l-.1.1c-.085-.1-.085-.25.016-.334C8.652 11.966 13.19 6.133 15.021 3.576c-.05.116-.084.216-.168.334zm2.906 3.427c-.671-.386-.99-.987-.806-1.572l.05-.2a.8.8 0 0 1 .085-.167a1.9 1.9 0 0 1 .756-.703c.016 0 .033 0 .05-.016c-.017-.034-.017-.084-.017-.134c.017-.1.085-.167.202-.167c.202 0 .824.184 1.059.384c.067.05.134.117.202.184c.084.1.218.268.285.401c.034.017.067.184.118.268c.033.134.067.284.05.418c-.017.016 0 .116-.017.116a1.6 1.6 0 0 1-.218.619c-.03.03.006.012-.05.067a1.2 1.2 0 0 1-.32.334a1.49 1.49 0 0 1-1.26.234a2 2 0 0 0-.169-.066m4.37 1.403c0 .017-.017.05 0 .067c-.034 0-.05.017-.085.034a110 110 0 0 0-3.915 3.025c1.11-.986 2.218-1.989 3.378-2.975c.336-.301.571-.686.638-1.12l.168-1.003v-.033c.085-.201.404-.118.353.1c-.004-.001-.173.795-.537 1.905" }) });
|
|
2588
|
-
}
|
|
2589
|
-
function go() {
|
|
2590
|
-
return /* @__PURE__ */ A("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 32 32", children: [
|
|
2591
|
-
/* @__PURE__ */ a("path", { fill: "currentColor", d: "M30 18v-2h-6v10h2v-4h3v-2h-3v-2zm-11 8h-4V16h4a3.003 3.003 0 0 1 3 3v4a3.003 3.003 0 0 1-3 3m-2-2h2a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1h-2zm-6-8H6v10h2v-3h3a2.003 2.003 0 0 0 2-2v-3a2 2 0 0 0-2-2m-3 5v-3h3l.001 3z" }),
|
|
2592
|
-
/* @__PURE__ */ a("path", { fill: "currentColor", d: "M22 14v-4a.91.91 0 0 0-.3-.7l-7-7A.9.9 0 0 0 14 2H4a2.006 2.006 0 0 0-2 2v24a2 2 0 0 0 2 2h16v-2H4V4h8v6a2.006 2.006 0 0 0 2 2h6v2Zm-8-4V4.4l5.6 5.6Z" })
|
|
2593
|
-
] });
|
|
2594
|
-
}
|
|
2595
|
-
function mo() {
|
|
2596
|
-
return /* @__PURE__ */ A(
|
|
2597
|
-
"svg",
|
|
2598
|
-
{
|
|
2599
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2600
|
-
width: "1em",
|
|
2601
|
-
height: "1em",
|
|
2602
|
-
className: "icon",
|
|
2603
|
-
viewBox: "0 0 1024 1024",
|
|
2604
|
-
children: [
|
|
2605
|
-
/* @__PURE__ */ a(
|
|
2606
|
-
"path",
|
|
2607
|
-
{
|
|
2608
|
-
fill: "currentColor",
|
|
2609
|
-
d: "M679.253 402.364 618.77 561.015l-60.348-158.651a30.04 30.04 0 0 0-30.447-18.637 29.76 29.76 0 0 0-30.447 18.637l-60.416 158.651-60.416-158.651a30.515 30.515 0 0 0-38.843-17.272 28.945 28.945 0 0 0-17.954 37.547l88.815 233.267c4.369 11.469 15.7 19.115 28.398 19.115a30.31 30.31 0 0 0 28.468-19.115l62.395-163.908 62.396 163.84c4.437 11.605 15.701 19.183 28.4 19.183a30.31 30.31 0 0 0 28.466-19.115l88.747-233.267a28.945 28.945 0 0 0-17.886-37.547 30.447 30.447 0 0 0-38.912 17.272zm219.478 395.605-51.883-29.218c-28.672-16.18-52.224-3.072-52.224 29.082v.273H643.209a29.833 29.833 0 0 0-30.31 29.354c0 16.18 13.584 29.218 30.31 29.218h151.825c1.092 30.516 24.03 43.077 52.224 27.648l51.063-27.989c29.013-15.906 29.15-42.189.41-58.368"
|
|
2610
|
-
}
|
|
2611
|
-
),
|
|
2612
|
-
/* @__PURE__ */ a(
|
|
2613
|
-
"path",
|
|
2614
|
-
{
|
|
2615
|
-
fill: "currentColor",
|
|
2616
|
-
d: "m810.667 913.135-.478.068H201.796c-19.865 0-36.727-11.673-36.727-25.6v-618.36h154.965c51.268 0 92.911-39.39 92.911-87.858v-87.86H810.19c19.797 0 36.522 11.742 36.522 25.669V739.26h61.987V119.262c0-46.421-44.169-84.241-98.51-84.241H328.364l-225.28 194.56v658.09c0 46.285 44.236 84.105 98.713 84.105H810.19c43.759 0 80.554-24.713 93.32-58.573h-92.842zM350.89 94.89v86.562c0 16.11-13.858 29.286-30.925 29.286H216.815L350.959 94.891z"
|
|
2617
|
-
}
|
|
2618
|
-
)
|
|
2619
|
-
]
|
|
2620
|
-
}
|
|
2621
|
-
);
|
|
2622
|
-
}
|
|
2623
|
-
function po() {
|
|
2624
|
-
return /* @__PURE__ */ a(
|
|
2625
|
-
"svg",
|
|
2626
|
-
{
|
|
2627
|
-
height: "1em",
|
|
2628
|
-
viewBox: "0 0 15 15",
|
|
2629
|
-
width: "1em",
|
|
2630
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2631
|
-
children: /* @__PURE__ */ a(
|
|
2632
|
-
"path",
|
|
2633
|
-
{
|
|
2634
|
-
d: "M2.5 10.5H2v.5h.5zm2 0v.5H5v-.5zm9-7h.5v-.207l-.146-.147zm-3-3l.354-.354L10.707 0H10.5zM2 6v4.5h1V6zm.5 5h2v-1h-2zm2.5-.5v-2H4v2zM3 7h2V6H3zM2 5V1.5H1V5zm11-1.5V5h1V3.5zM2.5 1h8V0h-8zm7.646-.146l3 3l.708-.708l-3-3zM2 1.5a.5.5 0 0 1 .5-.5V0A1.5 1.5 0 0 0 1 1.5zM1 12v1.5h1V12zm1.5 3h10v-1h-10zM14 13.5V12h-1v1.5zM12.5 15a1.5 1.5 0 0 0 1.5-1.5h-1a.5.5 0 0 1-.5.5zM1 13.5A1.5 1.5 0 0 0 2.5 15v-1a.5.5 0 0 1-.5-.5zM6 7h3V6H6zm0 4h3v-1H6zm1-4.5v4h1v-4zm3.5.5H13V6h-2.5zM10 6v5h1V6zm.5 3H12V8h-1.5z",
|
|
2635
|
-
fill: "currentColor"
|
|
2636
|
-
}
|
|
2637
|
-
)
|
|
2638
|
-
}
|
|
2639
|
-
);
|
|
2640
|
-
}
|
|
2641
|
-
function fo() {
|
|
2642
|
-
return /* @__PURE__ */ a(
|
|
2643
|
-
"svg",
|
|
2644
|
-
{
|
|
2645
|
-
height: "1em",
|
|
2646
|
-
viewBox: "0 0 24 24",
|
|
2647
|
-
width: "1em",
|
|
2648
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2649
|
-
children: /* @__PURE__ */ A(
|
|
2650
|
-
"g",
|
|
2651
|
-
{
|
|
2652
|
-
fill: "none",
|
|
2653
|
-
stroke: "currentColor",
|
|
2654
|
-
strokeLinecap: "round",
|
|
2655
|
-
strokeLinejoin: "round",
|
|
2656
|
-
strokeWidth: "2",
|
|
2657
|
-
children: [
|
|
2658
|
-
/* @__PURE__ */ a("path", { d: "M14 3v4a1 1 0 0 0 1 1h4" }),
|
|
2659
|
-
/* @__PURE__ */ a("path", { d: "M5 12V5a2 2 0 0 1 2-2h7l5 5v4M2 21v-6m3 0v6m-3-3h3m15-3v6h2m-9 0v-6l2 3l2-3v6m-9.5-6h3M9 15v6" })
|
|
2660
|
-
]
|
|
2661
|
-
}
|
|
2662
|
-
)
|
|
2663
|
-
}
|
|
2664
|
-
);
|
|
2262
|
+
}, Fe = /* @__PURE__ */ ze(Be);
|
|
2263
|
+
function He(...e) {
|
|
2264
|
+
return Fe(le(e));
|
|
2665
2265
|
}
|
|
2666
|
-
function
|
|
2667
|
-
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 20 20", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M6.5 3a.75.75 0 0 1 .697.471l3 7.5a.75.75 0 0 1-1.393.557L7.992 9.5H5.008l-.811 2.028a.75.75 0 0 1-1.393-.556l3-7.5A.75.75 0 0 1 6.5 3m0 2.77L5.608 8h1.784zm8.28-1.55a.75.75 0 1 0-1.06 1.06l.72.72h-3.69a.75.75 0 0 0 0 1.5h3.69l-.72.72a.75.75 0 0 0 1.06 1.06l2-2a.75.75 0 0 0 0-1.06zm0 7.5a.75.75 0 1 0-1.06 1.06l.72.72H3.75a.75.75 0 0 0 0 1.5h10.69l-.72.72a.75.75 0 1 0 1.06 1.06l2-2a.75.75 0 0 0 0-1.06z" }) });
|
|
2668
|
-
}
|
|
2669
|
-
function vo() {
|
|
2670
|
-
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 48 48", children: /* @__PURE__ */ A("g", { fill: "none", stroke: "currentColor", strokeWidth: "4", children: [
|
|
2671
|
-
/* @__PURE__ */ a("circle", { cx: "10", cy: "24", r: "4" }),
|
|
2672
|
-
/* @__PURE__ */ a("circle", { cx: "38", cy: "10", r: "4" }),
|
|
2673
|
-
/* @__PURE__ */ a("circle", { cx: "38", cy: "24", r: "4" }),
|
|
2674
|
-
/* @__PURE__ */ a("circle", { cx: "38", cy: "38", r: "4" }),
|
|
2675
|
-
/* @__PURE__ */ a("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M34 38H22V10h12M14 24h20" })
|
|
2676
|
-
] }) });
|
|
2677
|
-
}
|
|
2678
|
-
function wo() {
|
|
2679
|
-
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 20 20", children: /* @__PURE__ */ a("path", { fill: "currentColor", d: "M13.5 3a.75.75 0 0 0-.697.471l-3 7.5a.75.75 0 0 0 1.393.557l.812-2.028h2.984l.811 2.028a.75.75 0 0 0 1.393-.556l-3-7.5A.75.75 0 0 0 13.5 3m0 2.77L14.392 8h-1.784zM5.22 4.22a.75.75 0 0 1 1.06 1.06L5.56 6h3.69a.75.75 0 0 1 0 1.5H5.56l.72.72a.75.75 0 0 1-1.06 1.06l-2-2a.75.75 0 0 1 0-1.06zm0 7.5a.75.75 0 0 1 1.06 1.06l-.72.72h10.69a.75.75 0 0 1 0 1.5H5.56l.72.72a.75.75 0 1 1-1.06 1.06l-2-2a.75.75 0 0 1 0-1.06z" }) });
|
|
2680
|
-
}
|
|
2681
|
-
function xo() {
|
|
2682
|
-
return /* @__PURE__ */ a("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ a("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", d: "m3 21l7.548-7.548M21 3l-7.548 7.548m0 0L8 3H3l7.548 10.452m2.904-2.904L21 21h-5l-5.452-7.548", color: "currentColor" }) });
|
|
2683
|
-
}
|
|
2684
|
-
function yo() {
|
|
2685
|
-
return /* @__PURE__ */ a(
|
|
2686
|
-
"svg",
|
|
2687
|
-
{
|
|
2688
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2689
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
2690
|
-
"aria-hidden": "true",
|
|
2691
|
-
role: "img",
|
|
2692
|
-
width: "1em",
|
|
2693
|
-
height: "1em",
|
|
2694
|
-
viewBox: "0 0 24 24",
|
|
2695
|
-
children: /* @__PURE__ */ a(
|
|
2696
|
-
"path",
|
|
2697
|
-
{
|
|
2698
|
-
fill: "currentColor",
|
|
2699
|
-
d: "M14 2H6a2 2 0 0 0-2 2v16c0 1.11.89 2 2 2h12c1.11 0 2-.89 2-2V8zm4 18H6V4h7v5h5zm-.65-10l-2.1 9h-1.4l-1.8-6.79l-1.8 6.79h-1.4l-2.2-9h1.5l1.4 6.81l1.8-6.81h1.3l1.8 6.81l1.4-6.81z"
|
|
2700
|
-
}
|
|
2701
|
-
)
|
|
2702
|
-
}
|
|
2703
|
-
);
|
|
2704
|
-
}
|
|
2705
|
-
const Co = {
|
|
2706
|
-
Bold: fr,
|
|
2707
|
-
LoaderCircle: pr,
|
|
2708
|
-
Italic: mr,
|
|
2709
|
-
Underline: gr,
|
|
2710
|
-
Quote: hr,
|
|
2711
|
-
TextQuote: Yr,
|
|
2712
|
-
Strikethrough: ur,
|
|
2713
|
-
Minus: dr,
|
|
2714
|
-
Eraser: cr,
|
|
2715
|
-
PaintRoller: ar,
|
|
2716
|
-
Redo2: lr,
|
|
2717
|
-
Undo2: sr,
|
|
2718
|
-
AlignCenter: Ke,
|
|
2719
|
-
AlignJustify: Je,
|
|
2720
|
-
AlignLeft: qe,
|
|
2721
|
-
AlignRight: Xe,
|
|
2722
|
-
ChevronDown: ir,
|
|
2723
|
-
Subscript: nr,
|
|
2724
|
-
Superscript: or,
|
|
2725
|
-
Code: rr,
|
|
2726
|
-
Code2: tr,
|
|
2727
|
-
Type: er,
|
|
2728
|
-
IndentIncrease: Zt,
|
|
2729
|
-
IndentDecrease: Yt,
|
|
2730
|
-
List: Qt,
|
|
2731
|
-
ListOrdered: Kt,
|
|
2732
|
-
ListTodo: Jt,
|
|
2733
|
-
Link: qt,
|
|
2734
|
-
ImageUp: Xt,
|
|
2735
|
-
Video: Dt,
|
|
2736
|
-
Maximize: Ut,
|
|
2737
|
-
Minimize: Ft,
|
|
2738
|
-
Table: _t,
|
|
2739
|
-
Sparkles: $t,
|
|
2740
|
-
Pencil: Wt,
|
|
2741
|
-
Unlink: Ot,
|
|
2742
|
-
BetweenHorizonalEnd: Gt,
|
|
2743
|
-
BetweenHorizonalStart: Bt,
|
|
2744
|
-
BetweenVerticalStart: jt,
|
|
2745
|
-
BetweenVerticalEnd: It,
|
|
2746
|
-
TableCellsMerge: Pt,
|
|
2747
|
-
TableCellsSplit: Nt,
|
|
2748
|
-
Trash2: Tt,
|
|
2749
|
-
Trash: Rt,
|
|
2750
|
-
Replace: me,
|
|
2751
|
-
ChevronsUpDown: Ht,
|
|
2752
|
-
LineHeight: ro,
|
|
2753
|
-
Word: to,
|
|
2754
|
-
HeadingParagraph: Vt,
|
|
2755
|
-
Heading1: At,
|
|
2756
|
-
Heading2: Et,
|
|
2757
|
-
Heading3: Lt,
|
|
2758
|
-
Heading4: St,
|
|
2759
|
-
Heading5: kt,
|
|
2760
|
-
Heading6: Mt,
|
|
2761
|
-
Columns2: pe,
|
|
2762
|
-
Columns3: zt,
|
|
2763
|
-
Columns4: Ct,
|
|
2764
|
-
Plus: yt,
|
|
2765
|
-
Grip: xt,
|
|
2766
|
-
Copy: wt,
|
|
2767
|
-
Clipboard: vt,
|
|
2768
|
-
PanelLeft: bt,
|
|
2769
|
-
PanelRight: ft,
|
|
2770
|
-
Columns: pe,
|
|
2771
|
-
Iframe: pt,
|
|
2772
|
-
MenuDown: oo,
|
|
2773
|
-
SizeS: so,
|
|
2774
|
-
SizeM: io,
|
|
2775
|
-
SizeL: no,
|
|
2776
|
-
AspectRatio: Qr,
|
|
2777
|
-
Emoji: mt,
|
|
2778
|
-
DeleteColumn: Zr,
|
|
2779
|
-
DeleteRow: eo,
|
|
2780
|
-
SearchAndReplace: me,
|
|
2781
|
-
EmojiIcon: gt,
|
|
2782
|
-
KatexIcon: ht,
|
|
2783
|
-
ExportPdf: go,
|
|
2784
|
-
ExportWord: mo,
|
|
2785
|
-
ImportWord: yo,
|
|
2786
|
-
ColumnAddLeft: ao,
|
|
2787
|
-
ColumnAddRight: co,
|
|
2788
|
-
BookMarked: ut,
|
|
2789
|
-
Excalidraw: ho,
|
|
2790
|
-
ZoomIn: dt,
|
|
2791
|
-
ZoomOut: ct,
|
|
2792
|
-
Settings: at,
|
|
2793
|
-
Eye: lt,
|
|
2794
|
-
TextDirection: uo,
|
|
2795
|
-
LeftToRight: bo,
|
|
2796
|
-
RightToLeft: wo,
|
|
2797
|
-
Attachment: st,
|
|
2798
|
-
GifIcon: po,
|
|
2799
|
-
ChevronUp: it,
|
|
2800
|
-
Crop: nt,
|
|
2801
|
-
Mermaid: vo,
|
|
2802
|
-
Twitter: xo,
|
|
2803
|
-
CodeView: lo,
|
|
2804
|
-
FlipX: ot,
|
|
2805
|
-
FlipY: rt,
|
|
2806
|
-
PencilRuler: tt,
|
|
2807
|
-
WrapText: et,
|
|
2808
|
-
Loader: Ze,
|
|
2809
|
-
X: Ye,
|
|
2810
|
-
Html: fo,
|
|
2811
|
-
ExternalLink: Qe
|
|
2812
|
-
}, we = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, xe = ke, zo = (e, r) => (t) => {
|
|
2813
|
-
var o;
|
|
2814
|
-
if ((r == null ? void 0 : r.variants) == null) return xe(e, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
|
|
2815
|
-
const { variants: s, defaultVariants: n } = r, l = Object.keys(s).map((c) => {
|
|
2816
|
-
const g = t == null ? void 0 : t[c], m = n == null ? void 0 : n[c];
|
|
2817
|
-
if (g === null) return null;
|
|
2818
|
-
const d = we(g) || we(m);
|
|
2819
|
-
return s[c][d];
|
|
2820
|
-
}), i = t && Object.entries(t).reduce((c, g) => {
|
|
2821
|
-
let [m, d] = g;
|
|
2822
|
-
return d === void 0 || (c[m] = d), c;
|
|
2823
|
-
}, {}), u = r == null || (o = r.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((c, g) => {
|
|
2824
|
-
let { class: m, className: d, ...f } = g;
|
|
2825
|
-
return Object.entries(f).every((y) => {
|
|
2826
|
-
let [v, p] = y;
|
|
2827
|
-
return Array.isArray(p) ? p.includes({
|
|
2828
|
-
...n,
|
|
2829
|
-
...i
|
|
2830
|
-
}[v]) : {
|
|
2831
|
-
...n,
|
|
2832
|
-
...i
|
|
2833
|
-
}[v] === p;
|
|
2834
|
-
}) ? [
|
|
2835
|
-
...c,
|
|
2836
|
-
m,
|
|
2837
|
-
d
|
|
2838
|
-
] : c;
|
|
2839
|
-
}, []);
|
|
2840
|
-
return xe(e, l, u, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
|
|
2841
|
-
}, Mo = zo(
|
|
2842
|
-
"richtext-inline-flex richtext-items-center richtext-justify-center richtext-rounded-md richtext-text-sm richtext-font-medium richtext-ring-offset-background richtext-transition-colors hover:richtext-bg-muted hover:richtext-text-muted-foreground focus-visible:richtext-outline-none focus-visible:richtext-ring-2 focus-visible:richtext-ring-ring focus-visible:richtext-ring-offset-1 disabled:richtext-pointer-events-none disabled:richtext-opacity-50 data-[state=on]:richtext-bg-accent data-[state=on]:richtext-text-accent-foreground",
|
|
2843
|
-
{
|
|
2844
|
-
variants: {
|
|
2845
|
-
variant: {
|
|
2846
|
-
default: "richtext-bg-transparent",
|
|
2847
|
-
outline: "richtext-border richtext-border-input richtext-bg-transparent hover:richtext-bg-accent hover:richtext-text-accent-foreground"
|
|
2848
|
-
},
|
|
2849
|
-
size: {
|
|
2850
|
-
default: "richtext-h-10 richtext-px-3",
|
|
2851
|
-
sm: "richtext-h-9 richtext-px-2",
|
|
2852
|
-
lg: "richtext-h-11 richtext-px-5"
|
|
2853
|
-
}
|
|
2854
|
-
},
|
|
2855
|
-
defaultVariants: {
|
|
2856
|
-
variant: "default",
|
|
2857
|
-
size: "default"
|
|
2858
|
-
}
|
|
2859
|
-
}
|
|
2860
|
-
), He = ze.forwardRef(({ className: e, variant: r, size: t, ...o }, s) => /* @__PURE__ */ a(
|
|
2861
|
-
Me.Root,
|
|
2862
|
-
{
|
|
2863
|
-
ref: s,
|
|
2864
|
-
className: oe(Mo({ variant: r, size: t, className: e })),
|
|
2865
|
-
...o
|
|
2866
|
-
}
|
|
2867
|
-
));
|
|
2868
|
-
He.displayName = Me.Root.displayName;
|
|
2869
|
-
const Xo = G.Provider, ko = G.Root, So = G.Trigger, Re = ze.forwardRef(({ className: e, sideOffset: r = 4, ...t }, o) => /* @__PURE__ */ a(
|
|
2870
|
-
G.Content,
|
|
2871
|
-
{
|
|
2872
|
-
"data-richtext-portal": !0,
|
|
2873
|
-
ref: o,
|
|
2874
|
-
sideOffset: r,
|
|
2875
|
-
className: oe(
|
|
2876
|
-
"richtext-z-50 richtext-overflow-hidden richtext-rounded-md richtext-bg-primary richtext-px-3 richtext-py-1.5 richtext-text-sm richtext-text-primary-foreground richtext-shadow-md richtext-animate-in richtext-fade-in-0 richtext-zoom-in-95 data-[side=bottom]:richtext-slide-in-from-top-2 data-[side=left]:richtext-slide-in-from-right-2 data-[side=right]:richtext-slide-in-from-left-2 data-[side=top]:richtext-slide-in-from-bottom-2 !richtext-border-none",
|
|
2877
|
-
e
|
|
2878
|
-
),
|
|
2879
|
-
...t
|
|
2880
|
-
}
|
|
2881
|
-
));
|
|
2882
|
-
Re.displayName = G.Content.displayName;
|
|
2883
|
-
function ne(e) {
|
|
2266
|
+
function se(e) {
|
|
2884
2267
|
function r() {
|
|
2885
|
-
const
|
|
2886
|
-
|
|
2887
|
-
}, []),
|
|
2268
|
+
const o = Q(e), l = _(() => o.current, []), s = Q(/* @__PURE__ */ new Set()), u = _((b) => {
|
|
2269
|
+
o.current = { ...o.current, ...b }, s.current.forEach((h) => h());
|
|
2270
|
+
}, []), g = _((b) => (s.current.add(b), () => s.current.delete(b)), []);
|
|
2888
2271
|
return {
|
|
2889
2272
|
get: l,
|
|
2890
2273
|
set: u,
|
|
2891
|
-
subscribe:
|
|
2274
|
+
subscribe: g
|
|
2892
2275
|
};
|
|
2893
2276
|
}
|
|
2894
|
-
const t =
|
|
2895
|
-
function
|
|
2896
|
-
return /* @__PURE__ */
|
|
2277
|
+
const t = ae(null);
|
|
2278
|
+
function n({ children: o }) {
|
|
2279
|
+
return /* @__PURE__ */ ie(t.Provider, { value: r(), children: o });
|
|
2897
2280
|
}
|
|
2898
|
-
function
|
|
2899
|
-
const l =
|
|
2281
|
+
function a(o) {
|
|
2282
|
+
const l = ce(t);
|
|
2900
2283
|
if (!l)
|
|
2901
2284
|
throw new Error("Store not found");
|
|
2902
|
-
return [
|
|
2285
|
+
return [de(
|
|
2903
2286
|
l.subscribe,
|
|
2904
|
-
() =>
|
|
2905
|
-
() =>
|
|
2287
|
+
() => o(l.get()),
|
|
2288
|
+
() => o(e)
|
|
2906
2289
|
), l.set];
|
|
2907
2290
|
}
|
|
2908
2291
|
return {
|
|
2909
|
-
Provider:
|
|
2910
|
-
useStore:
|
|
2292
|
+
Provider: n,
|
|
2293
|
+
useStore: a
|
|
2911
2294
|
};
|
|
2912
2295
|
}
|
|
2913
|
-
|
|
2914
|
-
value: !1
|
|
2915
|
-
});
|
|
2916
|
-
ne({
|
|
2296
|
+
se({
|
|
2917
2297
|
value: !1
|
|
2918
2298
|
});
|
|
2919
|
-
|
|
2299
|
+
se({
|
|
2920
2300
|
value: !1
|
|
2921
2301
|
});
|
|
2922
|
-
|
|
2923
|
-
|
|
2924
|
-
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
function Ao(e, r) {
|
|
2928
|
-
if (!e)
|
|
2929
|
-
return !1;
|
|
2930
|
-
if (e.contains)
|
|
2931
|
-
return e.contains(r);
|
|
2932
|
-
let t = r;
|
|
2933
|
-
for (; t; ) {
|
|
2934
|
-
if (t === e)
|
|
2935
|
-
return !0;
|
|
2936
|
-
t = t.parentNode;
|
|
2937
|
-
}
|
|
2938
|
-
return !1;
|
|
2939
|
-
}
|
|
2940
|
-
function Ne({ mark: e } = {}) {
|
|
2941
|
-
return e ? e.startsWith("data-") ? e : `data-${e}` : Eo;
|
|
2942
|
-
}
|
|
2943
|
-
function ie(e) {
|
|
2944
|
-
return e.attachTo ? e.attachTo : document.querySelector("head") || document.body;
|
|
2945
|
-
}
|
|
2946
|
-
function Vo(e) {
|
|
2947
|
-
return e === "queue" ? "prependQueue" : e ? "prepend" : "append";
|
|
2948
|
-
}
|
|
2949
|
-
function Pe(e) {
|
|
2950
|
-
return [...(ee.get(e) || e).children].filter(
|
|
2951
|
-
(r) => r.tagName === "STYLE"
|
|
2952
|
-
);
|
|
2953
|
-
}
|
|
2954
|
-
function Ie(e, r = {}) {
|
|
2955
|
-
const { csp: t, prepend: o, priority: s = 0 } = r, n = Vo(o), l = n === "prependQueue", i = document.createElement("style");
|
|
2956
|
-
i.setAttribute(ye, n), l && s && i.setAttribute(Ce, `${s}`), t != null && t.nonce && (i.nonce = t == null ? void 0 : t.nonce), i.innerHTML = e;
|
|
2957
|
-
const u = ie(r), { firstChild: c } = u;
|
|
2958
|
-
if (o) {
|
|
2959
|
-
if (l) {
|
|
2960
|
-
const g = Pe(u).filter((m) => {
|
|
2961
|
-
if (!["prepend", "prependQueue"].includes(m.getAttribute(ye)))
|
|
2962
|
-
return !1;
|
|
2963
|
-
const d = Number(m.getAttribute(Ce) || 0);
|
|
2964
|
-
return s >= d;
|
|
2965
|
-
});
|
|
2966
|
-
if (g.length > 0)
|
|
2967
|
-
return u.insertBefore(i, g.at(-1).nextSibling), i;
|
|
2968
|
-
}
|
|
2969
|
-
c.before(i);
|
|
2970
|
-
} else
|
|
2971
|
-
u.append(i);
|
|
2972
|
-
return i;
|
|
2973
|
-
}
|
|
2974
|
-
function je(e, r = {}) {
|
|
2975
|
-
const t = ie(r);
|
|
2976
|
-
return Pe(t).find((o) => o.getAttribute(Ne(r)) === e);
|
|
2977
|
-
}
|
|
2978
|
-
function Ho(e, r = {}) {
|
|
2979
|
-
const t = je(e, r);
|
|
2980
|
-
t && t.remove();
|
|
2981
|
-
}
|
|
2982
|
-
function Ro(e, r) {
|
|
2983
|
-
const t = ee.get(e);
|
|
2984
|
-
if (!t || !Ao(document, t)) {
|
|
2985
|
-
const o = Ie("", r), { parentNode: s } = o;
|
|
2986
|
-
ee.set(e, s), o.remove();
|
|
2987
|
-
}
|
|
2988
|
-
}
|
|
2989
|
-
function To(e, r, t = {}) {
|
|
2990
|
-
var l, i, u;
|
|
2991
|
-
const o = ie(t);
|
|
2992
|
-
Ro(o, t);
|
|
2993
|
-
const s = je(r, t);
|
|
2994
|
-
if (s)
|
|
2995
|
-
return (l = t.csp) != null && l.nonce && s.nonce !== ((i = t.csp) == null ? void 0 : i.nonce) && (s.nonce = (u = t.csp) == null ? void 0 : u.nonce), s.innerHTML !== e && (s.innerHTML = e), s;
|
|
2996
|
-
const n = Ie(e, t);
|
|
2997
|
-
return n.setAttribute(Ne(t), r), n;
|
|
2998
|
-
}
|
|
2999
|
-
const No = _e(({ editor: e, children: r }) => {
|
|
3000
|
-
const [, t] = Te((s) => s.value);
|
|
3001
|
-
V(() => {
|
|
3002
|
-
t({
|
|
3003
|
-
value: e == null ? void 0 : e.isEditable
|
|
3004
|
-
});
|
|
3005
|
-
}, [e == null ? void 0 : e.isEditable]);
|
|
3006
|
-
const o = () => {
|
|
3007
|
-
t({
|
|
3008
|
-
value: e == null ? void 0 : e.isEditable
|
|
3009
|
-
});
|
|
3010
|
-
};
|
|
3011
|
-
return V(() => (e && e.on("update", o), () => {
|
|
3012
|
-
e && e.off("update", o);
|
|
3013
|
-
}), [e]), /* @__PURE__ */ a(te, { children: r });
|
|
3014
|
-
});
|
|
3015
|
-
function Po() {
|
|
3016
|
-
const [, e] = Ue(De), r = (o) => {
|
|
3017
|
-
e((s) => ({
|
|
3018
|
-
...s,
|
|
3019
|
-
currentLang: o.detail
|
|
2302
|
+
const Ue = ue((e) => ({
|
|
2303
|
+
value: !1,
|
|
2304
|
+
setEditable: (r) => {
|
|
2305
|
+
e(() => ({
|
|
2306
|
+
value: r.value
|
|
3020
2307
|
}));
|
|
3021
|
-
}
|
|
3022
|
-
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
const i = {
|
|
3026
|
-
...l.message[s],
|
|
3027
|
-
...n
|
|
3028
|
-
};
|
|
3029
|
-
return {
|
|
3030
|
-
currentLang: l.currentLang,
|
|
3031
|
-
message: {
|
|
3032
|
-
...l.message,
|
|
3033
|
-
[s]: i
|
|
3034
|
-
}
|
|
3035
|
-
};
|
|
3036
|
-
} else
|
|
3037
|
-
return {
|
|
3038
|
-
currentLang: l.currentLang,
|
|
3039
|
-
message: {
|
|
3040
|
-
...l.message,
|
|
3041
|
-
[s]: n
|
|
3042
|
-
}
|
|
3043
|
-
};
|
|
3044
|
-
});
|
|
3045
|
-
};
|
|
3046
|
-
return V(() => {
|
|
3047
|
-
const o = j(B.CHANGE_LANGUAGE, r), s = j(B.MODIFY_LANGUAGE, t);
|
|
3048
|
-
return () => {
|
|
3049
|
-
o(), s();
|
|
3050
|
-
};
|
|
3051
|
-
}, []), /* @__PURE__ */ a(te, {});
|
|
3052
|
-
}
|
|
3053
|
-
function Io() {
|
|
3054
|
-
const [e, r] = Q("richtext-theme", "light"), [t, o] = Q("richtext-color", "default"), [s, n] = Q("richtext-border-radius", "0.65rem");
|
|
3055
|
-
V(() => {
|
|
3056
|
-
const c = e || "light", g = t || "default";
|
|
3057
|
-
let m = ge[c][g];
|
|
3058
|
-
if (!m) {
|
|
3059
|
-
m = ge.light.default;
|
|
3060
|
-
return;
|
|
3061
|
-
}
|
|
3062
|
-
return To(`
|
|
3063
|
-
.reactjs-tiptap-editor, .reactjs-tiptap-editor *,
|
|
3064
|
-
.reactjs-tiptap-editor-theme, .reactjs-tiptap-editor-theme *,
|
|
3065
|
-
div[data-richtext-portal], div[data-richtext-portal] * {
|
|
3066
|
-
${Object.entries(m).map(([d, f]) => typeof s == "string" && d === "radius" ? `--${d}: ${s};` : `--${d}: ${f};`).join(`
|
|
3067
|
-
`)}
|
|
3068
|
-
}
|
|
3069
|
-
`, "richtext-theme", {
|
|
3070
|
-
priority: 50
|
|
3071
|
-
}), () => {
|
|
3072
|
-
Ho("richtext-theme");
|
|
3073
|
-
};
|
|
3074
|
-
}, [e, t, s]);
|
|
3075
|
-
const l = (c) => {
|
|
3076
|
-
r(c.detail);
|
|
3077
|
-
}, i = (c) => {
|
|
3078
|
-
o(c.detail);
|
|
3079
|
-
}, u = (c) => {
|
|
3080
|
-
n(c.detail);
|
|
3081
|
-
};
|
|
3082
|
-
return V(() => {
|
|
3083
|
-
const c = j(B.CHANGE_THEME, l), g = j(B.CHANGE_COLOR, i), m = j(B.CHANGE_BORDER_RADIUS, u);
|
|
3084
|
-
return () => {
|
|
3085
|
-
c(), g(), m();
|
|
3086
|
-
};
|
|
3087
|
-
}, []), /* @__PURE__ */ a(te, {});
|
|
3088
|
-
}
|
|
3089
|
-
function Jo({ editor: e, children: r, id: t }) {
|
|
3090
|
-
return /* @__PURE__ */ A(Lo, { children: [
|
|
3091
|
-
/* @__PURE__ */ a(
|
|
3092
|
-
No,
|
|
3093
|
-
{
|
|
3094
|
-
editor: e,
|
|
3095
|
-
id: t,
|
|
3096
|
-
children: r
|
|
3097
|
-
}
|
|
3098
|
-
),
|
|
3099
|
-
/* @__PURE__ */ a(Po, {}),
|
|
3100
|
-
/* @__PURE__ */ a(Io, {})
|
|
3101
|
-
] });
|
|
2308
|
+
}
|
|
2309
|
+
}));
|
|
2310
|
+
function Ke() {
|
|
2311
|
+
return Ue((r) => r.value);
|
|
3102
2312
|
}
|
|
3103
2313
|
export {
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
Jo as P,
|
|
3108
|
-
ko as T,
|
|
3109
|
-
So as a,
|
|
3110
|
-
Re as b,
|
|
3111
|
-
oe as c,
|
|
3112
|
-
zo as d,
|
|
3113
|
-
Xo as e,
|
|
3114
|
-
He as f,
|
|
3115
|
-
Kr as g,
|
|
3116
|
-
Jr as h,
|
|
3117
|
-
Co as i,
|
|
3118
|
-
Q as j,
|
|
3119
|
-
qo as k,
|
|
3120
|
-
go as l,
|
|
3121
|
-
Ho as r,
|
|
3122
|
-
To as u
|
|
2314
|
+
Ke as a,
|
|
2315
|
+
He as c,
|
|
2316
|
+
Ue as u
|
|
3123
2317
|
};
|