wagtail 6.2.2__py3-none-any.whl → 6.3__py3-none-any.whl
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.
- wagtail/__init__.py +1 -1
- wagtail/actions/copy_for_translation.py +6 -0
- wagtail/actions/publish_revision.py +3 -3
- wagtail/admin/action_menu.py +5 -3
- wagtail/admin/forms/account.py +1 -1
- wagtail/admin/icons.py +2 -6
- wagtail/admin/locale/ar/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/ar/LC_MESSAGES/django.po +16 -35
- wagtail/admin/locale/az_AZ/LC_MESSAGES/django.po +1 -1
- wagtail/admin/locale/be/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/be/LC_MESSAGES/django.po +16 -26
- wagtail/admin/locale/bg/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/bg/LC_MESSAGES/django.po +7 -11
- wagtail/admin/locale/bn/LC_MESSAGES/django.po +1 -1
- wagtail/admin/locale/ca/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/ca/LC_MESSAGES/django.po +87 -109
- wagtail/admin/locale/cs/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/cs/LC_MESSAGES/django.po +35 -68
- wagtail/admin/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/cy/LC_MESSAGES/django.po +45 -16
- wagtail/admin/locale/da/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/da/LC_MESSAGES/django.po +6 -16
- wagtail/admin/locale/de/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/de/LC_MESSAGES/django.po +91 -113
- wagtail/admin/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/dv/LC_MESSAGES/django.po +72 -86
- wagtail/admin/locale/el/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/el/LC_MESSAGES/django.po +21 -37
- wagtail/admin/locale/en/LC_MESSAGES/django.po +451 -485
- wagtail/admin/locale/en/LC_MESSAGES/djangojs.po +7 -7
- wagtail/admin/locale/es/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/es/LC_MESSAGES/django.po +41 -83
- wagtail/admin/locale/es_419/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/es_419/LC_MESSAGES/django.po +4 -7
- wagtail/admin/locale/es_VE/LC_MESSAGES/django.po +1 -1
- wagtail/admin/locale/et/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/et/LC_MESSAGES/django.po +28 -55
- wagtail/admin/locale/eu/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/eu/LC_MESSAGES/django.po +7 -11
- wagtail/admin/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/fa/LC_MESSAGES/django.po +33 -64
- wagtail/admin/locale/fi/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/fi/LC_MESSAGES/django.po +109 -93
- wagtail/admin/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/fr/LC_MESSAGES/django.po +94 -117
- wagtail/admin/locale/fr/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/fr/LC_MESSAGES/djangojs.po +3 -3
- wagtail/admin/locale/gl/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/gl/LC_MESSAGES/django.po +87 -109
- wagtail/admin/locale/he_IL/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/he_IL/LC_MESSAGES/django.po +7 -17
- wagtail/admin/locale/hr_HR/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/hr_HR/LC_MESSAGES/django.po +28 -55
- wagtail/admin/locale/ht/LC_MESSAGES/django.po +1 -1
- wagtail/admin/locale/hu/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/hu/LC_MESSAGES/django.po +55 -120
- wagtail/admin/locale/id_ID/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/id_ID/LC_MESSAGES/django.po +10 -27
- wagtail/admin/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/is_IS/LC_MESSAGES/django.po +213 -111
- wagtail/admin/locale/is_IS/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/is_IS/LC_MESSAGES/djangojs.po +7 -2
- wagtail/admin/locale/it/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/it/LC_MESSAGES/django.po +53 -122
- wagtail/admin/locale/ja/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/ja/LC_MESSAGES/django.po +19 -45
- wagtail/admin/locale/ka/LC_MESSAGES/django.po +6 -6
- wagtail/admin/locale/ko/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/ko/LC_MESSAGES/django.po +42 -75
- wagtail/admin/locale/lt/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/lt/LC_MESSAGES/django.po +22 -38
- wagtail/admin/locale/lv/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/lv/LC_MESSAGES/django.po +13 -23
- wagtail/admin/locale/mi/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/mi/LC_MESSAGES/django.po +13 -17
- wagtail/admin/locale/mn/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/mn/LC_MESSAGES/django.po +10 -34
- wagtail/admin/locale/my/LC_MESSAGES/django.po +4 -4
- wagtail/admin/locale/nb/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/nb/LC_MESSAGES/django.po +10 -39
- wagtail/admin/locale/nl/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/nl/LC_MESSAGES/django.po +92 -111
- wagtail/admin/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/pl/LC_MESSAGES/django.po +346 -92
- wagtail/admin/locale/pl/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/pl/LC_MESSAGES/djangojs.po +9 -2
- wagtail/admin/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/pt_BR/LC_MESSAGES/django.po +53 -122
- wagtail/admin/locale/pt_PT/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/pt_PT/LC_MESSAGES/django.po +38 -71
- wagtail/admin/locale/ro/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/ro/LC_MESSAGES/django.po +43 -95
- wagtail/admin/locale/ru/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/ru/LC_MESSAGES/django.po +91 -115
- wagtail/admin/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/sk_SK/LC_MESSAGES/django.po +10 -26
- wagtail/admin/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/sl/LC_MESSAGES/django.po +200 -102
- wagtail/admin/locale/sl/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/sl/LC_MESSAGES/djangojs.po +9 -2
- wagtail/admin/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/sv/LC_MESSAGES/django.po +44 -96
- wagtail/admin/locale/tet/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/tet/LC_MESSAGES/django.po +10 -26
- wagtail/admin/locale/th/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/th/LC_MESSAGES/django.po +13 -32
- wagtail/admin/locale/tr/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/tr/LC_MESSAGES/django.po +10 -26
- wagtail/admin/locale/tr_TR/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/tr_TR/LC_MESSAGES/django.po +10 -26
- wagtail/admin/locale/ug/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/ug/LC_MESSAGES/django.po +3224 -193
- wagtail/admin/locale/uk/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/uk/LC_MESSAGES/django.po +40 -73
- wagtail/admin/locale/vi/LC_MESSAGES/django.po +7 -7
- wagtail/admin/locale/zh/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/zh/LC_MESSAGES/django.po +7 -11
- wagtail/admin/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/zh_Hans/LC_MESSAGES/django.po +41 -92
- wagtail/admin/locale/zh_Hant/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/zh_Hant/LC_MESSAGES/django.po +38 -64
- wagtail/admin/localization.py +12 -2
- wagtail/admin/mail.py +2 -2
- wagtail/admin/panels/model_utils.py +1 -1
- wagtail/admin/site_summary.py +0 -2
- wagtail/admin/static/wagtailadmin/css/core.css +1 -1
- wagtail/admin/static/wagtailadmin/css/panels/draftail.css +1 -1
- wagtail/admin/static/wagtailadmin/images/email-header.jpg +0 -0
- wagtail/admin/static/wagtailadmin/js/bulk-actions.js +1 -1
- wagtail/admin/static/wagtailadmin/js/core.js +1 -1
- wagtail/admin/static/wagtailadmin/js/core.js.LICENSE.txt +12 -0
- wagtail/admin/static/wagtailadmin/js/draftail.js +1 -1
- wagtail/admin/static/wagtailadmin/js/sidebar.js +1 -1
- wagtail/admin/static/wagtailadmin/js/telepath/telepath.js +1 -1
- wagtail/admin/static/wagtailadmin/js/telepath/widgets.js +1 -1
- wagtail/admin/static/wagtailadmin/js/userbar.js +1 -1
- wagtail/admin/static/wagtailadmin/js/userbar.js.LICENSE.txt +1 -1
- wagtail/admin/static/wagtailadmin/js/vendor.js +1 -1
- wagtail/admin/static/wagtailadmin/js/wagtailadmin.js +1 -1
- wagtail/admin/static/wagtailadmin/js/workflow-action.js +1 -1
- wagtail/admin/staticfiles.py +6 -4
- wagtail/admin/templates/wagtailadmin/account/account.html +42 -59
- wagtail/admin/templates/wagtailadmin/admin_base.html +0 -28
- wagtail/admin/templates/wagtailadmin/bulk_actions/footer.html +1 -1
- wagtail/admin/templates/wagtailadmin/chooser/_search_results.html +7 -5
- wagtail/admin/templates/wagtailadmin/chooser/tables/page_navigate_to_children_cell.html +1 -1
- wagtail/admin/templates/wagtailadmin/generic/chooser/results.html +7 -5
- wagtail/admin/templates/wagtailadmin/generic/edit.html +0 -8
- wagtail/admin/templates/wagtailadmin/generic/form.html +60 -17
- wagtail/admin/templates/wagtailadmin/generic/index.html +17 -0
- wagtail/admin/templates/wagtailadmin/generic/index_results.html +9 -35
- wagtail/admin/templates/wagtailadmin/generic/inspect.html +2 -21
- wagtail/admin/templates/wagtailadmin/generic/listing.html +11 -17
- wagtail/admin/templates/wagtailadmin/generic/listing_results.html +19 -1
- wagtail/admin/templates/wagtailadmin/home/account_summary.html +26 -0
- wagtail/admin/templates/wagtailadmin/home/locked_pages.html +28 -18
- wagtail/admin/templates/wagtailadmin/home/recent_edits.html +28 -17
- wagtail/admin/templates/wagtailadmin/home/site_summary_pages.html +2 -2
- wagtail/admin/templates/wagtailadmin/home/upgrade_notification.html +35 -13
- wagtail/admin/templates/wagtailadmin/home/user_objects_in_workflow_moderation.html +28 -18
- wagtail/admin/templates/wagtailadmin/home/workflow_objects_to_moderate.html +43 -32
- wagtail/admin/templates/wagtailadmin/home.html +22 -5
- wagtail/admin/templates/wagtailadmin/pages/_editor_js.html +0 -1
- wagtail/admin/templates/wagtailadmin/pages/action_menu/menu.html +1 -11
- wagtail/admin/templates/wagtailadmin/pages/action_menu/menu_item.html +1 -6
- wagtail/admin/templates/wagtailadmin/pages/action_menu/page_locked.html +1 -1
- wagtail/admin/templates/wagtailadmin/pages/action_menu/publish.html +1 -1
- wagtail/admin/templates/wagtailadmin/pages/action_menu/save_draft.html +1 -1
- wagtail/admin/templates/wagtailadmin/pages/bulk_actions/confirm_bulk_delete.html +12 -6
- wagtail/admin/templates/wagtailadmin/pages/bulk_actions/confirm_bulk_move.html +12 -7
- wagtail/admin/templates/wagtailadmin/pages/bulk_actions/confirm_bulk_publish.html +17 -11
- wagtail/admin/templates/wagtailadmin/pages/bulk_actions/confirm_bulk_unpublish.html +15 -9
- wagtail/admin/templates/wagtailadmin/pages/confirm_delete.html +9 -9
- wagtail/admin/templates/wagtailadmin/pages/confirm_move.html +2 -2
- wagtail/admin/templates/wagtailadmin/pages/confirm_unpublish.html +4 -4
- wagtail/admin/templates/wagtailadmin/pages/create.html +15 -34
- wagtail/admin/templates/wagtailadmin/pages/edit.html +15 -30
- wagtail/admin/templates/wagtailadmin/pages/explorable_index.html +6 -0
- wagtail/admin/templates/wagtailadmin/pages/explorable_index_results.html +60 -0
- wagtail/admin/templates/wagtailadmin/pages/index.html +1 -36
- wagtail/admin/templates/wagtailadmin/pages/index_results.html +2 -50
- wagtail/admin/templates/wagtailadmin/pages/listing/_locked_indicator.html +1 -1
- wagtail/admin/templates/wagtailadmin/pages/listing/_ordering_cell.html +1 -1
- wagtail/admin/templates/wagtailadmin/pages/listing/_page_header_buttons.html +1 -1
- wagtail/admin/templates/wagtailadmin/pages/listing/_page_title_column_header.html +3 -3
- wagtail/admin/templates/wagtailadmin/pages/listing/_pagination.html +1 -1
- wagtail/admin/templates/wagtailadmin/pages/listing.html +24 -0
- wagtail/admin/templates/wagtailadmin/pages/search.html +1 -20
- wagtail/admin/templates/wagtailadmin/pages/search_results.html +27 -25
- wagtail/admin/templates/wagtailadmin/permissions/includes/collection_member_permissions_formset.html +0 -1
- wagtail/admin/templates/wagtailadmin/reports/listing/_list_page_report.html +2 -2
- wagtail/admin/templates/wagtailadmin/reports/listing/_list_page_types_usage.html +6 -6
- wagtail/admin/templates/wagtailadmin/reports/workflow_tasks_results.html +1 -1
- wagtail/admin/templates/wagtailadmin/shared/action_menu/menu.html +14 -0
- wagtail/admin/templates/wagtailadmin/shared/action_menu/menu_item.html +6 -0
- wagtail/admin/templates/wagtailadmin/shared/avatar.html +13 -3
- wagtail/admin/templates/wagtailadmin/shared/header.html +0 -5
- wagtail/admin/templates/wagtailadmin/shared/headers/slim_header.html +1 -1
- wagtail/admin/templates/wagtailadmin/shared/page_status_tag_new.html +4 -1
- wagtail/admin/templates/wagtailadmin/shared/pagination_nav.html +1 -1
- wagtail/admin/templates/wagtailadmin/shared/side_panel_toggle.html +1 -1
- wagtail/admin/templates/wagtailadmin/shared/side_panels/includes/status/locale.html +1 -1
- wagtail/admin/templates/wagtailadmin/shared/side_panels/includes/status/usage.html +2 -2
- wagtail/admin/templates/wagtailadmin/shared/side_panels/preview.html +94 -52
- wagtail/admin/templates/wagtailadmin/{pages/_unsaved_changes_warning.html → shared/unsaved_changes_warning.html} +4 -4
- wagtail/admin/templates/wagtailadmin/shared/usage_summary.html +2 -2
- wagtail/admin/templates/wagtailadmin/shared/workflow_history/detail.html +1 -7
- wagtail/admin/templates/wagtailadmin/shared/workflow_history/listing.html +1 -0
- wagtail/admin/templates/wagtailadmin/shared/workflow_history/{list.html → listing_results.html} +33 -35
- wagtail/admin/templates/wagtailadmin/tables/references_cell.html +1 -1
- wagtail/admin/templates/wagtailadmin/workflows/create.html +11 -36
- wagtail/admin/templates/wagtailadmin/workflows/create_task.html +0 -38
- wagtail/admin/templates/wagtailadmin/workflows/edit.html +44 -74
- wagtail/admin/templates/wagtailadmin/workflows/edit_task.html +27 -66
- wagtail/admin/templates/wagtailadmin/workflows/includes/task_usage_cell.html +4 -2
- wagtail/admin/templates/wagtailadmin/workflows/includes/workflow_tasks_cell.html +4 -4
- wagtail/admin/templates/wagtailadmin/workflows/includes/workflow_used_by_cell.html +15 -11
- wagtail/admin/templates/wagtailadmin/workflows/task_chooser/includes/results.html +7 -5
- wagtail/admin/templatetags/wagtailadmin_tags.py +51 -22
- wagtail/admin/tests/pages/test_content_type_use_view.py +82 -2
- wagtail/admin/tests/pages/test_edit_page.py +70 -0
- wagtail/admin/tests/pages/test_explorer_view.py +65 -4
- wagtail/admin/tests/pages/test_page_search.py +8 -7
- wagtail/admin/tests/pages/test_page_usage.py +3 -1
- wagtail/admin/tests/pages/test_preview.py +208 -63
- wagtail/admin/tests/pages/test_reorder_page.py +91 -1
- wagtail/admin/tests/pages/test_view_draft.py +32 -1
- wagtail/admin/tests/pages/test_workflow_history.py +288 -7
- wagtail/admin/tests/test_account_management.py +23 -3
- wagtail/admin/tests/test_audit_log.py +24 -2
- wagtail/admin/tests/test_collections_views.py +17 -5
- wagtail/admin/tests/test_dashboard.py +1 -1
- wagtail/admin/tests/test_edit_handlers.py +3 -2
- wagtail/admin/tests/test_icon_sprite.py +4 -0
- wagtail/admin/tests/test_privacy.py +5 -19
- wagtail/admin/tests/test_reports_views.py +1 -1
- wagtail/admin/tests/test_site_summary.py +3 -3
- wagtail/admin/tests/test_templatetags.py +27 -3
- wagtail/admin/tests/test_upgrade_notification.py +71 -18
- wagtail/admin/tests/test_views.py +2 -2
- wagtail/admin/tests/test_views_generic.py +13 -0
- wagtail/admin/tests/test_widgets.py +3 -3
- wagtail/admin/tests/test_workflows.py +172 -27
- wagtail/admin/tests/tests.py +1 -1
- wagtail/admin/tests/viewsets/test_model_viewset.py +55 -3
- wagtail/admin/ui/side_panels.py +19 -0
- wagtail/admin/ui/sidebar.py +4 -3
- wagtail/admin/ui/tables/__init__.py +14 -1
- wagtail/admin/ui/tables/pages.py +6 -1
- wagtail/admin/urls/pages.py +10 -1
- wagtail/admin/urls/workflows.py +6 -1
- wagtail/admin/views/account.py +5 -1
- wagtail/admin/views/collections.py +0 -2
- wagtail/admin/views/generic/base.py +118 -1
- wagtail/admin/views/generic/history.py +158 -26
- wagtail/admin/views/generic/models.py +113 -99
- wagtail/admin/views/home.py +24 -9
- wagtail/admin/views/page_privacy.py +54 -30
- wagtail/admin/views/pages/history.py +11 -4
- wagtail/admin/views/pages/listing.py +76 -89
- wagtail/admin/views/pages/preview.py +1 -1
- wagtail/admin/views/pages/search.py +27 -71
- wagtail/admin/views/pages/usage.py +63 -24
- wagtail/admin/views/pages/utils.py +4 -3
- wagtail/admin/views/reports/base.py +0 -6
- wagtail/admin/views/workflows.py +67 -25
- wagtail/admin/viewsets/model.py +4 -3
- wagtail/admin/widgets/chooser.py +2 -1
- wagtail/api/v2/tests/test_pages.py +15 -2
- wagtail/blocks/field_block.py +15 -3
- wagtail/blocks/static_block.py +3 -0
- wagtail/contrib/forms/locale/af/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/ar/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/az_AZ/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/be/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/bg/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/bn/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/ca/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/ca/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/cs/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/cy/LC_MESSAGES/django.po +30 -2
- wagtail/contrib/forms/locale/da/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/de/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/de/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/dv/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/el/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/en/LC_MESSAGES/django.po +15 -11
- wagtail/contrib/forms/locale/es/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/es_419/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/et/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/eu/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/fa/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/fi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/fi/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/fr/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/gl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/gl/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/he_IL/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/hr_HR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/ht/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/hu/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/hu/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/hy/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/id_ID/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/is_IS/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/it/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/it/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/ja/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/ka/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/ko/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/lt/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/lv/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/mi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/mn/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/my/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/nb/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/nl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/nl/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/pl/LC_MESSAGES/django.po +6 -2
- wagtail/contrib/forms/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/pt_BR/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/pt_PT/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/ro/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/ro/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/ru/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/ru/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/sk_SK/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/sl/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/sv/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/tet/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/th/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/tr/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/tr_TR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/ug/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/ug/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/forms/locale/uk/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/vi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/zh/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/zh_Hans/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/zh_Hant/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/templates/wagtailforms/confirm_delete.html +1 -0
- wagtail/contrib/forms/templates/wagtailforms/index.html +1 -1
- wagtail/contrib/forms/templates/wagtailforms/index_results.html +1 -1
- wagtail/contrib/forms/templates/wagtailforms/list_submissions.html +2 -1
- wagtail/contrib/forms/templates/wagtailforms/panels/form_responses_panel.html +2 -2
- wagtail/contrib/forms/tests/test_views.py +234 -35
- wagtail/contrib/forms/utils.py +8 -14
- wagtail/contrib/forms/views.py +72 -27
- wagtail/contrib/frontend_cache/backends/azure.py +1 -1
- wagtail/contrib/frontend_cache/backends/cloudfront.py +2 -2
- wagtail/contrib/frontend_cache/backends/dummy.py +11 -0
- wagtail/contrib/frontend_cache/tests.py +31 -37
- wagtail/contrib/frontend_cache/utils.py +12 -5
- wagtail/contrib/redirects/locale/ar/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/ar/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/az_AZ/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/az_AZ/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/be/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/be/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/bg/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/bg/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/bn/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/bn/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/ca/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/ca/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/cs/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/cs/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/cy/LC_MESSAGES/django.po +17 -5
- wagtail/contrib/redirects/locale/da/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/da/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/de/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/de/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/dv/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/el/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/el/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/en/LC_MESSAGES/django.po +20 -24
- wagtail/contrib/redirects/locale/en_IN/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/en_IN/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/es/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/es/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/es_419/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/es_419/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/es_VE/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/es_VE/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/et/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/et/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/eu/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/fa/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/fi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/fi/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/fr/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/gl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/gl/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/he_IL/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/he_IL/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/hi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/hi/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/hr_HR/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/hr_HR/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/ht/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/ht/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/hu/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/hu/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/hy/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/id_ID/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/id_ID/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/is_IS/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/it/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/it/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/ja/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/ja/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/ka/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/ka/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/ko/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/ko/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/lt/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/lt/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/lv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/lv/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/mi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/mi/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/mn/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/mn/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/my/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/my/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/nb/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/nb/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/nl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/nl/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/pl/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/pt_BR/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/pt_PT/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/pt_PT/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/ro/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/ro/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/ru/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/ru/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/sk_SK/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/sl/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/sr/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/sv/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/ta/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/ta/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/tet/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/tet/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/th/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/th/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/tr/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/tr/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/tr_TR/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/tr_TR/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/ug/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/ug/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/uk/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/uk/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/vi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/vi/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/zh/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/zh/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/zh_Hans/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/locale/zh_Hant/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/redirects/locale/zh_Hant/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/redirects/models.py +16 -1
- wagtail/contrib/redirects/signal_handlers.py +18 -3
- wagtail/contrib/redirects/templates/wagtailredirects/add.html +5 -16
- wagtail/contrib/redirects/templates/wagtailredirects/import_summary.html +1 -1
- wagtail/contrib/redirects/tests/test_redirects.py +49 -6
- wagtail/contrib/redirects/tests/test_signal_handlers.py +42 -1
- wagtail/contrib/redirects/views.py +27 -3
- wagtail/contrib/search_promotions/locale/af/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/af/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/ar/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/ar/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/az_AZ/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/az_AZ/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/be/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/be/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/bg/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/bg/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/bn/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/bn/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/ca/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/ca/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/cs/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/cs/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/cy/LC_MESSAGES/django.po +60 -4
- wagtail/contrib/search_promotions/locale/da/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/da/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/de/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/de/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/dv/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/el/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/el/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/en/LC_MESSAGES/django.po +12 -18
- wagtail/contrib/search_promotions/locale/en_IN/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/en_IN/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/es/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/es/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/es_419/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/es_419/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/et/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/et/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/eu/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/fa/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/fi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/fi/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/fr/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/gl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/gl/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/he_IL/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/he_IL/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/hi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/hi/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/hr_HR/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/hr_HR/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/ht/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/ht/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/hu/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/hu/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/id_ID/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/id_ID/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/is_IS/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/it/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/it/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/ja/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/ja/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/ka/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/ka/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/ko/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/ko/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/lt/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/lt/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/lv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/lv/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/mi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/mi/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/mn/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/mn/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/my/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/my/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/nb/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/nb/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/nl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/nl/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/pl/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/pt_BR/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/pt_PT/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/pt_PT/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/ro/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/ro/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/ru/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/ru/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/sk_SK/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/sl/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/sr/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/sv/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/tet/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/tet/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/th/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/th/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/tr/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/tr/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/tr_TR/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/tr_TR/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/ug/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/ug/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/uk/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/uk/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/vi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/vi/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/zh/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/zh/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/zh_Hans/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/locale/zh_Hant/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/search_promotions/locale/zh_Hant/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/search_promotions/templates/wagtailsearchpromotions/add.html +5 -8
- wagtail/contrib/search_promotions/templates/wagtailsearchpromotions/edit.html +15 -10
- wagtail/contrib/search_promotions/tests.py +13 -2
- wagtail/contrib/search_promotions/views.py +15 -3
- wagtail/contrib/settings/locale/ar/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/ar/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/az_AZ/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/az_AZ/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/be/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/be/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/bn/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/bn/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/ca/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/ca/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/cs/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/cs/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/cy/LC_MESSAGES/django.po +7 -8
- wagtail/contrib/settings/locale/da/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/da/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/de/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/de/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/dv/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/el/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/el/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/en/LC_MESSAGES/django.po +2 -10
- wagtail/contrib/settings/locale/en_IN/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/en_IN/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/es/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/es/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/es_419/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/es_419/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/es_VE/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/es_VE/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/et/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/et/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/fa/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/fi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/fi/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/fr/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/gl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/gl/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/he_IL/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/he_IL/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/hi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/hi/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/hr_HR/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/hr_HR/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/ht/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/ht/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/hu/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/hu/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/id_ID/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/id_ID/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/is_IS/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/it/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/it/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/ja/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/ja/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/ka/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/ka/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/settings/locale/ko/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/ko/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/lt/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/lt/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/lv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/lv/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/mi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/mi/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/mn/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/mn/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/my/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/my/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/nb/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/nb/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/nl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/nl/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/pl/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/pt_BR/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/pt_PT/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/pt_PT/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/ro/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/ro/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/ru/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/ru/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/sk_SK/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/sl/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/sr/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/sr/LC_MESSAGES/django.po +1 -4
- wagtail/contrib/settings/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/sv/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/ta/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/ta/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/tet/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/tet/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/th/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/th/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/tr/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/tr/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/tr_TR/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/tr_TR/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/ug/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/ug/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/uk/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/uk/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/vi/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/vi/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/zh/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/zh/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/zh_Hans/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/locale/zh_Hant/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/settings/locale/zh_Hant/LC_MESSAGES/django.po +1 -7
- wagtail/contrib/settings/templates/wagtailsettings/edit.html +12 -45
- wagtail/contrib/simple_translation/locale/ar/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/be/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/ca/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/cs/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/simple_translation/locale/cy/LC_MESSAGES/django.po +14 -2
- wagtail/contrib/simple_translation/locale/de/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/simple_translation/locale/dv/LC_MESSAGES/django.po +4 -1
- wagtail/contrib/simple_translation/locale/el/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/en/LC_MESSAGES/django.po +4 -4
- wagtail/contrib/simple_translation/locale/es/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/es_419/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/fa/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/fi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/fr/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/gl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/hr_HR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/hu/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/simple_translation/locale/is_IS/LC_MESSAGES/django.po +6 -2
- wagtail/contrib/simple_translation/locale/it/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/ko/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/lt/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/mi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/mn/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/nb/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/nl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/simple_translation/locale/pl/LC_MESSAGES/django.po +6 -2
- wagtail/contrib/simple_translation/locale/pt_BR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/pt_PT/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/ro/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/ru/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/simple_translation/locale/sl/LC_MESSAGES/django.po +6 -3
- wagtail/contrib/simple_translation/locale/sv/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/ug/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/uk/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/vi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/zh_Hans/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/zh_Hant/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/tests/test_views.py +51 -0
- wagtail/contrib/simple_translation/wagtail_hooks.py +16 -11
- wagtail/contrib/styleguide/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/styleguide/locale/cy/LC_MESSAGES/django.po +5 -1
- wagtail/contrib/styleguide/locale/en/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/table_block/locale/cy/LC_MESSAGES/django.po +27 -1
- wagtail/contrib/table_block/locale/en/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/table_block/locale/pl/LC_MESSAGES/django.po +9 -2
- wagtail/contrib/typed_table_block/blocks.py +25 -0
- wagtail/contrib/typed_table_block/locale/ar/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/be/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/ca/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/typed_table_block/locale/cy/LC_MESSAGES/django.po +13 -2
- wagtail/contrib/typed_table_block/locale/de/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/dv/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/el/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/en/LC_MESSAGES/django.po +10 -10
- wagtail/contrib/typed_table_block/locale/es/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/fa/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/fi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/fr/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/gl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/hu/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/is_IS/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/it/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/ko/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/lt/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/nl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/typed_table_block/locale/pl/LC_MESSAGES/django.po +6 -2
- wagtail/contrib/typed_table_block/locale/pt_BR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/pt_PT/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/ro/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/ru/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/sl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/sv/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/th/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/ug/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/uk/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/zh/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/zh_Hans/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/locale/zh_Hant/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/typed_table_block/tests.py +24 -1
- wagtail/coreutils.py +5 -11
- wagtail/documents/admin_urls.py +2 -2
- wagtail/documents/locale/af/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/af/LC_MESSAGES/django.po +1 -4
- wagtail/documents/locale/ar/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/ar/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/az_AZ/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/az_AZ/LC_MESSAGES/django.po +1 -7
- wagtail/documents/locale/be/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/be/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/bg/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/bg/LC_MESSAGES/django.po +4 -17
- wagtail/documents/locale/bn/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/bn/LC_MESSAGES/django.po +1 -7
- wagtail/documents/locale/ca/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/ca/LC_MESSAGES/django.po +15 -29
- wagtail/documents/locale/cs/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/cs/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/cy/LC_MESSAGES/django.po +11 -11
- wagtail/documents/locale/da/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/da/LC_MESSAGES/django.po +1 -7
- wagtail/documents/locale/de/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/de/LC_MESSAGES/django.po +17 -29
- wagtail/documents/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/dv/LC_MESSAGES/django.po +1 -11
- wagtail/documents/locale/el/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/el/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/en/LC_MESSAGES/django.po +61 -76
- wagtail/documents/locale/es/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/es/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/es_419/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/es_419/LC_MESSAGES/django.po +1 -7
- wagtail/documents/locale/et/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/et/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/eu/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/fa/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/fi/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/fi/LC_MESSAGES/django.po +15 -27
- wagtail/documents/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/fr/LC_MESSAGES/django.po +16 -30
- wagtail/documents/locale/gl/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/gl/LC_MESSAGES/django.po +15 -28
- wagtail/documents/locale/he_IL/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/he_IL/LC_MESSAGES/django.po +4 -17
- wagtail/documents/locale/hr_HR/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/hr_HR/LC_MESSAGES/django.po +7 -37
- wagtail/documents/locale/ht/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/ht/LC_MESSAGES/django.po +1 -7
- wagtail/documents/locale/hu/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/hu/LC_MESSAGES/django.po +7 -34
- wagtail/documents/locale/id_ID/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/id_ID/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/is_IS/LC_MESSAGES/django.po +16 -31
- wagtail/documents/locale/it/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/it/LC_MESSAGES/django.po +7 -37
- wagtail/documents/locale/ja/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/ja/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/ka/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/ka/LC_MESSAGES/django.po +1 -4
- wagtail/documents/locale/ko/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/ko/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/lt/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/lt/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/lv/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/lv/LC_MESSAGES/django.po +4 -17
- wagtail/documents/locale/mi/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/mi/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/mn/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/mn/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/my/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/my/LC_MESSAGES/django.po +1 -7
- wagtail/documents/locale/nb/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/nb/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/nl/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/nl/LC_MESSAGES/django.po +16 -28
- wagtail/documents/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/pl/LC_MESSAGES/django.po +12 -21
- wagtail/documents/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/pt_BR/LC_MESSAGES/django.po +7 -37
- wagtail/documents/locale/pt_PT/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/pt_PT/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/ro/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/ro/LC_MESSAGES/django.po +7 -37
- wagtail/documents/locale/ru/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/ru/LC_MESSAGES/django.po +18 -32
- wagtail/documents/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/sk_SK/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/sl/LC_MESSAGES/django.po +7 -40
- wagtail/documents/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/sv/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/tet/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/tet/LC_MESSAGES/django.po +4 -17
- wagtail/documents/locale/th/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/th/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/tr/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/tr/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/tr_TR/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/tr_TR/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/ug/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/ug/LC_MESSAGES/django.po +16 -30
- wagtail/documents/locale/uk/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/uk/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/vi/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/vi/LC_MESSAGES/django.po +4 -10
- wagtail/documents/locale/zh/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/zh/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/zh_Hans/LC_MESSAGES/django.po +7 -20
- wagtail/documents/locale/zh_Hant/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/zh_Hant/LC_MESSAGES/django.po +7 -20
- wagtail/documents/migrations/0014_alter_document_file_size.py +18 -0
- wagtail/documents/models.py +1 -1
- wagtail/documents/rich_text/__init__.py +1 -3
- wagtail/documents/static/wagtaildocs/js/add-multiple.js +1 -1
- wagtail/documents/templates/wagtaildocs/bulk_actions/confirm_bulk_add_tags.html +5 -1
- wagtail/documents/templates/wagtaildocs/bulk_actions/confirm_bulk_add_to_collection.html +5 -1
- wagtail/documents/templates/wagtaildocs/bulk_actions/confirm_bulk_delete.html +11 -5
- wagtail/documents/templates/wagtaildocs/documents/add.html +13 -41
- wagtail/documents/templates/wagtaildocs/documents/edit.html +28 -56
- wagtail/documents/templates/wagtaildocs/documents/index.html +1 -4
- wagtail/documents/templates/wagtaildocs/homepage/site_summary_documents.html +2 -2
- wagtail/documents/templates/wagtaildocs/multiple/add.html +36 -41
- wagtail/documents/tests/test_admin_views.py +64 -6
- wagtail/documents/tests/test_site_summary.py +3 -3
- wagtail/documents/views/documents.py +103 -113
- wagtail/documents/views/multiple.py +19 -1
- wagtail/embeds/locale/en/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/gl/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/oembed_providers.py +9 -19
- wagtail/fields.py +43 -27
- wagtail/images/admin_urls.py +2 -2
- wagtail/images/blocks.py +227 -2
- wagtail/images/fields.py +17 -29
- wagtail/images/image_operations.py +1 -1
- wagtail/images/locale/ar/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/ar/LC_MESSAGES/django.po +22 -35
- wagtail/images/locale/az_AZ/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/az_AZ/LC_MESSAGES/django.po +1 -7
- wagtail/images/locale/be/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/be/LC_MESSAGES/django.po +17 -23
- wagtail/images/locale/bg/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/bg/LC_MESSAGES/django.po +11 -24
- wagtail/images/locale/bn/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/bn/LC_MESSAGES/django.po +1 -7
- wagtail/images/locale/ca/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/ca/LC_MESSAGES/django.po +42 -49
- wagtail/images/locale/cs/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/cs/LC_MESSAGES/django.po +30 -43
- wagtail/images/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/cy/LC_MESSAGES/django.po +134 -40
- wagtail/images/locale/da/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/da/LC_MESSAGES/django.po +5 -11
- wagtail/images/locale/de/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/de/LC_MESSAGES/django.po +46 -53
- wagtail/images/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/dv/LC_MESSAGES/django.po +11 -17
- wagtail/images/locale/el/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/el/LC_MESSAGES/django.po +19 -32
- wagtail/images/locale/en/LC_MESSAGES/django.po +119 -129
- wagtail/images/locale/es/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/es/LC_MESSAGES/django.po +30 -43
- wagtail/images/locale/es_419/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/es_419/LC_MESSAGES/django.po +1 -7
- wagtail/images/locale/et/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/et/LC_MESSAGES/django.po +22 -35
- wagtail/images/locale/eu/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/fa/LC_MESSAGES/django.po +22 -35
- wagtail/images/locale/fi/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/fi/LC_MESSAGES/django.po +45 -50
- wagtail/images/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/fr/LC_MESSAGES/django.po +45 -52
- wagtail/images/locale/gl/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/gl/LC_MESSAGES/django.po +43 -50
- wagtail/images/locale/he_IL/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/he_IL/LC_MESSAGES/django.po +14 -26
- wagtail/images/locale/hr_HR/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/hr_HR/LC_MESSAGES/django.po +29 -42
- wagtail/images/locale/ht/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/ht/LC_MESSAGES/django.po +3 -9
- wagtail/images/locale/hu/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/hu/LC_MESSAGES/django.po +30 -57
- wagtail/images/locale/id_ID/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/id_ID/LC_MESSAGES/django.po +22 -35
- wagtail/images/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/is_IS/LC_MESSAGES/django.po +46 -53
- wagtail/images/locale/it/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/it/LC_MESSAGES/django.po +29 -59
- wagtail/images/locale/ja/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/ja/LC_MESSAGES/django.po +22 -35
- wagtail/images/locale/ka/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/ka/LC_MESSAGES/django.po +7 -13
- wagtail/images/locale/ko/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/ko/LC_MESSAGES/django.po +22 -35
- wagtail/images/locale/lt/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/lt/LC_MESSAGES/django.po +30 -43
- wagtail/images/locale/lv/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/lv/LC_MESSAGES/django.po +16 -32
- wagtail/images/locale/mi/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/mi/LC_MESSAGES/django.po +19 -29
- wagtail/images/locale/mn/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/mn/LC_MESSAGES/django.po +22 -35
- wagtail/images/locale/my/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/my/LC_MESSAGES/django.po +4 -10
- wagtail/images/locale/nb/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/nb/LC_MESSAGES/django.po +30 -43
- wagtail/images/locale/nl/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/nl/LC_MESSAGES/django.po +44 -49
- wagtail/images/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/pl/LC_MESSAGES/django.po +51 -44
- wagtail/images/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/pt_BR/LC_MESSAGES/django.po +29 -59
- wagtail/images/locale/pt_PT/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/pt_PT/LC_MESSAGES/django.po +30 -43
- wagtail/images/locale/ro/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/ro/LC_MESSAGES/django.po +28 -58
- wagtail/images/locale/ru/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/ru/LC_MESSAGES/django.po +49 -54
- wagtail/images/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/sk_SK/LC_MESSAGES/django.po +19 -32
- wagtail/images/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/sl/LC_MESSAGES/django.po +30 -63
- wagtail/images/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/sv/LC_MESSAGES/django.po +30 -43
- wagtail/images/locale/tet/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/tet/LC_MESSAGES/django.po +10 -16
- wagtail/images/locale/th/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/th/LC_MESSAGES/django.po +22 -35
- wagtail/images/locale/tr/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/tr/LC_MESSAGES/django.po +22 -35
- wagtail/images/locale/tr_TR/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/tr_TR/LC_MESSAGES/django.po +22 -35
- wagtail/images/locale/ug/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/ug/LC_MESSAGES/django.po +45 -51
- wagtail/images/locale/uk/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/uk/LC_MESSAGES/django.po +30 -43
- wagtail/images/locale/vi/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/vi/LC_MESSAGES/django.po +8 -14
- wagtail/images/locale/zh/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/zh/LC_MESSAGES/django.po +13 -26
- wagtail/images/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/zh_Hans/LC_MESSAGES/django.po +28 -41
- wagtail/images/locale/zh_Hant/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/zh_Hant/LC_MESSAGES/django.po +22 -35
- wagtail/images/migrations/0025_alter_image_file_alter_rendition_file.py +36 -43
- wagtail/images/migrations/0027_image_description.py +20 -0
- wagtail/images/models.py +120 -45
- wagtail/images/rich_text/__init__.py +1 -3
- wagtail/images/static/wagtailimages/js/add-multiple.js +1 -1
- wagtail/images/static/wagtailimages/js/image-block.js +1 -0
- wagtail/images/templates/wagtailimages/bulk_actions/confirm_bulk_add_tags.html +5 -1
- wagtail/images/templates/wagtailimages/bulk_actions/confirm_bulk_add_to_collection.html +5 -1
- wagtail/images/templates/wagtailimages/bulk_actions/confirm_bulk_delete.html +11 -5
- wagtail/images/templates/wagtailimages/chooser/results.html +2 -2
- wagtail/images/templates/wagtailimages/homepage/site_summary_images.html +2 -2
- wagtail/images/templates/wagtailimages/images/_file_field.html +2 -2
- wagtail/images/templates/wagtailimages/images/add.html +13 -31
- wagtail/images/templates/wagtailimages/images/edit.html +53 -82
- wagtail/images/templates/wagtailimages/images/index.html +1 -4
- wagtail/images/templates/wagtailimages/images/url_generator.html +1 -1
- wagtail/images/templates/wagtailimages/multiple/add.html +40 -47
- wagtail/images/templates/wagtailimages/widgets/image.html +5 -0
- wagtail/images/templates/wagtailimages/widgets/image_chooser.html +1 -1
- wagtail/images/tests/test_admin_views.py +70 -10
- wagtail/images/tests/test_blocks.py +428 -1
- wagtail/images/tests/test_image_operations.py +23 -0
- wagtail/images/tests/test_models.py +20 -0
- wagtail/images/tests/test_signal_handlers.py +99 -95
- wagtail/images/tests/test_site_summary.py +3 -3
- wagtail/images/tests/test_templatetags.py +11 -7
- wagtail/images/tests/tests.py +4 -0
- wagtail/images/views/images.py +103 -104
- wagtail/images/views/multiple.py +17 -1
- wagtail/locale/af/LC_MESSAGES/django.po +1 -1
- wagtail/locale/ar/LC_MESSAGES/django.po +1 -1
- wagtail/locale/az_AZ/LC_MESSAGES/django.po +1 -1
- wagtail/locale/be/LC_MESSAGES/django.po +1 -1
- wagtail/locale/bg/LC_MESSAGES/django.po +1 -1
- wagtail/locale/bn/LC_MESSAGES/django.po +1 -1
- wagtail/locale/ca/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/ca/LC_MESSAGES/django.po +10 -1
- wagtail/locale/cs/LC_MESSAGES/django.po +1 -1
- wagtail/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/cy/LC_MESSAGES/django.po +4 -1
- wagtail/locale/da/LC_MESSAGES/django.po +1 -1
- wagtail/locale/de/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/de/LC_MESSAGES/django.po +10 -1
- wagtail/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/dv/LC_MESSAGES/django.po +10 -1
- wagtail/locale/el/LC_MESSAGES/django.po +1 -1
- wagtail/locale/en/LC_MESSAGES/django.po +137 -125
- wagtail/locale/es/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/es/LC_MESSAGES/django.po +10 -1
- wagtail/locale/es_419/LC_MESSAGES/django.po +1 -1
- wagtail/locale/et/LC_MESSAGES/django.po +1 -1
- wagtail/locale/eu/LC_MESSAGES/django.po +1 -1
- wagtail/locale/fa/LC_MESSAGES/django.po +1 -1
- wagtail/locale/fi/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/fi/LC_MESSAGES/django.po +10 -1
- wagtail/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/fr/LC_MESSAGES/django.po +10 -1
- wagtail/locale/gl/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/gl/LC_MESSAGES/django.po +10 -1
- wagtail/locale/he_IL/LC_MESSAGES/django.po +1 -1
- wagtail/locale/hr_HR/LC_MESSAGES/django.po +1 -1
- wagtail/locale/hu/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/hu/LC_MESSAGES/django.po +10 -1
- wagtail/locale/id_ID/LC_MESSAGES/django.po +1 -1
- wagtail/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/is_IS/LC_MESSAGES/django.po +15 -4
- wagtail/locale/it/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/it/LC_MESSAGES/django.po +10 -1
- wagtail/locale/ja/LC_MESSAGES/django.po +1 -1
- wagtail/locale/ka/LC_MESSAGES/django.po +1 -1
- wagtail/locale/ko/LC_MESSAGES/django.po +1 -1
- wagtail/locale/lt/LC_MESSAGES/django.po +1 -1
- wagtail/locale/lv/LC_MESSAGES/django.po +1 -1
- wagtail/locale/mi/LC_MESSAGES/django.po +1 -1
- wagtail/locale/mn/LC_MESSAGES/django.po +1 -1
- wagtail/locale/my/LC_MESSAGES/django.po +1 -1
- wagtail/locale/nb/LC_MESSAGES/django.po +1 -1
- wagtail/locale/nl/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/nl/LC_MESSAGES/django.po +10 -1
- wagtail/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/pl/LC_MESSAGES/django.po +20 -5
- wagtail/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/pt_BR/LC_MESSAGES/django.po +10 -1
- wagtail/locale/pt_PT/LC_MESSAGES/django.po +1 -1
- wagtail/locale/ro/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/ro/LC_MESSAGES/django.po +10 -1
- wagtail/locale/ru/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/ru/LC_MESSAGES/django.po +10 -1
- wagtail/locale/sk_SK/LC_MESSAGES/django.po +1 -1
- wagtail/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/sl/LC_MESSAGES/django.po +13 -1
- wagtail/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/sv/LC_MESSAGES/django.po +10 -1
- wagtail/locale/tet/LC_MESSAGES/django.po +1 -1
- wagtail/locale/th/LC_MESSAGES/django.po +1 -1
- wagtail/locale/tr/LC_MESSAGES/django.po +1 -1
- wagtail/locale/tr_TR/LC_MESSAGES/django.po +1 -1
- wagtail/locale/ug/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/ug/LC_MESSAGES/django.po +10 -1
- wagtail/locale/uk/LC_MESSAGES/django.po +1 -1
- wagtail/locale/vi/LC_MESSAGES/django.po +1 -1
- wagtail/locale/zh/LC_MESSAGES/django.po +1 -1
- wagtail/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/zh_Hans/LC_MESSAGES/django.po +10 -1
- wagtail/locale/zh_Hant/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/ar/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/be/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/bg/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/ca/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/cs/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/cy/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/da/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/de/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/dv/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/el/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/en/LC_MESSAGES/django.po +8 -8
- wagtail/locales/locale/es/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/et/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/fa/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/fi/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/fr/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/gl/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/he_IL/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/hr_HR/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/hu/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/id_ID/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/is_IS/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/it/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/ja/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/ko/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/lt/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/lv/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/mi/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/mn/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/my/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/nb/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/nl/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/pl/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/pt_BR/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/pt_PT/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/ro/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/ru/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/sk_SK/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/sl/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/sv/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/tet/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/th/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/tr/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/tr_TR/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/ug/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/uk/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/vi/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/zh/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/zh_Hans/LC_MESSAGES/django.po +4 -4
- wagtail/locales/locale/zh_Hant/LC_MESSAGES/django.po +1 -1
- wagtail/locales/views.py +4 -1
- wagtail/migrations/0089_log_entry_data_json_null_to_object.py +1 -7
- wagtail/models/__init__.py +122 -14
- wagtail/models/audit_log.py +1 -3
- wagtail/models/i18n.py +1 -2
- wagtail/project_template/Dockerfile +3 -3
- wagtail/project_template/requirements.txt +2 -2
- wagtail/query.py +17 -4
- wagtail/rich_text/__init__.py +2 -3
- wagtail/rich_text/pages.py +2 -4
- wagtail/rich_text/rewriters.py +2 -2
- wagtail/search/backends/database/mysql/query.py +3 -3
- wagtail/search/backends/database/sqlite/query.py +6 -6
- wagtail/search/locale/en/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/gl/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/ar/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/be/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/bn/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/ca/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/cs/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/cy/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/da/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/de/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/dv/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/el/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/en/LC_MESSAGES/django.po +6 -6
- wagtail/sites/locale/en_IN/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/es/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/es_419/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/es_VE/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/et/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/fa/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/fi/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/fr/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/gl/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/he_IL/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/hi/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/hr_HR/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/ht/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/hu/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/id_ID/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/is_IS/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/it/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/ja/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/ka/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/ko/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/lt/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/lv/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/mi/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/mn/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/my/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/nb/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/nl/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/pl/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/pt_BR/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/pt_PT/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/ro/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/ru/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/sk_SK/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/sl/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/sr/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/sv/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/ta/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/tet/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/th/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/tr/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/tr_TR/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/ug/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/uk/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/vi/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/zh_Hans/LC_MESSAGES/django.po +4 -4
- wagtail/sites/locale/zh_Hant/LC_MESSAGES/django.po +4 -4
- wagtail/sites/views.py +0 -1
- wagtail/snippets/action_menu.py +14 -4
- wagtail/snippets/locale/af/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/ar/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/ar/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/az_AZ/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/be/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/be/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/bg/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/bn/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/ca/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/ca/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/cs/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/cs/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/cy/LC_MESSAGES/django.po +73 -4
- wagtail/snippets/locale/da/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/de/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/de/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/dv/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/el/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/el/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/en/LC_MESSAGES/django.po +27 -33
- wagtail/snippets/locale/en_IN/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/es/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/es/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/es_419/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/es_VE/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/et/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/et/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/eu/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/fa/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/fi/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/fi/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/fr/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/gl/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/gl/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/he_IL/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/hi/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/hr_HR/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/hr_HR/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/ht/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/hu/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/hu/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/id_ID/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/is_IS/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/it/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/it/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/ja/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/ja/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/ka/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/ko/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/ko/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/lt/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/lt/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/lv/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/lv/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/mi/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/mi/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/mn/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/my/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/nb/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/nb/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/nl/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/nl/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/pl/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/pt_BR/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/pt_PT/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/pt_PT/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/ro/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/ro/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/ru/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/ru/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/sk_SK/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/sl/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/sr/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/sv/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/ta/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/tet/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/tet/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/th/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/tr/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/tr/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/tr_TR/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/tr_TR/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/ug/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/ug/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/uk/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/uk/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/vi/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/zh/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/zh_Hans/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/locale/zh_Hant/LC_MESSAGES/django.mo +0 -0
- wagtail/snippets/locale/zh_Hant/LC_MESSAGES/django.po +1 -4
- wagtail/snippets/static/wagtailsnippets/js/snippet-chooser-telepath.js +1 -1
- wagtail/snippets/static/wagtailsnippets/js/snippet-chooser.js +1 -1
- wagtail/snippets/templates/wagtailsnippets/bulk_actions/confirm_bulk_delete.html +5 -3
- wagtail/snippets/templates/wagtailsnippets/snippets/action_menu/locked.html +1 -1
- wagtail/snippets/templates/wagtailsnippets/snippets/action_menu/menu.html +1 -11
- wagtail/snippets/templates/wagtailsnippets/snippets/action_menu/menu_item.html +1 -6
- wagtail/snippets/templates/wagtailsnippets/snippets/action_menu/publish.html +1 -1
- wagtail/snippets/templates/wagtailsnippets/snippets/action_menu/save.html +1 -1
- wagtail/snippets/templates/wagtailsnippets/snippets/create.html +1 -18
- wagtail/snippets/templates/wagtailsnippets/snippets/edit.html +1 -14
- wagtail/snippets/templates/wagtailsnippets/snippets/index.html +2 -5
- wagtail/snippets/tests/test_preview.py +193 -61
- wagtail/snippets/tests/test_snippets.py +247 -38
- wagtail/snippets/tests/test_usage.py +5 -0
- wagtail/snippets/tests/test_viewset.py +25 -9
- wagtail/snippets/tests/test_workflows.py +232 -19
- wagtail/snippets/views/snippets.py +1 -10
- wagtail/test/numberformat.py +104 -0
- wagtail/test/settings.py +10 -0
- wagtail/test/settings_ui.py +2 -0
- wagtail/test/testapp/migrations/0010_alter_customimage_file_and_more.py +71 -78
- wagtail/test/testapp/migrations/0040_nocreatablesubpagetypespage_nosubpagetypespage.py +54 -0
- wagtail/test/testapp/migrations/0041_alter_jsonstreammodel_options.py +17 -0
- wagtail/test/testapp/migrations/0042_alter_customdocument_file_size_and_more.py +28 -0
- wagtail/test/testapp/migrations/0043_customimage_description.py +41 -0
- wagtail/test/testapp/migrations/0044_custompreviewsizesmodel_custompreviewsizespage.py +52 -0
- wagtail/test/testapp/migrations/0045_alter_streampage_body.py +52 -0
- wagtail/test/testapp/models.py +62 -4
- wagtail/test/testapp/rich_text.py +2 -2
- wagtail/test/testapp/templates/tests/form_page_landing.html +2 -1
- wagtail/test/testapp/urls.py +5 -0
- wagtail/test/testapp/views.py +5 -0
- wagtail/test/utils/page_tests.py +5 -5
- wagtail/test/utils/template_tests.py +2 -2
- wagtail/tests/test_blocks.py +15 -0
- wagtail/tests/test_page_permissions.py +109 -0
- wagtail/tests/test_revision_model.py +27 -0
- wagtail/tests/test_signals.py +21 -2
- wagtail/tests/test_tests.py +30 -0
- wagtail/users/locale/ar/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/ar/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/be/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/be/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/bg/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/bg/LC_MESSAGES/django.po +4 -10
- wagtail/users/locale/bn/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/bn/LC_MESSAGES/django.po +1 -13
- wagtail/users/locale/ca/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/ca/LC_MESSAGES/django.po +19 -34
- wagtail/users/locale/cs/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/cs/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/cy/LC_MESSAGES/django.po +121 -25
- wagtail/users/locale/da/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/da/LC_MESSAGES/django.po +1 -13
- wagtail/users/locale/de/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/de/LC_MESSAGES/django.po +21 -35
- wagtail/users/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/dv/LC_MESSAGES/django.po +4 -13
- wagtail/users/locale/el/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/el/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/en/LC_MESSAGES/django.po +89 -113
- wagtail/users/locale/es/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/es/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/es_419/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/es_419/LC_MESSAGES/django.po +1 -7
- wagtail/users/locale/et/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/et/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/eu/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/fa/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/fi/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/fi/LC_MESSAGES/django.po +22 -34
- wagtail/users/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/fr/LC_MESSAGES/django.po +20 -34
- wagtail/users/locale/gl/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/gl/LC_MESSAGES/django.po +19 -34
- wagtail/users/locale/he_IL/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/he_IL/LC_MESSAGES/django.po +13 -19
- wagtail/users/locale/hr_HR/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/hr_HR/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/hu/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/hu/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/hy/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/id_ID/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/id_ID/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/is_IS/LC_MESSAGES/django.po +24 -37
- wagtail/users/locale/it/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/it/LC_MESSAGES/django.po +13 -34
- wagtail/users/locale/ja/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/ja/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/ka/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/ka/LC_MESSAGES/django.po +7 -13
- wagtail/users/locale/ko/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/ko/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/lt/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/lt/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/lv/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/lv/LC_MESSAGES/django.po +10 -22
- wagtail/users/locale/mi/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/mi/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/mn/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/mn/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/my/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/my/LC_MESSAGES/django.po +13 -16
- wagtail/users/locale/nb/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/nb/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/nl/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/nl/LC_MESSAGES/django.po +19 -34
- wagtail/users/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/pl/LC_MESSAGES/django.po +44 -27
- wagtail/users/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/pt_BR/LC_MESSAGES/django.po +13 -34
- wagtail/users/locale/pt_PT/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/pt_PT/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/ro/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/ro/LC_MESSAGES/django.po +13 -34
- wagtail/users/locale/ru/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/ru/LC_MESSAGES/django.po +19 -34
- wagtail/users/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/sk_SK/LC_MESSAGES/django.po +13 -22
- wagtail/users/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/sl/LC_MESSAGES/django.po +16 -34
- wagtail/users/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/sv/LC_MESSAGES/django.po +13 -28
- wagtail/users/locale/tet/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/tet/LC_MESSAGES/django.po +13 -22
- wagtail/users/locale/th/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/th/LC_MESSAGES/django.po +13 -22
- wagtail/users/locale/tr/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/tr/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/tr_TR/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/tr_TR/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/ug/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/ug/LC_MESSAGES/django.po +21 -35
- wagtail/users/locale/uk/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/uk/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/vi/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/vi/LC_MESSAGES/django.po +10 -22
- wagtail/users/locale/zh/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/zh/LC_MESSAGES/django.po +4 -10
- wagtail/users/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/zh_Hans/LC_MESSAGES/django.po +13 -25
- wagtail/users/locale/zh_Hant/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/zh_Hant/LC_MESSAGES/django.po +13 -25
- wagtail/users/migrations/0014_userprofile_contrast.py +23 -0
- wagtail/users/models.py +11 -0
- wagtail/users/templates/wagtailusers/bulk_actions/confirm_bulk_assign_role.html +5 -1
- wagtail/users/templates/wagtailusers/bulk_actions/confirm_bulk_delete.html +5 -1
- wagtail/users/templates/wagtailusers/bulk_actions/confirm_bulk_set_active_state.html +5 -1
- wagtail/users/templates/wagtailusers/groups/create.html +19 -17
- wagtail/users/templates/wagtailusers/groups/edit.html +2 -40
- wagtail/users/templates/wagtailusers/groups/includes/formatted_permissions.html +1 -62
- wagtail/users/templates/wagtailusers/groups/includes/page_permissions_formset.html +0 -1
- wagtail/users/templates/wagtailusers/users/create.html +46 -50
- wagtail/users/templates/wagtailusers/users/edit.html +45 -62
- wagtail/users/templates/wagtailusers/users/index.html +1 -4
- wagtail/users/templatetags/wagtailusers_tags.py +1 -5
- wagtail/users/tests/test_admin_views.py +85 -66
- wagtail/users/views/groups.py +4 -1
- wagtail/users/views/users.py +2 -0
- {wagtail-6.2.2.dist-info → wagtail-6.3.dist-info}/METADATA +8 -9
- {wagtail-6.2.2.dist-info → wagtail-6.3.dist-info}/RECORD +1561 -1568
- wagtail/admin/static/wagtailadmin/js/preview-panel.js +0 -2
- wagtail/admin/static/wagtailadmin/js/preview-panel.js.LICENSE.txt +0 -11
- wagtail/admin/templates/wagtailadmin/generic/history_results.html +0 -1
- wagtail/admin/templates/wagtailadmin/page_privacy/ancestor_privacy.html +0 -3
- wagtail/admin/templates/wagtailadmin/pages/usage_results.html +0 -6
- wagtail/admin/templates/wagtailadmin/shared/workflow_history/index.html +0 -17
- wagtail/admin/templates/wagtailadmin/shared/workflow_history/results.html +0 -17
- wagtail/admin/templates/wagtailadmin/workflows/usage.html +0 -44
- wagtail/contrib/redirects/locale/af/LC_MESSAGES/django.po +0 -22
- wagtail/contrib/search_promotions/locale/es_VE/LC_MESSAGES/django.po +0 -23
- wagtail/contrib/search_promotions/locale/ta/LC_MESSAGES/django.po +0 -22
- wagtail/contrib/settings/locale/af/LC_MESSAGES/django.po +0 -23
- wagtail/contrib/settings/locale/bg/LC_MESSAGES/django.po +0 -22
- wagtail/documents/locale/en_IN/LC_MESSAGES/django.po +0 -25
- wagtail/documents/locale/es_VE/LC_MESSAGES/django.po +0 -23
- wagtail/documents/locale/hi/LC_MESSAGES/django.po +0 -25
- wagtail/documents/locale/sr/LC_MESSAGES/django.po +0 -23
- wagtail/documents/locale/ta/LC_MESSAGES/django.po +0 -22
- wagtail/images/locale/af/LC_MESSAGES/django.po +0 -25
- wagtail/images/locale/en_IN/LC_MESSAGES/django.po +0 -25
- wagtail/images/locale/hi/LC_MESSAGES/django.po +0 -25
- wagtail/users/locale/af/LC_MESSAGES/django.po +0 -25
- wagtail/users/locale/az_AZ/LC_MESSAGES/django.po +0 -28
- wagtail/users/locale/es_VE/LC_MESSAGES/django.po +0 -26
- wagtail/users/locale/hi/LC_MESSAGES/django.po +0 -25
- wagtail/users/locale/ht/LC_MESSAGES/django.po +0 -25
- {wagtail-6.2.2.dist-info → wagtail-6.3.dist-info}/LICENSE +0 -0
- {wagtail-6.2.2.dist-info → wagtail-6.3.dist-info}/WHEEL +0 -0
- {wagtail-6.2.2.dist-info → wagtail-6.3.dist-info}/entry_points.txt +0 -0
- {wagtail-6.2.2.dist-info → wagtail-6.3.dist-info}/top_level.txt +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/*! For license information please see vendor.js.LICENSE.txt */
|
|
2
|
-
(globalThis.webpackChunkwagtail=globalThis.webpackChunkwagtail||[]).push([[321],{2891:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Application:()=>Z,AttributeObserver:()=>w,Context:()=>j,Controller:()=>le,ElementObserver:()=>b,IndexedMultimap:()=>S,Multimap:()=>O,SelectorObserver:()=>C,StringMapObserver:()=>A,TokenListObserver:()=>N,ValueListObserver:()=>I,add:()=>E,defaultSchema:()=>Y,del:()=>k,fetch:()=>x,prune:()=>T});class r{constructor(e,t,n){this.eventTarget=e,this.eventName=t,this.eventOptions=n,this.unorderedBindings=new Set}connect(){this.eventTarget.addEventListener(this.eventName,this,this.eventOptions)}disconnect(){this.eventTarget.removeEventListener(this.eventName,this,this.eventOptions)}bindingConnected(e){this.unorderedBindings.add(e)}bindingDisconnected(e){this.unorderedBindings.delete(e)}handleEvent(e){const t=function(e){if("immediatePropagationStopped"in e)return e;{const{stopImmediatePropagation:t}=e;return Object.assign(e,{immediatePropagationStopped:!1,stopImmediatePropagation(){this.immediatePropagationStopped=!0,t.call(this)}})}}(e);for(const e of this.bindings){if(t.immediatePropagationStopped)break;e.handleEvent(t)}}hasBindings(){return this.unorderedBindings.size>0}get bindings(){return Array.from(this.unorderedBindings).sort(((e,t)=>{const n=e.index,r=t.index;return n<r?-1:n>r?1:0}))}}class i{constructor(e){this.application=e,this.eventListenerMaps=new Map,this.started=!1}start(){this.started||(this.started=!0,this.eventListeners.forEach((e=>e.connect())))}stop(){this.started&&(this.started=!1,this.eventListeners.forEach((e=>e.disconnect())))}get eventListeners(){return Array.from(this.eventListenerMaps.values()).reduce(((e,t)=>e.concat(Array.from(t.values()))),[])}bindingConnected(e){this.fetchEventListenerForBinding(e).bindingConnected(e)}bindingDisconnected(e,t=!1){this.fetchEventListenerForBinding(e).bindingDisconnected(e),t&&this.clearEventListenersForBinding(e)}handleError(e,t,n={}){this.application.handleError(e,`Error ${t}`,n)}clearEventListenersForBinding(e){const t=this.fetchEventListenerForBinding(e);t.hasBindings()||(t.disconnect(),this.removeMappedEventListenerFor(e))}removeMappedEventListenerFor(e){const{eventTarget:t,eventName:n,eventOptions:r}=e,i=this.fetchEventListenerMapForEventTarget(t),o=this.cacheKey(n,r);i.delete(o),0==i.size&&this.eventListenerMaps.delete(t)}fetchEventListenerForBinding(e){const{eventTarget:t,eventName:n,eventOptions:r}=e;return this.fetchEventListener(t,n,r)}fetchEventListener(e,t,n){const r=this.fetchEventListenerMapForEventTarget(e),i=this.cacheKey(t,n);let o=r.get(i);return o||(o=this.createEventListener(e,t,n),r.set(i,o)),o}createEventListener(e,t,n){const i=new r(e,t,n);return this.started&&i.connect(),i}fetchEventListenerMapForEventTarget(e){let t=this.eventListenerMaps.get(e);return t||(t=new Map,this.eventListenerMaps.set(e,t)),t}cacheKey(e,t){const n=[e];return Object.keys(t).sort().forEach((e=>{n.push(`${t[e]?"":"!"}${e}`)})),n.join(":")}}const o={stop:({event:e,value:t})=>(t&&e.stopPropagation(),!0),prevent:({event:e,value:t})=>(t&&e.preventDefault(),!0),self:({event:e,value:t,element:n})=>!t||n===e.target},a=/^(?:(?:([^.]+?)\+)?(.+?)(?:\.(.+?))?(?:@(window|document))?->)?(.+?)(?:#([^:]+?))(?::(.+))?$/;function s(e){return e.replace(/(?:[_-])([a-z0-9])/g,((e,t)=>t.toUpperCase()))}function l(e){return s(e.replace(/--/g,"-").replace(/__/g,"_"))}function u(e){return e.charAt(0).toUpperCase()+e.slice(1)}function c(e){return e.replace(/([A-Z])/g,((e,t)=>`-${t.toLowerCase()}`))}function d(e){return null!=e}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}const p=/^(114|209)$/.test(n.j)?["meta","ctrl","alt","shift"]:null;class h{constructor(e,t,n,r){this.element=e,this.index=t,this.eventTarget=n.eventTarget||e,this.eventName=n.eventName||function(e){const t=e.tagName.toLowerCase();if(t in m)return m[t](e)}(e)||v("missing event name"),this.eventOptions=n.eventOptions||{},this.identifier=n.identifier||v("missing identifier"),this.methodName=n.methodName||v("missing method name"),this.keyFilter=n.keyFilter||"",this.schema=r}static forToken(e,t){return new this(e.element,e.index,function(e){const t=e.trim().match(a)||[];let n=t[2],r=t[3];return r&&!["keydown","keyup","keypress"].includes(n)&&(n+=`.${r}`,r=""),{eventTarget:(i=t[4],"window"==i?window:"document"==i?document:void 0),eventName:n,eventOptions:t[7]?(o=t[7],o.split(":").reduce(((e,t)=>Object.assign(e,{[t.replace(/^!/,"")]:!/^!/.test(t)})),{})):{},identifier:t[5],methodName:t[6],keyFilter:t[1]||r};var i,o}(e.content),t)}toString(){const e=this.keyFilter?`.${this.keyFilter}`:"",t=this.eventTargetName?`@${this.eventTargetName}`:"";return`${this.eventName}${e}${t}->${this.identifier}#${this.methodName}`}shouldIgnoreKeyboardEvent(e){if(!this.keyFilter)return!1;const t=this.keyFilter.split("+");if(this.keyFilterDissatisfied(e,t))return!0;const n=t.filter((e=>!p.includes(e)))[0];return!!n&&(f(this.keyMappings,n)||v(`contains unknown key filter: ${this.keyFilter}`),this.keyMappings[n].toLowerCase()!==e.key.toLowerCase())}shouldIgnoreMouseEvent(e){if(!this.keyFilter)return!1;const t=[this.keyFilter];return!!this.keyFilterDissatisfied(e,t)}get params(){const e={},t=new RegExp(`^data-${this.identifier}-(.+)-param$`,"i");for(const{name:n,value:r}of Array.from(this.element.attributes)){const i=n.match(t),o=i&&i[1];o&&(e[s(o)]=g(r))}return e}get eventTargetName(){return(e=this.eventTarget)==window?"window":e==document?"document":void 0;var e}get keyMappings(){return this.schema.keyMappings}keyFilterDissatisfied(e,t){const[n,r,i,o]=p.map((e=>t.includes(e)));return e.metaKey!==n||e.ctrlKey!==r||e.altKey!==i||e.shiftKey!==o}}const m={a:()=>"click",button:()=>"click",form:()=>"submit",details:()=>"toggle",input:e=>"submit"==e.getAttribute("type")?"click":"input",select:()=>"change",textarea:()=>"input"};function v(e){throw new Error(e)}function g(e){try{return JSON.parse(e)}catch(t){return e}}class y{constructor(e,t){this.context=e,this.action=t}get index(){return this.action.index}get eventTarget(){return this.action.eventTarget}get eventOptions(){return this.action.eventOptions}get identifier(){return this.context.identifier}handleEvent(e){const t=this.prepareActionEvent(e);this.willBeInvokedByEvent(e)&&this.applyEventModifiers(t)&&this.invokeWithEvent(t)}get eventName(){return this.action.eventName}get method(){const e=this.controller[this.methodName];if("function"==typeof e)return e;throw new Error(`Action "${this.action}" references undefined method "${this.methodName}"`)}applyEventModifiers(e){const{element:t}=this.action,{actionDescriptorFilters:n}=this.context.application,{controller:r}=this.context;let i=!0;for(const[o,a]of Object.entries(this.eventOptions))if(o in n){const s=n[o];i=i&&s({name:o,value:a,event:e,element:t,controller:r})}return i}prepareActionEvent(e){return Object.assign(e,{params:this.action.params})}invokeWithEvent(e){const{target:t,currentTarget:n}=e;try{this.method.call(this.controller,e),this.context.logDebugActivity(this.methodName,{event:e,target:t,currentTarget:n,action:this.methodName})}catch(t){const{identifier:n,controller:r,element:i,index:o}=this,a={identifier:n,controller:r,element:i,index:o,event:e};this.context.handleError(t,`invoking action "${this.action}"`,a)}}willBeInvokedByEvent(e){const t=e.target;return!(e instanceof KeyboardEvent&&this.action.shouldIgnoreKeyboardEvent(e))&&!(e instanceof MouseEvent&&this.action.shouldIgnoreMouseEvent(e))&&(this.element===t||(t instanceof Element&&this.element.contains(t)?this.scope.containsElement(t):this.scope.containsElement(this.action.element)))}get controller(){return this.context.controller}get methodName(){return this.action.methodName}get element(){return this.scope.element}get scope(){return this.context.scope}}class b{constructor(e,t){this.mutationObserverInit={attributes:!0,childList:!0,subtree:!0},this.element=e,this.started=!1,this.delegate=t,this.elements=new Set,this.mutationObserver=new MutationObserver((e=>this.processMutations(e)))}start(){this.started||(this.started=!0,this.mutationObserver.observe(this.element,this.mutationObserverInit),this.refresh())}pause(e){this.started&&(this.mutationObserver.disconnect(),this.started=!1),e(),this.started||(this.mutationObserver.observe(this.element,this.mutationObserverInit),this.started=!0)}stop(){this.started&&(this.mutationObserver.takeRecords(),this.mutationObserver.disconnect(),this.started=!1)}refresh(){if(this.started){const e=new Set(this.matchElementsInTree());for(const t of Array.from(this.elements))e.has(t)||this.removeElement(t);for(const t of Array.from(e))this.addElement(t)}}processMutations(e){if(this.started)for(const t of e)this.processMutation(t)}processMutation(e){"attributes"==e.type?this.processAttributeChange(e.target,e.attributeName):"childList"==e.type&&(this.processRemovedNodes(e.removedNodes),this.processAddedNodes(e.addedNodes))}processAttributeChange(e,t){this.elements.has(e)?this.delegate.elementAttributeChanged&&this.matchElement(e)?this.delegate.elementAttributeChanged(e,t):this.removeElement(e):this.matchElement(e)&&this.addElement(e)}processRemovedNodes(e){for(const t of Array.from(e)){const e=this.elementFromNode(t);e&&this.processTree(e,this.removeElement)}}processAddedNodes(e){for(const t of Array.from(e)){const e=this.elementFromNode(t);e&&this.elementIsActive(e)&&this.processTree(e,this.addElement)}}matchElement(e){return this.delegate.matchElement(e)}matchElementsInTree(e=this.element){return this.delegate.matchElementsInTree(e)}processTree(e,t){for(const n of this.matchElementsInTree(e))t.call(this,n)}elementFromNode(e){if(e.nodeType==Node.ELEMENT_NODE)return e}elementIsActive(e){return e.isConnected==this.element.isConnected&&this.element.contains(e)}addElement(e){this.elements.has(e)||this.elementIsActive(e)&&(this.elements.add(e),this.delegate.elementMatched&&this.delegate.elementMatched(e))}removeElement(e){this.elements.has(e)&&(this.elements.delete(e),this.delegate.elementUnmatched&&this.delegate.elementUnmatched(e))}}class w{constructor(e,t,n){this.attributeName=t,this.delegate=n,this.elementObserver=new b(e,this)}get element(){return this.elementObserver.element}get selector(){return`[${this.attributeName}]`}start(){this.elementObserver.start()}pause(e){this.elementObserver.pause(e)}stop(){this.elementObserver.stop()}refresh(){this.elementObserver.refresh()}get started(){return this.elementObserver.started}matchElement(e){return e.hasAttribute(this.attributeName)}matchElementsInTree(e){const t=this.matchElement(e)?[e]:[],n=Array.from(e.querySelectorAll(this.selector));return t.concat(n)}elementMatched(e){this.delegate.elementMatchedAttribute&&this.delegate.elementMatchedAttribute(e,this.attributeName)}elementUnmatched(e){this.delegate.elementUnmatchedAttribute&&this.delegate.elementUnmatchedAttribute(e,this.attributeName)}elementAttributeChanged(e,t){this.delegate.elementAttributeValueChanged&&this.attributeName==t&&this.delegate.elementAttributeValueChanged(e,t)}}function E(e,t,n){x(e,t).add(n)}function k(e,t,n){x(e,t).delete(n),T(e,t)}function x(e,t){let n=e.get(t);return n||(n=new Set,e.set(t,n)),n}function T(e,t){const n=e.get(t);null!=n&&0==n.size&&e.delete(t)}class O{constructor(){this.valuesByKey=new Map}get keys(){return Array.from(this.valuesByKey.keys())}get values(){return Array.from(this.valuesByKey.values()).reduce(((e,t)=>e.concat(Array.from(t))),[])}get size(){return Array.from(this.valuesByKey.values()).reduce(((e,t)=>e+t.size),0)}add(e,t){E(this.valuesByKey,e,t)}delete(e,t){k(this.valuesByKey,e,t)}has(e,t){const n=this.valuesByKey.get(e);return null!=n&&n.has(t)}hasKey(e){return this.valuesByKey.has(e)}hasValue(e){return Array.from(this.valuesByKey.values()).some((t=>t.has(e)))}getValuesForKey(e){const t=this.valuesByKey.get(e);return t?Array.from(t):[]}getKeysForValue(e){return Array.from(this.valuesByKey).filter((([t,n])=>n.has(e))).map((([e,t])=>e))}}class S extends O{constructor(){super(),this.keysByValue=new Map}get values(){return Array.from(this.keysByValue.keys())}add(e,t){super.add(e,t),E(this.keysByValue,t,e)}delete(e,t){super.delete(e,t),k(this.keysByValue,t,e)}hasValue(e){return this.keysByValue.has(e)}getKeysForValue(e){const t=this.keysByValue.get(e);return t?Array.from(t):[]}}class C{constructor(e,t,n,r){this._selector=t,this.details=r,this.elementObserver=new b(e,this),this.delegate=n,this.matchesByElement=new O}get started(){return this.elementObserver.started}get selector(){return this._selector}set selector(e){this._selector=e,this.refresh()}start(){this.elementObserver.start()}pause(e){this.elementObserver.pause(e)}stop(){this.elementObserver.stop()}refresh(){this.elementObserver.refresh()}get element(){return this.elementObserver.element}matchElement(e){const{selector:t}=this;if(t){const n=e.matches(t);return this.delegate.selectorMatchElement?n&&this.delegate.selectorMatchElement(e,this.details):n}return!1}matchElementsInTree(e){const{selector:t}=this;if(t){const n=this.matchElement(e)?[e]:[],r=Array.from(e.querySelectorAll(t)).filter((e=>this.matchElement(e)));return n.concat(r)}return[]}elementMatched(e){const{selector:t}=this;t&&this.selectorMatched(e,t)}elementUnmatched(e){const t=this.matchesByElement.getKeysForValue(e);for(const n of t)this.selectorUnmatched(e,n)}elementAttributeChanged(e,t){const{selector:n}=this;if(n){const t=this.matchElement(e),r=this.matchesByElement.has(n,e);t&&!r?this.selectorMatched(e,n):!t&&r&&this.selectorUnmatched(e,n)}}selectorMatched(e,t){this.delegate.selectorMatched(e,t,this.details),this.matchesByElement.add(t,e)}selectorUnmatched(e,t){this.delegate.selectorUnmatched(e,t,this.details),this.matchesByElement.delete(t,e)}}class A{constructor(e,t){this.element=e,this.delegate=t,this.started=!1,this.stringMap=new Map,this.mutationObserver=new MutationObserver((e=>this.processMutations(e)))}start(){this.started||(this.started=!0,this.mutationObserver.observe(this.element,{attributes:!0,attributeOldValue:!0}),this.refresh())}stop(){this.started&&(this.mutationObserver.takeRecords(),this.mutationObserver.disconnect(),this.started=!1)}refresh(){if(this.started)for(const e of this.knownAttributeNames)this.refreshAttribute(e,null)}processMutations(e){if(this.started)for(const t of e)this.processMutation(t)}processMutation(e){const t=e.attributeName;t&&this.refreshAttribute(t,e.oldValue)}refreshAttribute(e,t){const n=this.delegate.getStringMapKeyForAttribute(e);if(null!=n){this.stringMap.has(e)||this.stringMapKeyAdded(n,e);const r=this.element.getAttribute(e);if(this.stringMap.get(e)!=r&&this.stringMapValueChanged(r,n,t),null==r){const t=this.stringMap.get(e);this.stringMap.delete(e),t&&this.stringMapKeyRemoved(n,e,t)}else this.stringMap.set(e,r)}}stringMapKeyAdded(e,t){this.delegate.stringMapKeyAdded&&this.delegate.stringMapKeyAdded(e,t)}stringMapValueChanged(e,t,n){this.delegate.stringMapValueChanged&&this.delegate.stringMapValueChanged(e,t,n)}stringMapKeyRemoved(e,t,n){this.delegate.stringMapKeyRemoved&&this.delegate.stringMapKeyRemoved(e,t,n)}get knownAttributeNames(){return Array.from(new Set(this.currentAttributeNames.concat(this.recordedAttributeNames)))}get currentAttributeNames(){return Array.from(this.element.attributes).map((e=>e.name))}get recordedAttributeNames(){return Array.from(this.stringMap.keys())}}class N{constructor(e,t,n){this.attributeObserver=new w(e,t,this),this.delegate=n,this.tokensByElement=new O}get started(){return this.attributeObserver.started}start(){this.attributeObserver.start()}pause(e){this.attributeObserver.pause(e)}stop(){this.attributeObserver.stop()}refresh(){this.attributeObserver.refresh()}get element(){return this.attributeObserver.element}get attributeName(){return this.attributeObserver.attributeName}elementMatchedAttribute(e){this.tokensMatched(this.readTokensForElement(e))}elementAttributeValueChanged(e){const[t,n]=this.refreshTokensForElement(e);this.tokensUnmatched(t),this.tokensMatched(n)}elementUnmatchedAttribute(e){this.tokensUnmatched(this.tokensByElement.getValuesForKey(e))}tokensMatched(e){e.forEach((e=>this.tokenMatched(e)))}tokensUnmatched(e){e.forEach((e=>this.tokenUnmatched(e)))}tokenMatched(e){this.delegate.tokenMatched(e),this.tokensByElement.add(e.element,e)}tokenUnmatched(e){this.delegate.tokenUnmatched(e),this.tokensByElement.delete(e.element,e)}refreshTokensForElement(e){const t=this.tokensByElement.getValuesForKey(e),n=this.readTokensForElement(e),r=function(e,t){const n=Math.max(e.length,t.length);return Array.from({length:n},((n,r)=>[e[r],t[r]]))}(t,n).findIndex((([e,t])=>{return r=t,!((n=e)&&r&&n.index==r.index&&n.content==r.content);var n,r}));return-1==r?[[],[]]:[t.slice(r),n.slice(r)]}readTokensForElement(e){const t=this.attributeName;return function(e,t,n){return e.trim().split(/\s+/).filter((e=>e.length)).map(((e,r)=>({element:t,attributeName:n,content:e,index:r})))}(e.getAttribute(t)||"",e,t)}}class I{constructor(e,t,n){this.tokenListObserver=new N(e,t,this),this.delegate=n,this.parseResultsByToken=new WeakMap,this.valuesByTokenByElement=new WeakMap}get started(){return this.tokenListObserver.started}start(){this.tokenListObserver.start()}stop(){this.tokenListObserver.stop()}refresh(){this.tokenListObserver.refresh()}get element(){return this.tokenListObserver.element}get attributeName(){return this.tokenListObserver.attributeName}tokenMatched(e){const{element:t}=e,{value:n}=this.fetchParseResultForToken(e);n&&(this.fetchValuesByTokenForElement(t).set(e,n),this.delegate.elementMatchedValue(t,n))}tokenUnmatched(e){const{element:t}=e,{value:n}=this.fetchParseResultForToken(e);n&&(this.fetchValuesByTokenForElement(t).delete(e),this.delegate.elementUnmatchedValue(t,n))}fetchParseResultForToken(e){let t=this.parseResultsByToken.get(e);return t||(t=this.parseToken(e),this.parseResultsByToken.set(e,t)),t}fetchValuesByTokenForElement(e){let t=this.valuesByTokenByElement.get(e);return t||(t=new Map,this.valuesByTokenByElement.set(e,t)),t}parseToken(e){try{return{value:this.delegate.parseValueForToken(e)}}catch(e){return{error:e}}}}class M{constructor(e,t){this.context=e,this.delegate=t,this.bindingsByAction=new Map}start(){this.valueListObserver||(this.valueListObserver=new I(this.element,this.actionAttribute,this),this.valueListObserver.start())}stop(){this.valueListObserver&&(this.valueListObserver.stop(),delete this.valueListObserver,this.disconnectAllActions())}get element(){return this.context.element}get identifier(){return this.context.identifier}get actionAttribute(){return this.schema.actionAttribute}get schema(){return this.context.schema}get bindings(){return Array.from(this.bindingsByAction.values())}connectAction(e){const t=new y(this.context,e);this.bindingsByAction.set(e,t),this.delegate.bindingConnected(t)}disconnectAction(e){const t=this.bindingsByAction.get(e);t&&(this.bindingsByAction.delete(e),this.delegate.bindingDisconnected(t))}disconnectAllActions(){this.bindings.forEach((e=>this.delegate.bindingDisconnected(e,!0))),this.bindingsByAction.clear()}parseValueForToken(e){const t=h.forToken(e,this.schema);if(t.identifier==this.identifier)return t}elementMatchedValue(e,t){this.connectAction(t)}elementUnmatchedValue(e,t){this.disconnectAction(t)}}class F{constructor(e,t){this.context=e,this.receiver=t,this.stringMapObserver=new A(this.element,this),this.valueDescriptorMap=this.controller.valueDescriptorMap}start(){this.stringMapObserver.start(),this.invokeChangedCallbacksForDefaultValues()}stop(){this.stringMapObserver.stop()}get element(){return this.context.element}get controller(){return this.context.controller}getStringMapKeyForAttribute(e){if(e in this.valueDescriptorMap)return this.valueDescriptorMap[e].name}stringMapKeyAdded(e,t){const n=this.valueDescriptorMap[t];this.hasValue(e)||this.invokeChangedCallback(e,n.writer(this.receiver[e]),n.writer(n.defaultValue))}stringMapValueChanged(e,t,n){const r=this.valueDescriptorNameMap[t];null!==e&&(null===n&&(n=r.writer(r.defaultValue)),this.invokeChangedCallback(t,e,n))}stringMapKeyRemoved(e,t,n){const r=this.valueDescriptorNameMap[e];this.hasValue(e)?this.invokeChangedCallback(e,r.writer(this.receiver[e]),n):this.invokeChangedCallback(e,r.writer(r.defaultValue),n)}invokeChangedCallbacksForDefaultValues(){for(const{key:e,name:t,defaultValue:n,writer:r}of this.valueDescriptors)null==n||this.controller.data.has(e)||this.invokeChangedCallback(t,r(n),void 0)}invokeChangedCallback(e,t,n){const r=`${e}Changed`,i=this.receiver[r];if("function"==typeof i){const r=this.valueDescriptorNameMap[e];try{const e=r.reader(t);let o=n;n&&(o=r.reader(n)),i.call(this.receiver,e,o)}catch(e){throw e instanceof TypeError&&(e.message=`Stimulus Value "${this.context.identifier}.${r.name}" - ${e.message}`),e}}}get valueDescriptors(){const{valueDescriptorMap:e}=this;return Object.keys(e).map((t=>e[t]))}get valueDescriptorNameMap(){const e={};return Object.keys(this.valueDescriptorMap).forEach((t=>{const n=this.valueDescriptorMap[t];e[n.name]=n})),e}hasValue(e){const t=`has${u(this.valueDescriptorNameMap[e].name)}`;return this.receiver[t]}}class P{constructor(e,t){this.context=e,this.delegate=t,this.targetsByName=new O}start(){this.tokenListObserver||(this.tokenListObserver=new N(this.element,this.attributeName,this),this.tokenListObserver.start())}stop(){this.tokenListObserver&&(this.disconnectAllTargets(),this.tokenListObserver.stop(),delete this.tokenListObserver)}tokenMatched({element:e,content:t}){this.scope.containsElement(e)&&this.connectTarget(e,t)}tokenUnmatched({element:e,content:t}){this.disconnectTarget(e,t)}connectTarget(e,t){var n;this.targetsByName.has(t,e)||(this.targetsByName.add(t,e),null===(n=this.tokenListObserver)||void 0===n||n.pause((()=>this.delegate.targetConnected(e,t))))}disconnectTarget(e,t){var n;this.targetsByName.has(t,e)&&(this.targetsByName.delete(t,e),null===(n=this.tokenListObserver)||void 0===n||n.pause((()=>this.delegate.targetDisconnected(e,t))))}disconnectAllTargets(){for(const e of this.targetsByName.keys)for(const t of this.targetsByName.getValuesForKey(e))this.disconnectTarget(t,e)}get attributeName(){return`data-${this.context.identifier}-target`}get element(){return this.context.element}get scope(){return this.context.scope}}function D(e,t){const n=L(e);return Array.from(n.reduce(((e,n)=>(function(e,t){const n=e[t];return Array.isArray(n)?n:[]}(n,t).forEach((t=>e.add(t))),e)),new Set))}function L(e){const t=[];for(;e;)t.push(e),e=Object.getPrototypeOf(e);return t.reverse()}class _{constructor(e,t){this.started=!1,this.context=e,this.delegate=t,this.outletsByName=new O,this.outletElementsByName=new O,this.selectorObserverMap=new Map,this.attributeObserverMap=new Map}start(){this.started||(this.outletDefinitions.forEach((e=>{this.setupSelectorObserverForOutlet(e),this.setupAttributeObserverForOutlet(e)})),this.started=!0,this.dependentContexts.forEach((e=>e.refresh())))}refresh(){this.selectorObserverMap.forEach((e=>e.refresh())),this.attributeObserverMap.forEach((e=>e.refresh()))}stop(){this.started&&(this.started=!1,this.disconnectAllOutlets(),this.stopSelectorObservers(),this.stopAttributeObservers())}stopSelectorObservers(){this.selectorObserverMap.size>0&&(this.selectorObserverMap.forEach((e=>e.stop())),this.selectorObserverMap.clear())}stopAttributeObservers(){this.attributeObserverMap.size>0&&(this.attributeObserverMap.forEach((e=>e.stop())),this.attributeObserverMap.clear())}selectorMatched(e,t,{outletName:n}){const r=this.getOutlet(e,n);r&&this.connectOutlet(r,e,n)}selectorUnmatched(e,t,{outletName:n}){const r=this.getOutletFromMap(e,n);r&&this.disconnectOutlet(r,e,n)}selectorMatchElement(e,{outletName:t}){const n=this.selector(t),r=this.hasOutlet(e,t),i=e.matches(`[${this.schema.controllerAttribute}~=${t}]`);return!!n&&r&&i&&e.matches(n)}elementMatchedAttribute(e,t){const n=this.getOutletNameFromOutletAttributeName(t);n&&this.updateSelectorObserverForOutlet(n)}elementAttributeValueChanged(e,t){const n=this.getOutletNameFromOutletAttributeName(t);n&&this.updateSelectorObserverForOutlet(n)}elementUnmatchedAttribute(e,t){const n=this.getOutletNameFromOutletAttributeName(t);n&&this.updateSelectorObserverForOutlet(n)}connectOutlet(e,t,n){var r;this.outletElementsByName.has(n,t)||(this.outletsByName.add(n,e),this.outletElementsByName.add(n,t),null===(r=this.selectorObserverMap.get(n))||void 0===r||r.pause((()=>this.delegate.outletConnected(e,t,n))))}disconnectOutlet(e,t,n){var r;this.outletElementsByName.has(n,t)&&(this.outletsByName.delete(n,e),this.outletElementsByName.delete(n,t),null===(r=this.selectorObserverMap.get(n))||void 0===r||r.pause((()=>this.delegate.outletDisconnected(e,t,n))))}disconnectAllOutlets(){for(const e of this.outletElementsByName.keys)for(const t of this.outletElementsByName.getValuesForKey(e))for(const n of this.outletsByName.getValuesForKey(e))this.disconnectOutlet(n,t,e)}updateSelectorObserverForOutlet(e){const t=this.selectorObserverMap.get(e);t&&(t.selector=this.selector(e))}setupSelectorObserverForOutlet(e){const t=this.selector(e),n=new C(document.body,t,this,{outletName:e});this.selectorObserverMap.set(e,n),n.start()}setupAttributeObserverForOutlet(e){const t=this.attributeNameForOutletName(e),n=new w(this.scope.element,t,this);this.attributeObserverMap.set(e,n),n.start()}selector(e){return this.scope.outlets.getSelectorForOutletName(e)}attributeNameForOutletName(e){return this.scope.schema.outletAttributeForScope(this.identifier,e)}getOutletNameFromOutletAttributeName(e){return this.outletDefinitions.find((t=>this.attributeNameForOutletName(t)===e))}get outletDependencies(){const e=new O;return this.router.modules.forEach((t=>{D(t.definition.controllerConstructor,"outlets").forEach((n=>e.add(n,t.identifier)))})),e}get outletDefinitions(){return this.outletDependencies.getKeysForValue(this.identifier)}get dependentControllerIdentifiers(){return this.outletDependencies.getValuesForKey(this.identifier)}get dependentContexts(){const e=this.dependentControllerIdentifiers;return this.router.contexts.filter((t=>e.includes(t.identifier)))}hasOutlet(e,t){return!!this.getOutlet(e,t)||!!this.getOutletFromMap(e,t)}getOutlet(e,t){return this.application.getControllerForElementAndIdentifier(e,t)}getOutletFromMap(e,t){return this.outletsByName.getValuesForKey(t).find((t=>t.element===e))}get scope(){return this.context.scope}get schema(){return this.context.schema}get identifier(){return this.context.identifier}get application(){return this.context.application}get router(){return this.application.router}}class j{constructor(e,t){this.logDebugActivity=(e,t={})=>{const{identifier:n,controller:r,element:i}=this;t=Object.assign({identifier:n,controller:r,element:i},t),this.application.logDebugActivity(this.identifier,e,t)},this.module=e,this.scope=t,this.controller=new e.controllerConstructor(this),this.bindingObserver=new M(this,this.dispatcher),this.valueObserver=new F(this,this.controller),this.targetObserver=new P(this,this),this.outletObserver=new _(this,this);try{this.controller.initialize(),this.logDebugActivity("initialize")}catch(e){this.handleError(e,"initializing controller")}}connect(){this.bindingObserver.start(),this.valueObserver.start(),this.targetObserver.start(),this.outletObserver.start();try{this.controller.connect(),this.logDebugActivity("connect")}catch(e){this.handleError(e,"connecting controller")}}refresh(){this.outletObserver.refresh()}disconnect(){try{this.controller.disconnect(),this.logDebugActivity("disconnect")}catch(e){this.handleError(e,"disconnecting controller")}this.outletObserver.stop(),this.targetObserver.stop(),this.valueObserver.stop(),this.bindingObserver.stop()}get application(){return this.module.application}get identifier(){return this.module.identifier}get schema(){return this.application.schema}get dispatcher(){return this.application.dispatcher}get element(){return this.scope.element}get parentElement(){return this.element.parentElement}handleError(e,t,n={}){const{identifier:r,controller:i,element:o}=this;n=Object.assign({identifier:r,controller:i,element:o},n),this.application.handleError(e,`Error ${t}`,n)}targetConnected(e,t){this.invokeControllerMethod(`${t}TargetConnected`,e)}targetDisconnected(e,t){this.invokeControllerMethod(`${t}TargetDisconnected`,e)}outletConnected(e,t,n){this.invokeControllerMethod(`${l(n)}OutletConnected`,e,t)}outletDisconnected(e,t,n){this.invokeControllerMethod(`${l(n)}OutletDisconnected`,e,t)}invokeControllerMethod(e,...t){const n=this.controller;"function"==typeof n[e]&&n[e](...t)}}const $="function"==typeof Object.getOwnPropertySymbols?e=>[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)]:Object.getOwnPropertyNames,R=(()=>{function e(e){function t(){return Reflect.construct(e,arguments,new.target)}return t.prototype=Object.create(e.prototype,{constructor:{value:t}}),Reflect.setPrototypeOf(t,e),t}try{return function(){const t=e((function(){this.a.call(this)}));t.prototype.a=function(){},new t}(),e}catch(e){return e=>class extends e{}}})();class B{constructor(e,t){this.application=e,this.definition=function(e){return{identifier:e.identifier,controllerConstructor:(t=e.controllerConstructor,function(e,t){const n=R(e),r=function(e,t){return $(t).reduce(((n,r)=>{const i=function(e,t,n){const r=Object.getOwnPropertyDescriptor(e,n);if(!r||!("value"in r)){const e=Object.getOwnPropertyDescriptor(t,n).value;return r&&(e.get=r.get||e.get,e.set=r.set||e.set),e}}(e,t,r);return i&&Object.assign(n,{[r]:i}),n}),{})}(e.prototype,t);return Object.defineProperties(n.prototype,r),n}(t,function(e){return D(e,"blessings").reduce(((t,n)=>{const r=n(e);for(const e in r){const n=t[e]||{};t[e]=Object.assign(n,r[e])}return t}),{})}(t)))};var t}(t),this.contextsByScope=new WeakMap,this.connectedContexts=new Set}get identifier(){return this.definition.identifier}get controllerConstructor(){return this.definition.controllerConstructor}get contexts(){return Array.from(this.connectedContexts)}connectContextForScope(e){const t=this.fetchContextForScope(e);this.connectedContexts.add(t),t.connect()}disconnectContextForScope(e){const t=this.contextsByScope.get(e);t&&(this.connectedContexts.delete(t),t.disconnect())}fetchContextForScope(e){let t=this.contextsByScope.get(e);return t||(t=new j(this,e),this.contextsByScope.set(e,t)),t}}class V{constructor(e){this.scope=e}has(e){return this.data.has(this.getDataKey(e))}get(e){return this.getAll(e)[0]}getAll(e){return(this.data.get(this.getDataKey(e))||"").match(/[^\s]+/g)||[]}getAttributeName(e){return this.data.getAttributeNameForKey(this.getDataKey(e))}getDataKey(e){return`${e}-class`}get data(){return this.scope.data}}class z{constructor(e){this.scope=e}get element(){return this.scope.element}get identifier(){return this.scope.identifier}get(e){const t=this.getAttributeNameForKey(e);return this.element.getAttribute(t)}set(e,t){const n=this.getAttributeNameForKey(e);return this.element.setAttribute(n,t),this.get(e)}has(e){const t=this.getAttributeNameForKey(e);return this.element.hasAttribute(t)}delete(e){if(this.has(e)){const t=this.getAttributeNameForKey(e);return this.element.removeAttribute(t),!0}return!1}getAttributeNameForKey(e){return`data-${this.identifier}-${c(e)}`}}class U{constructor(e){this.warnedKeysByObject=new WeakMap,this.logger=e}warn(e,t,n){let r=this.warnedKeysByObject.get(e);r||(r=new Set,this.warnedKeysByObject.set(e,r)),r.has(t)||(r.add(t),this.logger.warn(n,e))}}function K(e,t){return`[${e}~="${t}"]`}class H{constructor(e){this.scope=e}get element(){return this.scope.element}get identifier(){return this.scope.identifier}get schema(){return this.scope.schema}has(e){return null!=this.find(e)}find(...e){return e.reduce(((e,t)=>e||this.findTarget(t)||this.findLegacyTarget(t)),void 0)}findAll(...e){return e.reduce(((e,t)=>[...e,...this.findAllTargets(t),...this.findAllLegacyTargets(t)]),[])}findTarget(e){const t=this.getSelectorForTargetName(e);return this.scope.findElement(t)}findAllTargets(e){const t=this.getSelectorForTargetName(e);return this.scope.findAllElements(t)}getSelectorForTargetName(e){return K(this.schema.targetAttributeForScope(this.identifier),e)}findLegacyTarget(e){const t=this.getLegacySelectorForTargetName(e);return this.deprecate(this.scope.findElement(t),e)}findAllLegacyTargets(e){const t=this.getLegacySelectorForTargetName(e);return this.scope.findAllElements(t).map((t=>this.deprecate(t,e)))}getLegacySelectorForTargetName(e){const t=`${this.identifier}.${e}`;return K(this.schema.targetAttribute,t)}deprecate(e,t){if(e){const{identifier:n}=this,r=this.schema.targetAttribute,i=this.schema.targetAttributeForScope(n);this.guide.warn(e,`target:${t}`,`Please replace ${r}="${n}.${t}" with ${i}="${t}". The ${r} attribute is deprecated and will be removed in a future version of Stimulus.`)}return e}get guide(){return this.scope.guide}}class W{constructor(e,t){this.scope=e,this.controllerElement=t}get element(){return this.scope.element}get identifier(){return this.scope.identifier}get schema(){return this.scope.schema}has(e){return null!=this.find(e)}find(...e){return e.reduce(((e,t)=>e||this.findOutlet(t)),void 0)}findAll(...e){return e.reduce(((e,t)=>[...e,...this.findAllOutlets(t)]),[])}getSelectorForOutletName(e){const t=this.schema.outletAttributeForScope(this.identifier,e);return this.controllerElement.getAttribute(t)}findOutlet(e){const t=this.getSelectorForOutletName(e);if(t)return this.findElement(t,e)}findAllOutlets(e){const t=this.getSelectorForOutletName(e);return t?this.findAllElements(t,e):[]}findElement(e,t){return this.scope.queryElements(e).filter((n=>this.matchesElement(n,e,t)))[0]}findAllElements(e,t){return this.scope.queryElements(e).filter((n=>this.matchesElement(n,e,t)))}matchesElement(e,t,n){const r=e.getAttribute(this.scope.schema.controllerAttribute)||"";return e.matches(t)&&r.split(" ").includes(n)}}class q{constructor(e,t,n,r){this.targets=new H(this),this.classes=new V(this),this.data=new z(this),this.containsElement=e=>e.closest(this.controllerSelector)===this.element,this.schema=e,this.element=t,this.identifier=n,this.guide=new U(r),this.outlets=new W(this.documentScope,t)}findElement(e){return this.element.matches(e)?this.element:this.queryElements(e).find(this.containsElement)}findAllElements(e){return[...this.element.matches(e)?[this.element]:[],...this.queryElements(e).filter(this.containsElement)]}queryElements(e){return Array.from(this.element.querySelectorAll(e))}get controllerSelector(){return K(this.schema.controllerAttribute,this.identifier)}get isDocumentScope(){return this.element===document.documentElement}get documentScope(){return this.isDocumentScope?this:new q(this.schema,document.documentElement,this.identifier,this.guide.logger)}}class Q{constructor(e,t,n){this.element=e,this.schema=t,this.delegate=n,this.valueListObserver=new I(this.element,this.controllerAttribute,this),this.scopesByIdentifierByElement=new WeakMap,this.scopeReferenceCounts=new WeakMap}start(){this.valueListObserver.start()}stop(){this.valueListObserver.stop()}get controllerAttribute(){return this.schema.controllerAttribute}parseValueForToken(e){const{element:t,content:n}=e;return this.parseValueForElementAndIdentifier(t,n)}parseValueForElementAndIdentifier(e,t){const n=this.fetchScopesByIdentifierForElement(e);let r=n.get(t);return r||(r=this.delegate.createScopeForElementAndIdentifier(e,t),n.set(t,r)),r}elementMatchedValue(e,t){const n=(this.scopeReferenceCounts.get(t)||0)+1;this.scopeReferenceCounts.set(t,n),1==n&&this.delegate.scopeConnected(t)}elementUnmatchedValue(e,t){const n=this.scopeReferenceCounts.get(t);n&&(this.scopeReferenceCounts.set(t,n-1),1==n&&this.delegate.scopeDisconnected(t))}fetchScopesByIdentifierForElement(e){let t=this.scopesByIdentifierByElement.get(e);return t||(t=new Map,this.scopesByIdentifierByElement.set(e,t)),t}}class G{constructor(e){this.application=e,this.scopeObserver=new Q(this.element,this.schema,this),this.scopesByIdentifier=new O,this.modulesByIdentifier=new Map}get element(){return this.application.element}get schema(){return this.application.schema}get logger(){return this.application.logger}get controllerAttribute(){return this.schema.controllerAttribute}get modules(){return Array.from(this.modulesByIdentifier.values())}get contexts(){return this.modules.reduce(((e,t)=>e.concat(t.contexts)),[])}start(){this.scopeObserver.start()}stop(){this.scopeObserver.stop()}loadDefinition(e){this.unloadIdentifier(e.identifier);const t=new B(this.application,e);this.connectModule(t);const n=e.controllerConstructor.afterLoad;n&&n.call(e.controllerConstructor,e.identifier,this.application)}unloadIdentifier(e){const t=this.modulesByIdentifier.get(e);t&&this.disconnectModule(t)}getContextForElementAndIdentifier(e,t){const n=this.modulesByIdentifier.get(t);if(n)return n.contexts.find((t=>t.element==e))}proposeToConnectScopeForElementAndIdentifier(e,t){const n=this.scopeObserver.parseValueForElementAndIdentifier(e,t);n?this.scopeObserver.elementMatchedValue(n.element,n):console.error(`Couldn't find or create scope for identifier: "${t}" and element:`,e)}handleError(e,t,n){this.application.handleError(e,t,n)}createScopeForElementAndIdentifier(e,t){return new q(this.schema,e,t,this.logger)}scopeConnected(e){this.scopesByIdentifier.add(e.identifier,e);const t=this.modulesByIdentifier.get(e.identifier);t&&t.connectContextForScope(e)}scopeDisconnected(e){this.scopesByIdentifier.delete(e.identifier,e);const t=this.modulesByIdentifier.get(e.identifier);t&&t.disconnectContextForScope(e)}connectModule(e){this.modulesByIdentifier.set(e.identifier,e),this.scopesByIdentifier.getValuesForKey(e.identifier).forEach((t=>e.connectContextForScope(t)))}disconnectModule(e){this.modulesByIdentifier.delete(e.identifier),this.scopesByIdentifier.getValuesForKey(e.identifier).forEach((t=>e.disconnectContextForScope(t)))}}const Y={controllerAttribute:"data-controller",actionAttribute:"data-action",targetAttribute:"data-target",targetAttributeForScope:e=>`data-${e}-target`,outletAttributeForScope:(e,t)=>`data-${e}-${t}-outlet`,keyMappings:Object.assign(Object.assign({enter:"Enter",tab:"Tab",esc:"Escape",space:" ",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",home:"Home",end:"End",page_up:"PageUp",page_down:"PageDown"},X("abcdefghijklmnopqrstuvwxyz".split("").map((e=>[e,e])))),X("0123456789".split("").map((e=>[e,e]))))};function X(e){return e.reduce(((e,[t,n])=>Object.assign(Object.assign({},e),{[t]:n})),{})}class Z{constructor(e=document.documentElement,t=Y){this.logger=console,this.debug=!1,this.logDebugActivity=(e,t,n={})=>{this.debug&&this.logFormattedMessage(e,t,n)},this.element=e,this.schema=t,this.dispatcher=new i(this),this.router=new G(this),this.actionDescriptorFilters=Object.assign({},o)}static start(e,t){const n=new this(e,t);return n.start(),n}async start(){await new Promise((e=>{"loading"==document.readyState?document.addEventListener("DOMContentLoaded",(()=>e())):e()})),this.logDebugActivity("application","starting"),this.dispatcher.start(),this.router.start(),this.logDebugActivity("application","start")}stop(){this.logDebugActivity("application","stopping"),this.dispatcher.stop(),this.router.stop(),this.logDebugActivity("application","stop")}register(e,t){this.load({identifier:e,controllerConstructor:t})}registerActionOption(e,t){this.actionDescriptorFilters[e]=t}load(e,...t){(Array.isArray(e)?e:[e,...t]).forEach((e=>{e.controllerConstructor.shouldLoad&&this.router.loadDefinition(e)}))}unload(e,...t){(Array.isArray(e)?e:[e,...t]).forEach((e=>this.router.unloadIdentifier(e)))}get controllers(){return this.router.contexts.map((e=>e.controller))}getControllerForElementAndIdentifier(e,t){const n=this.router.getContextForElementAndIdentifier(e,t);return n?n.controller:null}handleError(e,t,n){var r;this.logger.error("%s\n\n%o\n\n%o",t,e,n),null===(r=window.onerror)||void 0===r||r.call(window,t,"",0,0,e)}logFormattedMessage(e,t,n={}){n=Object.assign({application:this},n),this.logger.groupCollapsed(`${e} #${t}`),this.logger.log("details:",Object.assign({},n)),this.logger.groupEnd()}}function J(e,t,n){return e.application.getControllerForElementAndIdentifier(t,n)}function ee(e,t,n){let r=J(e,t,n);return r||(e.application.router.proposeToConnectScopeForElementAndIdentifier(t,n),r=J(e,t,n),r||void 0)}function te([e,t],n){return function(e){const{token:t,typeDefinition:n}=e,r=`${c(t)}-value`,i=function(e){const{controller:t,token:n,typeDefinition:r}=e,i=function(e){const{controller:t,token:n,typeObject:r}=e,i=d(r.type),o=d(r.default),a=i&&o,s=i&&!o,l=!i&&o,u=ne(r.type),c=re(e.typeObject.default);if(s)return u;if(l)return c;if(u!==c)throw new Error(`The specified default value for the Stimulus Value "${t?`${t}.${n}`:n}" must match the defined type "${u}". The provided default value of "${r.default}" is of type "${c}".`);return a?u:void 0}({controller:t,token:n,typeObject:r}),o=re(r),a=ne(r),s=i||o||a;if(s)return s;throw new Error(`Unknown value type "${t?`${t}.${r}`:n}" for "${n}" value`)}(e);return{type:i,key:r,name:s(r),get defaultValue(){return function(e){const t=ne(e);if(t)return ie[t];const n=f(e,"default"),r=f(e,"type"),i=e;if(n)return i.default;if(r){const{type:e}=i,t=ne(e);if(t)return ie[t]}return e}(n)},get hasCustomDefaultValue(){return void 0!==re(n)},reader:oe[i],writer:ae[i]||ae.default}}({controller:n,token:e,typeDefinition:t})}function ne(e){switch(e){case Array:return"array";case Boolean:return"boolean";case Number:return"number";case Object:return"object";case String:return"string"}}function re(e){switch(typeof e){case"boolean":return"boolean";case"number":return"number";case"string":return"string"}return Array.isArray(e)?"array":"[object Object]"===Object.prototype.toString.call(e)?"object":void 0}const ie={get array(){return[]},boolean:!1,number:0,get object(){return{}},string:""},oe={array(e){const t=JSON.parse(e);if(!Array.isArray(t))throw new TypeError(`expected value of type "array" but instead got value "${e}" of type "${re(t)}"`);return t},boolean:e=>!("0"==e||"false"==String(e).toLowerCase()),number:e=>Number(e.replace(/_/g,"")),object(e){const t=JSON.parse(e);if(null===t||"object"!=typeof t||Array.isArray(t))throw new TypeError(`expected value of type "object" but instead got value "${e}" of type "${re(t)}"`);return t},string:e=>e},ae={default:function(e){return`${e}`},array:se,object:se};function se(e){return JSON.stringify(e)}class le{constructor(e){this.context=e}static get shouldLoad(){return!0}static afterLoad(e,t){}get application(){return this.context.application}get scope(){return this.context.scope}get element(){return this.scope.element}get identifier(){return this.scope.identifier}get targets(){return this.scope.targets}get outlets(){return this.scope.outlets}get classes(){return this.scope.classes}get data(){return this.scope.data}initialize(){}connect(){}disconnect(){}dispatch(e,{target:t=this.element,detail:n={},prefix:r=this.identifier,bubbles:i=!0,cancelable:o=!0}={}){const a=new CustomEvent(r?`${r}:${e}`:e,{detail:n,bubbles:i,cancelable:o});return t.dispatchEvent(a),a}}le.blessings=[function(e){return D(e,"classes").reduce(((e,t)=>{return Object.assign(e,{[`${n=t}Class`]:{get(){const{classes:e}=this;if(e.has(n))return e.get(n);{const t=e.getAttributeName(n);throw new Error(`Missing attribute "${t}"`)}}},[`${n}Classes`]:{get(){return this.classes.getAll(n)}},[`has${u(n)}Class`]:{get(){return this.classes.has(n)}}});var n}),{})},function(e){return D(e,"targets").reduce(((e,t)=>{return Object.assign(e,{[`${n=t}Target`]:{get(){const e=this.targets.find(n);if(e)return e;throw new Error(`Missing target element "${n}" for "${this.identifier}" controller`)}},[`${n}Targets`]:{get(){return this.targets.findAll(n)}},[`has${u(n)}Target`]:{get(){return this.targets.has(n)}}});var n}),{})},function(e){const t=function(e,t){return L(e).reduce(((e,n)=>(e.push(...function(e,t){const n=e[t];return n?Object.keys(n).map((e=>[e,n[e]])):[]}(n,t)),e)),[])}(e,"values"),n={valueDescriptorMap:{get(){return t.reduce(((e,t)=>{const n=te(t,this.identifier),r=this.data.getAttributeNameForKey(n.key);return Object.assign(e,{[r]:n})}),{})}}};return t.reduce(((e,t)=>Object.assign(e,function(e,t){const n=te(e,void 0),{key:r,name:i,reader:o,writer:a}=n;return{[i]:{get(){const e=this.data.get(r);return null!==e?o(e):n.defaultValue},set(e){void 0===e?this.data.delete(r):this.data.set(r,a(e))}},[`has${u(i)}`]:{get(){return this.data.has(r)||n.hasCustomDefaultValue}}}}(t))),n)},function(e){return D(e,"outlets").reduce(((e,t)=>Object.assign(e,function(e){const t=l(e);return{[`${t}Outlet`]:{get(){const t=this.outlets.find(e),n=this.outlets.getSelectorForOutletName(e);if(t){const n=ee(this,t,e);if(n)return n;throw new Error(`The provided outlet element is missing an outlet controller "${e}" instance for host controller "${this.identifier}"`)}throw new Error(`Missing outlet element "${e}" for host controller "${this.identifier}". Stimulus couldn't find a matching outlet element using selector "${n}".`)}},[`${t}Outlets`]:{get(){const t=this.outlets.findAll(e);return t.length>0?t.map((t=>{const n=ee(this,t,e);if(n)return n;console.warn(`The provided outlet element is missing an outlet controller "${e}" instance for host controller "${this.identifier}"`,t)})).filter((e=>e)):[]}},[`${t}OutletElement`]:{get(){const t=this.outlets.find(e),n=this.outlets.getSelectorForOutletName(e);if(t)return t;throw new Error(`Missing outlet element "${e}" for host controller "${this.identifier}". Stimulus couldn't find a matching outlet element using selector "${n}".`)}},[`${t}OutletElements`]:{get(){return this.outlets.findAll(e)}},[`has${u(t)}Outlet`]:{get(){return this.outlets.has(e)}}}}(t))),{})}],le.targets=[],le.outlets=[],le.values={}},5446:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>i}),/^(114|262|591|61)$/.test(n.j))var r=n(5581);function i(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&(0,r.Ng)(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}},6354:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>o}),/^(114|262|591|61)$/.test(n.j))var r=n(5581);if(/^(114|262|591|61)$/.test(n.j))var i=n(6906);function o(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),o=1,a=1;if((0,r.sb)(e)&&t){var s=e.offsetHeight,l=e.offsetWidth;l>0&&(o=(0,i.LI)(n.width)/l||1),s>0&&(a=(0,i.LI)(n.height)/s||1)}return{width:n.width/o,height:n.height/a,top:n.top/a,right:n.right/o,bottom:n.bottom/a,left:n.left/o,x:n.left/o,y:n.top/a}}},2883:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>y}),/^(114|262|591|61)$/.test(n.j))var r=n(4278);if(/^(114|262|591|61)$/.test(n.j))var i=n(5487);if(/^(114|262|591|61)$/.test(n.j))var o=n(8848);if(/^(114|262|591|61)$/.test(n.j))var a=n(3341);if(/^(114|262|591|61)$/.test(n.j))var s=n(5128);if(/^(114|262|591|61)$/.test(n.j))var l=n(9760);if(/^(114|262|591|61)$/.test(n.j))var u=n(271);if(/^(114|262|591|61)$/.test(n.j))var c=n(5581);if(/^(114|262|591|61)$/.test(n.j))var d=n(6354);if(/^(114|262|591|61)$/.test(n.j))var f=n(2083);if(/^(114|262|591|61)$/.test(n.j))var p=n(5446);if(/^(114|262|591|61)$/.test(n.j))var h=n(7604);if(/^(114|262|591|61)$/.test(n.j))var m=n(4426);if(/^(114|262|591|61)$/.test(n.j))var v=n(6906);function g(e,t){return t===r.R9?(0,m.A)((0,i.A)(e)):(0,c.vq)(t)?function(e){var t=(0,d.A)(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):(0,m.A)((0,o.A)((0,l.A)(e)))}function y(e,t,n){var r="clippingParents"===t?function(e){var t=(0,a.A)((0,f.A)(e)),n=["absolute","fixed"].indexOf((0,u.A)(e).position)>=0&&(0,c.sb)(e)?(0,s.A)(e):e;return(0,c.vq)(n)?t.filter((function(e){return(0,c.vq)(e)&&(0,p.A)(e,n)&&"body"!==(0,h.A)(e)})):[]}(e):[].concat(t),i=[].concat(r,[n]),o=i[0],l=i.reduce((function(t,n){var r=g(e,n);return t.top=(0,v.T9)(r.top,t.top),t.right=(0,v.jk)(r.right,t.right),t.bottom=(0,v.jk)(r.bottom,t.bottom),t.left=(0,v.T9)(r.left,t.left),t}),g(e,o));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}},7310:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>d}),/^(114|262|591|61)$/.test(n.j))var r=n(6354);if(/^(114|262|591|61)$/.test(n.j))var i=n(3318);if(/^(114|262|591|61)$/.test(n.j))var o=n(7604);if(/^(114|262|591|61)$/.test(n.j))var a=n(5581);if(/^(114|262|591|61)$/.test(n.j))var s=n(793);if(/^(114|262|591|61)$/.test(n.j))var l=n(9760);if(/^(114|262|591|61)$/.test(n.j))var u=n(134);if(/^(114|262|591|61)$/.test(n.j))var c=n(6906);function d(e,t,n){void 0===n&&(n=!1);var d=(0,a.sb)(t),f=(0,a.sb)(t)&&function(e){var t=e.getBoundingClientRect(),n=(0,c.LI)(t.width)/e.offsetWidth||1,r=(0,c.LI)(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),p=(0,l.A)(t),h=(0,r.A)(e,f),m={scrollLeft:0,scrollTop:0},v={x:0,y:0};return(d||!d&&!n)&&(("body"!==(0,o.A)(t)||(0,u.A)(p))&&(m=(0,i.A)(t)),(0,a.sb)(t)?((v=(0,r.A)(t,!0)).x+=t.clientLeft,v.y+=t.clientTop):p&&(v.x=(0,s.A)(p))),{x:h.left+m.scrollLeft-v.x,y:h.top+m.scrollTop-v.y,width:h.width,height:h.height}}},271:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>i}),/^(114|262|591|61)$/.test(n.j))var r=n(8979);function i(e){return(0,r.A)(e).getComputedStyle(e)}},9760:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>i}),/^(114|262|591|61)$/.test(n.j))var r=n(5581);function i(e){return(((0,r.vq)(e)?e.ownerDocument:e.document)||window.document).documentElement}},8848:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>l}),/^(114|262|591|61)$/.test(n.j))var r=n(9760);if(/^(114|262|591|61)$/.test(n.j))var i=n(271);if(/^(114|262|591|61)$/.test(n.j))var o=n(793);if(/^(114|262|591|61)$/.test(n.j))var a=n(222);if(/^(114|262|591|61)$/.test(n.j))var s=n(6906);function l(e){var t,n=(0,r.A)(e),l=(0,a.A)(e),u=null==(t=e.ownerDocument)?void 0:t.body,c=(0,s.T9)(n.scrollWidth,n.clientWidth,u?u.scrollWidth:0,u?u.clientWidth:0),d=(0,s.T9)(n.scrollHeight,n.clientHeight,u?u.scrollHeight:0,u?u.clientHeight:0),f=-l.scrollLeft+(0,o.A)(e),p=-l.scrollTop;return"rtl"===(0,i.A)(u||n).direction&&(f+=(0,s.T9)(n.clientWidth,u?u.clientWidth:0)-c),{width:c,height:d,x:f,y:p}}},6233:(e,t,n)=>{"use strict";function r(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}n.d(t,{A:()=>r})},6979:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>i}),/^(114|262|591|61)$/.test(n.j))var r=n(6354);function i(e){var t=(0,r.A)(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}},7604:(e,t,n)=>{"use strict";function r(e){return e?(e.nodeName||"").toLowerCase():null}n.d(t,{A:()=>r})},3318:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>s}),/^(114|262|591|61)$/.test(n.j))var r=n(222);if(/^(114|262|591|61)$/.test(n.j))var i=n(8979);if(/^(114|262|591|61)$/.test(n.j))var o=n(5581);if(/^(114|262|591|61)$/.test(n.j))var a=n(6233);function s(e){return e!==(0,i.A)(e)&&(0,o.sb)(e)?(0,a.A)(e):(0,r.A)(e)}},5128:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>c}),/^(114|262|591|61)$/.test(n.j))var r=n(8979);if(/^(114|262|591|61)$/.test(n.j))var i=n(7604);if(/^(114|262|591|61)$/.test(n.j))var o=n(271);if(/^(114|262|591|61)$/.test(n.j))var a=n(5581);if(/^(114|262|591|61)$/.test(n.j))var s=n(2063);if(/^(114|262|591|61)$/.test(n.j))var l=n(2083);function u(e){return(0,a.sb)(e)&&"fixed"!==(0,o.A)(e).position?e.offsetParent:null}function c(e){for(var t=(0,r.A)(e),n=u(e);n&&(0,s.A)(n)&&"static"===(0,o.A)(n).position;)n=u(n);return n&&("html"===(0,i.A)(n)||"body"===(0,i.A)(n)&&"static"===(0,o.A)(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&(0,a.sb)(e)&&"fixed"===(0,o.A)(e).position)return null;for(var n=(0,l.A)(e);(0,a.sb)(n)&&["html","body"].indexOf((0,i.A)(n))<0;){var r=(0,o.A)(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}},2083:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>a}),/^(114|262|591|61)$/.test(n.j))var r=n(7604);if(/^(114|262|591|61)$/.test(n.j))var i=n(9760);if(/^(114|262|591|61)$/.test(n.j))var o=n(5581);function a(e){return"html"===(0,r.A)(e)?e:e.assignedSlot||e.parentNode||((0,o.Ng)(e)?e.host:null)||(0,i.A)(e)}},9970:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>s}),/^(114|262|591|61)$/.test(n.j))var r=n(2083);if(/^(114|262|591|61)$/.test(n.j))var i=n(134);if(/^(114|262|591|61)$/.test(n.j))var o=n(7604);if(/^(114|262|591|61)$/.test(n.j))var a=n(5581);function s(e){return["html","body","#document"].indexOf((0,o.A)(e))>=0?e.ownerDocument.body:(0,a.sb)(e)&&(0,i.A)(e)?e:s((0,r.A)(e))}},5487:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>a}),/^(114|262|591|61)$/.test(n.j))var r=n(8979);if(/^(114|262|591|61)$/.test(n.j))var i=n(9760);if(/^(114|262|591|61)$/.test(n.j))var o=n(793);function a(e){var t=(0,r.A)(e),n=(0,i.A)(e),a=t.visualViewport,s=n.clientWidth,l=n.clientHeight,u=0,c=0;return a&&(s=a.width,l=a.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(u=a.offsetLeft,c=a.offsetTop)),{width:s,height:l,x:u+(0,o.A)(e),y:c}}},8979:(e,t,n)=>{"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}n.d(t,{A:()=>r})},222:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>i}),/^(114|262|591|61)$/.test(n.j))var r=n(8979);function i(e){var t=(0,r.A)(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}},793:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>a}),/^(114|262|591|61)$/.test(n.j))var r=n(6354);if(/^(114|262|591|61)$/.test(n.j))var i=n(9760);if(/^(114|262|591|61)$/.test(n.j))var o=n(222);function a(e){return(0,r.A)((0,i.A)(e)).left+(0,o.A)(e).scrollLeft}},5581:(e,t,n)=>{"use strict";if(n.d(t,{Ng:()=>a,sb:()=>o,vq:()=>i}),/^(114|262|591|61)$/.test(n.j))var r=n(8979);function i(e){return e instanceof(0,r.A)(e).Element||e instanceof Element}function o(e){return e instanceof(0,r.A)(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!=typeof ShadowRoot&&(e instanceof(0,r.A)(e).ShadowRoot||e instanceof ShadowRoot)}},134:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>i}),/^(114|262|591|61)$/.test(n.j))var r=n(271);function i(e){var t=(0,r.A)(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}},2063:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>i}),/^(114|262|591|61)$/.test(n.j))var r=n(7604);function i(e){return["table","td","th"].indexOf((0,r.A)(e))>=0}},3341:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>s}),/^(114|262|591|61)$/.test(n.j))var r=n(9970);if(/^(114|262|591|61)$/.test(n.j))var i=n(2083);if(/^(114|262|591|61)$/.test(n.j))var o=n(8979);if(/^(114|262|591|61)$/.test(n.j))var a=n(134);function s(e,t){var n;void 0===t&&(t=[]);var l=(0,r.A)(e),u=l===(null==(n=e.ownerDocument)?void 0:n.body),c=(0,o.A)(l),d=u?[c].concat(c.visualViewport||[],(0,a.A)(l)?l:[]):l,f=t.concat(d);return u?f:f.concat(s((0,i.A)(d)))}},4278:(e,t,n)=>{"use strict";n.d(t,{DD:()=>v,GM:()=>g,Mn:()=>r,OM:()=>l,Ol:()=>m,R9:()=>f,WY:()=>d,_N:()=>c,ir:()=>h,kb:()=>a,ni:()=>u,pG:()=>o,qZ:()=>s,sQ:()=>i,xf:()=>p});var r="top",i="bottom",o="right",a="left",s="auto",l=[r,i,o,a],u="start",c="end",d="clippingParents",f="viewport",p="popper",h="reference",m=/^(114|262|591|61)$/.test(n.j)?l.reduce((function(e,t){return e.concat([t+"-"+u,t+"-"+c])}),[]):null,v=/^(114|262|591|61)$/.test(n.j)?[].concat(l,[s]).reduce((function(e,t){return e.concat([t,t+"-"+u,t+"-"+c])}),[]):null,g=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]},1815:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>s}),/^(114|262|591|61)$/.test(n.j))var r=n(2632);if(/^(114|262|591|61)$/.test(n.j))var i=n(8101);if(/^(114|262|591|61)$/.test(n.j))var o=n(9703);if(/^(114|262|591|61)$/.test(n.j))var a=n(4278);function s(e){var t,n=e.reference,s=e.element,l=e.placement,u=l?(0,r.A)(l):null,c=l?(0,i.A)(l):null,d=n.x+n.width/2-s.width/2,f=n.y+n.height/2-s.height/2;switch(u){case a.Mn:t={x:d,y:n.y-s.height};break;case a.sQ:t={x:d,y:n.y+n.height};break;case a.pG:t={x:n.x+n.width,y:f};break;case a.kb:t={x:n.x-s.width,y:f};break;default:t={x:n.x,y:n.y}}var p=u?(0,o.A)(u):null;if(null!=p){var h="y"===p?"height":"width";switch(c){case a.ni:t[p]=t[p]-(n[h]/2-s[h]/2);break;case a._N:t[p]=t[p]+(n[h]/2-s[h]/2)}}return t}},571:(e,t,n)=>{"use strict";function r(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}n.d(t,{A:()=>r})},9913:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>f}),/^(114|262|591|61)$/.test(n.j))var r=n(2883);if(/^(114|262|591|61)$/.test(n.j))var i=n(9760);if(/^(114|262|591|61)$/.test(n.j))var o=n(6354);if(/^(114|262|591|61)$/.test(n.j))var a=n(1815);if(/^(114|262|591|61)$/.test(n.j))var s=n(4426);if(/^(114|262|591|61)$/.test(n.j))var l=n(4278);if(/^(114|262|591|61)$/.test(n.j))var u=n(5581);if(/^(114|262|591|61)$/.test(n.j))var c=n(4318);if(/^(114|262|591|61)$/.test(n.j))var d=n(1007);function f(e,t){void 0===t&&(t={});var n=t,f=n.placement,p=void 0===f?e.placement:f,h=n.boundary,m=void 0===h?l.WY:h,v=n.rootBoundary,g=void 0===v?l.R9:v,y=n.elementContext,b=void 0===y?l.xf:y,w=n.altBoundary,E=void 0!==w&&w,k=n.padding,x=void 0===k?0:k,T=(0,c.A)("number"!=typeof x?x:(0,d.A)(x,l.OM)),O=b===l.xf?l.ir:l.xf,S=e.rects.popper,C=e.elements[E?O:b],A=(0,r.A)((0,u.vq)(C)?C:C.contextElement||(0,i.A)(e.elements.popper),m,g),N=(0,o.A)(e.elements.reference),I=(0,a.A)({reference:N,element:S,strategy:"absolute",placement:p}),M=(0,s.A)(Object.assign({},S,I)),F=b===l.xf?M:N,P={top:A.top-F.top+T.top,bottom:F.bottom-A.bottom+T.bottom,left:A.left-F.left+T.left,right:F.right-A.right+T.right},D=e.modifiersData.offset;if(b===l.xf&&D){var L=D[p];Object.keys(P).forEach((function(e){var t=[l.pG,l.sQ].indexOf(e)>=0?1:-1,n=[l.Mn,l.sQ].indexOf(e)>=0?"y":"x";P[e]+=L[n]*t}))}return P}},1007:(e,t,n)=>{"use strict";function r(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}n.d(t,{A:()=>r})},2632:(e,t,n)=>{"use strict";function r(e){return e.split("-")[0]}n.d(t,{A:()=>r})},7364:(e,t,n)=>{"use strict";function r(){return{top:0,right:0,bottom:0,left:0}}n.d(t,{A:()=>r})},9703:(e,t,n)=>{"use strict";function r(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}n.d(t,{A:()=>r})},8101:(e,t,n)=>{"use strict";function r(e){return e.split("-")[1]}n.d(t,{A:()=>r})},6906:(e,t,n)=>{"use strict";n.d(t,{LI:()=>o,T9:()=>r,jk:()=>i});var r=Math.max,i=Math.min,o=Math.round},844:(e,t,n)=>{"use strict";function r(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}n.d(t,{A:()=>r})},4318:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>i}),/^(114|262|591|61)$/.test(n.j))var r=n(7364);function i(e){return Object.assign({},(0,r.A)(),e)}},1206:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>o}),/^(114|262|591|61)$/.test(n.j))var r=n(4278);function i(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),r}function o(e){var t=i(e);return r.GM.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}},4426:(e,t,n)=>{"use strict";function r(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}n.d(t,{A:()=>r})},1504:(e,t,n)=>{"use strict";if(n.d(t,{Ay:()=>b}),/^(262|61)$/.test(n.j))var r=n(7381);var i=n(2427),o=n.n(i),a=n(6931);function s(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var l="undefined"!=typeof window&&"undefined"!=typeof document;function u(e,t){e&&("function"==typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function c(){return l&&document.createElement("div")}function d(e,t){if(e===t)return!0;if("object"==typeof e&&null!=e&&"object"==typeof t&&null!=t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e){if(!t.hasOwnProperty(n))return!1;if(!d(e[n],t[n]))return!1}return!0}return!1}function f(e){var t=[];return e.forEach((function(e){t.find((function(t){return d(e,t)}))||t.push(e)})),t}var p=/^(262|61)$/.test(n.j)?l?i.useLayoutEffect:i.useEffect:null;function h(e,t,n){n.split(/\s+/).forEach((function(n){n&&e.classList[t](n)}))}var m={name:"className",defaultValue:"",fn:function(e){var t=e.popper.firstElementChild,n=function(){var t;return!!(null==(t=e.props.render)?void 0:t.$$tippy)};function r(){e.props.className&&!n()||h(t,"add",e.props.className)}return{onCreate:r,onBeforeUpdate:function(){n()&&h(t,"remove",e.props.className)},onAfterUpdate:r}}};function v(e){return function(t){var n,r,l=t.children,d=t.content,h=t.visible,v=t.singleton,g=t.render,y=t.reference,b=t.disabled,w=void 0!==b&&b,E=t.ignoreAttributes,k=void 0===E||E,x=(t.__source,t.__self,s(t,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),T=void 0!==h,O=void 0!==v,S=(0,i.useState)(!1),C=S[0],A=S[1],N=(0,i.useState)({}),I=N[0],M=N[1],F=(0,i.useState)(),P=F[0],D=F[1],L=(n=function(){return{container:c(),renders:1}},(r=(0,i.useRef)()).current||(r.current="function"==typeof n?n():n),r.current),_=Object.assign({ignoreAttributes:k},x,{content:L.container});T&&(_.trigger="manual",_.hideOnClick=!1),O&&(w=!0);var j=_,$=_.plugins||[];g&&(j=Object.assign({},_,{plugins:O&&null!=v.data?[].concat($,[{fn:function(){return{onTrigger:function(e,t){var n=v.data.children.find((function(e){return e.instance.reference===t.currentTarget}));e.state.$$activeSingletonInstance=n.instance,D(n.content)}}}}]):$,render:function(){return{popper:L.container}}}));var R=[y].concat(l?[l.type]:[]);return p((function(){var t=y;y&&y.hasOwnProperty("current")&&(t=y.current);var n=e(t||L.ref||c(),Object.assign({},j,{plugins:[m].concat(_.plugins||[])}));return L.instance=n,w&&n.disable(),h&&n.show(),O&&v.hook({instance:n,content:d,props:j,setSingletonContent:D}),A(!0),function(){n.destroy(),null==v||v.cleanup(n)}}),R),p((function(){var e,t,n,r,i;if(1!==L.renders){var o=L.instance;o.setProps((t=o.props,n=j,Object.assign({},n,{popperOptions:Object.assign({},t.popperOptions,n.popperOptions,{modifiers:f([].concat((null==(r=t.popperOptions)?void 0:r.modifiers)||[],(null==(i=n.popperOptions)?void 0:i.modifiers)||[]))})}))),null==(e=o.popperInstance)||e.forceUpdate(),w?o.disable():o.enable(),T&&(h?o.show():o.hide()),O&&v.hook({instance:o,content:d,props:j,setSingletonContent:D})}else L.renders++})),p((function(){var e;if(g){var t=L.instance;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat(((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[]).filter((function(e){return"$$tippyReact"!==e.name})),[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,n=e.state,r=null==(t=n.modifiersData)?void 0:t.hide;I.placement===n.placement&&I.referenceHidden===(null==r?void 0:r.isReferenceHidden)&&I.escaped===(null==r?void 0:r.hasPopperEscaped)||M({placement:n.placement,referenceHidden:null==r?void 0:r.isReferenceHidden,escaped:null==r?void 0:r.hasPopperEscaped}),n.attributes.popper={}}}])})})}}),[I.placement,I.referenceHidden,I.escaped].concat(R)),o().createElement(o().Fragment,null,l?(0,i.cloneElement)(l,{ref:function(e){L.ref=e,u(l.ref,e)}}):null,C&&(0,a.createPortal)(g?g(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(I),P,L.instance):d,L.container))}}var g,y=/^(262|61)$/.test(n.j)?(g=v(r.Ay),(0,i.forwardRef)((function(e,t){var n=e.children,r=s(e,["children"]);return o().createElement(g,Object.assign({},undefined,r),n?(0,i.cloneElement)(n,{ref:function(e){u(t,e),u(n.ref,e)}}):null)}))):null;const b=/^(262|61)$/.test(n.j)?y:null},5533:e=>{e.exports=function(){for(var e=arguments.length,t=[],n=0;n<e;n++)t[n]=arguments[n];if(0!==(t=t.filter((function(e){return null!=e}))).length)return 1===t.length?t[0]:t.reduce((function(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}))}},2963:(e,t,n)=>{"use strict";var r=n(4994);t.__esModule=!0,t.default=function(e,t){e.classList?e.classList.add(t):(0,i.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))};var i=r(n(598));e.exports=t.default},598:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")},e.exports=t.default},788:e=>{"use strict";function t(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,n){e.classList?e.classList.remove(n):"string"==typeof e.className?e.className=t(e.className,n):e.setAttribute("class",t(e.className&&e.className.baseVal||"",n))}},4002:(e,t,n)=>{"use strict";var r=n(4994);t.__esModule=!0,t.default=t.animationEnd=t.animationDelay=t.animationTiming=t.animationDuration=t.animationName=t.transitionEnd=t.transitionDuration=t.transitionDelay=t.transitionTiming=t.transitionProperty=t.transform=void 0;var i,o,a,s,l,u,c,d,f,p,h,m=r(n(1833)),v="transform";if(t.transform=v,t.animationEnd=a,t.transitionEnd=o,t.transitionDelay=c,t.transitionTiming=u,t.transitionDuration=l,t.transitionProperty=s,t.animationDelay=h,t.animationTiming=p,t.animationDuration=f,t.animationName=d,m.default){var g=function(){for(var e,t,n=document.createElement("div").style,r={O:function(e){return"o"+e.toLowerCase()},Moz:function(e){return e.toLowerCase()},Webkit:function(e){return"webkit"+e},ms:function(e){return"MS"+e}},i=Object.keys(r),o="",a=0;a<i.length;a++){var s=i[a];if(s+"TransitionProperty"in n){o="-"+s.toLowerCase(),e=r[s]("TransitionEnd"),t=r[s]("AnimationEnd");break}}return!e&&"transitionProperty"in n&&(e="transitionend"),!t&&"animationName"in n&&(t="animationend"),n=null,{animationEnd:t,transitionEnd:e,prefix:o}}();i=g.prefix,t.transitionEnd=o=g.transitionEnd,t.animationEnd=a=g.animationEnd,t.transform=v=i+"-"+v,t.transitionProperty=s=i+"-transition-property",t.transitionDuration=l=i+"-transition-duration",t.transitionDelay=c=i+"-transition-delay",t.transitionTiming=u=i+"-transition-timing-function",t.animationName=d=i+"-animation-name",t.animationDuration=f=i+"-animation-duration",t.animationTiming=p=i+"-animation-delay",t.animationDelay=h=i+"-animation-timing-function"}var y={transform:v,end:o,property:s,timing:u,delay:c,duration:l};t.default=y},1833:(e,t)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=!("undefined"==typeof window||!window.document||!window.document.createElement);t.default=n,e.exports=t.default},4602:(e,t,n)=>{"use strict";var r=n(4994);t.__esModule=!0,t.default=void 0;var i,o=r(n(1833)),a="clearTimeout",s=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-u)),r=setTimeout(e,n);return u=t,r},l=function(e,t){return e+(e?t[0].toUpperCase()+t.substr(1):t)+"AnimationFrame"};o.default&&["","webkit","moz","o","ms"].some((function(e){var t=l(e,"request");if(t in window)return a=l(e,"cancel"),s=function(e){return window[t](e)}}));var u=(new Date).getTime();(i=function(e){return s(e)}).cancel=function(e){window[a]&&"function"==typeof window[a]&&window[a](e)};var c=i;t.default=c,e.exports=t.default},4954:(e,t,n)=>{"use strict";n.d(t,{Bp:()=>we});var r=n(8587),i=n(8168),o=n(5556),a=n.n(o),s=n(2427);n(4363);let l=e=>"object"==typeof e&&null!=e&&1===e.nodeType,u=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,c=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n=getComputedStyle(e,null);return u(n.overflowY,t)||u(n.overflowX,t)||(e=>{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},d=(e,t,n,r,i,o,a,s)=>o<e&&a>t||o>e&&a<t?0:o<=e&&s<=n||a>=t&&s>=n?o-e-r:a>t&&s<n||o<e&&s>n?a-t+i:0,f=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t};var p=function(){return p=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},p.apply(this,arguments)};Object.create,Object.create;var h=0;function m(){}function v(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function g(e,t){var n;function r(){n&&clearTimeout(n)}function i(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];r(),n=setTimeout((function(){n=null,e.apply(void 0,o)}),t)}return i.cancel=r,i}function y(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.some((function(t){return t&&t.apply(void 0,[e].concat(r)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault}))}}function b(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((function(t){"function"==typeof t?t(e):t&&(t.current=e)}))}}function w(e,t){return Object.keys(e).reduce((function(n,r){return n[r]=E(t,r)?t[r]:e[r],n}),{})}function E(e,t){return void 0!==e[t]}function k(e,t,n,r,i){if(void 0===i&&(i=!0),0===n)return-1;var o=n-1;("number"!=typeof t||t<0||t>=n)&&(t=e>0?-1:o+1);var a=t+e;a<0?a=i?o:0:a>o&&(a=i?0:o);var s=x(e,a,n,r,i);return-1===s?t>=n?-1:t:s}function x(e,t,n,r,i){var o=r(t);if(!o||!o.hasAttribute("disabled"))return t;if(e>0){for(var a=t+1;a<n;a++)if(!r(a).hasAttribute("disabled"))return a}else for(var s=t-1;s>=0;s--)if(!r(s).hasAttribute("disabled"))return s;return i?e>0?x(1,0,n,r,!1):x(-1,n-1,n,r,!1):-1}function T(e,t,n,r){return void 0===r&&(r=!0),t.some((function(t){return t&&(v(t,e,n)||r&&v(t,n.document.activeElement,n))}))}var O=g((function(e){S(e).textContent=""}),500);function S(e){void 0===e&&(e=document);var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}var C=["isInitialMount","highlightedIndex","items","environment"],A={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};var N=g((function(e,t){var n,r,i;n=e(),i=S(r=t),n&&(i.textContent=n,O(r))}),200),I="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?s.useLayoutEffect:s.useEffect;function M(e){var t=e.id,n=void 0===t?"downshift-"+String(h++):t,r=e.labelId,i=e.menuId,o=e.getItemId,a=e.toggleButtonId,l=e.inputId;return(0,s.useRef)({labelId:r||n+"-label",menuId:i||n+"-menu",getItemId:o||function(e){return n+"-item-"+e},toggleButtonId:a||n+"-toggle-button",inputId:l||n+"-input"}).current}function F(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function P(e){var t=(0,s.useRef)(e);return t.current=e,t}function D(e,t,n){var r=(0,s.useRef)(),o=(0,s.useRef)(),a=(0,s.useCallback)((function(t,n){o.current=n,t=w(t,n.props);var r=e(t,n);return n.props.stateReducer(t,(0,i.A)({},n,{changes:r}))}),[e]),l=(0,s.useReducer)(a,t),u=l[0],c=l[1],d=P(n),f=(0,s.useCallback)((function(e){return c((0,i.A)({props:d.current},e))}),[d]),p=o.current;return(0,s.useEffect)((function(){p&&r.current&&r.current!==u&&function(e,t,n){var r=e.props,o=e.type,a={};Object.keys(t).forEach((function(r){!function(e,t,n,r){var o=t.props,a=t.type,s="on"+F(e)+"Change";o[s]&&void 0!==r[e]&&r[e]!==n[e]&&o[s]((0,i.A)({type:a},r))}(r,e,t,n),n[r]!==t[r]&&(a[r]=n[r])})),r.onStateChange&&Object.keys(a).length&&r.onStateChange((0,i.A)({type:o},a))}(p,w(r.current,p.props),u),r.current=u}),[u,n,p]),[u,f]}var L={itemToString:function(e){return e?String(e):""},stateReducer:function(e,t){return t.changes},getA11ySelectionMessage:function(e){var t=e.selectedItem,n=e.itemToString;return t?n(t)+" has been selected.":""},scrollIntoView:function(e,t){if(e){var n=((e,t)=>{var n,r,i,o,a,s;if("undefined"==typeof document)return[];let{scrollMode:u,block:p,inline:h,boundary:m,skipOverflowHiddenElements:v}=t,g="function"==typeof m?m:e=>e!==m;if(!l(e))throw new TypeError("Invalid target");let y=document.scrollingElement||document.documentElement,b=[],w=e;for(;l(w)&&g(w);){if(w=f(w),w===y){b.push(w);break}null!=w&&w===document.body&&c(w)&&!c(document.documentElement)||null!=w&&c(w,v)&&b.push(w)}let E=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,k=null!=(o=null==(i=window.visualViewport)?void 0:i.height)?o:innerHeight,x=null!=(a=window.scrollX)?a:pageXOffset,T=null!=(s=window.scrollY)?s:pageYOffset,{height:O,width:S,top:C,right:A,bottom:N,left:I}=e.getBoundingClientRect(),M="start"===p||"nearest"===p?C:"end"===p?N:C+O/2,F="center"===h?I+S/2:"end"===h?A:I,P=[];for(let e=0;e<b.length;e++){let t=b[e],{height:n,width:r,top:i,right:o,bottom:a,left:s}=t.getBoundingClientRect();if("if-needed"===u&&C>=0&&I>=0&&N<=k&&A<=E&&C>=i&&N<=a&&I>=s&&A<=o)return P;let l=getComputedStyle(t),c=parseInt(l.borderLeftWidth,10),f=parseInt(l.borderTopWidth,10),m=parseInt(l.borderRightWidth,10),v=parseInt(l.borderBottomWidth,10),g=0,w=0,D="offsetWidth"in t?t.offsetWidth-t.clientWidth-c-m:0,L="offsetHeight"in t?t.offsetHeight-t.clientHeight-f-v:0,_="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,j="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(y===t)g="start"===p?M:"end"===p?M-k:"nearest"===p?d(T,T+k,k,f,v,T+M,T+M+O,O):M-k/2,w="start"===h?F:"center"===h?F-E/2:"end"===h?F-E:d(x,x+E,E,c,m,x+F,x+F+S,S),g=Math.max(0,g+T),w=Math.max(0,w+x);else{g="start"===p?M-i-f:"end"===p?M-a+v+L:"nearest"===p?d(i,a,n,f,v+L,M,M+O,O):M-(i+n/2)+L/2,w="start"===h?F-s-c:"center"===h?F-(s+r/2)+D/2:"end"===h?F-o+m+D:d(s,o,r,c,m+D,F,F+S,S);let{scrollLeft:e,scrollTop:l}=t;g=Math.max(0,Math.min(l+g/j,t.scrollHeight-n/j+L)),w=Math.max(0,Math.min(e+w/_,t.scrollWidth-r/_+D)),M+=l-g,F+=e-w}P.push({el:t,top:g,left:w})}return P})(e,{boundary:t,block:"nearest",scrollMode:"if-needed"});n.forEach((function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r}))}},environment:"undefined"==typeof window?{}:window};function _(e,t,n){void 0===n&&(n=A);var r=e["default"+F(t)];return void 0!==r?r:n[t]}function j(e,t,n){void 0===n&&(n=A);var r=e[t];if(void 0!==r)return r;var i=e["initial"+F(t)];return void 0!==i?i:_(e,t,n)}function $(e,t,n){var r=e.items,i=e.initialHighlightedIndex,o=e.defaultHighlightedIndex,a=t.selectedItem,s=t.highlightedIndex;return 0===r.length?-1:void 0!==i&&s===i?i:void 0!==o?o:a?r.indexOf(a):0===n?-1:n<0?r.length-1:0}var R=function(){return m};function B(e,t,n){var o=n.isInitialMount,a=n.highlightedIndex,l=n.items,u=n.environment,c=(0,r.A)(n,C);(0,s.useEffect)((function(){o||N((function(){return e((0,i.A)({highlightedIndex:a,highlightedItem:l[a],resultCount:l.length},c))}),u.document)}),t)}var V=m;function z(e,t,n){var r;void 0===n&&(n=!0);var o=(null==(r=e.items)?void 0:r.length)&&t>=0;return(0,i.A)({isOpen:!1,highlightedIndex:-1},o&&(0,i.A)({selectedItem:e.items[t],isOpen:_(e,"isOpen"),highlightedIndex:_(e,"highlightedIndex")},n&&{inputValue:e.itemToString(e.items[t])}))}a().array.isRequired,a().func,a().func,a().func,a().number,a().number,a().number,a().bool,a().bool,a().bool,a().any,a().any,a().any,a().string,a().string,a().string,a().func,a().string,a().func,a().func,a().func,a().func,a().func,a().shape({addEventListener:a().func,removeEventListener:a().func,document:a().shape({getElementById:a().func,activeElement:a().any,body:a().any})}),p(p({},L),{getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?"".concat(n," result").concat(1===n?" is":"s are"," available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select."):"":"No results are available.":""}});var U=0,K=1,H=2,W=3,q=4,Q=5,G=6,Y=7,X=8,Z=9,J=10,ee=11,te=12,ne=13,re=14,ie=15,oe=16,ae=17,se=18,le=19,ue=20,ce=21,de=22,fe=Object.freeze({__proto__:null,InputKeyDownArrowDown:U,InputKeyDownArrowUp:K,InputKeyDownEscape:H,InputKeyDownHome:W,InputKeyDownEnd:q,InputKeyDownPageUp:Q,InputKeyDownPageDown:G,InputKeyDownEnter:Y,InputChange:X,InputBlur:Z,InputFocus:J,MenuMouseLeave:ee,ItemMouseMove:te,ItemClick:ne,ToggleButtonClick:re,FunctionToggleMenu:ie,FunctionOpenMenu:oe,FunctionCloseMenu:ae,FunctionSetHighlightedIndex:se,FunctionSelectItem:le,FunctionSetInputValue:ue,FunctionReset:ce,ControlledPropUpdatedSelectedItem:de});a().array.isRequired,a().func,a().func,a().func,a().func,a().number,a().number,a().number,a().bool,a().bool,a().bool,a().any,a().any,a().any,a().string,a().string,a().string,a().string,a().string,a().string,a().func,a().string,a().string,a().func,a().func,a().func,a().func,a().func,a().func,a().shape({addEventListener:a().func,removeEventListener:a().func,document:a().shape({getElementById:a().func,activeElement:a().any,body:a().any})});var pe=m,he=(0,i.A)({},L,{selectedItemChanged:function(e,t){return e!==t},getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?n+" result"+(1===n?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":""}});function me(e,t){var n,r,o=t.type,a=t.props,s=t.altKey;switch(o){case ne:r={isOpen:_(a,"isOpen"),highlightedIndex:_(a,"highlightedIndex"),selectedItem:a.items[t.index],inputValue:a.itemToString(a.items[t.index])};break;case U:r=e.isOpen?{highlightedIndex:k(1,e.highlightedIndex,a.items.length,t.getItemNodeFromIndex,!0)}:{highlightedIndex:s&&null==e.selectedItem?-1:$(a,e,1,t.getItemNodeFromIndex),isOpen:a.items.length>=0};break;case K:r=e.isOpen?s?z(a,e.highlightedIndex):{highlightedIndex:k(-1,e.highlightedIndex,a.items.length,t.getItemNodeFromIndex,!0)}:{highlightedIndex:$(a,e,-1,t.getItemNodeFromIndex),isOpen:a.items.length>=0};break;case Y:r=z(a,e.highlightedIndex);break;case H:r=(0,i.A)({isOpen:!1,highlightedIndex:-1},!e.isOpen&&{selectedItem:null,inputValue:""});break;case Q:r={highlightedIndex:k(-10,e.highlightedIndex,a.items.length,t.getItemNodeFromIndex,!1)};break;case G:r={highlightedIndex:k(10,e.highlightedIndex,a.items.length,t.getItemNodeFromIndex,!1)};break;case W:r={highlightedIndex:x(1,0,a.items.length,t.getItemNodeFromIndex,!1)};break;case q:r={highlightedIndex:x(-1,a.items.length-1,a.items.length,t.getItemNodeFromIndex,!1)};break;case Z:r=(0,i.A)({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&(null==(n=a.items)?void 0:n.length)&&t.selectItem&&{selectedItem:a.items[e.highlightedIndex],inputValue:a.itemToString(a.items[e.highlightedIndex])});break;case X:r={isOpen:!0,highlightedIndex:_(a,"highlightedIndex"),inputValue:t.inputValue};break;case J:r={isOpen:!0,highlightedIndex:$(a,e,0)};break;case le:r={selectedItem:t.selectedItem,inputValue:a.itemToString(t.selectedItem)};break;case de:r={inputValue:t.inputValue};break;default:return function(e,t,n){var r,o=t.type,a=t.props;switch(o){case n.ItemMouseMove:r={highlightedIndex:t.disabled?-1:t.index};break;case n.MenuMouseLeave:r={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:$(a,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:$(a,e,0)};break;case n.FunctionCloseMenu:r={isOpen:!1};break;case n.FunctionSetHighlightedIndex:r={highlightedIndex:t.highlightedIndex};break;case n.FunctionSetInputValue:r={inputValue:t.inputValue};break;case n.FunctionReset:r={highlightedIndex:_(a,"highlightedIndex"),isOpen:_(a,"isOpen"),selectedItem:_(a,"selectedItem"),inputValue:_(a,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return(0,i.A)({},e,r)}(e,t,fe)}return(0,i.A)({},e,r)}var ve=["onMouseLeave","refKey","ref"],ge=["item","index","refKey","ref","onMouseMove","onMouseDown","onClick","onPress","disabled"],ye=["onClick","onPress","refKey","ref"],be=["onKeyDown","onChange","onInput","onFocus","onBlur","onChangeText","refKey","ref"];function we(e){void 0===e&&(e={}),pe(e,we);var t=(0,i.A)({},he,e),n=t.initialIsOpen,o=t.defaultIsOpen,a=t.items,l=t.scrollIntoView,u=t.environment,c=t.getA11yStatusMessage,d=t.getA11ySelectionMessage,f=t.itemToString,p=function(e){var t=function(e){var t=j(e,"selectedItem"),n=j(e,"isOpen"),r=j(e,"highlightedIndex"),i=j(e,"inputValue");return{highlightedIndex:r<0&&t&&n?e.items.indexOf(t):r,isOpen:n,selectedItem:t,inputValue:i}}(e),n=t.selectedItem,r=t.inputValue;return""===r&&n&&void 0===e.defaultInputValue&&void 0===e.initialInputValue&&void 0===e.inputValue&&(r=e.itemToString(n)),(0,i.A)({},t,{inputValue:r})}(t),h=function(e,t,n){var r=(0,s.useRef)(),i=D(e,t,n),o=i[0],a=i[1];return(0,s.useEffect)((function(){E(n,"selectedItem")&&(n.selectedItemChanged(r.current,n.selectedItem)&&a({type:de,inputValue:n.itemToString(n.selectedItem)}),r.current=o.selectedItem===r.current?n.selectedItem:o.selectedItem)}),[o.selectedItem,n.selectedItem]),[w(o,n),a]}(me,p,t),m=h[0],v=h[1],g=m.isOpen,k=m.highlightedIndex,x=m.selectedItem,O=m.inputValue,S=(0,s.useRef)(null),C=(0,s.useRef)({}),A=(0,s.useRef)(null),N=(0,s.useRef)(null),F=(0,s.useRef)(!0),L=M(t),_=(0,s.useRef)(),$=P({state:m,props:t}),z=(0,s.useCallback)((function(e){return C.current[L.getItemId(e)]}),[L]);B(c,[g,k,O,a],(0,i.A)({isInitialMount:F.current,previousResultCount:_.current,items:a,environment:u,itemToString:f},m)),B(d,[x],(0,i.A)({isInitialMount:F.current,previousResultCount:_.current,items:a,environment:u,itemToString:f},m));var fe=function(e){var t=e.highlightedIndex,n=e.isOpen,r=e.itemRefs,i=e.getItemNodeFromIndex,o=e.menuElement,a=e.scrollIntoView,l=(0,s.useRef)(!0);return I((function(){t<0||!n||!Object.keys(r.current).length||(!1===l.current?l.current=!0:a(i(t),o))}),[t]),l}({menuElement:S.current,highlightedIndex:k,isOpen:g,itemRefs:C,scrollIntoView:l,getItemNodeFromIndex:z});V({isInitialMount:F.current,props:t,state:m}),(0,s.useEffect)((function(){(n||o||g)&&A.current&&A.current.focus()}),[]),(0,s.useEffect)((function(){F.current||(_.current=a.length)}));var Ee=function(e,t,n,r){var i=(0,s.useRef)({isMouseDown:!1,isTouchMove:!1});return(0,s.useEffect)((function(){if(null!=(null==n?void 0:n.addEventListener)){var o=function(){i.current.isMouseDown=!0},a=function(o){i.current.isMouseDown=!1,e&&!T(o.target,t.map((function(e){return e.current})),n)&&r()},s=function(){i.current.isTouchMove=!1},l=function(){i.current.isTouchMove=!0},u=function(o){!e||i.current.isTouchMove||T(o.target,t.map((function(e){return e.current})),n,!1)||r()};return n.addEventListener("mousedown",o),n.addEventListener("mouseup",a),n.addEventListener("touchstart",s),n.addEventListener("touchmove",l),n.addEventListener("touchend",u),function(){n.removeEventListener("mousedown",o),n.removeEventListener("mouseup",a),n.removeEventListener("touchstart",s),n.removeEventListener("touchmove",l),n.removeEventListener("touchend",u)}}}),[e,n]),i}(g,[A,S,N],u,(function(){v({type:Z,selectItem:!1})})),ke=R("getInputProps","getMenuProps");(0,s.useEffect)((function(){return F.current=!1,function(){F.current=!0}}),[]),(0,s.useEffect)((function(){var e;if(g){if((null==(e=u.document)?void 0:e.activeElement)!==A.current){var t;null==A||null==(t=A.current)||t.focus()}}else C.current={}}),[g,u]);var xe=(0,s.useMemo)((function(){return{ArrowDown:function(e){e.preventDefault(),v({type:U,altKey:e.altKey,getItemNodeFromIndex:z})},ArrowUp:function(e){e.preventDefault(),v({type:K,altKey:e.altKey,getItemNodeFromIndex:z})},Home:function(e){$.current.state.isOpen&&(e.preventDefault(),v({type:W,getItemNodeFromIndex:z}))},End:function(e){$.current.state.isOpen&&(e.preventDefault(),v({type:q,getItemNodeFromIndex:z}))},Escape:function(e){var t=$.current.state;(t.isOpen||t.inputValue||t.selectedItem||t.highlightedIndex>-1)&&(e.preventDefault(),v({type:H}))},Enter:function(e){$.current.state.isOpen&&229!==e.which&&(e.preventDefault(),v({type:Y,getItemNodeFromIndex:z}))},PageUp:function(e){$.current.state.isOpen&&(e.preventDefault(),v({type:Q,getItemNodeFromIndex:z}))},PageDown:function(e){$.current.state.isOpen&&(e.preventDefault(),v({type:G,getItemNodeFromIndex:z}))}}}),[v,$,z]),Te=(0,s.useCallback)((function(e){return(0,i.A)({id:L.labelId,htmlFor:L.inputId},e)}),[L]),Oe=(0,s.useCallback)((function(e,t){var n,o=void 0===e?{}:e,a=o.onMouseLeave,s=o.refKey,l=void 0===s?"ref":s,u=o.ref,c=(0,r.A)(o,ve),d=(void 0===t?{}:t).suppressRefError;return ke("getMenuProps",void 0!==d&&d,l,S),(0,i.A)(((n={})[l]=b(u,(function(e){S.current=e})),n.id=L.menuId,n.role="listbox",n["aria-labelledby"]=c&&c["aria-label"]?void 0:""+L.labelId,n.onMouseLeave=y(a,(function(){v({type:ee})})),n),c)}),[v,ke,L]),Se=(0,s.useCallback)((function(e){var t,n,o=void 0===e?{}:e,a=o.item,s=o.index,l=o.refKey,u=void 0===l?"ref":l,c=o.ref,d=o.onMouseMove,f=o.onMouseDown,p=o.onClick;o.onPress;var h=o.disabled,m=(0,r.A)(o,ge),g=$.current,w=g.props,E=g.state,k=function(e,t,n,r){var i,o;if(void 0===e){if(void 0===t)throw new Error(r);i=n[t],o=t}else o=void 0===t?n.indexOf(e):t,i=e;return[i,o]}(a,s,w.items,"Pass either item or index to getItemProps!")[1],x=p;return(0,i.A)(((t={})[u]=b(c,(function(e){e&&(C.current[L.getItemId(k)]=e)})),t.disabled=h,t.role="option",t["aria-selected"]=""+(k===E.highlightedIndex),t.id=L.getItemId(k),t),!h&&((n={}).onClick=y(x,(function(){v({type:ne,index:k})})),n),{onMouseMove:y(d,(function(){k!==E.highlightedIndex&&(fe.current=!1,v({type:te,index:k,disabled:h}))})),onMouseDown:y(f,(function(e){return e.preventDefault()}))},m)}),[v,$,fe,L]),Ce=(0,s.useCallback)((function(e){var t,n=void 0===e?{}:e,o=n.onClick;n.onPress;var a=n.refKey,s=void 0===a?"ref":a,l=n.ref,u=(0,r.A)(n,ye),c=$.current.state;return(0,i.A)(((t={})[s]=b(l,(function(e){N.current=e})),t["aria-controls"]=L.menuId,t["aria-expanded"]=c.isOpen,t.id=L.toggleButtonId,t.tabIndex=-1,t),!u.disabled&&(0,i.A)({},{onClick:y(o,(function(){v({type:re})}))}),u)}),[v,$,L]),Ae=(0,s.useCallback)((function(e,t){var n,o=void 0===e?{}:e,a=o.onKeyDown,s=o.onChange,l=o.onInput,c=o.onFocus,d=o.onBlur;o.onChangeText;var f=o.refKey,p=void 0===f?"ref":f,h=o.ref,m=(0,r.A)(o,be),g=(void 0===t?{}:t).suppressRefError;ke("getInputProps",void 0!==g&&g,p,A);var w,E=$.current.state,k={};return m.disabled||((w={}).onChange=y(s,l,(function(e){v({type:X,inputValue:e.target.value})})),w.onKeyDown=y(a,(function(e){var t=function(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}(e);t&&xe[t]&&xe[t](e)})),w.onBlur=y(d,(function(e){if(E.isOpen&&!Ee.current.isMouseDown){var t=null===e.relatedTarget&&u.document.activeElement!==u.document.body;v({type:Z,selectItem:!t})}})),w.onFocus=y(c,(function(){E.isOpen||v({type:J})})),k=w),(0,i.A)(((n={})[p]=b(h,(function(e){A.current=e})),n["aria-activedescendant"]=E.isOpen&&E.highlightedIndex>-1?L.getItemId(E.highlightedIndex):"",n["aria-autocomplete"]="list",n["aria-controls"]=L.menuId,n["aria-expanded"]=E.isOpen,n["aria-labelledby"]=m&&m["aria-label"]?void 0:""+L.labelId,n.autoComplete="off",n.id=L.inputId,n.role="combobox",n.value=E.inputValue,n),k,m)}),[ke,$,L,xe,v,Ee,u]),Ne=(0,s.useCallback)((function(){v({type:ie})}),[v]),Ie=(0,s.useCallback)((function(){v({type:ae})}),[v]),Me=(0,s.useCallback)((function(){v({type:oe})}),[v]),Fe=(0,s.useCallback)((function(e){v({type:se,highlightedIndex:e})}),[v]),Pe=(0,s.useCallback)((function(e){v({type:le,selectedItem:e})}),[v]);return{getItemProps:Se,getLabelProps:Te,getMenuProps:Oe,getInputProps:Ae,getToggleButtonProps:Ce,toggleMenu:Ne,openMenu:Me,closeMenu:Ie,setHighlightedIndex:Fe,setInputValue:(0,s.useCallback)((function(e){v({type:ue,inputValue:e})}),[v]),selectItem:Pe,reset:(0,s.useCallback)((function(){v({type:ce})}),[v]),highlightedIndex:k,isOpen:g,selectedItem:x,inputValue:O}}we.stateChangeTypes=fe,a().array,a().array,a().array,a().func,a().func,a().func,a().number,a().number,a().number,a().func,a().func,a().string,a().string,a().shape({addEventListener:a().func,removeEventListener:a().func,document:a().shape({getElementById:a().func,activeElement:a().any,body:a().any})})},1688:(e,t,n)=>{var r=n(4708);n(4160).FocusTrapReact=r,e.exports=r},2427:(e,t,n)=>{var r=n(6540);n(4160).React=r,e.exports=r},6931:(e,t,n)=>{var r=n(961);n(4160).ReactDOM=r,e.exports=r},862:(e,t,n)=>{var r=n(1663);n(4160).CSSTransitionGroup=r,e.exports=r},4160:(e,t,n)=>{"use strict";e.exports=function(){if("object"==typeof globalThis)return globalThis;var e;try{e=this||new Function("return this")()}catch(e){if("object"==typeof window)return window;if("object"==typeof self)return self;if(void 0!==n.g)return n.g}return e}()},4708:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}var l=n(2427),u=n(6931),c=n(5556),d=n(2697).createFocusTrap,f=n(9054).isFocusable,p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(h,e);var t,n,c,d,p=(c=h,d=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=s(c);if(d){var n=s(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return a(e)}(this,e)});function h(e){var t,n,r,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),i=function(e){var t,n=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof n){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];n=n.apply(void 0,i)}if(!0===n&&(n=void 0),!n){if(void 0===n||!1===n)return n;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a,s=n;if("string"==typeof n&&!(s=null===(a=this.getDocument())||void 0===a?void 0:a.querySelector(n)))throw new Error("`".concat(e,"` as selector refers to no known node"));return s},(r="getNodeForOption")in(n=a(t=p.call(this,e)))?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,t.handleDeactivate=t.handleDeactivate.bind(a(t)),t.handlePostDeactivate=t.handlePostDeactivate.bind(a(t)),t.handleClickOutsideDeactivates=t.handleClickOutsideDeactivates.bind(a(t)),t.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:t.handleDeactivate,onPostDeactivate:t.handlePostDeactivate,clickOutsideDeactivates:t.handleClickOutsideDeactivates},t.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var o=e.focusTrapOptions;for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&("returnFocusOnDeactivate"!==s&&"onDeactivate"!==s&&"onPostDeactivate"!==s&&"checkCanReturnFocus"!==s&&"clickOutsideDeactivates"!==s?t.internalOptions[s]=o[s]:t.originalOptions[s]=o[s]);return t.outsideClick=null,t.focusTrapElements=e.containerElements||[],t.updatePreviousElement(),t}return t=h,(n=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),n=!(!e.originalOptions.returnFocusOnDeactivate||null==t||!t.focus||e.outsideClick&&(!e.outsideClick.allowDeactivation||f(e.outsideClick.target,e.internalOptions.tabbableOptions))),r=e.internalOptions.preventScroll,i=void 0!==r&&r;n&&t.focus({preventScroll:i}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){if(!this.focusTrap){var e=this.focusTrapElements.map(u.findDOMNode);e.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(e,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,n=e.active&&!this.props.active,r=!e.paused&&this.props.paused,i=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),n)return void this.deactivateTrap();r&&this.focusTrap.pause(),i&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?l.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===l.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return l.cloneElement(t,{ref:function(n){var r=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=r||[n]}})}return null}}])&&i(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),h}(l.Component),h="undefined"==typeof Element?Function:Element;p.propTypes={active:c.bool,paused:c.bool,focusTrapOptions:c.shape({document:c.object,onActivate:c.func,onPostActivate:c.func,checkCanFocusTrap:c.func,onDeactivate:c.func,onPostDeactivate:c.func,checkCanReturnFocus:c.func,initialFocus:c.oneOfType([c.instanceOf(h),c.string,c.bool,c.func]),fallbackFocus:c.oneOfType([c.instanceOf(h),c.string,c.func]),escapeDeactivates:c.oneOfType([c.bool,c.func]),clickOutsideDeactivates:c.oneOfType([c.bool,c.func]),returnFocusOnDeactivate:c.bool,setReturnFocus:c.oneOfType([c.instanceOf(h),c.string,c.bool,c.func]),allowOutsideClick:c.oneOfType([c.bool,c.func]),preventScroll:c.bool,tabbableOptions:c.shape({displayCheck:c.oneOf(["full","non-zero-area","none"]),getShadowRoot:c.oneOfType([c.bool,c.func])})}),containerElements:c.arrayOf(c.instanceOf(h)),children:c.oneOfType([c.element,c.instanceOf(h)])},p.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:d},e.exports=p},2697:(e,t,n)=>{"use strict";if(n.r(t),n.d(t,{createFocusTrap:()=>p}),/^(125|61)$/.test(n.j))var r=n(9054);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s,l=(s=[],{activateTrap:function(e){if(s.length>0){var t=s[s.length-1];t!==e&&t.pause()}var n=s.indexOf(e);-1===n||s.splice(n,1),s.push(e)},deactivateTrap:function(e){var t=s.indexOf(e);-1!==t&&s.splice(t,1),s.length>0&&s[s.length-1].unpause()}}),u=function(e){return setTimeout(e,0)},c=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},d=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},f=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},p=function(e,t){var n,i=(null==t?void 0:t.document)||document,a=o({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),s={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},p=function(e,t,n){return e&&void 0!==e[t]?e[t]:a[n||t]},h=function(e){return s.containerGroups.findIndex((function(t){var n=t.container,r=t.tabbableNodes;return n.contains(e)||r.find((function(t){return t===e}))}))},m=function(e){var t=a[e];if("function"==typeof t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var s=t;if("string"==typeof t&&!(s=i.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return s},v=function(){var e=m("initialFocus");if(!1===e)return!1;if(void 0===e)if(h(i.activeElement)>=0)e=i.activeElement;else{var t=s.tabbableGroups[0];e=t&&t.firstTabbableNode||m("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},g=function(){if(s.containerGroups=s.containers.map((function(e){var t=(0,r.tabbable)(e,a.tabbableOptions),n=(0,r.focusable)(e,a.tabbableOptions);return{container:e,tabbableNodes:t,focusableNodes:n,firstTabbableNode:t.length>0?t[0]:null,lastTabbableNode:t.length>0?t[t.length-1]:null,nextTabbableNode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=n.findIndex((function(t){return t===e}));if(!(i<0))return t?n.slice(i+1).find((function(e){return(0,r.isTabbable)(e,a.tabbableOptions)})):n.slice(0,i).reverse().find((function(e){return(0,r.isTabbable)(e,a.tabbableOptions)}))}}})),s.tabbableGroups=s.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),s.tabbableGroups.length<=0&&!m("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},y=function e(t){!1!==t&&t!==i.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!a.preventScroll}),s.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(v()))},b=function(e){var t=m("setReturnFocus",e);return t||!1!==t&&e},w=function(e){var t=f(e);h(t)>=0||(d(a.clickOutsideDeactivates,e)?n.deactivate({returnFocus:a.returnFocusOnDeactivate&&!(0,r.isFocusable)(t,a.tabbableOptions)}):d(a.allowOutsideClick,e)||e.preventDefault())},E=function(e){var t=f(e),n=h(t)>=0;n||t instanceof Document?n&&(s.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),y(s.mostRecentlyFocusedNode||v()))},k=function(e){if(function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e)&&!1!==d(a.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){var t=f(e);g();var n=null;if(s.tabbableGroups.length>0){var i=h(t),o=i>=0?s.containerGroups[i]:void 0;if(i<0)n=e.shiftKey?s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:s.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var l=c(s.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(l<0&&(o.container===t||(0,r.isFocusable)(t,a.tabbableOptions)&&!(0,r.isTabbable)(t,a.tabbableOptions)&&!o.nextTabbableNode(t,!1))&&(l=i),l>=0){var u=0===l?s.tabbableGroups.length-1:l-1;n=s.tabbableGroups[u].lastTabbableNode}}else{var d=c(s.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(d<0&&(o.container===t||(0,r.isFocusable)(t,a.tabbableOptions)&&!(0,r.isTabbable)(t,a.tabbableOptions)&&!o.nextTabbableNode(t))&&(d=i),d>=0){var p=d===s.tabbableGroups.length-1?0:d+1;n=s.tabbableGroups[p].firstTabbableNode}}}else n=m("fallbackFocus");n&&(e.preventDefault(),y(n))}(e)},x=function(e){var t=f(e);h(t)>=0||d(a.clickOutsideDeactivates,e)||d(a.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},T=function(){if(s.active)return l.activateTrap(n),s.delayInitialFocusTimer=a.delayInitialFocus?u((function(){y(v())})):y(v()),i.addEventListener("focusin",E,!0),i.addEventListener("mousedown",w,{capture:!0,passive:!1}),i.addEventListener("touchstart",w,{capture:!0,passive:!1}),i.addEventListener("click",x,{capture:!0,passive:!1}),i.addEventListener("keydown",k,{capture:!0,passive:!1}),n},O=function(){if(s.active)return i.removeEventListener("focusin",E,!0),i.removeEventListener("mousedown",w,!0),i.removeEventListener("touchstart",w,!0),i.removeEventListener("click",x,!0),i.removeEventListener("keydown",k,!0),n};return(n={get active(){return s.active},get paused(){return s.paused},activate:function(e){if(s.active)return this;var t=p(e,"onActivate"),n=p(e,"onPostActivate"),r=p(e,"checkCanFocusTrap");r||g(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=i.activeElement,t&&t();var o=function(){r&&g(),T(),n&&n()};return r?(r(s.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(e){if(!s.active)return this;var t=o({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},e);clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,O(),s.active=!1,s.paused=!1,l.deactivateTrap(n);var r=p(t,"onDeactivate"),i=p(t,"onPostDeactivate"),c=p(t,"checkCanReturnFocus"),d=p(t,"returnFocus","returnFocusOnDeactivate");r&&r();var f=function(){u((function(){d&&y(b(s.nodeFocusedBeforeActivation)),i&&i()}))};return d&&c?(c(b(s.nodeFocusedBeforeActivation)).then(f,f),this):(f(),this)},pause:function(){return s.paused||!s.active||(s.paused=!0,O()),this},unpause:function(){return s.paused&&s.active?(s.paused=!1,g(),T(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return s.containers=t.map((function(e){return"string"==typeof e?i.querySelector(e):e})),s.active&&g(),this}}).updateContainerElements(e),n}},4146:(e,t,n)=>{"use strict";var r=n(3404),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=p(n);i&&i!==h&&e(t,i,r)}var a=c(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),v=0;v<a.length;++v){var g=a[v];if(!(o[g]||r&&r[g]||m&&m[g]||s&&s[g])){var y=f(n,g);try{u(t,g,y)}catch(e){}}}}return t}},3072:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case v:case m:case l:return e;default:return t}}case i:return t}}}function k(e){return E(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=v,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||E(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return E(e)===u},t.isContextProvider=function(e){return E(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return E(e)===f},t.isFragment=function(e){return E(e)===o},t.isLazy=function(e){return E(e)===v},t.isMemo=function(e){return E(e)===m},t.isPortal=function(e){return E(e)===i},t.isProfiler=function(e){return E(e)===s},t.isStrictMode=function(e){return E(e)===a},t.isSuspense=function(e){return E(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===g)},t.typeOf=E},3404:(e,t,n)=>{"use strict";e.exports=n(3072)},5228:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var o,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var u in o=Object(arguments[l]))n.call(o,u)&&(s[u]=o[u]);if(t){a=t(o);for(var c=0;c<a.length;c++)r.call(o,a[c])&&(s[a[c]]=o[a[c]])}}return s}},2694:(e,t,n)=>{"use strict";var r=n(6925);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2551:(e,t,n)=>{"use strict";var r=n(2427),i=n(5228),o=n(9982);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));function s(e,t,n,r,i,o,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var l=!1,u=null,c=!1,d=null,f={onError:function(e){l=!0,u=e}};function p(e,t,n,r,i,o,a,c,d){l=!1,u=null,s.apply(f,arguments)}var h=null,m=null,v=null;function g(e,t,n){var r=e.type||"unknown-event";e.currentTarget=v(n),function(e,t,n,r,i,o,s,f,h){if(p.apply(this,arguments),l){if(!l)throw Error(a(198));var m=u;l=!1,u=null,c||(c=!0,d=m)}}(r,t,void 0,e),e.currentTarget=null}var y=null,b={};function w(){if(y)for(var e in b){var t=b[e],n=y.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!k[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in k[n]=t,n=t.eventTypes){var i=void 0,o=n[r],s=t,l=r;if(x.hasOwnProperty(l))throw Error(a(99,l));x[l]=o;var u=o.phasedRegistrationNames;if(u){for(i in u)u.hasOwnProperty(i)&&E(u[i],s,l);i=!0}else o.registrationName?(E(o.registrationName,s,l),i=!0):i=!1;if(!i)throw Error(a(98,r,e))}}}}function E(e,t,n){if(T[e])throw Error(a(100,e));T[e]=t,O[e]=t.eventTypes[n].dependencies}var k=[],x={},T={},O={};function S(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!b.hasOwnProperty(t)||b[t]!==r){if(b[t])throw Error(a(102,t));b[t]=r,n=!0}}n&&w()}var C=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),A=null,N=null,I=null;function M(e){if(e=m(e)){if("function"!=typeof A)throw Error(a(280));var t=e.stateNode;t&&(t=h(t),A(e.stateNode,e.type,t))}}function F(e){N?I?I.push(e):I=[e]:N=e}function P(){if(N){var e=N,t=I;if(I=N=null,M(e),t)for(e=0;e<t.length;e++)M(t[e])}}function D(e,t){return e(t)}function L(e,t,n,r,i){return e(t,n,r,i)}function _(){}var j=D,$=!1,R=!1;function B(){null===N&&null===I||(_(),P())}function V(e,t,n){if(R)return e(t,n);R=!0;try{return j(e,t,n)}finally{R=!1,B()}}var z=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,U=Object.prototype.hasOwnProperty,K={},H={};function W(e,t,n,r,i,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o}var q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){q[e]=new W(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];q[t]=new W(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){q[e]=new W(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){q[e]=new W(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){q[e]=new W(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){q[e]=new W(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){q[e]=new W(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){q[e]=new W(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){q[e]=new W(e,5,!1,e.toLowerCase(),null,!1)}));var Q=/[\-:]([a-z])/g;function G(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(Q,G);q[t]=new W(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(Q,G);q[t]=new W(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(Q,G);q[t]=new W(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){q[e]=new W(e,1,!1,e.toLowerCase(),null,!1)})),q.xlinkHref=new W("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){q[e]=new W(e,1,!1,e.toLowerCase(),null,!0)}));var Y=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function X(e,t,n,r){var i=q.hasOwnProperty(t)?q[t]:null;(null!==i?0===i.type:!r&&2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1]))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!U.call(H,e)||!U.call(K,e)&&(z.test(e)?H[e]=!0:(K[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}Y.hasOwnProperty("ReactCurrentDispatcher")||(Y.ReactCurrentDispatcher={current:null}),Y.hasOwnProperty("ReactCurrentBatchConfig")||(Y.ReactCurrentBatchConfig={suspense:null});var Z=/^(.*)[\\\/]/,J="function"==typeof Symbol&&Symbol.for,ee=J?Symbol.for("react.element"):60103,te=J?Symbol.for("react.portal"):60106,ne=J?Symbol.for("react.fragment"):60107,re=J?Symbol.for("react.strict_mode"):60108,ie=J?Symbol.for("react.profiler"):60114,oe=J?Symbol.for("react.provider"):60109,ae=J?Symbol.for("react.context"):60110,se=J?Symbol.for("react.concurrent_mode"):60111,le=J?Symbol.for("react.forward_ref"):60112,ue=J?Symbol.for("react.suspense"):60113,ce=J?Symbol.for("react.suspense_list"):60120,de=J?Symbol.for("react.memo"):60115,fe=J?Symbol.for("react.lazy"):60116,pe=J?Symbol.for("react.block"):60121,he="function"==typeof Symbol&&Symbol.iterator;function me(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=he&&e[he]||e["@@iterator"])?e:null}function ve(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case ie:return"Profiler";case re:return"StrictMode";case ue:return"Suspense";case ce:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ae:return"Context.Consumer";case oe:return"Context.Provider";case le:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case de:return ve(e.type);case pe:return ve(e.render);case fe:if(e=1===e._status?e._result:null)return ve(e)}return null}function ge(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,i=e._debugSource,o=ve(e.type);n=null,r&&(n=ve(r.type)),r=o,o="",i?o=" (at "+i.fileName.replace(Z,"")+":"+i.lineNumber+")":n&&(o=" (created by "+n+")"),n="\n in "+(r||"Unknown")+o}t+=n,e=e.return}while(e);return t}function ye(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function be(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function we(e){e._valueTracker||(e._valueTracker=function(e){var t=be(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Ee(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=be(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ke(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function xe(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ye(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Te(e,t){null!=(t=t.checked)&&X(e,"checked",t,!1)}function Oe(e,t){Te(e,t);var n=ye(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Ce(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ce(e,t.type,ye(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Se(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Ce(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Ae(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Ne(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ye(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function Ie(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Me(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ye(n)}}function Fe(e,t){var n=ye(t.value),r=ye(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Pe(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function De(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?De(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var _e,je,$e=(je=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((_e=_e||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=_e.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return je(e,t)}))}:je);function Re(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function Be(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ve={animationend:Be("Animation","AnimationEnd"),animationiteration:Be("Animation","AnimationIteration"),animationstart:Be("Animation","AnimationStart"),transitionend:Be("Transition","TransitionEnd")},ze={},Ue={};function Ke(e){if(ze[e])return ze[e];if(!Ve[e])return e;var t,n=Ve[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ue)return ze[e]=n[t];return e}C&&(Ue=document.createElement("div").style,"AnimationEvent"in window||(delete Ve.animationend.animation,delete Ve.animationiteration.animation,delete Ve.animationstart.animation),"TransitionEvent"in window||delete Ve.transitionend.transition);var He=Ke("animationend"),We=Ke("animationiteration"),qe=Ke("animationstart"),Qe=Ke("transitionend"),Ge="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ye=new("function"==typeof WeakMap?WeakMap:Map);function Xe(e){var t=Ye.get(e);return void 0===t&&(t=new Map,Ye.set(e,t)),t}function Ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Je(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function et(e){if(Ze(e)!==e)throw Error(a(188))}function tt(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ze(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return et(i),e;if(o===r)return et(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function nt(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function rt(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var it=null;function ot(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)g(e,t[r],n[r]);else t&&g(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function at(e){if(null!==e&&(it=nt(it,e)),e=it,it=null,e){if(rt(e,ot),it)throw Error(a(95));if(c)throw e=d,c=!1,d=null,e}}function st(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function lt(e){if(!C)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var ut=[];function ct(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ut.length&&ut.push(e)}function dt(e,t,n,r){if(ut.length){var i=ut.pop();return i.topLevelType=e,i.eventSystemFlags=r,i.nativeEvent=t,i.targetInst=n,i}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function ft(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=Mn(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var i=st(e.nativeEvent);r=e.topLevelType;var o=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var s=null,l=0;l<k.length;l++){var u=k[l];u&&(u=u.extractEvents(r,t,o,i,a))&&(s=nt(s,u))}at(s)}}function pt(e,t,n){if(!n.has(e)){switch(e){case"scroll":qt(t,"scroll",!0);break;case"focus":case"blur":qt(t,"focus",!0),qt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":lt(e)&&qt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Ge.indexOf(e)&&Wt(e,t)}n.set(e,null)}}var ht,mt,vt,gt=!1,yt=[],bt=null,wt=null,Et=null,kt=new Map,xt=new Map,Tt=[],Ot="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),St="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Ct(e,t,n,r,i){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:i,container:r}}function At(e,t){switch(e){case"focus":case"blur":bt=null;break;case"dragenter":case"dragleave":wt=null;break;case"mouseover":case"mouseout":Et=null;break;case"pointerover":case"pointerout":kt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":xt.delete(t.pointerId)}}function Nt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e=Ct(t,n,r,i,o),null!==t&&null!==(t=Fn(t))&&mt(t),e):(e.eventSystemFlags|=r,e)}function It(e){var t=Mn(e.target);if(null!==t){var n=Ze(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Je(n)))return e.blockedOn=t,void o.unstable_runWithPriority(e.priority,(function(){vt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Mt(e){if(null!==e.blockedOn)return!1;var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Fn(t);return null!==n&&mt(n),e.blockedOn=t,!1}return!0}function Ft(e,t,n){Mt(e)&&n.delete(t)}function Pt(){for(gt=!1;0<yt.length;){var e=yt[0];if(null!==e.blockedOn){null!==(e=Fn(e.blockedOn))&&ht(e);break}var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:yt.shift()}null!==bt&&Mt(bt)&&(bt=null),null!==wt&&Mt(wt)&&(wt=null),null!==Et&&Mt(Et)&&(Et=null),kt.forEach(Ft),xt.forEach(Ft)}function Dt(e,t){e.blockedOn===t&&(e.blockedOn=null,gt||(gt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Pt)))}function Lt(e){function t(t){return Dt(t,e)}if(0<yt.length){Dt(yt[0],e);for(var n=1;n<yt.length;n++){var r=yt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==bt&&Dt(bt,e),null!==wt&&Dt(wt,e),null!==Et&&Dt(Et,e),kt.forEach(t),xt.forEach(t),n=0;n<Tt.length;n++)(r=Tt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Tt.length&&null===(n=Tt[0]).blockedOn;)It(n),null===n.blockedOn&&Tt.shift()}var _t={},jt=new Map,$t=new Map,Rt=["abort","abort",He,"animationEnd",We,"animationIteration",qe,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Qe,"transitionEnd","waiting","waiting"];function Bt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1],o="on"+(i[0].toUpperCase()+i.slice(1));o={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[r],eventPriority:t},$t.set(r,t),jt.set(r,o),_t[i]=o}}Bt("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Bt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Bt(Rt,2);for(var Vt="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),zt=0;zt<Vt.length;zt++)$t.set(Vt[zt],0);var Ut=o.unstable_UserBlockingPriority,Kt=o.unstable_runWithPriority,Ht=!0;function Wt(e,t){qt(t,e,!1)}function qt(e,t,n){var r=$t.get(t);switch(void 0===r?2:r){case 0:r=Qt.bind(null,t,1,e);break;case 1:r=Gt.bind(null,t,1,e);break;default:r=Yt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Qt(e,t,n,r){$||_();var i=Yt,o=$;$=!0;try{L(i,e,t,n,r)}finally{($=o)||B()}}function Gt(e,t,n,r){Kt(Ut,Yt.bind(null,e,t,n,r))}function Yt(e,t,n,r){if(Ht)if(0<yt.length&&-1<Ot.indexOf(e))e=Ct(null,e,t,n,r),yt.push(e);else{var i=Xt(e,t,n,r);if(null===i)At(e,r);else if(-1<Ot.indexOf(e))e=Ct(i,e,t,n,r),yt.push(e);else if(!function(e,t,n,r,i){switch(t){case"focus":return bt=Nt(bt,e,t,n,r,i),!0;case"dragenter":return wt=Nt(wt,e,t,n,r,i),!0;case"mouseover":return Et=Nt(Et,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return kt.set(o,Nt(kt.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,xt.set(o,Nt(xt.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r)){At(e,r),e=dt(e,r,null,t);try{V(ft,e)}finally{ct(e)}}}}function Xt(e,t,n,r){if(null!==(n=Mn(n=st(r)))){var i=Ze(n);if(null===i)n=null;else{var o=i.tag;if(13===o){if(null!==(n=Je(i)))return n;n=null}else if(3===o){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;n=null}else i!==n&&(n=null)}}e=dt(e,r,n,t);try{V(ft,e)}finally{ct(e)}return null}var Zt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Jt=["Webkit","ms","Moz","O"];function en(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Zt.hasOwnProperty(e)&&Zt[e]?(""+t).trim():t+"px"}function tn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=en(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(Zt).forEach((function(e){Jt.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Zt[t]=Zt[e]}))}));var nn=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function rn(e,t){if(t){if(nn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62,""))}}function on(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var an="http://www.w3.org/1999/xhtml";function sn(e,t){var n=Xe(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=O[t];for(var r=0;r<t.length;r++)pt(t[r],e,n)}function ln(){}function un(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function cn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dn(e,t){var n,r=cn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cn(r)}}function fn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pn(){for(var e=window,t=un();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=un((e=t.contentWindow).document)}return t}function hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var mn="$",vn="/$",gn="$?",yn="$!",bn=null,wn=null;function En(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function kn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var xn="function"==typeof setTimeout?setTimeout:void 0,Tn="function"==typeof clearTimeout?clearTimeout:void 0;function On(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Sn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===mn||n===yn||n===gn){if(0===t)return e;t--}else n===vn&&t++}e=e.previousSibling}return null}var Cn=Math.random().toString(36).slice(2),An="__reactInternalInstance$"+Cn,Nn="__reactEventHandlers$"+Cn,In="__reactContainere$"+Cn;function Mn(e){var t=e[An];if(t)return t;for(var n=e.parentNode;n;){if(t=n[In]||n[An]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Sn(e);null!==e;){if(n=e[An])return n;e=Sn(e)}return t}n=(e=n).parentNode}return null}function Fn(e){return!(e=e[An]||e[In])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Pn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Dn(e){return e[Nn]||null}function Ln(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function _n(e,t){var n=e.stateNode;if(!n)return null;var r=h(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}function jn(e,t,n){(t=_n(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=nt(n._dispatchListeners,t),n._dispatchInstances=nt(n._dispatchInstances,e))}function $n(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Ln(t);for(t=n.length;0<t--;)jn(n[t],"captured",e);for(t=0;t<n.length;t++)jn(n[t],"bubbled",e)}}function Rn(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=_n(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=nt(n._dispatchListeners,t),n._dispatchInstances=nt(n._dispatchInstances,e))}function Bn(e){e&&e.dispatchConfig.registrationName&&Rn(e._targetInst,null,e)}function Vn(e){rt(e,$n)}var zn=null,Un=null,Kn=null;function Hn(){if(Kn)return Kn;var e,t,n=Un,r=n.length,i="value"in zn?zn.value:zn.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return Kn=i.slice(e,1<t?1-t:void 0)}function Wn(){return!0}function qn(){return!1}function Qn(e,t,n,r){for(var i in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(i)&&((t=e[i])?this[i]=t(n):"target"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Wn:qn,this.isPropagationStopped=qn,this}function Gn(e,t,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)}function Yn(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Xn(e){e.eventPool=[],e.getPooled=Gn,e.release=Yn}i(Qn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Wn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Wn)},persist:function(){this.isPersistent=Wn},isPersistent:qn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=qn,this._dispatchInstances=this._dispatchListeners=null}}),Qn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Qn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return i(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=i({},r.Interface,e),n.extend=r.extend,Xn(n),n},Xn(Qn);var Zn=Qn.extend({data:null}),Jn=Qn.extend({data:null}),er=[9,13,27,32],tr=C&&"CompositionEvent"in window,nr=null;C&&"documentMode"in document&&(nr=document.documentMode);var rr=C&&"TextEvent"in window&&!nr,ir=C&&(!tr||nr&&8<nr&&11>=nr),or=String.fromCharCode(32),ar={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},sr=!1;function lr(e,t){switch(e){case"keyup":return-1!==er.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function ur(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var cr=!1,dr={eventTypes:ar,extractEvents:function(e,t,n,r){var i;if(tr)e:{switch(e){case"compositionstart":var o=ar.compositionStart;break e;case"compositionend":o=ar.compositionEnd;break e;case"compositionupdate":o=ar.compositionUpdate;break e}o=void 0}else cr?lr(e,n)&&(o=ar.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=ar.compositionStart);return o?(ir&&"ko"!==n.locale&&(cr||o!==ar.compositionStart?o===ar.compositionEnd&&cr&&(i=Hn()):(Un="value"in(zn=r)?zn.value:zn.textContent,cr=!0)),o=Zn.getPooled(o,t,n,r),(i||null!==(i=ur(n)))&&(o.data=i),Vn(o),i=o):i=null,(e=rr?function(e,t){switch(e){case"compositionend":return ur(t);case"keypress":return 32!==t.which?null:(sr=!0,or);case"textInput":return(e=t.data)===or&&sr?null:e;default:return null}}(e,n):function(e,t){if(cr)return"compositionend"===e||!tr&&lr(e,t)?(e=Hn(),Kn=Un=zn=null,cr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ir&&"ko"!==t.locale?null:t.data}}(e,n))?((t=Jn.getPooled(ar.beforeInput,t,n,r)).data=e,Vn(t)):t=null,null===i?t:null===t?i:[i,t]}},fr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!fr[e.type]:"textarea"===t}var hr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function mr(e,t,n){return(e=Qn.getPooled(hr.change,e,t,n)).type="change",F(n),Vn(e),e}var vr=null,gr=null;function yr(e){at(e)}function br(e){if(Ee(Pn(e)))return e}function wr(e,t){if("change"===e)return t}var Er=!1;function kr(){vr&&(vr.detachEvent("onpropertychange",xr),gr=vr=null)}function xr(e){if("value"===e.propertyName&&br(gr))if(e=mr(gr,e,st(e)),$)at(e);else{$=!0;try{D(yr,e)}finally{$=!1,B()}}}function Tr(e,t,n){"focus"===e?(kr(),gr=n,(vr=t).attachEvent("onpropertychange",xr)):"blur"===e&&kr()}function Or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return br(gr)}function Sr(e,t){if("click"===e)return br(t)}function Cr(e,t){if("input"===e||"change"===e)return br(t)}C&&(Er=lt("input")&&(!document.documentMode||9<document.documentMode));var Ar={eventTypes:hr,_isInputEventSupported:Er,extractEvents:function(e,t,n,r){var i=t?Pn(t):window,o=i.nodeName&&i.nodeName.toLowerCase();if("select"===o||"input"===o&&"file"===i.type)var a=wr;else if(pr(i))if(Er)a=Cr;else{a=Or;var s=Tr}else(o=i.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(a=Sr);if(a&&(a=a(e,t)))return mr(a,n,r);s&&s(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&Ce(i,"number",i.value)}},Nr=Qn.extend({view:null,detail:null}),Ir={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Mr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Ir[e])&&!!t[e]}function Fr(){return Mr}var Pr=0,Dr=0,Lr=!1,_r=!1,jr=Nr.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Fr,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Pr;return Pr=e.screenX,Lr?"mousemove"===e.type?e.screenX-t:0:(Lr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Dr;return Dr=e.screenY,_r?"mousemove"===e.type?e.screenY-t:0:(_r=!0,0)}}),$r=jr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Rr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Br={eventTypes:Rr,extractEvents:function(e,t,n,r,i){var o="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(o&&0==(32&i)&&(n.relatedTarget||n.fromElement)||!a&&!o)return null;if(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,a?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?Mn(t):null)&&(t!==Ze(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null,a===t)return null;if("mouseout"===e||"mouseover"===e)var s=jr,l=Rr.mouseLeave,u=Rr.mouseEnter,c="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=$r,l=Rr.pointerLeave,u=Rr.pointerEnter,c="pointer");if(e=null==a?o:Pn(a),o=null==t?o:Pn(t),(l=s.getPooled(l,a,n,r)).type=c+"leave",l.target=e,l.relatedTarget=o,(n=s.getPooled(u,t,n,r)).type=c+"enter",n.target=o,n.relatedTarget=e,c=t,(r=a)&&c)e:{for(u=c,a=0,e=s=r;e;e=Ln(e))a++;for(e=0,t=u;t;t=Ln(t))e++;for(;0<a-e;)s=Ln(s),a--;for(;0<e-a;)u=Ln(u),e--;for(;a--;){if(s===u||s===u.alternate)break e;s=Ln(s),u=Ln(u)}s=null}else s=null;for(u=s,s=[];r&&r!==u&&(null===(a=r.alternate)||a!==u);)s.push(r),r=Ln(r);for(r=[];c&&c!==u&&(null===(a=c.alternate)||a!==u);)r.push(c),c=Ln(c);for(c=0;c<s.length;c++)Rn(s[c],"bubbled",l);for(c=r.length;0<c--;)Rn(r[c],"captured",n);return 0==(64&i)?[l]:[l,n]}},Vr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},zr=Object.prototype.hasOwnProperty;function Ur(e,t){if(Vr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!zr.call(t,n[r])||!Vr(e[n[r]],t[n[r]]))return!1;return!0}var Kr=C&&"documentMode"in document&&11>=document.documentMode,Hr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Wr=null,qr=null,Qr=null,Gr=!1;function Yr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Gr||null==Wr||Wr!==un(n)?null:(n="selectionStart"in(n=Wr)&&hn(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Qr&&Ur(Qr,n)?null:(Qr=n,(e=Qn.getPooled(Hr.select,qr,e,t)).type="select",e.target=Wr,Vn(e),e))}var Xr={eventTypes:Hr,extractEvents:function(e,t,n,r,i,o){if(!(o=!(i=o||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{i=Xe(i),o=O.onSelect;for(var a=0;a<o.length;a++)if(!i.has(o[a])){i=!1;break e}i=!0}o=!i}if(o)return null;switch(i=t?Pn(t):window,e){case"focus":(pr(i)||"true"===i.contentEditable)&&(Wr=i,qr=t,Qr=null);break;case"blur":Qr=qr=Wr=null;break;case"mousedown":Gr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Gr=!1,Yr(n,r);case"selectionchange":if(Kr)break;case"keydown":case"keyup":return Yr(n,r)}return null}},Zr=Qn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Jr=Qn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ei=Nr.extend({relatedTarget:null});function ti(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var ni={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ri={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ii=Nr.extend({key:function(e){if(e.key){var t=ni[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=ti(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?ri[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Fr,charCode:function(e){return"keypress"===e.type?ti(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ti(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),oi=jr.extend({dataTransfer:null}),ai=Nr.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Fr}),si=Qn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),li=jr.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),ui={eventTypes:_t,extractEvents:function(e,t,n,r){var i=jt.get(e);if(!i)return null;switch(e){case"keypress":if(0===ti(n))return null;case"keydown":case"keyup":e=ii;break;case"blur":case"focus":e=ei;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=jr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=oi;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=ai;break;case He:case We:case qe:e=Zr;break;case Qe:e=si;break;case"scroll":e=Nr;break;case"wheel":e=li;break;case"copy":case"cut":case"paste":e=Jr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=$r;break;default:e=Qn}return Vn(t=e.getPooled(i,t,n,r)),t}};if(y)throw Error(a(101));y=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),w(),h=Dn,m=Fn,v=Pn,S({SimpleEventPlugin:ui,EnterLeaveEventPlugin:Br,ChangeEventPlugin:Ar,SelectEventPlugin:Xr,BeforeInputEventPlugin:dr});var ci=[],di=-1;function fi(e){0>di||(e.current=ci[di],ci[di]=null,di--)}function pi(e,t){di++,ci[di]=e.current,e.current=t}var hi={},mi={current:hi},vi={current:!1},gi=hi;function yi(e,t){var n=e.type.contextTypes;if(!n)return hi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function bi(e){return null!=e.childContextTypes}function wi(){fi(vi),fi(mi)}function Ei(e,t,n){if(mi.current!==hi)throw Error(a(168));pi(mi,t),pi(vi,n)}function ki(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(a(108,ve(t)||"Unknown",o));return i({},n,{},r)}function xi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||hi,gi=mi.current,pi(mi,e),pi(vi,vi.current),!0}function Ti(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=ki(e,t,gi),r.__reactInternalMemoizedMergedChildContext=e,fi(vi),fi(mi),pi(mi,e)):fi(vi),pi(vi,n)}var Oi=o.unstable_runWithPriority,Si=o.unstable_scheduleCallback,Ci=o.unstable_cancelCallback,Ai=o.unstable_requestPaint,Ni=o.unstable_now,Ii=o.unstable_getCurrentPriorityLevel,Mi=o.unstable_ImmediatePriority,Fi=o.unstable_UserBlockingPriority,Pi=o.unstable_NormalPriority,Di=o.unstable_LowPriority,Li=o.unstable_IdlePriority,_i={},ji=o.unstable_shouldYield,$i=void 0!==Ai?Ai:function(){},Ri=null,Bi=null,Vi=!1,zi=Ni(),Ui=1e4>zi?Ni:function(){return Ni()-zi};function Ki(){switch(Ii()){case Mi:return 99;case Fi:return 98;case Pi:return 97;case Di:return 96;case Li:return 95;default:throw Error(a(332))}}function Hi(e){switch(e){case 99:return Mi;case 98:return Fi;case 97:return Pi;case 96:return Di;case 95:return Li;default:throw Error(a(332))}}function Wi(e,t){return e=Hi(e),Oi(e,t)}function qi(e,t,n){return e=Hi(e),Si(e,t,n)}function Qi(e){return null===Ri?(Ri=[e],Bi=Si(Mi,Yi)):Ri.push(e),_i}function Gi(){if(null!==Bi){var e=Bi;Bi=null,Ci(e)}Yi()}function Yi(){if(!Vi&&null!==Ri){Vi=!0;var e=0;try{var t=Ri;Wi(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Ri=null}catch(t){throw null!==Ri&&(Ri=Ri.slice(e+1)),Si(Mi,Gi),t}finally{Vi=!1}}}function Xi(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Zi(e,t){if(e&&e.defaultProps)for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Ji={current:null},eo=null,to=null,no=null;function ro(){no=to=eo=null}function io(e){var t=Ji.current;fi(Ji),e.type._context._currentValue=t}function oo(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function ao(e,t){eo=e,no=to=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Da=!0),e.firstContext=null)}function so(e,t){if(no!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(no=e,t=1073741823),t={context:e,observedBits:t,next:null},null===to){if(null===eo)throw Error(a(308));to=t,eo.dependencies={expirationTime:0,firstContext:t,responders:null}}else to=to.next=t;return e._currentValue}var lo=!1;function uo(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function co(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function fo(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function po(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function ho(e,t){var n=e.alternate;null!==n&&co(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function mo(e,t,n,r){var o=e.updateQueue;lo=!1;var a=o.baseQueue,s=o.shared.pending;if(null!==s){if(null!==a){var l=a.next;a.next=s.next,s.next=l}a=s,o.shared.pending=null,null!==(l=e.alternate)&&null!==(l=l.updateQueue)&&(l.baseQueue=s)}if(null!==a){l=a.next;var u=o.baseState,c=0,d=null,f=null,p=null;if(null!==l)for(var h=l;;){if((s=h.expirationTime)<r){var m={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===p?(f=p=m,d=u):p=p.next=m,s>c&&(c=s)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),wl(s,h.suspenseConfig);e:{var v=e,g=h;switch(s=t,m=n,g.tag){case 1:if("function"==typeof(v=g.payload)){u=v.call(m,u,s);break e}u=v;break e;case 3:v.effectTag=-4097&v.effectTag|64;case 0:if(null==(s="function"==typeof(v=g.payload)?v.call(m,u,s):v))break e;u=i({},u,s);break e;case 2:lo=!0}}null!==h.callback&&(e.effectTag|=32,null===(s=o.effects)?o.effects=[h]:s.push(h))}if(null===(h=h.next)||h===l){if(null===(s=o.shared.pending))break;h=a.next=s.next,s.next=l,o.baseQueue=a=s,o.shared.pending=null}}null===p?d=u:p.next=f,o.baseState=d,o.baseQueue=p,El(c),e.expirationTime=c,e.memoizedState=u}}function vo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=i,i=n,"function"!=typeof r)throw Error(a(191,r));r.call(i)}}}var go=Y.ReactCurrentBatchConfig,yo=(new r.Component).refs;function bo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:i({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var wo={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=sl(),i=go.suspense;(i=fo(r=ll(r,e,i),i)).payload=t,null!=n&&(i.callback=n),po(e,i),ul(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=sl(),i=go.suspense;(i=fo(r=ll(r,e,i),i)).tag=1,i.payload=t,null!=n&&(i.callback=n),po(e,i),ul(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=sl(),r=go.suspense;(r=fo(n=ll(n,e,r),r)).tag=2,null!=t&&(r.callback=t),po(e,r),ul(e,n)}};function Eo(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!(t.prototype&&t.prototype.isPureReactComponent&&Ur(n,r)&&Ur(i,o))}function ko(e,t,n){var r=!1,i=hi,o=t.contextType;return"object"==typeof o&&null!==o?o=so(o):(i=bi(t)?gi:mi.current,o=(r=null!=(r=t.contextTypes))?yi(e,i):hi),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=wo,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function xo(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&wo.enqueueReplaceState(t,t.state,null)}function To(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=yo,uo(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=so(o):(o=bi(t)?gi:mi.current,i.context=yi(e,o)),mo(e,n,i,r),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(bo(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&wo.enqueueReplaceState(i,i.state,null),mo(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.effectTag|=4)}var Oo=Array.isArray;function So(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=r.refs;t===yo&&(t=r.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Co(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Ao(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Vl(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Kl(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function u(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=So(e,t,n),r.return=e,r):((r=zl(n.type,n.key,n.props,null,e.mode,r)).ref=So(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Hl(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Ul(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Kl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=zl(t.type,t.key,t.props,null,e.mode,n)).ref=So(e,null,t),n.return=e,n;case te:return(t=Hl(t,e.mode,n)).return=e,t}if(Oo(t)||me(t))return(t=Ul(t,e.mode,n,null)).return=e,t;Co(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===i?n.type===ne?d(e,t,n.props.children,r,i):u(e,t,n,r):null;case te:return n.key===i?c(e,t,n,r):null}if(Oo(n)||me(n))return null!==i?null:d(e,t,n,r,null);Co(e,n)}return null}function h(e,t,n,r,i){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?d(t,e,r.props.children,i,r.key):u(t,e,r,i);case te:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(Oo(r)||me(r))return d(t,e=e.get(n)||null,r,i,null);Co(t,r)}return null}function m(i,a,s,l){for(var u=null,c=null,d=a,m=a=0,v=null;null!==d&&m<s.length;m++){d.index>m?(v=d,d=null):v=d.sibling;var g=p(i,d,s[m],l);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(i,d),a=o(g,a,m),null===c?u=g:c.sibling=g,c=g,d=v}if(m===s.length)return n(i,d),u;if(null===d){for(;m<s.length;m++)null!==(d=f(i,s[m],l))&&(a=o(d,a,m),null===c?u=d:c.sibling=d,c=d);return u}for(d=r(i,d);m<s.length;m++)null!==(v=h(d,i,m,s[m],l))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),a=o(v,a,m),null===c?u=v:c.sibling=v,c=v);return e&&d.forEach((function(e){return t(i,e)})),u}function v(i,s,l,u){var c=me(l);if("function"!=typeof c)throw Error(a(150));if(null==(l=c.call(l)))throw Error(a(151));for(var d=c=null,m=s,v=s=0,g=null,y=l.next();null!==m&&!y.done;v++,y=l.next()){m.index>v?(g=m,m=null):g=m.sibling;var b=p(i,m,y.value,u);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(i,m),s=o(b,s,v),null===d?c=b:d.sibling=b,d=b,m=g}if(y.done)return n(i,m),c;if(null===m){for(;!y.done;v++,y=l.next())null!==(y=f(i,y.value,u))&&(s=o(y,s,v),null===d?c=y:d.sibling=y,d=y);return c}for(m=r(i,m);!y.done;v++,y=l.next())null!==(y=h(m,i,v,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),s=o(y,s,v),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(i,e)})),c}return function(e,r,o,l){var u="object"==typeof o&&null!==o&&o.type===ne&&null===o.key;u&&(o=o.props.children);var c="object"==typeof o&&null!==o;if(c)switch(o.$$typeof){case ee:e:{for(c=o.key,u=r;null!==u;){if(u.key===c){if(7===u.tag){if(o.type===ne){n(e,u.sibling),(r=i(u,o.props.children)).return=e,e=r;break e}}else if(u.elementType===o.type){n(e,u.sibling),(r=i(u,o.props)).ref=So(e,u,o),r.return=e,e=r;break e}n(e,u);break}t(e,u),u=u.sibling}o.type===ne?((r=Ul(o.props.children,e.mode,l,o.key)).return=e,e=r):((l=zl(o.type,o.key,o.props,null,e.mode,l)).ref=So(e,r,o),l.return=e,e=l)}return s(e);case te:e:{for(u=o.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Hl(o,e.mode,l)).return=e,e=r}return s(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=Kl(o,e.mode,l)).return=e,e=r),s(e);if(Oo(o))return m(e,r,o,l);if(me(o))return v(e,r,o,l);if(c&&Co(e,o),void 0===o&&!u)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var No=Ao(!0),Io=Ao(!1),Mo={},Fo={current:Mo},Po={current:Mo},Do={current:Mo};function Lo(e){if(e===Mo)throw Error(a(174));return e}function _o(e,t){switch(pi(Do,t),pi(Po,e),pi(Fo,Mo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Le(null,"");break;default:t=Le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}fi(Fo),pi(Fo,t)}function jo(){fi(Fo),fi(Po),fi(Do)}function $o(e){Lo(Do.current);var t=Lo(Fo.current),n=Le(t,e.type);t!==n&&(pi(Po,e),pi(Fo,n))}function Ro(e){Po.current===e&&(fi(Fo),fi(Po))}var Bo={current:0};function Vo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||n.data===gn||n.data===yn))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function zo(e,t){return{responder:e,props:t}}var Uo=Y.ReactCurrentDispatcher,Ko=Y.ReactCurrentBatchConfig,Ho=0,Wo=null,qo=null,Qo=null,Go=!1;function Yo(){throw Error(a(321))}function Xo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Vr(e[n],t[n]))return!1;return!0}function Zo(e,t,n,r,i,o){if(Ho=o,Wo=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Uo.current=null===e||null===e.memoizedState?Ea:ka,e=n(r,i),t.expirationTime===Ho){o=0;do{if(t.expirationTime=0,!(25>o))throw Error(a(301));o+=1,Qo=qo=null,t.updateQueue=null,Uo.current=xa,e=n(r,i)}while(t.expirationTime===Ho)}if(Uo.current=wa,t=null!==qo&&null!==qo.next,Ho=0,Qo=qo=Wo=null,Go=!1,t)throw Error(a(300));return e}function Jo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Qo?Wo.memoizedState=Qo=e:Qo=Qo.next=e,Qo}function ea(){if(null===qo){var e=Wo.alternate;e=null!==e?e.memoizedState:null}else e=qo.next;var t=null===Qo?Wo.memoizedState:Qo.next;if(null!==t)Qo=t,qo=e;else{if(null===e)throw Error(a(310));e={memoizedState:(qo=e).memoizedState,baseState:qo.baseState,baseQueue:qo.baseQueue,queue:qo.queue,next:null},null===Qo?Wo.memoizedState=Qo=e:Qo=Qo.next=e}return Qo}function ta(e,t){return"function"==typeof t?t(e):t}function na(e){var t=ea(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=qo,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var l=s=o=null,u=i;do{var c=u.expirationTime;if(c<Ho){var d={expirationTime:u.expirationTime,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===l?(s=l=d,o=r):l=l.next=d,c>Wo.expirationTime&&(Wo.expirationTime=c,El(c))}else null!==l&&(l=l.next={expirationTime:1073741823,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),wl(c,u.suspenseConfig),r=u.eagerReducer===e?u.eagerState:e(r,u.action);u=u.next}while(null!==u&&u!==i);null===l?o=r:l.next=s,Vr(r,t.memoizedState)||(Da=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function ra(e){var t=ea(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);Vr(o,t.memoizedState)||(Da=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ia(e){var t=Jo();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ta,lastRenderedState:e}).dispatch=ba.bind(null,Wo,e),[t.memoizedState,e]}function oa(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Wo.updateQueue)?(t={lastEffect:null},Wo.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function aa(){return ea().memoizedState}function sa(e,t,n,r){var i=Jo();Wo.effectTag|=e,i.memoizedState=oa(1|t,n,void 0,void 0===r?null:r)}function la(e,t,n,r){var i=ea();r=void 0===r?null:r;var o=void 0;if(null!==qo){var a=qo.memoizedState;if(o=a.destroy,null!==r&&Xo(r,a.deps))return void oa(t,n,o,r)}Wo.effectTag|=e,i.memoizedState=oa(1|t,n,o,r)}function ua(e,t){return sa(516,4,e,t)}function ca(e,t){return la(516,4,e,t)}function da(e,t){return la(4,2,e,t)}function fa(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function pa(e,t,n){return n=null!=n?n.concat([e]):null,la(4,2,fa.bind(null,t,e),n)}function ha(){}function ma(e,t){return Jo().memoizedState=[e,void 0===t?null:t],e}function va(e,t){var n=ea();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Xo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ga(e,t){var n=ea();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Xo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ya(e,t,n){var r=Ki();Wi(98>r?98:r,(function(){e(!0)})),Wi(97<r?97:r,(function(){var r=Ko.suspense;Ko.suspense=void 0===t?null:t;try{e(!1),n()}finally{Ko.suspense=r}}))}function ba(e,t,n){var r=sl(),i=go.suspense;i={expirationTime:r=ll(r,e,i),suspenseConfig:i,action:n,eagerReducer:null,eagerState:null,next:null};var o=t.pending;if(null===o?i.next=i:(i.next=o.next,o.next=i),t.pending=i,o=e.alternate,e===Wo||null!==o&&o===Wo)Go=!0,i.expirationTime=Ho,Wo.expirationTime=Ho;else{if(0===e.expirationTime&&(null===o||0===o.expirationTime)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.eagerReducer=o,i.eagerState=s,Vr(s,a))return}catch(e){}ul(e,r)}}var wa={readContext:so,useCallback:Yo,useContext:Yo,useEffect:Yo,useImperativeHandle:Yo,useLayoutEffect:Yo,useMemo:Yo,useReducer:Yo,useRef:Yo,useState:Yo,useDebugValue:Yo,useResponder:Yo,useDeferredValue:Yo,useTransition:Yo},Ea={readContext:so,useCallback:ma,useContext:so,useEffect:ua,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,sa(4,2,fa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return sa(4,2,e,t)},useMemo:function(e,t){var n=Jo();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Jo();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ba.bind(null,Wo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Jo().memoizedState=e},useState:ia,useDebugValue:ha,useResponder:zo,useDeferredValue:function(e,t){var n=ia(e),r=n[0],i=n[1];return ua((function(){var n=Ko.suspense;Ko.suspense=void 0===t?null:t;try{i(e)}finally{Ko.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ia(!1),n=t[0];return t=t[1],[ma(ya.bind(null,t,e),[t,e]),n]}},ka={readContext:so,useCallback:va,useContext:so,useEffect:ca,useImperativeHandle:pa,useLayoutEffect:da,useMemo:ga,useReducer:na,useRef:aa,useState:function(){return na(ta)},useDebugValue:ha,useResponder:zo,useDeferredValue:function(e,t){var n=na(ta),r=n[0],i=n[1];return ca((function(){var n=Ko.suspense;Ko.suspense=void 0===t?null:t;try{i(e)}finally{Ko.suspense=n}}),[e,t]),r},useTransition:function(e){var t=na(ta),n=t[0];return t=t[1],[va(ya.bind(null,t,e),[t,e]),n]}},xa={readContext:so,useCallback:va,useContext:so,useEffect:ca,useImperativeHandle:pa,useLayoutEffect:da,useMemo:ga,useReducer:ra,useRef:aa,useState:function(){return ra(ta)},useDebugValue:ha,useResponder:zo,useDeferredValue:function(e,t){var n=ra(ta),r=n[0],i=n[1];return ca((function(){var n=Ko.suspense;Ko.suspense=void 0===t?null:t;try{i(e)}finally{Ko.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ra(ta),n=t[0];return t=t[1],[va(ya.bind(null,t,e),[t,e]),n]}},Ta=null,Oa=null,Sa=!1;function Ca(e,t){var n=Rl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Aa(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Na(e){if(Sa){var t=Oa;if(t){var n=t;if(!Aa(e,t)){if(!(t=On(n.nextSibling))||!Aa(e,t))return e.effectTag=-1025&e.effectTag|2,Sa=!1,void(Ta=e);Ca(Ta,n)}Ta=e,Oa=On(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,Sa=!1,Ta=e}}function Ia(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ta=e}function Ma(e){if(e!==Ta)return!1;if(!Sa)return Ia(e),Sa=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!kn(t,e.memoizedProps))for(t=Oa;t;)Ca(e,t),t=On(t.nextSibling);if(Ia(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if(n===vn){if(0===t){Oa=On(e.nextSibling);break e}t--}else n!==mn&&n!==yn&&n!==gn||t++}e=e.nextSibling}Oa=null}}else Oa=Ta?On(e.stateNode.nextSibling):null;return!0}function Fa(){Oa=Ta=null,Sa=!1}var Pa=Y.ReactCurrentOwner,Da=!1;function La(e,t,n,r){t.child=null===e?Io(t,null,n,r):No(t,e.child,n,r)}function _a(e,t,n,r,i){n=n.render;var o=t.ref;return ao(t,i),r=Zo(e,t,n,r,o,i),null===e||Da?(t.effectTag|=1,La(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Ja(e,t,i))}function ja(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!=typeof a||Bl(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=zl(n.type,null,r,null,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,$a(e,t,a,r,i,o))}return a=e.child,i<o&&(i=a.memoizedProps,(n=null!==(n=n.compare)?n:Ur)(i,r)&&e.ref===t.ref)?Ja(e,t,o):(t.effectTag|=1,(e=Vl(a,r)).ref=t.ref,e.return=t,t.child=e)}function $a(e,t,n,r,i,o){return null!==e&&Ur(e.memoizedProps,r)&&e.ref===t.ref&&(Da=!1,i<o)?(t.expirationTime=e.expirationTime,Ja(e,t,o)):Ba(e,t,n,r,o)}function Ra(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Ba(e,t,n,r,i){var o=bi(n)?gi:mi.current;return o=yi(t,o),ao(t,i),n=Zo(e,t,n,r,o,i),null===e||Da?(t.effectTag|=1,La(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Ja(e,t,i))}function Va(e,t,n,r,i){if(bi(n)){var o=!0;xi(t)}else o=!1;if(ao(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),ko(t,n,r),To(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;u="object"==typeof u&&null!==u?so(u):yi(t,u=bi(n)?gi:mi.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==u)&&xo(t,a,r,u),lo=!1;var f=t.memoizedState;a.state=f,mo(t,r,a,i),l=t.memoizedState,s!==r||f!==l||vi.current||lo?("function"==typeof c&&(bo(t,n,c,r),l=t.memoizedState),(s=lo||Eo(t,n,s,r,f,l,u))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,co(e,t),s=t.memoizedProps,a.props=t.type===t.elementType?s:Zi(t.type,s),l=a.context,u="object"==typeof(u=n.contextType)&&null!==u?so(u):yi(t,u=bi(n)?gi:mi.current),(d="function"==typeof(c=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==u)&&xo(t,a,r,u),lo=!1,l=t.memoizedState,a.state=l,mo(t,r,a,i),f=t.memoizedState,s!==r||l!==f||vi.current||lo?("function"==typeof c&&(bo(t,n,c,r),f=t.memoizedState),(c=lo||Eo(t,n,s,r,l,f,u))?(d||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,u),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,u)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=u,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),r=!1);return za(e,t,n,r,o,i)}function za(e,t,n,r,i,o){Ra(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return i&&Ti(t,n,!1),Ja(e,t,o);r=t.stateNode,Pa.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=No(t,e.child,null,o),t.child=No(t,null,s,o)):La(e,t,s,o),t.memoizedState=r.state,i&&Ti(t,n,!0),t.child}function Ua(e){var t=e.stateNode;t.pendingContext?Ei(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ei(0,t.context,!1),_o(e,t.containerInfo)}var Ka,Ha,Wa,qa,Qa={dehydrated:null,retryTime:0};function Ga(e,t,n){var r,i=t.mode,o=t.pendingProps,a=Bo.current,s=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&a)&&(null===e||null!==e.memoizedState)),r?(s=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),pi(Bo,1&a),null===e){if(void 0!==o.fallback&&Na(t),s){if(s=o.fallback,(o=Ul(null,i,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=Ul(s,i,n,null)).return=t,o.sibling=n,t.memoizedState=Qa,t.child=o,n}return i=o.children,t.memoizedState=null,t.child=Io(t,null,i,n)}if(null!==e.memoizedState){if(i=(e=e.child).sibling,s){if(o=o.fallback,(n=Vl(e,e.pendingProps)).return=t,0==(2&t.mode)&&(s=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=s;null!==s;)s.return=n,s=s.sibling;return(i=Vl(i,o)).return=t,n.sibling=i,n.childExpirationTime=0,t.memoizedState=Qa,t.child=n,i}return n=No(t,e.child,o.children,n),t.memoizedState=null,t.child=n}if(e=e.child,s){if(s=o.fallback,(o=Ul(null,i,0,null)).return=t,o.child=e,null!==e&&(e.return=o),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=Ul(s,i,n,null)).return=t,o.sibling=n,n.effectTag|=2,o.childExpirationTime=0,t.memoizedState=Qa,t.child=o,n}return t.memoizedState=null,t.child=No(t,e,o.children,n)}function Ya(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),oo(e.return,t)}function Xa(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=i,a.lastEffect=o)}function Za(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(La(e,t,r.children,n),0!=(2&(r=Bo.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ya(e,n);else if(19===e.tag)Ya(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(pi(Bo,r),0==(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Vo(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Xa(t,!1,i,n,o,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Vo(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Xa(t,!0,n,null,o,t.lastEffect);break;case"together":Xa(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Ja(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&El(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Vl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Vl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function es(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ts(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return bi(t.type)&&wi(),null;case 3:return jo(),fi(vi),fi(mi),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Ma(t)||(t.effectTag|=4),Ha(t),null;case 5:Ro(t),n=Lo(Do.current);var o=t.type;if(null!==e&&null!=t.stateNode)Wa(e,t,o,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Lo(Fo.current),Ma(t)){r=t.stateNode,o=t.type;var s=t.memoizedProps;switch(r[An]=t,r[Nn]=s,o){case"iframe":case"object":case"embed":Wt("load",r);break;case"video":case"audio":for(e=0;e<Ge.length;e++)Wt(Ge[e],r);break;case"source":Wt("error",r);break;case"img":case"image":case"link":Wt("error",r),Wt("load",r);break;case"form":Wt("reset",r),Wt("submit",r);break;case"details":Wt("toggle",r);break;case"input":xe(r,s),Wt("invalid",r),sn(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Wt("invalid",r),sn(n,"onChange");break;case"textarea":Me(r,s),Wt("invalid",r),sn(n,"onChange")}for(var l in rn(o,s),e=null,s)if(s.hasOwnProperty(l)){var u=s[l];"children"===l?"string"==typeof u?r.textContent!==u&&(e=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(e=["children",""+u]):T.hasOwnProperty(l)&&null!=u&&sn(n,l)}switch(o){case"input":we(r),Se(r,s,!0);break;case"textarea":we(r),Pe(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=ln)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(l=9===n.nodeType?n:n.ownerDocument,e===an&&(e=De(o)),e===an?"script"===o?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(o,{is:r.is}):(e=l.createElement(o),"select"===o&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,o),e[An]=t,e[Nn]=r,Ka(e,t,!1,!1),t.stateNode=e,l=on(o,r),o){case"iframe":case"object":case"embed":Wt("load",e),u=r;break;case"video":case"audio":for(u=0;u<Ge.length;u++)Wt(Ge[u],e);u=r;break;case"source":Wt("error",e),u=r;break;case"img":case"image":case"link":Wt("error",e),Wt("load",e),u=r;break;case"form":Wt("reset",e),Wt("submit",e),u=r;break;case"details":Wt("toggle",e),u=r;break;case"input":xe(e,r),u=ke(e,r),Wt("invalid",e),sn(n,"onChange");break;case"option":u=Ae(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},u=i({},r,{value:void 0}),Wt("invalid",e),sn(n,"onChange");break;case"textarea":Me(e,r),u=Ie(e,r),Wt("invalid",e),sn(n,"onChange");break;default:u=r}rn(o,u);var c=u;for(s in c)if(c.hasOwnProperty(s)){var d=c[s];"style"===s?tn(e,d):"dangerouslySetInnerHTML"===s?null!=(d=d?d.__html:void 0)&&$e(e,d):"children"===s?"string"==typeof d?("textarea"!==o||""!==d)&&Re(e,d):"number"==typeof d&&Re(e,""+d):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(T.hasOwnProperty(s)?null!=d&&sn(n,s):null!=d&&X(e,s,d,l))}switch(o){case"input":we(e),Se(e,r,!1);break;case"textarea":we(e),Pe(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ye(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Ne(e,!!r.multiple,n,!1):null!=r.defaultValue&&Ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof u.onClick&&(e.onclick=ln)}En(o,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)qa(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=Lo(Do.current),Lo(Fo.current),Ma(t)?(n=t.stateNode,r=t.memoizedProps,n[An]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[An]=t,t.stateNode=n)}return null;case 13:return fi(Bo),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Ma(t):(r=null!==(o=e.memoizedState),n||null===o||null!==(o=e.child.sibling)&&(null!==(s=t.firstEffect)?(t.firstEffect=o,o.nextEffect=s):(t.firstEffect=t.lastEffect=o,o.nextEffect=null),o.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Bo.current)?Vs===Ms&&(Vs=Ds):(Vs!==Ms&&Vs!==Ds||(Vs=Ls),0!==Ws&&null!==$s&&(Ql($s,Bs),Gl($s,Ws)))),(n||r)&&(t.effectTag|=4),null);case 4:return jo(),Ha(t),null;case 10:return io(t),null;case 19:if(fi(Bo),null===(r=t.memoizedState))return null;if(o=0!=(64&t.effectTag),null===(s=r.rendering)){if(o)es(r,!1);else if(Vs!==Ms||null!==e&&0!=(64&e.effectTag))for(s=t.child;null!==s;){if(null!==(e=Vo(s))){for(t.effectTag|=64,es(r,!1),null!==(o=e.updateQueue)&&(t.updateQueue=o,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)s=n,(o=r).effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(e=o.alternate)?(o.childExpirationTime=0,o.expirationTime=s,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=e.childExpirationTime,o.expirationTime=e.expirationTime,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,s=e.dependencies,o.dependencies=null===s?null:{expirationTime:s.expirationTime,firstContext:s.firstContext,responders:s.responders}),r=r.sibling;return pi(Bo,1&Bo.current|2),t.child}s=s.sibling}}else{if(!o)if(null!==(e=Vo(s))){if(t.effectTag|=64,o=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),es(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ui()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,o=!0,es(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Ui()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ui(),n.sibling=null,t=Bo.current,pi(Bo,o?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function ns(e){switch(e.tag){case 1:bi(e.type)&&wi();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(jo(),fi(vi),fi(mi),0!=(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Ro(e),null;case 13:return fi(Bo),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return fi(Bo),null;case 4:return jo(),null;case 10:return io(e),null;default:return null}}function rs(e,t){return{value:e,source:t,stack:ge(t)}}Ka=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ha=function(){},Wa=function(e,t,n,r,o){var a=e.memoizedProps;if(a!==r){var s,l,u=t.stateNode;switch(Lo(Fo.current),e=null,n){case"input":a=ke(u,a),r=ke(u,r),e=[];break;case"option":a=Ae(u,a),r=Ae(u,r),e=[];break;case"select":a=i({},a,{value:void 0}),r=i({},r,{value:void 0}),e=[];break;case"textarea":a=Ie(u,a),r=Ie(u,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(u.onclick=ln)}for(s in rn(n,r),n=null,a)if(!r.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s)for(l in u=a[s])u.hasOwnProperty(l)&&(n||(n={}),n[l]="");else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(T.hasOwnProperty(s)?e||(e=[]):(e=e||[]).push(s,null));for(s in r){var c=r[s];if(u=null!=a?a[s]:void 0,r.hasOwnProperty(s)&&c!==u&&(null!=c||null!=u))if("style"===s)if(u){for(l in u)!u.hasOwnProperty(l)||c&&c.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in c)c.hasOwnProperty(l)&&u[l]!==c[l]&&(n||(n={}),n[l]=c[l])}else n||(e||(e=[]),e.push(s,n)),n=c;else"dangerouslySetInnerHTML"===s?(c=c?c.__html:void 0,u=u?u.__html:void 0,null!=c&&u!==c&&(e=e||[]).push(s,c)):"children"===s?u===c||"string"!=typeof c&&"number"!=typeof c||(e=e||[]).push(s,""+c):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(T.hasOwnProperty(s)?(null!=c&&sn(o,s),e||u===c||(e=[])):(e=e||[]).push(s,c))}n&&(e=e||[]).push("style",n),o=e,(t.updateQueue=o)&&(t.effectTag|=4)}},qa=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var is="function"==typeof WeakSet?WeakSet:Set;function os(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ge(n)),null!==n&&ve(n.type),t=t.value,null!==e&&1===e.tag&&ve(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function as(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Pl(e,t)}else t.current=null}function ss(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 3:case 5:case 6:case 4:case 17:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Zi(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return}throw Error(a(163))}function ls(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function us(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function cs(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void us(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:Zi(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&vo(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}vo(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&En(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Lt(n)))))}throw Error(a(163))}function ds(e,t,n){switch("function"==typeof jl&&jl(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Wi(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var i=t;try{n()}catch(e){Pl(i,e)}}e=e.next}while(e!==r)}))}break;case 1:as(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Pl(e,t)}}(t,n);break;case 5:as(t);break;case 4:gs(e,t,n)}}function fs(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&fs(t)}function ps(e){return 5===e.tag||3===e.tag||4===e.tag}function hs(e){e:{for(var t=e.return;null!==t;){if(ps(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(Re(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ps(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?ms(e,n,t):vs(e,n,t)}function ms(e,t,n){var r=e.tag,i=5===r||6===r;if(i)e=i?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=ln));else if(4!==r&&null!==(e=e.child))for(ms(e,t,n),e=e.sibling;null!==e;)ms(e,t,n),e=e.sibling}function vs(e,t,n){var r=e.tag,i=5===r||6===r;if(i)e=i?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(vs(e,t,n),e=e.sibling;null!==e;)vs(e,t,n),e=e.sibling}function gs(e,t,n){for(var r,i,o=t,s=!1;;){if(!s){s=o.return;e:for(;;){if(null===s)throw Error(a(160));switch(r=s.stateNode,s.tag){case 5:i=!1;break e;case 3:case 4:r=r.containerInfo,i=!0;break e}s=s.return}s=!0}if(5===o.tag||6===o.tag){e:for(var l=e,u=o,c=n,d=u;;)if(ds(l,d,c),null!==d.child&&4!==d.tag)d.child.return=d,d=d.child;else{if(d===u)break e;for(;null===d.sibling;){if(null===d.return||d.return===u)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}i?(l=r,u=o.stateNode,8===l.nodeType?l.parentNode.removeChild(u):l.removeChild(u)):r.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,i=!0,o.child.return=o,o=o.child;continue}}else if(ds(e,o,n),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(s=!1)}o.sibling.return=o.return,o=o.sibling}}function ys(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void ls(3,t);case 1:case 12:case 17:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[Nn]=r,"input"===e&&"radio"===r.type&&null!=r.name&&Te(n,r),on(e,i),t=on(e,r),i=0;i<o.length;i+=2){var s=o[i],l=o[i+1];"style"===s?tn(n,l):"dangerouslySetInnerHTML"===s?$e(n,l):"children"===s?Re(n,l):X(n,s,l,t)}switch(e){case"input":Oe(n,r);break;case"textarea":Fe(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Ne(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Ne(n,!!r.multiple,r.defaultValue,!0):Ne(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Lt(t.containerInfo)));case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Qs=Ui()),null!==n)e:for(e=n;;){if(5===e.tag)o=e.stateNode,r?"function"==typeof(o=o.style).setProperty?o.setProperty("display","none","important"):o.display="none":(o=e.stateNode,i=null!=(i=e.memoizedProps.style)&&i.hasOwnProperty("display")?i.display:null,o.style.display=en("display",i));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(o=e.child.sibling).return=e,e=o;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void bs(t);case 19:return void bs(t)}throw Error(a(163))}function bs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new is),t.forEach((function(t){var r=Ll.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var ws="function"==typeof WeakMap?WeakMap:Map;function Es(e,t,n){(n=fo(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Xs||(Xs=!0,Zs=r),os(e,t)},n}function ks(e,t,n){(n=fo(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return os(e,t),r(i)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Js?Js=new Set([this]):Js.add(this),os(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var xs,Ts=Math.ceil,Os=Y.ReactCurrentDispatcher,Ss=Y.ReactCurrentOwner,Cs=0,As=8,Ns=16,Is=32,Ms=0,Fs=1,Ps=2,Ds=3,Ls=4,_s=5,js=Cs,$s=null,Rs=null,Bs=0,Vs=Ms,zs=null,Us=1073741823,Ks=1073741823,Hs=null,Ws=0,qs=!1,Qs=0,Gs=500,Ys=null,Xs=!1,Zs=null,Js=null,el=!1,tl=null,nl=90,rl=null,il=0,ol=null,al=0;function sl(){return(js&(Ns|Is))!==Cs?1073741821-(Ui()/10|0):0!==al?al:al=1073741821-(Ui()/10|0)}function ll(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=Ki();if(0==(4&t))return 99===r?1073741823:1073741822;if((js&Ns)!==Cs)return Bs;if(null!==n)e=Xi(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Xi(e,150,100);break;case 97:case 96:e=Xi(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==$s&&e===Bs&&--e,e}function ul(e,t){if(50<il)throw il=0,ol=null,Error(a(185));if(null!==(e=cl(e,t))){var n=Ki();1073741823===t?(js&As)!==Cs&&(js&(Ns|Is))===Cs?hl(e):(fl(e),js===Cs&&Gi()):fl(e),(4&js)===Cs||98!==n&&99!==n||(null===rl?rl=new Map([[e,t]]):(void 0===(n=rl.get(e))||n>t)&&rl.set(e,t))}}function cl(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,i=null;if(null===r&&3===e.tag)i=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){i=r.stateNode;break}r=r.return}return null!==i&&($s===i&&(El(t),Vs===Ls&&Ql(i,Bs)),Gl(i,t)),i}function dl(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!ql(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function fl(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Qi(hl.bind(null,e));else{var t=dl(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=sl();if(r=1073741823===t?99:1===t||2===t?95:0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var i=e.callbackPriority;if(e.callbackExpirationTime===t&&i>=r)return;n!==_i&&Ci(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Qi(hl.bind(null,e)):qi(r,pl.bind(null,e),{timeout:10*(1073741821-t)-Ui()}),e.callbackNode=t}}}function pl(e,t){if(al=0,t)return Yl(e,t=sl()),fl(e),null;var n=dl(e);if(0!==n){if(t=e.callbackNode,(js&(Ns|Is))!==Cs)throw Error(a(327));if(Il(),e===$s&&n===Bs||gl(e,n),null!==Rs){var r=js;js|=Ns;for(var i=bl();;)try{xl();break}catch(t){yl(e,t)}if(ro(),js=r,Os.current=i,Vs===Fs)throw t=zs,gl(e,n),Ql(e,n),fl(e),t;if(null===Rs)switch(i=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Vs,$s=null,r){case Ms:case Fs:throw Error(a(345));case Ps:Yl(e,2<n?2:n);break;case Ds:if(Ql(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=Sl(i)),1073741823===Us&&10<(i=Qs+Gs-Ui())){if(qs){var o=e.lastPingedTime;if(0===o||o>=n){e.lastPingedTime=n,gl(e,n);break}}if(0!==(o=dl(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=xn(Cl.bind(null,e),i);break}Cl(e);break;case Ls:if(Ql(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=Sl(i)),qs&&(0===(i=e.lastPingedTime)||i>=n)){e.lastPingedTime=n,gl(e,n);break}if(0!==(i=dl(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Ks?r=10*(1073741821-Ks)-Ui():1073741823===Us?r=0:(r=10*(1073741821-Us)-5e3,0>(r=(i=Ui())-r)&&(r=0),(n=10*(1073741821-n)-i)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ts(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=xn(Cl.bind(null,e),r);break}Cl(e);break;case _s:if(1073741823!==Us&&null!==Hs){o=Us;var s=Hs;if(0>=(r=0|s.busyMinDurationMs)?r=0:(i=0|s.busyDelayMs,r=(o=Ui()-(10*(1073741821-o)-(0|s.timeoutMs||5e3)))<=i?0:i+r-o),10<r){Ql(e,n),e.timeoutHandle=xn(Cl.bind(null,e),r);break}}Cl(e);break;default:throw Error(a(329))}if(fl(e),e.callbackNode===t)return pl.bind(null,e)}}return null}function hl(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,(js&(Ns|Is))!==Cs)throw Error(a(327));if(Il(),e===$s&&t===Bs||gl(e,t),null!==Rs){var n=js;js|=Ns;for(var r=bl();;)try{kl();break}catch(t){yl(e,t)}if(ro(),js=n,Os.current=r,Vs===Fs)throw n=zs,gl(e,t),Ql(e,t),fl(e),n;if(null!==Rs)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,$s=null,Cl(e),fl(e)}return null}function ml(e,t){var n=js;js|=1;try{return e(t)}finally{(js=n)===Cs&&Gi()}}function vl(e,t){var n=js;js&=-2,js|=As;try{return e(t)}finally{(js=n)===Cs&&Gi()}}function gl(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Tn(n)),null!==Rs)for(n=Rs.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&wi();break;case 3:jo(),fi(vi),fi(mi);break;case 5:Ro(r);break;case 4:jo();break;case 13:case 19:fi(Bo);break;case 10:io(r)}n=n.return}$s=e,Rs=Vl(e.current,null),Bs=t,Vs=Ms,zs=null,Ks=Us=1073741823,Hs=null,Ws=0,qs=!1}function yl(e,t){for(;;){try{if(ro(),Uo.current=wa,Go)for(var n=Wo.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Ho=0,Qo=qo=Wo=null,Go=!1,null===Rs||null===Rs.return)return Vs=Fs,zs=t,Rs=null;e:{var i=e,o=Rs.return,a=Rs,s=t;if(t=Bs,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var l=s;if(0==(2&a.mode)){var u=a.alternate;u?(a.updateQueue=u.updateQueue,a.memoizedState=u.memoizedState,a.expirationTime=u.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var c=0!=(1&Bo.current),d=o;do{var f;if(f=13===d.tag){var p=d.memoizedState;if(null!==p)f=null!==p.dehydrated;else{var h=d.memoizedProps;f=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!c)}}if(f){var m=d.updateQueue;if(null===m){var v=new Set;v.add(l),d.updateQueue=v}else m.add(l);if(0==(2&d.mode)){if(d.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var g=fo(1073741823,null);g.tag=2,po(a,g)}a.expirationTime=1073741823;break e}s=void 0,a=t;var y=i.pingCache;if(null===y?(y=i.pingCache=new ws,s=new Set,y.set(l,s)):void 0===(s=y.get(l))&&(s=new Set,y.set(l,s)),!s.has(a)){s.add(a);var b=Dl.bind(null,i,l,a);l.then(b,b)}d.effectTag|=4096,d.expirationTime=t;break e}d=d.return}while(null!==d);s=Error((ve(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ge(a))}Vs!==_s&&(Vs=Ps),s=rs(s,a),d=o;do{switch(d.tag){case 3:l=s,d.effectTag|=4096,d.expirationTime=t,ho(d,Es(d,l,t));break e;case 1:l=s;var w=d.type,E=d.stateNode;if(0==(64&d.effectTag)&&("function"==typeof w.getDerivedStateFromError||null!==E&&"function"==typeof E.componentDidCatch&&(null===Js||!Js.has(E)))){d.effectTag|=4096,d.expirationTime=t,ho(d,ks(d,l,t));break e}}d=d.return}while(null!==d)}Rs=Ol(Rs)}catch(e){t=e;continue}break}}function bl(){var e=Os.current;return Os.current=wa,null===e?wa:e}function wl(e,t){e<Us&&2<e&&(Us=e),null!==t&&e<Ks&&2<e&&(Ks=e,Hs=t)}function El(e){e>Ws&&(Ws=e)}function kl(){for(;null!==Rs;)Rs=Tl(Rs)}function xl(){for(;null!==Rs&&!ji();)Rs=Tl(Rs)}function Tl(e){var t=xs(e.alternate,e,Bs);return e.memoizedProps=e.pendingProps,null===t&&(t=Ol(e)),Ss.current=null,t}function Ol(e){Rs=e;do{var t=Rs.alternate;if(e=Rs.return,0==(2048&Rs.effectTag)){if(t=ts(t,Rs,Bs),1===Bs||1!==Rs.childExpirationTime){for(var n=0,r=Rs.child;null!==r;){var i=r.expirationTime,o=r.childExpirationTime;i>n&&(n=i),o>n&&(n=o),r=r.sibling}Rs.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Rs.firstEffect),null!==Rs.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Rs.firstEffect),e.lastEffect=Rs.lastEffect),1<Rs.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Rs:e.firstEffect=Rs,e.lastEffect=Rs))}else{if(null!==(t=ns(Rs)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Rs.sibling))return t;Rs=e}while(null!==Rs);return Vs===Ms&&(Vs=_s),null}function Sl(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function Cl(e){var t=Ki();return Wi(99,Al.bind(null,e,t)),null}function Al(e,t){do{Il()}while(null!==tl);if((js&(Ns|Is))!==Cs)throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=Sl(n);if(e.firstPendingTime=i,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===$s&&(Rs=$s=null,Bs=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var o=js;js|=Is,Ss.current=null,bn=Ht;var s=pn();if(hn(s)){if("selectionStart"in s)var l={start:s.selectionStart,end:s.selectionEnd};else e:{var u=(l=(l=s.ownerDocument)&&l.defaultView||window).getSelection&&l.getSelection();if(u&&0!==u.rangeCount){l=u.anchorNode;var c=u.anchorOffset,d=u.focusNode;u=u.focusOffset;try{l.nodeType,d.nodeType}catch(e){l=null;break e}var f=0,p=-1,h=-1,m=0,v=0,g=s,y=null;t:for(;;){for(var b;g!==l||0!==c&&3!==g.nodeType||(p=f+c),g!==d||0!==u&&3!==g.nodeType||(h=f+u),3===g.nodeType&&(f+=g.nodeValue.length),null!==(b=g.firstChild);)y=g,g=b;for(;;){if(g===s)break t;if(y===l&&++m===c&&(p=f),y===d&&++v===u&&(h=f),null!==(b=g.nextSibling))break;y=(g=y).parentNode}g=b}l=-1===p||-1===h?null:{start:p,end:h}}else l=null}l=l||{start:0,end:0}}else l=null;wn={activeElementDetached:null,focusedElem:s,selectionRange:l},Ht=!1,Ys=i;do{try{Nl()}catch(e){if(null===Ys)throw Error(a(330));Pl(Ys,e),Ys=Ys.nextEffect}}while(null!==Ys);Ys=i;do{try{for(s=e,l=t;null!==Ys;){var w=Ys.effectTag;if(16&w&&Re(Ys.stateNode,""),128&w){var E=Ys.alternate;if(null!==E){var k=E.ref;null!==k&&("function"==typeof k?k(null):k.current=null)}}switch(1038&w){case 2:hs(Ys),Ys.effectTag&=-3;break;case 6:hs(Ys),Ys.effectTag&=-3,ys(Ys.alternate,Ys);break;case 1024:Ys.effectTag&=-1025;break;case 1028:Ys.effectTag&=-1025,ys(Ys.alternate,Ys);break;case 4:ys(Ys.alternate,Ys);break;case 8:gs(s,c=Ys,l),fs(c)}Ys=Ys.nextEffect}}catch(e){if(null===Ys)throw Error(a(330));Pl(Ys,e),Ys=Ys.nextEffect}}while(null!==Ys);if(k=wn,E=pn(),w=k.focusedElem,l=k.selectionRange,E!==w&&w&&w.ownerDocument&&fn(w.ownerDocument.documentElement,w)){null!==l&&hn(w)&&(E=l.start,void 0===(k=l.end)&&(k=E),"selectionStart"in w?(w.selectionStart=E,w.selectionEnd=Math.min(k,w.value.length)):(k=(E=w.ownerDocument||document)&&E.defaultView||window).getSelection&&(k=k.getSelection(),c=w.textContent.length,s=Math.min(l.start,c),l=void 0===l.end?s:Math.min(l.end,c),!k.extend&&s>l&&(c=l,l=s,s=c),c=dn(w,s),d=dn(w,l),c&&d&&(1!==k.rangeCount||k.anchorNode!==c.node||k.anchorOffset!==c.offset||k.focusNode!==d.node||k.focusOffset!==d.offset)&&((E=E.createRange()).setStart(c.node,c.offset),k.removeAllRanges(),s>l?(k.addRange(E),k.extend(d.node,d.offset)):(E.setEnd(d.node,d.offset),k.addRange(E))))),E=[];for(k=w;k=k.parentNode;)1===k.nodeType&&E.push({element:k,left:k.scrollLeft,top:k.scrollTop});for("function"==typeof w.focus&&w.focus(),w=0;w<E.length;w++)(k=E[w]).element.scrollLeft=k.left,k.element.scrollTop=k.top}Ht=!!bn,wn=bn=null,e.current=n,Ys=i;do{try{for(w=e;null!==Ys;){var x=Ys.effectTag;if(36&x&&cs(w,Ys.alternate,Ys),128&x){E=void 0;var T=Ys.ref;if(null!==T){var O=Ys.stateNode;Ys.tag,E=O,"function"==typeof T?T(E):T.current=E}}Ys=Ys.nextEffect}}catch(e){if(null===Ys)throw Error(a(330));Pl(Ys,e),Ys=Ys.nextEffect}}while(null!==Ys);Ys=null,$i(),js=o}else e.current=n;if(el)el=!1,tl=e,nl=t;else for(Ys=i;null!==Ys;)t=Ys.nextEffect,Ys.nextEffect=null,Ys=t;if(0===(t=e.firstPendingTime)&&(Js=null),1073741823===t?e===ol?il++:(il=0,ol=e):il=0,"function"==typeof _l&&_l(n.stateNode,r),fl(e),Xs)throw Xs=!1,e=Zs,Zs=null,e;return(js&As)!==Cs||Gi(),null}function Nl(){for(;null!==Ys;){var e=Ys.effectTag;0!=(256&e)&&ss(Ys.alternate,Ys),0==(512&e)||el||(el=!0,qi(97,(function(){return Il(),null}))),Ys=Ys.nextEffect}}function Il(){if(90!==nl){var e=97<nl?97:nl;return nl=90,Wi(e,Ml)}}function Ml(){if(null===tl)return!1;var e=tl;if(tl=null,(js&(Ns|Is))!==Cs)throw Error(a(331));var t=js;for(js|=Is,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:ls(5,n),us(5,n)}}catch(t){if(null===e)throw Error(a(330));Pl(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return js=t,Gi(),!0}function Fl(e,t,n){po(e,t=Es(e,t=rs(n,t),1073741823)),null!==(e=cl(e,1073741823))&&fl(e)}function Pl(e,t){if(3===e.tag)Fl(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Fl(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Js||!Js.has(r))){po(n,e=ks(n,e=rs(t,e),1073741823)),null!==(n=cl(n,1073741823))&&fl(n);break}}n=n.return}}function Dl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),$s===e&&Bs===n?Vs===Ls||Vs===Ds&&1073741823===Us&&Ui()-Qs<Gs?gl(e,Bs):qs=!0:ql(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,fl(e)))}function Ll(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(t=ll(t=sl(),e,null)),null!==(e=cl(e,t))&&fl(e)}xs=function(e,t,n){var r=t.expirationTime;if(null!==e){var i=t.pendingProps;if(e.memoizedProps!==i||vi.current)Da=!0;else{if(r<n){switch(Da=!1,t.tag){case 3:Ua(t),Fa();break;case 5:if($o(t),4&t.mode&&1!==n&&i.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:bi(t.type)&&xi(t);break;case 4:_o(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,i=t.type._context,pi(Ji,i._currentValue),i._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Ga(e,t,n):(pi(Bo,1&Bo.current),null!==(t=Ja(e,t,n))?t.sibling:null);pi(Bo,1&Bo.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return Za(e,t,n);t.effectTag|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null),pi(Bo,Bo.current),!r)return null}return Ja(e,t,n)}Da=!1}}else Da=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=yi(t,mi.current),ao(t,n),i=Zo(null,t,r,e,i,n),t.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,bi(r)){var o=!0;xi(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,uo(t);var s=r.getDerivedStateFromProps;"function"==typeof s&&bo(t,r,s,e),i.updater=wo,t.stateNode=i,i._reactInternalFiber=t,To(t,r,e,n),t=za(null,t,r,!0,o,n)}else t.tag=0,La(null,t,i,n),t=t.child;return t;case 16:e:{if(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(i),1!==i._status)throw i._result;switch(i=i._result,t.type=i,o=t.tag=function(e){if("function"==typeof e)return Bl(e)?1:0;if(null!=e){if((e=e.$$typeof)===le)return 11;if(e===de)return 14}return 2}(i),e=Zi(i,e),o){case 0:t=Ba(null,t,i,e,n);break e;case 1:t=Va(null,t,i,e,n);break e;case 11:t=_a(null,t,i,e,n);break e;case 14:t=ja(null,t,i,Zi(i.type,e),r,n);break e}throw Error(a(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,Ba(e,t,r,i=t.elementType===r?i:Zi(r,i),n);case 1:return r=t.type,i=t.pendingProps,Va(e,t,r,i=t.elementType===r?i:Zi(r,i),n);case 3:if(Ua(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,co(e,t),mo(t,r,null,n),(r=t.memoizedState.element)===i)Fa(),t=Ja(e,t,n);else{if((i=t.stateNode.hydrate)&&(Oa=On(t.stateNode.containerInfo.firstChild),Ta=t,i=Sa=!0),i)for(n=Io(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else La(e,t,r,n),Fa();t=t.child}return t;case 5:return $o(t),null===e&&Na(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,kn(r,i)?s=null:null!==o&&kn(r,o)&&(t.effectTag|=16),Ra(e,t),4&t.mode&&1!==n&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(La(e,t,s,n),t=t.child),t;case 6:return null===e&&Na(t),null;case 13:return Ga(e,t,n);case 4:return _o(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=No(t,null,r,n):La(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,_a(e,t,r,i=t.elementType===r?i:Zi(r,i),n);case 7:return La(e,t,t.pendingProps,n),t.child;case 8:case 12:return La(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value;var l=t.type._context;if(pi(Ji,l._currentValue),l._currentValue=o,null!==s)if(l=s.value,0==(o=Vr(l,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,o):1073741823))){if(s.children===i.children&&!vi.current){t=Ja(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var u=l.dependencies;if(null!==u){s=l.child;for(var c=u.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&o)){1===l.tag&&((c=fo(n,null)).tag=2,po(l,c)),l.expirationTime<n&&(l.expirationTime=n),null!==(c=l.alternate)&&c.expirationTime<n&&(c.expirationTime=n),oo(l.return,n),u.expirationTime<n&&(u.expirationTime=n);break}c=c.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}La(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,ao(t,n),r=r(i=so(i,o.unstable_observedBits)),t.effectTag|=1,La(e,t,r,n),t.child;case 14:return o=Zi(i=t.type,t.pendingProps),ja(e,t,i,o=Zi(i.type,o),r,n);case 15:return $a(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Zi(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,bi(r)?(e=!0,xi(t)):e=!1,ao(t,n),ko(t,r,i),To(t,r,i,n),za(null,t,r,!0,e,n);case 19:return Za(e,t,n)}throw Error(a(156,t.tag))};var _l=null,jl=null;function $l(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Rl(e,t,n,r){return new $l(e,t,n,r)}function Bl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Vl(e,t){var n=e.alternate;return null===n?((n=Rl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function zl(e,t,n,r,i,o){var s=2;if(r=e,"function"==typeof e)Bl(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case ne:return Ul(n.children,i,o,t);case se:s=8,i|=7;break;case re:s=8,i|=1;break;case ie:return(e=Rl(12,n,t,8|i)).elementType=ie,e.type=ie,e.expirationTime=o,e;case ue:return(e=Rl(13,n,t,i)).type=ue,e.elementType=ue,e.expirationTime=o,e;case ce:return(e=Rl(19,n,t,i)).elementType=ce,e.expirationTime=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case oe:s=10;break e;case ae:s=9;break e;case le:s=11;break e;case de:s=14;break e;case fe:s=16,r=null;break e;case pe:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Rl(s,n,t,i)).elementType=e,t.type=r,t.expirationTime=o,t}function Ul(e,t,n,r){return(e=Rl(7,e,r,t)).expirationTime=n,e}function Kl(e,t,n){return(e=Rl(6,e,null,t)).expirationTime=n,e}function Hl(e,t,n){return(t=Rl(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Wl(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function ql(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Ql(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Gl(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Yl(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Xl(e,t,n,r){var i=t.current,o=sl(),s=go.suspense;o=ll(o,i,s);e:if(n){t:{if(Ze(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(bi(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var u=n.type;if(bi(u)){n=ki(n,u,l);break e}}n=l}else n=hi;return null===t.context?t.context=n:t.pendingContext=n,(t=fo(o,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),po(i,t),ul(i,o),o}function Zl(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Jl(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function eu(e,t){Jl(e,t),(e=e.alternate)&&Jl(e,t)}function tu(e,t,n){var r=new Wl(e,t,n=null!=n&&!0===n.hydrate),i=Rl(3,null,null,2===t?7:1===t?3:0);r.current=i,i.stateNode=r,uo(i),e[In]=r.current,n&&0!==t&&function(e,t){var n=Xe(t);Ot.forEach((function(e){pt(e,t,n)})),St.forEach((function(e){pt(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function nu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ru(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o._internalRoot;if("function"==typeof i){var s=i;i=function(){var e=Zl(a);s.call(e)}}Xl(t,a,e,i)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new tu(e,0,t?{hydrate:!0}:void 0)}(n,r),a=o._internalRoot,"function"==typeof i){var l=i;i=function(){var e=Zl(a);l.call(e)}}vl((function(){Xl(t,a,e,i)}))}return Zl(a)}function iu(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!nu(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}tu.prototype.render=function(e){Xl(e,this._internalRoot,null,null)},tu.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Xl(null,e,null,(function(){t[In]=null}))},ht=function(e){if(13===e.tag){var t=Xi(sl(),150,100);ul(e,t),eu(e,t)}},mt=function(e){13===e.tag&&(ul(e,3),eu(e,3))},vt=function(e){if(13===e.tag){var t=sl();ul(e,t=ll(t,e,null)),eu(e,t)}},A=function(e,t,n){switch(t){case"input":if(Oe(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Dn(r);if(!i)throw Error(a(90));Ee(r),Oe(r,i)}}}break;case"textarea":Fe(e,n);break;case"select":null!=(t=n.value)&&Ne(e,!!n.multiple,t,!1)}},D=ml,L=function(e,t,n,r,i){var o=js;js|=4;try{return Wi(98,e.bind(null,t,n,r,i))}finally{(js=o)===Cs&&Gi()}},_=function(){(js&(1|Ns|Is))===Cs&&(function(){if(null!==rl){var e=rl;rl=null,e.forEach((function(e,t){Yl(t,e),fl(t)})),Gi()}}(),Il())},j=function(e,t){var n=js;js|=2;try{return e(t)}finally{(js=n)===Cs&&Gi()}};var ou={Events:[Fn,Pn,Dn,S,x,Vn,function(e){rt(e,Bn)},F,P,Yt,at,Il,{current:!1}]};!function(e){var t=e.findFiberByHostInstance;!function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);_l=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},jl=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(i({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Y.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=tt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:Mn,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ou,t.createPortal=iu,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return null===(e=tt(t))?null:e.stateNode},t.flushSync=function(e,t){if((js&(Ns|Is))!==Cs)throw Error(a(187));var n=js;js|=1;try{return Wi(99,e.bind(null,t))}finally{js=n,Gi()}},t.hydrate=function(e,t,n){if(!nu(t))throw Error(a(200));return ru(null,e,t,!0,n)},t.render=function(e,t,n){if(!nu(t))throw Error(a(200));return ru(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!nu(e))throw Error(a(40));return!!e._reactRootContainer&&(vl((function(){ru(null,null,e,!1,(function(){e._reactRootContainer=null,e[In]=null}))})),!0)},t.unstable_batchedUpdates=ml,t.unstable_createPortal=function(e,t){return iu(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!nu(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return ru(e,t,n,!1,r)},t.version="16.14.0"},961:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(2551)},2799:(e,t)=>{"use strict";var n=60103,r=60106,i=60107,o=60108,a=60114,s=60109,l=60110,u=60112,c=60113,d=60120,f=60115,p=60116;if("function"==typeof Symbol&&Symbol.for){var h=Symbol.for;n=h("react.element"),r=h("react.portal"),i=h("react.fragment"),o=h("react.strict_mode"),a=h("react.profiler"),s=h("react.provider"),l=h("react.context"),u=h("react.forward_ref"),c=h("react.suspense"),d=h("react.suspense_list"),f=h("react.memo"),p=h("react.lazy"),h("react.block"),h("react.server.block"),h("react.fundamental"),h("react.debug_trace_mode"),h("react.legacy_hidden")}t.isContextConsumer=function(e){return function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case a:case o:case c:case d:return e;default:switch(e=e&&e.$$typeof){case l:case u:case p:case f:case s:return e;default:return t}}case r:return t}}}(e)===l}},4363:(e,t,n)=>{"use strict";e.exports=n(2799)},1458:(e,t,n)=>{"use strict";n.d(t,{t:()=>o});var r=n(2427),i=n.n(r),o=/^(262|61)$/.test(n.j)?i().createContext(null):null},9904:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(2427),i=n.n(r),o=n(1458),a=n(8661),s=n(4595);const l=/^(262|61)$/.test(n.j)?function(e){var t=e.store,n=e.context,l=e.children,u=(0,r.useMemo)((function(){var e=(0,a.K)(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),c=(0,r.useMemo)((function(){return t.getState()}),[t]);(0,s.E)((function(){var e=u.subscription;return e.trySubscribe(),c!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[u,c]);var d=n||o.t;return i().createElement(d.Provider,{value:u},l)}:null},6778:(e,t,n)=>{"use strict";function r(e){return function(t,n){var r=e(t,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function i(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function o(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=i(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=i(o),o=r(t,n)),o},r}}n.d(t,{Qb:()=>o,o6:()=>r})},6338:(e,t,n)=>{"use strict";n(1458),n(387)},387:(e,t,n)=>{"use strict";n(2427),n(1458),n(3769)},8661:(e,t,n)=>{"use strict";if(n.d(t,{K:()=>o}),/^(262|61)$/.test(n.j))var r=n(8298);var i={notify:function(){},get:function(){return[]}};function o(e,t){var n,o=i;function a(){l.onStateChange&&l.onStateChange()}function s(){var i,s,l;n||(n=t?t.addNestedSub(a):e.subscribe(a),i=(0,r.f)(),s=null,l=null,o={clear:function(){s=null,l=null},notify:function(){i((function(){for(var e=s;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],t=s;t;)e.push(t),t=t.next;return e},subscribe:function(e){var t=!0,n=l={callback:e,next:null,prev:l};return n.prev?n.prev.next=n:s=n,function(){t&&null!==s&&(t=!1,n.next?n.next.prev=n.prev:l=n.prev,n.prev?n.prev.next=n.next:s=n.next)}}})}var l={addNestedSub:function(e){return s(),o.subscribe(e)},notifyNestedSubs:function(){o.notify()},handleChangeWrapper:a,isSubscribed:function(){return Boolean(n)},trySubscribe:s,tryUnsubscribe:function(){n&&(n(),n=void 0,o.clear(),o=i)},getListeners:function(){return o}};return l}},8298:(e,t,n)=>{"use strict";n.d(t,{d:()=>i,f:()=>o});var r=/^(262|61)$/.test(n.j)?function(e){e()}:null,i=function(e){return r=e},o=function(){return r}},7684:(e,t,n)=>{"use strict";function r(e,t){var n={},r=function(r){var i=e[r];"function"==typeof i&&(n[r]=function(){return t(i.apply(void 0,arguments))})};for(var i in e)r(i);return n}n.d(t,{A:()=>r})},2724:(e,t,n)=>{"use strict";n.d(t,{r:()=>r.unstable_batchedUpdates});var r=n(6931)},9124:(e,t,n)=>{"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function i(e,t){if(r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var o=0;o<n.length;o++)if(!Object.prototype.hasOwnProperty.call(t,n[o])||!r(e[n[o]],t[n[o]]))return!1;return!0}n.d(t,{A:()=>i})},4595:(e,t,n)=>{"use strict";n.d(t,{E:()=>i});var r=n(2427),i="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect},1663:(e,t,n)=>{"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=u(n(2427)),o=u(n(5556)),a=u(n(2312)),s=u(n(7241)),l=n(554);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}l.nameShape.isRequired,o.default.bool,o.default.bool,o.default.bool,(0,l.transitionTimeout)("Appear"),(0,l.transitionTimeout)("Enter"),(0,l.transitionTimeout)("Leave");var d=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),l=0;l<o;l++)a[l]=arguments[l];return n=r=c(this,e.call.apply(e,[this].concat(a))),r._wrapChild=function(e){return i.default.createElement(s.default,{name:r.props.transitionName,appear:r.props.transitionAppear,enter:r.props.transitionEnter,leave:r.props.transitionLeave,appearTimeout:r.props.transitionAppearTimeout,enterTimeout:r.props.transitionEnterTimeout,leaveTimeout:r.props.transitionLeaveTimeout},e)},c(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){return i.default.createElement(a.default,r({},this.props,{childFactory:this._wrapChild}))},t}(i.default.Component);d.displayName="CSSTransitionGroup",d.propTypes={},d.defaultProps={transitionAppear:!1,transitionEnter:!0,transitionLeave:!0},t.default=d,e.exports=t.default},7241:(e,t,n)=>{"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=f(n(2963)),o=f(n(788)),a=f(n(4602)),s=n(4002),l=f(n(2427)),u=f(n(5556)),c=n(6931),d=n(554);function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var h=[];s.transitionEnd&&h.push(s.transitionEnd),s.animationEnd&&h.push(s.animationEnd),u.default.node,d.nameShape.isRequired,u.default.bool,u.default.bool,u.default.bool,u.default.number,u.default.number,u.default.number;var m=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=p(this,e.call.apply(e,[this].concat(o))),r.componentWillAppear=function(e){r.props.appear?r.transition("appear",e,r.props.appearTimeout):e()},r.componentWillEnter=function(e){r.props.enter?r.transition("enter",e,r.props.enterTimeout):e()},r.componentWillLeave=function(e){r.props.leave?r.transition("leave",e,r.props.leaveTimeout):e()},p(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){this.classNameAndNodeQueue=[],this.transitionTimeouts=[]},t.prototype.componentWillUnmount=function(){this.unmounted=!0,this.timeout&&clearTimeout(this.timeout),this.transitionTimeouts.forEach((function(e){clearTimeout(e)})),this.classNameAndNodeQueue.length=0},t.prototype.transition=function(e,t,n){var r=(0,c.findDOMNode)(this);if(r){var a=this.props.name[e]||this.props.name+"-"+e,l=this.props.name[e+"Active"]||a+"-active",u=null,d=void 0;(0,i.default)(r,a),this.queueClassAndNode(l,r);var f=function(e){e&&e.target!==r||(clearTimeout(u),d&&d(),(0,o.default)(r,a),(0,o.default)(r,l),d&&d(),t&&t())};n?(u=setTimeout(f,n),this.transitionTimeouts.push(u)):s.transitionEnd&&(d=function(e,t){return h.length?h.forEach((function(n){return e.addEventListener(n,t,!1)})):setTimeout(t,0),function(){h.length&&h.forEach((function(n){return e.removeEventListener(n,t,!1)}))}}(r,f))}else t&&t()},t.prototype.queueClassAndNode=function(e,t){var n=this;this.classNameAndNodeQueue.push({className:e,node:t}),this.rafHandle||(this.rafHandle=(0,a.default)((function(){return n.flushClassNameAndNodeQueue()})))},t.prototype.flushClassNameAndNodeQueue=function(){this.unmounted||this.classNameAndNodeQueue.forEach((function(e){e.node.scrollTop,(0,i.default)(e.node,e.className)})),this.classNameAndNodeQueue.length=0,this.rafHandle=null},t.prototype.render=function(){var e=r({},this.props);return delete e.name,delete e.appear,delete e.enter,delete e.leave,delete e.appearTimeout,delete e.enterTimeout,delete e.leaveTimeout,delete e.children,l.default.cloneElement(l.default.Children.only(this.props.children),e)},t}(l.default.Component);m.displayName="CSSTransitionGroupChild",m.propTypes={},t.default=m,e.exports=t.default},2312:(e,t,n)=>{"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=l(n(5533)),o=l(n(2427)),a=l(n(5556)),s=(l(n(8610)),n(2958));function l(e){return e&&e.__esModule?e:{default:e}}a.default.any,a.default.func,a.default.node;var u=function(e){function t(n,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n,i));return o.performAppear=function(e,t){o.currentlyTransitioningKeys[e]=!0,t.componentWillAppear?t.componentWillAppear(o._handleDoneAppearing.bind(o,e,t)):o._handleDoneAppearing(e,t)},o._handleDoneAppearing=function(e,t){t.componentDidAppear&&t.componentDidAppear(),delete o.currentlyTransitioningKeys[e];var n=(0,s.getChildMapping)(o.props.children);n&&n.hasOwnProperty(e)||o.performLeave(e,t)},o.performEnter=function(e,t){o.currentlyTransitioningKeys[e]=!0,t.componentWillEnter?t.componentWillEnter(o._handleDoneEntering.bind(o,e,t)):o._handleDoneEntering(e,t)},o._handleDoneEntering=function(e,t){t.componentDidEnter&&t.componentDidEnter(),delete o.currentlyTransitioningKeys[e];var n=(0,s.getChildMapping)(o.props.children);n&&n.hasOwnProperty(e)||o.performLeave(e,t)},o.performLeave=function(e,t){o.currentlyTransitioningKeys[e]=!0,t.componentWillLeave?t.componentWillLeave(o._handleDoneLeaving.bind(o,e,t)):o._handleDoneLeaving(e,t)},o._handleDoneLeaving=function(e,t){t.componentDidLeave&&t.componentDidLeave(),delete o.currentlyTransitioningKeys[e];var n=(0,s.getChildMapping)(o.props.children);n&&n.hasOwnProperty(e)?o.keysToEnter.push(e):o.setState((function(t){var n=r({},t.children);return delete n[e],{children:n}}))},o.childRefs=Object.create(null),o.state={children:(0,s.getChildMapping)(n.children)},o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){this.currentlyTransitioningKeys={},this.keysToEnter=[],this.keysToLeave=[]},t.prototype.componentDidMount=function(){var e=this.state.children;for(var t in e)e[t]&&this.performAppear(t,this.childRefs[t])},t.prototype.componentWillReceiveProps=function(e){var t=(0,s.getChildMapping)(e.children),n=this.state.children;for(var r in this.setState({children:(0,s.mergeChildMappings)(n,t)}),t){var i=n&&n.hasOwnProperty(r);!t[r]||i||this.currentlyTransitioningKeys[r]||this.keysToEnter.push(r)}for(var o in n){var a=t&&t.hasOwnProperty(o);!n[o]||a||this.currentlyTransitioningKeys[o]||this.keysToLeave.push(o)}},t.prototype.componentDidUpdate=function(){var e=this,t=this.keysToEnter;this.keysToEnter=[],t.forEach((function(t){return e.performEnter(t,e.childRefs[t])}));var n=this.keysToLeave;this.keysToLeave=[],n.forEach((function(t){return e.performLeave(t,e.childRefs[t])}))},t.prototype.render=function(){var e=this,t=[],n=function(n){var r=e.state.children[n];if(r){var a="string"!=typeof r.ref,s=e.props.childFactory(r),l=function(t){e.childRefs[n]=t};s===r&&a&&(l=(0,i.default)(r.ref,l)),t.push(o.default.cloneElement(s,{key:n,ref:l}))}};for(var a in this.state.children)n(a);var s=r({},this.props);return delete s.transitionLeave,delete s.transitionName,delete s.transitionAppear,delete s.transitionEnter,delete s.childFactory,delete s.transitionLeaveTimeout,delete s.transitionEnterTimeout,delete s.transitionAppearTimeout,delete s.component,o.default.createElement(this.props.component,s,t)},t}(o.default.Component);u.displayName="TransitionGroup",u.propTypes={},u.defaultProps={component:"span",childFactory:function(e){return e}},t.default=u,e.exports=t.default},8610:e=>{"use strict";e.exports=function(){}},2958:(e,t,n)=>{"use strict";t.__esModule=!0,t.getChildMapping=function(e){if(!e)return e;var t={};return r.Children.map(e,(function(e){return e})).forEach((function(e){t[e.key]=e})),t},t.mergeChildMappings=function(e,t){function n(n){return t.hasOwnProperty(n)?t[n]:e[n]}e=e||{},t=t||{};var r={},i=[];for(var o in e)t.hasOwnProperty(o)?i.length&&(r[o]=i,i=[]):i.push(o);var a=void 0,s={};for(var l in t){if(r.hasOwnProperty(l))for(a=0;a<r[l].length;a++){var u=r[l][a];s[r[l][a]]=n(u)}s[l]=n(l)}for(a=0;a<i.length;a++)s[i[a]]=n(i[a]);return s};var r=n(2427)},554:(e,t,n)=>{"use strict";t.__esModule=!0,t.nameShape=void 0,t.transitionTimeout=function(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(null==e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!=typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}},i(n(2427));var r=i(n(5556));function i(e){return e&&e.__esModule?e:{default:e}}t.nameShape=r.default.oneOfType([r.default.string,r.default.shape({enter:r.default.string,leave:r.default.string,active:r.default.string}),r.default.shape({enter:r.default.string,enterActive:r.default.string,leave:r.default.string,leaveActive:r.default.string,appear:r.default.string,appearActive:r.default.string})])},5287:(e,t,n)=>{"use strict";var r=n(5228),i="function"==typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,l=i?Symbol.for("react.strict_mode"):60108,u=i?Symbol.for("react.profiler"):60114,c=i?Symbol.for("react.provider"):60109,d=i?Symbol.for("react.context"):60110,f=i?Symbol.for("react.forward_ref"):60112,p=i?Symbol.for("react.suspense"):60113,h=i?Symbol.for("react.memo"):60115,m=i?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function g(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function w(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}function E(){}function k(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}w.prototype.isReactComponent={},w.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(g(85));this.updater.enqueueSetState(this,e,t,"setState")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},E.prototype=w.prototype;var x=k.prototype=new E;x.constructor=k,r(x,w.prototype),x.isPureReactComponent=!0;var T={current:null},O=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,n){var r,i={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)O.call(t,r)&&!S.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===i[r]&&(i[r]=l[r]);return{$$typeof:o,type:e,key:a,ref:s,props:i,_owner:T.current}}function A(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var N=/\/+/g,I=[];function M(e,t,n,r){if(I.length){var i=I.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function F(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>I.length&&I.push(e)}function P(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var s=!1;if(null===e)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case o:case a:s=!0}}if(s)return n(r,e,""===t?"."+L(e,0):t),1;if(s=0,t=""===t?".":t+":",Array.isArray(e))for(var l=0;l<e.length;l++){var u=t+L(i=e[l],l);s+=P(i,u,n,r)}else if("function"==typeof(u=null===e||"object"!=typeof e?null:"function"==typeof(u=v&&e[v]||e["@@iterator"])?u:null))for(e=u.call(e),l=0;!(i=e.next()).done;)s+=P(i=i.value,u=t+L(i,l++),n,r);else if("object"===i)throw n=""+e,Error(g(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return s}function D(e,t,n){return null==e?0:P(e,"",t,n)}function L(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function _(e,t){e.func.call(e.context,t,e.count++)}function j(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?$(e,r,n,(function(e){return e})):null!=e&&(A(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(N,"$&/")+"/")+n)),r.push(e))}function $(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(N,"$&/")+"/"),D(e,j,t=M(t,o,r,i)),F(t)}var R={current:null};function B(){var e=R.current;if(null===e)throw Error(g(321));return e}var V={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:T,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return $(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;D(e,_,t=M(null,null,t,n)),F(t)},count:function(e){return D(e,(function(){return null}),null)},toArray:function(e){var t=[];return $(e,t,null,(function(e){return e})),t},only:function(e){if(!A(e))throw Error(g(143));return e}},t.Component=w,t.Fragment=s,t.Profiler=u,t.PureComponent=k,t.StrictMode=l,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V,t.cloneElement=function(e,t,n){if(null==e)throw Error(g(267,e));var i=r({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=T.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)O.call(t,c)&&!S.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){u=Array(c);for(var d=0;d<c;d++)u[d]=arguments[d+2];i.children=u}return{$$typeof:o,type:e.type,key:a,ref:s,props:i,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:f,render:e}},t.isValidElement=A,t.lazy=function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return B().useCallback(e,t)},t.useContext=function(e,t){return B().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return B().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return B().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return B().useLayoutEffect(e,t)},t.useMemo=function(e,t){return B().useMemo(e,t)},t.useReducer=function(e,t,n){return B().useReducer(e,t,n)},t.useRef=function(e){return B().useRef(e)},t.useState=function(e){return B().useState(e)},t.version="16.14.0"},6540:(e,t,n)=>{"use strict";e.exports=n(5287)},7463:(e,t)=>{"use strict";var n,r,i,o,a;if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,l=null,u=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(e){throw setTimeout(u,0),e}},c=Date.now();t.unstable_now=function(){return Date.now()-c},n=function(e){null!==s?setTimeout(n,0,e):(s=e,setTimeout(u,0))},r=function(e,t){l=setTimeout(e,t)},i=function(){clearTimeout(l)},o=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,f=window.Date,p=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var m=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var v=f.now();t.unstable_now=function(){return f.now()-v}}var g=!1,y=null,b=-1,w=5,E=0;o=function(){return t.unstable_now()>=E},a=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<e?Math.floor(1e3/e):5};var k=new MessageChannel,x=k.port2;k.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();E=e+w;try{y(!0,e)?x.postMessage(null):(g=!1,y=null)}catch(e){throw x.postMessage(null),e}}else g=!1},n=function(e){y=e,g||(g=!0,x.postMessage(null))},r=function(e,n){b=p((function(){e(t.unstable_now())}),n)},i=function(){h(b),b=-1}}function T(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<C(i,t)))break e;e[r]=t,e[n]=i,n=r}}function O(e){return void 0===(e=e[0])?null:e}function S(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var o=2*(r+1)-1,a=e[o],s=o+1,l=e[s];if(void 0!==a&&0>C(a,n))void 0!==l&&0>C(l,a)?(e[r]=l,e[s]=n,r=s):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==l&&0>C(l,n)))break e;e[r]=l,e[s]=n,r=s}}}return t}return null}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var A=[],N=[],I=1,M=null,F=3,P=!1,D=!1,L=!1;function _(e){for(var t=O(N);null!==t;){if(null===t.callback)S(N);else{if(!(t.startTime<=e))break;S(N),t.sortIndex=t.expirationTime,T(A,t)}t=O(N)}}function j(e){if(L=!1,_(e),!D)if(null!==O(A))D=!0,n($);else{var t=O(N);null!==t&&r(j,t.startTime-e)}}function $(e,n){D=!1,L&&(L=!1,i()),P=!0;var a=F;try{for(_(n),M=O(A);null!==M&&(!(M.expirationTime>n)||e&&!o());){var s=M.callback;if(null!==s){M.callback=null,F=M.priorityLevel;var l=s(M.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?M.callback=l:M===O(A)&&S(A),_(n)}else S(A);M=O(A)}if(null!==M)var u=!0;else{var c=O(N);null!==c&&r(j,c.startTime-n),u=!1}return u}finally{M=null,F=a,P=!1}}function R(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var B=a;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){D||P||(D=!0,n($))},t.unstable_getCurrentPriorityLevel=function(){return F},t.unstable_getFirstCallbackNode=function(){return O(A)},t.unstable_next=function(e){switch(F){case 1:case 2:case 3:var t=3;break;default:t=F}var n=F;F=t;try{return e()}finally{F=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=B,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=F;F=e;try{return t()}finally{F=n}},t.unstable_scheduleCallback=function(e,o,a){var s=t.unstable_now();if("object"==typeof a&&null!==a){var l=a.delay;l="number"==typeof l&&0<l?s+l:s,a="number"==typeof a.timeout?a.timeout:R(e)}else a=R(e),l=s;return e={id:I++,callback:o,priorityLevel:e,startTime:l,expirationTime:a=l+a,sortIndex:-1},l>s?(e.sortIndex=l,T(N,e),null===O(A)&&e===O(N)&&(L?i():L=!0,r(j,l-s))):(e.sortIndex=a,T(A,e),D||P||(D=!0,n($))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();_(e);var n=O(A);return n!==M&&null!==M&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<M.expirationTime||o()},t.unstable_wrapCallback=function(e){var t=F;return function(){var n=F;F=t;try{return e.apply(this,arguments)}finally{F=n}}}},9982:(e,t,n)=>{"use strict";e.exports=n(7463)},9054:(e,t,n)=>{"use strict";n.r(t),n.d(t,{focusable:()=>b,isFocusable:()=>k,isTabbable:()=>w,tabbable:()=>y});var r=/^(125|61)$/.test(n.j)?["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"]:null,i=/^(125|61)$/.test(n.j)?r.join(","):null,o="undefined"==typeof Element,a=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,s=!o&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},l=function(e,t,n){var r=Array.prototype.slice.apply(e.querySelectorAll(i));return t&&a.call(e,i)&&r.unshift(e),r.filter(n)},u=function e(t,n,r){for(var o=[],s=Array.from(t);s.length;){var l=s.shift();if("SLOT"===l.tagName){var u=l.assignedElements(),c=e(u.length?u:l.children,!0,r);r.flatten?o.push.apply(o,c):o.push({scope:l,candidates:c})}else{a.call(l,i)&&r.filter(l)&&(n||!t.includes(l))&&o.push(l);var d=l.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(l),f=!r.shadowRootFilter||r.shadowRootFilter(l);if(d&&f){var p=e(!0===d?l.children:d.children,!0,r);r.flatten?o.push.apply(o,p):o.push({scope:l,candidates:p})}else s.unshift.apply(s,l.children)}}return o},c=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},d=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},f=function(e){return"INPUT"===e.tagName},p=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},h=function(e,t){return!(t.disabled||function(e){return f(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var i=a.call(e,"details>summary:first-of-type")?e.parentElement:e;if(a.call(i,"details:not([open]) *"))return!0;var o=s(e).host,l=(null==o?void 0:o.ownerDocument.contains(o))||e.ownerDocument.contains(e);if(n&&"full"!==n){if("non-zero-area"===n)return p(e)}else{if("function"==typeof r){for(var u=e;e;){var c=e.parentElement,d=s(e);if(c&&!c.shadowRoot&&!0===r(c))return p(e);e=e.assignedSlot?e.assignedSlot:c||d===e.ownerDocument?c:d.host}e=u}if(l)return!e.getClientRects().length}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!a.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},m=function(e,t){return!(function(e){return function(e){return f(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||s(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var i=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!i||i===e}(e)}(t)||c(t)<0||!h(e,t))},v=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},g=function e(t){var n=[],r=[];return t.forEach((function(t,i){var o=!!t.scope,a=o?t.scope:t,s=c(a,o),l=o?e(t.candidates):a;0===s?o?n.push.apply(n,l):n.push(a):r.push({documentOrder:i,tabIndex:s,item:t,isScope:o,content:l})})),r.sort(d).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},y=function(e,t){var n;return n=(t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:m.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:v}):l(e,t.includeContainer,m.bind(null,t)),g(n)},b=function(e,t){return(t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:h.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):l(e,t.includeContainer,h.bind(null,t))},w=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,i)&&m(t,e)},E=/^(125|61)$/.test(n.j)?r.concat("iframe").join(","):null,k=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,E)&&h(t,e)}},7381:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>De});var r=n(7310),i=n(6979),o=n(3341),a=n(5128),s=n(1206),l=n(571),u=n(844),c=n(5581),d={placement:"bottom",modifiers:[],strategy:"absolute"};function f(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function p(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,p=void 0===n?[]:n,h=t.defaultOptions,m=void 0===h?d:h;return function(e,t,n){void 0===n&&(n=m);var h={placement:"bottom",orderedModifiers:[],options:Object.assign({},d,m),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},v=[],g=!1,y={state:h,setOptions:function(n){var r="function"==typeof n?n(h.options):n;b(),h.options=Object.assign({},m,h.options,r),h.scrollParents={reference:(0,c.vq)(e)?(0,o.A)(e):e.contextElement?(0,o.A)(e.contextElement):[],popper:(0,o.A)(t)};var i=(0,s.A)((0,u.A)([].concat(p,h.options.modifiers)));return h.orderedModifiers=i.filter((function(e){return e.enabled})),h.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var o=i({state:h,name:t,instance:y,options:r});v.push(o||function(){})}})),y.update()},forceUpdate:function(){if(!g){var e=h.elements,t=e.reference,n=e.popper;if(f(t,n)){h.rects={reference:(0,r.A)(t,(0,a.A)(n),"fixed"===h.options.strategy),popper:(0,i.A)(n)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach((function(e){return h.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<h.orderedModifiers.length;o++)if(!0!==h.reset){var s=h.orderedModifiers[o],l=s.fn,u=s.options,c=void 0===u?{}:u,d=s.name;"function"==typeof l&&(h=l({state:h,options:c,name:d,instance:y})||h)}else h.reset=!1,o=-1}}},update:(0,l.A)((function(){return new Promise((function(e){y.forceUpdate(),e(h)}))})),destroy:function(){b(),g=!0}};if(!f(e,t))return y;function b(){v.forEach((function(e){return e()})),v=[]}return y.setOptions(n).then((function(e){!g&&n.onFirstUpdate&&n.onFirstUpdate(e)})),y}}var h=n(8979),m={passive:!0};const v={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,a=r.resize,s=void 0===a||a,l=(0,h.A)(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach((function(e){e.addEventListener("scroll",n.update,m)})),s&&l.addEventListener("resize",n.update,m),function(){o&&u.forEach((function(e){e.removeEventListener("scroll",n.update,m)})),s&&l.removeEventListener("resize",n.update,m)}},data:{}};var g=n(1815);const y={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=(0,g.A)({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var b=n(4278),w=n(9760),E=n(271),k=n(2632),x=n(8101),T=n(6906),O={top:"auto",right:"auto",bottom:"auto",left:"auto"};function S(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,s=e.offsets,l=e.position,u=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,f=e.isFixed,p=s.x,m=void 0===p?0:p,v=s.y,g=void 0===v?0:v,y="function"==typeof d?d({x:m,y:g}):{x:m,y:g};m=y.x,g=y.y;var k=s.hasOwnProperty("x"),x=s.hasOwnProperty("y"),S=b.kb,C=b.Mn,A=window;if(c){var N=(0,a.A)(n),I="clientHeight",M="clientWidth";N===(0,h.A)(n)&&(N=(0,w.A)(n),"static"!==(0,E.A)(N).position&&"absolute"===l&&(I="scrollHeight",M="scrollWidth")),(i===b.Mn||(i===b.kb||i===b.pG)&&o===b._N)&&(C=b.sQ,g-=(f&&A.visualViewport?A.visualViewport.height:N[I])-r.height,g*=u?1:-1),i!==b.kb&&(i!==b.Mn&&i!==b.sQ||o!==b._N)||(S=b.pG,m-=(f&&A.visualViewport?A.visualViewport.width:N[M])-r.width,m*=u?1:-1)}var F,P=Object.assign({position:l},c&&O),D=!0===d?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:(0,T.LI)(t*r)/r||0,y:(0,T.LI)(n*r)/r||0}}({x:m,y:g}):{x:m,y:g};return m=D.x,g=D.y,u?Object.assign({},P,((F={})[C]=x?"0":"",F[S]=k?"0":"",F.transform=(A.devicePixelRatio||1)<=1?"translate("+m+"px, "+g+"px)":"translate3d("+m+"px, "+g+"px, 0)",F)):Object.assign({},P,((t={})[C]=x?g+"px":"",t[S]=k?m+"px":"",t.transform="",t))}const C={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,u={placement:(0,k.A)(t.placement),variation:(0,x.A)(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,S(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,S(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var A=n(7604);const N={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];(0,c.sb)(i)&&(0,A.A)(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});(0,c.sb)(r)&&(0,A.A)(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},I={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,a=b.DD.reduce((function(e,n){return e[n]=function(e,t,n){var r=(0,k.A)(e),i=[b.kb,b.Mn].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[b.kb,b.pG].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e}),{}),s=a[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}};var M={left:"right",right:"left",bottom:"top",top:"bottom"};function F(e){return e.replace(/left|right|bottom|top/g,(function(e){return M[e]}))}var P={start:"end",end:"start"};function D(e){return e.replace(/start|end/g,(function(e){return P[e]}))}var L=n(9913);const _={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,v=t.options.placement,g=(0,k.A)(v),y=l||(g!==v&&h?function(e){if((0,k.A)(e)===b.qZ)return[];var t=F(e);return[D(e),t,D(t)]}(v):[F(v)]),w=[v].concat(y).reduce((function(e,n){return e.concat((0,k.A)(n)===b.qZ?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?b.DD:l,c=(0,x.A)(r),d=c?s?b.Ol:b.Ol.filter((function(e){return(0,x.A)(e)===c})):b.OM,f=d.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=(0,L.A)(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[(0,k.A)(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),E=t.rects.reference,T=t.rects.popper,O=new Map,S=!0,C=w[0],A=0;A<w.length;A++){var N=w[A],I=(0,k.A)(N),M=(0,x.A)(N)===b.ni,P=[b.Mn,b.sQ].indexOf(I)>=0,_=P?"width":"height",j=(0,L.A)(t,{placement:N,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),$=P?M?b.pG:b.kb:M?b.sQ:b.Mn;E[_]>T[_]&&($=F($));var R=F($),B=[];if(o&&B.push(j[I]<=0),s&&B.push(j[$]<=0,j[R]<=0),B.every((function(e){return e}))){C=N,S=!1;break}O.set(N,B)}if(S)for(var V=function(e){var t=w.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},z=h?3:1;z>0&&"break"!==V(z);z--);t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};var j=n(9703);function $(e,t,n){return(0,T.T9)(e,(0,T.jk)(t,n))}var R=n(7364);const B={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,s=void 0===o||o,l=n.altAxis,u=void 0!==l&&l,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.padding,h=n.tether,m=void 0===h||h,v=n.tetherOffset,g=void 0===v?0:v,y=(0,L.A)(t,{boundary:c,rootBoundary:d,padding:p,altBoundary:f}),w=(0,k.A)(t.placement),E=(0,x.A)(t.placement),O=!E,S=(0,j.A)(w),C="x"===S?"y":"x",A=t.modifiersData.popperOffsets,N=t.rects.reference,I=t.rects.popper,M="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,F="number"==typeof M?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,D={x:0,y:0};if(A){if(s){var _,B="y"===S?b.Mn:b.kb,V="y"===S?b.sQ:b.pG,z="y"===S?"height":"width",U=A[S],K=U+y[B],H=U-y[V],W=m?-I[z]/2:0,q=E===b.ni?N[z]:I[z],Q=E===b.ni?-I[z]:-N[z],G=t.elements.arrow,Y=m&&G?(0,i.A)(G):{width:0,height:0},X=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:(0,R.A)(),Z=X[B],J=X[V],ee=$(0,N[z],Y[z]),te=O?N[z]/2-W-ee-Z-F.mainAxis:q-ee-Z-F.mainAxis,ne=O?-N[z]/2+W+ee+J+F.mainAxis:Q+ee+J+F.mainAxis,re=t.elements.arrow&&(0,a.A)(t.elements.arrow),ie=re?"y"===S?re.clientTop||0:re.clientLeft||0:0,oe=null!=(_=null==P?void 0:P[S])?_:0,ae=U+te-oe-ie,se=U+ne-oe,le=$(m?(0,T.jk)(K,ae):K,U,m?(0,T.T9)(H,se):H);A[S]=le,D[S]=le-U}if(u){var ue,ce="x"===S?b.Mn:b.kb,de="x"===S?b.sQ:b.pG,fe=A[C],pe="y"===C?"height":"width",he=fe+y[ce],me=fe-y[de],ve=-1!==[b.Mn,b.kb].indexOf(w),ge=null!=(ue=null==P?void 0:P[C])?ue:0,ye=ve?he:fe-N[pe]-I[pe]-ge+F.altAxis,be=ve?fe+N[pe]+I[pe]-ge-F.altAxis:me,we=m&&ve?function(e,t,n){var r=$(e,t,n);return r>n?n:r}(ye,fe,be):$(m?ye:he,fe,m?be:me);A[C]=we,D[C]=we-fe}t.modifiersData[r]=D}},requiresIfExists:["offset"]};var V=n(5446),z=n(4318),U=n(1007);function K(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function H(e){return[b.Mn,b.pG,b.sQ,b.kb].some((function(t){return e[t]>=0}))}var W=p({defaultModifiers:[v,y,C,N,I,_,B,{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,s=n.elements.arrow,l=n.modifiersData.popperOffsets,u=(0,k.A)(n.placement),c=(0,j.A)(u),d=[b.kb,b.pG].indexOf(u)>=0?"height":"width";if(s&&l){var f=function(e,t){return e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,(0,z.A)("number"!=typeof e?e:(0,U.A)(e,b.OM))}(o.padding,n),p=(0,i.A)(s),h="y"===c?b.Mn:b.kb,m="y"===c?b.sQ:b.pG,v=n.rects.reference[d]+n.rects.reference[c]-l[c]-n.rects.popper[d],g=l[c]-n.rects.reference[c],y=(0,a.A)(s),w=y?"y"===c?y.clientHeight||0:y.clientWidth||0:0,E=v/2-g/2,x=f[h],T=w-p[d]-f[m],O=w/2-p[d]/2+E,S=$(x,O,T),C=c;n.modifiersData[r]=((t={})[C]=S,t.centerOffset=S-O,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&(0,V.A)(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=(0,L.A)(t,{elementContext:"reference"}),s=(0,L.A)(t,{altBoundary:!0}),l=K(a,r),u=K(s,i,o),c=H(l),d=H(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]}),q="tippy-content",Q="tippy-backdrop",G="tippy-arrow",Y="tippy-svg-arrow",X={passive:!0,capture:!0},Z=function(){return document.body};function J(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function ee(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function te(e,t){return"function"==typeof e?e.apply(void 0,t):e}function ne(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function re(e){return[].concat(e)}function ie(e,t){-1===e.indexOf(t)&&e.push(t)}function oe(e){return[].slice.call(e)}function ae(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function se(){return document.createElement("div")}function le(e){return["Element","Fragment"].some((function(t){return ee(e,t)}))}function ue(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function ce(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function de(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function fe(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var pe={isTouch:!1},he=0;function me(){pe.isTouch||(pe.isTouch=!0,window.performance&&document.addEventListener("mousemove",ve))}function ve(){var e=performance.now();e-he<20&&(pe.isTouch=!1,document.removeEventListener("mousemove",ve)),he=e}function ge(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var n=t._tippy;t.blur&&!n.state.isVisible&&t.blur()}}var ye=!("undefined"==typeof window||"undefined"==typeof document||!window.msCrypto),be=Object.assign({appendTo:Z,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),we=Object.keys(be);function Ee(e){var t=(e.plugins||[]).reduce((function(t,n){var r,i=n.name,o=n.defaultValue;return i&&(t[i]=void 0!==e[i]?e[i]:null!=(r=be[i])?r:o),t}),{});return Object.assign({},e,t)}function ke(e,t){var n=Object.assign({},t,{content:te(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Ee(Object.assign({},be,{plugins:t}))):we).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},be.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}var xe=function(){return"innerHTML"};function Te(e,t){e[xe()]=t}function Oe(e){var t=se();return!0===e?t.className=G:(t.className=Y,le(e)?t.appendChild(e):Te(t,e)),t}function Se(e,t){le(t.content)?(Te(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Te(e,t.content):e.textContent=t.content)}function Ce(e){var t=e.firstElementChild,n=oe(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(q)})),arrow:n.find((function(e){return e.classList.contains(G)||e.classList.contains(Y)})),backdrop:n.find((function(e){return e.classList.contains(Q)}))}}function Ae(e){var t=se(),n=se();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=se();function i(n,r){var i=Ce(t),o=i.box,a=i.content,s=i.arrow;r.theme?o.setAttribute("data-theme",r.theme):o.removeAttribute("data-theme"),"string"==typeof r.animation?o.setAttribute("data-animation",r.animation):o.removeAttribute("data-animation"),r.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?o.setAttribute("role",r.role):o.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||Se(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(o.removeChild(s),o.appendChild(Oe(r.arrow))):o.appendChild(Oe(r.arrow)):s&&o.removeChild(s)}return r.className=q,r.setAttribute("data-state","hidden"),Se(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props),{popper:t,onUpdate:i}}Ae.$$tippy=!0;var Ne=1,Ie=[],Me=[];function Fe(e,t){var n,r,i,o,a,s,l,u,c=ke(e,Object.assign({},be,Ee(ae(t)))),d=!1,f=!1,p=!1,h=!1,m=[],v=ne(Q,c.interactiveDebounce),g=Ne++,y=(u=c.plugins).filter((function(e,t){return u.indexOf(e)===t})),b={id:g,reference:e,popper:se(),popperInstance:null,props:c,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(i)},setProps:function(t){if(!b.state.isDestroyed){P("onBeforeUpdate",[b,t]),H();var n=b.props,r=ke(e,Object.assign({},n,ae(t),{ignoreAttributes:!0}));b.props=r,K(),n.interactiveDebounce!==r.interactiveDebounce&&(_(),v=ne(Q,r.interactiveDebounce)),n.triggerTarget&&!r.triggerTarget?re(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded"),L(),F(),k&&k(n,r),b.popperInstance&&(he(),ve().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}))),P("onAfterUpdate",[b,t])}},setContent:function(e){b.setProps({content:e})},show:function(){var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=pe.isTouch&&!b.props.touch,i=J(b.props.duration,0,be.duration);if(!(e||t||n||r||A().hasAttribute("disabled")||(P("onShow",[b],!1),!1===b.props.onShow(b)))){if(b.state.isVisible=!0,C()&&(E.style.visibility="visible"),F(),B(),b.state.isMounted||(E.style.transition="none"),C()){var o=I();ue([o.box,o.content],0)}var a,l,u;s=function(){var e;if(b.state.isVisible&&!h){if(h=!0,E.offsetHeight,E.style.transition=b.props.moveTransition,C()&&b.props.animation){var t=I(),n=t.box,r=t.content;ue([n,r],i),ce([n,r],"visible")}D(),L(),ie(Me,b),null==(e=b.popperInstance)||e.forceUpdate(),P("onMount",[b]),b.props.animation&&C()&&function(e,t){z(e,(function(){b.state.isShown=!0,P("onShown",[b])}))}(i)}},l=b.props.appendTo,u=A(),(a=b.props.interactive&&l===Z||"parent"===l?u.parentNode:te(l,[u])).contains(E)||a.appendChild(E),b.state.isMounted=!0,he()}},hide:function(){var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=J(b.props.duration,1,be.duration);if(!(e||t||n)&&(P("onHide",[b],!1),!1!==b.props.onHide(b))){if(b.state.isVisible=!1,b.state.isShown=!1,h=!1,d=!1,C()&&(E.style.visibility="hidden"),_(),V(),F(!0),C()){var i=I(),o=i.box,a=i.content;b.props.animation&&(ue([o,a],r),ce([o,a],"hidden"))}D(),L(),b.props.animation?C()&&function(e,t){z(e,(function(){!b.state.isVisible&&E.parentNode&&E.parentNode.contains(E)&&t()}))}(r,b.unmount):b.unmount()}},hideWithInteractivity:function(e){N().addEventListener("mousemove",v),ie(Ie,v),v(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide(),b.state.isMounted&&(me(),ve().forEach((function(e){e._tippy.unmount()})),E.parentNode&&E.parentNode.removeChild(E),Me=Me.filter((function(e){return e!==b})),b.state.isMounted=!1,P("onHidden",[b]))},destroy:function(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),H(),delete e._tippy,b.state.isDestroyed=!0,P("onDestroy",[b]))}};if(!c.render)return b;var w=c.render(b),E=w.popper,k=w.onUpdate;E.setAttribute("data-tippy-root",""),E.id="tippy-"+b.id,b.popper=E,e._tippy=b,E._tippy=b;var x=y.map((function(e){return e.fn(b)})),T=e.hasAttribute("aria-expanded");return K(),L(),F(),P("onCreate",[b]),c.showOnCreate&&ge(),E.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),E.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&N().addEventListener("mousemove",v)})),b;function O(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function S(){return"hold"===O()[0]}function C(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function A(){return l||e}function N(){var e,t,n=A().parentNode;return n?null!=(t=re(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function I(){return Ce(E)}function M(e){return b.state.isMounted&&!b.state.isVisible||pe.isTouch||o&&"focus"===o.type?0:J(b.props.delay,e?0:1,be.delay)}function F(e){void 0===e&&(e=!1),E.style.pointerEvents=b.props.interactive&&!e?"":"none",E.style.zIndex=""+b.props.zIndex}function P(e,t,n){var r;void 0===n&&(n=!0),x.forEach((function(n){n[e]&&n[e].apply(n,t)})),n&&(r=b.props)[e].apply(r,t)}function D(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=E.id;re(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var i=t&&t.replace(r,"").trim();i?e.setAttribute(n,i):e.removeAttribute(n)}}))}}function L(){!T&&b.props.aria.expanded&&re(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===A()?"true":"false"):e.removeAttribute("aria-expanded")}))}function _(){N().removeEventListener("mousemove",v),Ie=Ie.filter((function(e){return e!==v}))}function j(t){if(!pe.isTouch||!p&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!fe(E,n)){if(re(b.props.triggerTarget||e).some((function(e){return fe(e,n)}))){if(pe.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else P("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),f=!0,setTimeout((function(){f=!1})),b.state.isMounted||V())}}}function $(){p=!0}function R(){p=!1}function B(){var e=N();e.addEventListener("mousedown",j,!0),e.addEventListener("touchend",j,X),e.addEventListener("touchstart",R,X),e.addEventListener("touchmove",$,X)}function V(){var e=N();e.removeEventListener("mousedown",j,!0),e.removeEventListener("touchend",j,X),e.removeEventListener("touchstart",R,X),e.removeEventListener("touchmove",$,X)}function z(e,t){var n=I().box;function r(e){e.target===n&&(de(n,"remove",r),t())}if(0===e)return t();de(n,"remove",a),de(n,"add",r),a=r}function U(t,n,r){void 0===r&&(r=!1),re(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})}))}function K(){var e;S()&&(U("touchstart",q,{passive:!0}),U("touchend",G,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(U(e,q),e){case"mouseenter":U("mouseleave",G);break;case"focus":U(ye?"focusout":"blur",Y);break;case"focusin":U("focusout",Y)}}))}function H(){m.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)})),m=[]}function q(e){var t,n=!1;if(b.state.isEnabled&&!le(e)&&!f){var r="focus"===(null==(t=o)?void 0:t.type);o=e,l=e.currentTarget,L(),!b.state.isVisible&&ee(e,"MouseEvent")&&Ie.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||d)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ge(e),"click"===e.type&&(d=!n),n&&!r&&we(e)}}function Q(e){var t=e.target,n=A().contains(t)||E.contains(t);if("mousemove"!==e.type||!n){var r=ve().concat(E).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:c}:null})).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,i=e.popperState,o=e.props.interactiveBorder,a=i.placement.split("-")[0],s=i.modifiersData.offset;if(!s)return!0;var l="bottom"===a?s.top.y:0,u="top"===a?s.bottom.y:0,c="right"===a?s.left.x:0,d="left"===a?s.right.x:0,f=t.top-r+l>o,p=r-t.bottom-u>o,h=t.left-n+c>o,m=n-t.right-d>o;return f||p||h||m}))})(r,e)&&(_(),we(e))}}function G(e){le(e)||b.props.trigger.indexOf("click")>=0&&d||(b.props.interactive?b.hideWithInteractivity(e):we(e))}function Y(e){b.props.trigger.indexOf("focusin")<0&&e.target!==A()||b.props.interactive&&e.relatedTarget&&E.contains(e.relatedTarget)||we(e)}function le(e){return!!pe.isTouch&&S()!==e.type.indexOf("touch")>=0}function he(){me();var t=b.props,n=t.popperOptions,r=t.placement,i=t.offset,o=t.getReferenceClientRect,a=t.moveTransition,l=C()?Ce(E).arrow:null,u=o?{getBoundingClientRect:o,contextElement:o.contextElement||A()}:e,c=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(C()){var n=I().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];C()&&l&&c.push({name:"arrow",options:{element:l,padding:3}}),c.push.apply(c,(null==n?void 0:n.modifiers)||[]),b.popperInstance=W(u,E,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:c}))}function me(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function ve(){return oe(E.querySelectorAll("[data-tippy-root]"))}function ge(e){b.clearDelayTimeouts(),e&&P("onTrigger",[b,e]),B();var t=M(!0),r=O(),i=r[0],o=r[1];pe.isTouch&&"hold"===i&&o&&(t=o),t?n=setTimeout((function(){b.show()}),t):b.show()}function we(e){if(b.clearDelayTimeouts(),P("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&d)){var t=M(!1);t?r=setTimeout((function(){b.state.isVisible&&b.hide()}),t):i=requestAnimationFrame((function(){b.hide()}))}}else V()}}function Pe(e,t){void 0===t&&(t={});var n=be.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",me,X),window.addEventListener("blur",ge);var r,i=Object.assign({},t,{plugins:n}),o=(r=e,le(r)?[r]:function(e){return ee(e,"NodeList")}(r)?oe(r):Array.isArray(r)?r:oe(document.querySelectorAll(r))).reduce((function(e,t){var n=t&&Fe(t,i);return n&&e.push(n),e}),[]);return le(e)?o[0]:o}Pe.defaultProps=be,Pe.setDefaultProps=function(e){Object.keys(e).forEach((function(t){be[t]=e[t]}))},Pe.currentInput=pe,Object.assign({},N,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),Pe.setDefaultProps({render:Ae});const De=Pe},9465:(e,t,n)=>{"use strict";n.d(t,{_:()=>o,y:()=>i});var r=n(2614);class i{chooserModalClass=r.ZZ;titleStateKey="title";editUrlStateKey="edit_url";constructor(e,t={}){this.opts=t,this.initHTMLElements(e),this.state=this.getStateFromHTML();for(const e of this.chooserElement.querySelectorAll("[data-chooser-action-choose]"))e.addEventListener("click",(()=>{this.openChooserModal()}));for(const e of this.chooserElement.querySelectorAll("[data-chooser-action-clear]"))e.addEventListener("click",(()=>{this.clear()}));this.chooserElement.widget=this}initHTMLElements(e){this.chooserElement=document.getElementById(`${e}-chooser`),this.titleElement=this.chooserElement.querySelector("[data-chooser-title]"),this.input=document.getElementById(e),this.editLink=this.chooserElement.querySelector("[data-chooser-edit-link]")}getStateFromHTML(){if(this.input.value){const e={id:this.input.value};return this.titleElement&&this.titleStateKey&&(e[this.titleStateKey]=this.titleElement.textContent),this.editLink&&this.editUrlStateKey&&(e[this.editUrlStateKey]=this.editLink.getAttribute("href")),e}return null}getState(){return this.state}getValue(){return this.state&&this.state.id}setState(e){this.state=e,e?this.renderState(e):this.renderEmptyState()}setStateFromModalData(e){this.setState(e)}clear(){this.setState(null)}renderEmptyState(){this.input.setAttribute("value",""),this.input.dispatchEvent(new Event("change",{bubbles:!0})),this.chooserElement.classList.add("blank")}renderState(e){if(this.input.setAttribute("value",e.id),this.input.dispatchEvent(new Event("change",{bubbles:!0})),this.titleElement&&this.titleStateKey&&(this.titleElement.textContent=e[this.titleStateKey]),this.chooserElement.classList.remove("blank"),this.editLink){const t=e[this.editUrlStateKey];t?(this.editLink.setAttribute("href",t),this.editLink.hidden=!1):this.editLink.hidden=!0}}getTextLabel(e){if(!this.state)return null;const t=this.state[this.titleStateKey];return e&&e.maxLength&&t.length>e.maxLength?t.substring(0,e.maxLength-1)+"…":t}focus(){this.chooserElement.querySelector("button").focus()}getModalOptions(){const e={};if(this.opts.linkedFields)for(const[t,n]of Object.entries(this.opts.linkedFields)){let r;if("string"==typeof n)r=document.querySelector(n).value;else if(n.id)r=document.getElementById(n.id).value;else if(n.selector)r=document.querySelector(n.selector).value;else if(n.match&&this.chooserElement.id){const e=this.chooserElement.id.match(new RegExp(n.match));if(e){let t=e[0];n.append&&(t+=n.append),r=document.getElementById(t).value}}r&&(e[t]=r)}return Object.keys(e).length?{linkedFieldFilters:e}:null}openChooserModal(){this.modal||(this.modal=new this.chooserModalClass(this.opts.modalUrl||this.chooserElement.dataset.chooserUrl)),this.modal.open(this.getModalOptions(),(e=>{this.setStateFromModalData(e)}))}}class o{widgetClass=i;chooserModalClass=r.ZZ;constructor(e,t,n={}){this.html=e,this.idPattern=t,this.opts=n}render(e,t,n,r){const i=this.html.replace(/__NAME__/g,t).replace(/__ID__/g,n);e.outerHTML=i;const o=new this.widgetClass(n,this.opts);return o.setState(r),o}getModalOptions(){return null}openModal(e,t){if(!this.modal){if(!this.opts.modalUrl)throw new Error("ChooserFactory must be passed a modalUrl option if openModal is used");this.modal=new this.chooserModalClass(this.opts.modalUrl)}const n={...this.getModalOptions(),...t};this.modal.open(n,e)}getById(e){return document.getElementById(`${e}-chooser`).widget}}},1596:(e,t,n)=>{"use strict";n.d(t,{qc:()=>d,b5:()=>f,Mn:()=>c,Ay:()=>p});var r=n(2427),i=n.n(r),o=n(4954),a=n(2833),s=n(1238);const l=new Intl.Collator(void 0,{usage:"search",sensitivity:"base",ignorePunctuation:!0}),u=(e,t,n)=>e.filter((e=>t(e).some((e=>e&&((e,t)=>{if(0===t.length)return!0;const n=e.normalize("NFC"),r=t.normalize("NFC");for(let e=0;e+r.length<=n.length;e+=1){const t=n.slice(e,e+r.length);if(0===l.compare(r,t))return!0}return!1})(e,n))))),c=(0,a.AP)("Insert a block"),d=(0,a.AP)("Search options…"),f=(0,a.AP)("No results");function p({label:e,placeholder:t,inputValue:n,items:a,getItemLabel:l,getItemDescription:c,getSearchFields:d,onSelect:f,noResultsText:p}){const h=!e,m=a.flatMap((e=>e.items||[])),[v,g]=(0,r.useState)(m),y=a.reduce(((e,t,n)=>t.label||0===n?[...e,{...t,items:t.items.slice()}]:(e[n-1].items=e[n-1].items.concat(t.items),e)),[]),b=0===v.length,{getLabelProps:w,getMenuProps:E,getInputProps:k,getItemProps:x,setHighlightedIndex:T,setInputValue:O,openMenu:S}=(0,o.Bp)({...void 0!==n&&{inputValue:n},initialInputValue:n||"",items:v,itemToString:e=>e&&(c(e)||l(e.type,e))||"",selectedItem:null,onSelectedItemChange:e=>{switch(e.type){case o.Bp.stateChangeTypes.InputKeyDownEnter:case o.Bp.stateChangeTypes.ItemClick:f(e)}},stateReducer:(e,t)=>{const{type:n,changes:r}=t;return n===o.Bp.stateChangeTypes.InputBlur?{...r,isOpen:e.isOpen,highlightedIndex:e.highlightedIndex,inputValue:e.inputValue}:r},onInputValueChange:e=>{const{inputValue:t}=e;if(!t)return void g(m);const n=u(m,d,t);g(n),T(0)}});return(0,r.useEffect)((()=>{if(n){S(),O(n);const e=u(m,d,n);g(e),T(0)}else O(""),g(m),T(-1)}),[n]),i().createElement("div",{className:"w-combobox"},i().createElement("label",{...w(),className:"w-sr-only"},e),i().createElement("div",{className:"w-combobox__field"},i().createElement("input",{...k(),type:"text",disabled:h,placeholder:t})),b?i().createElement("div",{className:"w-combobox__status"},p):null,i().createElement("div",{...E(),className:"w-combobox__menu"},y.map((e=>{const t=(e.items||[]).filter((e=>v.find((t=>t.type===e.type)))),n=Math.ceil(t.length/2);return 0===t.length?null:i().createElement("div",{className:"w-combobox__optgroup",key:e.type},e.label?i().createElement("div",{className:"w-combobox__optgroup-label"},e.label):null,t.map(((e,t)=>{const r=l(e.type,e),o=c(e),a=v.findIndex((t=>t.type===e.type)),u=t+1<=n?1:2,d=void 0!==e.icon&&null!==e.icon;let f=null;return d&&(f="string"==typeof e.icon?i().createElement(s.A,{name:e.icon}):e.icon),i().createElement("div",{key:e.type,...x({item:e,index:a}),className:`w-combobox__option w-combobox__option--col${u}`},i().createElement("div",{className:"w-combobox__option-icon"},f,r&&!d?i().createElement("span",null,r):null),i().createElement("div",{className:"w-combobox__option-text"},e.render?e.render({option:e}):o))})))}))))}},3410:(e,t,n)=>{"use strict";n.d(t,{n:()=>o});var r=n(1669),i=n.n(r);class o{constructor(e,t={}){this.opts=t;const n=i()("#"+e+"-ADD");if(this.formContainer=i()("#"+e+"-FORMS"),this.totalFormsInput=i()("#"+e+"-TOTAL_FORMS"),this.formCount=parseInt(this.totalFormsInput.val(),10),t.onInit)for(let e=0;e<this.formCount;e+=1)t.onInit(e);const r=document.getElementById(e+"-EMPTY_FORM_TEMPLATE");r instanceof HTMLTemplateElement?this.emptyFormTemplate=r.innerHTML:r instanceof HTMLScriptElement&&(this.emptyFormTemplate=r.innerText||r.textContent),n.on("click",(()=>{this.addForm()}))}addForm(e={}){const t=this.formCount,n=this.emptyFormTemplate.replace(/__prefix__(.*?['"])/g,t+"$1").replace(/<-(-*)\/script>/g,"<$1/script>");this.formContainer.append(n),this.formCount+=1,this.totalFormsInput.val(this.formCount),"runCallbacks"in e&&!e.runCallbacks||(this.opts.onAdd&&this.opts.onAdd(t),this.opts.onInit&&this.opts.onInit(t))}}},1238:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2427);const i=/^(114|125|262|445|591|61)$/.test(n.j)?({name:e,className:t,title:n})=>r.createElement(r.Fragment,null,r.createElement("svg",{className:`icon icon-${e} ${t||""}`,"aria-hidden":"true"},r.createElement("use",{href:`#icon-${e}`})),n&&r.createElement("span",{className:"w-sr-only"},n)):null},5996:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(5556),i=n.n(r),o=n(2427),a=n(6931);class s extends o.Component{static propTypes={onClose:i().func.isRequired,node:i().instanceOf(Element),children:i().node,closeOnClick:i().bool,closeOnType:i().bool,closeOnResize:i().bool};static defaultProps={node:document.body,children:null,closeOnClick:!1,closeOnType:!1,closeOnResize:!1};portal;constructor(e){super(e),this.portal=document.createElement("div"),this.onCloseEvent=this.onCloseEvent.bind(this)}onCloseEvent(e){const{onClose:t}=this.props,n=e.target;this.portal.contains(n)||t()}componentDidMount(){const{node:e,onClose:t,closeOnClick:n,closeOnType:r,closeOnResize:i}=this.props;e.appendChild(this.portal),n&&document.addEventListener("mouseup",this.onCloseEvent),r&&document.addEventListener("keyup",this.onCloseEvent),i&&window.addEventListener("resize",t)}componentWillUnmount(){const{node:e,onClose:t}=this.props;e.removeChild(this.portal),document.removeEventListener("mouseup",this.onCloseEvent),document.removeEventListener("keyup",this.onCloseEvent),window.removeEventListener("resize",t)}render(){const{children:e}=this.props;return(0,a.createPortal)(e,this.portal)}}const l=/^(114|262)$/.test(n.j)?s:null},6508:(e,t,n)=>{"use strict";n.d(t,{HE:()=>s,HS:()=>i,KV:()=>o,kf:()=>a,lb:()=>r});const{ADMIN_API:r}=n.g.wagtailConfig,{ADMIN_URLS:i}=n.g.wagtailConfig,o=200,a=new Map;n.g.wagtailConfig.LOCALES.forEach((({code:e,display_name:t})=>{a.set(e,t)}));const s=function(){try{return JSON.parse(document.getElementById("wagtail-config")?.textContent)}catch(e){return console.error("Error loading Wagtail config"),console.error(e),{}}}()},9104:(e,t,n)=>{"use strict";n.d(t,{v:()=>v});var r=n(2891);const i=":not([inert]):not([inert] *)",o=':not([tabindex^="-"])',a=":not(:disabled)";var s=[`a[href]${i}${o}`,`area[href]${i}${o}`,`input:not([type="hidden"]):not([type="radio"])${i}${o}${a}`,`input[type="radio"]${i}${o}${a}`,`select${i}${o}${a}`,`textarea${i}${o}${a}`,`button${i}${o}${a}`,`details${i} > summary:first-of-type${o}`,`iframe${i}${o}`,`audio[controls]${i}${o}`,`video[controls]${i}${o}`,`[contenteditable]${i}${o}`,`[tabindex]${i}${o}`];function l(e){(e.querySelector("[autofocus]")||e).focus()}function u(e,t){if(t&&f(e))return e;if(!((n=e).shadowRoot&&"-1"===n.getAttribute("tabindex")||n.matches(":disabled,[hidden],[inert]")))if(e.shadowRoot){let n=c(e.shadowRoot,t);for(;n;){const e=u(n,t);if(e)return e;n=d(n,t)}}else if("slot"===e.localName){const n=e.assignedElements({flatten:!0});t||n.reverse();for(const e of n){const n=u(e,t);if(n)return n}}else{let n=c(e,t);for(;n;){const e=u(n,t);if(e)return e;n=d(n,t)}}var n;return!t&&f(e)?e:null}function c(e,t){return t?e.firstElementChild:e.lastElementChild}function d(e,t){return t?e.nextElementSibling:e.previousElementSibling}const f=e=>!e.shadowRoot?.delegatesFocus&&e.matches(s.join(","))&&!(e=>!(!e.matches("details:not([open]) *")||e.matches("details>summary:first-of-type"))||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))(e);function p(e=document){const t=e.activeElement;return t?t.shadowRoot?p(t.shadowRoot)||document.activeElement:t:null}class h{$el;id;previouslyFocused;shown;constructor(e){this.$el=e,this.id=this.$el.getAttribute("data-a11y-dialog")||this.$el.id,this.previouslyFocused=null,this.shown=!1,this.maintainFocus=this.maintainFocus.bind(this),this.bindKeypress=this.bindKeypress.bind(this),this.handleTriggerClicks=this.handleTriggerClicks.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.$el.setAttribute("aria-hidden","true"),this.$el.setAttribute("aria-modal","true"),this.$el.setAttribute("tabindex","-1"),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),document.addEventListener("click",this.handleTriggerClicks,!0)}destroy(){return this.hide(),document.removeEventListener("click",this.handleTriggerClicks,!0),this.$el.replaceWith(this.$el.cloneNode(!0)),this.fire("destroy"),this}show(e){return this.shown||(this.shown=!0,this.$el.removeAttribute("aria-hidden"),this.previouslyFocused=p(),"BODY"===this.previouslyFocused?.tagName&&e?.target&&(this.previouslyFocused=e.target),"focus"===e?.type?this.maintainFocus(e):l(this.$el),document.body.addEventListener("focus",this.maintainFocus,!0),this.$el.addEventListener("keydown",this.bindKeypress,!0),this.fire("show",e)),this}hide(e){return this.shown?(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),this.previouslyFocused?.focus?.(),document.body.removeEventListener("focus",this.maintainFocus,!0),this.$el.removeEventListener("keydown",this.bindKeypress,!0),this.fire("hide",e),this):this}on(e,t,n){return this.$el.addEventListener(e,t,n),this}off(e,t,n){return this.$el.removeEventListener(e,t,n),this}fire(e,t){this.$el.dispatchEvent(new CustomEvent(e,{detail:t,cancelable:!0}))}handleTriggerClicks(e){const t=e.target;t.closest(`[data-a11y-dialog-show="${this.id}"]`)&&this.show(e),(t.closest(`[data-a11y-dialog-hide="${this.id}"]`)||t.closest("[data-a11y-dialog-hide]")&&t.closest('[aria-modal="true"]')===this.$el)&&this.hide(e)}bindKeypress(e){if(document.activeElement?.closest('[aria-modal="true"]')!==this.$el)return;let t=!1;try{t=!!this.$el.querySelector('[popover]:not([popover="manual"]):popover-open')}catch{}"Escape"!==e.key||"alertdialog"===this.$el.getAttribute("role")||t||(e.preventDefault(),this.hide(e)),"Tab"===e.key&&function(e,t){const[n,r]=function(e){const t=u(e,!0);return[t,t?u(e,!1)||t:null]}(e);if(!n)return t.preventDefault();const i=p();t.shiftKey&&i===n?(r.focus(),t.preventDefault()):t.shiftKey||i!==r||(n.focus(),t.preventDefault())}(this.$el,e)}maintainFocus(e){e.target.closest('[aria-modal="true"], [data-a11y-dialog-ignore-focus-trap]')||l(this.$el)}}function m(){for(const e of document.querySelectorAll("[data-a11y-dialog]"))new h(e)}"undefined"!=typeof document&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",m):m());class v extends r.Controller{static values={theme:{default:"",type:String}};static targets=["body","notify","confirm"];get eventDetail(){return{body:this.bodyTarget,dialog:this.dialog}}connect(){this.dialog=new h(this.element);const e="floating"===this.themeValue;return this.dialog.on("show",(()=>{e||(document.documentElement.style.overflowY="hidden"),this.dispatch("shown",{detail:this.eventDetail,cancelable:!1}),this.notifyTargets.forEach((e=>{this.dispatch("shown",{target:e,bubbles:!1,cancelable:!1})}))})).on("hide",(()=>{e||(document.documentElement.style.overflowY=""),this.dispatch("hidden",{detail:this.eventDetail,cancelable:!1}),this.notifyTargets.forEach((e=>{this.dispatch("hidden",{target:e,bubbles:!1,cancelable:!1})}))})),this.dispatch("ready",{detail:this.eventDetail}),this.notifyTargets&&Array.isArray(this.notifyTargets)&&this.notifyTargets.forEach((e=>{this.dispatch("ready",{target:e,bubbles:!1,cancelable:!1})})),this.dialog}hide(){this.dialog.hide()}show(){this.dialog.show()}confirm(){this.hide(),this.dispatch("confirmed",{detail:this.eventDetail,cancelable:!1})}}},2223:(e,t,n)=>{"use strict";n.d(t,{I:()=>o});var r=n(2891),i=n(6032);class o extends r.Controller{static values={keep:{default:!1,type:Boolean},reset:{default:!1,type:Boolean},target:{default:"",type:String}};connect(){this.append()}append(){const e=this.target;let t=!1;const n=()=>{t||(this.resetValue&&(e.innerHTML=""),e.append(...this.templateFragment.childNodes),this.dispatch("appended",{cancelable:!1,detail:{target:e}}),t=!0,this.keepValue||this.element.remove())};this.dispatch("append",{cancelable:!0,detail:{complete:n,target:e}}).defaultPrevented||n()}get target(){let e;if(this.targetValue)e=document.querySelector(this.targetValue);else{const t=this.element.getRootNode();e=t instanceof Document?t.body:t.firstChild}if(!(e instanceof Element))throw new Error(`No valid target container found at ${this.targetValue?`'${this.targetValue}'`:"the root node"}.`);return e}get templateFragment(){const e=this.element.content.cloneNode(!0);return(0,i.v)(e),e}}},2178:(e,t,n)=>{"use strict";n.d(t,{$R:()=>s,ZG:()=>c,lc:()=>u});var r=n(8609),i=n.n(r);const o=e=>Array.isArray(e)?e.join(" "):e,a=(e,t)=>{if(!e||!t)return 0;const n=document.querySelector(o(e.target[0])),r=document.querySelector(o(t.target[0]));return n&&r?n.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_PRECEDING?1:-1:0},s=e=>{const t=e?.querySelector("#accessibility-axe-configuration");if(!t||!t.textContent)return null;try{return JSON.parse(t.textContent)}catch(e){console.error("Error loading Axe config"),console.error(e)}return null},l={"check-image-alt-text":(e,t)=>{const n=new RegExp(t.pattern,"i"),r=e.getAttribute("alt")||"";return!n.test(r)}},u=async e=>{i().configure((e=>{const t=e?.checks?.map((e=>l[e.id]?{...e,evaluate:l[e.id]}:e));return{...e,checks:t}})(e.spec));const t=await i().run(e.context,e.options),n=t.violations.reduce(((e,t)=>e+t.nodes.length),0);return n>0&&console.error("axe.run results",t.violations),{results:t,a11yErrorsNumber:n}},c=(e,t,n,r,i)=>{if(e.innerHTML="",t.violations.length){const s=t.violations.sort(((e,t)=>{const n=e.nodes.sort(a)[0],r=t.nodes.sort(a)[0];return a(n,r)}));let l=0;s.forEach((t=>{t.nodes.forEach((a=>{e.appendChild(r.content.cloneNode(!0));const s=e.querySelectorAll("[data-a11y-result-row]")[l];l+=1;const u=s.querySelector("[data-a11y-result-name]"),c=s.querySelector("[data-a11y-result-help]");u.id=`w-a11y-result__name-${l}`;const d=n.messages[t.id],f=("string"==typeof d?d:d?.error_name)||t.help;u.textContent=f,c.textContent=d?.help_text||t.description;const p="#preview-iframe"===a.target[0],h=o(p?a.target[1]:a.target[0]),m=s.querySelector("[data-a11y-result-selector]");m.setAttribute("aria-describedby",u.id),m.addEventListener("click",i.bind(null,h)),p&&(m.querySelector("[data-a11y-result-selector-text]").textContent=h.replace(/\[data-block-key="\w{5}"\]/,""))}))}))}}},2614:(e,t,n)=>{"use strict";n.d(t,{C4:()=>u,Ch:()=>s,FF:()=>c,ZZ:()=>d});var r=n(1669),i=n.n(r),o=n(6664),a=n(2833);const s=(e,t,{errorContainerSelector:n})=>{const r=new FormData(t);i().ajax({url:t.action,data:r,processData:!1,contentType:!1,type:"POST",dataType:"text",success:e.loadResponseText,error(t,r,o){const s=(0,a.AP)("Report this error to your website administrator with the following information:")+"<br />"+o+" - "+t.status;i()(n,e.body).append('<div class="help-block help-critical"><strong>'+(0,a.AP)("Server Error")+": </strong>"+s+"</div>")}})};class l{constructor(e){this.form=e.form,this.containerElement=e.containerElement,this.onLoadResults=e.onLoadResults,this.resultsContainer=i()(e.resultsContainerSelector,this.containerElement),this.inputDelay=e.inputDelay||200,this.searchUrl=this.form.attr("action"),this.request=null,this.form.on("submit",(()=>(this.searchFromForm(),!1)))}attachSearchInput(e){let t;i()(e,this.containerElement).on("input",(()=>{this.request&&this.request.abort(),clearTimeout(t),t=setTimeout((()=>{this.searchFromForm()}),this.inputDelay)}))}attachSearchFilter(e){i()(e,this.containerElement).on("change",(()=>{this.searchFromForm()}))}fetchResults(e,t){const n={url:e,success:e=>{this.request=null,this.resultsContainer.html(e),this.onLoadResults&&this.onLoadResults(this.resultsContainer)},error(){this.request=null}};t&&(n.data=t),this.request=i().ajax(n)}search(e){this.fetchResults(this.searchUrl,e)}searchFromForm(){this.search(this.form.serialize())}}class u{constructor(e){this.chooseStepName=e?.chooseStepName||"choose",this.chosenStepName=e?.chosenStepName||"chosen",this.reshowCreationFormStepName=e?.reshowCreationFormStepName||"reshow_creation_form",this.chosenLinkSelector=e?.chosenLinkSelector||"a[data-chooser-modal-choice]",this.paginationLinkSelector=e?.paginationLinkSelector||".pagination a",this.searchFormSelector=e?.searchFormSelector||"form[data-chooser-modal-search]",this.resultsContainerSelector=e?.resultsContainerSelector||"#search-results",this.searchInputSelectors=e?.searchInputSelectors||["#id_q"],this.searchFilterSelectors=e?.searchFilterSelectors||["[data-chooser-modal-search-filter]"],this.chosenResponseName=e?.chosenResponseName||"chosen",this.searchInputDelay=e?.searchInputDelay||200,this.creationFormSelector=e?.creationFormSelector||"form[data-chooser-modal-creation-form]",this.creationFormTabSelector=e?.creationFormTabSelector||"#tab-create",this.creationFormFileFieldSelector=e?.creationFormFileFieldSelector,this.creationFormTitleFieldSelector=e?.creationFormTitleFieldSelector,this.creationFormEventName=e?.creationFormEventName,this.searchController=null}ajaxifyLinks(e,t){if(!this.searchController)throw new Error("Cannot call ajaxifyLinks until a SearchController is set up");i()(this.chosenLinkSelector,t).on("click",(t=>(e.loadUrl(t.currentTarget.href),!1))),i()(this.paginationLinkSelector,t).on("click",(e=>(this.searchController.fetchResults(e.currentTarget.href),!1))),this.modalHasTabs(e)&&(0,o.d)(),this.updateMultipleChoiceSubmitEnabledState(e),i()("[data-multiple-choice-select]",t).on("change",(()=>{this.updateMultipleChoiceSubmitEnabledState(e)}))}updateMultipleChoiceSubmitEnabledState(e){i()("[data-multiple-choice-select]:checked",e.body).length?i()("[data-multiple-choice-submit]",e.body).removeAttr("disabled"):i()("[data-multiple-choice-submit]",e.body).attr("disabled",!0)}modalHasTabs(e){return i()("[data-tabs]",e.body).length}ajaxifyCreationForm(e){i()(this.creationFormSelector,e.body).on("submit",(t=>((e=>{let t=!1;return e.querySelectorAll("input[required]").forEach((e=>{if(!e.value&&(t=!0,!e.hasAttribute("aria-invalid"))){e.setAttribute("aria-invalid","true");const t=e.closest("[data-field]");t.classList.add("w-field--error");const n=t.querySelector("[data-field-errors]"),r=n.querySelector(".icon");r&&r.removeAttribute("hidden");const i=document.createElement("p");i.classList.add("error-message"),i.textContent=(0,a.AP)("This field is required."),n.appendChild(i)}})),t&&setTimeout((()=>{const t="data-w-progress-loading-value";e.querySelectorAll(`[${t}~="true"]`).forEach((e=>{e.removeAttribute(t)}))}),500),!t})(t.currentTarget)&&s(e,t.currentTarget,{errorContainerSelector:this.creationFormTabSelector}),!1))),this.creationFormFileFieldSelector&&this.creationFormTitleFieldSelector&&((e,{fileFieldSelector:t,titleFieldSelector:n,eventName:r})=>{const o=i()(t,e.body);o.on("change",(()=>{const t=i()(n,e.body);if(""===t.val()){const e=o.val().split("\\"),n=e[e.length-1],i=parseInt(t.attr("maxLength")||"0",10)||null,a={title:n.replace(/\.[^.]+$/,"")},s=o.closest("form").get(0);if(r&&!s.dispatchEvent(new CustomEvent(r,{bubbles:!0,cancelable:!0,detail:{data:a,filename:n,maxTitleLength:i}})))return;t.val(a.title)}}))})(e,{fileFieldSelector:this.creationFormFileFieldSelector,titleFieldSelector:this.creationFormTitleFieldSelector,eventName:this.creationFormEventName})}initSearchController(e){this.searchController=new l({form:i()(this.searchFormSelector,e.body),containerElement:e.body,resultsContainerSelector:this.resultsContainerSelector,onLoadResults:t=>{this.ajaxifyLinks(e,t)},inputDelay:this.searchInputDelay}),this.searchInputSelectors.forEach((e=>{this.searchController.attachSearchInput(e)})),this.searchFilterSelectors.forEach((e=>{this.searchController.attachSearchFilter(e)}))}onLoadChooseStep(e){this.initSearchController(e),this.ajaxifyLinks(e,e.body),this.ajaxifyCreationForm(e),e.ajaxifyForm(i()("form[data-multiple-choice-form]",e.body))}onLoadChosenStep(e,t){e.respond(this.chosenResponseName,t.result),e.close()}onLoadReshowCreationFormStep(e,t){i()(this.creationFormTabSelector,e.body).replaceWith(t.htmlFragment),this.modalHasTabs(e)&&(0,o.d)(),this.ajaxifyCreationForm(e)}getOnLoadHandlers(){return{[this.chooseStepName]:(e,t)=>{this.onLoadChooseStep(e,t)},[this.chosenStepName]:(e,t)=>{this.onLoadChosenStep(e,t)},[this.reshowCreationFormStepName]:(e,t)=>{this.onLoadReshowCreationFormStep(e,t)}}}}const c=(new u).getOnLoadHandlers();class d{onloadHandlers=c;chosenResponseName="chosen";constructor(e){this.baseUrl=e}getURL(e){return this.baseUrl}getURLParams(e){const t={};return e.multiple&&(t.multiple=1),e.linkedFieldFilters&&Object.assign(t,e.linkedFieldFilters),t}open(e,t){ModalWorkflow({url:this.getURL(e||{}),urlParams:this.getURLParams(e||{}),onload:this.onloadHandlers,responses:{[this.chosenResponseName]:e=>{t(e)}}})}}},1319:(e,t,n)=>{"use strict";n.d(t,{$:()=>o});var r=n(8609),i=n.n(r);const o={id:"wagtailPreview",run(e,t,n,r){const o=document.querySelector("[data-preview-iframe]");if(o)i().utils.sendCommandToFrame(o,{command:"run-wagtailPreview",parameter:e,action:t,options:n},(e=>{r(e)}));else{const i=this._registry[e];i[t].call(i,n,r)}},commands:[{id:"run-wagtailPreview",callback:(e,t)=>i().plugins.wagtailPreview.run(e.parameter,e.action,e.options,t)}]}},4545:(e,t,n)=>{"use strict";if(n.d(t,{$:()=>i,U:()=>o}),/^(591|702)$/.test(n.j))var r=n(4327);const i=e=>{e.querySelectorAll(":scope > .help-block.help-critical").forEach((e=>e.remove()))},o=(e,t)=>{t.forEach((t=>{const n=document.createElement("p");n.classList.add("help-block"),n.classList.add("help-critical"),n.innerHTML=(0,r.Z)(t),e.insertBefore(n,e.childNodes[0])}))}},6664:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});class r{constructor(e){this.tabContainer=e,this.tabButtons=this.tabContainer.querySelectorAll('[role="tab"]'),this.tabList=this.tabContainer.querySelector('[role="tablist"]'),this.tabPanels=this.tabContainer.querySelectorAll('[role="tabpanel"]'),this.tabTriggerLinks=this.tabContainer.querySelectorAll("[data-tab-trigger]"),this.keydownEventListener=this.keydownEventListener.bind(this),this.animate=this.tabContainer.hasAttribute("data-tabs-animate"),this.disableURL=this.tabContainer.hasAttribute("data-tabs-disable-url"),this.state={activeTabID:"",transition:150,initialPageLoad:!0,css:{animate:"animate-in"},keys:{end:"End",home:"Home",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown"},direction:{ArrowLeft:-1,ArrowRight:1}},this.onComponentLoaded()}onComponentLoaded(){if(this.bindEvents(),this.tabButtons){r.setAriaControlsByHref(this.tabButtons);const e=[...this.tabButtons].find((e=>"true"===e.getAttribute("aria-selected")));window.location.hash&&!this.disableURL?this.selectTabByURLHash():e?(this.tabPanels.forEach((e=>{e.hidden=!0})),this.selectTab(e)):this.selectFirstTab()}this.tabTriggerLinks&&r.setAriaControlsByHref(this.tabTriggerLinks)}unSelectActiveTab(e){if(e===this.state.activeTabID||!this.state.activeTabID)return;const t=this.tabContainer.querySelector(`#${this.state.activeTabID}`);if(!t)return;this.animate?this.animateOut(t):t.hidden=!0;const n=this.tabContainer.querySelector(`a[href='#${this.state.activeTabID}']`);n.setAttribute("aria-selected","false"),n.setAttribute("tabindex","-1")}selectTab(e){if(!e)return;const t=e.getAttribute("aria-controls");t&&this.unSelectActiveTab(t),this.state.activeTabID=t;const n=this.tabContainer.querySelector(`a[href="${e.getAttribute("href")}"][role="tab"]`);n&&(n.setAttribute("aria-selected","true"),n.removeAttribute("tabindex")),e.setAttribute("aria-selected","true"),e.removeAttribute("tabindex");const r=this.tabContainer.querySelector(`#${t}`);r&&(this.animate?this.animateIn(r):r.hidden=!1,this.state.initialPageLoad&&setTimeout((()=>{window.scrollTo(0,0)}),2*this.state.transition),this.tabList.dispatchEvent(new CustomEvent("switch",{detail:{tab:e.getAttribute("href").replace("#","")}})),document.dispatchEvent(new CustomEvent("wagtail:tab-changed")),this.disableURL||this.setURLHash(t))}animateIn(e){setTimeout((()=>{e.hidden=!1,setTimeout((()=>{e.classList.add(this.state.css.animate)}),this.state.transition)}),this.state.transition)}animateOut(e){e.classList.remove(this.state.css.animate),setTimeout((()=>{e.hidden=!0}),this.state.transition)}bindEvents(){this.tabButtons&&(this.tabButtons.forEach(((e,t)=>{e.addEventListener("click",(t=>{t.preventDefault(),this.selectTab(e)})),e.addEventListener("keydown",this.keydownEventListener),e.index=t})),window.addEventListener("popstate",(e=>{if(e.state&&e.state.tabContent){const t=this.getTabElementByHref(`#${e.state.tabContent}`);t&&(this.selectTab(t),t.focus())}}))),this.tabTriggerLinks&&this.tabTriggerLinks.forEach((e=>{e.addEventListener("click",(t=>{t.preventDefault();const n=this.getTabElementByHref(e.getAttribute("href"));n&&(this.selectTab(n),n.focus())}))}))}getTabElementByHref(e){return this.tabContainer.querySelector(`a[href="${e}"][role="tab"]`)}keydownEventListener(e){const t=e.key,{keys:n}=this.state;switch(t){case n.left:case n.right:this.switchTabOnArrowPress(e);break;case n.end:e.preventDefault(),this.focusLastTab();break;case n.home:e.preventDefault(),this.focusFirstTab()}}selectTabByURLHash(){if(window.location.hash){const e=window.location.hash.replace(/[^\w\-#]/g,""),t=document.querySelector(e)?.closest('[role="tabpanel"]')?.getAttribute("aria-labelledby"),n=document.getElementById(t);n?this.selectTab(n):this.selectFirstTab()}}setURLHash(e){this.state.initialPageLoad||window.history.state&&window.history.state.tabContent===e||window.history.pushState({tabContent:e},null,`#${e}`),this.state.initialPageLoad=!1}switchTabOnArrowPress(e){const t=e.key,{direction:n}=this.state,{keys:r}=this.state,i=this.tabButtons;if(n[t]){const{target:o}=e;if(void 0!==o.index)if(i[o.index+n[t]]){const e=i[o.index+n[t]];e.focus(),this.selectTab(e)}else t===r.left?this.focusLastTab():t===r.right&&this.focusFirstTab()}}focusFirstTab(){const e=this.tabButtons[0];e.focus(),this.selectTab(e)}focusLastTab(){const e=this.tabButtons[this.tabButtons.length-1];e.focus(),this.selectTab(e)}selectFirstTab(){this.selectTab(this.tabButtons[0]),this.state.activeTabID=this.tabButtons[0].getAttribute("aria-controls")}static setAriaControlsByHref(e){e.forEach((e=>{e.setAttribute("aria-controls",e.getAttribute("href").replace("#",""))}))}}const i=(e=document.querySelectorAll("[data-tabs]"))=>{e.forEach((e=>new r(e))),e&&document.addEventListener("DOMContentLoaded",(()=>{document.dispatchEvent(new CustomEvent("wagtail:tab-changed"))}))}},8667:(e,t,n)=>{"use strict";n.d(t,{s:()=>r});const r=(e,t=0)=>{let n;const r=(...r)=>{if(window.clearTimeout(n),"number"==typeof t&&!Number.isNaN(t))return new Promise(((i,o)=>{n=window.setTimeout((()=>{try{i(e(...r))}catch(e){o(e)}}),t)}));try{return Promise.resolve(e(...r))}catch(e){return Promise.reject(e)}};return r.cancel=()=>{"number"==typeof n&&window.clearTimeout(n)},r}},1083:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});const r=async()=>{"loading"===document.readyState&&await new Promise((e=>{document.addEventListener("DOMContentLoaded",(()=>e()),{once:!0,passive:!0})}))}},2833:(e,t,n)=>{"use strict";function r(e){const t=window.django?.gettext;return t?t(e):e}function i(e,t,n){const r=window.django?.ngettext;return r?r(e,t,n):1===n?e:t}n.d(t,{AP:()=>r,WI:()=>i})},4188:(e,t,n)=>{"use strict";n.d(t,{$:()=>r});const r=(e,t)=>!!e&&Object.prototype.hasOwnProperty.call(e,t)},3476:(e,t,n)=>{"use strict";n.d(t,{l:()=>r});const r=()=>{}},9675:(e,t,n)=>{"use strict";n.d(t,{y:()=>r});const r=(e=0,t=0)=>[...Array(t-e).keys()].map((t=>t+e))},6032:(e,t,n)=>{"use strict";n.d(t,{v:()=>i});const r=e=>{if(!e.type||"application/javascript"===e.type){const t=document.createElement("script");Array.from(e.attributes).forEach((e=>t.setAttribute(e.nodeName,e.nodeValue||""))),t.text=e.text,e.replaceWith(t)}},i=e=>{const t="script:not([src])";e instanceof HTMLElement&&e.matches(t)?r(e):e.querySelectorAll(t).forEach(r)}},4327:(e,t,n)=>{"use strict";function r(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}n.d(t,{Z:()=>r})},4994:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},8168:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},8587:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}n.d(t,{A:()=>r})}}]);
|
|
2
|
+
(globalThis.webpackChunkwagtail=globalThis.webpackChunkwagtail||[]).push([[321],{2891:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Application:()=>Z,AttributeObserver:()=>w,Context:()=>j,Controller:()=>le,ElementObserver:()=>b,IndexedMultimap:()=>S,Multimap:()=>O,SelectorObserver:()=>C,StringMapObserver:()=>A,TokenListObserver:()=>N,ValueListObserver:()=>I,add:()=>E,defaultSchema:()=>Y,del:()=>k,fetch:()=>x,prune:()=>T});class r{constructor(e,t,n){this.eventTarget=e,this.eventName=t,this.eventOptions=n,this.unorderedBindings=new Set}connect(){this.eventTarget.addEventListener(this.eventName,this,this.eventOptions)}disconnect(){this.eventTarget.removeEventListener(this.eventName,this,this.eventOptions)}bindingConnected(e){this.unorderedBindings.add(e)}bindingDisconnected(e){this.unorderedBindings.delete(e)}handleEvent(e){const t=function(e){if("immediatePropagationStopped"in e)return e;{const{stopImmediatePropagation:t}=e;return Object.assign(e,{immediatePropagationStopped:!1,stopImmediatePropagation(){this.immediatePropagationStopped=!0,t.call(this)}})}}(e);for(const e of this.bindings){if(t.immediatePropagationStopped)break;e.handleEvent(t)}}hasBindings(){return this.unorderedBindings.size>0}get bindings(){return Array.from(this.unorderedBindings).sort(((e,t)=>{const n=e.index,r=t.index;return n<r?-1:n>r?1:0}))}}class i{constructor(e){this.application=e,this.eventListenerMaps=new Map,this.started=!1}start(){this.started||(this.started=!0,this.eventListeners.forEach((e=>e.connect())))}stop(){this.started&&(this.started=!1,this.eventListeners.forEach((e=>e.disconnect())))}get eventListeners(){return Array.from(this.eventListenerMaps.values()).reduce(((e,t)=>e.concat(Array.from(t.values()))),[])}bindingConnected(e){this.fetchEventListenerForBinding(e).bindingConnected(e)}bindingDisconnected(e,t=!1){this.fetchEventListenerForBinding(e).bindingDisconnected(e),t&&this.clearEventListenersForBinding(e)}handleError(e,t,n={}){this.application.handleError(e,`Error ${t}`,n)}clearEventListenersForBinding(e){const t=this.fetchEventListenerForBinding(e);t.hasBindings()||(t.disconnect(),this.removeMappedEventListenerFor(e))}removeMappedEventListenerFor(e){const{eventTarget:t,eventName:n,eventOptions:r}=e,i=this.fetchEventListenerMapForEventTarget(t),o=this.cacheKey(n,r);i.delete(o),0==i.size&&this.eventListenerMaps.delete(t)}fetchEventListenerForBinding(e){const{eventTarget:t,eventName:n,eventOptions:r}=e;return this.fetchEventListener(t,n,r)}fetchEventListener(e,t,n){const r=this.fetchEventListenerMapForEventTarget(e),i=this.cacheKey(t,n);let o=r.get(i);return o||(o=this.createEventListener(e,t,n),r.set(i,o)),o}createEventListener(e,t,n){const i=new r(e,t,n);return this.started&&i.connect(),i}fetchEventListenerMapForEventTarget(e){let t=this.eventListenerMaps.get(e);return t||(t=new Map,this.eventListenerMaps.set(e,t)),t}cacheKey(e,t){const n=[e];return Object.keys(t).sort().forEach((e=>{n.push(`${t[e]?"":"!"}${e}`)})),n.join(":")}}const o={stop:({event:e,value:t})=>(t&&e.stopPropagation(),!0),prevent:({event:e,value:t})=>(t&&e.preventDefault(),!0),self:({event:e,value:t,element:n})=>!t||n===e.target},a=/^(?:(?:([^.]+?)\+)?(.+?)(?:\.(.+?))?(?:@(window|document))?->)?(.+?)(?:#([^:]+?))(?::(.+))?$/;function s(e){return e.replace(/(?:[_-])([a-z0-9])/g,((e,t)=>t.toUpperCase()))}function l(e){return s(e.replace(/--/g,"-").replace(/__/g,"_"))}function u(e){return e.charAt(0).toUpperCase()+e.slice(1)}function c(e){return e.replace(/([A-Z])/g,((e,t)=>`-${t.toLowerCase()}`))}function d(e){return null!=e}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}const p=/^(114|209)$/.test(n.j)?["meta","ctrl","alt","shift"]:null;class h{constructor(e,t,n,r){this.element=e,this.index=t,this.eventTarget=n.eventTarget||e,this.eventName=n.eventName||function(e){const t=e.tagName.toLowerCase();if(t in m)return m[t](e)}(e)||v("missing event name"),this.eventOptions=n.eventOptions||{},this.identifier=n.identifier||v("missing identifier"),this.methodName=n.methodName||v("missing method name"),this.keyFilter=n.keyFilter||"",this.schema=r}static forToken(e,t){return new this(e.element,e.index,function(e){const t=e.trim().match(a)||[];let n=t[2],r=t[3];return r&&!["keydown","keyup","keypress"].includes(n)&&(n+=`.${r}`,r=""),{eventTarget:(i=t[4],"window"==i?window:"document"==i?document:void 0),eventName:n,eventOptions:t[7]?(o=t[7],o.split(":").reduce(((e,t)=>Object.assign(e,{[t.replace(/^!/,"")]:!/^!/.test(t)})),{})):{},identifier:t[5],methodName:t[6],keyFilter:t[1]||r};var i,o}(e.content),t)}toString(){const e=this.keyFilter?`.${this.keyFilter}`:"",t=this.eventTargetName?`@${this.eventTargetName}`:"";return`${this.eventName}${e}${t}->${this.identifier}#${this.methodName}`}shouldIgnoreKeyboardEvent(e){if(!this.keyFilter)return!1;const t=this.keyFilter.split("+");if(this.keyFilterDissatisfied(e,t))return!0;const n=t.filter((e=>!p.includes(e)))[0];return!!n&&(f(this.keyMappings,n)||v(`contains unknown key filter: ${this.keyFilter}`),this.keyMappings[n].toLowerCase()!==e.key.toLowerCase())}shouldIgnoreMouseEvent(e){if(!this.keyFilter)return!1;const t=[this.keyFilter];return!!this.keyFilterDissatisfied(e,t)}get params(){const e={},t=new RegExp(`^data-${this.identifier}-(.+)-param$`,"i");for(const{name:n,value:r}of Array.from(this.element.attributes)){const i=n.match(t),o=i&&i[1];o&&(e[s(o)]=g(r))}return e}get eventTargetName(){return(e=this.eventTarget)==window?"window":e==document?"document":void 0;var e}get keyMappings(){return this.schema.keyMappings}keyFilterDissatisfied(e,t){const[n,r,i,o]=p.map((e=>t.includes(e)));return e.metaKey!==n||e.ctrlKey!==r||e.altKey!==i||e.shiftKey!==o}}const m={a:()=>"click",button:()=>"click",form:()=>"submit",details:()=>"toggle",input:e=>"submit"==e.getAttribute("type")?"click":"input",select:()=>"change",textarea:()=>"input"};function v(e){throw new Error(e)}function g(e){try{return JSON.parse(e)}catch(t){return e}}class y{constructor(e,t){this.context=e,this.action=t}get index(){return this.action.index}get eventTarget(){return this.action.eventTarget}get eventOptions(){return this.action.eventOptions}get identifier(){return this.context.identifier}handleEvent(e){const t=this.prepareActionEvent(e);this.willBeInvokedByEvent(e)&&this.applyEventModifiers(t)&&this.invokeWithEvent(t)}get eventName(){return this.action.eventName}get method(){const e=this.controller[this.methodName];if("function"==typeof e)return e;throw new Error(`Action "${this.action}" references undefined method "${this.methodName}"`)}applyEventModifiers(e){const{element:t}=this.action,{actionDescriptorFilters:n}=this.context.application,{controller:r}=this.context;let i=!0;for(const[o,a]of Object.entries(this.eventOptions))if(o in n){const s=n[o];i=i&&s({name:o,value:a,event:e,element:t,controller:r})}return i}prepareActionEvent(e){return Object.assign(e,{params:this.action.params})}invokeWithEvent(e){const{target:t,currentTarget:n}=e;try{this.method.call(this.controller,e),this.context.logDebugActivity(this.methodName,{event:e,target:t,currentTarget:n,action:this.methodName})}catch(t){const{identifier:n,controller:r,element:i,index:o}=this,a={identifier:n,controller:r,element:i,index:o,event:e};this.context.handleError(t,`invoking action "${this.action}"`,a)}}willBeInvokedByEvent(e){const t=e.target;return!(e instanceof KeyboardEvent&&this.action.shouldIgnoreKeyboardEvent(e))&&!(e instanceof MouseEvent&&this.action.shouldIgnoreMouseEvent(e))&&(this.element===t||(t instanceof Element&&this.element.contains(t)?this.scope.containsElement(t):this.scope.containsElement(this.action.element)))}get controller(){return this.context.controller}get methodName(){return this.action.methodName}get element(){return this.scope.element}get scope(){return this.context.scope}}class b{constructor(e,t){this.mutationObserverInit={attributes:!0,childList:!0,subtree:!0},this.element=e,this.started=!1,this.delegate=t,this.elements=new Set,this.mutationObserver=new MutationObserver((e=>this.processMutations(e)))}start(){this.started||(this.started=!0,this.mutationObserver.observe(this.element,this.mutationObserverInit),this.refresh())}pause(e){this.started&&(this.mutationObserver.disconnect(),this.started=!1),e(),this.started||(this.mutationObserver.observe(this.element,this.mutationObserverInit),this.started=!0)}stop(){this.started&&(this.mutationObserver.takeRecords(),this.mutationObserver.disconnect(),this.started=!1)}refresh(){if(this.started){const e=new Set(this.matchElementsInTree());for(const t of Array.from(this.elements))e.has(t)||this.removeElement(t);for(const t of Array.from(e))this.addElement(t)}}processMutations(e){if(this.started)for(const t of e)this.processMutation(t)}processMutation(e){"attributes"==e.type?this.processAttributeChange(e.target,e.attributeName):"childList"==e.type&&(this.processRemovedNodes(e.removedNodes),this.processAddedNodes(e.addedNodes))}processAttributeChange(e,t){this.elements.has(e)?this.delegate.elementAttributeChanged&&this.matchElement(e)?this.delegate.elementAttributeChanged(e,t):this.removeElement(e):this.matchElement(e)&&this.addElement(e)}processRemovedNodes(e){for(const t of Array.from(e)){const e=this.elementFromNode(t);e&&this.processTree(e,this.removeElement)}}processAddedNodes(e){for(const t of Array.from(e)){const e=this.elementFromNode(t);e&&this.elementIsActive(e)&&this.processTree(e,this.addElement)}}matchElement(e){return this.delegate.matchElement(e)}matchElementsInTree(e=this.element){return this.delegate.matchElementsInTree(e)}processTree(e,t){for(const n of this.matchElementsInTree(e))t.call(this,n)}elementFromNode(e){if(e.nodeType==Node.ELEMENT_NODE)return e}elementIsActive(e){return e.isConnected==this.element.isConnected&&this.element.contains(e)}addElement(e){this.elements.has(e)||this.elementIsActive(e)&&(this.elements.add(e),this.delegate.elementMatched&&this.delegate.elementMatched(e))}removeElement(e){this.elements.has(e)&&(this.elements.delete(e),this.delegate.elementUnmatched&&this.delegate.elementUnmatched(e))}}class w{constructor(e,t,n){this.attributeName=t,this.delegate=n,this.elementObserver=new b(e,this)}get element(){return this.elementObserver.element}get selector(){return`[${this.attributeName}]`}start(){this.elementObserver.start()}pause(e){this.elementObserver.pause(e)}stop(){this.elementObserver.stop()}refresh(){this.elementObserver.refresh()}get started(){return this.elementObserver.started}matchElement(e){return e.hasAttribute(this.attributeName)}matchElementsInTree(e){const t=this.matchElement(e)?[e]:[],n=Array.from(e.querySelectorAll(this.selector));return t.concat(n)}elementMatched(e){this.delegate.elementMatchedAttribute&&this.delegate.elementMatchedAttribute(e,this.attributeName)}elementUnmatched(e){this.delegate.elementUnmatchedAttribute&&this.delegate.elementUnmatchedAttribute(e,this.attributeName)}elementAttributeChanged(e,t){this.delegate.elementAttributeValueChanged&&this.attributeName==t&&this.delegate.elementAttributeValueChanged(e,t)}}function E(e,t,n){x(e,t).add(n)}function k(e,t,n){x(e,t).delete(n),T(e,t)}function x(e,t){let n=e.get(t);return n||(n=new Set,e.set(t,n)),n}function T(e,t){const n=e.get(t);null!=n&&0==n.size&&e.delete(t)}class O{constructor(){this.valuesByKey=new Map}get keys(){return Array.from(this.valuesByKey.keys())}get values(){return Array.from(this.valuesByKey.values()).reduce(((e,t)=>e.concat(Array.from(t))),[])}get size(){return Array.from(this.valuesByKey.values()).reduce(((e,t)=>e+t.size),0)}add(e,t){E(this.valuesByKey,e,t)}delete(e,t){k(this.valuesByKey,e,t)}has(e,t){const n=this.valuesByKey.get(e);return null!=n&&n.has(t)}hasKey(e){return this.valuesByKey.has(e)}hasValue(e){return Array.from(this.valuesByKey.values()).some((t=>t.has(e)))}getValuesForKey(e){const t=this.valuesByKey.get(e);return t?Array.from(t):[]}getKeysForValue(e){return Array.from(this.valuesByKey).filter((([t,n])=>n.has(e))).map((([e,t])=>e))}}class S extends O{constructor(){super(),this.keysByValue=new Map}get values(){return Array.from(this.keysByValue.keys())}add(e,t){super.add(e,t),E(this.keysByValue,t,e)}delete(e,t){super.delete(e,t),k(this.keysByValue,t,e)}hasValue(e){return this.keysByValue.has(e)}getKeysForValue(e){const t=this.keysByValue.get(e);return t?Array.from(t):[]}}class C{constructor(e,t,n,r){this._selector=t,this.details=r,this.elementObserver=new b(e,this),this.delegate=n,this.matchesByElement=new O}get started(){return this.elementObserver.started}get selector(){return this._selector}set selector(e){this._selector=e,this.refresh()}start(){this.elementObserver.start()}pause(e){this.elementObserver.pause(e)}stop(){this.elementObserver.stop()}refresh(){this.elementObserver.refresh()}get element(){return this.elementObserver.element}matchElement(e){const{selector:t}=this;if(t){const n=e.matches(t);return this.delegate.selectorMatchElement?n&&this.delegate.selectorMatchElement(e,this.details):n}return!1}matchElementsInTree(e){const{selector:t}=this;if(t){const n=this.matchElement(e)?[e]:[],r=Array.from(e.querySelectorAll(t)).filter((e=>this.matchElement(e)));return n.concat(r)}return[]}elementMatched(e){const{selector:t}=this;t&&this.selectorMatched(e,t)}elementUnmatched(e){const t=this.matchesByElement.getKeysForValue(e);for(const n of t)this.selectorUnmatched(e,n)}elementAttributeChanged(e,t){const{selector:n}=this;if(n){const t=this.matchElement(e),r=this.matchesByElement.has(n,e);t&&!r?this.selectorMatched(e,n):!t&&r&&this.selectorUnmatched(e,n)}}selectorMatched(e,t){this.delegate.selectorMatched(e,t,this.details),this.matchesByElement.add(t,e)}selectorUnmatched(e,t){this.delegate.selectorUnmatched(e,t,this.details),this.matchesByElement.delete(t,e)}}class A{constructor(e,t){this.element=e,this.delegate=t,this.started=!1,this.stringMap=new Map,this.mutationObserver=new MutationObserver((e=>this.processMutations(e)))}start(){this.started||(this.started=!0,this.mutationObserver.observe(this.element,{attributes:!0,attributeOldValue:!0}),this.refresh())}stop(){this.started&&(this.mutationObserver.takeRecords(),this.mutationObserver.disconnect(),this.started=!1)}refresh(){if(this.started)for(const e of this.knownAttributeNames)this.refreshAttribute(e,null)}processMutations(e){if(this.started)for(const t of e)this.processMutation(t)}processMutation(e){const t=e.attributeName;t&&this.refreshAttribute(t,e.oldValue)}refreshAttribute(e,t){const n=this.delegate.getStringMapKeyForAttribute(e);if(null!=n){this.stringMap.has(e)||this.stringMapKeyAdded(n,e);const r=this.element.getAttribute(e);if(this.stringMap.get(e)!=r&&this.stringMapValueChanged(r,n,t),null==r){const t=this.stringMap.get(e);this.stringMap.delete(e),t&&this.stringMapKeyRemoved(n,e,t)}else this.stringMap.set(e,r)}}stringMapKeyAdded(e,t){this.delegate.stringMapKeyAdded&&this.delegate.stringMapKeyAdded(e,t)}stringMapValueChanged(e,t,n){this.delegate.stringMapValueChanged&&this.delegate.stringMapValueChanged(e,t,n)}stringMapKeyRemoved(e,t,n){this.delegate.stringMapKeyRemoved&&this.delegate.stringMapKeyRemoved(e,t,n)}get knownAttributeNames(){return Array.from(new Set(this.currentAttributeNames.concat(this.recordedAttributeNames)))}get currentAttributeNames(){return Array.from(this.element.attributes).map((e=>e.name))}get recordedAttributeNames(){return Array.from(this.stringMap.keys())}}class N{constructor(e,t,n){this.attributeObserver=new w(e,t,this),this.delegate=n,this.tokensByElement=new O}get started(){return this.attributeObserver.started}start(){this.attributeObserver.start()}pause(e){this.attributeObserver.pause(e)}stop(){this.attributeObserver.stop()}refresh(){this.attributeObserver.refresh()}get element(){return this.attributeObserver.element}get attributeName(){return this.attributeObserver.attributeName}elementMatchedAttribute(e){this.tokensMatched(this.readTokensForElement(e))}elementAttributeValueChanged(e){const[t,n]=this.refreshTokensForElement(e);this.tokensUnmatched(t),this.tokensMatched(n)}elementUnmatchedAttribute(e){this.tokensUnmatched(this.tokensByElement.getValuesForKey(e))}tokensMatched(e){e.forEach((e=>this.tokenMatched(e)))}tokensUnmatched(e){e.forEach((e=>this.tokenUnmatched(e)))}tokenMatched(e){this.delegate.tokenMatched(e),this.tokensByElement.add(e.element,e)}tokenUnmatched(e){this.delegate.tokenUnmatched(e),this.tokensByElement.delete(e.element,e)}refreshTokensForElement(e){const t=this.tokensByElement.getValuesForKey(e),n=this.readTokensForElement(e),r=function(e,t){const n=Math.max(e.length,t.length);return Array.from({length:n},((n,r)=>[e[r],t[r]]))}(t,n).findIndex((([e,t])=>{return r=t,!((n=e)&&r&&n.index==r.index&&n.content==r.content);var n,r}));return-1==r?[[],[]]:[t.slice(r),n.slice(r)]}readTokensForElement(e){const t=this.attributeName;return function(e,t,n){return e.trim().split(/\s+/).filter((e=>e.length)).map(((e,r)=>({element:t,attributeName:n,content:e,index:r})))}(e.getAttribute(t)||"",e,t)}}class I{constructor(e,t,n){this.tokenListObserver=new N(e,t,this),this.delegate=n,this.parseResultsByToken=new WeakMap,this.valuesByTokenByElement=new WeakMap}get started(){return this.tokenListObserver.started}start(){this.tokenListObserver.start()}stop(){this.tokenListObserver.stop()}refresh(){this.tokenListObserver.refresh()}get element(){return this.tokenListObserver.element}get attributeName(){return this.tokenListObserver.attributeName}tokenMatched(e){const{element:t}=e,{value:n}=this.fetchParseResultForToken(e);n&&(this.fetchValuesByTokenForElement(t).set(e,n),this.delegate.elementMatchedValue(t,n))}tokenUnmatched(e){const{element:t}=e,{value:n}=this.fetchParseResultForToken(e);n&&(this.fetchValuesByTokenForElement(t).delete(e),this.delegate.elementUnmatchedValue(t,n))}fetchParseResultForToken(e){let t=this.parseResultsByToken.get(e);return t||(t=this.parseToken(e),this.parseResultsByToken.set(e,t)),t}fetchValuesByTokenForElement(e){let t=this.valuesByTokenByElement.get(e);return t||(t=new Map,this.valuesByTokenByElement.set(e,t)),t}parseToken(e){try{return{value:this.delegate.parseValueForToken(e)}}catch(e){return{error:e}}}}class F{constructor(e,t){this.context=e,this.delegate=t,this.bindingsByAction=new Map}start(){this.valueListObserver||(this.valueListObserver=new I(this.element,this.actionAttribute,this),this.valueListObserver.start())}stop(){this.valueListObserver&&(this.valueListObserver.stop(),delete this.valueListObserver,this.disconnectAllActions())}get element(){return this.context.element}get identifier(){return this.context.identifier}get actionAttribute(){return this.schema.actionAttribute}get schema(){return this.context.schema}get bindings(){return Array.from(this.bindingsByAction.values())}connectAction(e){const t=new y(this.context,e);this.bindingsByAction.set(e,t),this.delegate.bindingConnected(t)}disconnectAction(e){const t=this.bindingsByAction.get(e);t&&(this.bindingsByAction.delete(e),this.delegate.bindingDisconnected(t))}disconnectAllActions(){this.bindings.forEach((e=>this.delegate.bindingDisconnected(e,!0))),this.bindingsByAction.clear()}parseValueForToken(e){const t=h.forToken(e,this.schema);if(t.identifier==this.identifier)return t}elementMatchedValue(e,t){this.connectAction(t)}elementUnmatchedValue(e,t){this.disconnectAction(t)}}class M{constructor(e,t){this.context=e,this.receiver=t,this.stringMapObserver=new A(this.element,this),this.valueDescriptorMap=this.controller.valueDescriptorMap}start(){this.stringMapObserver.start(),this.invokeChangedCallbacksForDefaultValues()}stop(){this.stringMapObserver.stop()}get element(){return this.context.element}get controller(){return this.context.controller}getStringMapKeyForAttribute(e){if(e in this.valueDescriptorMap)return this.valueDescriptorMap[e].name}stringMapKeyAdded(e,t){const n=this.valueDescriptorMap[t];this.hasValue(e)||this.invokeChangedCallback(e,n.writer(this.receiver[e]),n.writer(n.defaultValue))}stringMapValueChanged(e,t,n){const r=this.valueDescriptorNameMap[t];null!==e&&(null===n&&(n=r.writer(r.defaultValue)),this.invokeChangedCallback(t,e,n))}stringMapKeyRemoved(e,t,n){const r=this.valueDescriptorNameMap[e];this.hasValue(e)?this.invokeChangedCallback(e,r.writer(this.receiver[e]),n):this.invokeChangedCallback(e,r.writer(r.defaultValue),n)}invokeChangedCallbacksForDefaultValues(){for(const{key:e,name:t,defaultValue:n,writer:r}of this.valueDescriptors)null==n||this.controller.data.has(e)||this.invokeChangedCallback(t,r(n),void 0)}invokeChangedCallback(e,t,n){const r=`${e}Changed`,i=this.receiver[r];if("function"==typeof i){const r=this.valueDescriptorNameMap[e];try{const e=r.reader(t);let o=n;n&&(o=r.reader(n)),i.call(this.receiver,e,o)}catch(e){throw e instanceof TypeError&&(e.message=`Stimulus Value "${this.context.identifier}.${r.name}" - ${e.message}`),e}}}get valueDescriptors(){const{valueDescriptorMap:e}=this;return Object.keys(e).map((t=>e[t]))}get valueDescriptorNameMap(){const e={};return Object.keys(this.valueDescriptorMap).forEach((t=>{const n=this.valueDescriptorMap[t];e[n.name]=n})),e}hasValue(e){const t=`has${u(this.valueDescriptorNameMap[e].name)}`;return this.receiver[t]}}class P{constructor(e,t){this.context=e,this.delegate=t,this.targetsByName=new O}start(){this.tokenListObserver||(this.tokenListObserver=new N(this.element,this.attributeName,this),this.tokenListObserver.start())}stop(){this.tokenListObserver&&(this.disconnectAllTargets(),this.tokenListObserver.stop(),delete this.tokenListObserver)}tokenMatched({element:e,content:t}){this.scope.containsElement(e)&&this.connectTarget(e,t)}tokenUnmatched({element:e,content:t}){this.disconnectTarget(e,t)}connectTarget(e,t){var n;this.targetsByName.has(t,e)||(this.targetsByName.add(t,e),null===(n=this.tokenListObserver)||void 0===n||n.pause((()=>this.delegate.targetConnected(e,t))))}disconnectTarget(e,t){var n;this.targetsByName.has(t,e)&&(this.targetsByName.delete(t,e),null===(n=this.tokenListObserver)||void 0===n||n.pause((()=>this.delegate.targetDisconnected(e,t))))}disconnectAllTargets(){for(const e of this.targetsByName.keys)for(const t of this.targetsByName.getValuesForKey(e))this.disconnectTarget(t,e)}get attributeName(){return`data-${this.context.identifier}-target`}get element(){return this.context.element}get scope(){return this.context.scope}}function D(e,t){const n=L(e);return Array.from(n.reduce(((e,n)=>(function(e,t){const n=e[t];return Array.isArray(n)?n:[]}(n,t).forEach((t=>e.add(t))),e)),new Set))}function L(e){const t=[];for(;e;)t.push(e),e=Object.getPrototypeOf(e);return t.reverse()}class _{constructor(e,t){this.started=!1,this.context=e,this.delegate=t,this.outletsByName=new O,this.outletElementsByName=new O,this.selectorObserverMap=new Map,this.attributeObserverMap=new Map}start(){this.started||(this.outletDefinitions.forEach((e=>{this.setupSelectorObserverForOutlet(e),this.setupAttributeObserverForOutlet(e)})),this.started=!0,this.dependentContexts.forEach((e=>e.refresh())))}refresh(){this.selectorObserverMap.forEach((e=>e.refresh())),this.attributeObserverMap.forEach((e=>e.refresh()))}stop(){this.started&&(this.started=!1,this.disconnectAllOutlets(),this.stopSelectorObservers(),this.stopAttributeObservers())}stopSelectorObservers(){this.selectorObserverMap.size>0&&(this.selectorObserverMap.forEach((e=>e.stop())),this.selectorObserverMap.clear())}stopAttributeObservers(){this.attributeObserverMap.size>0&&(this.attributeObserverMap.forEach((e=>e.stop())),this.attributeObserverMap.clear())}selectorMatched(e,t,{outletName:n}){const r=this.getOutlet(e,n);r&&this.connectOutlet(r,e,n)}selectorUnmatched(e,t,{outletName:n}){const r=this.getOutletFromMap(e,n);r&&this.disconnectOutlet(r,e,n)}selectorMatchElement(e,{outletName:t}){const n=this.selector(t),r=this.hasOutlet(e,t),i=e.matches(`[${this.schema.controllerAttribute}~=${t}]`);return!!n&&r&&i&&e.matches(n)}elementMatchedAttribute(e,t){const n=this.getOutletNameFromOutletAttributeName(t);n&&this.updateSelectorObserverForOutlet(n)}elementAttributeValueChanged(e,t){const n=this.getOutletNameFromOutletAttributeName(t);n&&this.updateSelectorObserverForOutlet(n)}elementUnmatchedAttribute(e,t){const n=this.getOutletNameFromOutletAttributeName(t);n&&this.updateSelectorObserverForOutlet(n)}connectOutlet(e,t,n){var r;this.outletElementsByName.has(n,t)||(this.outletsByName.add(n,e),this.outletElementsByName.add(n,t),null===(r=this.selectorObserverMap.get(n))||void 0===r||r.pause((()=>this.delegate.outletConnected(e,t,n))))}disconnectOutlet(e,t,n){var r;this.outletElementsByName.has(n,t)&&(this.outletsByName.delete(n,e),this.outletElementsByName.delete(n,t),null===(r=this.selectorObserverMap.get(n))||void 0===r||r.pause((()=>this.delegate.outletDisconnected(e,t,n))))}disconnectAllOutlets(){for(const e of this.outletElementsByName.keys)for(const t of this.outletElementsByName.getValuesForKey(e))for(const n of this.outletsByName.getValuesForKey(e))this.disconnectOutlet(n,t,e)}updateSelectorObserverForOutlet(e){const t=this.selectorObserverMap.get(e);t&&(t.selector=this.selector(e))}setupSelectorObserverForOutlet(e){const t=this.selector(e),n=new C(document.body,t,this,{outletName:e});this.selectorObserverMap.set(e,n),n.start()}setupAttributeObserverForOutlet(e){const t=this.attributeNameForOutletName(e),n=new w(this.scope.element,t,this);this.attributeObserverMap.set(e,n),n.start()}selector(e){return this.scope.outlets.getSelectorForOutletName(e)}attributeNameForOutletName(e){return this.scope.schema.outletAttributeForScope(this.identifier,e)}getOutletNameFromOutletAttributeName(e){return this.outletDefinitions.find((t=>this.attributeNameForOutletName(t)===e))}get outletDependencies(){const e=new O;return this.router.modules.forEach((t=>{D(t.definition.controllerConstructor,"outlets").forEach((n=>e.add(n,t.identifier)))})),e}get outletDefinitions(){return this.outletDependencies.getKeysForValue(this.identifier)}get dependentControllerIdentifiers(){return this.outletDependencies.getValuesForKey(this.identifier)}get dependentContexts(){const e=this.dependentControllerIdentifiers;return this.router.contexts.filter((t=>e.includes(t.identifier)))}hasOutlet(e,t){return!!this.getOutlet(e,t)||!!this.getOutletFromMap(e,t)}getOutlet(e,t){return this.application.getControllerForElementAndIdentifier(e,t)}getOutletFromMap(e,t){return this.outletsByName.getValuesForKey(t).find((t=>t.element===e))}get scope(){return this.context.scope}get schema(){return this.context.schema}get identifier(){return this.context.identifier}get application(){return this.context.application}get router(){return this.application.router}}class j{constructor(e,t){this.logDebugActivity=(e,t={})=>{const{identifier:n,controller:r,element:i}=this;t=Object.assign({identifier:n,controller:r,element:i},t),this.application.logDebugActivity(this.identifier,e,t)},this.module=e,this.scope=t,this.controller=new e.controllerConstructor(this),this.bindingObserver=new F(this,this.dispatcher),this.valueObserver=new M(this,this.controller),this.targetObserver=new P(this,this),this.outletObserver=new _(this,this);try{this.controller.initialize(),this.logDebugActivity("initialize")}catch(e){this.handleError(e,"initializing controller")}}connect(){this.bindingObserver.start(),this.valueObserver.start(),this.targetObserver.start(),this.outletObserver.start();try{this.controller.connect(),this.logDebugActivity("connect")}catch(e){this.handleError(e,"connecting controller")}}refresh(){this.outletObserver.refresh()}disconnect(){try{this.controller.disconnect(),this.logDebugActivity("disconnect")}catch(e){this.handleError(e,"disconnecting controller")}this.outletObserver.stop(),this.targetObserver.stop(),this.valueObserver.stop(),this.bindingObserver.stop()}get application(){return this.module.application}get identifier(){return this.module.identifier}get schema(){return this.application.schema}get dispatcher(){return this.application.dispatcher}get element(){return this.scope.element}get parentElement(){return this.element.parentElement}handleError(e,t,n={}){const{identifier:r,controller:i,element:o}=this;n=Object.assign({identifier:r,controller:i,element:o},n),this.application.handleError(e,`Error ${t}`,n)}targetConnected(e,t){this.invokeControllerMethod(`${t}TargetConnected`,e)}targetDisconnected(e,t){this.invokeControllerMethod(`${t}TargetDisconnected`,e)}outletConnected(e,t,n){this.invokeControllerMethod(`${l(n)}OutletConnected`,e,t)}outletDisconnected(e,t,n){this.invokeControllerMethod(`${l(n)}OutletDisconnected`,e,t)}invokeControllerMethod(e,...t){const n=this.controller;"function"==typeof n[e]&&n[e](...t)}}const $="function"==typeof Object.getOwnPropertySymbols?e=>[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)]:Object.getOwnPropertyNames,R=(()=>{function e(e){function t(){return Reflect.construct(e,arguments,new.target)}return t.prototype=Object.create(e.prototype,{constructor:{value:t}}),Reflect.setPrototypeOf(t,e),t}try{return function(){const t=e((function(){this.a.call(this)}));t.prototype.a=function(){},new t}(),e}catch(e){return e=>class extends e{}}})();class B{constructor(e,t){this.application=e,this.definition=function(e){return{identifier:e.identifier,controllerConstructor:(t=e.controllerConstructor,function(e,t){const n=R(e),r=function(e,t){return $(t).reduce(((n,r)=>{const i=function(e,t,n){const r=Object.getOwnPropertyDescriptor(e,n);if(!r||!("value"in r)){const e=Object.getOwnPropertyDescriptor(t,n).value;return r&&(e.get=r.get||e.get,e.set=r.set||e.set),e}}(e,t,r);return i&&Object.assign(n,{[r]:i}),n}),{})}(e.prototype,t);return Object.defineProperties(n.prototype,r),n}(t,function(e){return D(e,"blessings").reduce(((t,n)=>{const r=n(e);for(const e in r){const n=t[e]||{};t[e]=Object.assign(n,r[e])}return t}),{})}(t)))};var t}(t),this.contextsByScope=new WeakMap,this.connectedContexts=new Set}get identifier(){return this.definition.identifier}get controllerConstructor(){return this.definition.controllerConstructor}get contexts(){return Array.from(this.connectedContexts)}connectContextForScope(e){const t=this.fetchContextForScope(e);this.connectedContexts.add(t),t.connect()}disconnectContextForScope(e){const t=this.contextsByScope.get(e);t&&(this.connectedContexts.delete(t),t.disconnect())}fetchContextForScope(e){let t=this.contextsByScope.get(e);return t||(t=new j(this,e),this.contextsByScope.set(e,t)),t}}class V{constructor(e){this.scope=e}has(e){return this.data.has(this.getDataKey(e))}get(e){return this.getAll(e)[0]}getAll(e){return(this.data.get(this.getDataKey(e))||"").match(/[^\s]+/g)||[]}getAttributeName(e){return this.data.getAttributeNameForKey(this.getDataKey(e))}getDataKey(e){return`${e}-class`}get data(){return this.scope.data}}class z{constructor(e){this.scope=e}get element(){return this.scope.element}get identifier(){return this.scope.identifier}get(e){const t=this.getAttributeNameForKey(e);return this.element.getAttribute(t)}set(e,t){const n=this.getAttributeNameForKey(e);return this.element.setAttribute(n,t),this.get(e)}has(e){const t=this.getAttributeNameForKey(e);return this.element.hasAttribute(t)}delete(e){if(this.has(e)){const t=this.getAttributeNameForKey(e);return this.element.removeAttribute(t),!0}return!1}getAttributeNameForKey(e){return`data-${this.identifier}-${c(e)}`}}class U{constructor(e){this.warnedKeysByObject=new WeakMap,this.logger=e}warn(e,t,n){let r=this.warnedKeysByObject.get(e);r||(r=new Set,this.warnedKeysByObject.set(e,r)),r.has(t)||(r.add(t),this.logger.warn(n,e))}}function K(e,t){return`[${e}~="${t}"]`}class W{constructor(e){this.scope=e}get element(){return this.scope.element}get identifier(){return this.scope.identifier}get schema(){return this.scope.schema}has(e){return null!=this.find(e)}find(...e){return e.reduce(((e,t)=>e||this.findTarget(t)||this.findLegacyTarget(t)),void 0)}findAll(...e){return e.reduce(((e,t)=>[...e,...this.findAllTargets(t),...this.findAllLegacyTargets(t)]),[])}findTarget(e){const t=this.getSelectorForTargetName(e);return this.scope.findElement(t)}findAllTargets(e){const t=this.getSelectorForTargetName(e);return this.scope.findAllElements(t)}getSelectorForTargetName(e){return K(this.schema.targetAttributeForScope(this.identifier),e)}findLegacyTarget(e){const t=this.getLegacySelectorForTargetName(e);return this.deprecate(this.scope.findElement(t),e)}findAllLegacyTargets(e){const t=this.getLegacySelectorForTargetName(e);return this.scope.findAllElements(t).map((t=>this.deprecate(t,e)))}getLegacySelectorForTargetName(e){const t=`${this.identifier}.${e}`;return K(this.schema.targetAttribute,t)}deprecate(e,t){if(e){const{identifier:n}=this,r=this.schema.targetAttribute,i=this.schema.targetAttributeForScope(n);this.guide.warn(e,`target:${t}`,`Please replace ${r}="${n}.${t}" with ${i}="${t}". The ${r} attribute is deprecated and will be removed in a future version of Stimulus.`)}return e}get guide(){return this.scope.guide}}class H{constructor(e,t){this.scope=e,this.controllerElement=t}get element(){return this.scope.element}get identifier(){return this.scope.identifier}get schema(){return this.scope.schema}has(e){return null!=this.find(e)}find(...e){return e.reduce(((e,t)=>e||this.findOutlet(t)),void 0)}findAll(...e){return e.reduce(((e,t)=>[...e,...this.findAllOutlets(t)]),[])}getSelectorForOutletName(e){const t=this.schema.outletAttributeForScope(this.identifier,e);return this.controllerElement.getAttribute(t)}findOutlet(e){const t=this.getSelectorForOutletName(e);if(t)return this.findElement(t,e)}findAllOutlets(e){const t=this.getSelectorForOutletName(e);return t?this.findAllElements(t,e):[]}findElement(e,t){return this.scope.queryElements(e).filter((n=>this.matchesElement(n,e,t)))[0]}findAllElements(e,t){return this.scope.queryElements(e).filter((n=>this.matchesElement(n,e,t)))}matchesElement(e,t,n){const r=e.getAttribute(this.scope.schema.controllerAttribute)||"";return e.matches(t)&&r.split(" ").includes(n)}}class q{constructor(e,t,n,r){this.targets=new W(this),this.classes=new V(this),this.data=new z(this),this.containsElement=e=>e.closest(this.controllerSelector)===this.element,this.schema=e,this.element=t,this.identifier=n,this.guide=new U(r),this.outlets=new H(this.documentScope,t)}findElement(e){return this.element.matches(e)?this.element:this.queryElements(e).find(this.containsElement)}findAllElements(e){return[...this.element.matches(e)?[this.element]:[],...this.queryElements(e).filter(this.containsElement)]}queryElements(e){return Array.from(this.element.querySelectorAll(e))}get controllerSelector(){return K(this.schema.controllerAttribute,this.identifier)}get isDocumentScope(){return this.element===document.documentElement}get documentScope(){return this.isDocumentScope?this:new q(this.schema,document.documentElement,this.identifier,this.guide.logger)}}class Q{constructor(e,t,n){this.element=e,this.schema=t,this.delegate=n,this.valueListObserver=new I(this.element,this.controllerAttribute,this),this.scopesByIdentifierByElement=new WeakMap,this.scopeReferenceCounts=new WeakMap}start(){this.valueListObserver.start()}stop(){this.valueListObserver.stop()}get controllerAttribute(){return this.schema.controllerAttribute}parseValueForToken(e){const{element:t,content:n}=e;return this.parseValueForElementAndIdentifier(t,n)}parseValueForElementAndIdentifier(e,t){const n=this.fetchScopesByIdentifierForElement(e);let r=n.get(t);return r||(r=this.delegate.createScopeForElementAndIdentifier(e,t),n.set(t,r)),r}elementMatchedValue(e,t){const n=(this.scopeReferenceCounts.get(t)||0)+1;this.scopeReferenceCounts.set(t,n),1==n&&this.delegate.scopeConnected(t)}elementUnmatchedValue(e,t){const n=this.scopeReferenceCounts.get(t);n&&(this.scopeReferenceCounts.set(t,n-1),1==n&&this.delegate.scopeDisconnected(t))}fetchScopesByIdentifierForElement(e){let t=this.scopesByIdentifierByElement.get(e);return t||(t=new Map,this.scopesByIdentifierByElement.set(e,t)),t}}class G{constructor(e){this.application=e,this.scopeObserver=new Q(this.element,this.schema,this),this.scopesByIdentifier=new O,this.modulesByIdentifier=new Map}get element(){return this.application.element}get schema(){return this.application.schema}get logger(){return this.application.logger}get controllerAttribute(){return this.schema.controllerAttribute}get modules(){return Array.from(this.modulesByIdentifier.values())}get contexts(){return this.modules.reduce(((e,t)=>e.concat(t.contexts)),[])}start(){this.scopeObserver.start()}stop(){this.scopeObserver.stop()}loadDefinition(e){this.unloadIdentifier(e.identifier);const t=new B(this.application,e);this.connectModule(t);const n=e.controllerConstructor.afterLoad;n&&n.call(e.controllerConstructor,e.identifier,this.application)}unloadIdentifier(e){const t=this.modulesByIdentifier.get(e);t&&this.disconnectModule(t)}getContextForElementAndIdentifier(e,t){const n=this.modulesByIdentifier.get(t);if(n)return n.contexts.find((t=>t.element==e))}proposeToConnectScopeForElementAndIdentifier(e,t){const n=this.scopeObserver.parseValueForElementAndIdentifier(e,t);n?this.scopeObserver.elementMatchedValue(n.element,n):console.error(`Couldn't find or create scope for identifier: "${t}" and element:`,e)}handleError(e,t,n){this.application.handleError(e,t,n)}createScopeForElementAndIdentifier(e,t){return new q(this.schema,e,t,this.logger)}scopeConnected(e){this.scopesByIdentifier.add(e.identifier,e);const t=this.modulesByIdentifier.get(e.identifier);t&&t.connectContextForScope(e)}scopeDisconnected(e){this.scopesByIdentifier.delete(e.identifier,e);const t=this.modulesByIdentifier.get(e.identifier);t&&t.disconnectContextForScope(e)}connectModule(e){this.modulesByIdentifier.set(e.identifier,e),this.scopesByIdentifier.getValuesForKey(e.identifier).forEach((t=>e.connectContextForScope(t)))}disconnectModule(e){this.modulesByIdentifier.delete(e.identifier),this.scopesByIdentifier.getValuesForKey(e.identifier).forEach((t=>e.disconnectContextForScope(t)))}}const Y={controllerAttribute:"data-controller",actionAttribute:"data-action",targetAttribute:"data-target",targetAttributeForScope:e=>`data-${e}-target`,outletAttributeForScope:(e,t)=>`data-${e}-${t}-outlet`,keyMappings:Object.assign(Object.assign({enter:"Enter",tab:"Tab",esc:"Escape",space:" ",up:"ArrowUp",down:"ArrowDown",left:"ArrowLeft",right:"ArrowRight",home:"Home",end:"End",page_up:"PageUp",page_down:"PageDown"},X("abcdefghijklmnopqrstuvwxyz".split("").map((e=>[e,e])))),X("0123456789".split("").map((e=>[e,e]))))};function X(e){return e.reduce(((e,[t,n])=>Object.assign(Object.assign({},e),{[t]:n})),{})}class Z{constructor(e=document.documentElement,t=Y){this.logger=console,this.debug=!1,this.logDebugActivity=(e,t,n={})=>{this.debug&&this.logFormattedMessage(e,t,n)},this.element=e,this.schema=t,this.dispatcher=new i(this),this.router=new G(this),this.actionDescriptorFilters=Object.assign({},o)}static start(e,t){const n=new this(e,t);return n.start(),n}async start(){await new Promise((e=>{"loading"==document.readyState?document.addEventListener("DOMContentLoaded",(()=>e())):e()})),this.logDebugActivity("application","starting"),this.dispatcher.start(),this.router.start(),this.logDebugActivity("application","start")}stop(){this.logDebugActivity("application","stopping"),this.dispatcher.stop(),this.router.stop(),this.logDebugActivity("application","stop")}register(e,t){this.load({identifier:e,controllerConstructor:t})}registerActionOption(e,t){this.actionDescriptorFilters[e]=t}load(e,...t){(Array.isArray(e)?e:[e,...t]).forEach((e=>{e.controllerConstructor.shouldLoad&&this.router.loadDefinition(e)}))}unload(e,...t){(Array.isArray(e)?e:[e,...t]).forEach((e=>this.router.unloadIdentifier(e)))}get controllers(){return this.router.contexts.map((e=>e.controller))}getControllerForElementAndIdentifier(e,t){const n=this.router.getContextForElementAndIdentifier(e,t);return n?n.controller:null}handleError(e,t,n){var r;this.logger.error("%s\n\n%o\n\n%o",t,e,n),null===(r=window.onerror)||void 0===r||r.call(window,t,"",0,0,e)}logFormattedMessage(e,t,n={}){n=Object.assign({application:this},n),this.logger.groupCollapsed(`${e} #${t}`),this.logger.log("details:",Object.assign({},n)),this.logger.groupEnd()}}function J(e,t,n){return e.application.getControllerForElementAndIdentifier(t,n)}function ee(e,t,n){let r=J(e,t,n);return r||(e.application.router.proposeToConnectScopeForElementAndIdentifier(t,n),r=J(e,t,n),r||void 0)}function te([e,t],n){return function(e){const{token:t,typeDefinition:n}=e,r=`${c(t)}-value`,i=function(e){const{controller:t,token:n,typeDefinition:r}=e,i=function(e){const{controller:t,token:n,typeObject:r}=e,i=d(r.type),o=d(r.default),a=i&&o,s=i&&!o,l=!i&&o,u=ne(r.type),c=re(e.typeObject.default);if(s)return u;if(l)return c;if(u!==c)throw new Error(`The specified default value for the Stimulus Value "${t?`${t}.${n}`:n}" must match the defined type "${u}". The provided default value of "${r.default}" is of type "${c}".`);return a?u:void 0}({controller:t,token:n,typeObject:r}),o=re(r),a=ne(r),s=i||o||a;if(s)return s;throw new Error(`Unknown value type "${t?`${t}.${r}`:n}" for "${n}" value`)}(e);return{type:i,key:r,name:s(r),get defaultValue(){return function(e){const t=ne(e);if(t)return ie[t];const n=f(e,"default"),r=f(e,"type"),i=e;if(n)return i.default;if(r){const{type:e}=i,t=ne(e);if(t)return ie[t]}return e}(n)},get hasCustomDefaultValue(){return void 0!==re(n)},reader:oe[i],writer:ae[i]||ae.default}}({controller:n,token:e,typeDefinition:t})}function ne(e){switch(e){case Array:return"array";case Boolean:return"boolean";case Number:return"number";case Object:return"object";case String:return"string"}}function re(e){switch(typeof e){case"boolean":return"boolean";case"number":return"number";case"string":return"string"}return Array.isArray(e)?"array":"[object Object]"===Object.prototype.toString.call(e)?"object":void 0}const ie={get array(){return[]},boolean:!1,number:0,get object(){return{}},string:""},oe={array(e){const t=JSON.parse(e);if(!Array.isArray(t))throw new TypeError(`expected value of type "array" but instead got value "${e}" of type "${re(t)}"`);return t},boolean:e=>!("0"==e||"false"==String(e).toLowerCase()),number:e=>Number(e.replace(/_/g,"")),object(e){const t=JSON.parse(e);if(null===t||"object"!=typeof t||Array.isArray(t))throw new TypeError(`expected value of type "object" but instead got value "${e}" of type "${re(t)}"`);return t},string:e=>e},ae={default:function(e){return`${e}`},array:se,object:se};function se(e){return JSON.stringify(e)}class le{constructor(e){this.context=e}static get shouldLoad(){return!0}static afterLoad(e,t){}get application(){return this.context.application}get scope(){return this.context.scope}get element(){return this.scope.element}get identifier(){return this.scope.identifier}get targets(){return this.scope.targets}get outlets(){return this.scope.outlets}get classes(){return this.scope.classes}get data(){return this.scope.data}initialize(){}connect(){}disconnect(){}dispatch(e,{target:t=this.element,detail:n={},prefix:r=this.identifier,bubbles:i=!0,cancelable:o=!0}={}){const a=new CustomEvent(r?`${r}:${e}`:e,{detail:n,bubbles:i,cancelable:o});return t.dispatchEvent(a),a}}le.blessings=[function(e){return D(e,"classes").reduce(((e,t)=>{return Object.assign(e,{[`${n=t}Class`]:{get(){const{classes:e}=this;if(e.has(n))return e.get(n);{const t=e.getAttributeName(n);throw new Error(`Missing attribute "${t}"`)}}},[`${n}Classes`]:{get(){return this.classes.getAll(n)}},[`has${u(n)}Class`]:{get(){return this.classes.has(n)}}});var n}),{})},function(e){return D(e,"targets").reduce(((e,t)=>{return Object.assign(e,{[`${n=t}Target`]:{get(){const e=this.targets.find(n);if(e)return e;throw new Error(`Missing target element "${n}" for "${this.identifier}" controller`)}},[`${n}Targets`]:{get(){return this.targets.findAll(n)}},[`has${u(n)}Target`]:{get(){return this.targets.has(n)}}});var n}),{})},function(e){const t=function(e,t){return L(e).reduce(((e,n)=>(e.push(...function(e,t){const n=e[t];return n?Object.keys(n).map((e=>[e,n[e]])):[]}(n,t)),e)),[])}(e,"values"),n={valueDescriptorMap:{get(){return t.reduce(((e,t)=>{const n=te(t,this.identifier),r=this.data.getAttributeNameForKey(n.key);return Object.assign(e,{[r]:n})}),{})}}};return t.reduce(((e,t)=>Object.assign(e,function(e,t){const n=te(e,void 0),{key:r,name:i,reader:o,writer:a}=n;return{[i]:{get(){const e=this.data.get(r);return null!==e?o(e):n.defaultValue},set(e){void 0===e?this.data.delete(r):this.data.set(r,a(e))}},[`has${u(i)}`]:{get(){return this.data.has(r)||n.hasCustomDefaultValue}}}}(t))),n)},function(e){return D(e,"outlets").reduce(((e,t)=>Object.assign(e,function(e){const t=l(e);return{[`${t}Outlet`]:{get(){const t=this.outlets.find(e),n=this.outlets.getSelectorForOutletName(e);if(t){const n=ee(this,t,e);if(n)return n;throw new Error(`The provided outlet element is missing an outlet controller "${e}" instance for host controller "${this.identifier}"`)}throw new Error(`Missing outlet element "${e}" for host controller "${this.identifier}". Stimulus couldn't find a matching outlet element using selector "${n}".`)}},[`${t}Outlets`]:{get(){const t=this.outlets.findAll(e);return t.length>0?t.map((t=>{const n=ee(this,t,e);if(n)return n;console.warn(`The provided outlet element is missing an outlet controller "${e}" instance for host controller "${this.identifier}"`,t)})).filter((e=>e)):[]}},[`${t}OutletElement`]:{get(){const t=this.outlets.find(e),n=this.outlets.getSelectorForOutletName(e);if(t)return t;throw new Error(`Missing outlet element "${e}" for host controller "${this.identifier}". Stimulus couldn't find a matching outlet element using selector "${n}".`)}},[`${t}OutletElements`]:{get(){return this.outlets.findAll(e)}},[`has${u(t)}Outlet`]:{get(){return this.outlets.has(e)}}}}(t))),{})}],le.targets=[],le.outlets=[],le.values={}},5446:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>i}),/^(114|262|591|61)$/.test(n.j))var r=n(5581);function i(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&(0,r.Ng)(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}},6354:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>o}),/^(114|262|591|61)$/.test(n.j))var r=n(5581);if(/^(114|262|591|61)$/.test(n.j))var i=n(6906);function o(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),o=1,a=1;if((0,r.sb)(e)&&t){var s=e.offsetHeight,l=e.offsetWidth;l>0&&(o=(0,i.LI)(n.width)/l||1),s>0&&(a=(0,i.LI)(n.height)/s||1)}return{width:n.width/o,height:n.height/a,top:n.top/a,right:n.right/o,bottom:n.bottom/a,left:n.left/o,x:n.left/o,y:n.top/a}}},2883:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>y}),/^(114|262|591|61)$/.test(n.j))var r=n(4278);if(/^(114|262|591|61)$/.test(n.j))var i=n(5487);if(/^(114|262|591|61)$/.test(n.j))var o=n(8848);if(/^(114|262|591|61)$/.test(n.j))var a=n(3341);if(/^(114|262|591|61)$/.test(n.j))var s=n(5128);if(/^(114|262|591|61)$/.test(n.j))var l=n(9760);if(/^(114|262|591|61)$/.test(n.j))var u=n(271);if(/^(114|262|591|61)$/.test(n.j))var c=n(5581);if(/^(114|262|591|61)$/.test(n.j))var d=n(6354);if(/^(114|262|591|61)$/.test(n.j))var f=n(2083);if(/^(114|262|591|61)$/.test(n.j))var p=n(5446);if(/^(114|262|591|61)$/.test(n.j))var h=n(7604);if(/^(114|262|591|61)$/.test(n.j))var m=n(4426);if(/^(114|262|591|61)$/.test(n.j))var v=n(6906);function g(e,t){return t===r.R9?(0,m.A)((0,i.A)(e)):(0,c.vq)(t)?function(e){var t=(0,d.A)(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):(0,m.A)((0,o.A)((0,l.A)(e)))}function y(e,t,n){var r="clippingParents"===t?function(e){var t=(0,a.A)((0,f.A)(e)),n=["absolute","fixed"].indexOf((0,u.A)(e).position)>=0&&(0,c.sb)(e)?(0,s.A)(e):e;return(0,c.vq)(n)?t.filter((function(e){return(0,c.vq)(e)&&(0,p.A)(e,n)&&"body"!==(0,h.A)(e)})):[]}(e):[].concat(t),i=[].concat(r,[n]),o=i[0],l=i.reduce((function(t,n){var r=g(e,n);return t.top=(0,v.T9)(r.top,t.top),t.right=(0,v.jk)(r.right,t.right),t.bottom=(0,v.jk)(r.bottom,t.bottom),t.left=(0,v.T9)(r.left,t.left),t}),g(e,o));return l.width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l}},7310:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>d}),/^(114|262|591|61)$/.test(n.j))var r=n(6354);if(/^(114|262|591|61)$/.test(n.j))var i=n(3318);if(/^(114|262|591|61)$/.test(n.j))var o=n(7604);if(/^(114|262|591|61)$/.test(n.j))var a=n(5581);if(/^(114|262|591|61)$/.test(n.j))var s=n(793);if(/^(114|262|591|61)$/.test(n.j))var l=n(9760);if(/^(114|262|591|61)$/.test(n.j))var u=n(134);if(/^(114|262|591|61)$/.test(n.j))var c=n(6906);function d(e,t,n){void 0===n&&(n=!1);var d=(0,a.sb)(t),f=(0,a.sb)(t)&&function(e){var t=e.getBoundingClientRect(),n=(0,c.LI)(t.width)/e.offsetWidth||1,r=(0,c.LI)(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),p=(0,l.A)(t),h=(0,r.A)(e,f),m={scrollLeft:0,scrollTop:0},v={x:0,y:0};return(d||!d&&!n)&&(("body"!==(0,o.A)(t)||(0,u.A)(p))&&(m=(0,i.A)(t)),(0,a.sb)(t)?((v=(0,r.A)(t,!0)).x+=t.clientLeft,v.y+=t.clientTop):p&&(v.x=(0,s.A)(p))),{x:h.left+m.scrollLeft-v.x,y:h.top+m.scrollTop-v.y,width:h.width,height:h.height}}},271:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>i}),/^(114|262|591|61)$/.test(n.j))var r=n(8979);function i(e){return(0,r.A)(e).getComputedStyle(e)}},9760:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>i}),/^(114|262|591|61)$/.test(n.j))var r=n(5581);function i(e){return(((0,r.vq)(e)?e.ownerDocument:e.document)||window.document).documentElement}},8848:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>l}),/^(114|262|591|61)$/.test(n.j))var r=n(9760);if(/^(114|262|591|61)$/.test(n.j))var i=n(271);if(/^(114|262|591|61)$/.test(n.j))var o=n(793);if(/^(114|262|591|61)$/.test(n.j))var a=n(222);if(/^(114|262|591|61)$/.test(n.j))var s=n(6906);function l(e){var t,n=(0,r.A)(e),l=(0,a.A)(e),u=null==(t=e.ownerDocument)?void 0:t.body,c=(0,s.T9)(n.scrollWidth,n.clientWidth,u?u.scrollWidth:0,u?u.clientWidth:0),d=(0,s.T9)(n.scrollHeight,n.clientHeight,u?u.scrollHeight:0,u?u.clientHeight:0),f=-l.scrollLeft+(0,o.A)(e),p=-l.scrollTop;return"rtl"===(0,i.A)(u||n).direction&&(f+=(0,s.T9)(n.clientWidth,u?u.clientWidth:0)-c),{width:c,height:d,x:f,y:p}}},6233:(e,t,n)=>{"use strict";function r(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}n.d(t,{A:()=>r})},6979:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>i}),/^(114|262|591|61)$/.test(n.j))var r=n(6354);function i(e){var t=(0,r.A)(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}},7604:(e,t,n)=>{"use strict";function r(e){return e?(e.nodeName||"").toLowerCase():null}n.d(t,{A:()=>r})},3318:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>s}),/^(114|262|591|61)$/.test(n.j))var r=n(222);if(/^(114|262|591|61)$/.test(n.j))var i=n(8979);if(/^(114|262|591|61)$/.test(n.j))var o=n(5581);if(/^(114|262|591|61)$/.test(n.j))var a=n(6233);function s(e){return e!==(0,i.A)(e)&&(0,o.sb)(e)?(0,a.A)(e):(0,r.A)(e)}},5128:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>c}),/^(114|262|591|61)$/.test(n.j))var r=n(8979);if(/^(114|262|591|61)$/.test(n.j))var i=n(7604);if(/^(114|262|591|61)$/.test(n.j))var o=n(271);if(/^(114|262|591|61)$/.test(n.j))var a=n(5581);if(/^(114|262|591|61)$/.test(n.j))var s=n(2063);if(/^(114|262|591|61)$/.test(n.j))var l=n(2083);function u(e){return(0,a.sb)(e)&&"fixed"!==(0,o.A)(e).position?e.offsetParent:null}function c(e){for(var t=(0,r.A)(e),n=u(e);n&&(0,s.A)(n)&&"static"===(0,o.A)(n).position;)n=u(n);return n&&("html"===(0,i.A)(n)||"body"===(0,i.A)(n)&&"static"===(0,o.A)(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&(0,a.sb)(e)&&"fixed"===(0,o.A)(e).position)return null;for(var n=(0,l.A)(e);(0,a.sb)(n)&&["html","body"].indexOf((0,i.A)(n))<0;){var r=(0,o.A)(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}},2083:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>a}),/^(114|262|591|61)$/.test(n.j))var r=n(7604);if(/^(114|262|591|61)$/.test(n.j))var i=n(9760);if(/^(114|262|591|61)$/.test(n.j))var o=n(5581);function a(e){return"html"===(0,r.A)(e)?e:e.assignedSlot||e.parentNode||((0,o.Ng)(e)?e.host:null)||(0,i.A)(e)}},9970:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>s}),/^(114|262|591|61)$/.test(n.j))var r=n(2083);if(/^(114|262|591|61)$/.test(n.j))var i=n(134);if(/^(114|262|591|61)$/.test(n.j))var o=n(7604);if(/^(114|262|591|61)$/.test(n.j))var a=n(5581);function s(e){return["html","body","#document"].indexOf((0,o.A)(e))>=0?e.ownerDocument.body:(0,a.sb)(e)&&(0,i.A)(e)?e:s((0,r.A)(e))}},5487:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>a}),/^(114|262|591|61)$/.test(n.j))var r=n(8979);if(/^(114|262|591|61)$/.test(n.j))var i=n(9760);if(/^(114|262|591|61)$/.test(n.j))var o=n(793);function a(e){var t=(0,r.A)(e),n=(0,i.A)(e),a=t.visualViewport,s=n.clientWidth,l=n.clientHeight,u=0,c=0;return a&&(s=a.width,l=a.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(u=a.offsetLeft,c=a.offsetTop)),{width:s,height:l,x:u+(0,o.A)(e),y:c}}},8979:(e,t,n)=>{"use strict";function r(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}n.d(t,{A:()=>r})},222:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>i}),/^(114|262|591|61)$/.test(n.j))var r=n(8979);function i(e){var t=(0,r.A)(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}},793:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>a}),/^(114|262|591|61)$/.test(n.j))var r=n(6354);if(/^(114|262|591|61)$/.test(n.j))var i=n(9760);if(/^(114|262|591|61)$/.test(n.j))var o=n(222);function a(e){return(0,r.A)((0,i.A)(e)).left+(0,o.A)(e).scrollLeft}},5581:(e,t,n)=>{"use strict";if(n.d(t,{Ng:()=>a,sb:()=>o,vq:()=>i}),/^(114|262|591|61)$/.test(n.j))var r=n(8979);function i(e){return e instanceof(0,r.A)(e).Element||e instanceof Element}function o(e){return e instanceof(0,r.A)(e).HTMLElement||e instanceof HTMLElement}function a(e){return"undefined"!=typeof ShadowRoot&&(e instanceof(0,r.A)(e).ShadowRoot||e instanceof ShadowRoot)}},134:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>i}),/^(114|262|591|61)$/.test(n.j))var r=n(271);function i(e){var t=(0,r.A)(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}},2063:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>i}),/^(114|262|591|61)$/.test(n.j))var r=n(7604);function i(e){return["table","td","th"].indexOf((0,r.A)(e))>=0}},3341:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>s}),/^(114|262|591|61)$/.test(n.j))var r=n(9970);if(/^(114|262|591|61)$/.test(n.j))var i=n(2083);if(/^(114|262|591|61)$/.test(n.j))var o=n(8979);if(/^(114|262|591|61)$/.test(n.j))var a=n(134);function s(e,t){var n;void 0===t&&(t=[]);var l=(0,r.A)(e),u=l===(null==(n=e.ownerDocument)?void 0:n.body),c=(0,o.A)(l),d=u?[c].concat(c.visualViewport||[],(0,a.A)(l)?l:[]):l,f=t.concat(d);return u?f:f.concat(s((0,i.A)(d)))}},4278:(e,t,n)=>{"use strict";n.d(t,{DD:()=>v,GM:()=>g,Mn:()=>r,OM:()=>l,Ol:()=>m,R9:()=>f,WY:()=>d,_N:()=>c,ir:()=>h,kb:()=>a,ni:()=>u,pG:()=>o,qZ:()=>s,sQ:()=>i,xf:()=>p});var r="top",i="bottom",o="right",a="left",s="auto",l=[r,i,o,a],u="start",c="end",d="clippingParents",f="viewport",p="popper",h="reference",m=/^(114|262|591|61)$/.test(n.j)?l.reduce((function(e,t){return e.concat([t+"-"+u,t+"-"+c])}),[]):null,v=/^(114|262|591|61)$/.test(n.j)?[].concat(l,[s]).reduce((function(e,t){return e.concat([t,t+"-"+u,t+"-"+c])}),[]):null,g=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]},1815:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>s}),/^(114|262|591|61)$/.test(n.j))var r=n(2632);if(/^(114|262|591|61)$/.test(n.j))var i=n(8101);if(/^(114|262|591|61)$/.test(n.j))var o=n(9703);if(/^(114|262|591|61)$/.test(n.j))var a=n(4278);function s(e){var t,n=e.reference,s=e.element,l=e.placement,u=l?(0,r.A)(l):null,c=l?(0,i.A)(l):null,d=n.x+n.width/2-s.width/2,f=n.y+n.height/2-s.height/2;switch(u){case a.Mn:t={x:d,y:n.y-s.height};break;case a.sQ:t={x:d,y:n.y+n.height};break;case a.pG:t={x:n.x+n.width,y:f};break;case a.kb:t={x:n.x-s.width,y:f};break;default:t={x:n.x,y:n.y}}var p=u?(0,o.A)(u):null;if(null!=p){var h="y"===p?"height":"width";switch(c){case a.ni:t[p]=t[p]-(n[h]/2-s[h]/2);break;case a._N:t[p]=t[p]+(n[h]/2-s[h]/2)}}return t}},571:(e,t,n)=>{"use strict";function r(e){var t;return function(){return t||(t=new Promise((function(n){Promise.resolve().then((function(){t=void 0,n(e())}))}))),t}}n.d(t,{A:()=>r})},9913:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>f}),/^(114|262|591|61)$/.test(n.j))var r=n(2883);if(/^(114|262|591|61)$/.test(n.j))var i=n(9760);if(/^(114|262|591|61)$/.test(n.j))var o=n(6354);if(/^(114|262|591|61)$/.test(n.j))var a=n(1815);if(/^(114|262|591|61)$/.test(n.j))var s=n(4426);if(/^(114|262|591|61)$/.test(n.j))var l=n(4278);if(/^(114|262|591|61)$/.test(n.j))var u=n(5581);if(/^(114|262|591|61)$/.test(n.j))var c=n(4318);if(/^(114|262|591|61)$/.test(n.j))var d=n(1007);function f(e,t){void 0===t&&(t={});var n=t,f=n.placement,p=void 0===f?e.placement:f,h=n.boundary,m=void 0===h?l.WY:h,v=n.rootBoundary,g=void 0===v?l.R9:v,y=n.elementContext,b=void 0===y?l.xf:y,w=n.altBoundary,E=void 0!==w&&w,k=n.padding,x=void 0===k?0:k,T=(0,c.A)("number"!=typeof x?x:(0,d.A)(x,l.OM)),O=b===l.xf?l.ir:l.xf,S=e.rects.popper,C=e.elements[E?O:b],A=(0,r.A)((0,u.vq)(C)?C:C.contextElement||(0,i.A)(e.elements.popper),m,g),N=(0,o.A)(e.elements.reference),I=(0,a.A)({reference:N,element:S,strategy:"absolute",placement:p}),F=(0,s.A)(Object.assign({},S,I)),M=b===l.xf?F:N,P={top:A.top-M.top+T.top,bottom:M.bottom-A.bottom+T.bottom,left:A.left-M.left+T.left,right:M.right-A.right+T.right},D=e.modifiersData.offset;if(b===l.xf&&D){var L=D[p];Object.keys(P).forEach((function(e){var t=[l.pG,l.sQ].indexOf(e)>=0?1:-1,n=[l.Mn,l.sQ].indexOf(e)>=0?"y":"x";P[e]+=L[n]*t}))}return P}},1007:(e,t,n)=>{"use strict";function r(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}n.d(t,{A:()=>r})},2632:(e,t,n)=>{"use strict";function r(e){return e.split("-")[0]}n.d(t,{A:()=>r})},7364:(e,t,n)=>{"use strict";function r(){return{top:0,right:0,bottom:0,left:0}}n.d(t,{A:()=>r})},9703:(e,t,n)=>{"use strict";function r(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}n.d(t,{A:()=>r})},8101:(e,t,n)=>{"use strict";function r(e){return e.split("-")[1]}n.d(t,{A:()=>r})},6906:(e,t,n)=>{"use strict";n.d(t,{LI:()=>o,T9:()=>r,jk:()=>i});var r=Math.max,i=Math.min,o=Math.round},844:(e,t,n)=>{"use strict";function r(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}n.d(t,{A:()=>r})},4318:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>i}),/^(114|262|591|61)$/.test(n.j))var r=n(7364);function i(e){return Object.assign({},(0,r.A)(),e)}},1206:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>o}),/^(114|262|591|61)$/.test(n.j))var r=n(4278);function i(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||i(e)})),r}function o(e){var t=i(e);return r.GM.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}},4426:(e,t,n)=>{"use strict";function r(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}n.d(t,{A:()=>r})},1504:(e,t,n)=>{"use strict";if(n.d(t,{Ay:()=>b}),/^(262|61)$/.test(n.j))var r=n(7381);var i=n(2427),o=n.n(i),a=n(6931);function s(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}var l="undefined"!=typeof window&&"undefined"!=typeof document;function u(e,t){e&&("function"==typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function c(){return l&&document.createElement("div")}function d(e,t){if(e===t)return!0;if("object"==typeof e&&null!=e&&"object"==typeof t&&null!=t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e){if(!t.hasOwnProperty(n))return!1;if(!d(e[n],t[n]))return!1}return!0}return!1}function f(e){var t=[];return e.forEach((function(e){t.find((function(t){return d(e,t)}))||t.push(e)})),t}var p=/^(262|61)$/.test(n.j)?l?i.useLayoutEffect:i.useEffect:null;function h(e,t,n){n.split(/\s+/).forEach((function(n){n&&e.classList[t](n)}))}var m={name:"className",defaultValue:"",fn:function(e){var t=e.popper.firstElementChild,n=function(){var t;return!!(null==(t=e.props.render)?void 0:t.$$tippy)};function r(){e.props.className&&!n()||h(t,"add",e.props.className)}return{onCreate:r,onBeforeUpdate:function(){n()&&h(t,"remove",e.props.className)},onAfterUpdate:r}}};function v(e){return function(t){var n,r,l=t.children,d=t.content,h=t.visible,v=t.singleton,g=t.render,y=t.reference,b=t.disabled,w=void 0!==b&&b,E=t.ignoreAttributes,k=void 0===E||E,x=(t.__source,t.__self,s(t,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),T=void 0!==h,O=void 0!==v,S=(0,i.useState)(!1),C=S[0],A=S[1],N=(0,i.useState)({}),I=N[0],F=N[1],M=(0,i.useState)(),P=M[0],D=M[1],L=(n=function(){return{container:c(),renders:1}},(r=(0,i.useRef)()).current||(r.current="function"==typeof n?n():n),r.current),_=Object.assign({ignoreAttributes:k},x,{content:L.container});T&&(_.trigger="manual",_.hideOnClick=!1),O&&(w=!0);var j=_,$=_.plugins||[];g&&(j=Object.assign({},_,{plugins:O&&null!=v.data?[].concat($,[{fn:function(){return{onTrigger:function(e,t){var n=v.data.children.find((function(e){return e.instance.reference===t.currentTarget}));e.state.$$activeSingletonInstance=n.instance,D(n.content)}}}}]):$,render:function(){return{popper:L.container}}}));var R=[y].concat(l?[l.type]:[]);return p((function(){var t=y;y&&y.hasOwnProperty("current")&&(t=y.current);var n=e(t||L.ref||c(),Object.assign({},j,{plugins:[m].concat(_.plugins||[])}));return L.instance=n,w&&n.disable(),h&&n.show(),O&&v.hook({instance:n,content:d,props:j,setSingletonContent:D}),A(!0),function(){n.destroy(),null==v||v.cleanup(n)}}),R),p((function(){var e,t,n,r,i;if(1!==L.renders){var o=L.instance;o.setProps((t=o.props,n=j,Object.assign({},n,{popperOptions:Object.assign({},t.popperOptions,n.popperOptions,{modifiers:f([].concat((null==(r=t.popperOptions)?void 0:r.modifiers)||[],(null==(i=n.popperOptions)?void 0:i.modifiers)||[]))})}))),null==(e=o.popperInstance)||e.forceUpdate(),w?o.disable():o.enable(),T&&(h?o.show():o.hide()),O&&v.hook({instance:o,content:d,props:j,setSingletonContent:D})}else L.renders++})),p((function(){var e;if(g){var t=L.instance;t.setProps({popperOptions:Object.assign({},t.props.popperOptions,{modifiers:[].concat(((null==(e=t.props.popperOptions)?void 0:e.modifiers)||[]).filter((function(e){return"$$tippyReact"!==e.name})),[{name:"$$tippyReact",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t,n=e.state,r=null==(t=n.modifiersData)?void 0:t.hide;I.placement===n.placement&&I.referenceHidden===(null==r?void 0:r.isReferenceHidden)&&I.escaped===(null==r?void 0:r.hasPopperEscaped)||F({placement:n.placement,referenceHidden:null==r?void 0:r.isReferenceHidden,escaped:null==r?void 0:r.hasPopperEscaped}),n.attributes.popper={}}}])})})}}),[I.placement,I.referenceHidden,I.escaped].concat(R)),o().createElement(o().Fragment,null,l?(0,i.cloneElement)(l,{ref:function(e){L.ref=e,u(l.ref,e)}}):null,C&&(0,a.createPortal)(g?g(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(I),P,L.instance):d,L.container))}}var g,y=/^(262|61)$/.test(n.j)?(g=v(r.Ay),(0,i.forwardRef)((function(e,t){var n=e.children,r=s(e,["children"]);return o().createElement(g,Object.assign({},undefined,r),n?(0,i.cloneElement)(n,{ref:function(e){u(t,e),u(n.ref,e)}}):null)}))):null;const b=/^(262|61)$/.test(n.j)?y:null},5533:e=>{e.exports=function(){for(var e=arguments.length,t=[],n=0;n<e;n++)t[n]=arguments[n];if(0!==(t=t.filter((function(e){return null!=e}))).length)return 1===t.length?t[0]:t.reduce((function(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}))}},2963:(e,t,n)=>{"use strict";var r=n(4994);t.__esModule=!0,t.default=function(e,t){e.classList?e.classList.add(t):(0,i.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))};var i=r(n(598));e.exports=t.default},598:(e,t)=>{"use strict";t.__esModule=!0,t.default=function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")},e.exports=t.default},788:e=>{"use strict";function t(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}e.exports=function(e,n){e.classList?e.classList.remove(n):"string"==typeof e.className?e.className=t(e.className,n):e.setAttribute("class",t(e.className&&e.className.baseVal||"",n))}},4002:(e,t,n)=>{"use strict";var r=n(4994);t.__esModule=!0,t.default=t.animationEnd=t.animationDelay=t.animationTiming=t.animationDuration=t.animationName=t.transitionEnd=t.transitionDuration=t.transitionDelay=t.transitionTiming=t.transitionProperty=t.transform=void 0;var i,o,a,s,l,u,c,d,f,p,h,m=r(n(1833)),v="transform";if(t.transform=v,t.animationEnd=a,t.transitionEnd=o,t.transitionDelay=c,t.transitionTiming=u,t.transitionDuration=l,t.transitionProperty=s,t.animationDelay=h,t.animationTiming=p,t.animationDuration=f,t.animationName=d,m.default){var g=function(){for(var e,t,n=document.createElement("div").style,r={O:function(e){return"o"+e.toLowerCase()},Moz:function(e){return e.toLowerCase()},Webkit:function(e){return"webkit"+e},ms:function(e){return"MS"+e}},i=Object.keys(r),o="",a=0;a<i.length;a++){var s=i[a];if(s+"TransitionProperty"in n){o="-"+s.toLowerCase(),e=r[s]("TransitionEnd"),t=r[s]("AnimationEnd");break}}return!e&&"transitionProperty"in n&&(e="transitionend"),!t&&"animationName"in n&&(t="animationend"),n=null,{animationEnd:t,transitionEnd:e,prefix:o}}();i=g.prefix,t.transitionEnd=o=g.transitionEnd,t.animationEnd=a=g.animationEnd,t.transform=v=i+"-"+v,t.transitionProperty=s=i+"-transition-property",t.transitionDuration=l=i+"-transition-duration",t.transitionDelay=c=i+"-transition-delay",t.transitionTiming=u=i+"-transition-timing-function",t.animationName=d=i+"-animation-name",t.animationDuration=f=i+"-animation-duration",t.animationTiming=p=i+"-animation-delay",t.animationDelay=h=i+"-animation-timing-function"}var y={transform:v,end:o,property:s,timing:u,delay:c,duration:l};t.default=y},1833:(e,t)=>{"use strict";t.__esModule=!0,t.default=void 0;var n=!("undefined"==typeof window||!window.document||!window.document.createElement);t.default=n,e.exports=t.default},4602:(e,t,n)=>{"use strict";var r=n(4994);t.__esModule=!0,t.default=void 0;var i,o=r(n(1833)),a="clearTimeout",s=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-u)),r=setTimeout(e,n);return u=t,r},l=function(e,t){return e+(e?t[0].toUpperCase()+t.substr(1):t)+"AnimationFrame"};o.default&&["","webkit","moz","o","ms"].some((function(e){var t=l(e,"request");if(t in window)return a=l(e,"cancel"),s=function(e){return window[t](e)}}));var u=(new Date).getTime();(i=function(e){return s(e)}).cancel=function(e){window[a]&&"function"==typeof window[a]&&window[a](e)};var c=i;t.default=c,e.exports=t.default},4954:(e,t,n)=>{"use strict";n.d(t,{Bp:()=>we});var r=n(8587),i=n(8168),o=n(5556),a=n.n(o),s=n(2427);n(4363);let l=e=>"object"==typeof e&&null!=e&&1===e.nodeType,u=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,c=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n=getComputedStyle(e,null);return u(n.overflowY,t)||u(n.overflowX,t)||(e=>{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},d=(e,t,n,r,i,o,a,s)=>o<e&&a>t||o>e&&a<t?0:o<=e&&s<=n||a>=t&&s>=n?o-e-r:a>t&&s<n||o<e&&s>n?a-t+i:0,f=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t};var p=function(){return p=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},p.apply(this,arguments)};Object.create,Object.create;var h=0;function m(){}function v(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function g(e,t){var n;function r(){n&&clearTimeout(n)}function i(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];r(),n=setTimeout((function(){n=null,e.apply(void 0,o)}),t)}return i.cancel=r,i}function y(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return t.some((function(t){return t&&t.apply(void 0,[e].concat(r)),e.preventDownshiftDefault||e.hasOwnProperty("nativeEvent")&&e.nativeEvent.preventDownshiftDefault}))}}function b(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){t.forEach((function(t){"function"==typeof t?t(e):t&&(t.current=e)}))}}function w(e,t){return Object.keys(e).reduce((function(n,r){return n[r]=E(t,r)?t[r]:e[r],n}),{})}function E(e,t){return void 0!==e[t]}function k(e,t,n,r,i){if(void 0===i&&(i=!0),0===n)return-1;var o=n-1;("number"!=typeof t||t<0||t>=n)&&(t=e>0?-1:o+1);var a=t+e;a<0?a=i?o:0:a>o&&(a=i?0:o);var s=x(e,a,n,r,i);return-1===s?t>=n?-1:t:s}function x(e,t,n,r,i){var o=r(t);if(!o||!o.hasAttribute("disabled"))return t;if(e>0){for(var a=t+1;a<n;a++)if(!r(a).hasAttribute("disabled"))return a}else for(var s=t-1;s>=0;s--)if(!r(s).hasAttribute("disabled"))return s;return i?e>0?x(1,0,n,r,!1):x(-1,n-1,n,r,!1):-1}function T(e,t,n,r){return void 0===r&&(r=!0),t.some((function(t){return t&&(v(t,e,n)||r&&v(t,n.document.activeElement,n))}))}var O=g((function(e){S(e).textContent=""}),500);function S(e){void 0===e&&(e=document);var t=e.getElementById("a11y-status-message");return t||((t=e.createElement("div")).setAttribute("id","a11y-status-message"),t.setAttribute("role","status"),t.setAttribute("aria-live","polite"),t.setAttribute("aria-relevant","additions text"),Object.assign(t.style,{border:"0",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0",position:"absolute",width:"1px"}),e.body.appendChild(t),t)}var C=["isInitialMount","highlightedIndex","items","environment"],A={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};var N=g((function(e,t){var n,r,i;n=e(),i=S(r=t),n&&(i.textContent=n,O(r))}),200),I="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?s.useLayoutEffect:s.useEffect;function F(e){var t=e.id,n=void 0===t?"downshift-"+String(h++):t,r=e.labelId,i=e.menuId,o=e.getItemId,a=e.toggleButtonId,l=e.inputId;return(0,s.useRef)({labelId:r||n+"-label",menuId:i||n+"-menu",getItemId:o||function(e){return n+"-item-"+e},toggleButtonId:a||n+"-toggle-button",inputId:l||n+"-input"}).current}function M(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function P(e){var t=(0,s.useRef)(e);return t.current=e,t}function D(e,t,n){var r=(0,s.useRef)(),o=(0,s.useRef)(),a=(0,s.useCallback)((function(t,n){o.current=n,t=w(t,n.props);var r=e(t,n);return n.props.stateReducer(t,(0,i.A)({},n,{changes:r}))}),[e]),l=(0,s.useReducer)(a,t),u=l[0],c=l[1],d=P(n),f=(0,s.useCallback)((function(e){return c((0,i.A)({props:d.current},e))}),[d]),p=o.current;return(0,s.useEffect)((function(){p&&r.current&&r.current!==u&&function(e,t,n){var r=e.props,o=e.type,a={};Object.keys(t).forEach((function(r){!function(e,t,n,r){var o=t.props,a=t.type,s="on"+M(e)+"Change";o[s]&&void 0!==r[e]&&r[e]!==n[e]&&o[s]((0,i.A)({type:a},r))}(r,e,t,n),n[r]!==t[r]&&(a[r]=n[r])})),r.onStateChange&&Object.keys(a).length&&r.onStateChange((0,i.A)({type:o},a))}(p,w(r.current,p.props),u),r.current=u}),[u,n,p]),[u,f]}var L={itemToString:function(e){return e?String(e):""},stateReducer:function(e,t){return t.changes},getA11ySelectionMessage:function(e){var t=e.selectedItem,n=e.itemToString;return t?n(t)+" has been selected.":""},scrollIntoView:function(e,t){if(e){var n=((e,t)=>{var n,r,i,o,a,s;if("undefined"==typeof document)return[];let{scrollMode:u,block:p,inline:h,boundary:m,skipOverflowHiddenElements:v}=t,g="function"==typeof m?m:e=>e!==m;if(!l(e))throw new TypeError("Invalid target");let y=document.scrollingElement||document.documentElement,b=[],w=e;for(;l(w)&&g(w);){if(w=f(w),w===y){b.push(w);break}null!=w&&w===document.body&&c(w)&&!c(document.documentElement)||null!=w&&c(w,v)&&b.push(w)}let E=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,k=null!=(o=null==(i=window.visualViewport)?void 0:i.height)?o:innerHeight,x=null!=(a=window.scrollX)?a:pageXOffset,T=null!=(s=window.scrollY)?s:pageYOffset,{height:O,width:S,top:C,right:A,bottom:N,left:I}=e.getBoundingClientRect(),F="start"===p||"nearest"===p?C:"end"===p?N:C+O/2,M="center"===h?I+S/2:"end"===h?A:I,P=[];for(let e=0;e<b.length;e++){let t=b[e],{height:n,width:r,top:i,right:o,bottom:a,left:s}=t.getBoundingClientRect();if("if-needed"===u&&C>=0&&I>=0&&N<=k&&A<=E&&C>=i&&N<=a&&I>=s&&A<=o)return P;let l=getComputedStyle(t),c=parseInt(l.borderLeftWidth,10),f=parseInt(l.borderTopWidth,10),m=parseInt(l.borderRightWidth,10),v=parseInt(l.borderBottomWidth,10),g=0,w=0,D="offsetWidth"in t?t.offsetWidth-t.clientWidth-c-m:0,L="offsetHeight"in t?t.offsetHeight-t.clientHeight-f-v:0,_="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,j="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(y===t)g="start"===p?F:"end"===p?F-k:"nearest"===p?d(T,T+k,k,f,v,T+F,T+F+O,O):F-k/2,w="start"===h?M:"center"===h?M-E/2:"end"===h?M-E:d(x,x+E,E,c,m,x+M,x+M+S,S),g=Math.max(0,g+T),w=Math.max(0,w+x);else{g="start"===p?F-i-f:"end"===p?F-a+v+L:"nearest"===p?d(i,a,n,f,v+L,F,F+O,O):F-(i+n/2)+L/2,w="start"===h?M-s-c:"center"===h?M-(s+r/2)+D/2:"end"===h?M-o+m+D:d(s,o,r,c,m+D,M,M+S,S);let{scrollLeft:e,scrollTop:l}=t;g=Math.max(0,Math.min(l+g/j,t.scrollHeight-n/j+L)),w=Math.max(0,Math.min(e+w/_,t.scrollWidth-r/_+D)),F+=l-g,M+=e-w}P.push({el:t,top:g,left:w})}return P})(e,{boundary:t,block:"nearest",scrollMode:"if-needed"});n.forEach((function(e){var t=e.el,n=e.top,r=e.left;t.scrollTop=n,t.scrollLeft=r}))}},environment:"undefined"==typeof window?{}:window};function _(e,t,n){void 0===n&&(n=A);var r=e["default"+M(t)];return void 0!==r?r:n[t]}function j(e,t,n){void 0===n&&(n=A);var r=e[t];if(void 0!==r)return r;var i=e["initial"+M(t)];return void 0!==i?i:_(e,t,n)}function $(e,t,n){var r=e.items,i=e.initialHighlightedIndex,o=e.defaultHighlightedIndex,a=t.selectedItem,s=t.highlightedIndex;return 0===r.length?-1:void 0!==i&&s===i?i:void 0!==o?o:a?r.indexOf(a):0===n?-1:n<0?r.length-1:0}var R=function(){return m};function B(e,t,n){var o=n.isInitialMount,a=n.highlightedIndex,l=n.items,u=n.environment,c=(0,r.A)(n,C);(0,s.useEffect)((function(){o||N((function(){return e((0,i.A)({highlightedIndex:a,highlightedItem:l[a],resultCount:l.length},c))}),u.document)}),t)}var V=m;function z(e,t,n){var r;void 0===n&&(n=!0);var o=(null==(r=e.items)?void 0:r.length)&&t>=0;return(0,i.A)({isOpen:!1,highlightedIndex:-1},o&&(0,i.A)({selectedItem:e.items[t],isOpen:_(e,"isOpen"),highlightedIndex:_(e,"highlightedIndex")},n&&{inputValue:e.itemToString(e.items[t])}))}a().array.isRequired,a().func,a().func,a().func,a().number,a().number,a().number,a().bool,a().bool,a().bool,a().any,a().any,a().any,a().string,a().string,a().string,a().func,a().string,a().func,a().func,a().func,a().func,a().func,a().shape({addEventListener:a().func,removeEventListener:a().func,document:a().shape({getElementById:a().func,activeElement:a().any,body:a().any})}),p(p({},L),{getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?"".concat(n," result").concat(1===n?" is":"s are"," available, use up and down arrow keys to navigate. Press Enter or Space Bar keys to select."):"":"No results are available.":""}});var U=0,K=1,W=2,H=3,q=4,Q=5,G=6,Y=7,X=8,Z=9,J=10,ee=11,te=12,ne=13,re=14,ie=15,oe=16,ae=17,se=18,le=19,ue=20,ce=21,de=22,fe=Object.freeze({__proto__:null,InputKeyDownArrowDown:U,InputKeyDownArrowUp:K,InputKeyDownEscape:W,InputKeyDownHome:H,InputKeyDownEnd:q,InputKeyDownPageUp:Q,InputKeyDownPageDown:G,InputKeyDownEnter:Y,InputChange:X,InputBlur:Z,InputFocus:J,MenuMouseLeave:ee,ItemMouseMove:te,ItemClick:ne,ToggleButtonClick:re,FunctionToggleMenu:ie,FunctionOpenMenu:oe,FunctionCloseMenu:ae,FunctionSetHighlightedIndex:se,FunctionSelectItem:le,FunctionSetInputValue:ue,FunctionReset:ce,ControlledPropUpdatedSelectedItem:de});a().array.isRequired,a().func,a().func,a().func,a().func,a().number,a().number,a().number,a().bool,a().bool,a().bool,a().any,a().any,a().any,a().string,a().string,a().string,a().string,a().string,a().string,a().func,a().string,a().string,a().func,a().func,a().func,a().func,a().func,a().func,a().shape({addEventListener:a().func,removeEventListener:a().func,document:a().shape({getElementById:a().func,activeElement:a().any,body:a().any})});var pe=m,he=(0,i.A)({},L,{selectedItemChanged:function(e,t){return e!==t},getA11yStatusMessage:function(e){var t=e.isOpen,n=e.resultCount,r=e.previousResultCount;return t?n?n!==r?n+" result"+(1===n?" is":"s are")+" available, use up and down arrow keys to navigate. Press Enter key to select.":"":"No results are available.":""}});function me(e,t){var n,r,o=t.type,a=t.props,s=t.altKey;switch(o){case ne:r={isOpen:_(a,"isOpen"),highlightedIndex:_(a,"highlightedIndex"),selectedItem:a.items[t.index],inputValue:a.itemToString(a.items[t.index])};break;case U:r=e.isOpen?{highlightedIndex:k(1,e.highlightedIndex,a.items.length,t.getItemNodeFromIndex,!0)}:{highlightedIndex:s&&null==e.selectedItem?-1:$(a,e,1,t.getItemNodeFromIndex),isOpen:a.items.length>=0};break;case K:r=e.isOpen?s?z(a,e.highlightedIndex):{highlightedIndex:k(-1,e.highlightedIndex,a.items.length,t.getItemNodeFromIndex,!0)}:{highlightedIndex:$(a,e,-1,t.getItemNodeFromIndex),isOpen:a.items.length>=0};break;case Y:r=z(a,e.highlightedIndex);break;case W:r=(0,i.A)({isOpen:!1,highlightedIndex:-1},!e.isOpen&&{selectedItem:null,inputValue:""});break;case Q:r={highlightedIndex:k(-10,e.highlightedIndex,a.items.length,t.getItemNodeFromIndex,!1)};break;case G:r={highlightedIndex:k(10,e.highlightedIndex,a.items.length,t.getItemNodeFromIndex,!1)};break;case H:r={highlightedIndex:x(1,0,a.items.length,t.getItemNodeFromIndex,!1)};break;case q:r={highlightedIndex:x(-1,a.items.length-1,a.items.length,t.getItemNodeFromIndex,!1)};break;case Z:r=(0,i.A)({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&(null==(n=a.items)?void 0:n.length)&&t.selectItem&&{selectedItem:a.items[e.highlightedIndex],inputValue:a.itemToString(a.items[e.highlightedIndex])});break;case X:r={isOpen:!0,highlightedIndex:_(a,"highlightedIndex"),inputValue:t.inputValue};break;case J:r={isOpen:!0,highlightedIndex:$(a,e,0)};break;case le:r={selectedItem:t.selectedItem,inputValue:a.itemToString(t.selectedItem)};break;case de:r={inputValue:t.inputValue};break;default:return function(e,t,n){var r,o=t.type,a=t.props;switch(o){case n.ItemMouseMove:r={highlightedIndex:t.disabled?-1:t.index};break;case n.MenuMouseLeave:r={highlightedIndex:-1};break;case n.ToggleButtonClick:case n.FunctionToggleMenu:r={isOpen:!e.isOpen,highlightedIndex:e.isOpen?-1:$(a,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:$(a,e,0)};break;case n.FunctionCloseMenu:r={isOpen:!1};break;case n.FunctionSetHighlightedIndex:r={highlightedIndex:t.highlightedIndex};break;case n.FunctionSetInputValue:r={inputValue:t.inputValue};break;case n.FunctionReset:r={highlightedIndex:_(a,"highlightedIndex"),isOpen:_(a,"isOpen"),selectedItem:_(a,"selectedItem"),inputValue:_(a,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return(0,i.A)({},e,r)}(e,t,fe)}return(0,i.A)({},e,r)}var ve=["onMouseLeave","refKey","ref"],ge=["item","index","refKey","ref","onMouseMove","onMouseDown","onClick","onPress","disabled"],ye=["onClick","onPress","refKey","ref"],be=["onKeyDown","onChange","onInput","onFocus","onBlur","onChangeText","refKey","ref"];function we(e){void 0===e&&(e={}),pe(e,we);var t=(0,i.A)({},he,e),n=t.initialIsOpen,o=t.defaultIsOpen,a=t.items,l=t.scrollIntoView,u=t.environment,c=t.getA11yStatusMessage,d=t.getA11ySelectionMessage,f=t.itemToString,p=function(e){var t=function(e){var t=j(e,"selectedItem"),n=j(e,"isOpen"),r=j(e,"highlightedIndex"),i=j(e,"inputValue");return{highlightedIndex:r<0&&t&&n?e.items.indexOf(t):r,isOpen:n,selectedItem:t,inputValue:i}}(e),n=t.selectedItem,r=t.inputValue;return""===r&&n&&void 0===e.defaultInputValue&&void 0===e.initialInputValue&&void 0===e.inputValue&&(r=e.itemToString(n)),(0,i.A)({},t,{inputValue:r})}(t),h=function(e,t,n){var r=(0,s.useRef)(),i=D(e,t,n),o=i[0],a=i[1];return(0,s.useEffect)((function(){E(n,"selectedItem")&&(n.selectedItemChanged(r.current,n.selectedItem)&&a({type:de,inputValue:n.itemToString(n.selectedItem)}),r.current=o.selectedItem===r.current?n.selectedItem:o.selectedItem)}),[o.selectedItem,n.selectedItem]),[w(o,n),a]}(me,p,t),m=h[0],v=h[1],g=m.isOpen,k=m.highlightedIndex,x=m.selectedItem,O=m.inputValue,S=(0,s.useRef)(null),C=(0,s.useRef)({}),A=(0,s.useRef)(null),N=(0,s.useRef)(null),M=(0,s.useRef)(!0),L=F(t),_=(0,s.useRef)(),$=P({state:m,props:t}),z=(0,s.useCallback)((function(e){return C.current[L.getItemId(e)]}),[L]);B(c,[g,k,O,a],(0,i.A)({isInitialMount:M.current,previousResultCount:_.current,items:a,environment:u,itemToString:f},m)),B(d,[x],(0,i.A)({isInitialMount:M.current,previousResultCount:_.current,items:a,environment:u,itemToString:f},m));var fe=function(e){var t=e.highlightedIndex,n=e.isOpen,r=e.itemRefs,i=e.getItemNodeFromIndex,o=e.menuElement,a=e.scrollIntoView,l=(0,s.useRef)(!0);return I((function(){t<0||!n||!Object.keys(r.current).length||(!1===l.current?l.current=!0:a(i(t),o))}),[t]),l}({menuElement:S.current,highlightedIndex:k,isOpen:g,itemRefs:C,scrollIntoView:l,getItemNodeFromIndex:z});V({isInitialMount:M.current,props:t,state:m}),(0,s.useEffect)((function(){(n||o||g)&&A.current&&A.current.focus()}),[]),(0,s.useEffect)((function(){M.current||(_.current=a.length)}));var Ee=function(e,t,n,r){var i=(0,s.useRef)({isMouseDown:!1,isTouchMove:!1});return(0,s.useEffect)((function(){if(null!=(null==n?void 0:n.addEventListener)){var o=function(){i.current.isMouseDown=!0},a=function(o){i.current.isMouseDown=!1,e&&!T(o.target,t.map((function(e){return e.current})),n)&&r()},s=function(){i.current.isTouchMove=!1},l=function(){i.current.isTouchMove=!0},u=function(o){!e||i.current.isTouchMove||T(o.target,t.map((function(e){return e.current})),n,!1)||r()};return n.addEventListener("mousedown",o),n.addEventListener("mouseup",a),n.addEventListener("touchstart",s),n.addEventListener("touchmove",l),n.addEventListener("touchend",u),function(){n.removeEventListener("mousedown",o),n.removeEventListener("mouseup",a),n.removeEventListener("touchstart",s),n.removeEventListener("touchmove",l),n.removeEventListener("touchend",u)}}}),[e,n]),i}(g,[A,S,N],u,(function(){v({type:Z,selectItem:!1})})),ke=R("getInputProps","getMenuProps");(0,s.useEffect)((function(){return M.current=!1,function(){M.current=!0}}),[]),(0,s.useEffect)((function(){var e;if(g){if((null==(e=u.document)?void 0:e.activeElement)!==A.current){var t;null==A||null==(t=A.current)||t.focus()}}else C.current={}}),[g,u]);var xe=(0,s.useMemo)((function(){return{ArrowDown:function(e){e.preventDefault(),v({type:U,altKey:e.altKey,getItemNodeFromIndex:z})},ArrowUp:function(e){e.preventDefault(),v({type:K,altKey:e.altKey,getItemNodeFromIndex:z})},Home:function(e){$.current.state.isOpen&&(e.preventDefault(),v({type:H,getItemNodeFromIndex:z}))},End:function(e){$.current.state.isOpen&&(e.preventDefault(),v({type:q,getItemNodeFromIndex:z}))},Escape:function(e){var t=$.current.state;(t.isOpen||t.inputValue||t.selectedItem||t.highlightedIndex>-1)&&(e.preventDefault(),v({type:W}))},Enter:function(e){$.current.state.isOpen&&229!==e.which&&(e.preventDefault(),v({type:Y,getItemNodeFromIndex:z}))},PageUp:function(e){$.current.state.isOpen&&(e.preventDefault(),v({type:Q,getItemNodeFromIndex:z}))},PageDown:function(e){$.current.state.isOpen&&(e.preventDefault(),v({type:G,getItemNodeFromIndex:z}))}}}),[v,$,z]),Te=(0,s.useCallback)((function(e){return(0,i.A)({id:L.labelId,htmlFor:L.inputId},e)}),[L]),Oe=(0,s.useCallback)((function(e,t){var n,o=void 0===e?{}:e,a=o.onMouseLeave,s=o.refKey,l=void 0===s?"ref":s,u=o.ref,c=(0,r.A)(o,ve),d=(void 0===t?{}:t).suppressRefError;return ke("getMenuProps",void 0!==d&&d,l,S),(0,i.A)(((n={})[l]=b(u,(function(e){S.current=e})),n.id=L.menuId,n.role="listbox",n["aria-labelledby"]=c&&c["aria-label"]?void 0:""+L.labelId,n.onMouseLeave=y(a,(function(){v({type:ee})})),n),c)}),[v,ke,L]),Se=(0,s.useCallback)((function(e){var t,n,o=void 0===e?{}:e,a=o.item,s=o.index,l=o.refKey,u=void 0===l?"ref":l,c=o.ref,d=o.onMouseMove,f=o.onMouseDown,p=o.onClick;o.onPress;var h=o.disabled,m=(0,r.A)(o,ge),g=$.current,w=g.props,E=g.state,k=function(e,t,n,r){var i,o;if(void 0===e){if(void 0===t)throw new Error(r);i=n[t],o=t}else o=void 0===t?n.indexOf(e):t,i=e;return[i,o]}(a,s,w.items,"Pass either item or index to getItemProps!")[1],x=p;return(0,i.A)(((t={})[u]=b(c,(function(e){e&&(C.current[L.getItemId(k)]=e)})),t.disabled=h,t.role="option",t["aria-selected"]=""+(k===E.highlightedIndex),t.id=L.getItemId(k),t),!h&&((n={}).onClick=y(x,(function(){v({type:ne,index:k})})),n),{onMouseMove:y(d,(function(){k!==E.highlightedIndex&&(fe.current=!1,v({type:te,index:k,disabled:h}))})),onMouseDown:y(f,(function(e){return e.preventDefault()}))},m)}),[v,$,fe,L]),Ce=(0,s.useCallback)((function(e){var t,n=void 0===e?{}:e,o=n.onClick;n.onPress;var a=n.refKey,s=void 0===a?"ref":a,l=n.ref,u=(0,r.A)(n,ye),c=$.current.state;return(0,i.A)(((t={})[s]=b(l,(function(e){N.current=e})),t["aria-controls"]=L.menuId,t["aria-expanded"]=c.isOpen,t.id=L.toggleButtonId,t.tabIndex=-1,t),!u.disabled&&(0,i.A)({},{onClick:y(o,(function(){v({type:re})}))}),u)}),[v,$,L]),Ae=(0,s.useCallback)((function(e,t){var n,o=void 0===e?{}:e,a=o.onKeyDown,s=o.onChange,l=o.onInput,c=o.onFocus,d=o.onBlur;o.onChangeText;var f=o.refKey,p=void 0===f?"ref":f,h=o.ref,m=(0,r.A)(o,be),g=(void 0===t?{}:t).suppressRefError;ke("getInputProps",void 0!==g&&g,p,A);var w,E=$.current.state,k={};return m.disabled||((w={}).onChange=y(s,l,(function(e){v({type:X,inputValue:e.target.value})})),w.onKeyDown=y(a,(function(e){var t=function(e){var t=e.key,n=e.keyCode;return n>=37&&n<=40&&0!==t.indexOf("Arrow")?"Arrow"+t:t}(e);t&&xe[t]&&xe[t](e)})),w.onBlur=y(d,(function(e){if(E.isOpen&&!Ee.current.isMouseDown){var t=null===e.relatedTarget&&u.document.activeElement!==u.document.body;v({type:Z,selectItem:!t})}})),w.onFocus=y(c,(function(){E.isOpen||v({type:J})})),k=w),(0,i.A)(((n={})[p]=b(h,(function(e){A.current=e})),n["aria-activedescendant"]=E.isOpen&&E.highlightedIndex>-1?L.getItemId(E.highlightedIndex):"",n["aria-autocomplete"]="list",n["aria-controls"]=L.menuId,n["aria-expanded"]=E.isOpen,n["aria-labelledby"]=m&&m["aria-label"]?void 0:""+L.labelId,n.autoComplete="off",n.id=L.inputId,n.role="combobox",n.value=E.inputValue,n),k,m)}),[ke,$,L,xe,v,Ee,u]),Ne=(0,s.useCallback)((function(){v({type:ie})}),[v]),Ie=(0,s.useCallback)((function(){v({type:ae})}),[v]),Fe=(0,s.useCallback)((function(){v({type:oe})}),[v]),Me=(0,s.useCallback)((function(e){v({type:se,highlightedIndex:e})}),[v]),Pe=(0,s.useCallback)((function(e){v({type:le,selectedItem:e})}),[v]);return{getItemProps:Se,getLabelProps:Te,getMenuProps:Oe,getInputProps:Ae,getToggleButtonProps:Ce,toggleMenu:Ne,openMenu:Fe,closeMenu:Ie,setHighlightedIndex:Me,setInputValue:(0,s.useCallback)((function(e){v({type:ue,inputValue:e})}),[v]),selectItem:Pe,reset:(0,s.useCallback)((function(){v({type:ce})}),[v]),highlightedIndex:k,isOpen:g,selectedItem:x,inputValue:O}}we.stateChangeTypes=fe,a().array,a().array,a().array,a().func,a().func,a().func,a().number,a().number,a().number,a().func,a().func,a().string,a().string,a().shape({addEventListener:a().func,removeEventListener:a().func,document:a().shape({getElementById:a().func,activeElement:a().any,body:a().any})})},1688:(e,t,n)=>{var r=n(4708);n(4160).FocusTrapReact=r,e.exports=r},2427:(e,t,n)=>{var r=n(6540);n(4160).React=r,e.exports=r},6931:(e,t,n)=>{var r=n(961);n(4160).ReactDOM=r,e.exports=r},862:(e,t,n)=>{var r=n(1663);n(4160).CSSTransitionGroup=r,e.exports=r},4160:(e,t,n)=>{"use strict";e.exports=function(){if("object"==typeof globalThis)return globalThis;var e;try{e=this||new Function("return this")()}catch(e){if("object"==typeof window)return window;if("object"==typeof self)return self;if(void 0!==n.g)return n.g}return e}()},4708:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}function a(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(e)}var l=n(2427),u=n(6931),c=n(5556),d=n(2697).createFocusTrap,f=n(9054).isFocusable,p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&o(e,t)}(h,e);var t,n,c,d,p=(c=h,d=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=s(c);if(d){var n=s(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return function(e,t){if(t&&("object"===r(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return a(e)}(this,e)});function h(e){var t,n,r,i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),i=function(e){var t,n=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof n){for(var r=arguments.length,i=new Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o];n=n.apply(void 0,i)}if(!0===n&&(n=void 0),!n){if(void 0===n||!1===n)return n;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a,s=n;if("string"==typeof n&&!(s=null===(a=this.getDocument())||void 0===a?void 0:a.querySelector(n)))throw new Error("`".concat(e,"` as selector refers to no known node"));return s},(r="getNodeForOption")in(n=a(t=p.call(this,e)))?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,t.handleDeactivate=t.handleDeactivate.bind(a(t)),t.handlePostDeactivate=t.handlePostDeactivate.bind(a(t)),t.handleClickOutsideDeactivates=t.handleClickOutsideDeactivates.bind(a(t)),t.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:t.handleDeactivate,onPostDeactivate:t.handlePostDeactivate,clickOutsideDeactivates:t.handleClickOutsideDeactivates},t.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var o=e.focusTrapOptions;for(var s in o)Object.prototype.hasOwnProperty.call(o,s)&&("returnFocusOnDeactivate"!==s&&"onDeactivate"!==s&&"onPostDeactivate"!==s&&"checkCanReturnFocus"!==s&&"clickOutsideDeactivates"!==s?t.internalOptions[s]=o[s]:t.originalOptions[s]=o[s]);return t.outsideClick=null,t.focusTrapElements=e.containerElements||[],t.updatePreviousElement(),t}return t=h,(n=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),n=!(!e.originalOptions.returnFocusOnDeactivate||null==t||!t.focus||e.outsideClick&&(!e.outsideClick.allowDeactivation||f(e.outsideClick.target,e.internalOptions.tabbableOptions))),r=e.internalOptions.preventScroll,i=void 0!==r&&r;n&&t.focus({preventScroll:i}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){if(!this.focusTrap){var e=this.focusTrapElements.map(u.findDOMNode);e.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(e,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,n=e.active&&!this.props.active,r=!e.paused&&this.props.paused,i=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),n)return void this.deactivateTrap();r&&this.focusTrap.pause(),i&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?l.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===l.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return l.cloneElement(t,{ref:function(n){var r=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=r||[n]}})}return null}}])&&i(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),h}(l.Component),h="undefined"==typeof Element?Function:Element;p.propTypes={active:c.bool,paused:c.bool,focusTrapOptions:c.shape({document:c.object,onActivate:c.func,onPostActivate:c.func,checkCanFocusTrap:c.func,onDeactivate:c.func,onPostDeactivate:c.func,checkCanReturnFocus:c.func,initialFocus:c.oneOfType([c.instanceOf(h),c.string,c.bool,c.func]),fallbackFocus:c.oneOfType([c.instanceOf(h),c.string,c.func]),escapeDeactivates:c.oneOfType([c.bool,c.func]),clickOutsideDeactivates:c.oneOfType([c.bool,c.func]),returnFocusOnDeactivate:c.bool,setReturnFocus:c.oneOfType([c.instanceOf(h),c.string,c.bool,c.func]),allowOutsideClick:c.oneOfType([c.bool,c.func]),preventScroll:c.bool,tabbableOptions:c.shape({displayCheck:c.oneOf(["full","non-zero-area","none"]),getShadowRoot:c.oneOfType([c.bool,c.func])})}),containerElements:c.arrayOf(c.instanceOf(h)),children:c.oneOfType([c.element,c.instanceOf(h)])},p.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:d},e.exports=p},2697:(e,t,n)=>{"use strict";if(n.r(t),n.d(t,{createFocusTrap:()=>p}),/^(125|61)$/.test(n.j))var r=n(9054);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s,l=(s=[],{activateTrap:function(e){if(s.length>0){var t=s[s.length-1];t!==e&&t.pause()}var n=s.indexOf(e);-1===n||s.splice(n,1),s.push(e)},deactivateTrap:function(e){var t=s.indexOf(e);-1!==t&&s.splice(t,1),s.length>0&&s[s.length-1].unpause()}}),u=function(e){return setTimeout(e,0)},c=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},d=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return"function"==typeof e?e.apply(void 0,n):e},f=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},p=function(e,t){var n,i=(null==t?void 0:t.document)||document,a=o({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),s={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0},p=function(e,t,n){return e&&void 0!==e[t]?e[t]:a[n||t]},h=function(e){return s.containerGroups.findIndex((function(t){var n=t.container,r=t.tabbableNodes;return n.contains(e)||r.find((function(t){return t===e}))}))},m=function(e){var t=a[e];if("function"==typeof t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];t=t.apply(void 0,r)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var s=t;if("string"==typeof t&&!(s=i.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return s},v=function(){var e=m("initialFocus");if(!1===e)return!1;if(void 0===e)if(h(i.activeElement)>=0)e=i.activeElement;else{var t=s.tabbableGroups[0];e=t&&t.firstTabbableNode||m("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},g=function(){if(s.containerGroups=s.containers.map((function(e){var t=(0,r.tabbable)(e,a.tabbableOptions),n=(0,r.focusable)(e,a.tabbableOptions);return{container:e,tabbableNodes:t,focusableNodes:n,firstTabbableNode:t.length>0?t[0]:null,lastTabbableNode:t.length>0?t[t.length-1]:null,nextTabbableNode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=n.findIndex((function(t){return t===e}));if(!(i<0))return t?n.slice(i+1).find((function(e){return(0,r.isTabbable)(e,a.tabbableOptions)})):n.slice(0,i).reverse().find((function(e){return(0,r.isTabbable)(e,a.tabbableOptions)}))}}})),s.tabbableGroups=s.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),s.tabbableGroups.length<=0&&!m("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},y=function e(t){!1!==t&&t!==i.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!a.preventScroll}),s.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(v()))},b=function(e){var t=m("setReturnFocus",e);return t||!1!==t&&e},w=function(e){var t=f(e);h(t)>=0||(d(a.clickOutsideDeactivates,e)?n.deactivate({returnFocus:a.returnFocusOnDeactivate&&!(0,r.isFocusable)(t,a.tabbableOptions)}):d(a.allowOutsideClick,e)||e.preventDefault())},E=function(e){var t=f(e),n=h(t)>=0;n||t instanceof Document?n&&(s.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),y(s.mostRecentlyFocusedNode||v()))},k=function(e){if(function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e)&&!1!==d(a.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){var t=f(e);g();var n=null;if(s.tabbableGroups.length>0){var i=h(t),o=i>=0?s.containerGroups[i]:void 0;if(i<0)n=e.shiftKey?s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:s.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var l=c(s.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(l<0&&(o.container===t||(0,r.isFocusable)(t,a.tabbableOptions)&&!(0,r.isTabbable)(t,a.tabbableOptions)&&!o.nextTabbableNode(t,!1))&&(l=i),l>=0){var u=0===l?s.tabbableGroups.length-1:l-1;n=s.tabbableGroups[u].lastTabbableNode}}else{var d=c(s.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(d<0&&(o.container===t||(0,r.isFocusable)(t,a.tabbableOptions)&&!(0,r.isTabbable)(t,a.tabbableOptions)&&!o.nextTabbableNode(t))&&(d=i),d>=0){var p=d===s.tabbableGroups.length-1?0:d+1;n=s.tabbableGroups[p].firstTabbableNode}}}else n=m("fallbackFocus");n&&(e.preventDefault(),y(n))}(e)},x=function(e){var t=f(e);h(t)>=0||d(a.clickOutsideDeactivates,e)||d(a.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},T=function(){if(s.active)return l.activateTrap(n),s.delayInitialFocusTimer=a.delayInitialFocus?u((function(){y(v())})):y(v()),i.addEventListener("focusin",E,!0),i.addEventListener("mousedown",w,{capture:!0,passive:!1}),i.addEventListener("touchstart",w,{capture:!0,passive:!1}),i.addEventListener("click",x,{capture:!0,passive:!1}),i.addEventListener("keydown",k,{capture:!0,passive:!1}),n},O=function(){if(s.active)return i.removeEventListener("focusin",E,!0),i.removeEventListener("mousedown",w,!0),i.removeEventListener("touchstart",w,!0),i.removeEventListener("click",x,!0),i.removeEventListener("keydown",k,!0),n};return(n={get active(){return s.active},get paused(){return s.paused},activate:function(e){if(s.active)return this;var t=p(e,"onActivate"),n=p(e,"onPostActivate"),r=p(e,"checkCanFocusTrap");r||g(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=i.activeElement,t&&t();var o=function(){r&&g(),T(),n&&n()};return r?(r(s.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(e){if(!s.active)return this;var t=o({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},e);clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,O(),s.active=!1,s.paused=!1,l.deactivateTrap(n);var r=p(t,"onDeactivate"),i=p(t,"onPostDeactivate"),c=p(t,"checkCanReturnFocus"),d=p(t,"returnFocus","returnFocusOnDeactivate");r&&r();var f=function(){u((function(){d&&y(b(s.nodeFocusedBeforeActivation)),i&&i()}))};return d&&c?(c(b(s.nodeFocusedBeforeActivation)).then(f,f),this):(f(),this)},pause:function(){return s.paused||!s.active||(s.paused=!0,O()),this},unpause:function(){return s.paused&&s.active?(s.paused=!1,g(),T(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return s.containers=t.map((function(e){return"string"==typeof e?i.querySelector(e):e})),s.active&&g(),this}}).updateContainerElements(e),n}},4146:(e,t,n)=>{"use strict";var r=n(3404),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?a:s[e.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=a;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var i=p(n);i&&i!==h&&e(t,i,r)}var a=c(n);d&&(a=a.concat(d(n)));for(var s=l(t),m=l(n),v=0;v<a.length;++v){var g=a[v];if(!(o[g]||r&&r[g]||m&&m[g]||s&&s[g])){var y=f(n,g);try{u(t,g,y)}catch(e){}}}}return t}},3072:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,a=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case s:case a:case p:return e;default:switch(e=e&&e.$$typeof){case u:case f:case v:case m:case l:return e;default:return t}}case i:return t}}}function k(e){return E(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=u,t.ContextProvider=l,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=v,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=a,t.Suspense=p,t.isAsyncMode=function(e){return k(e)||E(e)===c},t.isConcurrentMode=k,t.isContextConsumer=function(e){return E(e)===u},t.isContextProvider=function(e){return E(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return E(e)===f},t.isFragment=function(e){return E(e)===o},t.isLazy=function(e){return E(e)===v},t.isMemo=function(e){return E(e)===m},t.isPortal=function(e){return E(e)===i},t.isProfiler=function(e){return E(e)===s},t.isStrictMode=function(e){return E(e)===a},t.isSuspense=function(e){return E(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===s||e===a||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===v||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===f||e.$$typeof===y||e.$$typeof===b||e.$$typeof===w||e.$$typeof===g)},t.typeOf=E},3404:(e,t,n)=>{"use strict";e.exports=n(3072)},5228:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var o,a,s=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),l=1;l<arguments.length;l++){for(var u in o=Object(arguments[l]))n.call(o,u)&&(s[u]=o[u]);if(t){a=t(o);for(var c=0;c<a.length;c++)r.call(o,a[c])&&(s[a[c]]=o[a[c]])}}return s}},2694:(e,t,n)=>{"use strict";var r=n(6925);function i(){}function o(){}o.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,o,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:i};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},2551:(e,t,n)=>{"use strict";var r=n(2427),i=n(5228),o=n(9982);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(a(227));function s(e,t,n,r,i,o,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var l=!1,u=null,c=!1,d=null,f={onError:function(e){l=!0,u=e}};function p(e,t,n,r,i,o,a,c,d){l=!1,u=null,s.apply(f,arguments)}var h=null,m=null,v=null;function g(e,t,n){var r=e.type||"unknown-event";e.currentTarget=v(n),function(e,t,n,r,i,o,s,f,h){if(p.apply(this,arguments),l){if(!l)throw Error(a(198));var m=u;l=!1,u=null,c||(c=!0,d=m)}}(r,t,void 0,e),e.currentTarget=null}var y=null,b={};function w(){if(y)for(var e in b){var t=b[e],n=y.indexOf(e);if(!(-1<n))throw Error(a(96,e));if(!k[n]){if(!t.extractEvents)throw Error(a(97,e));for(var r in k[n]=t,n=t.eventTypes){var i=void 0,o=n[r],s=t,l=r;if(x.hasOwnProperty(l))throw Error(a(99,l));x[l]=o;var u=o.phasedRegistrationNames;if(u){for(i in u)u.hasOwnProperty(i)&&E(u[i],s,l);i=!0}else o.registrationName?(E(o.registrationName,s,l),i=!0):i=!1;if(!i)throw Error(a(98,r,e))}}}}function E(e,t,n){if(T[e])throw Error(a(100,e));T[e]=t,O[e]=t.eventTypes[n].dependencies}var k=[],x={},T={},O={};function S(e){var t,n=!1;for(t in e)if(e.hasOwnProperty(t)){var r=e[t];if(!b.hasOwnProperty(t)||b[t]!==r){if(b[t])throw Error(a(102,t));b[t]=r,n=!0}}n&&w()}var C=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),A=null,N=null,I=null;function F(e){if(e=m(e)){if("function"!=typeof A)throw Error(a(280));var t=e.stateNode;t&&(t=h(t),A(e.stateNode,e.type,t))}}function M(e){N?I?I.push(e):I=[e]:N=e}function P(){if(N){var e=N,t=I;if(I=N=null,F(e),t)for(e=0;e<t.length;e++)F(t[e])}}function D(e,t){return e(t)}function L(e,t,n,r,i){return e(t,n,r,i)}function _(){}var j=D,$=!1,R=!1;function B(){null===N&&null===I||(_(),P())}function V(e,t,n){if(R)return e(t,n);R=!0;try{return j(e,t,n)}finally{R=!1,B()}}var z=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,U=Object.prototype.hasOwnProperty,K={},W={};function H(e,t,n,r,i,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o}var q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){q[e]=new H(e,0,!1,e,null,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];q[t]=new H(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){q[e]=new H(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){q[e]=new H(e,2,!1,e,null,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){q[e]=new H(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){q[e]=new H(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){q[e]=new H(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){q[e]=new H(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){q[e]=new H(e,5,!1,e.toLowerCase(),null,!1)}));var Q=/[\-:]([a-z])/g;function G(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(Q,G);q[t]=new H(t,1,!1,e,null,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(Q,G);q[t]=new H(t,1,!1,e,"http://www.w3.org/1999/xlink",!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(Q,G);q[t]=new H(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){q[e]=new H(e,1,!1,e.toLowerCase(),null,!1)})),q.xlinkHref=new H("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){q[e]=new H(e,1,!1,e.toLowerCase(),null,!0)}));var Y=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function X(e,t,n,r){var i=q.hasOwnProperty(t)?q[t]:null;(null!==i?0===i.type:!r&&2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1]))||(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!U.call(W,e)||!U.call(K,e)&&(z.test(e)?W[e]=!0:(K[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}Y.hasOwnProperty("ReactCurrentDispatcher")||(Y.ReactCurrentDispatcher={current:null}),Y.hasOwnProperty("ReactCurrentBatchConfig")||(Y.ReactCurrentBatchConfig={suspense:null});var Z=/^(.*)[\\\/]/,J="function"==typeof Symbol&&Symbol.for,ee=J?Symbol.for("react.element"):60103,te=J?Symbol.for("react.portal"):60106,ne=J?Symbol.for("react.fragment"):60107,re=J?Symbol.for("react.strict_mode"):60108,ie=J?Symbol.for("react.profiler"):60114,oe=J?Symbol.for("react.provider"):60109,ae=J?Symbol.for("react.context"):60110,se=J?Symbol.for("react.concurrent_mode"):60111,le=J?Symbol.for("react.forward_ref"):60112,ue=J?Symbol.for("react.suspense"):60113,ce=J?Symbol.for("react.suspense_list"):60120,de=J?Symbol.for("react.memo"):60115,fe=J?Symbol.for("react.lazy"):60116,pe=J?Symbol.for("react.block"):60121,he="function"==typeof Symbol&&Symbol.iterator;function me(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=he&&e[he]||e["@@iterator"])?e:null}function ve(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case ne:return"Fragment";case te:return"Portal";case ie:return"Profiler";case re:return"StrictMode";case ue:return"Suspense";case ce:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ae:return"Context.Consumer";case oe:return"Context.Provider";case le:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case de:return ve(e.type);case pe:return ve(e.render);case fe:if(e=1===e._status?e._result:null)return ve(e)}return null}function ge(e){var t="";do{e:switch(e.tag){case 3:case 4:case 6:case 7:case 10:case 9:var n="";break e;default:var r=e._debugOwner,i=e._debugSource,o=ve(e.type);n=null,r&&(n=ve(r.type)),r=o,o="",i?o=" (at "+i.fileName.replace(Z,"")+":"+i.lineNumber+")":n&&(o=" (created by "+n+")"),n="\n in "+(r||"Unknown")+o}t+=n,e=e.return}while(e);return t}function ye(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function be(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function we(e){e._valueTracker||(e._valueTracker=function(e){var t=be(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Ee(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=be(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function ke(e,t){var n=t.checked;return i({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function xe(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=ye(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Te(e,t){null!=(t=t.checked)&&X(e,"checked",t,!1)}function Oe(e,t){Te(e,t);var n=ye(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?Ce(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ce(e,t.type,ye(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Se(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function Ce(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Ae(e,t){return e=i({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function Ne(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+ye(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function Ie(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return i({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Fe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:ye(n)}}function Me(e,t){var n=ye(t.value),r=ye(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function Pe(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function De(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?De(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var _e,je,$e=(je=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((_e=_e||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=_e.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return je(e,t)}))}:je);function Re(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}function Be(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ve={animationend:Be("Animation","AnimationEnd"),animationiteration:Be("Animation","AnimationIteration"),animationstart:Be("Animation","AnimationStart"),transitionend:Be("Transition","TransitionEnd")},ze={},Ue={};function Ke(e){if(ze[e])return ze[e];if(!Ve[e])return e;var t,n=Ve[e];for(t in n)if(n.hasOwnProperty(t)&&t in Ue)return ze[e]=n[t];return e}C&&(Ue=document.createElement("div").style,"AnimationEvent"in window||(delete Ve.animationend.animation,delete Ve.animationiteration.animation,delete Ve.animationstart.animation),"TransitionEvent"in window||delete Ve.transitionend.transition);var We=Ke("animationend"),He=Ke("animationiteration"),qe=Ke("animationstart"),Qe=Ke("transitionend"),Ge="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Ye=new("function"==typeof WeakMap?WeakMap:Map);function Xe(e){var t=Ye.get(e);return void 0===t&&(t=new Map,Ye.set(e,t)),t}function Ze(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).effectTag)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Je(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function et(e){if(Ze(e)!==e)throw Error(a(188))}function tt(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ze(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return et(i),e;if(o===r)return et(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function nt(e,t){if(null==t)throw Error(a(30));return null==e?t:Array.isArray(e)?Array.isArray(t)?(e.push.apply(e,t),e):(e.push(t),e):Array.isArray(t)?[e].concat(t):[e,t]}function rt(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)}var it=null;function ot(e){if(e){var t=e._dispatchListeners,n=e._dispatchInstances;if(Array.isArray(t))for(var r=0;r<t.length&&!e.isPropagationStopped();r++)g(e,t[r],n[r]);else t&&g(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function at(e){if(null!==e&&(it=nt(it,e)),e=it,it=null,e){if(rt(e,ot),it)throw Error(a(95));if(c)throw e=d,c=!1,d=null,e}}function st(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function lt(e){if(!C)return!1;var t=(e="on"+e)in document;return t||((t=document.createElement("div")).setAttribute(e,"return;"),t="function"==typeof t[e]),t}var ut=[];function ct(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>ut.length&&ut.push(e)}function dt(e,t,n,r){if(ut.length){var i=ut.pop();return i.topLevelType=e,i.eventSystemFlags=r,i.nativeEvent=t,i.targetInst=n,i}return{topLevelType:e,eventSystemFlags:r,nativeEvent:t,targetInst:n,ancestors:[]}}function ft(e){var t=e.targetInst,n=t;do{if(!n){e.ancestors.push(n);break}var r=n;if(3===r.tag)r=r.stateNode.containerInfo;else{for(;r.return;)r=r.return;r=3!==r.tag?null:r.stateNode.containerInfo}if(!r)break;5!==(t=n.tag)&&6!==t||e.ancestors.push(n),n=Fn(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var i=st(e.nativeEvent);r=e.topLevelType;var o=e.nativeEvent,a=e.eventSystemFlags;0===n&&(a|=64);for(var s=null,l=0;l<k.length;l++){var u=k[l];u&&(u=u.extractEvents(r,t,o,i,a))&&(s=nt(s,u))}at(s)}}function pt(e,t,n){if(!n.has(e)){switch(e){case"scroll":qt(t,"scroll",!0);break;case"focus":case"blur":qt(t,"focus",!0),qt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":lt(e)&&qt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Ge.indexOf(e)&&Ht(e,t)}n.set(e,null)}}var ht,mt,vt,gt=!1,yt=[],bt=null,wt=null,Et=null,kt=new Map,xt=new Map,Tt=[],Ot="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),St="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function Ct(e,t,n,r,i){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:i,container:r}}function At(e,t){switch(e){case"focus":case"blur":bt=null;break;case"dragenter":case"dragleave":wt=null;break;case"mouseover":case"mouseout":Et=null;break;case"pointerover":case"pointerout":kt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":xt.delete(t.pointerId)}}function Nt(e,t,n,r,i,o){return null===e||e.nativeEvent!==o?(e=Ct(t,n,r,i,o),null!==t&&null!==(t=Mn(t))&&mt(t),e):(e.eventSystemFlags|=r,e)}function It(e){var t=Fn(e.target);if(null!==t){var n=Ze(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Je(n)))return e.blockedOn=t,void o.unstable_runWithPriority(e.priority,(function(){vt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ft(e){if(null!==e.blockedOn)return!1;var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Mn(t);return null!==n&&mt(n),e.blockedOn=t,!1}return!0}function Mt(e,t,n){Ft(e)&&n.delete(t)}function Pt(){for(gt=!1;0<yt.length;){var e=yt[0];if(null!==e.blockedOn){null!==(e=Mn(e.blockedOn))&&ht(e);break}var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:yt.shift()}null!==bt&&Ft(bt)&&(bt=null),null!==wt&&Ft(wt)&&(wt=null),null!==Et&&Ft(Et)&&(Et=null),kt.forEach(Mt),xt.forEach(Mt)}function Dt(e,t){e.blockedOn===t&&(e.blockedOn=null,gt||(gt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Pt)))}function Lt(e){function t(t){return Dt(t,e)}if(0<yt.length){Dt(yt[0],e);for(var n=1;n<yt.length;n++){var r=yt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==bt&&Dt(bt,e),null!==wt&&Dt(wt,e),null!==Et&&Dt(Et,e),kt.forEach(t),xt.forEach(t),n=0;n<Tt.length;n++)(r=Tt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Tt.length&&null===(n=Tt[0]).blockedOn;)It(n),null===n.blockedOn&&Tt.shift()}var _t={},jt=new Map,$t=new Map,Rt=["abort","abort",We,"animationEnd",He,"animationIteration",qe,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Qe,"transitionEnd","waiting","waiting"];function Bt(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],i=e[n+1],o="on"+(i[0].toUpperCase()+i.slice(1));o={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[r],eventPriority:t},$t.set(r,t),jt.set(r,o),_t[i]=o}}Bt("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Bt("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Bt(Rt,2);for(var Vt="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),zt=0;zt<Vt.length;zt++)$t.set(Vt[zt],0);var Ut=o.unstable_UserBlockingPriority,Kt=o.unstable_runWithPriority,Wt=!0;function Ht(e,t){qt(t,e,!1)}function qt(e,t,n){var r=$t.get(t);switch(void 0===r?2:r){case 0:r=Qt.bind(null,t,1,e);break;case 1:r=Gt.bind(null,t,1,e);break;default:r=Yt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Qt(e,t,n,r){$||_();var i=Yt,o=$;$=!0;try{L(i,e,t,n,r)}finally{($=o)||B()}}function Gt(e,t,n,r){Kt(Ut,Yt.bind(null,e,t,n,r))}function Yt(e,t,n,r){if(Wt)if(0<yt.length&&-1<Ot.indexOf(e))e=Ct(null,e,t,n,r),yt.push(e);else{var i=Xt(e,t,n,r);if(null===i)At(e,r);else if(-1<Ot.indexOf(e))e=Ct(i,e,t,n,r),yt.push(e);else if(!function(e,t,n,r,i){switch(t){case"focus":return bt=Nt(bt,e,t,n,r,i),!0;case"dragenter":return wt=Nt(wt,e,t,n,r,i),!0;case"mouseover":return Et=Nt(Et,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return kt.set(o,Nt(kt.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,xt.set(o,Nt(xt.get(o)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r)){At(e,r),e=dt(e,r,null,t);try{V(ft,e)}finally{ct(e)}}}}function Xt(e,t,n,r){if(null!==(n=Fn(n=st(r)))){var i=Ze(n);if(null===i)n=null;else{var o=i.tag;if(13===o){if(null!==(n=Je(i)))return n;n=null}else if(3===o){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;n=null}else i!==n&&(n=null)}}e=dt(e,r,n,t);try{V(ft,e)}finally{ct(e)}return null}var Zt={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Jt=["Webkit","ms","Moz","O"];function en(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Zt.hasOwnProperty(e)&&Zt[e]?(""+t).trim():t+"px"}function tn(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=en(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(Zt).forEach((function(e){Jt.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Zt[t]=Zt[e]}))}));var nn=i({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function rn(e,t){if(t){if(nn[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62,""))}}function on(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var an="http://www.w3.org/1999/xhtml";function sn(e,t){var n=Xe(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=O[t];for(var r=0;r<t.length;r++)pt(t[r],e,n)}function ln(){}function un(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function cn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function dn(e,t){var n,r=cn(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cn(r)}}function fn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?fn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pn(){for(var e=window,t=un();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=un((e=t.contentWindow).document)}return t}function hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var mn="$",vn="/$",gn="$?",yn="$!",bn=null,wn=null;function En(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function kn(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var xn="function"==typeof setTimeout?setTimeout:void 0,Tn="function"==typeof clearTimeout?clearTimeout:void 0;function On(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Sn(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===mn||n===yn||n===gn){if(0===t)return e;t--}else n===vn&&t++}e=e.previousSibling}return null}var Cn=Math.random().toString(36).slice(2),An="__reactInternalInstance$"+Cn,Nn="__reactEventHandlers$"+Cn,In="__reactContainere$"+Cn;function Fn(e){var t=e[An];if(t)return t;for(var n=e.parentNode;n;){if(t=n[In]||n[An]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Sn(e);null!==e;){if(n=e[An])return n;e=Sn(e)}return t}n=(e=n).parentNode}return null}function Mn(e){return!(e=e[An]||e[In])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Pn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function Dn(e){return e[Nn]||null}function Ln(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function _n(e,t){var n=e.stateNode;if(!n)return null;var r=h(n);if(!r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}function jn(e,t,n){(t=_n(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=nt(n._dispatchListeners,t),n._dispatchInstances=nt(n._dispatchInstances,e))}function $n(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Ln(t);for(t=n.length;0<t--;)jn(n[t],"captured",e);for(t=0;t<n.length;t++)jn(n[t],"bubbled",e)}}function Rn(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=_n(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=nt(n._dispatchListeners,t),n._dispatchInstances=nt(n._dispatchInstances,e))}function Bn(e){e&&e.dispatchConfig.registrationName&&Rn(e._targetInst,null,e)}function Vn(e){rt(e,$n)}var zn=null,Un=null,Kn=null;function Wn(){if(Kn)return Kn;var e,t,n=Un,r=n.length,i="value"in zn?zn.value:zn.textContent,o=i.length;for(e=0;e<r&&n[e]===i[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===i[o-t];t++);return Kn=i.slice(e,1<t?1-t:void 0)}function Hn(){return!0}function qn(){return!1}function Qn(e,t,n,r){for(var i in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(i)&&((t=e[i])?this[i]=t(n):"target"===i?this.target=r:this[i]=n[i]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Hn:qn,this.isPropagationStopped=qn,this}function Gn(e,t,n,r){if(this.eventPool.length){var i=this.eventPool.pop();return this.call(i,e,t,n,r),i}return new this(e,t,n,r)}function Yn(e){if(!(e instanceof this))throw Error(a(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Xn(e){e.eventPool=[],e.getPooled=Gn,e.release=Yn}i(Qn.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Hn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Hn)},persist:function(){this.isPersistent=Hn},isPersistent:qn,destructor:function(){var e,t=this.constructor.Interface;for(e in t)this[e]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=qn,this._dispatchInstances=this._dispatchListeners=null}}),Qn.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},Qn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return i(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=i({},r.Interface,e),n.extend=r.extend,Xn(n),n},Xn(Qn);var Zn=Qn.extend({data:null}),Jn=Qn.extend({data:null}),er=[9,13,27,32],tr=C&&"CompositionEvent"in window,nr=null;C&&"documentMode"in document&&(nr=document.documentMode);var rr=C&&"TextEvent"in window&&!nr,ir=C&&(!tr||nr&&8<nr&&11>=nr),or=String.fromCharCode(32),ar={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},sr=!1;function lr(e,t){switch(e){case"keyup":return-1!==er.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function ur(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var cr=!1,dr={eventTypes:ar,extractEvents:function(e,t,n,r){var i;if(tr)e:{switch(e){case"compositionstart":var o=ar.compositionStart;break e;case"compositionend":o=ar.compositionEnd;break e;case"compositionupdate":o=ar.compositionUpdate;break e}o=void 0}else cr?lr(e,n)&&(o=ar.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=ar.compositionStart);return o?(ir&&"ko"!==n.locale&&(cr||o!==ar.compositionStart?o===ar.compositionEnd&&cr&&(i=Wn()):(Un="value"in(zn=r)?zn.value:zn.textContent,cr=!0)),o=Zn.getPooled(o,t,n,r),(i||null!==(i=ur(n)))&&(o.data=i),Vn(o),i=o):i=null,(e=rr?function(e,t){switch(e){case"compositionend":return ur(t);case"keypress":return 32!==t.which?null:(sr=!0,or);case"textInput":return(e=t.data)===or&&sr?null:e;default:return null}}(e,n):function(e,t){if(cr)return"compositionend"===e||!tr&&lr(e,t)?(e=Wn(),Kn=Un=zn=null,cr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ir&&"ko"!==t.locale?null:t.data}}(e,n))?((t=Jn.getPooled(ar.beforeInput,t,n,r)).data=e,Vn(t)):t=null,null===i?t:null===t?i:[i,t]}},fr={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!fr[e.type]:"textarea"===t}var hr={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function mr(e,t,n){return(e=Qn.getPooled(hr.change,e,t,n)).type="change",M(n),Vn(e),e}var vr=null,gr=null;function yr(e){at(e)}function br(e){if(Ee(Pn(e)))return e}function wr(e,t){if("change"===e)return t}var Er=!1;function kr(){vr&&(vr.detachEvent("onpropertychange",xr),gr=vr=null)}function xr(e){if("value"===e.propertyName&&br(gr))if(e=mr(gr,e,st(e)),$)at(e);else{$=!0;try{D(yr,e)}finally{$=!1,B()}}}function Tr(e,t,n){"focus"===e?(kr(),gr=n,(vr=t).attachEvent("onpropertychange",xr)):"blur"===e&&kr()}function Or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return br(gr)}function Sr(e,t){if("click"===e)return br(t)}function Cr(e,t){if("input"===e||"change"===e)return br(t)}C&&(Er=lt("input")&&(!document.documentMode||9<document.documentMode));var Ar={eventTypes:hr,_isInputEventSupported:Er,extractEvents:function(e,t,n,r){var i=t?Pn(t):window,o=i.nodeName&&i.nodeName.toLowerCase();if("select"===o||"input"===o&&"file"===i.type)var a=wr;else if(pr(i))if(Er)a=Cr;else{a=Or;var s=Tr}else(o=i.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===i.type||"radio"===i.type)&&(a=Sr);if(a&&(a=a(e,t)))return mr(a,n,r);s&&s(e,i,t),"blur"===e&&(e=i._wrapperState)&&e.controlled&&"number"===i.type&&Ce(i,"number",i.value)}},Nr=Qn.extend({view:null,detail:null}),Ir={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Fr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Ir[e])&&!!t[e]}function Mr(){return Fr}var Pr=0,Dr=0,Lr=!1,_r=!1,jr=Nr.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Mr,button:null,buttons:null,relatedTarget:function(e){return e.relatedTarget||(e.fromElement===e.srcElement?e.toElement:e.fromElement)},movementX:function(e){if("movementX"in e)return e.movementX;var t=Pr;return Pr=e.screenX,Lr?"mousemove"===e.type?e.screenX-t:0:(Lr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=Dr;return Dr=e.screenY,_r?"mousemove"===e.type?e.screenY-t:0:(_r=!0,0)}}),$r=jr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Rr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},Br={eventTypes:Rr,extractEvents:function(e,t,n,r,i){var o="mouseover"===e||"pointerover"===e,a="mouseout"===e||"pointerout"===e;if(o&&0==(32&i)&&(n.relatedTarget||n.fromElement)||!a&&!o)return null;if(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,a?(a=t,null!==(t=(t=n.relatedTarget||n.toElement)?Fn(t):null)&&(t!==Ze(t)||5!==t.tag&&6!==t.tag)&&(t=null)):a=null,a===t)return null;if("mouseout"===e||"mouseover"===e)var s=jr,l=Rr.mouseLeave,u=Rr.mouseEnter,c="mouse";else"pointerout"!==e&&"pointerover"!==e||(s=$r,l=Rr.pointerLeave,u=Rr.pointerEnter,c="pointer");if(e=null==a?o:Pn(a),o=null==t?o:Pn(t),(l=s.getPooled(l,a,n,r)).type=c+"leave",l.target=e,l.relatedTarget=o,(n=s.getPooled(u,t,n,r)).type=c+"enter",n.target=o,n.relatedTarget=e,c=t,(r=a)&&c)e:{for(u=c,a=0,e=s=r;e;e=Ln(e))a++;for(e=0,t=u;t;t=Ln(t))e++;for(;0<a-e;)s=Ln(s),a--;for(;0<e-a;)u=Ln(u),e--;for(;a--;){if(s===u||s===u.alternate)break e;s=Ln(s),u=Ln(u)}s=null}else s=null;for(u=s,s=[];r&&r!==u&&(null===(a=r.alternate)||a!==u);)s.push(r),r=Ln(r);for(r=[];c&&c!==u&&(null===(a=c.alternate)||a!==u);)r.push(c),c=Ln(c);for(c=0;c<s.length;c++)Rn(s[c],"bubbled",l);for(c=r.length;0<c--;)Rn(r[c],"captured",n);return 0==(64&i)?[l]:[l,n]}},Vr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},zr=Object.prototype.hasOwnProperty;function Ur(e,t){if(Vr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!zr.call(t,n[r])||!Vr(e[n[r]],t[n[r]]))return!1;return!0}var Kr=C&&"documentMode"in document&&11>=document.documentMode,Wr={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},Hr=null,qr=null,Qr=null,Gr=!1;function Yr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Gr||null==Hr||Hr!==un(n)?null:(n="selectionStart"in(n=Hr)&&hn(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},Qr&&Ur(Qr,n)?null:(Qr=n,(e=Qn.getPooled(Wr.select,qr,e,t)).type="select",e.target=Hr,Vn(e),e))}var Xr={eventTypes:Wr,extractEvents:function(e,t,n,r,i,o){if(!(o=!(i=o||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{i=Xe(i),o=O.onSelect;for(var a=0;a<o.length;a++)if(!i.has(o[a])){i=!1;break e}i=!0}o=!i}if(o)return null;switch(i=t?Pn(t):window,e){case"focus":(pr(i)||"true"===i.contentEditable)&&(Hr=i,qr=t,Qr=null);break;case"blur":Qr=qr=Hr=null;break;case"mousedown":Gr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Gr=!1,Yr(n,r);case"selectionchange":if(Kr)break;case"keydown":case"keyup":return Yr(n,r)}return null}},Zr=Qn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Jr=Qn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ei=Nr.extend({relatedTarget:null});function ti(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}var ni={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ri={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},ii=Nr.extend({key:function(e){if(e.key){var t=ni[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=ti(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?ri[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Mr,charCode:function(e){return"keypress"===e.type?ti(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ti(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),oi=jr.extend({dataTransfer:null}),ai=Nr.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Mr}),si=Qn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),li=jr.extend({deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:null,deltaMode:null}),ui={eventTypes:_t,extractEvents:function(e,t,n,r){var i=jt.get(e);if(!i)return null;switch(e){case"keypress":if(0===ti(n))return null;case"keydown":case"keyup":e=ii;break;case"blur":case"focus":e=ei;break;case"click":if(2===n.button)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":e=jr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=oi;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=ai;break;case We:case He:case qe:e=Zr;break;case Qe:e=si;break;case"scroll":e=Nr;break;case"wheel":e=li;break;case"copy":case"cut":case"paste":e=Jr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":e=$r;break;default:e=Qn}return Vn(t=e.getPooled(i,t,n,r)),t}};if(y)throw Error(a(101));y=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),w(),h=Dn,m=Mn,v=Pn,S({SimpleEventPlugin:ui,EnterLeaveEventPlugin:Br,ChangeEventPlugin:Ar,SelectEventPlugin:Xr,BeforeInputEventPlugin:dr});var ci=[],di=-1;function fi(e){0>di||(e.current=ci[di],ci[di]=null,di--)}function pi(e,t){di++,ci[di]=e.current,e.current=t}var hi={},mi={current:hi},vi={current:!1},gi=hi;function yi(e,t){var n=e.type.contextTypes;if(!n)return hi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,o={};for(i in n)o[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function bi(e){return null!=e.childContextTypes}function wi(){fi(vi),fi(mi)}function Ei(e,t,n){if(mi.current!==hi)throw Error(a(168));pi(mi,t),pi(vi,n)}function ki(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(a(108,ve(t)||"Unknown",o));return i({},n,{},r)}function xi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||hi,gi=mi.current,pi(mi,e),pi(vi,vi.current),!0}function Ti(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=ki(e,t,gi),r.__reactInternalMemoizedMergedChildContext=e,fi(vi),fi(mi),pi(mi,e)):fi(vi),pi(vi,n)}var Oi=o.unstable_runWithPriority,Si=o.unstable_scheduleCallback,Ci=o.unstable_cancelCallback,Ai=o.unstable_requestPaint,Ni=o.unstable_now,Ii=o.unstable_getCurrentPriorityLevel,Fi=o.unstable_ImmediatePriority,Mi=o.unstable_UserBlockingPriority,Pi=o.unstable_NormalPriority,Di=o.unstable_LowPriority,Li=o.unstable_IdlePriority,_i={},ji=o.unstable_shouldYield,$i=void 0!==Ai?Ai:function(){},Ri=null,Bi=null,Vi=!1,zi=Ni(),Ui=1e4>zi?Ni:function(){return Ni()-zi};function Ki(){switch(Ii()){case Fi:return 99;case Mi:return 98;case Pi:return 97;case Di:return 96;case Li:return 95;default:throw Error(a(332))}}function Wi(e){switch(e){case 99:return Fi;case 98:return Mi;case 97:return Pi;case 96:return Di;case 95:return Li;default:throw Error(a(332))}}function Hi(e,t){return e=Wi(e),Oi(e,t)}function qi(e,t,n){return e=Wi(e),Si(e,t,n)}function Qi(e){return null===Ri?(Ri=[e],Bi=Si(Fi,Yi)):Ri.push(e),_i}function Gi(){if(null!==Bi){var e=Bi;Bi=null,Ci(e)}Yi()}function Yi(){if(!Vi&&null!==Ri){Vi=!0;var e=0;try{var t=Ri;Hi(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Ri=null}catch(t){throw null!==Ri&&(Ri=Ri.slice(e+1)),Si(Fi,Gi),t}finally{Vi=!1}}}function Xi(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Zi(e,t){if(e&&e.defaultProps)for(var n in t=i({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Ji={current:null},eo=null,to=null,no=null;function ro(){no=to=eo=null}function io(e){var t=Ji.current;fi(Ji),e.type._context._currentValue=t}function oo(e,t){for(;null!==e;){var n=e.alternate;if(e.childExpirationTime<t)e.childExpirationTime=t,null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t);else{if(!(null!==n&&n.childExpirationTime<t))break;n.childExpirationTime=t}e=e.return}}function ao(e,t){eo=e,no=to=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(Da=!0),e.firstContext=null)}function so(e,t){if(no!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(no=e,t=1073741823),t={context:e,observedBits:t,next:null},null===to){if(null===eo)throw Error(a(308));to=t,eo.dependencies={expirationTime:0,firstContext:t,responders:null}}else to=to.next=t;return e._currentValue}var lo=!1;function uo(e){e.updateQueue={baseState:e.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function co(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,baseQueue:e.baseQueue,shared:e.shared,effects:e.effects})}function fo(e,t){return(e={expirationTime:e,suspenseConfig:t,tag:0,payload:null,callback:null,next:null}).next=e}function po(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function ho(e,t){var n=e.alternate;null!==n&&co(n,e),null===(n=(e=e.updateQueue).baseQueue)?(e.baseQueue=t.next=t,t.next=t):(t.next=n.next,n.next=t)}function mo(e,t,n,r){var o=e.updateQueue;lo=!1;var a=o.baseQueue,s=o.shared.pending;if(null!==s){if(null!==a){var l=a.next;a.next=s.next,s.next=l}a=s,o.shared.pending=null,null!==(l=e.alternate)&&null!==(l=l.updateQueue)&&(l.baseQueue=s)}if(null!==a){l=a.next;var u=o.baseState,c=0,d=null,f=null,p=null;if(null!==l)for(var h=l;;){if((s=h.expirationTime)<r){var m={expirationTime:h.expirationTime,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null};null===p?(f=p=m,d=u):p=p.next=m,s>c&&(c=s)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),wl(s,h.suspenseConfig);e:{var v=e,g=h;switch(s=t,m=n,g.tag){case 1:if("function"==typeof(v=g.payload)){u=v.call(m,u,s);break e}u=v;break e;case 3:v.effectTag=-4097&v.effectTag|64;case 0:if(null==(s="function"==typeof(v=g.payload)?v.call(m,u,s):v))break e;u=i({},u,s);break e;case 2:lo=!0}}null!==h.callback&&(e.effectTag|=32,null===(s=o.effects)?o.effects=[h]:s.push(h))}if(null===(h=h.next)||h===l){if(null===(s=o.shared.pending))break;h=a.next=s.next,s.next=l,o.baseQueue=a=s,o.shared.pending=null}}null===p?d=u:p.next=f,o.baseState=d,o.baseQueue=p,El(c),e.expirationTime=c,e.memoizedState=u}}function vo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=i,i=n,"function"!=typeof r)throw Error(a(191,r));r.call(i)}}}var go=Y.ReactCurrentBatchConfig,yo=(new r.Component).refs;function bo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:i({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var wo={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=sl(),i=go.suspense;(i=fo(r=ll(r,e,i),i)).payload=t,null!=n&&(i.callback=n),po(e,i),ul(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=sl(),i=go.suspense;(i=fo(r=ll(r,e,i),i)).tag=1,i.payload=t,null!=n&&(i.callback=n),po(e,i),ul(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=sl(),r=go.suspense;(r=fo(n=ll(n,e,r),r)).tag=2,null!=t&&(r.callback=t),po(e,r),ul(e,n)}};function Eo(e,t,n,r,i,o,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,a):!(t.prototype&&t.prototype.isPureReactComponent&&Ur(n,r)&&Ur(i,o))}function ko(e,t,n){var r=!1,i=hi,o=t.contextType;return"object"==typeof o&&null!==o?o=so(o):(i=bi(t)?gi:mi.current,o=(r=null!=(r=t.contextTypes))?yi(e,i):hi),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=wo,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function xo(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&wo.enqueueReplaceState(t,t.state,null)}function To(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs=yo,uo(e);var o=t.contextType;"object"==typeof o&&null!==o?i.context=so(o):(o=bi(t)?gi:mi.current,i.context=yi(e,o)),mo(e,n,i,r),i.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(bo(e,t,o,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&wo.enqueueReplaceState(i,i.state,null),mo(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.effectTag|=4)}var Oo=Array.isArray;function So(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=r.refs;t===yo&&(t=r.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Co(e,t){if("textarea"!==e.type)throw Error(a(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function Ao(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.effectTag=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Vl(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.effectTag=2,n):r:(t.effectTag=2,n):n}function s(t){return e&&null===t.alternate&&(t.effectTag=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Kl(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function u(e,t,n,r){return null!==t&&t.elementType===n.type?((r=i(t,n.props)).ref=So(e,t,n),r.return=e,r):((r=zl(n.type,n.key,n.props,null,e.mode,r)).ref=So(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Wl(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Ul(n,e.mode,r,o)).return=e,t):((t=i(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Kl(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=zl(t.type,t.key,t.props,null,e.mode,n)).ref=So(e,null,t),n.return=e,n;case te:return(t=Wl(t,e.mode,n)).return=e,t}if(Oo(t)||me(t))return(t=Ul(t,e.mode,n,null)).return=e,t;Co(e,t)}return null}function p(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==i?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===i?n.type===ne?d(e,t,n.props.children,r,i):u(e,t,n,r):null;case te:return n.key===i?c(e,t,n,r):null}if(Oo(n)||me(n))return null!==i?null:d(e,t,n,r,null);Co(e,n)}return null}function h(e,t,n,r,i){if("string"==typeof r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case ee:return e=e.get(null===r.key?n:r.key)||null,r.type===ne?d(t,e,r.props.children,i,r.key):u(t,e,r,i);case te:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i)}if(Oo(r)||me(r))return d(t,e=e.get(n)||null,r,i,null);Co(t,r)}return null}function m(i,a,s,l){for(var u=null,c=null,d=a,m=a=0,v=null;null!==d&&m<s.length;m++){d.index>m?(v=d,d=null):v=d.sibling;var g=p(i,d,s[m],l);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(i,d),a=o(g,a,m),null===c?u=g:c.sibling=g,c=g,d=v}if(m===s.length)return n(i,d),u;if(null===d){for(;m<s.length;m++)null!==(d=f(i,s[m],l))&&(a=o(d,a,m),null===c?u=d:c.sibling=d,c=d);return u}for(d=r(i,d);m<s.length;m++)null!==(v=h(d,i,m,s[m],l))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),a=o(v,a,m),null===c?u=v:c.sibling=v,c=v);return e&&d.forEach((function(e){return t(i,e)})),u}function v(i,s,l,u){var c=me(l);if("function"!=typeof c)throw Error(a(150));if(null==(l=c.call(l)))throw Error(a(151));for(var d=c=null,m=s,v=s=0,g=null,y=l.next();null!==m&&!y.done;v++,y=l.next()){m.index>v?(g=m,m=null):g=m.sibling;var b=p(i,m,y.value,u);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(i,m),s=o(b,s,v),null===d?c=b:d.sibling=b,d=b,m=g}if(y.done)return n(i,m),c;if(null===m){for(;!y.done;v++,y=l.next())null!==(y=f(i,y.value,u))&&(s=o(y,s,v),null===d?c=y:d.sibling=y,d=y);return c}for(m=r(i,m);!y.done;v++,y=l.next())null!==(y=h(m,i,v,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),s=o(y,s,v),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(i,e)})),c}return function(e,r,o,l){var u="object"==typeof o&&null!==o&&o.type===ne&&null===o.key;u&&(o=o.props.children);var c="object"==typeof o&&null!==o;if(c)switch(o.$$typeof){case ee:e:{for(c=o.key,u=r;null!==u;){if(u.key===c){if(7===u.tag){if(o.type===ne){n(e,u.sibling),(r=i(u,o.props.children)).return=e,e=r;break e}}else if(u.elementType===o.type){n(e,u.sibling),(r=i(u,o.props)).ref=So(e,u,o),r.return=e,e=r;break e}n(e,u);break}t(e,u),u=u.sibling}o.type===ne?((r=Ul(o.props.children,e.mode,l,o.key)).return=e,e=r):((l=zl(o.type,o.key,o.props,null,e.mode,l)).ref=So(e,r,o),l.return=e,e=l)}return s(e);case te:e:{for(u=o.key;null!==r;){if(r.key===u){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=i(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Wl(o,e.mode,l)).return=e,e=r}return s(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=i(r,o)).return=e,e=r):(n(e,r),(r=Kl(o,e.mode,l)).return=e,e=r),s(e);if(Oo(o))return m(e,r,o,l);if(me(o))return v(e,r,o,l);if(c&&Co(e,o),void 0===o&&!u)switch(e.tag){case 1:case 0:throw e=e.type,Error(a(152,e.displayName||e.name||"Component"))}return n(e,r)}}var No=Ao(!0),Io=Ao(!1),Fo={},Mo={current:Fo},Po={current:Fo},Do={current:Fo};function Lo(e){if(e===Fo)throw Error(a(174));return e}function _o(e,t){switch(pi(Do,t),pi(Po,e),pi(Mo,Fo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Le(null,"");break;default:t=Le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}fi(Mo),pi(Mo,t)}function jo(){fi(Mo),fi(Po),fi(Do)}function $o(e){Lo(Do.current);var t=Lo(Mo.current),n=Le(t,e.type);t!==n&&(pi(Po,e),pi(Mo,n))}function Ro(e){Po.current===e&&(fi(Mo),fi(Po))}var Bo={current:0};function Vo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||n.data===gn||n.data===yn))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.effectTag))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function zo(e,t){return{responder:e,props:t}}var Uo=Y.ReactCurrentDispatcher,Ko=Y.ReactCurrentBatchConfig,Wo=0,Ho=null,qo=null,Qo=null,Go=!1;function Yo(){throw Error(a(321))}function Xo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Vr(e[n],t[n]))return!1;return!0}function Zo(e,t,n,r,i,o){if(Wo=o,Ho=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,Uo.current=null===e||null===e.memoizedState?Ea:ka,e=n(r,i),t.expirationTime===Wo){o=0;do{if(t.expirationTime=0,!(25>o))throw Error(a(301));o+=1,Qo=qo=null,t.updateQueue=null,Uo.current=xa,e=n(r,i)}while(t.expirationTime===Wo)}if(Uo.current=wa,t=null!==qo&&null!==qo.next,Wo=0,Qo=qo=Ho=null,Go=!1,t)throw Error(a(300));return e}function Jo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Qo?Ho.memoizedState=Qo=e:Qo=Qo.next=e,Qo}function ea(){if(null===qo){var e=Ho.alternate;e=null!==e?e.memoizedState:null}else e=qo.next;var t=null===Qo?Ho.memoizedState:Qo.next;if(null!==t)Qo=t,qo=e;else{if(null===e)throw Error(a(310));e={memoizedState:(qo=e).memoizedState,baseState:qo.baseState,baseQueue:qo.baseQueue,queue:qo.queue,next:null},null===Qo?Ho.memoizedState=Qo=e:Qo=Qo.next=e}return Qo}function ta(e,t){return"function"==typeof t?t(e):t}function na(e){var t=ea(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=qo,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){i=i.next,r=r.baseState;var l=s=o=null,u=i;do{var c=u.expirationTime;if(c<Wo){var d={expirationTime:u.expirationTime,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};null===l?(s=l=d,o=r):l=l.next=d,c>Ho.expirationTime&&(Ho.expirationTime=c,El(c))}else null!==l&&(l=l.next={expirationTime:1073741823,suspenseConfig:u.suspenseConfig,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),wl(c,u.suspenseConfig),r=u.eagerReducer===e?u.eagerState:e(r,u.action);u=u.next}while(null!==u&&u!==i);null===l?o=r:l.next=s,Vr(r,t.memoizedState)||(Da=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function ra(e){var t=ea(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);Vr(o,t.memoizedState)||(Da=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ia(e){var t=Jo();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ta,lastRenderedState:e}).dispatch=ba.bind(null,Ho,e),[t.memoizedState,e]}function oa(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=Ho.updateQueue)?(t={lastEffect:null},Ho.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function aa(){return ea().memoizedState}function sa(e,t,n,r){var i=Jo();Ho.effectTag|=e,i.memoizedState=oa(1|t,n,void 0,void 0===r?null:r)}function la(e,t,n,r){var i=ea();r=void 0===r?null:r;var o=void 0;if(null!==qo){var a=qo.memoizedState;if(o=a.destroy,null!==r&&Xo(r,a.deps))return void oa(t,n,o,r)}Ho.effectTag|=e,i.memoizedState=oa(1|t,n,o,r)}function ua(e,t){return sa(516,4,e,t)}function ca(e,t){return la(516,4,e,t)}function da(e,t){return la(4,2,e,t)}function fa(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function pa(e,t,n){return n=null!=n?n.concat([e]):null,la(4,2,fa.bind(null,t,e),n)}function ha(){}function ma(e,t){return Jo().memoizedState=[e,void 0===t?null:t],e}function va(e,t){var n=ea();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Xo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function ga(e,t){var n=ea();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Xo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function ya(e,t,n){var r=Ki();Hi(98>r?98:r,(function(){e(!0)})),Hi(97<r?97:r,(function(){var r=Ko.suspense;Ko.suspense=void 0===t?null:t;try{e(!1),n()}finally{Ko.suspense=r}}))}function ba(e,t,n){var r=sl(),i=go.suspense;i={expirationTime:r=ll(r,e,i),suspenseConfig:i,action:n,eagerReducer:null,eagerState:null,next:null};var o=t.pending;if(null===o?i.next=i:(i.next=o.next,o.next=i),t.pending=i,o=e.alternate,e===Ho||null!==o&&o===Ho)Go=!0,i.expirationTime=Wo,Ho.expirationTime=Wo;else{if(0===e.expirationTime&&(null===o||0===o.expirationTime)&&null!==(o=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=o(a,n);if(i.eagerReducer=o,i.eagerState=s,Vr(s,a))return}catch(e){}ul(e,r)}}var wa={readContext:so,useCallback:Yo,useContext:Yo,useEffect:Yo,useImperativeHandle:Yo,useLayoutEffect:Yo,useMemo:Yo,useReducer:Yo,useRef:Yo,useState:Yo,useDebugValue:Yo,useResponder:Yo,useDeferredValue:Yo,useTransition:Yo},Ea={readContext:so,useCallback:ma,useContext:so,useEffect:ua,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,sa(4,2,fa.bind(null,t,e),n)},useLayoutEffect:function(e,t){return sa(4,2,e,t)},useMemo:function(e,t){var n=Jo();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Jo();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=ba.bind(null,Ho,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Jo().memoizedState=e},useState:ia,useDebugValue:ha,useResponder:zo,useDeferredValue:function(e,t){var n=ia(e),r=n[0],i=n[1];return ua((function(){var n=Ko.suspense;Ko.suspense=void 0===t?null:t;try{i(e)}finally{Ko.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ia(!1),n=t[0];return t=t[1],[ma(ya.bind(null,t,e),[t,e]),n]}},ka={readContext:so,useCallback:va,useContext:so,useEffect:ca,useImperativeHandle:pa,useLayoutEffect:da,useMemo:ga,useReducer:na,useRef:aa,useState:function(){return na(ta)},useDebugValue:ha,useResponder:zo,useDeferredValue:function(e,t){var n=na(ta),r=n[0],i=n[1];return ca((function(){var n=Ko.suspense;Ko.suspense=void 0===t?null:t;try{i(e)}finally{Ko.suspense=n}}),[e,t]),r},useTransition:function(e){var t=na(ta),n=t[0];return t=t[1],[va(ya.bind(null,t,e),[t,e]),n]}},xa={readContext:so,useCallback:va,useContext:so,useEffect:ca,useImperativeHandle:pa,useLayoutEffect:da,useMemo:ga,useReducer:ra,useRef:aa,useState:function(){return ra(ta)},useDebugValue:ha,useResponder:zo,useDeferredValue:function(e,t){var n=ra(ta),r=n[0],i=n[1];return ca((function(){var n=Ko.suspense;Ko.suspense=void 0===t?null:t;try{i(e)}finally{Ko.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ra(ta),n=t[0];return t=t[1],[va(ya.bind(null,t,e),[t,e]),n]}},Ta=null,Oa=null,Sa=!1;function Ca(e,t){var n=Rl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.effectTag=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Aa(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Na(e){if(Sa){var t=Oa;if(t){var n=t;if(!Aa(e,t)){if(!(t=On(n.nextSibling))||!Aa(e,t))return e.effectTag=-1025&e.effectTag|2,Sa=!1,void(Ta=e);Ca(Ta,n)}Ta=e,Oa=On(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,Sa=!1,Ta=e}}function Ia(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ta=e}function Fa(e){if(e!==Ta)return!1;if(!Sa)return Ia(e),Sa=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!kn(t,e.memoizedProps))for(t=Oa;t;)Ca(e,t),t=On(t.nextSibling);if(Ia(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if(n===vn){if(0===t){Oa=On(e.nextSibling);break e}t--}else n!==mn&&n!==yn&&n!==gn||t++}e=e.nextSibling}Oa=null}}else Oa=Ta?On(e.stateNode.nextSibling):null;return!0}function Ma(){Oa=Ta=null,Sa=!1}var Pa=Y.ReactCurrentOwner,Da=!1;function La(e,t,n,r){t.child=null===e?Io(t,null,n,r):No(t,e.child,n,r)}function _a(e,t,n,r,i){n=n.render;var o=t.ref;return ao(t,i),r=Zo(e,t,n,r,o,i),null===e||Da?(t.effectTag|=1,La(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Ja(e,t,i))}function ja(e,t,n,r,i,o){if(null===e){var a=n.type;return"function"!=typeof a||Bl(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=zl(n.type,null,r,null,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,$a(e,t,a,r,i,o))}return a=e.child,i<o&&(i=a.memoizedProps,(n=null!==(n=n.compare)?n:Ur)(i,r)&&e.ref===t.ref)?Ja(e,t,o):(t.effectTag|=1,(e=Vl(a,r)).ref=t.ref,e.return=t,t.child=e)}function $a(e,t,n,r,i,o){return null!==e&&Ur(e.memoizedProps,r)&&e.ref===t.ref&&(Da=!1,i<o)?(t.expirationTime=e.expirationTime,Ja(e,t,o)):Ba(e,t,n,r,o)}function Ra(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function Ba(e,t,n,r,i){var o=bi(n)?gi:mi.current;return o=yi(t,o),ao(t,i),n=Zo(e,t,n,r,o,i),null===e||Da?(t.effectTag|=1,La(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=i&&(e.expirationTime=0),Ja(e,t,i))}function Va(e,t,n,r,i){if(bi(n)){var o=!0;xi(t)}else o=!1;if(ao(t,i),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),ko(t,n,r),To(t,n,r,i),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;u="object"==typeof u&&null!==u?so(u):yi(t,u=bi(n)?gi:mi.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==u)&&xo(t,a,r,u),lo=!1;var f=t.memoizedState;a.state=f,mo(t,r,a,i),l=t.memoizedState,s!==r||f!==l||vi.current||lo?("function"==typeof c&&(bo(t,n,c,r),l=t.memoizedState),(s=lo||Eo(t,n,s,r,f,l,u))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.effectTag|=4)):("function"==typeof a.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):("function"==typeof a.componentDidMount&&(t.effectTag|=4),r=!1)}else a=t.stateNode,co(e,t),s=t.memoizedProps,a.props=t.type===t.elementType?s:Zi(t.type,s),l=a.context,u="object"==typeof(u=n.contextType)&&null!==u?so(u):yi(t,u=bi(n)?gi:mi.current),(d="function"==typeof(c=n.getDerivedStateFromProps)||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==u)&&xo(t,a,r,u),lo=!1,l=t.memoizedState,a.state=l,mo(t,r,a,i),f=t.memoizedState,s!==r||l!==f||vi.current||lo?("function"==typeof c&&(bo(t,n,c,r),f=t.memoizedState),(c=lo||Eo(t,n,s,r,l,f,u))?(d||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,f,u),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,f,u)),"function"==typeof a.componentDidUpdate&&(t.effectTag|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=f),a.props=r,a.state=f,a.context=u,r=c):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&l===e.memoizedState||(t.effectTag|=256),r=!1);return za(e,t,n,r,o,i)}function za(e,t,n,r,i,o){Ra(e,t);var a=0!=(64&t.effectTag);if(!r&&!a)return i&&Ti(t,n,!1),Ja(e,t,o);r=t.stateNode,Pa.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&a?(t.child=No(t,e.child,null,o),t.child=No(t,null,s,o)):La(e,t,s,o),t.memoizedState=r.state,i&&Ti(t,n,!0),t.child}function Ua(e){var t=e.stateNode;t.pendingContext?Ei(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ei(0,t.context,!1),_o(e,t.containerInfo)}var Ka,Wa,Ha,qa,Qa={dehydrated:null,retryTime:0};function Ga(e,t,n){var r,i=t.mode,o=t.pendingProps,a=Bo.current,s=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&a)&&(null===e||null!==e.memoizedState)),r?(s=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(a|=1),pi(Bo,1&a),null===e){if(void 0!==o.fallback&&Na(t),s){if(s=o.fallback,(o=Ul(null,i,0,null)).return=t,0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=Ul(s,i,n,null)).return=t,o.sibling=n,t.memoizedState=Qa,t.child=o,n}return i=o.children,t.memoizedState=null,t.child=Io(t,null,i,n)}if(null!==e.memoizedState){if(i=(e=e.child).sibling,s){if(o=o.fallback,(n=Vl(e,e.pendingProps)).return=t,0==(2&t.mode)&&(s=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=s;null!==s;)s.return=n,s=s.sibling;return(i=Vl(i,o)).return=t,n.sibling=i,n.childExpirationTime=0,t.memoizedState=Qa,t.child=n,i}return n=No(t,e.child,o.children,n),t.memoizedState=null,t.child=n}if(e=e.child,s){if(s=o.fallback,(o=Ul(null,i,0,null)).return=t,o.child=e,null!==e&&(e.return=o),0==(2&t.mode))for(e=null!==t.memoizedState?t.child.child:t.child,o.child=e;null!==e;)e.return=o,e=e.sibling;return(n=Ul(s,i,n,null)).return=t,o.sibling=n,n.effectTag|=2,o.childExpirationTime=0,t.memoizedState=Qa,t.child=o,n}return t.memoizedState=null,t.child=No(t,e,o.children,n)}function Ya(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t),oo(e.return,t)}function Xa(e,t,n,r,i,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailExpiration=0,a.tailMode=i,a.lastEffect=o)}function Za(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(La(e,t,r.children,n),0!=(2&(r=Bo.current)))r=1&r|2,t.effectTag|=64;else{if(null!==e&&0!=(64&e.effectTag))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Ya(e,n);else if(19===e.tag)Ya(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(pi(Bo,r),0==(2&t.mode))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===Vo(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Xa(t,!1,i,n,o,t.lastEffect);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===Vo(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Xa(t,!0,n,null,o,t.lastEffect);break;case"together":Xa(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Ja(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&El(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Vl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Vl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function es(e,t){switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ts(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return bi(t.type)&&wi(),null;case 3:return jo(),fi(vi),fi(mi),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Fa(t)||(t.effectTag|=4),Wa(t),null;case 5:Ro(t),n=Lo(Do.current);var o=t.type;if(null!==e&&null!=t.stateNode)Ha(e,t,o,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(a(166));return null}if(e=Lo(Mo.current),Fa(t)){r=t.stateNode,o=t.type;var s=t.memoizedProps;switch(r[An]=t,r[Nn]=s,o){case"iframe":case"object":case"embed":Ht("load",r);break;case"video":case"audio":for(e=0;e<Ge.length;e++)Ht(Ge[e],r);break;case"source":Ht("error",r);break;case"img":case"image":case"link":Ht("error",r),Ht("load",r);break;case"form":Ht("reset",r),Ht("submit",r);break;case"details":Ht("toggle",r);break;case"input":xe(r,s),Ht("invalid",r),sn(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!s.multiple},Ht("invalid",r),sn(n,"onChange");break;case"textarea":Fe(r,s),Ht("invalid",r),sn(n,"onChange")}for(var l in rn(o,s),e=null,s)if(s.hasOwnProperty(l)){var u=s[l];"children"===l?"string"==typeof u?r.textContent!==u&&(e=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(e=["children",""+u]):T.hasOwnProperty(l)&&null!=u&&sn(n,l)}switch(o){case"input":we(r),Se(r,s,!0);break;case"textarea":we(r),Pe(r);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(r.onclick=ln)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(l=9===n.nodeType?n:n.ownerDocument,e===an&&(e=De(o)),e===an?"script"===o?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(o,{is:r.is}):(e=l.createElement(o),"select"===o&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,o),e[An]=t,e[Nn]=r,Ka(e,t,!1,!1),t.stateNode=e,l=on(o,r),o){case"iframe":case"object":case"embed":Ht("load",e),u=r;break;case"video":case"audio":for(u=0;u<Ge.length;u++)Ht(Ge[u],e);u=r;break;case"source":Ht("error",e),u=r;break;case"img":case"image":case"link":Ht("error",e),Ht("load",e),u=r;break;case"form":Ht("reset",e),Ht("submit",e),u=r;break;case"details":Ht("toggle",e),u=r;break;case"input":xe(e,r),u=ke(e,r),Ht("invalid",e),sn(n,"onChange");break;case"option":u=Ae(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},u=i({},r,{value:void 0}),Ht("invalid",e),sn(n,"onChange");break;case"textarea":Fe(e,r),u=Ie(e,r),Ht("invalid",e),sn(n,"onChange");break;default:u=r}rn(o,u);var c=u;for(s in c)if(c.hasOwnProperty(s)){var d=c[s];"style"===s?tn(e,d):"dangerouslySetInnerHTML"===s?null!=(d=d?d.__html:void 0)&&$e(e,d):"children"===s?"string"==typeof d?("textarea"!==o||""!==d)&&Re(e,d):"number"==typeof d&&Re(e,""+d):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(T.hasOwnProperty(s)?null!=d&&sn(n,s):null!=d&&X(e,s,d,l))}switch(o){case"input":we(e),Se(e,r,!1);break;case"textarea":we(e),Pe(e);break;case"option":null!=r.value&&e.setAttribute("value",""+ye(r.value));break;case"select":e.multiple=!!r.multiple,null!=(n=r.value)?Ne(e,!!r.multiple,n,!1):null!=r.defaultValue&&Ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof u.onClick&&(e.onclick=ln)}En(o,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)qa(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));n=Lo(Do.current),Lo(Mo.current),Fa(t)?(n=t.stateNode,r=t.memoizedProps,n[An]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[An]=t,t.stateNode=n)}return null;case 13:return fi(Bo),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Fa(t):(r=null!==(o=e.memoizedState),n||null===o||null!==(o=e.child.sibling)&&(null!==(s=t.firstEffect)?(t.firstEffect=o,o.nextEffect=s):(t.firstEffect=t.lastEffect=o,o.nextEffect=null),o.effectTag=8)),n&&!r&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&Bo.current)?Vs===Fs&&(Vs=Ds):(Vs!==Fs&&Vs!==Ds||(Vs=Ls),0!==Hs&&null!==$s&&(Ql($s,Bs),Gl($s,Hs)))),(n||r)&&(t.effectTag|=4),null);case 4:return jo(),Wa(t),null;case 10:return io(t),null;case 19:if(fi(Bo),null===(r=t.memoizedState))return null;if(o=0!=(64&t.effectTag),null===(s=r.rendering)){if(o)es(r,!1);else if(Vs!==Fs||null!==e&&0!=(64&e.effectTag))for(s=t.child;null!==s;){if(null!==(e=Vo(s))){for(t.effectTag|=64,es(r,!1),null!==(o=e.updateQueue)&&(t.updateQueue=o,t.effectTag|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=t.child;null!==r;)s=n,(o=r).effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(e=o.alternate)?(o.childExpirationTime=0,o.expirationTime=s,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null):(o.childExpirationTime=e.childExpirationTime,o.expirationTime=e.expirationTime,o.child=e.child,o.memoizedProps=e.memoizedProps,o.memoizedState=e.memoizedState,o.updateQueue=e.updateQueue,s=e.dependencies,o.dependencies=null===s?null:{expirationTime:s.expirationTime,firstContext:s.firstContext,responders:s.responders}),r=r.sibling;return pi(Bo,1&Bo.current|2),t.child}s=s.sibling}}else{if(!o)if(null!==(e=Vo(s))){if(t.effectTag|=64,o=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),es(r,!0),null===r.tail&&"hidden"===r.tailMode&&!s.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Ui()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,o=!0,es(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(s.sibling=t.child,t.child=s):(null!==(n=r.last)?n.sibling=s:t.child=s,r.last=s)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=Ui()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Ui(),n.sibling=null,t=Bo.current,pi(Bo,o?1&t|2:1&t),n):null}throw Error(a(156,t.tag))}function ns(e){switch(e.tag){case 1:bi(e.type)&&wi();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(jo(),fi(vi),fi(mi),0!=(64&(t=e.effectTag)))throw Error(a(285));return e.effectTag=-4097&t|64,e;case 5:return Ro(e),null;case 13:return fi(Bo),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return fi(Bo),null;case 4:return jo(),null;case 10:return io(e),null;default:return null}}function rs(e,t){return{value:e,source:t,stack:ge(t)}}Ka=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Wa=function(){},Ha=function(e,t,n,r,o){var a=e.memoizedProps;if(a!==r){var s,l,u=t.stateNode;switch(Lo(Mo.current),e=null,n){case"input":a=ke(u,a),r=ke(u,r),e=[];break;case"option":a=Ae(u,a),r=Ae(u,r),e=[];break;case"select":a=i({},a,{value:void 0}),r=i({},r,{value:void 0}),e=[];break;case"textarea":a=Ie(u,a),r=Ie(u,r),e=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(u.onclick=ln)}for(s in rn(n,r),n=null,a)if(!r.hasOwnProperty(s)&&a.hasOwnProperty(s)&&null!=a[s])if("style"===s)for(l in u=a[s])u.hasOwnProperty(l)&&(n||(n={}),n[l]="");else"dangerouslySetInnerHTML"!==s&&"children"!==s&&"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(T.hasOwnProperty(s)?e||(e=[]):(e=e||[]).push(s,null));for(s in r){var c=r[s];if(u=null!=a?a[s]:void 0,r.hasOwnProperty(s)&&c!==u&&(null!=c||null!=u))if("style"===s)if(u){for(l in u)!u.hasOwnProperty(l)||c&&c.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in c)c.hasOwnProperty(l)&&u[l]!==c[l]&&(n||(n={}),n[l]=c[l])}else n||(e||(e=[]),e.push(s,n)),n=c;else"dangerouslySetInnerHTML"===s?(c=c?c.__html:void 0,u=u?u.__html:void 0,null!=c&&u!==c&&(e=e||[]).push(s,c)):"children"===s?u===c||"string"!=typeof c&&"number"!=typeof c||(e=e||[]).push(s,""+c):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&(T.hasOwnProperty(s)?(null!=c&&sn(o,s),e||u===c||(e=[])):(e=e||[]).push(s,c))}n&&(e=e||[]).push("style",n),o=e,(t.updateQueue=o)&&(t.effectTag|=4)}},qa=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var is="function"==typeof WeakSet?WeakSet:Set;function os(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ge(n)),null!==n&&ve(n.type),t=t.value,null!==e&&1===e.tag&&ve(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function as(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Pl(e,t)}else t.current=null}function ss(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 3:case 5:case 6:case 4:case 17:return;case 1:if(256&t.effectTag&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Zi(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return}throw Error(a(163))}function ls(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.destroy;n.destroy=void 0,void 0!==r&&r()}n=n.next}while(n!==t)}}function us(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function cs(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void us(3,n);case 1:if(e=n.stateNode,4&n.effectTag)if(null===t)e.componentDidMount();else{var r=n.elementType===n.type?t.memoizedProps:Zi(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&vo(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}vo(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&En(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Lt(n)))))}throw Error(a(163))}function ds(e,t,n){switch("function"==typeof jl&&jl(t),t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var r=e.next;Hi(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var i=t;try{n()}catch(e){Pl(i,e)}}e=e.next}while(e!==r)}))}break;case 1:as(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Pl(e,t)}}(t,n);break;case 5:as(t);break;case 4:gs(e,t,n)}}function fs(e){var t=e.alternate;e.return=null,e.child=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.alternate=null,e.firstEffect=null,e.lastEffect=null,e.pendingProps=null,e.memoizedProps=null,e.stateNode=null,null!==t&&fs(t)}function ps(e){return 5===e.tag||3===e.tag||4===e.tag}function hs(e){e:{for(var t=e.return;null!==t;){if(ps(t)){var n=t;break e}t=t.return}throw Error(a(160))}switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(a(161))}16&n.effectTag&&(Re(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ps(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.effectTag)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.effectTag)){n=n.stateNode;break e}}r?ms(e,n,t):vs(e,n,t)}function ms(e,t,n){var r=e.tag,i=5===r||6===r;if(i)e=i?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=ln));else if(4!==r&&null!==(e=e.child))for(ms(e,t,n),e=e.sibling;null!==e;)ms(e,t,n),e=e.sibling}function vs(e,t,n){var r=e.tag,i=5===r||6===r;if(i)e=i?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(vs(e,t,n),e=e.sibling;null!==e;)vs(e,t,n),e=e.sibling}function gs(e,t,n){for(var r,i,o=t,s=!1;;){if(!s){s=o.return;e:for(;;){if(null===s)throw Error(a(160));switch(r=s.stateNode,s.tag){case 5:i=!1;break e;case 3:case 4:r=r.containerInfo,i=!0;break e}s=s.return}s=!0}if(5===o.tag||6===o.tag){e:for(var l=e,u=o,c=n,d=u;;)if(ds(l,d,c),null!==d.child&&4!==d.tag)d.child.return=d,d=d.child;else{if(d===u)break e;for(;null===d.sibling;){if(null===d.return||d.return===u)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}i?(l=r,u=o.stateNode,8===l.nodeType?l.parentNode.removeChild(u):l.removeChild(u)):r.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,i=!0,o.child.return=o,o=o.child;continue}}else if(ds(e,o,n),null!==o.child){o.child.return=o,o=o.child;continue}if(o===t)break;for(;null===o.sibling;){if(null===o.return||o.return===t)return;4===(o=o.return).tag&&(s=!1)}o.sibling.return=o.return,o=o.sibling}}function ys(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void ls(3,t);case 1:case 12:case 17:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,i=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[Nn]=r,"input"===e&&"radio"===r.type&&null!=r.name&&Te(n,r),on(e,i),t=on(e,r),i=0;i<o.length;i+=2){var s=o[i],l=o[i+1];"style"===s?tn(n,l):"dangerouslySetInnerHTML"===s?$e(n,l):"children"===s?Re(n,l):X(n,s,l,t)}switch(e){case"input":Oe(n,r);break;case"textarea":Me(n,r);break;case"select":t=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(e=r.value)?Ne(n,!!r.multiple,e,!1):t!==!!r.multiple&&(null!=r.defaultValue?Ne(n,!!r.multiple,r.defaultValue,!0):Ne(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(a(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Lt(t.containerInfo)));case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Qs=Ui()),null!==n)e:for(e=n;;){if(5===e.tag)o=e.stateNode,r?"function"==typeof(o=o.style).setProperty?o.setProperty("display","none","important"):o.display="none":(o=e.stateNode,i=null!=(i=e.memoizedProps.style)&&i.hasOwnProperty("display")?i.display:null,o.style.display=en("display",i));else if(6===e.tag)e.stateNode.nodeValue=r?"":e.memoizedProps;else{if(13===e.tag&&null!==e.memoizedState&&null===e.memoizedState.dehydrated){(o=e.child.sibling).return=e,e=o;continue}if(null!==e.child){e.child.return=e,e=e.child;continue}}if(e===n)break;for(;null===e.sibling;){if(null===e.return||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}return void bs(t);case 19:return void bs(t)}throw Error(a(163))}function bs(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new is),t.forEach((function(t){var r=Ll.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var ws="function"==typeof WeakMap?WeakMap:Map;function Es(e,t,n){(n=fo(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Xs||(Xs=!0,Zs=r),os(e,t)},n}function ks(e,t,n){(n=fo(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return os(e,t),r(i)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Js?Js=new Set([this]):Js.add(this),os(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var xs,Ts=Math.ceil,Os=Y.ReactCurrentDispatcher,Ss=Y.ReactCurrentOwner,Cs=0,As=8,Ns=16,Is=32,Fs=0,Ms=1,Ps=2,Ds=3,Ls=4,_s=5,js=Cs,$s=null,Rs=null,Bs=0,Vs=Fs,zs=null,Us=1073741823,Ks=1073741823,Ws=null,Hs=0,qs=!1,Qs=0,Gs=500,Ys=null,Xs=!1,Zs=null,Js=null,el=!1,tl=null,nl=90,rl=null,il=0,ol=null,al=0;function sl(){return(js&(Ns|Is))!==Cs?1073741821-(Ui()/10|0):0!==al?al:al=1073741821-(Ui()/10|0)}function ll(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=Ki();if(0==(4&t))return 99===r?1073741823:1073741822;if((js&Ns)!==Cs)return Bs;if(null!==n)e=Xi(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Xi(e,150,100);break;case 97:case 96:e=Xi(e,5e3,250);break;case 95:e=2;break;default:throw Error(a(326))}return null!==$s&&e===Bs&&--e,e}function ul(e,t){if(50<il)throw il=0,ol=null,Error(a(185));if(null!==(e=cl(e,t))){var n=Ki();1073741823===t?(js&As)!==Cs&&(js&(Ns|Is))===Cs?hl(e):(fl(e),js===Cs&&Gi()):fl(e),(4&js)===Cs||98!==n&&99!==n||(null===rl?rl=new Map([[e,t]]):(void 0===(n=rl.get(e))||n>t)&&rl.set(e,t))}}function cl(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,i=null;if(null===r&&3===e.tag)i=e.stateNode;else for(;null!==r;){if(n=r.alternate,r.childExpirationTime<t&&(r.childExpirationTime=t),null!==n&&n.childExpirationTime<t&&(n.childExpirationTime=t),null===r.return&&3===r.tag){i=r.stateNode;break}r=r.return}return null!==i&&($s===i&&(El(t),Vs===Ls&&Ql(i,Bs)),Gl(i,t)),i}function dl(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!ql(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function fl(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Qi(hl.bind(null,e));else{var t=dl(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=sl();if(r=1073741823===t?99:1===t||2===t?95:0>=(r=10*(1073741821-t)-10*(1073741821-r))?99:250>=r?98:5250>=r?97:95,null!==n){var i=e.callbackPriority;if(e.callbackExpirationTime===t&&i>=r)return;n!==_i&&Ci(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Qi(hl.bind(null,e)):qi(r,pl.bind(null,e),{timeout:10*(1073741821-t)-Ui()}),e.callbackNode=t}}}function pl(e,t){if(al=0,t)return Yl(e,t=sl()),fl(e),null;var n=dl(e);if(0!==n){if(t=e.callbackNode,(js&(Ns|Is))!==Cs)throw Error(a(327));if(Il(),e===$s&&n===Bs||gl(e,n),null!==Rs){var r=js;js|=Ns;for(var i=bl();;)try{xl();break}catch(t){yl(e,t)}if(ro(),js=r,Os.current=i,Vs===Ms)throw t=zs,gl(e,n),Ql(e,n),fl(e),t;if(null===Rs)switch(i=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=Vs,$s=null,r){case Fs:case Ms:throw Error(a(345));case Ps:Yl(e,2<n?2:n);break;case Ds:if(Ql(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=Sl(i)),1073741823===Us&&10<(i=Qs+Gs-Ui())){if(qs){var o=e.lastPingedTime;if(0===o||o>=n){e.lastPingedTime=n,gl(e,n);break}}if(0!==(o=dl(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=xn(Cl.bind(null,e),i);break}Cl(e);break;case Ls:if(Ql(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=Sl(i)),qs&&(0===(i=e.lastPingedTime)||i>=n)){e.lastPingedTime=n,gl(e,n);break}if(0!==(i=dl(e))&&i!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Ks?r=10*(1073741821-Ks)-Ui():1073741823===Us?r=0:(r=10*(1073741821-Us)-5e3,0>(r=(i=Ui())-r)&&(r=0),(n=10*(1073741821-n)-i)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ts(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=xn(Cl.bind(null,e),r);break}Cl(e);break;case _s:if(1073741823!==Us&&null!==Ws){o=Us;var s=Ws;if(0>=(r=0|s.busyMinDurationMs)?r=0:(i=0|s.busyDelayMs,r=(o=Ui()-(10*(1073741821-o)-(0|s.timeoutMs||5e3)))<=i?0:i+r-o),10<r){Ql(e,n),e.timeoutHandle=xn(Cl.bind(null,e),r);break}}Cl(e);break;default:throw Error(a(329))}if(fl(e),e.callbackNode===t)return pl.bind(null,e)}}return null}function hl(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,(js&(Ns|Is))!==Cs)throw Error(a(327));if(Il(),e===$s&&t===Bs||gl(e,t),null!==Rs){var n=js;js|=Ns;for(var r=bl();;)try{kl();break}catch(t){yl(e,t)}if(ro(),js=n,Os.current=r,Vs===Ms)throw n=zs,gl(e,t),Ql(e,t),fl(e),n;if(null!==Rs)throw Error(a(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,$s=null,Cl(e),fl(e)}return null}function ml(e,t){var n=js;js|=1;try{return e(t)}finally{(js=n)===Cs&&Gi()}}function vl(e,t){var n=js;js&=-2,js|=As;try{return e(t)}finally{(js=n)===Cs&&Gi()}}function gl(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Tn(n)),null!==Rs)for(n=Rs.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&wi();break;case 3:jo(),fi(vi),fi(mi);break;case 5:Ro(r);break;case 4:jo();break;case 13:case 19:fi(Bo);break;case 10:io(r)}n=n.return}$s=e,Rs=Vl(e.current,null),Bs=t,Vs=Fs,zs=null,Ks=Us=1073741823,Ws=null,Hs=0,qs=!1}function yl(e,t){for(;;){try{if(ro(),Uo.current=wa,Go)for(var n=Ho.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Wo=0,Qo=qo=Ho=null,Go=!1,null===Rs||null===Rs.return)return Vs=Ms,zs=t,Rs=null;e:{var i=e,o=Rs.return,a=Rs,s=t;if(t=Bs,a.effectTag|=2048,a.firstEffect=a.lastEffect=null,null!==s&&"object"==typeof s&&"function"==typeof s.then){var l=s;if(0==(2&a.mode)){var u=a.alternate;u?(a.updateQueue=u.updateQueue,a.memoizedState=u.memoizedState,a.expirationTime=u.expirationTime):(a.updateQueue=null,a.memoizedState=null)}var c=0!=(1&Bo.current),d=o;do{var f;if(f=13===d.tag){var p=d.memoizedState;if(null!==p)f=null!==p.dehydrated;else{var h=d.memoizedProps;f=void 0!==h.fallback&&(!0!==h.unstable_avoidThisFallback||!c)}}if(f){var m=d.updateQueue;if(null===m){var v=new Set;v.add(l),d.updateQueue=v}else m.add(l);if(0==(2&d.mode)){if(d.effectTag|=64,a.effectTag&=-2981,1===a.tag)if(null===a.alternate)a.tag=17;else{var g=fo(1073741823,null);g.tag=2,po(a,g)}a.expirationTime=1073741823;break e}s=void 0,a=t;var y=i.pingCache;if(null===y?(y=i.pingCache=new ws,s=new Set,y.set(l,s)):void 0===(s=y.get(l))&&(s=new Set,y.set(l,s)),!s.has(a)){s.add(a);var b=Dl.bind(null,i,l,a);l.then(b,b)}d.effectTag|=4096,d.expirationTime=t;break e}d=d.return}while(null!==d);s=Error((ve(a.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+ge(a))}Vs!==_s&&(Vs=Ps),s=rs(s,a),d=o;do{switch(d.tag){case 3:l=s,d.effectTag|=4096,d.expirationTime=t,ho(d,Es(d,l,t));break e;case 1:l=s;var w=d.type,E=d.stateNode;if(0==(64&d.effectTag)&&("function"==typeof w.getDerivedStateFromError||null!==E&&"function"==typeof E.componentDidCatch&&(null===Js||!Js.has(E)))){d.effectTag|=4096,d.expirationTime=t,ho(d,ks(d,l,t));break e}}d=d.return}while(null!==d)}Rs=Ol(Rs)}catch(e){t=e;continue}break}}function bl(){var e=Os.current;return Os.current=wa,null===e?wa:e}function wl(e,t){e<Us&&2<e&&(Us=e),null!==t&&e<Ks&&2<e&&(Ks=e,Ws=t)}function El(e){e>Hs&&(Hs=e)}function kl(){for(;null!==Rs;)Rs=Tl(Rs)}function xl(){for(;null!==Rs&&!ji();)Rs=Tl(Rs)}function Tl(e){var t=xs(e.alternate,e,Bs);return e.memoizedProps=e.pendingProps,null===t&&(t=Ol(e)),Ss.current=null,t}function Ol(e){Rs=e;do{var t=Rs.alternate;if(e=Rs.return,0==(2048&Rs.effectTag)){if(t=ts(t,Rs,Bs),1===Bs||1!==Rs.childExpirationTime){for(var n=0,r=Rs.child;null!==r;){var i=r.expirationTime,o=r.childExpirationTime;i>n&&(n=i),o>n&&(n=o),r=r.sibling}Rs.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=Rs.firstEffect),null!==Rs.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=Rs.firstEffect),e.lastEffect=Rs.lastEffect),1<Rs.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=Rs:e.firstEffect=Rs,e.lastEffect=Rs))}else{if(null!==(t=ns(Rs)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=Rs.sibling))return t;Rs=e}while(null!==Rs);return Vs===Fs&&(Vs=_s),null}function Sl(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function Cl(e){var t=Ki();return Hi(99,Al.bind(null,e,t)),null}function Al(e,t){do{Il()}while(null!==tl);if((js&(Ns|Is))!==Cs)throw Error(a(327));var n=e.finishedWork,r=e.finishedExpirationTime;if(null===n)return null;if(e.finishedWork=null,e.finishedExpirationTime=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var i=Sl(n);if(e.firstPendingTime=i,r<=e.lastSuspendedTime?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:r<=e.firstSuspendedTime&&(e.firstSuspendedTime=r-1),r<=e.lastPingedTime&&(e.lastPingedTime=0),r<=e.lastExpiredTime&&(e.lastExpiredTime=0),e===$s&&(Rs=$s=null,Bs=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,i=n.firstEffect):i=n:i=n.firstEffect,null!==i){var o=js;js|=Is,Ss.current=null,bn=Wt;var s=pn();if(hn(s)){if("selectionStart"in s)var l={start:s.selectionStart,end:s.selectionEnd};else e:{var u=(l=(l=s.ownerDocument)&&l.defaultView||window).getSelection&&l.getSelection();if(u&&0!==u.rangeCount){l=u.anchorNode;var c=u.anchorOffset,d=u.focusNode;u=u.focusOffset;try{l.nodeType,d.nodeType}catch(e){l=null;break e}var f=0,p=-1,h=-1,m=0,v=0,g=s,y=null;t:for(;;){for(var b;g!==l||0!==c&&3!==g.nodeType||(p=f+c),g!==d||0!==u&&3!==g.nodeType||(h=f+u),3===g.nodeType&&(f+=g.nodeValue.length),null!==(b=g.firstChild);)y=g,g=b;for(;;){if(g===s)break t;if(y===l&&++m===c&&(p=f),y===d&&++v===u&&(h=f),null!==(b=g.nextSibling))break;y=(g=y).parentNode}g=b}l=-1===p||-1===h?null:{start:p,end:h}}else l=null}l=l||{start:0,end:0}}else l=null;wn={activeElementDetached:null,focusedElem:s,selectionRange:l},Wt=!1,Ys=i;do{try{Nl()}catch(e){if(null===Ys)throw Error(a(330));Pl(Ys,e),Ys=Ys.nextEffect}}while(null!==Ys);Ys=i;do{try{for(s=e,l=t;null!==Ys;){var w=Ys.effectTag;if(16&w&&Re(Ys.stateNode,""),128&w){var E=Ys.alternate;if(null!==E){var k=E.ref;null!==k&&("function"==typeof k?k(null):k.current=null)}}switch(1038&w){case 2:hs(Ys),Ys.effectTag&=-3;break;case 6:hs(Ys),Ys.effectTag&=-3,ys(Ys.alternate,Ys);break;case 1024:Ys.effectTag&=-1025;break;case 1028:Ys.effectTag&=-1025,ys(Ys.alternate,Ys);break;case 4:ys(Ys.alternate,Ys);break;case 8:gs(s,c=Ys,l),fs(c)}Ys=Ys.nextEffect}}catch(e){if(null===Ys)throw Error(a(330));Pl(Ys,e),Ys=Ys.nextEffect}}while(null!==Ys);if(k=wn,E=pn(),w=k.focusedElem,l=k.selectionRange,E!==w&&w&&w.ownerDocument&&fn(w.ownerDocument.documentElement,w)){null!==l&&hn(w)&&(E=l.start,void 0===(k=l.end)&&(k=E),"selectionStart"in w?(w.selectionStart=E,w.selectionEnd=Math.min(k,w.value.length)):(k=(E=w.ownerDocument||document)&&E.defaultView||window).getSelection&&(k=k.getSelection(),c=w.textContent.length,s=Math.min(l.start,c),l=void 0===l.end?s:Math.min(l.end,c),!k.extend&&s>l&&(c=l,l=s,s=c),c=dn(w,s),d=dn(w,l),c&&d&&(1!==k.rangeCount||k.anchorNode!==c.node||k.anchorOffset!==c.offset||k.focusNode!==d.node||k.focusOffset!==d.offset)&&((E=E.createRange()).setStart(c.node,c.offset),k.removeAllRanges(),s>l?(k.addRange(E),k.extend(d.node,d.offset)):(E.setEnd(d.node,d.offset),k.addRange(E))))),E=[];for(k=w;k=k.parentNode;)1===k.nodeType&&E.push({element:k,left:k.scrollLeft,top:k.scrollTop});for("function"==typeof w.focus&&w.focus(),w=0;w<E.length;w++)(k=E[w]).element.scrollLeft=k.left,k.element.scrollTop=k.top}Wt=!!bn,wn=bn=null,e.current=n,Ys=i;do{try{for(w=e;null!==Ys;){var x=Ys.effectTag;if(36&x&&cs(w,Ys.alternate,Ys),128&x){E=void 0;var T=Ys.ref;if(null!==T){var O=Ys.stateNode;Ys.tag,E=O,"function"==typeof T?T(E):T.current=E}}Ys=Ys.nextEffect}}catch(e){if(null===Ys)throw Error(a(330));Pl(Ys,e),Ys=Ys.nextEffect}}while(null!==Ys);Ys=null,$i(),js=o}else e.current=n;if(el)el=!1,tl=e,nl=t;else for(Ys=i;null!==Ys;)t=Ys.nextEffect,Ys.nextEffect=null,Ys=t;if(0===(t=e.firstPendingTime)&&(Js=null),1073741823===t?e===ol?il++:(il=0,ol=e):il=0,"function"==typeof _l&&_l(n.stateNode,r),fl(e),Xs)throw Xs=!1,e=Zs,Zs=null,e;return(js&As)!==Cs||Gi(),null}function Nl(){for(;null!==Ys;){var e=Ys.effectTag;0!=(256&e)&&ss(Ys.alternate,Ys),0==(512&e)||el||(el=!0,qi(97,(function(){return Il(),null}))),Ys=Ys.nextEffect}}function Il(){if(90!==nl){var e=97<nl?97:nl;return nl=90,Hi(e,Fl)}}function Fl(){if(null===tl)return!1;var e=tl;if(tl=null,(js&(Ns|Is))!==Cs)throw Error(a(331));var t=js;for(js|=Is,e=e.current.firstEffect;null!==e;){try{var n=e;if(0!=(512&n.effectTag))switch(n.tag){case 0:case 11:case 15:case 22:ls(5,n),us(5,n)}}catch(t){if(null===e)throw Error(a(330));Pl(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return js=t,Gi(),!0}function Ml(e,t,n){po(e,t=Es(e,t=rs(n,t),1073741823)),null!==(e=cl(e,1073741823))&&fl(e)}function Pl(e,t){if(3===e.tag)Ml(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Ml(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Js||!Js.has(r))){po(n,e=ks(n,e=rs(t,e),1073741823)),null!==(n=cl(n,1073741823))&&fl(n);break}}n=n.return}}function Dl(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),$s===e&&Bs===n?Vs===Ls||Vs===Ds&&1073741823===Us&&Ui()-Qs<Gs?gl(e,Bs):qs=!0:ql(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,fl(e)))}function Ll(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(t=ll(t=sl(),e,null)),null!==(e=cl(e,t))&&fl(e)}xs=function(e,t,n){var r=t.expirationTime;if(null!==e){var i=t.pendingProps;if(e.memoizedProps!==i||vi.current)Da=!0;else{if(r<n){switch(Da=!1,t.tag){case 3:Ua(t),Ma();break;case 5:if($o(t),4&t.mode&&1!==n&&i.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:bi(t.type)&&xi(t);break;case 4:_o(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,i=t.type._context,pi(Ji,i._currentValue),i._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Ga(e,t,n):(pi(Bo,1&Bo.current),null!==(t=Ja(e,t,n))?t.sibling:null);pi(Bo,1&Bo.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return Za(e,t,n);t.effectTag|=64}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null),pi(Bo,Bo.current),!r)return null}return Ja(e,t,n)}Da=!1}}else Da=!1;switch(t.expirationTime=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,i=yi(t,mi.current),ao(t,n),i=Zo(null,t,r,e,i,n),t.effectTag|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,bi(r)){var o=!0;xi(t)}else o=!1;t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,uo(t);var s=r.getDerivedStateFromProps;"function"==typeof s&&bo(t,r,s,e),i.updater=wo,t.stateNode=i,i._reactInternalFiber=t,To(t,r,e,n),t=za(null,t,r,!0,o,n)}else t.tag=0,La(null,t,i,n),t=t.child;return t;case 16:e:{if(i=t.elementType,null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),e=t.pendingProps,function(e){if(-1===e._status){e._status=0;var t=e._ctor;t=t(),e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}}(i),1!==i._status)throw i._result;switch(i=i._result,t.type=i,o=t.tag=function(e){if("function"==typeof e)return Bl(e)?1:0;if(null!=e){if((e=e.$$typeof)===le)return 11;if(e===de)return 14}return 2}(i),e=Zi(i,e),o){case 0:t=Ba(null,t,i,e,n);break e;case 1:t=Va(null,t,i,e,n);break e;case 11:t=_a(null,t,i,e,n);break e;case 14:t=ja(null,t,i,Zi(i.type,e),r,n);break e}throw Error(a(306,i,""))}return t;case 0:return r=t.type,i=t.pendingProps,Ba(e,t,r,i=t.elementType===r?i:Zi(r,i),n);case 1:return r=t.type,i=t.pendingProps,Va(e,t,r,i=t.elementType===r?i:Zi(r,i),n);case 3:if(Ua(t),r=t.updateQueue,null===e||null===r)throw Error(a(282));if(r=t.pendingProps,i=null!==(i=t.memoizedState)?i.element:null,co(e,t),mo(t,r,null,n),(r=t.memoizedState.element)===i)Ma(),t=Ja(e,t,n);else{if((i=t.stateNode.hydrate)&&(Oa=On(t.stateNode.containerInfo.firstChild),Ta=t,i=Sa=!0),i)for(n=Io(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else La(e,t,r,n),Ma();t=t.child}return t;case 5:return $o(t),null===e&&Na(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,kn(r,i)?s=null:null!==o&&kn(r,o)&&(t.effectTag|=16),Ra(e,t),4&t.mode&&1!==n&&i.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(La(e,t,s,n),t=t.child),t;case 6:return null===e&&Na(t),null;case 13:return Ga(e,t,n);case 4:return _o(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=No(t,null,r,n):La(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,_a(e,t,r,i=t.elementType===r?i:Zi(r,i),n);case 7:return La(e,t,t.pendingProps,n),t.child;case 8:case 12:return La(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value;var l=t.type._context;if(pi(Ji,l._currentValue),l._currentValue=o,null!==s)if(l=s.value,0==(o=Vr(l,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(l,o):1073741823))){if(s.children===i.children&&!vi.current){t=Ja(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var u=l.dependencies;if(null!==u){s=l.child;for(var c=u.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&o)){1===l.tag&&((c=fo(n,null)).tag=2,po(l,c)),l.expirationTime<n&&(l.expirationTime=n),null!==(c=l.alternate)&&c.expirationTime<n&&(c.expirationTime=n),oo(l.return,n),u.expirationTime<n&&(u.expirationTime=n);break}c=c.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}La(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=(o=t.pendingProps).children,ao(t,n),r=r(i=so(i,o.unstable_observedBits)),t.effectTag|=1,La(e,t,r,n),t.child;case 14:return o=Zi(i=t.type,t.pendingProps),ja(e,t,i,o=Zi(i.type,o),r,n);case 15:return $a(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Zi(r,i),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,bi(r)?(e=!0,xi(t)):e=!1,ao(t,n),ko(t,r,i),To(t,r,i,n),za(null,t,r,!0,e,n);case 19:return Za(e,t,n)}throw Error(a(156,t.tag))};var _l=null,jl=null;function $l(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Rl(e,t,n,r){return new $l(e,t,n,r)}function Bl(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Vl(e,t){var n=e.alternate;return null===n?((n=Rl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.effectTag=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childExpirationTime=e.childExpirationTime,n.expirationTime=e.expirationTime,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{expirationTime:t.expirationTime,firstContext:t.firstContext,responders:t.responders},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function zl(e,t,n,r,i,o){var s=2;if(r=e,"function"==typeof e)Bl(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case ne:return Ul(n.children,i,o,t);case se:s=8,i|=7;break;case re:s=8,i|=1;break;case ie:return(e=Rl(12,n,t,8|i)).elementType=ie,e.type=ie,e.expirationTime=o,e;case ue:return(e=Rl(13,n,t,i)).type=ue,e.elementType=ue,e.expirationTime=o,e;case ce:return(e=Rl(19,n,t,i)).elementType=ce,e.expirationTime=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case oe:s=10;break e;case ae:s=9;break e;case le:s=11;break e;case de:s=14;break e;case fe:s=16,r=null;break e;case pe:s=22;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Rl(s,n,t,i)).elementType=e,t.type=r,t.expirationTime=o,t}function Ul(e,t,n,r){return(e=Rl(7,e,r,t)).expirationTime=n,e}function Kl(e,t,n){return(e=Rl(6,e,null,t)).expirationTime=n,e}function Wl(e,t,n){return(t=Rl(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Hl(e,t,n){this.tag=t,this.current=null,this.containerInfo=e,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function ql(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Ql(e,t){var n=e.firstSuspendedTime,r=e.lastSuspendedTime;n<t&&(e.firstSuspendedTime=t),(r>t||0===n)&&(e.lastSuspendedTime=t),t<=e.lastPingedTime&&(e.lastPingedTime=0),t<=e.lastExpiredTime&&(e.lastExpiredTime=0)}function Gl(e,t){t>e.firstPendingTime&&(e.firstPendingTime=t);var n=e.firstSuspendedTime;0!==n&&(t>=n?e.firstSuspendedTime=e.lastSuspendedTime=e.nextKnownPendingLevel=0:t>=e.lastSuspendedTime&&(e.lastSuspendedTime=t+1),t>e.nextKnownPendingLevel&&(e.nextKnownPendingLevel=t))}function Yl(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Xl(e,t,n,r){var i=t.current,o=sl(),s=go.suspense;o=ll(o,i,s);e:if(n){t:{if(Ze(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(a(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(bi(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(a(171))}if(1===n.tag){var u=n.type;if(bi(u)){n=ki(n,u,l);break e}}n=l}else n=hi;return null===t.context?t.context=n:t.pendingContext=n,(t=fo(o,s)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),po(i,t),ul(i,o),o}function Zl(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Jl(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function eu(e,t){Jl(e,t),(e=e.alternate)&&Jl(e,t)}function tu(e,t,n){var r=new Hl(e,t,n=null!=n&&!0===n.hydrate),i=Rl(3,null,null,2===t?7:1===t?3:0);r.current=i,i.stateNode=r,uo(i),e[In]=r.current,n&&0!==t&&function(e,t){var n=Xe(t);Ot.forEach((function(e){pt(e,t,n)})),St.forEach((function(e){pt(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function nu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ru(e,t,n,r,i){var o=n._reactRootContainer;if(o){var a=o._internalRoot;if("function"==typeof i){var s=i;i=function(){var e=Zl(a);s.call(e)}}Xl(t,a,e,i)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new tu(e,0,t?{hydrate:!0}:void 0)}(n,r),a=o._internalRoot,"function"==typeof i){var l=i;i=function(){var e=Zl(a);l.call(e)}}vl((function(){Xl(t,a,e,i)}))}return Zl(a)}function iu(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!nu(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:te,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)}tu.prototype.render=function(e){Xl(e,this._internalRoot,null,null)},tu.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Xl(null,e,null,(function(){t[In]=null}))},ht=function(e){if(13===e.tag){var t=Xi(sl(),150,100);ul(e,t),eu(e,t)}},mt=function(e){13===e.tag&&(ul(e,3),eu(e,3))},vt=function(e){if(13===e.tag){var t=sl();ul(e,t=ll(t,e,null)),eu(e,t)}},A=function(e,t,n){switch(t){case"input":if(Oe(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=Dn(r);if(!i)throw Error(a(90));Ee(r),Oe(r,i)}}}break;case"textarea":Me(e,n);break;case"select":null!=(t=n.value)&&Ne(e,!!n.multiple,t,!1)}},D=ml,L=function(e,t,n,r,i){var o=js;js|=4;try{return Hi(98,e.bind(null,t,n,r,i))}finally{(js=o)===Cs&&Gi()}},_=function(){(js&(1|Ns|Is))===Cs&&(function(){if(null!==rl){var e=rl;rl=null,e.forEach((function(e,t){Yl(t,e),fl(t)})),Gi()}}(),Il())},j=function(e,t){var n=js;js|=2;try{return e(t)}finally{(js=n)===Cs&&Gi()}};var ou={Events:[Mn,Pn,Dn,S,x,Vn,function(e){rt(e,Bn)},M,P,Yt,at,Il,{current:!1}]};!function(e){var t=e.findFiberByHostInstance;!function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled||!t.supportsFiber)return!0;try{var n=t.inject(e);_l=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},jl=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(i({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Y.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=tt(e))?null:e.stateNode},findFiberByHostInstance:function(e){return t?t(e):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))}({findFiberByHostInstance:Fn,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ou,t.createPortal=iu,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternalFiber;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw Error(a(268,Object.keys(e)))}return null===(e=tt(t))?null:e.stateNode},t.flushSync=function(e,t){if((js&(Ns|Is))!==Cs)throw Error(a(187));var n=js;js|=1;try{return Hi(99,e.bind(null,t))}finally{js=n,Gi()}},t.hydrate=function(e,t,n){if(!nu(t))throw Error(a(200));return ru(null,e,t,!0,n)},t.render=function(e,t,n){if(!nu(t))throw Error(a(200));return ru(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!nu(e))throw Error(a(40));return!!e._reactRootContainer&&(vl((function(){ru(null,null,e,!1,(function(){e._reactRootContainer=null,e[In]=null}))})),!0)},t.unstable_batchedUpdates=ml,t.unstable_createPortal=function(e,t){return iu(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!nu(n))throw Error(a(200));if(null==e||void 0===e._reactInternalFiber)throw Error(a(38));return ru(e,t,n,!1,r)},t.version="16.14.0"},961:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(2551)},2799:(e,t)=>{"use strict";var n=60103,r=60106,i=60107,o=60108,a=60114,s=60109,l=60110,u=60112,c=60113,d=60120,f=60115,p=60116;if("function"==typeof Symbol&&Symbol.for){var h=Symbol.for;n=h("react.element"),r=h("react.portal"),i=h("react.fragment"),o=h("react.strict_mode"),a=h("react.profiler"),s=h("react.provider"),l=h("react.context"),u=h("react.forward_ref"),c=h("react.suspense"),d=h("react.suspense_list"),f=h("react.memo"),p=h("react.lazy"),h("react.block"),h("react.server.block"),h("react.fundamental"),h("react.debug_trace_mode"),h("react.legacy_hidden")}t.isContextConsumer=function(e){return function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case i:case a:case o:case c:case d:return e;default:switch(e=e&&e.$$typeof){case l:case u:case p:case f:case s:return e;default:return t}}case r:return t}}}(e)===l}},4363:(e,t,n)=>{"use strict";e.exports=n(2799)},1458:(e,t,n)=>{"use strict";n.d(t,{t:()=>o});var r=n(2427),i=n.n(r),o=/^(262|61)$/.test(n.j)?i().createContext(null):null},9904:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(2427),i=n.n(r),o=n(1458),a=n(8661),s=n(4595);const l=/^(262|61)$/.test(n.j)?function(e){var t=e.store,n=e.context,l=e.children,u=(0,r.useMemo)((function(){var e=(0,a.K)(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),c=(0,r.useMemo)((function(){return t.getState()}),[t]);(0,s.E)((function(){var e=u.subscription;return e.trySubscribe(),c!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[u,c]);var d=n||o.t;return i().createElement(d.Provider,{value:u},l)}:null},6778:(e,t,n)=>{"use strict";function r(e){return function(t,n){var r=e(t,n);function i(){return r}return i.dependsOnOwnProps=!1,i}}function i(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function o(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=i(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=i(o),o=r(t,n)),o},r}}n.d(t,{Qb:()=>o,o6:()=>r})},6338:(e,t,n)=>{"use strict";n(1458),n(387)},387:(e,t,n)=>{"use strict";n(2427),n(1458),n(3769)},8661:(e,t,n)=>{"use strict";if(n.d(t,{K:()=>o}),/^(262|61)$/.test(n.j))var r=n(8298);var i={notify:function(){},get:function(){return[]}};function o(e,t){var n,o=i;function a(){l.onStateChange&&l.onStateChange()}function s(){var i,s,l;n||(n=t?t.addNestedSub(a):e.subscribe(a),i=(0,r.f)(),s=null,l=null,o={clear:function(){s=null,l=null},notify:function(){i((function(){for(var e=s;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],t=s;t;)e.push(t),t=t.next;return e},subscribe:function(e){var t=!0,n=l={callback:e,next:null,prev:l};return n.prev?n.prev.next=n:s=n,function(){t&&null!==s&&(t=!1,n.next?n.next.prev=n.prev:l=n.prev,n.prev?n.prev.next=n.next:s=n.next)}}})}var l={addNestedSub:function(e){return s(),o.subscribe(e)},notifyNestedSubs:function(){o.notify()},handleChangeWrapper:a,isSubscribed:function(){return Boolean(n)},trySubscribe:s,tryUnsubscribe:function(){n&&(n(),n=void 0,o.clear(),o=i)},getListeners:function(){return o}};return l}},8298:(e,t,n)=>{"use strict";n.d(t,{d:()=>i,f:()=>o});var r=/^(262|61)$/.test(n.j)?function(e){e()}:null,i=function(e){return r=e},o=function(){return r}},7684:(e,t,n)=>{"use strict";function r(e,t){var n={},r=function(r){var i=e[r];"function"==typeof i&&(n[r]=function(){return t(i.apply(void 0,arguments))})};for(var i in e)r(i);return n}n.d(t,{A:()=>r})},2724:(e,t,n)=>{"use strict";n.d(t,{r:()=>r.unstable_batchedUpdates});var r=n(6931)},9124:(e,t,n)=>{"use strict";function r(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function i(e,t){if(r(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(var o=0;o<n.length;o++)if(!Object.prototype.hasOwnProperty.call(t,n[o])||!r(e[n[o]],t[n[o]]))return!1;return!0}n.d(t,{A:()=>i})},4595:(e,t,n)=>{"use strict";n.d(t,{E:()=>i});var r=n(2427),i="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect},1663:(e,t,n)=>{"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=u(n(2427)),o=u(n(5556)),a=u(n(2312)),s=u(n(7241)),l=n(554);function u(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}l.nameShape.isRequired,o.default.bool,o.default.bool,o.default.bool,(0,l.transitionTimeout)("Appear"),(0,l.transitionTimeout)("Enter"),(0,l.transitionTimeout)("Leave");var d=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var o=arguments.length,a=Array(o),l=0;l<o;l++)a[l]=arguments[l];return n=r=c(this,e.call.apply(e,[this].concat(a))),r._wrapChild=function(e){return i.default.createElement(s.default,{name:r.props.transitionName,appear:r.props.transitionAppear,enter:r.props.transitionEnter,leave:r.props.transitionLeave,appearTimeout:r.props.transitionAppearTimeout,enterTimeout:r.props.transitionEnterTimeout,leaveTimeout:r.props.transitionLeaveTimeout},e)},c(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.render=function(){return i.default.createElement(a.default,r({},this.props,{childFactory:this._wrapChild}))},t}(i.default.Component);d.displayName="CSSTransitionGroup",d.propTypes={},d.defaultProps={transitionAppear:!1,transitionEnter:!0,transitionLeave:!0},t.default=d,e.exports=t.default},7241:(e,t,n)=>{"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=f(n(2963)),o=f(n(788)),a=f(n(4602)),s=n(4002),l=f(n(2427)),u=f(n(5556)),c=n(6931),d=n(554);function f(e){return e&&e.__esModule?e:{default:e}}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var h=[];s.transitionEnd&&h.push(s.transitionEnd),s.animationEnd&&h.push(s.animationEnd),u.default.node,d.nameShape.isRequired,u.default.bool,u.default.bool,u.default.bool,u.default.number,u.default.number,u.default.number;var m=function(e){function t(){var n,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,o=Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=r=p(this,e.call.apply(e,[this].concat(o))),r.componentWillAppear=function(e){r.props.appear?r.transition("appear",e,r.props.appearTimeout):e()},r.componentWillEnter=function(e){r.props.enter?r.transition("enter",e,r.props.enterTimeout):e()},r.componentWillLeave=function(e){r.props.leave?r.transition("leave",e,r.props.leaveTimeout):e()},p(r,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){this.classNameAndNodeQueue=[],this.transitionTimeouts=[]},t.prototype.componentWillUnmount=function(){this.unmounted=!0,this.timeout&&clearTimeout(this.timeout),this.transitionTimeouts.forEach((function(e){clearTimeout(e)})),this.classNameAndNodeQueue.length=0},t.prototype.transition=function(e,t,n){var r=(0,c.findDOMNode)(this);if(r){var a=this.props.name[e]||this.props.name+"-"+e,l=this.props.name[e+"Active"]||a+"-active",u=null,d=void 0;(0,i.default)(r,a),this.queueClassAndNode(l,r);var f=function(e){e&&e.target!==r||(clearTimeout(u),d&&d(),(0,o.default)(r,a),(0,o.default)(r,l),d&&d(),t&&t())};n?(u=setTimeout(f,n),this.transitionTimeouts.push(u)):s.transitionEnd&&(d=function(e,t){return h.length?h.forEach((function(n){return e.addEventListener(n,t,!1)})):setTimeout(t,0),function(){h.length&&h.forEach((function(n){return e.removeEventListener(n,t,!1)}))}}(r,f))}else t&&t()},t.prototype.queueClassAndNode=function(e,t){var n=this;this.classNameAndNodeQueue.push({className:e,node:t}),this.rafHandle||(this.rafHandle=(0,a.default)((function(){return n.flushClassNameAndNodeQueue()})))},t.prototype.flushClassNameAndNodeQueue=function(){this.unmounted||this.classNameAndNodeQueue.forEach((function(e){e.node.scrollTop,(0,i.default)(e.node,e.className)})),this.classNameAndNodeQueue.length=0,this.rafHandle=null},t.prototype.render=function(){var e=r({},this.props);return delete e.name,delete e.appear,delete e.enter,delete e.leave,delete e.appearTimeout,delete e.enterTimeout,delete e.leaveTimeout,delete e.children,l.default.cloneElement(l.default.Children.only(this.props.children),e)},t}(l.default.Component);m.displayName="CSSTransitionGroupChild",m.propTypes={},t.default=m,e.exports=t.default},2312:(e,t,n)=>{"use strict";t.__esModule=!0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=l(n(5533)),o=l(n(2427)),a=l(n(5556)),s=(l(n(8610)),n(2958));function l(e){return e&&e.__esModule?e:{default:e}}a.default.any,a.default.func,a.default.node;var u=function(e){function t(n,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,e.call(this,n,i));return o.performAppear=function(e,t){o.currentlyTransitioningKeys[e]=!0,t.componentWillAppear?t.componentWillAppear(o._handleDoneAppearing.bind(o,e,t)):o._handleDoneAppearing(e,t)},o._handleDoneAppearing=function(e,t){t.componentDidAppear&&t.componentDidAppear(),delete o.currentlyTransitioningKeys[e];var n=(0,s.getChildMapping)(o.props.children);n&&n.hasOwnProperty(e)||o.performLeave(e,t)},o.performEnter=function(e,t){o.currentlyTransitioningKeys[e]=!0,t.componentWillEnter?t.componentWillEnter(o._handleDoneEntering.bind(o,e,t)):o._handleDoneEntering(e,t)},o._handleDoneEntering=function(e,t){t.componentDidEnter&&t.componentDidEnter(),delete o.currentlyTransitioningKeys[e];var n=(0,s.getChildMapping)(o.props.children);n&&n.hasOwnProperty(e)||o.performLeave(e,t)},o.performLeave=function(e,t){o.currentlyTransitioningKeys[e]=!0,t.componentWillLeave?t.componentWillLeave(o._handleDoneLeaving.bind(o,e,t)):o._handleDoneLeaving(e,t)},o._handleDoneLeaving=function(e,t){t.componentDidLeave&&t.componentDidLeave(),delete o.currentlyTransitioningKeys[e];var n=(0,s.getChildMapping)(o.props.children);n&&n.hasOwnProperty(e)?o.keysToEnter.push(e):o.setState((function(t){var n=r({},t.children);return delete n[e],{children:n}}))},o.childRefs=Object.create(null),o.state={children:(0,s.getChildMapping)(n.children)},o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentWillMount=function(){this.currentlyTransitioningKeys={},this.keysToEnter=[],this.keysToLeave=[]},t.prototype.componentDidMount=function(){var e=this.state.children;for(var t in e)e[t]&&this.performAppear(t,this.childRefs[t])},t.prototype.componentWillReceiveProps=function(e){var t=(0,s.getChildMapping)(e.children),n=this.state.children;for(var r in this.setState({children:(0,s.mergeChildMappings)(n,t)}),t){var i=n&&n.hasOwnProperty(r);!t[r]||i||this.currentlyTransitioningKeys[r]||this.keysToEnter.push(r)}for(var o in n){var a=t&&t.hasOwnProperty(o);!n[o]||a||this.currentlyTransitioningKeys[o]||this.keysToLeave.push(o)}},t.prototype.componentDidUpdate=function(){var e=this,t=this.keysToEnter;this.keysToEnter=[],t.forEach((function(t){return e.performEnter(t,e.childRefs[t])}));var n=this.keysToLeave;this.keysToLeave=[],n.forEach((function(t){return e.performLeave(t,e.childRefs[t])}))},t.prototype.render=function(){var e=this,t=[],n=function(n){var r=e.state.children[n];if(r){var a="string"!=typeof r.ref,s=e.props.childFactory(r),l=function(t){e.childRefs[n]=t};s===r&&a&&(l=(0,i.default)(r.ref,l)),t.push(o.default.cloneElement(s,{key:n,ref:l}))}};for(var a in this.state.children)n(a);var s=r({},this.props);return delete s.transitionLeave,delete s.transitionName,delete s.transitionAppear,delete s.transitionEnter,delete s.childFactory,delete s.transitionLeaveTimeout,delete s.transitionEnterTimeout,delete s.transitionAppearTimeout,delete s.component,o.default.createElement(this.props.component,s,t)},t}(o.default.Component);u.displayName="TransitionGroup",u.propTypes={},u.defaultProps={component:"span",childFactory:function(e){return e}},t.default=u,e.exports=t.default},8610:e=>{"use strict";e.exports=function(){}},2958:(e,t,n)=>{"use strict";t.__esModule=!0,t.getChildMapping=function(e){if(!e)return e;var t={};return r.Children.map(e,(function(e){return e})).forEach((function(e){t[e.key]=e})),t},t.mergeChildMappings=function(e,t){function n(n){return t.hasOwnProperty(n)?t[n]:e[n]}e=e||{},t=t||{};var r={},i=[];for(var o in e)t.hasOwnProperty(o)?i.length&&(r[o]=i,i=[]):i.push(o);var a=void 0,s={};for(var l in t){if(r.hasOwnProperty(l))for(a=0;a<r[l].length;a++){var u=r[l][a];s[r[l][a]]=n(u)}s[l]=n(l)}for(a=0;a<i.length;a++)s[i[a]]=n(i[a]);return s};var r=n(2427)},554:(e,t,n)=>{"use strict";t.__esModule=!0,t.nameShape=void 0,t.transitionTimeout=function(e){var t="transition"+e+"Timeout",n="transition"+e;return function(e){if(e[n]){if(null==e[t])return new Error(t+" wasn't supplied to CSSTransitionGroup: this can cause unreliable animations and won't be supported in a future version of React. See https://fb.me/react-animation-transition-group-timeout for more information.");if("number"!=typeof e[t])return new Error(t+" must be a number (in milliseconds)")}return null}},i(n(2427));var r=i(n(5556));function i(e){return e&&e.__esModule?e:{default:e}}t.nameShape=r.default.oneOfType([r.default.string,r.default.shape({enter:r.default.string,leave:r.default.string,active:r.default.string}),r.default.shape({enter:r.default.string,enterActive:r.default.string,leave:r.default.string,leaveActive:r.default.string,appear:r.default.string,appearActive:r.default.string})])},5287:(e,t,n)=>{"use strict";var r=n(5228),i="function"==typeof Symbol&&Symbol.for,o=i?Symbol.for("react.element"):60103,a=i?Symbol.for("react.portal"):60106,s=i?Symbol.for("react.fragment"):60107,l=i?Symbol.for("react.strict_mode"):60108,u=i?Symbol.for("react.profiler"):60114,c=i?Symbol.for("react.provider"):60109,d=i?Symbol.for("react.context"):60110,f=i?Symbol.for("react.forward_ref"):60112,p=i?Symbol.for("react.suspense"):60113,h=i?Symbol.for("react.memo"):60115,m=i?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function g(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function w(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}function E(){}function k(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||y}w.prototype.isReactComponent={},w.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(g(85));this.updater.enqueueSetState(this,e,t,"setState")},w.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},E.prototype=w.prototype;var x=k.prototype=new E;x.constructor=k,r(x,w.prototype),x.isPureReactComponent=!0;var T={current:null},O=Object.prototype.hasOwnProperty,S={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,n){var r,i={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)O.call(t,r)&&!S.hasOwnProperty(r)&&(i[r]=t[r]);var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===i[r]&&(i[r]=l[r]);return{$$typeof:o,type:e,key:a,ref:s,props:i,_owner:T.current}}function A(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var N=/\/+/g,I=[];function F(e,t,n,r){if(I.length){var i=I.pop();return i.result=e,i.keyPrefix=t,i.func=n,i.context=r,i.count=0,i}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function M(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>I.length&&I.push(e)}function P(e,t,n,r){var i=typeof e;"undefined"!==i&&"boolean"!==i||(e=null);var s=!1;if(null===e)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case o:case a:s=!0}}if(s)return n(r,e,""===t?"."+L(e,0):t),1;if(s=0,t=""===t?".":t+":",Array.isArray(e))for(var l=0;l<e.length;l++){var u=t+L(i=e[l],l);s+=P(i,u,n,r)}else if("function"==typeof(u=null===e||"object"!=typeof e?null:"function"==typeof(u=v&&e[v]||e["@@iterator"])?u:null))for(e=u.call(e),l=0;!(i=e.next()).done;)s+=P(i=i.value,u=t+L(i,l++),n,r);else if("object"===i)throw n=""+e,Error(g(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return s}function D(e,t,n){return null==e?0:P(e,"",t,n)}function L(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function _(e,t){e.func.call(e.context,t,e.count++)}function j(e,t,n){var r=e.result,i=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?$(e,r,n,(function(e){return e})):null!=e&&(A(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,i+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(N,"$&/")+"/")+n)),r.push(e))}function $(e,t,n,r,i){var o="";null!=n&&(o=(""+n).replace(N,"$&/")+"/"),D(e,j,t=F(t,o,r,i)),M(t)}var R={current:null};function B(){var e=R.current;if(null===e)throw Error(g(321));return e}var V={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:T,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return $(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;D(e,_,t=F(null,null,t,n)),M(t)},count:function(e){return D(e,(function(){return null}),null)},toArray:function(e){var t=[];return $(e,t,null,(function(e){return e})),t},only:function(e){if(!A(e))throw Error(g(143));return e}},t.Component=w,t.Fragment=s,t.Profiler=u,t.PureComponent=k,t.StrictMode=l,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V,t.cloneElement=function(e,t,n){if(null==e)throw Error(g(267,e));var i=r({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=T.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(c in t)O.call(t,c)&&!S.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==u?u[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=n;else if(1<c){u=Array(c);for(var d=0;d<c;d++)u[d]=arguments[d+2];i.children=u}return{$$typeof:o,type:e.type,key:a,ref:s,props:i,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:d,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:c,_context:e},e.Consumer=e},t.createElement=C,t.createFactory=function(e){var t=C.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:f,render:e}},t.isValidElement=A,t.lazy=function(e){return{$$typeof:m,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:h,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return B().useCallback(e,t)},t.useContext=function(e,t){return B().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return B().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return B().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return B().useLayoutEffect(e,t)},t.useMemo=function(e,t){return B().useMemo(e,t)},t.useReducer=function(e,t,n){return B().useReducer(e,t,n)},t.useRef=function(e){return B().useRef(e)},t.useState=function(e){return B().useState(e)},t.version="16.14.0"},6540:(e,t,n)=>{"use strict";e.exports=n(5287)},7463:(e,t)=>{"use strict";var n,r,i,o,a;if("undefined"==typeof window||"function"!=typeof MessageChannel){var s=null,l=null,u=function(){if(null!==s)try{var e=t.unstable_now();s(!0,e),s=null}catch(e){throw setTimeout(u,0),e}},c=Date.now();t.unstable_now=function(){return Date.now()-c},n=function(e){null!==s?setTimeout(n,0,e):(s=e,setTimeout(u,0))},r=function(e,t){l=setTimeout(e,t)},i=function(){clearTimeout(l)},o=function(){return!1},a=t.unstable_forceFrameRate=function(){}}else{var d=window.performance,f=window.Date,p=window.setTimeout,h=window.clearTimeout;if("undefined"!=typeof console){var m=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),"function"!=typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if("object"==typeof d&&"function"==typeof d.now)t.unstable_now=function(){return d.now()};else{var v=f.now();t.unstable_now=function(){return f.now()-v}}var g=!1,y=null,b=-1,w=5,E=0;o=function(){return t.unstable_now()>=E},a=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):w=0<e?Math.floor(1e3/e):5};var k=new MessageChannel,x=k.port2;k.port1.onmessage=function(){if(null!==y){var e=t.unstable_now();E=e+w;try{y(!0,e)?x.postMessage(null):(g=!1,y=null)}catch(e){throw x.postMessage(null),e}}else g=!1},n=function(e){y=e,g||(g=!0,x.postMessage(null))},r=function(e,n){b=p((function(){e(t.unstable_now())}),n)},i=function(){h(b),b=-1}}function T(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,i=e[r];if(!(void 0!==i&&0<C(i,t)))break e;e[r]=t,e[n]=i,n=r}}function O(e){return void 0===(e=e[0])?null:e}function S(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length;r<i;){var o=2*(r+1)-1,a=e[o],s=o+1,l=e[s];if(void 0!==a&&0>C(a,n))void 0!==l&&0>C(l,a)?(e[r]=l,e[s]=n,r=s):(e[r]=a,e[o]=n,r=o);else{if(!(void 0!==l&&0>C(l,n)))break e;e[r]=l,e[s]=n,r=s}}}return t}return null}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var A=[],N=[],I=1,F=null,M=3,P=!1,D=!1,L=!1;function _(e){for(var t=O(N);null!==t;){if(null===t.callback)S(N);else{if(!(t.startTime<=e))break;S(N),t.sortIndex=t.expirationTime,T(A,t)}t=O(N)}}function j(e){if(L=!1,_(e),!D)if(null!==O(A))D=!0,n($);else{var t=O(N);null!==t&&r(j,t.startTime-e)}}function $(e,n){D=!1,L&&(L=!1,i()),P=!0;var a=M;try{for(_(n),F=O(A);null!==F&&(!(F.expirationTime>n)||e&&!o());){var s=F.callback;if(null!==s){F.callback=null,M=F.priorityLevel;var l=s(F.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?F.callback=l:F===O(A)&&S(A),_(n)}else S(A);F=O(A)}if(null!==F)var u=!0;else{var c=O(N);null!==c&&r(j,c.startTime-n),u=!1}return u}finally{F=null,M=a,P=!1}}function R(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var B=a;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){D||P||(D=!0,n($))},t.unstable_getCurrentPriorityLevel=function(){return M},t.unstable_getFirstCallbackNode=function(){return O(A)},t.unstable_next=function(e){switch(M){case 1:case 2:case 3:var t=3;break;default:t=M}var n=M;M=t;try{return e()}finally{M=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=B,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=M;M=e;try{return t()}finally{M=n}},t.unstable_scheduleCallback=function(e,o,a){var s=t.unstable_now();if("object"==typeof a&&null!==a){var l=a.delay;l="number"==typeof l&&0<l?s+l:s,a="number"==typeof a.timeout?a.timeout:R(e)}else a=R(e),l=s;return e={id:I++,callback:o,priorityLevel:e,startTime:l,expirationTime:a=l+a,sortIndex:-1},l>s?(e.sortIndex=l,T(N,e),null===O(A)&&e===O(N)&&(L?i():L=!0,r(j,l-s))):(e.sortIndex=a,T(A,e),D||P||(D=!0,n($))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();_(e);var n=O(A);return n!==F&&null!==F&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<F.expirationTime||o()},t.unstable_wrapCallback=function(e){var t=M;return function(){var n=M;M=t;try{return e.apply(this,arguments)}finally{M=n}}}},9982:(e,t,n)=>{"use strict";e.exports=n(7463)},9054:(e,t,n)=>{"use strict";n.r(t),n.d(t,{focusable:()=>b,isFocusable:()=>k,isTabbable:()=>w,tabbable:()=>y});var r=/^(125|61)$/.test(n.j)?["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"]:null,i=/^(125|61)$/.test(n.j)?r.join(","):null,o="undefined"==typeof Element,a=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,s=!o&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},l=function(e,t,n){var r=Array.prototype.slice.apply(e.querySelectorAll(i));return t&&a.call(e,i)&&r.unshift(e),r.filter(n)},u=function e(t,n,r){for(var o=[],s=Array.from(t);s.length;){var l=s.shift();if("SLOT"===l.tagName){var u=l.assignedElements(),c=e(u.length?u:l.children,!0,r);r.flatten?o.push.apply(o,c):o.push({scope:l,candidates:c})}else{a.call(l,i)&&r.filter(l)&&(n||!t.includes(l))&&o.push(l);var d=l.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(l),f=!r.shadowRootFilter||r.shadowRootFilter(l);if(d&&f){var p=e(!0===d?l.children:d.children,!0,r);r.flatten?o.push.apply(o,p):o.push({scope:l,candidates:p})}else s.unshift.apply(s,l.children)}}return o},c=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},d=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},f=function(e){return"INPUT"===e.tagName},p=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},h=function(e,t){return!(t.disabled||function(e){return f(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var i=a.call(e,"details>summary:first-of-type")?e.parentElement:e;if(a.call(i,"details:not([open]) *"))return!0;var o=s(e).host,l=(null==o?void 0:o.ownerDocument.contains(o))||e.ownerDocument.contains(e);if(n&&"full"!==n){if("non-zero-area"===n)return p(e)}else{if("function"==typeof r){for(var u=e;e;){var c=e.parentElement,d=s(e);if(c&&!c.shadowRoot&&!0===r(c))return p(e);e=e.assignedSlot?e.assignedSlot:c||d===e.ownerDocument?c:d.host}e=u}if(l)return!e.getClientRects().length}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!a.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},m=function(e,t){return!(function(e){return function(e){return f(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||s(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var i=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!i||i===e}(e)}(t)||c(t)<0||!h(e,t))},v=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},g=function e(t){var n=[],r=[];return t.forEach((function(t,i){var o=!!t.scope,a=o?t.scope:t,s=c(a,o),l=o?e(t.candidates):a;0===s?o?n.push.apply(n,l):n.push(a):r.push({documentOrder:i,tabIndex:s,item:t,isScope:o,content:l})})),r.sort(d).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},y=function(e,t){var n;return n=(t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:m.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:v}):l(e,t.includeContainer,m.bind(null,t)),g(n)},b=function(e,t){return(t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:h.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):l(e,t.includeContainer,h.bind(null,t))},w=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,i)&&m(t,e)},E=/^(125|61)$/.test(n.j)?r.concat("iframe").join(","):null,k=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,E)&&h(t,e)}},7381:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>De});var r=n(7310),i=n(6979),o=n(3341),a=n(5128),s=n(1206),l=n(571),u=n(844),c=n(5581),d={placement:"bottom",modifiers:[],strategy:"absolute"};function f(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function p(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,p=void 0===n?[]:n,h=t.defaultOptions,m=void 0===h?d:h;return function(e,t,n){void 0===n&&(n=m);var h={placement:"bottom",orderedModifiers:[],options:Object.assign({},d,m),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},v=[],g=!1,y={state:h,setOptions:function(n){var r="function"==typeof n?n(h.options):n;b(),h.options=Object.assign({},m,h.options,r),h.scrollParents={reference:(0,c.vq)(e)?(0,o.A)(e):e.contextElement?(0,o.A)(e.contextElement):[],popper:(0,o.A)(t)};var i=(0,s.A)((0,u.A)([].concat(p,h.options.modifiers)));return h.orderedModifiers=i.filter((function(e){return e.enabled})),h.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var o=i({state:h,name:t,instance:y,options:r});v.push(o||function(){})}})),y.update()},forceUpdate:function(){if(!g){var e=h.elements,t=e.reference,n=e.popper;if(f(t,n)){h.rects={reference:(0,r.A)(t,(0,a.A)(n),"fixed"===h.options.strategy),popper:(0,i.A)(n)},h.reset=!1,h.placement=h.options.placement,h.orderedModifiers.forEach((function(e){return h.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<h.orderedModifiers.length;o++)if(!0!==h.reset){var s=h.orderedModifiers[o],l=s.fn,u=s.options,c=void 0===u?{}:u,d=s.name;"function"==typeof l&&(h=l({state:h,options:c,name:d,instance:y})||h)}else h.reset=!1,o=-1}}},update:(0,l.A)((function(){return new Promise((function(e){y.forceUpdate(),e(h)}))})),destroy:function(){b(),g=!0}};if(!f(e,t))return y;function b(){v.forEach((function(e){return e()})),v=[]}return y.setOptions(n).then((function(e){!g&&n.onFirstUpdate&&n.onFirstUpdate(e)})),y}}var h=n(8979),m={passive:!0};const v={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,a=r.resize,s=void 0===a||a,l=(0,h.A)(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&u.forEach((function(e){e.addEventListener("scroll",n.update,m)})),s&&l.addEventListener("resize",n.update,m),function(){o&&u.forEach((function(e){e.removeEventListener("scroll",n.update,m)})),s&&l.removeEventListener("resize",n.update,m)}},data:{}};var g=n(1815);const y={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=(0,g.A)({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var b=n(4278),w=n(9760),E=n(271),k=n(2632),x=n(8101),T=n(6906),O={top:"auto",right:"auto",bottom:"auto",left:"auto"};function S(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,s=e.offsets,l=e.position,u=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,f=e.isFixed,p=s.x,m=void 0===p?0:p,v=s.y,g=void 0===v?0:v,y="function"==typeof d?d({x:m,y:g}):{x:m,y:g};m=y.x,g=y.y;var k=s.hasOwnProperty("x"),x=s.hasOwnProperty("y"),S=b.kb,C=b.Mn,A=window;if(c){var N=(0,a.A)(n),I="clientHeight",F="clientWidth";N===(0,h.A)(n)&&(N=(0,w.A)(n),"static"!==(0,E.A)(N).position&&"absolute"===l&&(I="scrollHeight",F="scrollWidth")),(i===b.Mn||(i===b.kb||i===b.pG)&&o===b._N)&&(C=b.sQ,g-=(f&&A.visualViewport?A.visualViewport.height:N[I])-r.height,g*=u?1:-1),i!==b.kb&&(i!==b.Mn&&i!==b.sQ||o!==b._N)||(S=b.pG,m-=(f&&A.visualViewport?A.visualViewport.width:N[F])-r.width,m*=u?1:-1)}var M,P=Object.assign({position:l},c&&O),D=!0===d?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:(0,T.LI)(t*r)/r||0,y:(0,T.LI)(n*r)/r||0}}({x:m,y:g}):{x:m,y:g};return m=D.x,g=D.y,u?Object.assign({},P,((M={})[C]=x?"0":"",M[S]=k?"0":"",M.transform=(A.devicePixelRatio||1)<=1?"translate("+m+"px, "+g+"px)":"translate3d("+m+"px, "+g+"px, 0)",M)):Object.assign({},P,((t={})[C]=x?g+"px":"",t[S]=k?m+"px":"",t.transform="",t))}const C={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,a=void 0===o||o,s=n.roundOffsets,l=void 0===s||s,u={placement:(0,k.A)(t.placement),variation:(0,x.A)(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,S(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,S(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var A=n(7604);const N={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];(0,c.sb)(i)&&(0,A.A)(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});(0,c.sb)(r)&&(0,A.A)(r)&&(Object.assign(r.style,o),Object.keys(i).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},I={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,a=b.DD.reduce((function(e,n){return e[n]=function(e,t,n){var r=(0,k.A)(e),i=[b.kb,b.Mn].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,a=o[0],s=o[1];return a=a||0,s=(s||0)*i,[b.kb,b.pG].indexOf(r)>=0?{x:s,y:a}:{x:a,y:s}}(n,t.rects,o),e}),{}),s=a[t.placement],l=s.x,u=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=a}};var F={left:"right",right:"left",bottom:"top",top:"bottom"};function M(e){return e.replace(/left|right|bottom|top/g,(function(e){return F[e]}))}var P={start:"end",end:"start"};function D(e){return e.replace(/start|end/g,(function(e){return P[e]}))}var L=n(9913);const _={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,o=void 0===i||i,a=n.altAxis,s=void 0===a||a,l=n.fallbackPlacements,u=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,v=t.options.placement,g=(0,k.A)(v),y=l||(g!==v&&h?function(e){if((0,k.A)(e)===b.qZ)return[];var t=M(e);return[D(e),t,D(t)]}(v):[M(v)]),w=[v].concat(y).reduce((function(e,n){return e.concat((0,k.A)(n)===b.qZ?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,a=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=void 0===l?b.DD:l,c=(0,x.A)(r),d=c?s?b.Ol:b.Ol.filter((function(e){return(0,x.A)(e)===c})):b.OM,f=d.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=(0,L.A)(e,{placement:n,boundary:i,rootBoundary:o,padding:a})[(0,k.A)(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:c,rootBoundary:d,padding:u,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),E=t.rects.reference,T=t.rects.popper,O=new Map,S=!0,C=w[0],A=0;A<w.length;A++){var N=w[A],I=(0,k.A)(N),F=(0,x.A)(N)===b.ni,P=[b.Mn,b.sQ].indexOf(I)>=0,_=P?"width":"height",j=(0,L.A)(t,{placement:N,boundary:c,rootBoundary:d,altBoundary:f,padding:u}),$=P?F?b.pG:b.kb:F?b.sQ:b.Mn;E[_]>T[_]&&($=M($));var R=M($),B=[];if(o&&B.push(j[I]<=0),s&&B.push(j[$]<=0,j[R]<=0),B.every((function(e){return e}))){C=N,S=!1;break}O.set(N,B)}if(S)for(var V=function(e){var t=w.find((function(t){var n=O.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return C=t,"break"},z=h?3:1;z>0&&"break"!==V(z);z--);t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};var j=n(9703);function $(e,t,n){return(0,T.T9)(e,(0,T.jk)(t,n))}var R=n(7364);const B={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,s=void 0===o||o,l=n.altAxis,u=void 0!==l&&l,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.padding,h=n.tether,m=void 0===h||h,v=n.tetherOffset,g=void 0===v?0:v,y=(0,L.A)(t,{boundary:c,rootBoundary:d,padding:p,altBoundary:f}),w=(0,k.A)(t.placement),E=(0,x.A)(t.placement),O=!E,S=(0,j.A)(w),C="x"===S?"y":"x",A=t.modifiersData.popperOffsets,N=t.rects.reference,I=t.rects.popper,F="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,M="number"==typeof F?{mainAxis:F,altAxis:F}:Object.assign({mainAxis:0,altAxis:0},F),P=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,D={x:0,y:0};if(A){if(s){var _,B="y"===S?b.Mn:b.kb,V="y"===S?b.sQ:b.pG,z="y"===S?"height":"width",U=A[S],K=U+y[B],W=U-y[V],H=m?-I[z]/2:0,q=E===b.ni?N[z]:I[z],Q=E===b.ni?-I[z]:-N[z],G=t.elements.arrow,Y=m&&G?(0,i.A)(G):{width:0,height:0},X=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:(0,R.A)(),Z=X[B],J=X[V],ee=$(0,N[z],Y[z]),te=O?N[z]/2-H-ee-Z-M.mainAxis:q-ee-Z-M.mainAxis,ne=O?-N[z]/2+H+ee+J+M.mainAxis:Q+ee+J+M.mainAxis,re=t.elements.arrow&&(0,a.A)(t.elements.arrow),ie=re?"y"===S?re.clientTop||0:re.clientLeft||0:0,oe=null!=(_=null==P?void 0:P[S])?_:0,ae=U+te-oe-ie,se=U+ne-oe,le=$(m?(0,T.jk)(K,ae):K,U,m?(0,T.T9)(W,se):W);A[S]=le,D[S]=le-U}if(u){var ue,ce="x"===S?b.Mn:b.kb,de="x"===S?b.sQ:b.pG,fe=A[C],pe="y"===C?"height":"width",he=fe+y[ce],me=fe-y[de],ve=-1!==[b.Mn,b.kb].indexOf(w),ge=null!=(ue=null==P?void 0:P[C])?ue:0,ye=ve?he:fe-N[pe]-I[pe]-ge+M.altAxis,be=ve?fe+N[pe]+I[pe]-ge-M.altAxis:me,we=m&&ve?function(e,t,n){var r=$(e,t,n);return r>n?n:r}(ye,fe,be):$(m?ye:he,fe,m?be:me);A[C]=we,D[C]=we-fe}t.modifiersData[r]=D}},requiresIfExists:["offset"]};var V=n(5446),z=n(4318),U=n(1007);function K(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function W(e){return[b.Mn,b.pG,b.sQ,b.kb].some((function(t){return e[t]>=0}))}var H=p({defaultModifiers:[v,y,C,N,I,_,B,{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,s=n.elements.arrow,l=n.modifiersData.popperOffsets,u=(0,k.A)(n.placement),c=(0,j.A)(u),d=[b.kb,b.pG].indexOf(u)>=0?"height":"width";if(s&&l){var f=function(e,t){return e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,(0,z.A)("number"!=typeof e?e:(0,U.A)(e,b.OM))}(o.padding,n),p=(0,i.A)(s),h="y"===c?b.Mn:b.kb,m="y"===c?b.sQ:b.pG,v=n.rects.reference[d]+n.rects.reference[c]-l[c]-n.rects.popper[d],g=l[c]-n.rects.reference[c],y=(0,a.A)(s),w=y?"y"===c?y.clientHeight||0:y.clientWidth||0:0,E=v/2-g/2,x=f[h],T=w-p[d]-f[m],O=w/2-p[d]/2+E,S=$(x,O,T),C=c;n.modifiersData[r]=((t={})[C]=S,t.centerOffset=S-O,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&(0,V.A)(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,a=(0,L.A)(t,{elementContext:"reference"}),s=(0,L.A)(t,{altBoundary:!0}),l=K(a,r),u=K(s,i,o),c=W(l),d=W(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]}),q="tippy-content",Q="tippy-backdrop",G="tippy-arrow",Y="tippy-svg-arrow",X={passive:!0,capture:!0},Z=function(){return document.body};function J(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function ee(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function te(e,t){return"function"==typeof e?e.apply(void 0,t):e}function ne(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout((function(){e(r)}),t)};var n}function re(e){return[].concat(e)}function ie(e,t){-1===e.indexOf(t)&&e.push(t)}function oe(e){return[].slice.call(e)}function ae(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function se(){return document.createElement("div")}function le(e){return["Element","Fragment"].some((function(t){return ee(e,t)}))}function ue(e,t){e.forEach((function(e){e&&(e.style.transitionDuration=t+"ms")}))}function ce(e,t){e.forEach((function(e){e&&e.setAttribute("data-state",t)}))}function de(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach((function(t){e[r](t,n)}))}function fe(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var pe={isTouch:!1},he=0;function me(){pe.isTouch||(pe.isTouch=!0,window.performance&&document.addEventListener("mousemove",ve))}function ve(){var e=performance.now();e-he<20&&(pe.isTouch=!1,document.removeEventListener("mousemove",ve)),he=e}function ge(){var e,t=document.activeElement;if((e=t)&&e._tippy&&e._tippy.reference===e){var n=t._tippy;t.blur&&!n.state.isVisible&&t.blur()}}var ye=!("undefined"==typeof window||"undefined"==typeof document||!window.msCrypto),be=Object.assign({appendTo:Z,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},{animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),we=Object.keys(be);function Ee(e){var t=(e.plugins||[]).reduce((function(t,n){var r,i=n.name,o=n.defaultValue;return i&&(t[i]=void 0!==e[i]?e[i]:null!=(r=be[i])?r:o),t}),{});return Object.assign({},e,t)}function ke(e,t){var n=Object.assign({},t,{content:te(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(Ee(Object.assign({},be,{plugins:t}))):we).reduce((function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t}),{})}(e,t.plugins));return n.aria=Object.assign({},be.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}var xe=function(){return"innerHTML"};function Te(e,t){e[xe()]=t}function Oe(e){var t=se();return!0===e?t.className=G:(t.className=Y,le(e)?t.appendChild(e):Te(t,e)),t}function Se(e,t){le(t.content)?(Te(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Te(e,t.content):e.textContent=t.content)}function Ce(e){var t=e.firstElementChild,n=oe(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(q)})),arrow:n.find((function(e){return e.classList.contains(G)||e.classList.contains(Y)})),backdrop:n.find((function(e){return e.classList.contains(Q)}))}}function Ae(e){var t=se(),n=se();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=se();function i(n,r){var i=Ce(t),o=i.box,a=i.content,s=i.arrow;r.theme?o.setAttribute("data-theme",r.theme):o.removeAttribute("data-theme"),"string"==typeof r.animation?o.setAttribute("data-animation",r.animation):o.removeAttribute("data-animation"),r.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?o.setAttribute("role",r.role):o.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||Se(a,e.props),r.arrow?s?n.arrow!==r.arrow&&(o.removeChild(s),o.appendChild(Oe(r.arrow))):o.appendChild(Oe(r.arrow)):s&&o.removeChild(s)}return r.className=q,r.setAttribute("data-state","hidden"),Se(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props),{popper:t,onUpdate:i}}Ae.$$tippy=!0;var Ne=1,Ie=[],Fe=[];function Me(e,t){var n,r,i,o,a,s,l,u,c=ke(e,Object.assign({},be,Ee(ae(t)))),d=!1,f=!1,p=!1,h=!1,m=[],v=ne(Q,c.interactiveDebounce),g=Ne++,y=(u=c.plugins).filter((function(e,t){return u.indexOf(e)===t})),b={id:g,reference:e,popper:se(),popperInstance:null,props:c,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(i)},setProps:function(t){if(!b.state.isDestroyed){P("onBeforeUpdate",[b,t]),W();var n=b.props,r=ke(e,Object.assign({},n,ae(t),{ignoreAttributes:!0}));b.props=r,K(),n.interactiveDebounce!==r.interactiveDebounce&&(_(),v=ne(Q,r.interactiveDebounce)),n.triggerTarget&&!r.triggerTarget?re(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded"),L(),M(),k&&k(n,r),b.popperInstance&&(he(),ve().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}))),P("onAfterUpdate",[b,t])}},setContent:function(e){b.setProps({content:e})},show:function(){var e=b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=pe.isTouch&&!b.props.touch,i=J(b.props.duration,0,be.duration);if(!(e||t||n||r||A().hasAttribute("disabled")||(P("onShow",[b],!1),!1===b.props.onShow(b)))){if(b.state.isVisible=!0,C()&&(E.style.visibility="visible"),M(),B(),b.state.isMounted||(E.style.transition="none"),C()){var o=I();ue([o.box,o.content],0)}var a,l,u;s=function(){var e;if(b.state.isVisible&&!h){if(h=!0,E.offsetHeight,E.style.transition=b.props.moveTransition,C()&&b.props.animation){var t=I(),n=t.box,r=t.content;ue([n,r],i),ce([n,r],"visible")}D(),L(),ie(Fe,b),null==(e=b.popperInstance)||e.forceUpdate(),P("onMount",[b]),b.props.animation&&C()&&function(e,t){z(e,(function(){b.state.isShown=!0,P("onShown",[b])}))}(i)}},l=b.props.appendTo,u=A(),(a=b.props.interactive&&l===Z||"parent"===l?u.parentNode:te(l,[u])).contains(E)||a.appendChild(E),b.state.isMounted=!0,he()}},hide:function(){var e=!b.state.isVisible,t=b.state.isDestroyed,n=!b.state.isEnabled,r=J(b.props.duration,1,be.duration);if(!(e||t||n)&&(P("onHide",[b],!1),!1!==b.props.onHide(b))){if(b.state.isVisible=!1,b.state.isShown=!1,h=!1,d=!1,C()&&(E.style.visibility="hidden"),_(),V(),M(!0),C()){var i=I(),o=i.box,a=i.content;b.props.animation&&(ue([o,a],r),ce([o,a],"hidden"))}D(),L(),b.props.animation?C()&&function(e,t){z(e,(function(){!b.state.isVisible&&E.parentNode&&E.parentNode.contains(E)&&t()}))}(r,b.unmount):b.unmount()}},hideWithInteractivity:function(e){N().addEventListener("mousemove",v),ie(Ie,v),v(e)},enable:function(){b.state.isEnabled=!0},disable:function(){b.hide(),b.state.isEnabled=!1},unmount:function(){b.state.isVisible&&b.hide(),b.state.isMounted&&(me(),ve().forEach((function(e){e._tippy.unmount()})),E.parentNode&&E.parentNode.removeChild(E),Fe=Fe.filter((function(e){return e!==b})),b.state.isMounted=!1,P("onHidden",[b]))},destroy:function(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),W(),delete e._tippy,b.state.isDestroyed=!0,P("onDestroy",[b]))}};if(!c.render)return b;var w=c.render(b),E=w.popper,k=w.onUpdate;E.setAttribute("data-tippy-root",""),E.id="tippy-"+b.id,b.popper=E,e._tippy=b,E._tippy=b;var x=y.map((function(e){return e.fn(b)})),T=e.hasAttribute("aria-expanded");return K(),L(),M(),P("onCreate",[b]),c.showOnCreate&&ge(),E.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),E.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&N().addEventListener("mousemove",v)})),b;function O(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function S(){return"hold"===O()[0]}function C(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function A(){return l||e}function N(){var e,t,n=A().parentNode;return n?null!=(t=re(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function I(){return Ce(E)}function F(e){return b.state.isMounted&&!b.state.isVisible||pe.isTouch||o&&"focus"===o.type?0:J(b.props.delay,e?0:1,be.delay)}function M(e){void 0===e&&(e=!1),E.style.pointerEvents=b.props.interactive&&!e?"":"none",E.style.zIndex=""+b.props.zIndex}function P(e,t,n){var r;void 0===n&&(n=!0),x.forEach((function(n){n[e]&&n[e].apply(n,t)})),n&&(r=b.props)[e].apply(r,t)}function D(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=E.id;re(b.props.triggerTarget||e).forEach((function(e){var t=e.getAttribute(n);if(b.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var i=t&&t.replace(r,"").trim();i?e.setAttribute(n,i):e.removeAttribute(n)}}))}}function L(){!T&&b.props.aria.expanded&&re(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===A()?"true":"false"):e.removeAttribute("aria-expanded")}))}function _(){N().removeEventListener("mousemove",v),Ie=Ie.filter((function(e){return e!==v}))}function j(t){if(!pe.isTouch||!p&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!fe(E,n)){if(re(b.props.triggerTarget||e).some((function(e){return fe(e,n)}))){if(pe.isTouch)return;if(b.state.isVisible&&b.props.trigger.indexOf("click")>=0)return}else P("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),f=!0,setTimeout((function(){f=!1})),b.state.isMounted||V())}}}function $(){p=!0}function R(){p=!1}function B(){var e=N();e.addEventListener("mousedown",j,!0),e.addEventListener("touchend",j,X),e.addEventListener("touchstart",R,X),e.addEventListener("touchmove",$,X)}function V(){var e=N();e.removeEventListener("mousedown",j,!0),e.removeEventListener("touchend",j,X),e.removeEventListener("touchstart",R,X),e.removeEventListener("touchmove",$,X)}function z(e,t){var n=I().box;function r(e){e.target===n&&(de(n,"remove",r),t())}if(0===e)return t();de(n,"remove",a),de(n,"add",r),a=r}function U(t,n,r){void 0===r&&(r=!1),re(b.props.triggerTarget||e).forEach((function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})}))}function K(){var e;S()&&(U("touchstart",q,{passive:!0}),U("touchend",G,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(U(e,q),e){case"mouseenter":U("mouseleave",G);break;case"focus":U(ye?"focusout":"blur",Y);break;case"focusin":U("focusout",Y)}}))}function W(){m.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)})),m=[]}function q(e){var t,n=!1;if(b.state.isEnabled&&!le(e)&&!f){var r="focus"===(null==(t=o)?void 0:t.type);o=e,l=e.currentTarget,L(),!b.state.isVisible&&ee(e,"MouseEvent")&&Ie.forEach((function(t){return t(e)})),"click"===e.type&&(b.props.trigger.indexOf("mouseenter")<0||d)&&!1!==b.props.hideOnClick&&b.state.isVisible?n=!0:ge(e),"click"===e.type&&(d=!n),n&&!r&&we(e)}}function Q(e){var t=e.target,n=A().contains(t)||E.contains(t);if("mousemove"!==e.type||!n){var r=ve().concat(E).map((function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:c}:null})).filter(Boolean);(function(e,t){var n=t.clientX,r=t.clientY;return e.every((function(e){var t=e.popperRect,i=e.popperState,o=e.props.interactiveBorder,a=i.placement.split("-")[0],s=i.modifiersData.offset;if(!s)return!0;var l="bottom"===a?s.top.y:0,u="top"===a?s.bottom.y:0,c="right"===a?s.left.x:0,d="left"===a?s.right.x:0,f=t.top-r+l>o,p=r-t.bottom-u>o,h=t.left-n+c>o,m=n-t.right-d>o;return f||p||h||m}))})(r,e)&&(_(),we(e))}}function G(e){le(e)||b.props.trigger.indexOf("click")>=0&&d||(b.props.interactive?b.hideWithInteractivity(e):we(e))}function Y(e){b.props.trigger.indexOf("focusin")<0&&e.target!==A()||b.props.interactive&&e.relatedTarget&&E.contains(e.relatedTarget)||we(e)}function le(e){return!!pe.isTouch&&S()!==e.type.indexOf("touch")>=0}function he(){me();var t=b.props,n=t.popperOptions,r=t.placement,i=t.offset,o=t.getReferenceClientRect,a=t.moveTransition,l=C()?Ce(E).arrow:null,u=o?{getBoundingClientRect:o,contextElement:o.contextElement||A()}:e,c=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!a}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(C()){var n=I().box;["placement","reference-hidden","escaped"].forEach((function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)})),t.attributes.popper={}}}}];C()&&l&&c.push({name:"arrow",options:{element:l,padding:3}}),c.push.apply(c,(null==n?void 0:n.modifiers)||[]),b.popperInstance=H(u,E,Object.assign({},n,{placement:r,onFirstUpdate:s,modifiers:c}))}function me(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function ve(){return oe(E.querySelectorAll("[data-tippy-root]"))}function ge(e){b.clearDelayTimeouts(),e&&P("onTrigger",[b,e]),B();var t=F(!0),r=O(),i=r[0],o=r[1];pe.isTouch&&"hold"===i&&o&&(t=o),t?n=setTimeout((function(){b.show()}),t):b.show()}function we(e){if(b.clearDelayTimeouts(),P("onUntrigger",[b,e]),b.state.isVisible){if(!(b.props.trigger.indexOf("mouseenter")>=0&&b.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&d)){var t=F(!1);t?r=setTimeout((function(){b.state.isVisible&&b.hide()}),t):i=requestAnimationFrame((function(){b.hide()}))}}else V()}}function Pe(e,t){void 0===t&&(t={});var n=be.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",me,X),window.addEventListener("blur",ge);var r,i=Object.assign({},t,{plugins:n}),o=(r=e,le(r)?[r]:function(e){return ee(e,"NodeList")}(r)?oe(r):Array.isArray(r)?r:oe(document.querySelectorAll(r))).reduce((function(e,t){var n=t&&Me(t,i);return n&&e.push(n),e}),[]);return le(e)?o[0]:o}Pe.defaultProps=be,Pe.setDefaultProps=function(e){Object.keys(e).forEach((function(t){be[t]=e[t]}))},Pe.currentInput=pe,Object.assign({},N,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),Pe.setDefaultProps({render:Ae});const De=Pe},9465:(e,t,n)=>{"use strict";n.d(t,{_:()=>o,y:()=>i});var r=n(2614);class i{chooserModalClass=r.ZZ;titleStateKey="title";editUrlStateKey="edit_url";constructor(e,t={}){this.opts=t,this.initHTMLElements(e),this.state=this.getStateFromHTML();for(const e of this.chooserElement.querySelectorAll("[data-chooser-action-choose]"))e.addEventListener("click",(()=>{this.openChooserModal()}));for(const e of this.chooserElement.querySelectorAll("[data-chooser-action-clear]"))e.addEventListener("click",(()=>{this.clear()}));this.chooserElement.widget=this}initHTMLElements(e){this.chooserElement=document.getElementById(`${e}-chooser`),this.titleElement=this.chooserElement.querySelector("[data-chooser-title]"),this.input=document.getElementById(e),this.editLink=this.chooserElement.querySelector("[data-chooser-edit-link]")}getStateFromHTML(){if(this.input.value){const e={id:this.input.value};return this.titleElement&&this.titleStateKey&&(e[this.titleStateKey]=this.titleElement.textContent),this.editLink&&this.editUrlStateKey&&(e[this.editUrlStateKey]=this.editLink.getAttribute("href")),e}return null}getState(){return this.state}getValue(){return this.state&&this.state.id}setState(e){this.state=e,e?this.renderState(e):this.renderEmptyState()}setStateFromModalData(e){this.setState(e)}clear(){this.setState(null)}renderEmptyState(){this.input.setAttribute("value",""),this.input.dispatchEvent(new Event("change",{bubbles:!0})),this.chooserElement.classList.add("blank")}renderState(e){if(this.input.setAttribute("value",e.id),this.input.dispatchEvent(new Event("change",{bubbles:!0})),this.titleElement&&this.titleStateKey&&(this.titleElement.textContent=e[this.titleStateKey]),this.chooserElement.classList.remove("blank"),this.editLink){const t=e[this.editUrlStateKey];t?(this.editLink.setAttribute("href",t),this.editLink.hidden=!1):this.editLink.hidden=!0}}getTextLabel(e){if(!this.state)return null;const t=this.state[this.titleStateKey];return e&&e.maxLength&&t.length>e.maxLength?t.substring(0,e.maxLength-1)+"…":t}focus(){this.chooserElement.querySelector("button").focus()}getModalOptions(){const e={};if(this.opts.linkedFields)for(const[t,n]of Object.entries(this.opts.linkedFields)){let r;if("string"==typeof n)r=document.querySelector(n).value;else if(n.id)r=document.getElementById(n.id).value;else if(n.selector)r=document.querySelector(n.selector).value;else if(n.match&&this.chooserElement.id){const e=this.chooserElement.id.match(new RegExp(n.match));if(e){let t=e[0];n.append&&(t+=n.append),r=document.getElementById(t).value}}r&&(e[t]=r)}return Object.keys(e).length?{linkedFieldFilters:e}:null}openChooserModal(){this.modal||(this.modal=new this.chooserModalClass(this.opts.modalUrl||this.chooserElement.dataset.chooserUrl)),this.modal.open(this.getModalOptions(),(e=>{this.setStateFromModalData(e)}))}}class o{widgetClass=i;chooserModalClass=r.ZZ;constructor(e,t,n={}){this.html=e,this.idPattern=t,this.opts=n}render(e,t,n,r){const i=this.html.replace(/__NAME__/g,t).replace(/__ID__/g,n);e.outerHTML=i;const o=new this.widgetClass(n,this.opts);return o.setState(r),o}getModalOptions(){return null}openModal(e,t){if(!this.modal){if(!this.opts.modalUrl)throw new Error("ChooserFactory must be passed a modalUrl option if openModal is used");this.modal=new this.chooserModalClass(this.opts.modalUrl)}const n={...this.getModalOptions(),...t};this.modal.open(n,e)}getById(e){return document.getElementById(`${e}-chooser`).widget}}},1596:(e,t,n)=>{"use strict";n.d(t,{qc:()=>d,b5:()=>f,Mn:()=>c,Ay:()=>p});var r=n(2427),i=n.n(r),o=n(4954),a=n(2833),s=n(1238);const l=new Intl.Collator(void 0,{usage:"search",sensitivity:"base",ignorePunctuation:!0}),u=(e,t,n)=>e.filter((e=>t(e).some((e=>e&&((e,t)=>{if(0===t.length)return!0;const n=e.normalize("NFC"),r=t.normalize("NFC");for(let e=0;e+r.length<=n.length;e+=1){const t=n.slice(e,e+r.length);if(0===l.compare(r,t))return!0}return!1})(e,n))))),c=(0,a.AP)("Insert a block"),d=(0,a.AP)("Search options…"),f=(0,a.AP)("No results");function p({label:e,placeholder:t,inputValue:n,items:a,getItemLabel:l,getItemDescription:c,getSearchFields:d,onSelect:f,noResultsText:p}){const h=!e,m=a.flatMap((e=>e.items||[])),[v,g]=(0,r.useState)(m),y=a.reduce(((e,t,n)=>t.label||0===n?[...e,{...t,items:t.items.slice()}]:(e[n-1].items=e[n-1].items.concat(t.items),e)),[]),b=0===v.length,{getLabelProps:w,getMenuProps:E,getInputProps:k,getItemProps:x,setHighlightedIndex:T,setInputValue:O,openMenu:S}=(0,o.Bp)({...void 0!==n&&{inputValue:n},initialInputValue:n||"",items:v,itemToString:e=>e&&(c(e)||l(e.type,e))||"",selectedItem:null,onSelectedItemChange:e=>{switch(e.type){case o.Bp.stateChangeTypes.InputKeyDownEnter:case o.Bp.stateChangeTypes.ItemClick:f(e)}},stateReducer:(e,t)=>{const{type:n,changes:r}=t;return n===o.Bp.stateChangeTypes.InputBlur?{...r,isOpen:e.isOpen,highlightedIndex:e.highlightedIndex,inputValue:e.inputValue}:r},onInputValueChange:e=>{const{inputValue:t}=e;if(!t)return void g(m);const n=u(m,d,t);g(n),T(0)}});return(0,r.useEffect)((()=>{if(n){S(),O(n);const e=u(m,d,n);g(e),T(0)}else O(""),g(m),T(-1)}),[n]),i().createElement("div",{className:"w-combobox"},i().createElement("label",{...w(),className:"w-sr-only"},e),i().createElement("div",{className:"w-combobox__field"},i().createElement("input",{...k(),type:"text",disabled:h,placeholder:t})),b?i().createElement("div",{className:"w-combobox__status"},p):null,i().createElement("div",{...E(),className:"w-combobox__menu"},y.map((e=>{const t=(e.items||[]).filter((e=>v.find((t=>t.type===e.type)))),n=Math.ceil(t.length/2);return 0===t.length?null:i().createElement("div",{className:"w-combobox__optgroup",key:e.type},e.label?i().createElement("div",{className:"w-combobox__optgroup-label"},e.label):null,t.map(((e,t)=>{const r=l(e.type,e),o=c(e),a=v.findIndex((t=>t.type===e.type)),u=t+1<=n?1:2,d=void 0!==e.icon&&null!==e.icon;let f=null;return d&&(f="string"==typeof e.icon?i().createElement(s.A,{name:e.icon}):e.icon),i().createElement("div",{key:e.type,...x({item:e,index:a}),className:`w-combobox__option w-combobox__option--col${u}`},i().createElement("div",{className:"w-combobox__option-icon"},f,r&&!d?i().createElement("span",null,r):null),i().createElement("div",{className:"w-combobox__option-text"},e.render?e.render({option:e}):o))})))}))))}},3410:(e,t,n)=>{"use strict";n.d(t,{n:()=>o});var r=n(1669),i=n.n(r);class o{constructor(e,t={}){this.opts=t;const n=i()("#"+e+"-ADD");if(this.formContainer=i()("#"+e+"-FORMS"),this.totalFormsInput=i()("#"+e+"-TOTAL_FORMS"),this.formCount=parseInt(this.totalFormsInput.val(),10),t.onInit)for(let e=0;e<this.formCount;e+=1)t.onInit(e);const r=document.getElementById(e+"-EMPTY_FORM_TEMPLATE");r instanceof HTMLTemplateElement?this.emptyFormTemplate=r.innerHTML:r instanceof HTMLScriptElement&&(this.emptyFormTemplate=r.innerText||r.textContent),n.on("click",(()=>{this.addForm()}))}addForm(e={}){const t=this.formCount,n=this.emptyFormTemplate.replace(/__prefix__(.*?['"])/g,t+"$1").replace(/<-(-*)\/script>/g,"<$1/script>");this.formContainer.append(n),this.formCount+=1,this.totalFormsInput.val(this.formCount),"runCallbacks"in e&&!e.runCallbacks||(this.opts.onAdd&&this.opts.onAdd(t),this.opts.onInit&&this.opts.onInit(t))}}},1238:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2427);const i=/^(114|125|262|445|591|61)$/.test(n.j)?({name:e,className:t,title:n})=>r.createElement(r.Fragment,null,r.createElement("svg",{className:`icon icon-${e} ${t||""}`,"aria-hidden":"true"},r.createElement("use",{href:`#icon-${e}`})),n&&r.createElement("span",{className:"w-sr-only"},n)):null},5996:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(5556),i=n.n(r),o=n(2427),a=n(6931);class s extends o.Component{static propTypes={onClose:i().func.isRequired,node:i().instanceOf(Element),children:i().node,closeOnClick:i().bool,closeOnType:i().bool,closeOnResize:i().bool};static defaultProps={node:document.body,children:null,closeOnClick:!1,closeOnType:!1,closeOnResize:!1};portal;constructor(e){super(e),this.portal=document.createElement("div"),this.onCloseEvent=this.onCloseEvent.bind(this)}onCloseEvent(e){const{onClose:t}=this.props,n=e.target;this.portal.contains(n)||t()}componentDidMount(){const{node:e,onClose:t,closeOnClick:n,closeOnType:r,closeOnResize:i}=this.props;e.appendChild(this.portal),n&&document.addEventListener("mouseup",this.onCloseEvent),r&&document.addEventListener("keyup",this.onCloseEvent),i&&window.addEventListener("resize",t)}componentWillUnmount(){const{node:e,onClose:t}=this.props;e.removeChild(this.portal),document.removeEventListener("mouseup",this.onCloseEvent),document.removeEventListener("keyup",this.onCloseEvent),window.removeEventListener("resize",t)}render(){const{children:e}=this.props;return(0,a.createPortal)(e,this.portal)}}const l=/^(114|262)$/.test(n.j)?s:null},2898:(e,t,n)=>{"use strict";n.d(t,{HE:()=>r,KV:()=>i,kf:()=>o});const r=((e=n.g.wagtailConfig)=>{if(e)return e;try{const e=document.getElementById("wagtail-config")?.textContent||"";return JSON.parse(e)}catch(e){return console.error("Error loading Wagtail config"),console.error(e),{}}})(),i=200,o=(r.LOCALES||[]).reduce(((e,{code:t,display_name:n})=>(e.set(t,n),e)),new Map)},9104:(e,t,n)=>{"use strict";n.d(t,{v:()=>g});var r=n(2891);const i=":not([inert]):not([inert] *)",o=':not([tabindex^="-"])',a=":not(:disabled)";var s=[`a[href]${i}${o}`,`area[href]${i}${o}`,`input:not([type="hidden"]):not([type="radio"])${i}${o}${a}`,`input[type="radio"]${i}${o}${a}`,`select${i}${o}${a}`,`textarea${i}${o}${a}`,`button${i}${o}${a}`,`details${i} > summary:first-of-type${o}`,`iframe${i}${o}`,`audio[controls]${i}${o}`,`video[controls]${i}${o}`,`[contenteditable]${i}${o}`,`[tabindex]${i}${o}`];function l(e){(e.querySelector("[autofocus]")||e).focus()}function u(e,t){if(t&&f(e))return e;if(function(e){return!(e.shadowRoot&&"-1"===e.getAttribute("tabindex")||e.matches(":disabled,[hidden],[inert]"))}(e))if(e.shadowRoot){let n=c(e.shadowRoot,t);for(;n;){const e=u(n,t);if(e)return e;n=d(n,t)}}else if("slot"===e.localName){const n=e.assignedElements({flatten:!0});t||n.reverse();for(const e of n){const n=u(e,t);if(n)return n}}else{let n=c(e,t);for(;n;){const e=u(n,t);if(e)return e;n=d(n,t)}}return!t&&f(e)?e:null}function c(e,t){return t?e.firstElementChild:e.lastElementChild}function d(e,t){return t?e.nextElementSibling:e.previousElementSibling}const f=e=>!e.shadowRoot?.delegatesFocus&&e.matches(s.join(","))&&!(e=>!(!e.matches("details:not([open]) *")||e.matches("details>summary:first-of-type"))||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))(e);function p(e=document){const t=e.activeElement;return t?t.shadowRoot?p(t.shadowRoot)||document.activeElement:t:null}const h="data-a11y-dialog";class m{$el;id;previouslyFocused;shown;constructor(e){this.$el=e,this.id=this.$el.getAttribute(h)||this.$el.id,this.previouslyFocused=null,this.shown=!1,this.maintainFocus=this.maintainFocus.bind(this),this.bindKeypress=this.bindKeypress.bind(this),this.handleTriggerClicks=this.handleTriggerClicks.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.$el.setAttribute("aria-hidden","true"),this.$el.setAttribute("aria-modal","true"),this.$el.setAttribute("tabindex","-1"),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),document.addEventListener("click",this.handleTriggerClicks,!0)}destroy(){return this.fire("destroy").defaultPrevented||(this.hide(),document.removeEventListener("click",this.handleTriggerClicks,!0),this.$el.replaceWith(this.$el.cloneNode(!0))),this}show(e){return this.shown||this.fire("show",e).defaultPrevented||(this.shown=!0,this.$el.removeAttribute("aria-hidden"),this.previouslyFocused=p(),"BODY"===this.previouslyFocused?.tagName&&e?.target&&(this.previouslyFocused=e.target),"focus"===e?.type?this.maintainFocus(e):l(this.$el),document.body.addEventListener("focus",this.maintainFocus,!0),this.$el.addEventListener("keydown",this.bindKeypress,!0)),this}hide(e){return this.shown?(this.fire("hide",e).defaultPrevented||(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),this.previouslyFocused?.focus?.(),document.body.removeEventListener("focus",this.maintainFocus,!0),this.$el.removeEventListener("keydown",this.bindKeypress,!0)),this):this}on(e,t,n){return this.$el.addEventListener(e,t,n),this}off(e,t,n){return this.$el.removeEventListener(e,t,n),this}fire(e,t){const n=new CustomEvent(e,{detail:t,cancelable:!0});return this.$el.dispatchEvent(n),n}handleTriggerClicks(e){const t=e.composedPath()[0];t.closest(`[${h}-show="${this.id}"]`)&&this.show(e),(t.closest(`[${h}-hide="${this.id}"]`)||t.closest(`[${h}-hide]`)&&t.closest('[aria-modal="true"]')===this.$el)&&this.hide(e)}bindKeypress(e){if('[aria-modal="true"]',function e(t){return t&&t!==document&&t!==window?(t.assignedSlot&&(t=t.assignedSlot),t.closest('[aria-modal="true"]')||e(t.getRootNode().host)):null}(p())!==this.$el)return;let t=!1;try{t=!!this.$el.querySelector('[popover]:not([popover="manual"]):popover-open')}catch{}"Escape"!==e.key||"alertdialog"===this.$el.getAttribute("role")||t||(e.preventDefault(),this.hide(e)),"Tab"===e.key&&function(e,t){const[n,r]=function(e){const t=u(e,!0);return[t,t?u(e,!1)||t:null]}(e);if(!n)return t.preventDefault();const i=p();t.shiftKey&&i===n?(r.focus(),t.preventDefault()):t.shiftKey||i!==r||(n.focus(),t.preventDefault())}(this.$el,e)}maintainFocus(e){e.target.closest(`[aria-modal="true"], [${h}-ignore-focus-trap]`)||l(this.$el)}}function v(){for(const e of document.querySelectorAll("[data-a11y-dialog]"))new m(e)}"undefined"!=typeof document&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",v):v());class g extends r.Controller{static values={theme:{default:"",type:String}};static targets=["body","notify","confirm"];get eventDetail(){return{body:this.bodyTarget,dialog:this.dialog}}connect(){this.dialog=new m(this.element);const e="floating"===this.themeValue;return this.dialog.on("show",(()=>{e||(document.documentElement.style.overflowY="hidden"),this.dispatch("shown",{detail:this.eventDetail,cancelable:!1}),this.notifyTargets.forEach((e=>{this.dispatch("shown",{target:e,bubbles:!1,cancelable:!1})}))})).on("hide",(()=>{e||(document.documentElement.style.overflowY=""),this.dispatch("hidden",{detail:this.eventDetail,cancelable:!1}),this.notifyTargets.forEach((e=>{this.dispatch("hidden",{target:e,bubbles:!1,cancelable:!1})}))})),this.dispatch("ready",{detail:this.eventDetail}),this.notifyTargets&&Array.isArray(this.notifyTargets)&&this.notifyTargets.forEach((e=>{this.dispatch("ready",{target:e,bubbles:!1,cancelable:!1})})),this.dialog}hide(){this.dialog.hide()}show(){this.dialog.show()}confirm(){this.hide(),this.dispatch("confirmed",{detail:this.eventDetail,cancelable:!1})}}},2223:(e,t,n)=>{"use strict";n.d(t,{I:()=>o});var r=n(2891),i=n(6032);class o extends r.Controller{static values={keep:{default:!1,type:Boolean},reset:{default:!1,type:Boolean},target:{default:"",type:String}};connect(){this.append()}append(){const e=this.target;let t=!1;const n=()=>{t||(this.resetValue&&(e.innerHTML=""),e.append(...this.templateFragment.childNodes),this.dispatch("appended",{cancelable:!1,detail:{target:e}}),t=!0,this.keepValue||this.element.remove())};this.dispatch("append",{cancelable:!0,detail:{complete:n,target:e}}).defaultPrevented||n()}get target(){let e;if(this.targetValue)e=document.querySelector(this.targetValue);else{const t=this.element.getRootNode();e=t instanceof Document?t.body:t.firstChild}if(!(e instanceof Element))throw new Error(`No valid target container found at ${this.targetValue?`'${this.targetValue}'`:"the root node"}.`);return e}get templateFragment(){const e=this.element.content.cloneNode(!0);return(0,i.v)(e),e}}},2178:(e,t,n)=>{"use strict";n.d(t,{$R:()=>s,ZG:()=>c,lc:()=>u});var r=n(8609),i=n.n(r);const o=e=>Array.isArray(e)?e.join(" "):e,a=(e,t)=>{if(!e||!t)return 0;const n=document.querySelector(o(e.target[0])),r=document.querySelector(o(t.target[0]));return n&&r?n.compareDocumentPosition(r)&Node.DOCUMENT_POSITION_PRECEDING?1:-1:0},s=e=>{const t=e?.querySelector("#accessibility-axe-configuration");if(!t||!t.textContent)return null;try{return JSON.parse(t.textContent)}catch(e){console.error("Error loading Axe config"),console.error(e)}return null},l={"check-image-alt-text":(e,t)=>{const n=new RegExp(t.pattern,"i"),r=e.getAttribute("alt")||"";return!n.test(r)}},u=async e=>{i().configure((e=>{const t=e?.checks?.map((e=>l[e.id]?{...e,evaluate:l[e.id]}:e));return{...e,checks:t}})(e.spec));const t=await i().run(e.context,e.options),n=t.violations.reduce(((e,t)=>e+t.nodes.length),0);return n>0&&console.error("axe.run results",t.violations),{results:t,a11yErrorsNumber:n}},c=(e,t,n,r,i)=>{if(e.innerHTML="",t.violations.length){const s=t.violations.sort(((e,t)=>{const n=e.nodes.sort(a)[0],r=t.nodes.sort(a)[0];return a(n,r)}));let l=0;s.forEach((t=>{t.nodes.forEach((a=>{e.appendChild(r.content.cloneNode(!0));const s=e.querySelectorAll("[data-a11y-result-row]")[l];l+=1;const u=s.querySelector("[data-a11y-result-name]"),c=s.querySelector("[data-a11y-result-help]");u.id=`w-a11y-result__name-${l}`;const d=n.messages[t.id],f=("string"==typeof d?d:d?.error_name)||t.help;u.textContent=f,c.textContent=d?.help_text||t.description;const p="#w-preview-iframe"===a.target[0],h=o(p?a.target[1]:a.target[0]),m=s.querySelector("[data-a11y-result-selector]");m.setAttribute("aria-describedby",u.id),m.addEventListener("click",i.bind(null,h)),p&&(m.querySelector("[data-a11y-result-selector-text]").textContent=h.replace(/\[data-block-key="\w{5}"\]/,""))}))}))}}},2614:(e,t,n)=>{"use strict";n.d(t,{C4:()=>u,Ch:()=>s,FF:()=>c,ZZ:()=>d});var r=n(1669),i=n.n(r),o=n(6664),a=n(2833);const s=(e,t,{errorContainerSelector:n})=>{const r=new FormData(t);i().ajax({url:t.action,data:r,processData:!1,contentType:!1,type:"POST",dataType:"text",success:e.loadResponseText,error(t,r,o){const s=(0,a.AP)("Report this error to your website administrator with the following information:")+"<br />"+o+" - "+t.status;i()(n,e.body).append('<div class="help-block help-critical"><strong>'+(0,a.AP)("Server Error")+": </strong>"+s+"</div>")}})};class l{constructor(e){this.form=e.form,this.containerElement=e.containerElement,this.onLoadResults=e.onLoadResults,this.resultsContainer=i()(e.resultsContainerSelector,this.containerElement),this.inputDelay=e.inputDelay||200,this.searchUrl=this.form.attr("action"),this.request=null,this.form.on("submit",(()=>(this.searchFromForm(),!1)))}attachSearchInput(e){let t;i()(e,this.containerElement).on("input",(()=>{this.request&&this.request.abort(),clearTimeout(t),t=setTimeout((()=>{this.searchFromForm()}),this.inputDelay)}))}attachSearchFilter(e){i()(e,this.containerElement).on("change",(()=>{this.searchFromForm()}))}fetchResults(e,t){const n={url:e,success:e=>{this.request=null,this.resultsContainer.html(e),this.onLoadResults&&this.onLoadResults(this.resultsContainer)},error(){this.request=null}};t&&(n.data=t),this.request=i().ajax(n)}search(e){this.fetchResults(this.searchUrl,e)}searchFromForm(){this.search(this.form.serialize())}}class u{constructor(e){this.chooseStepName=e?.chooseStepName||"choose",this.chosenStepName=e?.chosenStepName||"chosen",this.reshowCreationFormStepName=e?.reshowCreationFormStepName||"reshow_creation_form",this.chosenLinkSelector=e?.chosenLinkSelector||"a[data-chooser-modal-choice]",this.paginationLinkSelector=e?.paginationLinkSelector||".pagination a",this.searchFormSelector=e?.searchFormSelector||"form[data-chooser-modal-search]",this.resultsContainerSelector=e?.resultsContainerSelector||"#search-results",this.searchInputSelectors=e?.searchInputSelectors||["#id_q"],this.searchFilterSelectors=e?.searchFilterSelectors||["[data-chooser-modal-search-filter]"],this.chosenResponseName=e?.chosenResponseName||"chosen",this.searchInputDelay=e?.searchInputDelay||200,this.creationFormSelector=e?.creationFormSelector||"form[data-chooser-modal-creation-form]",this.creationFormTabSelector=e?.creationFormTabSelector||"#tab-create",this.creationFormFileFieldSelector=e?.creationFormFileFieldSelector,this.creationFormTitleFieldSelector=e?.creationFormTitleFieldSelector,this.creationFormEventName=e?.creationFormEventName,this.searchController=null}ajaxifyLinks(e,t){if(!this.searchController)throw new Error("Cannot call ajaxifyLinks until a SearchController is set up");i()(this.chosenLinkSelector,t).on("click",(t=>(e.loadUrl(t.currentTarget.href),!1))),i()(this.paginationLinkSelector,t).on("click",(e=>(this.searchController.fetchResults(e.currentTarget.href),!1))),this.modalHasTabs(e)&&(0,o.d)(),this.updateMultipleChoiceSubmitEnabledState(e),i()("[data-multiple-choice-select]",t).on("change",(()=>{this.updateMultipleChoiceSubmitEnabledState(e)}))}updateMultipleChoiceSubmitEnabledState(e){i()("[data-multiple-choice-select]:checked",e.body).length?i()("[data-multiple-choice-submit]",e.body).removeAttr("disabled"):i()("[data-multiple-choice-submit]",e.body).attr("disabled",!0)}modalHasTabs(e){return i()("[data-tabs]",e.body).length}ajaxifyCreationForm(e){i()(this.creationFormSelector,e.body).on("submit",(t=>((e=>{let t=!1;return e.querySelectorAll("input[required]").forEach((e=>{if(!e.value&&(t=!0,!e.hasAttribute("aria-invalid"))){e.setAttribute("aria-invalid","true");const t=e.closest("[data-field]");t.classList.add("w-field--error");const n=t.querySelector("[data-field-errors]"),r=n.querySelector(".icon");r&&r.removeAttribute("hidden");const i=document.createElement("p");i.classList.add("error-message"),i.textContent=(0,a.AP)("This field is required."),n.appendChild(i)}})),t&&setTimeout((()=>{const t="data-w-progress-loading-value";e.querySelectorAll(`[${t}~="true"]`).forEach((e=>{e.removeAttribute(t)}))}),500),!t})(t.currentTarget)&&s(e,t.currentTarget,{errorContainerSelector:this.creationFormTabSelector}),!1))),this.creationFormFileFieldSelector&&this.creationFormTitleFieldSelector&&((e,{fileFieldSelector:t,titleFieldSelector:n,eventName:r})=>{const o=i()(t,e.body);o.on("change",(()=>{const t=i()(n,e.body);if(""===t.val()){const e=o.val().split("\\"),n=e[e.length-1],i=parseInt(t.attr("maxLength")||"0",10)||null,a={title:n.replace(/\.[^.]+$/,"")},s=o.closest("form").get(0);if(r&&!s.dispatchEvent(new CustomEvent(r,{bubbles:!0,cancelable:!0,detail:{data:a,filename:n,maxTitleLength:i}})))return;t.val(a.title)}}))})(e,{fileFieldSelector:this.creationFormFileFieldSelector,titleFieldSelector:this.creationFormTitleFieldSelector,eventName:this.creationFormEventName})}initSearchController(e){this.searchController=new l({form:i()(this.searchFormSelector,e.body),containerElement:e.body,resultsContainerSelector:this.resultsContainerSelector,onLoadResults:t=>{this.ajaxifyLinks(e,t)},inputDelay:this.searchInputDelay}),this.searchInputSelectors.forEach((e=>{this.searchController.attachSearchInput(e)})),this.searchFilterSelectors.forEach((e=>{this.searchController.attachSearchFilter(e)}))}onLoadChooseStep(e){this.initSearchController(e),this.ajaxifyLinks(e,e.body),this.ajaxifyCreationForm(e),e.ajaxifyForm(i()("form[data-multiple-choice-form]",e.body))}onLoadChosenStep(e,t){e.respond(this.chosenResponseName,t.result),e.close()}onLoadReshowCreationFormStep(e,t){i()(this.creationFormTabSelector,e.body).replaceWith(t.htmlFragment),this.modalHasTabs(e)&&(0,o.d)(),this.ajaxifyCreationForm(e)}getOnLoadHandlers(){return{[this.chooseStepName]:(e,t)=>{this.onLoadChooseStep(e,t)},[this.chosenStepName]:(e,t)=>{this.onLoadChosenStep(e,t)},[this.reshowCreationFormStepName]:(e,t)=>{this.onLoadReshowCreationFormStep(e,t)}}}}const c=(new u).getOnLoadHandlers();class d{onloadHandlers=c;chosenResponseName="chosen";constructor(e){this.baseUrl=e}getURL(e){return this.baseUrl}getURLParams(e){const t={};return e.multiple&&(t.multiple=1),e.linkedFieldFilters&&Object.assign(t,e.linkedFieldFilters),t}open(e,t){ModalWorkflow({url:this.getURL(e||{}),urlParams:this.getURLParams(e||{}),onload:this.onloadHandlers,responses:{[this.chosenResponseName]:e=>{t(e)}}})}}},1319:(e,t,n)=>{"use strict";n.d(t,{$:()=>o});var r=n(8609),i=n.n(r);const o={id:"wagtailPreview",run(e,t,n,r){const o=document.getElementById("w-preview-iframe");if(o)i().utils.sendCommandToFrame(o,{command:"run-wagtailPreview",parameter:e,action:t,options:n},(e=>{r(e)}));else{const i=this._registry[e];i?.[t].call(i,n,r)}},commands:[{id:"run-wagtailPreview",callback:(e,t)=>i().plugins.wagtailPreview.run(e.parameter,e.action,e.options,t)}]}},4545:(e,t,n)=>{"use strict";if(n.d(t,{$:()=>i,U:()=>o}),/^(591|702)$/.test(n.j))var r=n(4327);const i=e=>{e.querySelectorAll(":scope > .help-block.help-critical").forEach((e=>e.remove()))},o=(e,t)=>{t.forEach((t=>{const n=document.createElement("p");n.classList.add("help-block"),n.classList.add("help-critical"),n.innerHTML=(0,r.Z)(t),e.insertBefore(n,e.childNodes[0])}))}},6664:(e,t,n)=>{"use strict";if(n.d(t,{d:()=>o}),/^(2(38|46|82)|3(06|07|16)|6(54|78|86)|(47|84|88)4|445|556|577|986)$/.test(n.j))var r=n(4072);class i{constructor(e){this.tabContainer=e,this.tabButtons=this.tabContainer.querySelectorAll('[role="tab"]'),this.tabList=this.tabContainer.querySelector('[role="tablist"]'),this.tabPanels=this.tabContainer.querySelectorAll('[role="tabpanel"]'),this.tabTriggerLinks=this.tabContainer.querySelectorAll("[data-tab-trigger]"),this.keydownEventListener=this.keydownEventListener.bind(this),this.animate=this.tabContainer.hasAttribute("data-tabs-animate"),this.disableURL=this.tabContainer.hasAttribute("data-tabs-disable-url"),this.state={activeTabID:"",transition:150,initialPageLoad:!0,css:{animate:"animate-in"},keys:{end:"End",home:"Home",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown"},direction:{ArrowLeft:-1,ArrowRight:1}},this.onComponentLoaded()}onComponentLoaded(){if(this.bindEvents(),this.tabButtons){i.setAriaControlsByHref(this.tabButtons);const e=[...this.tabButtons].find((e=>"true"===e.getAttribute("aria-selected")));window.location.hash&&!this.disableURL?this.selectTabByURLHash():e?(this.tabPanels.forEach((e=>{e.hidden=!0})),this.selectTab(e)):this.selectFirstTab()}this.tabTriggerLinks&&i.setAriaControlsByHref(this.tabTriggerLinks)}unSelectActiveTab(e){if(e===this.state.activeTabID||!this.state.activeTabID)return;const t=this.tabContainer.querySelector(`#${this.state.activeTabID}`);if(!t)return;this.animate?this.animateOut(t):t.hidden=!0;const n=this.tabContainer.querySelector(`a[href='#${this.state.activeTabID}']`);n.setAttribute("aria-selected","false"),n.setAttribute("tabindex","-1")}selectTab(e){if(!e)return;const t=e.getAttribute("aria-controls");t&&this.unSelectActiveTab(t),this.state.activeTabID=t;const n=this.tabContainer.querySelector(`a[href="${e.getAttribute("href")}"][role="tab"]`);n&&(n.setAttribute("aria-selected","true"),n.removeAttribute("tabindex")),e.setAttribute("aria-selected","true"),e.removeAttribute("tabindex");const r=this.tabContainer.querySelector(`#${t}`);r&&(this.animate?this.animateIn(r):r.hidden=!1,this.tabList.dispatchEvent(new CustomEvent("switch",{detail:{tab:e.getAttribute("href").replace("#","")}})),document.dispatchEvent(new CustomEvent("wagtail:tab-changed")),this.disableURL||this.setURLHash(t))}animateIn(e){setTimeout((()=>{e.hidden=!1,setTimeout((()=>{e.classList.add(this.state.css.animate)}),this.state.transition)}),this.state.transition)}animateOut(e){e.classList.remove(this.state.css.animate),setTimeout((()=>{e.hidden=!0}),this.state.transition)}bindEvents(){this.tabButtons&&(this.tabButtons.forEach(((e,t)=>{e.addEventListener("click",(t=>{t.preventDefault(),this.selectTab(e)})),e.addEventListener("keydown",this.keydownEventListener),e.index=t})),window.addEventListener("popstate",(e=>{if(e.state&&e.state.tabContent){const t=this.getTabElementByHref(`#${e.state.tabContent}`);t&&(this.selectTab(t),t.focus())}}))),this.tabTriggerLinks&&this.tabTriggerLinks.forEach((e=>{e.addEventListener("click",(t=>{t.preventDefault();const n=this.getTabElementByHref(e.getAttribute("href"));n&&(this.selectTab(n),n.focus())}))}))}getTabElementByHref(e){return this.tabContainer.querySelector(`a[href="${e}"][role="tab"]`)}keydownEventListener(e){const t=e.key,{keys:n}=this.state;switch(t){case n.left:case n.right:this.switchTabOnArrowPress(e);break;case n.end:e.preventDefault(),this.focusLastTab();break;case n.home:e.preventDefault(),this.focusFirstTab()}}selectTabByURLHash(){if(window.location.hash){const e=window.location.hash.slice(1),t=document.getElementById(e)||(0,r.KX)(),n=t?.closest('[role="tabpanel"]')?.getAttribute("aria-labelledby"),i=document.getElementById(n);i?this.selectTab(i):this.selectFirstTab()}}setURLHash(e){this.state.initialPageLoad||window.history.state&&window.history.state.tabContent===e||window.history.pushState({tabContent:e},null,`#${e}`),this.state.initialPageLoad=!1}switchTabOnArrowPress(e){const t=e.key,{direction:n}=this.state,{keys:r}=this.state,i=this.tabButtons;if(n[t]){const{target:o}=e;if(void 0!==o.index)if(i[o.index+n[t]]){const e=i[o.index+n[t]];e.focus(),this.selectTab(e)}else t===r.left?this.focusLastTab():t===r.right&&this.focusFirstTab()}}focusFirstTab(){const e=this.tabButtons[0];e.focus(),this.selectTab(e)}focusLastTab(){const e=this.tabButtons[this.tabButtons.length-1];e.focus(),this.selectTab(e)}selectFirstTab(){this.selectTab(this.tabButtons[0]),this.state.activeTabID=this.tabButtons[0].getAttribute("aria-controls")}static setAriaControlsByHref(e){e.forEach((e=>{e.setAttribute("aria-controls",e.getAttribute("href").replace("#",""))}))}}const o=(e=document.querySelectorAll("[data-tabs]"))=>{e.forEach((e=>new i(e))),e&&document.addEventListener("DOMContentLoaded",(()=>{document.dispatchEvent(new CustomEvent("wagtail:tab-changed"))}))}},4072:(e,t,n)=>{"use strict";n.d(t,{KX:()=>i});const r=":w:";function i(e){const t=e||new URLSearchParams(function(){const e=window.location.hash,t=e.indexOf(r);return-1===t?"":e.slice(t+r.length)}()).get("contentpath");return t?document.querySelector(function(e){return e.split(".").reduce(((e,t)=>{if(!t)return e;const n=`[data-contentpath="${t}"]`;return e?`${e} ${n}`:n}),"")}(t)):null}},8667:(e,t,n)=>{"use strict";n.d(t,{s:()=>r});const r=(e,t=0)=>{let n;const r=(...r)=>{if(window.clearTimeout(n),"number"==typeof t&&!Number.isNaN(t))return new Promise(((i,o)=>{n=window.setTimeout((()=>{try{i(e(...r))}catch(e){o(e)}}),t)}));try{return Promise.resolve(e(...r))}catch(e){return Promise.reject(e)}};return r.cancel=()=>{"number"==typeof n&&window.clearTimeout(n)},r}},1083:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});const r=async()=>{"loading"===document.readyState&&await new Promise((e=>{document.addEventListener("DOMContentLoaded",(()=>e()),{once:!0,passive:!0})}))}},2833:(e,t,n)=>{"use strict";function r(e){const t=window.django?.gettext;return t?t(e):e}function i(e,t,n){const r=window.django?.ngettext;return r?r(e,t,n):1===n?e:t}n.d(t,{AP:()=>r,WI:()=>i})},4188:(e,t,n)=>{"use strict";n.d(t,{$:()=>r});const r=(e,t)=>!!e&&Object.prototype.hasOwnProperty.call(e,t)},3476:(e,t,n)=>{"use strict";n.d(t,{l:()=>r});const r=()=>{}},9675:(e,t,n)=>{"use strict";n.d(t,{y:()=>r});const r=(e=0,t=0)=>[...Array(t-e).keys()].map((t=>t+e))},6032:(e,t,n)=>{"use strict";n.d(t,{v:()=>i});const r=e=>{if(!e.type||"application/javascript"===e.type){const t=document.createElement("script");Array.from(e.attributes).forEach((e=>t.setAttribute(e.nodeName,e.nodeValue||""))),t.text=e.text,e.replaceWith(t)}},i=e=>{const t="script:not([src])";e instanceof HTMLElement&&e.matches(t)?r(e):e.querySelectorAll(t).forEach(r)}},4327:(e,t,n)=>{"use strict";function r(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}n.d(t,{Z:()=>r})},4994:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},8168:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},8587:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}n.d(t,{A:()=>r})}}]);
|