@logora/debate 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/components/action/back_link/BackLink.module-nMAM5nvb.css +1 -0
- package/dist/assets/components/action/button/Button.module-BDXB-NbU.css +1 -0
- package/dist/assets/components/action/icon_text_link/IconTextLink.module-B5PF-MMK.css +1 -0
- package/dist/assets/components/ad/ad_unit/AdUnit.module-C_5JFle_.css +1 -0
- package/dist/assets/components/argument/argument/Argument.module-ynS4ZRdG.css +1 -0
- package/dist/assets/components/argument/argument/ReplyFooter.module-DQL2iGS0.css +1 -0
- package/dist/assets/components/argument/top_arguments/TopArguments.module-BwLPbpJ0.css +1 -0
- package/dist/assets/components/auth/auth_modal/AuthModal.module-RhX-zUfZ.css +1 -0
- package/dist/assets/components/auth/facebook_login_button/FacebookLoginButton.module-DwTlkJ7n.css +1 -0
- package/dist/assets/components/auth/google_login_button/GoogleLoginButton.module-C9XnfW0J.css +1 -0
- package/dist/assets/components/auth/login_form/LoginForm.module-uN7oeX8e.css +1 -0
- package/dist/assets/components/auth/oauth2_button/OAuth2Button.module-BDxwikoC.css +1 -0
- package/dist/assets/components/auth/signup_form/SignupForm.module-BEj4tidE.css +1 -0
- package/dist/assets/components/auth/social_auth_form/SocialAuthForm.module-DYgKVEK4.css +1 -0
- package/dist/assets/components/auth/sso_form/SSOForm.module-D5v2TrOv.css +1 -0
- package/dist/assets/components/chart/line_chart/LineChart.module-DTKqDhLv.css +1 -0
- package/dist/assets/components/chart/pie_chart/PieChart.module-bTKTwTOZ.css +1 -0
- package/dist/assets/components/consultation/consultation_box/ConsultationBox.module-BnTr5IaF.css +1 -0
- package/dist/assets/components/debate/debate_box/DebateBox.module-ek6ldCNI.css +1 -0
- package/dist/assets/components/dialog/announcement_dialog/AnnouncementDialog.module-X5I5xt5N.css +1 -0
- package/dist/assets/components/dialog/confirm_modal/ConfirmModal.module-CWzzKcm5.css +1 -0
- package/dist/assets/components/dialog/dialog_box/DialogBox.module-DKztqqmb.css +1 -0
- package/dist/assets/components/dialog/drawer/Drawer.module-DlSpsEkA.css +1 -0
- package/dist/assets/components/dialog/dropdown/Dropdown.module-BL67cFpj.css +1 -0
- package/dist/assets/components/dialog/modal/Modal.module-CIj-xCzY.css +1 -0
- package/dist/assets/components/dialog/toast/Toast.module-DJ2wSlJT.css +1 -0
- package/dist/assets/components/dialog/toast_provider/ToastProvider.module-Dg1lvYKc.css +1 -0
- package/dist/assets/components/dialog/tooltip/Tooltip.module-zMXumgnX.css +1 -0
- package/dist/assets/components/embed/embed_header/EmbedHeader.module-DajJz2CY.css +1 -0
- package/dist/assets/components/error/standard_error_boundary/StandardErrorBoundary.module-nVUIMoUd.css +1 -0
- package/dist/assets/components/follow/follow_button/FollowButton.module-Da-cPgwT.css +1 -0
- package/dist/assets/components/gamification/badge_box/BadgeBox.module-BnskGH9b.css +1 -0
- package/dist/assets/components/gamification/point_box/PointBox.module-BzKRidYf.css +1 -0
- package/dist/assets/components/input/argument_input/ArgumentInput.module-CDv7j77K.css +1 -0
- package/dist/assets/components/input/checkbox/hidden/hidden-checkbox.module-BfKmji_8.css +1 -0
- package/dist/assets/components/input/checkbox/indicator/checkbox-indicator.module-4cSB11ys.css +1 -0
- package/dist/assets/components/input/search_input/SearchInput.module-C_q8rryY.css +1 -0
- package/dist/assets/components/input/select/Select.module-Bf-5XrJ1.css +1 -0
- package/dist/assets/components/input/text_editor/TextEditor.module-DePSfOvG.css +1 -0
- package/dist/assets/components/input/text_editor/plugins/ToolbarPlugin.module-CbPmMciY.css +1 -0
- package/dist/assets/components/input/text_input/TextInput.module-BBojTQEu.css +1 -0
- package/dist/assets/components/input/toggle/Toggle.module-B_g0Uxy3.css +1 -0
- package/dist/assets/components/input/toggle_position/TogglePosition.module-DDIigbfA.css +1 -0
- package/dist/assets/components/list/paginated_list/PaginatedList.module-DI1wH2Na.css +1 -0
- package/dist/assets/components/list/paginated_list/action_bar/ActionBar.module-pxwFC_Y2.css +1 -0
- package/dist/assets/components/list/pagination/Pagination.module-L9-ykJZ2.css +1 -0
- package/dist/assets/components/modal/side_modal/SideModal.module-57E9_p4y.css +1 -0
- package/dist/assets/components/navbar/navbar_button/NavbarButton.module-lKeBjoEX.css +1 -0
- package/dist/assets/components/navbar/navbar_modal/NavbarModal.module-B02ZOEuE.css +1 -0
- package/dist/assets/components/notification/notification_item/NotificationItem.module-BWdhgSy4.css +1 -0
- package/dist/assets/components/notification/notification_menu/NotificationMenu.module-BQwbvRIV.css +1 -0
- package/dist/assets/components/progress/loader/Loader.module-BK-wXEtx.css +1 -0
- package/dist/assets/components/progress/progress_bar/ProgressBar.module-Dy-27Wf9.css +1 -0
- package/dist/assets/components/proposal/proposal_box/ProposalBox.module-T4ms_LQ7.css +1 -0
- package/dist/assets/components/report/report_box/ReportBox.module-B-_0iQqX.css +1 -0
- package/dist/assets/components/section/section_box/SectionBox.module-DUeUtdWr.css +1 -0
- package/dist/assets/components/share/share_box/ShareBox.module-AIRPhwtg.css +1 -0
- package/dist/assets/components/share/share_button/ShareButton.module-BS6STEUD.css +1 -0
- package/dist/assets/components/share/share_modal/ShareModal.module-CczX4YRd.css +1 -0
- package/dist/assets/components/skeleton/user_content_skeleton/UserContentSkeleton.module-DhZm1xTr.css +1 -0
- package/dist/assets/components/source/context_source_box/ContextSourceBox.module-78Gxjx0w.css +1 -0
- package/dist/assets/components/source/context_source_list/ContextSourceList.module-D6X_0dB7.css +1 -0
- package/dist/assets/components/source/source_box/SourceBox.module-Cu_m3E85.css +1 -0
- package/dist/assets/components/source/source_list_item/SourceListItem.module-mTxHhXPV.css +1 -0
- package/dist/assets/components/source/source_modal/SourceModal.module-DfEHopJo.css +1 -0
- package/dist/assets/components/suggestion/suggestion_banner/SuggestionBanner.module-D37NVZLS.css +1 -0
- package/dist/assets/components/suggestion/suggestion_box/SuggestionBox.module-fwf3pCuJ.css +1 -0
- package/dist/assets/components/suggestion/suggestion_input/SuggestionInput.module-BsEj7sF3.css +1 -0
- package/dist/assets/components/summary/argument_summary_box/ArgumentSummaryBox.module-DLcsyMSD.css +1 -0
- package/dist/assets/components/summary/keyword_box/KeywordBox.module-DHkYfW0l.css +1 -0
- package/dist/assets/components/summary/summary/Summary.module-DjfmUlkW.css +1 -0
- package/dist/assets/components/summary/summary_box/SummaryBox.module-DQVkA8l7.css +1 -0
- package/dist/assets/components/tag/tag/Tag.module-DSSGWMKh.css +1 -0
- package/dist/assets/components/text/expandable_text/ExpandableText.module-C9NQVGvu.css +1 -0
- package/dist/assets/components/text/read_more/ReadMore.module-Ni_Mm8o8.css +1 -0
- package/dist/assets/components/translation/translation_button/TranslationButton.module-DZv7Csu4.css +1 -0
- package/dist/assets/components/user/author_box/AuthorBox.module-CbH2S-MT.css +1 -0
- package/dist/assets/components/user/avatar/Avatar.module-DmWuUR8K.css +1 -0
- package/dist/assets/components/user/avatar_selector/AvatarSelector.module-C2_Sfb_6.css +1 -0
- package/dist/assets/components/user/update_user_info_modal/UpdateUserInfoModal.module-DJym6u4r.css +1 -0
- package/dist/assets/components/user/user_box/UserBox.module-DGKK1afI.css +1 -0
- package/dist/assets/components/user/user_box_small/UserBoxSmall.module-ibAw9gGE.css +1 -0
- package/dist/assets/components/user_content/content_footer/ContentFooter.module-B9R3dZFl.css +1 -0
- package/dist/assets/components/user_content/content_header/ContentHeader.module-B0VwpU-R.css +1 -0
- package/dist/assets/components/user_content/summary_content_box/SummaryContentBox.module-DdzWnPjq.css +1 -0
- package/dist/assets/components/user_content/use_report_content/ReportModal.module-BxF-D5C5.css +1 -0
- package/dist/assets/components/vote/suggestion_vote_box/SuggestionVoteBox.module-CZeQKWIw.css +1 -0
- package/dist/assets/components/vote/up_down_vote_box/UpDownVoteBox.module-Bk_s4Ph0.css +1 -0
- package/dist/assets/components/vote/vote_box/VoteBox.module-BhTSjU8w.css +1 -0
- package/dist/assets/components/vote/vote_button/VoteButton.module-mxq12D3_.css +1 -0
- package/dist/components/action/back_link/BackLink.js +21 -23
- package/dist/components/action/back_link/BackLink.module.scss.js +9 -0
- package/dist/components/action/button/Button.js +74 -33
- package/dist/components/action/button/Button.module.scss.js +17 -0
- package/dist/components/action/icon_text_link/IconTextLink.js +51 -35
- package/dist/components/action/icon_text_link/IconTextLink.module.scss.js +19 -0
- package/dist/components/action/link/Link.js +36 -22
- package/dist/components/ad/ad_unit/AdUnit.js +41 -41
- package/dist/components/ad/ad_unit/AdUnit.module.scss.js +7 -0
- package/dist/components/ad/use_google_ad_manager/useGoogleAdManager.js +21 -21
- package/dist/components/ad/with_ad/WithAd.js +29 -13
- package/dist/components/argument/argument/Argument.js +327 -266
- package/dist/components/argument/argument/Argument.module.scss.js +50 -0
- package/dist/components/argument/argument/ReplyFooter.js +52 -38
- package/dist/components/argument/argument/ReplyFooter.module.scss.js +15 -0
- package/dist/components/argument/argument/useRichContent.js +16 -13
- package/dist/components/argument/top_arguments/TopArguments.js +93 -61
- package/dist/components/argument/top_arguments/TopArguments.module.scss.js +13 -0
- package/dist/components/auth/auth_initializer/AuthInitializer.js +51 -34
- package/dist/components/auth/auth_modal/AuthModal.js +77 -67
- package/dist/components/auth/auth_modal/AuthModal.module.scss.js +7 -0
- package/dist/components/auth/auth_modal/index.js +4 -2
- package/dist/components/auth/facebook_login_button/FacebookIcon.js +19 -13
- package/dist/components/auth/facebook_login_button/FacebookLoginButton.js +30 -28
- package/dist/components/auth/facebook_login_button/FacebookLoginButton.module.scss.js +9 -0
- package/dist/components/auth/google_login_button/GoogleIcon.js +43 -28
- package/dist/components/auth/google_login_button/GoogleLoginButton.js +33 -30
- package/dist/components/auth/google_login_button/GoogleLoginButton.module.scss.js +9 -0
- package/dist/components/auth/login_form/LoginForm.js +86 -83
- package/dist/components/auth/login_form/LoginForm.module.scss.js +15 -0
- package/dist/components/auth/oauth2_button/OAuth2Button.js +52 -35
- package/dist/components/auth/oauth2_button/OAuth2Button.module.scss.js +9 -0
- package/dist/components/auth/providers/AuthProvider.js +20 -19
- package/dist/components/auth/providers/AuthProviderFactory.js +9 -9
- package/dist/components/auth/providers/FormAuth.js +28 -28
- package/dist/components/auth/providers/JWTAuth.js +26 -26
- package/dist/components/auth/providers/OAuth2ServerAuth.js +35 -34
- package/dist/components/auth/providers/PasswordAuth.js +23 -23
- package/dist/components/auth/signup_form/SignupForm.js +164 -154
- package/dist/components/auth/signup_form/SignupForm.module.scss.js +11 -0
- package/dist/components/auth/social_auth_form/SocialAuthForm.js +225 -198
- package/dist/components/auth/social_auth_form/SocialAuthForm.module.scss.js +39 -0
- package/dist/components/auth/sso_form/SSOForm.js +191 -145
- package/dist/components/auth/sso_form/SSOForm.module.scss.js +31 -0
- package/dist/components/auth/use_auth/AuthContext.js +5 -5
- package/dist/components/auth/use_auth/AuthProvider.js +26 -25
- package/dist/components/auth/use_auth/AuthStorage.js +28 -28
- package/dist/components/auth/use_auth/authTokenHandler.js +46 -44
- package/dist/components/auth/use_auth/useAuth.js +5 -5
- package/dist/components/auth/use_auth/useAuthActions.js +46 -34
- package/dist/components/auth/use_auth/useAuthInterceptor.js +34 -26
- package/dist/components/chart/line_chart/LineChart.js +99 -100
- package/dist/components/chart/line_chart/LineChart.module.scss.js +15 -0
- package/dist/components/chart/pie_chart/PieChart.js +83 -68
- package/dist/components/chart/pie_chart/PieChart.module.scss.js +7 -0
- package/dist/components/consultation/consultation_box/ConsultationBox.js +164 -121
- package/dist/components/consultation/consultation_box/ConsultationBox.module.scss.js +35 -0
- package/dist/components/data/axios_client/httpClient.js +7 -7
- package/dist/components/data/config_provider/ConfigProvider.js +7 -12
- package/dist/components/data/config_provider/useConfig.js +7 -7
- package/dist/components/data/config_provider/useRoutes.js +7 -7
- package/dist/components/data/config_provider/withConfig.js +6 -9
- package/dist/components/data/data_provider/DataProvider.js +106 -99
- package/dist/components/data/data_provider/DataProviderContext.js +5 -5
- package/dist/components/data/data_provider/useData.js +10 -8
- package/dist/components/data/data_provider/useDataProvider.js +7 -7
- package/dist/components/debate/debate_box/DebateBox.js +185 -154
- package/dist/components/debate/debate_box/DebateBox.module.scss.js +49 -0
- package/dist/components/dialog/announcement_dialog/AnnouncementDialog.js +36 -29
- package/dist/components/dialog/announcement_dialog/AnnouncementDialog.module.scss.js +13 -0
- package/dist/components/dialog/confirm_modal/ConfirmModal.js +47 -36
- package/dist/components/dialog/confirm_modal/ConfirmModal.module.scss.js +13 -0
- package/dist/components/dialog/countdown/Countdown.js +22 -22
- package/dist/components/dialog/dialog_box/DialogBox.js +51 -50
- package/dist/components/dialog/dialog_box/DialogBox.module.scss.js +27 -0
- package/dist/components/dialog/drawer/Drawer.js +140 -126
- package/dist/components/dialog/drawer/Drawer.module.scss.js +31 -0
- package/dist/components/dialog/dropdown/Dropdown.js +48 -28
- package/dist/components/dialog/dropdown/Dropdown.module.scss.js +17 -0
- package/dist/components/dialog/modal/Modal.js +83 -64
- package/dist/components/dialog/modal/Modal.module.scss.js +19 -0
- package/dist/components/dialog/modal/ModalProvider.js +16 -19
- package/dist/components/dialog/modal/useModal.js +6 -6
- package/dist/components/dialog/toast/Toast.js +35 -39
- package/dist/components/dialog/toast/Toast.module.scss.js +25 -0
- package/dist/components/dialog/toast_provider/ToastContext.js +5 -5
- package/dist/components/dialog/toast_provider/ToastProvider.js +32 -27
- package/dist/components/dialog/toast_provider/ToastProvider.module.scss.js +7 -0
- package/dist/components/dialog/toast_provider/useToast.js +8 -11
- package/dist/components/dialog/tooltip/Tooltip.js +43 -31
- package/dist/components/dialog/tooltip/Tooltip.module.scss.js +21 -0
- package/dist/components/embed/embed_header/EmbedHeader.js +97 -71
- package/dist/components/embed/embed_header/EmbedHeader.module.scss.js +29 -0
- package/dist/components/error/standard_error_boundary/StandardErrorBoundary.js +16 -17
- package/dist/components/error/standard_error_boundary/StandardErrorBoundary.module.scss.js +7 -0
- package/dist/components/follow/follow_button/FollowButton.js +45 -47
- package/dist/components/follow/follow_button/FollowButton.module.scss.js +9 -0
- package/dist/components/follow/use_follow/useFollow.js +41 -35
- package/dist/components/forms/form/extract-form-data.js +10 -10
- package/dist/components/forms/form/form-context.js +5 -5
- package/dist/components/forms/form/form.js +22 -26
- package/dist/components/forms/form/use-form-context.js +28 -31
- package/dist/components/forms/form/use-form.js +6 -6
- package/dist/components/forms/use_form_validation/useFormValidation.js +50 -44
- package/dist/components/gamification/badge_box/BadgeBox.js +102 -92
- package/dist/components/gamification/badge_box/BadgeBox.module.scss.js +32 -0
- package/dist/components/gamification/point_box/PointBox.js +12 -18
- package/dist/components/gamification/point_box/PointBox.module.scss.js +11 -0
- package/dist/components/hooks/use_auth_required/useAuthRequired.js +22 -15
- package/dist/components/hooks/use_css_theme/useCssTheme.js +16 -15
- package/dist/components/hooks/use_font_loader/useFontLoader.js +12 -8
- package/dist/components/hooks/use_matomo/useMatomo.js +9 -9
- package/dist/components/hooks/use_relative_time/useRelativeTime.js +32 -52
- package/dist/components/hooks/use_responsive/ResponsiveContext.js +5 -5
- package/dist/components/hooks/use_responsive/ResponsiveProvider.js +41 -32
- package/dist/components/hooks/use_responsive/useResponsive.js +8 -13
- package/dist/components/icons/bild_icons/Alarm.js +12 -14
- package/dist/components/icons/bild_icons/Announcement.js +14 -19
- package/dist/components/icons/bild_icons/Arrow.js +5 -10
- package/dist/components/icons/bild_icons/Blockquote.js +5 -10
- package/dist/components/icons/bild_icons/Bold.js +5 -10
- package/dist/components/icons/bild_icons/Camera.js +8 -10
- package/dist/components/icons/bild_icons/Chat.js +37 -43
- package/dist/components/icons/bild_icons/Check.js +14 -11
- package/dist/components/icons/bild_icons/CheckCircle.js +21 -19
- package/dist/components/icons/bild_icons/Checkbox.js +8 -10
- package/dist/components/icons/bild_icons/Clap.js +32 -20
- package/dist/components/icons/bild_icons/Clock.js +5 -10
- package/dist/components/icons/bild_icons/Close.js +5 -10
- package/dist/components/icons/bild_icons/Code.js +35 -31
- package/dist/components/icons/bild_icons/Community.js +5 -10
- package/dist/components/icons/bild_icons/Crown.js +14 -11
- package/dist/components/icons/bild_icons/Document.js +5 -10
- package/dist/components/icons/bild_icons/Downvote.js +5 -10
- package/dist/components/icons/bild_icons/Ellipsis.js +14 -11
- package/dist/components/icons/bild_icons/ExpertBadge.js +50 -32
- package/dist/components/icons/bild_icons/Facebook.js +5 -10
- package/dist/components/icons/bild_icons/Flag.js +5 -10
- package/dist/components/icons/bild_icons/Home.js +5 -10
- package/dist/components/icons/bild_icons/Italic.js +5 -10
- package/dist/components/icons/bild_icons/LightArrow.js +14 -11
- package/dist/components/icons/bild_icons/Link.js +8 -10
- package/dist/components/icons/bild_icons/Login.js +30 -18
- package/dist/components/icons/bild_icons/Logora.js +55 -24
- package/dist/components/icons/bild_icons/Mail.js +5 -10
- package/dist/components/icons/bild_icons/MinusCircle.js +20 -23
- package/dist/components/icons/bild_icons/MobileClose.js +23 -18
- package/dist/components/icons/bild_icons/MobileMenu.js +28 -28
- package/dist/components/icons/bild_icons/Next.js +22 -21
- package/dist/components/icons/bild_icons/OpenBlank.js +20 -14
- package/dist/components/icons/bild_icons/OrderedList.js +5 -10
- package/dist/components/icons/bild_icons/PauseCircle.js +22 -33
- package/dist/components/icons/bild_icons/Point.js +24 -20
- package/dist/components/icons/bild_icons/Question.js +14 -17
- package/dist/components/icons/bild_icons/Refresh.js +8 -10
- package/dist/components/icons/bild_icons/Reply.js +8 -10
- package/dist/components/icons/bild_icons/Search.js +5 -10
- package/dist/components/icons/bild_icons/Send.js +5 -10
- package/dist/components/icons/bild_icons/Share.js +14 -11
- package/dist/components/icons/bild_icons/SmallArrow.js +5 -10
- package/dist/components/icons/bild_icons/Source.js +5 -10
- package/dist/components/icons/bild_icons/Suggestion.js +24 -18
- package/dist/components/icons/bild_icons/Twitter.js +43 -28
- package/dist/components/icons/bild_icons/Underline.js +5 -10
- package/dist/components/icons/bild_icons/Upvote.js +5 -10
- package/dist/components/icons/bild_icons/User.js +5 -10
- package/dist/components/icons/bild_icons/Versus.js +11 -13
- package/dist/components/icons/bild_icons/Votebox.js +14 -11
- package/dist/components/icons/bild_icons/index.js +105 -109
- package/dist/components/icons/hero_icons/Alarm.js +23 -17
- package/dist/components/icons/hero_icons/Announcement.js +23 -17
- package/dist/components/icons/hero_icons/Arrow.js +23 -17
- package/dist/components/icons/hero_icons/Blockquote.js +25 -26
- package/dist/components/icons/hero_icons/Bold.js +22 -16
- package/dist/components/icons/hero_icons/Camera.js +33 -21
- package/dist/components/icons/hero_icons/Chat.js +23 -17
- package/dist/components/icons/hero_icons/Check.js +23 -17
- package/dist/components/icons/hero_icons/CheckCircle.js +21 -19
- package/dist/components/icons/hero_icons/Checkbox.js +23 -17
- package/dist/components/icons/hero_icons/Clap.js +23 -17
- package/dist/components/icons/hero_icons/Clock.js +23 -17
- package/dist/components/icons/hero_icons/Close.js +23 -17
- package/dist/components/icons/hero_icons/Code.js +23 -17
- package/dist/components/icons/hero_icons/Community.js +23 -17
- package/dist/components/icons/hero_icons/Crown.js +23 -17
- package/dist/components/icons/hero_icons/Downvote.js +23 -17
- package/dist/components/icons/hero_icons/Ellipsis.js +23 -17
- package/dist/components/icons/hero_icons/ExpertBadge.js +23 -17
- package/dist/components/icons/hero_icons/Facebook.js +5 -10
- package/dist/components/icons/hero_icons/Flag.js +5 -10
- package/dist/components/icons/hero_icons/Home.js +23 -17
- package/dist/components/icons/hero_icons/Italic.js +22 -16
- package/dist/components/icons/hero_icons/LightArrow.js +14 -11
- package/dist/components/icons/hero_icons/Link.js +23 -17
- package/dist/components/icons/hero_icons/Login.js +24 -18
- package/dist/components/icons/hero_icons/Logora.js +55 -24
- package/dist/components/icons/hero_icons/Mail.js +23 -17
- package/dist/components/icons/hero_icons/MinusCircle.js +20 -23
- package/dist/components/icons/hero_icons/MobileClose.js +23 -17
- package/dist/components/icons/hero_icons/MobileMenu.js +23 -17
- package/dist/components/icons/hero_icons/Next.js +23 -17
- package/dist/components/icons/hero_icons/OpenBlank.js +23 -17
- package/dist/components/icons/hero_icons/OrderedList.js +60 -46
- package/dist/components/icons/hero_icons/PauseCircle.js +22 -33
- package/dist/components/icons/hero_icons/Point.js +24 -20
- package/dist/components/icons/hero_icons/Question.js +23 -17
- package/dist/components/icons/hero_icons/Refresh.js +23 -17
- package/dist/components/icons/hero_icons/Reply.js +23 -17
- package/dist/components/icons/hero_icons/Search.js +23 -17
- package/dist/components/icons/hero_icons/Send.js +23 -17
- package/dist/components/icons/hero_icons/Share.js +23 -17
- package/dist/components/icons/hero_icons/SmallArrow.js +23 -17
- package/dist/components/icons/hero_icons/Source.js +23 -17
- package/dist/components/icons/hero_icons/Suggestion.js +23 -17
- package/dist/components/icons/hero_icons/Twitter.js +43 -28
- package/dist/components/icons/hero_icons/Underline.js +25 -26
- package/dist/components/icons/hero_icons/Upvote.js +23 -17
- package/dist/components/icons/hero_icons/User.js +23 -17
- package/dist/components/icons/hero_icons/Versus.js +23 -17
- package/dist/components/icons/hero_icons/Votebox.js +23 -17
- package/dist/components/icons/hero_icons/index.js +103 -107
- package/dist/components/icons/icon/Icon.js +23 -19
- package/dist/components/icons/icon_provider/IconProvider.js +7 -9
- package/dist/components/icons/krone_icons/Alarm.js +29 -27
- package/dist/components/icons/krone_icons/Announcement.js +21 -15
- package/dist/components/icons/krone_icons/Arrow.js +5 -10
- package/dist/components/icons/krone_icons/Blockquote.js +5 -10
- package/dist/components/icons/krone_icons/Bold.js +5 -10
- package/dist/components/icons/krone_icons/Camera.js +8 -10
- package/dist/components/icons/krone_icons/Chat.js +31 -29
- package/dist/components/icons/krone_icons/Check.js +5 -10
- package/dist/components/icons/krone_icons/CheckBox.js +22 -16
- package/dist/components/icons/krone_icons/CheckCircle.js +21 -19
- package/dist/components/icons/krone_icons/Clap.js +31 -29
- package/dist/components/icons/krone_icons/Clock.js +5 -10
- package/dist/components/icons/krone_icons/Close.js +5 -10
- package/dist/components/icons/krone_icons/Code.js +35 -31
- package/dist/components/icons/krone_icons/Community.js +5 -10
- package/dist/components/icons/krone_icons/Crown.js +5 -10
- package/dist/components/icons/krone_icons/Document.js +5 -10
- package/dist/components/icons/krone_icons/Downvote.js +5 -10
- package/dist/components/icons/krone_icons/Ellipsis.js +23 -17
- package/dist/components/icons/krone_icons/ExpertBadge.js +31 -29
- package/dist/components/icons/krone_icons/Facebook.js +5 -10
- package/dist/components/icons/krone_icons/Flag.js +5 -10
- package/dist/components/icons/krone_icons/Home.js +31 -29
- package/dist/components/icons/krone_icons/Italic.js +5 -10
- package/dist/components/icons/krone_icons/LightArrow.js +5 -10
- package/dist/components/icons/krone_icons/Link.js +8 -10
- package/dist/components/icons/krone_icons/Login.js +29 -17
- package/dist/components/icons/krone_icons/Logora.js +55 -24
- package/dist/components/icons/krone_icons/Mail.js +5 -10
- package/dist/components/icons/krone_icons/MinusCircle.js +20 -23
- package/dist/components/icons/krone_icons/MobileClose.js +14 -17
- package/dist/components/icons/krone_icons/MobileMenu.js +28 -28
- package/dist/components/icons/krone_icons/Next.js +22 -21
- package/dist/components/icons/krone_icons/OpenBlank.js +20 -14
- package/dist/components/icons/krone_icons/OrderedList.js +5 -10
- package/dist/components/icons/krone_icons/PauseCircle.js +21 -32
- package/dist/components/icons/krone_icons/Point.js +24 -20
- package/dist/components/icons/krone_icons/Question.js +31 -29
- package/dist/components/icons/krone_icons/Refresh.js +8 -10
- package/dist/components/icons/krone_icons/Reply.js +23 -17
- package/dist/components/icons/krone_icons/Search.js +5 -10
- package/dist/components/icons/krone_icons/Send.js +30 -25
- package/dist/components/icons/krone_icons/Share.js +16 -13
- package/dist/components/icons/krone_icons/SmallArrow.js +5 -10
- package/dist/components/icons/krone_icons/Source.js +5 -10
- package/dist/components/icons/krone_icons/Suggestion.js +31 -29
- package/dist/components/icons/krone_icons/Twitter.js +43 -28
- package/dist/components/icons/krone_icons/Underline.js +5 -10
- package/dist/components/icons/krone_icons/Upvote.js +31 -29
- package/dist/components/icons/krone_icons/User.js +37 -32
- package/dist/components/icons/krone_icons/Versus.js +5 -10
- package/dist/components/icons/krone_icons/Votebox.js +31 -29
- package/dist/components/icons/krone_icons/index.js +105 -109
- package/dist/components/icons/regular_icons/Alarm.js +12 -14
- package/dist/components/icons/regular_icons/Announcement.js +14 -19
- package/dist/components/icons/regular_icons/Arrow.js +5 -10
- package/dist/components/icons/regular_icons/Blockquote.js +5 -10
- package/dist/components/icons/regular_icons/Bold.js +5 -10
- package/dist/components/icons/regular_icons/Camera.js +8 -10
- package/dist/components/icons/regular_icons/Chat.js +10 -15
- package/dist/components/icons/regular_icons/Check.js +5 -10
- package/dist/components/icons/regular_icons/CheckCircle.js +21 -19
- package/dist/components/icons/regular_icons/Checkbox.js +8 -10
- package/dist/components/icons/regular_icons/Clap.js +12 -14
- package/dist/components/icons/regular_icons/Clock.js +5 -10
- package/dist/components/icons/regular_icons/Close.js +5 -10
- package/dist/components/icons/regular_icons/Code.js +35 -31
- package/dist/components/icons/regular_icons/Community.js +5 -10
- package/dist/components/icons/regular_icons/Crown.js +5 -10
- package/dist/components/icons/regular_icons/Document.js +5 -10
- package/dist/components/icons/regular_icons/Downvote.js +5 -10
- package/dist/components/icons/regular_icons/Ellipsis.js +5 -10
- package/dist/components/icons/regular_icons/ExpertBadge.js +41 -31
- package/dist/components/icons/regular_icons/Facebook.js +5 -10
- package/dist/components/icons/regular_icons/Flag.js +5 -10
- package/dist/components/icons/regular_icons/Home.js +5 -10
- package/dist/components/icons/regular_icons/Italic.js +5 -10
- package/dist/components/icons/regular_icons/LightArrow.js +5 -10
- package/dist/components/icons/regular_icons/Link.js +8 -10
- package/dist/components/icons/regular_icons/Login.js +29 -17
- package/dist/components/icons/regular_icons/Logora.js +55 -24
- package/dist/components/icons/regular_icons/Mail.js +5 -10
- package/dist/components/icons/regular_icons/MinusCircle.js +20 -23
- package/dist/components/icons/regular_icons/MobileClose.js +14 -17
- package/dist/components/icons/regular_icons/MobileMenu.js +28 -28
- package/dist/components/icons/regular_icons/Next.js +22 -21
- package/dist/components/icons/regular_icons/OpenBlank.js +20 -14
- package/dist/components/icons/regular_icons/OrderedList.js +5 -10
- package/dist/components/icons/regular_icons/PauseCircle.js +21 -32
- package/dist/components/icons/regular_icons/Point.js +24 -20
- package/dist/components/icons/regular_icons/Question.js +14 -17
- package/dist/components/icons/regular_icons/Refresh.js +8 -10
- package/dist/components/icons/regular_icons/Reply.js +8 -10
- package/dist/components/icons/regular_icons/Search.js +5 -10
- package/dist/components/icons/regular_icons/Send.js +5 -10
- package/dist/components/icons/regular_icons/Share.js +14 -11
- package/dist/components/icons/regular_icons/SmallArrow.js +5 -10
- package/dist/components/icons/regular_icons/Source.js +5 -10
- package/dist/components/icons/regular_icons/Suggestion.js +24 -18
- package/dist/components/icons/regular_icons/Twitter.js +43 -28
- package/dist/components/icons/regular_icons/Underline.js +5 -10
- package/dist/components/icons/regular_icons/Upvote.js +5 -10
- package/dist/components/icons/regular_icons/User.js +5 -10
- package/dist/components/icons/regular_icons/Versus.js +5 -10
- package/dist/components/icons/regular_icons/Votebox.js +14 -11
- package/dist/components/icons/regular_icons/index.js +105 -109
- package/dist/components/icons/spiegel_icons/Alarm.js +12 -14
- package/dist/components/icons/spiegel_icons/Announcement.js +14 -19
- package/dist/components/icons/spiegel_icons/Arrow.js +5 -10
- package/dist/components/icons/spiegel_icons/Blockquote.js +24 -25
- package/dist/components/icons/spiegel_icons/Bold.js +21 -15
- package/dist/components/icons/spiegel_icons/Camera.js +8 -10
- package/dist/components/icons/spiegel_icons/Chat.js +14 -11
- package/dist/components/icons/spiegel_icons/Check.js +5 -10
- package/dist/components/icons/spiegel_icons/CheckCircle.js +31 -19
- package/dist/components/icons/spiegel_icons/Checkbox.js +24 -25
- package/dist/components/icons/spiegel_icons/Clap.js +24 -25
- package/dist/components/icons/spiegel_icons/Clock.js +27 -25
- package/dist/components/icons/spiegel_icons/Close.js +12 -14
- package/dist/components/icons/spiegel_icons/Code.js +35 -31
- package/dist/components/icons/spiegel_icons/Community.js +5 -10
- package/dist/components/icons/spiegel_icons/Crown.js +14 -11
- package/dist/components/icons/spiegel_icons/Downvote.js +5 -10
- package/dist/components/icons/spiegel_icons/Ellipsis.js +14 -11
- package/dist/components/icons/spiegel_icons/ExpertBadge.js +32 -27
- package/dist/components/icons/spiegel_icons/Facebook.js +21 -15
- package/dist/components/icons/spiegel_icons/Flag.js +31 -19
- package/dist/components/icons/spiegel_icons/Home.js +5 -10
- package/dist/components/icons/spiegel_icons/Italic.js +21 -15
- package/dist/components/icons/spiegel_icons/LightArrow.js +14 -11
- package/dist/components/icons/spiegel_icons/Link.js +21 -25
- package/dist/components/icons/spiegel_icons/Login.js +24 -18
- package/dist/components/icons/spiegel_icons/Logora.js +55 -24
- package/dist/components/icons/spiegel_icons/Mail.js +21 -15
- package/dist/components/icons/spiegel_icons/MinusCircle.js +31 -19
- package/dist/components/icons/spiegel_icons/MobileClose.js +23 -18
- package/dist/components/icons/spiegel_icons/MobileMenu.js +28 -28
- package/dist/components/icons/spiegel_icons/Next.js +22 -21
- package/dist/components/icons/spiegel_icons/OpenBlank.js +20 -14
- package/dist/components/icons/spiegel_icons/OrderedList.js +24 -28
- package/dist/components/icons/spiegel_icons/PauseCircle.js +31 -19
- package/dist/components/icons/spiegel_icons/Point.js +24 -20
- package/dist/components/icons/spiegel_icons/Question.js +28 -29
- package/dist/components/icons/spiegel_icons/Refresh.js +8 -10
- package/dist/components/icons/spiegel_icons/Reply.js +14 -11
- package/dist/components/icons/spiegel_icons/Search.js +5 -10
- package/dist/components/icons/spiegel_icons/Send.js +5 -10
- package/dist/components/icons/spiegel_icons/Share.js +24 -25
- package/dist/components/icons/spiegel_icons/SmallArrow.js +14 -11
- package/dist/components/icons/spiegel_icons/Source.js +5 -10
- package/dist/components/icons/spiegel_icons/Suggestion.js +21 -15
- package/dist/components/icons/spiegel_icons/Twitter.js +43 -28
- package/dist/components/icons/spiegel_icons/Underline.js +24 -25
- package/dist/components/icons/spiegel_icons/Upvote.js +5 -10
- package/dist/components/icons/spiegel_icons/User.js +5 -10
- package/dist/components/icons/spiegel_icons/Versus.js +11 -13
- package/dist/components/icons/spiegel_icons/Votebox.js +24 -25
- package/dist/components/icons/spiegel_icons/index.js +103 -107
- package/dist/components/input/argument_input/ArgumentInput.js +387 -285
- package/dist/components/input/argument_input/ArgumentInput.module.scss.js +43 -0
- package/dist/components/input/argument_input/index.js +4 -2
- package/dist/components/input/checkbox/hidden/hidden-checkbox.js +15 -14
- package/dist/components/input/checkbox/hidden/hidden-checkbox.module.scss.js +7 -0
- package/dist/components/input/checkbox/indicator/checkbox-indicator.js +19 -16
- package/dist/components/input/checkbox/indicator/checkbox-indicator.module.scss.js +9 -0
- package/dist/components/input/checkbox/label/checkbox-label.js +38 -25
- package/dist/components/input/input_provider/InputProvider.js +24 -20
- package/dist/components/input/input_provider/useInput.js +5 -5
- package/dist/components/input/search_input/SearchInput.js +99 -73
- package/dist/components/input/search_input/SearchInput.module.scss.js +11 -0
- package/dist/components/input/select/Select.js +85 -75
- package/dist/components/input/select/Select.module.scss.js +19 -0
- package/dist/components/input/text_editor/EditorTheme.js +70 -68
- package/dist/components/input/text_editor/TextEditor.js +170 -146
- package/dist/components/input/text_editor/TextEditor.module.scss.js +45 -0
- package/dist/components/input/text_editor/lexicalToHtml.js +19 -21
- package/dist/components/input/text_editor/plugins/AutoSavePlugin.js +33 -24
- package/dist/components/input/text_editor/plugins/FocusPlugin.js +13 -13
- package/dist/components/input/text_editor/plugins/MaxLengthPlugin.js +25 -22
- package/dist/components/input/text_editor/plugins/ResetPlugin.js +20 -17
- package/dist/components/input/text_editor/plugins/SetContentPlugin.js +17 -17
- package/dist/components/input/text_editor/plugins/SetRichContentPlugin.js +14 -14
- package/dist/components/input/text_editor/plugins/ToolbarPlugin.js +229 -169
- package/dist/components/input/text_editor/plugins/ToolbarPlugin.module.scss.js +25 -0
- package/dist/components/input/text_input/TextInput.js +61 -35
- package/dist/components/input/text_input/TextInput.module.scss.js +21 -0
- package/dist/components/input/text_input/color-accent.js +11 -11
- package/dist/components/input/text_input/message.js +8 -14
- package/dist/components/input/toggle/Toggle.js +23 -26
- package/dist/components/input/toggle/Toggle.module.scss.js +15 -0
- package/dist/components/input/toggle_position/TogglePosition.js +65 -47
- package/dist/components/input/toggle_position/TogglePosition.module.scss.js +15 -0
- package/dist/components/intl/intl_provider/IntlContext.js +5 -5
- package/dist/components/intl/intl_provider/IntlProvider.js +46 -37
- package/dist/components/intl/intl_provider/useLocale.js +8 -11
- package/dist/components/list/list_provider/ListProvider.js +45 -44
- package/dist/components/list/list_provider/useList.js +34 -21
- package/dist/components/list/paginated_list/PaginatedList.js +244 -177
- package/dist/components/list/paginated_list/PaginatedList.module.scss.js +33 -0
- package/dist/components/list/paginated_list/VotePaginatedList.js +22 -18
- package/dist/components/list/paginated_list/action_bar/ActionBar.js +109 -74
- package/dist/components/list/paginated_list/action_bar/ActionBar.module.scss.js +23 -0
- package/dist/components/list/pagination/Pagination.js +33 -26
- package/dist/components/list/pagination/Pagination.module.scss.js +7 -0
- package/dist/components/modal/side_modal/SideModal.js +72 -58
- package/dist/components/modal/side_modal/SideModal.module.scss.js +19 -0
- package/dist/components/modal/side_modal/index.js +3 -1
- package/dist/components/navbar/navbar_button/NavbarButton.js +32 -28
- package/dist/components/navbar/navbar_button/NavbarButton.module.scss.js +9 -0
- package/dist/components/navbar/navbar_modal/NavbarModal.js +182 -155
- package/dist/components/navbar/navbar_modal/NavbarModal.module.scss.js +25 -0
- package/dist/components/notification/notification_item/NotificationItem.js +77 -48
- package/dist/components/notification/notification_item/NotificationItem.module.scss.js +17 -0
- package/dist/components/notification/notification_menu/NotificationMenu.js +59 -52
- package/dist/components/notification/notification_menu/NotificationMenu.module.scss.js +13 -0
- package/dist/components/progress/loader/Loader.js +6 -12
- package/dist/components/progress/loader/Loader.module.scss.js +9 -0
- package/dist/components/progress/progress_bar/ProgressBar.js +48 -57
- package/dist/components/progress/progress_bar/ProgressBar.module.scss.js +23 -0
- package/dist/components/proposal/proposal_box/ProposalBox.js +139 -107
- package/dist/components/proposal/proposal_box/ProposalBox.module.scss.js +19 -0
- package/dist/components/report/report_box/ReportBox.js +103 -101
- package/dist/components/report/report_box/ReportBox.module.scss.js +19 -0
- package/dist/components/section/section_box/SectionBox.js +56 -39
- package/dist/components/section/section_box/SectionBox.module.scss.js +25 -0
- package/dist/components/share/share_box/ShareBox.js +182 -130
- package/dist/components/share/share_box/ShareBox.module.scss.js +17 -0
- package/dist/components/share/share_button/ShareButton.js +91 -72
- package/dist/components/share/share_button/ShareButton.module.scss.js +15 -0
- package/dist/components/share/share_modal/ShareModal.js +30 -26
- package/dist/components/share/share_modal/ShareModal.module.scss.js +7 -0
- package/dist/components/share/share_modal/index.js +4 -2
- package/dist/components/skeleton/box_skeleton/BoxSkeleton.js +84 -62
- package/dist/components/skeleton/user_content_skeleton/UserContentSkeleton.js +49 -56
- package/dist/components/skeleton/user_content_skeleton/UserContentSkeleton.module.scss.js +23 -0
- package/dist/components/source/context_source_box/ContextSourceBox.js +39 -43
- package/dist/components/source/context_source_box/ContextSourceBox.module.scss.js +17 -0
- package/dist/components/source/context_source_list/ContextSourceList.js +53 -41
- package/dist/components/source/context_source_list/ContextSourceList.module.scss.js +15 -0
- package/dist/components/source/source_box/SourceBox.js +31 -38
- package/dist/components/source/source_box/SourceBox.module.scss.js +19 -0
- package/dist/components/source/source_list_item/SourceListItem.js +33 -31
- package/dist/components/source/source_list_item/SourceListItem.module.scss.js +9 -0
- package/dist/components/source/source_modal/SourceModal.js +138 -109
- package/dist/components/source/source_modal/SourceModal.module.scss.js +19 -0
- package/dist/components/suggestion/suggestion_banner/SuggestionBanner.js +122 -98
- package/dist/components/suggestion/suggestion_banner/SuggestionBanner.module.scss.js +23 -0
- package/dist/components/suggestion/suggestion_box/SuggestionBox.js +117 -96
- package/dist/components/suggestion/suggestion_box/SuggestionBox.module.scss.js +23 -0
- package/dist/components/suggestion/suggestion_input/SuggestionInput.js +182 -156
- package/dist/components/suggestion/suggestion_input/SuggestionInput.module.scss.js +19 -0
- package/dist/components/summary/argument_summary_box/ArgumentSummaryBox.js +64 -61
- package/dist/components/summary/argument_summary_box/ArgumentSummaryBox.module.scss.js +23 -0
- package/dist/components/summary/keyword_box/KeywordBox.js +34 -36
- package/dist/components/summary/keyword_box/KeywordBox.module.scss.js +13 -0
- package/dist/components/summary/summary/Summary.js +87 -72
- package/dist/components/summary/summary/Summary.module.scss.js +9 -0
- package/dist/components/summary/summary_box/SummaryBox.js +17 -21
- package/dist/components/summary/summary_box/SummaryBox.module.scss.js +17 -0
- package/dist/components/tag/tag/Tag.js +34 -18
- package/dist/components/tag/tag/Tag.module.scss.js +9 -0
- package/dist/components/text/expandable_text/ArrowIcon.js +5 -10
- package/dist/components/text/expandable_text/ExpandableText.js +71 -52
- package/dist/components/text/expandable_text/ExpandableText.module.scss.js +17 -0
- package/dist/components/text/read_more/ReadMore.js +79 -62
- package/dist/components/text/read_more/ReadMore.module.scss.js +19 -0
- package/dist/components/tools/hash_scroll/HashScroll.js +17 -17
- package/dist/components/tools/scroll_to_top/ScrollToTop.js +16 -14
- package/dist/components/translation/translated_content/TranslatedContent.js +19 -6
- package/dist/components/translation/translated_content/useTranslatedContent.js +53 -25
- package/dist/components/translation/translation_button/TranslationButton.js +50 -34
- package/dist/components/translation/translation_button/TranslationButton.module.scss.js +7 -0
- package/dist/components/user/author_box/AuthorBox.js +116 -112
- package/dist/components/user/author_box/AuthorBox.module.scss.js +33 -0
- package/dist/components/user/avatar/Avatar.js +75 -53
- package/dist/components/user/avatar/Avatar.module.scss.js +13 -0
- package/dist/components/user/avatar/DefaultAvatar.js +11 -16
- package/dist/components/user/avatar_selector/AvatarSelector.js +127 -107
- package/dist/components/user/avatar_selector/AvatarSelector.module.scss.js +33 -0
- package/dist/components/user/update_user_info_modal/UpdateUserInfoModal.js +290 -250
- package/dist/components/user/update_user_info_modal/UpdateUserInfoModal.module.scss.js +29 -0
- package/dist/components/user/update_user_info_modal/useUpdateUserInfo.js +26 -25
- package/dist/components/user/user_box/UserBox.js +78 -80
- package/dist/components/user/user_box/UserBox.module.scss.js +17 -0
- package/dist/components/user/user_box_small/UserBoxSmall.js +40 -42
- package/dist/components/user/user_box_small/UserBoxSmall.module.scss.js +9 -0
- package/dist/components/user_content/content_footer/ContentFooter.js +245 -171
- package/dist/components/user_content/content_footer/ContentFooter.module.scss.js +19 -0
- package/dist/components/user_content/content_header/ContentHeader.js +126 -119
- package/dist/components/user_content/content_header/ContentHeader.module.scss.js +29 -0
- package/dist/components/user_content/summary_content_box/SummaryContentBox.js +102 -70
- package/dist/components/user_content/summary_content_box/SummaryContentBox.module.scss.js +17 -0
- package/dist/components/user_content/use_delete_content/useDeleteContent.js +52 -44
- package/dist/components/user_content/use_report_content/ReportModal.js +267 -265
- package/dist/components/user_content/use_report_content/ReportModal.module.scss.js +27 -0
- package/dist/components/user_content/use_report_content/useReportContent.js +25 -23
- package/dist/components/util/lang_emojis/langEmojis.js +59 -57
- package/dist/components/util/location/Location.js +49 -40
- package/dist/components/util/unique_by/uniqueBy.js +8 -6
- package/dist/components/vote/suggestion_vote_box/SuggestionVoteBox.js +93 -80
- package/dist/components/vote/suggestion_vote_box/SuggestionVoteBox.module.scss.js +9 -0
- package/dist/components/vote/up_down_vote_box/UpDownVoteBox.js +71 -54
- package/dist/components/vote/up_down_vote_box/UpDownVoteBox.module.scss.js +17 -0
- package/dist/components/vote/use_vote/useVote.js +74 -61
- package/dist/components/vote/vote_box/VoteBox.js +423 -296
- package/dist/components/vote/vote_box/VoteBox.module.scss.js +59 -0
- package/dist/components/vote/vote_button/VoteButton.js +55 -38
- package/dist/components/vote/vote_button/VoteButton.module.scss.js +11 -0
- package/dist/components/vote/vote_provider/VoteProvider.js +36 -39
- package/dist/index.js +310 -202
- package/package.json +23 -17
- package/dist/_virtual/_rolldown/runtime.js +0 -23
- package/dist/assets/debate-Bv79XlHp.css +0 -2
- package/dist/components/action/back_link/BackLink.module.js +0 -6
- package/dist/components/action/button/Button.module.js +0 -10
- package/dist/components/action/icon_text_link/IconTextLink.module.js +0 -11
- package/dist/components/ad/ad_unit/AdUnit.module.js +0 -3
- package/dist/components/argument/argument/Argument.module.js +0 -34
- package/dist/components/argument/argument/ReplyFooter.module.js +0 -10
- package/dist/components/argument/top_arguments/TopArguments.module.js +0 -9
- package/dist/components/auth/auth_modal/AuthModal.module.js +0 -3
- package/dist/components/auth/facebook_login_button/FacebookLoginButton.module.js +0 -6
- package/dist/components/auth/google_login_button/GoogleLoginButton.module.js +0 -6
- package/dist/components/auth/login_form/LoginForm.module.js +0 -9
- package/dist/components/auth/oauth2_button/OAuth2Button.module.js +0 -6
- package/dist/components/auth/signup_form/SignupForm.module.js +0 -7
- package/dist/components/auth/social_auth_form/SocialAuthForm.module.js +0 -21
- package/dist/components/auth/sso_form/SSOForm.module.js +0 -17
- package/dist/components/chart/line_chart/LineChart.module.js +0 -9
- package/dist/components/chart/pie_chart/PieChart.module.js +0 -3
- package/dist/components/consultation/consultation_box/ConsultationBox.module.js +0 -21
- package/dist/components/debate/debate_box/DebateBox.module.js +0 -26
- package/dist/components/dialog/announcement_dialog/AnnouncementDialog.module.js +0 -8
- package/dist/components/dialog/confirm_modal/ConfirmModal.module.js +0 -8
- package/dist/components/dialog/dialog_box/DialogBox.module.js +0 -16
- package/dist/components/dialog/drawer/Drawer.module.js +0 -17
- package/dist/components/dialog/dropdown/Dropdown.module.js +0 -10
- package/dist/components/dialog/modal/Modal.module.js +0 -12
- package/dist/components/dialog/toast/Toast.module.js +0 -14
- package/dist/components/dialog/toast_provider/ToastProvider.module.js +0 -3
- package/dist/components/dialog/tooltip/Tooltip.module.js +0 -12
- package/dist/components/embed/embed_header/EmbedHeader.module.js +0 -18
- package/dist/components/error/standard_error_boundary/StandardErrorBoundary.module.js +0 -3
- package/dist/components/follow/follow_button/FollowButton.module.js +0 -6
- package/dist/components/gamification/badge_box/BadgeBox.module.js +0 -19
- package/dist/components/gamification/point_box/PointBox.module.js +0 -7
- package/dist/components/input/argument_input/ArgumentInput.module.js +0 -23
- package/dist/components/input/checkbox/hidden/hidden-checkbox.module.js +0 -3
- package/dist/components/input/checkbox/indicator/checkbox-indicator.module.js +0 -6
- package/dist/components/input/search_input/SearchInput.module.js +0 -8
- package/dist/components/input/select/Select.module.js +0 -12
- package/dist/components/input/text_editor/TextEditor.module.js +0 -24
- package/dist/components/input/text_editor/plugins/ToolbarPlugin.module.js +0 -17
- package/dist/components/input/text_input/TextInput.module.js +0 -12
- package/dist/components/input/toggle/Toggle.module.js +0 -9
- package/dist/components/input/toggle_position/TogglePosition.module.js +0 -10
- package/dist/components/list/paginated_list/PaginatedList.module.js +0 -18
- package/dist/components/list/paginated_list/action_bar/ActionBar.module.js +0 -13
- package/dist/components/list/pagination/Pagination.module.js +0 -3
- package/dist/components/modal/side_modal/SideModal.module.js +0 -11
- package/dist/components/navbar/navbar_button/NavbarButton.module.js +0 -6
- package/dist/components/navbar/navbar_modal/NavbarModal.module.js +0 -16
- package/dist/components/notification/notification_item/NotificationItem.module.js +0 -10
- package/dist/components/notification/notification_menu/NotificationMenu.module.js +0 -8
- package/dist/components/progress/loader/Loader.module.js +0 -7
- package/dist/components/progress/progress_bar/ProgressBar.module.js +0 -14
- package/dist/components/proposal/proposal_box/ProposalBox.module.js +0 -11
- package/dist/components/report/report_box/ReportBox.module.js +0 -11
- package/dist/components/section/section_box/SectionBox.module.js +0 -14
- package/dist/components/share/share_box/ShareBox.module.js +0 -10
- package/dist/components/share/share_button/ShareButton.module.js +0 -9
- package/dist/components/share/share_modal/ShareModal.module.js +0 -3
- package/dist/components/skeleton/user_content_skeleton/UserContentSkeleton.module.js +0 -13
- package/dist/components/source/context_source_box/ContextSourceBox.module.js +0 -10
- package/dist/components/source/context_source_list/ContextSourceList.module.js +0 -10
- package/dist/components/source/source_box/SourceBox.module.js +0 -11
- package/dist/components/source/source_list_item/SourceListItem.module.js +0 -6
- package/dist/components/source/source_modal/SourceModal.module.js +0 -11
- package/dist/components/suggestion/suggestion_banner/SuggestionBanner.module.js +0 -13
- package/dist/components/suggestion/suggestion_box/SuggestionBox.module.js +0 -13
- package/dist/components/suggestion/suggestion_input/SuggestionInput.module.js +0 -11
- package/dist/components/summary/argument_summary_box/ArgumentSummaryBox.module.js +0 -13
- package/dist/components/summary/keyword_box/KeywordBox.module.js +0 -11
- package/dist/components/summary/summary/Summary.module.js +0 -6
- package/dist/components/summary/summary_box/SummaryBox.module.js +0 -10
- package/dist/components/tag/tag/Tag.module.js +0 -6
- package/dist/components/text/expandable_text/ExpandableText.module.js +0 -10
- package/dist/components/text/read_more/ReadMore.module.js +0 -11
- package/dist/components/translation/translation_button/TranslationButton.module.js +0 -3
- package/dist/components/user/author_box/AuthorBox.module.js +0 -18
- package/dist/components/user/avatar/Avatar.module.js +0 -8
- package/dist/components/user/avatar_selector/AvatarSelector.module.js +0 -18
- package/dist/components/user/update_user_info_modal/UpdateUserInfoModal.module.js +0 -23
- package/dist/components/user/user_box/UserBox.module.js +0 -13
- package/dist/components/user/user_box_small/UserBoxSmall.module.js +0 -6
- package/dist/components/user_content/content_footer/ContentFooter.module.js +0 -11
- package/dist/components/user_content/content_header/ContentHeader.module.js +0 -16
- package/dist/components/user_content/summary_content_box/SummaryContentBox.module.js +0 -10
- package/dist/components/user_content/use_report_content/ReportModal.module.js +0 -15
- package/dist/components/vote/suggestion_vote_box/SuggestionVoteBox.module.js +0 -6
- package/dist/components/vote/up_down_vote_box/UpDownVoteBox.module.js +0 -10
- package/dist/components/vote/vote_box/VoteBox.module.js +0 -31
- package/dist/components/vote/vote_button/VoteButton.module.js +0 -7
- package/dist/node_modules/.pnpm/@formatjs_fast-memoize@2.2.7/node_modules/@formatjs/fast-memoize/lib/index.js +0 -51
- 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
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/error.js +0 -7
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/index.js +0 -26
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/manipulator.js +0 -1
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/parser.js +0 -499
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/regex.generated.js +0 -4
- 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
- package/dist/node_modules/.pnpm/@formatjs_icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/types.js +0 -44
- package/dist/node_modules/.pnpm/@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/date-time.js +0 -101
- package/dist/node_modules/.pnpm/@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/number.js +0 -182
- package/dist/node_modules/.pnpm/@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/regex.generated.js +0 -4
- 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
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/dateTime.js +0 -80
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/displayName.js +0 -22
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/error.js +0 -66
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/list.js +0 -39
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/message.js +0 -59
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/number.js +0 -53
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/plural.js +0 -18
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/relativeTime.js +0 -22
- package/dist/node_modules/.pnpm/@formatjs_intl@3.1.8_typescript@5.9.3/node_modules/@formatjs/intl/lib/src/utils.js +0 -115
- package/dist/node_modules/.pnpm/@kurkle_color@0.3.4/node_modules/@kurkle/color/dist/color.esm.js +0 -470
- package/dist/node_modules/.pnpm/@lexical_clipboard@0.38.2/node_modules/@lexical/clipboard/LexicalClipboard.prod.js +0 -163
- package/dist/node_modules/.pnpm/@lexical_dragon@0.38.2/node_modules/@lexical/dragon/LexicalDragon.prod.js +0 -51
- package/dist/node_modules/.pnpm/@lexical_extension@0.38.2/node_modules/@lexical/extension/LexicalExtension.prod.js +0 -796
- package/dist/node_modules/.pnpm/@lexical_headless@0.38.2/node_modules/@lexical/headless/LexicalHeadless.prod.js +0 -21
- package/dist/node_modules/.pnpm/@lexical_history@0.38.2/node_modules/@lexical/history/LexicalHistory.prod.js +0 -132
- package/dist/node_modules/.pnpm/@lexical_html@0.38.2/node_modules/@lexical/html/LexicalHtml.prod.js +0 -88
- package/dist/node_modules/.pnpm/@lexical_list@0.38.2/node_modules/@lexical/list/LexicalList.prod.js +0 -737
- package/dist/node_modules/.pnpm/@lexical_overflow@0.38.2/node_modules/@lexical/overflow/LexicalOverflow.prod.js +0 -37
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/@lexical_rich-text@0.38.2/node_modules/@lexical/rich-text/LexicalRichText.prod.js +0 -418
- package/dist/node_modules/.pnpm/@lexical_selection@0.38.2/node_modules/@lexical/selection/LexicalSelection.prod.js +0 -170
- package/dist/node_modules/.pnpm/@lexical_text@0.38.2/node_modules/@lexical/text/LexicalText.prod.js +0 -33
- package/dist/node_modules/.pnpm/@lexical_utils@0.38.2/node_modules/@lexical/utils/LexicalUtils.prod.js +0 -112
- 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
- package/dist/node_modules/.pnpm/@rooks_use-previous@4.11.2/node_modules/@rooks/use-previous/lib/index.esm.js +0 -10
- 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
- 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
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/adapters.js +0 -41
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/fetch.js +0 -128
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/adapters/xhr.js +0 -59
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/axios.js +0 -30
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CancelToken.js +0 -59
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/CanceledError.js +0 -9
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/cancel/isCancel.js +0 -6
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/Axios.js +0 -131
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosError.js +0 -34
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/AxiosHeaders.js +0 -171
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/InterceptorManager.js +0 -28
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/buildFullPath.js +0 -9
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/dispatchRequest.js +0 -23
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/mergeConfig.js +0 -67
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/settle.js +0 -8
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/core/transformData.js +0 -12
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/index.js +0 -81
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/defaults/transitional.js +0 -9
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/env/data.js +0 -4
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +0 -32
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/HttpStatusCode.js +0 -77
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/bind.js +0 -8
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/buildURL.js +0 -17
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/combineURLs.js +0 -6
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/composeSignals.js +0 -27
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/cookies.js +0 -26
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/formDataToJSON.js +0 -27
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isAbsoluteURL.js +0 -6
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isAxiosError.js +0 -7
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/isURLSameOrigin.js +0 -5
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/parseHeaders.js +0 -28
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/parseProtocol.js +0 -7
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/progressEventReducer.js +0 -30
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/resolveConfig.js +0 -28
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/speedometer.js +0 -16
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/spread.js +0 -8
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/throttle.js +0 -14
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toFormData.js +0 -67
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/toURLEncodedForm.js +0 -14
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/trackStream.js +0 -51
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/helpers/validator.js +0 -47
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/Blob.js +0 -4
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/FormData.js +0 -4
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +0 -5
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/browser/index.js +0 -22
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/common/utils.js +0 -15
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/platform/index.js +0 -9
- package/dist/node_modules/.pnpm/axios@1.14.0/node_modules/axios/lib/utils.js +0 -235
- package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/auto/auto.js +0 -5
- package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/dist/chart.js +0 -6301
- package/dist/node_modules/.pnpm/chart.js@4.5.1/node_modules/chart.js/dist/chunks/helpers.dataset.js +0 -1381
- 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
- package/dist/node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.js +0 -32
- package/dist/node_modules/.pnpm/copy-to-clipboard@3.3.3/node_modules/copy-to-clipboard/index.js +0 -43
- package/dist/node_modules/.pnpm/dompurify@3.3.3/node_modules/dompurify/dist/purify.es.js +0 -549
- package/dist/node_modules/.pnpm/flat@5.0.2/node_modules/flat/index.js +0 -59
- package/dist/node_modules/.pnpm/goober@2.1.18_csstype@3.2.3/node_modules/goober/dist/goober.modern.js +0 -75
- 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
- package/dist/node_modules/.pnpm/intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/core.js +0 -154
- package/dist/node_modules/.pnpm/intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/error.js +0 -36
- package/dist/node_modules/.pnpm/intl-messageformat@10.7.18/node_modules/intl-messageformat/lib/src/formatters.js +0 -107
- package/dist/node_modules/.pnpm/lexical@0.38.2/node_modules/lexical/Lexical.prod.js +0 -5093
- package/dist/node_modules/.pnpm/path-to-regexp@6.3.0/node_modules/path-to-regexp/dist.es2015/index.js +0 -198
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +0 -82
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +0 -62
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +0 -10
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.development.js +0 -453
- package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -27
- package/dist/node_modules/.pnpm/react@18.3.1/node_modules/react/jsx-runtime.js +0 -10
- package/dist/node_modules/.pnpm/toggle-selection@1.0.6/node_modules/toggle-selection/index.js +0 -26
- package/dist/node_modules/.pnpm/tslib@2.8.1/node_modules/tslib/tslib.es6.js +0 -34
- package/dist/node_modules/.pnpm/use-debounce@10.1.1_react@18.3.1/node_modules/use-debounce/dist/index.module.js +0 -70
- 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
- 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
- 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
- package/dist/node_modules/.pnpm/webfontloader@1.6.28/node_modules/webfontloader/webfontloader.js +0 -482
|
@@ -1,499 +0,0 @@
|
|
|
1
|
-
import { __assign as e } from "../../../../../tslib@2.8.1/node_modules/tslib/tslib.es6.js";
|
|
2
|
-
import { ErrorKind as t } from "./error.js";
|
|
3
|
-
import { SKELETON_TYPE as n, TYPE as r } from "./types.js";
|
|
4
|
-
import { SPACE_SEPARATOR_REGEX as i } from "./regex.generated.js";
|
|
5
|
-
import { parseDateTimeSkeleton as a } from "../../../../../@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/date-time.js";
|
|
6
|
-
import { parseNumberSkeleton as o, parseNumberSkeletonFromString as s } from "../../../../../@formatjs_icu-skeleton-parser@1.8.16/node_modules/@formatjs/icu-skeleton-parser/lib/number.js";
|
|
7
|
-
import { getBestPattern as c } from "./date-time-pattern-generator.js";
|
|
8
|
-
//#region node_modules/.pnpm/@formatjs+icu-messageformat-parser@2.11.4/node_modules/@formatjs/icu-messageformat-parser/lib/parser.js
|
|
9
|
-
var l = RegExp(`^${i.source}*`), u = RegExp(`${i.source}*\$`);
|
|
10
|
-
function d(e, t) {
|
|
11
|
-
return {
|
|
12
|
-
start: e,
|
|
13
|
-
end: t
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
var f = !!String.prototype.startsWith && "_a".startsWith("a", 1), p = !!String.fromCodePoint, m = !!Object.fromEntries, h = !!String.prototype.codePointAt, g = !!String.prototype.trimStart, _ = !!String.prototype.trimEnd, v = Number.isSafeInteger ? Number.isSafeInteger : function(e) {
|
|
17
|
-
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
18
|
-
}, y = !0;
|
|
19
|
-
try {
|
|
20
|
-
y = E("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu").exec("a")?.[0] === "a";
|
|
21
|
-
} catch {
|
|
22
|
-
y = !1;
|
|
23
|
-
}
|
|
24
|
-
var b = f ? function(e, t, n) {
|
|
25
|
-
return e.startsWith(t, n);
|
|
26
|
-
} : function(e, t, n) {
|
|
27
|
-
return e.slice(n, n + t.length) === t;
|
|
28
|
-
}, x = p ? String.fromCodePoint : function() {
|
|
29
|
-
for (var e = [...arguments], t = "", n = e.length, r = 0, i; n > r;) {
|
|
30
|
-
if (i = e[r++], i > 1114111) throw RangeError(i + " is not a valid code point");
|
|
31
|
-
t += i < 65536 ? String.fromCharCode(i) : String.fromCharCode(((i -= 65536) >> 10) + 55296, i % 1024 + 56320);
|
|
32
|
-
}
|
|
33
|
-
return t;
|
|
34
|
-
}, S = m ? Object.fromEntries : function(e) {
|
|
35
|
-
for (var t = {}, n = 0, r = e; n < r.length; n++) {
|
|
36
|
-
var i = r[n], a = i[0];
|
|
37
|
-
t[a] = i[1];
|
|
38
|
-
}
|
|
39
|
-
return t;
|
|
40
|
-
}, C = h ? function(e, t) {
|
|
41
|
-
return e.codePointAt(t);
|
|
42
|
-
} : function(e, t) {
|
|
43
|
-
var n = e.length;
|
|
44
|
-
if (!(t < 0 || t >= n)) {
|
|
45
|
-
var r = e.charCodeAt(t), i;
|
|
46
|
-
return r < 55296 || r > 56319 || t + 1 === n || (i = e.charCodeAt(t + 1)) < 56320 || i > 57343 ? r : (r - 55296 << 10) + (i - 56320) + 65536;
|
|
47
|
-
}
|
|
48
|
-
}, w = g ? function(e) {
|
|
49
|
-
return e.trimStart();
|
|
50
|
-
} : function(e) {
|
|
51
|
-
return e.replace(l, "");
|
|
52
|
-
}, T = _ ? function(e) {
|
|
53
|
-
return e.trimEnd();
|
|
54
|
-
} : function(e) {
|
|
55
|
-
return e.replace(u, "");
|
|
56
|
-
};
|
|
57
|
-
function E(e, t) {
|
|
58
|
-
return new RegExp(e, t);
|
|
59
|
-
}
|
|
60
|
-
var D;
|
|
61
|
-
if (y) {
|
|
62
|
-
var O = E("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
63
|
-
D = function(e, t) {
|
|
64
|
-
return O.lastIndex = t, O.exec(e)[1] ?? "";
|
|
65
|
-
};
|
|
66
|
-
} else D = function(e, t) {
|
|
67
|
-
for (var n = [];;) {
|
|
68
|
-
var r = C(e, t);
|
|
69
|
-
if (r === void 0 || N(r) || P(r)) break;
|
|
70
|
-
n.push(r), t += r >= 65536 ? 2 : 1;
|
|
71
|
-
}
|
|
72
|
-
return x.apply(void 0, n);
|
|
73
|
-
};
|
|
74
|
-
var k = function() {
|
|
75
|
-
function i(e, t) {
|
|
76
|
-
t === void 0 && (t = {}), this.message = e, this.position = {
|
|
77
|
-
offset: 0,
|
|
78
|
-
line: 1,
|
|
79
|
-
column: 1
|
|
80
|
-
}, this.ignoreTag = !!t.ignoreTag, this.locale = t.locale, this.requiresOtherClause = !!t.requiresOtherClause, this.shouldParseSkeletons = !!t.shouldParseSkeletons;
|
|
81
|
-
}
|
|
82
|
-
return i.prototype.parse = function() {
|
|
83
|
-
if (this.offset() !== 0) throw Error("parser can only be used once");
|
|
84
|
-
return this.parseMessage(0, "", !1);
|
|
85
|
-
}, i.prototype.parseMessage = function(e, n, i) {
|
|
86
|
-
for (var a = []; !this.isEOF();) {
|
|
87
|
-
var o = this.char();
|
|
88
|
-
if (o === 123) {
|
|
89
|
-
var s = this.parseArgument(e, i);
|
|
90
|
-
if (s.err) return s;
|
|
91
|
-
a.push(s.val);
|
|
92
|
-
} else if (o === 125 && e > 0) break;
|
|
93
|
-
else if (o === 35 && (n === "plural" || n === "selectordinal")) {
|
|
94
|
-
var c = this.clonePosition();
|
|
95
|
-
this.bump(), a.push({
|
|
96
|
-
type: r.pound,
|
|
97
|
-
location: d(c, this.clonePosition())
|
|
98
|
-
});
|
|
99
|
-
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
100
|
-
if (i) break;
|
|
101
|
-
return this.error(t.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
|
|
102
|
-
} else if (o === 60 && !this.ignoreTag && A(this.peek() || 0)) {
|
|
103
|
-
var s = this.parseTag(e, n);
|
|
104
|
-
if (s.err) return s;
|
|
105
|
-
a.push(s.val);
|
|
106
|
-
} else {
|
|
107
|
-
var s = this.parseLiteral(e, n);
|
|
108
|
-
if (s.err) return s;
|
|
109
|
-
a.push(s.val);
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
return {
|
|
113
|
-
val: a,
|
|
114
|
-
err: null
|
|
115
|
-
};
|
|
116
|
-
}, i.prototype.parseTag = function(e, n) {
|
|
117
|
-
var i = this.clonePosition();
|
|
118
|
-
this.bump();
|
|
119
|
-
var a = this.parseTagName();
|
|
120
|
-
if (this.bumpSpace(), this.bumpIf("/>")) return {
|
|
121
|
-
val: {
|
|
122
|
-
type: r.literal,
|
|
123
|
-
value: `<${a}/>`,
|
|
124
|
-
location: d(i, this.clonePosition())
|
|
125
|
-
},
|
|
126
|
-
err: null
|
|
127
|
-
};
|
|
128
|
-
if (this.bumpIf(">")) {
|
|
129
|
-
var o = this.parseMessage(e + 1, n, !0);
|
|
130
|
-
if (o.err) return o;
|
|
131
|
-
var s = o.val, c = this.clonePosition();
|
|
132
|
-
if (this.bumpIf("</")) {
|
|
133
|
-
if (this.isEOF() || !A(this.char())) return this.error(t.INVALID_TAG, d(c, this.clonePosition()));
|
|
134
|
-
var l = this.clonePosition();
|
|
135
|
-
return a === this.parseTagName() ? (this.bumpSpace(), this.bumpIf(">") ? {
|
|
136
|
-
val: {
|
|
137
|
-
type: r.tag,
|
|
138
|
-
value: a,
|
|
139
|
-
children: s,
|
|
140
|
-
location: d(i, this.clonePosition())
|
|
141
|
-
},
|
|
142
|
-
err: null
|
|
143
|
-
} : this.error(t.INVALID_TAG, d(c, this.clonePosition()))) : this.error(t.UNMATCHED_CLOSING_TAG, d(l, this.clonePosition()));
|
|
144
|
-
} else return this.error(t.UNCLOSED_TAG, d(i, this.clonePosition()));
|
|
145
|
-
} else return this.error(t.INVALID_TAG, d(i, this.clonePosition()));
|
|
146
|
-
}, i.prototype.parseTagName = function() {
|
|
147
|
-
var e = this.offset();
|
|
148
|
-
for (this.bump(); !this.isEOF() && M(this.char());) this.bump();
|
|
149
|
-
return this.message.slice(e, this.offset());
|
|
150
|
-
}, i.prototype.parseLiteral = function(e, t) {
|
|
151
|
-
for (var n = this.clonePosition(), i = "";;) {
|
|
152
|
-
var a = this.tryParseQuote(t);
|
|
153
|
-
if (a) {
|
|
154
|
-
i += a;
|
|
155
|
-
continue;
|
|
156
|
-
}
|
|
157
|
-
var o = this.tryParseUnquoted(e, t);
|
|
158
|
-
if (o) {
|
|
159
|
-
i += o;
|
|
160
|
-
continue;
|
|
161
|
-
}
|
|
162
|
-
var s = this.tryParseLeftAngleBracket();
|
|
163
|
-
if (s) {
|
|
164
|
-
i += s;
|
|
165
|
-
continue;
|
|
166
|
-
}
|
|
167
|
-
break;
|
|
168
|
-
}
|
|
169
|
-
var c = d(n, this.clonePosition());
|
|
170
|
-
return {
|
|
171
|
-
val: {
|
|
172
|
-
type: r.literal,
|
|
173
|
-
value: i,
|
|
174
|
-
location: c
|
|
175
|
-
},
|
|
176
|
-
err: null
|
|
177
|
-
};
|
|
178
|
-
}, i.prototype.tryParseLeftAngleBracket = function() {
|
|
179
|
-
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || !j(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
180
|
-
}, i.prototype.tryParseQuote = function(e) {
|
|
181
|
-
if (this.isEOF() || this.char() !== 39) return null;
|
|
182
|
-
switch (this.peek()) {
|
|
183
|
-
case 39: return this.bump(), this.bump(), "'";
|
|
184
|
-
case 123:
|
|
185
|
-
case 60:
|
|
186
|
-
case 62:
|
|
187
|
-
case 125: break;
|
|
188
|
-
case 35:
|
|
189
|
-
if (e === "plural" || e === "selectordinal") break;
|
|
190
|
-
return null;
|
|
191
|
-
default: return null;
|
|
192
|
-
}
|
|
193
|
-
this.bump();
|
|
194
|
-
var t = [this.char()];
|
|
195
|
-
for (this.bump(); !this.isEOF();) {
|
|
196
|
-
var n = this.char();
|
|
197
|
-
if (n === 39) if (this.peek() === 39) t.push(39), this.bump();
|
|
198
|
-
else {
|
|
199
|
-
this.bump();
|
|
200
|
-
break;
|
|
201
|
-
}
|
|
202
|
-
else t.push(n);
|
|
203
|
-
this.bump();
|
|
204
|
-
}
|
|
205
|
-
return x.apply(void 0, t);
|
|
206
|
-
}, i.prototype.tryParseUnquoted = function(e, t) {
|
|
207
|
-
if (this.isEOF()) return null;
|
|
208
|
-
var n = this.char();
|
|
209
|
-
return n === 60 || n === 123 || n === 35 && (t === "plural" || t === "selectordinal") || n === 125 && e > 0 ? null : (this.bump(), x(n));
|
|
210
|
-
}, i.prototype.parseArgument = function(e, n) {
|
|
211
|
-
var i = this.clonePosition();
|
|
212
|
-
if (this.bump(), this.bumpSpace(), this.isEOF()) return this.error(t.EXPECT_ARGUMENT_CLOSING_BRACE, d(i, this.clonePosition()));
|
|
213
|
-
if (this.char() === 125) return this.bump(), this.error(t.EMPTY_ARGUMENT, d(i, this.clonePosition()));
|
|
214
|
-
var a = this.parseIdentifierIfPossible().value;
|
|
215
|
-
if (!a) return this.error(t.MALFORMED_ARGUMENT, d(i, this.clonePosition()));
|
|
216
|
-
if (this.bumpSpace(), this.isEOF()) return this.error(t.EXPECT_ARGUMENT_CLOSING_BRACE, d(i, this.clonePosition()));
|
|
217
|
-
switch (this.char()) {
|
|
218
|
-
case 125: return this.bump(), {
|
|
219
|
-
val: {
|
|
220
|
-
type: r.argument,
|
|
221
|
-
value: a,
|
|
222
|
-
location: d(i, this.clonePosition())
|
|
223
|
-
},
|
|
224
|
-
err: null
|
|
225
|
-
};
|
|
226
|
-
case 44: return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(t.EXPECT_ARGUMENT_CLOSING_BRACE, d(i, this.clonePosition())) : this.parseArgumentOptions(e, n, a, i);
|
|
227
|
-
default: return this.error(t.MALFORMED_ARGUMENT, d(i, this.clonePosition()));
|
|
228
|
-
}
|
|
229
|
-
}, i.prototype.parseIdentifierIfPossible = function() {
|
|
230
|
-
var e = this.clonePosition(), t = this.offset(), n = D(this.message, t), r = t + n.length;
|
|
231
|
-
return this.bumpTo(r), {
|
|
232
|
-
value: n,
|
|
233
|
-
location: d(e, this.clonePosition())
|
|
234
|
-
};
|
|
235
|
-
}, i.prototype.parseArgumentOptions = function(i, o, s, l) {
|
|
236
|
-
var u = this.clonePosition(), f = this.parseIdentifierIfPossible().value, p = this.clonePosition();
|
|
237
|
-
switch (f) {
|
|
238
|
-
case "": return this.error(t.EXPECT_ARGUMENT_TYPE, d(u, p));
|
|
239
|
-
case "number":
|
|
240
|
-
case "date":
|
|
241
|
-
case "time":
|
|
242
|
-
this.bumpSpace();
|
|
243
|
-
var m = null;
|
|
244
|
-
if (this.bumpIf(",")) {
|
|
245
|
-
this.bumpSpace();
|
|
246
|
-
var h = this.clonePosition(), g = this.parseSimpleArgStyleIfPossible();
|
|
247
|
-
if (g.err) return g;
|
|
248
|
-
var _ = T(g.val);
|
|
249
|
-
if (_.length === 0) return this.error(t.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
|
|
250
|
-
m = {
|
|
251
|
-
style: _,
|
|
252
|
-
styleLocation: d(h, this.clonePosition())
|
|
253
|
-
};
|
|
254
|
-
}
|
|
255
|
-
var v = this.tryParseArgumentClose(l);
|
|
256
|
-
if (v.err) return v;
|
|
257
|
-
var y = d(l, this.clonePosition());
|
|
258
|
-
if (m && b(m?.style, "::", 0)) {
|
|
259
|
-
var x = w(m.style.slice(2));
|
|
260
|
-
if (f === "number") {
|
|
261
|
-
var g = this.parseNumberSkeletonFromString(x, m.styleLocation);
|
|
262
|
-
return g.err ? g : {
|
|
263
|
-
val: {
|
|
264
|
-
type: r.number,
|
|
265
|
-
value: s,
|
|
266
|
-
location: y,
|
|
267
|
-
style: g.val
|
|
268
|
-
},
|
|
269
|
-
err: null
|
|
270
|
-
};
|
|
271
|
-
} else {
|
|
272
|
-
if (x.length === 0) return this.error(t.EXPECT_DATE_TIME_SKELETON, y);
|
|
273
|
-
var C = x;
|
|
274
|
-
this.locale && (C = c(x, this.locale));
|
|
275
|
-
var _ = {
|
|
276
|
-
type: n.dateTime,
|
|
277
|
-
pattern: C,
|
|
278
|
-
location: m.styleLocation,
|
|
279
|
-
parsedOptions: this.shouldParseSkeletons ? a(C) : {}
|
|
280
|
-
};
|
|
281
|
-
return {
|
|
282
|
-
val: {
|
|
283
|
-
type: f === "date" ? r.date : r.time,
|
|
284
|
-
value: s,
|
|
285
|
-
location: y,
|
|
286
|
-
style: _
|
|
287
|
-
},
|
|
288
|
-
err: null
|
|
289
|
-
};
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
return {
|
|
293
|
-
val: {
|
|
294
|
-
type: f === "number" ? r.number : f === "date" ? r.date : r.time,
|
|
295
|
-
value: s,
|
|
296
|
-
location: y,
|
|
297
|
-
style: m?.style ?? null
|
|
298
|
-
},
|
|
299
|
-
err: null
|
|
300
|
-
};
|
|
301
|
-
case "plural":
|
|
302
|
-
case "selectordinal":
|
|
303
|
-
case "select":
|
|
304
|
-
var E = this.clonePosition();
|
|
305
|
-
if (this.bumpSpace(), !this.bumpIf(",")) return this.error(t.EXPECT_SELECT_ARGUMENT_OPTIONS, d(E, e({}, E)));
|
|
306
|
-
this.bumpSpace();
|
|
307
|
-
var D = this.parseIdentifierIfPossible(), O = 0;
|
|
308
|
-
if (f !== "select" && D.value === "offset") {
|
|
309
|
-
if (!this.bumpIf(":")) return this.error(t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d(this.clonePosition(), this.clonePosition()));
|
|
310
|
-
this.bumpSpace();
|
|
311
|
-
var g = this.tryParseDecimalInteger(t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
312
|
-
if (g.err) return g;
|
|
313
|
-
this.bumpSpace(), D = this.parseIdentifierIfPossible(), O = g.val;
|
|
314
|
-
}
|
|
315
|
-
var k = this.tryParsePluralOrSelectOptions(i, f, o, D);
|
|
316
|
-
if (k.err) return k;
|
|
317
|
-
var v = this.tryParseArgumentClose(l);
|
|
318
|
-
if (v.err) return v;
|
|
319
|
-
var A = d(l, this.clonePosition());
|
|
320
|
-
return f === "select" ? {
|
|
321
|
-
val: {
|
|
322
|
-
type: r.select,
|
|
323
|
-
value: s,
|
|
324
|
-
options: S(k.val),
|
|
325
|
-
location: A
|
|
326
|
-
},
|
|
327
|
-
err: null
|
|
328
|
-
} : {
|
|
329
|
-
val: {
|
|
330
|
-
type: r.plural,
|
|
331
|
-
value: s,
|
|
332
|
-
options: S(k.val),
|
|
333
|
-
offset: O,
|
|
334
|
-
pluralType: f === "plural" ? "cardinal" : "ordinal",
|
|
335
|
-
location: A
|
|
336
|
-
},
|
|
337
|
-
err: null
|
|
338
|
-
};
|
|
339
|
-
default: return this.error(t.INVALID_ARGUMENT_TYPE, d(u, p));
|
|
340
|
-
}
|
|
341
|
-
}, i.prototype.tryParseArgumentClose = function(e) {
|
|
342
|
-
return this.isEOF() || this.char() !== 125 ? this.error(t.EXPECT_ARGUMENT_CLOSING_BRACE, d(e, this.clonePosition())) : (this.bump(), {
|
|
343
|
-
val: !0,
|
|
344
|
-
err: null
|
|
345
|
-
});
|
|
346
|
-
}, i.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
347
|
-
for (var e = 0, n = this.clonePosition(); !this.isEOF();) switch (this.char()) {
|
|
348
|
-
case 39:
|
|
349
|
-
this.bump();
|
|
350
|
-
var r = this.clonePosition();
|
|
351
|
-
if (!this.bumpUntil("'")) return this.error(t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, d(r, this.clonePosition()));
|
|
352
|
-
this.bump();
|
|
353
|
-
break;
|
|
354
|
-
case 123:
|
|
355
|
-
e += 1, this.bump();
|
|
356
|
-
break;
|
|
357
|
-
case 125:
|
|
358
|
-
if (e > 0) --e;
|
|
359
|
-
else return {
|
|
360
|
-
val: this.message.slice(n.offset, this.offset()),
|
|
361
|
-
err: null
|
|
362
|
-
};
|
|
363
|
-
break;
|
|
364
|
-
default:
|
|
365
|
-
this.bump();
|
|
366
|
-
break;
|
|
367
|
-
}
|
|
368
|
-
return {
|
|
369
|
-
val: this.message.slice(n.offset, this.offset()),
|
|
370
|
-
err: null
|
|
371
|
-
};
|
|
372
|
-
}, i.prototype.parseNumberSkeletonFromString = function(e, r) {
|
|
373
|
-
var i = [];
|
|
374
|
-
try {
|
|
375
|
-
i = s(e);
|
|
376
|
-
} catch {
|
|
377
|
-
return this.error(t.INVALID_NUMBER_SKELETON, r);
|
|
378
|
-
}
|
|
379
|
-
return {
|
|
380
|
-
val: {
|
|
381
|
-
type: n.number,
|
|
382
|
-
tokens: i,
|
|
383
|
-
location: r,
|
|
384
|
-
parsedOptions: this.shouldParseSkeletons ? o(i) : {}
|
|
385
|
-
},
|
|
386
|
-
err: null
|
|
387
|
-
};
|
|
388
|
-
}, i.prototype.tryParsePluralOrSelectOptions = function(e, n, r, i) {
|
|
389
|
-
for (var a, o = !1, s = [], c = /* @__PURE__ */ new Set(), l = i.value, u = i.location;;) {
|
|
390
|
-
if (l.length === 0) {
|
|
391
|
-
var f = this.clonePosition();
|
|
392
|
-
if (n !== "select" && this.bumpIf("=")) {
|
|
393
|
-
var p = this.tryParseDecimalInteger(t.EXPECT_PLURAL_ARGUMENT_SELECTOR, t.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
394
|
-
if (p.err) return p;
|
|
395
|
-
u = d(f, this.clonePosition()), l = this.message.slice(f.offset, this.offset());
|
|
396
|
-
} else break;
|
|
397
|
-
}
|
|
398
|
-
if (c.has(l)) return this.error(n === "select" ? t.DUPLICATE_SELECT_ARGUMENT_SELECTOR : t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
|
|
399
|
-
l === "other" && (o = !0), this.bumpSpace();
|
|
400
|
-
var m = this.clonePosition();
|
|
401
|
-
if (!this.bumpIf("{")) return this.error(n === "select" ? t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
|
|
402
|
-
var h = this.parseMessage(e + 1, n, r);
|
|
403
|
-
if (h.err) return h;
|
|
404
|
-
var g = this.tryParseArgumentClose(m);
|
|
405
|
-
if (g.err) return g;
|
|
406
|
-
s.push([l, {
|
|
407
|
-
value: h.val,
|
|
408
|
-
location: d(m, this.clonePosition())
|
|
409
|
-
}]), c.add(l), this.bumpSpace(), a = this.parseIdentifierIfPossible(), l = a.value, u = a.location;
|
|
410
|
-
}
|
|
411
|
-
return s.length === 0 ? this.error(n === "select" ? t.EXPECT_SELECT_ARGUMENT_SELECTOR : t.EXPECT_PLURAL_ARGUMENT_SELECTOR, d(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(t.MISSING_OTHER_CLAUSE, d(this.clonePosition(), this.clonePosition())) : {
|
|
412
|
-
val: s,
|
|
413
|
-
err: null
|
|
414
|
-
};
|
|
415
|
-
}, i.prototype.tryParseDecimalInteger = function(e, t) {
|
|
416
|
-
var n = 1, r = this.clonePosition();
|
|
417
|
-
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
418
|
-
for (var i = !1, a = 0; !this.isEOF();) {
|
|
419
|
-
var o = this.char();
|
|
420
|
-
if (o >= 48 && o <= 57) i = !0, a = a * 10 + (o - 48), this.bump();
|
|
421
|
-
else break;
|
|
422
|
-
}
|
|
423
|
-
var s = d(r, this.clonePosition());
|
|
424
|
-
return i ? (a *= n, v(a) ? {
|
|
425
|
-
val: a,
|
|
426
|
-
err: null
|
|
427
|
-
} : this.error(t, s)) : this.error(e, s);
|
|
428
|
-
}, i.prototype.offset = function() {
|
|
429
|
-
return this.position.offset;
|
|
430
|
-
}, i.prototype.isEOF = function() {
|
|
431
|
-
return this.offset() === this.message.length;
|
|
432
|
-
}, i.prototype.clonePosition = function() {
|
|
433
|
-
return {
|
|
434
|
-
offset: this.position.offset,
|
|
435
|
-
line: this.position.line,
|
|
436
|
-
column: this.position.column
|
|
437
|
-
};
|
|
438
|
-
}, i.prototype.char = function() {
|
|
439
|
-
var e = this.position.offset;
|
|
440
|
-
if (e >= this.message.length) throw Error("out of bound");
|
|
441
|
-
var t = C(this.message, e);
|
|
442
|
-
if (t === void 0) throw Error(`Offset ${e} is at invalid UTF-16 code unit boundary`);
|
|
443
|
-
return t;
|
|
444
|
-
}, i.prototype.error = function(e, t) {
|
|
445
|
-
return {
|
|
446
|
-
val: null,
|
|
447
|
-
err: {
|
|
448
|
-
kind: e,
|
|
449
|
-
message: this.message,
|
|
450
|
-
location: t
|
|
451
|
-
}
|
|
452
|
-
};
|
|
453
|
-
}, i.prototype.bump = function() {
|
|
454
|
-
if (!this.isEOF()) {
|
|
455
|
-
var e = this.char();
|
|
456
|
-
e === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += e < 65536 ? 1 : 2);
|
|
457
|
-
}
|
|
458
|
-
}, i.prototype.bumpIf = function(e) {
|
|
459
|
-
if (b(this.message, e, this.offset())) {
|
|
460
|
-
for (var t = 0; t < e.length; t++) this.bump();
|
|
461
|
-
return !0;
|
|
462
|
-
}
|
|
463
|
-
return !1;
|
|
464
|
-
}, i.prototype.bumpUntil = function(e) {
|
|
465
|
-
var t = this.offset(), n = this.message.indexOf(e, t);
|
|
466
|
-
return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
|
|
467
|
-
}, i.prototype.bumpTo = function(e) {
|
|
468
|
-
if (this.offset() > e) throw Error(`targetOffset ${e} must be greater than or equal to the current offset ${this.offset()}`);
|
|
469
|
-
for (e = Math.min(e, this.message.length);;) {
|
|
470
|
-
var t = this.offset();
|
|
471
|
-
if (t === e) break;
|
|
472
|
-
if (t > e) throw Error(`targetOffset ${e} is at invalid UTF-16 code unit boundary`);
|
|
473
|
-
if (this.bump(), this.isEOF()) break;
|
|
474
|
-
}
|
|
475
|
-
}, i.prototype.bumpSpace = function() {
|
|
476
|
-
for (; !this.isEOF() && N(this.char());) this.bump();
|
|
477
|
-
}, i.prototype.peek = function() {
|
|
478
|
-
if (this.isEOF()) return null;
|
|
479
|
-
var e = this.char(), t = this.offset();
|
|
480
|
-
return this.message.charCodeAt(t + (e >= 65536 ? 2 : 1)) ?? null;
|
|
481
|
-
}, i;
|
|
482
|
-
}();
|
|
483
|
-
function A(e) {
|
|
484
|
-
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
485
|
-
}
|
|
486
|
-
function j(e) {
|
|
487
|
-
return A(e) || e === 47;
|
|
488
|
-
}
|
|
489
|
-
function M(e) {
|
|
490
|
-
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
491
|
-
}
|
|
492
|
-
function N(e) {
|
|
493
|
-
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
494
|
-
}
|
|
495
|
-
function P(e) {
|
|
496
|
-
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
497
|
-
}
|
|
498
|
-
//#endregion
|
|
499
|
-
export { k as Parser };
|