reactjs-tiptap-editor 1.0.10 → 1.0.11

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.
Files changed (141) hide show
  1. package/lib/{ActionMenuButton-BPdRqzDX.cjs → ActionMenuButton-BLlse5KO.cjs} +1 -1
  2. package/lib/{ActionMenuButton-CKTxYtl7.js → ActionMenuButton-DTXFBdGX.js} +2 -2
  3. package/lib/Attachment.cjs +1 -1
  4. package/lib/Attachment.js +2 -2
  5. package/lib/Blockquote.cjs +1 -1
  6. package/lib/Blockquote.js +2 -2
  7. package/lib/Bold.cjs +1 -1
  8. package/lib/Bold.js +2 -2
  9. package/lib/BulletList.cjs +1 -1
  10. package/lib/BulletList.js +2 -2
  11. package/lib/Clear.cjs +1 -1
  12. package/lib/Clear.js +2 -2
  13. package/lib/Code.cjs +1 -1
  14. package/lib/Code.js +2 -2
  15. package/lib/CodeBlock.cjs +39 -39
  16. package/lib/CodeBlock.js +945 -837
  17. package/lib/CodeView.cjs +1 -1
  18. package/lib/CodeView.js +2 -2
  19. package/lib/Color.cjs +1 -1
  20. package/lib/Color.js +4 -4
  21. package/lib/Column.cjs +1 -1
  22. package/lib/Column.js +2 -2
  23. package/lib/{Drawer-Cfx115up.js → Drawer-D0yQ0wR7.js} +12 -12
  24. package/lib/{Drawer-hHj4Opkg.cjs → Drawer-kv6BU_6O.cjs} +1 -1
  25. package/lib/Drawer.cjs +1 -1
  26. package/lib/Drawer.js +1 -1
  27. package/lib/Emoji.cjs +1 -1
  28. package/lib/Emoji.js +11 -11
  29. package/lib/{Excalidraw-8pWJ17Ye.cjs → Excalidraw-B82ThkJA.cjs} +1 -1
  30. package/lib/{Excalidraw-CO93Tsmb.js → Excalidraw-CO4IRHmG.js} +17 -17
  31. package/lib/Excalidraw.cjs +1 -1
  32. package/lib/Excalidraw.js +1 -1
  33. package/lib/ExportPdf.cjs +1 -1
  34. package/lib/ExportPdf.js +2 -2
  35. package/lib/ExportWord.cjs +1 -1
  36. package/lib/ExportWord.js +2 -2
  37. package/lib/FontFamily.cjs +1 -1
  38. package/lib/FontFamily.js +4 -4
  39. package/lib/FontSize.cjs +1 -1
  40. package/lib/FontSize.js +4 -4
  41. package/lib/Heading.cjs +1 -1
  42. package/lib/Heading.js +12 -12
  43. package/lib/Highlight.cjs +1 -1
  44. package/lib/Highlight.js +4 -4
  45. package/lib/History.cjs +1 -1
  46. package/lib/History.js +2 -2
  47. package/lib/HorizontalRule.cjs +1 -1
  48. package/lib/HorizontalRule.js +2 -2
  49. package/lib/{Icon-D7GJZzoa.js → Icon-DRuJhcHK.js} +1 -1
  50. package/lib/{Icon-gtc3g-VK.cjs → Icon-DXePECFW.cjs} +1 -1
  51. package/lib/{Iframe-BmXO2c65.cjs → Iframe-03dn9wcM.cjs} +1 -1
  52. package/lib/{Iframe-DwhclppJ.js → Iframe-BEO28NPs.js} +10 -10
  53. package/lib/Iframe.cjs +1 -1
  54. package/lib/Iframe.js +1 -1
  55. package/lib/Image.cjs +1 -1
  56. package/lib/Image.js +43 -43
  57. package/lib/ImageGif.cjs +1 -1
  58. package/lib/ImageGif.js +6 -6
  59. package/lib/ImportWord.cjs +2 -2
  60. package/lib/ImportWord.js +7 -7
  61. package/lib/{Indent-BOsymiZ7.js → Indent-CXurBbOr.js} +2 -2
  62. package/lib/{Indent-DPkMWfcv.cjs → Indent-Cqjdn3Jt.cjs} +1 -1
  63. package/lib/Indent.cjs +1 -1
  64. package/lib/Indent.js +1 -1
  65. package/lib/Italic.cjs +1 -1
  66. package/lib/Italic.js +2 -2
  67. package/lib/{Katex-BYK-b9X2.js → Katex-Bvj469K1.js} +22 -22
  68. package/lib/{Katex-B1XbT8-X.cjs → Katex-DdWTV5NJ.cjs} +2 -2
  69. package/lib/Katex.cjs +1 -1
  70. package/lib/Katex.js +1 -1
  71. package/lib/LineHeight.cjs +1 -1
  72. package/lib/LineHeight.js +11 -11
  73. package/lib/Link.cjs +1 -1
  74. package/lib/Link.js +1 -1
  75. package/lib/{LinkEditBlock-4-iRXH7m.cjs → LinkEditBlock-8ePAZ-G1.cjs} +2 -2
  76. package/lib/{LinkEditBlock-DgrLUMsJ.js → LinkEditBlock-DjXUEubR.js} +29 -29
  77. package/lib/Mermaid.cjs +2 -2
  78. package/lib/Mermaid.js +18 -18
  79. package/lib/MoreMark.cjs +1 -1
  80. package/lib/MoreMark.js +10 -10
  81. package/lib/OrderedList.cjs +1 -1
  82. package/lib/OrderedList.js +2 -2
  83. package/lib/SearchAndReplace.cjs +1 -1
  84. package/lib/SearchAndReplace.js +15 -15
  85. package/lib/SlashCommand.cjs +1 -1
  86. package/lib/SlashCommand.js +2 -2
  87. package/lib/{SlashCommandNodeView-CQvMTXys.cjs → SlashCommandNodeView-Bl_gwZJB.cjs} +1 -1
  88. package/lib/{SlashCommandNodeView-BpNNU7Sm.js → SlashCommandNodeView-CcqL8ymb.js} +12 -12
  89. package/lib/Strike.cjs +1 -1
  90. package/lib/Strike.js +2 -2
  91. package/lib/{Table-CT9R9Sdq.js → Table-9Y0Cg8Ab.js} +3 -3
  92. package/lib/{Table-LnWGm2m8.cjs → Table-DBGjezZK.cjs} +1 -1
  93. package/lib/Table.cjs +1 -1
  94. package/lib/Table.js +1 -1
  95. package/lib/TaskList.cjs +1 -1
  96. package/lib/TaskList.js +2 -2
  97. package/lib/TextAlign.cjs +1 -1
  98. package/lib/TextAlign.js +9 -9
  99. package/lib/TextDirection.cjs +1 -1
  100. package/lib/TextDirection.js +9 -9
  101. package/lib/TextUnderline.cjs +1 -1
  102. package/lib/TextUnderline.js +2 -2
  103. package/lib/{Twitter-Bo4JkBTL.cjs → Twitter-Cnvt7GBg.cjs} +1 -1
  104. package/lib/{Twitter-mowilxRd.js → Twitter-DWwd0vHR.js} +16 -16
  105. package/lib/Twitter.cjs +1 -1
  106. package/lib/Twitter.js +1 -1
  107. package/lib/Video.cjs +1 -1
  108. package/lib/Video.js +21 -21
  109. package/lib/bubble.cjs +4 -4
  110. package/lib/bubble.js +383 -389
  111. package/lib/{button-wt49IYwP.cjs → button-BW5bDPz_.cjs} +1 -1
  112. package/lib/{button-CBO-WDXK.js → button-RnHbJfd-.js} +1 -1
  113. package/lib/{checkbox-D1h32VWM.js → checkbox-CLSoR1Qj.js} +1 -1
  114. package/lib/{checkbox-DUcLSGZD.cjs → checkbox-CTEN0q4y.cjs} +1 -1
  115. package/lib/{dialog-DY868Uji.cjs → dialog-CMC9hsCo.cjs} +1 -1
  116. package/lib/{dialog-DSvgtlDI.js → dialog-D_HCtKvc.js} +1 -1
  117. package/lib/{dropdown-menu-B88Qn2KR.js → dropdown-menu-66q7Ofc5.js} +1 -1
  118. package/lib/{dropdown-menu-BripAeGB.cjs → dropdown-menu-DKSAS-w_.cjs} +1 -1
  119. package/lib/{index-BIqaogQg.js → index-C3zg3DPB.js} +669 -743
  120. package/lib/index-C838s-or.cjs +8 -0
  121. package/lib/index.cjs +1 -1
  122. package/lib/index.js +1 -1
  123. package/lib/{input-Bx4uo4gO.js → input-CvyMYMZG.js} +1 -1
  124. package/lib/{input-BeD5GdMv.cjs → input-D555880-.cjs} +1 -1
  125. package/lib/{label-uKG7RzFU.js → label-DsOYPjAo.js} +1 -1
  126. package/lib/{label--161UPH6.cjs → label-E6jF3Xud.cjs} +1 -1
  127. package/lib/{popover-BVX8otO9.js → popover-B7ec5-u2.js} +1 -1
  128. package/lib/{popover-Csk538NC.cjs → popover-BSzR_R01.cjs} +1 -1
  129. package/lib/{separator-DtrEdjAF.js → separator-JaTTqb3J.js} +18 -18
  130. package/lib/{separator-DLRVddHS.cjs → separator-PGnA-6Hr.cjs} +1 -1
  131. package/lib/{store-CsIFDUKR.js → store-Cf7tFiiI.js} +1 -1
  132. package/lib/{store-B8IkVz1J.cjs → store-oDk-lTPM.cjs} +1 -1
  133. package/lib/style.css +1 -1
  134. package/lib/{tabs-DOasUMDU.cjs → tabs-BTwiZkWd.cjs} +1 -1
  135. package/lib/{tabs-BKpr0QQB.js → tabs-CWr9HYaM.js} +1 -1
  136. package/lib/{textarea-Ba9OOzba.js → textarea-BdeLXbp8.js} +1 -1
  137. package/lib/{textarea-D9egO4qC.cjs → textarea-Yetl_PZi.cjs} +1 -1
  138. package/lib/{useButtonProps-DEtmDVPr.cjs → useButtonProps-DfnJiJLV.cjs} +1 -1
  139. package/lib/{useButtonProps-C_bqxmHi.js → useButtonProps-cMoicZgd.js} +1 -1
  140. package/package.json +1 -1
  141. package/lib/index-BvIJKpX1.cjs +0 -8
@@ -1,51 +1,50 @@
1
- import { jsxs as z, jsx as i, Fragment as ne } from "react/jsx-runtime";
2
- import * as N from "react";
3
- import _e, { useCallback as E, useState as Ue, useEffect as T, useRef as te, createContext as Fe, useContext as De, useSyncExternalStore as Xe, memo as qe } from "react";
4
- import { Slot as Je } from "@radix-ui/react-slot";
5
- import { x as Ke, a as Qe } from "./index-0OnGZkVF.js";
6
- import { THEME as fe } from "./theme.js";
7
- import { l as W, E as O } from "./events.constant-wrlJ_7JZ.js";
1
+ import { jsxs as A, jsx as a, Fragment as te } from "react/jsx-runtime";
2
+ import * as ze from "react";
3
+ import Be, { useCallback as S, useState as Ge, useEffect as V, useRef as Y, createContext as Oe, useContext as We, useSyncExternalStore as $e, memo as _e } from "react";
4
+ import { Slot as Fe } from "@radix-ui/react-slot";
5
+ import { x as Ue, a as De } from "./index-0OnGZkVF.js";
6
+ import { THEME as ge } from "./theme.js";
7
+ import { l as j, E as B } from "./events.constant-wrlJ_7JZ.js";
8
+ import * as G from "@radix-ui/react-tooltip";
8
9
  import * as Me from "@radix-ui/react-toggle";
9
- import * as $ from "@radix-ui/react-tooltip";
10
- import * as v from "@radix-ui/react-select";
11
- import { ExternalLink as Ye, X as Ze, Loader2 as et, WrapText as tt, PencilRuler as rt, FlipHorizontal as ot, FlipVertical as nt, CropIcon as it, ChevronUp as Le, Paperclip as st, Eye as ct, Settings as at, ZoomOut as lt, ZoomIn as dt, BookMarked as ut, Sigma as ht, SmilePlusIcon as mt, Replace as xe, SmilePlus as pt, Frame as gt, Columns2 as be, PanelRight as ft, PanelLeft as xt, Clipboard as bt, Copy as wt, GripVertical as vt, Plus as yt, Columns4 as Ct, Columns3 as St, Heading6 as zt, Heading5 as kt, Heading4 as Mt, Heading3 as Lt, Heading2 as Et, Heading1 as Nt, Pilcrow as At, ChevronsUpDown as Rt, Trash as Tt, Trash2 as Vt, TableCellsSplit as It, TableCellsMerge as Ht, BetweenVerticalEnd as Pt, BetweenVerticalStart as jt, BetweenHorizonalStart as Bt, BetweenHorizonalEnd as Gt, Unlink as Wt, Pencil as Ot, Sparkles as $t, Table as _t, Minimize as Ut, Maximize as Ft, 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 ie, Undo2 as ir, Redo2 as sr, PaintRoller as cr, Eraser as ar, Minus as lr, Strikethrough as dr, Quote as ur, Underline as hr, Italic as mr, LoaderCircle as pr, Bold as gr, Check as fr } from "lucide-react";
12
- import { TextAlignRightIcon as xr, TextAlignLeftIcon as br, TextAlignJustifyIcon as wr, TextAlignCenterIcon as vr } from "@radix-ui/react-icons";
13
- import { C as Ee } from "./index-sVScpCFG.js";
14
- const se = "-", yr = (e) => {
15
- const r = Sr(e), {
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), {
16
15
  conflictingClassGroups: t,
17
16
  conflictingClassGroupModifiers: o
18
17
  } = e;
19
18
  return {
20
- getClassGroupId: (a) => {
21
- const c = a.split(se);
22
- return c[0] === "" && c.length !== 1 && c.shift(), Ne(c, r) || Cr(a);
19
+ getClassGroupId: (l) => {
20
+ const i = l.split(re);
21
+ return i[0] === "" && i.length !== 1 && i.shift(), Se(i, r) || vr(l);
23
22
  },
24
- getConflictingClassGroupIds: (a, c) => {
25
- const u = t[a] || [];
26
- return c && o[a] ? [...u, ...o[a]] : u;
23
+ getConflictingClassGroupIds: (l, i) => {
24
+ const u = t[l] || [];
25
+ return i && o[l] ? [...u, ...o[l]] : u;
27
26
  }
28
27
  };
29
- }, Ne = (e, r) => {
30
- var a;
28
+ }, Se = (e, r) => {
29
+ var l;
31
30
  if (e.length === 0)
32
31
  return r.classGroupId;
33
- const t = e[0], o = r.nextPart.get(t), s = o ? Ne(e.slice(1), o) : void 0;
32
+ const t = e[0], o = r.nextPart.get(t), s = o ? Se(e.slice(1), o) : void 0;
34
33
  if (s)
35
34
  return s;
36
35
  if (r.validators.length === 0)
37
36
  return;
38
- const n = e.join(se);
39
- return (a = r.validators.find(({
40
- validator: c
41
- }) => c(n))) == null ? void 0 : a.classGroupId;
42
- }, we = /^\[(.+)\]$/, Cr = (e) => {
43
- if (we.test(e)) {
44
- const r = we.exec(e)[1], t = r == null ? void 0 : r.substring(0, r.indexOf(":"));
37
+ const n = e.join(re);
38
+ return (l = r.validators.find(({
39
+ validator: i
40
+ }) => i(n))) == null ? void 0 : l.classGroupId;
41
+ }, fe = /^\[(.+)\]$/, vr = (e) => {
42
+ if (fe.test(e)) {
43
+ const r = fe.exec(e)[1], t = r == null ? void 0 : r.substring(0, r.indexOf(":"));
45
44
  if (t)
46
45
  return "arbitrary.." + t;
47
46
  }
48
- }, Sr = (e) => {
47
+ }, wr = (e) => {
49
48
  const {
50
49
  theme: r,
51
50
  prefix: t
@@ -53,19 +52,19 @@ const se = "-", yr = (e) => {
53
52
  nextPart: /* @__PURE__ */ new Map(),
54
53
  validators: []
55
54
  };
56
- return kr(Object.entries(e.classGroups), t).forEach(([n, a]) => {
57
- re(a, o, n, r);
55
+ return yr(Object.entries(e.classGroups), t).forEach(([n, l]) => {
56
+ Z(l, o, n, r);
58
57
  }), o;
59
- }, re = (e, r, t, o) => {
58
+ }, Z = (e, r, t, o) => {
60
59
  e.forEach((s) => {
61
60
  if (typeof s == "string") {
62
- const n = s === "" ? r : ve(r, s);
61
+ const n = s === "" ? r : be(r, s);
63
62
  n.classGroupId = t;
64
63
  return;
65
64
  }
66
65
  if (typeof s == "function") {
67
- if (zr(s)) {
68
- re(s(o), r, t, o);
66
+ if (xr(s)) {
67
+ Z(s(o), r, t, o);
69
68
  return;
70
69
  }
71
70
  r.validators.push({
@@ -74,22 +73,22 @@ const se = "-", yr = (e) => {
74
73
  });
75
74
  return;
76
75
  }
77
- Object.entries(s).forEach(([n, a]) => {
78
- re(a, ve(r, n), t, o);
76
+ Object.entries(s).forEach(([n, l]) => {
77
+ Z(l, be(r, n), t, o);
79
78
  });
80
79
  });
81
- }, ve = (e, r) => {
80
+ }, be = (e, r) => {
82
81
  let t = e;
83
- return r.split(se).forEach((o) => {
82
+ return r.split(re).forEach((o) => {
84
83
  t.nextPart.has(o) || t.nextPart.set(o, {
85
84
  nextPart: /* @__PURE__ */ new Map(),
86
85
  validators: []
87
86
  }), t = t.nextPart.get(o);
88
87
  }), t;
89
- }, zr = (e) => e.isThemeGetter, kr = (e, r) => r ? e.map(([t, o]) => {
90
- const s = o.map((n) => typeof n == "string" ? r + n : typeof n == "object" ? Object.fromEntries(Object.entries(n).map(([a, c]) => [r + a, c])) : n);
88
+ }, xr = (e) => e.isThemeGetter, yr = (e, r) => r ? e.map(([t, o]) => {
89
+ const s = o.map((n) => typeof n == "string" ? r + n : typeof n == "object" ? Object.fromEntries(Object.entries(n).map(([l, i]) => [r + l, i])) : n);
91
90
  return [t, s];
92
- }) : e, Mr = (e) => {
91
+ }) : e, Cr = (e) => {
93
92
  if (e < 1)
94
93
  return {
95
94
  get: () => {
@@ -98,55 +97,55 @@ const se = "-", yr = (e) => {
98
97
  }
99
98
  };
100
99
  let r = 0, t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
101
- const s = (n, a) => {
102
- t.set(n, a), r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ new Map());
100
+ const s = (n, l) => {
101
+ t.set(n, l), r++, r > e && (r = 0, o = t, t = /* @__PURE__ */ new Map());
103
102
  };
104
103
  return {
105
104
  get(n) {
106
- let a = t.get(n);
107
- if (a !== void 0)
108
- return a;
109
- if ((a = o.get(n)) !== void 0)
110
- return s(n, a), a;
105
+ let l = t.get(n);
106
+ if (l !== void 0)
107
+ return l;
108
+ if ((l = o.get(n)) !== void 0)
109
+ return s(n, l), l;
111
110
  },
112
- set(n, a) {
113
- t.has(n) ? t.set(n, a) : s(n, a);
111
+ set(n, l) {
112
+ t.has(n) ? t.set(n, l) : s(n, l);
114
113
  }
115
114
  };
116
- }, Ae = "!", Lr = (e) => {
115
+ }, Le = "!", zr = (e) => {
117
116
  const {
118
117
  separator: r,
119
118
  experimentalParseClassName: t
120
- } = e, o = r.length === 1, s = r[0], n = r.length, a = (c) => {
119
+ } = e, o = r.length === 1, s = r[0], n = r.length, l = (i) => {
121
120
  const u = [];
122
- let d = 0, m = 0, p;
123
- for (let g = 0; g < c.length; g++) {
124
- let y = c[g];
125
- if (d === 0) {
126
- if (y === s && (o || c.slice(g, g + n) === r)) {
127
- u.push(c.slice(m, g)), m = g + n;
121
+ let c = 0, g = 0, m;
122
+ for (let p = 0; p < i.length; p++) {
123
+ let x = i[p];
124
+ if (c === 0) {
125
+ if (x === s && (o || i.slice(p, p + n) === r)) {
126
+ u.push(i.slice(g, p)), g = p + n;
128
127
  continue;
129
128
  }
130
- if (y === "/") {
131
- p = g;
129
+ if (x === "/") {
130
+ m = p;
132
131
  continue;
133
132
  }
134
133
  }
135
- y === "[" ? d++ : y === "]" && d--;
134
+ x === "[" ? c++ : x === "]" && c--;
136
135
  }
137
- const l = u.length === 0 ? c : c.substring(m), f = l.startsWith(Ae), C = f ? l.substring(1) : l, b = p && p > m ? p - m : void 0;
136
+ const d = u.length === 0 ? i : i.substring(g), f = d.startsWith(Le), y = f ? d.substring(1) : d, v = m && m > g ? m - g : void 0;
138
137
  return {
139
138
  modifiers: u,
140
139
  hasImportantModifier: f,
141
- baseClassName: C,
142
- maybePostfixModifierPosition: b
140
+ baseClassName: y,
141
+ maybePostfixModifierPosition: v
143
142
  };
144
143
  };
145
- return t ? (c) => t({
146
- className: c,
147
- parseClassName: a
148
- }) : a;
149
- }, Er = (e) => {
144
+ return t ? (i) => t({
145
+ className: i,
146
+ parseClassName: l
147
+ }) : l;
148
+ }, Mr = (e) => {
150
149
  if (e.length <= 1)
151
150
  return e;
152
151
  const r = [];
@@ -154,119 +153,119 @@ const se = "-", yr = (e) => {
154
153
  return e.forEach((o) => {
155
154
  o[0] === "[" ? (r.push(...t.sort(), o), t = []) : t.push(o);
156
155
  }), r.push(...t.sort()), r;
157
- }, Nr = (e) => ({
158
- cache: Mr(e.cacheSize),
159
- parseClassName: Lr(e),
160
- ...yr(e)
161
- }), Ar = /\s+/, Rr = (e, r) => {
156
+ }, kr = (e) => ({
157
+ cache: Cr(e.cacheSize),
158
+ parseClassName: zr(e),
159
+ ...br(e)
160
+ }), Sr = /\s+/, Lr = (e, r) => {
162
161
  const {
163
162
  parseClassName: t,
164
163
  getClassGroupId: o,
165
164
  getConflictingClassGroupIds: s
166
- } = r, n = [], a = e.trim().split(Ar);
167
- let c = "";
168
- for (let u = a.length - 1; u >= 0; u -= 1) {
169
- const d = a[u], {
170
- modifiers: m,
171
- hasImportantModifier: p,
172
- baseClassName: l,
165
+ } = r, n = [], l = e.trim().split(Sr);
166
+ let i = "";
167
+ for (let u = l.length - 1; u >= 0; u -= 1) {
168
+ const c = l[u], {
169
+ modifiers: g,
170
+ hasImportantModifier: m,
171
+ baseClassName: d,
173
172
  maybePostfixModifierPosition: f
174
- } = t(d);
175
- let C = !!f, b = o(C ? l.substring(0, f) : l);
176
- if (!b) {
177
- if (!C) {
178
- c = d + (c.length > 0 ? " " + c : c);
173
+ } = t(c);
174
+ let y = !!f, v = o(y ? d.substring(0, f) : d);
175
+ if (!v) {
176
+ if (!y) {
177
+ i = c + (i.length > 0 ? " " + i : i);
179
178
  continue;
180
179
  }
181
- if (b = o(l), !b) {
182
- c = d + (c.length > 0 ? " " + c : c);
180
+ if (v = o(d), !v) {
181
+ i = c + (i.length > 0 ? " " + i : i);
183
182
  continue;
184
183
  }
185
- C = !1;
184
+ y = !1;
186
185
  }
187
- const g = Er(m).join(":"), y = p ? g + Ae : g, S = y + b;
188
- if (n.includes(S))
186
+ const p = Mr(g).join(":"), x = m ? p + Le : p, C = x + v;
187
+ if (n.includes(C))
189
188
  continue;
190
- n.push(S);
191
- const P = s(b, C);
192
- for (let V = 0; V < P.length; ++V) {
193
- const _ = P[V];
194
- n.push(y + _);
189
+ n.push(C);
190
+ const H = s(v, y);
191
+ for (let z = 0; z < H.length; ++z) {
192
+ const O = H[z];
193
+ n.push(x + O);
195
194
  }
196
- c = d + (c.length > 0 ? " " + c : c);
195
+ i = c + (i.length > 0 ? " " + i : i);
197
196
  }
198
- return c;
197
+ return i;
199
198
  };
200
- function Tr() {
199
+ function Er() {
201
200
  let e = 0, r, t, o = "";
202
201
  for (; e < arguments.length; )
203
- (r = arguments[e++]) && (t = Re(r)) && (o && (o += " "), o += t);
202
+ (r = arguments[e++]) && (t = Ee(r)) && (o && (o += " "), o += t);
204
203
  return o;
205
204
  }
206
- const Re = (e) => {
205
+ const Ee = (e) => {
207
206
  if (typeof e == "string")
208
207
  return e;
209
208
  let r, t = "";
210
209
  for (let o = 0; o < e.length; o++)
211
- e[o] && (r = Re(e[o])) && (t && (t += " "), t += r);
210
+ e[o] && (r = Ee(e[o])) && (t && (t += " "), t += r);
212
211
  return t;
213
212
  };
214
- function Vr(e, ...r) {
215
- let t, o, s, n = a;
216
- function a(u) {
217
- const d = r.reduce((m, p) => p(m), e());
218
- return t = Nr(d), o = t.cache.get, s = t.cache.set, n = c, c(u);
213
+ function Ar(e, ...r) {
214
+ let t, o, s, n = l;
215
+ function l(u) {
216
+ const c = r.reduce((g, m) => m(g), e());
217
+ return t = kr(c), o = t.cache.get, s = t.cache.set, n = i, i(u);
219
218
  }
220
- function c(u) {
221
- const d = o(u);
222
- if (d)
223
- return d;
224
- const m = Rr(u, t);
225
- return s(u, m), m;
219
+ function i(u) {
220
+ const c = o(u);
221
+ if (c)
222
+ return c;
223
+ const g = Lr(u, t);
224
+ return s(u, g), g;
226
225
  }
227
226
  return function() {
228
- return n(Tr.apply(null, arguments));
227
+ return n(Er.apply(null, arguments));
229
228
  };
230
229
  }
231
- const x = (e) => {
230
+ const b = (e) => {
232
231
  const r = (t) => t[e] || [];
233
232
  return r.isThemeGetter = !0, r;
234
- }, Te = /^\[(?:([a-z-]+):)?(.+)\]$/i, Ir = /^\d+\/\d+$/, Hr = /* @__PURE__ */ new Set(["px", "full", "screen"]), Pr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, jr = /\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$/, Br = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Gr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Wr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, L = (e) => I(e) || Hr.has(e) || Ir.test(e), A = (e) => H(e, "length", qr), I = (e) => !!e && !Number.isNaN(Number(e)), K = (e) => H(e, "number", I), B = (e) => !!e && Number.isInteger(Number(e)), Or = (e) => e.endsWith("%") && I(e.slice(0, -1)), h = (e) => Te.test(e), R = (e) => Pr.test(e), $r = /* @__PURE__ */ new Set(["length", "size", "percentage"]), _r = (e) => H(e, $r, Ve), Ur = (e) => H(e, "position", Ve), Fr = /* @__PURE__ */ new Set(["image", "url"]), Dr = (e) => H(e, Fr, Kr), Xr = (e) => H(e, "", Jr), G = () => !0, H = (e, r, t) => {
235
- const o = Te.exec(e);
233
+ }, Ae = /^\[(?:([a-z-]+):)?(.+)\]$/i, Vr = /^\d+\/\d+$/, Hr = /* @__PURE__ */ new Set(["px", "full", "screen"]), Rr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Tr = /\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$/, Nr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Pr = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ir = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, k = (e) => R(e) || Hr.has(e) || Vr.test(e), L = (e) => T(e, "length", Fr), R = (e) => !!e && !Number.isNaN(Number(e)), X = (e) => T(e, "number", R), P = (e) => !!e && Number.isInteger(Number(e)), jr = (e) => e.endsWith("%") && R(e.slice(0, -1)), h = (e) => Ae.test(e), E = (e) => Rr.test(e), Br = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Gr = (e) => T(e, Br, Ve), Or = (e) => T(e, "position", Ve), Wr = /* @__PURE__ */ new Set(["image", "url"]), $r = (e) => T(e, Wr, Dr), _r = (e) => T(e, "", Ur), I = () => !0, T = (e, r, t) => {
234
+ const o = Ae.exec(e);
236
235
  return o ? o[1] ? typeof r == "string" ? o[1] === r : r.has(o[1]) : t(o[2]) : !1;
237
- }, qr = (e) => (
236
+ }, Fr = (e) => (
238
237
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
239
238
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
240
239
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
241
- jr.test(e) && !Br.test(e)
242
- ), Ve = () => !1, Jr = (e) => Gr.test(e), Kr = (e) => Wr.test(e), Qr = () => {
243
- const e = x("colors"), r = x("spacing"), t = x("blur"), o = x("brightness"), s = x("borderColor"), n = x("borderRadius"), a = x("borderSpacing"), c = x("borderWidth"), u = x("contrast"), d = x("grayscale"), m = x("hueRotate"), p = x("invert"), l = x("gap"), f = x("gradientColorStops"), C = x("gradientColorStopPositions"), b = x("inset"), g = x("margin"), y = x("opacity"), S = x("padding"), P = x("saturate"), V = x("scale"), _ = x("sepia"), le = x("skew"), de = x("space"), ue = x("translate"), D = () => ["auto", "contain", "none"], X = () => ["auto", "hidden", "clip", "visible", "scroll"], q = () => ["auto", h, r], w = () => [h, r], he = () => ["", L, A], U = () => ["auto", I, h], me = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], F = () => ["solid", "dashed", "dotted", "double", "none"], pe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], J = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], j = () => ["", "0", h], ge = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], M = () => [I, h];
240
+ Tr.test(e) && !Nr.test(e)
241
+ ), Ve = () => !1, Ur = (e) => Pr.test(e), Dr = (e) => Ir.test(e), Xr = () => {
242
+ const e = b("colors"), r = b("spacing"), t = b("blur"), o = b("brightness"), s = b("borderColor"), n = b("borderRadius"), l = b("borderSpacing"), i = b("borderWidth"), u = b("contrast"), c = b("grayscale"), g = b("hueRotate"), m = b("invert"), d = b("gap"), f = b("gradientColorStops"), y = b("gradientColorStopPositions"), v = b("inset"), p = b("margin"), x = b("opacity"), C = b("padding"), H = b("saturate"), z = b("scale"), O = b("sepia"), se = b("skew"), le = b("space"), ae = b("translate"), _ = () => ["auto", "contain", "none"], F = () => ["auto", "hidden", "clip", "visible", "scroll"], U = () => ["auto", h, r], w = () => [h, r], ce = () => ["", k, L], W = () => ["auto", R, h], de = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], $ = () => ["solid", "dashed", "dotted", "double", "none"], ue = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], D = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], N = () => ["", "0", h], he = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], M = () => [R, h];
244
243
  return {
245
244
  cacheSize: 500,
246
245
  separator: ":",
247
246
  theme: {
248
- colors: [G],
249
- spacing: [L, A],
250
- blur: ["none", "", R, h],
247
+ colors: [I],
248
+ spacing: [k, L],
249
+ blur: ["none", "", E, h],
251
250
  brightness: M(),
252
251
  borderColor: [e],
253
- borderRadius: ["none", "", "full", R, h],
252
+ borderRadius: ["none", "", "full", E, h],
254
253
  borderSpacing: w(),
255
- borderWidth: he(),
254
+ borderWidth: ce(),
256
255
  contrast: M(),
257
- grayscale: j(),
256
+ grayscale: N(),
258
257
  hueRotate: M(),
259
- invert: j(),
258
+ invert: N(),
260
259
  gap: w(),
261
260
  gradientColorStops: [e],
262
- gradientColorStopPositions: [Or, A],
263
- inset: q(),
264
- margin: q(),
261
+ gradientColorStopPositions: [jr, L],
262
+ inset: U(),
263
+ margin: U(),
265
264
  opacity: M(),
266
265
  padding: w(),
267
266
  saturate: M(),
268
267
  scale: M(),
269
- sepia: j(),
268
+ sepia: N(),
270
269
  skew: M(),
271
270
  space: w(),
272
271
  translate: w()
@@ -290,21 +289,21 @@ const x = (e) => {
290
289
  * @see https://tailwindcss.com/docs/columns
291
290
  */
292
291
  columns: [{
293
- columns: [R]
292
+ columns: [E]
294
293
  }],
295
294
  /**
296
295
  * Break After
297
296
  * @see https://tailwindcss.com/docs/break-after
298
297
  */
299
298
  "break-after": [{
300
- "break-after": ge()
299
+ "break-after": he()
301
300
  }],
302
301
  /**
303
302
  * Break Before
304
303
  * @see https://tailwindcss.com/docs/break-before
305
304
  */
306
305
  "break-before": [{
307
- "break-before": ge()
306
+ "break-before": he()
308
307
  }],
309
308
  /**
310
309
  * Break Inside
@@ -363,49 +362,49 @@ const x = (e) => {
363
362
  * @see https://tailwindcss.com/docs/object-position
364
363
  */
365
364
  "object-position": [{
366
- object: [...me(), h]
365
+ object: [...de(), h]
367
366
  }],
368
367
  /**
369
368
  * Overflow
370
369
  * @see https://tailwindcss.com/docs/overflow
371
370
  */
372
371
  overflow: [{
373
- overflow: X()
372
+ overflow: F()
374
373
  }],
375
374
  /**
376
375
  * Overflow X
377
376
  * @see https://tailwindcss.com/docs/overflow
378
377
  */
379
378
  "overflow-x": [{
380
- "overflow-x": X()
379
+ "overflow-x": F()
381
380
  }],
382
381
  /**
383
382
  * Overflow Y
384
383
  * @see https://tailwindcss.com/docs/overflow
385
384
  */
386
385
  "overflow-y": [{
387
- "overflow-y": X()
386
+ "overflow-y": F()
388
387
  }],
389
388
  /**
390
389
  * Overscroll Behavior
391
390
  * @see https://tailwindcss.com/docs/overscroll-behavior
392
391
  */
393
392
  overscroll: [{
394
- overscroll: D()
393
+ overscroll: _()
395
394
  }],
396
395
  /**
397
396
  * Overscroll Behavior X
398
397
  * @see https://tailwindcss.com/docs/overscroll-behavior
399
398
  */
400
399
  "overscroll-x": [{
401
- "overscroll-x": D()
400
+ "overscroll-x": _()
402
401
  }],
403
402
  /**
404
403
  * Overscroll Behavior Y
405
404
  * @see https://tailwindcss.com/docs/overscroll-behavior
406
405
  */
407
406
  "overscroll-y": [{
408
- "overscroll-y": D()
407
+ "overscroll-y": _()
409
408
  }],
410
409
  /**
411
410
  * Position
@@ -417,63 +416,63 @@ const x = (e) => {
417
416
  * @see https://tailwindcss.com/docs/top-right-bottom-left
418
417
  */
419
418
  inset: [{
420
- inset: [b]
419
+ inset: [v]
421
420
  }],
422
421
  /**
423
422
  * Right / Left
424
423
  * @see https://tailwindcss.com/docs/top-right-bottom-left
425
424
  */
426
425
  "inset-x": [{
427
- "inset-x": [b]
426
+ "inset-x": [v]
428
427
  }],
429
428
  /**
430
429
  * Top / Bottom
431
430
  * @see https://tailwindcss.com/docs/top-right-bottom-left
432
431
  */
433
432
  "inset-y": [{
434
- "inset-y": [b]
433
+ "inset-y": [v]
435
434
  }],
436
435
  /**
437
436
  * Start
438
437
  * @see https://tailwindcss.com/docs/top-right-bottom-left
439
438
  */
440
439
  start: [{
441
- start: [b]
440
+ start: [v]
442
441
  }],
443
442
  /**
444
443
  * End
445
444
  * @see https://tailwindcss.com/docs/top-right-bottom-left
446
445
  */
447
446
  end: [{
448
- end: [b]
447
+ end: [v]
449
448
  }],
450
449
  /**
451
450
  * Top
452
451
  * @see https://tailwindcss.com/docs/top-right-bottom-left
453
452
  */
454
453
  top: [{
455
- top: [b]
454
+ top: [v]
456
455
  }],
457
456
  /**
458
457
  * Right
459
458
  * @see https://tailwindcss.com/docs/top-right-bottom-left
460
459
  */
461
460
  right: [{
462
- right: [b]
461
+ right: [v]
463
462
  }],
464
463
  /**
465
464
  * Bottom
466
465
  * @see https://tailwindcss.com/docs/top-right-bottom-left
467
466
  */
468
467
  bottom: [{
469
- bottom: [b]
468
+ bottom: [v]
470
469
  }],
471
470
  /**
472
471
  * Left
473
472
  * @see https://tailwindcss.com/docs/top-right-bottom-left
474
473
  */
475
474
  left: [{
476
- left: [b]
475
+ left: [v]
477
476
  }],
478
477
  /**
479
478
  * Visibility
@@ -485,7 +484,7 @@ const x = (e) => {
485
484
  * @see https://tailwindcss.com/docs/z-index
486
485
  */
487
486
  z: [{
488
- z: ["auto", B, h]
487
+ z: ["auto", P, h]
489
488
  }],
490
489
  // Flexbox and Grid
491
490
  /**
@@ -493,7 +492,7 @@ const x = (e) => {
493
492
  * @see https://tailwindcss.com/docs/flex-basis
494
493
  */
495
494
  basis: [{
496
- basis: q()
495
+ basis: U()
497
496
  }],
498
497
  /**
499
498
  * Flex Direction
@@ -521,28 +520,28 @@ const x = (e) => {
521
520
  * @see https://tailwindcss.com/docs/flex-grow
522
521
  */
523
522
  grow: [{
524
- grow: j()
523
+ grow: N()
525
524
  }],
526
525
  /**
527
526
  * Flex Shrink
528
527
  * @see https://tailwindcss.com/docs/flex-shrink
529
528
  */
530
529
  shrink: [{
531
- shrink: j()
530
+ shrink: N()
532
531
  }],
533
532
  /**
534
533
  * Order
535
534
  * @see https://tailwindcss.com/docs/order
536
535
  */
537
536
  order: [{
538
- order: ["first", "last", "none", B, h]
537
+ order: ["first", "last", "none", P, h]
539
538
  }],
540
539
  /**
541
540
  * Grid Template Columns
542
541
  * @see https://tailwindcss.com/docs/grid-template-columns
543
542
  */
544
543
  "grid-cols": [{
545
- "grid-cols": [G]
544
+ "grid-cols": [I]
546
545
  }],
547
546
  /**
548
547
  * Grid Column Start / End
@@ -550,7 +549,7 @@ const x = (e) => {
550
549
  */
551
550
  "col-start-end": [{
552
551
  col: ["auto", {
553
- span: ["full", B, h]
552
+ span: ["full", P, h]
554
553
  }, h]
555
554
  }],
556
555
  /**
@@ -558,21 +557,21 @@ const x = (e) => {
558
557
  * @see https://tailwindcss.com/docs/grid-column
559
558
  */
560
559
  "col-start": [{
561
- "col-start": U()
560
+ "col-start": W()
562
561
  }],
563
562
  /**
564
563
  * Grid Column End
565
564
  * @see https://tailwindcss.com/docs/grid-column
566
565
  */
567
566
  "col-end": [{
568
- "col-end": U()
567
+ "col-end": W()
569
568
  }],
570
569
  /**
571
570
  * Grid Template Rows
572
571
  * @see https://tailwindcss.com/docs/grid-template-rows
573
572
  */
574
573
  "grid-rows": [{
575
- "grid-rows": [G]
574
+ "grid-rows": [I]
576
575
  }],
577
576
  /**
578
577
  * Grid Row Start / End
@@ -580,7 +579,7 @@ const x = (e) => {
580
579
  */
581
580
  "row-start-end": [{
582
581
  row: ["auto", {
583
- span: [B, h]
582
+ span: [P, h]
584
583
  }, h]
585
584
  }],
586
585
  /**
@@ -588,14 +587,14 @@ const x = (e) => {
588
587
  * @see https://tailwindcss.com/docs/grid-row
589
588
  */
590
589
  "row-start": [{
591
- "row-start": U()
590
+ "row-start": W()
592
591
  }],
593
592
  /**
594
593
  * Grid Row End
595
594
  * @see https://tailwindcss.com/docs/grid-row
596
595
  */
597
596
  "row-end": [{
598
- "row-end": U()
597
+ "row-end": W()
599
598
  }],
600
599
  /**
601
600
  * Grid Auto Flow
@@ -623,28 +622,28 @@ const x = (e) => {
623
622
  * @see https://tailwindcss.com/docs/gap
624
623
  */
625
624
  gap: [{
626
- gap: [l]
625
+ gap: [d]
627
626
  }],
628
627
  /**
629
628
  * Gap X
630
629
  * @see https://tailwindcss.com/docs/gap
631
630
  */
632
631
  "gap-x": [{
633
- "gap-x": [l]
632
+ "gap-x": [d]
634
633
  }],
635
634
  /**
636
635
  * Gap Y
637
636
  * @see https://tailwindcss.com/docs/gap
638
637
  */
639
638
  "gap-y": [{
640
- "gap-y": [l]
639
+ "gap-y": [d]
641
640
  }],
642
641
  /**
643
642
  * Justify Content
644
643
  * @see https://tailwindcss.com/docs/justify-content
645
644
  */
646
645
  "justify-content": [{
647
- justify: ["normal", ...J()]
646
+ justify: ["normal", ...D()]
648
647
  }],
649
648
  /**
650
649
  * Justify Items
@@ -665,7 +664,7 @@ const x = (e) => {
665
664
  * @see https://tailwindcss.com/docs/align-content
666
665
  */
667
666
  "align-content": [{
668
- content: ["normal", ...J(), "baseline"]
667
+ content: ["normal", ...D(), "baseline"]
669
668
  }],
670
669
  /**
671
670
  * Align Items
@@ -686,7 +685,7 @@ const x = (e) => {
686
685
  * @see https://tailwindcss.com/docs/place-content
687
686
  */
688
687
  "place-content": [{
689
- "place-content": [...J(), "baseline"]
688
+ "place-content": [...D(), "baseline"]
690
689
  }],
691
690
  /**
692
691
  * Place Items
@@ -708,133 +707,133 @@ const x = (e) => {
708
707
  * @see https://tailwindcss.com/docs/padding
709
708
  */
710
709
  p: [{
711
- p: [S]
710
+ p: [C]
712
711
  }],
713
712
  /**
714
713
  * Padding X
715
714
  * @see https://tailwindcss.com/docs/padding
716
715
  */
717
716
  px: [{
718
- px: [S]
717
+ px: [C]
719
718
  }],
720
719
  /**
721
720
  * Padding Y
722
721
  * @see https://tailwindcss.com/docs/padding
723
722
  */
724
723
  py: [{
725
- py: [S]
724
+ py: [C]
726
725
  }],
727
726
  /**
728
727
  * Padding Start
729
728
  * @see https://tailwindcss.com/docs/padding
730
729
  */
731
730
  ps: [{
732
- ps: [S]
731
+ ps: [C]
733
732
  }],
734
733
  /**
735
734
  * Padding End
736
735
  * @see https://tailwindcss.com/docs/padding
737
736
  */
738
737
  pe: [{
739
- pe: [S]
738
+ pe: [C]
740
739
  }],
741
740
  /**
742
741
  * Padding Top
743
742
  * @see https://tailwindcss.com/docs/padding
744
743
  */
745
744
  pt: [{
746
- pt: [S]
745
+ pt: [C]
747
746
  }],
748
747
  /**
749
748
  * Padding Right
750
749
  * @see https://tailwindcss.com/docs/padding
751
750
  */
752
751
  pr: [{
753
- pr: [S]
752
+ pr: [C]
754
753
  }],
755
754
  /**
756
755
  * Padding Bottom
757
756
  * @see https://tailwindcss.com/docs/padding
758
757
  */
759
758
  pb: [{
760
- pb: [S]
759
+ pb: [C]
761
760
  }],
762
761
  /**
763
762
  * Padding Left
764
763
  * @see https://tailwindcss.com/docs/padding
765
764
  */
766
765
  pl: [{
767
- pl: [S]
766
+ pl: [C]
768
767
  }],
769
768
  /**
770
769
  * Margin
771
770
  * @see https://tailwindcss.com/docs/margin
772
771
  */
773
772
  m: [{
774
- m: [g]
773
+ m: [p]
775
774
  }],
776
775
  /**
777
776
  * Margin X
778
777
  * @see https://tailwindcss.com/docs/margin
779
778
  */
780
779
  mx: [{
781
- mx: [g]
780
+ mx: [p]
782
781
  }],
783
782
  /**
784
783
  * Margin Y
785
784
  * @see https://tailwindcss.com/docs/margin
786
785
  */
787
786
  my: [{
788
- my: [g]
787
+ my: [p]
789
788
  }],
790
789
  /**
791
790
  * Margin Start
792
791
  * @see https://tailwindcss.com/docs/margin
793
792
  */
794
793
  ms: [{
795
- ms: [g]
794
+ ms: [p]
796
795
  }],
797
796
  /**
798
797
  * Margin End
799
798
  * @see https://tailwindcss.com/docs/margin
800
799
  */
801
800
  me: [{
802
- me: [g]
801
+ me: [p]
803
802
  }],
804
803
  /**
805
804
  * Margin Top
806
805
  * @see https://tailwindcss.com/docs/margin
807
806
  */
808
807
  mt: [{
809
- mt: [g]
808
+ mt: [p]
810
809
  }],
811
810
  /**
812
811
  * Margin Right
813
812
  * @see https://tailwindcss.com/docs/margin
814
813
  */
815
814
  mr: [{
816
- mr: [g]
815
+ mr: [p]
817
816
  }],
818
817
  /**
819
818
  * Margin Bottom
820
819
  * @see https://tailwindcss.com/docs/margin
821
820
  */
822
821
  mb: [{
823
- mb: [g]
822
+ mb: [p]
824
823
  }],
825
824
  /**
826
825
  * Margin Left
827
826
  * @see https://tailwindcss.com/docs/margin
828
827
  */
829
828
  ml: [{
830
- ml: [g]
829
+ ml: [p]
831
830
  }],
832
831
  /**
833
832
  * Space Between X
834
833
  * @see https://tailwindcss.com/docs/space
835
834
  */
836
835
  "space-x": [{
837
- "space-x": [de]
836
+ "space-x": [le]
838
837
  }],
839
838
  /**
840
839
  * Space Between X Reverse
@@ -846,7 +845,7 @@ const x = (e) => {
846
845
  * @see https://tailwindcss.com/docs/space
847
846
  */
848
847
  "space-y": [{
849
- "space-y": [de]
848
+ "space-y": [le]
850
849
  }],
851
850
  /**
852
851
  * Space Between Y Reverse
@@ -874,8 +873,8 @@ const x = (e) => {
874
873
  */
875
874
  "max-w": [{
876
875
  "max-w": [h, r, "none", "full", "min", "max", "fit", "prose", {
877
- screen: [R]
878
- }, R]
876
+ screen: [E]
877
+ }, E]
879
878
  }],
880
879
  /**
881
880
  * Height
@@ -911,7 +910,7 @@ const x = (e) => {
911
910
  * @see https://tailwindcss.com/docs/font-size
912
911
  */
913
912
  "font-size": [{
914
- text: ["base", R, A]
913
+ text: ["base", E, L]
915
914
  }],
916
915
  /**
917
916
  * Font Smoothing
@@ -928,14 +927,14 @@ const x = (e) => {
928
927
  * @see https://tailwindcss.com/docs/font-weight
929
928
  */
930
929
  "font-weight": [{
931
- font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", K]
930
+ font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", X]
932
931
  }],
933
932
  /**
934
933
  * Font Family
935
934
  * @see https://tailwindcss.com/docs/font-family
936
935
  */
937
936
  "font-family": [{
938
- font: [G]
937
+ font: [I]
939
938
  }],
940
939
  /**
941
940
  * Font Variant Numeric
@@ -979,14 +978,14 @@ const x = (e) => {
979
978
  * @see https://tailwindcss.com/docs/line-clamp
980
979
  */
981
980
  "line-clamp": [{
982
- "line-clamp": ["none", I, K]
981
+ "line-clamp": ["none", R, X]
983
982
  }],
984
983
  /**
985
984
  * Line Height
986
985
  * @see https://tailwindcss.com/docs/line-height
987
986
  */
988
987
  leading: [{
989
- leading: ["none", "tight", "snug", "normal", "relaxed", "loose", L, h]
988
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose", k, h]
990
989
  }],
991
990
  /**
992
991
  * List Style Image
@@ -1022,7 +1021,7 @@ const x = (e) => {
1022
1021
  * @see https://tailwindcss.com/docs/placeholder-opacity
1023
1022
  */
1024
1023
  "placeholder-opacity": [{
1025
- "placeholder-opacity": [y]
1024
+ "placeholder-opacity": [x]
1026
1025
  }],
1027
1026
  /**
1028
1027
  * Text Alignment
@@ -1043,7 +1042,7 @@ const x = (e) => {
1043
1042
  * @see https://tailwindcss.com/docs/text-opacity
1044
1043
  */
1045
1044
  "text-opacity": [{
1046
- "text-opacity": [y]
1045
+ "text-opacity": [x]
1047
1046
  }],
1048
1047
  /**
1049
1048
  * Text Decoration
@@ -1055,21 +1054,21 @@ const x = (e) => {
1055
1054
  * @see https://tailwindcss.com/docs/text-decoration-style
1056
1055
  */
1057
1056
  "text-decoration-style": [{
1058
- decoration: [...F(), "wavy"]
1057
+ decoration: [...$(), "wavy"]
1059
1058
  }],
1060
1059
  /**
1061
1060
  * Text Decoration Thickness
1062
1061
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1063
1062
  */
1064
1063
  "text-decoration-thickness": [{
1065
- decoration: ["auto", "from-font", L, A]
1064
+ decoration: ["auto", "from-font", k, L]
1066
1065
  }],
1067
1066
  /**
1068
1067
  * Text Underline Offset
1069
1068
  * @see https://tailwindcss.com/docs/text-underline-offset
1070
1069
  */
1071
1070
  "underline-offset": [{
1072
- "underline-offset": ["auto", L, h]
1071
+ "underline-offset": ["auto", k, h]
1073
1072
  }],
1074
1073
  /**
1075
1074
  * Text Decoration Color
@@ -1158,7 +1157,7 @@ const x = (e) => {
1158
1157
  * @see https://tailwindcss.com/docs/background-opacity
1159
1158
  */
1160
1159
  "bg-opacity": [{
1161
- "bg-opacity": [y]
1160
+ "bg-opacity": [x]
1162
1161
  }],
1163
1162
  /**
1164
1163
  * Background Origin
@@ -1172,7 +1171,7 @@ const x = (e) => {
1172
1171
  * @see https://tailwindcss.com/docs/background-position
1173
1172
  */
1174
1173
  "bg-position": [{
1175
- bg: [...me(), Ur]
1174
+ bg: [...de(), Or]
1176
1175
  }],
1177
1176
  /**
1178
1177
  * Background Repeat
@@ -1188,7 +1187,7 @@ const x = (e) => {
1188
1187
  * @see https://tailwindcss.com/docs/background-size
1189
1188
  */
1190
1189
  "bg-size": [{
1191
- bg: ["auto", "cover", "contain", _r]
1190
+ bg: ["auto", "cover", "contain", Gr]
1192
1191
  }],
1193
1192
  /**
1194
1193
  * Background Image
@@ -1197,7 +1196,7 @@ const x = (e) => {
1197
1196
  "bg-image": [{
1198
1197
  bg: ["none", {
1199
1198
  "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1200
- }, Dr]
1199
+ }, $r]
1201
1200
  }],
1202
1201
  /**
1203
1202
  * Background Color
@@ -1211,21 +1210,21 @@ const x = (e) => {
1211
1210
  * @see https://tailwindcss.com/docs/gradient-color-stops
1212
1211
  */
1213
1212
  "gradient-from-pos": [{
1214
- from: [C]
1213
+ from: [y]
1215
1214
  }],
1216
1215
  /**
1217
1216
  * Gradient Color Stops Via Position
1218
1217
  * @see https://tailwindcss.com/docs/gradient-color-stops
1219
1218
  */
1220
1219
  "gradient-via-pos": [{
1221
- via: [C]
1220
+ via: [y]
1222
1221
  }],
1223
1222
  /**
1224
1223
  * Gradient Color Stops To Position
1225
1224
  * @see https://tailwindcss.com/docs/gradient-color-stops
1226
1225
  */
1227
1226
  "gradient-to-pos": [{
1228
- to: [C]
1227
+ to: [y]
1229
1228
  }],
1230
1229
  /**
1231
1230
  * Gradient Color Stops From
@@ -1359,84 +1358,84 @@ const x = (e) => {
1359
1358
  * @see https://tailwindcss.com/docs/border-width
1360
1359
  */
1361
1360
  "border-w": [{
1362
- border: [c]
1361
+ border: [i]
1363
1362
  }],
1364
1363
  /**
1365
1364
  * Border Width X
1366
1365
  * @see https://tailwindcss.com/docs/border-width
1367
1366
  */
1368
1367
  "border-w-x": [{
1369
- "border-x": [c]
1368
+ "border-x": [i]
1370
1369
  }],
1371
1370
  /**
1372
1371
  * Border Width Y
1373
1372
  * @see https://tailwindcss.com/docs/border-width
1374
1373
  */
1375
1374
  "border-w-y": [{
1376
- "border-y": [c]
1375
+ "border-y": [i]
1377
1376
  }],
1378
1377
  /**
1379
1378
  * Border Width Start
1380
1379
  * @see https://tailwindcss.com/docs/border-width
1381
1380
  */
1382
1381
  "border-w-s": [{
1383
- "border-s": [c]
1382
+ "border-s": [i]
1384
1383
  }],
1385
1384
  /**
1386
1385
  * Border Width End
1387
1386
  * @see https://tailwindcss.com/docs/border-width
1388
1387
  */
1389
1388
  "border-w-e": [{
1390
- "border-e": [c]
1389
+ "border-e": [i]
1391
1390
  }],
1392
1391
  /**
1393
1392
  * Border Width Top
1394
1393
  * @see https://tailwindcss.com/docs/border-width
1395
1394
  */
1396
1395
  "border-w-t": [{
1397
- "border-t": [c]
1396
+ "border-t": [i]
1398
1397
  }],
1399
1398
  /**
1400
1399
  * Border Width Right
1401
1400
  * @see https://tailwindcss.com/docs/border-width
1402
1401
  */
1403
1402
  "border-w-r": [{
1404
- "border-r": [c]
1403
+ "border-r": [i]
1405
1404
  }],
1406
1405
  /**
1407
1406
  * Border Width Bottom
1408
1407
  * @see https://tailwindcss.com/docs/border-width
1409
1408
  */
1410
1409
  "border-w-b": [{
1411
- "border-b": [c]
1410
+ "border-b": [i]
1412
1411
  }],
1413
1412
  /**
1414
1413
  * Border Width Left
1415
1414
  * @see https://tailwindcss.com/docs/border-width
1416
1415
  */
1417
1416
  "border-w-l": [{
1418
- "border-l": [c]
1417
+ "border-l": [i]
1419
1418
  }],
1420
1419
  /**
1421
1420
  * Border Opacity
1422
1421
  * @see https://tailwindcss.com/docs/border-opacity
1423
1422
  */
1424
1423
  "border-opacity": [{
1425
- "border-opacity": [y]
1424
+ "border-opacity": [x]
1426
1425
  }],
1427
1426
  /**
1428
1427
  * Border Style
1429
1428
  * @see https://tailwindcss.com/docs/border-style
1430
1429
  */
1431
1430
  "border-style": [{
1432
- border: [...F(), "hidden"]
1431
+ border: [...$(), "hidden"]
1433
1432
  }],
1434
1433
  /**
1435
1434
  * Divide Width X
1436
1435
  * @see https://tailwindcss.com/docs/divide-width
1437
1436
  */
1438
1437
  "divide-x": [{
1439
- "divide-x": [c]
1438
+ "divide-x": [i]
1440
1439
  }],
1441
1440
  /**
1442
1441
  * Divide Width X Reverse
@@ -1448,7 +1447,7 @@ const x = (e) => {
1448
1447
  * @see https://tailwindcss.com/docs/divide-width
1449
1448
  */
1450
1449
  "divide-y": [{
1451
- "divide-y": [c]
1450
+ "divide-y": [i]
1452
1451
  }],
1453
1452
  /**
1454
1453
  * Divide Width Y Reverse
@@ -1460,14 +1459,14 @@ const x = (e) => {
1460
1459
  * @see https://tailwindcss.com/docs/divide-opacity
1461
1460
  */
1462
1461
  "divide-opacity": [{
1463
- "divide-opacity": [y]
1462
+ "divide-opacity": [x]
1464
1463
  }],
1465
1464
  /**
1466
1465
  * Divide Style
1467
1466
  * @see https://tailwindcss.com/docs/divide-style
1468
1467
  */
1469
1468
  "divide-style": [{
1470
- divide: F()
1469
+ divide: $()
1471
1470
  }],
1472
1471
  /**
1473
1472
  * Border Color
@@ -1544,21 +1543,21 @@ const x = (e) => {
1544
1543
  * @see https://tailwindcss.com/docs/outline-style
1545
1544
  */
1546
1545
  "outline-style": [{
1547
- outline: ["", ...F()]
1546
+ outline: ["", ...$()]
1548
1547
  }],
1549
1548
  /**
1550
1549
  * Outline Offset
1551
1550
  * @see https://tailwindcss.com/docs/outline-offset
1552
1551
  */
1553
1552
  "outline-offset": [{
1554
- "outline-offset": [L, h]
1553
+ "outline-offset": [k, h]
1555
1554
  }],
1556
1555
  /**
1557
1556
  * Outline Width
1558
1557
  * @see https://tailwindcss.com/docs/outline-width
1559
1558
  */
1560
1559
  "outline-w": [{
1561
- outline: [L, A]
1560
+ outline: [k, L]
1562
1561
  }],
1563
1562
  /**
1564
1563
  * Outline Color
@@ -1572,7 +1571,7 @@ const x = (e) => {
1572
1571
  * @see https://tailwindcss.com/docs/ring-width
1573
1572
  */
1574
1573
  "ring-w": [{
1575
- ring: he()
1574
+ ring: ce()
1576
1575
  }],
1577
1576
  /**
1578
1577
  * Ring Width Inset
@@ -1591,14 +1590,14 @@ const x = (e) => {
1591
1590
  * @see https://tailwindcss.com/docs/ring-opacity
1592
1591
  */
1593
1592
  "ring-opacity": [{
1594
- "ring-opacity": [y]
1593
+ "ring-opacity": [x]
1595
1594
  }],
1596
1595
  /**
1597
1596
  * Ring Offset Width
1598
1597
  * @see https://tailwindcss.com/docs/ring-offset-width
1599
1598
  */
1600
1599
  "ring-offset-w": [{
1601
- "ring-offset": [L, A]
1600
+ "ring-offset": [k, L]
1602
1601
  }],
1603
1602
  /**
1604
1603
  * Ring Offset Color
@@ -1613,35 +1612,35 @@ const x = (e) => {
1613
1612
  * @see https://tailwindcss.com/docs/box-shadow
1614
1613
  */
1615
1614
  shadow: [{
1616
- shadow: ["", "inner", "none", R, Xr]
1615
+ shadow: ["", "inner", "none", E, _r]
1617
1616
  }],
1618
1617
  /**
1619
1618
  * Box Shadow Color
1620
1619
  * @see https://tailwindcss.com/docs/box-shadow-color
1621
1620
  */
1622
1621
  "shadow-color": [{
1623
- shadow: [G]
1622
+ shadow: [I]
1624
1623
  }],
1625
1624
  /**
1626
1625
  * Opacity
1627
1626
  * @see https://tailwindcss.com/docs/opacity
1628
1627
  */
1629
1628
  opacity: [{
1630
- opacity: [y]
1629
+ opacity: [x]
1631
1630
  }],
1632
1631
  /**
1633
1632
  * Mix Blend Mode
1634
1633
  * @see https://tailwindcss.com/docs/mix-blend-mode
1635
1634
  */
1636
1635
  "mix-blend": [{
1637
- "mix-blend": [...pe(), "plus-lighter", "plus-darker"]
1636
+ "mix-blend": [...ue(), "plus-lighter", "plus-darker"]
1638
1637
  }],
1639
1638
  /**
1640
1639
  * Background Blend Mode
1641
1640
  * @see https://tailwindcss.com/docs/background-blend-mode
1642
1641
  */
1643
1642
  "bg-blend": [{
1644
- "bg-blend": pe()
1643
+ "bg-blend": ue()
1645
1644
  }],
1646
1645
  // Filters
1647
1646
  /**
@@ -1678,42 +1677,42 @@ const x = (e) => {
1678
1677
  * @see https://tailwindcss.com/docs/drop-shadow
1679
1678
  */
1680
1679
  "drop-shadow": [{
1681
- "drop-shadow": ["", "none", R, h]
1680
+ "drop-shadow": ["", "none", E, h]
1682
1681
  }],
1683
1682
  /**
1684
1683
  * Grayscale
1685
1684
  * @see https://tailwindcss.com/docs/grayscale
1686
1685
  */
1687
1686
  grayscale: [{
1688
- grayscale: [d]
1687
+ grayscale: [c]
1689
1688
  }],
1690
1689
  /**
1691
1690
  * Hue Rotate
1692
1691
  * @see https://tailwindcss.com/docs/hue-rotate
1693
1692
  */
1694
1693
  "hue-rotate": [{
1695
- "hue-rotate": [m]
1694
+ "hue-rotate": [g]
1696
1695
  }],
1697
1696
  /**
1698
1697
  * Invert
1699
1698
  * @see https://tailwindcss.com/docs/invert
1700
1699
  */
1701
1700
  invert: [{
1702
- invert: [p]
1701
+ invert: [m]
1703
1702
  }],
1704
1703
  /**
1705
1704
  * Saturate
1706
1705
  * @see https://tailwindcss.com/docs/saturate
1707
1706
  */
1708
1707
  saturate: [{
1709
- saturate: [P]
1708
+ saturate: [H]
1710
1709
  }],
1711
1710
  /**
1712
1711
  * Sepia
1713
1712
  * @see https://tailwindcss.com/docs/sepia
1714
1713
  */
1715
1714
  sepia: [{
1716
- sepia: [_]
1715
+ sepia: [O]
1717
1716
  }],
1718
1717
  /**
1719
1718
  * Backdrop Filter
@@ -1749,42 +1748,42 @@ const x = (e) => {
1749
1748
  * @see https://tailwindcss.com/docs/backdrop-grayscale
1750
1749
  */
1751
1750
  "backdrop-grayscale": [{
1752
- "backdrop-grayscale": [d]
1751
+ "backdrop-grayscale": [c]
1753
1752
  }],
1754
1753
  /**
1755
1754
  * Backdrop Hue Rotate
1756
1755
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
1757
1756
  */
1758
1757
  "backdrop-hue-rotate": [{
1759
- "backdrop-hue-rotate": [m]
1758
+ "backdrop-hue-rotate": [g]
1760
1759
  }],
1761
1760
  /**
1762
1761
  * Backdrop Invert
1763
1762
  * @see https://tailwindcss.com/docs/backdrop-invert
1764
1763
  */
1765
1764
  "backdrop-invert": [{
1766
- "backdrop-invert": [p]
1765
+ "backdrop-invert": [m]
1767
1766
  }],
1768
1767
  /**
1769
1768
  * Backdrop Opacity
1770
1769
  * @see https://tailwindcss.com/docs/backdrop-opacity
1771
1770
  */
1772
1771
  "backdrop-opacity": [{
1773
- "backdrop-opacity": [y]
1772
+ "backdrop-opacity": [x]
1774
1773
  }],
1775
1774
  /**
1776
1775
  * Backdrop Saturate
1777
1776
  * @see https://tailwindcss.com/docs/backdrop-saturate
1778
1777
  */
1779
1778
  "backdrop-saturate": [{
1780
- "backdrop-saturate": [P]
1779
+ "backdrop-saturate": [H]
1781
1780
  }],
1782
1781
  /**
1783
1782
  * Backdrop Sepia
1784
1783
  * @see https://tailwindcss.com/docs/backdrop-sepia
1785
1784
  */
1786
1785
  "backdrop-sepia": [{
1787
- "backdrop-sepia": [_]
1786
+ "backdrop-sepia": [O]
1788
1787
  }],
1789
1788
  // Tables
1790
1789
  /**
@@ -1799,21 +1798,21 @@ const x = (e) => {
1799
1798
  * @see https://tailwindcss.com/docs/border-spacing
1800
1799
  */
1801
1800
  "border-spacing": [{
1802
- "border-spacing": [a]
1801
+ "border-spacing": [l]
1803
1802
  }],
1804
1803
  /**
1805
1804
  * Border Spacing X
1806
1805
  * @see https://tailwindcss.com/docs/border-spacing
1807
1806
  */
1808
1807
  "border-spacing-x": [{
1809
- "border-spacing-x": [a]
1808
+ "border-spacing-x": [l]
1810
1809
  }],
1811
1810
  /**
1812
1811
  * Border Spacing Y
1813
1812
  * @see https://tailwindcss.com/docs/border-spacing
1814
1813
  */
1815
1814
  "border-spacing-y": [{
1816
- "border-spacing-y": [a]
1815
+ "border-spacing-y": [l]
1817
1816
  }],
1818
1817
  /**
1819
1818
  * Table Layout
@@ -1878,56 +1877,56 @@ const x = (e) => {
1878
1877
  * @see https://tailwindcss.com/docs/scale
1879
1878
  */
1880
1879
  scale: [{
1881
- scale: [V]
1880
+ scale: [z]
1882
1881
  }],
1883
1882
  /**
1884
1883
  * Scale X
1885
1884
  * @see https://tailwindcss.com/docs/scale
1886
1885
  */
1887
1886
  "scale-x": [{
1888
- "scale-x": [V]
1887
+ "scale-x": [z]
1889
1888
  }],
1890
1889
  /**
1891
1890
  * Scale Y
1892
1891
  * @see https://tailwindcss.com/docs/scale
1893
1892
  */
1894
1893
  "scale-y": [{
1895
- "scale-y": [V]
1894
+ "scale-y": [z]
1896
1895
  }],
1897
1896
  /**
1898
1897
  * Rotate
1899
1898
  * @see https://tailwindcss.com/docs/rotate
1900
1899
  */
1901
1900
  rotate: [{
1902
- rotate: [B, h]
1901
+ rotate: [P, h]
1903
1902
  }],
1904
1903
  /**
1905
1904
  * Translate X
1906
1905
  * @see https://tailwindcss.com/docs/translate
1907
1906
  */
1908
1907
  "translate-x": [{
1909
- "translate-x": [ue]
1908
+ "translate-x": [ae]
1910
1909
  }],
1911
1910
  /**
1912
1911
  * Translate Y
1913
1912
  * @see https://tailwindcss.com/docs/translate
1914
1913
  */
1915
1914
  "translate-y": [{
1916
- "translate-y": [ue]
1915
+ "translate-y": [ae]
1917
1916
  }],
1918
1917
  /**
1919
1918
  * Skew X
1920
1919
  * @see https://tailwindcss.com/docs/skew
1921
1920
  */
1922
1921
  "skew-x": [{
1923
- "skew-x": [le]
1922
+ "skew-x": [se]
1924
1923
  }],
1925
1924
  /**
1926
1925
  * Skew Y
1927
1926
  * @see https://tailwindcss.com/docs/skew
1928
1927
  */
1929
1928
  "skew-y": [{
1930
- "skew-y": [le]
1929
+ "skew-y": [se]
1931
1930
  }],
1932
1931
  /**
1933
1932
  * Transform Origin
@@ -2193,7 +2192,7 @@ const x = (e) => {
2193
2192
  * @see https://tailwindcss.com/docs/stroke-width
2194
2193
  */
2195
2194
  "stroke-w": [{
2196
- stroke: [L, A, K]
2195
+ stroke: [k, L, X]
2197
2196
  }],
2198
2197
  /**
2199
2198
  * Stroke
@@ -2268,21 +2267,21 @@ const x = (e) => {
2268
2267
  "font-size": ["leading"]
2269
2268
  }
2270
2269
  };
2271
- }, Yr = /* @__PURE__ */ Vr(Qr);
2272
- function k(...e) {
2273
- return Yr(Ee(e));
2270
+ }, qr = /* @__PURE__ */ Ar(Xr);
2271
+ function oe(...e) {
2272
+ return qr(ke(e));
2274
2273
  }
2275
- let Q;
2276
- function Y() {
2277
- return Q === void 0 && (Q = navigator.platform.includes("Mac")), Q;
2274
+ let q;
2275
+ function J() {
2276
+ return q === void 0 && (q = navigator.platform.includes("Mac")), q;
2278
2277
  }
2279
- function Zr(e) {
2280
- return `${e}`.toLowerCase() === "mod" ? Y() ? "⌘" : "Ctrl" : `${e}`.toLowerCase() === "alt" ? Y() ? "⌥" : "Alt" : `${e}`.toLowerCase() === "shift" ? Y() ? "⇧" : "Shift" : e;
2278
+ function Jr(e) {
2279
+ return `${e}`.toLowerCase() === "mod" ? J() ? "⌘" : "Ctrl" : `${e}`.toLowerCase() === "alt" ? J() ? "⌥" : "Alt" : `${e}`.toLowerCase() === "shift" ? J() ? "⇧" : "Shift" : e;
2281
2280
  }
2282
- function eo(e) {
2283
- return e.map(Zr).join(" ");
2281
+ function Kr(e) {
2282
+ return e.map(Jr).join(" ");
2284
2283
  }
2285
- const tn = _e.forwardRef(
2284
+ const Do = Be.forwardRef(
2286
2285
  (e, r) => {
2287
2286
  const {
2288
2287
  icon: t = void 0,
@@ -2291,102 +2290,108 @@ const tn = _e.forwardRef(
2291
2290
  disabled: s = !1,
2292
2291
  customClass: n = "",
2293
2292
  // color = undefined,
2294
- loading: a = void 0,
2295
- shortcutKeys: c = void 0,
2293
+ loading: l = void 0,
2294
+ shortcutKeys: i = void 0,
2296
2295
  tooltipOptions: u = {},
2297
- action: d = void 0,
2298
- isActive: m = void 0,
2299
- children: p,
2300
- asChild: l = !1,
2296
+ action: c = void 0,
2297
+ isActive: g = void 0,
2298
+ children: m,
2299
+ asChild: d = !1,
2301
2300
  upload: f = !1,
2302
- initialDisplayedColor: C = void 0,
2303
- dataState: b = !1,
2304
- ...g
2305
- } = e, y = Mo[t];
2306
- return /* @__PURE__ */ z(No, { children: [
2307
- /* @__PURE__ */ i(Ao, { asChild: !0, children: /* @__PURE__ */ z(
2308
- l ? Je : Ie,
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,
2309
2314
  {
2310
- className: k("richtext-w-[32px] richtext-h-[32px]", n),
2311
- "data-state": b ? "on" : "off",
2315
+ className: oe("richtext-w-[32px] richtext-h-[32px]", n),
2316
+ "data-state": v ? "on" : "off",
2312
2317
  disabled: s,
2313
- onClick: d,
2318
+ onClick: H,
2314
2319
  ref: r,
2315
2320
  size: "sm",
2316
- ...g,
2321
+ ...p,
2317
2322
  children: [
2318
- y && /* @__PURE__ */ i(y, { className: "richtext-size-4" }),
2319
- p
2323
+ x && /* @__PURE__ */ a(x, { className: "richtext-size-4" }),
2324
+ m
2320
2325
  ]
2321
2326
  }
2322
2327
  ) }),
2323
- o && /* @__PURE__ */ i(
2324
- He,
2328
+ o && /* @__PURE__ */ a(
2329
+ Re,
2325
2330
  {
2326
2331
  ...u,
2327
2332
  className: "richtext-tooltip",
2328
- children: /* @__PURE__ */ z("div", { className: "richtext-flex richtext-max-w-24 richtext-flex-col richtext-items-center richtext-text-center", children: [
2329
- /* @__PURE__ */ i("div", { children: o }),
2330
- !!(c != null && c.length) && /* @__PURE__ */ i("span", { children: eo(c) })
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) })
2331
2336
  ] })
2332
2337
  }
2333
2338
  )
2334
2339
  ] });
2335
2340
  }
2336
- ), Z = typeof window > "u";
2337
- function ye(e, r, t = window) {
2338
- const o = te(void 0);
2339
- T(() => {
2341
+ ), K = typeof window > "u";
2342
+ function ve(e, r, t = window) {
2343
+ const o = Y(void 0);
2344
+ V(() => {
2340
2345
  o.current = r;
2341
- }, [r]), T(() => {
2346
+ }, [r]), V(() => {
2342
2347
  if (!(t && t.addEventListener)) return;
2343
- const n = (a) => {
2344
- o.current && o.current(a);
2348
+ const n = (l) => {
2349
+ o.current && o.current(l);
2345
2350
  };
2346
2351
  return t.addEventListener(e, n), () => {
2347
2352
  t.removeEventListener(e, n);
2348
2353
  };
2349
2354
  }, [e, t]);
2350
2355
  }
2351
- function ee(e, r, t = {}) {
2352
- const { initializeWithValue: o = !0 } = t, s = E(
2353
- (l) => t.serializer ? t.serializer(l) : JSON.stringify(l),
2356
+ function Q(e, r, t = {}) {
2357
+ const { initializeWithValue: o = !0 } = t, s = S(
2358
+ (d) => t.serializer ? t.serializer(d) : JSON.stringify(d),
2354
2359
  [t]
2355
- ), n = E(
2356
- (l) => {
2360
+ ), n = S(
2361
+ (d) => {
2357
2362
  if (t.deserializer)
2358
- return t.deserializer(l);
2359
- if (l === "undefined")
2363
+ return t.deserializer(d);
2364
+ if (d === "undefined")
2360
2365
  return;
2361
2366
  const f = r instanceof Function ? r() : r;
2362
- let C;
2367
+ let y;
2363
2368
  try {
2364
- C = JSON.parse(l);
2365
- } catch (b) {
2366
- return console.error("Error parsing JSON:", b), f;
2369
+ y = JSON.parse(d);
2370
+ } catch (v) {
2371
+ return console.error("Error parsing JSON:", v), f;
2367
2372
  }
2368
- return C;
2373
+ return y;
2369
2374
  },
2370
2375
  [t, r]
2371
- ), a = E(() => {
2372
- const l = r instanceof Function ? r() : r;
2373
- if (Z)
2374
- return l;
2376
+ ), l = S(() => {
2377
+ const d = r instanceof Function ? r() : r;
2378
+ if (K)
2379
+ return d;
2375
2380
  try {
2376
2381
  const f = window.localStorage.getItem(e);
2377
- return f ? n(f) : l;
2382
+ return f ? n(f) : d;
2378
2383
  } catch (f) {
2379
2384
  return console.warn(
2380
2385
  `Error reading localStorage key “${e}”:`,
2381
2386
  f
2382
- ), l;
2387
+ ), d;
2383
2388
  }
2384
- }, [r, e, n]), [c, u] = Ue(() => o ? a() : r instanceof Function ? r() : r), d = E((l) => {
2385
- Z && console.warn(
2389
+ }, [r, e, n]), [i, u] = Ge(() => o ? l() : r instanceof Function ? r() : r), c = S((d) => {
2390
+ K && console.warn(
2386
2391
  `Tried setting localStorage key “${e}” even though environment is not a client`
2387
2392
  );
2388
2393
  try {
2389
- const f = l instanceof Function ? l(a()) : l;
2394
+ const f = d instanceof Function ? d(l()) : d;
2390
2395
  window.localStorage.setItem(e, s(f)), u(f), window.dispatchEvent(
2391
2396
  new StorageEvent("local-storage", {
2392
2397
  key: e
@@ -2398,30 +2403,30 @@ function ee(e, r, t = {}) {
2398
2403
  f
2399
2404
  );
2400
2405
  }
2401
- }, [e, s, a]), m = E(() => {
2402
- Z && console.warn(
2406
+ }, [e, s, l]), g = S(() => {
2407
+ K && console.warn(
2403
2408
  `Tried removing localStorage key “${e}” even though environment is not a client`
2404
2409
  );
2405
- const l = r instanceof Function ? r() : r;
2406
- window.localStorage.removeItem(e), u(l), window.dispatchEvent(
2410
+ const d = r instanceof Function ? r() : r;
2411
+ window.localStorage.removeItem(e), u(d), window.dispatchEvent(
2407
2412
  new StorageEvent("local-storage", {
2408
2413
  key: e
2409
2414
  })
2410
2415
  );
2411
2416
  }, [e, r]);
2412
- T(() => {
2413
- u(a());
2417
+ V(() => {
2418
+ u(l());
2414
2419
  }, [e]);
2415
- const p = E(
2416
- (l) => {
2417
- l.key && l.key !== e || u(a());
2420
+ const m = S(
2421
+ (d) => {
2422
+ d.key && d.key !== e || u(l());
2418
2423
  },
2419
- [e, a]
2424
+ [e, l]
2420
2425
  );
2421
- return ye("storage", p), ye("local-storage", p), [c, d, m];
2426
+ return ve("storage", m), ve("local-storage", m), [i, c, g];
2422
2427
  }
2423
- function to(e) {
2424
- return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ i(
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(
2425
2430
  "path",
2426
2431
  {
2427
2432
  fill: "currentColor",
@@ -2429,8 +2434,8 @@ function to(e) {
2429
2434
  }
2430
2435
  ) });
2431
2436
  }
2432
- function ro(e) {
2433
- return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ i(
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(
2434
2439
  "path",
2435
2440
  {
2436
2441
  fill: "none",
@@ -2442,8 +2447,8 @@ function ro(e) {
2442
2447
  }
2443
2448
  ) });
2444
2449
  }
2445
- function oo() {
2446
- return /* @__PURE__ */ i(
2450
+ function Zr() {
2451
+ return /* @__PURE__ */ a(
2447
2452
  "svg",
2448
2453
  {
2449
2454
  xmlns: "http://www.w3.org/2000/svg",
@@ -2454,7 +2459,7 @@ function oo() {
2454
2459
  width: "1em",
2455
2460
  height: "1em",
2456
2461
  viewBox: "0 0 24 24",
2457
- children: /* @__PURE__ */ i(
2462
+ children: /* @__PURE__ */ a(
2458
2463
  "path",
2459
2464
  {
2460
2465
  fill: "none",
@@ -2469,8 +2474,8 @@ function oo() {
2469
2474
  }
2470
2475
  );
2471
2476
  }
2472
- function no() {
2473
- return /* @__PURE__ */ i(
2477
+ function eo() {
2478
+ return /* @__PURE__ */ a(
2474
2479
  "svg",
2475
2480
  {
2476
2481
  xmlns: "http://www.w3.org/2000/svg",
@@ -2481,7 +2486,7 @@ function no() {
2481
2486
  width: "1em",
2482
2487
  height: "1em",
2483
2488
  viewBox: "0 0 24 24",
2484
- children: /* @__PURE__ */ i(
2489
+ children: /* @__PURE__ */ a(
2485
2490
  "path",
2486
2491
  {
2487
2492
  fill: "none",
@@ -2496,8 +2501,8 @@ function no() {
2496
2501
  }
2497
2502
  );
2498
2503
  }
2499
- function io(e) {
2500
- return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ i(
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(
2501
2506
  "path",
2502
2507
  {
2503
2508
  fill: "currentColor",
@@ -2505,8 +2510,8 @@ function io(e) {
2505
2510
  }
2506
2511
  ) });
2507
2512
  }
2508
- function so(e) {
2509
- return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ i(
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(
2510
2515
  "path",
2511
2516
  {
2512
2517
  fill: "currentColor",
@@ -2514,8 +2519,8 @@ function so(e) {
2514
2519
  }
2515
2520
  ) });
2516
2521
  }
2517
- function co(e) {
2518
- return /* @__PURE__ */ i(
2522
+ function oo(e) {
2523
+ return /* @__PURE__ */ a(
2519
2524
  "svg",
2520
2525
  {
2521
2526
  xmlns: "http://www.w3.org/2000/svg",
@@ -2526,7 +2531,7 @@ function co(e) {
2526
2531
  height: "1em",
2527
2532
  viewBox: "0 0 48 48",
2528
2533
  ...e,
2529
- children: /* @__PURE__ */ i(
2534
+ children: /* @__PURE__ */ a(
2530
2535
  "path",
2531
2536
  {
2532
2537
  fill: "currentColor",
@@ -2539,11 +2544,11 @@ function co(e) {
2539
2544
  }
2540
2545
  );
2541
2546
  }
2542
- function ao(e) {
2543
- return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ i("path", { fill: "currentColor", d: "M9 7v10h6v-2h-4V7z" }) });
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" }) });
2544
2549
  }
2545
- function lo(e) {
2546
- return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ i(
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(
2547
2552
  "path",
2548
2553
  {
2549
2554
  fill: "currentColor",
@@ -2551,8 +2556,8 @@ function lo(e) {
2551
2556
  }
2552
2557
  ) });
2553
2558
  }
2554
- function uo(e) {
2555
- return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", ...e, children: /* @__PURE__ */ i(
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(
2556
2561
  "path",
2557
2562
  {
2558
2563
  fill: "currentColor",
@@ -2560,8 +2565,8 @@ function uo(e) {
2560
2565
  }
2561
2566
  ) });
2562
2567
  }
2563
- function ho() {
2564
- return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ i(
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(
2565
2570
  "path",
2566
2571
  {
2567
2572
  fill: "currentColor",
@@ -2569,26 +2574,26 @@ function ho() {
2569
2574
  }
2570
2575
  ) });
2571
2576
  }
2572
- function mo() {
2573
- return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ i("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" }) });
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" }) });
2574
2579
  }
2575
- function po() {
2576
- return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ i("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" }) });
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" }) });
2577
2582
  }
2578
- function go() {
2579
- return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ i("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" }) });
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" }) });
2580
2585
  }
2581
- function fo() {
2582
- return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ i("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" }) });
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" }) });
2583
2588
  }
2584
- function xo() {
2585
- return /* @__PURE__ */ z("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 32 32", children: [
2586
- /* @__PURE__ */ i("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" }),
2587
- /* @__PURE__ */ i("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" })
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" })
2588
2593
  ] });
2589
2594
  }
2590
- function bo() {
2591
- return /* @__PURE__ */ z(
2595
+ function mo() {
2596
+ return /* @__PURE__ */ A(
2592
2597
  "svg",
2593
2598
  {
2594
2599
  xmlns: "http://www.w3.org/2000/svg",
@@ -2597,14 +2602,14 @@ function bo() {
2597
2602
  className: "icon",
2598
2603
  viewBox: "0 0 1024 1024",
2599
2604
  children: [
2600
- /* @__PURE__ */ i(
2605
+ /* @__PURE__ */ a(
2601
2606
  "path",
2602
2607
  {
2603
2608
  fill: "currentColor",
2604
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"
2605
2610
  }
2606
2611
  ),
2607
- /* @__PURE__ */ i(
2612
+ /* @__PURE__ */ a(
2608
2613
  "path",
2609
2614
  {
2610
2615
  fill: "currentColor",
@@ -2615,38 +2620,69 @@ function bo() {
2615
2620
  }
2616
2621
  );
2617
2622
  }
2618
- function wo() {
2619
- return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ z("g", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", color: "currentColor", children: [
2620
- /* @__PURE__ */ i("path", { d: "M14.86 22h-4.312c-3.291 0-4.937 0-6.08-.798a4.2 4.2 0 0 1-.863-.805c-.855-1.066-.855-2.6-.855-5.67v-2.545c0-2.963 0-4.445.473-5.628c.761-1.903 2.37-3.403 4.41-4.113C8.9 2 10.49 2 13.667 2c1.816 0 2.723 0 3.448.252c1.166.406 2.085 1.263 2.52 2.35c.27.676.27 1.523.27 3.216V10" }),
2621
- /* @__PURE__ */ i("path", { d: "M2.75 12c0-1.84 1.506-3.333 3.364-3.333c.672 0 1.464.116 2.117-.057a1.67 1.67 0 0 0 1.19-1.179c.174-.647.057-1.432.057-2.098C9.478 3.493 10.984 2 12.84 2m.002 16h2.523m-4.949-4.15c-.126-.8-.281-.801-1.61-.85h-1.01c-.557 0-1.009.448-1.009 1v3c0 .552.452 1 1.01 1h1.816c.39 0 .803-.313.803-.7v-1.1c0-.11-.113-.304-.224-.304H9.068M12.842 13h1.261m0 0h1.262m-1.262 0v4.875M21.251 13h-2.523c-.557 0-1.009.448-1.009 1v1.5m0 0V18m0-2.5h2.523" })
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
+ );
2623
2640
  }
2624
- function vo() {
2625
- return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ z("g", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5", children: [
2626
- /* @__PURE__ */ i("path", { d: "M18 11c0-.818 0-1.57-.152-1.937s-.441-.657-1.02-1.235l-4.736-4.736c-.499-.499-.748-.748-1.058-.896a2 2 0 0 0-.197-.082C10.514 2 10.161 2 9.456 2c-3.245 0-4.868 0-5.967.886a4 4 0 0 0-.603.603C2 4.59 2 6.211 2 9.456V14c0 3.771 0 5.657 1.172 6.828S6.229 22 10 22h8M11 2.5V3c0 2.828 0 4.243.879 5.121C12.757 9 14.172 9 17 9h.5" }),
2627
- /* @__PURE__ */ i("path", { d: "M5 14v2.5M5 19v-2.5M8 14v2.5M8 19v-2.5m-3 0h3m2-2.5h1.25m1.25 0h-1.25m0 0v5m3.25 0v-5l1.75 2.5L18 14v5m2-5v5h2" })
2628
- ] }) });
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
+ );
2629
2665
  }
2630
- function yo() {
2631
- return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 20 20", children: /* @__PURE__ */ i("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" }) });
2666
+ function bo() {
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" }) });
2632
2668
  }
2633
- function Co() {
2634
- return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 48 48", children: /* @__PURE__ */ z("g", { fill: "none", stroke: "currentColor", strokeWidth: "4", children: [
2635
- /* @__PURE__ */ i("circle", { cx: "10", cy: "24", r: "4" }),
2636
- /* @__PURE__ */ i("circle", { cx: "38", cy: "10", r: "4" }),
2637
- /* @__PURE__ */ i("circle", { cx: "38", cy: "24", r: "4" }),
2638
- /* @__PURE__ */ i("circle", { cx: "38", cy: "38", r: "4" }),
2639
- /* @__PURE__ */ i("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M34 38H22V10h12M14 24h20" })
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" })
2640
2676
  ] }) });
2641
2677
  }
2642
- function So() {
2643
- return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 20 20", children: /* @__PURE__ */ i("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" }) });
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" }) });
2644
2680
  }
2645
- function zo() {
2646
- return /* @__PURE__ */ i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ i("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" }) });
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" }) });
2647
2683
  }
2648
- function ko() {
2649
- return /* @__PURE__ */ i(
2684
+ function yo() {
2685
+ return /* @__PURE__ */ a(
2650
2686
  "svg",
2651
2687
  {
2652
2688
  xmlns: "http://www.w3.org/2000/svg",
@@ -2656,7 +2692,7 @@ function ko() {
2656
2692
  width: "1em",
2657
2693
  height: "1em",
2658
2694
  viewBox: "0 0 24 24",
2659
- children: /* @__PURE__ */ i(
2695
+ children: /* @__PURE__ */ a(
2660
2696
  "path",
2661
2697
  {
2662
2698
  fill: "currentColor",
@@ -2666,24 +2702,24 @@ function ko() {
2666
2702
  }
2667
2703
  );
2668
2704
  }
2669
- const Mo = {
2670
- Bold: gr,
2705
+ const Co = {
2706
+ Bold: fr,
2671
2707
  LoaderCircle: pr,
2672
2708
  Italic: mr,
2673
- Underline: hr,
2674
- Quote: ur,
2675
- TextQuote: ro,
2676
- Strikethrough: dr,
2677
- Minus: lr,
2678
- Eraser: ar,
2679
- PaintRoller: cr,
2680
- Redo2: sr,
2681
- Undo2: ir,
2682
- AlignCenter: vr,
2683
- AlignJustify: wr,
2684
- AlignLeft: br,
2685
- AlignRight: xr,
2686
- ChevronDown: ie,
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,
2687
2723
  Subscript: nr,
2688
2724
  Superscript: or,
2689
2725
  Code: rr,
@@ -2697,112 +2733,112 @@ const Mo = {
2697
2733
  Link: qt,
2698
2734
  ImageUp: Xt,
2699
2735
  Video: Dt,
2700
- Maximize: Ft,
2701
- Minimize: Ut,
2736
+ Maximize: Ut,
2737
+ Minimize: Ft,
2702
2738
  Table: _t,
2703
2739
  Sparkles: $t,
2704
- Pencil: Ot,
2705
- Unlink: Wt,
2740
+ Pencil: Wt,
2741
+ Unlink: Ot,
2706
2742
  BetweenHorizonalEnd: Gt,
2707
2743
  BetweenHorizonalStart: Bt,
2708
2744
  BetweenVerticalStart: jt,
2709
- BetweenVerticalEnd: Pt,
2710
- TableCellsMerge: Ht,
2711
- TableCellsSplit: It,
2712
- Trash2: Vt,
2713
- Trash: Tt,
2714
- Replace: xe,
2715
- ChevronsUpDown: Rt,
2716
- LineHeight: so,
2717
- Word: io,
2718
- HeadingParagraph: At,
2719
- Heading1: Nt,
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,
2720
2756
  Heading2: Et,
2721
2757
  Heading3: Lt,
2722
- Heading4: Mt,
2758
+ Heading4: St,
2723
2759
  Heading5: kt,
2724
- Heading6: zt,
2725
- Columns2: be,
2726
- Columns3: St,
2760
+ Heading6: Mt,
2761
+ Columns2: pe,
2762
+ Columns3: zt,
2727
2763
  Columns4: Ct,
2728
2764
  Plus: yt,
2729
- Grip: vt,
2765
+ Grip: xt,
2730
2766
  Copy: wt,
2731
- Clipboard: bt,
2732
- PanelLeft: xt,
2767
+ Clipboard: vt,
2768
+ PanelLeft: bt,
2733
2769
  PanelRight: ft,
2734
- Columns: be,
2735
- Iframe: gt,
2736
- MenuDown: co,
2737
- SizeS: uo,
2738
- SizeM: lo,
2739
- SizeL: ao,
2740
- AspectRatio: to,
2741
- Emoji: pt,
2742
- DeleteColumn: oo,
2743
- DeleteRow: no,
2744
- SearchAndReplace: xe,
2745
- EmojiIcon: mt,
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,
2746
2782
  KatexIcon: ht,
2747
- ExportPdf: xo,
2748
- ExportWord: bo,
2749
- ImportWord: ko,
2750
- ColumnAddLeft: mo,
2751
- ColumnAddRight: po,
2783
+ ExportPdf: go,
2784
+ ExportWord: mo,
2785
+ ImportWord: yo,
2786
+ ColumnAddLeft: ao,
2787
+ ColumnAddRight: co,
2752
2788
  BookMarked: ut,
2753
- Excalidraw: fo,
2789
+ Excalidraw: ho,
2754
2790
  ZoomIn: dt,
2755
- ZoomOut: lt,
2791
+ ZoomOut: ct,
2756
2792
  Settings: at,
2757
- Eye: ct,
2758
- TextDirection: go,
2759
- LeftToRight: yo,
2760
- RightToLeft: So,
2793
+ Eye: lt,
2794
+ TextDirection: uo,
2795
+ LeftToRight: bo,
2796
+ RightToLeft: wo,
2761
2797
  Attachment: st,
2762
- GifIcon: wo,
2763
- ChevronUp: Le,
2764
- Crop: it,
2765
- Mermaid: Co,
2766
- Twitter: zo,
2767
- CodeView: ho,
2768
- FlipX: nt,
2769
- FlipY: ot,
2770
- PencilRuler: rt,
2771
- WrapText: tt,
2772
- Loader: et,
2773
- X: Ze,
2774
- Html: vo,
2775
- ExternalLink: Ye
2776
- }, Ce = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Se = Ee, Lo = (e, r) => (t) => {
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) => {
2777
2813
  var o;
2778
- if ((r == null ? void 0 : r.variants) == null) return Se(e, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
2779
- const { variants: s, defaultVariants: n } = r, a = Object.keys(s).map((d) => {
2780
- const m = t == null ? void 0 : t[d], p = n == null ? void 0 : n[d];
2781
- if (m === null) return null;
2782
- const l = Ce(m) || Ce(p);
2783
- return s[d][l];
2784
- }), c = t && Object.entries(t).reduce((d, m) => {
2785
- let [p, l] = m;
2786
- return l === void 0 || (d[p] = l), d;
2787
- }, {}), u = r == null || (o = r.compoundVariants) === null || o === void 0 ? void 0 : o.reduce((d, m) => {
2788
- let { class: p, className: l, ...f } = m;
2789
- return Object.entries(f).every((C) => {
2790
- let [b, g] = C;
2791
- return Array.isArray(g) ? g.includes({
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({
2792
2828
  ...n,
2793
- ...c
2794
- }[b]) : {
2829
+ ...i
2830
+ }[v]) : {
2795
2831
  ...n,
2796
- ...c
2797
- }[b] === g;
2832
+ ...i
2833
+ }[v] === p;
2798
2834
  }) ? [
2799
- ...d,
2800
- p,
2801
- l
2802
- ] : d;
2835
+ ...c,
2836
+ m,
2837
+ d
2838
+ ] : c;
2803
2839
  }, []);
2804
- return Se(e, a, u, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
2805
- }, Eo = Lo(
2840
+ return xe(e, l, u, t == null ? void 0 : t.class, t == null ? void 0 : t.className);
2841
+ }, Mo = zo(
2806
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",
2807
2843
  {
2808
2844
  variants: {
@@ -2821,179 +2857,74 @@ const Mo = {
2821
2857
  size: "default"
2822
2858
  }
2823
2859
  }
2824
- ), Ie = N.forwardRef(({ className: e, variant: r, size: t, ...o }, s) => /* @__PURE__ */ i(
2860
+ ), He = ze.forwardRef(({ className: e, variant: r, size: t, ...o }, s) => /* @__PURE__ */ a(
2825
2861
  Me.Root,
2826
2862
  {
2827
2863
  ref: s,
2828
- className: k(Eo({ variant: r, size: t, className: e })),
2864
+ className: oe(Mo({ variant: r, size: t, className: e })),
2829
2865
  ...o
2830
2866
  }
2831
2867
  ));
2832
- Ie.displayName = Me.Root.displayName;
2833
- const rn = $.Provider, No = $.Root, Ao = $.Trigger, He = N.forwardRef(({ className: e, sideOffset: r = 4, ...t }, o) => /* @__PURE__ */ i(
2834
- $.Content,
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,
2835
2871
  {
2836
2872
  "data-richtext-portal": !0,
2837
2873
  ref: o,
2838
2874
  sideOffset: r,
2839
- className: k(
2875
+ className: oe(
2840
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",
2841
2877
  e
2842
2878
  ),
2843
2879
  ...t
2844
2880
  }
2845
2881
  ));
2846
- He.displayName = $.Content.displayName;
2847
- const on = v.Root, nn = v.Value, Ro = N.forwardRef(({ className: e, children: r, ...t }, o) => /* @__PURE__ */ z(
2848
- v.Trigger,
2849
- {
2850
- ref: o,
2851
- className: k(
2852
- "richtext-flex richtext-h-10 richtext-w-full richtext-items-center richtext-justify-between richtext-rounded-md richtext-border richtext-border-input richtext-bg-background richtext-px-3 richtext-py-2 richtext-text-sm richtext-ring-offset-background placeholder:richtext-text-muted-foreground focus:richtext-outline-none focus:richtext-ring-2 focus:richtext-ring-ring focus:richtext-ring-offset-1 disabled:richtext-cursor-not-allowed disabled:richtext-opacity-50 [&>span]:richtext-line-clamp-1",
2853
- e
2854
- ),
2855
- ...t,
2856
- children: [
2857
- r,
2858
- /* @__PURE__ */ i(v.Icon, { asChild: !0, children: /* @__PURE__ */ i(ie, { className: "richtext-size-4 richtext-opacity-50" }) })
2859
- ]
2860
- }
2861
- ));
2862
- Ro.displayName = v.Trigger.displayName;
2863
- const Pe = N.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i(
2864
- v.ScrollUpButton,
2865
- {
2866
- ref: t,
2867
- className: k(
2868
- "richtext-flex richtext-cursor-default richtext-items-center richtext-justify-center richtext-py-1",
2869
- e
2870
- ),
2871
- ...r,
2872
- children: /* @__PURE__ */ i(Le, { className: "richtext-size-4" })
2873
- }
2874
- ));
2875
- Pe.displayName = v.ScrollUpButton.displayName;
2876
- const je = N.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i(
2877
- v.ScrollDownButton,
2878
- {
2879
- ref: t,
2880
- className: k(
2881
- "richtext-flex richtext-cursor-default richtext-items-center richtext-justify-center richtext-py-1",
2882
- e
2883
- ),
2884
- ...r,
2885
- children: /* @__PURE__ */ i(ie, { className: "richtext-size-4" })
2886
- }
2887
- ));
2888
- je.displayName = v.ScrollDownButton.displayName;
2889
- const To = N.forwardRef(({ className: e, children: r, position: t = "popper", ...o }, s) => /* @__PURE__ */ i(v.Portal, { children: /* @__PURE__ */ z(
2890
- v.Content,
2891
- {
2892
- "data-richtext-portal": !0,
2893
- position: t,
2894
- ref: s,
2895
- className: k(
2896
- "richtext-relative richtext-z-50 richtext-max-h-60 richtext-overflow-y-auto richtext-min-w-[8rem] richtext-overflow-hidden richtext-rounded-md richtext-border !richtext-border-border richtext-bg-popover richtext-text-popover-foreground richtext-shadow-md data-[state=open]:richtext-animate-in data-[state=closed]:richtext-animate-out data-[state=closed]:richtext-fade-out-0 data-[state=open]:richtext-fade-in-0 data-[state=closed]:richtext-zoom-out-95 data-[state=open]: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",
2897
- t === "popper" && "data-[side=bottom]:richtext-translate-y-1 data-[side=left]:richtext--translate-x-1 data-[side=right]:richtext-translate-x-1 data-[side=top]:richtext--translate-y-1",
2898
- e
2899
- ),
2900
- ...o,
2901
- children: [
2902
- /* @__PURE__ */ i(Pe, {}),
2903
- /* @__PURE__ */ i(
2904
- v.Viewport,
2905
- {
2906
- className: k(
2907
- "richtext-p-1",
2908
- t === "popper" && "richtext-h-[var(--radix-select-trigger-height)] richtext-w-full richtext-min-w-[var(--radix-select-trigger-width)]"
2909
- ),
2910
- children: r
2911
- }
2912
- ),
2913
- /* @__PURE__ */ i(je, {})
2914
- ]
2915
- }
2916
- ) }));
2917
- To.displayName = v.Content.displayName;
2918
- const Vo = N.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i(
2919
- v.Label,
2920
- {
2921
- className: k("richtext-py-1.5 richtext-pl-8 richtext-pr-2 richtext-text-sm richtext-font-semibold", e),
2922
- ref: t,
2923
- ...r
2924
- }
2925
- ));
2926
- Vo.displayName = v.Label.displayName;
2927
- const Io = N.forwardRef(({ className: e, children: r, ...t }, o) => /* @__PURE__ */ z(
2928
- v.Item,
2929
- {
2930
- ref: o,
2931
- className: k(
2932
- "richtext-relative richtext-flex richtext-w-full richtext-cursor-default richtext-select-none richtext-items-center richtext-rounded-sm richtext-py-1.5 richtext-pl-8 richtext-pr-2 richtext-text-sm richtext-outline-none focus:richtext-bg-accent focus:richtext-text-accent-foreground data-[disabled]:richtext-pointer-events-none data-[disabled]:richtext-opacity-50",
2933
- e
2934
- ),
2935
- ...t,
2936
- children: [
2937
- /* @__PURE__ */ i("span", { className: "richtext-absolute richtext-left-2 richtext-flex richtext-size-3.5 richtext-items-center richtext-justify-center", children: /* @__PURE__ */ i(v.ItemIndicator, { children: /* @__PURE__ */ i(fr, { className: "richtext-size-4" }) }) }),
2938
- /* @__PURE__ */ i(v.ItemText, { children: r })
2939
- ]
2940
- }
2941
- ));
2942
- Io.displayName = v.Item.displayName;
2943
- const Ho = N.forwardRef(({ className: e, ...r }, t) => /* @__PURE__ */ i(
2944
- v.Separator,
2945
- {
2946
- className: k("richtext--mx-1 richtext-my-1 richtext-h-px richtext-bg-muted", e),
2947
- ref: t,
2948
- ...r
2949
- }
2950
- ));
2951
- Ho.displayName = v.Separator.displayName;
2952
- function ce(e) {
2882
+ Re.displayName = G.Content.displayName;
2883
+ function ne(e) {
2953
2884
  function r() {
2954
- const n = te(e), a = E(() => n.current, []), c = te(/* @__PURE__ */ new Set()), u = E((m) => {
2955
- n.current = { ...n.current, ...m }, c.current.forEach((p) => p());
2956
- }, []), d = E((m) => (c.current.add(m), () => c.current.delete(m)), []);
2885
+ const n = Y(e), l = S(() => n.current, []), i = Y(/* @__PURE__ */ new Set()), u = S((g) => {
2886
+ n.current = { ...n.current, ...g }, i.current.forEach((m) => m());
2887
+ }, []), c = S((g) => (i.current.add(g), () => i.current.delete(g)), []);
2957
2888
  return {
2958
- get: a,
2889
+ get: l,
2959
2890
  set: u,
2960
- subscribe: d
2891
+ subscribe: c
2961
2892
  };
2962
2893
  }
2963
- const t = Fe(null);
2894
+ const t = Oe(null);
2964
2895
  function o({ children: n }) {
2965
- return /* @__PURE__ */ i(t.Provider, { value: r(), children: n });
2896
+ return /* @__PURE__ */ a(t.Provider, { value: r(), children: n });
2966
2897
  }
2967
2898
  function s(n) {
2968
- const a = De(t);
2969
- if (!a)
2899
+ const l = We(t);
2900
+ if (!l)
2970
2901
  throw new Error("Store not found");
2971
- return [Xe(
2972
- a.subscribe,
2973
- () => n(a.get()),
2902
+ return [$e(
2903
+ l.subscribe,
2904
+ () => n(l.get()),
2974
2905
  () => n(e)
2975
- ), a.set];
2906
+ ), l.set];
2976
2907
  }
2977
2908
  return {
2978
2909
  Provider: o,
2979
2910
  useStore: s
2980
2911
  };
2981
2912
  }
2982
- ce({
2913
+ ne({
2983
2914
  value: !1
2984
2915
  });
2985
- ce({
2916
+ ne({
2986
2917
  value: !1
2987
2918
  });
2988
- const { Provider: Po, useStore: Be } = ce({
2919
+ const { Provider: Lo, useStore: Te } = ne({
2989
2920
  value: !1
2990
2921
  });
2991
- function sn() {
2992
- const [e] = Be((r) => r.value);
2922
+ function qo() {
2923
+ const [e] = Te((r) => r.value);
2993
2924
  return e;
2994
2925
  }
2995
- const ze = "data-rc-order", ke = "data-rc-priority", jo = "rc-util-key", oe = /* @__PURE__ */ new Map();
2996
- function Bo(e, r) {
2926
+ const ye = "data-rc-order", Ce = "data-rc-priority", Eo = "rc-util-key", ee = /* @__PURE__ */ new Map();
2927
+ function Ao(e, r) {
2997
2928
  if (!e)
2998
2929
  return !1;
2999
2930
  if (e.contains)
@@ -3006,68 +2937,68 @@ function Bo(e, r) {
3006
2937
  }
3007
2938
  return !1;
3008
2939
  }
3009
- function Ge({ mark: e } = {}) {
3010
- return e ? e.startsWith("data-") ? e : `data-${e}` : jo;
2940
+ function Ne({ mark: e } = {}) {
2941
+ return e ? e.startsWith("data-") ? e : `data-${e}` : Eo;
3011
2942
  }
3012
- function ae(e) {
2943
+ function ie(e) {
3013
2944
  return e.attachTo ? e.attachTo : document.querySelector("head") || document.body;
3014
2945
  }
3015
- function Go(e) {
2946
+ function Vo(e) {
3016
2947
  return e === "queue" ? "prependQueue" : e ? "prepend" : "append";
3017
2948
  }
3018
- function We(e) {
3019
- return [...(oe.get(e) || e).children].filter(
2949
+ function Pe(e) {
2950
+ return [...(ee.get(e) || e).children].filter(
3020
2951
  (r) => r.tagName === "STYLE"
3021
2952
  );
3022
2953
  }
3023
- function Oe(e, r = {}) {
3024
- const { csp: t, prepend: o, priority: s = 0 } = r, n = Go(o), a = n === "prependQueue", c = document.createElement("style");
3025
- c.setAttribute(ze, n), a && s && c.setAttribute(ke, `${s}`), t != null && t.nonce && (c.nonce = t == null ? void 0 : t.nonce), c.innerHTML = e;
3026
- const u = ae(r), { firstChild: d } = u;
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;
3027
2958
  if (o) {
3028
- if (a) {
3029
- const m = We(u).filter((p) => {
3030
- if (!["prepend", "prependQueue"].includes(p.getAttribute(ze)))
2959
+ if (l) {
2960
+ const g = Pe(u).filter((m) => {
2961
+ if (!["prepend", "prependQueue"].includes(m.getAttribute(ye)))
3031
2962
  return !1;
3032
- const l = Number(p.getAttribute(ke) || 0);
3033
- return s >= l;
2963
+ const d = Number(m.getAttribute(Ce) || 0);
2964
+ return s >= d;
3034
2965
  });
3035
- if (m.length > 0)
3036
- return u.insertBefore(c, m.at(-1).nextSibling), c;
2966
+ if (g.length > 0)
2967
+ return u.insertBefore(i, g.at(-1).nextSibling), i;
3037
2968
  }
3038
- d.before(c);
2969
+ c.before(i);
3039
2970
  } else
3040
- u.append(c);
3041
- return c;
2971
+ u.append(i);
2972
+ return i;
3042
2973
  }
3043
- function $e(e, r = {}) {
3044
- const t = ae(r);
3045
- return We(t).find((o) => o.getAttribute(Ge(r)) === e);
2974
+ function je(e, r = {}) {
2975
+ const t = ie(r);
2976
+ return Pe(t).find((o) => o.getAttribute(Ne(r)) === e);
3046
2977
  }
3047
- function Wo(e, r = {}) {
3048
- const t = $e(e, r);
2978
+ function Ho(e, r = {}) {
2979
+ const t = je(e, r);
3049
2980
  t && t.remove();
3050
2981
  }
3051
- function Oo(e, r) {
3052
- const t = oe.get(e);
3053
- if (!t || !Bo(document, t)) {
3054
- const o = Oe("", r), { parentNode: s } = o;
3055
- oe.set(e, s), o.remove();
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();
3056
2987
  }
3057
2988
  }
3058
- function $o(e, r, t = {}) {
3059
- var a, c, u;
3060
- const o = ae(t);
3061
- Oo(o, t);
3062
- const s = $e(r, t);
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);
3063
2994
  if (s)
3064
- return (a = t.csp) != null && a.nonce && s.nonce !== ((c = t.csp) == null ? void 0 : c.nonce) && (s.nonce = (u = t.csp) == null ? void 0 : u.nonce), s.innerHTML !== e && (s.innerHTML = e), s;
3065
- const n = Oe(e, t);
3066
- return n.setAttribute(Ge(t), r), n;
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;
3067
2998
  }
3068
- const _o = qe(({ editor: e, children: r }) => {
3069
- const [, t] = Be((s) => s.value);
3070
- T(() => {
2999
+ const No = _e(({ editor: e, children: r }) => {
3000
+ const [, t] = Te((s) => s.value);
3001
+ V(() => {
3071
3002
  t({
3072
3003
  value: e == null ? void 0 : e.isEditable
3073
3004
  });
@@ -3077,121 +3008,116 @@ const _o = qe(({ editor: e, children: r }) => {
3077
3008
  value: e == null ? void 0 : e.isEditable
3078
3009
  });
3079
3010
  };
3080
- return T(() => (e && e.on("update", o), () => {
3011
+ return V(() => (e && e.on("update", o), () => {
3081
3012
  e && e.off("update", o);
3082
- }), [e]), /* @__PURE__ */ i(ne, { children: r });
3013
+ }), [e]), /* @__PURE__ */ a(te, { children: r });
3083
3014
  });
3084
- function Uo() {
3085
- const [, e] = Ke(Qe), r = (o) => {
3015
+ function Po() {
3016
+ const [, e] = Ue(De), r = (o) => {
3086
3017
  e((s) => ({
3087
3018
  ...s,
3088
3019
  currentLang: o.detail
3089
3020
  }));
3090
3021
  }, t = (o) => {
3091
3022
  const { lang: s, messages: n } = o.detail;
3092
- e((a) => {
3093
- if (a.message[s]) {
3094
- const c = {
3095
- ...a.message[s],
3023
+ e((l) => {
3024
+ if (l.message[s]) {
3025
+ const i = {
3026
+ ...l.message[s],
3096
3027
  ...n
3097
3028
  };
3098
3029
  return {
3099
- currentLang: a.currentLang,
3030
+ currentLang: l.currentLang,
3100
3031
  message: {
3101
- ...a.message,
3102
- [s]: c
3032
+ ...l.message,
3033
+ [s]: i
3103
3034
  }
3104
3035
  };
3105
3036
  } else
3106
3037
  return {
3107
- currentLang: a.currentLang,
3038
+ currentLang: l.currentLang,
3108
3039
  message: {
3109
- ...a.message,
3040
+ ...l.message,
3110
3041
  [s]: n
3111
3042
  }
3112
3043
  };
3113
3044
  });
3114
3045
  };
3115
- return T(() => {
3116
- const o = W(O.CHANGE_LANGUAGE, r), s = W(O.MODIFY_LANGUAGE, t);
3046
+ return V(() => {
3047
+ const o = j(B.CHANGE_LANGUAGE, r), s = j(B.MODIFY_LANGUAGE, t);
3117
3048
  return () => {
3118
3049
  o(), s();
3119
3050
  };
3120
- }, []), /* @__PURE__ */ i(ne, {});
3051
+ }, []), /* @__PURE__ */ a(te, {});
3121
3052
  }
3122
- function Fo() {
3123
- const [e, r] = ee("richtext-theme", "light"), [t, o] = ee("richtext-color", "default"), [s, n] = ee("richtext-border-radius", "0.65rem");
3124
- T(() => {
3125
- const d = e || "light", m = t || "default";
3126
- let p = fe[d][m];
3127
- if (!p) {
3128
- p = fe.light.default;
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;
3129
3060
  return;
3130
3061
  }
3131
- return $o(`
3062
+ return To(`
3132
3063
  .reactjs-tiptap-editor, .reactjs-tiptap-editor *,
3133
3064
  .reactjs-tiptap-editor-theme, .reactjs-tiptap-editor-theme *,
3134
3065
  div[data-richtext-portal], div[data-richtext-portal] * {
3135
- ${Object.entries(p).map(([l, f]) => typeof s == "string" && l === "radius" ? `--${l}: ${s};` : `--${l}: ${f};`).join(`
3066
+ ${Object.entries(m).map(([d, f]) => typeof s == "string" && d === "radius" ? `--${d}: ${s};` : `--${d}: ${f};`).join(`
3136
3067
  `)}
3137
3068
  }
3138
3069
  `, "richtext-theme", {
3139
3070
  priority: 50
3140
3071
  }), () => {
3141
- Wo("richtext-theme");
3072
+ Ho("richtext-theme");
3142
3073
  };
3143
3074
  }, [e, t, s]);
3144
- const a = (d) => {
3145
- r(d.detail);
3146
- }, c = (d) => {
3147
- o(d.detail);
3148
- }, u = (d) => {
3149
- n(d.detail);
3075
+ const l = (c) => {
3076
+ r(c.detail);
3077
+ }, i = (c) => {
3078
+ o(c.detail);
3079
+ }, u = (c) => {
3080
+ n(c.detail);
3150
3081
  };
3151
- return T(() => {
3152
- const d = W(O.CHANGE_THEME, a), m = W(O.CHANGE_COLOR, c), p = W(O.CHANGE_BORDER_RADIUS, u);
3082
+ return V(() => {
3083
+ const c = j(B.CHANGE_THEME, l), g = j(B.CHANGE_COLOR, i), m = j(B.CHANGE_BORDER_RADIUS, u);
3153
3084
  return () => {
3154
- d(), m(), p();
3085
+ c(), g(), m();
3155
3086
  };
3156
- }, []), /* @__PURE__ */ i(ne, {});
3087
+ }, []), /* @__PURE__ */ a(te, {});
3157
3088
  }
3158
- function cn({ editor: e, children: r, id: t }) {
3159
- return /* @__PURE__ */ z(Po, { children: [
3160
- /* @__PURE__ */ i(
3161
- _o,
3089
+ function Jo({ editor: e, children: r, id: t }) {
3090
+ return /* @__PURE__ */ A(Lo, { children: [
3091
+ /* @__PURE__ */ a(
3092
+ No,
3162
3093
  {
3163
3094
  editor: e,
3164
3095
  id: t,
3165
3096
  children: r
3166
3097
  }
3167
3098
  ),
3168
- /* @__PURE__ */ i(Uo, {}),
3169
- /* @__PURE__ */ i(Fo, {})
3099
+ /* @__PURE__ */ a(Po, {}),
3100
+ /* @__PURE__ */ a(Io, {})
3170
3101
  ] });
3171
3102
  }
3172
3103
  export {
3173
- tn as A,
3174
- bo as E,
3175
- co as M,
3176
- cn as P,
3177
- on as S,
3178
- No as T,
3179
- Ao as a,
3180
- He as b,
3181
- k as c,
3182
- Lo as d,
3183
- rn as e,
3184
- Ie as f,
3185
- eo as g,
3186
- Zr as h,
3187
- Mo as i,
3188
- ee as j,
3189
- sn as k,
3190
- xo as l,
3191
- Ro as m,
3192
- nn as n,
3193
- To as o,
3194
- Io as p,
3195
- Wo as r,
3196
- $o as u
3104
+ Do as A,
3105
+ mo as E,
3106
+ oo as M,
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
3197
3123
  };