@remarkablejames/editor 0.0.1 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (131) hide show
  1. package/lib/{ActionMenuButton-B0EHT9CC.js → ActionMenuButton-D5HLfRzv.js} +1 -1
  2. package/lib/{ActionMenuButton-J1el_e6Z.cjs → ActionMenuButton-DN6VHLkp.cjs} +1 -1
  3. package/lib/Attachment.cjs +1 -1
  4. package/lib/Attachment.js +5 -5
  5. package/lib/Blockquote.cjs +1 -1
  6. package/lib/Blockquote.js +1 -1
  7. package/lib/Bold.cjs +1 -1
  8. package/lib/Bold.js +1 -1
  9. package/lib/BulletList.cjs +1 -1
  10. package/lib/BulletList.js +1 -1
  11. package/lib/Callout.cjs +1 -1
  12. package/lib/Callout.js +2 -2
  13. package/lib/Clear.cjs +1 -1
  14. package/lib/Clear.js +1 -1
  15. package/lib/Code.cjs +1 -1
  16. package/lib/Code.js +1 -1
  17. package/lib/CodeBlock.cjs +1 -44
  18. package/lib/CodeBlock.js +181 -3857
  19. package/lib/CodeView.cjs +1 -1
  20. package/lib/CodeView.js +1 -1
  21. package/lib/Color.cjs +1 -1
  22. package/lib/Color.js +2 -2
  23. package/lib/Column.cjs +1 -1
  24. package/lib/Column.js +1 -1
  25. package/lib/{Drawer-BCWVN-4l.js → Drawer-B9l1SoRJ.js} +21 -21
  26. package/lib/{Drawer-BTouEroZ.cjs → Drawer-BN0lYcnJ.cjs} +1 -1
  27. package/lib/Drawer.cjs +1 -1
  28. package/lib/Drawer.js +2 -2
  29. package/lib/Emoji.cjs +1 -1
  30. package/lib/Emoji.js +2 -2
  31. package/lib/Excalidraw.cjs +1 -1
  32. package/lib/Excalidraw.js +12 -12
  33. package/lib/ExportPdf.cjs +1 -1
  34. package/lib/ExportPdf.js +1 -1
  35. package/lib/ExportWord.cjs +1 -1
  36. package/lib/ExportWord.js +1 -1
  37. package/lib/FontFamily.cjs +1 -1
  38. package/lib/FontFamily.js +3 -3
  39. package/lib/FontSize.cjs +1 -1
  40. package/lib/FontSize.js +3 -3
  41. package/lib/Heading.cjs +1 -1
  42. package/lib/Heading.js +3 -3
  43. package/lib/Highlight.cjs +1 -1
  44. package/lib/Highlight.js +2 -2
  45. package/lib/History.cjs +1 -1
  46. package/lib/History.js +1 -1
  47. package/lib/HorizontalRule.cjs +1 -1
  48. package/lib/HorizontalRule.js +1 -1
  49. package/lib/{Iframe-BfBLILDA.cjs → Iframe-CXFk3GEq.cjs} +1 -1
  50. package/lib/{Iframe-BdgiWGml.js → Iframe-MjeJ2OOI.js} +9 -9
  51. package/lib/Iframe.cjs +1 -1
  52. package/lib/Iframe.js +1 -1
  53. package/lib/Image.cjs +1 -1
  54. package/lib/Image.js +1 -1
  55. package/lib/ImageGif.cjs +1 -1
  56. package/lib/ImageGif.js +22 -22
  57. package/lib/ImportWord.cjs +1 -1
  58. package/lib/ImportWord.js +1 -1
  59. package/lib/{Indent-Dvqz_WEn.cjs → Indent-BPX9XRos.cjs} +1 -1
  60. package/lib/{Indent-BpMcZKok.js → Indent-CgwDItIf.js} +1 -1
  61. package/lib/Indent.cjs +1 -1
  62. package/lib/Indent.js +1 -1
  63. package/lib/Italic.cjs +1 -1
  64. package/lib/Italic.js +1 -1
  65. package/lib/{Katex-B8_uprkO.js → Katex-CZ4g3vA9.js} +2 -2
  66. package/lib/{Katex-BQyeCeQ0.cjs → Katex-DIgsR_dS.cjs} +1 -1
  67. package/lib/Katex.cjs +1 -1
  68. package/lib/Katex.js +1 -1
  69. package/lib/LineHeight.cjs +1 -1
  70. package/lib/LineHeight.js +2 -2
  71. package/lib/Link.cjs +1 -1
  72. package/lib/Link.js +1 -1
  73. package/lib/{LinkEditBlock-CIshn_8F.cjs → LinkEditBlock-B2bU0Mcr.cjs} +1 -1
  74. package/lib/{LinkEditBlock-BX0fXXpF.js → LinkEditBlock-CaDV3Vq5.js} +2 -2
  75. package/lib/{Mermaid-0GiGVxn0.cjs → Mermaid-B9h7XKFo.cjs} +1 -1
  76. package/lib/{Mermaid-D8bbIgAl.js → Mermaid-EhYj_ICn.js} +2 -2
  77. package/lib/Mermaid.cjs +1 -1
  78. package/lib/Mermaid.js +1 -1
  79. package/lib/MoreMark.cjs +1 -1
  80. package/lib/MoreMark.js +2 -2
  81. package/lib/OrderedList.cjs +1 -1
  82. package/lib/OrderedList.js +1 -1
  83. package/lib/SearchAndReplace.cjs +1 -1
  84. package/lib/SearchAndReplace.js +2 -2
  85. package/lib/SlashCommand.cjs +1 -1
  86. package/lib/SlashCommand.js +2 -2
  87. package/lib/{SlashCommandNodeView-rDJ7OjRd.cjs → SlashCommandNodeView-COlWSlnE.cjs} +1 -1
  88. package/lib/{SlashCommandNodeView-BcmtKbEE.js → SlashCommandNodeView-CY3peX5x.js} +1 -1
  89. package/lib/Strike.cjs +1 -1
  90. package/lib/Strike.js +1 -1
  91. package/lib/{Table-DbxuP5xh.js → Table-Bw7rLue7.js} +2 -2
  92. package/lib/{Table-BEhNBeuA.cjs → Table-DLrtX6T7.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 +1 -1
  97. package/lib/TextAlign.cjs +1 -1
  98. package/lib/TextAlign.js +2 -2
  99. package/lib/TextDirection.cjs +1 -1
  100. package/lib/TextDirection.js +2 -2
  101. package/lib/TextUnderline.cjs +1 -1
  102. package/lib/TextUnderline.js +1 -1
  103. package/lib/{Twitter-BuEBgpi9.cjs → Twitter-Ck6vGefg.cjs} +1 -1
  104. package/lib/{Twitter-9I6BLNmg.js → Twitter-pM0y5Z-L.js} +2 -2
  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 +1 -1
  109. package/lib/bubble.cjs +1 -1
  110. package/lib/bubble.js +103 -103
  111. package/lib/{dropdown-menu-DjWlG2-J.cjs → dropdown-menu-DwR8tTs9.cjs} +1 -1
  112. package/lib/{dropdown-menu-Bs69ZBbO.js → dropdown-menu-nX-u8e2w.js} +1 -1
  113. package/lib/extensions/CodeBlock/CodeBlock.d.ts +1 -1
  114. package/lib/extensions/Image/Image.d.ts +11 -0
  115. package/lib/extensions/Image/components/ImageCropper.d.ts +1 -1
  116. package/lib/index-Dib4cXXf.cjs +10 -0
  117. package/lib/{index-lj3VWExo.js → index-_WrFM-Fk.js} +1289 -1118
  118. package/lib/index.cjs +1 -1
  119. package/lib/index.js +1 -1
  120. package/lib/{popover-D-hUKDYu.cjs → popover-BY7j9SiD.cjs} +1 -1
  121. package/lib/{popover-CPr9bHYn.js → popover-CSvY4C-l.js} +1 -1
  122. package/lib/{select-CuE_HaQJ.js → select-BelNLNvT.js} +1 -1
  123. package/lib/{select-C2KF4RNg.cjs → select-Bu-5iIA9.cjs} +1 -1
  124. package/lib/{separator-CHzYNMVt.js → separator-Br5kcIJa.js} +2 -2
  125. package/lib/{separator-_gvUNba_.cjs → separator-Cp9Lg3HU.cjs} +1 -1
  126. package/lib/style.css +1 -1
  127. package/lib/{textarea-gEoNp9CA.js → textarea-Ceev4t42.js} +1 -1
  128. package/lib/{textarea-DZj6EY-N.cjs → textarea-DfqvYaA6.cjs} +1 -1
  129. package/lib/theme/theme.d.ts +1 -1
  130. package/package.json +1 -1
  131. package/lib/index-D9oM__YW.cjs +0 -1
package/lib/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),q=require("./clsx-CXbNJWDD.cjs"),l=require("react"),a=require("./index-D9oM__YW.cjs"),_=require("@radix-ui/react-toast"),$=require("lucide-react"),f=require("./theme.cjs");function j(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,n.get?n:{enumerable:!0,get:()=>t[e]})}}return r.default=t,Object.freeze(r)}const x=j(l),s=j(_),V=s.Provider,w=x.forwardRef(({className:t,...r},e)=>i.jsx(s.Viewport,{ref:e,className:a.cn("richtext-fixed richtext-top-0 richtext-z-[100] richtext-flex richtext-max-h-screen richtext-w-full richtext-flex-col-reverse richtext-p-4 sm:richtext-bottom-0 sm:richtext-right-0 sm:richtext-top-auto sm:richtext-flex-col md:richtext-max-w-[420px]",t),...r}));w.displayName=s.Viewport.displayName;const z=a.cva("richtext-group richtext-pointer-events-auto richtext-relative richtext-flex richtext-w-full richtext-items-center richtext-justify-between richtext-space-x-4 richtext-overflow-hidden richtext-rounded-md !richtext-border richtext-p-6 richtext-pr-8 richtext-shadow-lg richtext-transition-all data-[swipe=cancel]:richtext-translate-x-0 data-[swipe=end]:richtext-translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:richtext-translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:richtext-transition-none data-[state=open]:richtext-animate-in data-[state=closed]:richtext-animate-out data-[swipe=end]:richtext-animate-out data-[state=closed]:richtext-fade-out-80 data-[state=closed]:richtext-slide-out-to-right-full data-[state=open]:richtext-slide-in-from-top-full data-[state=open]:sm:richtext-slide-in-from-bottom-full",{variants:{variant:{default:"richtext-border richtext-bg-background richtext-text-foreground",destructive:"richtext-destructive richtext-group richtext-border-destructive richtext-bg-destructive richtext-text-destructive-foreground"}},defaultVariants:{variant:"default"}}),N=x.forwardRef(({className:t,variant:r,...e},n)=>i.jsx(s.Root,{ref:n,className:a.cn(z({variant:r}),t),...e}));N.displayName=s.Root.displayName;const H=x.forwardRef(({className:t,...r},e)=>i.jsx(s.Action,{ref:e,className:a.cn("richtext-inline-flex richtext-h-8 richtext-shrink-0 richtext-items-center richtext-justify-center richtext-rounded-md !richtext-border richtext-bg-transparent richtext-px-3 richtext-text-sm richtext-font-medium richtext-ring-offset-background richtext-transition-colors hover:richtext-bg-secondary focus:richtext-outline-none focus:richtext-ring-2 focus:richtext-ring-ring focus:richtext-ring-offset-1 disabled:richtext-pointer-events-none disabled:richtext-opacity-50 group-[.destructive]:richtext-border-muted/40 group-[.destructive]:hover:richtext-border-destructive/30 group-[.destructive]:hover:richtext-bg-destructive group-[.destructive]:hover:richtext-text-destructive-foreground group-[.destructive]:focus:richtext-ring-destructive",t),...r}));H.displayName=s.Action.displayName;const T=x.forwardRef(({className:t,...r},e)=>i.jsx(s.Close,{ref:e,className:a.cn("richtext-absolute richtext-right-2 richtext-top-2 richtext-rounded-md richtext-p-1 richtext-text-foreground/50 richtext-opacity-0 richtext-transition-opacity hover:richtext-text-foreground focus:richtext-opacity-100 focus:richtext-outline-none focus:richtext-ring-2 group-hover:richtext-opacity-100 group-[.destructive]:richtext-text-red-300 group-[.destructive]:hover:richtext-text-red-50 group-[.destructive]:focus:richtext-ring-red-400 group-[.destructive]:focus:richtext-ring-offset-red-600",t),"toast-close":"",...r,children:i.jsx($.X,{className:"richtext-h-4 richtext-w-4"})}));T.displayName=s.Close.displayName;const E=x.forwardRef(({className:t,...r},e)=>i.jsx(s.Title,{ref:e,className:a.cn("richtext-text-sm richtext-font-semibold",t),...r}));E.displayName=s.Title.displayName;const R=x.forwardRef(({className:t,...r},e)=>i.jsx(s.Description,{ref:e,className:a.cn("richtext-text-sm richtext-opacity-90",t),...r}));R.displayName=s.Description.displayName;function L(){const{toasts:t}=a.useToast();return i.jsxs(V,{children:[t.map(({id:r,title:e,description:n,action:o,...u})=>i.jsxs(N,{...u,children:[i.jsxs("div",{className:"richtext-grid richtext-gap-1",children:[e&&i.jsx(E,{children:e}),n&&i.jsx(R,{children:n})]}),o,i.jsx(T,{})]},r)),i.jsx(w,{})]})}const F=`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react/jsx-runtime"),q=require("./clsx-CXbNJWDD.cjs"),l=require("react"),a=require("./index-Dib4cXXf.cjs"),_=require("@radix-ui/react-toast"),$=require("lucide-react"),f=require("./theme.cjs");function j(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,n.get?n:{enumerable:!0,get:()=>t[e]})}}return r.default=t,Object.freeze(r)}const x=j(l),s=j(_),V=s.Provider,w=x.forwardRef(({className:t,...r},e)=>i.jsx(s.Viewport,{ref:e,className:a.cn("richtext-fixed richtext-top-0 richtext-z-[100] richtext-flex richtext-max-h-screen richtext-w-full richtext-flex-col-reverse richtext-p-4 sm:richtext-bottom-0 sm:richtext-right-0 sm:richtext-top-auto sm:richtext-flex-col md:richtext-max-w-[420px]",t),...r}));w.displayName=s.Viewport.displayName;const z=a.cva("richtext-group richtext-pointer-events-auto richtext-relative richtext-flex richtext-w-full richtext-items-center richtext-justify-between richtext-space-x-4 richtext-overflow-hidden richtext-rounded-md !richtext-border richtext-p-6 richtext-pr-8 richtext-shadow-lg richtext-transition-all data-[swipe=cancel]:richtext-translate-x-0 data-[swipe=end]:richtext-translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:richtext-translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:richtext-transition-none data-[state=open]:richtext-animate-in data-[state=closed]:richtext-animate-out data-[swipe=end]:richtext-animate-out data-[state=closed]:richtext-fade-out-80 data-[state=closed]:richtext-slide-out-to-right-full data-[state=open]:richtext-slide-in-from-top-full data-[state=open]:sm:richtext-slide-in-from-bottom-full",{variants:{variant:{default:"richtext-border richtext-bg-background richtext-text-foreground",destructive:"richtext-destructive richtext-group richtext-border-destructive richtext-bg-destructive richtext-text-destructive-foreground"}},defaultVariants:{variant:"default"}}),N=x.forwardRef(({className:t,variant:r,...e},n)=>i.jsx(s.Root,{ref:n,className:a.cn(z({variant:r}),t),...e}));N.displayName=s.Root.displayName;const H=x.forwardRef(({className:t,...r},e)=>i.jsx(s.Action,{ref:e,className:a.cn("richtext-inline-flex richtext-h-8 richtext-shrink-0 richtext-items-center richtext-justify-center richtext-rounded-md !richtext-border richtext-bg-transparent richtext-px-3 richtext-text-sm richtext-font-medium richtext-ring-offset-background richtext-transition-colors hover:richtext-bg-secondary focus:richtext-outline-none focus:richtext-ring-2 focus:richtext-ring-ring focus:richtext-ring-offset-1 disabled:richtext-pointer-events-none disabled:richtext-opacity-50 group-[.destructive]:richtext-border-muted/40 group-[.destructive]:hover:richtext-border-destructive/30 group-[.destructive]:hover:richtext-bg-destructive group-[.destructive]:hover:richtext-text-destructive-foreground group-[.destructive]:focus:richtext-ring-destructive",t),...r}));H.displayName=s.Action.displayName;const T=x.forwardRef(({className:t,...r},e)=>i.jsx(s.Close,{ref:e,className:a.cn("richtext-absolute richtext-right-2 richtext-top-2 richtext-rounded-md richtext-p-1 richtext-text-foreground/50 richtext-opacity-0 richtext-transition-opacity hover:richtext-text-foreground focus:richtext-opacity-100 focus:richtext-outline-none focus:richtext-ring-2 group-hover:richtext-opacity-100 group-[.destructive]:richtext-text-red-300 group-[.destructive]:hover:richtext-text-red-50 group-[.destructive]:focus:richtext-ring-red-400 group-[.destructive]:focus:richtext-ring-offset-red-600",t),"toast-close":"",...r,children:i.jsx($.X,{className:"richtext-h-4 richtext-w-4"})}));T.displayName=s.Close.displayName;const E=x.forwardRef(({className:t,...r},e)=>i.jsx(s.Title,{ref:e,className:a.cn("richtext-text-sm richtext-font-semibold",t),...r}));E.displayName=s.Title.displayName;const R=x.forwardRef(({className:t,...r},e)=>i.jsx(s.Description,{ref:e,className:a.cn("richtext-text-sm richtext-opacity-90",t),...r}));R.displayName=s.Description.displayName;function L(){const{toasts:t}=a.useToast();return i.jsxs(V,{children:[t.map(({id:r,title:e,description:n,action:o,...u})=>i.jsxs(N,{...u,children:[i.jsxs("div",{className:"richtext-grid richtext-gap-1",children:[e&&i.jsx(E,{children:e}),n&&i.jsx(R,{children:n})]}),o,i.jsx(T,{})]},r)),i.jsx(w,{})]})}const F=`
2
2
  .remarkablejames-editor {
3
3
  button,
4
4
  input:where([type=button]),
package/lib/index.js CHANGED
@@ -2,7 +2,7 @@ import { jsx as i, jsxs as f, Fragment as m } from "react/jsx-runtime";
2
2
  import { K as O } from "./clsx-CDyrfCnw.js";
3
3
  import * as u from "react";
4
4
  import { useEffect as x, useId as z } from "react";
5
- import { c as l, S as H, r as L, U as Q, V as _, W as I, X as K } from "./index-lj3VWExo.js";
5
+ import { c as l, S as H, r as L, U as Q, V as _, W as I, X as K } from "./index-_WrFM-Fk.js";
6
6
  import * as c from "@radix-ui/react-toast";
7
7
  import { X as Y } from "lucide-react";
8
8
  import { useTheme as q, THEME as y } from "./theme.js";
@@ -1 +1 @@
1
- "use strict";const a=require("react/jsx-runtime"),d=require("@radix-ui/react-popover"),p=require("react"),h=require("./index-D9oM__YW.cjs");function n(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const i=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,i.get?i:{enumerable:!0,get:()=>t[e]})}}return r.default=t,Object.freeze(r)}const o=n(d),l=n(p),x=o.Root,m=o.Trigger,c=l.forwardRef(({className:t,align:r="center",sideOffset:e=4,...i},s)=>a.jsx(o.Portal,{children:a.jsx(o.Content,{align:r,"data-richtext-portal":!0,ref:s,sideOffset:e,className:h.cn("richtext-z-50 richtext-w-72 richtext-rounded-md !richtext-border !richtext-border-border richtext-bg-popover richtext-p-4 richtext-text-popover-foreground richtext-shadow-md richtext-outline-none 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",t),...i})}));c.displayName=o.Content.displayName;exports.Popover=x;exports.PopoverContent=c;exports.PopoverTrigger=m;
1
+ "use strict";const a=require("react/jsx-runtime"),d=require("@radix-ui/react-popover"),p=require("react"),h=require("./index-Dib4cXXf.cjs");function n(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const i=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,i.get?i:{enumerable:!0,get:()=>t[e]})}}return r.default=t,Object.freeze(r)}const o=n(d),l=n(p),x=o.Root,m=o.Trigger,c=l.forwardRef(({className:t,align:r="center",sideOffset:e=4,...i},s)=>a.jsx(o.Portal,{children:a.jsx(o.Content,{align:r,"data-richtext-portal":!0,ref:s,sideOffset:e,className:h.cn("richtext-z-50 richtext-w-72 richtext-rounded-md !richtext-border !richtext-border-border richtext-bg-popover richtext-p-4 richtext-text-popover-foreground richtext-shadow-md richtext-outline-none 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",t),...i})}));c.displayName=o.Content.displayName;exports.Popover=x;exports.PopoverContent=c;exports.PopoverTrigger=m;
@@ -1,7 +1,7 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
2
  import * as t from "@radix-ui/react-popover";
3
3
  import * as c from "react";
4
- import { c as s } from "./index-lj3VWExo.js";
4
+ import { c as s } from "./index-_WrFM-Fk.js";
5
5
  const x = t.Root, p = t.Trigger, n = c.forwardRef(({ className: o, align: r = "center", sideOffset: i = 4, ...a }, d) => /* @__PURE__ */ e(t.Portal, { children: /* @__PURE__ */ e(
6
6
  t.Content,
7
7
  {
@@ -2,7 +2,7 @@ import { jsxs as h, jsx as e } from "react/jsx-runtime";
2
2
  import * as t from "@radix-ui/react-select";
3
3
  import { ChevronDown as x, ChevronUp as m, Check as p } from "lucide-react";
4
4
  import * as o from "react";
5
- import { c as a } from "./index-lj3VWExo.js";
5
+ import { c as a } from "./index-_WrFM-Fk.js";
6
6
  const v = t.Root, R = t.Value, f = o.forwardRef(({ className: i, children: c, ...r }, s) => /* @__PURE__ */ h(
7
7
  t.Trigger,
8
8
  {
@@ -1 +1 @@
1
- "use strict";const c=require("react/jsx-runtime"),f=require("@radix-ui/react-select"),x=require("lucide-react"),g=require("react"),s=require("./index-D9oM__YW.cjs");function l(r){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const e in r)if(e!=="default"){const a=Object.getOwnPropertyDescriptor(r,e);Object.defineProperty(i,e,a.get?a:{enumerable:!0,get:()=>r[e]})}}return i.default=r,Object.freeze(i)}const t=l(f),o=l(g),y=t.Root,b=t.Value,n=o.forwardRef(({className:r,children:i,...e},a)=>c.jsxs(t.Trigger,{ref:a,className:s.cn("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-text-foreground 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",r),...e,children:[i,c.jsx(t.Icon,{asChild:!0,children:c.jsx(x.ChevronDown,{className:"richtext-size-4 richtext-opacity-50"})})]}));n.displayName=t.Trigger.displayName;const h=o.forwardRef(({className:r,...i},e)=>c.jsx(t.ScrollUpButton,{ref:e,className:s.cn("richtext-flex richtext-cursor-default richtext-items-center richtext-justify-center richtext-py-1",r),...i,children:c.jsx(x.ChevronUp,{className:"richtext-size-4"})}));h.displayName=t.ScrollUpButton.displayName;const d=o.forwardRef(({className:r,...i},e)=>c.jsx(t.ScrollDownButton,{ref:e,className:s.cn("richtext-flex richtext-cursor-default richtext-items-center richtext-justify-center richtext-py-1",r),...i,children:c.jsx(x.ChevronDown,{className:"richtext-size-4"})}));d.displayName=t.ScrollDownButton.displayName;const m=o.forwardRef(({className:r,children:i,position:e="popper",...a},u)=>c.jsx(t.Portal,{children:c.jsxs(t.Content,{"data-richtext-portal":!0,position:e,ref:u,className:s.cn("richtext-relative richtext-z-50 richtext-max-h-60 richtext-min-w-[8rem] richtext-overflow-hidden richtext-overflow-y-auto 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",e==="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",r),...a,children:[c.jsx(h,{}),c.jsx(t.Viewport,{className:s.cn("richtext-p-1",e==="popper"&&"richtext-h-[var(--radix-select-trigger-height)] richtext-w-full richtext-min-w-[var(--radix-select-trigger-width)]"),children:i}),c.jsx(d,{})]})}));m.displayName=t.Content.displayName;const j=o.forwardRef(({className:r,...i},e)=>c.jsx(t.Label,{className:s.cn("richtext-py-1.5 richtext-pl-8 richtext-pr-2 richtext-text-sm richtext-font-semibold",r),ref:e,...i}));j.displayName=t.Label.displayName;const p=o.forwardRef(({className:r,children:i,...e},a)=>c.jsxs(t.Item,{ref:a,className:s.cn("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",r),...e,children:[c.jsx("span",{className:"richtext-absolute richtext-left-2 richtext-flex richtext-size-3.5 richtext-items-center richtext-justify-center",children:c.jsx(t.ItemIndicator,{children:c.jsx(x.Check,{className:"richtext-size-4"})})}),c.jsx(t.ItemText,{children:i})]}));p.displayName=t.Item.displayName;const N=o.forwardRef(({className:r,...i},e)=>c.jsx(t.Separator,{className:s.cn("richtext--mx-1 richtext-my-1 richtext-h-px richtext-bg-muted",r),ref:e,...i}));N.displayName=t.Separator.displayName;exports.Select=y;exports.SelectContent=m;exports.SelectItem=p;exports.SelectTrigger=n;exports.SelectValue=b;
1
+ "use strict";const c=require("react/jsx-runtime"),f=require("@radix-ui/react-select"),x=require("lucide-react"),g=require("react"),s=require("./index-Dib4cXXf.cjs");function l(r){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const e in r)if(e!=="default"){const a=Object.getOwnPropertyDescriptor(r,e);Object.defineProperty(i,e,a.get?a:{enumerable:!0,get:()=>r[e]})}}return i.default=r,Object.freeze(i)}const t=l(f),o=l(g),y=t.Root,b=t.Value,n=o.forwardRef(({className:r,children:i,...e},a)=>c.jsxs(t.Trigger,{ref:a,className:s.cn("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-text-foreground 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",r),...e,children:[i,c.jsx(t.Icon,{asChild:!0,children:c.jsx(x.ChevronDown,{className:"richtext-size-4 richtext-opacity-50"})})]}));n.displayName=t.Trigger.displayName;const h=o.forwardRef(({className:r,...i},e)=>c.jsx(t.ScrollUpButton,{ref:e,className:s.cn("richtext-flex richtext-cursor-default richtext-items-center richtext-justify-center richtext-py-1",r),...i,children:c.jsx(x.ChevronUp,{className:"richtext-size-4"})}));h.displayName=t.ScrollUpButton.displayName;const d=o.forwardRef(({className:r,...i},e)=>c.jsx(t.ScrollDownButton,{ref:e,className:s.cn("richtext-flex richtext-cursor-default richtext-items-center richtext-justify-center richtext-py-1",r),...i,children:c.jsx(x.ChevronDown,{className:"richtext-size-4"})}));d.displayName=t.ScrollDownButton.displayName;const m=o.forwardRef(({className:r,children:i,position:e="popper",...a},u)=>c.jsx(t.Portal,{children:c.jsxs(t.Content,{"data-richtext-portal":!0,position:e,ref:u,className:s.cn("richtext-relative richtext-z-50 richtext-max-h-60 richtext-min-w-[8rem] richtext-overflow-hidden richtext-overflow-y-auto 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",e==="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",r),...a,children:[c.jsx(h,{}),c.jsx(t.Viewport,{className:s.cn("richtext-p-1",e==="popper"&&"richtext-h-[var(--radix-select-trigger-height)] richtext-w-full richtext-min-w-[var(--radix-select-trigger-width)]"),children:i}),c.jsx(d,{})]})}));m.displayName=t.Content.displayName;const j=o.forwardRef(({className:r,...i},e)=>c.jsx(t.Label,{className:s.cn("richtext-py-1.5 richtext-pl-8 richtext-pr-2 richtext-text-sm richtext-font-semibold",r),ref:e,...i}));j.displayName=t.Label.displayName;const p=o.forwardRef(({className:r,children:i,...e},a)=>c.jsxs(t.Item,{ref:a,className:s.cn("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",r),...e,children:[c.jsx("span",{className:"richtext-absolute richtext-left-2 richtext-flex richtext-size-3.5 richtext-items-center richtext-justify-center",children:c.jsx(t.ItemIndicator,{children:c.jsx(x.Check,{className:"richtext-size-4"})})}),c.jsx(t.ItemText,{children:i})]}));p.displayName=t.Item.displayName;const N=o.forwardRef(({className:r,...i},e)=>c.jsx(t.Separator,{className:s.cn("richtext--mx-1 richtext-my-1 richtext-h-px richtext-bg-muted",r),ref:e,...i}));N.displayName=t.Separator.displayName;exports.Select=y;exports.SelectContent=m;exports.SelectItem=p;exports.SelectTrigger=n;exports.SelectValue=b;
@@ -3,10 +3,10 @@ import { Plus as k } from "lucide-react";
3
3
  import * as $ from "react";
4
4
  import { useCallback as m, useState as w, useEffect as L, useRef as M, useMemo as B } from "react";
5
5
  import { HexColorPicker as F } from "react-colorful";
6
- import { j as I, B as _, c as T } from "./index-lj3VWExo.js";
6
+ import { j as I, B as _, c as T } from "./index-_WrFM-Fk.js";
7
7
  import "./theme.js";
8
8
  import { u as N, C as j } from "./index-4Q5IhypJ.js";
9
- import { P as z, a as E, b as y } from "./popover-CPr9bHYn.js";
9
+ import { P as z, a as E, b as y } from "./popover-CSvY4C-l.js";
10
10
  import * as R from "@radix-ui/react-separator";
11
11
  function D() {
12
12
  return /* @__PURE__ */ t("svg", { xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 24 24", children: /* @__PURE__ */ t(
@@ -1 +1 @@
1
- "use strict";const e=require("react/jsx-runtime"),E=require("lucide-react"),n=require("react"),P=require("react-colorful"),j=require("./index-D9oM__YW.cjs");require("./theme.cjs");const C=require("./index-bVGIXhRg.cjs"),v=require("./popover-D-hUKDYu.cjs"),O=require("@radix-ui/react-separator");function N(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const c in t)if(c!=="default"){const h=Object.getOwnPropertyDescriptor(t,c);Object.defineProperty(r,c,h.get?h:{enumerable:!0,get:()=>t[c]})}}return r.default=t,Object.freeze(r)}const y=N(n),z=N(O);function R(){return e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",children:e.jsx("path",{fill:"currentColor",d:"M18 14c0-4-6-10.8-6-10.8s-1.33 1.51-2.73 3.52l8.59 8.59c.09-.42.14-.86.14-1.31m-.88 3.12L12.5 12.5L5.27 5.27L4 6.55l3.32 3.32C6.55 11.32 6 12.79 6 14c0 3.31 2.69 6 6 6c1.52 0 2.9-.57 3.96-1.5l2.63 2.63l1.27-1.27z"})})}const w=typeof window>"u";function L(t,r,c=window){const h=n.useRef(void 0);n.useEffect(()=>{h.current=r},[r]),n.useEffect(()=>{if(!(c&&c.addEventListener))return;const f=x=>{h.current&&h.current(x)};return c.addEventListener(t,f),()=>{c.removeEventListener(t,f)}},[t,c])}function _(t,r,c={}){const{initializeWithValue:h=!0}=c,i=n.useCallback(o=>c.serializer?c.serializer(o):JSON.stringify(o),[c]),f=n.useCallback(o=>{if(c.deserializer)return c.deserializer(o);if(o==="undefined")return;const l=r instanceof Function?r():r;let s;try{s=JSON.parse(o)}catch(a){return console.error("Error parsing JSON:",a),l}return s},[c,r]),x=n.useCallback(()=>{const o=r instanceof Function?r():r;if(w)return o;try{const l=window.localStorage.getItem(t);return l?f(l):o}catch(l){return console.warn(`Error reading localStorage key “${t}”:`,l),o}},[r,t,f]),[d,p]=n.useState(()=>h?x():r instanceof Function?r():r),b=n.useCallback(o=>{w&&console.warn(`Tried setting localStorage key “${t}” even though environment is not a client`);try{const l=o instanceof Function?o(x()):o;window.localStorage.setItem(t,i(l)),p(l),window.dispatchEvent(new StorageEvent("local-storage",{key:t}))}catch(l){console.warn(`Error setting localStorage key “${t}”:`,l)}},[t,i,x]),g=n.useCallback(()=>{w&&console.warn(`Tried removing localStorage key “${t}” even though environment is not a client`);const o=r instanceof Function?r():r;window.localStorage.removeItem(t),p(o),window.dispatchEvent(new StorageEvent("local-storage",{key:t}))},[t,r]);n.useEffect(()=>{p(x())},[t]);const m=n.useCallback(o=>{o.key&&o.key!==t||p(x())},[t,x]);return L("storage",m),L("local-storage",m),[d,b,g]}function q(t){const{t:r}=C.useLocale(),{disabled:c=!1,value:h,onChange:i,colors:f=C.COLORS_LIST,highlight:x}=t,[d,p]=n.useState(!1),b=n.useMemo(()=>{const s=f,a=[];for(let u=0;u<s.length;u+=10)a.push(s.slice(u,u+10));return a},[f]),[g,m]=_(x?"richtext-recent-highlight":"richtext-recent-colors",[]),o=s=>{const a=[...g],u=a.indexOf(s);u!==-1&&a.splice(u,1),a.unshift(s),a.length>10&&a.pop(),m(a)};function l(s){if(s===void 0){i==null||i(s),p(!1);return}/^#([\da-f]{3}){1,2}$/i.test(s)&&(i==null||i(s),o(s),p(!1))}return e.jsxs(v.Popover,{modal:!0,onOpenChange:p,open:d,children:[e.jsx(v.PopoverTrigger,{asChild:!0,className:"!richtext-p-0",disabled:c,children:t==null?void 0:t.children}),e.jsx(v.PopoverContent,{align:"start",className:"richtext-size-full !richtext-p-2",hideWhenDetached:!0,side:"bottom",children:e.jsxs("div",{className:"richtext-flex richtext-flex-col",children:[e.jsxs("div",{className:"rd-1 richtext-flex richtext-cursor-pointer richtext-items-center richtext-gap-[4px] richtext-p-1 hover:richtext-bg-accent",onClick:()=>{l(void 0)},children:[e.jsx(R,{}),e.jsx("span",{className:"richtext-ml-1 richtext-text-sm",children:r(x?"editor.nofill":"editor.default")})]}),b.map((s,a)=>e.jsx("span",{className:"richtext-relative richtext-flex richtext-h-auto richtext-w-full richtext-p-0 last:richtext-pb-2",children:s.map((u,k)=>e.jsx("span",{className:"richtext-inline-block richtext-size-6 richtext-flex-[0_0_auto] richtext-cursor-pointer richtext-rounded-sm !richtext-border richtext-border-solid !richtext-border-transparent richtext-p-0.5 hover:!richtext-border-border",onClick:()=>l(u),children:e.jsx("span",{className:"richtext-relative richtext-block richtext-size-[18px] richtext-rounded-[2px]",style:{backgroundColor:u},children:u===h?e.jsx("svg",{className:"richtext-absolute -richtext-top-px richtext-left-px richtext-block richtext-size-3",viewBox:"0 0 18 18",style:{fill:"rgb(255, 255, 255)"},children:e.jsx("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})}):e.jsx("svg",{viewBox:"0 0 18 18",style:{fill:"rgb(255, 255, 255)",display:"none"},children:e.jsx("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})})},`sub-color-${k}`))},`color-row-${a}`)),e.jsxs("div",{children:[e.jsx("div",{className:"richtext-my-1 richtext-text-sm",children:r("editor.recent")}),e.jsx("span",{className:"richtext-relative richtext-flex richtext-h-auto richtext-w-full richtext-flex-wrap richtext-p-0 last:richtext-pb-2",children:g==null?void 0:g.map((s,a)=>e.jsx("span",{className:"richtext-inline-block richtext-size-6 richtext-flex-[0_0_auto] richtext-cursor-pointer richtext-rounded-sm !richtext-border richtext-border-transparent richtext-p-0.5 hover:richtext-border-border hover:richtext-shadow-sm",onClick:()=>l(s),children:e.jsx("span",{className:"richtext-relative richtext-block richtext-size-[18px] richtext-rounded-[2px] richtext-border-transparent",style:{backgroundColor:s},children:e.jsx("svg",{viewBox:"0 0 18 18",style:{fill:"rgb(255, 255, 255)",display:"none"},children:e.jsx("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})})},`sub-color-recent-${a}`))})]}),e.jsx(M,{setColor:l})]})})]})}function M({setColor:t}){const{t:r}=C.useLocale(),[c,h]=n.useState(!1),[i,f]=n.useState("#000000"),x=n.useCallback(d=>{f(d)},[]);return e.jsxs(v.Popover,{onOpenChange:h,open:c,children:[e.jsx(v.PopoverTrigger,{asChild:!0,children:e.jsxs("div",{className:"richtext-p-1.5 richtext-text-sm hover:richtext-cursor-pointer hover:richtext-bg-accent",children:[r("editor.color.more"),"..."]})}),e.jsxs(v.PopoverContent,{children:[e.jsxs("div",{className:"richtext-flex richtext-flex-col richtext-items-center richtext-justify-center",children:[e.jsx(P.HexColorPicker,{color:i,onChange:d=>{x(d)}}),e.jsx(j.Input,{className:"richtext-mt-[8px] richtext-w-full",type:"text",value:i.replace("#",""),onChange:d=>{d.preventDefault(),d.stopPropagation(),x(`#${d.target.value}`)}})]}),e.jsx(S,{className:"richtext-my-[10px]"}),e.jsx(j.Button,{className:"richtext-w-full",onClick:d=>{d.preventDefault(),d.stopPropagation(),t(i),h(!1)},children:e.jsx(E.Plus,{size:16})})]})]})}const S=y.forwardRef(({className:t,orientation:r="horizontal",decorative:c=!0,...h},i)=>e.jsx(z.Root,{ref:i,decorative:c,orientation:r,className:j.cn("richtext-shrink-0 richtext-bg-border",r==="horizontal"?"richtext-h-[1px] richtext-w-full":"richtext-h-full richtext-w-[1px]",t),...h}));S.displayName=z.Root.displayName;exports.ColorPicker=q;exports.Separator=S;
1
+ "use strict";const e=require("react/jsx-runtime"),E=require("lucide-react"),n=require("react"),P=require("react-colorful"),j=require("./index-Dib4cXXf.cjs");require("./theme.cjs");const C=require("./index-bVGIXhRg.cjs"),v=require("./popover-BY7j9SiD.cjs"),O=require("@radix-ui/react-separator");function N(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const c in t)if(c!=="default"){const h=Object.getOwnPropertyDescriptor(t,c);Object.defineProperty(r,c,h.get?h:{enumerable:!0,get:()=>t[c]})}}return r.default=t,Object.freeze(r)}const y=N(n),z=N(O);function R(){return e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 24 24",children:e.jsx("path",{fill:"currentColor",d:"M18 14c0-4-6-10.8-6-10.8s-1.33 1.51-2.73 3.52l8.59 8.59c.09-.42.14-.86.14-1.31m-.88 3.12L12.5 12.5L5.27 5.27L4 6.55l3.32 3.32C6.55 11.32 6 12.79 6 14c0 3.31 2.69 6 6 6c1.52 0 2.9-.57 3.96-1.5l2.63 2.63l1.27-1.27z"})})}const w=typeof window>"u";function L(t,r,c=window){const h=n.useRef(void 0);n.useEffect(()=>{h.current=r},[r]),n.useEffect(()=>{if(!(c&&c.addEventListener))return;const f=x=>{h.current&&h.current(x)};return c.addEventListener(t,f),()=>{c.removeEventListener(t,f)}},[t,c])}function _(t,r,c={}){const{initializeWithValue:h=!0}=c,i=n.useCallback(o=>c.serializer?c.serializer(o):JSON.stringify(o),[c]),f=n.useCallback(o=>{if(c.deserializer)return c.deserializer(o);if(o==="undefined")return;const l=r instanceof Function?r():r;let s;try{s=JSON.parse(o)}catch(a){return console.error("Error parsing JSON:",a),l}return s},[c,r]),x=n.useCallback(()=>{const o=r instanceof Function?r():r;if(w)return o;try{const l=window.localStorage.getItem(t);return l?f(l):o}catch(l){return console.warn(`Error reading localStorage key “${t}”:`,l),o}},[r,t,f]),[d,p]=n.useState(()=>h?x():r instanceof Function?r():r),b=n.useCallback(o=>{w&&console.warn(`Tried setting localStorage key “${t}” even though environment is not a client`);try{const l=o instanceof Function?o(x()):o;window.localStorage.setItem(t,i(l)),p(l),window.dispatchEvent(new StorageEvent("local-storage",{key:t}))}catch(l){console.warn(`Error setting localStorage key “${t}”:`,l)}},[t,i,x]),g=n.useCallback(()=>{w&&console.warn(`Tried removing localStorage key “${t}” even though environment is not a client`);const o=r instanceof Function?r():r;window.localStorage.removeItem(t),p(o),window.dispatchEvent(new StorageEvent("local-storage",{key:t}))},[t,r]);n.useEffect(()=>{p(x())},[t]);const m=n.useCallback(o=>{o.key&&o.key!==t||p(x())},[t,x]);return L("storage",m),L("local-storage",m),[d,b,g]}function q(t){const{t:r}=C.useLocale(),{disabled:c=!1,value:h,onChange:i,colors:f=C.COLORS_LIST,highlight:x}=t,[d,p]=n.useState(!1),b=n.useMemo(()=>{const s=f,a=[];for(let u=0;u<s.length;u+=10)a.push(s.slice(u,u+10));return a},[f]),[g,m]=_(x?"richtext-recent-highlight":"richtext-recent-colors",[]),o=s=>{const a=[...g],u=a.indexOf(s);u!==-1&&a.splice(u,1),a.unshift(s),a.length>10&&a.pop(),m(a)};function l(s){if(s===void 0){i==null||i(s),p(!1);return}/^#([\da-f]{3}){1,2}$/i.test(s)&&(i==null||i(s),o(s),p(!1))}return e.jsxs(v.Popover,{modal:!0,onOpenChange:p,open:d,children:[e.jsx(v.PopoverTrigger,{asChild:!0,className:"!richtext-p-0",disabled:c,children:t==null?void 0:t.children}),e.jsx(v.PopoverContent,{align:"start",className:"richtext-size-full !richtext-p-2",hideWhenDetached:!0,side:"bottom",children:e.jsxs("div",{className:"richtext-flex richtext-flex-col",children:[e.jsxs("div",{className:"rd-1 richtext-flex richtext-cursor-pointer richtext-items-center richtext-gap-[4px] richtext-p-1 hover:richtext-bg-accent",onClick:()=>{l(void 0)},children:[e.jsx(R,{}),e.jsx("span",{className:"richtext-ml-1 richtext-text-sm",children:r(x?"editor.nofill":"editor.default")})]}),b.map((s,a)=>e.jsx("span",{className:"richtext-relative richtext-flex richtext-h-auto richtext-w-full richtext-p-0 last:richtext-pb-2",children:s.map((u,k)=>e.jsx("span",{className:"richtext-inline-block richtext-size-6 richtext-flex-[0_0_auto] richtext-cursor-pointer richtext-rounded-sm !richtext-border richtext-border-solid !richtext-border-transparent richtext-p-0.5 hover:!richtext-border-border",onClick:()=>l(u),children:e.jsx("span",{className:"richtext-relative richtext-block richtext-size-[18px] richtext-rounded-[2px]",style:{backgroundColor:u},children:u===h?e.jsx("svg",{className:"richtext-absolute -richtext-top-px richtext-left-px richtext-block richtext-size-3",viewBox:"0 0 18 18",style:{fill:"rgb(255, 255, 255)"},children:e.jsx("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})}):e.jsx("svg",{viewBox:"0 0 18 18",style:{fill:"rgb(255, 255, 255)",display:"none"},children:e.jsx("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})})},`sub-color-${k}`))},`color-row-${a}`)),e.jsxs("div",{children:[e.jsx("div",{className:"richtext-my-1 richtext-text-sm",children:r("editor.recent")}),e.jsx("span",{className:"richtext-relative richtext-flex richtext-h-auto richtext-w-full richtext-flex-wrap richtext-p-0 last:richtext-pb-2",children:g==null?void 0:g.map((s,a)=>e.jsx("span",{className:"richtext-inline-block richtext-size-6 richtext-flex-[0_0_auto] richtext-cursor-pointer richtext-rounded-sm !richtext-border richtext-border-transparent richtext-p-0.5 hover:richtext-border-border hover:richtext-shadow-sm",onClick:()=>l(s),children:e.jsx("span",{className:"richtext-relative richtext-block richtext-size-[18px] richtext-rounded-[2px] richtext-border-transparent",style:{backgroundColor:s},children:e.jsx("svg",{viewBox:"0 0 18 18",style:{fill:"rgb(255, 255, 255)",display:"none"},children:e.jsx("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"})})})},`sub-color-recent-${a}`))})]}),e.jsx(M,{setColor:l})]})})]})}function M({setColor:t}){const{t:r}=C.useLocale(),[c,h]=n.useState(!1),[i,f]=n.useState("#000000"),x=n.useCallback(d=>{f(d)},[]);return e.jsxs(v.Popover,{onOpenChange:h,open:c,children:[e.jsx(v.PopoverTrigger,{asChild:!0,children:e.jsxs("div",{className:"richtext-p-1.5 richtext-text-sm hover:richtext-cursor-pointer hover:richtext-bg-accent",children:[r("editor.color.more"),"..."]})}),e.jsxs(v.PopoverContent,{children:[e.jsxs("div",{className:"richtext-flex richtext-flex-col richtext-items-center richtext-justify-center",children:[e.jsx(P.HexColorPicker,{color:i,onChange:d=>{x(d)}}),e.jsx(j.Input,{className:"richtext-mt-[8px] richtext-w-full",type:"text",value:i.replace("#",""),onChange:d=>{d.preventDefault(),d.stopPropagation(),x(`#${d.target.value}`)}})]}),e.jsx(S,{className:"richtext-my-[10px]"}),e.jsx(j.Button,{className:"richtext-w-full",onClick:d=>{d.preventDefault(),d.stopPropagation(),t(i),h(!1)},children:e.jsx(E.Plus,{size:16})})]})]})}const S=y.forwardRef(({className:t,orientation:r="horizontal",decorative:c=!0,...h},i)=>e.jsx(z.Root,{ref:i,decorative:c,orientation:r,className:j.cn("richtext-shrink-0 richtext-bg-border",r==="horizontal"?"richtext-h-[1px] richtext-w-full":"richtext-h-full richtext-w-[1px]",t),...h}));S.displayName=z.Root.displayName;exports.ColorPicker=q;exports.Separator=S;
package/lib/style.css CHANGED
@@ -1 +1 @@
1
- :root{--richtext-border-spacing-x: 0;--richtext-border-spacing-y: 0;--richtext-translate-x: 0;--richtext-translate-y: 0;--richtext-rotate: 0;--richtext-skew-x: 0;--richtext-skew-y: 0;--richtext-scale-x: 1;--richtext-scale-y: 1;--richtext-pan-x: ;--richtext-pan-y: ;--richtext-pinch-zoom: ;--richtext-scroll-snap-strictness: proximity;--richtext-gradient-from-position: ;--richtext-gradient-via-position: ;--richtext-gradient-to-position: ;--richtext-ordinal: ;--richtext-slashed-zero: ;--richtext-numeric-figure: ;--richtext-numeric-spacing: ;--richtext-numeric-fraction: ;--richtext-ring-inset: ;--richtext-ring-offset-width: 0px;--richtext-ring-offset-color: #fff;--richtext-ring-color: rgb(59 130 246 / .5);--richtext-ring-offset-shadow: 0 0 #0000;--richtext-ring-shadow: 0 0 #0000;--richtext-shadow: 0 0 #0000;--richtext-shadow-colored: 0 0 #0000;--richtext-blur: ;--richtext-brightness: ;--richtext-contrast: ;--richtext-grayscale: ;--richtext-hue-rotate: ;--richtext-invert: ;--richtext-saturate: ;--richtext-sepia: ;--richtext-drop-shadow: ;--richtext-backdrop-blur: ;--richtext-backdrop-brightness: ;--richtext-backdrop-contrast: ;--richtext-backdrop-grayscale: ;--richtext-backdrop-hue-rotate: ;--richtext-backdrop-invert: ;--richtext-backdrop-opacity: ;--richtext-backdrop-saturate: ;--richtext-backdrop-sepia: ;--richtext-contain-size: ;--richtext-contain-layout: ;--richtext-contain-paint: ;--richtext-contain-style: }::backdrop{--richtext-border-spacing-x: 0;--richtext-border-spacing-y: 0;--richtext-translate-x: 0;--richtext-translate-y: 0;--richtext-rotate: 0;--richtext-skew-x: 0;--richtext-skew-y: 0;--richtext-scale-x: 1;--richtext-scale-y: 1;--richtext-pan-x: ;--richtext-pan-y: ;--richtext-pinch-zoom: ;--richtext-scroll-snap-strictness: proximity;--richtext-gradient-from-position: ;--richtext-gradient-via-position: ;--richtext-gradient-to-position: ;--richtext-ordinal: ;--richtext-slashed-zero: ;--richtext-numeric-figure: ;--richtext-numeric-spacing: ;--richtext-numeric-fraction: ;--richtext-ring-inset: ;--richtext-ring-offset-width: 0px;--richtext-ring-offset-color: #fff;--richtext-ring-color: rgb(59 130 246 / .5);--richtext-ring-offset-shadow: 0 0 #0000;--richtext-ring-shadow: 0 0 #0000;--richtext-shadow: 0 0 #0000;--richtext-shadow-colored: 0 0 #0000;--richtext-blur: ;--richtext-brightness: ;--richtext-contrast: ;--richtext-grayscale: ;--richtext-hue-rotate: ;--richtext-invert: ;--richtext-saturate: ;--richtext-sepia: ;--richtext-drop-shadow: ;--richtext-backdrop-blur: ;--richtext-backdrop-brightness: ;--richtext-backdrop-contrast: ;--richtext-backdrop-grayscale: ;--richtext-backdrop-hue-rotate: ;--richtext-backdrop-invert: ;--richtext-backdrop-opacity: ;--richtext-backdrop-saturate: ;--richtext-backdrop-sepia: ;--richtext-contain-size: ;--richtext-contain-layout: ;--richtext-contain-paint: ;--richtext-contain-style: }.richtext-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.richtext-pointer-events-none{pointer-events:none}.richtext-pointer-events-auto{pointer-events:auto}.richtext-fixed{position:fixed}.\!richtext-absolute{position:absolute!important}.richtext-absolute{position:absolute}.\!richtext-relative{position:relative!important}.richtext-relative{position:relative}.\!richtext-inset-0{top:0!important;right:0!important;bottom:0!important;left:0!important}.richtext-inset-0{top:0;right:0;bottom:0;left:0}.richtext-inset-y-0{top:0;bottom:0}.-richtext-top-px{top:-1px}.richtext-left-2{left:.5rem}.richtext-left-\[50\%\]{left:50%}.richtext-left-px{left:1px}.richtext-right-2{right:.5rem}.richtext-right-4{right:1rem}.richtext-start-0{inset-inline-start:0px}.richtext-top-0{top:0}.richtext-top-2{top:.5rem}.richtext-top-4{top:1rem}.richtext-top-\[50\%\]{top:50%}.\!richtext-isolate{isolation:isolate!important}.richtext-z-50{z-index:50}.richtext-z-\[100\]{z-index:100}.richtext-z-\[99999\]{z-index:99999}.\!richtext-mx-1{margin-left:.25rem!important;margin-right:.25rem!important}.\!richtext-my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.\!richtext-my-\[10px\]{margin-top:10px!important;margin-bottom:10px!important}.richtext--mx-1{margin-left:-.25rem;margin-right:-.25rem}.richtext-mx-\[4px\]{margin-left:4px;margin-right:4px}.richtext-mx-auto{margin-left:auto;margin-right:auto}.richtext-my-1{margin-top:.25rem;margin-bottom:.25rem}.richtext-my-4{margin-top:1rem;margin-bottom:1rem}.richtext-my-\[10px\]{margin-top:10px;margin-bottom:10px}.richtext-my-\[12px\]{margin-top:12px;margin-bottom:12px}.richtext-my-\[5px\]{margin-top:5px;margin-bottom:5px}.\!richtext-ml-1\.5{margin-left:.375rem!important}.\!richtext-mr-1{margin-right:.25rem!important}.richtext-mb-2{margin-bottom:.5rem}.richtext-mb-\[10px\]{margin-bottom:10px}.richtext-mb-\[4px\]{margin-bottom:4px}.richtext-mb-\[5px\]{margin-bottom:5px}.richtext-mb-\[6px\]{margin-bottom:6px}.richtext-ml-1{margin-left:.25rem}.richtext-ml-auto{margin-left:auto}.richtext-mt-1{margin-top:.25rem}.richtext-mt-2{margin-top:.5rem}.richtext-mt-\[8px\]{margin-top:8px}.richtext-box-border{box-sizing:border-box}.richtext-block{display:block}.richtext-inline-block{display:inline-block}.\!richtext-flex{display:flex!important}.richtext-flex{display:flex}.richtext-inline-flex{display:inline-flex}.richtext-grid{display:grid}.\!richtext-size-4{width:1rem!important;height:1rem!important}.\!richtext-size-7{width:1.75rem!important;height:1.75rem!important}.richtext-size-10{width:2.5rem;height:2.5rem}.richtext-size-2{width:.5rem;height:.5rem}.richtext-size-3{width:.75rem;height:.75rem}.richtext-size-3\.5{width:.875rem;height:.875rem}.richtext-size-4{width:1rem;height:1rem}.richtext-size-5{width:1.25rem;height:1.25rem}.richtext-size-6{width:1.5rem;height:1.5rem}.richtext-size-7{width:1.75rem;height:1.75rem}.richtext-size-\[18px\]{width:18px;height:18px}.richtext-size-full{width:100%;height:100%}.\!richtext-h-10{height:2.5rem!important}.\!richtext-h-3{height:.75rem!important}.\!richtext-h-4{height:1rem!important}.\!richtext-h-7{height:1.75rem!important}.\!richtext-h-9{height:2.25rem!important}.\!richtext-h-\[16px\]{height:16px!important}.\!richtext-h-\[342px\]{height:342px!important}.richtext-h-10{height:2.5rem}.richtext-h-11{height:2.75rem}.richtext-h-12{height:3rem}.richtext-h-4{height:1rem}.richtext-h-5{height:1.25rem}.richtext-h-6{height:1.5rem}.richtext-h-7{height:1.75rem}.richtext-h-8{height:2rem}.richtext-h-9{height:2.25rem}.richtext-h-\[1px\]{height:1px}.richtext-h-\[32px\]{height:32px}.richtext-h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.richtext-h-auto{height:auto}.richtext-h-full{height:100%}.richtext-h-px{height:1px}.\!richtext-max-h-\[320px\]{max-height:320px!important}.richtext-max-h-60{max-height:15rem}.richtext-max-h-96{max-height:24rem}.richtext-max-h-\[280px\]{max-height:280px}.richtext-max-h-\[320px\]{max-height:320px}.richtext-max-h-\[min\(80vh\,24rem\)\]{max-height:min(80vh,24rem)}.richtext-max-h-screen{max-height:100vh}.richtext-min-h-\[120px\]{min-height:120px}.richtext-min-h-\[80px\]{min-height:80px}.\!richtext-w-12{width:3rem!important}.\!richtext-w-3{width:.75rem!important}.\!richtext-w-4{width:1rem!important}.\!richtext-w-\[160px\]{width:160px!important}.\!richtext-w-\[initial\]{width:initial!important}.\!richtext-w-fit{width:fit-content!important}.\!richtext-w-full{width:100%!important}.richtext-w-11{width:2.75rem}.richtext-w-32{width:8rem}.richtext-w-4{width:1rem}.richtext-w-48{width:12rem}.richtext-w-5{width:1.25rem}.richtext-w-72{width:18rem}.richtext-w-80{width:20rem}.richtext-w-\[160px\]{width:160px}.richtext-w-\[1px\]{width:1px}.richtext-w-\[200px\]{width:200px}.richtext-w-\[32px\]{width:32px}.richtext-w-\[60px\]{width:60px}.richtext-w-fit{width:fit-content}.richtext-w-full{width:100%}.\!richtext-min-w-0{min-width:0px!important}.\!richtext-min-w-\[20px\]{min-width:20px!important}.richtext-min-w-24{min-width:6rem}.richtext-min-w-4{min-width:1rem}.richtext-min-w-48{min-width:12rem}.richtext-min-w-\[200px\]{min-width:200px}.richtext-min-w-\[8rem\]{min-width:8rem}.richtext-min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.\!richtext-max-w-\[1300px\]{max-width:1300px!important}.\!richtext-max-w-\[400px\]{max-width:400px!important}.richtext-max-w-24{max-width:6rem}.richtext-max-w-\[600px\]{max-width:600px}.richtext-max-w-lg{max-width:32rem}.richtext-max-w-sm{max-width:24rem}.richtext-max-w-xs{max-width:20rem}.\!richtext-flex-1{flex:1 1 0%!important}.\!richtext-flex-none{flex:none!important}.richtext-flex-1{flex:1 1 0%}.richtext-flex-\[0_0_auto\]{flex:0 0 auto}.\!richtext-shrink-0{flex-shrink:0!important}.richtext-shrink-0{flex-shrink:0}.richtext-grow{flex-grow:1}.richtext-translate-x-\[-50\%\]{--richtext-translate-x: -50%;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.richtext-translate-y-\[-50\%\]{--richtext-translate-y: -50%;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.\!richtext-animate-spin{animation:richtext-spin 1s linear infinite!important}.richtext-animate-spin{animation:richtext-spin 1s linear infinite}.richtext-cursor-default{cursor:default}.richtext-cursor-pointer{cursor:pointer}.\!richtext-select-none{-webkit-user-select:none!important;user-select:none!important}.richtext-select-none{-webkit-user-select:none;user-select:none}.\!richtext-scroll-my-1{scroll-margin-top:.25rem!important;scroll-margin-bottom:.25rem!important}.richtext-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.richtext-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.richtext-flex-row{flex-direction:row}.\!richtext-flex-col{flex-direction:column!important}.richtext-flex-col{flex-direction:column}.richtext-flex-col-reverse{flex-direction:column-reverse}.richtext-flex-wrap{flex-wrap:wrap}.richtext-flex-nowrap{flex-wrap:nowrap}.\!richtext-items-center{align-items:center!important}.richtext-items-center{align-items:center}.richtext-justify-end{justify-content:flex-end}.\!richtext-justify-center{justify-content:center!important}.richtext-justify-center{justify-content:center}.richtext-justify-between{justify-content:space-between}.\!richtext-gap-1{gap:.25rem!important}.\!richtext-gap-2{gap:.5rem!important}.richtext-gap-0\.5{gap:.125rem}.richtext-gap-1{gap:.25rem}.richtext-gap-1\.5{gap:.375rem}.richtext-gap-2{gap:.5rem}.richtext-gap-3{gap:.75rem}.richtext-gap-4{gap:1rem}.richtext-gap-\[10px\]{gap:10px}.richtext-gap-\[4px\]{gap:4px}.richtext-space-x-4>:not([hidden])~:not([hidden]){--richtext-space-x-reverse: 0;margin-right:calc(1rem * var(--richtext-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--richtext-space-x-reverse)))}.richtext-space-y-1\.5>:not([hidden])~:not([hidden]){--richtext-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--richtext-space-y-reverse)));margin-bottom:calc(.375rem * var(--richtext-space-y-reverse))}.richtext-space-y-2>:not([hidden])~:not([hidden]){--richtext-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--richtext-space-y-reverse)));margin-bottom:calc(.5rem * var(--richtext-space-y-reverse))}.richtext-space-y-4>:not([hidden])~:not([hidden]){--richtext-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--richtext-space-y-reverse)));margin-bottom:calc(1rem * var(--richtext-space-y-reverse))}.richtext-self-end{align-self:flex-end}.richtext-overflow-auto{overflow:auto}.\!richtext-overflow-hidden{overflow:hidden!important}.richtext-overflow-hidden{overflow:hidden}.richtext-overflow-y-auto{overflow-y:auto}.richtext-overflow-x-hidden{overflow-x:hidden}.\!richtext-truncate{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.richtext-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.richtext-whitespace-nowrap{white-space:nowrap}.richtext-break-words{overflow-wrap:break-word}.\!richtext-rounded-md{border-radius:calc(var(--radius) - 2px)!important}.\!richtext-rounded-sm{border-radius:calc(var(--radius) - 4px)!important}.richtext-rounded{border-radius:.25rem}.richtext-rounded-\[10px\]{border-radius:10px}.richtext-rounded-\[12px\]{border-radius:12px}.richtext-rounded-\[2px\]{border-radius:2px}.richtext-rounded-full{border-radius:9999px}.richtext-rounded-lg{border-radius:var(--radius)}.richtext-rounded-md{border-radius:calc(var(--radius) - 2px)}.richtext-rounded-sm{border-radius:calc(var(--radius) - 4px)}.\!richtext-border{border-width:1px!important}.richtext-border{border-width:1px}.richtext-border-2{border-width:2px}.\!richtext-border-b{border-bottom-width:1px!important}.\!richtext-border-t{border-top-width:1px!important}.\!richtext-border-solid{border-style:solid!important}.richtext-border-solid{border-style:solid}.\!richtext-border-none{border-style:none!important}.richtext-border-none{border-style:none}.\!richtext-border-border{border-color:hsl(var(--border))!important}.\!richtext-border-primary{border-color:hsl(var(--primary))!important}.\!richtext-border-transparent{border-color:transparent!important}.richtext-border-\[\#1f6feb\]{--richtext-border-opacity: 1;border-color:rgb(31 111 235 / var(--richtext-border-opacity, 1))}.richtext-border-\[\#238636\]{--richtext-border-opacity: 1;border-color:rgb(35 134 54 / var(--richtext-border-opacity, 1))}.richtext-border-\[\#ab7df8\]{--richtext-border-opacity: 1;border-color:rgb(171 125 248 / var(--richtext-border-opacity, 1))}.richtext-border-\[\#d29922\]{--richtext-border-opacity: 1;border-color:rgb(210 153 34 / var(--richtext-border-opacity, 1))}.richtext-border-\[\#f85149\]{--richtext-border-opacity: 1;border-color:rgb(248 81 73 / var(--richtext-border-opacity, 1))}.richtext-border-border{border-color:hsl(var(--border))}.richtext-border-destructive{border-color:hsl(var(--destructive))}.richtext-border-gray-300{--richtext-border-opacity: 1;border-color:rgb(209 213 219 / var(--richtext-border-opacity, 1))}.richtext-border-input{border-color:hsl(var(--input))}.richtext-border-transparent{border-color:transparent}.\!richtext-bg-foreground{background-color:hsl(var(--foreground))!important}.\!richtext-bg-popover{background-color:hsl(var(--popover))!important}.\!richtext-bg-primary{background-color:hsl(var(--primary))!important}.\!richtext-bg-transparent{background-color:transparent!important}.richtext-bg-\[\#1f6feb1f\]{background-color:#1f6feb1f}.richtext-bg-\[\#2386361f\]{background-color:#2386361f}.richtext-bg-\[\#5a5d5e4f\]{background-color:#5a5d5e4f}.richtext-bg-\[\#ab7df81f\]{background-color:#ab7df81f}.richtext-bg-\[\#d299221f\]{background-color:#d299221f}.richtext-bg-\[\#f851491f\]{background-color:#f851491f}.richtext-bg-background{background-color:hsl(var(--background))}.richtext-bg-black\/80{background-color:#000c}.richtext-bg-border{background-color:hsl(var(--border))}.richtext-bg-destructive{background-color:hsl(var(--destructive))}.richtext-bg-gray-50{--richtext-bg-opacity: 1;background-color:rgb(249 250 251 / var(--richtext-bg-opacity, 1))}.richtext-bg-muted{background-color:hsl(var(--muted))}.richtext-bg-popover{background-color:hsl(var(--popover))}.richtext-bg-primary{background-color:hsl(var(--primary))}.richtext-bg-red-50{--richtext-bg-opacity: 1;background-color:rgb(254 242 242 / var(--richtext-bg-opacity, 1))}.richtext-bg-secondary{background-color:hsl(var(--secondary))}.richtext-bg-transparent{background-color:transparent}.richtext-bg-white{--richtext-bg-opacity: 1;background-color:rgb(255 255 255 / var(--richtext-bg-opacity, 1))}.richtext-bg-opacity-10{--richtext-bg-opacity: .1}.richtext-fill-current{fill:currentColor}.richtext-object-contain{object-fit:contain}.\!richtext-p-0{padding:0!important}.\!richtext-p-2{padding:.5rem!important}.\!richtext-p-\[4px\]{padding:4px!important}.richtext-p-0{padding:0}.richtext-p-0\.5{padding:.125rem}.richtext-p-1{padding:.25rem}.richtext-p-1\.5{padding:.375rem}.richtext-p-10{padding:2.5rem}.richtext-p-2{padding:.5rem}.richtext-p-3{padding:.75rem}.richtext-p-4{padding:1rem}.richtext-p-6{padding:1.5rem}.richtext-p-\[10px\]{padding:10px}.\!richtext-px-1{padding-left:.25rem!important;padding-right:.25rem!important}.\!richtext-px-3{padding-left:.75rem!important;padding-right:.75rem!important}.\!richtext-py-3{padding-top:.75rem!important;padding-bottom:.75rem!important}.richtext-px-2{padding-left:.5rem;padding-right:.5rem}.richtext-px-3{padding-left:.75rem;padding-right:.75rem}.richtext-px-4{padding-left:1rem;padding-right:1rem}.richtext-px-5{padding-left:1.25rem;padding-right:1.25rem}.richtext-px-8{padding-left:2rem;padding-right:2rem}.richtext-px-\[5px\]{padding-left:5px;padding-right:5px}.richtext-py-0{padding-top:0;padding-bottom:0}.richtext-py-1{padding-top:.25rem;padding-bottom:.25rem}.richtext-py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.richtext-py-2{padding-top:.5rem;padding-bottom:.5rem}.richtext-py-4{padding-top:1rem;padding-bottom:1rem}.\!richtext-pb-1{padding-bottom:.25rem!important}.\!richtext-pb-2{padding-bottom:.5rem!important}.\!richtext-pt-3\.5{padding-top:.875rem!important}.richtext-pl-10{padding-left:2.5rem}.richtext-pl-4{padding-left:1rem}.richtext-pl-8{padding-left:2rem}.richtext-pl-\[28px\]{padding-left:28px}.richtext-pr-2{padding-right:.5rem}.richtext-pr-8{padding-right:2rem}.richtext-text-left{text-align:left}.richtext-text-center{text-align:center}.richtext-font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.\!richtext-text-\[0\.65rem\]{font-size:.65rem!important}.\!richtext-text-base{font-size:1rem!important;line-height:1.5rem!important}.\!richtext-text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.\!richtext-text-sm{font-size:.875rem!important;line-height:1.25rem!important}.\!richtext-text-xs{font-size:.75rem!important;line-height:1rem!important}.richtext-text-lg{font-size:1.125rem;line-height:1.75rem}.richtext-text-sm{font-size:.875rem;line-height:1.25rem}.richtext-text-xs{font-size:.75rem;line-height:1rem}.richtext-font-medium{font-weight:500}.richtext-font-normal{font-weight:400}.richtext-font-semibold{font-weight:600}.richtext-uppercase{text-transform:uppercase}.\!richtext-leading-none{line-height:1!important}.richtext-leading-none{line-height:1}.richtext-tracking-tight{letter-spacing:-.025em}.richtext-tracking-widest{letter-spacing:.1em}.\!richtext-text-current{color:currentColor!important}.\!richtext-text-muted-foreground{color:hsl(var(--muted-foreground))!important}.\!richtext-text-popover-foreground{color:hsl(var(--popover-foreground))!important}.\!richtext-text-primary-foreground{color:hsl(var(--primary-foreground))!important}.\!richtext-text-secondary-foreground{color:hsl(var(--secondary-foreground))!important}.richtext-text-\[\#1f6feb\]{--richtext-text-opacity: 1;color:rgb(31 111 235 / var(--richtext-text-opacity, 1))}.richtext-text-\[\#238636\]{--richtext-text-opacity: 1;color:rgb(35 134 54 / var(--richtext-text-opacity, 1))}.richtext-text-\[\#ab7df8\]{--richtext-text-opacity: 1;color:rgb(171 125 248 / var(--richtext-text-opacity, 1))}.richtext-text-\[\#d29922\]{--richtext-text-opacity: 1;color:rgb(210 153 34 / var(--richtext-text-opacity, 1))}.richtext-text-\[\#f85149\]{--richtext-text-opacity: 1;color:rgb(248 81 73 / var(--richtext-text-opacity, 1))}.richtext-text-accent{color:hsl(var(--accent))}.richtext-text-accent-foreground{color:hsl(var(--accent-foreground))}.richtext-text-destructive-foreground{color:hsl(var(--destructive-foreground))}.richtext-text-foreground{color:hsl(var(--foreground))}.richtext-text-foreground\/50{color:hsl(var(--foreground) / .5)}.richtext-text-gray-400{--richtext-text-opacity: 1;color:rgb(156 163 175 / var(--richtext-text-opacity, 1))}.richtext-text-gray-500{--richtext-text-opacity: 1;color:rgb(107 114 128 / var(--richtext-text-opacity, 1))}.richtext-text-muted-foreground{color:hsl(var(--muted-foreground))}.richtext-text-popover-foreground{color:hsl(var(--popover-foreground))}.richtext-text-primary{color:hsl(var(--primary))}.richtext-text-primary-foreground{color:hsl(var(--primary-foreground))}.richtext-text-red-500{--richtext-text-opacity: 1;color:rgb(239 68 68 / var(--richtext-text-opacity, 1))}.richtext-text-secondary-foreground{color:hsl(var(--secondary-foreground))}.richtext-text-zinc-500{--richtext-text-opacity: 1;color:rgb(113 113 122 / var(--richtext-text-opacity, 1))}.richtext-underline-offset-4{text-underline-offset:4px}.\!richtext-opacity-50{opacity:.5!important}.richtext-opacity-0{opacity:0}.richtext-opacity-50{opacity:.5}.richtext-opacity-60{opacity:.6}.richtext-opacity-70{opacity:.7}.richtext-opacity-90{opacity:.9}.richtext-shadow-lg{--richtext-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--richtext-shadow-colored: 0 10px 15px -3px var(--richtext-shadow-color), 0 4px 6px -4px var(--richtext-shadow-color);box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.richtext-shadow-md{--richtext-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--richtext-shadow-colored: 0 4px 6px -1px var(--richtext-shadow-color), 0 2px 4px -2px var(--richtext-shadow-color);box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.\!richtext-outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.richtext-outline-none{outline:2px solid transparent;outline-offset:2px}.richtext-ring-0{--richtext-ring-offset-shadow: var(--richtext-ring-inset) 0 0 0 var(--richtext-ring-offset-width) var(--richtext-ring-offset-color);--richtext-ring-shadow: var(--richtext-ring-inset) 0 0 0 calc(0px + var(--richtext-ring-offset-width)) var(--richtext-ring-color);box-shadow:var(--richtext-ring-offset-shadow),var(--richtext-ring-shadow),var(--richtext-shadow, 0 0 #0000)}.\!richtext-ring-offset-background{--richtext-ring-offset-color: hsl(var(--background)) !important}.richtext-ring-offset-background{--richtext-ring-offset-color: hsl(var(--background))}.richtext-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.richtext-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.richtext-transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.richtext-transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.richtext-duration-200{transition-duration:.2s}.richtext-ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes aenter{0%{opacity:var(--richtext-enter-opacity, 1);transform:translate3d(var(--richtext-enter-translate-x, 0),var(--richtext-enter-translate-y, 0),0) scale3d(var(--richtext-enter-scale, 1),var(--richtext-enter-scale, 1),var(--richtext-enter-scale, 1)) rotate(var(--richtext-enter-rotate, 0))}}@keyframes aexit{to{opacity:var(--richtext-exit-opacity, 1);transform:translate3d(var(--richtext-exit-translate-x, 0),var(--richtext-exit-translate-y, 0),0) scale3d(var(--richtext-exit-scale, 1),var(--richtext-exit-scale, 1),var(--richtext-exit-scale, 1)) rotate(var(--richtext-exit-rotate, 0))}}.richtext-animate-in{animation-name:aenter;animation-duration:.15s;--richtext-enter-opacity: initial;--richtext-enter-scale: initial;--richtext-enter-rotate: initial;--richtext-enter-translate-x: initial;--richtext-enter-translate-y: initial}.richtext-fade-in-0{--richtext-enter-opacity: 0}.richtext-zoom-in-95{--richtext-enter-scale: .95}.richtext-duration-200{animation-duration:.2s}.richtext-ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}html body[data-scroll-locked]{--removed-body-scroll-bar-size: 0 !important;position:initial!important}.remarkablejames-editor{background-color:hsl(var(--background));color:hsl(var(--foreground))}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror{z-index:0;padding:4rem 2rem 4rem 5rem;caret-color:#000;outline-width:0px}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror:is([class~=dark] *){caret-color:#fff}@media(min-width:1024px){.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror{padding-left:2rem;padding-right:2rem}}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror{outline:none!important}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror:focus,.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror:focus-visible{outline:none!important;box-shadow:none!important}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror{min-height:180px;padding:32px 80px}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .img-placeholder{width:fit-content;position:relative;background-color:#ffffff4d;--richtext-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--richtext-backdrop-blur) var(--richtext-backdrop-brightness) var(--richtext-backdrop-contrast) var(--richtext-backdrop-grayscale) var(--richtext-backdrop-hue-rotate) var(--richtext-backdrop-invert) var(--richtext-backdrop-opacity) var(--richtext-backdrop-saturate) var(--richtext-backdrop-sepia);backdrop-filter:var(--richtext-backdrop-blur) var(--richtext-backdrop-brightness) var(--richtext-backdrop-contrast) var(--richtext-backdrop-grayscale) var(--richtext-backdrop-hue-rotate) var(--richtext-backdrop-invert) var(--richtext-backdrop-opacity) var(--richtext-backdrop-saturate) var(--richtext-backdrop-sepia)}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .img-placeholder:before{content:"";box-sizing:border-box;position:absolute;top:50%;left:50%;width:24px;height:24px;margin:-12px 0 0 -12px;display:inline-block}@keyframes richtext-spin{to{transform:rotate(360deg)}}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .img-placeholder:before{animation:richtext-spin 1s linear infinite;border-radius:9999px;border-width:3px;border-color:currentColor;border-top-color:transparent}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .tableWrapper{margin:1em 0;overflow-x:auto}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .tableWrapper table{overflow:hidden;display:table;width:100%}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .tableWrapper table .column-resize-handle{pointer-events:none;position:absolute;bottom:-2px;right:-2px;top:0;z-index:10;width:.25rem;background-color:hsl(var(--primary))}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .tableWrapper table .resize-cursor{cursor:"col-resize"}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .tableWrapper table .selectedCell{border-style:double;border-color:#0003;background-color:#0000000d}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .tableWrapper table .selectedCell:is([class~=dark] *){border-color:#fff3;background-color:#ffffff1a}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule]{cursor:pointer;transition-property:all;transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,.2,1);animation-duration:.1s;animation-timing-function:cubic-bezier(.4,0,.2,1)}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode{background-color:#0000000d}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode:is([class~=dark] *){background-color:#ffffff1a}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode hr{border-top-color:hsl(var(--foreground))!important}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule]:hover:not(.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode){background-color:#0000000d}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule]:hover:not(.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode):is([class~=dark] *){background-color:#ffffff1a}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror :not(.dragging) .ProseMirror-selectednode:not(.image-view),.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror :not(.dragging) .ProseMirror-selectednode:not(.search-result){background-color:#0000001a;--richtext-shadow: 0 0 #0000;--richtext-shadow-colored: 0 0 #0000;box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow);outline:2px solid transparent;outline-offset:2px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror :not(.dragging) .ProseMirror-selectednode:not(.image-view):is([class~=dark] *),.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror :not(.dragging) .ProseMirror-selectednode:not(.search-result):is([class~=dark] *){background-color:#fff3}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror :not(.image-view)::selection,.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror :not(.search-result)::selection{background-color:hsl(var(--accent))!important}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .is-empty:before{content:attr(data-placeholder);float:left;color:#adb5bd;pointer-events:none;width:100%;height:0}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .columns.is-empty:before{display:none!important}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:#adb5bd;pointer-events:none;width:100%;height:0}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror p.is-editor-empty:first-child:before{float:left;height:0;color:#adb5bd;pointer-events:none;width:100%;content:attr(data-placeholder)}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .ProseMirror-gapcursor{position:relative;margin-left:auto;margin-right:auto;width:100%;max-width:42rem}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .ProseMirror-gapcursor:after{left:0;right:0;top:-1.5em;margin-left:auto;margin-right:auto;width:100%;max-width:42rem;border-top-color:#0006}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .ProseMirror-gapcursor:is([class~=dark] *):after{border-top-color:#fff6}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-view{display:inline-block;float:none;max-width:100%;line-height:0;vertical-align:baseline;-webkit-user-select:none;user-select:none}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body{position:relative;display:inline-block;max-width:100%;clear:both;outline:transparent solid 2px;transition:all .2s ease-in}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body__button-wrap{display:none;justify-content:center;align-items:center;position:absolute;top:9px;right:9px;background:#26262699;border-radius:8px;z-index:4}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body:hover{outline-color:#ffc83d}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body:hover .image-view__body__button-wrap{display:block}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body--focused:hover,.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body--resizing:hover{outline-color:hsl(var(--primary))}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body__placeholder{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body__image{margin:0;cursor:pointer!important}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-view .image-view__body--focused{outline-color:hsl(var(--primary))!important}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-view.focus img{outline-style:solid;outline-width:2px;outline-color:hsl(var(--primary))}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-view img{display:inline;vertical-align:baseline}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-resizer{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;border-width:1px!important;border-color:hsl(var(--border))!important}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-resizer__handler{position:absolute;z-index:2;box-sizing:border-box;display:block;width:12px;height:12px;border:1px solid #fff;border-radius:2px;background-color:hsl(var(--primary))}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-resizer__handler--tl{top:-6px;left:-6px;cursor:nw-resize}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-resizer__handler--tr{top:-6px;right:-6px;cursor:ne-resize}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-resizer__handler--bl{bottom:-6px;left:-6px;cursor:sw-resize}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-resizer__handler--br{right:-6px;bottom:-6px;cursor:se-resize}.remarkablejames-editor.dense .ProseMirror{min-height:32px;padding:6px 12px}.remarkablejames-editor.dense p{padding:0;line-height:1.2rem}.remarkablejames-editor .ProseMirror[contenteditable=true].resize-cursor{cursor:col-resize}.remarkablejames-editor .ProseMirror{caret-color:hsl(var(--richtext-text-foreground))!important}.bg-item-active.bg-item-active{background-color:hsl(var(--accent))!important}.heading-1{font-weight:700;font-size:28px;line-height:1.6}.heading-2{font-weight:700;font-size:24px;line-height:1.6}.heading-3{font-size:20px;font-weight:700;line-height:1.6}.heading-4{font-size:16px;font-weight:700;line-height:1.6}.heading-5,.heading-6{font-size:14px;font-weight:700;line-height:1.6}.tableCellActive{border-radius:2px!important;transition:all .1s ease-in-out}.tableCellActive>div{border:unset!important}.node-tableOfContents.focus{border-width:1px;border-radius:6px}div[data-twitter]>div{margin:10px auto}.react-renderer.node-twitter.focus{border-width:1px;border-radius:6px}.ProseMirror p{margin-bottom:.375rem;line-height:1.625}.ProseMirror p:first-child{margin-top:0}.ProseMirror p:last-child{margin-bottom:0}.ProseMirror>p{margin-bottom:.375rem}.ProseMirror>p:first-child{margin-top:0}.ProseMirror>p:last-child{margin-bottom:0}.ProseMirror h1{font-size:1.875rem;line-height:2.25rem}.ProseMirror h2{font-size:1.5rem;line-height:2rem}.ProseMirror h3{font-size:1.25rem;line-height:1.75rem}.ProseMirror h4{font-size:1.125rem;line-height:1.75rem}.ProseMirror h5{font-size:1rem;line-height:1.5rem}.ProseMirror h6{font-size:.875rem;line-height:1.25rem}.ProseMirror h1,.ProseMirror h2,.ProseMirror h3,.ProseMirror h4,.ProseMirror h5,.ProseMirror h6{font-weight:700}.ProseMirror h1:first-child,.ProseMirror h2:first-child,.ProseMirror h3:first-child,.ProseMirror h4:first-child,.ProseMirror h5:first-child,.ProseMirror h6:first-child{margin-top:0}.ProseMirror h1:last-child,.ProseMirror h2:last-child,.ProseMirror h3:last-child,.ProseMirror h4:last-child,.ProseMirror h5:last-child,.ProseMirror h6:last-child{margin-bottom:0}.ProseMirror h1,.ProseMirror h2,.ProseMirror h3{margin-top:3rem}.ProseMirror h4,.ProseMirror h5,.ProseMirror h6{margin-top:2rem}.ProseMirror a.link{font-weight:800;--richtext-text-opacity: 1;color:rgb(59 130 246 / var(--richtext-text-opacity, 1))}.ProseMirror a.link:is([class~=dark] *){--richtext-text-opacity: 1;color:rgb(96 165 250 / var(--richtext-text-opacity, 1))}.ProseMirror mark{border-radius:calc(var(--radius) - 4px);--richtext-bg-opacity: 1;background-color:rgb(239 68 68 / var(--richtext-bg-opacity, 1));-webkit-box-decoration-break:clone;box-decoration-break:clone;padding-left:0;padding-right:0;padding-top:.25rem;padding-bottom:.25rem;color:inherit}.ProseMirror mark:is([class~=dark] *){--richtext-bg-opacity: 1;background-color:rgb(248 113 113 / var(--richtext-bg-opacity, 1))}.ProseMirror img{height:auto;max-width:100%}.ProseMirror *[data-indent="1"]{text-indent:2em!important}.ProseMirror *[data-indent="2"]{text-indent:4em!important}.ProseMirror *[data-indent="3"]{text-indent:6em!important}.ProseMirror *[data-indent="4"]{text-indent:8em!important}.ProseMirror *[data-indent="5"]{text-indent:10em!important}.ProseMirror *[data-indent="6"]{text-indent:12em!important}.ProseMirror *[data-indent="7"]{text-indent:14em!important}.ProseMirror iframe{border-width:1px!important;margin-top:.5rem;height:100%;width:100%;border-radius:calc(var(--radius) - 4px);border-color:hsl(var(--border))}.ProseMirror .blockquote{border-radius:var(--radius);border-bottom-left-radius:0;border-top-left-radius:0;border-left-width:4px;--richtext-border-opacity: 1;border-left-color:rgb(64 64 64 / var(--richtext-border-opacity, 1));--richtext-bg-opacity: .8;padding:.5rem 1rem;--richtext-text-opacity: 1;color:rgb(0 0 0 / var(--richtext-text-opacity, 1))}.ProseMirror .blockquote:is([class~=dark] *){--richtext-border-opacity: 1;border-left-color:rgb(212 212 212 / var(--richtext-border-opacity, 1));--richtext-text-opacity: 1;color:rgb(255 255 255 / var(--richtext-text-opacity, 1))}.ProseMirror code{border-radius:calc(var(--radius) - 4px);--richtext-bg-opacity: 1;background-color:rgb(23 23 23 / var(--richtext-bg-opacity, 1));font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;--richtext-text-opacity: 1;color:rgb(255 255 255 / var(--richtext-text-opacity, 1));caret-color:#fff;--richtext-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--richtext-shadow-colored: 0 10px 15px -3px var(--richtext-shadow-color), 0 4px 6px -4px var(--richtext-shadow-color);box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.ProseMirror pre{margin-top:3rem;margin-bottom:3rem;border-radius:.25rem;border-width:1px!important;--richtext-border-opacity: 1;border-color:rgb(0 0 0 / var(--richtext-border-opacity, 1));border-color:hsl(var(--border));--richtext-bg-opacity: 1;background-color:rgb(64 64 64 / var(--richtext-bg-opacity, 1));padding:1rem;--richtext-text-opacity: 1;color:rgb(255 255 255 / var(--richtext-text-opacity, 1));caret-color:#fff}.ProseMirror pre:is([class~=dark] *){--richtext-bg-opacity: 1;background-color:rgb(23 23 23 / var(--richtext-bg-opacity, 1))}.ProseMirror pre code{background-color:inherit;padding:0;color:inherit;--richtext-shadow: 0 0 #0000;--richtext-shadow-colored: 0 0 #0000;box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.ProseMirror ol{list-style-type:decimal}.ProseMirror ul{list-style-type:disc}.ProseMirror ul,.ProseMirror ol{margin-top:1.5rem;margin-bottom:1.5rem;padding-left:2rem;padding-right:2rem;padding-top:0;padding-bottom:0}.ProseMirror ul:first-child,.ProseMirror ol:first-child{margin-top:0}.ProseMirror ul:last-child,.ProseMirror ol:last-child{margin-bottom:0}.ProseMirror ul ul,.ProseMirror ul ol,.ProseMirror ul li,.ProseMirror ol ul,.ProseMirror ol ol,.ProseMirror ol li{margin-top:.25rem;margin-bottom:.25rem}.ProseMirror ul p,.ProseMirror ol p{margin-bottom:.25rem;margin-top:0}.ProseMirror>ul,.ProseMirror>ol{margin-top:2rem;margin-bottom:2rem}.ProseMirror>ul:first-child,.ProseMirror>ol:first-child{margin-top:0}.ProseMirror>ul:last-child,.ProseMirror>ol:last-child{margin-bottom:0}.ProseMirror ul[data-type=taskList]{list-style-type:none;padding:0}.ProseMirror ul[data-type=taskList] p{margin:0}.ProseMirror ul[data-type=taskList] li{display:flex}.ProseMirror ul[data-type=taskList] li>label{margin-right:.5rem;display:inline;flex:1 1 auto;flex-shrink:0;flex-grow:0;-webkit-user-select:none;user-select:none}.ProseMirror ul[data-type=taskList] li>div{flex:1 1 auto}.ProseMirror ul[data-type=taskList] li[data-checked=true]{text-decoration-line:line-through}.ProseMirror table{box-sizing:border-box;display:block;table-layout:fixed;border-collapse:collapse;overflow-x:auto;overflow-y:hidden;border-color:#0000001a}.ProseMirror table:is([class~=dark] *){border-color:#fff3}.ProseMirror table td,.ProseMirror table th{border-width:1px!important;position:relative;box-sizing:border-box;min-width:1em;border-color:#0000001a;padding:.5rem;text-align:left;vertical-align:top}.ProseMirror table td:is([class~=dark] *),.ProseMirror table th:is([class~=dark] *){border-color:#fff3}.ProseMirror table td:first-of-type:not(a),.ProseMirror table th:first-of-type:not(a){margin-top:0}.ProseMirror table td p,.ProseMirror table th p{margin:0}.ProseMirror table td p+p,.ProseMirror table th p+p{margin-top:.75rem}.ProseMirror table th{text-align:left;font-weight:700}.remarkablejames-editor .ProseMirror .search-result{background-color:#ffd90080}.remarkablejames-editor .ProseMirror .search-result-current{background-color:#0dff0080}.columns{display:flex;width:100%;gap:8px;margin-top:.75em}.columns .column{min-width:0;padding:12px;flex:1 1 0%;box-sizing:border-box}.columns .column p:first-of-type{margin-top:0}.remarkablejames-editor .columns .column{border-width:1px;border-style:solid;border-color:hsl(var(--border));border-radius:2px}[data-type=mention]{color:hsl(var(--primary));background:hsl(var(--muted));padding:2px 4px;border-radius:6px}.file\:richtext-border-0::file-selector-button{border-width:0px}.file\:richtext-bg-transparent::file-selector-button{background-color:transparent}.file\:richtext-text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:richtext-font-medium::file-selector-button{font-weight:500}.placeholder\:\!richtext-text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))!important}.placeholder\:richtext-text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.last\:richtext-pb-2:last-child{padding-bottom:.5rem}.hover\:richtext-cursor-pointer:hover{cursor:pointer}.hover\:\!richtext-border-border:hover{border-color:hsl(var(--border))!important}.hover\:richtext-border-border:hover{border-color:hsl(var(--border))}.hover\:\!richtext-bg-accent:hover{background-color:hsl(var(--accent))!important}.hover\:\!richtext-bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)!important}.hover\:richtext-bg-\[\#5a5d5e4f\]:hover{background-color:#5a5d5e4f}.hover\:richtext-bg-accent:hover{background-color:hsl(var(--accent))}.hover\:richtext-bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:richtext-bg-muted:hover{background-color:hsl(var(--muted))}.hover\:richtext-bg-red-400:hover{--richtext-bg-opacity: 1;background-color:rgb(248 113 113 / var(--richtext-bg-opacity, 1))}.hover\:richtext-bg-secondary:hover{background-color:hsl(var(--secondary))}.hover\:richtext-bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:richtext-bg-opacity-20:hover{--richtext-bg-opacity: .2}.hover\:richtext-text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:richtext-text-foreground:hover{color:hsl(var(--foreground))}.hover\:richtext-text-muted-foreground:hover{color:hsl(var(--muted-foreground))}.hover\:richtext-underline:hover{text-decoration-line:underline}.hover\:richtext-opacity-100:hover{opacity:1}.hover\:richtext-shadow-sm:hover{--richtext-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--richtext-shadow-colored: 0 1px 2px 0 var(--richtext-shadow-color);box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.focus\:richtext-bg-accent:focus{background-color:hsl(var(--accent))}.focus\:richtext-bg-red-400:focus{--richtext-bg-opacity: 1;background-color:rgb(248 113 113 / var(--richtext-bg-opacity, 1))}.focus\:richtext-bg-opacity-30:focus{--richtext-bg-opacity: .3}.focus\:richtext-text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:richtext-text-red-500:focus{--richtext-text-opacity: 1;color:rgb(239 68 68 / var(--richtext-text-opacity, 1))}.focus\:richtext-opacity-100:focus{opacity:1}.focus\:richtext-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:richtext-ring-2:focus{--richtext-ring-offset-shadow: var(--richtext-ring-inset) 0 0 0 var(--richtext-ring-offset-width) var(--richtext-ring-offset-color);--richtext-ring-shadow: var(--richtext-ring-inset) 0 0 0 calc(2px + var(--richtext-ring-offset-width)) var(--richtext-ring-color);box-shadow:var(--richtext-ring-offset-shadow),var(--richtext-ring-shadow),var(--richtext-shadow, 0 0 #0000)}.focus\:richtext-ring-ring:focus{--richtext-ring-color: hsl(var(--ring))}.focus\:richtext-ring-offset-1:focus{--richtext-ring-offset-width: 1px}.focus-visible\:\!richtext-outline-none:focus-visible{outline:2px solid transparent!important;outline-offset:2px!important}.focus-visible\:richtext-outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:\!richtext-ring-2:focus-visible{--richtext-ring-offset-shadow: var(--richtext-ring-inset) 0 0 0 var(--richtext-ring-offset-width) var(--richtext-ring-offset-color) !important;--richtext-ring-shadow: var(--richtext-ring-inset) 0 0 0 calc(2px + var(--richtext-ring-offset-width)) var(--richtext-ring-color) !important;box-shadow:var(--richtext-ring-offset-shadow),var(--richtext-ring-shadow),var(--richtext-shadow, 0 0 #0000)!important}.focus-visible\:richtext-ring-1:focus-visible{--richtext-ring-offset-shadow: var(--richtext-ring-inset) 0 0 0 var(--richtext-ring-offset-width) var(--richtext-ring-offset-color);--richtext-ring-shadow: var(--richtext-ring-inset) 0 0 0 calc(1px + var(--richtext-ring-offset-width)) var(--richtext-ring-color);box-shadow:var(--richtext-ring-offset-shadow),var(--richtext-ring-shadow),var(--richtext-shadow, 0 0 #0000)}.focus-visible\:richtext-ring-2:focus-visible{--richtext-ring-offset-shadow: var(--richtext-ring-inset) 0 0 0 var(--richtext-ring-offset-width) var(--richtext-ring-offset-color);--richtext-ring-shadow: var(--richtext-ring-inset) 0 0 0 calc(2px + var(--richtext-ring-offset-width)) var(--richtext-ring-color);box-shadow:var(--richtext-ring-offset-shadow),var(--richtext-ring-shadow),var(--richtext-shadow, 0 0 #0000)}.focus-visible\:\!richtext-ring-ring:focus-visible{--richtext-ring-color: hsl(var(--ring)) !important}.focus-visible\:richtext-ring-ring:focus-visible{--richtext-ring-color: hsl(var(--ring))}.focus-visible\:\!richtext-ring-offset-1:focus-visible{--richtext-ring-offset-width: 1px !important}.focus-visible\:richtext-ring-offset-1:focus-visible{--richtext-ring-offset-width: 1px}.focus-visible\:richtext-ring-offset-background:focus-visible{--richtext-ring-offset-color: hsl(var(--background))}.disabled\:richtext-pointer-events-none:disabled{pointer-events:none}.disabled\:\!richtext-cursor-not-allowed:disabled{cursor:not-allowed!important}.disabled\:richtext-cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:\!richtext-opacity-50:disabled{opacity:.5!important}.disabled\:richtext-opacity-50:disabled{opacity:.5}.richtext-group:hover .group-hover\:richtext-opacity-100{opacity:1}.richtext-group.destructive .group-\[\.destructive\]\:richtext-border-muted\/40{border-color:hsl(var(--muted) / .4)}.richtext-group.destructive .group-\[\.destructive\]\:richtext-text-red-300{--richtext-text-opacity: 1;color:rgb(252 165 165 / var(--richtext-text-opacity, 1))}.richtext-group.destructive .group-\[\.destructive\]\:hover\:richtext-border-destructive\/30:hover{border-color:hsl(var(--destructive) / .3)}.richtext-group.destructive .group-\[\.destructive\]\:hover\:richtext-bg-destructive:hover{background-color:hsl(var(--destructive))}.richtext-group.destructive .group-\[\.destructive\]\:hover\:richtext-text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.richtext-group.destructive .group-\[\.destructive\]\:hover\:richtext-text-red-50:hover{--richtext-text-opacity: 1;color:rgb(254 242 242 / var(--richtext-text-opacity, 1))}.richtext-group.destructive .group-\[\.destructive\]\:focus\:richtext-ring-destructive:focus{--richtext-ring-color: hsl(var(--destructive))}.richtext-group.destructive .group-\[\.destructive\]\:focus\:richtext-ring-red-400:focus{--richtext-ring-opacity: 1;--richtext-ring-color: rgb(248 113 113 / var(--richtext-ring-opacity, 1))}.richtext-group.destructive .group-\[\.destructive\]\:focus\:richtext-ring-offset-red-600:focus{--richtext-ring-offset-color: #dc2626}.richtext-peer:disabled~.peer-disabled\:richtext-cursor-not-allowed{cursor:not-allowed}.richtext-peer:disabled~.peer-disabled\:richtext-opacity-70{opacity:.7}.data-\[disabled\]\:richtext-pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=bottom\]\:richtext-translate-y-1[data-side=bottom]{--richtext-translate-y: .25rem;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[side\=left\]\:richtext--translate-x-1[data-side=left]{--richtext-translate-x: -.25rem;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[side\=right\]\:richtext-translate-x-1[data-side=right]{--richtext-translate-x: .25rem;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[side\=top\]\:richtext--translate-y-1[data-side=top]{--richtext-translate-y: -.25rem;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[state\=checked\]\:richtext-translate-x-5[data-state=checked]{--richtext-translate-x: 1.25rem;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[state\=unchecked\]\:richtext-translate-x-0[data-state=unchecked],.data-\[swipe\=cancel\]\:richtext-translate-x-0[data-swipe=cancel]{--richtext-translate-x: 0px;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[swipe\=end\]\:richtext-translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end]{--richtext-translate-x: var(--radix-toast-swipe-end-x);transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[swipe\=move\]\:richtext-translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{--richtext-translate-x: var(--radix-toast-swipe-move-x);transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[active\]\:\!richtext-bg-accent[data-active]{background-color:hsl(var(--accent))!important}.data-\[state\=active\]\:richtext-bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=checked\]\:\!richtext-bg-primary[data-state=checked]{background-color:hsl(var(--primary))!important}.data-\[state\=checked\]\:richtext-bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=on\]\:richtext-bg-accent[data-state=on],.data-\[state\=open\]\:richtext-bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=unchecked\]\:richtext-bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[state\=active\]\:richtext-text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=checked\]\:\!richtext-text-primary-foreground[data-state=checked]{color:hsl(var(--primary-foreground))!important}.data-\[state\=on\]\:richtext-text-accent-foreground[data-state=on]{color:hsl(var(--accent-foreground))}.data-\[state\=open\]\:richtext-text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:richtext-opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:richtext-shadow-sm[data-state=active]{--richtext-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--richtext-shadow-colored: 0 1px 2px 0 var(--richtext-shadow-color);box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.data-\[swipe\=move\]\:richtext-transition-none[data-swipe=move]{transition-property:none}.data-\[state\=open\]\:richtext-animate-in[data-state=open]{animation-name:aenter;animation-duration:.15s;--richtext-enter-opacity: initial;--richtext-enter-scale: initial;--richtext-enter-rotate: initial;--richtext-enter-translate-x: initial;--richtext-enter-translate-y: initial}.data-\[state\=closed\]\:richtext-animate-out[data-state=closed],.data-\[swipe\=end\]\:richtext-animate-out[data-swipe=end]{animation-name:aexit;animation-duration:.15s;--richtext-exit-opacity: initial;--richtext-exit-scale: initial;--richtext-exit-rotate: initial;--richtext-exit-translate-x: initial;--richtext-exit-translate-y: initial}.data-\[state\=closed\]\:richtext-fade-out-0[data-state=closed]{--richtext-exit-opacity: 0}.data-\[state\=closed\]\:richtext-fade-out-80[data-state=closed]{--richtext-exit-opacity: .8}.data-\[state\=open\]\:richtext-fade-in-0[data-state=open]{--richtext-enter-opacity: 0}.data-\[state\=closed\]\:richtext-zoom-out-95[data-state=closed]{--richtext-exit-scale: .95}.data-\[state\=open\]\:richtext-zoom-in-95[data-state=open]{--richtext-enter-scale: .95}.data-\[side\=bottom\]\:richtext-slide-in-from-top-2[data-side=bottom]{--richtext-enter-translate-y: -.5rem}.data-\[side\=left\]\:richtext-slide-in-from-right-2[data-side=left]{--richtext-enter-translate-x: .5rem}.data-\[side\=right\]\:richtext-slide-in-from-left-2[data-side=right]{--richtext-enter-translate-x: -.5rem}.data-\[side\=top\]\:richtext-slide-in-from-bottom-2[data-side=top]{--richtext-enter-translate-y: .5rem}.data-\[state\=closed\]\:richtext-slide-out-to-left-1\/2[data-state=closed]{--richtext-exit-translate-x: -50%}.data-\[state\=closed\]\:richtext-slide-out-to-right-full[data-state=closed]{--richtext-exit-translate-x: 100%}.data-\[state\=closed\]\:richtext-slide-out-to-top-\[48\%\][data-state=closed]{--richtext-exit-translate-y: -48%}.data-\[state\=open\]\:richtext-slide-in-from-left-1\/2[data-state=open]{--richtext-enter-translate-x: -50%}.data-\[state\=open\]\:richtext-slide-in-from-top-\[48\%\][data-state=open]{--richtext-enter-translate-y: -48%}.data-\[state\=open\]\:richtext-slide-in-from-top-full[data-state=open]{--richtext-enter-translate-y: -100%}.dark\:hover\:richtext-bg-opacity-20:hover:is([class~=dark] *){--richtext-bg-opacity: .2}.dark\:hover\:richtext-text-red-500:hover:is([class~=dark] *){--richtext-text-opacity: 1;color:rgb(239 68 68 / var(--richtext-text-opacity, 1))}@media(min-width:640px){.sm\:richtext-bottom-0{bottom:0}.sm\:richtext-right-0{right:0}.sm\:richtext-top-auto{top:auto}.sm\:richtext-flex-row{flex-direction:row}.sm\:richtext-flex-col{flex-direction:column}.sm\:richtext-justify-end{justify-content:flex-end}.sm\:richtext-space-x-2>:not([hidden])~:not([hidden]){--richtext-space-x-reverse: 0;margin-right:calc(.5rem * var(--richtext-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--richtext-space-x-reverse)))}.sm\:richtext-rounded-lg{border-radius:var(--radius)}.sm\:richtext-text-left{text-align:left}.data-\[state\=open\]\:sm\:richtext-slide-in-from-bottom-full[data-state=open]{--richtext-enter-translate-y: 100%}}@media(min-width:768px){.md\:richtext-max-w-\[420px\]{max-width:420px}}.\[\&\>span\]\:richtext-line-clamp-1>span{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.mermaid-node-view:hover .\[\.mermaid-node-view\:hover_\&\]\:richtext-opacity-100{opacity:1}._wrap_dra8y_1{position:relative;max-width:100%;overflow:visible;line-height:0}._wrap_dra8y_1 ._renderWrap_dra8y_7{border:1px dashed hsl(var(--border))!important;border-radius:6px}._wrap_dra8y_1 ._renderWrap_dra8y_7:after{background-color:transparent!important}._wrap_dra8y_1 ._title_dra8y_14{position:absolute;top:10px;left:10px;z-index:2}._wrap_dra8y_1 ._title_dra8y_14 ._icon_dra8y_20{display:flex;width:18px;height:18px;color:#fff;background-color:#f80;border-radius:2px;justify-content:center;align-items:center}._wrap_dra8y_1 ._handlerWrap_dra8y_30{position:absolute;right:10px;bottom:10px;z-index:2;padding:2px 4px;border:1px solid hsl(var(--border));border-radius:6px}._disabled_dra8y_40{pointer-events:none!important}._attachment_15oj2_1,._wrap_15oj2_2{border-width:1px!important;border-radius:var(--radius)!important;border-color:hsl(var(--border))!important;padding:8px;display:flex;align-items:center;justify-content:space-between;margin:8px 0}._attachment_15oj2_1 .attachment__icon,._wrap_15oj2_2 .attachment__icon{width:32px;text-align:center}._attachment_15oj2_1 .attachment__icon svg,._wrap_15oj2_2 .attachment__icon svg{width:32px;display:inline-block}._wrapper_pva9d_1{background-color:#fff;cursor:pointer;position:absolute;top:0;left:0;padding:10px;gap:10px;z-index:100;border:1px solid #eeeeee;box-shadow:0 0 10px #0000001a;border-radius:10px}._tool_pva9d_17{outline:none;border:none;background-color:#fff;border-radius:5px;padding:5px;cursor:pointer;transition:all .3s;color:#595353!important}._tool_pva9d_17 svg{width:20px;height:20px}._tool_pva9d_17:hover{background-color:#f5f5f5}._active_pva9d_37{background-color:#eee!important}._pen_pva9d_41{display:flex;gap:4px;align-items:center;flex-wrap:wrap}._line_pva9d_48{height:20px;width:1px;background-color:#bcb9b9;margin:0 6px;transform:rotate(18deg)}._options_pva9d_56{margin-top:10px;padding:10px 0 0;border-top:1px dashed #eeeeee;display:flex;gap:4px;align-items:center;flex-wrap:wrap}._colorWrap_pva9d_66{display:flex;gap:8px;align-items:center;margin:4px 0}._color_pva9d_66{outline:none!important;border:none!important;border-radius:4px;cursor:pointer;width:20px;height:20px;border:1px solid #eeeeee}._colorActive_pva9d_83{outline:2px solid #2576b9!important}._wrap_5y04w_1{display:flex;height:100%;max-width:100%;overflow:hidden;line-height:0;flex-direction:column;border:1px dashed hsl(var(--border))!important;border-radius:6px}._wrap_5y04w_1 ._handlerWrap_5y04w_11{display:flex;padding:10px}._wrap_5y04w_1 ._innerWrap_5y04w_15{position:relative;width:100%;height:100%;overflow:hidden;border-radius:var(--border-radius);flex:1}._wrap_5y04w_1 ._emptyWrap_5y04w_23{display:flex;height:100%;justify-content:center;align-items:center}._wrap_5y04w_1 iframe{width:100%;height:100%;border:0;border:none!important}._verified_lvyh0_1{margin-left:.125rem;max-width:20px;max-height:20px;height:1.25em;fill:currentColor;-webkit-user-select:none;user-select:none;vertical-align:text-bottom}._root_98iqw_1{width:100%;min-width:250px;max-width:550px;overflow:hidden;color:var(--richtexteet-font-color);font-family:var(--richtexteet-font-family);font-weight:400;box-sizing:border-box;border:var(--richtexteet-border);border-radius:12px;margin:var(--richtexteet-container-margin);background-color:var(--richtexteet-bg-color);transition-property:background-color,box-shadow;transition-duration:.2s}._root_98iqw_1:hover{background-color:var(--richtexteet-bg-color-hover)}._article_98iqw_21{position:relative;box-sizing:inherit;padding:.75rem 1rem}.react-tweet-theme{--richtexteet-container-margin: 1.5rem 0;--richtexteet-header-font-size: .9375rem;--richtexteet-header-line-height: 1.25rem;--richtexteet-body-font-size: 1.25rem;--richtexteet-body-font-weight: 400;--richtexteet-body-line-height: 1.5rem;--richtexteet-body-margin: 0;--richtexteet-quoted-container-margin: .75rem 0;--richtexteet-quoted-body-font-size: .938rem;--richtexteet-quoted-body-font-weight: 400;--richtexteet-quoted-body-line-height: 1.25rem;--richtexteet-quoted-body-margin: .25rem 0 .75rem 0;--richtexteet-info-font-size: .9375rem;--richtexteet-info-line-height: 1.25rem;--richtexteet-actions-font-size: .875rem;--richtexteet-actions-line-height: 1rem;--richtexteet-actions-font-weight: 700;--richtexteet-actions-icon-size: 1.25em;--richtexteet-actions-icon-wrapper-size: calc( var(--richtexteet-actions-icon-size) + .75em );--richtexteet-replies-font-size: .875rem;--richtexteet-replies-line-height: 1rem;--richtexteet-replies-font-weight: 700}:where(.react-tweet-theme) *{margin:0;padding:0;box-sizing:border-box}:is([data-theme=light],.light) :where(.react-tweet-theme),:where(.react-tweet-theme){--richtexteet-skeleton-gradient: linear-gradient( 270deg, #fafafa, #eaeaea, #eaeaea, #fafafa );--richtexteet-border: 1px solid rgb(207, 217, 222);--richtexteet-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--richtexteet-font-color: rgb(15, 20, 25);--richtexteet-font-color-secondary: rgb(83, 100, 113);--richtexteet-bg-color: #fff;--richtexteet-bg-color-hover: rgb(247, 249, 249);--richtexteet-quoted-bg-color-hover: rgba(0, 0, 0, .03);--richtexteet-color-blue-primary: rgb(29, 155, 240);--richtexteet-color-blue-primary-hover: rgb(26, 140, 216);--richtexteet-color-blue-secondary: rgb(0, 111, 214);--richtexteet-color-blue-secondary-hover: rgba(0, 111, 214, .1);--richtexteet-color-red-primary: rgb(249, 24, 128);--richtexteet-color-red-primary-hover: rgba(249, 24, 128, .1);--richtexteet-color-green-primary: rgb(0, 186, 124);--richtexteet-color-green-primary-hover: rgba(0, 186, 124, .1);--richtexteet-twitter-icon-color: var(--richtexteet-font-color);--richtexteet-verified-old-color: rgb(130, 154, 171);--richtexteet-verified-blue-color: var(--richtexteet-color-blue-primary)}:is([data-theme=dark],.dark) :where(.react-tweet-theme){--richtexteet-skeleton-gradient: linear-gradient( 270deg, #15202b, rgb(30, 39, 50), rgb(30, 39, 50), rgb(21, 32, 43) );--richtexteet-border: 1px solid rgb(66, 83, 100);--richtexteet-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--richtexteet-font-color: rgb(247, 249, 249);--richtexteet-font-color-secondary: rgb(139, 152, 165);--richtexteet-bg-color: rgb(21, 32, 43);--richtexteet-bg-color-hover: rgb(30, 39, 50);--richtexteet-quoted-bg-color-hover: rgba(255, 255, 255, .03);--richtexteet-color-blue-primary: rgb(29, 155, 240);--richtexteet-color-blue-primary-hover: rgb(26, 140, 216);--richtexteet-color-blue-secondary: rgb(107, 201, 251);--richtexteet-color-blue-secondary-hover: rgba(107, 201, 251, .1);--richtexteet-color-red-primary: rgb(249, 24, 128);--richtexteet-color-red-primary-hover: rgba(249, 24, 128, .1);--richtexteet-color-green-primary: rgb(0, 186, 124);--richtexteet-color-green-primary-hover: rgba(0, 186, 124, .1);--richtexteet-twitter-icon-color: var(--richtexteet-font-color);--richtexteet-verified-old-color: rgb(130, 154, 171);--richtexteet-verified-blue-color: #fff}@media(prefers-color-scheme:dark){:where(.react-tweet-theme){--richtexteet-skeleton-gradient: linear-gradient( 270deg, #15202b, rgb(30, 39, 50), rgb(30, 39, 50), rgb(21, 32, 43) );--richtexteet-border: 1px solid rgb(66, 83, 100);--richtexteet-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--richtexteet-font-color: rgb(247, 249, 249);--richtexteet-font-color-secondary: rgb(139, 152, 165);--richtexteet-bg-color: rgb(21, 32, 43);--richtexteet-bg-color-hover: rgb(30, 39, 50);--richtexteet-color-blue-primary: rgb(29, 155, 240);--richtexteet-color-blue-primary-hover: rgb(26, 140, 216);--richtexteet-color-blue-secondary: rgb(107, 201, 251);--richtexteet-color-blue-secondary-hover: rgba(107, 201, 251, .1);--richtexteet-color-red-primary: rgb(249, 24, 128);--richtexteet-color-red-primary-hover: rgba(249, 24, 128, .1);--richtexteet-color-green-primary: rgb(0, 186, 124);--richtexteet-color-green-primary-hover: rgba(0, 186, 124, .1);--richtexteet-twitter-icon-color: var(--richtexteet-font-color);--richtexteet-verified-old-color: rgb(130, 154, 171);--richtexteet-verified-blue-color: #fff}}._verifiedOld_lcna5_1{color:var(--richtexteet-verified-old-color)}._verifiedBlue_lcna5_4{color:var(--richtexteet-verified-blue-color)}._verifiedGovernment_lcna5_7{color:#829aab}._label_36ucz_1{display:flex;height:1.0625em;width:1.0625em;max-width:17px;max-height:17px;margin-left:4px;margin-right:2px;border:var(--richtexteet-border);border-radius:2px}._label_36ucz_1>img{width:100%;height:100%}._header_nqq4j_1{display:flex;padding-bottom:.75rem;line-height:var(--richtexteet-header-line-height);font-size:var(--richtexteet-header-font-size);white-space:nowrap;overflow-wrap:break-word;overflow:hidden}._avatar_nqq4j_11{position:relative;height:48px;width:48px}._avatarOverflow_nqq4j_16{height:100%;width:100%;position:absolute;overflow:hidden;border-radius:9999px}._avatarSquare_nqq4j_23{border-radius:4px}._avatarShadow_nqq4j_26{height:100%;width:100%;transition-property:background-color;transition-duration:.2s;box-shadow:#00000008 0 0 2px inset}._avatarShadow_nqq4j_26:hover{background-color:#1a1a1a26}._author_nqq4j_37{max-width:calc(100% - 84px);display:flex;flex-direction:column;justify-content:center;margin:0 .5rem}._authorLink_nqq4j_44{text-decoration:none;color:inherit;display:flex;align-items:center}._authorLink_nqq4j_44:hover{text-decoration-line:underline}._authorVerified_nqq4j_53{display:inline-flex}._authorLinkText_nqq4j_56{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}._authorMeta_nqq4j_63,._authorFollow_nqq4j_66{display:flex}._username_nqq4j_69{color:var(--richtexteet-font-color-secondary);text-decoration:none;text-overflow:ellipsis}._follow_nqq4j_74{color:var(--richtexteet-color-blue-secondary);text-decoration:none;font-weight:700}._follow_nqq4j_74:hover{text-decoration-line:underline}._separator_nqq4j_82{padding:0 .25rem}._brand_nqq4j_86{margin-inline-start:auto}._twitterIcon_nqq4j_90{width:23.75px;height:23.75px;color:var(--richtexteet-twitter-icon-color);fill:currentColor;-webkit-user-select:none;user-select:none}._root_1ec15_1{text-decoration:none;color:var(--richtexteet-font-color-secondary);font-size:.9375rem;line-height:1.25rem;margin-bottom:.25rem;overflow-wrap:break-word;white-space:pre-wrap}._root_1ec15_1:hover{text-decoration-thickness:1px;text-decoration-line:underline}._root_eihfa_1{font-weight:inherit;color:var(--richtexteet-color-blue-secondary);text-decoration:none;cursor:pointer}._root_eihfa_1:hover{text-decoration-thickness:1px;text-decoration-line:underline}._root_1xq52_1{font-size:var(--richtexteet-body-font-size);font-weight:var(--richtexteet-body-font-weight);line-height:var(--richtexteet-body-line-height);margin:var(--richtexteet-body-margin);overflow-wrap:break-word;white-space:pre-wrap}._root_g9tkv_1{margin-top:.75rem;overflow:hidden;position:relative}._rounded_g9tkv_6{border:var(--richtexteet-border);border-radius:12px}._mediaWrapper_g9tkv_10{display:grid;grid-auto-rows:1fr;gap:2px;height:100%;width:100%}._grid2Columns_g9tkv_17{grid-template-columns:repeat(2,1fr)}._grid3_g9tkv_20>a:first-child{grid-row:span 2}._grid2x2_g9tkv_23{grid-template-rows:repeat(2,1fr)}._mediaContainer_g9tkv_26{position:relative;height:100%;width:100%;display:flex;align-items:center;justify-content:center}._mediaLink_g9tkv_34{text-decoration:none;outline-style:none}._skeleton_g9tkv_38{padding-bottom:56.25%;width:100%;display:block}._image_g9tkv_43{position:absolute;top:0;left:0;bottom:0;height:100%;width:100%;margin:0;object-fit:cover;object-position:center}._anchor_fp31d_1{display:flex;align-items:center;color:#fff;padding:0 1rem;border:1px solid transparent;border-radius:9999px;font-weight:700;transition:background-color .2s;cursor:pointer;-webkit-user-select:none;user-select:none;outline-style:none;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}._videoButton_fp31d_17{position:relative;height:67px;width:67px;display:flex;align-items:center;justify-content:center;background-color:var(--richtexteet-color-blue-primary);transition-property:background-color;transition-duration:.2s;border:4px solid #fff;border-radius:9999px;cursor:pointer}._videoButton_fp31d_17:hover,._videoButton_fp31d_17:focus-visible{background-color:var(--richtexteet-color-blue-primary-hover)}._videoButtonIcon_fp31d_35{margin-left:3px;width:calc(50% + 4px);height:calc(50% + 4px);max-width:100%;color:#fff;fill:currentColor;-webkit-user-select:none;user-select:none}._watchOnTwitter_fp31d_44{position:absolute;top:12px;right:8px}._watchOnTwitter_fp31d_44>a{min-width:2rem;min-height:2rem;font-size:.875rem;line-height:1rem;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#0f1419bf}._watchOnTwitter_fp31d_44>a:hover{background-color:#272c30bf}._viewReplies_fp31d_60{position:relative;min-height:2rem;background-color:var(--richtexteet-color-blue-primary);border-color:var(--richtexteet-color-blue-primary);font-size:.9375rem;line-height:1.25rem}._viewReplies_fp31d_60:hover{background-color:var(--richtexteet-color-blue-primary-hover)}._root_i24yn_1{color:inherit;text-decoration:none;font-size:var(--richtexteet-info-font-size);line-height:var(--richtexteet-info-line-height)}._root_i24yn_1:hover{text-decoration-thickness:1px;text-decoration-line:underline}._info_19qcj_1{display:flex;align-items:center;color:var(--richtexteet-font-color-secondary);margin-top:.125rem;overflow-wrap:break-word;white-space:nowrap;text-overflow:ellipsis}._infoLink_19qcj_10{color:inherit;text-decoration:none;height:var(--richtexteet-actions-icon-wrapper-size);width:var(--richtexteet-actions-icon-wrapper-size);font:inherit;margin-left:auto;display:flex;justify-content:center;align-items:center;margin-right:-4px;border-radius:9999px;transition-property:background-color;transition-duration:.2s}._infoLink_19qcj_10:hover{background-color:var(--richtexteet-color-blue-secondary-hover)}._infoIcon_19qcj_30{color:inherit;fill:currentColor;height:var(--richtexteet-actions-icon-size);-webkit-user-select:none;user-select:none}._infoLink_19qcj_10:hover>._infoIcon_19qcj_30{color:var(--richtexteet-color-blue-secondary)}._actions_n2anf_1{display:flex;align-items:center;color:var(--richtexteet-font-color-secondary);padding-top:.25rem;margin-top:.25rem;border-top:var(--richtexteet-border);overflow-wrap:break-word;white-space:nowrap;text-overflow:ellipsis}._like_n2anf_13,._reply_n2anf_14,._copy_n2anf_15{text-decoration:none;color:inherit;display:flex;align-items:center;margin-right:1.25rem}._like_n2anf_13:hover,._reply_n2anf_14:hover,._copy_n2anf_15:hover{background-color:#0000}._like_n2anf_13:hover>._likeIconWrapper_n2anf_27{background-color:var(--richtexteet-color-red-primary-hover)}._like_n2anf_13:hover>._likeCount_n2anf_30{color:var(--richtexteet-color-red-primary);text-decoration-line:underline}._likeIconWrapper_n2anf_27,._replyIconWrapper_n2anf_35,._copyIconWrapper_n2anf_36{width:var(--richtexteet-actions-icon-wrapper-size);height:var(--richtexteet-actions-icon-wrapper-size);display:flex;justify-content:center;align-items:center;margin-left:-.25rem;border-radius:9999px}._likeIcon_n2anf_27,._replyIcon_n2anf_35,._copyIcon_n2anf_36{height:var(--richtexteet-actions-icon-size);fill:currentColor;-webkit-user-select:none;user-select:none}._likeIcon_n2anf_27{color:var(--richtexteet-color-red-primary)}._likeCount_n2anf_30,._replyText_n2anf_56,._copyText_n2anf_57{font-size:var(--richtexteet-actions-font-size);font-weight:var(--richtexteet-actions-font-weight);line-height:var(--richtexteet-actions-line-height);margin-left:.25rem}._reply_n2anf_14:hover>._replyIconWrapper_n2anf_35{background-color:var(--richtexteet-color-blue-secondary-hover)}._reply_n2anf_14:hover>._replyText_n2anf_56{color:var(--richtexteet-color-blue-secondary);text-decoration-line:underline}._replyIcon_n2anf_35{color:var(--richtexteet-color-blue-primary)}._copy_n2anf_15{font:inherit;background:none;border:none;cursor:pointer}._copy_n2anf_15:hover>._copyIconWrapper_n2anf_36{background-color:var(--richtexteet-color-green-primary-hover)}._copy_n2anf_15:hover ._copyIcon_n2anf_36{color:var(--richtexteet-color-green-primary)}._copy_n2anf_15:hover>._copyText_n2anf_57{color:var(--richtexteet-color-green-primary);text-decoration-line:underline}._replies_1cutb_1{padding:.25rem 0}._link_1cutb_4{text-decoration:none;color:var(--richtexteet-color-blue-secondary);display:flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;-webkit-user-select:none;user-select:none;outline-style:none;transition-property:background-color;transition-duration:.2s;padding:0 1rem;border:var(--richtexteet-border);border-radius:9999px}._link_1cutb_4:hover{background-color:var(--richtexteet-color-blue-secondary-hover)}._text_1cutb_23{font-weight:var(--richtexteet-replies-font-weight);font-size:var(--richtexteet-replies-font-size);line-height:var(--richtexteet-replies-line-height);overflow-wrap:break-word;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}._root_q5799_1{width:100%;overflow:hidden;border:var(--richtexteet-border);border-radius:12px;margin:var(--richtexteet-quoted-container-margin);transition-property:background-color,box-shadow;transition-duration:.2s;cursor:pointer}._root_q5799_1:hover{background-color:var(--richtexteet-quoted-bg-color-hover)}._article_q5799_16{position:relative;box-sizing:inherit}._header_f00ab_1{display:flex;padding:.75rem .75rem 0;line-height:var(--richtexteet-header-line-height);font-size:var(--richtexteet-header-font-size);white-space:nowrap;overflow-wrap:break-word;overflow:hidden}._avatar_f00ab_11{position:relative;height:20px;width:20px}._avatarOverflow_f00ab_16{height:100%;width:100%;position:absolute;overflow:hidden;border-radius:9999px}._avatarSquare_f00ab_23{border-radius:4px}._author_f00ab_27{display:flex;margin:0 .5rem;align-items:center}._authorText_f00ab_33{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}._username_f00ab_40{color:var(--richtexteet-font-color-secondary);text-decoration:none;text-overflow:ellipsis;margin-left:.125rem}._root_175ot_1{font-size:var(--richtexteet-quoted-body-font-size);font-weight:var(--richtexteet-quoted-body-font-weight);line-height:var(--richtexteet-quoted-body-line-height);margin:var(--richtexteet-quoted-body-margin);overflow-wrap:break-word;white-space:pre-wrap;padding:0 .75rem}._root_16yxa_1{display:flex;flex-direction:column;align-items:center;padding-bottom:.75rem}._root_16yxa_1>h3{font-size:1.25rem;margin-bottom:.5rem}._skeleton_oi7hr_1{display:block;width:100%;border-radius:5px;background-image:var(--richtexteet-skeleton-gradient);background-size:400% 100%;animation:_loading_oi7hr_1 8s ease-in-out infinite}@media(prefers-reduced-motion:reduce){._skeleton_oi7hr_1{animation:none;background-position:200% 0}}@keyframes _loading_oi7hr_1{0%{background-position:200% 0}to{background-position:-200% 0}}._root_17qqv_1{pointer-events:none;padding-bottom:.25rem}._wrap_1x3wi_1{--editor__bg: #292c33;--widget__border: #3a3f4b;--widget__color: #ccc}._wrap_1x3wi_1 .richtext-node-code-block{width:100%;outline:solid 1px black;overflow:hidden;border-radius:4px;position:relative}._wrap_1x3wi_1 .richtext-code-block-toolbar{display:flex;align-items:center;gap:8px;z-index:10;padding:4px;background-color:var(--editor__bg);color:var(--widget__color);border-bottom:1px solid var(--widget__border)}._wrap_1x3wi_1 .richtext-code-block-toolbar .toolbar-divider{width:1px;height:16px;background-color:var(--widget__border);margin:0 4px}._blockInfoEditable_1x3wi_30{pointer-events:none}
1
+ :root{--richtext-border-spacing-x: 0;--richtext-border-spacing-y: 0;--richtext-translate-x: 0;--richtext-translate-y: 0;--richtext-rotate: 0;--richtext-skew-x: 0;--richtext-skew-y: 0;--richtext-scale-x: 1;--richtext-scale-y: 1;--richtext-pan-x: ;--richtext-pan-y: ;--richtext-pinch-zoom: ;--richtext-scroll-snap-strictness: proximity;--richtext-gradient-from-position: ;--richtext-gradient-via-position: ;--richtext-gradient-to-position: ;--richtext-ordinal: ;--richtext-slashed-zero: ;--richtext-numeric-figure: ;--richtext-numeric-spacing: ;--richtext-numeric-fraction: ;--richtext-ring-inset: ;--richtext-ring-offset-width: 0px;--richtext-ring-offset-color: #fff;--richtext-ring-color: rgb(59 130 246 / .5);--richtext-ring-offset-shadow: 0 0 #0000;--richtext-ring-shadow: 0 0 #0000;--richtext-shadow: 0 0 #0000;--richtext-shadow-colored: 0 0 #0000;--richtext-blur: ;--richtext-brightness: ;--richtext-contrast: ;--richtext-grayscale: ;--richtext-hue-rotate: ;--richtext-invert: ;--richtext-saturate: ;--richtext-sepia: ;--richtext-drop-shadow: ;--richtext-backdrop-blur: ;--richtext-backdrop-brightness: ;--richtext-backdrop-contrast: ;--richtext-backdrop-grayscale: ;--richtext-backdrop-hue-rotate: ;--richtext-backdrop-invert: ;--richtext-backdrop-opacity: ;--richtext-backdrop-saturate: ;--richtext-backdrop-sepia: ;--richtext-contain-size: ;--richtext-contain-layout: ;--richtext-contain-paint: ;--richtext-contain-style: }::backdrop{--richtext-border-spacing-x: 0;--richtext-border-spacing-y: 0;--richtext-translate-x: 0;--richtext-translate-y: 0;--richtext-rotate: 0;--richtext-skew-x: 0;--richtext-skew-y: 0;--richtext-scale-x: 1;--richtext-scale-y: 1;--richtext-pan-x: ;--richtext-pan-y: ;--richtext-pinch-zoom: ;--richtext-scroll-snap-strictness: proximity;--richtext-gradient-from-position: ;--richtext-gradient-via-position: ;--richtext-gradient-to-position: ;--richtext-ordinal: ;--richtext-slashed-zero: ;--richtext-numeric-figure: ;--richtext-numeric-spacing: ;--richtext-numeric-fraction: ;--richtext-ring-inset: ;--richtext-ring-offset-width: 0px;--richtext-ring-offset-color: #fff;--richtext-ring-color: rgb(59 130 246 / .5);--richtext-ring-offset-shadow: 0 0 #0000;--richtext-ring-shadow: 0 0 #0000;--richtext-shadow: 0 0 #0000;--richtext-shadow-colored: 0 0 #0000;--richtext-blur: ;--richtext-brightness: ;--richtext-contrast: ;--richtext-grayscale: ;--richtext-hue-rotate: ;--richtext-invert: ;--richtext-saturate: ;--richtext-sepia: ;--richtext-drop-shadow: ;--richtext-backdrop-blur: ;--richtext-backdrop-brightness: ;--richtext-backdrop-contrast: ;--richtext-backdrop-grayscale: ;--richtext-backdrop-hue-rotate: ;--richtext-backdrop-invert: ;--richtext-backdrop-opacity: ;--richtext-backdrop-saturate: ;--richtext-backdrop-sepia: ;--richtext-contain-size: ;--richtext-contain-layout: ;--richtext-contain-paint: ;--richtext-contain-style: }.richtext-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.richtext-pointer-events-none{pointer-events:none}.richtext-pointer-events-auto{pointer-events:auto}.richtext-fixed{position:fixed}.\!richtext-absolute{position:absolute!important}.richtext-absolute{position:absolute}.\!richtext-relative{position:relative!important}.richtext-relative{position:relative}.\!richtext-inset-0{top:0!important;right:0!important;bottom:0!important;left:0!important}.richtext-inset-0{top:0;right:0;bottom:0;left:0}.richtext-inset-y-0{top:0;bottom:0}.-richtext-top-px{top:-1px}.richtext-left-2{left:.5rem}.richtext-left-\[50\%\]{left:50%}.richtext-left-px{left:1px}.richtext-right-2{right:.5rem}.richtext-right-4{right:1rem}.richtext-start-0{inset-inline-start:0px}.richtext-top-0{top:0}.richtext-top-2{top:.5rem}.richtext-top-4{top:1rem}.richtext-top-\[50\%\]{top:50%}.\!richtext-isolate{isolation:isolate!important}.richtext-z-50{z-index:50}.richtext-z-\[100\]{z-index:100}.richtext-z-\[99999\]{z-index:99999}.\!richtext-mx-1{margin-left:.25rem!important;margin-right:.25rem!important}.\!richtext-my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.\!richtext-my-\[10px\]{margin-top:10px!important;margin-bottom:10px!important}.richtext--mx-1{margin-left:-.25rem;margin-right:-.25rem}.richtext-mx-\[4px\]{margin-left:4px;margin-right:4px}.richtext-mx-auto{margin-left:auto;margin-right:auto}.richtext-my-1{margin-top:.25rem;margin-bottom:.25rem}.richtext-my-4{margin-top:1rem;margin-bottom:1rem}.richtext-my-\[10px\]{margin-top:10px;margin-bottom:10px}.richtext-my-\[12px\]{margin-top:12px;margin-bottom:12px}.richtext-my-\[5px\]{margin-top:5px;margin-bottom:5px}.\!richtext-ml-1\.5{margin-left:.375rem!important}.\!richtext-mr-1{margin-right:.25rem!important}.richtext-mb-2{margin-bottom:.5rem}.richtext-mb-\[10px\]{margin-bottom:10px}.richtext-mb-\[4px\]{margin-bottom:4px}.richtext-mb-\[5px\]{margin-bottom:5px}.richtext-mb-\[6px\]{margin-bottom:6px}.richtext-ml-1{margin-left:.25rem}.richtext-ml-auto{margin-left:auto}.richtext-mt-1{margin-top:.25rem}.richtext-mt-2{margin-top:.5rem}.richtext-mt-\[8px\]{margin-top:8px}.richtext-box-border{box-sizing:border-box}.richtext-block{display:block}.richtext-inline-block{display:inline-block}.\!richtext-flex{display:flex!important}.richtext-flex{display:flex}.richtext-inline-flex{display:inline-flex}.richtext-grid{display:grid}.\!richtext-size-4{width:1rem!important;height:1rem!important}.\!richtext-size-7{width:1.75rem!important;height:1.75rem!important}.richtext-size-10{width:2.5rem;height:2.5rem}.richtext-size-2{width:.5rem;height:.5rem}.richtext-size-3{width:.75rem;height:.75rem}.richtext-size-3\.5{width:.875rem;height:.875rem}.richtext-size-4{width:1rem;height:1rem}.richtext-size-5{width:1.25rem;height:1.25rem}.richtext-size-6{width:1.5rem;height:1.5rem}.richtext-size-7{width:1.75rem;height:1.75rem}.richtext-size-\[18px\]{width:18px;height:18px}.richtext-size-full{width:100%;height:100%}.\!richtext-h-10{height:2.5rem!important}.\!richtext-h-3{height:.75rem!important}.\!richtext-h-4{height:1rem!important}.\!richtext-h-7{height:1.75rem!important}.\!richtext-h-9{height:2.25rem!important}.\!richtext-h-\[16px\]{height:16px!important}.\!richtext-h-\[342px\]{height:342px!important}.richtext-h-10{height:2.5rem}.richtext-h-11{height:2.75rem}.richtext-h-12{height:3rem}.richtext-h-4{height:1rem}.richtext-h-5{height:1.25rem}.richtext-h-6{height:1.5rem}.richtext-h-7{height:1.75rem}.richtext-h-8{height:2rem}.richtext-h-9{height:2.25rem}.richtext-h-\[1px\]{height:1px}.richtext-h-\[32px\]{height:32px}.richtext-h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.richtext-h-auto{height:auto}.richtext-h-full{height:100%}.richtext-h-px{height:1px}.\!richtext-max-h-\[320px\]{max-height:320px!important}.richtext-max-h-60{max-height:15rem}.richtext-max-h-96{max-height:24rem}.richtext-max-h-\[280px\]{max-height:280px}.richtext-max-h-\[320px\]{max-height:320px}.richtext-max-h-\[min\(80vh\,24rem\)\]{max-height:min(80vh,24rem)}.richtext-max-h-screen{max-height:100vh}.richtext-min-h-\[120px\]{min-height:120px}.richtext-min-h-\[80px\]{min-height:80px}.\!richtext-w-12{width:3rem!important}.\!richtext-w-3{width:.75rem!important}.\!richtext-w-4{width:1rem!important}.\!richtext-w-\[160px\]{width:160px!important}.\!richtext-w-\[initial\]{width:initial!important}.\!richtext-w-fit{width:fit-content!important}.\!richtext-w-full{width:100%!important}.richtext-w-11{width:2.75rem}.richtext-w-32{width:8rem}.richtext-w-4{width:1rem}.richtext-w-48{width:12rem}.richtext-w-5{width:1.25rem}.richtext-w-72{width:18rem}.richtext-w-80{width:20rem}.richtext-w-\[160px\]{width:160px}.richtext-w-\[1px\]{width:1px}.richtext-w-\[200px\]{width:200px}.richtext-w-\[32px\]{width:32px}.richtext-w-\[60px\]{width:60px}.richtext-w-fit{width:fit-content}.richtext-w-full{width:100%}.\!richtext-min-w-0{min-width:0px!important}.\!richtext-min-w-\[20px\]{min-width:20px!important}.richtext-min-w-24{min-width:6rem}.richtext-min-w-4{min-width:1rem}.richtext-min-w-48{min-width:12rem}.richtext-min-w-\[200px\]{min-width:200px}.richtext-min-w-\[8rem\]{min-width:8rem}.richtext-min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.\!richtext-max-w-\[1300px\]{max-width:1300px!important}.\!richtext-max-w-\[400px\]{max-width:400px!important}.richtext-max-w-24{max-width:6rem}.richtext-max-w-\[600px\]{max-width:600px}.richtext-max-w-lg{max-width:32rem}.richtext-max-w-sm{max-width:24rem}.richtext-max-w-xs{max-width:20rem}.\!richtext-flex-1{flex:1 1 0%!important}.\!richtext-flex-none{flex:none!important}.richtext-flex-1{flex:1 1 0%}.richtext-flex-\[0_0_auto\]{flex:0 0 auto}.\!richtext-shrink-0{flex-shrink:0!important}.richtext-shrink-0{flex-shrink:0}.richtext-grow{flex-grow:1}.richtext-translate-x-\[-50\%\]{--richtext-translate-x: -50%;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.richtext-translate-y-\[-50\%\]{--richtext-translate-y: -50%;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.\!richtext-animate-spin{animation:richtext-spin 1s linear infinite!important}.richtext-animate-spin{animation:richtext-spin 1s linear infinite}.richtext-cursor-default{cursor:default}.richtext-cursor-pointer{cursor:pointer}.\!richtext-select-none{-webkit-user-select:none!important;user-select:none!important}.richtext-select-none{-webkit-user-select:none;user-select:none}.\!richtext-scroll-my-1{scroll-margin-top:.25rem!important;scroll-margin-bottom:.25rem!important}.richtext-grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.richtext-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.richtext-flex-row{flex-direction:row}.\!richtext-flex-col{flex-direction:column!important}.richtext-flex-col{flex-direction:column}.richtext-flex-col-reverse{flex-direction:column-reverse}.richtext-flex-wrap{flex-wrap:wrap}.richtext-flex-nowrap{flex-wrap:nowrap}.\!richtext-items-center{align-items:center!important}.richtext-items-center{align-items:center}.richtext-justify-end{justify-content:flex-end}.\!richtext-justify-center{justify-content:center!important}.richtext-justify-center{justify-content:center}.richtext-justify-between{justify-content:space-between}.\!richtext-gap-1{gap:.25rem!important}.\!richtext-gap-2{gap:.5rem!important}.richtext-gap-0\.5{gap:.125rem}.richtext-gap-1{gap:.25rem}.richtext-gap-1\.5{gap:.375rem}.richtext-gap-2{gap:.5rem}.richtext-gap-3{gap:.75rem}.richtext-gap-4{gap:1rem}.richtext-gap-\[10px\]{gap:10px}.richtext-gap-\[4px\]{gap:4px}.richtext-space-x-4>:not([hidden])~:not([hidden]){--richtext-space-x-reverse: 0;margin-right:calc(1rem * var(--richtext-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--richtext-space-x-reverse)))}.richtext-space-y-1\.5>:not([hidden])~:not([hidden]){--richtext-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--richtext-space-y-reverse)));margin-bottom:calc(.375rem * var(--richtext-space-y-reverse))}.richtext-space-y-2>:not([hidden])~:not([hidden]){--richtext-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--richtext-space-y-reverse)));margin-bottom:calc(.5rem * var(--richtext-space-y-reverse))}.richtext-space-y-4>:not([hidden])~:not([hidden]){--richtext-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--richtext-space-y-reverse)));margin-bottom:calc(1rem * var(--richtext-space-y-reverse))}.richtext-self-end{align-self:flex-end}.richtext-overflow-auto{overflow:auto}.\!richtext-overflow-hidden{overflow:hidden!important}.richtext-overflow-hidden{overflow:hidden}.richtext-overflow-y-auto{overflow-y:auto}.richtext-overflow-x-hidden{overflow-x:hidden}.\!richtext-truncate{overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.richtext-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.richtext-whitespace-nowrap{white-space:nowrap}.richtext-break-words{overflow-wrap:break-word}.\!richtext-rounded-md{border-radius:calc(var(--radius) - 2px)!important}.\!richtext-rounded-sm{border-radius:calc(var(--radius) - 4px)!important}.richtext-rounded{border-radius:.25rem}.richtext-rounded-\[10px\]{border-radius:10px}.richtext-rounded-\[12px\]{border-radius:12px}.richtext-rounded-\[2px\]{border-radius:2px}.richtext-rounded-full{border-radius:9999px}.richtext-rounded-lg{border-radius:var(--radius)}.richtext-rounded-md{border-radius:calc(var(--radius) - 2px)}.richtext-rounded-sm{border-radius:calc(var(--radius) - 4px)}.\!richtext-border{border-width:1px!important}.richtext-border{border-width:1px}.richtext-border-2{border-width:2px}.\!richtext-border-b{border-bottom-width:1px!important}.\!richtext-border-t{border-top-width:1px!important}.\!richtext-border-solid{border-style:solid!important}.richtext-border-solid{border-style:solid}.\!richtext-border-none{border-style:none!important}.richtext-border-none{border-style:none}.\!richtext-border-border{border-color:hsl(var(--border))!important}.\!richtext-border-primary{border-color:hsl(var(--primary))!important}.\!richtext-border-transparent{border-color:transparent!important}.richtext-border-\[\#1f6feb\]{--richtext-border-opacity: 1;border-color:rgb(31 111 235 / var(--richtext-border-opacity, 1))}.richtext-border-\[\#238636\]{--richtext-border-opacity: 1;border-color:rgb(35 134 54 / var(--richtext-border-opacity, 1))}.richtext-border-\[\#ab7df8\]{--richtext-border-opacity: 1;border-color:rgb(171 125 248 / var(--richtext-border-opacity, 1))}.richtext-border-\[\#d29922\]{--richtext-border-opacity: 1;border-color:rgb(210 153 34 / var(--richtext-border-opacity, 1))}.richtext-border-\[\#f85149\]{--richtext-border-opacity: 1;border-color:rgb(248 81 73 / var(--richtext-border-opacity, 1))}.richtext-border-border{border-color:hsl(var(--border))}.richtext-border-destructive{border-color:hsl(var(--destructive))}.richtext-border-gray-300{--richtext-border-opacity: 1;border-color:rgb(209 213 219 / var(--richtext-border-opacity, 1))}.richtext-border-input{border-color:hsl(var(--input))}.richtext-border-transparent{border-color:transparent}.\!richtext-bg-foreground{background-color:hsl(var(--foreground))!important}.\!richtext-bg-popover{background-color:hsl(var(--popover))!important}.\!richtext-bg-primary{background-color:hsl(var(--primary))!important}.\!richtext-bg-transparent{background-color:transparent!important}.richtext-bg-\[\#1f6feb1f\]{background-color:#1f6feb1f}.richtext-bg-\[\#2386361f\]{background-color:#2386361f}.richtext-bg-\[\#5a5d5e4f\]{background-color:#5a5d5e4f}.richtext-bg-\[\#ab7df81f\]{background-color:#ab7df81f}.richtext-bg-\[\#d299221f\]{background-color:#d299221f}.richtext-bg-\[\#f851491f\]{background-color:#f851491f}.richtext-bg-background{background-color:hsl(var(--background))}.richtext-bg-black\/80{background-color:#000c}.richtext-bg-border{background-color:hsl(var(--border))}.richtext-bg-destructive{background-color:hsl(var(--destructive))}.richtext-bg-gray-50{--richtext-bg-opacity: 1;background-color:rgb(249 250 251 / var(--richtext-bg-opacity, 1))}.richtext-bg-muted{background-color:hsl(var(--muted))}.richtext-bg-popover{background-color:hsl(var(--popover))}.richtext-bg-primary{background-color:hsl(var(--primary))}.richtext-bg-red-50{--richtext-bg-opacity: 1;background-color:rgb(254 242 242 / var(--richtext-bg-opacity, 1))}.richtext-bg-secondary{background-color:hsl(var(--secondary))}.richtext-bg-transparent{background-color:transparent}.richtext-bg-white{--richtext-bg-opacity: 1;background-color:rgb(255 255 255 / var(--richtext-bg-opacity, 1))}.richtext-bg-opacity-10{--richtext-bg-opacity: .1}.richtext-fill-current{fill:currentColor}.richtext-object-contain{object-fit:contain}.\!richtext-p-0{padding:0!important}.\!richtext-p-2{padding:.5rem!important}.\!richtext-p-\[4px\]{padding:4px!important}.richtext-p-0{padding:0}.richtext-p-0\.5{padding:.125rem}.richtext-p-1{padding:.25rem}.richtext-p-1\.5{padding:.375rem}.richtext-p-10{padding:2.5rem}.richtext-p-2{padding:.5rem}.richtext-p-3{padding:.75rem}.richtext-p-4{padding:1rem}.richtext-p-6{padding:1.5rem}.richtext-p-\[10px\]{padding:10px}.\!richtext-px-1{padding-left:.25rem!important;padding-right:.25rem!important}.\!richtext-px-3{padding-left:.75rem!important;padding-right:.75rem!important}.\!richtext-py-3{padding-top:.75rem!important;padding-bottom:.75rem!important}.richtext-px-2{padding-left:.5rem;padding-right:.5rem}.richtext-px-3{padding-left:.75rem;padding-right:.75rem}.richtext-px-4{padding-left:1rem;padding-right:1rem}.richtext-px-5{padding-left:1.25rem;padding-right:1.25rem}.richtext-px-8{padding-left:2rem;padding-right:2rem}.richtext-px-\[5px\]{padding-left:5px;padding-right:5px}.richtext-py-0{padding-top:0;padding-bottom:0}.richtext-py-1{padding-top:.25rem;padding-bottom:.25rem}.richtext-py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.richtext-py-2{padding-top:.5rem;padding-bottom:.5rem}.richtext-py-4{padding-top:1rem;padding-bottom:1rem}.\!richtext-pb-1{padding-bottom:.25rem!important}.\!richtext-pb-2{padding-bottom:.5rem!important}.\!richtext-pt-3\.5{padding-top:.875rem!important}.richtext-pl-10{padding-left:2.5rem}.richtext-pl-4{padding-left:1rem}.richtext-pl-8{padding-left:2rem}.richtext-pl-\[28px\]{padding-left:28px}.richtext-pr-2{padding-right:.5rem}.richtext-pr-8{padding-right:2rem}.richtext-text-left{text-align:left}.richtext-text-center{text-align:center}.richtext-font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.\!richtext-text-\[0\.65rem\]{font-size:.65rem!important}.\!richtext-text-base{font-size:1rem!important;line-height:1.5rem!important}.\!richtext-text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.\!richtext-text-sm{font-size:.875rem!important;line-height:1.25rem!important}.\!richtext-text-xs{font-size:.75rem!important;line-height:1rem!important}.richtext-text-lg{font-size:1.125rem;line-height:1.75rem}.richtext-text-sm{font-size:.875rem;line-height:1.25rem}.richtext-text-xs{font-size:.75rem;line-height:1rem}.richtext-font-medium{font-weight:500}.richtext-font-normal{font-weight:400}.richtext-font-semibold{font-weight:600}.richtext-uppercase{text-transform:uppercase}.\!richtext-leading-none{line-height:1!important}.richtext-leading-none{line-height:1}.richtext-tracking-tight{letter-spacing:-.025em}.richtext-tracking-widest{letter-spacing:.1em}.\!richtext-text-current{color:currentColor!important}.\!richtext-text-muted-foreground{color:hsl(var(--muted-foreground))!important}.\!richtext-text-popover-foreground{color:hsl(var(--popover-foreground))!important}.\!richtext-text-primary-foreground{color:hsl(var(--primary-foreground))!important}.\!richtext-text-secondary-foreground{color:hsl(var(--secondary-foreground))!important}.richtext-text-\[\#1f6feb\]{--richtext-text-opacity: 1;color:rgb(31 111 235 / var(--richtext-text-opacity, 1))}.richtext-text-\[\#238636\]{--richtext-text-opacity: 1;color:rgb(35 134 54 / var(--richtext-text-opacity, 1))}.richtext-text-\[\#ab7df8\]{--richtext-text-opacity: 1;color:rgb(171 125 248 / var(--richtext-text-opacity, 1))}.richtext-text-\[\#d29922\]{--richtext-text-opacity: 1;color:rgb(210 153 34 / var(--richtext-text-opacity, 1))}.richtext-text-\[\#f85149\]{--richtext-text-opacity: 1;color:rgb(248 81 73 / var(--richtext-text-opacity, 1))}.richtext-text-accent{color:hsl(var(--accent))}.richtext-text-accent-foreground{color:hsl(var(--accent-foreground))}.richtext-text-destructive-foreground{color:hsl(var(--destructive-foreground))}.richtext-text-foreground{color:hsl(var(--foreground))}.richtext-text-foreground\/50{color:hsl(var(--foreground) / .5)}.richtext-text-gray-400{--richtext-text-opacity: 1;color:rgb(156 163 175 / var(--richtext-text-opacity, 1))}.richtext-text-gray-500{--richtext-text-opacity: 1;color:rgb(107 114 128 / var(--richtext-text-opacity, 1))}.richtext-text-muted-foreground{color:hsl(var(--muted-foreground))}.richtext-text-popover-foreground{color:hsl(var(--popover-foreground))}.richtext-text-primary{color:hsl(var(--primary))}.richtext-text-primary-foreground{color:hsl(var(--primary-foreground))}.richtext-text-red-500{--richtext-text-opacity: 1;color:rgb(239 68 68 / var(--richtext-text-opacity, 1))}.richtext-text-secondary-foreground{color:hsl(var(--secondary-foreground))}.richtext-text-zinc-500{--richtext-text-opacity: 1;color:rgb(113 113 122 / var(--richtext-text-opacity, 1))}.richtext-underline-offset-4{text-underline-offset:4px}.\!richtext-opacity-50{opacity:.5!important}.richtext-opacity-0{opacity:0}.richtext-opacity-50{opacity:.5}.richtext-opacity-60{opacity:.6}.richtext-opacity-70{opacity:.7}.richtext-opacity-90{opacity:.9}.richtext-shadow-lg{--richtext-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--richtext-shadow-colored: 0 10px 15px -3px var(--richtext-shadow-color), 0 4px 6px -4px var(--richtext-shadow-color);box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.richtext-shadow-md{--richtext-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--richtext-shadow-colored: 0 4px 6px -1px var(--richtext-shadow-color), 0 2px 4px -2px var(--richtext-shadow-color);box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.\!richtext-outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.richtext-outline-none{outline:2px solid transparent;outline-offset:2px}.richtext-ring-0{--richtext-ring-offset-shadow: var(--richtext-ring-inset) 0 0 0 var(--richtext-ring-offset-width) var(--richtext-ring-offset-color);--richtext-ring-shadow: var(--richtext-ring-inset) 0 0 0 calc(0px + var(--richtext-ring-offset-width)) var(--richtext-ring-color);box-shadow:var(--richtext-ring-offset-shadow),var(--richtext-ring-shadow),var(--richtext-shadow, 0 0 #0000)}.\!richtext-ring-offset-background{--richtext-ring-offset-color: hsl(var(--background)) !important}.richtext-ring-offset-background{--richtext-ring-offset-color: hsl(var(--background))}.richtext-transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.richtext-transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.richtext-transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.richtext-transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.richtext-duration-200{transition-duration:.2s}.richtext-ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes aenter{0%{opacity:var(--richtext-enter-opacity, 1);transform:translate3d(var(--richtext-enter-translate-x, 0),var(--richtext-enter-translate-y, 0),0) scale3d(var(--richtext-enter-scale, 1),var(--richtext-enter-scale, 1),var(--richtext-enter-scale, 1)) rotate(var(--richtext-enter-rotate, 0))}}@keyframes aexit{to{opacity:var(--richtext-exit-opacity, 1);transform:translate3d(var(--richtext-exit-translate-x, 0),var(--richtext-exit-translate-y, 0),0) scale3d(var(--richtext-exit-scale, 1),var(--richtext-exit-scale, 1),var(--richtext-exit-scale, 1)) rotate(var(--richtext-exit-rotate, 0))}}.richtext-animate-in{animation-name:aenter;animation-duration:.15s;--richtext-enter-opacity: initial;--richtext-enter-scale: initial;--richtext-enter-rotate: initial;--richtext-enter-translate-x: initial;--richtext-enter-translate-y: initial}.richtext-fade-in-0{--richtext-enter-opacity: 0}.richtext-zoom-in-95{--richtext-enter-scale: .95}.richtext-duration-200{animation-duration:.2s}.richtext-ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}html body[data-scroll-locked]{--removed-body-scroll-bar-size: 0 !important;position:initial!important}.remarkablejames-editor{background-color:hsl(var(--background));color:hsl(var(--foreground))}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror{z-index:0;padding:4rem 2rem 4rem 5rem;caret-color:#000;outline-width:0px}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror:is([class~=dark] *){caret-color:#fff}@media(min-width:1024px){.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror{padding-left:2rem;padding-right:2rem}}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror{outline:none!important}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror:focus,.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror:focus-visible{outline:none!important;box-shadow:none!important}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror{min-height:180px;padding:32px 80px}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .img-placeholder{width:fit-content;position:relative;background-color:#ffffff4d;--richtext-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--richtext-backdrop-blur) var(--richtext-backdrop-brightness) var(--richtext-backdrop-contrast) var(--richtext-backdrop-grayscale) var(--richtext-backdrop-hue-rotate) var(--richtext-backdrop-invert) var(--richtext-backdrop-opacity) var(--richtext-backdrop-saturate) var(--richtext-backdrop-sepia);backdrop-filter:var(--richtext-backdrop-blur) var(--richtext-backdrop-brightness) var(--richtext-backdrop-contrast) var(--richtext-backdrop-grayscale) var(--richtext-backdrop-hue-rotate) var(--richtext-backdrop-invert) var(--richtext-backdrop-opacity) var(--richtext-backdrop-saturate) var(--richtext-backdrop-sepia)}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .img-placeholder:before{content:"";box-sizing:border-box;position:absolute;top:50%;left:50%;width:24px;height:24px;margin:-12px 0 0 -12px;display:inline-block}@keyframes richtext-spin{to{transform:rotate(360deg)}}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .img-placeholder:before{animation:richtext-spin 1s linear infinite;border-radius:9999px;border-width:3px;border-color:currentColor;border-top-color:transparent}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .tableWrapper{margin:1em 0;overflow-x:auto}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .tableWrapper table{overflow:hidden;display:table;width:100%}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .tableWrapper table .column-resize-handle{pointer-events:none;position:absolute;bottom:-2px;right:-2px;top:0;z-index:10;width:.25rem;background-color:hsl(var(--primary))}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .tableWrapper table .resize-cursor{cursor:"col-resize"}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .tableWrapper table .selectedCell{border-style:double;border-color:#0003;background-color:#0000000d}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .tableWrapper table .selectedCell:is([class~=dark] *){border-color:#fff3;background-color:#ffffff1a}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule]{cursor:pointer;transition-property:all;transition-duration:.1s;transition-timing-function:cubic-bezier(.4,0,.2,1);animation-duration:.1s;animation-timing-function:cubic-bezier(.4,0,.2,1)}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode{background-color:#0000000d}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode:is([class~=dark] *){background-color:#ffffff1a}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode hr{border-top-color:hsl(var(--foreground))!important}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule]:hover:not(.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode){background-color:#0000000d}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule]:hover:not(.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror [data-type=horizontalRule].ProseMirror-selectednode):is([class~=dark] *){background-color:#ffffff1a}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror :not(.dragging) .ProseMirror-selectednode:not(.image-view),.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror :not(.dragging) .ProseMirror-selectednode:not(.search-result){background-color:#0000001a;--richtext-shadow: 0 0 #0000;--richtext-shadow-colored: 0 0 #0000;box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow);outline:2px solid transparent;outline-offset:2px;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror :not(.dragging) .ProseMirror-selectednode:not(.image-view):is([class~=dark] *),.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror :not(.dragging) .ProseMirror-selectednode:not(.search-result):is([class~=dark] *){background-color:#fff3}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror :not(.image-view)::selection,.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror :not(.search-result)::selection{background-color:hsl(var(--accent))!important}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .is-empty:before{content:attr(data-placeholder);float:left;color:#adb5bd;pointer-events:none;width:100%;height:0}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .columns.is-empty:before{display:none!important}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .is-editor-empty:first-child:before{content:attr(data-placeholder);float:left;color:#adb5bd;pointer-events:none;width:100%;height:0}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror p.is-editor-empty:first-child:before{float:left;height:0;color:#adb5bd;pointer-events:none;width:100%;content:attr(data-placeholder)}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .ProseMirror-gapcursor{position:relative;margin-left:auto;margin-right:auto;width:100%;max-width:42rem}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .ProseMirror-gapcursor:after{left:0;right:0;top:-1.5em;margin-left:auto;margin-right:auto;width:100%;max-width:42rem;border-top-color:#0006}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .ProseMirror-gapcursor:is([class~=dark] *):after{border-top-color:#fff6}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-view{display:inline-block;float:none;max-width:100%;line-height:0;vertical-align:baseline;-webkit-user-select:none;user-select:none}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body{position:relative;display:inline-block;max-width:100%;clear:both;outline:transparent solid 2px;transition:all .2s ease-in}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body__button-wrap{display:none;justify-content:center;align-items:center;position:absolute;top:9px;right:9px;background:#26262699;border-radius:8px;z-index:4}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body:hover{outline-color:#ffc83d}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body:hover .image-view__body__button-wrap{display:block}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body--focused:hover,.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body--resizing:hover{outline-color:hsl(var(--primary))}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body__placeholder{position:absolute;top:0;left:0;z-index:-1;width:100%;height:100%}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-view__body__image{margin:0;cursor:pointer!important}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-view .image-view__body--focused{outline-color:hsl(var(--primary))!important}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-view.focus img{outline-style:solid;outline-width:2px;outline-color:hsl(var(--primary))}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-view img{display:inline;vertical-align:baseline}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-resizer{position:absolute;top:0;left:0;z-index:1;width:100%;height:100%;border-width:1px!important;border-color:hsl(var(--border))!important}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-resizer__handler{position:absolute;z-index:2;box-sizing:border-box;display:block;width:12px;height:12px;border:1px solid #fff;border-radius:2px;background-color:hsl(var(--primary))}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-resizer__handler--tl{top:-6px;left:-6px;cursor:nw-resize}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-resizer__handler--tr{top:-6px;right:-6px;cursor:ne-resize}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-resizer__handler--bl{bottom:-6px;left:-6px;cursor:sw-resize}.remarkablejames-editor .ProseMirror.ProseMirror.ProseMirror .image-resizer__handler--br{right:-6px;bottom:-6px;cursor:se-resize}.remarkablejames-editor.dense .ProseMirror{min-height:32px;padding:6px 12px}.remarkablejames-editor.dense p{padding:0;line-height:1.2rem}.remarkablejames-editor .ProseMirror[contenteditable=true].resize-cursor{cursor:col-resize}.remarkablejames-editor .ProseMirror{caret-color:hsl(var(--richtext-text-foreground))!important}.bg-item-active.bg-item-active{background-color:hsl(var(--accent))!important}.heading-1{font-weight:700;font-size:28px;line-height:1.6}.heading-2{font-weight:700;font-size:24px;line-height:1.6}.heading-3{font-size:20px;font-weight:700;line-height:1.6}.heading-4{font-size:16px;font-weight:700;line-height:1.6}.heading-5,.heading-6{font-size:14px;font-weight:700;line-height:1.6}.tableCellActive{border-radius:2px!important;transition:all .1s ease-in-out}.tableCellActive>div{border:unset!important}.node-tableOfContents.focus{border-width:1px;border-radius:6px}div[data-twitter]>div{margin:10px auto}.react-renderer.node-twitter.focus{border-width:1px;border-radius:6px}.ProseMirror p{margin-bottom:.375rem;line-height:1.625}.ProseMirror p:first-child{margin-top:0}.ProseMirror p:last-child{margin-bottom:0}.ProseMirror>p{margin-bottom:.375rem}.ProseMirror>p:first-child{margin-top:0}.ProseMirror>p:last-child{margin-bottom:0}.ProseMirror h1{font-size:1.875rem;line-height:2.25rem}.ProseMirror h2{font-size:1.5rem;line-height:2rem}.ProseMirror h3{font-size:1.25rem;line-height:1.75rem}.ProseMirror h4{font-size:1.125rem;line-height:1.75rem}.ProseMirror h5{font-size:1rem;line-height:1.5rem}.ProseMirror h6{font-size:.875rem;line-height:1.25rem}.ProseMirror h1,.ProseMirror h2,.ProseMirror h3,.ProseMirror h4,.ProseMirror h5,.ProseMirror h6{font-weight:700}.ProseMirror h1:first-child,.ProseMirror h2:first-child,.ProseMirror h3:first-child,.ProseMirror h4:first-child,.ProseMirror h5:first-child,.ProseMirror h6:first-child{margin-top:0}.ProseMirror h1:last-child,.ProseMirror h2:last-child,.ProseMirror h3:last-child,.ProseMirror h4:last-child,.ProseMirror h5:last-child,.ProseMirror h6:last-child{margin-bottom:0}.ProseMirror h1,.ProseMirror h2,.ProseMirror h3{margin-top:3rem}.ProseMirror h4,.ProseMirror h5,.ProseMirror h6{margin-top:2rem}.ProseMirror a.link{font-weight:800;--richtext-text-opacity: 1;color:rgb(59 130 246 / var(--richtext-text-opacity, 1))}.ProseMirror a.link:is([class~=dark] *){--richtext-text-opacity: 1;color:rgb(96 165 250 / var(--richtext-text-opacity, 1))}.ProseMirror mark{border-radius:calc(var(--radius) - 4px);--richtext-bg-opacity: 1;background-color:rgb(239 68 68 / var(--richtext-bg-opacity, 1));-webkit-box-decoration-break:clone;box-decoration-break:clone;padding-left:0;padding-right:0;padding-top:.25rem;padding-bottom:.25rem;color:inherit}.ProseMirror mark:is([class~=dark] *){--richtext-bg-opacity: 1;background-color:rgb(248 113 113 / var(--richtext-bg-opacity, 1))}.ProseMirror img{height:auto;max-width:100%}.ProseMirror *[data-indent="1"]{text-indent:2em!important}.ProseMirror *[data-indent="2"]{text-indent:4em!important}.ProseMirror *[data-indent="3"]{text-indent:6em!important}.ProseMirror *[data-indent="4"]{text-indent:8em!important}.ProseMirror *[data-indent="5"]{text-indent:10em!important}.ProseMirror *[data-indent="6"]{text-indent:12em!important}.ProseMirror *[data-indent="7"]{text-indent:14em!important}.ProseMirror iframe{border-width:1px!important;margin-top:.5rem;height:100%;width:100%;border-radius:calc(var(--radius) - 4px);border-color:hsl(var(--border))}.ProseMirror .blockquote{border-radius:var(--radius);border-bottom-left-radius:0;border-top-left-radius:0;border-left-width:4px;--richtext-border-opacity: 1;border-left-color:rgb(64 64 64 / var(--richtext-border-opacity, 1));--richtext-bg-opacity: .8;padding:.5rem 1rem;--richtext-text-opacity: 1;color:rgb(0 0 0 / var(--richtext-text-opacity, 1))}.ProseMirror .blockquote:is([class~=dark] *){--richtext-border-opacity: 1;border-left-color:rgb(212 212 212 / var(--richtext-border-opacity, 1));--richtext-text-opacity: 1;color:rgb(255 255 255 / var(--richtext-text-opacity, 1))}.ProseMirror code{border-radius:calc(var(--radius) - 4px);--richtext-bg-opacity: 1;background-color:rgb(23 23 23 / var(--richtext-bg-opacity, 1));font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;--richtext-text-opacity: 1;color:rgb(255 255 255 / var(--richtext-text-opacity, 1));caret-color:#fff;--richtext-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--richtext-shadow-colored: 0 10px 15px -3px var(--richtext-shadow-color), 0 4px 6px -4px var(--richtext-shadow-color);box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.ProseMirror pre{margin-top:3rem;margin-bottom:3rem;border-radius:.25rem;border-width:1px!important;--richtext-border-opacity: 1;border-color:rgb(0 0 0 / var(--richtext-border-opacity, 1));border-color:hsl(var(--border));--richtext-bg-opacity: 1;background-color:rgb(64 64 64 / var(--richtext-bg-opacity, 1));padding:1rem;--richtext-text-opacity: 1;color:rgb(255 255 255 / var(--richtext-text-opacity, 1));caret-color:#fff}.ProseMirror pre:is([class~=dark] *){--richtext-bg-opacity: 1;background-color:rgb(23 23 23 / var(--richtext-bg-opacity, 1))}.ProseMirror pre code{background-color:inherit;padding:0;color:inherit;--richtext-shadow: 0 0 #0000;--richtext-shadow-colored: 0 0 #0000;box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.ProseMirror ol{list-style-type:decimal}.ProseMirror ul{list-style-type:disc}.ProseMirror ul,.ProseMirror ol{margin-top:1.5rem;margin-bottom:1.5rem;padding-left:2rem;padding-right:2rem;padding-top:0;padding-bottom:0}.ProseMirror ul:first-child,.ProseMirror ol:first-child{margin-top:0}.ProseMirror ul:last-child,.ProseMirror ol:last-child{margin-bottom:0}.ProseMirror ul ul,.ProseMirror ul ol,.ProseMirror ul li,.ProseMirror ol ul,.ProseMirror ol ol,.ProseMirror ol li{margin-top:.25rem;margin-bottom:.25rem}.ProseMirror ul p,.ProseMirror ol p{margin-bottom:.25rem;margin-top:0}.ProseMirror>ul,.ProseMirror>ol{margin-top:2rem;margin-bottom:2rem}.ProseMirror>ul:first-child,.ProseMirror>ol:first-child{margin-top:0}.ProseMirror>ul:last-child,.ProseMirror>ol:last-child{margin-bottom:0}.ProseMirror ul[data-type=taskList]{list-style-type:none;padding:0}.ProseMirror ul[data-type=taskList] p{margin:0}.ProseMirror ul[data-type=taskList] li{display:flex}.ProseMirror ul[data-type=taskList] li>label{margin-right:.5rem;display:inline;flex:1 1 auto;flex-shrink:0;flex-grow:0;-webkit-user-select:none;user-select:none}.ProseMirror ul[data-type=taskList] li>div{flex:1 1 auto}.ProseMirror ul[data-type=taskList] li[data-checked=true]{text-decoration-line:line-through}.ProseMirror table{box-sizing:border-box;display:block;table-layout:fixed;border-collapse:collapse;overflow-x:auto;overflow-y:hidden;border-color:#0000001a}.ProseMirror table:is([class~=dark] *){border-color:#fff3}.ProseMirror table td,.ProseMirror table th{border-width:1px!important;position:relative;box-sizing:border-box;min-width:1em;border-color:#0000001a;padding:.5rem;text-align:left;vertical-align:top}.ProseMirror table td:is([class~=dark] *),.ProseMirror table th:is([class~=dark] *){border-color:#fff3}.ProseMirror table td:first-of-type:not(a),.ProseMirror table th:first-of-type:not(a){margin-top:0}.ProseMirror table td p,.ProseMirror table th p{margin:0}.ProseMirror table td p+p,.ProseMirror table th p+p{margin-top:.75rem}.ProseMirror table th{text-align:left;font-weight:700}.remarkablejames-editor .ProseMirror .search-result{background-color:#ffd90080}.remarkablejames-editor .ProseMirror .search-result-current{background-color:#0dff0080}.columns{display:flex;width:100%;gap:8px;margin-top:.75em}.columns .column{min-width:0;padding:12px;flex:1 1 0%;box-sizing:border-box}.columns .column p:first-of-type{margin-top:0}.remarkablejames-editor .columns .column{border-width:1px;border-style:solid;border-color:hsl(var(--border));border-radius:2px}[data-type=mention]{color:hsl(var(--primary));background:hsl(var(--muted));padding:2px 4px;border-radius:6px}.file\:richtext-border-0::file-selector-button{border-width:0px}.file\:richtext-bg-transparent::file-selector-button{background-color:transparent}.file\:richtext-text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:richtext-font-medium::file-selector-button{font-weight:500}.placeholder\:\!richtext-text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))!important}.placeholder\:richtext-text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.last\:richtext-pb-2:last-child{padding-bottom:.5rem}.hover\:richtext-cursor-pointer:hover{cursor:pointer}.hover\:\!richtext-border-border:hover{border-color:hsl(var(--border))!important}.hover\:richtext-border-border:hover{border-color:hsl(var(--border))}.hover\:\!richtext-bg-accent:hover{background-color:hsl(var(--accent))!important}.hover\:\!richtext-bg-primary\/90:hover{background-color:hsl(var(--primary) / .9)!important}.hover\:richtext-bg-\[\#5a5d5e4f\]:hover{background-color:#5a5d5e4f}.hover\:richtext-bg-accent:hover{background-color:hsl(var(--accent))}.hover\:richtext-bg-destructive\/90:hover{background-color:hsl(var(--destructive) / .9)}.hover\:richtext-bg-muted:hover{background-color:hsl(var(--muted))}.hover\:richtext-bg-red-400:hover{--richtext-bg-opacity: 1;background-color:rgb(248 113 113 / var(--richtext-bg-opacity, 1))}.hover\:richtext-bg-secondary:hover{background-color:hsl(var(--secondary))}.hover\:richtext-bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:richtext-bg-opacity-20:hover{--richtext-bg-opacity: .2}.hover\:richtext-text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:richtext-text-foreground:hover{color:hsl(var(--foreground))}.hover\:richtext-text-muted-foreground:hover{color:hsl(var(--muted-foreground))}.hover\:richtext-underline:hover{text-decoration-line:underline}.hover\:richtext-opacity-100:hover{opacity:1}.hover\:richtext-shadow-sm:hover{--richtext-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--richtext-shadow-colored: 0 1px 2px 0 var(--richtext-shadow-color);box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.focus\:richtext-bg-accent:focus{background-color:hsl(var(--accent))}.focus\:richtext-bg-red-400:focus{--richtext-bg-opacity: 1;background-color:rgb(248 113 113 / var(--richtext-bg-opacity, 1))}.focus\:richtext-bg-opacity-30:focus{--richtext-bg-opacity: .3}.focus\:richtext-text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:richtext-text-red-500:focus{--richtext-text-opacity: 1;color:rgb(239 68 68 / var(--richtext-text-opacity, 1))}.focus\:richtext-opacity-100:focus{opacity:1}.focus\:richtext-outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:richtext-ring-2:focus{--richtext-ring-offset-shadow: var(--richtext-ring-inset) 0 0 0 var(--richtext-ring-offset-width) var(--richtext-ring-offset-color);--richtext-ring-shadow: var(--richtext-ring-inset) 0 0 0 calc(2px + var(--richtext-ring-offset-width)) var(--richtext-ring-color);box-shadow:var(--richtext-ring-offset-shadow),var(--richtext-ring-shadow),var(--richtext-shadow, 0 0 #0000)}.focus\:richtext-ring-ring:focus{--richtext-ring-color: hsl(var(--ring))}.focus\:richtext-ring-offset-1:focus{--richtext-ring-offset-width: 1px}.focus-visible\:\!richtext-outline-none:focus-visible{outline:2px solid transparent!important;outline-offset:2px!important}.focus-visible\:richtext-outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:\!richtext-ring-2:focus-visible{--richtext-ring-offset-shadow: var(--richtext-ring-inset) 0 0 0 var(--richtext-ring-offset-width) var(--richtext-ring-offset-color) !important;--richtext-ring-shadow: var(--richtext-ring-inset) 0 0 0 calc(2px + var(--richtext-ring-offset-width)) var(--richtext-ring-color) !important;box-shadow:var(--richtext-ring-offset-shadow),var(--richtext-ring-shadow),var(--richtext-shadow, 0 0 #0000)!important}.focus-visible\:richtext-ring-1:focus-visible{--richtext-ring-offset-shadow: var(--richtext-ring-inset) 0 0 0 var(--richtext-ring-offset-width) var(--richtext-ring-offset-color);--richtext-ring-shadow: var(--richtext-ring-inset) 0 0 0 calc(1px + var(--richtext-ring-offset-width)) var(--richtext-ring-color);box-shadow:var(--richtext-ring-offset-shadow),var(--richtext-ring-shadow),var(--richtext-shadow, 0 0 #0000)}.focus-visible\:richtext-ring-2:focus-visible{--richtext-ring-offset-shadow: var(--richtext-ring-inset) 0 0 0 var(--richtext-ring-offset-width) var(--richtext-ring-offset-color);--richtext-ring-shadow: var(--richtext-ring-inset) 0 0 0 calc(2px + var(--richtext-ring-offset-width)) var(--richtext-ring-color);box-shadow:var(--richtext-ring-offset-shadow),var(--richtext-ring-shadow),var(--richtext-shadow, 0 0 #0000)}.focus-visible\:\!richtext-ring-ring:focus-visible{--richtext-ring-color: hsl(var(--ring)) !important}.focus-visible\:richtext-ring-ring:focus-visible{--richtext-ring-color: hsl(var(--ring))}.focus-visible\:\!richtext-ring-offset-1:focus-visible{--richtext-ring-offset-width: 1px !important}.focus-visible\:richtext-ring-offset-1:focus-visible{--richtext-ring-offset-width: 1px}.focus-visible\:richtext-ring-offset-background:focus-visible{--richtext-ring-offset-color: hsl(var(--background))}.disabled\:richtext-pointer-events-none:disabled{pointer-events:none}.disabled\:\!richtext-cursor-not-allowed:disabled{cursor:not-allowed!important}.disabled\:richtext-cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:\!richtext-opacity-50:disabled{opacity:.5!important}.disabled\:richtext-opacity-50:disabled{opacity:.5}.richtext-group:hover .group-hover\:richtext-opacity-100{opacity:1}.richtext-group.destructive .group-\[\.destructive\]\:richtext-border-muted\/40{border-color:hsl(var(--muted) / .4)}.richtext-group.destructive .group-\[\.destructive\]\:richtext-text-red-300{--richtext-text-opacity: 1;color:rgb(252 165 165 / var(--richtext-text-opacity, 1))}.richtext-group.destructive .group-\[\.destructive\]\:hover\:richtext-border-destructive\/30:hover{border-color:hsl(var(--destructive) / .3)}.richtext-group.destructive .group-\[\.destructive\]\:hover\:richtext-bg-destructive:hover{background-color:hsl(var(--destructive))}.richtext-group.destructive .group-\[\.destructive\]\:hover\:richtext-text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.richtext-group.destructive .group-\[\.destructive\]\:hover\:richtext-text-red-50:hover{--richtext-text-opacity: 1;color:rgb(254 242 242 / var(--richtext-text-opacity, 1))}.richtext-group.destructive .group-\[\.destructive\]\:focus\:richtext-ring-destructive:focus{--richtext-ring-color: hsl(var(--destructive))}.richtext-group.destructive .group-\[\.destructive\]\:focus\:richtext-ring-red-400:focus{--richtext-ring-opacity: 1;--richtext-ring-color: rgb(248 113 113 / var(--richtext-ring-opacity, 1))}.richtext-group.destructive .group-\[\.destructive\]\:focus\:richtext-ring-offset-red-600:focus{--richtext-ring-offset-color: #dc2626}.richtext-peer:disabled~.peer-disabled\:richtext-cursor-not-allowed{cursor:not-allowed}.richtext-peer:disabled~.peer-disabled\:richtext-opacity-70{opacity:.7}.data-\[disabled\]\:richtext-pointer-events-none[data-disabled]{pointer-events:none}.data-\[side\=bottom\]\:richtext-translate-y-1[data-side=bottom]{--richtext-translate-y: .25rem;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[side\=left\]\:richtext--translate-x-1[data-side=left]{--richtext-translate-x: -.25rem;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[side\=right\]\:richtext-translate-x-1[data-side=right]{--richtext-translate-x: .25rem;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[side\=top\]\:richtext--translate-y-1[data-side=top]{--richtext-translate-y: -.25rem;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[state\=checked\]\:richtext-translate-x-5[data-state=checked]{--richtext-translate-x: 1.25rem;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[state\=unchecked\]\:richtext-translate-x-0[data-state=unchecked],.data-\[swipe\=cancel\]\:richtext-translate-x-0[data-swipe=cancel]{--richtext-translate-x: 0px;transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[swipe\=end\]\:richtext-translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end]{--richtext-translate-x: var(--radix-toast-swipe-end-x);transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[swipe\=move\]\:richtext-translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{--richtext-translate-x: var(--radix-toast-swipe-move-x);transform:translate(var(--richtext-translate-x),var(--richtext-translate-y)) rotate(var(--richtext-rotate)) skew(var(--richtext-skew-x)) skewY(var(--richtext-skew-y)) scaleX(var(--richtext-scale-x)) scaleY(var(--richtext-scale-y))}.data-\[active\]\:\!richtext-bg-accent[data-active]{background-color:hsl(var(--accent))!important}.data-\[state\=active\]\:richtext-bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=checked\]\:\!richtext-bg-primary[data-state=checked]{background-color:hsl(var(--primary))!important}.data-\[state\=checked\]\:richtext-bg-primary[data-state=checked]{background-color:hsl(var(--primary))}.data-\[state\=on\]\:richtext-bg-accent[data-state=on],.data-\[state\=open\]\:richtext-bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=unchecked\]\:richtext-bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[state\=active\]\:richtext-text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=checked\]\:\!richtext-text-primary-foreground[data-state=checked]{color:hsl(var(--primary-foreground))!important}.data-\[state\=on\]\:richtext-text-accent-foreground[data-state=on]{color:hsl(var(--accent-foreground))}.data-\[state\=open\]\:richtext-text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:richtext-opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:richtext-shadow-sm[data-state=active]{--richtext-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--richtext-shadow-colored: 0 1px 2px 0 var(--richtext-shadow-color);box-shadow:var(--richtext-ring-offset-shadow, 0 0 #0000),var(--richtext-ring-shadow, 0 0 #0000),var(--richtext-shadow)}.data-\[swipe\=move\]\:richtext-transition-none[data-swipe=move]{transition-property:none}.data-\[state\=open\]\:richtext-animate-in[data-state=open]{animation-name:aenter;animation-duration:.15s;--richtext-enter-opacity: initial;--richtext-enter-scale: initial;--richtext-enter-rotate: initial;--richtext-enter-translate-x: initial;--richtext-enter-translate-y: initial}.data-\[state\=closed\]\:richtext-animate-out[data-state=closed],.data-\[swipe\=end\]\:richtext-animate-out[data-swipe=end]{animation-name:aexit;animation-duration:.15s;--richtext-exit-opacity: initial;--richtext-exit-scale: initial;--richtext-exit-rotate: initial;--richtext-exit-translate-x: initial;--richtext-exit-translate-y: initial}.data-\[state\=closed\]\:richtext-fade-out-0[data-state=closed]{--richtext-exit-opacity: 0}.data-\[state\=closed\]\:richtext-fade-out-80[data-state=closed]{--richtext-exit-opacity: .8}.data-\[state\=open\]\:richtext-fade-in-0[data-state=open]{--richtext-enter-opacity: 0}.data-\[state\=closed\]\:richtext-zoom-out-95[data-state=closed]{--richtext-exit-scale: .95}.data-\[state\=open\]\:richtext-zoom-in-95[data-state=open]{--richtext-enter-scale: .95}.data-\[side\=bottom\]\:richtext-slide-in-from-top-2[data-side=bottom]{--richtext-enter-translate-y: -.5rem}.data-\[side\=left\]\:richtext-slide-in-from-right-2[data-side=left]{--richtext-enter-translate-x: .5rem}.data-\[side\=right\]\:richtext-slide-in-from-left-2[data-side=right]{--richtext-enter-translate-x: -.5rem}.data-\[side\=top\]\:richtext-slide-in-from-bottom-2[data-side=top]{--richtext-enter-translate-y: .5rem}.data-\[state\=closed\]\:richtext-slide-out-to-left-1\/2[data-state=closed]{--richtext-exit-translate-x: -50%}.data-\[state\=closed\]\:richtext-slide-out-to-right-full[data-state=closed]{--richtext-exit-translate-x: 100%}.data-\[state\=closed\]\:richtext-slide-out-to-top-\[48\%\][data-state=closed]{--richtext-exit-translate-y: -48%}.data-\[state\=open\]\:richtext-slide-in-from-left-1\/2[data-state=open]{--richtext-enter-translate-x: -50%}.data-\[state\=open\]\:richtext-slide-in-from-top-\[48\%\][data-state=open]{--richtext-enter-translate-y: -48%}.data-\[state\=open\]\:richtext-slide-in-from-top-full[data-state=open]{--richtext-enter-translate-y: -100%}.dark\:hover\:richtext-bg-opacity-20:hover:is([class~=dark] *){--richtext-bg-opacity: .2}.dark\:hover\:richtext-text-red-500:hover:is([class~=dark] *){--richtext-text-opacity: 1;color:rgb(239 68 68 / var(--richtext-text-opacity, 1))}@media(min-width:640px){.sm\:richtext-bottom-0{bottom:0}.sm\:richtext-right-0{right:0}.sm\:richtext-top-auto{top:auto}.sm\:richtext-flex-row{flex-direction:row}.sm\:richtext-flex-col{flex-direction:column}.sm\:richtext-justify-end{justify-content:flex-end}.sm\:richtext-space-x-2>:not([hidden])~:not([hidden]){--richtext-space-x-reverse: 0;margin-right:calc(.5rem * var(--richtext-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--richtext-space-x-reverse)))}.sm\:richtext-rounded-lg{border-radius:var(--radius)}.sm\:richtext-text-left{text-align:left}.data-\[state\=open\]\:sm\:richtext-slide-in-from-bottom-full[data-state=open]{--richtext-enter-translate-y: 100%}}@media(min-width:768px){.md\:richtext-max-w-\[420px\]{max-width:420px}}.\[\&\>span\]\:richtext-line-clamp-1>span{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.mermaid-node-view:hover .\[\.mermaid-node-view\:hover_\&\]\:richtext-opacity-100{opacity:1}._wrap_1x3wi_1{--editor__bg: #292c33;--widget__border: #3a3f4b;--widget__color: #ccc}._wrap_1x3wi_1 .richtext-node-code-block{width:100%;outline:solid 1px black;overflow:hidden;border-radius:4px;position:relative}._wrap_1x3wi_1 .richtext-code-block-toolbar{display:flex;align-items:center;gap:8px;z-index:10;padding:4px;background-color:var(--editor__bg);color:var(--widget__color);border-bottom:1px solid var(--widget__border)}._wrap_1x3wi_1 .richtext-code-block-toolbar .toolbar-divider{width:1px;height:16px;background-color:var(--widget__border);margin:0 4px}._blockInfoEditable_1x3wi_30{pointer-events:none}._wrap_dra8y_1{position:relative;max-width:100%;overflow:visible;line-height:0}._wrap_dra8y_1 ._renderWrap_dra8y_7{border:1px dashed hsl(var(--border))!important;border-radius:6px}._wrap_dra8y_1 ._renderWrap_dra8y_7:after{background-color:transparent!important}._wrap_dra8y_1 ._title_dra8y_14{position:absolute;top:10px;left:10px;z-index:2}._wrap_dra8y_1 ._title_dra8y_14 ._icon_dra8y_20{display:flex;width:18px;height:18px;color:#fff;background-color:#f80;border-radius:2px;justify-content:center;align-items:center}._wrap_dra8y_1 ._handlerWrap_dra8y_30{position:absolute;right:10px;bottom:10px;z-index:2;padding:2px 4px;border:1px solid hsl(var(--border));border-radius:6px}._disabled_dra8y_40{pointer-events:none!important}._attachment_15oj2_1,._wrap_15oj2_2{border-width:1px!important;border-radius:var(--radius)!important;border-color:hsl(var(--border))!important;padding:8px;display:flex;align-items:center;justify-content:space-between;margin:8px 0}._attachment_15oj2_1 .attachment__icon,._wrap_15oj2_2 .attachment__icon{width:32px;text-align:center}._attachment_15oj2_1 .attachment__icon svg,._wrap_15oj2_2 .attachment__icon svg{width:32px;display:inline-block}._wrapper_pva9d_1{background-color:#fff;cursor:pointer;position:absolute;top:0;left:0;padding:10px;gap:10px;z-index:100;border:1px solid #eeeeee;box-shadow:0 0 10px #0000001a;border-radius:10px}._tool_pva9d_17{outline:none;border:none;background-color:#fff;border-radius:5px;padding:5px;cursor:pointer;transition:all .3s;color:#595353!important}._tool_pva9d_17 svg{width:20px;height:20px}._tool_pva9d_17:hover{background-color:#f5f5f5}._active_pva9d_37{background-color:#eee!important}._pen_pva9d_41{display:flex;gap:4px;align-items:center;flex-wrap:wrap}._line_pva9d_48{height:20px;width:1px;background-color:#bcb9b9;margin:0 6px;transform:rotate(18deg)}._options_pva9d_56{margin-top:10px;padding:10px 0 0;border-top:1px dashed #eeeeee;display:flex;gap:4px;align-items:center;flex-wrap:wrap}._colorWrap_pva9d_66{display:flex;gap:8px;align-items:center;margin:4px 0}._color_pva9d_66{outline:none!important;border:none!important;border-radius:4px;cursor:pointer;width:20px;height:20px;border:1px solid #eeeeee}._colorActive_pva9d_83{outline:2px solid #2576b9!important}._wrap_5y04w_1{display:flex;height:100%;max-width:100%;overflow:hidden;line-height:0;flex-direction:column;border:1px dashed hsl(var(--border))!important;border-radius:6px}._wrap_5y04w_1 ._handlerWrap_5y04w_11{display:flex;padding:10px}._wrap_5y04w_1 ._innerWrap_5y04w_15{position:relative;width:100%;height:100%;overflow:hidden;border-radius:var(--border-radius);flex:1}._wrap_5y04w_1 ._emptyWrap_5y04w_23{display:flex;height:100%;justify-content:center;align-items:center}._wrap_5y04w_1 iframe{width:100%;height:100%;border:0;border:none!important}._verified_lvyh0_1{margin-left:.125rem;max-width:20px;max-height:20px;height:1.25em;fill:currentColor;-webkit-user-select:none;user-select:none;vertical-align:text-bottom}._root_98iqw_1{width:100%;min-width:250px;max-width:550px;overflow:hidden;color:var(--richtexteet-font-color);font-family:var(--richtexteet-font-family);font-weight:400;box-sizing:border-box;border:var(--richtexteet-border);border-radius:12px;margin:var(--richtexteet-container-margin);background-color:var(--richtexteet-bg-color);transition-property:background-color,box-shadow;transition-duration:.2s}._root_98iqw_1:hover{background-color:var(--richtexteet-bg-color-hover)}._article_98iqw_21{position:relative;box-sizing:inherit;padding:.75rem 1rem}.react-tweet-theme{--richtexteet-container-margin: 1.5rem 0;--richtexteet-header-font-size: .9375rem;--richtexteet-header-line-height: 1.25rem;--richtexteet-body-font-size: 1.25rem;--richtexteet-body-font-weight: 400;--richtexteet-body-line-height: 1.5rem;--richtexteet-body-margin: 0;--richtexteet-quoted-container-margin: .75rem 0;--richtexteet-quoted-body-font-size: .938rem;--richtexteet-quoted-body-font-weight: 400;--richtexteet-quoted-body-line-height: 1.25rem;--richtexteet-quoted-body-margin: .25rem 0 .75rem 0;--richtexteet-info-font-size: .9375rem;--richtexteet-info-line-height: 1.25rem;--richtexteet-actions-font-size: .875rem;--richtexteet-actions-line-height: 1rem;--richtexteet-actions-font-weight: 700;--richtexteet-actions-icon-size: 1.25em;--richtexteet-actions-icon-wrapper-size: calc( var(--richtexteet-actions-icon-size) + .75em );--richtexteet-replies-font-size: .875rem;--richtexteet-replies-line-height: 1rem;--richtexteet-replies-font-weight: 700}:where(.react-tweet-theme) *{margin:0;padding:0;box-sizing:border-box}:is([data-theme=light],.light) :where(.react-tweet-theme),:where(.react-tweet-theme){--richtexteet-skeleton-gradient: linear-gradient( 270deg, #fafafa, #eaeaea, #eaeaea, #fafafa );--richtexteet-border: 1px solid rgb(207, 217, 222);--richtexteet-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--richtexteet-font-color: rgb(15, 20, 25);--richtexteet-font-color-secondary: rgb(83, 100, 113);--richtexteet-bg-color: #fff;--richtexteet-bg-color-hover: rgb(247, 249, 249);--richtexteet-quoted-bg-color-hover: rgba(0, 0, 0, .03);--richtexteet-color-blue-primary: rgb(29, 155, 240);--richtexteet-color-blue-primary-hover: rgb(26, 140, 216);--richtexteet-color-blue-secondary: rgb(0, 111, 214);--richtexteet-color-blue-secondary-hover: rgba(0, 111, 214, .1);--richtexteet-color-red-primary: rgb(249, 24, 128);--richtexteet-color-red-primary-hover: rgba(249, 24, 128, .1);--richtexteet-color-green-primary: rgb(0, 186, 124);--richtexteet-color-green-primary-hover: rgba(0, 186, 124, .1);--richtexteet-twitter-icon-color: var(--richtexteet-font-color);--richtexteet-verified-old-color: rgb(130, 154, 171);--richtexteet-verified-blue-color: var(--richtexteet-color-blue-primary)}:is([data-theme=dark],.dark) :where(.react-tweet-theme){--richtexteet-skeleton-gradient: linear-gradient( 270deg, #15202b, rgb(30, 39, 50), rgb(30, 39, 50), rgb(21, 32, 43) );--richtexteet-border: 1px solid rgb(66, 83, 100);--richtexteet-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--richtexteet-font-color: rgb(247, 249, 249);--richtexteet-font-color-secondary: rgb(139, 152, 165);--richtexteet-bg-color: rgb(21, 32, 43);--richtexteet-bg-color-hover: rgb(30, 39, 50);--richtexteet-quoted-bg-color-hover: rgba(255, 255, 255, .03);--richtexteet-color-blue-primary: rgb(29, 155, 240);--richtexteet-color-blue-primary-hover: rgb(26, 140, 216);--richtexteet-color-blue-secondary: rgb(107, 201, 251);--richtexteet-color-blue-secondary-hover: rgba(107, 201, 251, .1);--richtexteet-color-red-primary: rgb(249, 24, 128);--richtexteet-color-red-primary-hover: rgba(249, 24, 128, .1);--richtexteet-color-green-primary: rgb(0, 186, 124);--richtexteet-color-green-primary-hover: rgba(0, 186, 124, .1);--richtexteet-twitter-icon-color: var(--richtexteet-font-color);--richtexteet-verified-old-color: rgb(130, 154, 171);--richtexteet-verified-blue-color: #fff}@media(prefers-color-scheme:dark){:where(.react-tweet-theme){--richtexteet-skeleton-gradient: linear-gradient( 270deg, #15202b, rgb(30, 39, 50), rgb(30, 39, 50), rgb(21, 32, 43) );--richtexteet-border: 1px solid rgb(66, 83, 100);--richtexteet-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--richtexteet-font-color: rgb(247, 249, 249);--richtexteet-font-color-secondary: rgb(139, 152, 165);--richtexteet-bg-color: rgb(21, 32, 43);--richtexteet-bg-color-hover: rgb(30, 39, 50);--richtexteet-color-blue-primary: rgb(29, 155, 240);--richtexteet-color-blue-primary-hover: rgb(26, 140, 216);--richtexteet-color-blue-secondary: rgb(107, 201, 251);--richtexteet-color-blue-secondary-hover: rgba(107, 201, 251, .1);--richtexteet-color-red-primary: rgb(249, 24, 128);--richtexteet-color-red-primary-hover: rgba(249, 24, 128, .1);--richtexteet-color-green-primary: rgb(0, 186, 124);--richtexteet-color-green-primary-hover: rgba(0, 186, 124, .1);--richtexteet-twitter-icon-color: var(--richtexteet-font-color);--richtexteet-verified-old-color: rgb(130, 154, 171);--richtexteet-verified-blue-color: #fff}}._verifiedOld_lcna5_1{color:var(--richtexteet-verified-old-color)}._verifiedBlue_lcna5_4{color:var(--richtexteet-verified-blue-color)}._verifiedGovernment_lcna5_7{color:#829aab}._label_36ucz_1{display:flex;height:1.0625em;width:1.0625em;max-width:17px;max-height:17px;margin-left:4px;margin-right:2px;border:var(--richtexteet-border);border-radius:2px}._label_36ucz_1>img{width:100%;height:100%}._header_nqq4j_1{display:flex;padding-bottom:.75rem;line-height:var(--richtexteet-header-line-height);font-size:var(--richtexteet-header-font-size);white-space:nowrap;overflow-wrap:break-word;overflow:hidden}._avatar_nqq4j_11{position:relative;height:48px;width:48px}._avatarOverflow_nqq4j_16{height:100%;width:100%;position:absolute;overflow:hidden;border-radius:9999px}._avatarSquare_nqq4j_23{border-radius:4px}._avatarShadow_nqq4j_26{height:100%;width:100%;transition-property:background-color;transition-duration:.2s;box-shadow:#00000008 0 0 2px inset}._avatarShadow_nqq4j_26:hover{background-color:#1a1a1a26}._author_nqq4j_37{max-width:calc(100% - 84px);display:flex;flex-direction:column;justify-content:center;margin:0 .5rem}._authorLink_nqq4j_44{text-decoration:none;color:inherit;display:flex;align-items:center}._authorLink_nqq4j_44:hover{text-decoration-line:underline}._authorVerified_nqq4j_53{display:inline-flex}._authorLinkText_nqq4j_56{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}._authorMeta_nqq4j_63,._authorFollow_nqq4j_66{display:flex}._username_nqq4j_69{color:var(--richtexteet-font-color-secondary);text-decoration:none;text-overflow:ellipsis}._follow_nqq4j_74{color:var(--richtexteet-color-blue-secondary);text-decoration:none;font-weight:700}._follow_nqq4j_74:hover{text-decoration-line:underline}._separator_nqq4j_82{padding:0 .25rem}._brand_nqq4j_86{margin-inline-start:auto}._twitterIcon_nqq4j_90{width:23.75px;height:23.75px;color:var(--richtexteet-twitter-icon-color);fill:currentColor;-webkit-user-select:none;user-select:none}._root_1ec15_1{text-decoration:none;color:var(--richtexteet-font-color-secondary);font-size:.9375rem;line-height:1.25rem;margin-bottom:.25rem;overflow-wrap:break-word;white-space:pre-wrap}._root_1ec15_1:hover{text-decoration-thickness:1px;text-decoration-line:underline}._root_eihfa_1{font-weight:inherit;color:var(--richtexteet-color-blue-secondary);text-decoration:none;cursor:pointer}._root_eihfa_1:hover{text-decoration-thickness:1px;text-decoration-line:underline}._root_1xq52_1{font-size:var(--richtexteet-body-font-size);font-weight:var(--richtexteet-body-font-weight);line-height:var(--richtexteet-body-line-height);margin:var(--richtexteet-body-margin);overflow-wrap:break-word;white-space:pre-wrap}._root_g9tkv_1{margin-top:.75rem;overflow:hidden;position:relative}._rounded_g9tkv_6{border:var(--richtexteet-border);border-radius:12px}._mediaWrapper_g9tkv_10{display:grid;grid-auto-rows:1fr;gap:2px;height:100%;width:100%}._grid2Columns_g9tkv_17{grid-template-columns:repeat(2,1fr)}._grid3_g9tkv_20>a:first-child{grid-row:span 2}._grid2x2_g9tkv_23{grid-template-rows:repeat(2,1fr)}._mediaContainer_g9tkv_26{position:relative;height:100%;width:100%;display:flex;align-items:center;justify-content:center}._mediaLink_g9tkv_34{text-decoration:none;outline-style:none}._skeleton_g9tkv_38{padding-bottom:56.25%;width:100%;display:block}._image_g9tkv_43{position:absolute;top:0;left:0;bottom:0;height:100%;width:100%;margin:0;object-fit:cover;object-position:center}._anchor_fp31d_1{display:flex;align-items:center;color:#fff;padding:0 1rem;border:1px solid transparent;border-radius:9999px;font-weight:700;transition:background-color .2s;cursor:pointer;-webkit-user-select:none;user-select:none;outline-style:none;text-decoration:none;text-overflow:ellipsis;white-space:nowrap}._videoButton_fp31d_17{position:relative;height:67px;width:67px;display:flex;align-items:center;justify-content:center;background-color:var(--richtexteet-color-blue-primary);transition-property:background-color;transition-duration:.2s;border:4px solid #fff;border-radius:9999px;cursor:pointer}._videoButton_fp31d_17:hover,._videoButton_fp31d_17:focus-visible{background-color:var(--richtexteet-color-blue-primary-hover)}._videoButtonIcon_fp31d_35{margin-left:3px;width:calc(50% + 4px);height:calc(50% + 4px);max-width:100%;color:#fff;fill:currentColor;-webkit-user-select:none;user-select:none}._watchOnTwitter_fp31d_44{position:absolute;top:12px;right:8px}._watchOnTwitter_fp31d_44>a{min-width:2rem;min-height:2rem;font-size:.875rem;line-height:1rem;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background-color:#0f1419bf}._watchOnTwitter_fp31d_44>a:hover{background-color:#272c30bf}._viewReplies_fp31d_60{position:relative;min-height:2rem;background-color:var(--richtexteet-color-blue-primary);border-color:var(--richtexteet-color-blue-primary);font-size:.9375rem;line-height:1.25rem}._viewReplies_fp31d_60:hover{background-color:var(--richtexteet-color-blue-primary-hover)}._root_i24yn_1{color:inherit;text-decoration:none;font-size:var(--richtexteet-info-font-size);line-height:var(--richtexteet-info-line-height)}._root_i24yn_1:hover{text-decoration-thickness:1px;text-decoration-line:underline}._info_19qcj_1{display:flex;align-items:center;color:var(--richtexteet-font-color-secondary);margin-top:.125rem;overflow-wrap:break-word;white-space:nowrap;text-overflow:ellipsis}._infoLink_19qcj_10{color:inherit;text-decoration:none;height:var(--richtexteet-actions-icon-wrapper-size);width:var(--richtexteet-actions-icon-wrapper-size);font:inherit;margin-left:auto;display:flex;justify-content:center;align-items:center;margin-right:-4px;border-radius:9999px;transition-property:background-color;transition-duration:.2s}._infoLink_19qcj_10:hover{background-color:var(--richtexteet-color-blue-secondary-hover)}._infoIcon_19qcj_30{color:inherit;fill:currentColor;height:var(--richtexteet-actions-icon-size);-webkit-user-select:none;user-select:none}._infoLink_19qcj_10:hover>._infoIcon_19qcj_30{color:var(--richtexteet-color-blue-secondary)}._actions_n2anf_1{display:flex;align-items:center;color:var(--richtexteet-font-color-secondary);padding-top:.25rem;margin-top:.25rem;border-top:var(--richtexteet-border);overflow-wrap:break-word;white-space:nowrap;text-overflow:ellipsis}._like_n2anf_13,._reply_n2anf_14,._copy_n2anf_15{text-decoration:none;color:inherit;display:flex;align-items:center;margin-right:1.25rem}._like_n2anf_13:hover,._reply_n2anf_14:hover,._copy_n2anf_15:hover{background-color:#0000}._like_n2anf_13:hover>._likeIconWrapper_n2anf_27{background-color:var(--richtexteet-color-red-primary-hover)}._like_n2anf_13:hover>._likeCount_n2anf_30{color:var(--richtexteet-color-red-primary);text-decoration-line:underline}._likeIconWrapper_n2anf_27,._replyIconWrapper_n2anf_35,._copyIconWrapper_n2anf_36{width:var(--richtexteet-actions-icon-wrapper-size);height:var(--richtexteet-actions-icon-wrapper-size);display:flex;justify-content:center;align-items:center;margin-left:-.25rem;border-radius:9999px}._likeIcon_n2anf_27,._replyIcon_n2anf_35,._copyIcon_n2anf_36{height:var(--richtexteet-actions-icon-size);fill:currentColor;-webkit-user-select:none;user-select:none}._likeIcon_n2anf_27{color:var(--richtexteet-color-red-primary)}._likeCount_n2anf_30,._replyText_n2anf_56,._copyText_n2anf_57{font-size:var(--richtexteet-actions-font-size);font-weight:var(--richtexteet-actions-font-weight);line-height:var(--richtexteet-actions-line-height);margin-left:.25rem}._reply_n2anf_14:hover>._replyIconWrapper_n2anf_35{background-color:var(--richtexteet-color-blue-secondary-hover)}._reply_n2anf_14:hover>._replyText_n2anf_56{color:var(--richtexteet-color-blue-secondary);text-decoration-line:underline}._replyIcon_n2anf_35{color:var(--richtexteet-color-blue-primary)}._copy_n2anf_15{font:inherit;background:none;border:none;cursor:pointer}._copy_n2anf_15:hover>._copyIconWrapper_n2anf_36{background-color:var(--richtexteet-color-green-primary-hover)}._copy_n2anf_15:hover ._copyIcon_n2anf_36{color:var(--richtexteet-color-green-primary)}._copy_n2anf_15:hover>._copyText_n2anf_57{color:var(--richtexteet-color-green-primary);text-decoration-line:underline}._replies_1cutb_1{padding:.25rem 0}._link_1cutb_4{text-decoration:none;color:var(--richtexteet-color-blue-secondary);display:flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;-webkit-user-select:none;user-select:none;outline-style:none;transition-property:background-color;transition-duration:.2s;padding:0 1rem;border:var(--richtexteet-border);border-radius:9999px}._link_1cutb_4:hover{background-color:var(--richtexteet-color-blue-secondary-hover)}._text_1cutb_23{font-weight:var(--richtexteet-replies-font-weight);font-size:var(--richtexteet-replies-font-size);line-height:var(--richtexteet-replies-line-height);overflow-wrap:break-word;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}._root_q5799_1{width:100%;overflow:hidden;border:var(--richtexteet-border);border-radius:12px;margin:var(--richtexteet-quoted-container-margin);transition-property:background-color,box-shadow;transition-duration:.2s;cursor:pointer}._root_q5799_1:hover{background-color:var(--richtexteet-quoted-bg-color-hover)}._article_q5799_16{position:relative;box-sizing:inherit}._header_f00ab_1{display:flex;padding:.75rem .75rem 0;line-height:var(--richtexteet-header-line-height);font-size:var(--richtexteet-header-font-size);white-space:nowrap;overflow-wrap:break-word;overflow:hidden}._avatar_f00ab_11{position:relative;height:20px;width:20px}._avatarOverflow_f00ab_16{height:100%;width:100%;position:absolute;overflow:hidden;border-radius:9999px}._avatarSquare_f00ab_23{border-radius:4px}._author_f00ab_27{display:flex;margin:0 .5rem;align-items:center}._authorText_f00ab_33{font-weight:700;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}._username_f00ab_40{color:var(--richtexteet-font-color-secondary);text-decoration:none;text-overflow:ellipsis;margin-left:.125rem}._root_175ot_1{font-size:var(--richtexteet-quoted-body-font-size);font-weight:var(--richtexteet-quoted-body-font-weight);line-height:var(--richtexteet-quoted-body-line-height);margin:var(--richtexteet-quoted-body-margin);overflow-wrap:break-word;white-space:pre-wrap;padding:0 .75rem}._root_16yxa_1{display:flex;flex-direction:column;align-items:center;padding-bottom:.75rem}._root_16yxa_1>h3{font-size:1.25rem;margin-bottom:.5rem}._skeleton_oi7hr_1{display:block;width:100%;border-radius:5px;background-image:var(--richtexteet-skeleton-gradient);background-size:400% 100%;animation:_loading_oi7hr_1 8s ease-in-out infinite}@media(prefers-reduced-motion:reduce){._skeleton_oi7hr_1{animation:none;background-position:200% 0}}@keyframes _loading_oi7hr_1{0%{background-position:200% 0}to{background-position:-200% 0}}._root_17qqv_1{pointer-events:none;padding-bottom:.25rem}
@@ -1,6 +1,6 @@
1
1
  import { jsx as i } from "react/jsx-runtime";
2
2
  import * as c from "react";
3
- import { c as o } from "./index-lj3VWExo.js";
3
+ import { c as o } from "./index-_WrFM-Fk.js";
4
4
  const x = c.forwardRef(
5
5
  ({ className: t, ...e }, r) => /* @__PURE__ */ i(
6
6
  "textarea",
@@ -1 +1 @@
1
- "use strict";const n=require("react/jsx-runtime"),o=require("react"),a=require("./index-D9oM__YW.cjs");function s(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const x=s(o),c=x.forwardRef(({className:e,...r},t)=>n.jsx("textarea",{ref:t,className:a.cn("richtext-flex richtext-min-h-[80px] richtext-w-full richtext-rounded-md !richtext-border richtext-border-input richtext-bg-transparent richtext-px-3 richtext-py-2 richtext-text-sm richtext-ring-offset-background placeholder: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-cursor-not-allowed disabled:richtext-opacity-50",e),...r}));c.displayName="Textarea";exports.Textarea=c;
1
+ "use strict";const n=require("react/jsx-runtime"),o=require("react"),a=require("./index-Dib4cXXf.cjs");function s(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const i=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,i.get?i:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const x=s(o),c=x.forwardRef(({className:e,...r},t)=>n.jsx("textarea",{ref:t,className:a.cn("richtext-flex richtext-min-h-[80px] richtext-w-full richtext-rounded-md !richtext-border richtext-border-input richtext-bg-transparent richtext-px-3 richtext-py-2 richtext-text-sm richtext-ring-offset-background placeholder: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-cursor-not-allowed disabled:richtext-opacity-50",e),...r}));c.displayName="Textarea";exports.Textarea=c;
@@ -358,7 +358,7 @@ export declare const THEME: {
358
358
  export type ThemeType = keyof typeof THEME;
359
359
  export type ThemeColorType = keyof typeof THEME.light;
360
360
  export declare function useTheme(): {
361
- theme: "light" | "dark";
361
+ theme: "dark" | "light";
362
362
  color: "default" | "blue" | "green" | "orange" | "red" | "violet" | "yellow" | "rose";
363
363
  borderRadius: string;
364
364
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remarkablejames/editor",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "description": "A modern WYSIWYG rich text editor based on tiptap and shadcn ui for React",
5
5
  "keywords": [
6
6
  "editor",