@logora/debate 0.1.1 → 0.2.1

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 (320) hide show
  1. package/README.md +15 -23
  2. package/dist/components/action/button/Button.js +1 -1
  3. package/dist/components/argument/argument/Argument.js +49 -49
  4. package/dist/components/argument/top_arguments/TopArguments.js +17 -17
  5. package/dist/components/auth/auth_initializer/AuthInitializer.js +5 -5
  6. package/dist/components/auth/auth_modal/AuthModal.js +9 -9
  7. package/dist/components/auth/login_form/LoginForm.js +1 -0
  8. package/dist/components/auth/oauth2_button/OAuth2Button.js +3 -3
  9. package/dist/components/auth/providers/AuthProviderFactory.js +4 -4
  10. package/dist/components/auth/signup_form/SignupForm.js +4 -4
  11. package/dist/components/auth/social_auth_form/SocialAuthForm.js +10 -10
  12. package/dist/components/auth/sso_form/SSOForm.js +4 -4
  13. package/dist/components/chart/line_chart/LineChart.js +10 -10
  14. package/dist/components/chart/pie_chart/PieChart.js +6 -10
  15. package/dist/components/consultation/consultation_box/ConsultationBox.js +19 -14
  16. package/dist/components/debate/debate_box/DebateBox.js +11 -11
  17. package/dist/components/dialog/drawer/Drawer.js +16 -16
  18. package/dist/components/dialog/modal/Modal.js +8 -8
  19. package/dist/components/dialog/toast_provider/ToastProvider.js +10 -10
  20. package/dist/components/hooks/use_responsive/ResponsiveProvider.js +4 -4
  21. package/dist/components/icons/bild_icons/Alarm.js +15 -0
  22. package/dist/components/icons/bild_icons/Announcement.js +20 -0
  23. package/dist/components/icons/bild_icons/Arrow.js +11 -0
  24. package/dist/components/icons/bild_icons/Blockquote.js +11 -0
  25. package/dist/components/icons/bild_icons/Bold.js +11 -0
  26. package/dist/components/icons/bild_icons/Camera.js +11 -0
  27. package/dist/components/icons/bild_icons/Chat.js +44 -0
  28. package/dist/components/icons/bild_icons/Check.js +12 -0
  29. package/dist/components/icons/bild_icons/CheckCircle.js +20 -0
  30. package/dist/components/icons/bild_icons/Checkbox.js +11 -0
  31. package/dist/components/icons/bild_icons/Clap.js +21 -0
  32. package/dist/components/icons/bild_icons/Clock.js +11 -0
  33. package/dist/components/icons/bild_icons/Close.js +11 -0
  34. package/dist/components/icons/bild_icons/Code.js +32 -0
  35. package/dist/components/icons/bild_icons/Community.js +11 -0
  36. package/dist/components/icons/bild_icons/Crown.js +12 -0
  37. package/dist/components/icons/bild_icons/Document.js +11 -0
  38. package/dist/components/icons/bild_icons/Downvote.js +11 -0
  39. package/dist/components/icons/bild_icons/Ellipsis.js +12 -0
  40. package/dist/components/icons/bild_icons/ExpertBadge.js +33 -0
  41. package/dist/components/icons/bild_icons/Facebook.js +11 -0
  42. package/dist/components/icons/bild_icons/Flag.js +11 -0
  43. package/dist/components/icons/bild_icons/Home.js +11 -0
  44. package/dist/components/icons/bild_icons/Italic.js +11 -0
  45. package/dist/components/icons/bild_icons/LightArrow.js +12 -0
  46. package/dist/components/icons/bild_icons/Link.js +11 -0
  47. package/dist/components/icons/bild_icons/Login.js +19 -0
  48. package/dist/components/icons/bild_icons/Logora.js +25 -0
  49. package/dist/components/icons/bild_icons/Mail.js +11 -0
  50. package/dist/components/icons/bild_icons/MinusCircle.js +24 -0
  51. package/dist/components/icons/bild_icons/MobileClose.js +19 -0
  52. package/dist/components/icons/bild_icons/MobileMenu.js +29 -0
  53. package/dist/components/icons/bild_icons/Next.js +22 -0
  54. package/dist/components/icons/bild_icons/OpenBlank.js +15 -0
  55. package/dist/components/icons/bild_icons/OrderedList.js +11 -0
  56. package/dist/components/icons/bild_icons/PauseCircle.js +34 -0
  57. package/dist/components/icons/bild_icons/Point.js +21 -0
  58. package/dist/components/icons/bild_icons/Question.js +18 -0
  59. package/dist/components/icons/bild_icons/Refresh.js +11 -0
  60. package/dist/components/icons/bild_icons/Reply.js +11 -0
  61. package/dist/components/icons/bild_icons/Search.js +11 -0
  62. package/dist/components/icons/bild_icons/Send.js +11 -0
  63. package/dist/components/icons/bild_icons/Share.js +12 -0
  64. package/dist/components/icons/bild_icons/SmallArrow.js +11 -0
  65. package/dist/components/icons/bild_icons/Source.js +11 -0
  66. package/dist/components/icons/bild_icons/Suggestion.js +19 -0
  67. package/dist/components/icons/bild_icons/Twitter.js +29 -0
  68. package/dist/components/icons/bild_icons/Underline.js +11 -0
  69. package/dist/components/icons/bild_icons/Upvote.js +11 -0
  70. package/dist/components/icons/bild_icons/User.js +11 -0
  71. package/dist/components/icons/bild_icons/Versus.js +14 -0
  72. package/dist/components/icons/bild_icons/Votebox.js +12 -0
  73. package/dist/components/icons/bild_icons/index.js +110 -0
  74. package/dist/components/icons/hero_icons/Alarm.js +18 -0
  75. package/dist/components/icons/hero_icons/Announcement.js +18 -0
  76. package/dist/components/icons/hero_icons/Arrow.js +18 -0
  77. package/dist/components/icons/hero_icons/Blockquote.js +27 -0
  78. package/dist/components/icons/hero_icons/Bold.js +17 -0
  79. package/dist/components/icons/hero_icons/Camera.js +22 -0
  80. package/dist/components/icons/hero_icons/Chat.js +18 -0
  81. package/dist/components/icons/hero_icons/Check.js +18 -0
  82. package/dist/components/icons/hero_icons/CheckCircle.js +20 -0
  83. package/dist/components/icons/hero_icons/Checkbox.js +18 -0
  84. package/dist/components/icons/hero_icons/Clap.js +18 -0
  85. package/dist/components/icons/hero_icons/Clock.js +18 -0
  86. package/dist/components/icons/hero_icons/Close.js +18 -0
  87. package/dist/components/icons/hero_icons/Code.js +18 -0
  88. package/dist/components/icons/hero_icons/Community.js +18 -0
  89. package/dist/components/icons/hero_icons/Crown.js +18 -0
  90. package/dist/components/icons/hero_icons/Downvote.js +18 -0
  91. package/dist/components/icons/hero_icons/Ellipsis.js +18 -0
  92. package/dist/components/icons/hero_icons/ExpertBadge.js +18 -0
  93. package/dist/components/icons/hero_icons/Facebook.js +11 -0
  94. package/dist/components/icons/hero_icons/Flag.js +11 -0
  95. package/dist/components/icons/hero_icons/Home.js +18 -0
  96. package/dist/components/icons/hero_icons/Italic.js +17 -0
  97. package/dist/components/icons/hero_icons/LightArrow.js +12 -0
  98. package/dist/components/icons/hero_icons/Link.js +18 -0
  99. package/dist/components/icons/hero_icons/Login.js +19 -0
  100. package/dist/components/icons/hero_icons/Logora.js +25 -0
  101. package/dist/components/icons/hero_icons/Mail.js +18 -0
  102. package/dist/components/icons/hero_icons/MinusCircle.js +24 -0
  103. package/dist/components/icons/hero_icons/MobileClose.js +18 -0
  104. package/dist/components/icons/hero_icons/MobileMenu.js +18 -0
  105. package/dist/components/icons/hero_icons/Next.js +18 -0
  106. package/dist/components/icons/hero_icons/OpenBlank.js +18 -0
  107. package/dist/components/icons/hero_icons/OrderedList.js +47 -0
  108. package/dist/components/icons/hero_icons/PauseCircle.js +34 -0
  109. package/dist/components/icons/hero_icons/Point.js +21 -0
  110. package/dist/components/icons/hero_icons/Question.js +18 -0
  111. package/dist/components/icons/hero_icons/Refresh.js +18 -0
  112. package/dist/components/icons/hero_icons/Reply.js +18 -0
  113. package/dist/components/icons/hero_icons/Search.js +18 -0
  114. package/dist/components/icons/hero_icons/Send.js +18 -0
  115. package/dist/components/icons/hero_icons/Share.js +18 -0
  116. package/dist/components/icons/hero_icons/SmallArrow.js +18 -0
  117. package/dist/components/icons/hero_icons/Source.js +18 -0
  118. package/dist/components/icons/hero_icons/Suggestion.js +18 -0
  119. package/dist/components/icons/hero_icons/Twitter.js +29 -0
  120. package/dist/components/icons/hero_icons/Underline.js +27 -0
  121. package/dist/components/icons/hero_icons/Upvote.js +18 -0
  122. package/dist/components/icons/hero_icons/User.js +18 -0
  123. package/dist/components/icons/hero_icons/Versus.js +18 -0
  124. package/dist/components/icons/hero_icons/Votebox.js +18 -0
  125. package/dist/components/icons/hero_icons/index.js +108 -0
  126. package/dist/components/icons/krone_icons/Alarm.js +28 -0
  127. package/dist/components/icons/krone_icons/Announcement.js +16 -0
  128. package/dist/components/icons/krone_icons/Arrow.js +11 -0
  129. package/dist/components/icons/krone_icons/Blockquote.js +11 -0
  130. package/dist/components/icons/krone_icons/Bold.js +11 -0
  131. package/dist/components/icons/krone_icons/Camera.js +11 -0
  132. package/dist/components/icons/krone_icons/Chat.js +30 -0
  133. package/dist/components/icons/krone_icons/Check.js +11 -0
  134. package/dist/components/icons/krone_icons/CheckCircle.js +20 -0
  135. package/dist/components/icons/krone_icons/Clap.js +30 -0
  136. package/dist/components/icons/krone_icons/Clock.js +11 -0
  137. package/dist/components/icons/krone_icons/Close.js +11 -0
  138. package/dist/components/icons/krone_icons/Code.js +32 -0
  139. package/dist/components/icons/krone_icons/Community.js +11 -0
  140. package/dist/components/icons/krone_icons/Crown.js +11 -0
  141. package/dist/components/icons/krone_icons/Document.js +11 -0
  142. package/dist/components/icons/krone_icons/Downvote.js +11 -0
  143. package/dist/components/icons/krone_icons/Ellipsis.js +18 -0
  144. package/dist/components/icons/krone_icons/ExpertBadge.js +30 -0
  145. package/dist/components/icons/krone_icons/Facebook.js +11 -0
  146. package/dist/components/icons/krone_icons/Flag.js +11 -0
  147. package/dist/components/icons/krone_icons/Home.js +30 -0
  148. package/dist/components/icons/krone_icons/Italic.js +11 -0
  149. package/dist/components/icons/krone_icons/LightArrow.js +11 -0
  150. package/dist/components/icons/krone_icons/Link.js +11 -0
  151. package/dist/components/icons/krone_icons/Login.js +18 -0
  152. package/dist/components/icons/krone_icons/Logora.js +25 -0
  153. package/dist/components/icons/krone_icons/Mail.js +11 -0
  154. package/dist/components/icons/krone_icons/MinusCircle.js +24 -0
  155. package/dist/components/icons/krone_icons/MobileClose.js +18 -0
  156. package/dist/components/icons/krone_icons/MobileMenu.js +29 -0
  157. package/dist/components/icons/krone_icons/Next.js +22 -0
  158. package/dist/components/icons/krone_icons/OpenBlank.js +15 -0
  159. package/dist/components/icons/krone_icons/OrderedList.js +11 -0
  160. package/dist/components/icons/krone_icons/PauseCircle.js +33 -0
  161. package/dist/components/icons/krone_icons/Point.js +21 -0
  162. package/dist/components/icons/krone_icons/Question.js +30 -0
  163. package/dist/components/icons/krone_icons/Refresh.js +11 -0
  164. package/dist/components/icons/krone_icons/Reply.js +18 -0
  165. package/dist/components/icons/krone_icons/Search.js +11 -0
  166. package/dist/components/icons/krone_icons/Send.js +26 -0
  167. package/dist/components/icons/krone_icons/Share.js +14 -0
  168. package/dist/components/icons/krone_icons/SmallArrow.js +11 -0
  169. package/dist/components/icons/krone_icons/Source.js +11 -0
  170. package/dist/components/icons/krone_icons/Suggestion.js +30 -0
  171. package/dist/components/icons/krone_icons/Twitter.js +29 -0
  172. package/dist/components/icons/krone_icons/Underline.js +11 -0
  173. package/dist/components/icons/krone_icons/Upvote.js +30 -0
  174. package/dist/components/icons/krone_icons/User.js +33 -0
  175. package/dist/components/icons/krone_icons/Versus.js +11 -0
  176. package/dist/components/icons/krone_icons/Votebox.js +30 -0
  177. package/dist/components/icons/krone_icons/index.js +110 -0
  178. package/dist/components/icons/regular_icons/Alarm.js +15 -0
  179. package/dist/components/icons/regular_icons/Announcement.js +20 -0
  180. package/dist/components/icons/regular_icons/Arrow.js +11 -0
  181. package/dist/components/icons/regular_icons/Blockquote.js +11 -0
  182. package/dist/components/icons/regular_icons/Bold.js +11 -0
  183. package/dist/components/icons/regular_icons/Camera.js +11 -0
  184. package/dist/components/icons/regular_icons/Chat.js +16 -0
  185. package/dist/components/icons/regular_icons/Check.js +11 -0
  186. package/dist/components/icons/regular_icons/CheckCircle.js +20 -0
  187. package/dist/components/icons/regular_icons/Checkbox.js +11 -0
  188. package/dist/components/icons/regular_icons/Clap.js +15 -0
  189. package/dist/components/icons/regular_icons/Clock.js +11 -0
  190. package/dist/components/icons/regular_icons/Close.js +11 -0
  191. package/dist/components/icons/regular_icons/Code.js +32 -0
  192. package/dist/components/icons/regular_icons/Community.js +11 -0
  193. package/dist/components/icons/regular_icons/Crown.js +11 -0
  194. package/dist/components/icons/regular_icons/Document.js +11 -0
  195. package/dist/components/icons/regular_icons/Downvote.js +11 -0
  196. package/dist/components/icons/regular_icons/Ellipsis.js +11 -0
  197. package/dist/components/icons/regular_icons/ExpertBadge.js +32 -0
  198. package/dist/components/icons/regular_icons/Facebook.js +11 -0
  199. package/dist/components/icons/regular_icons/Flag.js +11 -0
  200. package/dist/components/icons/regular_icons/Home.js +11 -0
  201. package/dist/components/icons/regular_icons/Italic.js +11 -0
  202. package/dist/components/icons/regular_icons/LightArrow.js +11 -0
  203. package/dist/components/icons/regular_icons/Link.js +11 -0
  204. package/dist/components/icons/regular_icons/Login.js +18 -0
  205. package/dist/components/icons/regular_icons/Logora.js +25 -0
  206. package/dist/components/icons/regular_icons/Mail.js +11 -0
  207. package/dist/components/icons/regular_icons/MinusCircle.js +24 -0
  208. package/dist/components/icons/regular_icons/MobileClose.js +18 -0
  209. package/dist/components/icons/regular_icons/MobileMenu.js +29 -0
  210. package/dist/components/icons/regular_icons/Next.js +22 -0
  211. package/dist/components/icons/regular_icons/OpenBlank.js +15 -0
  212. package/dist/components/icons/regular_icons/OrderedList.js +11 -0
  213. package/dist/components/icons/regular_icons/PauseCircle.js +33 -0
  214. package/dist/components/icons/regular_icons/Point.js +21 -0
  215. package/dist/components/icons/regular_icons/Question.js +18 -0
  216. package/dist/components/icons/regular_icons/Refresh.js +11 -0
  217. package/dist/components/icons/regular_icons/Reply.js +11 -0
  218. package/dist/components/icons/regular_icons/Search.js +11 -0
  219. package/dist/components/icons/regular_icons/Send.js +11 -0
  220. package/dist/components/icons/regular_icons/Share.js +12 -0
  221. package/dist/components/icons/regular_icons/SmallArrow.js +11 -0
  222. package/dist/components/icons/regular_icons/Source.js +11 -0
  223. package/dist/components/icons/regular_icons/Suggestion.js +19 -0
  224. package/dist/components/icons/regular_icons/Twitter.js +29 -0
  225. package/dist/components/icons/regular_icons/Underline.js +11 -0
  226. package/dist/components/icons/regular_icons/Upvote.js +11 -0
  227. package/dist/components/icons/regular_icons/User.js +11 -0
  228. package/dist/components/icons/regular_icons/Versus.js +11 -0
  229. package/dist/components/icons/regular_icons/Votebox.js +12 -0
  230. package/dist/components/icons/regular_icons/index.js +110 -0
  231. package/dist/components/icons/spiegel_icons/Alarm.js +15 -0
  232. package/dist/components/icons/spiegel_icons/Announcement.js +20 -0
  233. package/dist/components/icons/spiegel_icons/Arrow.js +11 -0
  234. package/dist/components/icons/spiegel_icons/Blockquote.js +26 -0
  235. package/dist/components/icons/spiegel_icons/Bold.js +16 -0
  236. package/dist/components/icons/spiegel_icons/Camera.js +11 -0
  237. package/dist/components/icons/spiegel_icons/Chat.js +12 -0
  238. package/dist/components/icons/spiegel_icons/Check.js +11 -0
  239. package/dist/components/icons/spiegel_icons/CheckCircle.js +20 -0
  240. package/dist/components/icons/spiegel_icons/Checkbox.js +26 -0
  241. package/dist/components/icons/spiegel_icons/Clap.js +26 -0
  242. package/dist/components/icons/spiegel_icons/Clock.js +26 -0
  243. package/dist/components/icons/spiegel_icons/Close.js +15 -0
  244. package/dist/components/icons/spiegel_icons/Code.js +32 -0
  245. package/dist/components/icons/spiegel_icons/Community.js +11 -0
  246. package/dist/components/icons/spiegel_icons/Crown.js +12 -0
  247. package/dist/components/icons/spiegel_icons/Downvote.js +11 -0
  248. package/dist/components/icons/spiegel_icons/Ellipsis.js +12 -0
  249. package/dist/components/icons/spiegel_icons/ExpertBadge.js +28 -0
  250. package/dist/components/icons/spiegel_icons/Facebook.js +16 -0
  251. package/dist/components/icons/spiegel_icons/Flag.js +20 -0
  252. package/dist/components/icons/spiegel_icons/Home.js +11 -0
  253. package/dist/components/icons/spiegel_icons/Italic.js +16 -0
  254. package/dist/components/icons/spiegel_icons/LightArrow.js +12 -0
  255. package/dist/components/icons/spiegel_icons/Link.js +26 -0
  256. package/dist/components/icons/spiegel_icons/Login.js +19 -0
  257. package/dist/components/icons/spiegel_icons/Logora.js +25 -0
  258. package/dist/components/icons/spiegel_icons/Mail.js +16 -0
  259. package/dist/components/icons/spiegel_icons/MinusCircle.js +20 -0
  260. package/dist/components/icons/spiegel_icons/MobileClose.js +19 -0
  261. package/dist/components/icons/spiegel_icons/MobileMenu.js +29 -0
  262. package/dist/components/icons/spiegel_icons/Next.js +22 -0
  263. package/dist/components/icons/spiegel_icons/OpenBlank.js +15 -0
  264. package/dist/components/icons/spiegel_icons/OrderedList.js +29 -0
  265. package/dist/components/icons/spiegel_icons/PauseCircle.js +20 -0
  266. package/dist/components/icons/spiegel_icons/Point.js +21 -0
  267. package/dist/components/icons/spiegel_icons/Question.js +30 -0
  268. package/dist/components/icons/spiegel_icons/Refresh.js +11 -0
  269. package/dist/components/icons/spiegel_icons/Reply.js +12 -0
  270. package/dist/components/icons/spiegel_icons/Search.js +11 -0
  271. package/dist/components/icons/spiegel_icons/Send.js +11 -0
  272. package/dist/components/icons/spiegel_icons/Share.js +26 -0
  273. package/dist/components/icons/spiegel_icons/SmallArrow.js +12 -0
  274. package/dist/components/icons/spiegel_icons/Source.js +11 -0
  275. package/dist/components/icons/spiegel_icons/Suggestion.js +16 -0
  276. package/dist/components/icons/spiegel_icons/Twitter.js +29 -0
  277. package/dist/components/icons/spiegel_icons/Underline.js +26 -0
  278. package/dist/components/icons/spiegel_icons/Upvote.js +11 -0
  279. package/dist/components/icons/spiegel_icons/User.js +11 -0
  280. package/dist/components/icons/spiegel_icons/Versus.js +14 -0
  281. package/dist/components/icons/spiegel_icons/Votebox.js +26 -0
  282. package/dist/components/icons/spiegel_icons/index.js +108 -0
  283. package/dist/components/input/argument_input/ArgumentInput.js +100 -99
  284. package/dist/components/input/search_input/SearchInput.js +4 -4
  285. package/dist/components/input/text_editor/TextEditor.js +50 -50
  286. package/dist/components/input/text_editor/lexicalToHtml.js +7 -7
  287. package/dist/components/input/text_editor/plugins/MaxLengthPlugin.js +12 -12
  288. package/dist/components/input/text_editor/plugins/ResetPlugin.js +6 -6
  289. package/dist/components/input/text_editor/plugins/SetContentPlugin.js +6 -6
  290. package/dist/components/input/text_editor/plugins/ToolbarPlugin.js +21 -21
  291. package/dist/components/intl/intl_provider/IntlProvider.js +6 -6
  292. package/dist/components/list/paginated_list/PaginatedList.js +16 -16
  293. package/dist/components/list/paginated_list/VotePaginatedList.js +6 -6
  294. package/dist/components/list/paginated_list/action_bar/ActionBar.js +7 -7
  295. package/dist/components/navbar/navbar_button/NavbarButton.js +3 -3
  296. package/dist/components/navbar/navbar_modal/NavbarModal.js +11 -11
  297. package/dist/components/notification/notification_menu/NotificationMenu.js +4 -4
  298. package/dist/components/proposal/proposal_box/ProposalBox.js +8 -8
  299. package/dist/components/share/share_box/ShareBox.js +17 -17
  300. package/dist/components/source/context_source_list/ContextSourceList.js +3 -3
  301. package/dist/components/source/source_modal/SourceModal.js +16 -16
  302. package/dist/components/suggestion/suggestion_banner/SuggestionBanner.js +14 -14
  303. package/dist/components/suggestion/suggestion_box/SuggestionBox.js +6 -6
  304. package/dist/components/suggestion/suggestion_input/SuggestionInput.js +13 -12
  305. package/dist/components/user/avatar/Avatar.js +7 -7
  306. package/dist/components/user/update_user_info_modal/UpdateUserInfoModal.js +17 -15
  307. package/dist/components/user_content/content_footer/ContentFooter.js +11 -11
  308. package/dist/components/user_content/summary_content_box/SummaryContentBox.js +6 -6
  309. package/dist/components/user_content/use_delete_content/useDeleteContent.js +7 -7
  310. package/dist/components/user_content/use_report_content/ReportModal.js +9 -9
  311. package/dist/components/vote/use_vote/useVote.js +3 -3
  312. package/dist/components/vote/vote_box/VoteBox.js +7 -7
  313. package/dist/index.js +140 -84
  314. 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 +57 -57
  315. 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 +14 -14
  316. 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 +15 -15
  317. 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 +6 -6
  318. 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 +1 -1
  319. 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 +21 -21
  320. package/package.json +6 -1
@@ -2,18 +2,18 @@ import { __toESM as e } from "../../../_virtual/_rolldown/runtime.js";
2
2
  import { require_jsx_runtime as t } from "../../../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
3
3
  import { Icon as n } from "../../icons/icon/Icon.js";
4
4
  import { require_classnames as r } from "../../../node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
5
- import i from "../../../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";
6
- import { Select as a } from "../../input/select/Select.js";
7
- import { Loader as o } from "../../progress/loader/Loader.js";
8
- import { Tag as s } from "../../tag/tag/Tag.js";
9
- import { StandardErrorBoundary as c } from "../../error/standard_error_boundary/StandardErrorBoundary.js";
5
+ import { StandardErrorBoundary as i } from "../../error/standard_error_boundary/StandardErrorBoundary.js";
6
+ import { Loader as a } from "../../progress/loader/Loader.js";
7
+ import o from "../../../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";
8
+ import { Select as s } from "../../input/select/Select.js";
9
+ import { Tag as c } from "../../tag/tag/Tag.js";
10
10
  import "../../../node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/auto/auto.js";
11
11
  import { Line as l } from "../../../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";
12
12
  import u from "./LineChart.module.js";
13
13
  import { useEffect as d, useState as f } from "react";
14
14
  //#region src/components/chart/line_chart/LineChart.jsx
15
15
  var p = /* @__PURE__ */ e(r()), m = t(), h = ({ data: e, labels: t, onFilterChange: r, title: h, className: g, filterOptions: _ }) => {
16
- let v = i(), y = {
16
+ let v = o(), y = {
17
17
  responsive: !0,
18
18
  maintainAspectRatio: !1,
19
19
  plugins: {
@@ -62,7 +62,7 @@ var p = /* @__PURE__ */ e(r()), m = t(), h = ({ data: e, labels: t, onFilterChan
62
62
  return /* @__PURE__ */ (0, m.jsx)("div", {
63
63
  className: u.tagItem,
64
64
  onClick: () => T(e.id == w ? null : e.id),
65
- children: /* @__PURE__ */ (0, m.jsx)(s, {
65
+ children: /* @__PURE__ */ (0, m.jsx)(c, {
66
66
  text: e.display_name || e.name,
67
67
  active: t,
68
68
  rightIcon: t && /* @__PURE__ */ (0, m.jsx)(n, {
@@ -73,11 +73,11 @@ var p = /* @__PURE__ */ e(r()), m = t(), h = ({ data: e, labels: t, onFilterChan
73
73
  })
74
74
  }, e.id);
75
75
  };
76
- return /* @__PURE__ */ (0, m.jsx)(c, { children: /* @__PURE__ */ (0, m.jsxs)("div", {
76
+ return /* @__PURE__ */ (0, m.jsx)(i, { children: /* @__PURE__ */ (0, m.jsxs)("div", {
77
77
  className: (0, p.default)(u.lineChartContainer, g),
78
78
  children: [/* @__PURE__ */ (0, m.jsxs)("div", {
79
79
  className: u.lineChartFilterOptions,
80
- children: [/* @__PURE__ */ (0, m.jsx)(a, {
80
+ children: [/* @__PURE__ */ (0, m.jsx)(s, {
81
81
  options: _,
82
82
  onChange: (e) => O(e.value)
83
83
  }), t && /* @__PURE__ */ (0, m.jsx)("div", {
@@ -88,7 +88,7 @@ var p = /* @__PURE__ */ e(r()), m = t(), h = ({ data: e, labels: t, onFilterChan
88
88
  name: "aaa"
89
89
  }, ...t].sort((e, t) => e.name.localeCompare(t.name, "fr", { ignorePunctuation: !0 })).map(A)
90
90
  })]
91
- }), b ? /* @__PURE__ */ (0, m.jsx)(o, {}) : /* @__PURE__ */ (0, m.jsx)("div", {
91
+ }), b ? /* @__PURE__ */ (0, m.jsx)(a, {}) : /* @__PURE__ */ (0, m.jsx)("div", {
92
92
  className: u.lineChartWrapper,
93
93
  children: /* @__PURE__ */ (0, m.jsx)(l, {
94
94
  data: E,
@@ -1,7 +1,7 @@
1
1
  import { require_jsx_runtime as e } from "../../../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import t from "../../../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";
2
+ import { StandardErrorBoundary as t } from "../../error/standard_error_boundary/StandardErrorBoundary.js";
3
3
  import { Loader as n } from "../../progress/loader/Loader.js";
4
- import { StandardErrorBoundary as r } from "../../error/standard_error_boundary/StandardErrorBoundary.js";
4
+ import r from "../../../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";
5
5
  import "../../../node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/auto/auto.js";
6
6
  import { Pie as i } from "../../../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";
7
7
  import "../../../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";
@@ -18,7 +18,7 @@ var c = e(), l = [
18
18
  "rgba(255, 143, 102, 0.8)",
19
19
  "rgba(93, 82, 179, 0.8)"
20
20
  ], u = ({ data: e, labels: u, totalItemsCount: d, pieTitle: f, colors: p, minPercentageValue: m = .75 }) => {
21
- let h = t(), [g, _] = s(void 0), [v, y] = s(0), [b, x] = s(!0);
21
+ let h = r(), [g, _] = s(void 0), [v, y] = s(0), [b, x] = s(!0);
22
22
  o(() => {
23
23
  e != null && (S(e), y(e.length));
24
24
  }, [e]);
@@ -46,21 +46,17 @@ var c = e(), l = [
46
46
  display: !0,
47
47
  color: "white",
48
48
  font: { size: "16" },
49
- formatter: function(e) {
50
- return e >= v ? e + " %" : " ";
51
- }
49
+ formatter: (e) => e >= v ? e + " %" : " "
52
50
  },
53
51
  title: {
54
52
  display: !0,
55
53
  font: { size: "16" },
56
54
  text: f
57
55
  },
58
- tooltip: { callbacks: { label: function(e) {
59
- return ` ${e.label}`;
60
- } } }
56
+ tooltip: { callbacks: { label: (e) => ` ${e.label}` } }
61
57
  }
62
58
  };
63
- return /* @__PURE__ */ (0, c.jsx)(r, { children: b ? /* @__PURE__ */ (0, c.jsx)(n, {}) : /* @__PURE__ */ (0, c.jsx)("div", {
59
+ return /* @__PURE__ */ (0, c.jsx)(t, { children: b ? /* @__PURE__ */ (0, c.jsx)(n, {}) : /* @__PURE__ */ (0, c.jsx)("div", {
64
60
  className: a.pieChart,
65
61
  "data-testid": "pieChartCanvas",
66
62
  children: /* @__PURE__ */ (0, c.jsx)(i, {
@@ -4,23 +4,28 @@ import { Link as n } from "../../action/link/Link.js";
4
4
  import { Icon as r } from "../../icons/icon/Icon.js";
5
5
  import { require_classnames as i } from "../../../node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
6
6
  import { useRoutes as a } from "../../data/config_provider/useRoutes.js";
7
- import o from "../../../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";
8
- import s from "../../../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";
9
- import { TranslatedContent as c } from "../../translation/translated_content/TranslatedContent.js";
10
- import { useRelativeTime as l } from "../../hooks/use_relative_time/useRelativeTime.js";
11
- import { useResponsive as u } from "../../hooks/use_responsive/useResponsive.js";
7
+ import { useResponsive as o } from "../../hooks/use_responsive/useResponsive.js";
8
+ import s from "../../../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";
9
+ import c from "../../../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";
10
+ import { TranslatedContent as l } from "../../translation/translated_content/TranslatedContent.js";
11
+ import { useRelativeTime as u } from "../../hooks/use_relative_time/useRelativeTime.js";
12
12
  import { ProgressBar as d } from "../../progress/progress_bar/ProgressBar.js";
13
13
  import f from "./ConsultationBox.module.js";
14
14
  import { useMemo as p } from "react";
15
15
  //#region src/components/consultation/consultation_box/ConsultationBox.jsx
16
16
  var m = /* @__PURE__ */ e(i()), h = t(), g = ({ consultation: e }) => {
17
- let t = o(), i = p(() => /* @__PURE__ */ new Date()), g = new Date(e.ends_at), _ = l(g.getTime()), v = a(), { isMobile: y } = u(), b = () => g < i ? /* @__PURE__ */ (0, h.jsx)("span", { children: /* @__PURE__ */ (0, h.jsx)(s, {
17
+ let t = s(), i = p(() => /* @__PURE__ */ new Date()), g = new Date(e.ends_at), _ = u(g.getTime()), v = a(), { isMobile: y } = o(), b = () => g < i ? /* @__PURE__ */ (0, h.jsx)("span", { children: /* @__PURE__ */ (0, h.jsx)(c, {
18
18
  id: "consultation.consultation_box.consultation_ended",
19
19
  defaultMessage: "Consultation ended"
20
- }) }) : /* @__PURE__ */ (0, h.jsxs)(h.Fragment, { children: [/* @__PURE__ */ (0, h.jsxs)("span", { children: [/* @__PURE__ */ (0, h.jsx)(s, {
21
- id: "consultation.consultation_box.in_progress",
22
- defaultMessage: "Consultation in progress"
23
- }), " - "] }), /* @__PURE__ */ (0, h.jsx)("span", { children: _ })] });
20
+ }) }) : /* @__PURE__ */ (0, h.jsxs)(h.Fragment, { children: [/* @__PURE__ */ (0, h.jsxs)("span", { children: [
21
+ /* @__PURE__ */ (0, h.jsx)(c, {
22
+ id: "consultation.consultation_box.in_progress",
23
+ defaultMessage: "Consultation in progress"
24
+ }),
25
+ " ",
26
+ "-",
27
+ " "
28
+ ] }), /* @__PURE__ */ (0, h.jsx)("span", { children: _ })] });
24
29
  return /* @__PURE__ */ (0, h.jsx)(h.Fragment, { children: /* @__PURE__ */ (0, h.jsxs)("div", {
25
30
  className: f.container,
26
31
  children: [
@@ -44,7 +49,7 @@ var m = /* @__PURE__ */ e(i()), h = t(), g = ({ consultation: e }) => {
44
49
  to: v.consultationShowLocation.toUrl({ consultationSlug: e.slug }),
45
50
  children: /* @__PURE__ */ (0, h.jsx)("div", {
46
51
  className: f.consultationTitle,
47
- children: /* @__PURE__ */ (0, h.jsx)(c, {
52
+ children: /* @__PURE__ */ (0, h.jsx)(l, {
48
53
  originalContent: e.title,
49
54
  originalLanguage: e.language,
50
55
  targetField: "title",
@@ -56,10 +61,10 @@ var m = /* @__PURE__ */ e(i()), h = t(), g = ({ consultation: e }) => {
56
61
  to: v.consultationShowLocation.toUrl({ consultationSlug: e.slug }),
57
62
  children: /* @__PURE__ */ (0, h.jsxs)("div", {
58
63
  className: f.consultationButtonContainer,
59
- children: [e.ends_at && g < i ? /* @__PURE__ */ (0, h.jsx)("span", { children: /* @__PURE__ */ (0, h.jsx)(s, {
64
+ children: [e.ends_at && g < i ? /* @__PURE__ */ (0, h.jsx)("span", { children: /* @__PURE__ */ (0, h.jsx)(c, {
60
65
  id: "consultation.consultation_box.action_show_result",
61
66
  defaultMessage: "Show result"
62
- }) }) : /* @__PURE__ */ (0, h.jsx)("span", { children: /* @__PURE__ */ (0, h.jsx)(s, {
67
+ }) }) : /* @__PURE__ */ (0, h.jsx)("span", { children: /* @__PURE__ */ (0, h.jsx)(c, {
63
68
  id: "consultation.consultation_box.action_consultation_participate",
64
69
  defaultMessage: "Participate"
65
70
  }) }), /* @__PURE__ */ (0, h.jsx)(r, {
@@ -97,7 +102,7 @@ var m = /* @__PURE__ */ e(i()), h = t(), g = ({ consultation: e }) => {
97
102
  })]
98
103
  }), e.vote_goal > 0 && /* @__PURE__ */ (0, h.jsx)("div", {
99
104
  className: (0, m.default)(f.consultationGroupInformation, f.progressBarContainer),
100
- children: g < i ? /* @__PURE__ */ (0, h.jsx)(s, {
105
+ children: g < i ? /* @__PURE__ */ (0, h.jsx)(c, {
101
106
  id: "consultation.consultation_box.stats_votes",
102
107
  values: { votesCount: e.total_votes },
103
108
  defaultMessage: "{votesCount} votes"
@@ -5,17 +5,17 @@ import { Icon as r } from "../../icons/icon/Icon.js";
5
5
  import { require_classnames as i } from "../../../node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
6
6
  import { useConfig as a } from "../../data/config_provider/useConfig.js";
7
7
  import { useRoutes as o } from "../../data/config_provider/useRoutes.js";
8
- import s from "../../../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";
9
- import c from "../../../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";
10
- import { useTranslatedContent as l } from "../../translation/translated_content/useTranslatedContent.js";
11
- import { Tooltip as u } from "../../dialog/tooltip/Tooltip.js";
12
- import { Avatar as d } from "../../user/avatar/Avatar.js";
13
- import { useResponsive as f } from "../../hooks/use_responsive/useResponsive.js";
8
+ import { useResponsive as s } from "../../hooks/use_responsive/useResponsive.js";
9
+ import c from "../../../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";
10
+ import l from "../../../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";
11
+ import { useTranslatedContent as u } from "../../translation/translated_content/useTranslatedContent.js";
12
+ import { Tooltip as d } from "../../dialog/tooltip/Tooltip.js";
13
+ import { Avatar as f } from "../../user/avatar/Avatar.js";
14
14
  import p from "./DebateBox.module.js";
15
15
  import "react";
16
16
  //#region src/components/debate/debate_box/DebateBox.jsx
17
17
  var m = /* @__PURE__ */ e(i()), h = t(), g = ({ debate: e }) => {
18
- let t = a(), i = o(), g = s(), { isMobile: _ } = f(), v = e.votes_count?.total || Object.values(e.votes_count).reduce((e, t) => e + parseFloat(t), 0) || 0, y = e.group_context?.positions.reduce((t, n) => parseInt(e.votes_count[n.id]) > parseInt(e.votes_count[t.id]) ? n : t), b = l(e.name, e.language, "name", e.translation_entries), x = l(y.name, y.language, "name", y.translation_entries), S = (e, t) => t == 0 || e == 0 ? 0 : Math.round(e / t * 100);
18
+ let t = a(), i = o(), g = c(), { isMobile: _ } = s(), v = e.votes_count?.total || Object.values(e.votes_count).reduce((e, t) => e + Number.parseFloat(t), 0) || 0, y = e.group_context?.positions.reduce((t, n) => Number.parseInt(e.votes_count[n.id]) > Number.parseInt(e.votes_count[t.id]) ? n : t), b = u(e.name, e.language, "name", e.translation_entries), x = u(y.name, y.language, "name", y.translation_entries), S = (e, t) => t == 0 || e == 0 ? 0 : Math.round(e / t * 100);
19
19
  return /* @__PURE__ */ (0, h.jsxs)("div", {
20
20
  className: p.debateBox,
21
21
  children: [/* @__PURE__ */ (0, h.jsxs)("div", {
@@ -42,7 +42,7 @@ var m = /* @__PURE__ */ e(i()), h = t(), g = ({ debate: e }) => {
42
42
  })
43
43
  }), e.is_active === !1 && /* @__PURE__ */ (0, h.jsx)("div", {
44
44
  className: p.inactiveDebate,
45
- children: /* @__PURE__ */ (0, h.jsx)(c, {
45
+ children: /* @__PURE__ */ (0, h.jsx)(l, {
46
46
  id: "debate.debate_box.debate_is_inactive",
47
47
  defaultMessage: "Debate is ended"
48
48
  })
@@ -55,7 +55,7 @@ var m = /* @__PURE__ */ e(i()), h = t(), g = ({ debate: e }) => {
55
55
  height: 15
56
56
  }), /* @__PURE__ */ (0, h.jsxs)("span", {
57
57
  className: p.authorSuggestion,
58
- children: [/* @__PURE__ */ (0, h.jsx)(c, {
58
+ children: [/* @__PURE__ */ (0, h.jsx)(l, {
59
59
  id: "debate.debate_box.suggestion_author_short",
60
60
  defaultMessage: "Suggested by"
61
61
  }), /* @__PURE__ */ (0, h.jsx)("span", {
@@ -103,7 +103,7 @@ var m = /* @__PURE__ */ e(i()), h = t(), g = ({ debate: e }) => {
103
103
  className: p.debateParticipantItem,
104
104
  children: /* @__PURE__ */ (0, h.jsx)(n, {
105
105
  to: i.userShowLocation.toUrl({ userSlug: e.hash_id }),
106
- children: /* @__PURE__ */ (0, h.jsx)(d, {
106
+ children: /* @__PURE__ */ (0, h.jsx)(f, {
107
107
  avatarUrl: e.image_url,
108
108
  userName: e.full_name,
109
109
  isOnline: new Date(e.last_activity) > Date.now(),
@@ -112,7 +112,7 @@ var m = /* @__PURE__ */ e(i()), h = t(), g = ({ debate: e }) => {
112
112
  })
113
113
  }, t)), e.participants_count > 3 && /* @__PURE__ */ (0, h.jsx)("div", {
114
114
  className: p.debateParticipantItem,
115
- children: /* @__PURE__ */ (0, h.jsx)(u, {
115
+ children: /* @__PURE__ */ (0, h.jsx)(d, {
116
116
  text: g.formatMessage({
117
117
  id: "debate.debate_box.participants_count",
118
118
  defaultMessage: "Number of debaters"
@@ -5,22 +5,22 @@ import { IconTextLink as r } from "../../action/icon_text_link/IconTextLink.js";
5
5
  import { useAuth as i } from "../../auth/use_auth/useAuth.js";
6
6
  import { useConfig as a } from "../../data/config_provider/useConfig.js";
7
7
  import { useRoutes as o } from "../../data/config_provider/useRoutes.js";
8
- import s from "../../../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";
9
- import { Avatar as c } from "../../user/avatar/Avatar.js";
10
- import { useAuthRequired as l } from "../../hooks/use_auth_required/useAuthRequired.js";
11
- import { Dropdown as u } from "../dropdown/Dropdown.js";
12
- import { Loader as d } from "../../progress/loader/Loader.js";
13
- import f from "../../../node_modules/.pnpm/react-modern-drawer@1.4.0_react@18.3.1/node_modules/react-modern-drawer/dist/index.modern.js";
14
- import { NavbarButton as p } from "../../navbar/navbar_button/NavbarButton.js";
15
- import { NotificationMenu as m } from "../../notification/notification_menu/NotificationMenu.js";
8
+ import { Loader as s } from "../../progress/loader/Loader.js";
9
+ import c from "../../../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";
10
+ import { Dropdown as l } from "../dropdown/Dropdown.js";
11
+ import { useAuthRequired as u } from "../../hooks/use_auth_required/useAuthRequired.js";
12
+ import { Avatar as d } from "../../user/avatar/Avatar.js";
13
+ import { NavbarButton as f } from "../../navbar/navbar_button/NavbarButton.js";
14
+ import { NotificationMenu as p } from "../../notification/notification_menu/NotificationMenu.js";
15
+ import m from "../../../node_modules/.pnpm/react-modern-drawer@1.4.0_react@18.3.1/node_modules/react-modern-drawer/dist/index.modern.js";
16
16
  /* empty css */
17
17
  import h from "./Drawer.module.js";
18
18
  import { Suspense as g, useEffect as _, useState as v } from "react";
19
19
  import { useLocation as y } from "react-router";
20
20
  //#region src/components/dialog/drawer/Drawer.jsx
21
21
  var b = e(), x = ({ isOpen: e = !1, onClose: x, title: S, size: C = "30vw", enableOverlay: w = !1, pathParameter: T = null, children: E, notificationDefinitions: D = {} }) => {
22
- let [O, k] = v(e), A = y(), j = o(), M = a(), N = s(), { isLoggedIn: P, currentUser: F } = i();
23
- l();
22
+ let [O, k] = v(e), A = y(), j = o(), M = a(), N = c(), { isLoggedIn: P, currentUser: F } = i();
23
+ u();
24
24
  let [I, L] = v(0), R = () => {
25
25
  if (k(!1), T && typeof window < "u") {
26
26
  let e = new URL(window.location);
@@ -39,7 +39,7 @@ var b = e(), x = ({ isOpen: e = !1, onClose: x, title: S, size: C = "30vw", enab
39
39
  if (typeof window < "u") return window.addEventListener("logora:drawer:close", R), () => {
40
40
  window.removeEventListener("logora:drawer:close", R);
41
41
  };
42
- }, []), /* @__PURE__ */ (0, b.jsx)(b.Fragment, { children: /* @__PURE__ */ (0, b.jsxs)(f, {
42
+ }, []), /* @__PURE__ */ (0, b.jsx)(b.Fragment, { children: /* @__PURE__ */ (0, b.jsxs)(m, {
43
43
  open: O,
44
44
  onClose: R,
45
45
  direction: "right",
@@ -71,13 +71,13 @@ var b = e(), x = ({ isOpen: e = !1, onClose: x, title: S, size: C = "30vw", enab
71
71
  className: h.headerRowBottom,
72
72
  children: [/* @__PURE__ */ (0, b.jsx)("div", {
73
73
  className: h.headerLeft,
74
- children: /* @__PURE__ */ (0, b.jsx)(p, {
74
+ children: /* @__PURE__ */ (0, b.jsx)(f, {
75
75
  inDrawer: !0,
76
76
  showNavbarButtonInDrawer: M?.layout?.showNavbarButtonInDrawer !== !1
77
77
  })
78
78
  }), P && M?.layout?.showProfileNotificationInDrawer !== !1 && /* @__PURE__ */ (0, b.jsxs)("div", {
79
79
  className: h.headerRight,
80
- children: [/* @__PURE__ */ (0, b.jsxs)(u, {
80
+ children: [/* @__PURE__ */ (0, b.jsxs)(l, {
81
81
  onClick: () => {
82
82
  L(0);
83
83
  },
@@ -96,14 +96,14 @@ var b = e(), x = ({ isOpen: e = !1, onClose: x, title: S, size: C = "30vw", enab
96
96
  })
97
97
  })
98
98
  }), /* @__PURE__ */ (0, b.jsx)(g, {
99
- fallback: /* @__PURE__ */ (0, b.jsx)(d, {}),
100
- children: /* @__PURE__ */ (0, b.jsx)(m, { notificationDefinitions: D })
99
+ fallback: /* @__PURE__ */ (0, b.jsx)(s, {}),
100
+ children: /* @__PURE__ */ (0, b.jsx)(p, { notificationDefinitions: D })
101
101
  })]
102
102
  }), /* @__PURE__ */ (0, b.jsx)("div", {
103
103
  className: h.drawerProfile,
104
104
  children: /* @__PURE__ */ (0, b.jsx)(t, {
105
105
  to: j.userShowLocation.toUrl({ userSlug: F.hash_id }),
106
- children: /* @__PURE__ */ (0, b.jsx)(c, {
106
+ children: /* @__PURE__ */ (0, b.jsx)(d, {
107
107
  avatarUrl: F.image_url,
108
108
  userName: F.full_name,
109
109
  size: 30
@@ -3,12 +3,12 @@ import { require_jsx_runtime as t } from "../../../node_modules/.pnpm/react@18.3
3
3
  import { Icon as n } from "../../icons/icon/Icon.js";
4
4
  import { require_classnames as r } from "../../../node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js";
5
5
  import i from "../../../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";
6
- import { useModal as a } from "./useModal.js";
7
- import o from "./Modal.module.js";
6
+ import a from "./Modal.module.js";
7
+ import { useModal as o } from "./useModal.js";
8
8
  import { useEffect as s, useRef as c } from "react";
9
9
  //#region src/components/dialog/modal/Modal.jsx
10
10
  var l = /* @__PURE__ */ e(r()), u = t(), d = ({ title: e, showCloseButton: t = !1, fullScreen: r, children: d, disableClickOutside: f = !1, ...p }) => {
11
- let m = c(), h = i(), { hideModal: g } = a();
11
+ let m = c(), h = i(), { hideModal: g } = o();
12
12
  s(() => {
13
13
  let e = m.current;
14
14
  if (!e) return;
@@ -25,21 +25,21 @@ var l = /* @__PURE__ */ e(r()), u = t(), d = ({ title: e, showCloseButton: t = !
25
25
  };
26
26
  return /* @__PURE__ */ (0, u.jsx)("dialog", {
27
27
  ref: m,
28
- className: (0, l.default)(o.modalDialog, { [o.modalDialogFullScreen]: r }),
28
+ className: (0, l.default)(a.modalDialog, { [a.modalDialogFullScreen]: r }),
29
29
  "aria-labelledby": e ? "modal-title" : void 0,
30
30
  onClick: _,
31
31
  onClose: v,
32
32
  ...p,
33
33
  children: /* @__PURE__ */ (0, u.jsxs)("div", {
34
- className: (0, l.default)(o.modalContainer),
34
+ className: (0, l.default)(a.modalContainer),
35
35
  children: [/* @__PURE__ */ (0, u.jsxs)("div", {
36
- className: (0, l.default)(o.modalHeader, { [o.modalHeaderWithTitle]: e }),
36
+ className: (0, l.default)(a.modalHeader, { [a.modalHeaderWithTitle]: e }),
37
37
  children: [e && /* @__PURE__ */ (0, u.jsx)("div", {
38
38
  id: "modal-title",
39
39
  children: e
40
40
  }), t && /* @__PURE__ */ (0, u.jsx)("button", {
41
41
  type: "button",
42
- className: o.modalExitButton,
42
+ className: a.modalExitButton,
43
43
  onClick: g,
44
44
  "aria-label": h.formatMessage({
45
45
  id: "dialog.modal.aria_label",
@@ -55,7 +55,7 @@ var l = /* @__PURE__ */ e(r()), u = t(), d = ({ title: e, showCloseButton: t = !
55
55
  })
56
56
  })]
57
57
  }), /* @__PURE__ */ (0, u.jsx)("div", {
58
- className: o.modalContent,
58
+ className: a.modalContent,
59
59
  children: d
60
60
  })]
61
61
  })
@@ -1,26 +1,26 @@
1
1
  import { require_jsx_runtime as e } from "../../../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { Fe as t, V as n, h as r, zt as i } from "../../../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";
3
- import { ToastContext as a } from "./ToastContext.js";
4
- import { Toast as o } from "../toast/Toast.js";
2
+ import { Toast as t } from "../toast/Toast.js";
3
+ import { Fe as n, V as r, h as i, zt as a } from "../../../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";
4
+ import { ToastContext as o } from "./ToastContext.js";
5
5
  import s from "./ToastProvider.module.js";
6
6
  import "react";
7
7
  //#region src/components/dialog/toast_provider/ToastProvider.jsx
8
8
  var c = e(), l = ({ children: e }) => {
9
- let { toasts: l } = n();
10
- return /* @__PURE__ */ (0, c.jsx)(a.Provider, {
9
+ let { toasts: l } = r();
10
+ return /* @__PURE__ */ (0, c.jsx)(o.Provider, {
11
11
  value: {
12
- toast: i,
12
+ toast: a,
13
13
  toasts: l
14
14
  },
15
- children: /* @__PURE__ */ (0, c.jsxs)(c.Fragment, { children: [e, /* @__PURE__ */ (0, c.jsx)(t, {
15
+ children: /* @__PURE__ */ (0, c.jsxs)(c.Fragment, { children: [e, /* @__PURE__ */ (0, c.jsx)(n, {
16
16
  position: "bottom-center",
17
17
  containerClassName: s.toaster,
18
18
  toastOptions: { duration: 4e3 },
19
- children: (e) => /* @__PURE__ */ (0, c.jsx)(o, {
20
- text: r(e.message, e),
19
+ children: (e) => /* @__PURE__ */ (0, c.jsx)(t, {
20
+ text: i(e.message, e),
21
21
  points: e.points,
22
22
  variant: e.type,
23
- handleClose: () => i.remove(e.id)
23
+ handleClose: () => a.remove(e.id)
24
24
  })
25
25
  })] })
26
26
  });
@@ -1,10 +1,10 @@
1
1
  import { require_jsx_runtime as e } from "../../../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
- import { ResponsiveContext as t } from "./ResponsiveContext.js";
3
- import { c as n } from "../../../node_modules/.pnpm/use-debounce@10.1.1_react@18.3.1/node_modules/use-debounce/dist/index.module.js";
2
+ import { c as t } from "../../../node_modules/.pnpm/use-debounce@10.1.1_react@18.3.1/node_modules/use-debounce/dist/index.module.js";
3
+ import { ResponsiveContext as n } from "./ResponsiveContext.js";
4
4
  import { useEffect as r, useState as i } from "react";
5
5
  //#region src/components/hooks/use_responsive/ResponsiveProvider.jsx
6
6
  var a = e(), o = ({ containerPath: e, containerWidth: o, children: s, isMobile: c }) => {
7
- let [l, u] = i(o), d = n(() => {
7
+ let [l, u] = i(o), d = t(() => {
8
8
  if (typeof window < "u" && e) {
9
9
  let t = document.querySelector(e);
10
10
  t && u(t.getBoundingClientRect().width.toFixed(2));
@@ -19,7 +19,7 @@ var a = e(), o = ({ containerPath: e, containerWidth: o, children: s, isMobile:
19
19
  if (typeof window < "u" && e) return window.addEventListener("resize", d), () => {
20
20
  window.removeEventListener("resize", d);
21
21
  };
22
- }, [d, e]), /* @__PURE__ */ (0, a.jsx)(t.Provider, {
22
+ }, [d, e]), /* @__PURE__ */ (0, a.jsx)(n.Provider, {
23
23
  value: {
24
24
  elementWidth: l,
25
25
  isMobile: c || l <= 576,
@@ -0,0 +1,15 @@
1
+ import { require_jsx_runtime as e } from "../../../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
+ import "react";
3
+ //#region src/components/icons/bild_icons/Alarm.jsx
4
+ var t = e(), n = (e) => /* @__PURE__ */ (0, t.jsx)("svg", {
5
+ viewBox: "0 0 50 50",
6
+ xmlns: "http://www.w3.org/2000/svg",
7
+ ...e,
8
+ children: /* @__PURE__ */ (0, t.jsx)("path", {
9
+ "fill-rule": "evenodd",
10
+ "clip-rule": "evenodd",
11
+ d: "M30.1824 7.02718C30.1824 4.75938 27.9853 2.7027 25.3076 2.7027C22.6297 2.7027 20.4324 4.75947 20.4324 7.02718V7.98188L19.5326 8.30087C14.0527 10.2434 11.4527 15.5412 11.4527 22.1621V33.2881H10.1013C6.31513 33.2881 4.7027 35.2386 4.7027 36.6665V39.1892C4.7027 39.5726 4.85077 39.8397 5.06454 40.0283C5.29777 40.234 5.63116 40.3605 5.97297 40.3605H44.6419C44.9837 40.3605 45.3171 40.234 45.5503 40.0283C45.7641 39.8397 45.9122 39.5726 45.9122 39.1892V36.6665C45.9122 35.2394 44.3007 33.2881 40.5067 33.2881H39.1554V22.1621C39.1554 15.54 36.5612 10.2431 31.0823 8.30087L30.1824 7.98188V7.02718ZM25.3076 0C28.8726 0 32.2895 2.5279 32.8153 6.07549C39.1898 8.76985 41.8581 15.205 41.8581 22.1621V30.6622C45.6917 31.1043 48.6148 33.4207 48.6148 36.6665V39.1892C48.6148 41.6664 46.5347 43.0632 44.6419 43.0632H33.9924C33.0746 46.9546 29.5204 50 25.3038 50C21.086 50 17.5384 46.9535 16.6218 43.0632H5.97297C4.08013 43.0632 2 41.6664 2 39.1892V36.6665C2 33.4218 4.92152 31.1051 8.75 30.6624V22.1621C8.75 15.2038 11.4252 8.76952 17.7995 6.07548C18.3254 2.52784 21.7427 0 25.3076 0ZM25.3038 47.2973C27.992 47.2973 30.3318 45.4777 31.1804 43.0632H19.4335C20.2808 45.4785 22.6167 47.2973 25.3038 47.2973Z"
12
+ })
13
+ });
14
+ //#endregion
15
+ export { n as Alarm };
@@ -0,0 +1,20 @@
1
+ import { require_jsx_runtime as e } from "../../../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
+ import "react";
3
+ //#region src/components/icons/bild_icons/Announcement.jsx
4
+ var t = e(), n = (e) => /* @__PURE__ */ (0, t.jsxs)("svg", {
5
+ viewBox: "0 0 25 25",
6
+ xmlns: "http://www.w3.org/2000/svg",
7
+ ...e,
8
+ children: [/* @__PURE__ */ (0, t.jsx)("circle", {
9
+ cx: "12.5",
10
+ cy: "12.5",
11
+ r: "11.5",
12
+ fill: "none",
13
+ stroke: "#000"
14
+ }), /* @__PURE__ */ (0, t.jsx)("path", {
15
+ d: "M10.884 7.1H14.046L13.519 14.869H11.411L10.884 7.1ZM12.465 19.136C12.0003 19.136 11.6093 18.9887 11.292 18.694C10.986 18.388 10.833 18.0197 10.833 17.589C10.833 17.1583 10.986 16.8013 11.292 16.518C11.598 16.2233 11.989 16.076 12.465 16.076C12.941 16.076 13.332 16.2233 13.638 16.518C13.944 16.8013 14.097 17.1583 14.097 17.589C14.097 18.0197 13.9383 18.388 13.621 18.694C13.315 18.9887 12.9297 19.136 12.465 19.136Z",
16
+ fill: "#000"
17
+ })]
18
+ });
19
+ //#endregion
20
+ export { n as Announcement };
@@ -0,0 +1,11 @@
1
+ import { require_jsx_runtime as e } from "../../../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
+ import "react";
3
+ //#region src/components/icons/bild_icons/Arrow.jsx
4
+ var t = e(), n = (e) => /* @__PURE__ */ (0, t.jsx)("svg", {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ viewBox: "0 0 24 24",
7
+ ...e,
8
+ children: /* @__PURE__ */ (0, t.jsx)("path", { d: "M19,11H9l3.29-3.29a1,1,0,0,0,0-1.42,1,1,0,0,0-1.41,0l-4.29,4.3A2,2,0,0,0,6,12H6a2,2,0,0,0,.59,1.4l4.29,4.3a1,1,0,1,0,1.41-1.42L9,13H19a1,1,0,0,0,0-2Z" })
9
+ });
10
+ //#endregion
11
+ export { n as Arrow };
@@ -0,0 +1,11 @@
1
+ import { require_jsx_runtime as e } from "../../../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
+ import "react";
3
+ //#region src/components/icons/bild_icons/Blockquote.jsx
4
+ var t = e(), n = (e) => /* @__PURE__ */ (0, t.jsx)("svg", {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ viewBox: "0 0 24 24",
7
+ ...e,
8
+ children: /* @__PURE__ */ (0, t.jsx)("path", { d: "M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z" })
9
+ });
10
+ //#endregion
11
+ export { n as Blockquote };
@@ -0,0 +1,11 @@
1
+ import { require_jsx_runtime as e } from "../../../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
+ import "react";
3
+ //#region src/components/icons/bild_icons/Bold.jsx
4
+ var t = e(), n = (e) => /* @__PURE__ */ (0, t.jsx)("svg", {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ viewBox: "0 0 24 24",
7
+ ...e,
8
+ children: /* @__PURE__ */ (0, t.jsx)("path", { d: "M15.6 10.79c.97-.67 1.65-1.77 1.65-2.79 0-2.26-1.75-4-4-4H7v14h7.04c2.09 0 3.71-1.7 3.71-3.79 0-1.52-.86-2.82-2.15-3.42zM10 6.5h3c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5h-3v-3zm3.5 9H10v-3h3.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5z" })
9
+ });
10
+ //#endregion
11
+ export { n as Bold };
@@ -0,0 +1,11 @@
1
+ import { require_jsx_runtime as e } from "../../../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
+ import "react";
3
+ //#region src/components/icons/bild_icons/Camera.jsx
4
+ var t = e(), n = (e) => /* @__PURE__ */ (0, t.jsxs)("svg", {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ viewBox: "0 0 24 24",
7
+ ...e,
8
+ children: [/* @__PURE__ */ (0, t.jsx)("path", { d: "M19,4h-.508L16.308,1.168A3.023,3.023,0,0,0,13.932,0H10.068A3.023,3.023,0,0,0,7.692,1.168L5.508,4H5A5.006,5.006,0,0,0,0,9V19a5.006,5.006,0,0,0,5,5H19a5.006,5.006,0,0,0,5-5V9A5.006,5.006,0,0,0,19,4ZM9.276,2.39A1.006,1.006,0,0,1,10.068,2h3.864a1.008,1.008,0,0,1,.792.39L15.966,4H8.034ZM22,19a3,3,0,0,1-3,3H5a3,3,0,0,1-3-3V9A3,3,0,0,1,5,6H19a3,3,0,0,1,3,3Z" }), /* @__PURE__ */ (0, t.jsx)("path", { d: "M12,8a6,6,0,1,0,6,6A6.006,6.006,0,0,0,12,8Zm0,10a4,4,0,1,1,4-4A4,4,0,0,1,12,18Z" })]
9
+ });
10
+ //#endregion
11
+ export { n as Camera };
@@ -0,0 +1,44 @@
1
+ import { require_jsx_runtime as e } from "../../../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
+ import "react";
3
+ //#region src/components/icons/bild_icons/Chat.jsx
4
+ var t = e(), n = (e) => /* @__PURE__ */ (0, t.jsxs)("svg", {
5
+ width: "50",
6
+ height: "50",
7
+ viewBox: "0 0 24 25",
8
+ fill: "none",
9
+ xmlns: "http://www.w3.org/2000/svg",
10
+ ...e,
11
+ children: [/* @__PURE__ */ (0, t.jsxs)("g", {
12
+ "clip-path": "url(#clip0_323_1559)",
13
+ children: [
14
+ /* @__PURE__ */ (0, t.jsx)("path", {
15
+ "clip-rule": "evenodd",
16
+ d: "M2 4.47833H22V20.4844H10.7734L4 24.4783V20.4844H2V4.47833ZM4 18.4783H6V20.9809L10 18.4783H20V6.47833H4V18.4783Z"
17
+ }),
18
+ /* @__PURE__ */ (0, t.jsx)("rect", {
19
+ x: "6",
20
+ y: "9.47833",
21
+ width: "12",
22
+ height: "2",
23
+ fill: "#159EA9"
24
+ }),
25
+ /* @__PURE__ */ (0, t.jsx)("rect", {
26
+ x: "6",
27
+ y: "13.4783",
28
+ width: "10",
29
+ height: "2",
30
+ fill: "#D00101"
31
+ })
32
+ ]
33
+ }), /* @__PURE__ */ (0, t.jsx)("defs", { children: /* @__PURE__ */ (0, t.jsx)("clipPath", {
34
+ id: "clip0_323_1559",
35
+ children: /* @__PURE__ */ (0, t.jsx)("rect", {
36
+ width: "24",
37
+ height: "24",
38
+ fill: "white",
39
+ transform: "translate(0 0.478333)"
40
+ })
41
+ }) })]
42
+ });
43
+ //#endregion
44
+ export { n as Chat };
@@ -0,0 +1,12 @@
1
+ import { require_jsx_runtime as e } from "../../../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
+ import "react";
3
+ //#region src/components/icons/bild_icons/Check.jsx
4
+ var t = e(), n = (e) => /* @__PURE__ */ (0, t.jsx)("svg", {
5
+ viewBox: "0 0 50 50",
6
+ fill: "none",
7
+ xmlns: "http://www.w3.org/2000/svg",
8
+ ...e,
9
+ children: /* @__PURE__ */ (0, t.jsx)("path", { d: "M36.8236 13.5557C37.8227 14.3327 38.0026 15.7725 37.2256 16.7715L20.8002 37.8899L12.75 27.1562C11.9906 26.1437 12.1958 24.7073 13.2083 23.9479C14.2209 23.1885 15.6573 23.3937 16.4167 24.4062L20.8664 30.3393L33.6077 13.9576C34.3848 12.9586 35.8246 12.7786 36.8236 13.5557Z" })
10
+ });
11
+ //#endregion
12
+ export { n as Check };
@@ -0,0 +1,20 @@
1
+ import { require_jsx_runtime as e } from "../../../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
+ import "react";
3
+ //#region src/components/icons/bild_icons/CheckCircle.jsx
4
+ var t = e(), n = (e) => /* @__PURE__ */ (0, t.jsxs)("svg", {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ viewBox: "0 0 24 24",
7
+ fill: "none",
8
+ stroke: "currentColor",
9
+ strokeWidth: "2",
10
+ strokeLinecap: "round",
11
+ strokeLinejoin: "round",
12
+ ...e,
13
+ children: [/* @__PURE__ */ (0, t.jsx)("circle", {
14
+ cx: "12",
15
+ cy: "12",
16
+ r: "10"
17
+ }), /* @__PURE__ */ (0, t.jsx)("path", { d: "M9 12l2 2 4-4" })]
18
+ });
19
+ //#endregion
20
+ export { n as CheckCircle };
@@ -0,0 +1,11 @@
1
+ import { require_jsx_runtime as e } from "../../../node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js";
2
+ import "react";
3
+ //#region src/components/icons/bild_icons/Checkbox.jsx
4
+ var t = e(), n = (e) => /* @__PURE__ */ (0, t.jsxs)("svg", {
5
+ xmlns: "http://www.w3.org/2000/svg",
6
+ viewBox: "0 0 24 24",
7
+ ...e,
8
+ children: [/* @__PURE__ */ (0, t.jsx)("path", { d: "M19,0H5A5.006,5.006,0,0,0,0,5V19a5.006,5.006,0,0,0,5,5H19a5.006,5.006,0,0,0,5-5V5A5.006,5.006,0,0,0,19,0Zm3,19a3,3,0,0,1-3,3H5a3,3,0,0,1-3-3V5A3,3,0,0,1,5,2H19a3,3,0,0,1,3,3Z" }), /* @__PURE__ */ (0, t.jsx)("path", { d: "M9.333,15.919,5.414,12A1,1,0,0,0,4,12H4a1,1,0,0,0,0,1.414l3.919,3.919a2,2,0,0,0,2.829,0L20,8.081a1,1,0,0,0,0-1.414h0a1,1,0,0,0-1.414,0Z" })]
9
+ });
10
+ //#endregion
11
+ export { n as Checkbox };