@logora/debate 0.2.1 → 0.2.2

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 (538) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +6 -18
  2. package/dist/assets/debate-89_S7oMP.css +2 -0
  3. package/dist/components/action/back_link/BackLink.js +15 -16
  4. package/dist/components/action/button/Button.js +21 -22
  5. package/dist/components/action/icon_text_link/IconTextLink.js +26 -27
  6. package/dist/components/action/link/Link.js +7 -7
  7. package/dist/components/ad/ad_unit/AdUnit.js +17 -17
  8. package/dist/components/ad/with_ad/WithAd.js +10 -10
  9. package/dist/components/argument/argument/Argument.js +123 -124
  10. package/dist/components/argument/argument/ReplyFooter.js +22 -23
  11. package/dist/components/argument/top_arguments/TopArguments.js +43 -43
  12. package/dist/components/auth/auth_modal/AuthModal.js +55 -55
  13. package/dist/components/auth/facebook_login_button/FacebookIcon.js +5 -5
  14. package/dist/components/auth/facebook_login_button/FacebookLoginButton.js +14 -14
  15. package/dist/components/auth/google_login_button/GoogleIcon.js +7 -7
  16. package/dist/components/auth/google_login_button/GoogleLoginButton.js +15 -15
  17. package/dist/components/auth/login_form/LoginForm.js +37 -38
  18. package/dist/components/auth/oauth2_button/OAuth2Button.js +18 -19
  19. package/dist/components/auth/signup_form/SignupForm.js +68 -69
  20. package/dist/components/auth/social_auth_form/SocialAuthForm.js +109 -110
  21. package/dist/components/auth/sso_form/SSOForm.js +68 -70
  22. package/dist/components/auth/use_auth/AuthProvider.js +11 -11
  23. package/dist/components/chart/line_chart/LineChart.js +53 -54
  24. package/dist/components/chart/pie_chart/PieChart.js +20 -20
  25. package/dist/components/consultation/consultation_box/ConsultationBox.js +70 -72
  26. package/dist/components/data/axios_client/httpClient.js +1 -1
  27. package/dist/components/data/config_provider/ConfigProvider.js +5 -5
  28. package/dist/components/data/config_provider/withConfig.js +5 -5
  29. package/dist/components/debate/debate_box/DebateBox.js +95 -97
  30. package/dist/components/dialog/announcement_dialog/AnnouncementDialog.js +14 -15
  31. package/dist/components/dialog/confirm_modal/ConfirmModal.js +26 -27
  32. package/dist/components/dialog/countdown/Countdown.js +12 -12
  33. package/dist/components/dialog/dialog_box/DialogBox.js +33 -34
  34. package/dist/components/dialog/drawer/Drawer.js +85 -85
  35. package/dist/components/dialog/dropdown/Dropdown.js +21 -22
  36. package/dist/components/dialog/modal/Modal.js +37 -38
  37. package/dist/components/dialog/modal/ModalProvider.js +14 -14
  38. package/dist/components/dialog/toast/Toast.js +26 -27
  39. package/dist/components/dialog/toast_provider/ToastProvider.js +18 -18
  40. package/dist/components/dialog/tooltip/Tooltip.js +23 -24
  41. package/dist/components/embed/embed_header/EmbedHeader.js +38 -39
  42. package/dist/components/error/standard_error_boundary/StandardErrorBoundary.js +7 -7
  43. package/dist/components/follow/follow_button/FollowButton.js +25 -26
  44. package/dist/components/forms/form/form.js +9 -10
  45. package/dist/components/forms/use_form_validation/useFormValidation.js +3 -3
  46. package/dist/components/gamification/badge_box/BadgeBox.js +50 -52
  47. package/dist/components/gamification/point_box/PointBox.js +12 -12
  48. package/dist/components/hooks/use_auth_required/useAuthRequired.js +10 -10
  49. package/dist/components/hooks/use_font_loader/useFontLoader.js +5 -5
  50. package/dist/components/hooks/use_relative_time/useRelativeTime.js +1 -1
  51. package/dist/components/hooks/use_responsive/ResponsiveProvider.js +17 -17
  52. package/dist/components/icons/bild_icons/Alarm.js +5 -5
  53. package/dist/components/icons/bild_icons/Announcement.js +5 -5
  54. package/dist/components/icons/bild_icons/Arrow.js +5 -5
  55. package/dist/components/icons/bild_icons/Blockquote.js +5 -5
  56. package/dist/components/icons/bild_icons/Bold.js +5 -5
  57. package/dist/components/icons/bild_icons/Camera.js +4 -4
  58. package/dist/components/icons/bild_icons/Chat.js +9 -9
  59. package/dist/components/icons/bild_icons/Check.js +5 -5
  60. package/dist/components/icons/bild_icons/CheckCircle.js +5 -5
  61. package/dist/components/icons/bild_icons/Checkbox.js +4 -4
  62. package/dist/components/icons/bild_icons/Clap.js +5 -5
  63. package/dist/components/icons/bild_icons/Clock.js +5 -5
  64. package/dist/components/icons/bild_icons/Close.js +5 -5
  65. package/dist/components/icons/bild_icons/Code.js +6 -6
  66. package/dist/components/icons/bild_icons/Community.js +5 -5
  67. package/dist/components/icons/bild_icons/Crown.js +5 -5
  68. package/dist/components/icons/bild_icons/Document.js +5 -5
  69. package/dist/components/icons/bild_icons/Downvote.js +5 -5
  70. package/dist/components/icons/bild_icons/Ellipsis.js +5 -5
  71. package/dist/components/icons/bild_icons/ExpertBadge.js +8 -8
  72. package/dist/components/icons/bild_icons/Facebook.js +5 -5
  73. package/dist/components/icons/bild_icons/Flag.js +5 -5
  74. package/dist/components/icons/bild_icons/Home.js +5 -5
  75. package/dist/components/icons/bild_icons/Italic.js +5 -5
  76. package/dist/components/icons/bild_icons/LightArrow.js +5 -5
  77. package/dist/components/icons/bild_icons/Link.js +4 -4
  78. package/dist/components/icons/bild_icons/Login.js +5 -5
  79. package/dist/components/icons/bild_icons/Logora.js +10 -10
  80. package/dist/components/icons/bild_icons/Mail.js +5 -5
  81. package/dist/components/icons/bild_icons/MinusCircle.js +5 -5
  82. package/dist/components/icons/bild_icons/MobileClose.js +5 -5
  83. package/dist/components/icons/bild_icons/MobileMenu.js +7 -7
  84. package/dist/components/icons/bild_icons/Next.js +7 -7
  85. package/dist/components/icons/bild_icons/OpenBlank.js +5 -5
  86. package/dist/components/icons/bild_icons/OrderedList.js +5 -5
  87. package/dist/components/icons/bild_icons/PauseCircle.js +6 -6
  88. package/dist/components/icons/bild_icons/Point.js +5 -5
  89. package/dist/components/icons/bild_icons/Question.js +5 -5
  90. package/dist/components/icons/bild_icons/Refresh.js +4 -4
  91. package/dist/components/icons/bild_icons/Reply.js +4 -4
  92. package/dist/components/icons/bild_icons/Search.js +5 -5
  93. package/dist/components/icons/bild_icons/Send.js +5 -5
  94. package/dist/components/icons/bild_icons/Share.js +5 -5
  95. package/dist/components/icons/bild_icons/SmallArrow.js +5 -5
  96. package/dist/components/icons/bild_icons/Source.js +5 -5
  97. package/dist/components/icons/bild_icons/Suggestion.js +5 -5
  98. package/dist/components/icons/bild_icons/Twitter.js +7 -7
  99. package/dist/components/icons/bild_icons/Underline.js +5 -5
  100. package/dist/components/icons/bild_icons/Upvote.js +5 -5
  101. package/dist/components/icons/bild_icons/User.js +5 -5
  102. package/dist/components/icons/bild_icons/Versus.js +5 -5
  103. package/dist/components/icons/bild_icons/Votebox.js +5 -5
  104. package/dist/components/icons/hero_icons/Alarm.js +5 -5
  105. package/dist/components/icons/hero_icons/Announcement.js +5 -5
  106. package/dist/components/icons/hero_icons/Arrow.js +5 -5
  107. package/dist/components/icons/hero_icons/Blockquote.js +7 -7
  108. package/dist/components/icons/hero_icons/Bold.js +5 -5
  109. package/dist/components/icons/hero_icons/Camera.js +5 -5
  110. package/dist/components/icons/hero_icons/Chat.js +5 -5
  111. package/dist/components/icons/hero_icons/Check.js +5 -5
  112. package/dist/components/icons/hero_icons/CheckCircle.js +5 -5
  113. package/dist/components/icons/hero_icons/Checkbox.js +5 -5
  114. package/dist/components/icons/hero_icons/Clap.js +5 -5
  115. package/dist/components/icons/hero_icons/Clock.js +5 -5
  116. package/dist/components/icons/hero_icons/Close.js +5 -5
  117. package/dist/components/icons/hero_icons/Code.js +5 -5
  118. package/dist/components/icons/hero_icons/Community.js +5 -5
  119. package/dist/components/icons/hero_icons/Crown.js +5 -5
  120. package/dist/components/icons/hero_icons/Downvote.js +5 -5
  121. package/dist/components/icons/hero_icons/Ellipsis.js +5 -5
  122. package/dist/components/icons/hero_icons/ExpertBadge.js +5 -5
  123. package/dist/components/icons/hero_icons/Facebook.js +5 -5
  124. package/dist/components/icons/hero_icons/Flag.js +5 -5
  125. package/dist/components/icons/hero_icons/Home.js +5 -5
  126. package/dist/components/icons/hero_icons/Italic.js +5 -5
  127. package/dist/components/icons/hero_icons/LightArrow.js +5 -5
  128. package/dist/components/icons/hero_icons/Link.js +5 -5
  129. package/dist/components/icons/hero_icons/Login.js +5 -5
  130. package/dist/components/icons/hero_icons/Logora.js +10 -10
  131. package/dist/components/icons/hero_icons/Mail.js +5 -5
  132. package/dist/components/icons/hero_icons/MinusCircle.js +5 -5
  133. package/dist/components/icons/hero_icons/MobileClose.js +5 -5
  134. package/dist/components/icons/hero_icons/MobileMenu.js +5 -5
  135. package/dist/components/icons/hero_icons/Next.js +5 -5
  136. package/dist/components/icons/hero_icons/OpenBlank.js +5 -5
  137. package/dist/components/icons/hero_icons/OrderedList.js +12 -12
  138. package/dist/components/icons/hero_icons/PauseCircle.js +6 -6
  139. package/dist/components/icons/hero_icons/Point.js +5 -5
  140. package/dist/components/icons/hero_icons/Question.js +5 -5
  141. package/dist/components/icons/hero_icons/Refresh.js +5 -5
  142. package/dist/components/icons/hero_icons/Reply.js +5 -5
  143. package/dist/components/icons/hero_icons/Search.js +5 -5
  144. package/dist/components/icons/hero_icons/Send.js +5 -5
  145. package/dist/components/icons/hero_icons/Share.js +5 -5
  146. package/dist/components/icons/hero_icons/SmallArrow.js +5 -5
  147. package/dist/components/icons/hero_icons/Source.js +5 -5
  148. package/dist/components/icons/hero_icons/Suggestion.js +5 -5
  149. package/dist/components/icons/hero_icons/Twitter.js +7 -7
  150. package/dist/components/icons/hero_icons/Underline.js +7 -7
  151. package/dist/components/icons/hero_icons/Upvote.js +5 -5
  152. package/dist/components/icons/hero_icons/User.js +5 -5
  153. package/dist/components/icons/hero_icons/Versus.js +5 -5
  154. package/dist/components/icons/hero_icons/Votebox.js +5 -5
  155. package/dist/components/icons/icon/Icon.js +9 -9
  156. package/dist/components/icons/icon_provider/IconProvider.js +5 -5
  157. package/dist/components/icons/krone_icons/Alarm.js +7 -7
  158. package/dist/components/icons/krone_icons/Announcement.js +5 -5
  159. package/dist/components/icons/krone_icons/Arrow.js +5 -5
  160. package/dist/components/icons/krone_icons/Blockquote.js +5 -5
  161. package/dist/components/icons/krone_icons/Bold.js +5 -5
  162. package/dist/components/icons/krone_icons/Camera.js +4 -4
  163. package/dist/components/icons/krone_icons/Chat.js +7 -7
  164. package/dist/components/icons/krone_icons/Check.js +5 -5
  165. package/dist/components/icons/krone_icons/CheckBox.js +5 -5
  166. package/dist/components/icons/krone_icons/CheckCircle.js +5 -5
  167. package/dist/components/icons/krone_icons/Clap.js +7 -7
  168. package/dist/components/icons/krone_icons/Clock.js +5 -5
  169. package/dist/components/icons/krone_icons/Close.js +5 -5
  170. package/dist/components/icons/krone_icons/Code.js +6 -6
  171. package/dist/components/icons/krone_icons/Community.js +5 -5
  172. package/dist/components/icons/krone_icons/Crown.js +5 -5
  173. package/dist/components/icons/krone_icons/Document.js +5 -5
  174. package/dist/components/icons/krone_icons/Downvote.js +5 -5
  175. package/dist/components/icons/krone_icons/Ellipsis.js +5 -5
  176. package/dist/components/icons/krone_icons/ExpertBadge.js +7 -7
  177. package/dist/components/icons/krone_icons/Facebook.js +5 -5
  178. package/dist/components/icons/krone_icons/Flag.js +5 -5
  179. package/dist/components/icons/krone_icons/Home.js +7 -7
  180. package/dist/components/icons/krone_icons/Italic.js +5 -5
  181. package/dist/components/icons/krone_icons/LightArrow.js +5 -5
  182. package/dist/components/icons/krone_icons/Link.js +4 -4
  183. package/dist/components/icons/krone_icons/Login.js +5 -5
  184. package/dist/components/icons/krone_icons/Logora.js +10 -10
  185. package/dist/components/icons/krone_icons/Mail.js +5 -5
  186. package/dist/components/icons/krone_icons/MinusCircle.js +5 -5
  187. package/dist/components/icons/krone_icons/MobileClose.js +5 -5
  188. package/dist/components/icons/krone_icons/MobileMenu.js +7 -7
  189. package/dist/components/icons/krone_icons/Next.js +7 -7
  190. package/dist/components/icons/krone_icons/OpenBlank.js +5 -5
  191. package/dist/components/icons/krone_icons/OrderedList.js +5 -5
  192. package/dist/components/icons/krone_icons/PauseCircle.js +6 -6
  193. package/dist/components/icons/krone_icons/Point.js +5 -5
  194. package/dist/components/icons/krone_icons/Question.js +7 -7
  195. package/dist/components/icons/krone_icons/Refresh.js +4 -4
  196. package/dist/components/icons/krone_icons/Reply.js +5 -5
  197. package/dist/components/icons/krone_icons/Search.js +5 -5
  198. package/dist/components/icons/krone_icons/Send.js +8 -8
  199. package/dist/components/icons/krone_icons/Share.js +5 -5
  200. package/dist/components/icons/krone_icons/SmallArrow.js +5 -5
  201. package/dist/components/icons/krone_icons/Source.js +5 -5
  202. package/dist/components/icons/krone_icons/Suggestion.js +7 -7
  203. package/dist/components/icons/krone_icons/Twitter.js +7 -7
  204. package/dist/components/icons/krone_icons/Underline.js +5 -5
  205. package/dist/components/icons/krone_icons/Upvote.js +7 -7
  206. package/dist/components/icons/krone_icons/User.js +7 -7
  207. package/dist/components/icons/krone_icons/Versus.js +5 -5
  208. package/dist/components/icons/krone_icons/Votebox.js +7 -7
  209. package/dist/components/icons/regular_icons/Alarm.js +5 -5
  210. package/dist/components/icons/regular_icons/Announcement.js +5 -5
  211. package/dist/components/icons/regular_icons/Arrow.js +5 -5
  212. package/dist/components/icons/regular_icons/Blockquote.js +5 -5
  213. package/dist/components/icons/regular_icons/Bold.js +5 -5
  214. package/dist/components/icons/regular_icons/Camera.js +4 -4
  215. package/dist/components/icons/regular_icons/Chat.js +7 -7
  216. package/dist/components/icons/regular_icons/Check.js +5 -5
  217. package/dist/components/icons/regular_icons/CheckCircle.js +5 -5
  218. package/dist/components/icons/regular_icons/Checkbox.js +4 -4
  219. package/dist/components/icons/regular_icons/Clap.js +5 -5
  220. package/dist/components/icons/regular_icons/Clock.js +5 -5
  221. package/dist/components/icons/regular_icons/Close.js +5 -5
  222. package/dist/components/icons/regular_icons/Code.js +6 -6
  223. package/dist/components/icons/regular_icons/Community.js +5 -5
  224. package/dist/components/icons/regular_icons/Crown.js +5 -5
  225. package/dist/components/icons/regular_icons/Document.js +5 -5
  226. package/dist/components/icons/regular_icons/Downvote.js +5 -5
  227. package/dist/components/icons/regular_icons/Ellipsis.js +5 -5
  228. package/dist/components/icons/regular_icons/ExpertBadge.js +8 -8
  229. package/dist/components/icons/regular_icons/Facebook.js +5 -5
  230. package/dist/components/icons/regular_icons/Flag.js +5 -5
  231. package/dist/components/icons/regular_icons/Home.js +5 -5
  232. package/dist/components/icons/regular_icons/Italic.js +5 -5
  233. package/dist/components/icons/regular_icons/LightArrow.js +5 -5
  234. package/dist/components/icons/regular_icons/Link.js +4 -4
  235. package/dist/components/icons/regular_icons/Login.js +5 -5
  236. package/dist/components/icons/regular_icons/Logora.js +10 -10
  237. package/dist/components/icons/regular_icons/Mail.js +5 -5
  238. package/dist/components/icons/regular_icons/MinusCircle.js +5 -5
  239. package/dist/components/icons/regular_icons/MobileClose.js +5 -5
  240. package/dist/components/icons/regular_icons/MobileMenu.js +7 -7
  241. package/dist/components/icons/regular_icons/Next.js +7 -7
  242. package/dist/components/icons/regular_icons/OpenBlank.js +5 -5
  243. package/dist/components/icons/regular_icons/OrderedList.js +5 -5
  244. package/dist/components/icons/regular_icons/PauseCircle.js +6 -6
  245. package/dist/components/icons/regular_icons/Point.js +5 -5
  246. package/dist/components/icons/regular_icons/Question.js +5 -5
  247. package/dist/components/icons/regular_icons/Refresh.js +4 -4
  248. package/dist/components/icons/regular_icons/Reply.js +4 -4
  249. package/dist/components/icons/regular_icons/Search.js +5 -5
  250. package/dist/components/icons/regular_icons/Send.js +5 -5
  251. package/dist/components/icons/regular_icons/Share.js +5 -5
  252. package/dist/components/icons/regular_icons/SmallArrow.js +5 -5
  253. package/dist/components/icons/regular_icons/Source.js +5 -5
  254. package/dist/components/icons/regular_icons/Suggestion.js +5 -5
  255. package/dist/components/icons/regular_icons/Twitter.js +7 -7
  256. package/dist/components/icons/regular_icons/Underline.js +5 -5
  257. package/dist/components/icons/regular_icons/Upvote.js +5 -5
  258. package/dist/components/icons/regular_icons/User.js +5 -5
  259. package/dist/components/icons/regular_icons/Versus.js +5 -5
  260. package/dist/components/icons/regular_icons/Votebox.js +5 -5
  261. package/dist/components/icons/spiegel_icons/Alarm.js +5 -5
  262. package/dist/components/icons/spiegel_icons/Announcement.js +5 -5
  263. package/dist/components/icons/spiegel_icons/Arrow.js +5 -5
  264. package/dist/components/icons/spiegel_icons/Blockquote.js +7 -7
  265. package/dist/components/icons/spiegel_icons/Bold.js +5 -5
  266. package/dist/components/icons/spiegel_icons/Camera.js +4 -4
  267. package/dist/components/icons/spiegel_icons/Chat.js +5 -5
  268. package/dist/components/icons/spiegel_icons/Check.js +5 -5
  269. package/dist/components/icons/spiegel_icons/CheckCircle.js +5 -5
  270. package/dist/components/icons/spiegel_icons/Checkbox.js +7 -7
  271. package/dist/components/icons/spiegel_icons/Clap.js +7 -7
  272. package/dist/components/icons/spiegel_icons/Clock.js +7 -7
  273. package/dist/components/icons/spiegel_icons/Close.js +5 -5
  274. package/dist/components/icons/spiegel_icons/Code.js +6 -6
  275. package/dist/components/icons/spiegel_icons/Community.js +5 -5
  276. package/dist/components/icons/spiegel_icons/Crown.js +5 -5
  277. package/dist/components/icons/spiegel_icons/Downvote.js +5 -5
  278. package/dist/components/icons/spiegel_icons/Ellipsis.js +5 -5
  279. package/dist/components/icons/spiegel_icons/ExpertBadge.js +8 -8
  280. package/dist/components/icons/spiegel_icons/Facebook.js +5 -5
  281. package/dist/components/icons/spiegel_icons/Flag.js +5 -5
  282. package/dist/components/icons/spiegel_icons/Home.js +5 -5
  283. package/dist/components/icons/spiegel_icons/Italic.js +5 -5
  284. package/dist/components/icons/spiegel_icons/LightArrow.js +5 -5
  285. package/dist/components/icons/spiegel_icons/Link.js +9 -9
  286. package/dist/components/icons/spiegel_icons/Login.js +5 -5
  287. package/dist/components/icons/spiegel_icons/Logora.js +10 -10
  288. package/dist/components/icons/spiegel_icons/Mail.js +5 -5
  289. package/dist/components/icons/spiegel_icons/MinusCircle.js +5 -5
  290. package/dist/components/icons/spiegel_icons/MobileClose.js +5 -5
  291. package/dist/components/icons/spiegel_icons/MobileMenu.js +7 -7
  292. package/dist/components/icons/spiegel_icons/Next.js +7 -7
  293. package/dist/components/icons/spiegel_icons/OpenBlank.js +5 -5
  294. package/dist/components/icons/spiegel_icons/OrderedList.js +12 -12
  295. package/dist/components/icons/spiegel_icons/PauseCircle.js +5 -5
  296. package/dist/components/icons/spiegel_icons/Point.js +5 -5
  297. package/dist/components/icons/spiegel_icons/Question.js +9 -9
  298. package/dist/components/icons/spiegel_icons/Refresh.js +4 -4
  299. package/dist/components/icons/spiegel_icons/Reply.js +5 -5
  300. package/dist/components/icons/spiegel_icons/Search.js +5 -5
  301. package/dist/components/icons/spiegel_icons/Send.js +5 -5
  302. package/dist/components/icons/spiegel_icons/Share.js +7 -7
  303. package/dist/components/icons/spiegel_icons/SmallArrow.js +5 -5
  304. package/dist/components/icons/spiegel_icons/Source.js +5 -5
  305. package/dist/components/icons/spiegel_icons/Suggestion.js +5 -5
  306. package/dist/components/icons/spiegel_icons/Twitter.js +7 -7
  307. package/dist/components/icons/spiegel_icons/Underline.js +7 -7
  308. package/dist/components/icons/spiegel_icons/Upvote.js +5 -5
  309. package/dist/components/icons/spiegel_icons/User.js +5 -5
  310. package/dist/components/icons/spiegel_icons/Versus.js +5 -5
  311. package/dist/components/icons/spiegel_icons/Votebox.js +7 -7
  312. package/dist/components/input/argument_input/ArgumentInput.js +167 -169
  313. package/dist/components/input/checkbox/hidden/hidden-checkbox.js +9 -11
  314. package/dist/components/input/checkbox/indicator/checkbox-indicator.js +11 -12
  315. package/dist/components/input/checkbox/label/checkbox-label.js +17 -18
  316. package/dist/components/input/input_provider/InputProvider.js +7 -7
  317. package/dist/components/input/search_input/SearchInput.js +25 -25
  318. package/dist/components/input/select/Select.js +38 -39
  319. package/dist/components/input/text_editor/TextEditor.js +107 -108
  320. package/dist/components/input/text_editor/lexicalToHtml.js +10 -10
  321. package/dist/components/input/text_editor/plugins/AutoSavePlugin.js +12 -12
  322. package/dist/components/input/text_editor/plugins/FocusPlugin.js +4 -4
  323. package/dist/components/input/text_editor/plugins/MaxLengthPlugin.js +14 -14
  324. package/dist/components/input/text_editor/plugins/ResetPlugin.js +9 -9
  325. package/dist/components/input/text_editor/plugins/SetContentPlugin.js +8 -8
  326. package/dist/components/input/text_editor/plugins/SetRichContentPlugin.js +4 -4
  327. package/dist/components/input/text_editor/plugins/ToolbarPlugin.js +84 -85
  328. package/dist/components/input/text_input/TextInput.js +28 -29
  329. package/dist/components/input/text_input/color-accent.js +8 -9
  330. package/dist/components/input/text_input/message.js +9 -11
  331. package/dist/components/input/toggle/Toggle.js +19 -21
  332. package/dist/components/input/toggle_position/TogglePosition.js +33 -34
  333. package/dist/components/intl/intl_provider/IntlProvider.js +28 -28
  334. package/dist/components/list/list_provider/ListProvider.js +7 -7
  335. package/dist/components/list/paginated_list/PaginatedList.js +133 -134
  336. package/dist/components/list/paginated_list/VotePaginatedList.js +13 -13
  337. package/dist/components/list/paginated_list/action_bar/ActionBar.js +53 -54
  338. package/dist/components/list/pagination/Pagination.js +17 -17
  339. package/dist/components/modal/side_modal/SideModal.js +36 -36
  340. package/dist/components/navbar/navbar_button/NavbarButton.js +16 -17
  341. package/dist/components/navbar/navbar_modal/NavbarModal.js +85 -86
  342. package/dist/components/notification/notification_item/NotificationItem.js +31 -32
  343. package/dist/components/notification/notification_menu/NotificationMenu.js +27 -27
  344. package/dist/components/progress/loader/Loader.js +7 -7
  345. package/dist/components/progress/progress_bar/ProgressBar.js +37 -38
  346. package/dist/components/proposal/proposal_box/ProposalBox.js +72 -73
  347. package/dist/components/report/report_box/ReportBox.js +59 -60
  348. package/dist/components/section/section_box/SectionBox.js +27 -28
  349. package/dist/components/share/share_box/ShareBox.js +53 -53
  350. package/dist/components/share/share_button/ShareButton.js +43 -44
  351. package/dist/components/share/share_modal/ShareModal.js +12 -12
  352. package/dist/components/skeleton/box_skeleton/BoxSkeleton.js +22 -22
  353. package/dist/components/skeleton/user_content_skeleton/UserContentSkeleton.js +31 -32
  354. package/dist/components/source/context_source_box/ContextSourceBox.js +28 -29
  355. package/dist/components/source/context_source_list/ContextSourceList.js +27 -28
  356. package/dist/components/source/source_box/SourceBox.js +23 -23
  357. package/dist/components/source/source_list_item/SourceListItem.js +15 -15
  358. package/dist/components/source/source_modal/SourceModal.js +59 -60
  359. package/dist/components/suggestion/suggestion_banner/SuggestionBanner.js +46 -48
  360. package/dist/components/suggestion/suggestion_box/SuggestionBox.js +57 -59
  361. package/dist/components/suggestion/suggestion_input/SuggestionInput.js +86 -88
  362. package/dist/components/summary/argument_summary_box/ArgumentSummaryBox.js +40 -41
  363. package/dist/components/summary/keyword_box/KeywordBox.js +21 -21
  364. package/dist/components/summary/summary/Summary.js +34 -34
  365. package/dist/components/summary/summary_box/SummaryBox.js +16 -16
  366. package/dist/components/tag/tag/Tag.js +9 -10
  367. package/dist/components/text/expandable_text/ArrowIcon.js +5 -5
  368. package/dist/components/text/expandable_text/ExpandableText.js +36 -37
  369. package/dist/components/text/read_more/ReadMore.js +46 -47
  370. package/dist/components/tools/hash_scroll/HashScroll.js +12 -12
  371. package/dist/components/translation/translated_content/TranslatedContent.js +3 -3
  372. package/dist/components/translation/translated_content/useTranslatedContent.js +5 -5
  373. package/dist/components/translation/translation_button/TranslationButton.js +14 -16
  374. package/dist/components/user/author_box/AuthorBox.js +69 -71
  375. package/dist/components/user/avatar/Avatar.js +37 -38
  376. package/dist/components/user/avatar/DefaultAvatar.js +6 -6
  377. package/dist/components/user/avatar_selector/AvatarSelector.js +55 -56
  378. package/dist/components/user/update_user_info_modal/UpdateUserInfoModal.js +123 -124
  379. package/dist/components/user/update_user_info_modal/useUpdateUserInfo.js +12 -12
  380. package/dist/components/user/user_box/UserBox.js +47 -49
  381. package/dist/components/user/user_box_small/UserBoxSmall.js +26 -27
  382. package/dist/components/user_content/content_footer/ContentFooter.js +84 -85
  383. package/dist/components/user_content/content_header/ContentHeader.js +68 -69
  384. package/dist/components/user_content/summary_content_box/SummaryContentBox.js +42 -43
  385. package/dist/components/user_content/use_delete_content/useDeleteContent.js +16 -16
  386. package/dist/components/user_content/use_report_content/ReportModal.js +117 -118
  387. package/dist/components/user_content/use_report_content/useReportContent.js +13 -13
  388. package/dist/components/util/location/Location.js +1 -1
  389. package/dist/components/vote/suggestion_vote_box/SuggestionVoteBox.js +37 -37
  390. package/dist/components/vote/up_down_vote_box/UpDownVoteBox.js +31 -32
  391. package/dist/components/vote/vote_box/VoteBox.js +165 -167
  392. package/dist/components/vote/vote_button/VoteButton.js +21 -22
  393. package/dist/components/vote/vote_provider/VoteProvider.js +17 -17
  394. package/package.json +7 -2
  395. package/dist/assets/debate-Bv79XlHp.css +0 -2
  396. package/dist/node_modules/.pnpm/@formatjs_fast-memoize@2.2.7/node_modules/@formatjs/fast-memoize/lib/index.js +0 -51
  397. package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/date-time-pattern-generator.js +0 -28
  398. package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/error.js +0 -7
  399. package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/index.js +0 -26
  400. package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/manipulator.js +0 -1
  401. package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/parser.js +0 -499
  402. package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/regex.generated.js +0 -4
  403. package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/time-data.generated.js +0 -1159
  404. package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/types.js +0 -44
  405. package/dist/node_modules/.pnpm/@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/date-time.js +0 -101
  406. package/dist/node_modules/.pnpm/@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/number.js +0 -182
  407. package/dist/node_modules/.pnpm/@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/regex.generated.js +0 -4
  408. package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/create-intl.js +0 -39
  409. package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/dateTime.js +0 -80
  410. package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/displayName.js +0 -22
  411. package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/error.js +0 -66
  412. package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/list.js +0 -39
  413. package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/message.js +0 -59
  414. package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/number.js +0 -53
  415. package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/plural.js +0 -18
  416. package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/relativeTime.js +0 -22
  417. package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/utils.js +0 -115
  418. package/dist/node_modules/.pnpm/@kurkle_color@0.3.4/node_modules/@kurkle/color/dist/color.esm.js +0 -470
  419. package/dist/node_modules/.pnpm/@lexical_clipboard@0.38.2/node_modules/@lexical/clipboard/LexicalClipboard.prod.js +0 -163
  420. package/dist/node_modules/.pnpm/@lexical_dragon@0.38.2/node_modules/@lexical/dragon/LexicalDragon.prod.js +0 -51
  421. package/dist/node_modules/.pnpm/@lexical_extension@0.38.2/node_modules/@lexical/extension/LexicalExtension.prod.js +0 -796
  422. package/dist/node_modules/.pnpm/@lexical_headless@0.38.2/node_modules/@lexical/headless/LexicalHeadless.prod.js +0 -21
  423. package/dist/node_modules/.pnpm/@lexical_history@0.38.2/node_modules/@lexical/history/LexicalHistory.prod.js +0 -132
  424. package/dist/node_modules/.pnpm/@lexical_html@0.38.2/node_modules/@lexical/html/LexicalHtml.prod.js +0 -88
  425. package/dist/node_modules/.pnpm/@lexical_list@0.38.2/node_modules/@lexical/list/LexicalList.prod.js +0 -737
  426. package/dist/node_modules/.pnpm/@lexical_overflow@0.38.2/node_modules/@lexical/overflow/LexicalOverflow.prod.js +0 -37
  427. package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalCharacterLimitPlugin.prod.js +0 -136
  428. package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalComposer.prod.js +0 -53
  429. package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalComposerContext.prod.js +0 -20
  430. package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalContentEditable.prod.js +0 -85
  431. package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalEditorRefPlugin.prod.js +0 -11
  432. package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalErrorBoundary.prod.js +0 -20
  433. package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalHistoryPlugin.prod.js +0 -17
  434. package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalListPlugin.prod.js +0 -16
  435. package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalOnChangePlugin.prod.js +0 -20
  436. package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalReactProviderExtension.prod.js +0 -5
  437. package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/LexicalRichTextPlugin.prod.js +0 -96
  438. package/dist/node_modules/.pnpm/@lexical_react@0.38.2_react-dom@18.3.1_react@18.3.1__react@18.3.1_yjs@13.6.30/node_modules/@lexical/react/useLexicalEditable.prod.js +0 -23
  439. package/dist/node_modules/.pnpm/@lexical_rich-text@0.38.2/node_modules/@lexical/rich-text/LexicalRichText.prod.js +0 -418
  440. package/dist/node_modules/.pnpm/@lexical_selection@0.38.2/node_modules/@lexical/selection/LexicalSelection.prod.js +0 -170
  441. package/dist/node_modules/.pnpm/@lexical_text@0.38.2/node_modules/@lexical/text/LexicalText.prod.js +0 -33
  442. package/dist/node_modules/.pnpm/@lexical_utils@0.38.2/node_modules/@lexical/utils/LexicalUtils.prod.js +0 -112
  443. package/dist/node_modules/.pnpm/@rooks_use-localstorage-state@4.11.2_react@18.3.1/node_modules/@rooks/use-localstorage-state/lib/index.esm.js +0 -50
  444. package/dist/node_modules/.pnpm/@rooks_use-previous@4.11.2/node_modules/@rooks/use-previous/lib/index.esm.js +0 -10
  445. package/dist/node_modules/.pnpm/@rooks_use-sessionstorage-state@4.11.2_react@18.3.1/node_modules/@rooks/use-sessionstorage-state/lib/index.esm.js +0 -50
  446. package/dist/node_modules/.pnpm/are-passive-events-supported@1.1.1/node_modules/are-passive-events-supported/dist/are-passive-events-supported.esm.browser.js +0 -11
  447. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/adapters.js +0 -41
  448. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/fetch.js +0 -128
  449. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/xhr.js +0 -59
  450. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/axios.js +0 -30
  451. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CancelToken.js +0 -59
  452. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CanceledError.js +0 -9
  453. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/isCancel.js +0 -6
  454. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/Axios.js +0 -131
  455. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosError.js +0 -34
  456. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosHeaders.js +0 -171
  457. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/InterceptorManager.js +0 -28
  458. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/buildFullPath.js +0 -9
  459. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/dispatchRequest.js +0 -23
  460. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/mergeConfig.js +0 -67
  461. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/settle.js +0 -8
  462. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/transformData.js +0 -12
  463. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/index.js +0 -81
  464. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/transitional.js +0 -9
  465. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/env/data.js +0 -4
  466. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -32
  467. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -77
  468. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/bind.js +0 -8
  469. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/buildURL.js +0 -17
  470. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/combineURLs.js +0 -6
  471. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/composeSignals.js +0 -27
  472. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/cookies.js +0 -26
  473. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/formDataToJSON.js +0 -27
  474. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -6
  475. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isAxiosError.js +0 -7
  476. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -5
  477. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/parseHeaders.js +0 -28
  478. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/parseProtocol.js +0 -7
  479. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/progressEventReducer.js +0 -30
  480. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/resolveConfig.js +0 -28
  481. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/speedometer.js +0 -16
  482. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/spread.js +0 -8
  483. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/throttle.js +0 -14
  484. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toFormData.js +0 -67
  485. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -14
  486. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/trackStream.js +0 -51
  487. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/validator.js +0 -47
  488. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -4
  489. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -4
  490. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
  491. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/index.js +0 -22
  492. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/common/utils.js +0 -15
  493. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/index.js +0 -9
  494. package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js +0 -235
  495. package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/auto/auto.js +0 -5
  496. package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/dist/chart.js +0 -6301
  497. package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/dist/chunks/helpers.dataset.js +0 -1381
  498. package/dist/node_modules/.pnpm/chartjs-plugin-datalabels@2.2.0_chart.js@4.5.1/node_modules/chartjs-plugin-datalabels/dist/chartjs-plugin-datalabels.esm.js +0 -354
  499. package/dist/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js +0 -32
  500. package/dist/node_modules/.pnpm/copy-to-clipboard@3.3.3/node_modules/copy-to-clipboard/index.js +0 -43
  501. package/dist/node_modules/.pnpm/dompurify@3.3.3/node_modules/dompurify/dist/purify.es.js +0 -549
  502. package/dist/node_modules/.pnpm/flat@5.0.2/node_modules/flat/index.js +0 -59
  503. package/dist/node_modules/.pnpm/goober@2.1.18_csstype@3.2.3/node_modules/goober/dist/goober.modern.js +0 -75
  504. package/dist/node_modules/.pnpm/hoist-non-react-statics@3.3.2/node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js +0 -68
  505. package/dist/node_modules/.pnpm/intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/core.js +0 -154
  506. package/dist/node_modules/.pnpm/intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/error.js +0 -36
  507. package/dist/node_modules/.pnpm/intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/formatters.js +0 -107
  508. package/dist/node_modules/.pnpm/lexical@0.38.2/node_modules/lexical/Lexical.prod.js +0 -5093
  509. package/dist/node_modules/.pnpm/path-to-regexp@6.3.0/node_modules/path-to-regexp/dist.es2015/index.js +0 -198
  510. package/dist/node_modules/.pnpm/react-chartjs-2@5.3.1_chart.js@4.5.1_react@18.3.1/node_modules/react-chartjs-2/dist/index.js +0 -76
  511. package/dist/node_modules/.pnpm/react-copy-to-clipboard@5.1.1_react@18.3.1/node_modules/react-copy-to-clipboard/lib/Component.js +0 -160
  512. package/dist/node_modules/.pnpm/react-copy-to-clipboard@5.1.1_react@18.3.1/node_modules/react-copy-to-clipboard/lib/index.js +0 -10
  513. package/dist/node_modules/.pnpm/react-error-boundary@6.1.1_react@18.3.1/node_modules/react-error-boundary/dist/react-error-boundary.js +0 -58
  514. package/dist/node_modules/.pnpm/react-hot-toast@2.6.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-hot-toast/dist/index.js +0 -494
  515. package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/index.js +0 -13
  516. package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/components/createFormattedComponent.js +0 -35
  517. package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/components/createIntl.js +0 -39
  518. package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/components/injectIntl.js +0 -9
  519. package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/components/message.js +0 -22
  520. package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/components/provider.js +0 -45
  521. package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/components/useIntl.js +0 -10
  522. package/dist/node_modules/.pnpm/react-intl@7.1.14_react@18.3.1_typescript@5.9.3/node_modules/react-intl/lib/src/utils.js +0 -33
  523. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +0 -82
  524. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +0 -62
  525. package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +0 -10
  526. package/dist/node_modules/.pnpm/react-loading-skeleton@3.5.0_react@18.3.1/node_modules/react-loading-skeleton/dist/index.js +0 -49
  527. package/dist/node_modules/.pnpm/react-modern-drawer@1.4.0_react@18.3.1/node_modules/react-modern-drawer/dist/index.modern.js +0 -84
  528. package/dist/node_modules/.pnpm/react-oauth-popup@1.0.5_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-oauth-popup/dist/index.js +0 -106
  529. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.development.js +0 -453
  530. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -27
  531. package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js +0 -10
  532. package/dist/node_modules/.pnpm/toggle-selection@1.0.6/node_modules/toggle-selection/index.js +0 -26
  533. package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +0 -34
  534. package/dist/node_modules/.pnpm/use-debounce@10.1.1_react@18.3.1/node_modules/use-debounce/dist/index.module.js +0 -70
  535. package/dist/node_modules/.pnpm/use-isomorphic-layout-effect@1.2.1_@types_react@19.2.14_react@18.3.1/node_modules/use-isomorphic-layout-effect/dist/use-isomorphic-layout-effect.browser.esm.js +0 -5
  536. package/dist/node_modules/.pnpm/use-latest@1.3.0_@types_react@19.2.14_react@18.3.1/node_modules/use-latest/dist/use-latest.esm.js +0 -11
  537. package/dist/node_modules/.pnpm/use-onclickoutside@0.4.1_@types_react@19.2.14_react@18.3.1/node_modules/use-onclickoutside/dist/use-onclickoutside.browser.esm.js +0 -26
  538. package/dist/node_modules/.pnpm/webfontloader@1.6.28/node_modules/webfontloader/webfontloader.js +0 -482
@@ -1,418 +0,0 @@
1
- import { Ae as e, Ar as t, Be as n, Ci as r, Cs as i, De as a, Ee as o, Fe as s, Ie as ee, Ke as c, Kl as l, Le as u, Li as d, Lr as f, Me as te, Ne as ne, No as re, Oe as ie, Pe as p, Ps as m, Re as ae, Se as oe, Si as h, Ss as se, St as ce, Te as le, Ti as g, We as ue, _e as de, ae as _, be as fe, bi as pe, ce as v, de as me, fe as he, fs as y, ge, he as _e, jo as ve, jr as ye, ke as be, le as b, lr as xe, qo as x, re as Se, se as Ce, to as S, ue as C, ur as w, vo as T, we as E, wo as D, xe as O, xr as k, yr as A, zs as j } from "../../../../lexical@0.38.2/node_modules/lexical/Lexical.prod.js";
2
- import { A as M, Z as N, ne as P } from "../../../../@lexical_selection@0.38.2/node_modules/@lexical/selection/LexicalSelection.prod.js";
3
- import { Lt as F, U as we, lt as I, xt as Te } from "../../../../@lexical_utils@0.38.2/node_modules/@lexical/utils/LexicalUtils.prod.js";
4
- import { d as Ee } from "../../../../@lexical_dragon@0.38.2/node_modules/@lexical/dragon/LexicalDragon.prod.js";
5
- import { F as L, R } from "../../../../@lexical_clipboard@0.38.2/node_modules/@lexical/clipboard/LexicalClipboard.prod.js";
6
- //#region node_modules/.pnpm/@lexical+rich-text@0.38.2/node_modules/@lexical/rich-text/LexicalRichText.prod.mjs
7
- function z(e, t) {
8
- if (document.caretRangeFromPoint !== void 0) {
9
- let n = document.caretRangeFromPoint(e, t);
10
- return n === null ? null : {
11
- node: n.startContainer,
12
- offset: n.startOffset
13
- };
14
- }
15
- if (document.caretPositionFromPoint !== "undefined") {
16
- let n = document.caretPositionFromPoint(e, t);
17
- return n === null ? null : {
18
- node: n.offsetNode,
19
- offset: n.offset
20
- };
21
- }
22
- return null;
23
- }
24
- var B = typeof window < "u" && window.document !== void 0 && window.document.createElement !== void 0, De = B && "documentMode" in document ? document.documentMode : null, Oe = B && /Mac|iPod|iPhone|iPad/.test(navigator.platform), ke = !(!B || !("InputEvent" in window) || De) && "getTargetRanges" in new window.InputEvent("input"), Ae = B && /Version\/[\d.]+.*Safari/.test(navigator.userAgent), V = B && /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream, je = B && /^(?=.*Chrome).*/i.test(navigator.userAgent), Me = B && /AppleWebKit\/[\d.]+/.test(navigator.userAgent) && Oe && !je, H = Se("DRAG_DROP_PASTE_FILE"), U = class e extends r {
25
- static getType() {
26
- return "quote";
27
- }
28
- static clone(t) {
29
- return new e(t.__key);
30
- }
31
- createDOM(e) {
32
- let t = document.createElement("blockquote");
33
- return I(t, e.theme.quote), t;
34
- }
35
- updateDOM(e, t) {
36
- return !1;
37
- }
38
- static importDOM() {
39
- return { blockquote: (e) => ({
40
- conversion: Ne,
41
- priority: 0
42
- }) };
43
- }
44
- exportDOM(e) {
45
- let { element: t } = super.exportDOM(e);
46
- if (i(t)) {
47
- this.isEmpty() && t.append(document.createElement("br"));
48
- let e = this.getFormatType();
49
- e && (t.style.textAlign = e);
50
- let n = this.getDirection();
51
- n && (t.dir = n);
52
- }
53
- return { element: t };
54
- }
55
- static importJSON(e) {
56
- return W().updateFromJSON(e);
57
- }
58
- insertNewAfter(e, t) {
59
- let n = d(), r = this.getDirection();
60
- return n.setDirection(r), this.insertAfter(n, t), n;
61
- }
62
- collapseAtStart() {
63
- let e = d();
64
- return this.getChildren().forEach((t) => e.append(t)), this.replace(e), !0;
65
- }
66
- canMergeWhenEmpty() {
67
- return !0;
68
- }
69
- };
70
- function W() {
71
- return y(new U());
72
- }
73
- var G = class e extends r {
74
- __tag;
75
- static getType() {
76
- return "heading";
77
- }
78
- static clone(t) {
79
- return new e(t.__tag, t.__key);
80
- }
81
- constructor(e, t) {
82
- super(t), this.__tag = e;
83
- }
84
- getTag() {
85
- return this.__tag;
86
- }
87
- setTag(e) {
88
- let t = this.getWritable();
89
- return this.__tag = e, t;
90
- }
91
- createDOM(e) {
92
- let t = this.__tag, n = document.createElement(t), r = e.theme.heading;
93
- if (r !== void 0) {
94
- let e = r[t];
95
- I(n, e);
96
- }
97
- return n;
98
- }
99
- updateDOM(e, t, n) {
100
- return e.__tag !== this.__tag;
101
- }
102
- static importDOM() {
103
- return {
104
- h1: (e) => ({
105
- conversion: q,
106
- priority: 0
107
- }),
108
- h2: (e) => ({
109
- conversion: q,
110
- priority: 0
111
- }),
112
- h3: (e) => ({
113
- conversion: q,
114
- priority: 0
115
- }),
116
- h4: (e) => ({
117
- conversion: q,
118
- priority: 0
119
- }),
120
- h5: (e) => ({
121
- conversion: q,
122
- priority: 0
123
- }),
124
- h6: (e) => ({
125
- conversion: q,
126
- priority: 0
127
- }),
128
- p: (e) => {
129
- let t = e.firstChild;
130
- return t !== null && K(t) ? {
131
- conversion: () => ({ node: null }),
132
- priority: 3
133
- } : null;
134
- },
135
- span: (e) => K(e) ? {
136
- conversion: (e) => ({ node: J("h1") }),
137
- priority: 3
138
- } : null
139
- };
140
- }
141
- exportDOM(e) {
142
- let { element: t } = super.exportDOM(e);
143
- if (i(t)) {
144
- this.isEmpty() && t.append(document.createElement("br"));
145
- let e = this.getFormatType();
146
- e && (t.style.textAlign = e);
147
- let n = this.getDirection();
148
- n && (t.dir = n);
149
- }
150
- return { element: t };
151
- }
152
- static importJSON(e) {
153
- return J(e.tag).updateFromJSON(e);
154
- }
155
- updateFromJSON(e) {
156
- return super.updateFromJSON(e).setTag(e.tag);
157
- }
158
- exportJSON() {
159
- return {
160
- ...super.exportJSON(),
161
- tag: this.getTag()
162
- };
163
- }
164
- insertNewAfter(e, t = !0) {
165
- let n = e ? e.anchor.offset : 0, r = this.getLastDescendant(), i = !r || e && e.anchor.key === r.getKey() && n === r.getTextContentSize() || !e ? d() : J(this.getTag()), a = this.getDirection();
166
- if (i.setDirection(a), this.insertAfter(i, t), n === 0 && !this.isEmpty() && e) {
167
- let e = d();
168
- e.select(), this.replace(e, !0);
169
- }
170
- return i;
171
- }
172
- collapseAtStart() {
173
- let e = this.isEmpty() ? d() : J(this.getTag());
174
- return this.getChildren().forEach((t) => e.append(t)), this.replace(e), !0;
175
- }
176
- extractWithChild() {
177
- return !0;
178
- }
179
- };
180
- function K(e) {
181
- return e.nodeName.toLowerCase() === "span" && e.style.fontSize === "26pt";
182
- }
183
- function q(e) {
184
- let t = e.nodeName.toLowerCase(), n = null;
185
- return t !== "h1" && t !== "h2" && t !== "h3" && t !== "h4" && t !== "h5" && t !== "h6" || (n = J(t), e.style !== null && (m(e, n), n.setFormat(e.style.textAlign))), { node: n };
186
- }
187
- function Ne(e) {
188
- let t = W();
189
- return e.style !== null && (t.setFormat(e.style.textAlign), m(e, t)), { node: t };
190
- }
191
- function J(e = "h1") {
192
- return y(new G(e));
193
- }
194
- function Pe(e) {
195
- return e instanceof G;
196
- }
197
- function Y(e) {
198
- let t = null;
199
- if (F(e, DragEvent) ? t = e.dataTransfer : F(e, ClipboardEvent) && (t = e.clipboardData), t === null) return [
200
- !1,
201
- [],
202
- !1
203
- ];
204
- let n = t.types, r = n.includes("Files"), i = n.includes("text/html") || n.includes("text/plain");
205
- return [
206
- r,
207
- Array.from(t.files),
208
- i
209
- ];
210
- }
211
- function X(e) {
212
- let t = f();
213
- if (!A(t)) return !1;
214
- let n = /* @__PURE__ */ new Set(), r = t.getNodes();
215
- for (let t = 0; t < r.length; t++) {
216
- let i = r[t], a = i.getKey();
217
- if (n.has(a)) continue;
218
- let o = j(i, (e) => h(e) && !e.isInline());
219
- if (o === null) continue;
220
- let s = o.getKey();
221
- o.canIndent() && !n.has(s) && (n.add(s), e(o));
222
- }
223
- return n.size > 0;
224
- }
225
- function Z(e) {
226
- return g(T(e));
227
- }
228
- function Q(e) {
229
- for (let t of [
230
- "lowercase",
231
- "uppercase",
232
- "capitalize"
233
- ]) e.hasFormat(t) && e.toggleFormat(t);
234
- }
235
- function $(r) {
236
- return we(r.registerCommand(Ce, (e) => {
237
- let t = f();
238
- return !!k(t) && (t.clear(), !0);
239
- }, 0), r.registerCommand(b, (e) => {
240
- let t = f();
241
- return A(t) ? (t.deleteCharacter(e), !0) : !!k(t) && (t.deleteNodes(), !0);
242
- }, 0), r.registerCommand(_e, (e) => {
243
- let t = f();
244
- return !!A(t) && (t.deleteWord(e), !0);
245
- }, 0), r.registerCommand(ge, (e) => {
246
- let t = f();
247
- return !!A(t) && (t.deleteLine(e), !0);
248
- }, 0), r.registerCommand(C, (e) => {
249
- let t = f();
250
- if (typeof e == "string") t !== null && t.insertText(e);
251
- else {
252
- if (t === null) return !1;
253
- let n = e.dataTransfer;
254
- if (n != null) R(n, t, r);
255
- else if (A(t)) {
256
- let n = e.data;
257
- return n && t.insertText(n), !0;
258
- }
259
- }
260
- return !0;
261
- }, 0), r.registerCommand(me, () => {
262
- let e = f();
263
- return !!A(e) && (e.removeText(), !0);
264
- }, 0), r.registerCommand(de, (e) => {
265
- let t = f();
266
- return !!A(t) && (t.formatText(e), !0);
267
- }, 0), r.registerCommand(u, (e) => {
268
- let t = f();
269
- if (!A(t) && !k(t)) return !1;
270
- let n = t.getNodes();
271
- for (let t of n) {
272
- let n = j(t, (e) => h(e) && !e.isInline());
273
- n !== null && n.setFormat(e);
274
- }
275
- return !0;
276
- }, 0), r.registerCommand(v, (e) => {
277
- let t = f();
278
- return !!A(t) && (t.insertLineBreak(e), !0);
279
- }, 0), r.registerCommand(_, () => {
280
- let e = f();
281
- return !!A(e) && (e.insertParagraph(), !0);
282
- }, 0), r.registerCommand(e, () => (ye([w()]), !0), 0), r.registerCommand(p, () => X((e) => {
283
- let t = e.getIndent();
284
- e.setIndent(t + 1);
285
- }), 0), r.registerCommand(a, () => X((e) => {
286
- let t = e.getIndent();
287
- t > 0 && e.setIndent(Math.max(0, t - 1));
288
- }), 0), r.registerCommand(be, (e) => {
289
- let t = f();
290
- if (k(t)) {
291
- let n = t.getNodes();
292
- if (n.length > 0) return e.preventDefault(), n[0].selectPrevious(), !0;
293
- } else if (A(t)) {
294
- let n = x(t.focus, !0);
295
- if (!e.shiftKey && g(n) && !n.isIsolated() && !n.isInline()) return n.selectPrevious(), e.preventDefault(), !0;
296
- }
297
- return !1;
298
- }, 0), r.registerCommand(le, (e) => {
299
- let t = f();
300
- if (k(t)) {
301
- let n = t.getNodes();
302
- if (n.length > 0) return e.preventDefault(), n[0].selectNext(0, 0), !0;
303
- } else if (A(t)) {
304
- if (function(e) {
305
- let t = e.focus;
306
- return t.key === "root" && t.offset === re().getChildrenSize();
307
- }(t)) return e.preventDefault(), !0;
308
- let n = x(t.focus, !1);
309
- if (!e.shiftKey && g(n) && !n.isIsolated() && !n.isInline()) return n.selectNext(), e.preventDefault(), !0;
310
- }
311
- return !1;
312
- }, 0), r.registerCommand(oe, (e) => {
313
- let t = f();
314
- if (k(t)) {
315
- let n = t.getNodes();
316
- if (n.length > 0) return e.preventDefault(), M(n[0]) ? n[0].selectNext(0, 0) : n[0].selectPrevious(), !0;
317
- }
318
- if (!A(t)) return !1;
319
- if (N(t, !0)) {
320
- let n = e.shiftKey;
321
- return e.preventDefault(), P(t, n, !0), !0;
322
- }
323
- return !1;
324
- }, 0), r.registerCommand(O, (e) => {
325
- let t = f();
326
- if (k(t)) {
327
- let n = t.getNodes();
328
- if (n.length > 0) return e.preventDefault(), M(n[0]) ? n[0].selectPrevious() : n[0].selectNext(0, 0), !0;
329
- }
330
- if (!A(t)) return !1;
331
- let n = e.shiftKey;
332
- return !!N(t, !1) && (e.preventDefault(), P(t, n, !1), !0);
333
- }, 0), r.registerCommand(E, (e) => {
334
- if (Z(e.target)) return !1;
335
- let t = f();
336
- if (A(t)) {
337
- if (function(e) {
338
- if (!e.isCollapsed()) return !1;
339
- let { anchor: t } = e;
340
- if (t.offset !== 0) return !1;
341
- let n = t.getNode();
342
- if (pe(n)) return !1;
343
- let r = Te(n);
344
- return r.getIndent() > 0 && (r.is(n) || n.is(r.getFirstDescendant()));
345
- }(t)) return e.preventDefault(), r.dispatchCommand(a, void 0);
346
- if (V && navigator.language === "ko-KR") return !1;
347
- } else if (!k(t)) return !1;
348
- return e.preventDefault(), r.dispatchCommand(b, !0);
349
- }, 0), r.registerCommand(ie, (e) => {
350
- if (Z(e.target)) return !1;
351
- let t = f();
352
- return !(!A(t) && !k(t)) && (e.preventDefault(), r.dispatchCommand(b, !1));
353
- }, 0), r.registerCommand(ne, (e) => {
354
- let t = f();
355
- if (!A(t)) return !1;
356
- if (Q(t), e !== null) {
357
- if ((V || Ae || Me) && ke) return !1;
358
- if (e.preventDefault(), e.shiftKey) return r.dispatchCommand(v, !1);
359
- }
360
- return r.dispatchCommand(_, void 0);
361
- }, 0), r.registerCommand(o, () => !!A(f()) && (r.blur(), !0), 0), r.registerCommand(s, (e) => {
362
- let [, n] = Y(e);
363
- if (n.length > 0) {
364
- let i = z(e.clientX, e.clientY);
365
- if (i !== null) {
366
- let { offset: e, node: a } = i, o = T(a);
367
- if (o !== null) {
368
- let n = t();
369
- if (xe(o)) n.anchor.set(o.getKey(), e, "text"), n.focus.set(o.getKey(), e, "text");
370
- else {
371
- let e = o.getParentOrThrow().getKey(), t = o.getIndexWithinParent() + 1;
372
- n.anchor.set(e, t, "element"), n.focus.set(e, t, "element");
373
- }
374
- D(ce(n));
375
- }
376
- r.dispatchCommand(H, n);
377
- }
378
- return e.preventDefault(), !0;
379
- }
380
- return !!A(f());
381
- }, 0), r.registerCommand(ee, (e) => {
382
- let [t] = Y(e), n = f();
383
- return !(t && !A(n));
384
- }, 0), r.registerCommand(c, (e) => {
385
- let [t] = Y(e), n = f();
386
- if (t && !A(n)) return !1;
387
- let r = z(e.clientX, e.clientY);
388
- return r !== null && g(T(r.node)) && e.preventDefault(), !0;
389
- }, 0), r.registerCommand(ue, () => (ve(), !0), 0), r.registerCommand(ae, (e) => (L(r, F(e, ClipboardEvent) ? e : null), !0), 0), r.registerCommand(n, (e) => (async function(e, t) {
390
- await L(t, F(e, ClipboardEvent) ? e : null), t.update(() => {
391
- let e = f();
392
- A(e) ? e.removeText() : k(e) && e.getNodes().forEach((e) => e.remove());
393
- });
394
- }(e, r), !0), 0), r.registerCommand(he, (e) => {
395
- let [, t, n] = Y(e);
396
- return t.length > 0 && !n ? (r.dispatchCommand(H, t), !0) : se(e.target) && S(e.target) ? !1 : f() !== null && (function(e, t) {
397
- e.preventDefault(), t.update(() => {
398
- let n = f(), r = F(e, InputEvent) || F(e, KeyboardEvent) ? null : e.clipboardData;
399
- r != null && n !== null && R(r, n, t);
400
- }, { tag: "paste" });
401
- }(e, r), !0);
402
- }, 0), r.registerCommand(fe, (e) => {
403
- let t = f();
404
- return A(t) && Q(t), !1;
405
- }, 0), r.registerCommand(te, (e) => {
406
- let t = f();
407
- return A(t) && Q(t), !1;
408
- }, 0));
409
- }
410
- l({
411
- conflictsWith: ["@lexical/plain-text"],
412
- dependencies: [Ee],
413
- name: "@lexical/rich-text",
414
- nodes: [G, U],
415
- register: $
416
- });
417
- //#endregion
418
- export { U as Et, Pe as It, $ as Jt, W as _t };
@@ -1,170 +0,0 @@
1
- import { Ar as e, As as t, Gs as n, Ir as r, Lr as i, Ns as a, Ol as o, Si as s, Sr as c, Ti as l, bi as u, bs as d, lo as f, lr as p, sr as m, ul as h, wo as g, xl as _, xo as v, yr as y, zs as b } from "../../../../lexical@0.38.2/node_modules/lexical/Lexical.prod.js";
2
- //#region node_modules/.pnpm/@lexical+selection@0.38.2/node_modules/@lexical/selection/LexicalSelection.prod.mjs
3
- var x = /* @__PURE__ */ new Map();
4
- function S(e) {
5
- let t = {};
6
- if (!e) return t;
7
- let n = e.split(";");
8
- for (let e of n) if (e !== "") {
9
- let [n, r] = e.split(/:([^]+)/);
10
- n && r && (t[n.trim()] = r.trim());
11
- }
12
- return t;
13
- }
14
- function C(e) {
15
- let t = x.get(e);
16
- return t === void 0 && (t = S(e), x.set(e, t)), t;
17
- }
18
- function w(e) {
19
- let t = d().getElementByKey(e.getKey());
20
- if (t === null) return null;
21
- let n = t.ownerDocument.defaultView;
22
- return n === null ? null : n.getComputedStyle(t);
23
- }
24
- function T(e) {
25
- return w(u(e) ? e : e.getParentOrThrow());
26
- }
27
- function E(e) {
28
- let t = T(e);
29
- return t !== null && t.direction === "rtl";
30
- }
31
- function D(e, n, r = "self") {
32
- let i = e.getStartEndPoints();
33
- if (n.isSelected(e) && !f(n) && i !== null) {
34
- let [a, o] = i, s = e.isBackward(), l = a.getNode(), u = o.getNode(), d = n.is(l), f = n.is(u);
35
- if (d || f) {
36
- let [i, a] = c(e), o = l.is(u), d = n.is(s ? u : l), f = n.is(s ? l : u), p, m = 0;
37
- o ? (m = i > a ? a : i, p = i > a ? i : a) : d ? (m = s ? a : i, p = void 0) : f && (m = 0, p = s ? i : a);
38
- let h = n.__text.slice(m, p);
39
- h !== n.__text && (r === "clone" && (n = t(n)), n.__text = h);
40
- }
41
- }
42
- return n;
43
- }
44
- function O(e, t, n) {
45
- let i = t.getNode(), a = n;
46
- if (s(i)) {
47
- let e = i.getDescendantByIndex(t.offset);
48
- e !== null && (i = e);
49
- }
50
- for (; a > 0 && i !== null;) {
51
- if (s(i)) {
52
- let e = i.getLastDescendant();
53
- e !== null && (i = e);
54
- }
55
- let n = i.getPreviousSibling(), o = 0;
56
- if (n === null) {
57
- let e = i.getParentOrThrow(), t = e.getPreviousSibling();
58
- for (; t === null;) {
59
- if (e = e.getParent(), e === null) {
60
- n = null;
61
- break;
62
- }
63
- t = e.getPreviousSibling();
64
- }
65
- e !== null && (o = e.isInline() ? 0 : 2, n = t);
66
- }
67
- let c = i.getTextContent();
68
- c === "" && s(i) && !i.isInline() && (c = "\n\n");
69
- let l = c.length;
70
- if (!p(i) || a >= l) {
71
- let e = i.getParent();
72
- i.remove(), e == null || e.getChildrenSize() !== 0 || u(e) || e.remove(), a -= l + o, i = n;
73
- } else {
74
- let n = i.getKey(), o = e.getEditorState().read(() => {
75
- let e = v(n);
76
- return p(e) && e.isSimpleText() ? e.getTextContent() : null;
77
- }), s = l - a, u = c.slice(0, s);
78
- if (o !== null && o !== c) {
79
- let e = r(), t = i;
80
- if (i.isSimpleText()) i.setTextContent(o);
81
- else {
82
- let e = m(o);
83
- i.replace(e), t = e;
84
- }
85
- if (y(e) && e.isCollapsed()) {
86
- let n = e.anchor.offset;
87
- t.select(n, n);
88
- }
89
- } else if (i.isSimpleText()) {
90
- let e = t.key === n, r = t.offset;
91
- r < a && (r = l);
92
- let o = e ? r - a : 0, c = e ? r : s;
93
- if (e && o === 0) {
94
- let [e] = i.splitText(o, c);
95
- e.remove();
96
- } else {
97
- let [, e] = i.splitText(o, c);
98
- e.remove();
99
- }
100
- } else {
101
- let e = m(u);
102
- i.replace(e);
103
- }
104
- a = 0;
105
- }
106
- }
107
- }
108
- function k(e) {
109
- let t = e.getStyle(), n = S(t);
110
- x.set(t, n);
111
- }
112
- function A(e, t) {
113
- let n = e.getFormatType(), r = e.getIndent();
114
- n !== t.getFormatType() && t.setFormat(n), r !== t.getIndent() && t.setIndent(r);
115
- }
116
- function j(t, n, r = A) {
117
- if (t === null) return;
118
- let o = t.getStartEndPoints(), c = /* @__PURE__ */ new Map(), l = null;
119
- if (o) {
120
- let [t, n] = o;
121
- l = e(), l.anchor.set(t.key, t.offset, t.type), l.focus.set(n.key, n.offset, n.type);
122
- let r = b(t.getNode(), a), i = b(n.getNode(), a);
123
- s(r) && c.set(r.getKey(), r), s(i) && c.set(i.getKey(), i);
124
- }
125
- for (let e of t.getNodes()) if (s(e) && a(e)) c.set(e.getKey(), e);
126
- else if (o === null) {
127
- let t = b(e, a);
128
- s(t) && c.set(t.getKey(), t);
129
- }
130
- for (let [e, t] of c) {
131
- let i = n();
132
- r(t, i), t.replace(i, !0), l && (e === l.anchor.key && l.anchor.set(i.getKey(), l.anchor.offset, l.anchor.type), e === l.focus.key && l.focus.set(i.getKey(), l.focus.offset, l.focus.type));
133
- }
134
- l && t.is(i()) && g(l);
135
- }
136
- function M(e) {
137
- let t = N(e);
138
- return t !== null && t.writingMode === "vertical-rl";
139
- }
140
- function N(e) {
141
- let t = e.anchor.getNode();
142
- return s(t) ? w(t) : T(t);
143
- }
144
- function P(e, t) {
145
- let r = M(e) ? !t : t;
146
- I(e) && (r = !r);
147
- let i = _(e.focus, r ? "previous" : "next");
148
- if (o(i)) return !1;
149
- for (let e of h(i)) {
150
- if (n(e)) return !e.origin.isInline();
151
- if (!s(e.origin)) {
152
- if (l(e.origin)) return !0;
153
- break;
154
- }
155
- }
156
- return !1;
157
- }
158
- function F(e, t, n, r) {
159
- e.modify(t ? "extend" : "move", n, r);
160
- }
161
- function I(e) {
162
- let t = N(e);
163
- return t !== null && t.direction === "rtl";
164
- }
165
- function L(e, t, n) {
166
- let r = I(e), i;
167
- i = M(e) || r ? !n : n, F(e, t, i, "character");
168
- }
169
- //#endregion
170
- export { k as $, E as A, O as L, D as M, j as W, P as Z, C as b, L as ne };
@@ -1,33 +0,0 @@
1
- import { Ii as e, No as t, Si as n, Ti as r, lr as i } from "../../../../lexical@0.38.2/node_modules/lexical/Lexical.prod.js";
2
- //#region node_modules/.pnpm/@lexical+text@0.38.2/node_modules/@lexical/text/LexicalText.prod.mjs
3
- function a() {
4
- return t().getTextContent();
5
- }
6
- function o(e, t = !0) {
7
- if (e) return !1;
8
- let n = a();
9
- return t && (n = n.trim()), n === "";
10
- }
11
- function s(a) {
12
- if (!o(a, !1)) return !1;
13
- let s = t().getChildren(), c = s.length;
14
- if (c > 1) return !1;
15
- for (let t = 0; t < c; t++) {
16
- let a = s[t];
17
- if (r(a)) return !1;
18
- if (n(a)) {
19
- if (!e(a) || a.__indent !== 0) return !1;
20
- let n = a.getChildren(), r = n.length;
21
- for (let e = 0; e < r; e++) {
22
- let e = n[t];
23
- if (!i(e)) return !1;
24
- }
25
- }
26
- }
27
- return !0;
28
- }
29
- function c(e) {
30
- return () => s(e);
31
- }
32
- //#endregion
33
- export { c as g, a as s };