wagtail 6.1.3__py3-none-any.whl → 6.2__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 +15 -1
- wagtail/admin/checks.py +20 -30
- wagtail/admin/forms/pages.py +10 -0
- wagtail/admin/icons.py +43 -0
- wagtail/admin/locale/ar/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/ar/LC_MESSAGES/django.po +4 -7
- wagtail/admin/locale/ar/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/ar/LC_MESSAGES/djangojs.po +8 -2
- 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 +4 -7
- wagtail/admin/locale/be/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/be/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/bg/LC_MESSAGES/django.po +1 -1
- 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 +128 -52
- wagtail/admin/locale/ca/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/ca/LC_MESSAGES/djangojs.po +13 -2
- wagtail/admin/locale/cs/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/cs/LC_MESSAGES/django.po +4 -13
- wagtail/admin/locale/cs/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/cs/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/cy/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/cy/LC_MESSAGES/django.po +4 -1
- wagtail/admin/locale/da/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/da/LC_MESSAGES/django.po +1 -7
- wagtail/admin/locale/de/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/de/LC_MESSAGES/django.po +135 -53
- wagtail/admin/locale/de/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/de/LC_MESSAGES/djangojs.po +14 -3
- wagtail/admin/locale/dv/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/dv/LC_MESSAGES/django.po +7 -46
- wagtail/admin/locale/dv/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/dv/LC_MESSAGES/djangojs.po +6 -0
- wagtail/admin/locale/el/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/el/LC_MESSAGES/django.po +4 -10
- wagtail/admin/locale/el/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/el/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/en/LC_MESSAGES/django.po +405 -295
- wagtail/admin/locale/en/LC_MESSAGES/djangojs.po +21 -3
- wagtail/admin/locale/es/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/es/LC_MESSAGES/django.po +4 -16
- wagtail/admin/locale/es/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/es/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/es_419/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/es_419/LC_MESSAGES/django.po +1 -4
- 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 +4 -13
- wagtail/admin/locale/et/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/et/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/eu/LC_MESSAGES/django.po +1 -1
- wagtail/admin/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/fa/LC_MESSAGES/django.po +32 -12
- wagtail/admin/locale/fa/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/fa/LC_MESSAGES/djangojs.po +9 -3
- wagtail/admin/locale/fi/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/fi/LC_MESSAGES/django.po +47 -21
- wagtail/admin/locale/fi/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/fi/LC_MESSAGES/djangojs.po +12 -1
- wagtail/admin/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/fr/LC_MESSAGES/django.po +135 -53
- wagtail/admin/locale/fr/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/fr/LC_MESSAGES/djangojs.po +15 -2
- wagtail/admin/locale/gl/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/gl/LC_MESSAGES/django.po +127 -51
- wagtail/admin/locale/gl/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/gl/LC_MESSAGES/djangojs.po +14 -3
- wagtail/admin/locale/he_IL/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/he_IL/LC_MESSAGES/django.po +1 -4
- wagtail/admin/locale/hr_HR/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/hr_HR/LC_MESSAGES/django.po +4 -13
- wagtail/admin/locale/hr_HR/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/hr_HR/LC_MESSAGES/djangojs.po +8 -2
- 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 +7 -60
- wagtail/admin/locale/hu/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/hu/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/id_ID/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/id_ID/LC_MESSAGES/django.po +4 -7
- wagtail/admin/locale/id_ID/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/id_ID/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/is_IS/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/is_IS/LC_MESSAGES/django.po +7 -47
- wagtail/admin/locale/is_IS/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/is_IS/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/it/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/it/LC_MESSAGES/django.po +7 -61
- wagtail/admin/locale/it/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/it/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/ja/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/ja/LC_MESSAGES/django.po +4 -7
- wagtail/admin/locale/ja/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/ja/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/ka/LC_MESSAGES/django.po +1 -1
- wagtail/admin/locale/ko/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/ko/LC_MESSAGES/django.po +4 -16
- wagtail/admin/locale/ko/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/ko/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/lt/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/lt/LC_MESSAGES/django.po +4 -13
- wagtail/admin/locale/lt/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/lt/LC_MESSAGES/djangojs.po +8 -1
- wagtail/admin/locale/lv/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/lv/LC_MESSAGES/django.po +1 -7
- wagtail/admin/locale/lv/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/lv/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/mi/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/mi/LC_MESSAGES/django.po +4 -4
- wagtail/admin/locale/mi/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/mi/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/mn/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/mn/LC_MESSAGES/django.po +4 -7
- wagtail/admin/locale/mn/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/mn/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/my/LC_MESSAGES/django.po +1 -1
- wagtail/admin/locale/nb/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/nb/LC_MESSAGES/django.po +4 -7
- wagtail/admin/locale/nb/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/nb/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/nl/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/nl/LC_MESSAGES/django.po +134 -51
- wagtail/admin/locale/nl/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/nl/LC_MESSAGES/djangojs.po +14 -3
- wagtail/admin/locale/pl/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/pl/LC_MESSAGES/django.po +4 -57
- wagtail/admin/locale/pl/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/pl/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/pt_BR/LC_MESSAGES/django.po +7 -58
- wagtail/admin/locale/pt_BR/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/pt_BR/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/pt_PT/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/pt_PT/LC_MESSAGES/django.po +4 -16
- wagtail/admin/locale/pt_PT/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/pt_PT/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/ro/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/ro/LC_MESSAGES/django.po +4 -57
- wagtail/admin/locale/ro/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/ro/LC_MESSAGES/djangojs.po +8 -1
- wagtail/admin/locale/ru/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/ru/LC_MESSAGES/django.po +138 -56
- wagtail/admin/locale/ru/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/ru/LC_MESSAGES/djangojs.po +16 -2
- wagtail/admin/locale/sk_SK/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/sk_SK/LC_MESSAGES/django.po +4 -7
- wagtail/admin/locale/sk_SK/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/sk_SK/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/sl/LC_MESSAGES/django.po +37 -58
- wagtail/admin/locale/sl/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/sl/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/sv/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/sv/LC_MESSAGES/django.po +7 -19
- wagtail/admin/locale/sv/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/sv/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/tet/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/tet/LC_MESSAGES/django.po +4 -7
- wagtail/admin/locale/tet/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/tet/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/th/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/th/LC_MESSAGES/django.po +4 -7
- wagtail/admin/locale/th/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/th/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/tr/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/tr/LC_MESSAGES/django.po +4 -7
- wagtail/admin/locale/tr/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/tr/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/tr_TR/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/tr_TR/LC_MESSAGES/django.po +4 -7
- wagtail/admin/locale/tr_TR/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/tr_TR/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/uk/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/uk/LC_MESSAGES/django.po +4 -16
- wagtail/admin/locale/uk/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/uk/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/vi/LC_MESSAGES/django.po +1 -1
- wagtail/admin/locale/zh/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/zh/LC_MESSAGES/django.po +1 -4
- wagtail/admin/locale/zh_Hans/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/zh_Hans/LC_MESSAGES/django.po +7 -19
- wagtail/admin/locale/zh_Hans/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/zh_Hans/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/locale/zh_Hant/LC_MESSAGES/django.mo +0 -0
- wagtail/admin/locale/zh_Hant/LC_MESSAGES/django.po +4 -13
- wagtail/admin/locale/zh_Hant/LC_MESSAGES/djangojs.mo +0 -0
- wagtail/admin/locale/zh_Hant/LC_MESSAGES/djangojs.po +8 -2
- wagtail/admin/menu.py +2 -2
- wagtail/admin/migrations/0004_editingsession.py +57 -0
- wagtail/admin/migrations/0005_editingsession_is_editing.py +18 -0
- wagtail/admin/models.py +36 -3
- wagtail/admin/rich_text/editors/draftail/__init__.py +2 -20
- wagtail/admin/static/wagtailadmin/css/core.css +1 -1
- wagtail/admin/static/wagtailadmin/js/bulk-actions.js +1 -1
- wagtail/admin/static/wagtailadmin/js/chooser-modal.js +1 -1
- wagtail/admin/static/wagtailadmin/js/chooser-widget-telepath.js +1 -1
- wagtail/admin/static/wagtailadmin/js/chooser-widget.js +1 -1
- wagtail/admin/static/wagtailadmin/js/comments.js +1 -1
- wagtail/admin/static/wagtailadmin/js/core.js +1 -1
- wagtail/admin/static/wagtailadmin/js/date-time-chooser.js +1 -1
- wagtail/admin/static/wagtailadmin/js/draftail.js +1 -1
- wagtail/admin/static/wagtailadmin/js/expanding-formset.js +1 -1
- wagtail/admin/static/wagtailadmin/js/filtered-select.js +1 -1
- wagtail/admin/static/wagtailadmin/js/modal-workflow.js +1 -1
- wagtail/admin/static/wagtailadmin/js/page-chooser-modal.js +1 -1
- wagtail/admin/static/wagtailadmin/js/page-chooser-telepath.js +1 -1
- wagtail/admin/static/wagtailadmin/js/page-chooser.js +1 -1
- wagtail/admin/static/wagtailadmin/js/preview-panel.js +2 -1
- wagtail/admin/static/wagtailadmin/js/preview-panel.js.LICENSE.txt +11 -0
- wagtail/admin/static/wagtailadmin/js/privacy-switch.js +1 -1
- wagtail/admin/static/wagtailadmin/js/sidebar.js +1 -1
- wagtail/admin/static/wagtailadmin/js/task-chooser-modal.js +1 -1
- wagtail/admin/static/wagtailadmin/js/task-chooser.js +1 -1
- wagtail/admin/static/wagtailadmin/js/telepath/blocks.js +1 -1
- wagtail/admin/static/wagtailadmin/js/telepath/widgets.js +1 -1
- wagtail/admin/static/wagtailadmin/js/userbar.js +2 -1
- wagtail/admin/static/wagtailadmin/js/userbar.js.LICENSE.txt +11 -0
- wagtail/admin/static/wagtailadmin/js/vendor.js +1 -1
- wagtail/admin/static/wagtailadmin/js/vendor.js.LICENSE.txt +0 -12
- wagtail/admin/static/wagtailadmin/js/wagtailadmin.js +1 -1
- wagtail/admin/static/wagtailadmin/js/workflow-action.js +1 -1
- wagtail/admin/templates/wagtailadmin/collection_privacy/ancestor_privacy.html +2 -6
- wagtail/admin/templates/wagtailadmin/generic/index_results.html +1 -17
- wagtail/admin/templates/wagtailadmin/generic/listing_results.html +20 -1
- wagtail/admin/templates/wagtailadmin/home/workflow_objects_to_moderate.html +2 -11
- wagtail/admin/templates/wagtailadmin/page_privacy/ancestor_privacy.html +2 -6
- wagtail/admin/templates/wagtailadmin/page_privacy/no_privacy.html +2 -0
- wagtail/admin/templates/wagtailadmin/pages/_editor_js.html +0 -1
- wagtail/admin/templates/wagtailadmin/pages/action_menu/menu.html +1 -1
- wagtail/admin/templates/wagtailadmin/reports/aging_pages_results.html +54 -0
- wagtail/admin/templates/wagtailadmin/reports/base_page_report.html +1 -17
- wagtail/admin/templates/wagtailadmin/reports/base_page_report_results.html +10 -0
- wagtail/admin/templates/wagtailadmin/reports/base_report.html +1 -40
- wagtail/admin/templates/wagtailadmin/reports/base_report_results.html +1 -0
- wagtail/admin/templates/wagtailadmin/reports/listing/_list_page_report.html +21 -27
- wagtail/admin/templates/wagtailadmin/reports/listing/_list_page_types_usage.html +48 -54
- wagtail/admin/templates/wagtailadmin/reports/{locked_pages.html → locked_pages_results.html} +3 -3
- wagtail/admin/templates/wagtailadmin/reports/page_types_usage_results.html +10 -0
- wagtail/admin/templates/wagtailadmin/reports/site_history_results.html +53 -0
- wagtail/admin/templates/wagtailadmin/reports/workflow_results.html +74 -0
- wagtail/admin/templates/wagtailadmin/reports/workflow_tasks_results.html +56 -0
- wagtail/admin/templates/wagtailadmin/shared/_workflow_init.html +8 -44
- wagtail/admin/templates/wagtailadmin/shared/avatar.html +11 -1
- wagtail/admin/templates/wagtailadmin/shared/dialog/dialog.html +5 -4
- wagtail/admin/templates/wagtailadmin/shared/dropdown/dropdown_button.html +2 -1
- wagtail/admin/templates/wagtailadmin/shared/editing_sessions/list.html +132 -0
- wagtail/admin/templates/wagtailadmin/shared/editing_sessions/module.html +44 -0
- wagtail/admin/templates/wagtailadmin/shared/headers/slim_header.html +7 -1
- wagtail/admin/templates/wagtailadmin/shared/page_status_tag_new.html +1 -1
- wagtail/admin/templates/wagtailadmin/shared/side_panels/checks.html +37 -16
- wagtail/admin/templates/wagtailadmin/skeleton.html +1 -1
- wagtail/admin/templates/wagtailadmin/userbar/item_accessibility.html +9 -11
- wagtail/admin/templatetags/wagtailadmin_tags.py +13 -2
- wagtail/admin/tests/formats/en/__init__.py +0 -0
- wagtail/admin/tests/formats/en/formats.py +1 -0
- wagtail/admin/tests/pages/test_create_page.py +47 -0
- wagtail/admin/tests/pages/test_edit_page.py +10 -8
- wagtail/admin/tests/pages/test_parent_page_chooser_view.py +45 -1
- wagtail/admin/tests/test_checks.py +53 -3
- wagtail/admin/tests/test_collections_views.py +62 -1
- wagtail/admin/tests/test_edit_handlers.py +37 -0
- wagtail/admin/tests/test_editing_sessions.py +1333 -0
- wagtail/admin/tests/test_icon_sprite.py +12 -21
- wagtail/admin/tests/test_page_chooser.py +309 -7
- wagtail/admin/tests/test_privacy.py +82 -0
- wagtail/admin/tests/test_reports_views.py +464 -70
- wagtail/admin/tests/test_userbar.py +93 -6
- wagtail/admin/tests/test_workflows.py +223 -33
- wagtail/admin/tests/viewsets/test_model_viewset.py +151 -2
- wagtail/admin/ui/editing_sessions.py +47 -0
- wagtail/admin/urls/__init__.py +9 -15
- wagtail/admin/urls/editing_sessions.py +17 -0
- wagtail/admin/urls/reports.py +33 -1
- wagtail/admin/userbar.py +77 -20
- wagtail/admin/views/chooser.py +49 -22
- wagtail/admin/views/collections.py +0 -11
- wagtail/admin/views/editing_sessions.py +191 -0
- wagtail/admin/views/generic/__init__.py +1 -0
- wagtail/admin/views/generic/history.py +9 -3
- wagtail/admin/views/generic/mixins.py +43 -3
- wagtail/admin/views/generic/models.py +46 -72
- wagtail/admin/views/generic/permissions.py +20 -10
- wagtail/admin/views/home.py +2 -31
- wagtail/admin/views/page_privacy.py +20 -5
- wagtail/admin/views/pages/choose_parent.py +62 -0
- wagtail/admin/views/pages/edit.py +27 -0
- wagtail/admin/views/reports/aging_pages.py +6 -10
- wagtail/admin/views/reports/audit_logging.py +13 -42
- wagtail/admin/views/reports/base.py +31 -4
- wagtail/admin/views/reports/locked_pages.py +5 -8
- wagtail/admin/views/reports/page_types_usage.py +6 -10
- wagtail/admin/views/reports/workflows.py +36 -12
- wagtail/admin/viewsets/base.py +8 -3
- wagtail/admin/viewsets/chooser.py +1 -1
- wagtail/admin/viewsets/model.py +26 -1
- wagtail/admin/wagtail_hooks.py +2 -1
- wagtail/api/v2/filters.py +6 -0
- wagtail/api/v2/tests/test_documents.py +1 -1
- wagtail/api/v2/tests/test_images.py +1 -1
- wagtail/api/v2/tests/test_pages.py +11 -1
- wagtail/api/v2/utils.py +2 -2
- wagtail/blocks/base.py +42 -15
- wagtail/blocks/definition_lookup.py +85 -0
- wagtail/blocks/list_block.py +24 -0
- wagtail/blocks/migrations/migrate_operation.py +2 -0
- wagtail/blocks/stream_block.py +19 -0
- wagtail/blocks/struct_block.py +19 -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.po +1 -1
- wagtail/contrib/forms/locale/cs/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/cy/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/da/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/de/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/dv/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/el/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/en/LC_MESSAGES/django.po +1 -1
- 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.po +1 -1
- wagtail/contrib/forms/locale/fr/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/gl/LC_MESSAGES/django.po +1 -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.po +1 -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.po +1 -1
- wagtail/contrib/forms/locale/it/LC_MESSAGES/django.po +1 -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.po +1 -1
- wagtail/contrib/forms/locale/pl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/forms/locale/pt_BR/LC_MESSAGES/django.po +3 -3
- wagtail/contrib/forms/locale/pt_PT/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/ro/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/ru/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/sk_SK/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/sl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/forms/locale/sv/LC_MESSAGES/django.po +1 -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/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/frontend_cache/backends/__init__.py +5 -0
- wagtail/contrib/frontend_cache/backends/azure.py +179 -0
- wagtail/contrib/frontend_cache/backends/base.py +28 -0
- wagtail/contrib/frontend_cache/backends/cloudflare.py +114 -0
- wagtail/contrib/frontend_cache/backends/cloudfront.py +99 -0
- wagtail/contrib/frontend_cache/backends/http.py +64 -0
- wagtail/contrib/frontend_cache/tests.py +59 -17
- wagtail/contrib/frontend_cache/utils.py +26 -8
- wagtail/contrib/redirects/filters.py +15 -1
- wagtail/contrib/redirects/locale/af/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/ar/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/az_AZ/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/be/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/bg/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/bn/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/ca/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/cs/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/cy/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/da/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/de/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/dv/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/el/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/en/LC_MESSAGES/django.po +37 -72
- wagtail/contrib/redirects/locale/en_IN/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/es/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/es_419/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/es_VE/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/et/LC_MESSAGES/django.po +1 -1
- 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 +3 -3
- wagtail/contrib/redirects/locale/fi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/fr/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/gl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/he_IL/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/hi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/hr_HR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/ht/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/hu/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/hy/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/id_ID/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/is_IS/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/it/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/ja/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/ka/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/ko/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/lt/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/lv/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/mi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/mn/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/my/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/nb/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/nl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/pl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/pt_BR/LC_MESSAGES/django.po +2 -2
- wagtail/contrib/redirects/locale/pt_PT/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/ro/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/ru/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/sk_SK/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/sl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/sr/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/sv/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/ta/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/tet/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/th/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/tr/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/tr_TR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/uk/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/vi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/zh/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/zh_Hans/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/locale/zh_Hant/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/redirects/models.py +6 -5
- wagtail/contrib/redirects/templates/wagtailredirects/edit.html +1 -38
- wagtail/contrib/redirects/tests/test_redirects.py +141 -1
- wagtail/contrib/redirects/urls.py +1 -2
- wagtail/contrib/redirects/views.py +39 -80
- wagtail/contrib/routable_page/models.py +6 -4
- wagtail/contrib/routable_page/tests.py +11 -0
- wagtail/contrib/search_promotions/locale/af/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/ar/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/az_AZ/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/be/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/bg/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/bn/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/ca/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/cs/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/cy/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/da/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/de/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/dv/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/el/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/en/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/en_IN/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/es/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/es_419/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/es_VE/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/et/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/eu/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/fa/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/fi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/fr/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/gl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/he_IL/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/hi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/hr_HR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/ht/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/hu/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/id_ID/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/is_IS/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/it/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/ja/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/ka/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/ko/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/lt/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/lv/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/mi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/mn/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/my/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/nb/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/nl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/pl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/pt_BR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/pt_PT/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/ro/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/ru/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/sk_SK/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/sl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/sr/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/sv/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/ta/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/tet/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/th/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/tr/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/tr_TR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/uk/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/vi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/zh/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/zh_Hans/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/search_promotions/locale/zh_Hant/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/af/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/ar/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/az_AZ/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/be/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/bg/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/bn/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/ca/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/cs/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/cy/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/da/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/de/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/dv/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/el/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/en/LC_MESSAGES/django.po +4 -4
- wagtail/contrib/settings/locale/en_IN/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/es/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/es_419/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/es_VE/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/et/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/fa/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/fi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/fr/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/gl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/he_IL/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/hi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/hr_HR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/ht/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/hu/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/id_ID/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/is_IS/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/it/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/ja/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/ka/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/ko/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/lt/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/lv/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/mi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/mn/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/my/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/nb/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/nl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/pl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/pt_BR/LC_MESSAGES/django.po +2 -2
- wagtail/contrib/settings/locale/pt_PT/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/ro/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/ru/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/sk_SK/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/sl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/sr/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/sv/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/ta/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/tet/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/th/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/tr/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/tr_TR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/uk/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/vi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/zh/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/zh_Hans/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/settings/locale/zh_Hant/LC_MESSAGES/django.po +1 -1
- 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.mo +0 -0
- wagtail/contrib/simple_translation/locale/ca/LC_MESSAGES/django.po +6 -3
- wagtail/contrib/simple_translation/locale/cs/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/cy/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/de/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/simple_translation/locale/de/LC_MESSAGES/django.po +6 -3
- wagtail/contrib/simple_translation/locale/dv/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/el/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/en/LC_MESSAGES/django.po +5 -1
- 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.mo +0 -0
- wagtail/contrib/simple_translation/locale/fr/LC_MESSAGES/django.po +6 -2
- wagtail/contrib/simple_translation/locale/gl/LC_MESSAGES/django.mo +0 -0
- wagtail/contrib/simple_translation/locale/gl/LC_MESSAGES/django.po +6 -3
- 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.po +1 -1
- 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.mo +0 -0
- wagtail/contrib/simple_translation/locale/nl/LC_MESSAGES/django.po +6 -3
- wagtail/contrib/simple_translation/locale/pl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/pt_BR/LC_MESSAGES/django.po +2 -2
- 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.mo +0 -0
- wagtail/contrib/simple_translation/locale/ru/LC_MESSAGES/django.po +6 -3
- wagtail/contrib/simple_translation/locale/sl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/simple_translation/locale/sv/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/models.py +2 -1
- wagtail/contrib/styleguide/locale/af/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/ar/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/az_AZ/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/be/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/bg/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/bn/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/ca/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/cs/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/cy/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/da/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/de/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/dv/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/el/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/en/LC_MESSAGES/django.po +7 -7
- wagtail/contrib/styleguide/locale/en_IN/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/es/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/es_419/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/es_VE/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/et/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/fa/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/fi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/fr/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/gl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/he_IL/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/hi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/hr_HR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/ht/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/hu/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/id_ID/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/is_IS/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/it/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/ja/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/ka/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/ko/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/lt/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/lv/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/mi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/mn/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/my/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/nb/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/nl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/pl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/pt_BR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/pt_PT/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/ro/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/ru/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/sk_SK/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/sl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/sv/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/ta/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/tet/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/th/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/tr/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/tr_TR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/uk/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/vi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/zh/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/zh_Hans/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/styleguide/locale/zh_Hant/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/ar/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/be/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/ca/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/cs/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/cy/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/de/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/dv/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/el/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/en/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/en_IN/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/es/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/et/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/fa/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/fi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/fr/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/gl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/hr_HR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/ht/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/hu/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/id_ID/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/is_IS/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/it/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/ja/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/ko/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/lt/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/lv/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/mi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/mn/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/my/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/nb/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/nl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/pl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/pt_BR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/pt_PT/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/ro/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/ru/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/sk_SK/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/sl/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/sv/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/tet/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/th/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/tr/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/tr_TR/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/uk/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/vi/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/zh_Hans/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/locale/zh_Hant/LC_MESSAGES/django.po +1 -1
- wagtail/contrib/table_block/static/table_block/js/table.js +1 -1
- wagtail/contrib/typed_table_block/blocks.py +19 -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.po +1 -1
- 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.po +1 -1
- wagtail/contrib/typed_table_block/locale/pt_BR/LC_MESSAGES/django.po +2 -2
- 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/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/static/typed_table_block/js/typed_table_block.js +1 -1
- wagtail/contrib/typed_table_block/tests.py +38 -0
- wagtail/coreutils.py +1 -1
- wagtail/documents/__init__.py +1 -1
- wagtail/documents/locale/af/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/ar/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/az_AZ/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/be/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/bg/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/bn/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/ca/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/cs/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/cy/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/da/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/de/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/dv/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/el/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/en/LC_MESSAGES/django.po +8 -8
- wagtail/documents/locale/en_IN/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/es/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/es_419/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/es_VE/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/et/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/eu/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/fa/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/fi/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/fr/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/gl/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/he_IL/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/hi/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/hr_HR/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/ht/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/hu/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/id_ID/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/is_IS/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/it/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/ja/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/ka/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/ko/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/lt/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/lv/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/mi/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/mn/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/my/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/nb/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/nl/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/pl/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/pt_BR/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/pt_PT/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/ro/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/ru/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/sk_SK/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/documents/locale/sl/LC_MESSAGES/django.po +21 -1
- wagtail/documents/locale/sr/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/sv/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/ta/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/tet/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/th/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/tr/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/tr_TR/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/uk/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/vi/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/zh/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/zh_Hans/LC_MESSAGES/django.po +1 -1
- wagtail/documents/locale/zh_Hant/LC_MESSAGES/django.po +1 -1
- wagtail/documents/models.py +5 -1
- wagtail/documents/static/wagtaildocs/js/document-chooser-modal.js +1 -1
- wagtail/documents/static/wagtaildocs/js/document-chooser-telepath.js +1 -1
- wagtail/documents/static/wagtaildocs/js/document-chooser.js +1 -1
- wagtail/documents/tests/test_models.py +5 -1
- wagtail/embeds/apps.py +2 -0
- wagtail/embeds/embeds.py +12 -14
- wagtail/embeds/finders/__init__.py +2 -0
- wagtail/embeds/finders/facebook.py +17 -33
- wagtail/embeds/finders/instagram.py +19 -16
- wagtail/embeds/locale/ar/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/az_AZ/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/be/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/bg/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/bn/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/ca/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/cs/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/cy/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/da/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/de/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/dv/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/el/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/en/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/es/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/es_419/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/et/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/fa/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/fi/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/fr/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/gl/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/he_IL/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/hr_HR/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/ht/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/hu/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/id_ID/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/is_IS/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/it/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/ja/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/ko/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/lt/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/lv/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/mi/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/mn/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/my/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/nb/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/nl/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/pl/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/pt_BR/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/pt_PT/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/ro/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/ru/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/sk_SK/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/sl/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/sv/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/tet/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/th/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/tr/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/tr_TR/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/uk/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/vi/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/zh/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/zh_Hans/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/locale/zh_Hant/LC_MESSAGES/django.po +1 -1
- wagtail/embeds/signal_handlers.py +13 -0
- wagtail/embeds/tests/test_embeds.py +7 -7
- wagtail/fields.py +58 -14
- wagtail/images/__init__.py +1 -1
- wagtail/images/locale/af/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/ar/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/az_AZ/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/be/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/bg/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/bn/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/ca/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/cs/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/cy/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/da/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/de/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/dv/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/el/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/en/LC_MESSAGES/django.po +34 -34
- wagtail/images/locale/en_IN/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/es/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/es_419/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/et/LC_MESSAGES/django.po +1 -1
- 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 +3 -3
- wagtail/images/locale/fi/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/fr/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/gl/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/he_IL/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/hi/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/hr_HR/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/ht/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/hu/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/id_ID/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/is_IS/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/it/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/ja/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/ka/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/ko/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/lt/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/lv/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/mi/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/mn/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/my/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/nb/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/nl/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/pl/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/pt_BR/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/pt_PT/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/ro/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/ru/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/sk_SK/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/sl/LC_MESSAGES/django.mo +0 -0
- wagtail/images/locale/sl/LC_MESSAGES/django.po +21 -1
- wagtail/images/locale/sv/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/tet/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/th/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/tr/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/tr_TR/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/uk/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/vi/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/zh/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/zh_Hans/LC_MESSAGES/django.po +1 -1
- wagtail/images/locale/zh_Hant/LC_MESSAGES/django.po +1 -1
- wagtail/images/models.py +2 -0
- wagtail/images/static/wagtailimages/js/image-chooser-modal.js +1 -1
- wagtail/images/static/wagtailimages/js/image-chooser-telepath.js +1 -1
- wagtail/images/static/wagtailimages/js/image-chooser.js +1 -1
- wagtail/images/templates/wagtailimages/images/edit.html +4 -4
- wagtail/images/tests/test_admin_views.py +26 -2
- wagtail/images/views/chooser.py +6 -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 +4 -1
- wagtail/locale/cs/LC_MESSAGES/django.po +1 -1
- wagtail/locale/cy/LC_MESSAGES/django.po +1 -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 +4 -1
- wagtail/locale/dv/LC_MESSAGES/django.po +1 -1
- wagtail/locale/el/LC_MESSAGES/django.po +1 -1
- wagtail/locale/en/LC_MESSAGES/django.po +84 -80
- wagtail/locale/es/LC_MESSAGES/django.po +1 -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 +65 -3
- wagtail/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/fr/LC_MESSAGES/django.po +4 -1
- wagtail/locale/gl/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/gl/LC_MESSAGES/django.po +4 -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.po +1 -1
- wagtail/locale/id_ID/LC_MESSAGES/django.po +1 -1
- wagtail/locale/is_IS/LC_MESSAGES/django.po +1 -1
- wagtail/locale/it/LC_MESSAGES/django.po +1 -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 +4 -1
- wagtail/locale/pl/LC_MESSAGES/django.po +1 -1
- wagtail/locale/pt_BR/LC_MESSAGES/django.po +2 -2
- wagtail/locale/pt_PT/LC_MESSAGES/django.po +1 -1
- wagtail/locale/ro/LC_MESSAGES/django.po +1 -1
- wagtail/locale/ru/LC_MESSAGES/django.mo +0 -0
- wagtail/locale/ru/LC_MESSAGES/django.po +5 -2
- wagtail/locale/sk_SK/LC_MESSAGES/django.po +1 -1
- wagtail/locale/sl/LC_MESSAGES/django.po +1 -1
- wagtail/locale/sv/LC_MESSAGES/django.po +1 -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/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.po +1 -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 +1 -1
- wagtail/locales/locale/bg/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/ca/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/cs/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/cy/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/da/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/de/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/dv/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/el/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/en/LC_MESSAGES/django.po +2 -2
- wagtail/locales/locale/es/LC_MESSAGES/django.po +1 -1
- 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 +1 -1
- wagtail/locales/locale/fr/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/gl/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/he_IL/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/hr_HR/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/hu/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/id_ID/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/is_IS/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/it/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/ja/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/ko/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/lt/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/lv/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/mi/LC_MESSAGES/django.po +1 -1
- 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 +1 -1
- wagtail/locales/locale/pl/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/pt_BR/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/pt_PT/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/ro/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/ru/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/sk_SK/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/sl/LC_MESSAGES/django.po +1 -1
- wagtail/locales/locale/sv/LC_MESSAGES/django.po +1 -1
- 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/uk/LC_MESSAGES/django.po +1 -1
- 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 +1 -1
- wagtail/locales/locale/zh_Hant/LC_MESSAGES/django.po +1 -1
- wagtail/locales/tests.py +16 -0
- wagtail/locales/wagtail_hooks.py +0 -9
- wagtail/migrations/0094_alter_page_locale.py +19 -0
- wagtail/models/__init__.py +11 -5
- wagtail/models/i18n.py +6 -1
- wagtail/project_template/requirements.txt +1 -1
- wagtail/search/locale/ar/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/be/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/ca/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/cs/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/cy/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/de/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/dv/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/en/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/es/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/et/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/fa/LC_MESSAGES/django.mo +0 -0
- wagtail/search/locale/fa/LC_MESSAGES/django.po +3 -3
- wagtail/search/locale/fi/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/fr/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/gl/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/hr_HR/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/ht/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/hu/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/id_ID/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/is_IS/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/it/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/ja/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/ko/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/lt/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/mi/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/mn/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/my/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/nb/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/nl/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/pl/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/pt_BR/LC_MESSAGES/django.mo +0 -0
- wagtail/search/locale/pt_BR/LC_MESSAGES/django.po +3 -3
- wagtail/search/locale/pt_PT/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/ro/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/ru/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/sl/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/sv/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/tet/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/th/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/tr/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/tr_TR/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/uk/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/vi/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/zh_Hans/LC_MESSAGES/django.po +1 -1
- wagtail/search/locale/zh_Hant/LC_MESSAGES/django.po +1 -1
- wagtail/signals.py +4 -0
- wagtail/sites/locale/ar/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/be/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/bn/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/ca/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/cs/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/cy/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/da/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/de/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/dv/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/el/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/en/LC_MESSAGES/django.po +2 -2
- wagtail/sites/locale/en_IN/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/es/LC_MESSAGES/django.po +1 -1
- 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 +1 -1
- wagtail/sites/locale/fa/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/fi/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/fr/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/gl/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/he_IL/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/hi/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/hr_HR/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/ht/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/hu/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/id_ID/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/is_IS/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/it/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/ja/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/ka/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/ko/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/lt/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/lv/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/mi/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/mn/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/my/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/nb/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/nl/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/pl/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/pt_BR/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/pt_PT/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/ro/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/ru/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/sk_SK/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/sl/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/sr/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/sv/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/ta/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/tet/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/th/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/tr/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/tr_TR/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/uk/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/vi/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/zh_Hans/LC_MESSAGES/django.po +1 -1
- wagtail/sites/locale/zh_Hant/LC_MESSAGES/django.po +1 -1
- wagtail/sites/tests.py +15 -0
- wagtail/sites/wagtail_hooks.py +0 -9
- wagtail/snippets/blocks.py +9 -1
- wagtail/snippets/locale/af/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/ar/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/az_AZ/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/be/LC_MESSAGES/django.po +1 -1
- 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.po +1 -1
- wagtail/snippets/locale/cs/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/cy/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/da/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/de/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/dv/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/el/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/en/LC_MESSAGES/django.po +9 -9
- wagtail/snippets/locale/en_IN/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/es/LC_MESSAGES/django.po +1 -1
- 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.po +1 -1
- 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 +7 -3
- wagtail/snippets/locale/fi/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/fr/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/gl/LC_MESSAGES/django.po +1 -1
- 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.po +1 -1
- wagtail/snippets/locale/ht/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/hu/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/id_ID/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/is_IS/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/it/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/ja/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/ka/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/ko/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/lt/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/lv/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/mi/LC_MESSAGES/django.po +1 -1
- 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.po +1 -1
- wagtail/snippets/locale/nl/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/pl/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/pt_BR/LC_MESSAGES/django.po +2 -2
- wagtail/snippets/locale/pt_PT/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/ro/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/ru/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/sk_SK/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/sl/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/sr/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/sv/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/ta/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/tet/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/th/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/tr/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/tr_TR/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/locale/uk/LC_MESSAGES/django.po +1 -1
- 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.po +1 -1
- wagtail/snippets/locale/zh_Hant/LC_MESSAGES/django.po +1 -1
- wagtail/snippets/permissions.py +5 -3
- 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/snippets/action_menu/menu.html +1 -1
- wagtail/snippets/tests/test_snippets.py +84 -13
- wagtail/snippets/tests/test_viewset.py +22 -0
- wagtail/snippets/views/snippets.py +19 -14
- wagtail/snippets/wagtail_hooks.py +2 -10
- wagtail/templatetags/wagtailcore_tags.py +3 -0
- wagtail/test/dummy_external_storage.py +1 -1
- wagtail/test/i18n/migrations/0003_alter_clusterabletestmodel_locale_and_more.py +40 -0
- wagtail/test/routablepage/models.py +4 -0
- wagtail/test/snippets/migrations/0012_alter_translatablesnippet_locale.py +20 -0
- wagtail/test/testapp/migrations/0038_sociallink.py +52 -0
- wagtail/test/testapp/migrations/0039_alter_eventcategory_locale_and_more.py +45 -0
- wagtail/test/testapp/models.py +24 -0
- wagtail/test/testapp/views.py +1 -0
- wagtail/test/testapp/wagtail_hooks.py +9 -0
- wagtail/test/urls_multilang.py +6 -1
- wagtail/test/urls_multilang_non_root.py +11 -0
- wagtail/tests/streamfield_migrations/test_migrations.py +53 -12
- wagtail/tests/test_audit_log.py +72 -2
- wagtail/tests/test_blocks.py +103 -0
- wagtail/tests/test_signals.py +49 -2
- wagtail/tests/test_streamfield.py +230 -0
- wagtail/tests/test_utils.py +14 -0
- wagtail/tests/tests.py +5 -0
- wagtail/users/apps.py +1 -0
- wagtail/users/forms.py +7 -0
- wagtail/users/locale/af/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/ar/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/az_AZ/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/be/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/bg/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/bn/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/ca/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/ca/LC_MESSAGES/django.po +4 -1
- wagtail/users/locale/cs/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/cy/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/da/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/de/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/de/LC_MESSAGES/django.po +4 -1
- wagtail/users/locale/dv/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/el/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/en/LC_MESSAGES/django.po +55 -50
- wagtail/users/locale/es/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/es_419/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/es_VE/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/et/LC_MESSAGES/django.po +1 -1
- 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 +3 -3
- wagtail/users/locale/fi/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/fr/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/fr/LC_MESSAGES/django.po +4 -1
- wagtail/users/locale/gl/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/gl/LC_MESSAGES/django.po +4 -1
- wagtail/users/locale/he_IL/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/hi/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/hr_HR/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/ht/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/hu/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/hy/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/id_ID/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/is_IS/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/it/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/ja/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/ka/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/ko/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/lt/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/lv/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/mi/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/mn/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/my/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/nb/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/nl/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/nl/LC_MESSAGES/django.po +4 -1
- wagtail/users/locale/pl/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/pt_BR/LC_MESSAGES/django.po +2 -2
- wagtail/users/locale/pt_PT/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/ro/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/ru/LC_MESSAGES/django.mo +0 -0
- wagtail/users/locale/ru/LC_MESSAGES/django.po +4 -1
- wagtail/users/locale/sk_SK/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/sl/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/sv/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/tet/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/th/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/tr/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/tr_TR/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/uk/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/vi/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/zh/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/zh_Hans/LC_MESSAGES/django.po +1 -1
- wagtail/users/locale/zh_Hant/LC_MESSAGES/django.po +1 -1
- wagtail/users/models.py +1 -0
- wagtail/users/templates/wagtailusers/groups/includes/formatted_permissions.html +3 -2
- wagtail/users/templatetags/wagtailusers_tags.py +9 -0
- wagtail/users/tests/__init__.py +7 -1
- wagtail/users/tests/test_admin_views.py +117 -32
- wagtail/users/views/groups.py +4 -0
- wagtail/users/views/users.py +58 -14
- wagtail/users/wagtail_hooks.py +7 -123
- wagtail/utils/utils.py +1 -0
- wagtail/utils/version.py +5 -2
- {wagtail-6.1.3.dist-info → wagtail-6.2.dist-info}/METADATA +3 -3
- {wagtail-6.1.3.dist-info → wagtail-6.2.dist-info}/RECORD +1345 -1319
- wagtail/admin/templates/wagtailadmin/reports/aging_pages.html +0 -58
- wagtail/admin/templates/wagtailadmin/reports/page_types_usage.html +0 -18
- wagtail/admin/templates/wagtailadmin/reports/site_history.html +0 -57
- wagtail/admin/templates/wagtailadmin/reports/workflow.html +0 -81
- wagtail/admin/templates/wagtailadmin/reports/workflow_tasks.html +0 -63
- wagtail/contrib/frontend_cache/backends.py +0 -400
- wagtail/contrib/redirects/templates/wagtailredirects/list.html +0 -43
- wagtail/contrib/redirects/templates/wagtailredirects/reports/redirects_report.html +0 -14
- wagtail/contrib/redirects/tests/test_reports_view.py +0 -82
- {wagtail-6.1.3.dist-info → wagtail-6.2.dist-info}/LICENSE +0 -0
- {wagtail-6.1.3.dist-info → wagtail-6.2.dist-info}/WHEEL +0 -0
- {wagtail-6.1.3.dist-info → wagtail-6.2.dist-info}/entry_points.txt +0 -0
- {wagtail-6.1.3.dist-info → wagtail-6.2.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:()=>y,Context:()=>P,Controller:()=>se,ElementObserver:()=>b,IndexedMultimap:()=>A,Multimap:()=>x,SelectorObserver:()=>k,StringMapObserver:()=>T,TokenListObserver:()=>N,ValueListObserver:()=>O,add:()=>w,defaultSchema:()=>Q,del:()=>E,fetch:()=>F,prune:()=>C});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 a{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,a=this.fetchEventListenerMapForEventTarget(t),o=this.cacheKey(n,r);a.delete(o),0==a.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),a=this.cacheKey(t,n);let o=r.get(a);return o||(o=this.createEventListener(e,t,n),r.set(a,o)),o}createEventListener(e,t,n){const a=new r(e,t,n);return this.started&&a.connect(),a}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},i=/^(?:(?:([^.]+?)\+)?(.+?)(?:\.(.+?))?(?:@(window|document))?->)?(.+?)(?:#([^:]+?))(?::(.+))?$/;function u(e){return e.replace(/(?:[_-])([a-z0-9])/g,((e,t)=>t.toUpperCase()))}function s(e){return u(e.replace(/--/g,"-").replace(/__/g,"_"))}function l(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)||g("missing event name"),this.eventOptions=n.eventOptions||{},this.identifier=n.identifier||g("missing identifier"),this.methodName=n.methodName||g("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(i)||[];let n=t[2],r=t[3];return r&&!["keydown","keyup","keypress"].includes(n)&&(n+=`.${r}`,r=""),{eventTarget:(a=t[4],"window"==a?window:"document"==a?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 a,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)||g(`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 a=n.match(t),o=a&&a[1];o&&(e[u(o)]=v(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,a,o]=p.map((e=>t.includes(e)));return e.metaKey!==n||e.ctrlKey!==r||e.altKey!==a||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 g(e){throw new Error(e)}function v(e){try{return JSON.parse(e)}catch(t){return e}}class D{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 a=!0;for(const[o,i]of Object.entries(this.eventOptions))if(o in n){const u=n[o];a=a&&u({name:o,value:i,event:e,element:t,controller:r})}return a}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:a,index:o}=this,i={identifier:n,controller:r,element:a,index:o,event:e};this.context.handleError(t,`invoking action "${this.action}"`,i)}}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 y{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 w(e,t,n){F(e,t).add(n)}function E(e,t,n){F(e,t).delete(n),C(e,t)}function F(e,t){let n=e.get(t);return n||(n=new Set,e.set(t,n)),n}function C(e,t){const n=e.get(t);null!=n&&0==n.size&&e.delete(t)}class x{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){w(this.valuesByKey,e,t)}delete(e,t){E(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 A extends x{constructor(){super(),this.keysByValue=new Map}get values(){return Array.from(this.keysByValue.keys())}add(e,t){super.add(e,t),w(this.keysByValue,t,e)}delete(e,t){super.delete(e,t),E(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 k{constructor(e,t,n,r){this._selector=t,this.details=r,this.elementObserver=new b(e,this),this.delegate=n,this.matchesByElement=new x}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 T{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 y(e,t,this),this.delegate=n,this.tokensByElement=new x}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 O{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 S{constructor(e,t){this.context=e,this.delegate=t,this.bindingsByAction=new Map}start(){this.valueListObserver||(this.valueListObserver=new O(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 D(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 R{constructor(e,t){this.context=e,this.receiver=t,this.stringMapObserver=new T(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`,a=this.receiver[r];if("function"==typeof a){const r=this.valueDescriptorNameMap[e];try{const e=r.reader(t);let o=n;n&&(o=r.reader(n)),a.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${l(this.valueDescriptorNameMap[e].name)}`;return this.receiver[t]}}class B{constructor(e,t){this.context=e,this.delegate=t,this.targetsByName=new x}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 _(e,t){const n=M(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 M(e){const t=[];for(;e;)t.push(e),e=Object.getPrototypeOf(e);return t.reverse()}class I{constructor(e,t){this.started=!1,this.context=e,this.delegate=t,this.outletsByName=new x,this.outletElementsByName=new x,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),a=e.matches(`[${this.schema.controllerAttribute}~=${t}]`);return!!n&&r&&a&&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 k(document.body,t,this,{outletName:e});this.selectorObserverMap.set(e,n),n.start()}setupAttributeObserverForOutlet(e){const t=this.attributeNameForOutletName(e),n=new y(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 x;return this.router.modules.forEach((t=>{_(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 P{constructor(e,t){this.logDebugActivity=(e,t={})=>{const{identifier:n,controller:r,element:a}=this;t=Object.assign({identifier:n,controller:r,element:a},t),this.application.logDebugActivity(this.identifier,e,t)},this.module=e,this.scope=t,this.controller=new e.controllerConstructor(this),this.bindingObserver=new S(this,this.dispatcher),this.valueObserver=new R(this,this.controller),this.targetObserver=new B(this,this),this.outletObserver=new I(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:a,element:o}=this;n=Object.assign({identifier:r,controller:a,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(`${s(n)}OutletConnected`,e,t)}outletDisconnected(e,t,n){this.invokeControllerMethod(`${s(n)}OutletDisconnected`,e,t)}invokeControllerMethod(e,...t){const n=this.controller;"function"==typeof n[e]&&n[e](...t)}}const L="function"==typeof Object.getOwnPropertySymbols?e=>[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)]:Object.getOwnPropertyNames,j=(()=>{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 ${constructor(e,t){this.application=e,this.definition=function(e){return{identifier:e.identifier,controllerConstructor:(t=e.controllerConstructor,function(e,t){const n=j(e),r=function(e,t){return L(t).reduce(((n,r)=>{const a=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 a&&Object.assign(n,{[r]:a}),n}),{})}(e.prototype,t);return Object.defineProperties(n.prototype,r),n}(t,function(e){return _(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 P(this,e),this.contextsByScope.set(e,t)),t}}class q{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 V{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 z{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 U(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 U(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 U(this.schema.targetAttribute,t)}deprecate(e,t){if(e){const{identifier:n}=this,r=this.schema.targetAttribute,a=this.schema.targetAttributeForScope(n);this.guide.warn(e,`target:${t}`,`Please replace ${r}="${n}.${t}" with ${a}="${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 K{constructor(e,t,n,r){this.targets=new H(this),this.classes=new q(this),this.data=new V(this),this.containsElement=e=>e.closest(this.controllerSelector)===this.element,this.schema=e,this.element=t,this.identifier=n,this.guide=new z(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 U(this.schema.controllerAttribute,this.identifier)}get isDocumentScope(){return this.element===document.documentElement}get documentScope(){return this.isDocumentScope?this:new K(this.schema,document.documentElement,this.identifier,this.guide.logger)}}class G{constructor(e,t,n){this.element=e,this.schema=t,this.delegate=n,this.valueListObserver=new O(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 Y{constructor(e){this.application=e,this.scopeObserver=new G(this.element,this.schema,this),this.scopesByIdentifier=new x,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 $(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 K(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 Q={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=Q){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 a(this),this.router=new Y(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`,a=function(e){const{controller:t,token:n,typeDefinition:r}=e,a=function(e){const{controller:t,token:n,typeObject:r}=e,a=d(r.type),o=d(r.default),i=a&&o,u=a&&!o,s=!a&&o,l=ne(r.type),c=re(e.typeObject.default);if(u)return l;if(s)return c;if(l!==c)throw new Error(`The specified default value for the Stimulus Value "${t?`${t}.${n}`:n}" must match the defined type "${l}". The provided default value of "${r.default}" is of type "${c}".`);return i?l:void 0}({controller:t,token:n,typeObject:r}),o=re(r),i=ne(r),u=a||o||i;if(u)return u;throw new Error(`Unknown value type "${t?`${t}.${r}`:n}" for "${n}" value`)}(e);return{type:a,key:r,name:u(r),get defaultValue(){return function(e){const t=ne(e);if(t)return ae[t];const n=f(e,"default"),r=f(e,"type"),a=e;if(n)return a.default;if(r){const{type:e}=a,t=ne(e);if(t)return ae[t]}return e}(n)},get hasCustomDefaultValue(){return void 0!==re(n)},reader:oe[a],writer:ie[a]||ie.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 ae={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},ie={default:function(e){return`${e}`},array:ue,object:ue};function ue(e){return JSON.stringify(e)}class se{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:a=!0,cancelable:o=!0}={}){const i=new CustomEvent(r?`${r}:${e}`:e,{detail:n,bubbles:a,cancelable:o});return t.dispatchEvent(i),i}}se.blessings=[function(e){return _(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${l(n)}Class`]:{get(){return this.classes.has(n)}}});var n}),{})},function(e){return _(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${l(n)}Target`]:{get(){return this.targets.has(n)}}});var n}),{})},function(e){const t=function(e,t){return M(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:a,reader:o,writer:i}=n;return{[a]:{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,i(e))}},[`has${l(a)}`]:{get(){return this.data.has(r)||n.hasCustomDefaultValue}}}}(t))),n)},function(e){return _(e,"outlets").reduce(((e,t)=>Object.assign(e,function(e){const t=s(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${l(t)}Outlet`]:{get(){return this.outlets.has(e)}}}}(t))),{})}],se.targets=[],se.outlets=[],se.values={}},5446:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>a}),/^(114|262|591|61)$/.test(n.j))var r=n(5581);function a(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&(0,r.Ng)(n)){var a=t;do{if(a&&e.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}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 a=n(6906);function o(e,t){void 0===t&&(t=!1);var n=e.getBoundingClientRect(),o=1,i=1;if((0,r.sb)(e)&&t){var u=e.offsetHeight,s=e.offsetWidth;s>0&&(o=(0,a.LI)(n.width)/s||1),u>0&&(i=(0,a.LI)(n.height)/u||1)}return{width:n.width/o,height:n.height/i,top:n.top/i,right:n.right/o,bottom:n.bottom/i,left:n.left/o,x:n.left/o,y:n.top/i}}},2883:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>D}),/^(114|262|591|61)$/.test(n.j))var r=n(4278);if(/^(114|262|591|61)$/.test(n.j))var a=n(5487);if(/^(114|262|591|61)$/.test(n.j))var o=n(8848);if(/^(114|262|591|61)$/.test(n.j))var i=n(3341);if(/^(114|262|591|61)$/.test(n.j))var u=n(5128);if(/^(114|262|591|61)$/.test(n.j))var s=n(9760);if(/^(114|262|591|61)$/.test(n.j))var l=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 g=n(6906);function v(e,t){return t===r.R9?(0,m.A)((0,a.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,s.A)(e)))}function D(e,t,n){var r="clippingParents"===t?function(e){var t=(0,i.A)((0,f.A)(e)),n=["absolute","fixed"].indexOf((0,l.A)(e).position)>=0&&(0,c.sb)(e)?(0,u.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),a=[].concat(r,[n]),o=a[0],s=a.reduce((function(t,n){var r=v(e,n);return t.top=(0,g.T9)(r.top,t.top),t.right=(0,g.jk)(r.right,t.right),t.bottom=(0,g.jk)(r.bottom,t.bottom),t.left=(0,g.T9)(r.left,t.left),t}),v(e,o));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}},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 a=n(3318);if(/^(114|262|591|61)$/.test(n.j))var o=n(7604);if(/^(114|262|591|61)$/.test(n.j))var i=n(5581);if(/^(114|262|591|61)$/.test(n.j))var u=n(793);if(/^(114|262|591|61)$/.test(n.j))var s=n(9760);if(/^(114|262|591|61)$/.test(n.j))var l=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,i.sb)(t),f=(0,i.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,s.A)(t),h=(0,r.A)(e,f),m={scrollLeft:0,scrollTop:0},g={x:0,y:0};return(d||!d&&!n)&&(("body"!==(0,o.A)(t)||(0,l.A)(p))&&(m=(0,a.A)(t)),(0,i.sb)(t)?((g=(0,r.A)(t,!0)).x+=t.clientLeft,g.y+=t.clientTop):p&&(g.x=(0,u.A)(p))),{x:h.left+m.scrollLeft-g.x,y:h.top+m.scrollTop-g.y,width:h.width,height:h.height}}},271:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>a}),/^(114|262|591|61)$/.test(n.j))var r=n(8979);function a(e){return(0,r.A)(e).getComputedStyle(e)}},9760:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>a}),/^(114|262|591|61)$/.test(n.j))var r=n(5581);function a(e){return(((0,r.vq)(e)?e.ownerDocument:e.document)||window.document).documentElement}},8848:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>s}),/^(114|262|591|61)$/.test(n.j))var r=n(9760);if(/^(114|262|591|61)$/.test(n.j))var a=n(271);if(/^(114|262|591|61)$/.test(n.j))var o=n(793);if(/^(114|262|591|61)$/.test(n.j))var i=n(222);if(/^(114|262|591|61)$/.test(n.j))var u=n(6906);function s(e){var t,n=(0,r.A)(e),s=(0,i.A)(e),l=null==(t=e.ownerDocument)?void 0:t.body,c=(0,u.T9)(n.scrollWidth,n.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),d=(0,u.T9)(n.scrollHeight,n.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),f=-s.scrollLeft+(0,o.A)(e),p=-s.scrollTop;return"rtl"===(0,a.A)(l||n).direction&&(f+=(0,u.T9)(n.clientWidth,l?l.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:()=>a}),/^(114|262|591|61)$/.test(n.j))var r=n(6354);function a(e){var t=(0,r.A)(e),n=e.offsetWidth,a=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-a)<=1&&(a=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:a}}},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:()=>u}),/^(114|262|591|61)$/.test(n.j))var r=n(222);if(/^(114|262|591|61)$/.test(n.j))var a=n(8979);if(/^(114|262|591|61)$/.test(n.j))var o=n(5581);if(/^(114|262|591|61)$/.test(n.j))var i=n(6233);function u(e){return e!==(0,a.A)(e)&&(0,o.sb)(e)?(0,i.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 a=n(7604);if(/^(114|262|591|61)$/.test(n.j))var o=n(271);if(/^(114|262|591|61)$/.test(n.j))var i=n(5581);if(/^(114|262|591|61)$/.test(n.j))var u=n(2063);if(/^(114|262|591|61)$/.test(n.j))var s=n(2083);function l(e){return(0,i.sb)(e)&&"fixed"!==(0,o.A)(e).position?e.offsetParent:null}function c(e){for(var t=(0,r.A)(e),n=l(e);n&&(0,u.A)(n)&&"static"===(0,o.A)(n).position;)n=l(n);return n&&("html"===(0,a.A)(n)||"body"===(0,a.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,i.sb)(e)&&"fixed"===(0,o.A)(e).position)return null;for(var n=(0,s.A)(e);(0,i.sb)(n)&&["html","body"].indexOf((0,a.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:()=>i}),/^(114|262|591|61)$/.test(n.j))var r=n(7604);if(/^(114|262|591|61)$/.test(n.j))var a=n(9760);if(/^(114|262|591|61)$/.test(n.j))var o=n(5581);function i(e){return"html"===(0,r.A)(e)?e:e.assignedSlot||e.parentNode||((0,o.Ng)(e)?e.host:null)||(0,a.A)(e)}},9970:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>u}),/^(114|262|591|61)$/.test(n.j))var r=n(2083);if(/^(114|262|591|61)$/.test(n.j))var a=n(134);if(/^(114|262|591|61)$/.test(n.j))var o=n(7604);if(/^(114|262|591|61)$/.test(n.j))var i=n(5581);function u(e){return["html","body","#document"].indexOf((0,o.A)(e))>=0?e.ownerDocument.body:(0,i.sb)(e)&&(0,a.A)(e)?e:u((0,r.A)(e))}},5487:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>i}),/^(114|262|591|61)$/.test(n.j))var r=n(8979);if(/^(114|262|591|61)$/.test(n.j))var a=n(9760);if(/^(114|262|591|61)$/.test(n.j))var o=n(793);function i(e){var t=(0,r.A)(e),n=(0,a.A)(e),i=t.visualViewport,u=n.clientWidth,s=n.clientHeight,l=0,c=0;return i&&(u=i.width,s=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(l=i.offsetLeft,c=i.offsetTop)),{width:u,height:s,x:l+(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:()=>a}),/^(114|262|591|61)$/.test(n.j))var r=n(8979);function a(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:()=>i}),/^(114|262|591|61)$/.test(n.j))var r=n(6354);if(/^(114|262|591|61)$/.test(n.j))var a=n(9760);if(/^(114|262|591|61)$/.test(n.j))var o=n(222);function i(e){return(0,r.A)((0,a.A)(e)).left+(0,o.A)(e).scrollLeft}},5581:(e,t,n)=>{"use strict";if(n.d(t,{Ng:()=>i,sb:()=>o,vq:()=>a}),/^(114|262|591|61)$/.test(n.j))var r=n(8979);function a(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 i(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:()=>a}),/^(114|262|591|61)$/.test(n.j))var r=n(271);function a(e){var t=(0,r.A)(e),n=t.overflow,a=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+a)}},2063:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>a}),/^(114|262|591|61)$/.test(n.j))var r=n(7604);function a(e){return["table","td","th"].indexOf((0,r.A)(e))>=0}},3341:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>u}),/^(114|262|591|61)$/.test(n.j))var r=n(9970);if(/^(114|262|591|61)$/.test(n.j))var a=n(2083);if(/^(114|262|591|61)$/.test(n.j))var o=n(8979);if(/^(114|262|591|61)$/.test(n.j))var i=n(134);function u(e,t){var n;void 0===t&&(t=[]);var s=(0,r.A)(e),l=s===(null==(n=e.ownerDocument)?void 0:n.body),c=(0,o.A)(s),d=l?[c].concat(c.visualViewport||[],(0,i.A)(s)?s:[]):s,f=t.concat(d);return l?f:f.concat(u((0,a.A)(d)))}},4278:(e,t,n)=>{"use strict";n.d(t,{DD:()=>g,GM:()=>v,Mn:()=>r,OM:()=>s,Ol:()=>m,R9:()=>f,WY:()=>d,_N:()=>c,ir:()=>h,kb:()=>i,ni:()=>l,pG:()=>o,qZ:()=>u,sQ:()=>a,xf:()=>p});var r="top",a="bottom",o="right",i="left",u="auto",s=[r,a,o,i],l="start",c="end",d="clippingParents",f="viewport",p="popper",h="reference",m=/^(114|262|591|61)$/.test(n.j)?s.reduce((function(e,t){return e.concat([t+"-"+l,t+"-"+c])}),[]):null,g=/^(114|262|591|61)$/.test(n.j)?[].concat(s,[u]).reduce((function(e,t){return e.concat([t,t+"-"+l,t+"-"+c])}),[]):null,v=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"]},1815:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>u}),/^(114|262|591|61)$/.test(n.j))var r=n(2632);if(/^(114|262|591|61)$/.test(n.j))var a=n(8101);if(/^(114|262|591|61)$/.test(n.j))var o=n(9703);if(/^(114|262|591|61)$/.test(n.j))var i=n(4278);function u(e){var t,n=e.reference,u=e.element,s=e.placement,l=s?(0,r.A)(s):null,c=s?(0,a.A)(s):null,d=n.x+n.width/2-u.width/2,f=n.y+n.height/2-u.height/2;switch(l){case i.Mn:t={x:d,y:n.y-u.height};break;case i.sQ:t={x:d,y:n.y+n.height};break;case i.pG:t={x:n.x+n.width,y:f};break;case i.kb:t={x:n.x-u.width,y:f};break;default:t={x:n.x,y:n.y}}var p=l?(0,o.A)(l):null;if(null!=p){var h="y"===p?"height":"width";switch(c){case i.ni:t[p]=t[p]-(n[h]/2-u[h]/2);break;case i._N:t[p]=t[p]+(n[h]/2-u[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 a=n(9760);if(/^(114|262|591|61)$/.test(n.j))var o=n(6354);if(/^(114|262|591|61)$/.test(n.j))var i=n(1815);if(/^(114|262|591|61)$/.test(n.j))var u=n(4426);if(/^(114|262|591|61)$/.test(n.j))var s=n(4278);if(/^(114|262|591|61)$/.test(n.j))var l=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?s.WY:h,g=n.rootBoundary,v=void 0===g?s.R9:g,D=n.elementContext,b=void 0===D?s.xf:D,y=n.altBoundary,w=void 0!==y&&y,E=n.padding,F=void 0===E?0:E,C=(0,c.A)("number"!=typeof F?F:(0,d.A)(F,s.OM)),x=b===s.xf?s.ir:s.xf,A=e.rects.popper,k=e.elements[w?x:b],T=(0,r.A)((0,l.vq)(k)?k:k.contextElement||(0,a.A)(e.elements.popper),m,v),N=(0,o.A)(e.elements.reference),O=(0,i.A)({reference:N,element:A,strategy:"absolute",placement:p}),S=(0,u.A)(Object.assign({},A,O)),R=b===s.xf?S:N,B={top:T.top-R.top+C.top,bottom:R.bottom-T.bottom+C.bottom,left:T.left-R.left+C.left,right:R.right-T.right+C.right},_=e.modifiersData.offset;if(b===s.xf&&_){var M=_[p];Object.keys(B).forEach((function(e){var t=[s.pG,s.sQ].indexOf(e)>=0?1:-1,n=[s.Mn,s.sQ].indexOf(e)>=0?"y":"x";B[e]+=M[n]*t}))}return B}},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:()=>a});var r=Math.max,a=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:()=>a}),/^(114|262|591|61)$/.test(n.j))var r=n(7364);function a(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 a(e){var t=new Map,n=new Set,r=[];function a(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&a(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||a(e)})),r}function o(e){var t=a(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 a=n(2427),o=n.n(a),i=n(6931);function u(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}var s="undefined"!=typeof window&&"undefined"!=typeof document;function l(e,t){e&&("function"==typeof e&&e(t),{}.hasOwnProperty.call(e,"current")&&(e.current=t))}function c(){return s&&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)?s?a.useLayoutEffect:a.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 g(e){return function(t){var n,r,s=t.children,d=t.content,h=t.visible,g=t.singleton,v=t.render,D=t.reference,b=t.disabled,y=void 0!==b&&b,w=t.ignoreAttributes,E=void 0===w||w,F=(t.__source,t.__self,u(t,["children","content","visible","singleton","render","reference","disabled","ignoreAttributes","__source","__self"])),C=void 0!==h,x=void 0!==g,A=(0,a.useState)(!1),k=A[0],T=A[1],N=(0,a.useState)({}),O=N[0],S=N[1],R=(0,a.useState)(),B=R[0],_=R[1],M=(n=function(){return{container:c(),renders:1}},(r=(0,a.useRef)()).current||(r.current="function"==typeof n?n():n),r.current),I=Object.assign({ignoreAttributes:E},F,{content:M.container});C&&(I.trigger="manual",I.hideOnClick=!1),x&&(y=!0);var P=I,L=I.plugins||[];v&&(P=Object.assign({},I,{plugins:x&&null!=g.data?[].concat(L,[{fn:function(){return{onTrigger:function(e,t){var n=g.data.children.find((function(e){return e.instance.reference===t.currentTarget}));e.state.$$activeSingletonInstance=n.instance,_(n.content)}}}}]):L,render:function(){return{popper:M.container}}}));var j=[D].concat(s?[s.type]:[]);return p((function(){var t=D;D&&D.hasOwnProperty("current")&&(t=D.current);var n=e(t||M.ref||c(),Object.assign({},P,{plugins:[m].concat(I.plugins||[])}));return M.instance=n,y&&n.disable(),h&&n.show(),x&&g.hook({instance:n,content:d,props:P,setSingletonContent:_}),T(!0),function(){n.destroy(),null==g||g.cleanup(n)}}),j),p((function(){var e,t,n,r,a;if(1!==M.renders){var o=M.instance;o.setProps((t=o.props,n=P,Object.assign({},n,{popperOptions:Object.assign({},t.popperOptions,n.popperOptions,{modifiers:f([].concat((null==(r=t.popperOptions)?void 0:r.modifiers)||[],(null==(a=n.popperOptions)?void 0:a.modifiers)||[]))})}))),null==(e=o.popperInstance)||e.forceUpdate(),y?o.disable():o.enable(),C&&(h?o.show():o.hide()),x&&g.hook({instance:o,content:d,props:P,setSingletonContent:_})}else M.renders++})),p((function(){var e;if(v){var t=M.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;O.placement===n.placement&&O.referenceHidden===(null==r?void 0:r.isReferenceHidden)&&O.escaped===(null==r?void 0:r.hasPopperEscaped)||S({placement:n.placement,referenceHidden:null==r?void 0:r.isReferenceHidden,escaped:null==r?void 0:r.hasPopperEscaped}),n.attributes.popper={}}}])})})}}),[O.placement,O.referenceHidden,O.escaped].concat(j)),o().createElement(o().Fragment,null,s?(0,a.cloneElement)(s,{ref:function(e){M.ref=e,l(s.ref,e)}}):null,k&&(0,i.createPortal)(v?v(function(e){var t={"data-placement":e.placement};return e.referenceHidden&&(t["data-reference-hidden"]=""),e.escaped&&(t["data-escaped"]=""),t}(O),B,M.instance):d,M.container))}}var v,D=/^(262|61)$/.test(n.j)?(v=g(r.Ay),(0,a.forwardRef)((function(e,t){var n=e.children,r=u(e,["children"]);return o().createElement(v,Object.assign({},undefined,r),n?(0,a.cloneElement)(n,{ref:function(e){l(t,e),l(n.ref,e)}}):null)}))):null;const b=/^(262|61)$/.test(n.j)?D:null},8609:function(e,t,n){var r,a;e=n.nmd(e),function o(i){var u=i,s=i.document;function l(e){return l="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},l(e)}var c=c||{};function d(e){this.name="SupportError",this.cause=e.cause,this.message="`".concat(e.cause,"` - feature unsupported in your environment."),e.ruleId&&(this.ruleId=e.ruleId,this.message+=" Skipping ".concat(this.ruleId," rule.")),this.stack=(new Error).stack}c.version="4.8.4",void 0===(a=function(){return c}.apply(t,[]))||(e.exports=a),"object"===l(e)&&e.exports&&"function"==typeof o.toString&&(c.source="("+o.toString()+')(typeof window === "object" ? window : this);',e.exports=c),"function"==typeof i.getComputedStyle&&(i.axe=c),d.prototype=Object.create(Error.prototype),d.prototype.constructor=d;var f=["node"],p=["relatedNodes"],h=["node"],m=["variant"],g=["matches"],v=["chromium"],D=["noImplicit"],b=["noPresentational"],y=["precision","format","inGamut"],w=["space"],E=["algorithm"],F=["method"],C=["maxDeltaE","deltaEMethod","steps","maxSteps"],x=["node"],A=["environmentData"],k=["environmentData"],T=["environmentData"],N=["environmentData"],O=["environmentData"];function S(e,t,n){return S=I()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var a=new(Function.bind.apply(e,r));return n&&B(a,n.prototype),a},S.apply(null,arguments)}function R(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&&B(e,t)}function B(e,t){return B=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},B(e,t)}function _(e){var t=I();return function(){var n,r=P(e);if(t){var a=P(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return M(e)}(this,n)}}function M(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I(){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 P(e){return P=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},P(e)}function L(e,t,n){$(e,t),t.set(e,n)}function j(e,t){$(e,t),t.add(e)}function $(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function q(e,t){return function(e,t){return t.get?t.get.call(e):t.value}(e,U(e,t,"get"))}function V(e,t,n){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return n}function z(e,t,n){return function(e,t,n){if(t.set)t.set.call(e,n);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=n}}(e,U(e,t,"set"),n),n}function U(e,t,n){if(!t.has(e))throw new TypeError("attempted to "+n+" private field on non-instance");return t.get(e)}function H(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function W(e){return function(e){if(Array.isArray(e))return ae(e)}(e)||K(e)||re(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function K(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function G(){return G=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},G.apply(this,arguments)}function Y(e,t){return X(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,u=[],s=!0,l=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;s=!1}else for(;!(s=(r=o.call(n)).done)&&(u.push(r.value),u.length!==t);s=!0);}catch(e){l=!0,a=e}finally{try{if(!s&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(l)throw a}}return u}}(e,t)||re(e,t)||Q()}function Q(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function X(e){if(Array.isArray(e))return e}function Z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J(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,te(r.key),r)}}function ee(e,t,n){return t&&J(e.prototype,t),n&&J(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function te(e){var t=function(e,t){if("object"!==l(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===l(t)?t:String(t)}function ne(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=re(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,a=function(){};return{s:a,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==n.return||n.return()}finally{if(u)throw o}}}}function re(e,t){if(e){if("string"==typeof e)return ae(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ae(e,t):void 0}}function ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function l(e){return l="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},l(e)}!function(){var e,t,o,B,I=Object.create,P=Object.defineProperty,$=Object.getPrototypeOf,U=Object.prototype.hasOwnProperty,J=Object.getOwnPropertyNames,ae=Object.getOwnPropertyDescriptor,oe=function(e,t){return function(){return t||e((t={exports:{}}).exports,t),t.exports}},ie=function(e,t){for(var n in t)P(e,n,{get:t[n],enumerable:!0})},ue=function(e){return function(e,t,n){if(t&&"object"===l(t)||"function"==typeof t){var r,a=ne(J(t));try{var o=function(){var a=r.value;U.call(e,a)||"default"===a||P(e,a,{get:function(){return t[a]},enumerable:!(n=ae(t,a))||n.enumerable})};for(a.s();!(r=a.n()).done;)o()}catch(e){a.e(e)}finally{a.f()}}return e}((t=P(null!=e?I($(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0}),P(t,"__esModule",{value:!0})),e);var t},se=function(e,t,n){return function(e,t,n){t in e?P(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n}(e,"symbol"!==l(t)?t+"":t,n),n},le=oe((function(e,t){"use strict";t.exports=function(){}})),ce=oe((function(e,t){"use strict";var n=le()();t.exports=function(e){return e!==n&&null!==e}})),de=oe((function(e,t){"use strict";var n=ce(),r=Array.prototype.forEach,a=Object.create;t.exports=function(e){var t=a(null);return r.call(arguments,(function(e){n(e)&&function(e,t){var n;for(n in e)t[n]=e[n]}(Object(e),t)})),t}})),fe=oe((function(e,t){"use strict";t.exports=function(){var e=Math.sign;return"function"==typeof e&&1===e(10)&&-1===e(-20)}})),pe=oe((function(e,t){"use strict";t.exports=function(e){return e=Number(e),isNaN(e)||0===e?e:e>0?1:-1}})),he=oe((function(e,t){"use strict";t.exports=fe()()?Math.sign:pe()})),me=oe((function(e,t){"use strict";var n=he(),r=Math.abs,a=Math.floor;t.exports=function(e){return isNaN(e)?0:0!==(e=Number(e))&&isFinite(e)?n(e)*a(r(e)):e}})),ge=oe((function(e,t){"use strict";var n=me(),r=Math.max;t.exports=function(e){return r(0,n(e))}})),ve=oe((function(e,t){"use strict";var n=ge();t.exports=function(e,t,r){var a;return isNaN(e)?(a=t)>=0?r&&a?a-1:a:1:!1!==e&&n(e)}})),De=oe((function(e,t){"use strict";t.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}})),be=oe((function(e,t){"use strict";var n=ce();t.exports=function(e){if(!n(e))throw new TypeError("Cannot use null or undefined");return e}})),ye=oe((function(e,t){"use strict";var n=De(),r=be(),a=Function.prototype.bind,o=Function.prototype.call,i=Object.keys,u=Object.prototype.propertyIsEnumerable;t.exports=function(e,t){return function(s,l){var c,d=arguments[2],f=arguments[3];return s=Object(r(s)),n(l),c=i(s),f&&c.sort("function"==typeof f?a.call(f,s):void 0),"function"!=typeof e&&(e=c[e]),o.call(e,c,(function(e,n){return u.call(s,e)?o.call(l,d,s[e],e,s,n):t}))}}})),we=oe((function(e,t){"use strict";t.exports=ye()("forEach")})),Ee=oe((function(){})),Fe=oe((function(e,t){"use strict";t.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}})),Ce=oe((function(e,t){"use strict";t.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}})),xe=oe((function(e,t){"use strict";var n=ce(),r=Object.keys;t.exports=function(e){return r(n(e)?Object(e):e)}})),Ae=oe((function(e,t){"use strict";t.exports=Ce()()?Object.keys:xe()})),ke=oe((function(e,t){"use strict";var n=Ae(),r=be(),a=Math.max;t.exports=function(e,t){var o,i,u,s=a(arguments.length,2);for(e=Object(r(e)),u=function(n){try{e[n]=t[n]}catch(e){o||(o=e)}},i=1;i<s;++i)n(t=arguments[i]).forEach(u);if(void 0!==o)throw o;return e}})),Te=oe((function(e,t){"use strict";t.exports=Fe()()?Object.assign:ke()})),Ne=oe((function(e,t){"use strict";var n=ce(),r={function:!0,object:!0};t.exports=function(e){return n(e)&&r[l(e)]||!1}})),Oe=oe((function(e,t){"use strict";var n=Te(),r=Ne(),a=ce(),o=Error.captureStackTrace;t.exports=function(e){var i=new Error(e),u=arguments[1],s=arguments[2];return a(s)||r(u)&&(s=u,u=null),a(s)&&n(i,s),a(u)&&(i.code=u),o&&o(i,t.exports),i}})),Se=oe((function(e,t){"use strict";var n=be(),r=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols;t.exports=function(e,t){var u,s=Object(n(t));if(e=Object(n(e)),o(s).forEach((function(n){try{r(e,n,a(t,n))}catch(e){u=e}})),"function"==typeof i&&i(s).forEach((function(n){try{r(e,n,a(t,n))}catch(e){u=e}})),void 0!==u)throw u;return e}})),Re=oe((function(e,t){"use strict";var n,r,a,o,i,u=ge(),s=function(e,t){return t};try{Object.defineProperty(s,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch(e){}1===s.length?(n={configurable:!0,writable:!1,enumerable:!1},r=Object.defineProperty,t.exports=function(e,t){return t=u(t),e.length===t?e:(n.value=t,r(e,"length",n))}):(o=Se(),i=[],a=function(e){var t,n=0;if(i[e])return i[e];for(t=[];e--;)t.push("a"+(++n).toString(36));return new Function("fn","return function ("+t.join(", ")+") { return fn.apply(this, arguments); };")},t.exports=function(e,t){var n;if(t=u(t),e.length===t)return e;n=a(t)(e);try{o(n,e)}catch(e){}return n})})),Be=oe((function(e,t){"use strict";t.exports=function(e){return null!=e}})),_e=oe((function(e,t){"use strict";var n=Be(),r={object:!0,function:!0,undefined:!0};t.exports=function(e){return!!n(e)&&hasOwnProperty.call(r,l(e))}})),Me=oe((function(e,t){"use strict";var n=_e();t.exports=function(e){if(!n(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}}})),Ie=oe((function(e,t){"use strict";var n=Me();t.exports=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(e){return!1}return!n(e)}})),Pe=oe((function(e,t){"use strict";var n=Ie(),r=/^\s*class[\s{/}]/,a=Function.prototype.toString;t.exports=function(e){return!!n(e)&&!r.test(a.call(e))}})),Le=oe((function(e,t){"use strict";var n="razdwatrzy";t.exports=function(){return"function"==typeof n.contains&&!0===n.contains("dwa")&&!1===n.contains("foo")}})),je=oe((function(e,t){"use strict";var n=String.prototype.indexOf;t.exports=function(e){return n.call(this,e,arguments[1])>-1}})),$e=oe((function(e,t){"use strict";t.exports=Le()()?String.prototype.contains:je()})),qe=oe((function(e,t){"use strict";var n=Be(),r=Pe(),a=Te(),o=de(),i=$e(),u=t.exports=function(e,t){var r,u,s,l,c;return arguments.length<2||"string"!=typeof e?(l=t,t=e,e=null):l=arguments[2],n(e)?(r=i.call(e,"c"),u=i.call(e,"e"),s=i.call(e,"w")):(r=s=!0,u=!1),c={value:t,configurable:r,enumerable:u,writable:s},l?a(o(l),c):c};u.gs=function(e,t,u){var s,l,c,d;return"string"!=typeof e?(c=u,u=t,t=e,e=null):c=arguments[3],n(t)?r(t)?n(u)?r(u)||(c=u,u=void 0):u=void 0:(c=t,t=u=void 0):t=void 0,n(e)?(s=i.call(e,"c"),l=i.call(e,"e")):(s=!0,l=!1),d={get:t,set:u,configurable:s,enumerable:l},c?a(o(c),d):d}})),Ve=oe((function(e,t){"use strict";var n,r,a,o,i,u,s,c=qe(),d=De(),f=Function.prototype.apply,p=Function.prototype.call,h=Object.create,m=Object.defineProperty,g=Object.defineProperties,v=Object.prototype.hasOwnProperty,D={configurable:!0,enumerable:!1,writable:!0};r=function(e,t){var r,o;return d(t),o=this,n.call(this,e,r=function(){a.call(o,e,r),f.call(t,this,arguments)}),r.__eeOnceListener__=t,this},a=function(e,t){var n,r,a,o;if(d(t),!v.call(this,"__ee__"))return this;if(!(n=this.__ee__)[e])return this;if(r=n[e],"object"===l(r))for(o=0;a=r[o];++o)a!==t&&a.__eeOnceListener__!==t||(2===r.length?n[e]=r[o?0:1]:r.splice(o,1));else r!==t&&r.__eeOnceListener__!==t||delete n[e];return this},o=function(e){var t,n,r,a,o;if(v.call(this,"__ee__")&&(a=this.__ee__[e]))if("object"===l(a)){for(n=arguments.length,o=new Array(n-1),t=1;t<n;++t)o[t-1]=arguments[t];for(a=a.slice(),t=0;r=a[t];++t)f.call(r,this,o)}else switch(arguments.length){case 1:p.call(a,this);break;case 2:p.call(a,this,arguments[1]);break;case 3:p.call(a,this,arguments[1],arguments[2]);break;default:for(n=arguments.length,o=new Array(n-1),t=1;t<n;++t)o[t-1]=arguments[t];f.call(a,this,o)}},i={on:n=function(e,t){var n;return d(t),v.call(this,"__ee__")?n=this.__ee__:(n=D.value=h(null),m(this,"__ee__",D),D.value=null),n[e]?"object"===l(n[e])?n[e].push(t):n[e]=[n[e],t]:n[e]=t,this},once:r,off:a,emit:o},u={on:c(n),once:c(r),off:c(a),emit:c(o)},s=g({},u),t.exports=e=function(e){return null==e?h(s):g(Object(e),u)},e.methods=i})),ze=oe((function(e,t){"use strict";t.exports=function(){var e,t,n=Array.from;return"function"==typeof n&&(t=n(e=["raz","dwa"]),Boolean(t&&t!==e&&"dwa"===t[1]))}})),Ue=oe((function(e,t){"use strict";t.exports=function(){return"object"===("undefined"==typeof globalThis?"undefined":l(globalThis))&&!!globalThis&&globalThis.Array===Array}})),He=oe((function(e,t){var n=function(){if("object"===("undefined"==typeof self?"undefined":l(self))&&self)return self;if("object"===(void 0===i?"undefined":l(i))&&i)return i;throw new Error("Unable to resolve global `this`")};t.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(e){return n()}try{return __global__||n()}finally{delete Object.prototype.__global__}}()})),We=oe((function(e,t){"use strict";t.exports=Ue()()?globalThis:He()})),Ke=oe((function(e,t){"use strict";var n=We(),r={object:!0,symbol:!0};t.exports=function(){var e,t=n.Symbol;if("function"!=typeof t)return!1;e=t("test symbol");try{String(e)}catch(e){return!1}return!!r[l(t.iterator)]&&!!r[l(t.toPrimitive)]&&!!r[l(t.toStringTag)]}})),Ge=oe((function(e,t){"use strict";t.exports=function(e){return!!e&&("symbol"===l(e)||!!e.constructor&&"Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag])}})),Ye=oe((function(e,t){"use strict";var n=Ge();t.exports=function(e){if(!n(e))throw new TypeError(e+" is not a symbol");return e}})),Qe=oe((function(e,t){"use strict";var n=qe(),r=Object.create,a=Object.defineProperty,o=Object.prototype,i=r(null);t.exports=function(e){for(var t,r,u=0;i[e+(u||"")];)++u;return i[e+=u||""]=!0,a(o,t="@@"+e,n.gs(null,(function(e){r||(r=!0,a(this,t,n(e)),r=!1)}))),t}})),Xe=oe((function(e,t){"use strict";var n=qe(),r=We().Symbol;t.exports=function(e){return Object.defineProperties(e,{hasInstance:n("",r&&r.hasInstance||e("hasInstance")),isConcatSpreadable:n("",r&&r.isConcatSpreadable||e("isConcatSpreadable")),iterator:n("",r&&r.iterator||e("iterator")),match:n("",r&&r.match||e("match")),replace:n("",r&&r.replace||e("replace")),search:n("",r&&r.search||e("search")),species:n("",r&&r.species||e("species")),split:n("",r&&r.split||e("split")),toPrimitive:n("",r&&r.toPrimitive||e("toPrimitive")),toStringTag:n("",r&&r.toStringTag||e("toStringTag")),unscopables:n("",r&&r.unscopables||e("unscopables"))})}})),Ze=oe((function(e,t){"use strict";var n=qe(),r=Ye(),a=Object.create(null);t.exports=function(e){return Object.defineProperties(e,{for:n((function(t){return a[t]?a[t]:a[t]=e(String(t))})),keyFor:n((function(e){var t;for(t in r(e),a)if(a[t]===e)return t}))})}})),Je=oe((function(e,t){"use strict";var n,r,a,o=qe(),i=Ye(),u=We().Symbol,s=Qe(),c=Xe(),d=Ze(),f=Object.create,p=Object.defineProperties,h=Object.defineProperty;if("function"==typeof u)try{String(u()),a=!0}catch(e){}else u=null;r=function(e){if(this instanceof r)throw new TypeError("Symbol is not a constructor");return n(e)},t.exports=n=function e(t){var n;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return a?u(t):(n=f(r.prototype),t=void 0===t?"":String(t),p(n,{__description__:o("",t),__name__:o("",s(t))}))},c(n),d(n),p(r.prototype,{constructor:o(n),toString:o("",(function(){return this.__name__}))}),p(n.prototype,{toString:o((function(){return"Symbol ("+i(this).__description__+")"})),valueOf:o((function(){return i(this)}))}),h(n.prototype,n.toPrimitive,o("",(function(){var e=i(this);return"symbol"===l(e)?e:e.toString()}))),h(n.prototype,n.toStringTag,o("c","Symbol")),h(r.prototype,n.toStringTag,o("c",n.prototype[n.toStringTag])),h(r.prototype,n.toPrimitive,o("c",n.prototype[n.toPrimitive]))})),et=oe((function(e,t){"use strict";t.exports=Ke()()?We().Symbol:Je()})),tt=oe((function(e,t){"use strict";var n=Object.prototype.toString,r=n.call(function(){return arguments}());t.exports=function(e){return n.call(e)===r}})),nt=oe((function(e,t){"use strict";var n=Object.prototype.toString,r=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(e){return"function"==typeof e&&r(n.call(e))}})),rt=oe((function(e,t){"use strict";var n=Object.prototype.toString,r=n.call("");t.exports=function(e){return"string"==typeof e||e&&"object"===l(e)&&(e instanceof String||n.call(e)===r)||!1}})),at=oe((function(e,t){"use strict";var n=et().iterator,r=tt(),a=nt(),o=ge(),i=De(),u=be(),s=ce(),l=rt(),c=Array.isArray,d=Function.prototype.call,f={configurable:!0,enumerable:!0,writable:!0,value:null},p=Object.defineProperty;t.exports=function(e){var t,h,m,g,v,D,b,y,w,E,F=arguments[1],C=arguments[2];if(e=Object(u(e)),s(F)&&i(F),this&&this!==Array&&a(this))t=this;else{if(!F){if(r(e))return 1!==(v=e.length)?Array.apply(null,e):((g=new Array(1))[0]=e[0],g);if(c(e)){for(g=new Array(v=e.length),h=0;h<v;++h)g[h]=e[h];return g}}g=[]}if(!c(e))if(void 0!==(w=e[n])){for(b=i(w).call(e),t&&(g=new t),y=b.next(),h=0;!y.done;)E=F?d.call(F,C,y.value,h):y.value,t?(f.value=E,p(g,h,f)):g[h]=E,y=b.next(),++h;v=h}else if(l(e)){for(v=e.length,t&&(g=new t),h=0,m=0;h<v;++h)E=e[h],h+1<v&&(D=E.charCodeAt(0))>=55296&&D<=56319&&(E+=e[++h]),E=F?d.call(F,C,E,m):E,t?(f.value=E,p(g,m,f)):g[m]=E,++m;v=m}if(void 0===v)for(v=o(e.length),t&&(g=new t(v)),h=0;h<v;++h)E=F?d.call(F,C,e[h],h):e[h],t?(f.value=E,p(g,h,f)):g[h]=E;return t&&(f.value=null,g.length=v),g}})),ot=oe((function(e,t){"use strict";t.exports=ze()()?Array.from:at()})),it=oe((function(e,t){"use strict";var n=ot(),r=Array.isArray;t.exports=function(e){return r(e)?e:n(e)}})),ut=oe((function(e,t){"use strict";var n,r=it(),a=ce(),o=De(),i=Array.prototype.slice;n=function(e){return this.map((function(t,n){return t?t(e[n]):e[n]})).concat(i.call(e,this.length))},t.exports=function(e){return(e=r(e)).forEach((function(e){a(e)&&o(e)})),n.bind(e)}})),st=oe((function(e,t){"use strict";var n=De();t.exports=function(e){var t;return"function"==typeof e?{set:e,get:e}:(t={get:n(e.get)},void 0!==e.set?(t.set=n(e.set),e.delete&&(t.delete=n(e.delete)),e.clear&&(t.clear=n(e.clear)),t):(t.set=t.get,t))}})),lt=oe((function(e,t){"use strict";var n=Oe(),r=Re(),a=qe(),o=Ve().methods,i=ut(),u=st(),s=Function.prototype.apply,l=Function.prototype.call,c=Object.create,d=Object.defineProperties,f=o.on,p=o.emit;t.exports=function(e,t,o){var h,m,g,v,D,b,y,w,E,F,C,x,A,k,T,N=c(null);return m=!1!==t?t:isNaN(e.length)?1:e.length,o.normalizer&&(F=u(o.normalizer),g=F.get,v=F.set,D=F.delete,b=F.clear),null!=o.resolvers&&(T=i(o.resolvers)),k=g?r((function(t){var r,a,o=arguments;if(T&&(o=T(o)),null!==(r=g(o))&&hasOwnProperty.call(N,r))return C&&h.emit("get",r,o,this),N[r];if(a=1===o.length?l.call(e,this,o[0]):s.call(e,this,o),null===r){if(null!==(r=g(o)))throw n("Circular invocation","CIRCULAR_INVOCATION");r=v(o)}else if(hasOwnProperty.call(N,r))throw n("Circular invocation","CIRCULAR_INVOCATION");return N[r]=a,x&&h.emit("set",r,null,a),a}),m):0===t?function(){var t;if(hasOwnProperty.call(N,"data"))return C&&h.emit("get","data",arguments,this),N.data;if(t=arguments.length?s.call(e,this,arguments):l.call(e,this),hasOwnProperty.call(N,"data"))throw n("Circular invocation","CIRCULAR_INVOCATION");return N.data=t,x&&h.emit("set","data",null,t),t}:function(t){var r,a,o=arguments;if(T&&(o=T(arguments)),a=String(o[0]),hasOwnProperty.call(N,a))return C&&h.emit("get",a,o,this),N[a];if(r=1===o.length?l.call(e,this,o[0]):s.call(e,this,o),hasOwnProperty.call(N,a))throw n("Circular invocation","CIRCULAR_INVOCATION");return N[a]=r,x&&h.emit("set",a,null,r),r},h={original:e,memoized:k,profileName:o.profileName,get:function(e){return T&&(e=T(e)),g?g(e):String(e[0])},has:function(e){return hasOwnProperty.call(N,e)},delete:function(e){var t;hasOwnProperty.call(N,e)&&(D&&D(e),t=N[e],delete N[e],A&&h.emit("delete",e,t))},clear:function(){var e=N;b&&b(),N=c(null),h.emit("clear",e)},on:function(e,t){return"get"===e?C=!0:"set"===e?x=!0:"delete"===e&&(A=!0),f.call(this,e,t)},emit:p,updateEnv:function(){e=h.original}},y=g?r((function(e){var t,n=arguments;T&&(n=T(n)),null!==(t=g(n))&&h.delete(t)}),m):0===t?function(){return h.delete("data")}:function(e){return T&&(e=T(arguments)[0]),h.delete(e)},w=r((function(){var e,n=arguments;return 0===t?N.data:(T&&(n=T(n)),e=g?g(n):String(n[0]),N[e])})),E=r((function(){var e,n=arguments;return 0===t?h.has("data"):(T&&(n=T(n)),null!==(e=g?g(n):String(n[0]))&&h.has(e))})),d(k,{__memoized__:a(!0),delete:a(y),clear:a(h.clear),_get:a(w),_has:a(E)}),h}})),ct=oe((function(e,t){"use strict";var n=De(),r=we(),a=Ee(),o=lt(),i=ve();t.exports=function e(t){var u,s,l;if(n(t),(u=Object(arguments[1])).async&&u.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(t,"__memoized__")&&!u.force?t:(s=i(u.length,t.length,u.async&&a.async),l=o(t,s,u),r(a,(function(e,t){u[t]&&e(u[t],l,u)})),e.__profiler__&&e.__profiler__(l),l.updateEnv(),l.memoized)}})),dt=oe((function(e,t){"use strict";t.exports=function(e){var t,n,r=e.length;if(!r)return"";for(t=String(e[n=0]);--r;)t+=""+e[++n];return t}})),ft=oe((function(e,t){"use strict";t.exports=function(e){return e?function(t){for(var n=String(t[0]),r=0,a=e;--a;)n+=""+t[++r];return n}:function(){return""}}})),pt=oe((function(e,t){"use strict";t.exports=function(){var e=Number.isNaN;return"function"==typeof e&&!e({})&&e(NaN)&&!e(34)}})),ht=oe((function(e,t){"use strict";t.exports=function(e){return e!=e}})),mt=oe((function(e,t){"use strict";t.exports=pt()()?Number.isNaN:ht()})),gt=oe((function(e,t){"use strict";var n=mt(),r=ge(),a=be(),o=Array.prototype.indexOf,i=Object.prototype.hasOwnProperty,u=Math.abs,s=Math.floor;t.exports=function(e){var t,l,c,d;if(!n(e))return o.apply(this,arguments);for(l=r(a(this).length),c=arguments[1],t=c=isNaN(c)?0:c>=0?s(c):r(this.length)-s(u(c));t<l;++t)if(i.call(this,t)&&(d=this[t],n(d)))return t;return-1}})),vt=oe((function(e,t){"use strict";var n=gt(),r=Object.create;t.exports=function(){var e=0,t=[],a=r(null);return{get:function(e){var r,a=0,o=t,i=e.length;if(0===i)return o[i]||null;if(o=o[i]){for(;a<i-1;){if(-1===(r=n.call(o[0],e[a])))return null;o=o[1][r],++a}return-1===(r=n.call(o[0],e[a]))?null:o[1][r]||null}return null},set:function(r){var o,i=0,u=t,s=r.length;if(0===s)u[s]=++e;else{for(u[s]||(u[s]=[[],[]]),u=u[s];i<s-1;)-1===(o=n.call(u[0],r[i]))&&(o=u[0].push(r[i])-1,u[1].push([[],[]])),u=u[1][o],++i;-1===(o=n.call(u[0],r[i]))&&(o=u[0].push(r[i])-1),u[1][o]=++e}return a[e]=r,e},delete:function(e){var r,o=0,i=t,u=a[e],s=u.length,l=[];if(0===s)delete i[s];else if(i=i[s]){for(;o<s-1;){if(-1===(r=n.call(i[0],u[o])))return;l.push(i,r),i=i[1][r],++o}if(-1===(r=n.call(i[0],u[o])))return;for(e=i[1][r],i[0].splice(r,1),i[1].splice(r,1);!i[0].length&&l.length;)r=l.pop(),(i=l.pop())[0].splice(r,1),i[1].splice(r,1)}delete a[e]},clear:function(){t=[],a=r(null)}}}})),Dt=oe((function(e,t){"use strict";var n=gt();t.exports=function(){var e=0,t=[],r=[];return{get:function(e){var a=n.call(t,e[0]);return-1===a?null:r[a]},set:function(n){return t.push(n[0]),r.push(++e),e},delete:function(e){var a=n.call(r,e);-1!==a&&(t.splice(a,1),r.splice(a,1))},clear:function(){t=[],r=[]}}}})),bt=oe((function(e,t){"use strict";var n=gt(),r=Object.create;t.exports=function(e){var t=0,a=[[],[]],o=r(null);return{get:function(t){for(var r,o=0,i=a;o<e-1;){if(-1===(r=n.call(i[0],t[o])))return null;i=i[1][r],++o}return-1===(r=n.call(i[0],t[o]))?null:i[1][r]||null},set:function(r){for(var i,u=0,s=a;u<e-1;)-1===(i=n.call(s[0],r[u]))&&(i=s[0].push(r[u])-1,s[1].push([[],[]])),s=s[1][i],++u;return-1===(i=n.call(s[0],r[u]))&&(i=s[0].push(r[u])-1),s[1][i]=++t,o[t]=r,t},delete:function(t){for(var r,i=0,u=a,s=[],l=o[t];i<e-1;){if(-1===(r=n.call(u[0],l[i])))return;s.push(u,r),u=u[1][r],++i}if(-1!==(r=n.call(u[0],l[i]))){for(t=u[1][r],u[0].splice(r,1),u[1].splice(r,1);!u[0].length&&s.length;)r=s.pop(),(u=s.pop())[0].splice(r,1),u[1].splice(r,1);delete o[t]}},clear:function(){a=[[],[]],o=r(null)}}}})),yt=oe((function(e,t){"use strict";var n=De(),r=we(),a=Function.prototype.call;t.exports=function(e,t){var o={},i=arguments[2];return n(t),r(e,(function(e,n,r,u){o[n]=a.call(t,i,e,n,r,u)})),o}})),wt=oe((function(e,t){"use strict";var n=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e},r=function(e){var t,r,a=s.createTextNode(""),o=0;return new e((function(){var e;if(t)r&&(t=r.concat(t));else{if(!r)return;t=r}if(r=t,t=null,"function"==typeof r)return e=r,r=null,void e();for(a.data=o=++o%2;r;)e=r.shift(),r.length||(r=null),e()})).observe(a,{characterData:!0}),function(e){n(e),t?"function"==typeof t?t=[t,e]:t.push(e):(t=e,a.data=o=++o%2)}};t.exports=function(){if("object"===("undefined"==typeof process?"undefined":l(process))&&process&&"function"==typeof process.nextTick)return process.nextTick;if("function"==typeof queueMicrotask)return function(e){queueMicrotask(n(e))};if("object"===(void 0===s?"undefined":l(s))&&s){if("function"==typeof MutationObserver)return r(MutationObserver);if("function"==typeof WebKitMutationObserver)return r(WebKitMutationObserver)}return"function"==typeof setImmediate?function(e){setImmediate(n(e))}:"function"==typeof setTimeout||"object"===("undefined"==typeof setTimeout?"undefined":l(setTimeout))?function(e){setTimeout(n(e),0)}:null}()})),Et=oe((function(){"use strict";var e=ot(),t=yt(),n=Se(),r=Re(),a=wt(),o=Array.prototype.slice,i=Function.prototype.apply,u=Object.create;Ee().async=function(s,l){var c,d,f,p=u(null),h=u(null),m=l.memoized,g=l.original;l.memoized=r((function(e){var t=arguments,n=t[t.length-1];return"function"==typeof n&&(c=n,t=o.call(t,0,-1)),m.apply(d=this,f=t)}),m);try{n(l.memoized,m)}catch(e){}l.on("get",(function(e){var t,n,r;if(c){if(p[e])return"function"==typeof p[e]?p[e]=[p[e],c]:p[e].push(c),void(c=null);t=c,n=d,r=f,c=d=f=null,a((function(){var a;hasOwnProperty.call(h,e)?(a=h[e],l.emit("getasync",e,r,n),i.call(t,a.context,a.args)):(c=t,d=n,f=r,m.apply(n,r))}))}})),l.original=function(){var t,n,r,o;return c?(t=e(arguments),n=function t(n){var r,u,s=t.id;if(null!=s){if(delete t.id,r=p[s],delete p[s],r)return u=e(arguments),l.has(s)&&(n?l.delete(s):(h[s]={context:this,args:u},l.emit("setasync",s,"function"==typeof r?1:r.length))),"function"==typeof r?o=i.call(r,this,u):r.forEach((function(e){o=i.call(e,this,u)}),this),o}else a(i.bind(t,this,arguments))},r=c,c=d=f=null,t.push(n),o=i.call(g,this,t),n.cb=r,c=n,o):i.call(g,this,arguments)},l.on("set",(function(e){c?(p[e]?"function"==typeof p[e]?p[e]=[p[e],c.cb]:p[e].push(c.cb):p[e]=c.cb,delete c.cb,c.id=e,c=null):l.delete(e)})),l.on("delete",(function(e){var t;hasOwnProperty.call(p,e)||h[e]&&(t=h[e],delete h[e],l.emit("deleteasync",e,o.call(t.args,1)))})),l.on("clear",(function(){var e=h;h=u(null),l.emit("clearasync",t(e,(function(e){return o.call(e.args,1)})))}))}})),Ft=oe((function(e,t){"use strict";var n=Array.prototype.forEach,r=Object.create;t.exports=function(e){var t=r(null);return n.call(arguments,(function(e){t[e]=!0})),t}})),Ct=oe((function(e,t){"use strict";t.exports=function(e){return"function"==typeof e}})),xt=oe((function(e,t){"use strict";var n=Ct();t.exports=function(e){try{return e&&n(e.toString)?e.toString():String(e)}catch(e){throw new TypeError("Passed argument cannot be stringifed")}}})),At=oe((function(e,t){"use strict";var n=be(),r=xt();t.exports=function(e){return r(n(e))}})),kt=oe((function(e,t){"use strict";var n=Ct();t.exports=function(e){try{return e&&n(e.toString)?e.toString():String(e)}catch(e){return"<Non-coercible to string value>"}}})),Tt=oe((function(e,t){"use strict";var n=kt(),r=/[\n\r\u2028\u2029]/g;t.exports=function(e){var t=n(e);return t.length>100&&(t=t.slice(0,99)+"…"),t.replace(r,(function(e){return JSON.stringify(e).slice(1,-1)}))}})),Nt=oe((function(e,t){function n(e){return!!e&&("object"===l(e)||"function"==typeof e)&&"function"==typeof e.then}t.exports=n,t.exports.default=n})),Ot=oe((function(){"use strict";var e=yt(),t=Ft(),n=At(),r=Tt(),a=Nt(),o=wt(),i=Object.create,u=t("then","then:finally","done","done:finally");Ee().promise=function(t,s){var l=i(null),c=i(null),d=i(null);if(!0===t)t=null;else if(t=n(t),!u[t])throw new TypeError("'"+r(t)+"' is not valid promise mode");s.on("set",(function(e,n,r){var i=!1;if(!a(r))return c[e]=r,void s.emit("setasync",e,1);l[e]=1,d[e]=r;var u=function(t){var n=l[e];if(i)throw new Error("Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)\nConsider to rely on 'then' or 'done' mode instead.");n&&(delete l[e],c[e]=t,s.emit("setasync",e,n))},f=function(){i=!0,l[e]&&(delete l[e],delete d[e],s.delete(e))},p=t;if(p||(p="then"),"then"===p){var h=function(){o(f)};"function"==typeof(r=r.then((function(e){o(u.bind(this,e))}),h)).finally&&r.finally(h)}else if("done"===p){if("function"!=typeof r.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");r.done(u,f)}else if("done:finally"===p){if("function"!=typeof r.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if("function"!=typeof r.finally)throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");r.done(u),r.finally(f)}})),s.on("get",(function(e,t,n){var r;if(l[e])++l[e];else{r=d[e];var i=function(){s.emit("getasync",e,t,n)};a(r)?"function"==typeof r.done?r.done(i):r.then((function(){o(i)})):i()}})),s.on("delete",(function(e){if(delete d[e],l[e])delete l[e];else if(hasOwnProperty.call(c,e)){var t=c[e];delete c[e],s.emit("deleteasync",e,[t])}})),s.on("clear",(function(){var t=c;c=i(null),l=i(null),d=i(null),s.emit("clearasync",e(t,(function(e){return[e]})))}))}})),St=oe((function(){"use strict";var e=De(),t=we(),n=Ee(),r=Function.prototype.apply;n.dispose=function(a,o,i){var u;if(e(a),i.async&&n.async||i.promise&&n.promise)return o.on("deleteasync",u=function(e,t){r.call(a,null,t)}),void o.on("clearasync",(function(e){t(e,(function(e,t){u(t,e)}))}));o.on("delete",u=function(e,t){a(t)}),o.on("clear",(function(e){t(e,(function(e,t){u(t,e)}))}))}})),Rt=oe((function(e,t){"use strict";t.exports=2147483647})),Bt=oe((function(e,t){"use strict";var n=ge(),r=Rt();t.exports=function(e){if((e=n(e))>r)throw new TypeError(e+" exceeds maximum possible timeout");return e}})),_t=oe((function(){"use strict";var e=ot(),t=we(),n=wt(),r=Nt(),a=Bt(),o=Ee(),i=Function.prototype,u=Math.max,s=Math.min,l=Object.create;o.maxAge=function(c,d,f){var p,h,m,g;(c=a(c))&&(p=l(null),h=f.async&&o.async||f.promise&&o.promise?"async":"",d.on("set"+h,(function(e){p[e]=setTimeout((function(){d.delete(e)}),c),"function"==typeof p[e].unref&&p[e].unref(),g&&(g[e]&&"nextTick"!==g[e]&&clearTimeout(g[e]),g[e]=setTimeout((function(){delete g[e]}),m),"function"==typeof g[e].unref&&g[e].unref())})),d.on("delete"+h,(function(e){clearTimeout(p[e]),delete p[e],g&&("nextTick"!==g[e]&&clearTimeout(g[e]),delete g[e])})),f.preFetch&&(m=!0===f.preFetch||isNaN(f.preFetch)?.333:u(s(Number(f.preFetch),1),0))&&(g={},m=(1-m)*c,d.on("get"+h,(function(t,a,o){g[t]||(g[t]="nextTick",n((function(){var n;"nextTick"===g[t]&&(delete g[t],d.delete(t),f.async&&(a=e(a)).push(i),n=d.memoized.apply(o,a),f.promise&&r(n)&&("function"==typeof n.done?n.done(i,i):n.then(i,i)))})))}))),d.on("clear"+h,(function(){t(p,(function(e){clearTimeout(e)})),p={},g&&(t(g,(function(e){"nextTick"!==e&&clearTimeout(e)})),g={})})))}})),Mt=oe((function(e,t){"use strict";var n=ge(),r=Object.create,a=Object.prototype.hasOwnProperty;t.exports=function(e){var t,o=0,i=1,u=r(null),s=r(null),l=0;return e=n(e),{hit:function(n){var r=s[n],c=++l;if(u[c]=n,s[n]=c,!r){if(++o<=e)return;return n=u[i],t(n),n}if(delete u[r],i===r)for(;!a.call(u,++i););},delete:t=function(e){var t=s[e];if(t&&(delete u[t],delete s[e],--o,i===t)){if(!o)return l=0,void(i=1);for(;!a.call(u,++i););}},clear:function(){o=0,i=1,u=r(null),s=r(null),l=0}}}})),It=oe((function(){"use strict";var e=ge(),t=Mt(),n=Ee();n.max=function(r,a,o){var i,u,s;(r=e(r))&&(u=t(r),i=o.async&&n.async||o.promise&&n.promise?"async":"",a.on("set"+i,s=function(e){void 0!==(e=u.hit(e))&&a.delete(e)}),a.on("get"+i,s),a.on("delete"+i,u.delete),a.on("clear"+i,u.clear))}})),Pt=oe((function(){"use strict";var e=qe(),t=Ee(),n=Object.create,r=Object.defineProperties;t.refCounter=function(a,o,i){var u,s;u=n(null),s=i.async&&t.async||i.promise&&t.promise?"async":"",o.on("set"+s,(function(e,t){u[e]=t||1})),o.on("get"+s,(function(e){++u[e]})),o.on("delete"+s,(function(e){delete u[e]})),o.on("clear"+s,(function(){u={}})),r(o.memoized,{deleteRef:e((function(){var e=o.get(arguments);return null===e?null:u[e]?! --u[e]&&(o.delete(e),!0):null})),getRefCount:e((function(){var e=o.get(arguments);return null===e?0:u[e]?u[e]:0}))})}})),Lt=oe((function(e,t){"use strict";var n=de(),r=ve(),a=ct();t.exports=function(e){var t,o=n(arguments[1]);return o.normalizer||0!==(t=o.length=r(o.length,e.length,o.async))&&(o.primitive?!1===t?o.normalizer=dt():t>1&&(o.normalizer=ft()(t)):o.normalizer=!1===t?vt()():1===t?Dt()():bt()(t)),o.async&&Et(),o.promise&&Ot(),o.dispose&&St(),o.maxAge&&_t(),o.max&&It(),o.refCounter&&Pt(),a(e,o)}})),jt=oe((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isIdentStart=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e},e.isIdent=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"-"===e||"_"===e},e.isHex=function(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"},e.escapeIdentifier=function(t){for(var n=t.length,r="",a=0;a<n;){var o=t.charAt(a);if(e.identSpecialChars[o])r+="\\"+o;else if("_"===o||"-"===o||o>="A"&&o<="Z"||o>="a"&&o<="z"||0!==a&&o>="0"&&o<="9")r+=o;else{var i=o.charCodeAt(0);if(55296==(63488&i)){var u=t.charCodeAt(a++);if(55296!=(64512&i)||56320!=(64512&u))throw Error("UCS-2(decode): illegal sequence");i=((1023&i)<<10)+(1023&u)+65536}r+="\\"+i.toString(16)+" "}a++}return r},e.escapeStr=function(t){for(var n,r=t.length,a="",o=0;o<r;){var i=t.charAt(o);'"'===i?i='\\"':"\\"===i?i="\\\\":void 0!==(n=e.strReplacementsRev[i])&&(i=n),a+=i,o++}return'"'+a+'"'},e.identSpecialChars={"!":!0,'"':!0,"#":!0,$:!0,"%":!0,"&":!0,"'":!0,"(":!0,")":!0,"*":!0,"+":!0,",":!0,".":!0,"/":!0,";":!0,"<":!0,"=":!0,">":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},e.strReplacementsRev={"\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f","\v":"\\v"},e.singleQuoteEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\",'"':'"'}})),$t=oe((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=jt();e.parseCssSelector=function(e,n,r,a,o,i){var u=e.length,s="";function l(r,a){var o="";for(n++,s=e.charAt(n);n<u;){if(s===r)return n++,o;if("\\"===s){n++;var i=void 0;if((s=e.charAt(n))===r)o+=r;else if(void 0!==(i=a[s]))o+=i;else{if(t.isHex(s)){var l=s;for(n++,s=e.charAt(n);t.isHex(s);)l+=s,n++,s=e.charAt(n);" "===s&&(n++,s=e.charAt(n)),o+=String.fromCharCode(parseInt(l,16));continue}o+=s}}else o+=s;n++,s=e.charAt(n)}return o}function c(){var r="";for(s=e.charAt(n);n<u;){if(t.isIdent(s))r+=s;else{if("\\"!==s)return r;if(++n>=u)throw Error("Expected symbol but end of file reached.");if(s=e.charAt(n),t.identSpecialChars[s])r+=s;else{if(t.isHex(s)){var a=s;for(n++,s=e.charAt(n);t.isHex(s);)a+=s,n++,s=e.charAt(n);" "===s&&(n++,s=e.charAt(n)),r+=String.fromCharCode(parseInt(a,16));continue}r+=s}}n++,s=e.charAt(n)}return r}function d(){s=e.charAt(n);for(var t=!1;" "===s||"\t"===s||"\n"===s||"\r"===s||"\f"===s;)t=!0,n++,s=e.charAt(n);return t}function f(){var t=p();if(!t)return null;var r=t;for(s=e.charAt(n);","===s;){if(n++,d(),"selectors"!==r.type&&(r={type:"selectors",selectors:[t]}),!(t=p()))throw Error('Rule expected after ",".');r.selectors.push(t)}return r}function p(){d();var t={type:"ruleSet"},r=h();if(!r)return null;for(var a=t;r&&(r.type="rule",a.rule=r,a=r,d(),s=e.charAt(n),!(n>=u||","===s||")"===s));)if(o[s]){var i=s;if(n++,d(),!(r=h()))throw Error('Rule expected after "'+i+'".');r.nestingOperator=i}else(r=h())&&(r.nestingOperator=null);return t}function h(){for(var o=null;n<u;)if("*"===(s=e.charAt(n)))n++,(o=o||{}).tagName="*";else if(t.isIdentStart(s)||"\\"===s)(o=o||{}).tagName=c();else if("."===s)n++,((o=o||{}).classNames=o.classNames||[]).push(c());else if("#"===s)n++,(o=o||{}).id=c();else if("["===s){n++,d();var p={name:c()};if(d(),"]"===s)n++;else{var h="";if(a[s]&&(h=s,n++,s=e.charAt(n)),n>=u)throw Error('Expected "=" but end of file reached.');if("="!==s)throw Error('Expected "=" but "'+s+'" found.');p.operator=h+"=",n++,d();var m="";if(p.valueType="string",'"'===s)m=l('"',t.doubleQuotesEscapeChars);else if("'"===s)m=l("'",t.singleQuoteEscapeChars);else if(i&&"$"===s)n++,m=c(),p.valueType="substitute";else{for(;n<u&&"]"!==s;)m+=s,n++,s=e.charAt(n);m=m.trim()}if(d(),n>=u)throw Error('Expected "]" but end of file reached.');if("]"!==s)throw Error('Expected "]" but "'+s+'" found.');n++,p.value=m}((o=o||{}).attrs=o.attrs||[]).push(p)}else{if(":"!==s)break;n++;var g=c(),v={name:g};if("("===s){n++;var D="";if(d(),"selector"===r[g])v.valueType="selector",D=f();else{if(v.valueType=r[g]||"string",'"'===s)D=l('"',t.doubleQuotesEscapeChars);else if("'"===s)D=l("'",t.singleQuoteEscapeChars);else if(i&&"$"===s)n++,D=c(),v.valueType="substitute";else{for(;n<u&&")"!==s;)D+=s,n++,s=e.charAt(n);D=D.trim()}d()}if(n>=u)throw Error('Expected ")" but end of file reached.');if(")"!==s)throw Error('Expected ")" but "'+s+'" found.');n++,v.value=D}((o=o||{}).pseudos=o.pseudos||[]).push(v)}return o}return function(){var t=f();if(n<u)throw Error('Rule expected but "'+e.charAt(n)+'" found.');return t}()}})),qt=oe((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=jt();e.renderEntity=function e(n){var r="";switch(n.type){case"ruleSet":for(var a=n.rule,o=[];a;)a.nestingOperator&&o.push(a.nestingOperator),o.push(e(a)),a=a.rule;r=o.join(" ");break;case"selectors":r=n.selectors.map(e).join(", ");break;case"rule":n.tagName&&(r="*"===n.tagName?"*":t.escapeIdentifier(n.tagName)),n.id&&(r+="#"+t.escapeIdentifier(n.id)),n.classNames&&(r+=n.classNames.map((function(e){return"."+t.escapeIdentifier(e)})).join("")),n.attrs&&(r+=n.attrs.map((function(e){return"operator"in e?"substitute"===e.valueType?"["+t.escapeIdentifier(e.name)+e.operator+"$"+e.value+"]":"["+t.escapeIdentifier(e.name)+e.operator+t.escapeStr(e.value)+"]":"["+t.escapeIdentifier(e.name)+"]"})).join("")),n.pseudos&&(r+=n.pseudos.map((function(n){return n.valueType?"selector"===n.valueType?":"+t.escapeIdentifier(n.name)+"("+e(n.value)+")":"substitute"===n.valueType?":"+t.escapeIdentifier(n.name)+"($"+n.value+")":"numeric"===n.valueType?":"+t.escapeIdentifier(n.name)+"("+n.value+")":":"+t.escapeIdentifier(n.name)+"("+t.escapeIdentifier(n.value)+")":":"+t.escapeIdentifier(n.name)})).join(""));break;default:throw Error('Unknown entity type: "'+n.type+'".')}return r}})),Vt=oe((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=$t(),n=qt(),r=function(){function e(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return e.prototype.registerSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var a=r[n];this.pseudos[a]="selector"}return this},e.prototype.unregisterSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var a=r[n];delete this.pseudos[a]}return this},e.prototype.registerNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var a=r[n];this.pseudos[a]="numeric"}return this},e.prototype.unregisterNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var a=r[n];delete this.pseudos[a]}return this},e.prototype.registerNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var a=r[n];this.ruleNestingOperators[a]=!0}return this},e.prototype.unregisterNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var a=r[n];delete this.ruleNestingOperators[a]}return this},e.prototype.registerAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var a=r[n];this.attrEqualityMods[a]=!0}return this},e.prototype.unregisterAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n=0,r=e;n<r.length;n++){var a=r[n];delete this.attrEqualityMods[a]}return this},e.prototype.enableSubstitutes=function(){return this.substitutesEnabled=!0,this},e.prototype.disableSubstitutes=function(){return this.substitutesEnabled=!1,this},e.prototype.parse=function(e){return t.parseCssSelector(e,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},e.prototype.render=function(e){return n.renderEntity(e).trim()},e}();e.CssSelectorParser=r})),zt=oe((function(e,t){var o;o=function(){"use strict";function e(e){return"function"==typeof e}var t=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},n=0,r=void 0,a=void 0,o=function(e,t){g[n]=e,g[n+1]=t,2===(n+=2)&&(a?a(v):E())},c=void 0!==i?i:void 0,d=c||{},f=d.MutationObserver||d.WebKitMutationObserver,p="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),h="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function m(){var e=setTimeout;return function(){return e(v,1)}}var g=new Array(1e3);function v(){for(var e=0;e<n;e+=2)(0,g[e])(g[e+1]),g[e]=void 0,g[e+1]=void 0;n=0}var D,b,y,w,E=void 0;function F(e,t){var n=this,r=new this.constructor(A);void 0===r[x]&&j(r);var a=n._state;if(a){var i=arguments[a-1];o((function(){return P(a,r,i,n._result)}))}else M(n,r,e,t);return r}function C(e){if(e&&"object"===l(e)&&e.constructor===this)return e;var t=new this(A);return S(t,e),t}p?E=function(){return process.nextTick(v)}:f?(b=0,y=new f(v),w=s.createTextNode(""),y.observe(w,{characterData:!0}),E=function(){w.data=b=++b%2}):h?((D=new MessageChannel).port1.onmessage=v,E=function(){return D.port2.postMessage(0)}):E=void 0===c?function(){try{var e=Function("return this")().require("vertx");return void 0!==(r=e.runOnLoop||e.runOnContext)?function(){r(v)}:m()}catch(e){return m()}}():m();var x=Math.random().toString(36).substring(2);function A(){}var k=void 0,T=1,N=2;function O(t,n,r){n.constructor===t.constructor&&r===F&&n.constructor.resolve===C?function(e,t){t._state===T?B(e,t._result):t._state===N?_(e,t._result):M(t,void 0,(function(t){return S(e,t)}),(function(t){return _(e,t)}))}(t,n):void 0===r?B(t,n):e(r)?function(e,t,n){o((function(e){var r=!1,a=function(n,a,o,i){try{n.call(a,(function(n){r||(r=!0,t!==n?S(e,n):B(e,n))}),(function(t){r||(r=!0,_(e,t))}))}catch(e){return e}}(n,t,0,0,e._label);!r&&a&&(r=!0,_(e,a))}),e)}(t,n,r):B(t,n)}function S(e,t){if(e===t)_(e,new TypeError("You cannot resolve a promise with itself"));else if(a=l(r=t),null===r||"object"!==a&&"function"!==a)B(e,t);else{var n=void 0;try{n=t.then}catch(t){return void _(e,t)}O(e,t,n)}var r,a}function R(e){e._onerror&&e._onerror(e._result),I(e)}function B(e,t){e._state===k&&(e._result=t,e._state=T,0!==e._subscribers.length&&o(I,e))}function _(e,t){e._state===k&&(e._state=N,e._result=t,o(R,e))}function M(e,t,n,r){var a=e._subscribers,i=a.length;e._onerror=null,a[i]=t,a[i+T]=n,a[i+N]=r,0===i&&e._state&&o(I,e)}function I(e){var t=e._subscribers,n=e._state;if(0!==t.length){for(var r=void 0,a=void 0,o=e._result,i=0;i<t.length;i+=3)r=t[i],a=t[i+n],r?P(n,r,a,o):a(o);e._subscribers.length=0}}function P(t,n,r,a){var o=e(r),i=void 0,u=void 0,s=!0;if(o){try{i=r(a)}catch(e){s=!1,u=e}if(n===i)return void _(n,new TypeError("A promises callback cannot return that same promise."))}else i=a;n._state!==k||(o&&s?S(n,i):!1===s?_(n,u):t===T?B(n,i):t===N&&_(n,i))}var L=0;function j(e){e[x]=L++,e._state=void 0,e._result=void 0,e._subscribers=[]}var $=function(){function e(e,n){this._instanceConstructor=e,this.promise=new e(A),this.promise[x]||j(this.promise),t(n)?(this.length=n.length,this._remaining=n.length,this._result=new Array(this.length),0===this.length?B(this.promise,this._result):(this.length=this.length||0,this._enumerate(n),0===this._remaining&&B(this.promise,this._result))):_(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;this._state===k&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var n=this._instanceConstructor,r=n.resolve;if(r===C){var a=void 0,o=void 0,i=!1;try{a=e.then}catch(e){i=!0,o=e}if(a===F&&e._state!==k)this._settledAt(e._state,t,e._result);else if("function"!=typeof a)this._remaining--,this._result[t]=e;else if(n===q){var u=new n(A);i?_(u,o):O(u,e,a),this._willSettleAt(u,t)}else this._willSettleAt(new n((function(t){return t(e)})),t)}else this._willSettleAt(r(e),t)},e.prototype._settledAt=function(e,t,n){var r=this.promise;r._state===k&&(this._remaining--,e===N?_(r,n):this._result[t]=n),0===this._remaining&&B(r,this._result)},e.prototype._willSettleAt=function(e,t){var n=this;M(e,void 0,(function(e){return n._settledAt(T,t,e)}),(function(e){return n._settledAt(N,t,e)}))},e}(),q=function(){function t(e){this[x]=L++,this._result=this._state=void 0,this._subscribers=[],A!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(e,t){try{t((function(t){S(e,t)}),(function(t){_(e,t)}))}catch(t){_(e,t)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(t){var n=this,r=n.constructor;return e(t)?n.then((function(e){return r.resolve(t()).then((function(){return e}))}),(function(e){return r.resolve(t()).then((function(){throw e}))})):n.then(t,t)},t}();return q.prototype.then=F,q.all=function(e){return new $(this,e).promise},q.race=function(e){var n=this;return t(e)?new n((function(t,r){for(var a=e.length,o=0;o<a;o++)n.resolve(e[o]).then(t,r)})):new n((function(e,t){return t(new TypeError("You must pass an array to race."))}))},q.resolve=C,q.reject=function(e){var t=new this(A);return _(t,e),t},q._setScheduler=function(e){a=e},q._setAsap=function(e){o=e},q._asap=o,q.polyfill=function(){var e=void 0;if(void 0!==u)e=u;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var n=null;try{n=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===n&&!t.cast)return}e.Promise=q},q.Promise=q,q},"object"===l(e)&&void 0!==t?t.exports=o():void 0===(a="function"==typeof(r=o)?r.call(e,n,e,t):r)||(t.exports=a)})),Ut=oe((function(e){var t,n,r=(t=Object.prototype.toString,n=Object.prototype.hasOwnProperty,{Class:function(e){return t.call(e).replace(/^\[object *|\]$/g,"")},HasProperty:function(e,t){return t in e},HasOwnProperty:function(e,t){return n.call(e,t)},IsCallable:function(e){return"function"==typeof e},ToInt32:function(e){return e>>0},ToUint32:function(e){return e>>>0}}),a=Math.LN2,o=Math.abs,i=Math.floor,u=Math.log,s=Math.min,c=Math.pow,d=Math.round;function f(e,t,n){return e<t?t:e>n?n:e}var p,h=Object.getOwnPropertyNames||function(e){if(e!==Object(e))throw new TypeError("Object.getOwnPropertyNames called on non-object");var t,n=[];for(t in e)r.HasOwnProperty(e,t)&&n.push(t);return n};function m(e){if(h&&p){var t,n=h(e);for(t=0;t<n.length;t+=1)p(e,n[t],{value:e[n[t]],writable:!1,enumerable:!1,configurable:!1})}}function g(e,t){var n=32-t;return e<<n>>n}function v(e,t){var n=32-t;return e<<n>>>n}function D(e){return[255&e]}function b(e){return g(e[0],8)}function y(e){return[255&e]}function w(e){return v(e[0],8)}function E(e){return[(e=d(Number(e)))<0?0:e>255?255:255&e]}function F(e){return[e>>8&255,255&e]}function C(e){return g(e[0]<<8|e[1],16)}function x(e){return[e>>8&255,255&e]}function A(e){return v(e[0]<<8|e[1],16)}function k(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function T(e){return g(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function N(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function O(e){return v(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function S(e,t,n){var r,l,d,f,p,h,m,g=(1<<t-1)-1;function v(e){var t=i(e),n=e-t;return n<.5?t:n>.5||t%2?t+1:t}for(e!=e?(l=(1<<t)-1,d=c(2,n-1),r=0):e===1/0||e===-1/0?(l=(1<<t)-1,d=0,r=e<0?1:0):0===e?(l=0,d=0,r=1/e==-1/0?1:0):(r=e<0,(e=o(e))>=c(2,1-g)?(l=s(i(u(e)/a),1023),(d=v(e/c(2,l)*c(2,n)))/c(2,n)>=2&&(l+=1,d=1),l>g?(l=(1<<t)-1,d=0):(l+=g,d-=c(2,n))):(l=0,d=v(e/c(2,1-g-n)))),p=[],f=n;f;f-=1)p.push(d%2?1:0),d=i(d/2);for(f=t;f;f-=1)p.push(l%2?1:0),l=i(l/2);for(p.push(r?1:0),p.reverse(),h=p.join(""),m=[];h.length;)m.push(parseInt(h.substring(0,8),2)),h=h.substring(8);return m}function R(e,t,n){var r,a,o,i,u,s,l,d,f=[];for(r=e.length;r;r-=1)for(o=e[r-1],a=8;a;a-=1)f.push(o%2?1:0),o>>=1;return f.reverse(),i=f.join(""),u=(1<<t-1)-1,s=parseInt(i.substring(0,1),2)?-1:1,l=parseInt(i.substring(1,1+t),2),d=parseInt(i.substring(1+t),2),l===(1<<t)-1?0===d?s*(1/0):NaN:l>0?s*c(2,l-u)*(1+d/c(2,n)):0!==d?s*c(2,-(u-1))*(d/c(2,n)):s<0?-0:0}function B(e){return R(e,11,52)}function _(e){return S(e,11,52)}function M(e){return R(e,8,23)}function I(e){return S(e,8,23)}p=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),!0}catch(e){return!1}}()?Object.defineProperty:function(e,t,n){if(!e===Object(e))throw new TypeError("Object.defineProperty called on non-object");return r.HasProperty(n,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(e,t,n.get),r.HasProperty(n,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(e,t,n.set),r.HasProperty(n,"value")&&(e[t]=n.value),e},function(){function t(e){if((e=r.ToInt32(e))<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");var t;for(this.byteLength=e,this._bytes=[],this._bytes.length=e,t=0;t<this.byteLength;t+=1)this._bytes[t]=0;m(this)}function n(){}function a(e,a,o){var i;return i=function(e,n,a){var o,u,s,c;if(arguments.length&&"number"!=typeof arguments[0])if("object"===l(arguments[0])&&arguments[0].constructor===i)for(o=arguments[0],this.length=o.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0,s=0;s<this.length;s+=1)this._setter(s,o._getter(s));else if("object"!==l(arguments[0])||arguments[0]instanceof t||"ArrayBuffer"===r.Class(arguments[0])){if("object"!==l(arguments[0])||!(arguments[0]instanceof t||"ArrayBuffer"===r.Class(arguments[0])))throw new TypeError("Unexpected argument type(s)");if(this.buffer=e,this.byteOffset=r.ToUint32(n),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=r.ToUint32(a),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else for(u=arguments[0],this.length=r.ToUint32(u.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0,s=0;s<this.length;s+=1)c=u[s],this._setter(s,Number(c));else{if(this.length=r.ToInt32(arguments[0]),a<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0}this.constructor=i,m(this),function(e){if(p){if(e.length>1e5)throw new RangeError("Array too large for polyfill");var t;for(t=0;t<e.length;t+=1)n(t)}function n(t){p(e,t,{get:function(){return e._getter(t)},set:function(n){e._setter(t,n)},enumerable:!0,configurable:!1})}}(this)},i.prototype=new n,i.prototype.BYTES_PER_ELEMENT=e,i.prototype._pack=a,i.prototype._unpack=o,i.BYTES_PER_ELEMENT=e,i.prototype._getter=function(e){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(!((e=r.ToUint32(e))>=this.length)){for(var t=[],n=0,a=this.byteOffset+e*this.BYTES_PER_ELEMENT;n<this.BYTES_PER_ELEMENT;n+=1,a+=1)t.push(this.buffer._bytes[a]);return this._unpack(t)}},i.prototype.get=i.prototype._getter,i.prototype._setter=function(e,t){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if((e=r.ToUint32(e))<this.length){var n,a,o=this._pack(t);for(n=0,a=this.byteOffset+e*this.BYTES_PER_ELEMENT;n<this.BYTES_PER_ELEMENT;n+=1,a+=1)this.buffer._bytes[a]=o[n]}},i.prototype.set=function(e,t){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var n,a,o,i,u,s,c,d,f,p;if("object"===l(arguments[0])&&arguments[0].constructor===this.constructor){if(n=arguments[0],(o=r.ToUint32(arguments[1]))+n.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(d=this.byteOffset+o*this.BYTES_PER_ELEMENT,f=n.length*this.BYTES_PER_ELEMENT,n.buffer===this.buffer){for(p=[],u=0,s=n.byteOffset;u<f;u+=1,s+=1)p[u]=n.buffer._bytes[s];for(u=0,c=d;u<f;u+=1,c+=1)this.buffer._bytes[c]=p[u]}else for(u=0,s=n.byteOffset,c=d;u<f;u+=1,s+=1,c+=1)this.buffer._bytes[c]=n.buffer._bytes[s]}else{if("object"!==l(arguments[0])||void 0===arguments[0].length)throw new TypeError("Unexpected argument type(s)");if(a=arguments[0],i=r.ToUint32(a.length),(o=r.ToUint32(arguments[1]))+i>this.length)throw new RangeError("Offset plus length of array is out of range");for(u=0;u<i;u+=1)s=a[u],this._setter(o+u,Number(s))}},i.prototype.subarray=function(e,t){e=r.ToInt32(e),t=r.ToInt32(t),arguments.length<1&&(e=0),arguments.length<2&&(t=this.length),e<0&&(e=this.length+e),t<0&&(t=this.length+t),e=f(e,0,this.length);var n=(t=f(t,0,this.length))-e;return n<0&&(n=0),new this.constructor(this.buffer,this.byteOffset+e*this.BYTES_PER_ELEMENT,n)},i}e.ArrayBuffer=e.ArrayBuffer||t;var o=a(1,D,b),i=a(1,y,w),u=a(1,E,w),s=a(2,F,C),c=a(2,x,A),d=a(4,k,T),h=a(4,N,O),g=a(4,I,M),v=a(8,_,B);e.Int8Array=e.Int8Array||o,e.Uint8Array=e.Uint8Array||i,e.Uint8ClampedArray=e.Uint8ClampedArray||u,e.Int16Array=e.Int16Array||s,e.Uint16Array=e.Uint16Array||c,e.Int32Array=e.Int32Array||d,e.Uint32Array=e.Uint32Array||h,e.Float32Array=e.Float32Array||g,e.Float64Array=e.Float64Array||v}(),function(){function t(e,t){return r.IsCallable(e.get)?e.get(t):e[t]}var n,a=(n=new e.Uint16Array([4660]),18===t(new e.Uint8Array(n.buffer),0));function o(t,n,a){if(0===arguments.length)t=new e.ArrayBuffer(0);else if(!(t instanceof e.ArrayBuffer||"ArrayBuffer"===r.Class(t)))throw new TypeError("TypeError");if(this.buffer=t||new e.ArrayBuffer(0),this.byteOffset=r.ToUint32(n),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteLength=arguments.length<3?this.buffer.byteLength-this.byteOffset:r.ToUint32(a),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");m(this)}function i(n){return function(o,i){if((o=r.ToUint32(o))+n.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");o+=this.byteOffset;var u,s=new e.Uint8Array(this.buffer,o,n.BYTES_PER_ELEMENT),l=[];for(u=0;u<n.BYTES_PER_ELEMENT;u+=1)l.push(t(s,u));return Boolean(i)===Boolean(a)&&l.reverse(),t(new n(new e.Uint8Array(l).buffer),0)}}function u(n){return function(o,i,u){if((o=r.ToUint32(o))+n.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var s,l=new n([i]),c=new e.Uint8Array(l.buffer),d=[];for(s=0;s<n.BYTES_PER_ELEMENT;s+=1)d.push(t(c,s));Boolean(u)===Boolean(a)&&d.reverse(),new e.Uint8Array(this.buffer,o,n.BYTES_PER_ELEMENT).set(d)}}o.prototype.getUint8=i(e.Uint8Array),o.prototype.getInt8=i(e.Int8Array),o.prototype.getUint16=i(e.Uint16Array),o.prototype.getInt16=i(e.Int16Array),o.prototype.getUint32=i(e.Uint32Array),o.prototype.getInt32=i(e.Int32Array),o.prototype.getFloat32=i(e.Float32Array),o.prototype.getFloat64=i(e.Float64Array),o.prototype.setUint8=u(e.Uint8Array),o.prototype.setInt8=u(e.Int8Array),o.prototype.setUint16=u(e.Uint16Array),o.prototype.setInt16=u(e.Int16Array),o.prototype.setUint32=u(e.Uint32Array),o.prototype.setInt32=u(e.Int32Array),o.prototype.setFloat32=u(e.Float32Array),o.prototype.setFloat64=u(e.Float64Array),e.DataView=e.DataView||o}()})),Ht=oe((function(e){!function(e){"use strict";if(!e.WeakMap){var t=Object.prototype.hasOwnProperty,n=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(e){}}(),r=function(e,t,r){n?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:r}):e[t]=r};e.WeakMap=function(){function e(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(r(this,"_id","_WeakMap_"+o()+"."+o()),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}function n(e,n){if(!a(e)||!t.call(e,"_id"))throw new TypeError(n+" method called on incompatible receiver "+l(e))}function o(){return Math.random().toString().substring(2)}return r(e.prototype,"delete",(function(e){if(n(this,"delete"),!a(e))return!1;var t=e[this._id];return!(!t||t[0]!==e||(delete e[this._id],0))})),r(e.prototype,"get",(function(e){if(n(this,"get"),a(e)){var t=e[this._id];return t&&t[0]===e?t[1]:void 0}})),r(e.prototype,"has",(function(e){if(n(this,"has"),!a(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)})),r(e.prototype,"set",(function(e,t){if(n(this,"set"),!a(e))throw new TypeError("Invalid value used as weak map key");var o=e[this._id];return o&&o[0]===e?(o[1]=t,this):(r(e,this._id,[e,t]),this)})),r(e,"_polyfill",!0),e}()}function a(e){return Object(e)===e}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:void 0!==i?i:void 0!==u?u:e)})),Wt=oe((function(e,t){var n=function(e){return e&&e.Math==Math&&e};t.exports=n("object"==("undefined"==typeof globalThis?"undefined":l(globalThis))&&globalThis)||n("object"==(void 0===i?"undefined":l(i))&&i)||n("object"==("undefined"==typeof self?"undefined":l(self))&&self)||n("object"==(void 0===u?"undefined":l(u))&&u)||function(){return this}()||Function("return this")()})),Kt=oe((function(e,t){t.exports=function(e){try{return!!e()}catch(e){return!0}}})),Gt=oe((function(e,t){var n=Kt();t.exports=!n((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),Yt=oe((function(e,t){var n=Gt(),r=Function.prototype,a=r.apply,o=r.call;t.exports="object"==("undefined"==typeof Reflect?"undefined":l(Reflect))&&Reflect.apply||(n?o.bind(a):function(){return o.apply(a,arguments)})})),Qt=oe((function(e,t){var n=Gt(),r=Function.prototype,a=r.call,o=n&&r.bind.bind(a,a);t.exports=n?o:function(e){return function(){return a.apply(e,arguments)}}})),Xt=oe((function(e,t){var n=Qt(),r=n({}.toString),a=n("".slice);t.exports=function(e){return a(r(e),8,-1)}})),Zt=oe((function(e,t){var n=Xt(),r=Qt();t.exports=function(e){if("Function"===n(e))return r(e)}})),Jt=oe((function(e,t){var n="object"==(void 0===s?"undefined":l(s))&&s.all,r=void 0===n&&void 0!==n;t.exports={all:n,IS_HTMLDDA:r}})),en=oe((function(e,t){var n=Jt(),r=n.all;t.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}})),tn=oe((function(e,t){var n=Kt();t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),nn=oe((function(e,t){var n=Gt(),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}})),rn=oe((function(e){"use strict";var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!t.call({1:2},1);e.f=r?function(e){var t=n(this,e);return!!t&&t.enumerable}:t})),an=oe((function(e,t){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),on=oe((function(e,t){var n=Qt(),r=Kt(),a=Xt(),o=Object,i=n("".split);t.exports=r((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?i(e,""):o(e)}:o})),un=oe((function(e,t){t.exports=function(e){return null==e}})),sn=oe((function(e,t){var n=un(),r=TypeError;t.exports=function(e){if(n(e))throw r("Can't call method on "+e);return e}})),ln=oe((function(e,t){var n=on(),r=sn();t.exports=function(e){return n(r(e))}})),cn=oe((function(e,t){var n=en(),r=Jt(),a=r.all;t.exports=r.IS_HTMLDDA?function(e){return"object"==l(e)?null!==e:n(e)||e===a}:function(e){return"object"==l(e)?null!==e:n(e)}})),dn=oe((function(e,t){t.exports={}})),fn=oe((function(e,t){var n=dn(),r=Wt(),a=en(),o=function(e){return a(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?o(n[e])||o(r[e]):n[e]&&n[e][t]||r[e]&&r[e][t]}})),pn=oe((function(e,t){var n=Qt();t.exports=n({}.isPrototypeOf)})),hn=oe((function(e,t){var n=fn();t.exports=n("navigator","userAgent")||""})),mn=oe((function(e,t){var n,r,a=Wt(),o=hn(),i=a.process,u=a.Deno,s=i&&i.versions||u&&u.version,l=s&&s.v8;l&&(r=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!r&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(r=+n[1]),t.exports=r})),gn=oe((function(e,t){var n=mn(),r=Kt();t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&n&&n<41}))})),vn=oe((function(e,t){var n=gn();t.exports=n&&!Symbol.sham&&"symbol"==l(Symbol.iterator)})),Dn=oe((function(e,t){var n=fn(),r=en(),a=pn(),o=vn(),i=Object;t.exports=o?function(e){return"symbol"==l(e)}:function(e){var t=n("Symbol");return r(t)&&a(t.prototype,i(e))}})),bn=oe((function(e,t){var n=String;t.exports=function(e){try{return n(e)}catch(e){return"Object"}}})),yn=oe((function(e,t){var n=en(),r=bn(),a=TypeError;t.exports=function(e){if(n(e))return e;throw a(r(e)+" is not a function")}})),wn=oe((function(e,t){var n=yn(),r=un();t.exports=function(e,t){var a=e[t];return r(a)?void 0:n(a)}})),En=oe((function(e,t){var n=nn(),r=en(),a=cn(),o=TypeError;t.exports=function(e,t){var i,u;if("string"===t&&r(i=e.toString)&&!a(u=n(i,e)))return u;if(r(i=e.valueOf)&&!a(u=n(i,e)))return u;if("string"!==t&&r(i=e.toString)&&!a(u=n(i,e)))return u;throw o("Can't convert object to primitive value")}})),Fn=oe((function(e,t){t.exports=!0})),Cn=oe((function(e,t){var n=Wt(),r=Object.defineProperty;t.exports=function(e,t){try{r(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}})),xn=oe((function(e,t){var n=Wt(),r=Cn(),a="__core-js_shared__",o=n[a]||r(a,{});t.exports=o})),An=oe((function(e,t){var n=Fn(),r=xn();(t.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:n?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),kn=oe((function(e,t){var n=sn(),r=Object;t.exports=function(e){return r(n(e))}})),Tn=oe((function(e,t){var n=Qt(),r=kn(),a=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return a(r(e),t)}})),Nn=oe((function(e,t){var n=Qt(),r=0,a=Math.random(),o=n(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++r+a,36)}})),On=oe((function(e,t){var n=Wt(),r=An(),a=Tn(),o=Nn(),i=gn(),u=vn(),s=r("wks"),l=n.Symbol,c=l&&l.for,d=u?l:l&&l.withoutSetter||o;t.exports=function(e){if(!a(s,e)||!i&&"string"!=typeof s[e]){var t="Symbol."+e;i&&a(l,e)?s[e]=l[e]:s[e]=u&&c?c(t):d(t)}return s[e]}})),Sn=oe((function(e,t){var n=nn(),r=cn(),a=Dn(),o=wn(),i=En(),u=On(),s=TypeError,l=u("toPrimitive");t.exports=function(e,t){if(!r(e)||a(e))return e;var u,c=o(e,l);if(c){if(void 0===t&&(t="default"),u=n(c,e,t),!r(u)||a(u))return u;throw s("Can't convert object to primitive value")}return void 0===t&&(t="number"),i(e,t)}})),Rn=oe((function(e,t){var n=Sn(),r=Dn();t.exports=function(e){var t=n(e,"string");return r(t)?t:t+""}})),Bn=oe((function(e,t){var n=Wt(),r=cn(),a=n.document,o=r(a)&&r(a.createElement);t.exports=function(e){return o?a.createElement(e):{}}})),_n=oe((function(e,t){var n=tn(),r=Kt(),a=Bn();t.exports=!n&&!r((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))})),Mn=oe((function(e){var t=tn(),n=nn(),r=rn(),a=an(),o=ln(),i=Rn(),u=Tn(),s=_n(),l=Object.getOwnPropertyDescriptor;e.f=t?l:function(e,t){if(e=o(e),t=i(t),s)try{return l(e,t)}catch(e){}if(u(e,t))return a(!n(r.f,e,t),e[t])}})),In=oe((function(e,t){var n=Kt(),r=en(),a=/#|\.prototype\./,o=function(e,t){var a=u[i(e)];return a==l||a!=s&&(r(t)?n(t):!!t)},i=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},u=o.data={},s=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o})),Pn=oe((function(e,t){var n=Zt(),r=yn(),a=Gt(),o=n(n.bind);t.exports=function(e,t){return r(e),void 0===t?e:a?o(e,t):function(){return e.apply(t,arguments)}}})),Ln=oe((function(e,t){var n=tn(),r=Kt();t.exports=n&&r((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),jn=oe((function(e,t){var n=cn(),r=String,a=TypeError;t.exports=function(e){if(n(e))return e;throw a(r(e)+" is not an object")}})),$n=oe((function(e){var t=tn(),n=_n(),r=Ln(),a=jn(),o=Rn(),i=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l="enumerable",c="configurable",d="writable";e.f=t?r?function(e,t,n){if(a(e),t=o(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&d in n&&!n[d]){var r=s(e,t);r&&r[d]&&(e[t]=n.value,n={configurable:c in n?n[c]:r[c],enumerable:l in n?n[l]:r[l],writable:!1})}return u(e,t,n)}:u:function(e,t,r){if(a(e),t=o(t),a(r),n)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw i("Accessors not supported");return"value"in r&&(e[t]=r.value),e}})),qn=oe((function(e,t){var n=tn(),r=$n(),a=an();t.exports=n?function(e,t,n){return r.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}})),Vn=oe((function(e,t){"use strict";var n=Wt(),r=Yt(),a=Zt(),o=en(),i=Mn().f,u=In(),s=dn(),c=Pn(),d=qn(),f=Tn(),p=function(e){var t=function t(n,a,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,a)}return new e(n,a,o)}return r(e,this,arguments)};return t.prototype=e.prototype,t};t.exports=function(e,t){var r,h,m,g,v,D,b,y,w=e.target,E=e.global,F=e.stat,C=e.proto,x=E?n:F?n[w]:(n[w]||{}).prototype,A=E?s:s[w]||d(s,w,{})[w],k=A.prototype;for(m in t)r=!u(E?m:w+(F?".":"#")+m,e.forced)&&x&&f(x,m),v=A[m],r&&(D=e.dontCallGetSet?(y=i(x,m))&&y.value:x[m]),g=r&&D?D:t[m],r&&l(v)==l(g)||(b=e.bind&&r?c(g,n):e.wrap&&r?p(g):C&&o(g)?a(g):g,(e.sham||g&&g.sham||v&&v.sham)&&d(b,"sham",!0),d(A,m,b),C&&(f(s,h=w+"Prototype")||d(s,h,{}),d(s[h],m,g),e.real&&k&&!k[m]&&d(k,m,g)))}})),zn=oe((function(){Vn()({target:"Object",stat:!0},{hasOwn:Tn()})})),Un=oe((function(e,t){zn();var n=dn();t.exports=n.Object.hasOwn})),Hn=oe((function(e,t){var n=Un();t.exports=n})),Wn=oe((function(e,t){var n=Hn();t.exports=n})),Kn=oe((function(e,t){var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?r:n)(t)}})),Gn=oe((function(e,t){var n=Kn();t.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}})),Yn=oe((function(e,t){var n=Gn(),r=Math.max,a=Math.min;t.exports=function(e,t){var o=n(e);return o<0?r(o+t,0):a(o,t)}})),Qn=oe((function(e,t){var n=Gn(),r=Math.min;t.exports=function(e){return e>0?r(n(e),9007199254740991):0}})),Xn=oe((function(e,t){var n=Qn();t.exports=function(e){return n(e.length)}})),Zn=oe((function(e,t){var n=ln(),r=Yn(),a=Xn(),o=function(e){return function(t,o,i){var u,s=n(t),l=a(s),c=r(i,l);if(e&&o!=o){for(;l>c;)if((u=s[c++])!=u)return!0}else for(;l>c;c++)if((e||c in s)&&s[c]===o)return e||c||0;return!e&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}})),Jn=oe((function(e,t){t.exports={}})),er=oe((function(e,t){var n=Qt(),r=Tn(),a=ln(),o=Zn().indexOf,i=Jn(),u=n([].push);t.exports=function(e,t){var n,s=a(e),l=0,c=[];for(n in s)!r(i,n)&&r(s,n)&&u(c,n);for(;t.length>l;)r(s,n=t[l++])&&(~o(c,n)||u(c,n));return c}})),tr=oe((function(e,t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),nr=oe((function(e,t){var n=er(),r=tr();t.exports=Object.keys||function(e){return n(e,r)}})),rr=oe((function(e,t){var n=tn(),r=Qt(),a=nr(),o=ln(),i=r(rn().f),u=r([].push),s=function(e){return function(t){for(var r,s=o(t),l=a(s),c=l.length,d=0,f=[];c>d;)r=l[d++],n&&!i(s,r)||u(f,e?[r,s[r]]:s[r]);return f}};t.exports={entries:s(!0),values:s(!1)}})),ar=oe((function(){var e=Vn(),t=rr().values;e({target:"Object",stat:!0},{values:function(e){return t(e)}})})),or=oe((function(e,t){ar();var n=dn();t.exports=n.Object.values})),ir=oe((function(e,t){var n=or();t.exports=n})),ur=oe((function(e,t){var n=ir();t.exports=n})),sr=oe((function(e,t){!function(){"use strict";var r={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:!0,append:!0,selfcontained:!1,doNotSkipEncoded:!1},template:void 0,compile:void 0,log:!0};!function(){if("object"!==("undefined"==typeof globalThis?"undefined":l(globalThis)))try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch(e){i.globalThis=function(){if("undefined"!=typeof self)return self;if(void 0!==i)return i;if(void 0!==u)return u;if(void 0!==this)return this;throw new Error("Unable to locate global `this`")}()}}(),r.encodeHTMLSource=function(e){var t={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},n=e?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(e){return e?e.toString().replace(n,(function(e){return t[e]||e})):""}},void 0!==t&&t.exports?t.exports=r:void 0===(a=function(){return r}.call(e,n,e,t))||(t.exports=a);var o={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},s=/$^/;function c(e,t,n){return("string"==typeof t?t:t.toString()).replace(e.define||s,(function(t,r,a,o){return 0===r.indexOf("def.")&&(r=r.substring(4)),r in n||(":"===a?(e.defineParams&&o.replace(e.defineParams,(function(e,t,a){n[r]={arg:t,text:a}})),r in n||(n[r]=o)):new Function("def","def['"+r+"']="+o)(n)),""})).replace(e.use||s,(function(t,r){e.useParams&&(r=r.replace(e.useParams,(function(e,t,r,a){if(n[r]&&n[r].arg&&a){var o=(r+":"+a).replace(/'|\\/g,"_");return n.__exp=n.__exp||{},n.__exp[o]=n[r].text.replace(new RegExp("(^|[^\\w$])"+n[r].arg+"([^\\w$])","g"),"$1"+a+"$2"),t+"def.__exp['"+o+"']"}})));var a=new Function("def","return "+r)(n);return a?c(e,a,n):a}))}function d(e){return e.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}r.template=function(e,t,n){var a,i,u=(t=t||r.templateSettings).append?o.append:o.split,l=0,f=t.use||t.define?c(t,e,n||{}):e;f=("var out='"+(t.strip?f.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):f).replace(/'|\\/g,"\\$&").replace(t.interpolate||s,(function(e,t){return u.start+d(t)+u.end})).replace(t.encode||s,(function(e,t){return a=!0,u.startencode+d(t)+u.end})).replace(t.conditional||s,(function(e,t,n){return t?n?"';}else if("+d(n)+"){out+='":"';}else{out+='":n?"';if("+d(n)+"){out+='":"';}out+='"})).replace(t.iterate||s,(function(e,t,n,r){return t?(l+=1,i=r||"i"+l,t=d(t),"';var arr"+l+"="+t+";if(arr"+l+"){var "+n+","+i+"=-1,l"+l+"=arr"+l+".length-1;while("+i+"<l"+l+"){"+n+"=arr"+l+"["+i+"+=1];out+='"):"';} } out+='"})).replace(t.evaluate||s,(function(e,t){return"';"+d(t)+"out+='"}))+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),a&&(t.selfcontained||!globalThis||globalThis._encodeHTML||(globalThis._encodeHTML=r.encodeHTMLSource(t.doNotSkipEncoded)),f="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+r.encodeHTMLSource.toString()+"("+(t.doNotSkipEncoded||"")+"));"+f);try{return new Function(t.varname,f)}catch(e){throw"undefined"!=typeof console&&console.log("Could not create a template function: "+f),e}},r.compile=function(e,t){return r.template(e,null,t)}}()})),lr={helpUrlBase:"https://dequeuniversity.com/rules/",gridSize:200,results:[],resultGroups:[],resultGroupMap:{},impact:Object.freeze(["minor","moderate","serious","critical"]),preload:Object.freeze({assets:["cssom","media"],timeout:1e4}),allOrigins:"<unsafe_all_origins>",sameOrigin:"<same_origin>"};[{name:"NA",value:"inapplicable",priority:0,group:"inapplicable"},{name:"PASS",value:"passed",priority:1,group:"passes"},{name:"CANTTELL",value:"cantTell",priority:2,group:"incomplete"},{name:"FAIL",value:"failed",priority:3,group:"violations"}].forEach((function(e){var t=e.name,n=e.value,r=e.priority,a=e.group;lr[t]=n,lr[t+"_PRIO"]=r,lr[t+"_GROUP"]=a,lr.results[r]=n,lr.resultGroups[r]=a,lr.resultGroupMap[n]=a})),Object.freeze(lr.results),Object.freeze(lr.resultGroups),Object.freeze(lr.resultGroupMap),Object.freeze(lr);var cr=lr,dr=function(){"object"===("undefined"==typeof console?"undefined":l(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},fr=/[\t\r\n\f]/g,pr=function(){function e(){Z(this,e),this.parent=void 0}return ee(e,[{key:"props",get:function(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}},{key:"attrNames",get:function(){throw new Error('VirtualNode class must have an "attrNames" property')}},{key:"attr",value:function(){throw new Error('VirtualNode class must have an "attr" function')}},{key:"hasAttr",value:function(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function(e){var t=this.attr("class");if(!t)return!1;var n=" "+e+" ";return(" "+t+" ").replace(fr," ").indexOf(n)>=0}}]),e}(),hr={};ie(hr,{DqElement:function(){return da},aggregate:function(){return mr},aggregateChecks:function(){return wr},aggregateNodeResults:function(){return Fr},aggregateResult:function(){return xr},areStylesSet:function(){return Ar},assert:function(){return kr},checkHelper:function(){return fa},clone:function(){return pa},closest:function(){return Na},collectResultsFromFrames:function(){return Ao},contains:function(){return ko},convertSelector:function(){return Aa},cssParser:function(){return ga},deepMerge:function(){return To},escapeSelector:function(){return Nr},extendMetaData:function(){return No},filterHtmlAttrs:function(){return Dh},finalizeRuleResult:function(){return Er},findBy:function(){return Fo},getAllChecks:function(){return Eo},getAncestry:function(){return na},getBaseLang:function(){return ap},getCheckMessage:function(){return pp},getCheckOption:function(){return hp},getEnvironmentData:function(){return mp},getFlattenedTree:function(){return tp},getFrameContexts:function(){return Bp},getFriendlyUriEnd:function(){return Br},getNodeAttributes:function(){return _r},getNodeFromTree:function(){return sa},getPreloadConfig:function(){return fh},getRootNode:function(){return Bo},getRule:function(){return _p},getScroll:function(){return Ip},getScrollState:function(){return Lp},getSelector:function(){return ea},getSelectorData:function(){return Gr},getShadowSelector:function(){return jr},getStandards:function(){return jp},getStyleSheetFactory:function(){return qp},getXpath:function(){return aa},injectStyle:function(){return Vp},isHidden:function(){return zp},isHtmlElement:function(){return Up},isNodeInContext:function(){return Hp},isShadowRoot:function(){return So},isValidLang:function(){return Oh},isXHTML:function(){return Lr},matchAncestry:function(){return Kp},matches:function(){return va},matchesExpression:function(){return Ta},matchesSelector:function(){return Mr},memoize:function(){return Pr},mergeResults:function(){return xo},nodeLookup:function(){return Yp},nodeSerializer:function(){return wo},nodeSorter:function(){return Gp},parseCrossOriginStylesheet:function(){return Zp},parseSameOriginStylesheet:function(){return Qp},parseStylesheet:function(){return Xp},performanceTimer:function(){return eh},pollyfillElementsFromPoint:function(){return th},preload:function(){return ch},preloadCssom:function(){return oh},preloadMedia:function(){return lh},processMessage:function(){return fp},publishMetaData:function(){return ph},querySelectorAll:function(){return mh},querySelectorAllFilter:function(){return ah},queue:function(){return Ia},respondable:function(){return ho},ruleShouldRun:function(){return vh},select:function(){return yh},sendCommandToFrame:function(){return go},setScrollState:function(){return Eh},shadowSelect:function(){return Fh},shadowSelectAll:function(){return xh},shouldPreload:function(){return dh},toArray:function(){return Tr},tokenList:function(){return Gf},uniqueArray:function(){return nh},uuid:function(){return Qa},validInputTypes:function(){return kh},validLangs:function(){return Nh}});var mr=function(e,t,n){t=t.slice(),n&&t.push(n);var r=t.map((function(t){return e.indexOf(t)})).sort();return e[r.pop()]},gr=cr.CANTTELL_PRIO,vr=cr.FAIL_PRIO,Dr=[];Dr[cr.PASS_PRIO]=!0,Dr[cr.CANTTELL_PRIO]=null,Dr[cr.FAIL_PRIO]=!1;var br=["any","all","none"];function yr(e,t){return br.reduce((function(n,r){return n[r]=(e[r]||[]).map((function(e){return t(e,r)})),n}),{})}var wr=function(e){var t=Object.assign({},e);yr(t,(function(e,t){var n=void 0===e.result?-1:Dr.indexOf(e.result);e.priority=-1!==n?n:cr.CANTTELL_PRIO,"none"===t&&(e.priority===cr.PASS_PRIO?e.priority=cr.FAIL_PRIO:e.priority===cr.FAIL_PRIO&&(e.priority=cr.PASS_PRIO))}));var n={all:t.all.reduce((function(e,t){return Math.max(e,t.priority)}),0),none:t.none.reduce((function(e,t){return Math.max(e,t.priority)}),0),any:t.any.reduce((function(e,t){return Math.min(e,t.priority)}),4)%4};t.priority=Math.max(n.all,n.none,n.any);var r=[];return br.forEach((function(e){t[e]=t[e].filter((function(r){return r.priority===t.priority&&r.priority===n[e]})),t[e].forEach((function(e){return r.push(e.impact)}))})),[gr,vr].includes(t.priority)?t.impact=mr(cr.impact,r):t.impact=null,yr(t,(function(e){delete e.result,delete e.priority})),t.result=cr.results[t.priority],delete t.priority,t};function Er(e){var t=c._audit.rules.find((function(t){return t.id===e.id}));return t&&t.impact&&e.nodes.forEach((function(e){["any","all","none"].forEach((function(n){(e[n]||[]).forEach((function(e){e.impact=t.impact}))}))})),Object.assign(e,Fr(e.nodes)),delete e.nodes,e}var Fr=function(e){var t={};if((e=e.map((function(e){if(e.any&&e.all&&e.none)return wr(e);if(Array.isArray(e.node))return Er(e);throw new TypeError("Invalid Result type")})))&&e.length){var n=e.map((function(e){return e.result}));t.result=mr(cr.results,n,t.result)}else t.result="inapplicable";cr.resultGroups.forEach((function(e){return t[e]=[]})),e.forEach((function(e){var n=cr.resultGroupMap[e.result];t[n].push(e)}));var r=cr.FAIL_GROUP;if(0===t[r].length&&(r=cr.CANTTELL_GROUP),t[r].length>0){var a=t[r].map((function(e){return e.impact}));t.impact=mr(cr.impact,a)||null}else t.impact=null;return t};function Cr(e,t,n){var r=Object.assign({},t);r.nodes=(r[n]||[]).concat(),cr.resultGroups.forEach((function(e){delete r[e]})),e[n].push(r)}var xr=function(e){var t={};return cr.resultGroups.forEach((function(e){return t[e]=[]})),e.forEach((function(e){e.error?Cr(t,e,cr.CANTTELL_GROUP):e.result===cr.NA?Cr(t,e,cr.NA_GROUP):cr.resultGroups.forEach((function(n){Array.isArray(e[n])&&e[n].length>0&&Cr(t,e,n)}))})),t},Ar=function e(t,n,r){var a=i.getComputedStyle(t,null);if(!a)return!1;for(var o=0;o<n.length;++o){var u=n[o];if(a.getPropertyValue(u.property)===u.value)return!0}return!(!t.parentNode||t.nodeName.toUpperCase()===r.toUpperCase())&&e(t.parentNode,n,r)},kr=function(e,t){if(!e)throw new Error(t)},Tr=function(e){return Array.prototype.slice.call(e)},Nr=function(e){for(var t,n=String(e),r=n.length,a=-1,o="",i=n.charCodeAt(0);++a<r;)0!=(t=n.charCodeAt(a))?o+=t>=1&&t<=31||127==t||0==a&&t>=48&&t<=57||1==a&&t>=48&&t<=57&&45==i?"\\"+t.toString(16)+" ":0==a&&1==r&&45==t||!(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122)?"\\"+n.charAt(a):n.charAt(a):o+="�";return o};function Or(e,t){return[e.substring(0,t),e.substring(t)]}function Sr(e){return e.replace(/\s+$/,"")}var Rr,Br=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e.length<=1||"data:"===e.substr(0,5)||"javascript:"===e.substr(0,11)||e.includes("?"))){var n=t.currentDomain,r=t.maxLength,a=void 0===r?25:r,o=function(e){var t=e,n="",r="",a="",o="",i="";if(e.includes("#")){var u=Y(Or(e,e.indexOf("#")),2);e=u[0],i=u[1]}if(e.includes("?")){var s=Y(Or(e,e.indexOf("?")),2);e=s[0],o=s[1]}if(e.includes("://")){var l=Y(e.split("://"),2);n=l[0];var c=Y(Or(e=l[1],e.indexOf("/")),2);r=c[0],e=c[1]}else if("//"===e.substr(0,2)){var d=Y(Or(e=e.substr(2),e.indexOf("/")),2);r=d[0],e=d[1]}if("www."===r.substr(0,4)&&(r=r.substr(4)),r&&r.includes(":")){var f=Y(Or(r,r.indexOf(":")),2);r=f[0],a=f[1]}return{original:t,protocol:n,domain:r,port:a,path:e,query:o,hash:i}}(e),i=o.path,u=o.domain,s=o.hash,l=i.substr(i.substr(0,i.length-2).lastIndexOf("/")+1);if(s)return l&&(l+s).length<=a?Sr(l+s):l.length<2&&s.length>2&&s.length<=a?Sr(s):void 0;if(u&&u.length<a&&i.length<=1)return Sr(u+i);if(i==="/"+l&&u&&n&&u!==n&&(u+i).length<=a)return Sr(u+i);var c=l.lastIndexOf(".");return(-1===c||c>1)&&(-1!==c||l.length>2)&&l.length<=a&&!l.match(/index(\.[a-zA-Z]{2-4})?/)&&!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return 0!==e.length&&(e.match(/[0-9]/g)||"").length>=e.length/2}(l)?Sr(l):void 0}},_r=function(e){return e.attributes instanceof i.NamedNodeMap?e.attributes:e.cloneNode(!1).attributes},Mr=function(e,t){return Rr&&e[Rr]||(Rr=function(e){var t,n,r=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],a=r.length;for(t=0;t<a;t++)if(e[n=r[t]])return n}(e)),!!e[Rr]&&e[Rr](t)},Ir=ue(Lt());c._memoizedFns=[];var Pr=function(e){var t=(0,Ir.default)(e);return c._memoizedFns.push(t),t},Lr=Pr((function(e){return!(null==e||!e.createElement)&&"A"===e.createElement("A").localName}));function jr(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t)return"";var r=t.getRootNode&&t.getRootNode()||s;if(11!==r.nodeType)return e(t,n,r);for(var a=[];11===r.nodeType;){if(!r.host)return"";a.unshift({elm:t,doc:r}),r=(t=r.host).getRootNode()}return a.unshift({elm:t,doc:r}),a.map((function(t){return e(t.elm,n,t.doc)}))}var $r=["class","style","id","selected","checked","disabled","tabindex","aria-checked","aria-selected","aria-invalid","aria-activedescendant","aria-busy","aria-disabled","aria-expanded","aria-grabbed","aria-pressed","aria-valuenow","xmlns"],qr=31,Vr=/([\\"])/g,zr=/(\r\n|\r|\n)/g;function Ur(e){return e.replace(Vr,"\\$1").replace(zr,"\\a ")}function Hr(e,t){var n,r=t.name;if(-1!==r.indexOf("href")||-1!==r.indexOf("src")){var a=Br(e.getAttribute(r));n=a?Nr(t.name)+'$="'+Ur(a)+'"':Nr(t.name)+'="'+Ur(e.getAttribute(r))+'"'}else n=Nr(r)+'="'+Ur(t.value)+'"';return n}function Wr(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function Kr(e){return!$r.includes(e.name)&&-1===e.name.indexOf(":")&&(!e.value||e.value.length<qr)}function Gr(e){for(var t={classes:{},tags:{},attributes:{}},n=(e=Array.isArray(e)?e:[e]).slice(),r=[],a=function(){var e=n.pop(),a=e.actualNode;if(a.querySelectorAll){var o=a.nodeName;t.tags[o]?t.tags[o]++:t.tags[o]=1,a.classList&&Array.from(a.classList).forEach((function(e){var n=Nr(e);t.classes[n]?t.classes[n]++:t.classes[n]=1})),a.hasAttributes()&&Array.from(_r(a)).filter(Kr).forEach((function(e){var n=Hr(a,e);n&&(t.attributes[n]?t.attributes[n]++:t.attributes[n]=1)}))}for(e.children.length&&(r.push(n),n=e.children.slice());!n.length&&r.length;)n=r.pop()};n.length;)a();return t}function Yr(e,t){var n=e.parentNode&&Array.from(e.parentNode.children||"")||[];return n.find((function(n){return n!==e&&Mr(n,t)}))?":nth-child("+(1+n.indexOf(e))+")":""}function Qr(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||s,n="#"+Nr(e.getAttribute("id")||"");return n.match(/player_uid_/)||1!==t.querySelectorAll(n).length?void 0:n}}function Xr(e){var t=Lr(s);return Nr(t?e.localName:e.nodeName.toLowerCase())}function Zr(e,t){var n,r="",a=function(e,t){var n=[],r=t.classes,a=t.tags;return e.classList&&Array.from(e.classList).forEach((function(t){var o=Nr(t);r[o]<a[e.nodeName]&&n.push({name:o,count:r[o],species:"class"})})),n.sort(Wr)}(e,t),o=function(e,t){var n=[],r=t.attributes,a=t.tags;return e.hasAttributes()&&Array.from(_r(e)).filter(Kr).forEach((function(t){var o=Hr(e,t);o&&r[o]<a[e.nodeName]&&n.push({name:o,count:r[o],species:"attribute"})})),n.sort(Wr)}(e,t);return a.length&&1===a[0].count?n=[a[0]]:o.length&&1===o[0].count?(n=[o[0]],r=Xr(e)):((n=a.concat(o)).sort(Wr),(n=n.slice(0,3)).some((function(e){return"class"===e.species}))?n.sort((function(e,t){return e.species!==t.species&&"class"===e.species?-1:e.species===t.species?0:1})):r=Xr(e)),r+n.reduce((function(e,t){switch(t.species){case"class":return e+"."+t.name;case"attribute":return e+"["+t.name+"]"}return e}),"")}function Jr(e,t,n){if(!c._selectorData)throw new Error("Expect axe._selectorData to be set up");var r,a,o=t.toRoot,i=void 0!==o&&o;do{var u=Qr(e);u||(u=Zr(e,c._selectorData),u+=Yr(e,u)),r=r?u+" > "+r:u,a=a?a.filter((function(e){return Mr(e,r)})):Array.from(n.querySelectorAll(r)),e=e.parentElement}while((a.length>1||i)&&e&&11!==e.nodeType);return 1===a.length?r:-1!==r.indexOf(" > ")?":root"+r.substring(r.indexOf(" > ")):":root"}function ea(e,t){return jr(Jr,e,t)}function ta(e){var t=e.nodeName.toLowerCase(),n=e.parentElement;if(!n)return t;var r="";if("head"!==t&&"body"!==t&&n.children.length>1){var a=Array.prototype.indexOf.call(n.children,e)+1;r=":nth-child(".concat(a,")")}return ta(n)+" > "+t+r}function na(e,t){return jr(ta,e,t)}function ra(e,t){var n,r;if(!e)return[];if(!t&&9===e.nodeType)return[{str:"html"}];if(t=t||[],e.parentNode&&e.parentNode!==e&&(t=ra(e.parentNode,t)),e.previousSibling){r=1,n=e.previousSibling;do{1===n.nodeType&&n.nodeName===e.nodeName&&r++,n=n.previousSibling}while(n);1===r&&(r=null)}else if(e.nextSibling){n=e.nextSibling;do{1===n.nodeType&&n.nodeName===e.nodeName?(r=1,n=null):(r=null,n=n.previousSibling)}while(n)}if(1===e.nodeType){var a={};a.str=e.nodeName.toLowerCase();var o=e.getAttribute&&Nr(e.getAttribute("id"));o&&1===e.ownerDocument.querySelectorAll("#"+o).length&&(a.id=e.getAttribute("id")),r>1&&(a.count=r),t.push(a)}return t}var aa=function(e){return ra(e).reduce((function(e,t){return t.id?"/".concat(t.str,"[@id='").concat(t.id,"']"):e+"/".concat(t.str)+(t.count>0?"[".concat(t.count,"]"):"")}),"")},oa={},ia={set:function(e,t){!function(e){kr("string"==typeof e,"key must be a string, "+l(e)+" given"),kr(""!==e,"key must not be empty")}(e),oa[e]=t},get:function(e,t){if(function(e){kr("function"==typeof e||void 0===e,"creator must be a function or undefined, "+l(e)+" given")}(t),e in oa)return oa[e];if("function"==typeof t){var n=t();return kr(void 0!==n,"Cache creator function should not return undefined"),this.set(e,n),oa[e]}},clear:function(){oa={}}},ua=ia,sa=function(e,t){var n=t||e;return ua.get("nodeMap")?ua.get("nodeMap").get(n):null},la="DqElm.RunOptions";function ca(e){var t,n,r,a,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};o||(o=null!==(r=ua.get(la))&&void 0!==r?r:{}),this.spec=u,e instanceof pr?(this._virtualNode=e,this._element=e.actualNode):(this._element=e,this._virtualNode=sa(e)),this.fromFrame=(null===(t=this.spec.selector)||void 0===t?void 0:t.length)>1,this._includeElementInJson=o.elementRef,o.absolutePaths&&(this._options={toRoot:!0}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:"number"==typeof(null===(n=this._virtualNode)||void 0===n?void 0:n.nodeIndex)&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,c._audit.noHtml||(this.source=null!==(a=this.spec.source)&&void 0!==a?a:function(e){if(null==e||!e.outerHTML)return"";var t=e.outerHTML;return t||"function"!=typeof i.XMLSerializer||(t=(new i.XMLSerializer).serializeToString(e)),function(e,t){if(t=t||300,e.length>t){var n=e.indexOf(">");e=e.substring(0,n+1)}return e}(t||"")}(this._element))}ca.prototype={get selector(){return this.spec.selector||[ea(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[na(this.element)]},get xpath(){return this.spec.xpath||[aa(this.element)]},get element(){return this._element},toJSON:function(){var e={selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes,fromFrame:this.fromFrame};return this._includeElementInJson&&(e.element=this._element),e}},ca.fromFrame=function(e,t,n){var r=ca.mergeSpecs(e,n);return new ca(n.element,t,r)},ca.mergeSpecs=function(e,t){return G({},e,{selector:[].concat(W(t.selector),W(e.selector)),ancestry:[].concat(W(t.ancestry),W(e.ancestry)),xpath:[].concat(W(t.xpath),W(e.xpath)),nodeIndexes:[].concat(W(t.nodeIndexes),W(e.nodeIndexes)),fromFrame:!0})},ca.setRunOptions=function(e){var t=e.elementRef,n=e.absolutePaths;ua.set(la,{elementRef:t,absolutePaths:n})};var da=ca,fa=function(e,t,n,r){return{isAsync:!1,async:function(){return this.isAsync=!0,function(t){t instanceof Error==0?(e.result=t,n(e)):r(t)}},data:function(t){e.data=t},relatedNodes:function(t){i.Node&&(t=t instanceof i.Node||t instanceof pr?[t]:Tr(t),e.relatedNodes=[],t.forEach((function(t){if(t instanceof pr&&(t=t.actualNode),t instanceof i.Node){var n=new da(t);e.relatedNodes.push(n)}})))}}};function pa(e){return ha(e,new Map)}function ha(e,t){var n,r;if(null===e||"object"!==l(e))return e;if(null!==(n=i)&&void 0!==n&&n.Node&&e instanceof i.Node||null!==(r=i)&&void 0!==r&&r.HTMLCollection&&e instanceof i.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){var a=[];return t.set(e,a),e.forEach((function(e){a.push(ha(e,t))})),a}var o={};for(var u in t.set(e,o),e)o[u]=ha(e[u],t);return o}var ma=new(ue(Vt()).CssSelectorParser);ma.registerSelectorPseudos("not"),ma.registerSelectorPseudos("is"),ma.registerNestingOperators(">"),ma.registerAttrEqualityMods("^","$","*","~");var ga=ma;function va(e,t){return Aa(t).some((function(t){return Ta(e,t)}))}function Da(e,t){return function(e,t){return 1===e.props.nodeType&&("*"===t.tag||e.props.nodeName===t.tag)}(e,t)&&function(e,t){return!t.classes||t.classes.every((function(t){return e.hasClass(t.value)}))}(e,t)&&function(e,t){return!t.attributes||t.attributes.every((function(t){var n=e.attr(t.key);return null!==n&&t.test(n)}))}(e,t)&&function(e,t){return!t.id||e.props.id===t.id}(e,t)&&(n=e,!((r=t).pseudos&&!r.pseudos.every((function(e){if("not"===e.name)return!e.expressions.some((function(e){return Ta(n,e)}));if("is"===e.name)return e.expressions.some((function(e){return Ta(n,e)}));throw new Error("the pseudo selector "+e.name+" has not yet been implemented")}))));var n,r}var ba,ya=(ba=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,function(e){return e.replace(ba,"\\")}),wa=/\\/g;function Ea(e){if(e)return e.map((function(e){var t,n,r=e.name.replace(wa,""),a=(e.value||"").replace(wa,"");switch(e.operator){case"^=":n=new RegExp("^"+ya(a));break;case"$=":n=new RegExp(ya(a)+"$");break;case"~=":n=new RegExp("(^|\\s)"+ya(a)+"(\\s|$)");break;case"|=":n=new RegExp("^"+ya(a)+"(-|$)");break;case"=":t=function(e){return a===e};break;case"*=":t=function(e){return e&&e.includes(a)};break;case"!=":t=function(e){return a!==e};break;default:t=function(e){return null!==e}}return""===a&&/^[*$^]=$/.test(e.operator)&&(t=function(){return!1}),t||(t=function(e){return e&&n.test(e)}),{key:r,value:a,type:void 0===e.value?"attrExist":"attrValue",test:t}}))}function Fa(e){if(e)return e.map((function(e){return{value:e=e.replace(wa,""),regexp:new RegExp("(^|\\s)"+ya(e)+"(\\s|$)")}}))}function Ca(e){if(e)return e.map((function(e){var t;return["is","not"].includes(e.name)&&(t=xa(t=(t=e.value).selectors?t.selectors:[t])),{name:e.name,expressions:t,value:e.value}}))}function xa(e){return e.map((function(e){for(var t=[],n=e.rule;n;)t.push({tag:n.tagName?n.tagName.toLowerCase():"*",combinator:n.nestingOperator?n.nestingOperator:" ",id:n.id,attributes:Ea(n.attrs),classes:Fa(n.classNames),pseudos:Ca(n.pseudos)}),n=n.rule;return t}))}function Aa(e){var t=ga.parse(e);return xa(t=t.selectors?t.selectors:[t])}function ka(e,t,n,r){if(!e)return!1;for(var a=Array.isArray(t)?t[n]:t,o=Da(e,a);!o&&r&&e.parent;)o=Da(e=e.parent,a);if(n>0){if(!1===[" ",">"].includes(a.combinator))throw new Error("axe.utils.matchesExpression does not support the combinator: "+a.combinator);o=o&&ka(e.parent,t,n-1," "===a.combinator)}return o}function Ta(e,t,n){return ka(e,t,t.length-1,n)}var Na=function(e,t){for(;e;){if(va(e,t))return e;if(void 0===e.parent)throw new TypeError("Cannot resolve parent for non-DOM nodes");e=e.parent}return null};function Oa(){}function Sa(e){if("function"!=typeof e)throw new TypeError("Queue methods require functions as arguments")}var Ra,Ba,_a,Ma,Ia=function(){var e,t=[],n=0,r=0,a=Oa,o=!1,i=function(t){e=t,setTimeout((function(){null!=e&&dr("Uncaught error (of queue)",e)}),1)},u=i;function s(e){return function(n){t[e]=n,(r-=1)||a===Oa||(o=!0,a(t))}}function c(e){return a=Oa,u(e),t}var d={defer:function(a){if("object"===l(a)&&a.then&&a.catch){var i=a;a=function(e,t){i.then(e).catch(t)}}if(Sa(a),void 0===e){if(o)throw new Error("Queue already completed");return t.push(a),++r,function(){for(var e=t.length;n<e;n++){var r=t[n];try{r.call(null,s(n),c)}catch(e){c(e)}}}(),d}},then:function(n){if(Sa(n),a!==Oa)throw new Error("queue `then` already set");return e||(a=n,r||(o=!0,a(t))),d},catch:function(t){if(Sa(t),u!==i)throw new Error("queue `catch` already set");return e?(t(e),e=null):u=t,d},abort:c};return d},Pa=i.crypto||i.msCrypto;!Ba&&Pa&&Pa.getRandomValues&&(_a=new Uint8Array(16),Ba=function(){return Pa.getRandomValues(_a),_a}),Ba||(Ma=new Array(16),Ba=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),Ma[t]=e>>>((3&t)<<3)&255;return Ma});for(var La="function"==typeof i.Buffer?i.Buffer:Array,ja=[],$a={},qa=0;qa<256;qa++)ja[qa]=(qa+256).toString(16).substr(1),$a[ja[qa]]=qa;function Va(e,t){var n=t||0,r=ja;return r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]}var za=Ba(),Ua=[1|za[0],za[1],za[2],za[3],za[4],za[5]],Ha=16383&(za[6]<<8|za[7]),Wa=0,Ka=0;function Ga(e,t,n){var r=t&&n||0,a=t||[],o=null!=(e=e||{}).clockseq?e.clockseq:Ha,i=null!=e.msecs?e.msecs:(new Date).getTime(),u=null!=e.nsecs?e.nsecs:Ka+1,s=i-Wa+(u-Ka)/1e4;if(s<0&&null==e.clockseq&&(o=o+1&16383),(s<0||i>Wa)&&null==e.nsecs&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Wa=i,Ka=u,Ha=o;var l=(1e4*(268435455&(i+=122192928e5))+u)%4294967296;a[r++]=l>>>24&255,a[r++]=l>>>16&255,a[r++]=l>>>8&255,a[r++]=255&l;var c=i/4294967296*1e4&268435455;a[r++]=c>>>8&255,a[r++]=255&c,a[r++]=c>>>24&15|16,a[r++]=c>>>16&255,a[r++]=o>>>8|128,a[r++]=255&o;for(var d=e.node||Ua,f=0;f<6;f++)a[r+f]=d[f];return t||Va(a)}function Ya(e,t,n){var r=t&&n||0;"string"==typeof e&&(t="binary"==e?new La(16):null,e=null);var a=(e=e||{}).random||(e.rng||Ba)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var o=0;o<16;o++)t[r+o]=a[o];return t||Va(a)}(Ra=Ya).v1=Ga,Ra.v4=Ya,Ra.parse=function(e,t,n){var r=t&&n||0,a=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,(function(e){a<16&&(t[r+a++]=$a[e])}));a<16;)t[r+a++]=0;return t},Ra.unparse=Va,Ra.BufferClass=La,c._uuid=Ga();var Qa=Ya,Xa=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function Za(){var e="axeAPI",t="";return void 0!==c&&c._audit&&c._audit.application&&(e=c._audit.application),void 0!==c&&(t=c.version),e+"."+t}function Ja(e){to(e),kr(i.parent===e,"Source of the response must be the parent window.")}function eo(e){to(e),kr(e.parent===i,"Respondable target must be a frame in the current window")}function to(e){kr(i!==e,"Messages can not be sent to the same window.")}var no={},ro=[];function ao(){var e="".concat(Ya(),":").concat(Ya());return ro.includes(e)?ao():(ro.push(e),e)}function oo(e,t,n,r){if(n?Ja(e):eo(e),t.message instanceof Error&&!n)return c.log(t.message),!1;var a=function(e){var t=e.topic,n=e.channelId,r=e.message,a={channelId:n,topic:t,messageId:e.messageId,keepalive:!!e.keepalive,source:Za()};return r instanceof Error?a.error={name:r.name,message:r.message,stack:r.stack}:a.payload=r,JSON.stringify(a)}(G({messageId:ao()},t)),o=c._audit.allowedOrigins;return!(!o||!o.length||("function"==typeof r&&function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];kr(!no[e],"A replyHandler already exists for this message channel."),no[e]={replyHandler:t,sendToParent:n}}(t.channelId,r,n),o.forEach((function(t){try{e.postMessage(a,t)}catch(n){if(n instanceof e.DOMException)throw new Error('allowedOrigins value "'.concat(t,'" is not a valid origin'));throw n}})),0))}function io(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(r,a,o){oo(e,{channelId:t,message:r,keepalive:a},n,o)}}function uo(e,t){var n,r=e.origin,a=e.data,o=e.source;try{var u=function(e){var t,n,r,a,o;try{t=JSON.parse(e)}catch(e){return}if(null!==(u=t)&&"object"===l(u)&&"string"==typeof u.channelId&&u.source===Za()){var u,s=t,c=s.topic,d=s.channelId,f=s.messageId,p=s.keepalive;return{topic:c,message:"object"===l(t.error)?(n=t.error,r=n.message||"Unknown error occurred",a=Xa.includes(n.name)?n.name:"Error",o=i[a]||Error,n.stack&&(r+="\n"+n.stack.replace(n.message,"")),new o(r)):t.payload,messageId:f,channelId:d,keepalive:!!p}}}(a)||{},s=u.channelId,d=u.message,f=u.messageId;if(!function(e){var t=c._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}(r)||(n=f,ro.includes(n)||(ro.push(n),0)))return;if(d instanceof Error&&o.parent!==i)return c.log(d),!1;try{if(u.topic){var p=io(o,s);Ja(o),t(u,p)}else!function(e,t){var n=t.channelId,r=t.message,a=t.keepalive,o=function(e){return no[e]}(n)||{},i=o.replyHandler,u=o.sendToParent;if(i){u?Ja(e):eo(e);var s=io(e,n,u);!a&&n&&function(e){delete no[e]}(n);try{i(r,a,s)}catch(e){c.log(e),s(e,a)}}}(o,u)}catch(e){!function(e,t,n){if(!e.parent!==i)return c.log(t);try{oo(e,{topic:null,channelId:n,message:t,messageId:ao(),keepalive:!0},!0)}catch(e){return c.log(e)}}(o,e,s)}}catch(e){return c.log(e),!1}}var so,lo,co={open:function(e){if("function"==typeof i.addEventListener){var t=function(t){uo(t,e)};return i.addEventListener("message",t,!1),function(){i.removeEventListener("message",t,!1)}}},post:function(e,t,n){return"function"==typeof i.addEventListener&&oo(e,t,!1,n)}};function fo(e){e.updateMessenger(co)}var po={};function ho(e,t,n,r,a){var o={topic:t,message:n,channelId:"".concat(Ya(),":").concat(Ya()),keepalive:r};return lo(e,o,a)}function mo(e,t){var n=e.topic,r=e.message,a=e.keepalive,o=po[n];if(o)try{o(r,a,t)}catch(e){c.log(e),t(e,a)}}function go(e,t,n,r){var a,o,i=e.contentWindow,u=null!==(a=null===(o=t.options)||void 0===o?void 0:o.pingWaitTime)&&void 0!==a?a:500;if(!i)return dr("Frame does not have a content window",e),void n(null);if(0!==u){var s=setTimeout((function(){s=setTimeout((function(){t.debug?r(Do("No response from frame",e)):n(null)}),0)}),u);ho(i,"axe.ping",null,void 0,(function(){clearTimeout(s),vo(e,t,n,r)}))}else vo(e,t,n,r)}function vo(e,t,n,r){var a,o,i=null!==(a=null===(o=t.options)||void 0===o?void 0:o.frameWaitTime)&&void 0!==a?a:6e4,u=e.contentWindow,s=setTimeout((function(){r(Do("Axe in frame timed out",e))}),i);ho(u,"axe.start",t,void 0,(function(e){clearTimeout(s),e instanceof Error==0?n(e):r(e)}))}function Do(e,t){var n;return c._tree&&(n=ea(t)),new Error(e+": "+(n||t))}ho.updateMessenger=function(e){var t=e.open,n=e.post;kr("function"==typeof t,"open callback must be a function"),kr("function"==typeof n,"post callback must be a function"),so&&so();var r=t(mo);r?(kr("function"==typeof r,"open callback must return a cleanup function"),so=r):so=null,lo=n},ho.subscribe=function(e,t){kr("function"==typeof t,"Subscriber callback must be a function"),kr(!po[e],"Topic ".concat(e," is already registered to.")),po[e]=t},ho.isInFrame=function(){return!!(arguments.length>0&&void 0!==arguments[0]?arguments[0]:i).frameElement},fo(ho);var bo=null,yo={update:function(e){kr("object"===l(e),"serializer must be an object"),bo=e},toSpec:function(e){return yo.dqElmToSpec(new da(e))},dqElmToSpec:function(e,t){var n;return e instanceof da==0?e:(t&&(e=function(e,t){var n=e.fromFrame,r=t.ancestry,a=t.xpath,o=!1!==t.selectors||n;return(e=new da(e.element,t,{source:e.source,nodeIndexes:e.nodeIndexes,selector:o?e.selector:[":root"],ancestry:r?e.ancestry:[":root"],xpath:a?e.xpath:"/"})).fromFrame=n,e}(e,t)),"function"==typeof(null===(n=bo)||void 0===n?void 0:n.toSpec)?bo.toSpec(e):e.toJSON())},mergeSpecs:function(e,t){var n;return"function"==typeof(null===(n=bo)||void 0===n?void 0:n.mergeSpecs)?bo.mergeSpecs(e,t):da.mergeSpecs(e,t)},mapRawResults:function(e){return e.map((function(e){return G({},e,{nodes:yo.mapRawNodeResults(e.nodes)})}))},mapRawNodeResults:function(e){return null==e?void 0:e.map((function(e){var t=e.node,n=H(e,f);n.node=yo.dqElmToSpec(t);for(var r=0,a=["any","all","none"];r<a.length;r++){var o=a[r];n[o]=n[o].map((function(e){var t=e.relatedNodes,n=H(e,p);return n.relatedNodes=t.map(yo.dqElmToSpec),n}))}return n}))}},wo=yo,Eo=function(e){return[].concat(e.any||[]).concat(e.all||[]).concat(e.none||[])},Fo=function(e,t,n){if(Array.isArray(e))return e.find((function(e){return null!==e&&"object"===l(e)&&Object.hasOwn(e,t)&&e[t]===n}))};function Co(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=Math.max(null==e?void 0:e.length,null==t?void 0:t.length),r=0;r<n;r++){var a=null==e?void 0:e[r],o=null==t?void 0:t[r];if("number"!=typeof a||isNaN(a))return 0===r?1:-1;if("number"!=typeof o||isNaN(o))return 0===r?-1:1;if(a!==o)return a-o}return 0}var xo=function(e,t){var n=[];return e.forEach((function(e){var t,r=(t=e)&&t.results?Array.isArray(t.results)?t.results.length?t.results:null:[t.results]:null;if(r&&r.length){var a=function(e){return e.frameElement?wo.toSpec(e.frameElement):e.frameSpec?e.frameSpec:null}(e);r.forEach((function(e){e.nodes&&a&&function(e,t,n){e.forEach((function(e){e.node=wo.mergeSpecs(e.node,n),Eo(e).forEach((function(e){e.relatedNodes=e.relatedNodes.map((function(e){return wo.mergeSpecs(e,n)}))}))}))}(e.nodes,0,a);var t=Fo(n,"id",e.id);t?e.nodes.length&&function(e,t){for(var n=t[0].node,r=0;r<e.length;r++){var a=e[r].node,o=Co(a.nodeIndexes,n.nodeIndexes);if(o>0||0===o&&n.selector.length<a.selector.length)return void e.splice.apply(e,[r,0].concat(W(t)))}e.push.apply(e,W(t))}(t.nodes,e.nodes):n.push(e)}))}})),n.forEach((function(e){e.nodes&&e.nodes.sort((function(e,t){return Co(e.node.nodeIndexes,t.node.nodeIndexes)}))})),n};function Ao(e,t,n,r,a,o){t=G({},t,{elementRef:!1});var i=Ia();e.frames.forEach((function(e){var a=e.node,o=H(e,h);i.defer((function(e,i){go(a,{options:t,command:n,parameter:r,context:o},(function(t){return e(t?{results:t,frameElement:a}:null)}),i)}))})),i.then((function(e){a(xo(e,t))})).catch(o)}function ko(e,t){if(!e.shadowId&&!t.shadowId&&e.actualNode&&"function"==typeof e.actualNode.contains)return e.actualNode.contains(t.actualNode);do{if(e===t)return!0;if(t.nodeIndex<e.nodeIndex)return!1;t=t.parent}while(t);return!1}var To=function e(){for(var t={},n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return r.forEach((function(n){if(n&&"object"===l(n)&&!Array.isArray(n))for(var r=0,a=Object.keys(n);r<a.length;r++){var o=a[r];!t.hasOwnProperty(o)||"object"!==l(n[o])||Array.isArray(t[o])?t[o]=n[o]:t[o]=e(t[o],n[o])}})),t},No=function(e,t){Object.assign(e,t),Object.keys(t).filter((function(e){return"function"==typeof t[e]})).forEach((function(n){e[n]=null;try{e[n]=t[n](e)}catch(e){}}))},Oo=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"],So=function(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(Oo.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return!0}return!1},Ro={};ie(Ro,{createGrid:function(){return Si},findElmsInContext:function(){return Mo},findNearbyElms:function(){return $i},findUp:function(){return Po},findUpVirtual:function(){return Io},focusDisabled:function(){return Ki},getComposedParent:function(){return ai},getElementByReference:function(){return Xi},getElementCoordinates:function(){return ii},getElementStack:function(){return nu},getModalDialog:function(){return Vi},getOverflowHiddenAncestors:function(){return $o},getRootNode:function(){return _o},getScrollOffset:function(){return oi},getTabbableElements:function(){return ru},getTargetRects:function(){return uu},getTargetSize:function(){return su},getTextElementStack:function(){return Us},getViewportSize:function(){return ui},getVisibleChildTextRects:function(){return zs},hasContent:function(){return Qs},hasContentVirtual:function(){return Ys},hasLangText:function(){return Xs},idrefs:function(){return cu},insertedIntoFocusOrder:function(){return Zs},isCurrentPageLink:function(){return Qi},isFocusable:function(){return ou},isHTML5:function(){return nl},isHiddenForEveryone:function(){return ti},isHiddenWithCSS:function(){return tl},isInTabOrder:function(){return iu},isInTextBlock:function(){return ul},isInert:function(){return zi},isModalOpen:function(){return sl},isMultiline:function(){return ll},isNativelyFocusable:function(){return au},isNode:function(){return cl},isOffscreen:function(){return si},isOpaque:function(){return Nf},isSkipLink:function(){return Of},isVisible:function(){return _f},isVisibleOnScreen:function(){return ci},isVisibleToScreenReaders:function(){return os},isVisualContent:function(){return Ws},reduceToElementsBelowFloating:function(){return Mf},shadowElementsFromPoint:function(){return jf},urlPropsFromAttribute:function(){return zf},visuallyContains:function(){return If},visuallyOverlaps:function(){return Uf},visuallySort:function(){return Zi}});var Bo=function(e){var t=e.getRootNode&&e.getRootNode()||s;return t===e&&(t=s),t},_o=Bo,Mo=function(e){var t,n=e.context,r=e.value,a=e.attr,o=e.elm,i=void 0===o?"":o,u=Nr(r);return t=9===n.nodeType||11===n.nodeType?n:_o(n),Array.from(t.querySelectorAll(i+"["+a+"="+u+"]"))},Io=function(e,t){var n;if(n=e.actualNode,!e.shadowId&&"function"==typeof e.actualNode.closest)return e.actualNode.closest(t)||null;do{(n=n.assignedSlot?n.assignedSlot:n.parentNode)&&11===n.nodeType&&(n=n.host)}while(n&&!Mr(n,t)&&n!==s.documentElement);return n&&Mr(n,t)?n:null},Po=function(e,t){return Io(sa(e),t)};function Lo(e,t){return(0|e.left)<(0|t.right)&&(0|e.right)>(0|t.left)&&(0|e.top)<(0|t.bottom)&&(0|e.bottom)>(0|t.top)}var jo=Pr((function(e){var t=[];return e?("hidden"===e.getComputedStylePropertyValue("overflow")&&t.push(e),t.concat(jo(e.parent))):t})),$o=jo,qo=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Vo=/(\w+)\((\d+)/;function zo(e){return["style","script","noscript","template"].includes(e.props.nodeName)}function Uo(e){return"area"!==e.props.nodeName&&"none"===e.getComputedStylePropertyValue("display")}function Ho(e){return!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function Wo(e){return!!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&"hidden"===e.getComputedStylePropertyValue("content-visibility")}function Ko(e){return"true"===e.attr("aria-hidden")}function Go(e){return"0"===e.getComputedStylePropertyValue("opacity")}function Yo(e){var t=Ip(e.actualNode),n=parseInt(e.getComputedStylePropertyValue("height")),r=parseInt(e.getComputedStylePropertyValue("width"));return!!t&&(0===n||0===r)}function Qo(e){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var t=e.boundingClientRect,n=$o(e);return!!n.length&&n.some((function(e){var n=e.boundingClientRect;return n.width<2||n.height<2||!Lo(t,n)}))}function Xo(e){var t=e.getComputedStylePropertyValue("clip").match(qo),n=e.getComputedStylePropertyValue("clip-path").match(Vo);if(t&&5===t.length){var r=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(r))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(n){var a=n[1],o=parseInt(n[2],10);switch(a){case"inset":return o>=50;case"circle":return 0===o}}return!1}function Zo(e,t){var n=Na(e,"map");if(!n)return!0;var r=n.attr("name");if(!r)return!0;var a=Bo(e.actualNode);if(!a||9!==a.nodeType)return!0;var o=mh(c._tree,'img[usemap="#'.concat(Nr(r),'"]'));return!o||!o.length||o.some((function(e){return!t(e)}))}function Jo(e){var t;return"details"===(null===(t=e.parent)||void 0===t?void 0:t.props.nodeName)&&(("summary"!==e.props.nodeName||e.parent.children.find((function(e){return"summary"===e.props.nodeName}))!==e)&&!e.parent.hasAttr("open"))}var ei=[Uo,Ho,Wo,Jo];function ti(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.skipAncestors,r=t.isAncestor,a=void 0!==r&&r;return e=Yp(e).vNode,n?ni(e,a):ri(e,a)}var ni=Pr((function(e,t){return!(!zo(e)&&(!e.actualNode||!ei.some((function(n){return n(e,{isAncestor:t})}))&&e.actualNode.isConnected))})),ri=Pr((function(e,t){return!!ni(e,t)||!!e.parent&&ri(e.parent,!0)})),ai=function e(t){if(t.assignedSlot)return e(t.assignedSlot);if(t.parentNode){var n=t.parentNode;if(1===n.nodeType)return n;if(n.host)return n.host}return null},oi=function(e){if(!e.nodeType&&e.document&&(e=e.document),9===e.nodeType){var t=e.documentElement,n=e.body;return{left:t&&t.scrollLeft||n&&n.scrollLeft||0,top:t&&t.scrollTop||n&&n.scrollTop||0}}return{left:e.scrollLeft,top:e.scrollTop}},ii=function(e){var t=oi(s),n=t.left,r=t.top,a=e.getBoundingClientRect();return{top:a.top+r,right:a.right+n,bottom:a.bottom+r,left:a.left+n,width:a.right-a.left,height:a.bottom-a.top}},ui=function(e){var t=e.document,n=t.documentElement;if(e.innerWidth)return{width:e.innerWidth,height:e.innerHeight};if(n)return{width:n.clientWidth,height:n.clientHeight};var r=t.body;return{width:r.clientWidth,height:r.clientHeight}},si=function(e){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var t=Yp(e).domNode;if(t){var n,r=s.documentElement,a=i.getComputedStyle(t),o=i.getComputedStyle(s.body||r).getPropertyValue("direction"),u=ii(t);if(u.bottom<0&&(function(e,t){for(e=ai(e);e&&"html"!==e.nodeName.toLowerCase();){if(e.scrollTop&&(t+=e.scrollTop)>=0)return!1;e=ai(e)}return!0}(t,u.bottom)||"absolute"===a.position))return!0;if(0===u.left&&0===u.right)return!1;if("ltr"===o){if(u.right<=0)return!0}else if(n=Math.max(r.scrollWidth,ui(i).width),u.left>=n)return!0;return!1}},li=[Go,Yo,Qo,Xo,si];function ci(e){return e=Yp(e).vNode,di(e)}var di=Pr((function(e,t){return e.actualNode&&"area"===e.props.nodeName?!Zo(e,di):!ti(e,{skipAncestors:!0,isAncestor:t})&&(!e.actualNode||!li.some((function(n){return n(e,{isAncestor:t})})))&&(!e.parent||di(e.parent,!0))}));function fi(e,t){var n=Math.min(e.top,t.top),r=Math.max(e.right,t.right),a=Math.max(e.bottom,t.bottom),o=Math.min(e.left,t.left);return new i.DOMRect(o,n,r-o,a-n)}function pi(e,t){var n=e.x,r=e.y,a=t.top,o=t.right,i=t.bottom,u=t.left;return r>=a&&n<=o&&r<=i&&n>=u}var hi={};function mi(e,t){var n=Math.max(e.left,t.left),r=Math.min(e.right,t.right),a=Math.max(e.top,t.top),o=Math.min(e.bottom,t.bottom);return n>=r||a>=o?null:new i.DOMRect(n,a,r-n,o-a)}function gi(e){var t=e.left,n=e.top,r=e.width,a=e.height;return new i.DOMPoint(t+r/2,n+a/2)}ie(hi,{getBoundingRect:function(){return fi},getIntersectionRect:function(){return mi},getOffset:function(){return bi},getRectCenter:function(){return gi},hasVisualOverlap:function(){return Ei},isPointInRect:function(){return pi},rectHasMinimumSize:function(){return Di},rectsOverlap:function(){return Lo},splitRects:function(){return Fi}});var vi=.05;function Di(e,t){var n=t.width,r=t.height;return n+vi>=e&&r+vi>=e}function bi(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:12,r=uu(e),a=uu(t);if(!r.length||!a.length)return 0;var o,i=gi(r.reduce(fi)),u=1/0,s=ne(a);try{for(s.s();!(o=s.n()).done;){var l=o.value;if(pi(i,l))return 0;var c=wi(i,yi(i,l));u=Math.min(u,c)}}catch(e){s.e(e)}finally{s.f()}if(Di(2*n,su(t)))return u;var d=wi(i,gi(a.reduce(fi)))-n;return Math.max(0,Math.min(u,d))}function yi(e,t){return{x:e.x<t.left?t.left:e.x>t.right?t.right:e.x,y:e.y<t.top?t.top:e.y>t.bottom?t.bottom:e.y}}function wi(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function Ei(e,t){var n=e.boundingClientRect,r=t.boundingClientRect;return!(n.left>=r.right||n.right<=r.left||n.top>=r.bottom||n.bottom<=r.top)&&Zi(e,t)>0}function Fi(e,t){var n,r=[e],a=ne(t);try{var o=function(){var e=n.value;r=r.reduce((function(t,n){return t.concat(function(e,t){var n,r,a=e.top,o=e.left,i=e.bottom,u=e.right,s=a<t.bottom&&i>t.top,l=o<t.right&&u>t.left,c=[];if(Ci(t.top,a,i)&&l&&c.push({top:a,left:o,bottom:t.top,right:u}),Ci(t.right,o,u)&&s&&c.push({top:a,left:t.right,bottom:i,right:u}),Ci(t.bottom,a,i)&&l&&c.push({top:t.bottom,right:u,bottom:i,left:o}),Ci(t.left,o,u)&&s&&c.push({top:a,left:o,bottom:i,right:t.left}),0===c.length){if(r=t,(n=e).top>=r.top&&n.left>=r.left&&n.bottom<=r.bottom&&n.right<=r.right)return[];c.push(e)}return c.map(xi)}(n,e))}),[])};for(a.s();!(n=a.n()).done;)o()}catch(e){a.e(e)}finally{a.f()}return r}var Ci=function(e,t,n){return e>t&&e<n};function xi(e){return new i.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}var Ai=0,ki=.1,Ti=.2,Ni=.3,Oi=0;function Si(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.body,t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(ua.get("gridCreated")&&!n)return cr.gridSize;if(ua.set("gridCreated",!0),!n){var r,a=sa(s.documentElement);if(a||(a=new Kf(s.documentElement)),Oi=0,a._stackingOrder=[Mi(Ai,Oi++,null)],null!==(r=t)&&void 0!==r||(t=new Li),Pi(t,a),Ip(a.actualNode)){var o=new Li(a);a._subGrid=o}}for(var u=s.createTreeWalker(e,i.NodeFilter.SHOW_ELEMENT,null,!1),l=n?u.nextNode():u.currentNode;l;){var d=sa(l);d&&d.parent?n=d.parent:l.assignedSlot?n=sa(l.assignedSlot):l.parentElement?n=sa(l.parentElement):l.parentNode&&sa(l.parentNode)&&(n=sa(l.parentNode)),d||(d=new c.VirtualNode(l,n)),d._stackingOrder=_i(d,n,Oi++);var f=Ii(d,n),p=f?f._subGrid:t;if(Ip(d.actualNode)){var h=new Li(d);d._subGrid=h}var m=d.boundingClientRect;0!==m.width&&0!==m.height&&ci(l)&&Pi(p,d),So(l)&&Si(l.shadowRoot,p,d),l=u.nextNode()}return cr.gridSize}function Ri(e,t){var n=e.getComputedStylePropertyValue("position"),r=e.getComputedStylePropertyValue("z-index");if("fixed"===n||"sticky"===n)return!0;if("auto"!==r&&"static"!==n)return!0;if("1"!==e.getComputedStylePropertyValue("opacity"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none"))return!0;var a=e.getComputedStylePropertyValue("mix-blend-mode");if(a&&"normal"!==a)return!0;var o=e.getComputedStylePropertyValue("filter");if(o&&"none"!==o)return!0;var i=e.getComputedStylePropertyValue("perspective");if(i&&"none"!==i)return!0;var u=e.getComputedStylePropertyValue("clip-path");if(u&&"none"!==u)return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none"))return!0;if("isolate"===e.getComputedStylePropertyValue("isolation"))return!0;var s=e.getComputedStylePropertyValue("will-change");if("transform"===s||"opacity"===s)return!0;if("touch"===e.getComputedStylePropertyValue("-webkit-overflow-scrolling"))return!0;var l=e.getComputedStylePropertyValue("contain");return!!["layout","paint","strict","content"].includes(l)||!("auto"===r||!Bi(t))}function Bi(e){if(!e)return!1;var t=e.getComputedStylePropertyValue("display");return["flex","inline-flex","grid","inline-grid"].includes(t)}function _i(e,t,n){var r=t._stackingOrder.slice();if(Ri(e,t)){var a=r.findIndex((function(e){var t=e.stackLevel;return[Ai,Ti,Ni].includes(t)}));-1!==a&&r.splice(a,r.length-a)}var o=function(e,t){var n=function(e,t){return"static"!==e.getComputedStylePropertyValue("position")||Bi(t)?e.getComputedStylePropertyValue("z-index"):"auto"}(e,t);return["auto","0"].includes(n)?"static"!==e.getComputedStylePropertyValue("position")?Ni:"none"!==e.getComputedStylePropertyValue("float")?Ti:Ri(e,t)?ki:null:parseInt(n)}(e,t);return null!==o&&r.push(Mi(o,n,e)),r}function Mi(e,t,n){return{stackLevel:e,treeOrder:t,vNode:n}}function Ii(e,t){for(var n=null,r=[e];t;){if(Ip(t.actualNode)){n=t;break}if(t._scrollRegionParent){n=t._scrollRegionParent;break}r.push(t),t=sa(t.actualNode.parentElement||t.actualNode.parentNode)}return r.forEach((function(e){return e._scrollRegionParent=n})),n}function Pi(e,t){var n=$o(t);t.clientRects.forEach((function(r){var a,o=n.reduce((function(e,t){return e&&mi(e,t.boundingClientRect)}),r);if(o){null!==(a=t._grid)&&void 0!==a||(t._grid=e);var i=e.getGridPositionOfRect(o);e.loopGridPosition(i,(function(e){e.includes(t)||e.push(t)}))}}))}var Li=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;Z(this,e),this.container=t,this.cells=[]}return ee(e,[{key:"toGridIndex",value:function(e){return Math.floor(e/cr.gridSize)}},{key:"getCellFromPoint",value:function(e){var t,n,r=e.x,a=e.y;kr(this.boundaries,"Grid does not have cells added");var o=this.toGridIndex(a),i=this.toGridIndex(r);kr(pi({y:o,x:i},this.boundaries),"Element midpoint exceeds the grid bounds");var u=null!==(t=this.cells[o-this.cells._negativeIndex])&&void 0!==t?t:[];return null!==(n=u[i-u._negativeIndex])&&void 0!==n?n:[]}},{key:"loopGridPosition",value:function(e,t){var n=e,r=n.left,a=n.right,o=n.top,i=n.bottom;this.boundaries&&(e=fi(this.boundaries,e)),this.boundaries=e,ji(this.cells,o,i,(function(e,n){ji(e,r,a,(function(e,r){t(e,{row:n,col:r})}))}))}},{key:"getGridPositionOfRect",value:function(e){var t=e.top,n=e.right,r=e.bottom,a=e.left,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t=this.toGridIndex(t-o),n=this.toGridIndex(n+o-1),r=this.toGridIndex(r+o-1),a=this.toGridIndex(a-o),new i.DOMRect(a,t,n-a,r-t)}}]),e}();function ji(e,t,n,r){var a;if(null!==(a=e._negativeIndex)&&void 0!==a||(e._negativeIndex=0),t<e._negativeIndex){for(var o=0;o<e._negativeIndex-t;o++)e.splice(0,0,[]);e._negativeIndex=t}for(var i=t-e._negativeIndex,u=n-e._negativeIndex,s=i;s<=u;s++){var l,c;null!==(c=e[l=s])&&void 0!==c||(e[l]=[]),r(e[s],s+e._negativeIndex)}}function $i(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(Si(),null===(t=e._grid)||void 0===t||null===(n=t.cells)||void 0===n||!n.length)return[];var a=e.boundingClientRect,o=e._grid,i=qi(e),u=o.getGridPositionOfRect(a,r),s=[];return o.loopGridPosition(u,(function(t){var n,r=ne(t);try{for(r.s();!(n=r.n()).done;){var a=n.value;a&&a!==e&&!s.includes(a)&&i===qi(a)&&s.push(a)}}catch(e){r.e(e)}finally{r.f()}})),s}var qi=Pr((function(e){return!!e&&("fixed"===e.getComputedStylePropertyValue("position")||qi(e.parent))})),Vi=Pr((function(){var e;if(!c._tree)return null;var t=ah(c._tree[0],"dialog[open]",(function(e){var t=e.boundingClientRect;return s.elementsFromPoint(t.left+1,t.top+1).includes(e.actualNode)&&ci(e)}));return t.length?t.find((function(e){var t=e.boundingClientRect;return s.elementsFromPoint(t.left-10,t.top-10).includes(e.actualNode)}))||(null!==(e=t.find((function(e){var t,n=null!==(t=function(e){Si();var t=c._tree[0]._grid,n=new i.DOMRect(0,0,i.innerWidth,i.innerHeight);if(t)for(var r=0;r<t.cells.length;r++){var a=t.cells[r];if(a)for(var o=0;o<a.length;o++){var u=a[o];if(u)for(var s=0;s<u.length;s++){var l=u[s],d=mi(l.boundingClientRect,n);if("html"!==l.props.nodeName&&l!==e&&"none"!==l.getComputedStylePropertyValue("pointer-events")&&d)return{vNode:l,rect:d}}}}}(e))&&void 0!==t?t:{},r=n.vNode,a=n.rect;return!!r&&!s.elementsFromPoint(a.left+1,a.top+1).includes(r.actualNode)})))&&void 0!==e?e:null):null}));function zi(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.skipAncestors,r=t.isAncestor;return n?Ui(e,r):Hi(e,r)}var Ui=Pr((function(e,t){if(e.hasAttr("inert"))return!0;if(!t&&e.actualNode){var n=Vi();if(n&&!ko(n,e))return!0}return!1})),Hi=Pr((function(e,t){return!!Ui(e,t)||!!e.parent&&Hi(e.parent,!0)})),Wi=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"],Ki=function(e){var t,n=Yp(e).vNode;if(t=n.props.nodeName,Wi.includes(t)&&n.hasAttr("disabled")||zi(n))return!0;for(var r=n.parent,a=[],o=!1;r&&r.shadowId===n.shadowId&&!o&&(a.push(r),"legend"!==r.props.nodeName);){if(void 0!==r._inDisabledFieldset){o=r._inDisabledFieldset;break}"fieldset"===r.props.nodeName&&r.hasAttr("disabled")&&(o=!0),r=r.parent}return a.forEach((function(e){return e._inDisabledFieldset=o})),!!o||"area"!==n.props.nodeName&&!!n.actualNode&&ti(n)},Gi=/^\/\#/,Yi=/^#[!/]/;function Qi(e){var t,n=e.getAttribute("href");if(!n||"#"===n)return!1;if(Gi.test(n))return!0;var r=e.hash,a=e.protocol,o=e.hostname,u=e.port,s=e.pathname;if(Yi.test(r))return!1;if("#"===n.charAt(0))return!0;if("string"!=typeof(null===(t=i.location)||void 0===t?void 0:t.origin)||-1===i.location.origin.indexOf("://"))return null;var l,c=i.location.origin+i.location.pathname;return l=o?"".concat(a,"//").concat(o).concat(u?":".concat(u):""):i.location.origin,(l+=s?("/"!==s[0]?"/":"")+s:i.location.pathname)===c}var Xi=function(e,t){var n=e.getAttribute(t);if(!n)return null;if("href"===t&&!Qi(e))return null;-1!==n.indexOf("#")&&(n=decodeURIComponent(n.substr(n.indexOf("#")+1)));var r=s.getElementById(n);return r||((r=s.getElementsByName(n)).length?r[0]:null)};function Zi(e,t){Si();for(var n=Math.max(e._stackingOrder.length,t._stackingOrder.length),r=0;r<n;r++){if(void 0===t._stackingOrder[r])return-1;if(void 0===e._stackingOrder[r])return 1;if(t._stackingOrder[r].stackLevel>e._stackingOrder[r].stackLevel)return 1;if(t._stackingOrder[r].stackLevel<e._stackingOrder[r].stackLevel)return-1;if(t._stackingOrder[r].treeOrder!==e._stackingOrder[r].treeOrder)return t._stackingOrder[r].treeOrder-e._stackingOrder[r].treeOrder}var a=e.actualNode,o=t.actualNode;if(a.getRootNode&&a.getRootNode()!==o.getRootNode()){for(var u=[];a;)u.push({root:a.getRootNode(),node:a}),a=a.getRootNode().host;for(;o&&!u.find((function(e){return e.root===o.getRootNode()}));)o=o.getRootNode().host;if((a=u.find((function(e){return e.root===o.getRootNode()})).node)===o)return e.actualNode.getRootNode()!==a.getRootNode()?-1:1}var s=i.Node,l=s.DOCUMENT_POSITION_FOLLOWING,c=s.DOCUMENT_POSITION_CONTAINS,d=s.DOCUMENT_POSITION_CONTAINED_BY,f=a.compareDocumentPosition(o),p=f&l?1:-1,h=f&c||f&d,m=Ji(e),g=Ji(t);return m===g||h?p:g-m}function Ji(e){return-1!==e.getComputedStylePropertyValue("display").indexOf("inline")?2:eu(e)?1:0}function eu(e){if(!e)return!1;if(void 0!==e._isFloated)return e._isFloated;if("none"!==e.getComputedStylePropertyValue("float"))return e._isFloated=!0,!0;var t=eu(e.parent);return e._isFloated=t,t}function tu(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=gi(t),a=e.getCellFromPoint(r)||[],o=Math.floor(r.x),i=Math.floor(r.y),u=a.filter((function(e){return e.clientRects.some((function(e){var t=e.left,n=e.top;return o<Math.floor(t+e.width)&&o>=Math.floor(t)&&i<Math.floor(n+e.height)&&i>=Math.floor(n)}))})),l=e.container;return l&&(u=tu(l._grid,l.boundingClientRect,!0).concat(u)),n||(u=u.sort(Zi).map((function(e){return e.actualNode})).concat(s.documentElement).filter((function(e,t,n){return n.indexOf(e)===t}))),u}var nu=function(e){Si();var t=sa(e),n=t._grid;return n?tu(n,t.boundingClientRect):[]},ru=function(e){return mh(e,"*").filter((function(e){var t=e.isFocusable,n=e.actualNode.getAttribute("tabindex");return(n=n&&!isNaN(parseInt(n,10))?parseInt(n):null)?t&&n>=0:t}))},au=function(e){var t=Yp(e).vNode;if(!t||Ki(t))return!1;switch(t.props.nodeName){case"a":case"area":if(t.hasAttr("href"))return!0;break;case"input":return"hidden"!==t.props.type;case"textarea":case"select":case"summary":case"button":return!0;case"details":return!mh(t,"summary").length}return!1};function ou(e){var t=Yp(e).vNode;if(1!==t.props.nodeType)return!1;if(Ki(t))return!1;if(au(t))return!0;var n=t.attr("tabindex");return!(!n||isNaN(parseInt(n,10)))}function iu(e){var t=Yp(e).vNode;return 1===t.props.nodeType&&!(parseInt(t.attr("tabindex",10))<=-1)&&ou(t)}var uu=Pr((function(e){var t=e.boundingClientRect,n=$i(e).filter((function(t){return Ei(e,t)&&"none"!==t.getComputedStylePropertyValue("pointer-events")&&!function(e,t){return e.actualNode.contains(t.actualNode)&&!iu(t)}(e,t)}));return n.length?Fi(t,n.map((function(e){return e.boundingClientRect}))):[t]})),su=Pr((function(e,t){return function(e,t){return e.reduce((function(e,n){var r=Di(t,e);return r!==Di(t,n)?r?e:n:e.width*e.height>n.width*n.height?e:n}))}(uu(e),t)})),lu={};ie(lu,{accessibleText:function(){return du},accessibleTextVirtual:function(){return Ss},autocomplete:function(){return Ms},formControlValue:function(){return bs},formControlValueMethods:function(){return vs},hasUnicode:function(){return Ns},isHumanInterpretable:function(){return _s},isIconLigature:function(){return Os},isValidAutocomplete:function(){return Is},label:function(){return $s},labelText:function(){return Es},labelVirtual:function(){return js},nativeElementType:function(){return qs},nativeTextAlternative:function(){return ks},nativeTextMethods:function(){return As},removeUnicode:function(){return Bs},sanitize:function(){return Nu},subtreeText:function(){return ws},titleText:function(){return ts},unsupported:function(){return as},visible:function(){return Ls},visibleTextNodes:function(){return Vs},visibleVirtual:function(){return us}});var cu=function(e,t){e=e.actualNode||e;try{var n=_o(e),r=[],a=e.getAttribute(t);if(a){a=Gf(a);for(var o=0;o<a.length;o++)r.push(n.getElementById(a[o]))}return r}catch(e){throw new TypeError("Cannot resolve id references for non-DOM nodes")}},du=function(e,t){return Ss(sa(e),t)},fu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Yp(e).vNode;return 1!==(null==n?void 0:n.props.nodeType)||1!==n.props.nodeType||t.inLabelledByContext||t.inControlContext||!n.attr("aria-labelledby")?"":cu(n,"aria-labelledby").filter((function(e){return e})).reduce((function(e,r){var a=du(r,G({inLabelledByContext:!0,startNode:t.startNode||n},t));return e?"".concat(e," ").concat(a):a}),"")};function pu(e){var t=Yp(e).vNode;return 1!==(null==t?void 0:t.props.nodeType)?"":t.attr("aria-label")||""}var hu={"aria-activedescendant":{type:"idref",allowEmpty:!0},"aria-atomic":{type:"boolean",global:!0},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-braillelabel":{type:"string",allowEmpty:!0,global:!0},"aria-brailleroledescription":{type:"string",allowEmpty:!0,global:!0},"aria-busy":{type:"boolean",global:!0},"aria-checked":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-colcount":{type:"int",minValue:-1},"aria-colindex":{type:"int",minValue:1},"aria-colspan":{type:"int",minValue:1},"aria-controls":{type:"idrefs",allowEmpty:!0,global:!0},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],global:!0},"aria-describedby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-description":{type:"string",allowEmpty:!0,global:!0},"aria-details":{type:"idref",allowEmpty:!0,global:!0},"aria-disabled":{type:"boolean",global:!0},"aria-dropeffect":{type:"nmtokens",values:["copy","execute","link","move","none","popup"],global:!0},"aria-errormessage":{type:"idref",allowEmpty:!0,global:!0},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs",allowEmpty:!0,global:!0},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],global:!0},"aria-hidden":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-invalid":{type:"nmtoken",values:["grammar","false","spelling","true"],global:!0},"aria-keyshortcuts":{type:"string",allowEmpty:!0,global:!0},"aria-label":{type:"string",allowEmpty:!0,global:!0},"aria-labelledby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-level":{type:"int",minValue:1},"aria-live":{type:"nmtoken",values:["assertive","off","polite"],global:!0},"aria-modal":{type:"boolean"},"aria-multiline":{type:"boolean"},"aria-multiselectable":{type:"boolean"},"aria-orientation":{type:"nmtoken",values:["horizontal","undefined","vertical"]},"aria-owns":{type:"idrefs",allowEmpty:!0,global:!0},"aria-placeholder":{type:"string",allowEmpty:!0},"aria-posinset":{type:"int",minValue:1},"aria-pressed":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-readonly":{type:"boolean"},"aria-relevant":{type:"nmtokens",values:["additions","all","removals","text"],global:!0},"aria-required":{type:"boolean"},"aria-roledescription":{type:"string",allowEmpty:!0,global:!0},"aria-rowcount":{type:"int",minValue:-1},"aria-rowindex":{type:"int",minValue:1},"aria-rowspan":{type:"int",minValue:0},"aria-selected":{type:"nmtoken",values:["false","true","undefined"]},"aria-setsize":{type:"int",minValue:-1},"aria-sort":{type:"nmtoken",values:["ascending","descending","none","other"]},"aria-valuemax":{type:"decimal"},"aria-valuemin":{type:"decimal"},"aria-valuenow":{type:"decimal"},"aria-valuetext":{type:"string",allowEmpty:!0}},mu={alert:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},alertdialog:{type:"widget",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["alert","dialog"],accessibleNameRequired:!0},application:{type:"landmark",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["structure"],accessibleNameRequired:!0},article:{type:"structure",allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["document"]},banner:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},blockquote:{type:"structure",superclassRole:["section"]},button:{type:"widget",allowedAttrs:["aria-expanded","aria-pressed"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},caption:{type:"structure",requiredContext:["figure","table","grid","treegrid"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},cell:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-expanded"],superclassRole:["section"],nameFromContent:!0},checkbox:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-readonly","aria-expanded","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},code:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},columnheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},combobox:{type:"widget",requiredAttrs:["aria-expanded","aria-controls"],allowedAttrs:["aria-owns","aria-autocomplete","aria-readonly","aria-required","aria-activedescendant","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},command:{type:"abstract",superclassRole:["widget"]},complementary:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},composite:{type:"abstract",superclassRole:["widget"]},contentinfo:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},comment:{type:"structure",allowedAttrs:["aria-level","aria-posinset","aria-setsize"],superclassRole:["article"]},definition:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},deletion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},dialog:{type:"widget",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["window"],accessibleNameRequired:!0},directory:{type:"structure",deprecated:!0,allowedAttrs:["aria-expanded"],superclassRole:["list"],nameFromContent:!0},document:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["structure"]},emphasis:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},feed:{type:"structure",requiredOwned:["article"],allowedAttrs:["aria-expanded"],superclassRole:["list"]},figure:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},form:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},grid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-level","aria-multiselectable","aria-readonly","aria-activedescendant","aria-colcount","aria-expanded","aria-rowcount"],superclassRole:["composite","table"],accessibleNameRequired:!1},gridcell:{type:"widget",requiredContext:["row"],allowedAttrs:["aria-readonly","aria-required","aria-selected","aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan"],superclassRole:["cell","widget"],nameFromContent:!0},group:{type:"structure",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["section"]},heading:{type:"structure",requiredAttrs:["aria-level"],allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},img:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!0,childrenPresentational:!0},input:{type:"abstract",superclassRole:["widget"]},insertion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},landmark:{type:"abstract",superclassRole:["section"]},link:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},list:{type:"structure",requiredOwned:["listitem"],allowedAttrs:["aria-expanded"],superclassRole:["section"]},listbox:{type:"widget",requiredOwned:["group","option"],allowedAttrs:["aria-multiselectable","aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},listitem:{type:"structure",requiredContext:["list"],allowedAttrs:["aria-level","aria-posinset","aria-setsize","aria-expanded"],superclassRole:["section"],nameFromContent:!0},log:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},main:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},marquee:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},math:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],childrenPresentational:!0},menu:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"]},menubar:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["menu"]},menuitem:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},menuitemcheckbox:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["checkbox","menuitem"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},menuitemradio:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["menuitemcheckbox","radio"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},meter:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},mark:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},navigation:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},none:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},note:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},option:{type:"widget",requiredContext:["group","listbox"],allowedAttrs:["aria-selected","aria-checked","aria-posinset","aria-setsize"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},paragraph:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},presentation:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},progressbar:{type:"widget",allowedAttrs:["aria-expanded","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},radio:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-posinset","aria-setsize","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},radiogroup:{type:"composite",allowedAttrs:["aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},range:{type:"abstract",superclassRole:["widget"]},region:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"],accessibleNameRequired:!1},roletype:{type:"abstract",superclassRole:[]},row:{type:"structure",requiredContext:["grid","rowgroup","table","treegrid"],requiredOwned:["cell","columnheader","gridcell","rowheader"],allowedAttrs:["aria-colindex","aria-level","aria-rowindex","aria-selected","aria-activedescendant","aria-expanded","aria-posinset","aria-setsize"],superclassRole:["group","widget"],nameFromContent:!0},rowgroup:{type:"structure",requiredContext:["grid","table","treegrid"],requiredOwned:["row"],superclassRole:["structure"],nameFromContent:!0},rowheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},scrollbar:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],childrenPresentational:!0},search:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},searchbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["textbox"],accessibleNameRequired:!0},section:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},sectionhead:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},select:{type:"abstract",superclassRole:["composite","group"]},separator:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-valuetext"],superclassRole:["structure","widget"],childrenPresentational:!0},slider:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-readonly","aria-required","aria-valuetext"],superclassRole:["input","range"],accessibleNameRequired:!0,childrenPresentational:!0},spinbutton:{type:"widget",allowedAttrs:["aria-valuemax","aria-valuemin","aria-readonly","aria-required","aria-activedescendant","aria-valuetext","aria-valuenow"],superclassRole:["composite","input","range"],accessibleNameRequired:!0},status:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},strong:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},structure:{type:"abstract",superclassRole:["roletype"]},subscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},superscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},switch:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-readonly","aria-required"],superclassRole:["checkbox"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},suggestion:{type:"structure",requiredOwned:["insertion","deletion"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},tab:{type:"widget",requiredContext:["tablist"],allowedAttrs:["aria-posinset","aria-selected","aria-setsize","aria-expanded"],superclassRole:["sectionhead","widget"],nameFromContent:!0,childrenPresentational:!0},table:{type:"structure",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-colcount","aria-rowcount","aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1,nameFromContent:!0},tablist:{type:"composite",requiredOwned:["tab"],allowedAttrs:["aria-level","aria-multiselectable","aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["composite"]},tabpanel:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1},term:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},text:{type:"structure",superclassRole:["section"],nameFromContent:!0},textbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:!0},time:{type:"structure",superclassRole:["section"]},timer:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["status"]},toolbar:{type:"structure",allowedAttrs:["aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["group"],accessibleNameRequired:!0},tooltip:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},tree:{type:"composite",requiredOwned:["group","treeitem"],allowedAttrs:["aria-multiselectable","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},treegrid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],superclassRole:["grid","tree"],accessibleNameRequired:!1},treeitem:{type:"widget",requiredContext:["group","tree"],allowedAttrs:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],superclassRole:["listitem","option"],accessibleNameRequired:!0,nameFromContent:!0},widget:{type:"abstract",superclassRole:["roletype"]},window:{type:"abstract",superclassRole:["roletype"]}},gu={ariaAttrs:hu,ariaRoles:G({},mu,{"doc-abstract":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-acknowledgments":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-afterword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-appendix":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-backlink":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-biblioentry":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-bibliography":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-biblioref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-chapter":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-colophon":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-conclusion":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-cover":{type:"img",allowedAttrs:["aria-expanded"],superclassRole:["img"]},"doc-credit":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-credits":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-dedication":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-endnote":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-endnotes":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-epigraph":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-epilogue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-errata":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-example":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-footnote":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-foreword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossary":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-index":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-introduction":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-noteref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-notice":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-pagebreak":{type:"separator",allowedAttrs:["aria-expanded","aria-orientation"],superclassRole:["separator"],childrenPresentational:!0},"doc-pagelist":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-part":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-preface":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-prologue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-pullquote":{type:"none",superclassRole:["none"]},"doc-qna":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-subtitle":{type:"sectionhead",allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"]},"doc-tip":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-toc":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]}},{"graphics-document":{type:"structure",superclassRole:["document"],accessibleNameRequired:!0},"graphics-object":{type:"structure",superclassRole:["group"],nameFromContent:!0},"graphics-symbol":{type:"structure",superclassRole:["img"],accessibleNameRequired:!0,childrenPresentational:!0}}),htmlElms:{a:{variant:{href:{matches:"[href]",contentTypes:["interactive","phrasing","flow"],allowedRoles:["button","checkbox","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem","doc-backlink","doc-biblioref","doc-glossref","doc-noteref"],namingMethods:["subtreeText"]},default:{contentTypes:["phrasing","flow"],allowedRoles:!0}}},abbr:{contentTypes:["phrasing","flow"],allowedRoles:!0},address:{contentTypes:["flow"],allowedRoles:!0},area:{variant:{href:{matches:"[href]",allowedRoles:!1},default:{allowedRoles:["button","link"]}},contentTypes:["phrasing","flow"],namingMethods:["altText"]},article:{contentTypes:["sectioning","flow"],allowedRoles:["feed","presentation","none","document","application","main","region"],shadowRoot:!0},aside:{contentTypes:["sectioning","flow"],allowedRoles:["feed","note","presentation","none","region","search","doc-dedication","doc-example","doc-footnote","doc-glossary","doc-pullquote","doc-tip"]},audio:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"Audio"},b:{contentTypes:["phrasing","flow"],allowedRoles:!0},base:{allowedRoles:!1,noAriaAttrs:!0},bdi:{contentTypes:["phrasing","flow"],allowedRoles:!0},bdo:{contentTypes:["phrasing","flow"],allowedRoles:!0},blockquote:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},body:{allowedRoles:!1,shadowRoot:!0},br:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],namingMethods:["titleText","singleSpace"]},button:{contentTypes:["interactive","phrasing","flow"],allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"],namingMethods:["subtreeText"]},canvas:{allowedRoles:!0,contentTypes:["embedded","phrasing","flow"],chromiumRole:"Canvas"},caption:{allowedRoles:!1},cite:{contentTypes:["phrasing","flow"],allowedRoles:!0},code:{contentTypes:["phrasing","flow"],allowedRoles:!0},col:{allowedRoles:!1,noAriaAttrs:!0},colgroup:{allowedRoles:!1,noAriaAttrs:!0},data:{contentTypes:["phrasing","flow"],allowedRoles:!0},datalist:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0,implicitAttrs:{"aria-multiselectable":"false"}},dd:{allowedRoles:!1},del:{contentTypes:["phrasing","flow"],allowedRoles:!0},dfn:{contentTypes:["phrasing","flow"],allowedRoles:!0},details:{contentTypes:["interactive","flow"],allowedRoles:!1},dialog:{contentTypes:["flow"],allowedRoles:["alertdialog"]},div:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},dl:{contentTypes:["flow"],allowedRoles:["group","list","presentation","none"],chromiumRole:"DescriptionList"},dt:{allowedRoles:["listitem"]},em:{contentTypes:["phrasing","flow"],allowedRoles:!0},embed:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","presentation","none"],chromiumRole:"EmbeddedObject"},fieldset:{contentTypes:["flow"],allowedRoles:["none","presentation","radiogroup"],namingMethods:["fieldsetLegendText"]},figcaption:{allowedRoles:["group","none","presentation"]},figure:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["figureText","titleText"]},footer:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},form:{contentTypes:["flow"],allowedRoles:["search","none","presentation"]},h1:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"1"}},h2:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"2"}},h3:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"3"}},h4:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"4"}},h5:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"5"}},h6:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"6"}},head:{allowedRoles:!1,noAriaAttrs:!0},header:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},hgroup:{contentTypes:["heading","flow"],allowedRoles:!0},hr:{contentTypes:["flow"],allowedRoles:["none","presentation","doc-pagebreak"],namingMethods:["titleText","singleSpace"]},html:{allowedRoles:!1,noAriaAttrs:!0},i:{contentTypes:["phrasing","flow"],allowedRoles:!0},iframe:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","none","presentation"],chromiumRole:"Iframe"},img:{variant:{nonEmptyAlt:{matches:[{attributes:{alt:"/.+/"}},{hasAccessibleName:!0}],allowedRoles:["button","checkbox","link","menuitem","menuitemcheckbox","menuitemradio","meter","option","progressbar","radio","scrollbar","separator","slider","switch","tab","treeitem","doc-cover"]},usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","flow"]},default:{allowedRoles:["presentation","none"],contentTypes:["embedded","flow"]}},namingMethods:["altText"]},input:{variant:{button:{matches:{properties:{type:"button"}},allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"]},buttonType:{matches:{properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},checkboxPressed:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":"/.*/"}},allowedRoles:["button","menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},checkbox:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":null}},allowedRoles:["menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},noRoles:{matches:{properties:{type:["color","date","datetime-local","file","month","number","password","range","reset","submit","time","week"]}},allowedRoles:!1},hidden:{matches:{properties:{type:"hidden"}},contentTypes:["flow"],allowedRoles:!1,noAriaAttrs:!0},image:{matches:{properties:{type:"image"}},allowedRoles:["link","menuitem","menuitemcheckbox","menuitemradio","radio","switch"],namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},radio:{matches:{properties:{type:"radio"}},allowedRoles:["menuitemradio"],implicitAttrs:{"aria-checked":"false"}},textWithList:{matches:{properties:{type:"text"},attributes:{list:"/.*/"}},allowedRoles:!1},default:{contentTypes:["interactive","flow"],allowedRoles:["combobox","searchbox","spinbutton"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText","placeholderText"]}}},ins:{contentTypes:["phrasing","flow"],allowedRoles:!0},kbd:{contentTypes:["phrasing","flow"],allowedRoles:!0},label:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,chromiumRole:"Label"},legend:{allowedRoles:!1},li:{allowedRoles:["menuitem","menuitemcheckbox","menuitemradio","option","none","presentation","radio","separator","tab","treeitem","doc-biblioentry","doc-endnote"],implicitAttrs:{"aria-setsize":"1","aria-posinset":"1"}},link:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},main:{contentTypes:["flow"],allowedRoles:!1,shadowRoot:!0},map:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},math:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!1},mark:{contentTypes:["phrasing","flow"],allowedRoles:!0},menu:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},meta:{variant:{itemprop:{matches:"[itemprop]",contentTypes:["phrasing","flow"]}},allowedRoles:!1,noAriaAttrs:!0},meter:{contentTypes:["phrasing","flow"],allowedRoles:!1,chromiumRole:"progressbar"},nav:{contentTypes:["sectioning","flow"],allowedRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","none","presentation","tablist"],shadowRoot:!0},noscript:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},object:{variant:{usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application","document","img"],chromiumRole:"PluginObject"},ol:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},optgroup:{allowedRoles:!1},option:{allowedRoles:!1,implicitAttrs:{"aria-selected":"false"}},output:{contentTypes:["phrasing","flow"],allowedRoles:!0,namingMethods:["subtreeText"]},p:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},param:{allowedRoles:!1,noAriaAttrs:!0},picture:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},pre:{contentTypes:["flow"],allowedRoles:!0},progress:{contentTypes:["phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":"0"}},q:{contentTypes:["phrasing","flow"],allowedRoles:!0},rp:{allowedRoles:!0},rt:{allowedRoles:!0},ruby:{contentTypes:["phrasing","flow"],allowedRoles:!0},s:{contentTypes:["phrasing","flow"],allowedRoles:!0},samp:{contentTypes:["phrasing","flow"],allowedRoles:!0},script:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},search:{contentTypes:["flow"],allowedRoles:["form","group","none","presentation","region","search"]},section:{contentTypes:["sectioning","flow"],allowedRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","document","feed","group","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc"],shadowRoot:!0},select:{variant:{combobox:{matches:{attributes:{multiple:null,size:[null,"1"]}},allowedRoles:["menu"]},default:{allowedRoles:!1}},contentTypes:["interactive","phrasing","flow"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText"]},slot:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},small:{contentTypes:["phrasing","flow"],allowedRoles:!0},source:{allowedRoles:!1,noAriaAttrs:!0},span:{contentTypes:["phrasing","flow"],allowedRoles:!0,shadowRoot:!0},strong:{contentTypes:["phrasing","flow"],allowedRoles:!0},style:{allowedRoles:!1,noAriaAttrs:!0},svg:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!0,chromiumRole:"SVGRoot",namingMethods:["svgTitleText"]},sub:{contentTypes:["phrasing","flow"],allowedRoles:!0},summary:{allowedRoles:!1,namingMethods:["subtreeText"]},sup:{contentTypes:["phrasing","flow"],allowedRoles:!0},table:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["tableCaptionText","tableSummaryText"]},tbody:{allowedRoles:!0},template:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},textarea:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuenow":"","aria-multiline":"true"},namingMethods:["labelText","placeholderText"]},tfoot:{allowedRoles:!0},thead:{allowedRoles:!0},time:{contentTypes:["phrasing","flow"],allowedRoles:!0},title:{allowedRoles:!1,noAriaAttrs:!0},td:{allowedRoles:!0},th:{allowedRoles:!0},tr:{allowedRoles:!0},track:{allowedRoles:!1,noAriaAttrs:!0},u:{contentTypes:["phrasing","flow"],allowedRoles:!0},ul:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},var:{contentTypes:["phrasing","flow"],allowedRoles:!0},video:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"video"},wbr:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"]}},cssColors:{aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},vu=G({},gu),Du=vu,bu=function(e){var t=Du.ariaRoles[e];return!!t&&!!t.unsupported},yu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.allowAbstract,r=t.flagUnsupported,a=void 0!==r&&r,o=Du.ariaRoles[e],i=bu(e);return!(!o||a&&i||!n&&"abstract"===o.type)},wu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.fallback,r=t.abstracts,a=t.dpub;if(1!==(e=e instanceof pr?e:sa(e)).props.nodeType)return null;var o=(e.attr("role")||"").trim().toLowerCase();return(n?Gf(o):[o]).find((function(e){return!(!a&&"doc-"===e.substr(0,4))&&yu(e,{allowAbstract:r})}))||null},Eu=function(e){return Object.keys(Du.htmlElms).filter((function(t){var n=Du.htmlElms[t];return n.contentTypes?n.contentTypes.includes(e):!!n.variant&&!(!n.variant.default||!n.variant.default.contentTypes)&&n.variant.default.contentTypes.includes(e)}))},Fu=function(){return ua.get("globalAriaAttrs",(function(){return Object.keys(Du.ariaAttrs).filter((function(e){return Du.ariaAttrs[e].global}))}))},Cu=Pr((function(e){for(var t=[],n=e.rows,r=0,a=n.length;r<a;r++){var o=n[r].cells;t[r]=t[r]||[];for(var i=0,u=0,s=o.length;u<s;u++)for(var l=0;l<o[u].colSpan;l++){for(var c=o[u].getAttribute("rowspan"),d=0===parseInt(c)||0===o[u].rowspan?n.length:o[u].rowSpan,f=0;f<d;f++){for(t[r+f]=t[r+f]||[];t[r+f][i];)i++;t[r+f][i]=o[u]}i++}}return t})),xu=Pr((function(e,t){var n,r;for(t||(t=Cu(Po(e,"table"))),n=0;n<t.length;n++)if(t[n]&&-1!==(r=t[n].indexOf(e)))return{x:r,y:n}}));function Au(e){var t=Yp(e),n=t.vNode,r=t.domNode,a=n.attr("scope"),o=n.attr("role");if(!["td","th"].includes(n.props.nodeName))throw new TypeError("Expected TD or TH element");if("columnheader"===o)return"col";if("rowheader"===o)return"row";if("col"===a||"row"===a)return a;if("th"!==n.props.nodeName)return!1;if(!n.actualNode)return"auto";var i=Cu(Po(r,"table")),u=xu(r,i);return i[u.y].every((function(e){return"TH"===e.nodeName.toUpperCase()}))?"col":i.map((function(e){return e[u.x]})).every((function(e){return e&&"TH"===e.nodeName.toUpperCase()}))?"row":"auto"}var ku=function(e){return-1!==["col","auto"].indexOf(Au(e))},Tu=function(e){return["row","auto"].includes(Au(e))},Nu=function(e){return e?e.replace(/\r\n/g,"\n").replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""},Ou=function(){return ua.get("sectioningElementSelector",(function(){return Eu("sectioning").map((function(e){return"".concat(e,":not([role])")})).join(", ")+" , main:not([role]), [role=article], [role=complementary], [role=main], [role=navigation], [role=region]"}))};function Su(e){var t=Nu(fu(e)),n=Nu(pu(e));return!(!t&&!n)}var Ru={a:function(e){return e.hasAttr("href")?"link":null},area:function(e){return e.hasAttr("href")?"link":null},article:"article",aside:"complementary",body:"document",button:"button",datalist:"listbox",dd:"definition",dfn:"term",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",footer:function(e){return Na(e,Ou())?null:"contentinfo"},form:function(e){return Su(e)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(e){return Na(e,Ou())?null:"banner"},hr:"separator",img:function(e){var t=e.hasAttr("alt")&&!e.attr("alt"),n=Fu().find((function(t){return e.hasAttr(t)}));return!t||n||ou(e)?"img":"presentation"},input:function(e){var t;if(e.hasAttr("list")){var n=cu(e.actualNode,"list").filter((function(e){return!!e}))[0];t=n&&"datalist"===n.nodeName.toLowerCase()}switch(e.props.type){case"checkbox":return"checkbox";case"number":return"spinbutton";case"radio":return"radio";case"range":return"slider";case"search":return t?"combobox":"searchbox";case"button":case"image":case"reset":case"submit":return"button";case"text":case"tel":case"url":case"email":case"":return t?"combobox":"textbox";default:return"textbox"}},li:"listitem",main:"main",math:"math",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",search:"search",section:function(e){return Su(e)?"region":null},select:function(e){return e.hasAttr("multiple")||parseInt(e.attr("size"))>1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(e){var t=Na(e,"table"),n=wu(t);return["grid","treegrid"].includes(n)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(e){return ku(e)?"columnheader":Tu(e)?"rowheader":void 0},thead:"rowgroup",tr:"row",ul:"list"},Bu=function(e,t){var n=l(t);if(Array.isArray(t)&&void 0!==e)return t.includes(e);if("function"===n)return!!t(e);if(null!=e){if(t instanceof RegExp)return t.test(e);if(/^\/.*\/$/.test(t)){var r=t.substring(1,t.length-1);return new RegExp(r).test(e)}}return t===e},_u=function(e,t){return Bu(!!Ss(e),t)},Mu=function(e,t){if("object"!==l(t)||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every((function(n){return Bu(e(n),t[n])}))},Iu=function(e,t){return e=Yp(e).vNode,Mu((function(t){return e.attr(t)}),t)};function Pu(e,t){return!!t(e)}var Lu=function(e,t){return Bu(wu(e),t)},ju=function(e,t){return Bu(Gu(e),t)},$u=function(e,t){return e=Yp(e).vNode,Bu(e.props.nodeName,t)},qu=function(e,t){return e=Yp(e).vNode,Mu((function(t){return e.props[t]}),t)},Vu=function(e,t){return Bu(Ju(e),t)},zu={hasAccessibleName:_u,attributes:Iu,condition:Pu,explicitRole:Lu,implicitRole:ju,nodeName:$u,properties:qu,semanticRole:Vu},Uu=function e(t,n){return t=Yp(t).vNode,Array.isArray(n)?n.some((function(n){return e(t,n)})):"string"==typeof n?va(t,n):Object.keys(n).every((function(e){if(!zu[e])throw new Error('Unknown matcher type "'.concat(e,'"'));var r=zu[e],a=n[e];return r(t,a)}))},Hu=function(e,t){return Uu(e,t)};Hu.hasAccessibleName=_u,Hu.attributes=Iu,Hu.condition=Pu,Hu.explicitRole=Lu,Hu.fromDefinition=Uu,Hu.fromFunction=Mu,Hu.fromPrimative=Bu,Hu.implicitRole=ju,Hu.nodeName=$u,Hu.properties=qu,Hu.semanticRole=Vu;var Wu=Hu,Ku=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).noMatchAccessibleName,n=void 0!==t&&t,r=Du.htmlElms[e.props.nodeName];if(!r)return{};if(!r.variant)return r;var a=r.variant,o=H(r,m);for(var i in a)if(a.hasOwnProperty(i)&&"default"!==i){for(var u=a[i],s=u.matches,l=H(u,g),c=Array.isArray(s)?s:[s],d=0;d<c.length&&n;d++)if(c[d].hasOwnProperty("hasAccessibleName"))return r;if(Wu(e,s))for(var f in l)l.hasOwnProperty(f)&&(o[f]=l[f])}for(var p in a.default)a.default.hasOwnProperty(p)&&void 0===o[p]&&(o[p]=a.default[p]);return o},Gu=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).chromium,n=e instanceof pr?e:sa(e);if(e=n.actualNode,!n)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var r=n.props.nodeName,a=Ru[r];return!a&&t?Ku(n).chromiumRole||null:"function"==typeof a?a(n):a||null},Yu={td:["tr"],th:["tr"],tr:["thead","tbody","tfoot","table"],thead:["table"],tbody:["table"],tfoot:["table"],li:["ol","ul"],dt:["dl","div"],dd:["dl","div"],div:["dl"]};function Qu(e,t){var n=Yu[e.props.nodeName];if(!n)return null;if(!e.parent){if(!e.actualNode)return null;throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}if(!n.includes(e.parent.props.nodeName))return null;var r=wu(e.parent,t);return["none","presentation"].includes(r)&&!Zu(e.parent)?r:r?null:Qu(e.parent,t)}function Xu(e,t){var n=t.chromium,r=H(t,v),a=Gu(e,{chromium:n});return a?Qu(e,r)||a:null}function Zu(e){return Fu().some((function(t){return e.hasAttr(t)}))||ou(e)}var Ju=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.noPresentational,r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.noImplicit,r=H(t,D),a=Yp(e).vNode;if(1!==a.props.nodeType)return null;var o=wu(a,r);return o?["presentation","none"].includes(o)&&Zu(a)?n?null:Xu(a,r):o:n?null:Xu(a,r)}(e,H(t,b));return n&&["presentation","none"].includes(r)?null:r},es=["iframe"],ts=function(e){var t=Yp(e).vNode;return 1===t.props.nodeType&&e.hasAttr("title")?!Hu(t,es)&&["none","presentation"].includes(Ju(t))?"":t.attr("title"):""},ns=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).strict;if(1!==(e=e instanceof pr?e:sa(e)).props.nodeType)return!1;var n=Ju(e),r=Du.ariaRoles[n];return!(!r||!r.nameFromContent)||!t&&(!r||["presentation","none"].includes(n))},rs=function(e){var t=e.actualNode,n=e.children;if(!n)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var r=cu(t,"aria-owns").filter((function(e){return!!e})).map((function(e){return c.utils.getNodeFromTree(e)}));return[].concat(W(n),W(r))}return W(n)},as={accessibleNameFromFieldValue:["progressbar"]};function os(e){return e=Yp(e).vNode,is(e)}var is=Pr((function(e,t){return!Ko(e)&&!zi(e,{skipAncestors:!0,isAncestor:t})&&(e.actualNode&&"area"===e.props.nodeName?!Zo(e,is):!ti(e,{skipAncestors:!0,isAncestor:t})&&(!e.parent||is(e.parent,!0)))})),us=function e(t,n,r){var a=Yp(t).vNode,o=n?os:ci,i=!t.actualNode||t.actualNode&&o(t),u=a.children.map((function(t){var a=t.props,o=a.nodeType,u=a.nodeValue;if(3===o){if(u&&i)return u}else if(!r)return e(t,n)})).join("");return Nu(u)},ss=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"],ls=function(e){var t=(e=e instanceof pr?e:sa(e)).props.nodeName;return"textarea"===t||"input"===t&&!ss.includes((e.attr("type")||"").toLowerCase())},cs=function(e){return"select"===(e=e instanceof pr?e:sa(e)).props.nodeName},ds=function(e){return"textbox"===wu(e)},fs=function(e){return"listbox"===wu(e)},ps=function(e){return"combobox"===wu(e)},hs=["progressbar","scrollbar","slider","spinbutton"],ms=function(e){var t=wu(e);return hs.includes(t)},gs=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],vs={nativeTextboxValue:function(e){var t=Yp(e).vNode;return ls(t)&&t.props.value||""},nativeSelectValue:function(e){var t=Yp(e).vNode;if(!cs(t))return"";var n=mh(t,"option"),r=n.filter((function(e){return e.props.selected}));return r.length||r.push(n[0]),r.map((function(e){return us(e)})).join(" ")||""},ariaTextboxValue:function(e){var t=Yp(e),n=t.vNode,r=t.domNode;return ds(n)?!r||r&&!ti(r)?us(n,!0):r.textContent:""},ariaListboxValue:Ds,ariaComboboxValue:function(e,t){var n=Yp(e).vNode;if(!ps(n))return"";var r=rs(n).filter((function(e){return"listbox"===Ju(e)}))[0];return r?Ds(r,t):""},ariaRangeValue:function(e){var t=Yp(e).vNode;if(!ms(t)||!t.hasAttr("aria-valuenow"))return"";var n=+t.attr("aria-valuenow");return isNaN(n)?"0":String(n)}};function Ds(e,t){var n=Yp(e).vNode;if(!fs(n))return"";var r=rs(n).filter((function(e){return"option"===Ju(e)&&"true"===e.attr("aria-selected")}));return 0===r.length?"":Ss(r[0],t)}var bs=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.actualNode,r=as.accessibleNameFromFieldValue||[],a=Ju(e);if(t.startNode===e||!gs.includes(a)||r.includes(a))return"";var o=Object.keys(vs).map((function(e){return vs[e]})).reduce((function(n,r){return n||r(e,t)}),"");return t.debug&&dr(o||"{empty-value}",n,t),o},ys=Eu("phrasing").concat(["#text"]),ws=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Ss.alreadyProcessed;t.startNode=t.startNode||e;var r=t,a=r.strict,o=r.inControlContext,i=r.inLabelledByContext,u=Ju(e),s=Ku(e,{noMatchAccessibleName:!0}).contentTypes;return n(e,t)||1!==e.props.nodeType||null!=s&&s.includes("embedded")||gs.includes(u)?"":t.subtreeDescendant||t.inLabelledByContext||ns(e,{strict:a})?(a||(t=G({subtreeDescendant:!o&&!i},t)),rs(e).reduce((function(e,n){return function(e,t,n){var r=t.props.nodeName,a=Ss(t,n);return a?(ys.includes(r)||(" "!==a[0]&&(a+=" "),e&&" "!==e[e.length-1]&&(a=" "+a)),e+a):e}(e,n,t)}),"")):""},Es=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Ss.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||n(e,t))return"";t.startNode||(t.startNode=e);var r,a=G({inControlContext:!0},t),o=function(e){if(!e.attr("id"))return[];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return Mo({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}(e),i=Na(e,"label");return i?(r=[].concat(W(o),[i.actualNode])).sort(Gp):r=o,r.map((function(e){return du(e,a)})).filter((function(e){return""!==e})).join(" ")},Fs={submit:"Submit",image:"Submit",reset:"Reset",button:""};function Cs(e,t){return t.attr(e)||""}function xs(e,t,n){var r=t.actualNode,a=[e=e.toLowerCase(),r.nodeName.toLowerCase()].join(","),o=r.querySelector(a);return o&&o.nodeName.toLowerCase()===e?du(o,n):""}var As={valueText:function(e){return e.actualNode.value||""},buttonDefaultText:function(e){var t=e.actualNode;return Fs[t.type]||""},tableCaptionText:xs.bind(null,"caption"),figureText:xs.bind(null,"figcaption"),svgTitleText:xs.bind(null,"title"),fieldsetLegendText:xs.bind(null,"legend"),altText:Cs.bind(null,"alt"),tableSummaryText:Cs.bind(null,"summary"),titleText:ts,subtreeText:ws,labelText:Es,singleSpace:function(){return" "},placeholderText:Cs.bind(null,"placeholder")};function ks(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.actualNode;if(1!==e.props.nodeType||["presentation","none"].includes(Ju(e)))return"";var r=function(e){return(Ku(e,{noMatchAccessibleName:!0}).namingMethods||[]).map((function(e){return As[e]}))}(e),a=r.reduce((function(n,r){return n||r(e,t)}),"");return t.debug&&c.log(a||"{empty-value}",n,t),a}var Ts=function(){return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g},Ns=function(e,t){var n=t.emoji,r=t.nonBmp,a=t.punctuations,o=!1;return n&&(o||(o=/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g.test(e))),r&&(o||(o=/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g.test(e)||/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g.test(e)||/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g.test(e))),a&&(o||(o=/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g.test(e))),o};function Os(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,r=e.actualNode.nodeValue.trim();if(!Nu(r)||Ns(r,{emoji:!0,nonBmp:!0}))return!1;var a=ua.get("canvasContext",(function(){return s.createElement("canvas").getContext("2d",{willReadFrequently:!0})})),o=a.canvas,u=ua.get("fonts",(function(){return{}})),l=i.getComputedStyle(e.parent.actualNode).getPropertyValue("font-family");u[l]||(u[l]={occurrences:0,numLigatures:0});var c=u[l];if(c.occurrences>=n){if(c.numLigatures/c.occurrences==1)return!0;if(0===c.numLigatures)return!1}c.occurrences++;var d=30,f="".concat(d,"px ").concat(l);a.font=f;var p=r.charAt(0),h=a.measureText(p).width;if(0===h)return c.numLigatures++,!0;if(h<30){var m=30/h;h*=m,f="".concat(d*=m,"px ").concat(l)}o.width=h,o.height=d,a.font=f,a.textAlign="left",a.textBaseline="top",a.fillText(p,0,0);var g=new Uint32Array(a.getImageData(0,0,h,d).data.buffer);if(!g.some((function(e){return e})))return c.numLigatures++,!0;a.clearRect(0,0,h,d),a.fillText(r,0,0);var v=new Uint32Array(a.getImageData(0,0,h,d).data.buffer),D=g.reduce((function(e,t,n){return 0===t&&0===v[n]||0!==t&&0!==v[n]?e:++e}),0),b=r.split("").reduce((function(e,t){return e+a.measureText(t).width}),0),y=a.measureText(r).width;return D/g.length>=t&&1-y/b>=t&&(c.numLigatures++,!0)}function Ss(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t=function(e,t){return t.startNode||(t=G({startNode:e},t)),1===e.props.nodeType&&t.inLabelledByContext&&void 0===t.includeHidden&&(t=G({includeHidden:!os(e)},t)),t}(e,t),function(e,t){return!!e&&(1===e.props.nodeType&&!t.includeHidden&&!os(e))}(e,t))return"";if(function(e,t){var n,r=t.ignoreIconLigature,a=t.pixelThreshold,o=null!==(n=t.occurrenceThreshold)&&void 0!==n?n:t.occuranceThreshold;return!(3!==e.props.nodeType||!r)&&Os(e,a,o)}(e,t))return"";var n=[fu,pu,ks,bs,ws,Rs,ts].reduce((function(n,r){return t.startNode===e&&(n=Nu(n)),""!==n?n:r(e,t)}),"");return t.debug&&c.log(n||"{empty-value}",e.actualNode,t),n}function Rs(e){return 3!==e.props.nodeType?"":e.props.nodeValue}Ss.alreadyProcessed=function(e,t){return t.processed=t.processed||[],!!t.processed.includes(e)||(t.processed.push(e),!1)};var Bs=function(e,t){var n=t.emoji,r=t.nonBmp,a=t.punctuations;return n&&(e=e.replace(/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,"")),r&&(e=e.replace(/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g,"").replace(/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g,"").replace(/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g,"")),a&&(e=e.replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g,"")),e},_s=function(e){if(!e.length)return 0;if(["x","i"].includes(e))return 0;var t=Bs(e,{emoji:!0,nonBmp:!0,punctuations:!0});return Nu(t)?1:0},Ms={stateTerms:["on","off"],standaloneTerms:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo","one-time-code"],qualifiers:["home","work","mobile","fax","pager"],qualifiedTerms:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],locations:["billing","shipping"]},Is=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.looseTyped,r=void 0!==n&&n,a=t.stateTerms,o=void 0===a?[]:a,i=t.locations,u=void 0===i?[]:i,s=t.qualifiers,l=void 0===s?[]:s,c=t.standaloneTerms,d=void 0===c?[]:c,f=t.qualifiedTerms,p=void 0===f?[]:f;if(e=e.toLowerCase().trim(),(o=o.concat(Ms.stateTerms)).includes(e)||""===e)return!0;l=l.concat(Ms.qualifiers),u=u.concat(Ms.locations),d=d.concat(Ms.standaloneTerms),p=p.concat(Ms.qualifiedTerms);var h=e.split(/\s+/g);if("webauthn"===h[h.length-1]&&(h.pop(),0===h.length))return!1;if(!r&&(h[0].length>8&&"section-"===h[0].substr(0,8)&&h.shift(),u.includes(h[0])&&h.shift(),l.includes(h[0])&&(h.shift(),d=[]),1!==h.length))return!1;var m=h[h.length-1];return d.includes(m)||p.includes(m)},Ps=function(e){var t;return e.attr("aria-labelledby")&&(t=cu(e.actualNode,"aria-labelledby").map((function(e){var t=sa(e);return t?us(t):""})).join(" ").trim())||(t=e.attr("aria-label"))&&(t=Nu(t))?t:null},Ls=function(e,t,n){return e=sa(e),us(e,t,n)},js=function(e){var t,n;if(n=Ps(e))return n;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var r=Nr(e.attr("id"));if(n=(t=_o(e.actualNode).querySelector('label[for="'+r+'"]'))&&Ls(t,!0))return n}return(n=(t=Na(e,"label"))&&us(t,!0))||null},$s=function(e){return e=sa(e),js(e)},qs=[{matches:[{nodeName:"textarea"},{nodeName:"input",properties:{type:["text","password","search","tel","email","url"]}}],namingMethods:"labelText"},{matches:{nodeName:"input",properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},{matches:{nodeName:"input",properties:{type:"image"}},namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},{matches:"button",namingMethods:"subtreeText"},{matches:"fieldset",namingMethods:"fieldsetLegendText"},{matches:"OUTPUT",namingMethods:"subtreeText"},{matches:[{nodeName:"select"},{nodeName:"input",properties:{type:/^(?!text|password|search|tel|email|url|button|submit|reset)/}}],namingMethods:"labelText"},{matches:"summary",namingMethods:"subtreeText"},{matches:"figure",namingMethods:["figureText","titleText"]},{matches:"img",namingMethods:"altText"},{matches:"table",namingMethods:["tableCaptionText","tableSummaryText"]},{matches:["hr","br"],namingMethods:["titleText","singleSpace"]}],Vs=function e(t){var n=ci(t),r=[];return t.children.forEach((function(t){3===t.actualNode.nodeType?n&&r.push(t):r=r.concat(e(t))})),r},zs=Pr((function(e){var t=sa(e),n=t.boundingClientRect,r=[],a=$o(t);return e.childNodes.forEach((function(e){if(3===e.nodeType&&""!==Nu(e.nodeValue)){var t=function(e){var t=s.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}(e);(function(e,t){return e.some((function(e){return!pi(gi(e),t)}))})(t,n)||r.push.apply(r,W(function(e,t){var n=[];return e.forEach((function(e){if(!(e.width<1||e.height<1)){var r=t.reduce((function(e,t){return e&&mi(e,t.boundingClientRect)}),e);r&&n.push(r)}})),n}(t,a)))}})),r.length?r:[n]})),Us=function(e){Si();var t=sa(e)._grid;return t?zs(e).map((function(e){return tu(t,e)})):[]},Hs=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"],Ws=function(e){var t=Yp(e).vNode,n=c.commons.aria.getExplicitRole(t);if(n)return-1!==Hs.indexOf(n);switch(t.props.nodeName){case"img":case"iframe":case"object":case"video":case"audio":case"canvas":case"svg":case"math":case"button":case"select":case"textarea":case"keygen":case"progress":case"meter":return!0;case"input":return"hidden"!==t.props.type;default:return!1}},Ks=["head","title","template","script","style","iframe","object","video","audio","noscript"];function Gs(e){return!Ks.includes(e.props.nodeName)&&e.children.some((function(e){var t=e.props;return 3===t.nodeType&&t.nodeValue.trim()}))}var Ys=function e(t,n,r){return Gs(t)||Ws(t.actualNode)||!r&&!!Ps(t)||!n&&t.children.some((function(t){return 1===t.actualNode.nodeType&&e(t)}))},Qs=function(e,t,n){return e=sa(e),Ys(e,t,n)};function Xs(e){return!(void 0!==e.children&&!Gs(e))||(1===e.props.nodeType&&Ws(e)?!!c.commons.text.accessibleTextVirtual(e):e.children.some((function(e){return!e.attr("lang")&&Xs(e)&&!ti(e)})))}var Zs=function(e){return parseInt(e.getAttribute("tabindex"),10)>-1&&ou(e)&&!au(e)};function Js(e,t){var n=Yp(e),r=n.vNode,a=n.domNode;return r?(void 0===r._isHiddenWithCSS&&(r._isHiddenWithCSS=el(a,t)),r._isHiddenWithCSS):el(a,t)}function el(e,t){if(9===e.nodeType)return!1;if(11===e.nodeType&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase()))return!1;var n=i.getComputedStyle(e,null);if(!n)throw new Error("Style does not exist for the given element.");if("none"===n.getPropertyValue("display"))return!0;var r=["hidden","collapse"],a=n.getPropertyValue("visibility");if(r.includes(a)&&!t)return!0;if(r.includes(a)&&t&&r.includes(t))return!0;var o=ai(e);return!(!o||r.includes(a))&&Js(o,a)}var tl=Js,nl=function(e){var t=e.doctype;return null!==t&&"html"===t.name&&!t.publicId&&!t.systemId},rl=function(e){var t;(e instanceof pr||null!==(t=i)&&void 0!==t&&t.Node&&e instanceof i.Node)&&(e=c.commons.aria.getRole(e));var n=Du.ariaRoles[e];return(null==n?void 0:n.type)||null};function al(e,t){!1!==t(e.actualNode)&&e.children.forEach((function(e){return al(e,t)}))}var ol=["block","list-item","table","flex","grid","inline-block"];function il(e){var t=i.getComputedStyle(e).getPropertyValue("display");return ol.includes(t)||"table-"===t.substr(0,6)}var ul=function(e,t){if(il(e))return!1;var n=function(e){for(var t=ai(e);t&&!il(t);)t=ai(t);return sa(t)}(e),r="",a="",o=0;return al(n,(function(t){if(2===o)return!1;if(3===t.nodeType&&(r+=t.nodeValue),1===t.nodeType){var n=(t.nodeName||"").toUpperCase();if(t===e&&(o=1),["BR","HR"].includes(n))0===o?(r="",a=""):o=2;else{if("none"===t.style.display||"hidden"===t.style.overflow||!["",null,"none"].includes(t.style.float)||!["",null,"relative"].includes(t.style.position))return!1;if("widget"===rl(t))return a+=t.textContent,!1}}})),r=Nu(r),null!=t&&t.noLengthCompare?0!==r.length:(a=Nu(a),r.length>a.length)},sl=function(e){var t=(e=e||{}).modalPercent||.75;if(ua.get("isModalOpen"))return ua.get("isModalOpen");if(ah(c._tree[0],"dialog, [role=dialog], [aria-modal=true]",ci).length)return ua.set("isModalOpen",!0),!0;for(var n=ui(i),r=n.width*t,a=n.height*t,o=(n.width-r)/2,u=(n.height-a)/2,d=[{x:o,y:u},{x:n.width-o,y:u},{x:n.width/2,y:n.height/2},{x:o,y:n.height-u},{x:n.width-o,y:n.height-u}].map((function(e){return Array.from(s.elementsFromPoint(e.x,e.y))})),f=function(e){var t=d[e].find((function(e){var t=i.getComputedStyle(e);return parseInt(t.width,10)>=r&&parseInt(t.height,10)>=a&&"none"!==t.getPropertyValue("pointer-events")&&("absolute"===t.position||"fixed"===t.position)}));if(t&&d.every((function(e){return e.includes(t)})))return ua.set("isModalOpen",!0),{v:!0}},p=0;p<d.length;p++){var h=f(p);if("object"===l(h))return h.v}ua.set("isModalOpen",void 0)};function ll(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n=e.ownerDocument.createRange();n.setStart(e,0),n.setEnd(e,e.childNodes.length);var r,a=0,o=0,i=ne(n.getClientRects());try{for(i.s();!(r=i.n()).done;){var u=r.value;if(!(u.height<=t))if(a>u.top+t)a=Math.max(a,u.bottom);else{if(0!==o)return!0;a=u.bottom,o++}}}catch(e){i.e(e)}finally{i.f()}return!1}var cl=function(e){return e instanceof i.Node},dl="color.incompleteData",fl={set:function(e,t){if("string"!=typeof e)throw new Error("Incomplete data: key must be a string");var n=ua.get(dl,(function(){return{}}));return t&&(n[e]=t),n[e]},get:function(e){var t=ua.get(dl);return null==t?void 0:t[e]},clear:function(){ua.set(dl,{})}},pl=fl,hl=function(e,t){var n=e.nodeName.toUpperCase();if(["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"].includes(n))return pl.set("bgColor","imgNode"),!0;var r=(t=t||i.getComputedStyle(e)).getPropertyValue("background-image"),a="none"!==r;if(a){var o=/gradient/.test(r);pl.set("bgColor",o?"bgGradient":"bgImage")}return a},ml={};ie(ml,{Colorjs:function(){return vf},CssSelectorParser:function(){return Cl.CssSelectorParser},doT:function(){return xl.default},emojiRegexText:function(){return Ts},memoize:function(){return Al.default}});var gl,vl,Dl,bl,yl=ue(zt()),wl=ue(Ut()),El=(ue(Ht()),ue(Wn())),Fl=ue(ur());"hasOwn"in Object||(Object.hasOwn=El.default),"values"in Object||(Object.values=Fl.default),"Promise"in i||yl.default.polyfill(),"Uint32Array"in i||(i.Uint32Array=wl.Uint32Array),i.Uint32Array&&("some"in i.Uint32Array.prototype||Object.defineProperty(i.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in i.Uint32Array.prototype||Object.defineProperty(i.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce})),"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(null!=r)for(var a in r)r.hasOwnProperty(a)&&(t[a]=r[a])}return t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),r=n.length>>>0,a=arguments[1],o=0;o<r;o++)if(t=n[o],e.call(a,t,o,n))return t}}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(e,t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var n,r=Object(this),a=r.length>>>0,o=0;o<a;o++)if(n=r[o],e.call(t,n,o,r))return o;return-1}}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e){var t=Object(this),n=parseInt(t.length,10)||0;if(0===n)return!1;var r,a,o=parseInt(arguments[1],10)||0;for(o>=0?r=o:(r=n+o)<0&&(r=0);r<n;){if(e===(a=t[r])||e!=e&&a!=a)return!0;r++}return!1}}),Array.prototype.some||Object.defineProperty(Array.prototype,"some",{value:function(e){if(null==this)throw new TypeError("Array.prototype.some called on null or undefined");if("function"!=typeof e)throw new TypeError;for(var t=Object(this),n=t.length>>>0,r=arguments.length>=2?arguments[1]:void 0,a=0;a<n;a++)if(a in t&&e.call(r,t[a],a,t))return!0;return!1}}),Array.from||Object.defineProperty(Array,"from",{value:(gl=Object.prototype.toString,vl=function(e){return"function"==typeof e||"[object Function]"===gl.call(e)},Dl=Math.pow(2,53)-1,bl=function(e){var t=function(e){var t=Number(e);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t}(e);return Math.min(Math.max(t,0),Dl)},function(e){var t=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var n,r=arguments.length>1?arguments[1]:void 0;if(void 0!==r){if(!vl(r))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(n=arguments[2])}for(var a,o=bl(t.length),i=vl(this)?Object(new this(o)):new Array(o),u=0;u<o;)a=t[u],i[u]=r?void 0===n?r(a,u):r.call(n,a,u):a,u+=1;return i.length=o,i})}),String.prototype.includes||(String.prototype.includes=function(e,t){return"number"!=typeof t&&(t=0),!(t+e.length>this.length)&&-1!==this.indexOf(e,t)}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,(function(n,r){return Array.isArray(r)?n.push.apply(n,e.call(r,t-1)):n.push(r),n}),[]):Array.prototype.slice.call(this)},writable:!0}),i.Node&&!("isConnected"in i.Node.prototype)&&Object.defineProperty(i.Node.prototype,"isConnected",{get:function(){return!(this.ownerDocument&&this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var Cl=ue(Vt()),xl=ue(sr()),Al=ue(Lt());function kl(e,t){var n=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map((function(e){return[e]})));var r=t[0].length,a=t[0].map((function(e,n){return t.map((function(e){return e[n]}))})),o=e.map((function(e){return a.map((function(t){var n=0;if(!Array.isArray(e)){var r,a=ne(t);try{for(a.s();!(r=a.n()).done;){var o=r.value;n+=e*o}}catch(e){a.e(e)}finally{a.f()}return n}for(var i=0;i<e.length;i++)n+=e[i]*(t[i]||0);return n}))}));return 1===n&&(o=o[0]),1===r?o.map((function(e){return e[0]})):o}function Tl(e){return"string"===Nl(e)}function Nl(e){return(Object.prototype.toString.call(e).match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function Ol(e,t){e=+e,t=+t;var n=(Math.floor(e)+"").length;if(t>n)return+e.toFixed(t-n);var r=Math.pow(10,n-t);return Math.round(e/r)*r}function Sl(e){if(e){e=e.trim();var t=/^-?[\d.]+$/,n=e.match(/^([a-z]+)\((.+?)\)$/i);if(n){var r=[];return n[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,(function(e,n){/%$/.test(n)?(n=new Number(n.slice(0,-1)/100)).type="<percentage>":/deg$/.test(n)?((n=new Number(+n.slice(0,-3))).type="<angle>",n.unit="deg"):t.test(n)&&((n=new Number(n)).type="<number>"),e.startsWith("/")&&((n=n instanceof Number?n:new Number(n)).alpha=!0),r.push(n)})),{name:n[1].toLowerCase(),rawName:n[1],rawArgs:n[2],args:r}}}}function Rl(e){return e[e.length-1]}function Bl(e,t,n){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*n}function _l(e,t,n){return(n-e)/(t-e)}function Ml(e,t,n){return Bl(t[0],t[1],_l(e[0],e[1],n))}function Il(e){return e.map((function(e){return e.split("|").map((function(e){var t=(e=e.trim()).match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(t){var n=new String(t[1]);return n.range=[+t[2],+t[3]],n}return e}))}))}var Pl=Object.freeze({__proto__:null,isString:Tl,type:Nl,toPrecision:Ol,parseFunction:Sl,last:Rl,interpolate:Bl,interpolateInv:_l,mapRange:Ml,parseCoordGrammar:Il,multiplyMatrices:kl}),Ll=function(){function e(){Z(this,e)}return ee(e,[{key:"add",value:function(e,t,n){if("string"==typeof arguments[0])(Array.isArray(e)?e:[e]).forEach((function(e){this[e]=this[e]||[],t&&this[e][n?"unshift":"push"](t)}),this);else for(var e in arguments[0])this.add(e,arguments[0][e],arguments[1])}},{key:"run",value:function(e,t){this[e]=this[e]||[],this[e].forEach((function(e){e.call(t&&t.context?t.context:t,t)}))}}]),e}(),jl=new Ll,$l={gamut_mapping:"lch.c",precision:5,deltaE:"76"},ql={D50:[.3457/.3585,1,.2958/.3585],D65:[.3127/.329,1,.3583/.329]};function Vl(e){return Array.isArray(e)?e:ql[e]}function zl(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(e=Vl(e),t=Vl(t),!e||!t)throw new TypeError("Missing white point to convert ".concat(e?"":"from").concat(e||t?"":"/").concat(t?"":"to"));if(e===t)return n;var a={W1:e,W2:t,XYZ:n,options:r};if(jl.run("chromatic-adaptation-start",a),a.M||(a.W1===ql.D65&&a.W2===ql.D50?a.M=[[1.0479298208405488,.022946793341019088,-.05019222954313557],[.029627815688159344,.990434484573249,-.01707382502938514],[-.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===ql.D50&&a.W2===ql.D65&&(a.M=[[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]])),jl.run("chromatic-adaptation-end",a),a.M)return kl(a.M,a.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var Ul=(e=new WeakSet,t=new WeakMap,o=new WeakSet,function(){function n(r){var a,i,u,s,l,c,d;Z(this,n),j(this,o),j(this,e),L(this,t,{writable:!0,value:void 0}),this.id=r.id,this.name=r.name,this.base=r.base?n.get(r.base):null,this.aliases=r.aliases,this.base&&(this.fromBase=r.fromBase,this.toBase=r.toBase);var f=null!==(a=r.coords)&&void 0!==a?a:this.base.coords;this.coords=f;var p=null!==(i=null!==(u=r.white)&&void 0!==u?u:this.base.white)&&void 0!==i?i:"D65";for(var h in this.white=Vl(p),this.formats=null!==(s=r.formats)&&void 0!==s?s:{},this.formats){var m=this.formats[h];m.type||(m.type="function"),m.name||(m.name=h)}!r.cssId||null!==(l=this.formats.functions)&&void 0!==l&&l.color?null===(c=this.formats)||void 0===c||!c.color||null!==(d=this.formats)&&void 0!==d&&d.color.id||(this.formats.color.id=this.id):(this.formats.color={id:r.cssId},Object.defineProperty(this,"cssId",{value:r.cssId})),this.referred=r.referred,z(this,t,V(this,o,Wl).call(this).reverse()),jl.run("colorspace-init-end",this)}return ee(n,[{key:"inGamut",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).epsilon,n=void 0===t?75e-6:t;if(this.isPolar)return e=this.toBase(e),this.base.inGamut(e,{epsilon:n});var r=Object.values(this.coords);return e.every((function(e,t){var a=r[t];if("angle"!==a.type&&a.range){if(Number.isNaN(e))return!0;var o=Y(a.range,2),i=o[0],u=o[1];return(void 0===i||e>=i-n)&&(void 0===u||e<=u+n)}return!0}))}},{key:"cssId",get:function(){var e,t;return(null===(e=this.formats.functions)||void 0===e||null===(t=e.color)||void 0===t?void 0:t.id)||this.id}},{key:"isPolar",get:function(){for(var e in this.coords)if("angle"===this.coords[e].type)return!0;return!1}},{key:"getFormat",value:function(t){return"object"===l(t)?t=V(this,e,Hl).call(this,t):(n="default"===t?Object.values(this.formats)[0]:this.formats[t])?n=V(this,e,Hl).call(this,n):null;var n}},{key:"to",value:function(e,r){if(1===arguments.length){var a=[e.space,e.coords];e=a[0],r=a[1]}if(this===(e=n.get(e)))return r;r=r.map((function(e){return Number.isNaN(e)?0:e}));for(var o,i,u=q(this,t),s=q(e,t),l=0;l<u.length&&u[l]===s[l];l++)o=u[l],i=l;if(!o)throw new Error("Cannot convert between color spaces ".concat(this," and ").concat(e,": no connection space was found"));for(var c=u.length-1;c>i;c--)r=u[c].toBase(r);for(var d=i+1;d<s.length;d++)r=s[d].fromBase(r);return r}},{key:"from",value:function(e,t){if(1===arguments.length){var r=[e.space,e.coords];e=r[0],t=r[1]}return(e=n.get(e)).to(this,t)}},{key:"toString",value:function(){return"".concat(this.name," (").concat(this.id,")")}},{key:"getMinCoords",value:function(){var e=[];for(var t in this.coords){var n,r=this.coords[t],a=r.range||r.refRange;e.push(null!==(n=null==a?void 0:a.min)&&void 0!==n?n:0)}return e}}],[{key:"all",get:function(){return W(new Set(Object.values(n.registry)))}},{key:"register",value:function(e,t){if(1===arguments.length&&(e=(t=arguments[0]).id),t=this.get(t),this.registry[e]&&this.registry[e]!==t)throw new Error("Duplicate color space registration: '".concat(e,"'"));if(this.registry[e]=t,1===arguments.length&&t.aliases){var n,r=ne(t.aliases);try{for(r.s();!(n=r.n()).done;){var a=n.value;this.register(a,t)}}catch(e){r.e(e)}finally{r.f()}}return t}},{key:"get",value:function(e){if(!e||e instanceof n)return e;if("string"===Nl(e)){var t=n.registry[e.toLowerCase()];if(!t)throw new TypeError('No color space found with id = "'.concat(e,'"'));return t}for(var r=arguments.length,a=new Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];if(a.length)return n.get.apply(n,a);throw new TypeError("".concat(e," is not a valid color space"))}},{key:"resolveCoord",value:function(e,t){var r,a,o=Nl(e);if("string"===o)if(e.includes(".")){var i=Y(e.split("."),2);r=i[0],a=i[1]}else r=void 0,a=e;else if(Array.isArray(e)){var u=Y(e,2);r=u[0],a=u[1]}else r=e.space,a=e.coordId;if((r=n.get(r))||(r=t),!r)throw new TypeError("Cannot resolve coordinate reference ".concat(e,": No color space specified and relative references are not allowed here"));if("number"===(o=Nl(a))||"string"===o&&a>=0){var s=Object.entries(r.coords)[a];if(s)return G({space:r,id:s[0],index:a},s[1])}r=n.get(r);var l=a.toLowerCase(),c=0;for(var d in r.coords){var f,p=r.coords[d];if(d.toLowerCase()===l||(null===(f=p.name)||void 0===f?void 0:f.toLowerCase())===l)return G({space:r,id:d,index:c},p);c++}throw new TypeError('No "'.concat(a,'" coordinate found in ').concat(r.name,". Its coordinates are: ").concat(Object.keys(r.coords).join(", ")))}}]),n}());function Hl(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=Il(e.coords);var t=Object.entries(this.coords).map((function(t,n){var r=Y(t,2),a=(r[0],r[1]),o=e.coordGrammar[n][0],i=a.range||a.refRange,u=o.range,s="";return"<percentage>"==o?(u=[0,100],s="%"):"<angle>"==o&&(s="deg"),{fromRange:i,toRange:u,suffix:s}}));e.serializeCoords=function(e,n){return e.map((function(e,r){var a=t[r],o=a.fromRange,i=a.toRange,u=a.suffix;return o&&i&&(e=Ml(o,i,e)),e=Ol(e,n),u&&(e+=u),e}))}}return e}function Wl(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var Kl=Ul;se(Kl,"registry",{}),se(Kl,"DEFAULT_FORMAT",{type:"functions",name:"color"});var Gl=new Kl({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]}),Yl=function(e){R(n,e);var t=_(n);function n(e){var r,a,o,i;return Z(this,n),e.coords||(e.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),e.base||(e.base=Gl),e.toXYZ_M&&e.fromXYZ_M&&(null!==(o=e.toBase)&&void 0!==o||(e.toBase=function(t){var n=kl(e.toXYZ_M,t);return a.white!==a.base.white&&(n=zl(a.white,a.base.white,n)),n}),null!==(i=e.fromBase)&&void 0!==i||(e.fromBase=function(t){return t=zl(a.base.white,a.white,t),kl(e.fromXYZ_M,t)})),null!==(r=e.referred)&&void 0!==r||(e.referred="display"),a=t.call(this,e)}return ee(n)}(Kl);function Ql(e){var t,n={str:null===(t=String(e))||void 0===t?void 0:t.trim()};if(jl.run("parse-start",n),n.color)return n.color;if(n.parsed=Sl(n.str),n.parsed){var r=function(){var e=n.parsed.name;if("color"===e){var t,r=n.parsed.args.shift(),a=n.parsed.rawArgs.indexOf("/")>0?n.parsed.args.pop():1,o=ne(Kl.all);try{for(o.s();!(t=o.n()).done;){var i,u=t.value,s=u.getFormat("color");if(s&&(r===s.id||null!==(i=s.ids)&&void 0!==i&&i.includes(r))){var c=function(){var e=Object.keys(u.coords).length,t=Array(e).fill(0);return t.forEach((function(e,r){return t[r]=n.parsed.args[r]||0})),{v:{v:{spaceId:u.id,coords:t,alpha:a}}}}();if("object"===l(c))return c.v}}}catch(e){o.e(e)}finally{o.f()}var d="";if(r in Kl.registry){var f,p,h,m=null===(f=Kl.registry[r].formats)||void 0===f||null===(p=f.functions)||void 0===p||null===(h=p.color)||void 0===h?void 0:h.id;m&&(d="Did you mean color(".concat(m,")?"))}throw new TypeError("Cannot parse color(".concat(r,"). ")+(d||"Missing a plugin?"))}var g,v=ne(Kl.all);try{var D=function(){var t=g.value,r=t.getFormat(e);if(r&&"function"===r.type){var a=1;(r.lastAlpha||Rl(n.parsed.args).alpha)&&(a=n.parsed.args.pop());var o=n.parsed.args;return r.coordGrammar&&Object.entries(t.coords).forEach((function(t,n){var a,i=Y(t,2),u=i[0],s=i[1],l=r.coordGrammar[n],c=null===(a=o[n])||void 0===a?void 0:a.type;if(!(l=l.find((function(e){return e==c})))){var d=s.name||u;throw new TypeError("".concat(c," not allowed for ").concat(d," in ").concat(e,"()"))}var f=l.range;"<percentage>"===c&&(f||(f=[0,1]));var p=s.range||s.refRange;f&&p&&(o[n]=Ml(f,p,o[n]))})),{v:{v:{spaceId:t.id,coords:o,alpha:a}}}}};for(v.s();!(g=v.n()).done;){var b=D();if("object"===l(b))return b.v}}catch(e){v.e(e)}finally{v.f()}}();if("object"===l(r))return r.v}else{var a,o=ne(Kl.all);try{for(o.s();!(a=o.n()).done;){var i=a.value;for(var u in i.formats){var s=i.formats[u];if("custom"===s.type&&(!s.test||s.test(n.str))){var c,d=s.parse(n.str);if(d)return null!==(c=d.alpha)&&void 0!==c||(d.alpha=1),d}}}}catch(e){o.e(e)}finally{o.f()}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function Xl(e){if(!e)throw new TypeError("Empty color reference");Tl(e)&&(e=Ql(e));var t=e.space||e.spaceId;return t instanceof Kl||(e.space=Kl.get(t)),void 0===e.alpha&&(e.alpha=1),e}function Zl(e,t){return(t=Kl.get(t)).from(e)}function Jl(e,t){var n=Kl.resolveCoord(t,e.space),r=n.space,a=n.index;return Zl(e,r)[a]}function ec(e,t,n){return t=Kl.get(t),e.coords=t.to(e.space,n),e}function tc(e,t,n){if(e=Xl(e),2===arguments.length&&"object"===Nl(arguments[1])){var r=arguments[1];for(var a in r)tc(e,a,r[a])}else{"function"==typeof n&&(n=n(Jl(e,t)));var o=Kl.resolveCoord(t,e.space),i=o.space,u=o.index,s=Zl(e,i);s[u]=n,ec(e,i,s)}return e}var nc=new Kl({id:"xyz-d50",name:"XYZ D50",white:"D50",base:Gl,fromBase:function(e){return zl(Gl.white,"D50",e)},toBase:function(e){return zl("D50",Gl.white,e)},formats:{color:{}}}),rc=24/116,ac=24389/27,oc=ql.D50,ic=new Kl({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:oc,base:nc,fromBase:function(e){var t=e.map((function(e,t){return e/oc[t]})),n=t.map((function(e){return e>.008856451679035631?Math.cbrt(e):(ac*e+16)/116}));return[116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]},toBase:function(e){var t=[];return t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200,[t[0]>rc?Math.pow(t[0],3):(116*t[0]-16)/ac,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/ac,t[2]>rc?Math.pow(t[2],3):(116*t[2]-16)/ac].map((function(e,t){return e*oc[t]}))},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function uc(e){return(e%360+360)%360}var sc=new Kl({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:ic,fromBase:function(e){var t,n=Y(e,3),r=n[0],a=n[1],o=n[2];return t=Math.abs(a)<.02&&Math.abs(o)<.02?NaN:180*Math.atan2(o,a)/Math.PI,[r,Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),uc(t)]},toBase:function(e){var t=Y(e,3),n=t[0],r=t[1],a=t[2];return r<0&&(r=0),isNaN(a)&&(a=0),[n,r*Math.cos(a*Math.PI/180),r*Math.sin(a*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),lc=Math.pow(25,7),cc=Math.PI,dc=180/cc,fc=cc/180;function pc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.kL,a=void 0===r?1:r,o=n.kC,i=void 0===o?1:o,u=n.kH,s=void 0===u?1:u,l=Y(ic.from(e),3),c=l[0],d=l[1],f=l[2],p=sc.from(ic,[c,d,f])[1],h=Y(ic.from(t),3),m=h[0],g=h[1],v=h[2],D=sc.from(ic,[m,g,v])[1];p<0&&(p=0),D<0&&(D=0);var b=(p+D)/2,y=Math.pow(b,7),w=.5*(1-Math.sqrt(y/(y+lc))),E=(1+w)*d,F=(1+w)*g,C=Math.sqrt(Math.pow(E,2)+Math.pow(f,2)),x=Math.sqrt(Math.pow(F,2)+Math.pow(v,2)),A=0===E&&0===f?0:Math.atan2(f,E),k=0===F&&0===v?0:Math.atan2(v,F);A<0&&(A+=2*cc),k<0&&(k+=2*cc);var T,N=m-c,O=x-C,S=(k*=dc)-(A*=dc),R=A+k,B=Math.abs(S);C*x==0?T=0:B<=180?T=S:S>180?T=S-360:S<-180?T=S+360:console.log("the unthinkable has happened");var _,M=2*Math.sqrt(x*C)*Math.sin(T*fc/2),I=(c+m)/2,P=(C+x)/2,L=Math.pow(P,7);_=C*x==0?R:B<=180?R/2:R<360?(R+360)/2:(R-360)/2;var j=Math.pow(I-50,2),$=1+.015*j/Math.sqrt(20+j),q=1+.045*P,V=1;V-=.17*Math.cos((_-30)*fc),V+=.24*Math.cos(2*_*fc),V+=.32*Math.cos((3*_+6)*fc);var z=1+.015*P*(V-=.2*Math.cos((4*_-63)*fc)),U=30*Math.exp(-1*Math.pow((_-275)/25,2)),H=2*Math.sqrt(L/(L+lc)),W=-1*Math.sin(2*U*fc)*H,K=Math.pow(N/(a*$),2);return K+=Math.pow(O/(i*q),2),K+=Math.pow(M/(s*z),2),K+=W*(O/(i*q))*(M/(s*z)),Math.sqrt(K)}var hc=75e-6;function mc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.space,n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).epsilon,r=void 0===n?hc:n;e=Xl(e),t=Kl.get(t);var a=e.coords;return t!==e.space&&(a=t.from(e)),t.inGamut(a,{epsilon:r})}function gc(e){return{space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function vc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.method,r=void 0===n?$l.gamut_mapping:n,a=t.space,o=void 0===a?e.space:a;if(Tl(arguments[1])&&(o=arguments[1]),mc(e,o=Kl.get(o),{epsilon:0}))return e;var i=Dc(e,o);if("clip"!==r&&!mc(e,o)){var u=vc(gc(i),{method:"clip",space:o});if(pc(e,u)>2){for(var s=Kl.resolveCoord(r),l=s.space,c=s.id,d=Dc(i,l),f=(s.range||s.refRange)[0],p=Jl(d,c);p-f>.01;){var h=gc(d);pc(d,h=vc(h,{space:o,method:"clip"}))-2<.01?f=Jl(d,c):p=Jl(d,c),tc(d,c,(f+p)/2)}i=Dc(d,o)}else i=u}if("clip"===r||!mc(i,o,{epsilon:0})){var m=Object.values(o.coords).map((function(e){return e.range||[]}));i.coords=i.coords.map((function(e,t){var n=Y(m[t],2),r=n[0],a=n[1];return void 0!==r&&(e=Math.max(r,e)),void 0!==a&&(e=Math.min(e,a)),e}))}return o!==e.space&&(i=Dc(i,e.space)),e.coords=i.coords,e}function Dc(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).inGamut;e=Xl(e);var r=(t=Kl.get(t)).from(e),a={space:t,coords:r,alpha:e.alpha};return n&&(a=vc(a)),a}function bc(e){var t,n,r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=a.precision,i=void 0===o?$l.precision:o,u=a.format,s=void 0===u?"default":u,l=a.inGamut,c=void 0===l||l,d=H(a,y),f=s;s=null!==(t=null!==(n=(e=Xl(e)).space.getFormat(s))&&void 0!==n?n:e.space.getFormat("default"))&&void 0!==t?t:Kl.DEFAULT_FORMAT,c||(c=s.toGamut);var p=e.coords;if(p=p.map((function(e){return e||0})),c&&!mc(e)&&(p=vc(gc(e),!0===c?void 0:c).coords),"custom"===s.type){if(d.precision=i,!s.serialize)throw new TypeError("format ".concat(f," can only be used to parse colors, not for serialization"));r=s.serialize(p,e.alpha,d)}else{var h=s.name||"color";s.serializeCoords?p=s.serializeCoords(p,i):null!==i&&(p=p.map((function(e){return Ol(e,i)})));var m=W(p);if("color"===h){var g,v=s.id||(null===(g=s.ids)||void 0===g?void 0:g[0])||e.space.id;m.unshift(v)}var D=e.alpha;null!==i&&(D=Ol(D,i));var b=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(D):"";r="".concat(h,"(").concat(m.join(s.commas?", ":" ")).concat(b,")")}return r}vc.returns="color",Dc.returns="color";var yc=new Yl({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],fromXYZ_M:[[1.716651187971268,-.355670783776392,-.25336628137366],[-.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-.042770613257809,.942103121235474]],formats:{color:{}}}),wc=1.09929682680944,Ec=.018053968510807,Fc=new Yl({id:"rec2020",name:"REC.2020",base:yc,toBase:function(e){return e.map((function(e){return e<4.5*Ec?e/4.5:Math.pow((e+wc-1)/wc,1/.45)}))},fromBase:function(e){return e.map((function(e){return e>=Ec?wc*Math.pow(e,.45)-(wc-1):4.5*e}))},formats:{color:{}}}),Cc=new Yl({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],fromXYZ_M:[[2.493496911941425,-.9313836179191239,-.40271078445071684],[-.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-.07617238926804182,.9568845240076872]]}),xc=new Yl({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],fromXYZ_M:[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]],formats:{color:{}}}),Ac={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[.6,50/255,.8],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,.6],lightslategrey:[119/255,136/255,.6],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[.4,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,.8],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[.4,.2,.6],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]},kc=Array(3).fill("<percentage> | <number>[0, 255]"),Tc=Array(3).fill("<number>[0, 255]"),Nc=new Yl({id:"srgb",name:"sRGB",base:xc,fromBase:function(e){return e.map((function(e){var t=e<0?-1:1,n=e*t;return n>.0031308?t*(1.055*Math.pow(n,1/2.4)-.055):12.92*e}))},toBase:function(e){return e.map((function(e){var t=e<0?-1:1,n=e*t;return n<.04045?e/12.92:t*Math.pow((n+.055)/1.055,2.4)}))},formats:{rgb:{coords:kc},rgb_number:{name:"rgb",commas:!0,coords:Tc,noAlpha:!0},color:{},rgba:{coords:kc,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:Tc},hex:{type:"custom",toGamut:!0,test:function(e){return/^#([a-f0-9]{3,4}){1,2}$/i.test(e)},parse:function(e){e.length<=5&&(e=e.replace(/[a-f0-9]/gi,"$&$&"));var t=[];return e.replace(/[a-f0-9]{2}/gi,(function(e){t.push(parseInt(e,16)/255)})),{spaceId:"srgb",coords:t.slice(0,3),alpha:t.slice(3)[0]}},serialize:function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).collapse,r=void 0===n||n;t<1&&e.push(t),e=e.map((function(e){return Math.round(255*e)}));var a=r&&e.every((function(e){return e%17==0}));return"#"+e.map((function(e){return a?(e/17).toString(16):e.toString(16).padStart(2,"0")})).join("")}},keyword:{type:"custom",test:function(e){return/^[a-z]+$/i.test(e)},parse:function(e){var t={spaceId:"srgb",coords:null,alpha:1};if("transparent"===(e=e.toLowerCase())?(t.coords=Ac.black,t.alpha=0):t.coords=Ac[e],t.coords)return t}}}}),Oc=new Yl({id:"p3",name:"P3",base:Cc,fromBase:Nc.fromBase,toBase:Nc.toBase,formats:{color:{id:"display-p3"}}});if($l.display_space=Nc,"undefined"!=typeof CSS&&CSS.supports)for(var Sc=0,Rc=[ic,Fc,Oc];Sc<Rc.length;Sc++){var Bc=Rc[Sc],_c=Bc.getMinCoords(),Mc=bc({space:Bc,coords:_c,alpha:1});if(CSS.supports("color",Mc)){$l.display_space=Bc;break}}function Ic(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.space,r=void 0===n?$l.display_space:n,a=H(t,w),o=bc(e,a);if("undefined"==typeof CSS||CSS.supports("color",o)||!$l.display_space)(o=new String(o)).color=e;else{var i=Dc(e,r);(o=new String(bc(i,a))).color=i}return o}function Pc(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"lab",r=(n=Kl.get(n)).from(e),a=n.from(t);return Math.sqrt(r.reduce((function(e,t,n){var r=a[n];return isNaN(t)||isNaN(r)?e:e+Math.pow(r-t,2)}),0))}function Lc(e){return Jl(e,[Gl,"y"])}function jc(e,t){tc(e,[Gl,"y"],t)}var $c=Object.freeze({__proto__:null,getLuminance:Lc,setLuminance:jc,register:function(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return Lc(this)},set:function(e){jc(this,e)}})}});function qc(e){return e>=.022?e:e+Math.pow(.022-e,1.414)}function Vc(e){var t=e<0?-1:1,n=Math.abs(e);return t*Math.pow(n,2.4)}var zc=24/116,Uc=24389/27,Hc=ql.D65,Wc=new Kl({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:Hc,base:Gl,fromBase:function(e){var t=e.map((function(e,t){return e/Hc[t]})),n=t.map((function(e){return e>.008856451679035631?Math.cbrt(e):(Uc*e+16)/116}));return[116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]},toBase:function(e){var t=[];return t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200,[t[0]>zc?Math.pow(t[0],3):(116*t[0]-16)/Uc,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/Uc,t[2]>zc?Math.pow(t[2],3):(116*t[2]-16)/Uc].map((function(e,t){return e*Hc[t]}))},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),Kc=.5*Math.pow(5,.5)+.5,Gc=Object.freeze({__proto__:null,contrastWCAG21:function(e,t){e=Xl(e),t=Xl(t);var n=Math.max(Lc(e),0),r=Math.max(Lc(t),0);if(r>n){var a=[r,n];n=a[0],r=a[1]}return(n+.05)/(r+.05)},contrastAPCA:function(e,t){var n,r,a,o;t=Xl(t),e=Xl(e);var i=Y((t=Dc(t,"srgb")).coords,3);r=i[0],a=i[1],o=i[2];var u=.2126729*Vc(r)+.7151522*Vc(a)+.072175*Vc(o),s=Y((e=Dc(e,"srgb")).coords,3);r=s[0],a=s[1],o=s[2];var l=.2126729*Vc(r)+.7151522*Vc(a)+.072175*Vc(o),c=qc(u),d=qc(l),f=d>c;return n=Math.abs(d-c)<5e-4?0:f?1.14*(Math.pow(d,.56)-Math.pow(c,.57)):1.14*(Math.pow(d,.65)-Math.pow(c,.62)),100*(Math.abs(n)<.1?0:n>0?n-.027:n+.027)},contrastMichelson:function(e,t){e=Xl(e),t=Xl(t);var n=Math.max(Lc(e),0),r=Math.max(Lc(t),0);if(r>n){var a=[r,n];n=a[0],r=a[1]}var o=n+r;return 0===o?0:(n-r)/o},contrastWeber:function(e,t){e=Xl(e),t=Xl(t);var n=Math.max(Lc(e),0),r=Math.max(Lc(t),0);if(r>n){var a=[r,n];n=a[0],r=a[1]}return 0===r?5e4:(n-r)/r},contrastLstar:function(e,t){e=Xl(e),t=Xl(t);var n=Jl(e,[ic,"l"]),r=Jl(t,[ic,"l"]);return Math.abs(n-r)},contrastDeltaPhi:function(e,t){e=Xl(e),t=Xl(t);var n=Jl(e,[Wc,"l"]),r=Jl(t,[Wc,"l"]),a=Math.abs(Math.pow(n,Kc)-Math.pow(r,Kc)),o=Math.pow(a,1/Kc)*Math.SQRT2-40;return o<7.5?0:o}});function Yc(e){var t=Y(Zl(e,Gl),3),n=t[0],r=t[1],a=n+15*r+3*t[2];return[4*n/a,9*r/a]}function Qc(e){var t=Y(Zl(e,Gl),3),n=t[0],r=t[1],a=n+r+t[2];return[n/a,r/a]}var Xc=Object.freeze({__proto__:null,uv:Yc,xy:Qc,register:function(e){Object.defineProperty(e.prototype,"uv",{get:function(){return Yc(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return Qc(this)}})}}),Zc=Math.PI/180,Jc=new Kl({id:"xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:Gl,fromBase:function(e){return e.map((function(e){return Math.max(203*e,0)}))},toBase:function(e){return e.map((function(e){return Math.max(e/203,0)}))}}),ed=1.15,td=.66,nd=2610/Math.pow(2,14),rd=Math.pow(2,14)/2610,ad=3424/Math.pow(2,12),od=2413/Math.pow(2,7),id=2392/Math.pow(2,7),ud=1.7*2523/Math.pow(2,5),sd=Math.pow(2,5)/(1.7*2523),ld=-.56,cd=16295499532821565e-27,dd=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],fd=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],pd=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],hd=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]],md=new Kl({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:Jc,fromBase:function(e){var t=Y(e,3),n=t[0],r=t[1],a=t[2],o=kl(dd,[ed*n-(ed-1)*a,td*r-(td-1)*n,a]).map((function(e){var t=ad+od*Math.pow(e/1e4,nd),n=1+id*Math.pow(e/1e4,nd);return Math.pow(t/n,ud)})),i=Y(kl(pd,o),3),u=i[0],s=i[1],l=i[2];return[(1+ld)*u/(1+ld*u)-cd,s,l]},toBase:function(e){var t=Y(e,3),n=t[0],r=t[1],a=t[2],o=kl(hd,[(n+cd)/(1+ld-ld*(n+cd)),r,a]).map((function(e){var t=ad-Math.pow(e,sd),n=id*Math.pow(e,sd)-od;return 1e4*Math.pow(t/n,rd)})),i=Y(kl(fd,o),3),u=i[0],s=i[1],l=i[2],c=(u+(ed-1)*l)/ed;return[c,(s+(td-1)*c)/td,l]},formats:{color:{}}}),gd=new Kl({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:md,fromBase:function(e){var t,n=Y(e,3),r=n[0],a=n[1],o=n[2],i=2e-4;return t=Math.abs(a)<i&&Math.abs(o)<i?NaN:180*Math.atan2(o,a)/Math.PI,[r,Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),uc(t)]},toBase:function(e){return[e[0],e[1]*Math.cos(e[2]*Math.PI/180),e[1]*Math.sin(e[2]*Math.PI/180)]},formats:{color:{}}}),vd=.8359375,Dd=2413/128,bd=18.6875,yd=2610/16384,wd=32/2523,Ed=[[.3592,.6976,-.0358],[-.1922,1.1004,.0755],[.007,.0749,.8434]],Fd=[[.5,.5,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],Cd=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-.008605050147287059,-.11103437159861648],[1.0000320633910054,.56004913547279,-.3206339100541203]],xd=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-.04542175307585323],[-.04959554223893211,-.04942116118675749,1.1879959417328034]],Ad=new Kl({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-.5,.5],name:"CT"},cp:{refRange:[-.5,.5],name:"CP"}},base:Jc,fromBase:function(e){return t=kl(Ed,e),n=t.map((function(e){var t=vd+Dd*Math.pow(e/1e4,yd),n=1+bd*Math.pow(e/1e4,yd);return Math.pow(t/n,78.84375)})),kl(Fd,n);var t,n},toBase:function(e){var t=function(e){return kl(Cd,e).map((function(e){var t=Math.max(Math.pow(e,wd)-vd,0),n=Dd-bd*Math.pow(e,wd);return 1e4*Math.pow(t/n,6.277394636015326)}))}(e);return kl(xd,t)},formats:{color:{}}}),kd=[[.8190224432164319,.3619062562801221,-.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],Td=[[1.2268798733741557,-.5578149965554813,.28139105017721583],[-.04057576262431372,1.1122868293970594,-.07171106666151701],[-.07637294974672142,-.4214933239627914,1.5869240244272418]],Nd=[[.2104542553,.793617785,-.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-.808675766]],Od=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-.10556134232365635,-.06385417477170591],[1.0000000546724108,-.08948418209496575,-1.2914855378640917]],Sd=new Kl({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-.4,.4]},b:{refRange:[-.4,.4]}},white:"D65",base:Gl,fromBase:function(e){var t=kl(kd,e).map((function(e){return Math.cbrt(e)}));return kl(Nd,t)},toBase:function(e){var t=kl(Od,e).map((function(e){return Math.pow(e,3)}));return kl(Td,t)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}}),Rd=Object.freeze({__proto__:null,deltaE76:function(e,t){return Pc(e,t,"lab")},deltaECMC:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.l,a=void 0===r?2:r,o=n.c,i=void 0===o?1:o,u=Y(ic.from(e),3),s=u[0],l=u[1],c=u[2],d=Y(sc.from(ic,[s,l,c]),3),f=d[1],p=d[2],h=Y(ic.from(t),3),m=h[0],g=h[1],v=h[2],D=sc.from(ic,[m,g,v])[1];f<0&&(f=0),D<0&&(D=0);var b=s-m,y=f-D,w=l-g,E=c-v,F=Math.pow(w,2)+Math.pow(E,2)-Math.pow(y,2),C=.511;s>=16&&(C=.040975*s/(1+.01765*s));var x,A=.0638*f/(1+.0131*f)+.638;Number.isNaN(p)&&(p=0),x=p>=164&&p<=345?.56+Math.abs(.2*Math.cos((p+168)*Zc)):.36+Math.abs(.4*Math.cos((p+35)*Zc));var k=Math.pow(f,4),T=Math.sqrt(k/(k+1900)),N=A*(T*x+1-T),O=Math.pow(b/(a*C),2);return O+=Math.pow(y/(i*A),2),O+=F/Math.pow(N,2),Math.sqrt(O)},deltaE2000:pc,deltaEJz:function(e,t){var n=Y(gd.from(e),3),r=n[0],a=n[1],o=n[2],i=Y(gd.from(t),3),u=i[0],s=i[1],l=i[2],c=r-u,d=a-s;Number.isNaN(o)&&Number.isNaN(l)?(o=0,l=0):Number.isNaN(o)?o=l:Number.isNaN(l)&&(l=o);var f=o-l,p=2*Math.sqrt(a*s)*Math.sin(f/2*(Math.PI/180));return Math.sqrt(Math.pow(c,2)+Math.pow(d,2)+Math.pow(p,2))},deltaEITP:function(e,t){var n=Y(Ad.from(e),3),r=n[0],a=n[1],o=n[2],i=Y(Ad.from(t),3),u=i[0],s=i[1],l=i[2];return 720*Math.sqrt(Math.pow(r-u,2)+.25*Math.pow(a-s,2)+Math.pow(o-l,2))},deltaEOK:function(e,t){var n=Y(Sd.from(e),3),r=n[0],a=n[1],o=n[2],i=Y(Sd.from(t),3),u=r-i[0],s=a-i[1],l=o-i[2];return Math.sqrt(Math.pow(u,2)+Math.pow(s,2)+Math.pow(l,2))}});function Bd(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Tl(n)&&(n={method:n});var r=n,a=r.method,o=void 0===a?$l.deltaE:a,i=H(r,F);for(var u in e=Xl(e),t=Xl(t),Rd)if("deltae"+o.toLowerCase()===u.toLowerCase())return Rd[u](e,t,i);throw new TypeError("Unknown deltaE method: ".concat(o))}var _d=Object.freeze({__proto__:null,lighten:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return tc(e,[Kl.get("oklch","lch"),"l"],(function(e){return e*(1+t)}))},darken:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return tc(e,[Kl.get("oklch","lch"),"l"],(function(e){return e*(1-t)}))}});function Md(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.5,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=[Xl(e),Xl(t)];if(e=a[0],t=a[1],"object"===Nl(n)){var o=[.5,n];n=o[0],r=o[1]}var i=r;return Pd(e,t,{space:i.space,outputSpace:i.outputSpace,premultiplied:i.premultiplied})(n)}function Id(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Ld(e)){r=t;var a=Y((n=e).rangeArgs.colors,2);e=a[0],t=a[1]}var o=r,i=o.maxDeltaE,u=o.deltaEMethod,s=o.steps,l=void 0===s?2:s,c=o.maxSteps,d=void 0===c?1e3:c,f=H(o,C);if(!n){var p=[Xl(e),Xl(t)];n=Pd(e=p[0],t=p[1],f)}var h=Bd(e,t),m=i>0?Math.max(l,Math.ceil(h/i)+1):l,g=[];if(void 0!==d&&(m=Math.min(m,d)),1===m)g=[{p:.5,color:n(.5)}];else{var v=1/(m-1);g=Array.from({length:m},(function(e,t){var r=t*v;return{p:r,color:n(r)}}))}if(i>0)for(var D=g.reduce((function(e,t,n){if(0===n)return 0;var r=Bd(t.color,g[n-1].color,u);return Math.max(e,r)}),0);D>i;){D=0;for(var b=1;b<g.length&&g.length<d;b++){var y=g[b-1],w=g[b],E=(w.p+y.p)/2,F=n(E);D=Math.max(D,Bd(F,y.color),Bd(F,w.color)),g.splice(b,0,{p:E,color:n(E)}),b++}}return g=g.map((function(e){return e.color}))}function Pd(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(Ld(e)){var r=e,a=t;return Pd.apply(void 0,W(r.rangeArgs.colors).concat([G({},r.rangeArgs.options,a)]))}var o=n.space,i=n.outputSpace,u=n.progression,s=n.premultiplied;e=Xl(e),t=Xl(t),e=gc(e),t=gc(t);var l={colors:[e,t],options:n};if(o=o?Kl.get(o):Kl.registry[$l.interpolationSpace]||e.space,i=i?Kl.get(i):o,e=Dc(e,o),t=Dc(t,o),e=vc(e),t=vc(t),o.coords.h&&"angle"===o.coords.h.type){var c=n.hue=n.hue||"shorter",d=[o,"h"],f=[Jl(e,d),Jl(t,d)],p=f[0],h=f[1],m=function(e,t){if("raw"===e)return t;var n=Y(t.map(uc),2),r=n[0],a=n[1],o=a-r;return"increasing"===e?o<0&&(a+=360):"decreasing"===e?o>0&&(r+=360):"longer"===e?-180<o&&o<180&&(o>0?a+=360:r+=360):"shorter"===e&&(o>180?r+=360:o<-180&&(a+=360)),[r,a]}(c,[p,h]),g=Y(m,2);p=g[0],h=g[1],tc(e,d,p),tc(t,d,h)}return s&&(e.coords=e.coords.map((function(t){return t*e.alpha})),t.coords=t.coords.map((function(e){return e*t.alpha}))),Object.assign((function(n){n=u?u(n):n;var r=e.coords.map((function(e,r){return Bl(e,t.coords[r],n)})),a=Bl(e.alpha,t.alpha,n),l={space:o,coords:r,alpha:a};return s&&(l.coords=l.coords.map((function(e){return e/a}))),i!==o&&(l=Dc(l,i)),l}),{rangeArgs:l})}function Ld(e){return"function"===Nl(e)&&!!e.rangeArgs}$l.interpolationSpace="lab";var jd=Object.freeze({__proto__:null,mix:Md,steps:Id,range:Pd,isRange:Ld,register:function(e){e.defineFunction("mix",Md,{returns:"color"}),e.defineFunction("range",Pd,{returns:"function<color>"}),e.defineFunction("steps",Id,{returns:"array<color>"})}}),$d=new Kl({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:Nc,fromBase:function(e){var t=Math.max.apply(Math,W(e)),n=Math.min.apply(Math,W(e)),r=Y(e,3),a=r[0],o=r[1],i=r[2],u=NaN,s=0,l=(n+t)/2,c=t-n;if(0!==c){switch(s=0===l||1===l?0:(t-l)/Math.min(l,1-l),t){case a:u=(o-i)/c+(o<i?6:0);break;case o:u=(i-a)/c+2;break;case i:u=(a-o)/c+4}u*=60}return[u,100*s,100*l]},toBase:function(e){var t=Y(e,3),n=t[0],r=t[1],a=t[2];function o(e){var t=(e+n/30)%12,o=r*Math.min(a,1-a);return a-o*Math.max(-1,Math.min(t-3,9-t,1))}return(n%=360)<0&&(n+=360),r/=100,a/=100,[o(0),o(8),o(4)]},formats:{hsl:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]},hsla:{coords:["<number> | <angle>","<percentage>","<percentage>"],commas:!0,lastAlpha:!0}}}),qd=new Kl({id:"hsv",name:"HSV",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},v:{range:[0,100],name:"Value"}},base:$d,fromBase:function(e){var t=Y(e,3),n=t[0],r=t[1],a=t[2],o=(a/=100)+(r/=100)*Math.min(a,1-a);return[n,0===o?0:200*(1-a/o),100*o]},toBase:function(e){var t=Y(e,3),n=t[0],r=t[1],a=t[2],o=(a/=100)*(1-(r/=100)/2);return[n,0===o||1===o?0:(a-o)/Math.min(o,1-o)*100,100*o]},formats:{color:{toGamut:!0}}}),Vd=new Kl({id:"hwb",name:"HWB",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},w:{range:[0,100],name:"Whiteness"},b:{range:[0,100],name:"Blackness"}},base:qd,fromBase:function(e){var t=Y(e,3),n=t[0],r=t[1],a=t[2];return[n,a*(100-r)/100,100-a]},toBase:function(e){var t=Y(e,3),n=t[0],r=t[1],a=t[2],o=(r/=100)+(a/=100);if(o>=1)return[n,0,r/o*100];var i=1-a;return[n,100*(0===i?0:1-r/i),100*i]},formats:{hwb:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]}}}),zd=new Yl({id:"a98rgb-linear",name:"Linear Adobe® 98 RGB compatible",white:"D65",toXYZ_M:[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],fromXYZ_M:[[2.0415879038107465,-.5650069742788596,-.34473135077832956],[-.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-.11836239223101838,1.0151749943912054]]}),Ud=new Yl({id:"a98rgb",name:"Adobe® 98 RGB compatible",base:zd,toBase:function(e){return e.map((function(e){return Math.pow(Math.abs(e),563/256)*Math.sign(e)}))},fromBase:function(e){return e.map((function(e){return Math.pow(Math.abs(e),256/563)*Math.sign(e)}))},formats:{color:{id:"a98-rgb"}}}),Hd=new Yl({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:nc,toXYZ_M:[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],fromXYZ_M:[[1.3457989731028281,-.25558010007997534,-.05110628506753401],[-.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]]}),Wd=new Yl({id:"prophoto",name:"ProPhoto",base:Hd,toBase:function(e){return e.map((function(e){return e<.03125?e/16:Math.pow(e,1.8)}))},fromBase:function(e){return e.map((function(e){return e>=.001953125?Math.pow(e,1/1.8):16*e}))},formats:{color:{id:"prophoto-rgb"}}}),Kd=new Kl({id:"oklch",name:"OKLCh",coords:{l:{refRange:[0,1],name:"Lightness"},c:{refRange:[0,.4],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},white:"D65",base:Sd,fromBase:function(e){var t,n=Y(e,3),r=n[0],a=n[1],o=n[2],i=2e-4;return t=Math.abs(a)<i&&Math.abs(o)<i?NaN:180*Math.atan2(o,a)/Math.PI,[r,Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),uc(t)]},toBase:function(e){var t,n,r=Y(e,3),a=r[0],o=r[1],i=r[2];return isNaN(i)?(t=0,n=0):(t=o*Math.cos(i*Math.PI/180),n=o*Math.sin(i*Math.PI/180)),[a,t,n]},formats:{oklch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),Gd=2610/Math.pow(2,14),Yd=Math.pow(2,14)/2610,Qd=2523/Math.pow(2,5),Xd=Math.pow(2,5)/2523,Zd=3424/Math.pow(2,12),Jd=2413/Math.pow(2,7),ef=2392/Math.pow(2,7),tf=new Yl({id:"rec2100pq",name:"REC.2100-PQ",base:yc,toBase:function(e){return e.map((function(e){return 1e4*Math.pow(Math.max(Math.pow(e,Xd)-Zd,0)/(Jd-ef*Math.pow(e,Xd)),Yd)/203}))},fromBase:function(e){return e.map((function(e){var t=Math.max(203*e/1e4,0),n=Zd+Jd*Math.pow(t,Gd),r=1+ef*Math.pow(t,Gd);return Math.pow(n/r,Qd)}))},formats:{color:{id:"rec2100-pq"}}}),nf=.17883277,rf=.28466892,af=.55991073,of=3.7743,uf=new Yl({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:yc,toBase:function(e){return e.map((function(e){return e<=.5?Math.pow(e,2)/3*of:Math.exp((e-af)/nf+rf)/12*of}))},fromBase:function(e){return e.map((function(e){return(e/=of)<=1/12?Math.sqrt(3*e):nf*Math.log(12*e-rf)+af}))},formats:{color:{id:"rec2100-hlg"}}}),sf={};function lf(e){var t=e.id;e.toCone_M,e.fromCone_M,sf[t]=arguments[0]}function cf(e,t){var n=sf[arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Bradford"],r=Y(kl(n.toCone_M,e),3),a=r[0],o=r[1],i=r[2],u=Y(kl(n.toCone_M,t),3),s=kl([[u[0]/a,0,0],[0,u[1]/o,0],[0,0,u[2]/i]],n.toCone_M);return kl(n.fromCone_M,s)}jl.add("chromatic-adaptation-start",(function(e){e.options.method&&(e.M=cf(e.W1,e.W2,e.options.method))})),jl.add("chromatic-adaptation-end",(function(e){e.M||(e.M=cf(e.W1,e.W2,e.options.method))})),lf({id:"von Kries",toCone_M:[[.40024,.7076,-.08081],[-.2263,1.16532,.0457],[0,0,.91822]],fromCone_M:[[1.8599364,-1.1293816,.2198974],[.3611914,.6388125,-64e-7],[0,0,1.0890636]]}),lf({id:"Bradford",toCone_M:[[.8951,.2664,-.1614],[-.7502,1.7135,.0367],[.0389,-.0685,1.0296]],fromCone_M:[[.9869929,-.1470543,.1599627],[.4323053,.5183603,.0492912],[-.0085287,.0400428,.9684867]]}),lf({id:"CAT02",toCone_M:[[.7328,.4296,-.1624],[-.7036,1.6975,.0061],[.003,.0136,.9834]],fromCone_M:[[1.0961238,-.278869,.1827452],[.454369,.4735332,.0720978],[-.0096276,-.005698,1.0153256]]}),lf({id:"CAT16",toCone_M:[[.401288,.650173,-.051461],[-.250268,1.204414,.045854],[-.002079,.048952,.953127]],fromCone_M:[[1.862067855087233,-1.011254630531685,.1491867754444518],[.3875265432361372,.6214474419314753,-.008973985167612518],[-.01584149884933386,-.03412293802851557,1.04996443687785]]}),Object.assign(ql,{A:[1.0985,1,.35585],C:[.98074,1,1.18232],D55:[.95682,1,.92149],D75:[.94972,1,1.22638],E:[1,1,1],F2:[.99186,1,.67393],F7:[.95041,1,1.08747],F11:[1.00962,1,.6435]}),ql.ACES=[.32168/.33767,1,.34065/.33767];var df=new Yl({id:"acescg",name:"ACEScg",coords:{r:{range:[0,65504],name:"Red"},g:{range:[0,65504],name:"Green"},b:{range:[0,65504],name:"Blue"}},referred:"scene",white:ql.ACES,toXYZ_M:[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-.005574649490394108,.004060733528982826,1.0103391003129971]],fromXYZ_M:[[1.6410233796943257,-.32480329418479,-.23642469523761225],[-.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-.008284441996237409,.9883948585390215]],formats:{color:{}}}),ff=Math.pow(2,-16),pf=-.35828683,hf=(Math.log2(65504)+9.72)/17.52,mf=new Yl({id:"acescc",name:"ACEScc",coords:{r:{range:[pf,hf],name:"Red"},g:{range:[pf,hf],name:"Green"},b:{range:[pf,hf],name:"Blue"}},referred:"scene",base:df,toBase:function(e){return e.map((function(e){return e<=-.3013698630136986?2*(Math.pow(2,17.52*e-9.72)-ff):e<hf?Math.pow(2,17.52*e-9.72):65504}))},fromBase:function(e){return e.map((function(e){return e<=0?(Math.log2(ff)+9.72)/17.52:e<ff?(Math.log2(ff+.5*e)+9.72)/17.52:(Math.log2(e)+9.72)/17.52}))},formats:{color:{}}}),gf=Object.freeze({__proto__:null,XYZ_D65:Gl,XYZ_D50:nc,XYZ_ABS_D65:Jc,Lab_D65:Wc,Lab:ic,LCH:sc,sRGB_Linear:xc,sRGB:Nc,HSL:$d,HWB:Vd,HSV:qd,P3_Linear:Cc,P3:Oc,A98RGB_Linear:zd,A98RGB:Ud,ProPhoto_Linear:Hd,ProPhoto:Wd,REC_2020_Linear:yc,REC_2020:Fc,OKLab:Sd,OKLCH:Kd,Jzazbz:md,JzCzHz:gd,ICTCP:Ad,REC_2100_PQ:tf,REC_2100_HLG:uf,ACEScg:df,ACEScc:mf}),vf=(B=new WeakMap,function(){function e(){var t,n,r,a,o=this;Z(this,e),L(this,B,{writable:!0,value:void 0});for(var i=arguments.length,u=new Array(i),s=0;s<i;s++)u[s]=arguments[s];1===u.length&&(t=Xl(u[0])),t?(n=t.space||t.spaceId,r=t.coords,a=t.alpha):(n=u[0],r=u[1],a=u[2]),z(this,B,Kl.get(n)),this.coords=r?r.slice():[0,0,0],this.alpha=a<1?a:1;for(var l=0;l<this.coords.length;l++)"NaN"===this.coords[l]&&(this.coords[l]=NaN);var c=function(e){Object.defineProperty(o,e,{get:function(){return o.get(e)},set:function(t){return o.set(e,t)}})};for(var d in q(this,B).coords)c(d)}return ee(e,[{key:"space",get:function(){return q(this,B)}},{key:"spaceId",get:function(){return q(this,B).id}},{key:"clone",value:function(){return new e(this.space,this.coords,this.alpha)}},{key:"toJSON",value:function(){return{spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}},{key:"display",value:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=Ic.apply(void 0,[this].concat(n));return a.color=new e(a.color),a}}],[{key:"get",value:function(t){if(t instanceof e)return t;for(var n=arguments.length,r=new Array(n>1?n-1:0),a=1;a<n;a++)r[a-1]=arguments[a];return S(e,[t].concat(r))}},{key:"defineFunction",value:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n,a=r.instance,o=void 0===a||a,i=r.returns,u=function(){var t=n.apply(void 0,arguments);if("color"===i)t=e.get(t);else if("function<color>"===i){var r=t;t=function(){var t=r.apply(void 0,arguments);return e.get(t)},Object.assign(t,r)}else"array<color>"===i&&(t=t.map((function(t){return e.get(t)})));return t};t in e||(e[t]=u),o&&(e.prototype[t]=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return u.apply(void 0,[this].concat(t))})}},{key:"defineFunctions",value:function(t){for(var n in t)e.defineFunction(n,t[n],t[n])}},{key:"extend",value:function(t){if(t.register)t.register(e);else for(var n in t)e.defineFunction(n,t[n])}}]),e}());vf.defineFunctions({get:Jl,getAll:Zl,set:tc,setAll:ec,to:Dc,equals:function(e,t){return e=Xl(e),t=Xl(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every((function(e,n){return e===t.coords[n]}))},inGamut:mc,toGamut:vc,distance:Pc,toString:bc}),Object.assign(vf,{util:Pl,hooks:jl,WHITES:ql,Space:Kl,spaces:Kl.registry,parse:Ql,defaults:$l});for(var Df=0,bf=Object.keys(gf);Df<bf.length;Df++){var yf=bf[Df];Kl.register(gf[yf])}for(var wf in Kl.registry)Ef(wf,Kl.registry[wf]);function Ef(e,t){Object.keys(t.coords),Object.values(t.coords).map((function(e){return e.name}));var n=e.replace(/-/g,"_");Object.defineProperty(vf.prototype,n,{get:function(){var n=this,r=this.getAll(e);return"undefined"==typeof Proxy?r:new Proxy(r,{has:function(e,n){try{return Kl.resolveCoord([t,n]),!0}catch(e){}return Reflect.has(e,n)},get:function(e,n,r){if(n&&"symbol"!==l(n)&&!(n in e)){var a=Kl.resolveCoord([t,n]).index;if(a>=0)return e[a]}return Reflect.get(e,n,r)},set:function(r,a,o,i){if(a&&"symbol"!==l(a)&&!(a in r)||a>=0){var u=Kl.resolveCoord([t,a]).index;if(u>=0)return r[u]=o,n.setAll(e,r),!0}return Reflect.set(r,a,o,i)}})},set:function(t){this.setAll(e,t)},configurable:!0,enumerable:!0})}jl.add("colorspace-init-end",(function(e){var t;Ef(e.id,e),null===(t=e.aliases)||void 0===t||t.forEach((function(t){Ef(t,e)}))})),vf.extend(Rd),vf.extend({deltaE:Bd}),vf.extend(_d),vf.extend({contrast:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Tl(n)&&(n={algorithm:n});var r=n,a=r.algorithm,o=H(r,E);if(!a){var i=Object.keys(Gc).map((function(e){return e.replace(/^contrast/,"")})).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(i))}for(var u in e=Xl(e),t=Xl(t),Gc)if("contrast"+a.toLowerCase()===u.toLowerCase())return Gc[u](e,t,o);throw new TypeError("Unknown contrast algorithm: ".concat(a))}}),vf.extend(Xc),vf.extend($c),vf.extend(jd),vf.extend(Gc),xl.default.templateSettings.strip=!1;var Ff=/^#[0-9a-f]{3,8}$/i,Cf=/hsl\(\s*([\d.]+)(rad|turn)/,xf=function(){function e(t,n,r){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;Z(this,e),this.red=t,this.green=n,this.blue=r,this.alpha=a}return ee(e,[{key:"toHexString",value:function(){var e=Math.round(this.red).toString(16),t=Math.round(this.green).toString(16),n=Math.round(this.blue).toString(16);return"#"+(this.red>15.5?e:"0"+e)+(this.green>15.5?t:"0"+t)+(this.blue>15.5?n:"0"+n)}},{key:"toJSON",value:function(){return{red:this.red,green:this.green,blue:this.blue,alpha:this.alpha}}},{key:"parseString",value:function(e){e=e.replace(Cf,(function(e,t,n){var r=t+n;switch(n){case"rad":return e.replace(r,180*t/Math.PI);case"turn":return e.replace(r,360*t)}}));try{var t=new vf(e).to("srgb");this.red=Math.round(255*kf(t.r,0,1)),this.green=Math.round(255*kf(t.g,0,1)),this.blue=Math.round(255*kf(t.b,0,1)),this.alpha=+t.alpha}catch(t){throw new Error('Unable to parse color "'.concat(e,'"'))}return this}},{key:"parseRgbString",value:function(e){this.parseString(e)}},{key:"parseHexString",value:function(e){e.match(Ff)&&![6,8].includes(e.length)&&this.parseString(e)}},{key:"parseColorFnString",value:function(e){this.parseString(e)}},{key:"getRelativeLuminance",value:function(){var e=this.red/255,t=this.green/255,n=this.blue/255;return.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))}}]),e}(),Af=xf;function kf(e,t,n){return Math.min(Math.max(t,e),n)}var Tf=function(e){var t=new Af;if(t.parseString(e.getPropertyValue("background-color")),0!==t.alpha){var n=e.getPropertyValue("opacity");t.alpha=t.alpha*n}return t},Nf=function(e){var t=i.getComputedStyle(e);return hl(e,t)||1===Tf(t).alpha};function Of(e){if(!e.href)return!1;var t=ua.get("firstPageLink",Sf);return!t||e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING}function Sf(){return(i.location.origin?mh(c._tree,'a[href]:not([href^="javascript:"])').find((function(e){return!Qi(e.actualNode)})):mh(c._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0])||null}var Rf=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Bf=/(\w+)\((\d+)/;var _f=function e(t,n,r){var a;if(!t)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var o=t instanceof pr?t:sa(t);t=o?o.actualNode:t;var u="_isVisible"+(n?"ScreenReader":""),s=null!==(a=i.Node)&&void 0!==a?a:{},l=s.DOCUMENT_NODE,d=s.DOCUMENT_FRAGMENT_NODE,f=o?o.props.nodeType:t.nodeType,p=o?o.props.nodeName:t.nodeName.toLowerCase();if(o&&void 0!==o[u])return o[u];if(f===l)return!0;if(["style","script","noscript","template"].includes(p))return!1;if(t&&f===d&&(t=t.host),n&&"true"===(o?o.attr("aria-hidden"):t.getAttribute("aria-hidden")))return!1;if(!t){var h=o.parent,m=!0;return h&&(m=e(h,n,!0)),o&&(o[u]=m),m}var g=i.getComputedStyle(t,null);if(null===g)return!1;if("area"===p)return function(t,n,r){var a=Po(t,"map");if(!a)return!1;var o=a.getAttribute("name");if(!o)return!1;var i=_o(t);if(!i||9!==i.nodeType)return!1;var u=mh(c._tree,'img[usemap="#'.concat(Nr(o),'"]'));return!(!u||!u.length)&&u.some((function(t){return e(t.actualNode,n,r)}))}(t,n,r);if("none"===g.getPropertyValue("display"))return!1;var v=parseInt(g.getPropertyValue("height")),D=parseInt(g.getPropertyValue("width")),b=Ip(t),y=b&&0===v,w=b&&0===D,E="absolute"===g.getPropertyValue("position")&&(v<2||D<2)&&"hidden"===g.getPropertyValue("overflow");if(!n&&(function(e){var t=e.getPropertyValue("clip").match(Rf),n=e.getPropertyValue("clip-path").match(Bf);if(t&&5===t.length){var r=e.getPropertyValue("position");if(["fixed","absolute"].includes(r))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(n){var a=n[1],o=parseInt(n[2],10);switch(a){case"inset":return o>=50;case"circle":return 0===o}}return!1}(g)||"0"===g.getPropertyValue("opacity")||y||w||E))return!1;if(!r&&("hidden"===g.getPropertyValue("visibility")||!n&&si(t)))return!1;var F=t.assignedSlot?t.assignedSlot:t.parentNode,C=!1;return F&&(C=e(F,n,!0)),o&&(o[u]=C),C},Mf=function(e,t){for(var n=["fixed","sticky"],r=[],a=!1,o=0;o<e.length;++o){var u=e[o];u===t&&(a=!0);var s=i.getComputedStyle(u);a||-1===n.indexOf(s.position)?r.push(u):r=[]}return r};function If(e,t){var n=Pf(t);do{var r=Pf(e);if(r===n||r===t)return Lf(e,t);e=r}while(e);return!1}function Pf(e){for(var t=sa(e).parent;t;){if(Ip(t.actualNode))return t.actualNode;t=t.parent}}function Lf(e,t){var n=i.getComputedStyle(t),r=n.getPropertyValue("overflow");if("inline"===n.getPropertyValue("display"))return!0;var a=Array.from(e.getClientRects()),o=t.getBoundingClientRect(),u={left:o.left,top:o.top,width:o.width,height:o.height};return(["scroll","auto"].includes(r)||t instanceof i.HTMLHtmlElement)&&(u.width=t.scrollWidth,u.height=t.scrollHeight),1===a.length&&"hidden"===r&&"nowrap"===n.getPropertyValue("white-space")&&(a[0]=u),a.some((function(e){return!(Math.ceil(e.left)<Math.floor(u.left)||Math.ceil(e.top)<Math.floor(u.top)||Math.floor(e.left+e.width)>Math.ceil(u.left+u.width)||Math.floor(e.top+e.height)>Math.ceil(u.top+u.height))}))}var jf=function e(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(a>999)throw new Error("Infinite loop detected");return Array.from(r.elementsFromPoint(t,n)||[]).filter((function(e){return _o(e)===r})).reduce((function(r,o){if(So(o)){var i=e(t,n,o.shadowRoot,a+1);(r=r.concat(i)).length&&If(r[0],o)&&r.push(o)}else r.push(o);return r}),[])};function $f(e){var t={};if(!e||!e.length)return t;var n=e.substring(1).split("&");if(!n||!n.length)return t;for(var r=0;r<n.length;r++){var a=Y(n[r].split("="),2),o=a[0],i=a[1],u=void 0===i?"":i;t[decodeURIComponent(o)]=decodeURIComponent(u)}return t}function qf(e){if(!e)return"";var t=e.match(/#!?\/?/g);return t?"#"===Y(t,1)[0]?"":e:""}var Vf,zf=function(e,t){if(e.hasAttribute(t)){var n=e.nodeName.toUpperCase(),r=e;["A","AREA"].includes(n)&&!e.ownerSVGElement||((r=s.createElement("a")).href=e.getAttribute(t));var a,o=["https:","ftps:"].includes(r.protocol)?r.protocol.replace(/s:$/,":"):r.protocol,i=function(e){var t=e.split("/").pop();return t&&-1!==t.indexOf(".")?{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}:{pathname:e,filename:""}}(/^\//.test(r.pathname)?r.pathname:"/".concat(r.pathname)),u=i.pathname,l=i.filename;return{protocol:o,hostname:r.hostname,port:(a=r.port,["443","80"].includes(a)?"":a),pathname:/\/$/.test(u)?u:"".concat(u,"/"),search:$f(r.search),hash:qf(r.hash),filename:l}}},Uf=function(e,t){var n=t.getBoundingClientRect(),r=n.top,a=n.left,o=r-t.scrollTop,u=r-t.scrollTop+t.scrollHeight,s=a-t.scrollLeft,l=a-t.scrollLeft+t.scrollWidth;if(e.left>l&&e.left>n.right||e.top>u&&e.top>n.bottom||e.right<s&&e.right<n.left||e.bottom<o&&e.bottom<n.top)return!1;var c=i.getComputedStyle(t);return!(e.left>n.right||e.top>n.bottom)||"scroll"===c.overflow||"auto"===c.overflow||t instanceof i.HTMLBodyElement||t instanceof i.HTMLHtmlElement},Hf=0,Wf=function(e){R(n,e);var t=_(n);function n(e,r,a){var o;if(Z(this,n),(o=t.call(this)).shadowId=a,o.children=[],o.actualNode=e,o.parent=r,r||(Hf=0),o.nodeIndex=Hf++,o._isHidden=null,o._cache={},o._isXHTML=Lr(e.ownerDocument),"input"===e.nodeName.toLowerCase()){var i=e.getAttribute("type");i=o._isXHTML?i:(i||"").toLowerCase(),kh().includes(i)||(i="text"),o._type=i}return ua.get("nodeMap")&&ua.get("nodeMap").set(e,M(o)),o}return ee(n,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var e=this.actualNode,t=e.nodeType,n=e.nodeName,r=e.id,a=e.nodeValue;this._cache.props={nodeType:t,nodeName:this._isXHTML?n:n.toLowerCase(),id:r,type:this._type,nodeValue:a},1===t&&(this._cache.props.multiple=this.actualNode.multiple,this._cache.props.value=this.actualNode.value,this._cache.props.selected=this.actualNode.selected,this._cache.props.checked=this.actualNode.checked,this._cache.props.indeterminate=this.actualNode.indeterminate)}return this._cache.props}},{key:"attr",value:function(e){return"function"!=typeof this.actualNode.getAttribute?null:this.actualNode.getAttribute(e)}},{key:"hasAttr",value:function(e){return"function"==typeof this.actualNode.hasAttribute&&this.actualNode.hasAttribute(e)}},{key:"attrNames",get:function(){var e;return this._cache.hasOwnProperty("attrNames")||(e=this.actualNode.attributes instanceof i.NamedNodeMap?this.actualNode.attributes:this.actualNode.cloneNode(!1).attributes,this._cache.attrNames=Array.from(e).map((function(e){return e.name}))),this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(e){var t="computedStyle_"+e;return this._cache.hasOwnProperty(t)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=i.getComputedStyle(this.actualNode)),this._cache[t]=this._cache.computedStyle.getPropertyValue(e)),this._cache[t]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=ou(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=ru(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter((function(e){return e.width>0}))),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}]),n}(pr),Kf=Wf,Gf=function(e){return(e||"").trim().replace(/\s{2,}/g," ").split(" ")},Yf=" [idsMap]";function Qf(e,t,n){var r=e[0]._selectorMap;if(r){for(var a=e[0].shadowId,o=0;o<t.length;o++)if(t[o].length>1&&t[o].some((function(e){return Xf(e)})))return;var i=new Set;t.forEach((function(e){var t,n=function(e,t,n){var r=e[e.length-1],a=null,o=e.length>1||!!r.pseudos||!!r.classes;if(Xf(r))a=t["*"];else{if(r.id){var i;if(!t[Yf]||!Object.hasOwn(t[Yf],r.id)||null===(i=t[Yf][r.id])||void 0===i||!i.length)return;a=t[Yf][r.id].filter((function(e){return e.shadowId===n}))}if(r.tag&&"*"!==r.tag){var u;if(null===(u=t[r.tag])||void 0===u||!u.length)return;var s=t[r.tag];a=a?Zf(s,a):s}if(r.classes){var l;if(null===(l=t["[class]"])||void 0===l||!l.length)return;var c=t["[class]"];a=a?Zf(c,a):c}if(r.attributes)for(var d=0;d<r.attributes.length;d++){var f,p=r.attributes[d];if("attrValue"===p.type&&(o=!0),null===(f=t["[".concat(p.key,"]")])||void 0===f||!f.length)return;var h=t["[".concat(p.key,"]")];a=a?Zf(h,a):h}}return{nodes:a,isComplexSelector:o}}(e,r,a);null==n||null===(t=n.nodes)||void 0===t||t.forEach((function(t){n.isComplexSelector&&!Ta(t,e)||i.add(t)}))}));var u=[];return i.forEach((function(e){return u.push(e)})),n&&(u=u.filter(n)),u.sort((function(e,t){return e.nodeIndex-t.nodeIndex}))}}function Xf(e){return"*"===e.tag&&!e.attributes&&!e.id&&!e.classes}function Zf(e,t){return e.filter((function(e){return t.includes(e)}))}function Jf(e,t,n){Object.hasOwn(n,e)||(n[e]=[]),n[e].push(t)}function ep(e,t){1===e.props.nodeType&&(Jf(e.props.nodeName,e,t),Jf("*",e,t),e.attrNames.forEach((function(n){"id"===n&&(t[Yf]=t[Yf]||{},Gf(e.attr(n)).forEach((function(n){Jf(n,e,t[Yf])}))),Jf("[".concat(n,"]"),e,t)})))}function tp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.documentElement,t=arguments.length>1?arguments[1]:void 0;Vf=!1;var n={};ua.set("nodeMap",new WeakMap),ua.set("selectorMap",n);var r=rp(e,t,null);return r[0]._selectorMap=n,r[0]._hasShadowRoot=Vf,r}function np(e,t,n){var r=new Kf(e,t,n);return ep(r,ua.get("selectorMap")),r}function rp(e,t,n){var r,a,o;function u(e,n,r){var a=rp(n,t,r);return a&&(e=e.concat(a)),e}return e.documentElement&&(e=e.documentElement),o=e.nodeName.toLowerCase(),So(e)?(Vf=!0,r=np(e,n,t),t="a"+Math.random().toString().substring(2),a=Array.from(e.shadowRoot.childNodes),r.children=a.reduce((function(e,t){return u(e,t,r)}),[]),[r]):"content"===o&&"function"==typeof e.getDistributedNodes?(a=Array.from(e.getDistributedNodes())).reduce((function(e,t){return u(e,t,n)}),[]):"slot"===o&&"function"==typeof e.assignedNodes?((a=Array.from(e.assignedNodes())).length||(a=function(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}(e)),i.getComputedStyle(e),a.reduce((function(e,t){return u(e,t,n)}),[])):1===e.nodeType?(r=np(e,n,t),a=Array.from(e.childNodes),r.children=a.reduce((function(e,t){return u(e,t,r)}),[]),[r]):3===e.nodeType?[np(e,n)]:void 0}var ap=function(e){return e?e.trim().split("-")[0].toLowerCase():""},op=function(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map((function(e){if(t[e].length){var n=c._audit.data.failureSummaries[e];return n&&"function"==typeof n.failureMessage?n.failureMessage(t[e].map((function(e){return e.message||""}))):void 0}})).filter((function(e){return void 0!==e})).join("\n\n")};function ip(){var e=c._audit.data.incompleteFallbackMessage;return"function"==typeof e&&(e=e()),"string"!=typeof e?"":e}var up=cr.resultGroups;function sp(e,t){var n=c.utils.aggregateResult(e);return up.forEach((function(e){t.resultTypes&&!t.resultTypes.includes(e)&&(n[e]||[]).forEach((function(e){Array.isArray(e.nodes)&&e.nodes.length>0&&(e.nodes=[e.nodes[0]])})),n[e]=(n[e]||[]).map((function(e){return e=Object.assign({},e),Array.isArray(e.nodes)&&e.nodes.length>0&&(e.nodes=e.nodes.map((function(e){if("object"===l(e.node)){var n=lp(e.node,t);Object.assign(e,n)}return delete e.result,delete e.node,function(e,t){["any","all","none"].forEach((function(n){Array.isArray(e[n])&&e[n].filter((function(e){return Array.isArray(e.relatedNodes)})).forEach((function(e){e.relatedNodes=e.relatedNodes.map((function(e){return lp(e,t)}))}))}))}(e,t),e}))),up.forEach((function(t){return delete e[t]})),delete e.pageLevel,delete e.result,e}))})),n}function lp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=wo.dqElmToSpec(e,t);var n,r,a,o,i,u={};return c._audit.noHtml?u.html=null:u.html=null!==(n=e.source)&&void 0!==n?n:"Undefined",t.elementRef&&!e.fromFrame&&(u.element=null!==(r=e.element)&&void 0!==r?r:null),(!1!==t.selectors||e.fromFrame)&&(u.target=null!==(a=e.selector)&&void 0!==a?a:[":root"]),t.ancestry&&(u.ancestry=null!==(o=e.ancestry)&&void 0!==o?o:[":root"]),t.xpath&&(u.xpath=null!==(i=e.xpath)&&void 0!==i?i:["/"]),u}var cp=/\$\{\s?data\s?\}/g;function dp(e,t){if("string"==typeof t)return e.replace(cp,t);for(var n in t)if(t.hasOwnProperty(n)){var r=new RegExp("\\${\\s?data\\."+n+"\\s?}","g"),a=void 0===t[n]?"":String(t[n]);e=e.replace(r,a)}return e}var fp=function e(t,n){if(t){if(Array.isArray(n))return n.values=n.join(", "),"string"==typeof t.singular&&"string"==typeof t.plural?dp(1===n.length?t.singular:t.plural,n):dp(t,n);if("string"==typeof t)return dp(t,n);if("string"==typeof n)return dp(t[n],n);var r=t.default||ip();return n&&n.messageKey&&t[n.messageKey]&&(r=t[n.messageKey]),e(r,n)}},pp=function(e,t,n){var r=c._audit.data.checks[e];if(!r)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!r.messages[t])throw new Error('Check "'.concat(e,'"" does not have a "').concat(t,'" message.'));return fp(r.messages[t],n)},hp=function(e,t,n){var r=((n.rules&&n.rules[t]||{}).checks||{})[e.id],a=(n.checks||{})[e.id],o=e.enabled,i=e.options;return a&&(a.hasOwnProperty("enabled")&&(o=a.enabled),a.hasOwnProperty("options")&&(i=a.options)),r&&(r.hasOwnProperty("enabled")&&(o=r.enabled),r.hasOwnProperty("options")&&(i=r.options)),{enabled:o,options:i,absolutePaths:n.absolutePaths}};function mp(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t&&"object"===l(t)?t:"object"!==l(n)?{}:{testEngine:{name:"axe-core",version:c.version},testRunner:{name:c._audit.brand},testEnvironment:gp(n),timestamp:(new Date).toISOString(),url:null===(e=n.location)||void 0===e?void 0:e.href}}function gp(e){if(!e.navigator||"object"!==l(e.navigator))return{};var t,n=e.navigator,r=e.innerHeight,a=e.innerWidth,o=(t=e.screen).orientation||t.msOrientation||t.mozOrientation||{},i=o.angle,u=o.type;return{userAgent:n.userAgent,windowWidth:a,windowHeight:r,orientationAngle:i,orientationType:u}}function vp(e,t){var n=t.focusable,r=t.page;return{node:e,include:[],exclude:[],initiator:!1,focusable:n&&Dp(e),size:bp(e),page:r}}function Dp(e){var t=e.getAttribute("tabindex");if(!t)return!0;var n=parseInt(t,10);return isNaN(n)||n>=0}function bp(e){var t=parseInt(e.getAttribute("width"),10),n=parseInt(e.getAttribute("height"),10);if(isNaN(t)||isNaN(n)){var r=e.getBoundingClientRect();t=isNaN(t)?r.width:t,n=isNaN(n)?r.height:n}return{width:t,height:n}}function yp(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=[];kp(t)||(t=[t]);for(var r=0;r<t.length;r++){var a=(e=t[r])instanceof i.Node?e:"string"==typeof e?[e]:(Fp(e)?(function(e){Tp(Array.isArray(e.fromFrames),"fromFrames property must be an array"),Tp(e.fromFrames.every((function(e){return!Np(e,"fromFrames")})),"Invalid context; fromFrames selector must be appended, rather than nested"),Tp(!Np(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object")}(e),e=e.fromFrames):Cp(e)&&(e=[e]),function(e){if(Array.isArray(e)){var t,n=[],r=ne(e);try{for(r.s();!(t=r.n()).done;){var a=t.value;if(Cp(a)&&(xp(a),a=a.fromShadowDom),"string"!=typeof a&&!Ap(a))return;n.push(a)}}catch(e){r.e(e)}finally{r.f()}return n}}(e));a&&n.push(a)}return n}function wp(e){return["include","exclude"].some((function(t){return Np(e,t)&&Ep(e[t])}))}function Ep(e){return"string"==typeof e||e instanceof i.Node||Fp(e)||Cp(e)||kp(e)}function Fp(e){return Np(e,"fromFrames")}function Cp(e){return Np(e,"fromShadowDom")}function xp(e){Tp(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),Tp(e.fromShadowDom.every((function(e){return!Np(e,"fromFrames")})),"shadow selector must be inside fromFrame instead"),Tp(e.fromShadowDom.every((function(e){return!Np(e,"fromShadowDom")})),"fromShadowDom selector must be appended, rather than nested")}function Ap(e){return Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}function kp(e){return e&&"object"===l(e)&&"number"==typeof e.length&&e instanceof i.Node==0}function Tp(e,t){kr(e,"Invalid context; ".concat(t,"\nSee: https://github.com/dequelabs/axe-core/blob/master/doc/context.md"))}function Np(e,t){return!(!e||"object"!==l(e))&&Object.prototype.hasOwnProperty.call(e,t)}function Op(e,t){for(var n=[],r=0,a=e[t].length;r<a;r++){var o=e[t][r];if(o instanceof i.Node)o.documentElement instanceof i.Node?n.push(e.flatTree[0]):n.push(sa(o));else if(o&&o.length)if(o.length>1)Sp(e,t,o);else{var u=xh(o[0]);n.push.apply(n,W(u.map((function(e){return sa(e)}))))}}return n.filter((function(e){return e}))}function Sp(e,t,n){e.frames=e.frames||[],xh(n.shift()).forEach((function(r){var a=e.frames.find((function(e){return e.node===r}));a||(a=vp(r,e),e.frames.push(a)),a[t].push(n)}))}function Rp(e,t){var n,r,a,o,u,c=this;e=pa(e),this.frames=[],this.page="boolean"==typeof(null===(n=e)||void 0===n?void 0:n.page)?e.page:void 0,this.initiator="boolean"!=typeof(null===(r=e)||void 0===r?void 0:r.initiator)||e.initiator,this.focusable="boolean"!=typeof(null===(a=e)||void 0===a?void 0:a.focusable)||e.focusable,this.size="object"===l(null===(o=e)||void 0===o?void 0:o.size)?e.size:{},e=function(e){if(wp(e)){var t=" must be used inside include or exclude. It should not be on the same object.";Tp(!Np(e,"fromFrames"),"fromFrames"+t),Tp(!Np(e,"fromShadowDom"),"fromShadowDom"+t)}else{if(!Ep(e))return{include:[s],exclude:[]};e={include:e,exclude:[]}}var n=yp(e.include);return 0===n.length&&n.push(s),{include:n,exclude:yp(e.exclude)}}(e),this.flatTree=null!=t?t:tp(function(e){for(var t=e.include,n=e.exclude,r=Array.from(t).concat(Array.from(n)),a=0;a<r.length;a++){var o=r[a];if(o instanceof i.Element)return o.ownerDocument.documentElement;if(o instanceof i.Document)return o.documentElement}return s.documentElement}(e)),this.exclude=e.exclude,this.include=e.include,this.include=Op(this,"include"),this.exclude=Op(this,"exclude"),yh("frame, iframe",this).forEach((function(e){Hp(e,c)&&function(e,t){os(t)&&!Fo(e.frames,"node",t)&&e.frames.push(vp(t,e))}(c,e.actualNode)})),void 0===this.page&&(this.page=1===(u=this.include).length&&u[0].actualNode===s.documentElement,this.frames.forEach((function(e){e.page=c.page}))),function(e){if(0===e.include.length&&0===e.frames.length){var t=ho.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Gp)}function Bp(e){return!1===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).iframes?[]:new Rp(e).frames.map((function(e){var t=e.node,n=H(e,x);return n.initiator=!1,{frameSelector:na(t),frameContext:n}}))}function _p(e){var t=c._audit.rules.find((function(t){return t.id===e}));if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function Mp(e,t){var n=e.getPropertyValue(t);return["scroll","auto"].includes(n)}var Ip=Pr((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=e.scrollWidth>e.clientWidth+t,r=e.scrollHeight>e.clientHeight+t;if(n||r){var a=i.getComputedStyle(e),o=Mp(a,"overflow-x"),u=Mp(a,"overflow-y");return n&&o||r&&u?{elm:e,top:e.scrollTop,left:e.scrollLeft}:void 0}}));function Pp(e){return Array.from(e.children||e.childNodes||[]).reduce((function(e,t){var n=Ip(t);return n&&e.push(n),e.concat(Pp(t))}),[])}var Lp=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=e.document.documentElement;return[void 0!==e.pageXOffset?{elm:e,top:e.pageYOffset,left:e.pageXOffset}:{elm:t,top:t.scrollTop,left:t.scrollLeft}].concat(Pp(s.body))};function jp(){return pa(Du)}var $p,qp=function(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var n=t.data,r=t.isCrossOrigin,a=void 0!==r&&r,o=t.shadowId,i=t.root,u=t.priority,s=t.isLink,l=void 0!==s&&s,c=e.createElement("style");if(l){var d=e.createTextNode('@import "'.concat(n.href,'"'));c.appendChild(d)}else c.appendChild(e.createTextNode(n));return e.head.appendChild(c),{sheet:c.sheet,isCrossOrigin:a,shadowId:o,root:i,priority:u}}},Vp=function(e){if($p&&$p.parentNode)return void 0===$p.styleSheet?$p.appendChild(s.createTextNode(e)):$p.styleSheet.cssText+=e,$p;if(e){var t=s.head||s.getElementsByTagName("head")[0];return($p=s.createElement("style")).type="text/css",void 0===$p.styleSheet?$p.appendChild(s.createTextNode(e)):$p.styleSheet.cssText=e,t.appendChild($p),$p}},zp=function e(t,n){var r=sa(t);if(9===t.nodeType)return!1;if(11===t.nodeType&&(t=t.host),r&&null!==r._isHidden)return r._isHidden;var a=i.getComputedStyle(t,null);if(!a||!t.parentNode||"none"===a.getPropertyValue("display")||!n&&"hidden"===a.getPropertyValue("visibility")||"true"===t.getAttribute("aria-hidden"))return!0;var o=e(t.assignedSlot?t.assignedSlot:t.parentNode,!0);return r&&(r._isHidden=o),o},Up=function(e){var t,n,r=null!==(t=null===(n=e.props)||void 0===n?void 0:n.nodeName)&&void 0!==t?t:e.nodeName.toLowerCase();return"http://www.w3.org/2000/svg"!==e.namespaceURI&&!!Du.htmlElms[r]};function Hp(e,t){var n=t.include,r=void 0===n?[]:n,a=t.exclude,o=void 0===a?[]:a,i=r.filter((function(t){return ko(t,e)}));if(0===i.length)return!1;var u=o.filter((function(t){return ko(t,e)}));if(0===u.length)return!0;var s=Wp(i);return ko(Wp(u),s)}function Wp(e){var t,n,r=ne(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;t&&ko(a,t)||(t=a)}}catch(e){r.e(e)}finally{r.f()}return t}function Kp(e,t){return e.length===t.length&&e.every((function(e,n){var r=t[n];return Array.isArray(e)?e.length===r.length&&e.every((function(e,t){return r[t]===e})):e===r}))}var Gp=function(e,t){return(e=e.actualNode||e)===(t=t.actualNode||t)?0:4&e.compareDocumentPosition(t)?-1:1};function Yp(e){return e instanceof pr?{vNode:e,domNode:e.actualNode}:{vNode:sa(e),domNode:e}}var Qp=function(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=Array.from(e.cssRules);if(!o)return Promise.resolve();var i=o.filter((function(e){return 3===e.type}));if(!i.length)return Promise.resolve({isCrossOrigin:a,priority:n,root:t.rootNode,shadowId:t.shadowId,sheet:e});var u=i.filter((function(e){return e.href})).map((function(e){return e.href})).filter((function(e){return!r.includes(e)})).map((function(e,a){var o=[].concat(W(n),[a]),i=/^https?:\/\/|^\/\//i.test(e);return Zp(e,t,o,r,i)})),s=o.filter((function(e){return 3!==e.type}));return s.length?(u.push(Promise.resolve(t.convertDataToStylesheet({data:s.map((function(e){return e.cssText})).join(),isCrossOrigin:a,priority:n,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(u)):Promise.all(u)},Xp=function(e,t,n,r){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(e){try{return!(!e.cssRules&&e.href)}catch(e){return!1}}(e)?Qp(e,t,n,r,a):Zp(e.href,t,n,r,!0)},Zp=function(e,t,n,r,a){return r.push(e),new Promise((function(t,n){var r=new i.XMLHttpRequest;r.open("GET",e),r.timeout=cr.preload.timeout,r.addEventListener("error",n),r.addEventListener("timeout",n),r.addEventListener("loadend",(function(e){if(e.loaded&&r.responseText)return t(r.responseText);n(r.responseText)})),r.send()})).then((function(e){var o=t.convertDataToStylesheet({data:e,isCrossOrigin:a,priority:n,root:t.rootNode,shadowId:t.shadowId});return Xp(o.sheet,t,n,r,o.isCrossOrigin)}))},Jp=function(){function e(){if(i.performance&&i.performance)return i.performance.now()}var t=null,n=e();return{start:function(){this.mark("mark_axe_start")},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end"),this.logMeasures("axe")},auditStart:function(){this.mark("mark_audit_start")},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end"),this.logMeasures()},mark:function(e){i.performance&&void 0!==i.performance.mark&&i.performance.mark(e)},measure:function(e,t,n){i.performance&&void 0!==i.performance.measure&&i.performance.measure(e,t,n)},logMeasures:function(e){function t(e){dr("Measure "+e.name+" took "+e.duration+"ms")}if(i.performance&&void 0!==i.performance.getEntriesByType)for(var n=i.performance.getEntriesByName("mark_axe_start")[0],r=i.performance.getEntriesByType("measure").filter((function(e){return e.startTime>=n.startTime})),a=0;a<r.length;++a){var o=r[a];if(o.name===e)return void t(o);t(o)}},timeElapsed:function(){return e()-n},reset:function(){t||(t=e()),n=e()}}}(),eh=Jp;function th(){if(s.elementsFromPoint)return s.elementsFromPoint;if(s.msElementsFromPoint)return s.msElementsFromPoint;var e,t=((e=s.createElement("x")).style.cssText="pointer-events:auto","auto"===e.style.pointerEvents),n=t?"pointer-events":"visibility",r=t?"none":"hidden",a=s.createElement("style");return a.innerHTML=t?"* { pointer-events: all }":"* { visibility: visible }",function(e,t){var o,i,u,l=[],c=[];for(s.head.appendChild(a);(o=s.elementFromPoint(e,t))&&-1===l.indexOf(o);)l.push(o),c.push({value:o.style.getPropertyValue(n),priority:o.style.getPropertyPriority(n)}),o.style.setProperty(n,r,"important");for(l.indexOf(s.documentElement)<l.length-1&&(l.splice(l.indexOf(s.documentElement),1),l.push(s.documentElement)),i=c.length;u=c[--i];)l[i].style.setProperty(n,u.value?u.value:"",u.priority);return s.head.removeChild(a),l}}"function"==typeof i.addEventListener&&(s.elementsFromPoint=th());var nh=function(e,t){return e.concat(t).filter((function(e,t,n){return n.indexOf(e)===t}))};function rh(e,t,n,r,a){var o=a||{};return o.vNodes=e,o.vNodesIndex=0,o.anyLevel=t,o.thisLevel=n,o.parentShadowId=r,o}var ah=function(e,t,n){e=Array.isArray(e)?e:[e];var r=Aa(t);return Qf(e,r,n)||function(e,t,n){for(var r=ua.get("qsa.recycledLocalVariables",(function(){return[]})),a=[],o=rh(Array.isArray(e)?e:[e],t,null,e[0].shadowId,r.pop()),i=[];o.vNodesIndex<o.vNodes.length;){for(var u,s,l=o.vNodes[o.vNodesIndex++],c=null,d=null,f=((null===(u=o.anyLevel)||void 0===u?void 0:u.length)||0)+((null===(s=o.thisLevel)||void 0===s?void 0:s.length)||0),p=!1,h=0;h<f;h++){var m,g,v,D=h<((null===(m=o.anyLevel)||void 0===m?void 0:m.length)||0)?o.anyLevel[h]:o.thisLevel[h-((null===(g=o.anyLevel)||void 0===g?void 0:g.length)||0)];if((!D[0].id||l.shadowId===o.parentShadowId)&&Ta(l,D[0]))if(1===D.length)p||n&&!n(l)||(i.push(l),p=!0);else{var b=D.slice(1);if(!1===[" ",">"].includes(b[0].combinator))throw new Error("axe.utils.querySelectorAll does not support the combinator: "+D[1].combinator);">"===b[0].combinator?(c=c||[]).push(b):(d=d||[]).push(b)}D[0].id&&l.shadowId!==o.parentShadowId||null===(v=o.anyLevel)||void 0===v||!v.includes(D)||(d=d||[]).push(D)}for(l.children&&l.children.length&&(a.push(o),o=rh(l.children,d,c,l.shadowId,r.pop()));o.vNodesIndex===o.vNodes.length&&a.length;)r.push(o),o=a.pop()}return i}(e,r,n)},oh=function(e){var t=e.treeRoot,n=function(e){var t=[],n=ah(e,"*",(function(e){return!t.includes(e.shadowId)&&(t.push(e.shadowId),!0)})).map((function(e){return{shadowId:e.shadowId,rootNode:Bo(e.actualNode)}}));return nh(n,[])}(void 0===t?c._tree[0]:t);if(!n.length)return Promise.resolve();var r=s.implementation.createHTMLDocument("Dynamic document for loading cssom");return function(e,t){var n=[];return e.forEach((function(e,r){var a=e.rootNode,o=e.shadowId,i=function(e,t,n){var r;return r=11===e.nodeType&&t?function(e,t){return Array.from(e.children).filter(uh).reduce((function(n,r){var a=r.nodeName.toUpperCase(),o="STYLE"===a?r.textContent:r,i=t({data:o,isLink:"LINK"===a,root:e});return i.sheet&&n.push(i.sheet),n}),[])}(e,n):function(e){return Array.from(e.styleSheets).filter((function(e){return!!e.media&&sh(e.media.mediaText)}))}(e),function(e){var t=[];return e.filter((function(e){return!e.href||!t.includes(e.href)&&(t.push(e.href),!0)}))}(r)}(a,o,t);if(!i)return Promise.all(n);var u=r+1,s={rootNode:a,shadowId:o,convertDataToStylesheet:t,rootIndex:u},l=[],c=Promise.all(i.map((function(e,t){return Xp(e,s,[u,t],l)})));n.push(c)})),Promise.all(n)}(n,qp(r)).then((function(e){return ih(e)}))};function ih(e){return e.reduce((function(e,t){return Array.isArray(t)?e.concat(ih(t)):e.concat(t)}),[])}function uh(e){var t=e.nodeName.toUpperCase(),n=e.getAttribute("href"),r=e.getAttribute("rel"),a="LINK"===t&&n&&r&&e.rel.toUpperCase().includes("STYLESHEET");return"STYLE"===t||a&&sh(e.media)}function sh(e){return!e||!e.toUpperCase().includes("PRINT")}var lh=function(e){var t=e.treeRoot,n=void 0===t?c._tree[0]:t,r=ah(n,"video, audio",(function(e){var t=e.actualNode;return t.hasAttribute("src")?!!t.getAttribute("src"):!(Array.from(t.getElementsByTagName("source")).filter((function(e){return!!e.getAttribute("src")})).length<=0)}));return Promise.all(r.map((function(e){var t,n=e.actualNode;return t=n,new Promise((function(e){t.readyState>0&&e(t),t.addEventListener("loadedmetadata",(function n(){t.removeEventListener("loadedmetadata",n),e(t)}))}))})))};function ch(e){var t={cssom:oh,media:lh};return dh(e)?new Promise((function(n,r){var a=fh(e),o=a.assets,i=a.timeout,u=setTimeout((function(){return r(new Error("Preload assets timed out."))}),i);Promise.all(o.map((function(n){return t[n](e).then((function(e){return function(e,t,n){return(t=te(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},n,e)}))}))).then((function(e){var t=e.reduce((function(e,t){return G({},e,t)}),{});clearTimeout(u),n(t)})).catch((function(e){clearTimeout(u),r(e)}))})):Promise.resolve()}function dh(e){return!e||void 0===e.preload||null===e.preload||("boolean"==typeof e.preload?e.preload:(t=e.preload,"object"===l(t)&&Array.isArray(t.assets)));var t}function fh(e){var t=cr.preload,n=t.assets,r=t.timeout,a={assets:n,timeout:r};if(!e.preload)return a;if("boolean"==typeof e.preload)return a;if(!e.preload.assets.every((function(e){return n.includes(e.toLowerCase())})))throw new Error("Requested assets, not supported. Supported assets are: ".concat(n.join(", "),"."));return a.assets=nh(e.preload.assets.map((function(e){return e.toLowerCase()})),[]),e.preload.timeout&&"number"==typeof e.preload.timeout&&!isNaN(e.preload.timeout)&&(a.timeout=e.preload.timeout),a}function ph(e){var t=c._audit.data.checks||{},n=c._audit.data.rules||{},r=Fo(c._audit.rules,"id",e.id)||{};e.tags=pa(r.tags||[]);var a=hh(t,!0,r),o=hh(t,!1,r);e.nodes.forEach((function(e){e.any.forEach(a),e.all.forEach(a),e.none.forEach(o)})),No(e,pa(n[e.id]||{}))}function hh(e,t,n){return function(r){var a=e[r.id]||{},o=a.messages||{},i=Object.assign({},a);delete i.messages,n.reviewOnFail||void 0!==r.result?i.message=r.result===t?o.pass:o.fail:("object"!==l(o.incomplete)||Array.isArray(r.data)||(i.message=function(e,t){function n(e){return e.incomplete&&e.incomplete.default?e.incomplete.default:ip()}if(!e||!e.missingData)return e&&e.messageKey?t.incomplete[e.messageKey]:n(t);try{var r=t.incomplete[e.missingData[0].reason];if(!r)throw new Error;return r}catch(r){return"string"==typeof e.missingData?t.incomplete[e.missingData]:n(t)}}(r.data,o)),i.message||(i.message=o.incomplete)),"function"!=typeof i.message&&(i.message=fp(i.message,r.data)),No(r,i)}}var mh=function(e,t){return ah(e,t)};function gh(e,t){var n,r,a=c._audit&&c._audit.tagExclude?c._audit.tagExclude:[];return t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(n=t.include||[],n=Array.isArray(n)?n:[n],r=t.exclude||[],r=(r=Array.isArray(r)?r:[r]).concat(a.filter((function(e){return-1===n.indexOf(e)})))):(n=Array.isArray(t)?t:[t],r=a.filter((function(e){return-1===n.indexOf(e)}))),!!(n.some((function(t){return-1!==e.tags.indexOf(t)}))||0===n.length&&!1!==e.enabled)&&r.every((function(t){return-1===e.tags.indexOf(t)}))}var vh=function(e,t,n){var r=n.runOnly||{},a=(n.rules||{})[e.id];return!(e.pageLevel&&!t.page)&&("rule"===r.type?-1!==r.values.indexOf(e.id):a&&"boolean"==typeof a.enabled?a.enabled:"tag"===r.type&&r.values?gh(e,r.values):gh(e,[]))};function Dh(e,t){if(!t)return e;var n=e.cloneNode(!1),r=_r(n);if(1===n.nodeType){var a=n.outerHTML;n=ua.get(a,(function(){return bh(n,r,e,t)}))}else n=bh(n,r,e,t);return Array.from(e.childNodes).forEach((function(e){n.appendChild(Dh(e,t))})),n}function bh(e,t,n,r){return t?(e=s.createElement(e.nodeName),Array.from(t).forEach((function(t){(function(e,t,n){return void 0!==n[t]&&(!0===n[t]||Mr(e,n[t]))})(n,t.name,r)||e.setAttribute(t.name,t.value)})),e):e}function yh(e,t){var n,r=[];if(c._selectCache)for(var a=0,o=c._selectCache.length;a<o;a++){var i=c._selectCache[a];if(i.selector===e)return i.result}for(var u=t.include.reduce((function(e,t){return e.length&&ko(e[e.length-1],t)||e.push(t),e}),[]),s=function(e){return e.exclude&&0!==e.exclude.length?function(t){return Hp(t,e)}:null}(t),l=0;l<u.length;l++)n=u[l],r=wh(r,ah(n,e,s));return c._selectCache&&c._selectCache.push({selector:e,result:r}),r}function wh(e,t){if(0===e.length)return t;if(e.length<t.length){var n=e;e=t,t=n}for(var r=0,a=t.length;r<a;r++)e.includes(t[r])||e.push(t[r]);return e}var Eh=function(e){e.forEach((function(e){return function(e,t,n){if(e===i)return e.scroll(n,t);e.scrollTop=t,e.scrollLeft=n}(e.elm,e.top,e.left)}))};function Fh(e){return Ch(Array.isArray(e)?W(e):[e],s)}function Ch(e,t){var n=e.shift(),r=n?t.querySelector(n):null;return 0===e.length?r:null!=r&&r.shadowRoot?Ch(e,r.shadowRoot):null}function xh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,n=Array.isArray(e)?W(e):[e];return 0===e.length?[]:Ah(n,t)}function Ah(e,t){var n,r=X(n=e)||K(n)||re(n)||Q(),a=r[0],o=r.slice(1),i=t.querySelectorAll(a);if(0===o.length)return Array.from(i);var u,s=[],l=ne(i);try{for(l.s();!(u=l.n()).done;){var c=u.value;null!=c&&c.shadowRoot&&s.push.apply(s,W(Ah(o,c.shadowRoot)))}}catch(e){l.e(e)}finally{l.f()}return s}var kh=function(){return["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]},Th=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],,[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,,1,,1,1,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,,,1,,1,,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,,,1,1,,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],,[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,,,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],,[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,,,,,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,,,1,,,,,1],[,,1,,,,,,,1,,,1,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],,[,1,,,,,,,,1,1,1,1,1,,1,1,,,,1,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,,1,,1,1,1,,,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,,,1],[,1,,,,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,,,,,1,,,,,1,,,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,1,1,,1,1,,1,1,1,,,1,1],[1,1,,,,,,,1,,,,,1,1,,,,,,,,,,,1],,[,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,,1,,,,,1,,,1,,,,1,,1],[,1,,,,,,,,,1]]];function Nh(e){e=Array.isArray(e)?e:Th;var t=[];return e.forEach((function(e,n){var r=String.fromCharCode(n+96).replace("`","");Array.isArray(e)?t=t.concat(Nh(e).map((function(e){return r+e}))):t.push(r)})),t}var Oh=function(e){for(var t=Th;e.length<3;)e+="`";for(var n=0;n<=e.length-1;n++)if(!(t=t[e.charCodeAt(n)-96]))return!1;return!0},Sh=function(e){R(n,e);var t=_(n);function n(e){var r,a,o,i;return Z(this,n),(r=t.call(this))._props=function(e){var t,n,r,a=null!==(t=e.nodeName)&&void 0!==t?t:Bh[e.nodeType],o=null!==(n=null!==(r=e.nodeType)&&void 0!==r?r:Rh[e.nodeName])&&void 0!==n?n:1;kr("number"==typeof o,"nodeType has to be a number, got '".concat(o,"'")),kr("string"==typeof a,"nodeName has to be a string, got '".concat(a,"'"));var i=null;"input"===(a=a.toLowerCase())&&(i=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),kh().includes(i)||(i="text"));var u=G({},e,{nodeType:o,nodeName:a});return i&&(u.type=i),delete u.attributes,Object.freeze(u)}(e),r._attrs=(a=e.attributes,o=void 0===a?{}:a,i={htmlFor:"for",className:"class"},Object.keys(o).reduce((function(e,t){var n=o[t];return kr("object"!==l(n)||null===n,"expects attributes not to be an object, '".concat(t,"' was")),void 0!==n&&(e[i[t]||t]=null!==n?String(n):null),e}),{})),r}return ee(n,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(e){var t;return null!==(t=this._attrs[e])&&void 0!==t?t:null}},{key:"hasAttr",value:function(e){return void 0!==this._attrs[e]}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}]),n}(pr),Rh={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},Bh={};Object.keys(Rh).forEach((function(e){Bh[Rh[e]]=e}));var _h,Mh=Sh,Ih=function(e,t){if(e=e||function(){},t=t||c.log,!c._audit)throw new Error("No audit configured");var n=c.utils.queue(),r=[];Object.keys(c.plugins).forEach((function(e){n.defer((function(t){var n=function(e){r.push(e),t()};try{c.plugins[e].cleanup(t,n)}catch(e){n(e)}}))}));var a=c.utils.getFlattenedTree(s.body);c.utils.querySelectorAll(a,"iframe, frame").forEach((function(e){n.defer((function(t,n){return c.utils.sendCommandToFrame(e.actualNode,{command:"cleanup-plugin"},t,n)}))})),n.then((function(n){0===r.length?e(n):t(r)})).catch(t)},Ph={};function Lh(e){return Ph.hasOwnProperty(e)}function jh(e){return"string"==typeof e&&Ph[e]?Ph[e]:"function"==typeof e?e:_h}var $h={};ie($h,{allowedAttr:function(){return qh},arialabelText:function(){return pu},arialabelledbyText:function(){return fu},getAccessibleRefs:function(){return Uh},getElementUnallowedRoles:function(){return Gh},getExplicitRole:function(){return wu},getImplicitRole:function(){return Gu},getOwnedVirtual:function(){return rs},getRole:function(){return Ju},getRoleType:function(){return rl},getRolesByType:function(){return Qh},getRolesWithNameFromContents:function(){return Zh},implicitNodes:function(){return rm},implicitRole:function(){return Gu},isAccessibleRef:function(){return am},isAriaRoleAllowedOnElement:function(){return Hh},isComboboxPopup:function(){return om},isUnsupportedRole:function(){return bu},isValidRole:function(){return yu},label:function(){return um},labelVirtual:function(){return Ps},lookupTable:function(){return nm},namedFromContents:function(){return ns},requiredAttr:function(){return sm},requiredContext:function(){return lm},requiredOwned:function(){return cm},validateAttr:function(){return fm},validateAttrValue:function(){return dm}});var qh=function(e){var t=Du.ariaRoles[e],n=W(Fu());return t?(t.allowedAttrs&&n.push.apply(n,W(t.allowedAttrs)),t.requiredAttrs&&n.push.apply(n,W(t.requiredAttrs)),n):n},Vh=/^idrefs?$/;function zh(e,t,n){if(e.hasAttribute){if("LABEL"===e.nodeName.toUpperCase()&&e.hasAttribute("for")){var r=e.getAttribute("for");t.has(r)?t.get(r).push(e):t.set(r,[e])}for(var a=0;a<n.length;++a){var o=n[a],i=Nu(e.getAttribute(o)||"");if(i){var u,s=ne(Gf(i));try{for(s.s();!(u=s.n()).done;){var l=u.value;t.has(l)?t.get(l).push(e):t.set(l,[e])}}catch(e){s.e(e)}finally{s.f()}}}}for(var c=0;c<e.childNodes.length;c++)1===e.childNodes[c].nodeType&&zh(e.childNodes[c],t,n)}var Uh=function(e){var t;e=e.actualNode||e;var n=_o(e);n=n.documentElement||n;var r=ua.get("idRefsByRoot",(function(){return new Map})),a=r.get(n);return a||(a=new Map,r.set(n,a),zh(n,a,Object.keys(Du.ariaAttrs).filter((function(e){var t=Du.ariaAttrs[e].type;return Vh.test(t)})))),null!==(t=a.get(e.id))&&void 0!==t?t:[]},Hh=function(e,t){var n=e instanceof pr?e:sa(e),r=Gu(n),a=Ku(n);return Array.isArray(a.allowedRoles)?a.allowedRoles.includes(t):t!==r&&!!a.allowedRoles},Wh=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],Kh={header:"banner",footer:"contentinfo"},Gh=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=Yp(e).vNode;if(!Up(n))return[];var r=n.props.nodeName,a=Gu(n)||Kh[r];return function(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var n=Gf(e.attr("role").toLowerCase());t=t.concat(n)}return t.filter((function(e){return yu(e)}))}(n).filter((function(e){return!function(e,t,n,r){return!(!n||e!==r)||(!Wh.includes(e)||rl(e)===r)&&Hh(t,e)}(e,n,t,a)}))},Yh=function(e){return Object.keys(Du.ariaRoles).filter((function(t){return Du.ariaRoles[t].type===e}))},Qh=function(e){return Yh(e)},Xh=function(){return ua.get("ariaRolesNameFromContent",(function(){return Object.keys(Du.ariaRoles).filter((function(e){return Du.ariaRoles[e].nameFromContent}))}))},Zh=function(){return Xh()},Jh=function(e){return null===e},em=function(e){return null!==e},tm={attributes:{"aria-activedescendant":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-atomic":{type:"boolean",values:["true","false"],unsupported:!1},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"],unsupported:!1},"aria-busy":{type:"boolean",values:["true","false"],unsupported:!1},"aria-checked":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-colcount":{type:"int",unsupported:!1},"aria-colindex":{type:"int",unsupported:!1},"aria-colspan":{type:"int",unsupported:!1},"aria-controls":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],unsupported:!1},"aria-describedby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-describedat":{unsupported:!0,unstandardized:!0},"aria-details":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-disabled":{type:"boolean",values:["true","false"],unsupported:!1},"aria-dropeffect":{type:"nmtokens",values:["copy","move","reference","execute","popup","none"],unsupported:!1},"aria-errormessage":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-flowto":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],unsupported:!1},"aria-hidden":{type:"boolean",values:["true","false"],unsupported:!1},"aria-invalid":{type:"nmtoken",allowEmpty:!0,values:["true","false","spelling","grammar"],unsupported:!1},"aria-keyshortcuts":{type:"string",allowEmpty:!0,unsupported:!1},"aria-label":{type:"string",allowEmpty:!0,unsupported:!1},"aria-labelledby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-level":{type:"int",unsupported:!1},"aria-live":{type:"nmtoken",values:["off","polite","assertive"],unsupported:!1},"aria-modal":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiline":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiselectable":{type:"boolean",values:["true","false"],unsupported:!1},"aria-orientation":{type:"nmtoken",values:["horizontal","vertical"],unsupported:!1},"aria-owns":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-placeholder":{type:"string",allowEmpty:!0,unsupported:!1},"aria-posinset":{type:"int",unsupported:!1},"aria-pressed":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-readonly":{type:"boolean",values:["true","false"],unsupported:!1},"aria-relevant":{type:"nmtokens",values:["additions","removals","text","all"],unsupported:!1},"aria-required":{type:"boolean",values:["true","false"],unsupported:!1},"aria-roledescription":{type:"string",allowEmpty:!0,unsupported:!1},"aria-rowcount":{type:"int",unsupported:!1},"aria-rowindex":{type:"int",unsupported:!1},"aria-rowspan":{type:"int",unsupported:!1},"aria-selected":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-setsize":{type:"int",unsupported:!1},"aria-sort":{type:"nmtoken",values:["ascending","descending","other","none"],unsupported:!1},"aria-valuemax":{type:"decimal",unsupported:!1},"aria-valuemin":{type:"decimal",unsupported:!1},"aria-valuenow":{type:"decimal",unsupported:!1},"aria-valuetext":{type:"string",unsupported:!1}},globalAttributes:["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-dropeffect","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"]};tm.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","audio","embed","iframe","object","section","svg","video"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:!1},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:!1,allowedElements:["section"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",'input[type="button"]','input[type="image"]','input[type="reset"]','input[type="submit"]',"summary"],unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:em}}]},cell:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},checkbox:{type:"widget",attributes:{allowed:["aria-checked","aria-required","aria-readonly","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="checkbox"]'],unsupported:!1,allowedElements:["button"]},columnheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},combobox:{type:"composite",attributes:{allowed:["aria-autocomplete","aria-required","aria-activedescendant","aria-orientation","aria-errormessage"],required:["aria-expanded"]},owned:{all:["listbox","tree","grid","dialog","textbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:"input",properties:{type:["text","search","tel","url","email"]}}]},command:{nameFrom:["author"],type:"abstract",unsupported:!1},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:!1,allowedElements:["section"]},composite:{nameFrom:["author"],type:"abstract",unsupported:!1},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:!1,allowedElements:["section"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:!1},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:!1,allowedElements:["section"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["ol","ul"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:!1,allowedElements:["article","embed","iframe","object","section","svg"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:em}}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:!1,allowedElements:["li"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-biblioentry"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:em}}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-endnote":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,namefrom:["author"],context:["doc-endnotes"],unsupported:!1,allowedElements:["li"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-endnote"]},namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","footer","header"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:!1,allowedElements:["dl"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:em}}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:em}}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["hr"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["h1","h2","h3","h4","h5","h6"]}},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","aside","section"]},figure:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["figure"],unsupported:!1},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:!1},grid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:!1},gridcell:{type:"widget",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-selected","aria-readonly","aria-required","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:!1,allowedElements:["dl","figcaption","fieldset","figure","footer","header","ol","ul"]},heading:{type:"structure",attributes:{required:["aria-level"],allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["h1","h2","h3","h4","h5","h6"],unsupported:!1},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:!1,allowedElements:["embed","iframe","object","svg"]},input:{nameFrom:["author"],type:"abstract",unsupported:!1},landmark:{nameFrom:["author"],type:"abstract",unsupported:!1},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]","area[href]"],unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["image","button"]}}]},list:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{all:["listitem"]},nameFrom:["author"],context:null,implicit:["ol","ul","dl"],unsupported:!1},listbox:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-readonly","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["option"]},nameFrom:["author"],context:null,implicit:["select"],unsupported:!1,allowedElements:["ol","ul"]},listitem:{type:"structure",attributes:{allowed:["aria-level","aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["list"],implicit:["li","dt"],unsupported:!1},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:!1,allowedElements:["article","section"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:!1},menu:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,implicit:['menu[type="context"]'],unsupported:!1,allowedElements:["ol","ul"]},menubar:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},menuitem:{type:"widget",attributes:{allowed:["aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="command"]'],unsupported:!1,allowedElements:["button","li",{nodeName:"iput",properties:{type:["image","button"]}},{nodeName:"a",attributes:{href:em}}]},menuitemcheckbox:{type:"widget",attributes:{allowed:["aria-checked","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="checkbox"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:em}}]},menuitemradio:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button","radio"]}},{nodeName:"a",attributes:{href:em}}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:!1,allowedElements:["section"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:em}}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},option:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-checked","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["listbox"],implicit:["option"],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","button"]}},{nodeName:"a",attributes:{href:em}}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:em}}]},progressbar:{type:"widget",attributes:{allowed:["aria-valuetext","aria-valuenow","aria-valuemax","aria-valuemin","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["progress"],unsupported:!1},radio:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-required","aria-errormessage","aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button"]}}]},radiogroup:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-required","aria-expanded","aria-readonly","aria-errormessage","aria-orientation"]},owned:{all:["radio"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["ol","ul","fieldset"]}},range:{nameFrom:["author"],type:"abstract",unsupported:!1},region:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["section[aria-label]","section[aria-labelledby]","section[title]"],unsupported:!1,allowedElements:{nodeName:["article","aside"]}},roletype:{type:"abstract",unsupported:!1},row:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-selected","aria-rowindex","aria-errormessage"]},owned:{one:["cell","columnheader","rowheader","gridcell"]},nameFrom:["author","contents"],context:["rowgroup","grid","treegrid","table"],implicit:["tr"],unsupported:!1},rowgroup:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:{all:["row"]},nameFrom:["author","contents"],context:["grid","table","treegrid"],implicit:["tbody","thead","tfoot"],unsupported:!1},rowheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},scrollbar:{type:"widget",attributes:{required:["aria-controls","aria-valuenow"],allowed:["aria-valuetext","aria-orientation","aria-errormessage","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["aside","form","section"]}},searchbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="search"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:"text"}}},section:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},select:{nameFrom:["author"],type:"abstract",unsupported:!1},separator:{type:"structure",attributes:{allowed:["aria-expanded","aria-orientation","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["hr"],unsupported:!1,allowedElements:["li"]},slider:{type:"widget",attributes:{allowed:["aria-valuetext","aria-orientation","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="range"]'],unsupported:!1},spinbutton:{type:"widget",attributes:{allowed:["aria-valuetext","aria-required","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="number"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:["text","tel"]}}},status:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["output"],unsupported:!1,allowedElements:["section"]},structure:{type:"abstract",unsupported:!1},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:em}}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:!1,allowedElements:[{nodeName:["button","h1","h2","h3","h4","h5","h6","li"]},{nodeName:"input",properties:{type:"button"}},{nodeName:"a",attributes:{href:em}}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author","contents"],context:null,implicit:["table"],unsupported:!1},tablist:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-errormessage"]},owned:{all:["tab"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:!1},textbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="text"]','input[type="email"]','input[type="password"]','input[type="tel"]','input[type="url"]',"input:not([type])","textarea"],unsupported:!1},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['menu[type="toolbar"]'],unsupported:!1,allowedElements:["ol","ul"]},tooltip:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1},tree:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["treeitem"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},treegrid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-readonly","aria-required","aria-rowcount","aria-orientation","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,unsupported:!1},treeitem:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["group","tree"],unsupported:!1,allowedElements:["li",{nodeName:"a",attributes:{href:em}}]},widget:{type:"abstract",unsupported:!1},window:{nameFrom:["author"],type:"abstract",unsupported:!1}},tm.implicitHtmlRole=Ru,tm.elementsAllowedNoRole=[{nodeName:["base","body","caption","col","colgroup","datalist","dd","details","dt","head","html","keygen","label","legend","main","map","math","meta","meter","noscript","optgroup","param","picture","progress","script","source","style","template","textarea","title","track"]},{nodeName:"area",attributes:{href:em}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:em}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(e){return e instanceof c.AbstractVirtualNode||(e=c.utils.getNodeFromTree(e)),Number(e.attr("size"))>1},properties:{multiple:!0}},{nodeName:["clippath","cursor","defs","desc","feblend","fecolormatrix","fecomponenttransfer","fecomposite","feconvolvematrix","fediffuselighting","fedisplacementmap","fedistantlight","fedropshadow","feflood","fefunca","fefuncb","fefuncg","fefuncr","fegaussianblur","feimage","femerge","femergenode","femorphology","feoffset","fepointlight","fespecularlighting","fespotlight","fetile","feturbulence","filter","hatch","hatchpath","lineargradient","marker","mask","meshgradient","meshpatch","meshrow","metadata","mpath","pattern","radialgradient","solidcolor","stop","switch","view"]}],tm.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:Jh}},{nodeName:"img",attributes:{alt:Jh}},{nodeName:["abbr","address","canvas","div","p","pre","blockquote","ins","del","output","span","table","tbody","thead","tfoot","td","em","strong","small","s","cite","q","dfn","abbr","time","code","var","samp","kbd","sub","sup","i","b","u","mark","ruby","rt","rp","bdi","bdo","br","wbr","th","tr"]}],tm.evaluateRoleForElement={A:function(e){var t=e.node,n=e.out;return"http://www.w3.org/2000/svg"===t.namespaceURI||!t.href.length||n},AREA:function(e){return!e.node.href},BUTTON:function(e){var t=e.node,n=e.role,r=e.out;return"menu"===t.getAttribute("type")?"menuitem"===n:r},IMG:function(e){var t=e.node,n=e.role,r=e.out;switch(t.alt){case null:return r;case"":return"presentation"===n||"none"===n;default:return"presentation"!==n&&"none"!==n}},INPUT:function(e){var t=e.node,n=e.role,r=e.out;switch(t.type){case"button":case"image":return r;case"checkbox":return!("button"!==n||!t.hasAttribute("aria-pressed"))||r;case"radio":return"menuitemradio"===n;case"text":return"combobox"===n||"searchbox"===n||"spinbutton"===n;case"tel":return"combobox"===n||"spinbutton"===n;case"url":case"search":case"email":return"combobox"===n;default:return!1}},LI:function(e){var t=e.node,n=e.out;return!c.utils.matchesSelector(t,"ol li, ul li")||n},MENU:function(e){return"context"!==e.node.getAttribute("type")},OPTION:function(e){var t=e.node;return!c.utils.matchesSelector(t,"select > option, datalist > option, optgroup > option")},SELECT:function(e){var t=e.node,n=e.role;return!t.multiple&&t.size<=1&&"menu"===n},SVG:function(e){var t=e.node,n=e.out;return!(!t.parentNode||"http://www.w3.org/2000/svg"!==t.parentNode.namespaceURI)||n}},tm.rolesOfType={widget:["button","checkbox","dialog","gridcell","link","log","marquee","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","radio","scrollbar","searchbox","slider","spinbutton","status","switch","tab","tabpanel","textbox","timer","tooltip","tree","treeitem"]};var nm=tm,rm=function(e){var t=null,n=nm.role[e];return n&&n.implicit&&(t=pa(n.implicit)),t},am=function(e){return!!Uh(e).length};function om(e){var t,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).popupRoles,r=Ju(e);if(null!==(t=n)&&void 0!==t||(n=hu["aria-haspopup"].values),!n.includes(r))return!1;var a=function(e){for(;e=e.parent;)if(null!==Ju(e,{noPresentational:!0}))return e;return null}(e);if(im(a))return!0;var o=e.props.id;if(!o)return!1;if(!e.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var i=Bo(e.actualNode).querySelectorAll('[aria-owns~="'.concat(o,'"][role~="combobox"]:not(select),\n [aria-controls~="').concat(o,'"][role~="combobox"]:not(select)'));return Array.from(i).some(im)}var im=function(e){return e&&"combobox"===Ju(e)},um=function(e){return e=sa(e),Ps(e)},sm=function(e){var t=Du.ariaRoles[e];return t&&Array.isArray(t.requiredAttrs)?W(t.requiredAttrs):[]},lm=function(e){var t=Du.ariaRoles[e];return t&&Array.isArray(t.requiredContext)?W(t.requiredContext):null},cm=function(e){var t=Du.ariaRoles[e];return t&&Array.isArray(t.requiredOwned)?W(t.requiredOwned):null},dm=function(e,t){var n,r,a=(e=e instanceof pr?e:sa(e)).attr(t),o=Du.ariaAttrs[t];if(!o)return!0;if(o.allowEmpty&&(!a||""===a.trim()))return!0;switch(o.type){case"boolean":return["true","false"].includes(a.toLowerCase());case"nmtoken":return"string"==typeof a&&o.values.includes(a.toLowerCase());case"nmtokens":return(r=Gf(a)).reduce((function(e,t){return e&&o.values.includes(t)}),0!==r.length);case"idref":try{var i=_o(e.actualNode);return!(!a||!i.getElementById(a))}catch(e){throw new TypeError("Cannot resolve id references for partial DOM")}case"idrefs":return cu(e,t).some((function(e){return!!e}));case"string":return""!==a.trim();case"decimal":return!(!(n=a.match(/^[-+]?([0-9]*)\.?([0-9]*)$/))||!n[1]&&!n[2]);case"int":var u=void 0!==o.minValue?o.minValue:-1/0;return/^[-+]?[0-9]+$/.test(a)&&parseInt(a)>=u}},fm=function(e){return!!Du.ariaAttrs[e]};function pm(e,t,n){var r,a=n.props,o=a.nodeName,i=a.type,u=(r=n.attr("aria-checked"))?(r=r.toLowerCase(),["mixed","true"].includes(r)?r:"false"):"";if("input"!==o||"checkbox"!==i||!u)return!0;var s,l=(s=n).props.indeterminate?"mixed":s.props.checked?"true":"false";return u===l||(this.data({messageKey:"checkbox",checkState:l}),!1)}function hm(e){var t,n,r=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).invalidTableRowAttrs,a=arguments.length>2?arguments[2]:void 0,o=null!==(t=null==r||null===(n=r.filter)||void 0===n?void 0:n.call(r,(function(e){return a.hasAttr(e)})))&&void 0!==t?t:[];if(0===o.length)return!0;var i=function(e){if(e.parent)return Na(e,'table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]')}(a),u=i&&Ju(i);if(!u||"treegrid"===u)return!0;var s="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:s,invalidAttrs:o,ownerRole:u}),!1}var mm={row:hm,checkbox:pm},gm={};function vm(e){var t=e.vNode;return 3===t.props.nodeType?t.props.nodeValue.trim().length>0:Ys(t,!1,!0)}function Dm(e,t,n,r){var a=wu(e);if(n||(n=lm(a)),!n)return null;for(var o=n.includes("group"),i=r?e:e.parent;i;){var u=Ju(i,{noPresentational:!0});if(u){if("group"!==u||!o)return n.includes(u)?null:n;t.includes(a)&&n.push(a),n=n.filter((function(e){return"group"!==e})),i=i.parent}else i=i.parent}return n}ie(gm,{getAriaRolesByType:function(){return Yh},getAriaRolesSupportingNameFromContent:function(){return Xh},getElementSpec:function(){return Ku},getElementsByContentType:function(){return Eu},getGlobalAriaAttrs:function(){return Fu},implicitHtmlRoles:function(){return Ru}});var bm={ARTICLE:!0,ASIDE:!0,NAV:!0,SECTION:!0},ym={application:!0,article:!0,banner:!1,complementary:!0,contentinfo:!0,form:!0,main:!0,navigation:!0,region:!0,search:!1},wm={};ie(wm,{Color:function(){return Af},centerPointOfRect:function(){return Em},elementHasImage:function(){return hl},elementIsDistinct:function(){return Cm},filteredRectStack:function(){return Am},flattenColors:function(){return Nm},flattenShadowColors:function(){return Om},getBackgroundColor:function(){return Km},getBackgroundStack:function(){return Sm},getContrast:function(){return Qm},getForegroundColor:function(){return Xm},getOwnBackgroundColor:function(){return Tf},getRectStack:function(){return xm},getStackingContext:function(){return Vm},getStrokeColorsFromShadows:function(){return Pm},getTextShadowColors:function(){return $m},hasValidContrastRatio:function(){return Jm},incompleteData:function(){return pl},parseTextShadows:function(){return jm},stackingContextToColor:function(){return zm}});var Em=function(e){if(!(e.left>i.innerWidth||e.top>i.innerHeight))return{x:Math.min(Math.ceil(e.left+e.width/2),i.innerWidth-1),y:Math.min(Math.ceil(e.top+e.height/2),i.innerHeight-1)}};function Fm(e){return e.getPropertyValue("font-family").split(/[,;]/g).map((function(e){return e.trim().toLowerCase()}))}var Cm=function(e,t){var n=i.getComputedStyle(e);if("none"!==n.getPropertyValue("background-image"))return!0;if(["border-bottom","border-top","outline"].reduce((function(e,t){var r=new Af;return r.parseString(n.getPropertyValue(t+"-color")),e||"none"!==n.getPropertyValue(t+"-style")&&parseFloat(n.getPropertyValue(t+"-width"))>0&&0!==r.alpha}),!1))return!0;var r=i.getComputedStyle(t);if(Fm(n)[0]!==Fm(r)[0])return!0;var a=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce((function(e,t){return e||n.getPropertyValue(t)!==r.getPropertyValue(t)}),!1),o=n.getPropertyValue("text-decoration");return o.split(" ").length<3&&(a=a||o!==r.getPropertyValue("text-decoration")),a},xm=function(e){var t=nu(e),n=Us(e);return!n||n.length<=1?[t]:n.some((function(e){return void 0===e}))?null:(n.splice(0,0,t),n)},Am=function(e){var t=xm(e);if(t&&1===t.length)return t[0];if(t&&t.length>1){var n,r=t.shift();return t.forEach((function(a,o){if(0!==o){var i=t[o-1],u=t[o];n=i.every((function(e,t){return e===u[t]}))||r.includes(e)}})),n?t[0]:(pl.set("bgColor","elmPartiallyObscuring"),null)}return pl.set("bgColor","outsideViewport"),null},km={normal:function(e,t){return t},multiply:function(e,t){return t*e},screen:function(e,t){return e+t-e*t},overlay:function(e,t){return this["hard-light"](t,e)},darken:function(e,t){return Math.min(e,t)},lighten:function(e,t){return Math.max(e,t)},"color-dodge":function(e,t){return 0===e?0:1===t?1:Math.min(1,e/(1-t))},"color-burn":function(e,t){return 1===e?1:0===t?0:1-Math.min(1,(1-e)/t)},"hard-light":function(e,t){return t<=.5?this.multiply(e,2*t):this.screen(e,2*t-1)},"soft-light":function(e,t){return t<=.5?e-(1-2*t)*e*(1-e):e+(2*t-1)*((e<=.25?((16*e-12)*e+4)*e:Math.sqrt(e))-e)},difference:function(e,t){return Math.abs(e-t)},exclusion:function(e,t){return e+t-2*e*t}};function Tm(e,t,n,r,a){return t*(1-r)*e+t*r*km[a](n/255,e/255)*255+(1-t)*r*n}var Nm=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal",a=Tm(e.red,e.alpha,t.red,t.alpha,r),o=Tm(e.green,e.alpha,t.green,t.alpha,r),i=Tm(e.blue,e.alpha,t.blue,t.alpha,r),u=(n=e.alpha+t.alpha*(1-e.alpha),0,1,Math.min(Math.max(0,n),1));if(0===u)return new Af(a,o,i,u);var s=Math.round(a/u),l=Math.round(o/u),c=Math.round(i/u);return new Af(s,l,c,u)};function Om(e,t){var n=e.alpha,r=(1-n)*t.red+n*e.red,a=(1-n)*t.green+n*e.green,o=(1-n)*t.blue+n*e.blue,i=e.alpha+t.alpha*(1-e.alpha);return new Af(r,a,o,i)}function Sm(e){for(var t=Us(e).map((function(t){return function(e){var t=e.indexOf(s.body),n=e,r=Tf(i.getComputedStyle(s.documentElement));if(t>1&&0===r.alpha&&!hl(s.documentElement)){t>1&&(n.splice(t,1),n.push(s.body));var a=n.indexOf(s.documentElement);a>0&&(n.splice(a,1),n.push(s.documentElement))}return n}(t=Mf(t,e))})),n=0;n<t.length;n++){var r=t[n];if(r[0]!==e)return pl.set("bgColor","bgOverlap"),null;if(0!==n&&!Rm(r,t[0]))return pl.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function Rm(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e.length!==t.length)return!1;for(var n=0;n<e.length;++n)if(e[n]!==t[n])return!1;return!0}var Bm=.54,_m=.5,Mm=1.5,Im=["top","right","bottom","left"];function Pm(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ignoreEdgeCount,n=void 0!==t&&t,r=function(e){var t,n={},r=ne(e);try{for(r.s();!(t=r.n()).done;){var a,o=t.value,i=o.colorStr,u=o.pixels;null!==(a=n[i])&&void 0!==a||(n[i]={top:[],right:[],bottom:[],left:[]});var s=n[i],l=Y(u,2),c=l[0],d=l[1];c>_m?s.right.push(c):-c>_m&&s.left.push(-c),d>_m?s.bottom.push(d):-d>_m&&s.top.push(-d)}}catch(e){r.e(e)}finally{r.f()}return n}(e),a=Object.entries(r).map((function(e){var t=Y(e,2),n=t[0],r=t[1],a=Im.filter((function(e){return 0!==r[e].length})).length;return{colorStr:n,sides:r,edgeCount:a}}));return!n&&a.some((function(e){var t=e.edgeCount;return t>1&&t<4}))?null:a.map(Lm).filter((function(e){return null!==e}))}function Lm(e){var t=e.colorStr,n=e.sides;if(4!==e.edgeCount)return null;var r=new Af;r.parseString(t);var a=0,o=!0;return Im.forEach((function(e){a+=n[e].length/4,o&&(o=n[e].every((function(e){return e>Mm})))})),o||(r.alpha=1-Math.pow(Bm,a)),r}function jm(e){var t={pixels:[]},n=e.trim(),r=[t];if(!n)return[];for(;n;){var a=n.match(/^[a-z]+(\([^)]+\))?/i)||n.match(/^#[0-9a-f]+/i),o=n.match(/^([0-9.-]+)px/i)||n.match(/^(0)/);if(a)kr(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),n=n.replace(a[0],"").trim(),t.colorStr=a[0];else if(o){kr(t.pixels.length<3,"Too many pixel units in text-shadow: ".concat(e)),n=n.replace(o[0],"").trim();var i=parseFloat(("."===o[1][0]?"0":"")+o[1]);t.pixels.push(i)}else{if(","!==n[0])throw new Error("Unable to process text-shadows: ".concat(n));kr(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},r.push(t),n=n.substr(1).trim()}}return r.forEach((function(e){var t=e.pixels;2===t.length&&t.push(0)})),r}function $m(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.minRatio,r=t.maxRatio,a=t.ignoreEdgeCount,o=[],u=i.getComputedStyle(e),s=u.getPropertyValue("text-shadow");if("none"===s)return o;var l=u.getPropertyValue("font-size"),c=parseInt(l);kr(!1===isNaN(c),"Unable to determine font-size value ".concat(l));var d,f=[],p=ne(jm(s));try{for(p.s();!(d=p.n()).done;){var h=d.value,m=h.colorStr||u.getPropertyValue("color"),g=Y(h.pixels,3),v=g[0],D=g[1],b=g[2],y=void 0===b?0:b;if(!(r&&y>=c*r))if(n&&y<c*n)f.push({colorStr:m,pixels:h.pixels});else{if(f.length>0){var w=Pm(f,{ignoreEdgeCount:a});if(null===w)return null;o.push.apply(o,W(w)),f.splice(0,f.length)}var E=qm({colorStr:m,offsetX:v,offsetY:D,blurRadius:y,fontSize:c});o.push(E)}}}catch(e){p.e(e)}finally{p.f()}if(f.length>0){var F=Pm(f,{ignoreEdgeCount:a});if(null===F)return null;o.push.apply(o,W(F))}return o}function qm(e){var t=e.colorStr,n=e.offsetX,r=e.offsetY,a=e.blurRadius,o=e.fontSize;if(n>a||r>a)return new Af(0,0,0,0);var i=new Af;return i.parseString(t),i.alpha*=function(e,t){return 0===e?1:.185/(e/t+.4)}(a,o),i}function Vm(e,t){var n,r=sa(e);if(r._stackingContext)return r._stackingContext;var a=[],o=new Map;return(t=null!==(n=t)&&void 0!==n?n:Sm(e)).forEach((function(e){var t,n=sa(e),r=function(e){var t=new Af;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}(n),i=n._stackingOrder.filter((function(e){return!!e.vNode}));i.forEach((function(e,t){var n,r=e.vNode,u=null===(n=i[t-1])||void 0===n?void 0:n.vNode,s=Wm(o,r,u);0!==t||o.get(r)||a.unshift(s),o.set(r,s)}));var u=null===(t=i[i.length-1])||void 0===t?void 0:t.vNode,s=Wm(o,n,u);i.length||a.unshift(s),s.bgColor=r})),r._stackingContext=a,a}function zm(e){var t;if(null===(t=e.descendants)||void 0===t||!t.length){var n=e.bgColor;return n.alpha*=e.opacity,{color:n,blendMode:e.blendMode}}var r=e.descendants.reduce(Um,Hm()),a=Nm(r,e.bgColor,e.descendants[0].blendMode);return a.alpha*=e.opacity,{color:a,blendMode:e.blendMode}}function Um(e,t){var n;n=e instanceof Af?e:zm(e).color;var r=zm(t).color;return Nm(r,n,t.blendMode)}function Hm(e,t){var n,r;return{vNode:e,ancestor:t,opacity:parseFloat(null!==(n=null==e?void 0:e.getComputedStylePropertyValue("opacity"))&&void 0!==n?n:1),bgColor:new Af(0,0,0,0),blendMode:(r=null==e?void 0:e.getComputedStylePropertyValue("mix-blend-mode"),r||void 0),descendants:[]}}function Wm(e,t,n){var r,a=e.get(n),o=null!==(r=e.get(t))&&void 0!==r?r:Hm(t,a);return a&&n!==t&&!a.descendants.includes(o)&&a.descendants.unshift(o),o}function Km(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.1,r=sa(e),a=r._cache.getBackgroundColor;if(a)return t.push.apply(t,W(a.bgElms)),pl.set("bgColor",a.incompleteData),a.bgColor;var o=function(e,t,n){var r,a,o=Sm(e);if(!o)return null;var u=zs(e),l=null!==(r=$m(e,{minRatio:n,ignoreEdgeCount:!0}))&&void 0!==r?r:[];l.length&&(l=[{color:l.reduce(Om)}]);for(var c=0;c<o.length;c++){var d=o[c],f=i.getComputedStyle(d);if(hl(d,f))return t.push(d),null;var p=Tf(f);if(0!==p.alpha){if("inline"!==f.getPropertyValue("display")&&!Gm(d,u))return t.push(d),pl.set("bgColor","elmPartiallyObscured"),null;if(t.push(d),1===p.alpha)break}}l=Vm(e,o).map(zm).concat(l);var h=function(e,t){var n=[];if(!t){var r=s.documentElement,a=s.body,o=i.getComputedStyle(r),u=i.getComputedStyle(a),l=Tf(o),c=Tf(u),d=0!==c.alpha&&Gm(a,e.getBoundingClientRect());(0!==c.alpha&&0===l.alpha||d&&1!==c.alpha)&&n.unshift({color:c,blendMode:Ym(u.getPropertyValue("mix-blend-mode"))}),0!==l.alpha&&(!d||d&&1!==c.alpha)&&n.unshift({color:l,blendMode:Ym(o.getPropertyValue("mix-blend-mode"))})}return n}(e,o.includes(s.body));if((a=l).unshift.apply(a,W(h)),0===l.length)return new Af(255,255,255,1);var m=l.reduce((function(e,t){return Nm(t.color,e.color instanceof Af?e.color:e,t.blendMode)}));return Nm(m.color instanceof Af?m.color:m,new Af(255,255,255,1))}(e,t,n);return r._cache.getBackgroundColor={bgColor:o,bgElms:t,incompleteData:pl.get("bgColor")},o}function Gm(e,t){t=Array.isArray(t)?t:[t];var n=e.getBoundingClientRect(),r=n.right,a=n.bottom,o=i.getComputedStyle(e).getPropertyValue("overflow");return(["scroll","auto"].includes(o)||e instanceof i.HTMLHtmlElement)&&(r=n.left+e.scrollWidth,a=n.top+e.scrollHeight),t.every((function(e){return e.top>=n.top&&e.bottom<=a&&e.left>=n.left&&e.right<=r}))}function Ym(e){return e||void 0}var Qm=function(e,t){if(!t||!e)return null;t.alpha<1&&(t=Nm(t,e));var n=e.getRelativeLuminance(),r=t.getRelativeLuminance();return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)};function Xm(e,t,n){for(var r,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=i.getComputedStyle(e),u=[function(){return function(e,t){var n=t.textStrokeEmMin,r=void 0===n?0:n,a=parseFloat(e.getPropertyValue("-webkit-text-stroke-width"));if(0===a)return null;var o=e.getPropertyValue("font-size"),i=a/parseFloat(o);if(isNaN(i)||i<r)return null;var u=e.getPropertyValue("-webkit-text-stroke-color");return(new Af).parseString(u)}(o,a)},function(){return function(e){return(new Af).parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}(o)},function(){return $m(e,{minRatio:0})}],s=[],l=0,c=u;l<c.length;l++){var d=(0,c[l])();if(d&&(s=s.concat(d),1===d.alpha))break}var f=s.reduce((function(e,t){return Nm(e,t)}));if(null!==(r=n)&&void 0!==r||(n=Km(e,[])),null===n){var p=pl.get("bgColor");return pl.set("fgColor",p),null}var h=Vm(e),m=Zm(h,e);return Nm(function(e,t,n){for(;t;){var r;if(1===t.opacity&&t.ancestor)t=t.ancestor;else{e.alpha*=t.opacity;var a=(null===(r=t.ancestor)||void 0===r?void 0:r.descendants)||n;1!==t.opacity&&(a=a.slice(0,a.indexOf(t)));var o=a.map(zm);if(o.length){var i=o.reduce((function(e,t){return Nm(t.color,e.color instanceof Af?e.color:e)}),{color:new Af(0,0,0,0),blendMode:"normal"});e=Nm(e,i),t=t.ancestor}else t=t.ancestor}}return e}(f,m,h),new Af(255,255,255,1))}function Zm(e,t){var n,r=ne(e);try{for(r.s();!(n=r.n()).done;){var a,o=n.value;if((null===(a=o.vNode)||void 0===a?void 0:a.actualNode)===t)return o;var i=Zm(o.descendants,t);if(i)return i}}catch(e){r.e(e)}finally{r.f()}}var Jm=function(e,t,n,r){var a=Qm(e,t),o=r&&Math.ceil(72*n)/96<14||!r&&Math.ceil(72*n)/96<18?4.5:3;return{isValid:a>o,contrastRatio:a,expectedContrastRatio:o}},eg=Pr((function(e,t){var n=i.getComputedStyle(e,t),r=function(e,t){return n.getPropertyValue(e)===t};if(r("content","none")||r("display","none")||r("visibility","hidden")||!1===r("position","absolute"))return 0;if(0===Tf(n).alpha&&r("background-image","none"))return 0;var a=tg(n.getPropertyValue("width")),o=tg(n.getPropertyValue("height"));return"px"!==a.unit||"px"!==o.unit?0===a.value||0===o.value?0:1/0:a.value*o.value}));function tg(e){var t=Y(e.match(/^([0-9.]+)([a-z]+)$/i)||[],3),n=t[1],r=void 0===n?"":n,a=t[2],o=void 0===a?"":a;return{value:parseFloat(r),unit:o.toLowerCase()}}function ng(e,t){var n=e.getRelativeLuminance(),r=t.getRelativeLuminance();return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}var rg=["block","list-item","table","flex","grid","inline-block"];function ag(e){var t=i.getComputedStyle(e).getPropertyValue("display");return-1!==rg.indexOf(t)||"table-"===t.substr(0,6)}var og=["block","list-item","table","flex","grid","inline-block"];function ig(e){var t=i.getComputedStyle(e).getPropertyValue("display");return-1!==og.indexOf(t)||"table-"===t.substr(0,6)}function ug(e){if(iu(e))return!0;if(!e.children){if(1===e.props.nodeType)throw new Error("Cannot determine children");return!1}return e.children.some((function(e){return ug(e)}))}function sg(e){if(!e.children){if(1===e.props.nodeType)throw new Error("Cannot determine children");return[]}var t=[];return e.children.forEach((function(e){"widget"===rl(e)&&ou(e)?t.push(e):t.push.apply(t,W(sg(e)))})),t}function lg(e){var t=parseInt(e.attr("tabindex"),10);return!isNaN(t)&&t<0}function cg(e,t){var n=dg(t),r=dg(e);return!(!n||!r)&&n.includes(r)}function dg(e){var t=Bs(e,{emoji:!0,nonBmp:!0,punctuations:!0});return Nu(t)}function fg(e){return""!==(e||"").trim()}function pg(e,t,n){var r=n.validRoles,a=void 0===r?[]:r,o=n.validNodeNames,i=void 0===o?[]:o,u=e.props,s=u.nodeName,l=u.nodeType,c=u.nodeValue,d=t?"div > ":"";if(3===l&&""!==c.trim())return d+"#text";if(1!==l||!os(e))return!1;var f=wu(e);return f?!a.includes(f)&&d+"[role=".concat(f,"]"):!i.includes(s)&&d+s}function hg(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.map((function(e){return{vChild:e,nested:t}}))}function mg(e,t){var n=e.boundingClientRect,r=t.boundingClientRect;return n.top>=r.top&&n.left>=r.left&&n.bottom<=r.bottom&&n.right<=r.right}function gg(e){return e.getComputedStylePropertyValue("pointer-events")}function vg(e){return{width:Math.round(10*e.width)/10,height:Math.round(10*e.height)/10}}function Dg(e,t){return e.actualNode.contains(t.actualNode)&&!iu(t)}function bg(e){return e.map((function(e){return e.actualNode}))}function yg(e,t){var n,r=null===(n=t.data)||void 0===n?void 0:n.headingOrder,a=Eg(t.node.ancestry,1);if(!r)return e;var o=r.map((function(e){return function(e,t){return G({},e,{ancestry:t.concat(e.ancestry)})}(e,a)})),i=function(e,t){for(;t.length;){var n=wg(e,t);if(-1!==n)return n;t=Eg(t,1)}return-1}(e,a);return-1===i?e.push.apply(e,W(o)):e.splice.apply(e,[i,0].concat(W(o))),e}function wg(e,t){return e.findIndex((function(e){return Kp(e.ancestry,t)}))}function Eg(e,t){return e.slice(0,e.length-t)}function Fg(e){var t=Ju(e),n=t&&t.includes("heading"),r=e.attr("aria-level"),a=parseInt(r,10),o=Y(e.props.nodeName.match(/h(\d)/)||[],2)[1];return n?o&&!r?parseInt(o,10):isNaN(a)||a<1?o?parseInt(o,10):2:a||-1:-1}function Cg(e,t){if(!e||!t)return!1;var n=Object.getOwnPropertyNames(e),r=Object.getOwnPropertyNames(t);return n.length===r.length&&n.every((function(n){var r=e[n],a=t[n];return l(r)===l(a)&&("object"===l(r)||"object"===l(a)?Cg(r,a):r===a)}))}var xg={};ie(xg,{aria:function(){return $h},color:function(){return wm},dom:function(){return Ro},forms:function(){return Ag},matches:function(){return Wu},math:function(){return hi},standards:function(){return gm},table:function(){return Ng},text:function(){return lu},utils:function(){return hr}});var Ag={};ie(Ag,{isAriaCombobox:function(){return ps},isAriaListbox:function(){return fs},isAriaRange:function(){return ms},isAriaTextbox:function(){return ds},isDisabled:function(){return Tg},isNativeSelect:function(){return cs},isNativeTextbox:function(){return ls}});var kg=["fieldset","button","select","input","textarea"],Tg=function e(t){var n=t._isDisabled;if("boolean"==typeof n)return n;var r=t.props.nodeName,a=t.attr("aria-disabled");return n=!(!kg.includes(r)||!t.hasAttr("disabled"))||(a?"true"===a.toLowerCase():!!t.parent&&e(t.parent)),t._isDisabled=n,n},Ng={};ie(Ng,{getAllCells:function(){return Og},getCellPosition:function(){return xu},getHeaders:function(){return Rg},getScope:function(){return Au},isColumnHeader:function(){return ku},isDataCell:function(){return Bg},isDataTable:function(){return _g},isHeader:function(){return Mg},isRowHeader:function(){return Tu},toArray:function(){return Cu},toGrid:function(){return Cu},traverse:function(){return Pg}});var Og=function(e){var t,n,r,a,o=[];for(t=0,r=e.rows.length;t<r;t++)for(n=0,a=e.rows[t].cells.length;n<a;n++)o.push(e.rows[t].cells[n]);return o};function Sg(e,t,n){for(var r,a="row"===e?"_rowHeaders":"_colHeaders",o="row"===e?Tu:ku,i=n[t.y][t.x],u=i.colSpan-1,s=i.getAttribute("rowspan"),l=(0===parseInt(s)||0===i.rowspan?n.length:i.rowSpan)-1,d=t.y+l,f=t.x+u,p="row"===e?t.y:0,h="row"===e?0:t.x,m=[],g=d;g>=p&&!r;g--)for(var v=f;v>=h;v--){var D=n[g]?n[g][v]:void 0;if(D){var b=c.utils.getNodeFromTree(D);if(b[a]){r=b[a];break}m.push(D)}}return r=(r||[]).concat(m.filter(o)),m.forEach((function(e){c.utils.getNodeFromTree(e)[a]=r})),r}var Rg=function(e,t){if(e.getAttribute("headers")){var n=cu(e,"headers");if(n.filter((function(e){return e})).length)return n}t||(t=Cu(Po(e,"table")));var r=xu(e,t),a=Sg("row",r,t),o=Sg("col",r,t);return[].concat(a,o).reverse()},Bg=function(e){if(!e.children.length&&!e.textContent.trim())return!1;var t=e.getAttribute("role");return yu(t)?["cell","gridcell"].includes(t):"TD"===e.nodeName.toUpperCase()},_g=function(e){var t=(e.getAttribute("role")||"").toLowerCase();if(("presentation"===t||"none"===t)&&!ou(e))return!1;if("true"===e.getAttribute("contenteditable")||Po(e,'[contenteditable="true"]'))return!0;if("grid"===t||"treegrid"===t||"table"===t)return!0;if("landmark"===rl(t))return!0;if("0"===e.getAttribute("datatable"))return!1;if(e.getAttribute("summary"))return!0;if(e.tHead||e.tFoot||e.caption)return!0;for(var n=0,r=e.children.length;n<r;n++)if("COLGROUP"===e.children[n].nodeName.toUpperCase())return!0;for(var a,o,u=0,s=e.rows.length,l=!1,c=0;c<s;c++)for(var d=0,f=(a=e.rows[c]).cells.length;d<f;d++){if("TH"===(o=a.cells[d]).nodeName.toUpperCase())return!0;if(l||o.offsetWidth===o.clientWidth&&o.offsetHeight===o.clientHeight||(l=!0),o.getAttribute("scope")||o.getAttribute("headers")||o.getAttribute("abbr"))return!0;if(["columnheader","rowheader"].includes((o.getAttribute("role")||"").toLowerCase()))return!0;if(1===o.children.length&&"ABBR"===o.children[0].nodeName.toUpperCase())return!0;u++}if(e.getElementsByTagName("table").length)return!1;if(s<2)return!1;var p,h,m=e.rows[Math.ceil(s/2)];if(1===m.cells.length&&1===m.cells[0].colSpan)return!1;if(m.cells.length>=5)return!0;if(l)return!0;for(c=0;c<s;c++){if(a=e.rows[c],p&&p!==i.getComputedStyle(a).getPropertyValue("background-color"))return!0;if(p=i.getComputedStyle(a).getPropertyValue("background-color"),h&&h!==i.getComputedStyle(a).getPropertyValue("background-image"))return!0;h=i.getComputedStyle(a).getPropertyValue("background-image")}return s>=20||!(ii(e).width>.95*ui(i).width)&&!(u<10)&&!e.querySelector("object, embed, iframe, applet")},Mg=function(e){if(ku(e)||Tu(e))return!0;if(e.getAttribute("id")){var t=Nr(e.getAttribute("id"));return!!s.querySelector('[headers~="'.concat(t,'"]'))}return!1};function Ig(e,t,n,r){var a,o=n[t.y]?n[t.y][t.x]:void 0;return o?"function"==typeof r&&!0===(a=r(o,t,n))?[o]:((a=Ig(e,{x:t.x+e.x,y:t.y+e.y},n,r)).unshift(o),a):[]}var Pg=function(e,t,n,r){if(Array.isArray(t)&&(r=n,n=t,t={x:0,y:0}),"string"==typeof e)switch(e){case"left":e={x:-1,y:0};break;case"up":e={x:0,y:-1};break;case"right":e={x:1,y:0};break;case"down":e={x:0,y:1}}return Ig(e,{x:t.x+e.x,y:t.y+e.y},n,r)},Lg=/[;,\s]/,jg=/^[0-9.]+$/;function $g(e){switch(e){case"lighter":return 100;case"normal":return 400;case"bold":return 700;case"bolder":return 900}return e=parseInt(e),isNaN(e)?400:e}function qg(e){var t=i.getComputedStyle(function(e){for(var t=e,n=e.textContent.trim(),r=n;r===n&&void 0!==t;){var a=-1;if(0===(e=t).children.length)return e;do{a++,r=e.children[a].textContent.trim()}while(""===r&&a+1<e.children.length);t=e.children[a]}return e}(e));return{fontWeight:$g(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:"italic"===t.getPropertyValue("font-style")}}function Vg(e,t,n){return n.reduce((function(n,r){return n||(!r.size||e.fontSize/r.size>t.fontSize)&&(!r.weight||e.fontWeight-r.weight>t.fontWeight)&&(!r.italic||e.isItalic&&!t.isItalic)}),!1)}var zg=["alert","log","status"];function Ug(e,t){var n=e.actualNode;if("button"===Ju(e)||function(e,t){var n=e.actualNode,r=Ju(e),a=(n.getAttribute("aria-live")||"").toLowerCase().trim(),o=Yh("landmark");return!(!["assertive","polite"].includes(a)&&!zg.includes(r))||(!!o.includes(r)||!(!t.regionMatcher||!Wu(e,t.regionMatcher)))}(e,t)||["iframe","frame"].includes(e.props.nodeName)||Of(e.actualNode)&&Xi(e.actualNode,"href")||!os(n)){for(var r=e;r;)r._hasRegionDescendant=!0,r=r.parent;return["iframe","frame"].includes(e.props.nodeName)?[e]:[]}return n!==s.body&&Qs(n,!0)?[e]:e.children.filter((function(e){return 1===e.actualNode.nodeType})).map((function(e){return Ug(e,t)})).reduce((function(e,t){return e.concat(t)}),[])}function Hg(e){return"caption"===e.props.nodeName}function Wg(e){return!e||"true"!==e.getAttribute("aria-hidden")&&Wg(ai(e))}var Kg=function(e,t,n){return n.initiator},Gg={emoji:!0,nonBmp:!1,punctuations:!0},Yg=function(e,t){try{return"svg"===t.props.nodeName||!!Na(t,"svg")}catch(e){return!1}},Qg=["article","aside","main","nav","section"].join(","),Xg=function(e,t){var n=wu(t);return!(n&&!["none","presentation"].includes(n)&&!(mu[n]||{}).accessibleNameRequired&&!ou(t))};function Zg(e){var t;if(null==e||null===(t=e.ownerDocument)||void 0===t||!t.createRange)return!0;var n=e.ownerDocument.createRange();return n.setStart(e,0),n.setEnd(e,e.childNodes.length),0===n.getClientRects().length}var Jg=[function(e,t){return ev(t)},function(e,t){return function(e){return"area"!==e.props.nodeName}(t)},function(e,t){return!Yg(0,t)},function(e,t){return ou(t)},function(e,t){return iu(t)||!tv(t)},function(e){return!ul(e,{noLengthCompare:!0})}];function ev(e){return"widget"===rl(e)}var tv=Pr((function e(t){return!(null==t||!t.parent)&&(!(!ev(t.parent)||!iu(t.parent))||e(t.parent))})),nv={"abstractrole-evaluate":function(e,t,n){var r=Gf(n.attr("role")).filter((function(e){return"abstract"===rl(e)}));return r.length>0&&(this.data(r),!0)},"accesskeys-after":function(e){var t={};return e.filter((function(e){if(!e.data)return!1;var n=e.data.toUpperCase();return t[n]?(t[n].relatedNodes.push(e.relatedNodes[0]),!1):(t[n]=e,e.relatedNodes=[],!0)})).map((function(e){return e.result=!!e.relatedNodes.length,e}))},"accesskeys-evaluate":function(e,t,n){return ti(n)||(this.data(n.attr("accesskey")),this.relatedNodes([e])),!0},"alt-space-value-evaluate":function(e,t,n){var r=n.attr("alt");return"string"==typeof r&&/^\s+$/.test(r)},"aria-allowed-attr-evaluate":function(e,t,n){var r=[],a=Ju(n),o=qh(a);Array.isArray(t[a])&&(o=nh(t[a].concat(o)));var i,u=ne(n.attrNames);try{for(u.s();!(i=u.n()).done;){var s=i.value;fm(s)&&!o.includes(s)&&r.push(s)}}catch(e){u.e(e)}finally{u.f()}return!r.length||(this.data(r.map((function(e){return e+'="'+n.attr(e)+'"'}))),!(a||Up(n)||ou(n))&&void 0)},"aria-allowed-attr-matches":function(e,t){var n=/^aria-/,r=t.attrNames;if(r.length)for(var a=0,o=r.length;a<o;a++)if(n.test(r[a]))return!0;return!1},"aria-allowed-role-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=t.allowImplicit,a=void 0===r||r,o=t.ignoredTags,i=void 0===o?[]:o,u=n.props.nodeName;if(i.map((function(e){return e.toLowerCase()})).includes(u))return!0;var s=Gh(n,a);if(s.length){if(this.data(s),!os(n))return;return!1}return!0},"aria-allowed-role-matches":function(e,t){return null!==wu(t,{dpub:!0,fallback:!0})},"aria-busy-evaluate":function(e,t,n){return"true"===n.attr("aria-busy")},"aria-conditional-attr-evaluate":function(e,t,n){var r=Ju(n);return!mm[r]||mm[r].call(this,e,t,n)},"aria-conditional-checkbox-attr-evaluate":pm,"aria-conditional-row-attr-evaluate":hm,"aria-errormessage-evaluate":function(e,t,n){t=Array.isArray(t)?t:[];var r=n.attr("aria-errormessage"),a=n.hasAttr("aria-errormessage"),o=n.attr("aria-invalid");return!n.hasAttr("aria-invalid")||"false"===o||-1!==t.indexOf(r)||!a||(this.data(Gf(r)),function(e){if(""===e.trim())return Du.ariaAttrs["aria-errormessage"].allowEmpty;var t;try{t=e&&cu(n,"aria-errormessage")[0]}catch(t){return void this.data({messageKey:"idrefs",values:Gf(e)})}return t?os(t)?"alert"===t.getAttribute("role")||"assertive"===t.getAttribute("aria-live")||"polite"===t.getAttribute("aria-live")||Gf(n.attr("aria-describedby")).indexOf(e)>-1:(this.data({messageKey:"hidden",values:Gf(e)}),!1):void 0}.call(this,r))},"aria-has-attr-matches":function(e,t){var n=/^aria-/;return t.attrNames.some((function(e){return n.test(e)}))},"aria-hidden-body-evaluate":function(e,t,n){return"true"!==n.attr("aria-hidden")},"aria-hidden-focus-matches":function(e){return Wg(ai(e))},"aria-label-evaluate":function(e,t,n){return!!Nu(pu(n))},"aria-labelledby-evaluate":function(e,t,n){try{return!!Nu(fu(n))}catch(e){return}},"aria-level-evaluate":function(e,t,n){var r=n.attr("aria-level");if(!(parseInt(r,10)>6))return!0},"aria-prohibited-attr-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=(null==t?void 0:t.elementsAllowedAriaLabel)||[],a=n.props.nodeName,o=Ju(n,{chromium:!0}),i=function(e,t,n){var r=Du.ariaRoles[e];return r?r.prohibitedAttrs||[]:e||n.includes(t)?[]:["aria-label","aria-labelledby"]}(o,a,r).filter((function(e){return!!n.attrNames.includes(e)&&""!==Nu(n.attr(e))}));if(0===i.length)return!1;var u=n.hasAttr("role")?"hasRole":"noRole";u+=i.length>1?"Plural":"Singular",this.data({role:o,nodeName:a,messageKey:u,prohibited:i});var s=ws(n,{subtreeDescendant:!0});return""===Nu(s)||void 0},"aria-required-attr-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=wu(n),a=n.attrNames,o=sm(r);if(Array.isArray(t[r])&&(o=nh(t[r],o)),!r||!a.length||!o.length)return!0;if(function(e,t){return"separator"===t&&!ou(e)}(n,r)||function(e,t){return"combobox"===t&&"false"===e.attr("aria-expanded")}(n,r))return!0;var i=Ku(n),u=o.filter((function(e){return!n.attr(e)&&!function(e,t){var n;return void 0!==(null===(n=e.implicitAttrs)||void 0===n?void 0:n[t])}(i,e)}));return!u.length||(this.data(u),!1)},"aria-required-children-evaluate":function(e,t,n){var r=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=wu(n,{dpub:!0}),o=cm(a);if(null===o)return!0;var i=function(e,t){for(var n,r=[],a=rs(e),o=function(){if(3===n.props.nodeType&&r.push({vNode:n,role:null}),1!==n.props.nodeType||!os(n))return"continue";var e=Ju(n,{noPresentational:!0}),o=function(e){return Fu().find((function(t){return e.hasAttr(t)}))}(n),i=!!o||ou(n);if(!e&&!i||["group","rowgroup"].includes(e)&&t.some((function(t){return t===e})))a.push.apply(a,W(n.children));else if(e||i){var u=o||"tabindex";r.push({role:e,attr:u,vNode:n})}};n=a.shift();)o();return r}(n,o),u=i.filter((function(e){var t=e.role;return 1===e.vNode.props.nodeType&&!o.includes(t)}));return u.length?(this.relatedNodes(u.map((function(e){return e.vNode}))),this.data({messageKey:"unallowed",values:u.map((function(e){return function(e,t){var n=e.props,r=n.nodeName;if(3===n.nodeType)return"#text";var a=wu(e,{dpub:!0});return a?"[role=".concat(a,"]"):t?r+"[".concat(t,"]"):r}(e.vNode,e.attr)})).filter((function(e,t,n){return n.indexOf(e)===t})).join(", ")}),!1):!!function(e,t){return t.some((function(t){var n=t.role;return n&&e.includes(n)}))}(o,i)||(this.data(o),!(!r.includes(a)||i.some(vm))&&void 0)},"aria-required-children-matches":function(e,t){var n=wu(t,{dpub:!0});return!!cm(n)},"aria-required-parent-evaluate":function(e,t,n){var r=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=Dm(n,r);if(!a)return!0;var o=function(e){for(var t=[],n=null;e;){if(e.getAttribute("id")){var r=Nr(e.getAttribute("id"));(n=_o(e).querySelector("[aria-owns~=".concat(r,"]")))&&t.push(n)}e=e.parentElement}return t.length?t:null}(e);if(o)for(var i=0,u=o.length;i<u;i++)if(!(a=Dm(sa(o[i]),r,a,!0)))return!0;return this.data(a),!1},"aria-required-parent-matches":function(e,t){var n=wu(t);return!!lm(n)},"aria-roledescription-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=Ju(arguments.length>2?arguments[2]:void 0);return!!(t.supportedRoles||[]).includes(n)||!(!n||"presentation"===n||"none"===n)&&void 0},"aria-unsupported-attr-evaluate":function(e,t,n){var r=n.attrNames.filter((function(t){var n=Du.ariaAttrs[t];if(!fm(t))return!1;var r=n.unsupported;return"object"!==l(r)?!!r:!Wu(e,r.exceptions)}));return!!r.length&&(this.data(r),!0)},"aria-valid-attr-evaluate":function(e,t,n){t=Array.isArray(t.value)?t.value:[];var r=[],a=/^aria-/;return n.attrNames.forEach((function(e){-1===t.indexOf(e)&&a.test(e)&&!fm(e)&&r.push(e)})),!r.length||(this.data(r),!1)},"aria-valid-attr-value-evaluate":function(e,t,n){t=Array.isArray(t.value)?t.value:[];var r="",a="",o=[],i=/^aria-/,u=["aria-errormessage"],s={"aria-controls":function(){return"false"!==n.attr("aria-expanded")&&"false"!==n.attr("aria-selected")},"aria-current":function(e){e||(r='aria-current="'.concat(n.attr("aria-current"),'"'),a="ariaCurrent")},"aria-owns":function(){return"false"!==n.attr("aria-expanded")},"aria-describedby":function(e){e||(r='aria-describedby="'.concat(n.attr("aria-describedby"),'"'),a=c._tree&&c._tree[0]._hasShadowRoot?"noIdShadow":"noId")},"aria-labelledby":function(e){e||(r='aria-labelledby="'.concat(n.attr("aria-labelledby"),'"'),a=c._tree&&c._tree[0]._hasShadowRoot?"noIdShadow":"noId")}};return n.attrNames.forEach((function(e){if(!u.includes(e)&&!t.includes(e)&&i.test(e)){var l,c=n.attr(e);try{l=dm(n,e)}catch(t){return r="".concat(e,'="').concat(c,'"'),void(a="idrefs")}s[e]&&!s[e](l)||l||(""!==c||function(e){var t;return"string"===(null===(t=Du.ariaAttrs[e])||void 0===t?void 0:t.type)}(e)?o.push("".concat(e,'="').concat(c,'"')):(r=e,a="empty"))}})),o.length?(this.data(o),!1):!r||void this.data({messageKey:a,needsReview:r})},"attr-non-space-content-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;if(!t.attribute||"string"!=typeof t.attribute)throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!n.hasAttr(t.attribute))return this.data({messageKey:"noAttr"}),!1;var r=n.attr(t.attribute);return!!Nu(r)||(this.data({messageKey:"emptyAttr"}),!1)},"autocomplete-appropriate-evaluate":function(e,t,n){if("input"!==n.props.nodeName)return!0;var r=["text","search","number","tel"],a=["text","search","url"],o={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":r,"cc-exp":["text","search","month","tel"],"cc-exp-month":r,"cc-exp-year":r,"cc-csc":r,"transaction-amount":r,"bday-day":r,"bday-month":r,"bday-year":r,"new-password":["text","search","password"],"current-password":["text","search","password"],url:a,photo:a,impp:a};"object"===l(t)&&Object.keys(t).forEach((function(e){o[e]||(o[e]=[]),o[e]=o[e].concat(t[e])}));var i=n.attr("autocomplete").split(/\s+/g).map((function(e){return e.toLowerCase()})),u=i[i.length-1];if(Ms.stateTerms.includes(u))return!0;var s=o[u],c=n.hasAttr("type")?Nu(n.attr("type")).toLowerCase():"text";return c=kh().includes(c)?c:"text",void 0===s?"text"===c:s.includes(c)},"autocomplete-matches":function(e,t){var n=t.attr("autocomplete");if(!n||""===Nu(n))return!1;var r=t.props.nodeName;if(!1===["textarea","input","select"].includes(r))return!1;if("input"===r&&["submit","reset","button","hidden"].includes(t.props.type))return!1;var a=t.attr("aria-disabled")||"false";if(t.hasAttr("disabled")||"true"===a.toLowerCase())return!1;var o=t.attr("role"),i=t.attr("tabindex");if("-1"===i&&o){var u=Du.ariaRoles[o];if(void 0===u||"widget"!==u.type)return!1}return!("-1"===i&&t.actualNode&&!ci(t)&&!os(t))},"autocomplete-valid-evaluate":function(e,t,n){var r=n.attr("autocomplete")||"";return Is(r,t)},"avoid-inline-spacing-evaluate":function(e,t){var n=t.cssProperties.filter((function(t){if("important"===e.style.getPropertyPriority(t))return t}));return!(n.length>0&&(this.data(n),1))},"braille-label-equivalent-evaluate":function(e,t,n){var r;if(!(null!==(r=n.attr("aria-braillelabel"))&&void 0!==r?r:"").trim())return!0;try{return""!==Nu(Ss(n))}catch(e){return}},"braille-roledescription-equivalent-evaluate":function(e,t,n){var r,a=null!==(r=n.attr("aria-brailleroledescription"))&&void 0!==r?r:"";if(""===Nu(a))return!0;var o=n.attr("aria-roledescription");return"string"!=typeof o?(this.data({messageKey:"noRoleDescription"}),!1):""!==Nu(o)||(this.data({messageKey:"emptyRoleDescription"}),!1)},"bypass-matches":function(e,t,n){return!Kg(0,0,n)||!!e.querySelector("a[href]")},"caption-evaluate":function(e,t,n){return!mh(n,"track").some((function(e){return"captions"===(e.attr("kind")||"").toLowerCase()}))&&void 0},"caption-faked-evaluate":function(e){var t=Cu(e),n=t[0];return t.length<=1||n.length<=1||e.rows.length<=1||n.reduce((function(e,t,r){return e||t!==n[r+1]&&void 0!==n[r+1]}),!1)},"color-contrast-evaluate":function(e,t,n){var r=t.ignoreUnicode,a=t.ignoreLength,o=t.ignorePseudo,u=t.boldValue,s=t.boldTextPt,l=t.largeTextPt,c=t.contrastRatio,d=t.shadowOutlineEmMax,f=t.pseudoSizeThreshold;if(!ci(e))return this.data({messageKey:"hidden"}),!0;var p=us(n,!1,!0);if(r&&function(e){var t={nonBmp:!0},n=Ns(e,t),r=""===Nu(Bs(e,t));return n&&r}(p))this.data({messageKey:"nonBmp"});else{var h=i.getComputedStyle(e),m=parseFloat(h.getPropertyValue("font-size")),g=h.getPropertyValue("font-weight"),v=parseFloat(g)>=u||"bold"===g,D=Math.ceil(72*m)/96,b=v&&D<s||!v&&D<l?c.normal:c.large,y=b.expected,w=b.minThreshold,E=b.maxThreshold,F=function(e,t){var n=t.pseudoSizeThreshold,r=void 0===n?.25:n,a=t.ignorePseudo;if(!(void 0!==a&&a)){var o=e.boundingClientRect,i=o.width*o.height*r;do{if(eg(e.actualNode,":before")+eg(e.actualNode,":after")>i)return e}while(e=e.parent)}}(n,{ignorePseudo:o,pseudoSizeThreshold:f});if(F)return this.data({fontSize:"".concat((72*m/96).toFixed(1),"pt (").concat(m,"px)"),fontWeight:v?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:y+":1"}),void this.relatedNodes(F.actualNode);var C=$m(e,{minRatio:.001,maxRatio:d});if(null!==C){var x=[],A=Km(e,x,d),k=Xm(e,!1,A,t),T=null,N=null,O=null;if(0===C.length)T=Qm(A,k);else if(k&&A){O=[].concat(W(C),[A]).reduce(Om);var S=Qm(A,k),R=Qm(A,O),B=Qm(O,k);(T=Math.max(S,R,B))!==S&&(N=R>B?"shadowOnBgColor":"fgOnShadowColor")}var _=T>y;if("number"==typeof w&&("number"!=typeof T||T<w)||"number"==typeof E&&("number"!=typeof T||T>E))return this.data({contrastRatio:T}),!0;var M,I=Math.floor(100*T)/100;null===A?M=pl.get("bgColor"):_||(M=N);var P=1===I,L=1===p.length;return P?M=pl.set("bgColor","equalRatio"):_||!L||a||(M="shortTextContent"),this.data({fgColor:k?k.toHexString():void 0,bgColor:A?A.toHexString():void 0,contrastRatio:I,fontSize:"".concat((72*m/96).toFixed(1),"pt (").concat(m,"px)"),fontWeight:v?"bold":"normal",messageKey:M,expectedContrastRatio:y+":1",shadowColor:O?O.toHexString():void 0}),null===k||null===A||P||L&&!a&&!_?(M=null,pl.clear(),void this.relatedNodes(x)):(_||this.relatedNodes(x),_)}this.data({messageKey:"complexTextShadows"})}},"color-contrast-matches":function(e,t){var n=t.props,r=n.nodeName,a=n.type;if("option"===r)return!1;if("select"===r&&!e.options.length)return!1;if("input"===r&&["hidden","range","color","checkbox","radio","image"].includes(a))return!1;if(Tg(t)||zi(t))return!1;if(["input","select","textarea"].includes(r)){var o=i.getComputedStyle(e),u=parseInt(o.getPropertyValue("text-indent"),10);if(u){var l=e.getBoundingClientRect();if(l={top:l.top,bottom:l.bottom,left:l.left+u,right:l.right+u},!Uf(l,e))return!1}return!0}var c=Io(t,"label");if("label"===r||c){var d=c||e,f=c?sa(c):t;if(d.htmlFor){var p=_o(d).getElementById(d.htmlFor),h=p&&sa(p);if(h&&Tg(h))return!1}var m=mh(f,'input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea')[0];if(m&&Tg(m))return!1}for(var g=[],v=t;v;){if(v.props.id){var D=Uh(v).filter((function(e){return Gf(e.getAttribute("aria-labelledby")||"").includes(v.props.id)})).map((function(e){return sa(e)}));g.push.apply(g,W(D))}v=v.parent}if(g.length>0&&g.every(Tg))return!1;if(!function(e){var t=us(e,!1,!0);return""!==t&&""!==Bs(t,Gg)&&e.children.some((function(e){return"#text"===e.props.nodeName&&!Os(e)}))}(t))return!1;for(var b=s.createRange(),y=t.children,w=0;w<y.length;w++){var E=y[w];3===E.actualNode.nodeType&&""!==Nu(E.actualNode.nodeValue)&&b.selectNodeContents(E.actualNode)}for(var F=b.getClientRects(),C=0;C<F.length;C++)if(Uf(F[C],e))return!0;return!1},"css-orientation-lock-evaluate":function(e,t,n,r){var a=(r||{}).cssom,o=void 0===a?void 0:a,i=(t||{}).degreeThreshold,u=void 0===i?0:i;if(o&&o.length){for(var s=!1,l=[],c=o.reduce((function(e,t){var n=t.sheet,r=t.root,a=t.shadowId||"topDocument";if(e[a]||(e[a]={root:r,rules:[]}),!n||!n.cssRules)return e;var o=Array.from(n.cssRules);return e[a].rules=e[a].rules.concat(o),e}),{}),d=function(){var e=p[f],t=c[e],n=t.root,r=t.rules.filter(h);if(!r.length)return"continue";r.forEach((function(e){var t=e.cssRules;Array.from(t).forEach((function(e){var t=function(e){var t=e.selectorText,n=e.style;if(!t||n.length<=0)return!1;var r=n.transform||n.webkitTransform||n.msTransform||!1;if(!r&&!n.rotate)return!1;var a=function(e){if(!e)return 0;var t=e.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!t)return 0;var n=Y(t,3);return m(n[1],n[2])}(r),o=a+m("rotate",n.rotate);return!!o&&(o=Math.abs(o),!(Math.abs(o-180)%180<=u)&&Math.abs(o-90)%90<=u)}(e);if(t&&"HTML"!==e.selectorText.toUpperCase()){var r=Array.from(n.querySelectorAll(e.selectorText))||[];l=l.concat(r)}s=s||t}))}))},f=0,p=Object.keys(c);f<p.length;f++)d();return!s||(l.length&&this.relatedNodes(l),!1)}function h(e){var t=e.type,n=e.cssText;return 4===t&&(/orientation:\s*landscape/i.test(n)||/orientation:\s*portrait/i.test(n))}function m(e,t){switch(e){case"rotate":case"rotateZ":return g(t);case"rotate3d":var n=Y(t.split(",").map((function(e){return e.trim()})),4),r=n[2],a=n[3];if(0===parseInt(r))return;return g(a);case"matrix":case"matrix3d":return function(e){var t=e.split(",");if(t.length<=6){var n=Y(t,2),r=n[0],a=n[1];return v(Math.atan2(parseFloat(a),parseFloat(r)))}var o=parseFloat(t[8]),i=Math.asin(o),u=Math.cos(i);return v(Math.acos(parseFloat(t[0])/u))}(t);default:return 0}}function g(e){var t=Y(e.match(/(deg|grad|rad|turn)/)||[],1)[0];if(!t)return 0;var n,r,a=parseFloat(e.replace(t,""));switch(t){case"rad":return v(a);case"grad":return r=a,(r%=400)<0&&(r+=400),Math.round(r/400*360);case"turn":return n=a,Math.round(360/(1/n));default:return parseInt(a)}}function v(e){return Math.round(e*(180/Math.PI))}},"data-table-large-matches":function(e){if(_g(e)){var t=Cu(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return!1},"data-table-matches":function(e){return _g(e)},"deprecatedrole-evaluate":function(e,t,n){var r=Ju(n,{dpub:!0,fallback:!0}),a=Du.ariaRoles[r];return!(null==a||!a.deprecated||(this.data(r),0))},"dlitem-evaluate":function(e){var t=ai(e),n=t.nodeName.toUpperCase(),r=wu(t);return"DIV"===n&&["presentation","none",null].includes(r)&&(n=(t=ai(t)).nodeName.toUpperCase(),r=wu(t)),"DL"===n&&!(r&&!["presentation","none","list"].includes(r))},"doc-has-title-evaluate":function(){var e=s.title;return!!Nu(e)},"duplicate-id-active-matches":function(e){var t=e.getAttribute("id").trim(),n='*[id="'.concat(Nr(t),'"]'),r=Array.from(_o(e).querySelectorAll(n));return!am(e)&&r.some(ou)},"duplicate-id-after":function(e){var t=[];return e.filter((function(e){return-1===t.indexOf(e.data)&&(t.push(e.data),!0)}))},"duplicate-id-aria-matches":function(e){return am(e)},"duplicate-id-evaluate":function(e){var t=e.getAttribute("id").trim();if(!t)return!0;var n=_o(e),r=Array.from(n.querySelectorAll('[id="'.concat(Nr(t),'"]'))).filter((function(t){return t!==e}));return r.length&&this.relatedNodes(r),this.data(t),0===r.length},"duplicate-id-misc-matches":function(e){var t=e.getAttribute("id").trim(),n='*[id="'.concat(Nr(t),'"]'),r=Array.from(_o(e).querySelectorAll(n));return!am(e)&&r.every((function(e){return!ou(e)}))},"duplicate-img-label-evaluate":function(e,t,n){if(["none","presentation"].includes(Ju(n)))return!1;var r=Na(n,t.parentSelector);if(!r)return!1;var a=us(r,!0).toLowerCase();return""!==a&&a===Ss(n).toLowerCase()},"exists-evaluate":function(){},"explicit-evaluate":function(e,t,n){var r=this;if(!n.attr("id"))return!1;if(n.actualNode){var a=_o(n.actualNode),o=Nr(n.attr("id")),i=Array.from(a.querySelectorAll('label[for="'.concat(o,'"]')));if(this.relatedNodes(i),!i.length)return!1;try{return i.some((function(e){if(ci(e)){var t=Nu(du(e,{inControlContext:!0,startNode:n}));return r.data({explicitLabel:t}),!!t}return!0}))}catch(e){return}}},"fallbackrole-evaluate":function(e,t,n){var r=Gf(n.attr("role"));return!(r.length<=1)&&(!function(e,t){return!Gu(e)&&2===t.length&&t.includes("none")&&t.includes("presentation")}(n,r)||void 0)},"focusable-content-evaluate":function(e,t,n){var r=n.tabbableElements;return!!r&&r.filter((function(e){return e!==n})).length>0},"focusable-disabled-evaluate":function(e,t,n){var r=["button","fieldset","input","select","textarea"],a=n.tabbableElements;if(!a||!a.length)return!0;var o=a.filter((function(e){return r.includes(e.props.nodeName)}));return this.relatedNodes(o.map((function(e){return e.actualNode}))),!(0!==o.length&&!sl())||!!o.every((function(e){var t=e.getComputedStylePropertyValue("pointer-events"),n=parseInt(e.getComputedStylePropertyValue("width")),r=parseInt(e.getComputedStylePropertyValue("height"));return e.actualNode.onfocus||(0===n||0===r)&&"none"===t}))&&void 0},"focusable-element-evaluate":function(e,t,n){return!(!n.hasAttr("contenteditable")||!function e(t){var r=t.attr("contenteditable");if("true"===r||""===r)return!0;if("false"===r)return!1;var a=Na(n.parent,"[contenteditable]");return!!a&&e(a)}(n))||iu(n)},"focusable-modal-open-evaluate":function(e,t,n){var r=n.tabbableElements.map((function(e){return e.actualNode}));return!r||!r.length||!sl()||void this.relatedNodes(r)},"focusable-no-name-evaluate":function(e,t,n){var r=n.attr("tabindex");if(!(ou(n)&&r>-1))return!1;try{return!Ss(n)}catch(e){return}},"focusable-not-tabbable-evaluate":function(e,t,n){var r=["button","fieldset","input","select","textarea"],a=n.tabbableElements;if(!a||!a.length)return!0;var o=a.filter((function(e){return!r.includes(e.props.nodeName)}));return this.relatedNodes(o.map((function(e){return e.actualNode}))),!(0!==o.length&&!sl())||!!o.every((function(e){var t=e.getComputedStylePropertyValue("pointer-events"),n=parseInt(e.getComputedStylePropertyValue("width")),r=parseInt(e.getComputedStylePropertyValue("height"));return e.actualNode.onfocus||(0===n||0===r)&&"none"===t}))&&void 0},"frame-focusable-content-evaluate":function(e,t,n){if(n.children)try{return!n.children.some((function(e){return ug(e)}))}catch(e){return}},"frame-focusable-content-matches":function(e,t,n){var r,a;return!n.initiator&&!n.focusable&&(null===(r=n.size)||void 0===r?void 0:r.width)*(null===(a=n.size)||void 0===a?void 0:a.height)>1},"frame-tested-after":function(e){var t={};return e.filter((function(e){if("html"!==e.node.ancestry[e.node.ancestry.length-1]){var n=e.node.ancestry.flat(1/0).join(" > ");return t[n]=e,!0}var r=e.node.ancestry.slice(0,e.node.ancestry.length-1).flat(1/0).join(" > ");return t[r]&&(t[r].result=!0),!1}))},"frame-tested-evaluate":function(e,t){return!t.isViolation&&void 0},"frame-title-has-text-matches":function(e){var t=e.getAttribute("title");return!!Nu(t)},"has-alt-evaluate":function(e,t,n){var r=n.props.nodeName;return!!["img","input","area"].includes(r)&&n.hasAttr("alt")},"has-descendant-after":function(e){return e.some((function(e){return!0===e.result}))&&e.forEach((function(e){e.result=!0})),e},"has-descendant-evaluate":function(e,t,n){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("has-descendant requires options.selector to be a string");if(t.passForModal&&sl())return!0;var r=ah(n,t.selector,(function(e){return os(e)}));return this.relatedNodes(r.map((function(e){return e.actualNode}))),r.length>0},"has-global-aria-attribute-evaluate":function(e,t,n){var r=Fu().filter((function(e){return n.hasAttr(e)}));return this.data(r),r.length>0},"has-implicit-chromium-role-matches":function(e,t){return null!==Gu(t,{chromium:!0})},"has-lang-evaluate":function(e,t,n){var r=void 0!==s&&Lr(s);return t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&fg(n.attr("xml:lang"))&&!fg(n.attr("lang"))&&!r?(this.data({messageKey:"noXHTML"}),!1):!!t.attributes.some((function(e){return fg(n.attr(e))}))||(this.data({messageKey:"noLang"}),!1)},"has-text-content-evaluate":function(e,t,n){try{return""!==Nu(ws(n))}catch(e){return}},"has-widget-role-evaluate":function(e){var t=e.getAttribute("role");if(null===t)return!1;var n=rl(t);return"widget"===n||"composite"===n},"heading-matches":function(e,t){return"heading"===Ju(t)},"heading-order-after":function(e){var t=function(e){return(e=W(e)).sort((function(e,t){var n=e.node,r=t.node;return n.ancestry.length-r.ancestry.length})),e.reduce(yg,[]).filter((function(e){return-1!==e.level}))}(e);return e.forEach((function(e){e.result=function(e,t){var n,r,a,o,i=wg(t,e.node.ancestry),u=null!==(n=null===(r=t[i])||void 0===r?void 0:r.level)&&void 0!==n?n:-1,s=null!==(a=null===(o=t[i-1])||void 0===o?void 0:o.level)&&void 0!==a?a:-1;return 0===i||(-1!==u?u-s<=1:void 0)}(e,t)})),e},"heading-order-evaluate":function(){var e=ua.get("headingOrder");if(e)return!0;var t=ah(c._tree[0],"h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",os);return e=t.map((function(e){return{ancestry:[na(e.actualNode)],level:Fg(e)}})),this.data({headingOrder:e}),ua.set("headingOrder",t),!0},"help-same-as-label-evaluate":function(e,t,n){var r=js(n),a=e.getAttribute("title");return!!r&&(a||(a="",e.getAttribute("aria-describedby")&&(a=cu(e,"aria-describedby").map((function(e){return e?du(e):""})).join(""))),Nu(a)===Nu(r))},"hidden-content-evaluate":function(e,t,n){if(!["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"].includes(e.nodeName.toUpperCase())&&Ys(n)){var r=i.getComputedStyle(e);if("none"===r.getPropertyValue("display"))return;if("hidden"===r.getPropertyValue("visibility")){var a=ai(e),o=a&&i.getComputedStyle(a);if(!o||"hidden"!==o.getPropertyValue("visibility"))return}}return!0},"hidden-explicit-label-evaluate":function(e,t,n){if(n.hasAttr("id")){if(!n.actualNode)return;var r=_o(e),a=Nr(e.getAttribute("id")),o=r.querySelector('label[for="'.concat(a,'"]'));if(o&&!os(o)){var i;try{i=Ss(n).trim()}catch(e){return}return""===i}}return!1},"html-namespace-matches":function(e,t){return!Yg(0,t)},"html5-scope-evaluate":function(e){return!nl(s)||"TH"===e.nodeName.toUpperCase()},"identical-links-same-purpose-after":function(e){if(e.length<2)return e;for(var t=e.filter((function(e){return void 0!==e.result})),n=[],r={},a=function(e){var a,o=t[e],i=o.data,u=i.name,s=i.urlProps;if(r[u])return"continue";var l=t.filter((function(t,n){return t.data.name===u&&n!==e})),c=l.every((function(e){return Cg(e.data.urlProps,s)}));l.length&&!c&&(o.result=void 0),o.relatedNodes=[],(a=o.relatedNodes).push.apply(a,W(l.map((function(e){return e.relatedNodes[0]})))),r[u]=l,n.push(o)},o=0;o<t.length;o++)a(o);return n},"identical-links-same-purpose-evaluate":function(e,t,n){var r=lu.accessibleTextVirtual(n),a=lu.sanitize(lu.removeUnicode(r,{emoji:!0,nonBmp:!0,punctuations:!0})).toLowerCase();if(a){var o={name:a,urlProps:Ro.urlPropsFromAttribute(e,"href")};return this.data(o),this.relatedNodes([e]),!0}},"identical-links-same-purpose-matches":function(e,t){if(!Ss(t))return!1;var n=Ju(e);return!n||"link"===n},"implicit-evaluate":function(e,t,n){try{var r=Na(n,"label");if(r){var a=Nu(Ss(r,{inControlContext:!0,startNode:n}));return r.actualNode&&this.relatedNodes([r.actualNode]),this.data({implicitLabel:a}),!!a}return!1}catch(e){return}},"inline-style-property-evaluate":function(e,t){var n=t.cssProperty,r=t.absoluteValues,a=t.minValue,o=t.maxValue,u=t.normalValue,s=void 0===u?0:u,l=t.noImportant,c=t.multiLineOnly;if(!l&&"important"!==e.style.getPropertyPriority(n)||c&&!ll(e))return!0;var d={};"number"==typeof a&&(d.minValue=a),"number"==typeof o&&(d.maxValue=o);var f=e.style.getPropertyValue(n);if(["inherit","unset","revert","revert-layer"].includes(f))return this.data(G({value:f},d)),!0;var p=function(e,t){var n=t.cssProperty,r=t.absoluteValues,a=t.normalValue,o=i.getComputedStyle(e),u=o.getPropertyValue(n);if("normal"===u)return a;var s=parseFloat(u);if(r)return s;var l=parseFloat(o.getPropertyValue("font-size")),c=Math.round(s/l*100)/100;return isNaN(c)?u:c}(e,{absoluteValues:r,cssProperty:n,normalValue:s});return this.data(G({value:p},d)),"number"==typeof p?("number"!=typeof a||p>=a)&&("number"!=typeof o||p<=o):void 0},"inserted-into-focus-order-matches":function(e){return Zs(e)},"internal-link-present-evaluate":function(e,t,n){return mh(n,"a[href]").some((function(e){return/^#[^/!]/.test(e.attr("href"))}))},"invalid-children-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=[],a=[];if(n.children){for(var o,i=hg(n.children);i.length;){var u,s=i.shift(),l=s.vChild,c=s.nested;if(!t.divGroups||c||"div"!==(o=l).props.nodeName||null!==wu(o)){var d=pg(l,c,t);d&&(a.includes(d)||a.push(d),1===(null==l||null===(u=l.actualNode)||void 0===u?void 0:u.nodeType)&&r.push(l.actualNode))}else{if(!l.children)return;var f=hg(l.children,!0);i.push.apply(i,W(f))}}return 0!==a.length&&(this.data({values:a.join(", ")}),this.relatedNodes(r),!0)}},"invalidrole-evaluate":function(e,t,n){var r=Gf(n.attr("role"));return!!r.every((function(e){return!yu(e,{allowAbstract:!0})}))&&(this.data(r),!0)},"is-element-focusable-evaluate":function(e,t,n){return ou(n)},"is-initiator-matches":Kg,"is-on-screen-evaluate":function(e){return ci(e)},"is-visible-matches":function(e){return ci(e)},"is-visible-on-screen-matches":function(e,t){return ci(t)},"label-content-name-mismatch-evaluate":function(e,t,n){var r,a=null==t?void 0:t.pixelThreshold,o=null!==(r=null==t?void 0:t.occurrenceThreshold)&&void 0!==r?r:null==t?void 0:t.occuranceThreshold,i=du(e).toLowerCase();if(!(_s(i)<1)){var u=Nu(ws(n,{subtreeDescendant:!0,ignoreIconLigature:!0,pixelThreshold:a,occurrenceThreshold:o})).toLowerCase();return!u||(_s(u)<1?!!cg(u,i)||void 0:cg(u,i))}},"label-content-name-mismatch-matches":function(e,t){var n=Ju(e);return!!(n&&Yh("widget").includes(n)&&Xh().includes(n)&&(Nu(pu(t))||Nu(fu(e)))&&Nu(us(t)))},"label-matches":function(e,t){if("input"!==t.props.nodeName||!1===t.hasAttr("type"))return!0;var n=t.attr("type").toLowerCase();return!1===["hidden","image","button","submit","reset"].includes(n)},"landmark-has-body-context-matches":function(e,t){return e.hasAttribute("role")||!Io(t,"article, aside, main, nav, section")},"landmark-is-top-level-evaluate":function(e){var t=Yh("landmark"),n=ai(e),r=Ju(e);for(this.data({role:r});n;){var a=n.getAttribute("role");if(a||"FORM"===n.nodeName.toUpperCase()||(a=Gu(n)),a&&t.includes(a)&&("main"!==a||"complementary"!==r))return!1;n=ai(n)}return!0},"landmark-is-unique-after":function(e){var t=[];return e.filter((function(e){var n=t.find((function(t){return e.data.role===t.data.role&&e.data.accessibleText===t.data.accessibleText}));return n?(n.result=!1,n.relatedNodes.push(e.relatedNodes[0]),!1):(t.push(e),e.relatedNodes=[],!0)}))},"landmark-is-unique-evaluate":function(e,t,n){var r=Ju(e),a=Ss(n);return a=a?a.toLowerCase():null,this.data({role:r,accessibleText:a}),this.relatedNodes([e]),!0},"landmark-unique-matches":function(e,t){return function(e){var t=Yh("landmark"),n=Ju(e);if(!n)return!1;var r=e.props.nodeName;return"header"===r||"footer"===r?!Na(e,Qg):"section"===r||"form"===r?!!Ss(e):t.indexOf(n)>=0||"region"===n}(t)&&os(t)},"layout-table-matches":function(e){return!_g(e)&&!ou(e)},"link-in-text-block-evaluate":function(e,t){var n=t.requiredContrastRatio,r=t.allowSameColor;if(ag(e))return!1;for(var a=ai(e);a&&1===a.nodeType&&!ag(a);)a=ai(a);if(a){this.relatedNodes([a]);var o=Xm(e),i=Xm(a),u=Km(e),s=Km(a),l=o&&i?ng(o,i):void 0;if(l&&(l=Math.floor(100*l)/100),l&&l>=n)return!0;var c=u&&s?ng(u,s):void 0;if(c&&(c=Math.floor(100*c)/100),c&&c>=n)return!0;if(!c){var d,f=null!==(d=pl.get("bgColor"))&&void 0!==d?d:"bgContrast";return this.data({messageKey:f}),void pl.clear()}if(l)return!(!r||1!==l||1!==c)||(1===l&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:n,nodeBackgroundColor:u?u.toHexString():void 0,parentBackgroundColor:s?s.toHexString():void 0}),!1):(this.data({messageKey:"fgContrast",contrastRatio:l,requiredContrastRatio:n,nodeColor:o?o.toHexString():void 0,parentColor:i?i.toHexString():void 0}),!1))}},"link-in-text-block-matches":function(e){var t=Nu(e.innerText),n=e.getAttribute("role");return(!n||"link"===n)&&!!t&&!!ci(e)&&ul(e)},"link-in-text-block-style-evaluate":function(e){if(ig(e))return!1;for(var t=ai(e);t&&1===t.nodeType&&!ig(t);)t=ai(t);if(t){if(this.relatedNodes([t]),Cm(e,t))return!0;if(!function(e){for(var t=0,n=["before","after"];t<n.length;t++){var r=n[t];if("none"!==i.getComputedStyle(e,":".concat(r)).getPropertyValue("content"))return!0}return!1}(e))return!1;this.data({messageKey:"pseudoContent"})}},"listitem-evaluate":function(e,t,n){var r=n.parent;if(r){var a=r.props.nodeName,o=wu(r);return!!["presentation","none","list"].includes(o)||(o&&yu(o)?(this.data({messageKey:"roleNotValid"}),!1):["ul","ol","menu"].includes(a))}},"matches-definition-evaluate":function(e,t,n){return Wu(n,t.matcher)},"meta-refresh-evaluate":function(e,t,n){var r=t||{},a=r.minDelay,o=r.maxDelay,i=Y((n.attr("content")||"").trim().split(Lg),1)[0];if(!i.match(jg))return!0;var u=parseFloat(i);return this.data({redirectDelay:u}),"number"==typeof a&&u<=t.minDelay||"number"==typeof o&&u>t.maxDelay},"meta-viewport-scale-evaluate":function(e,t,n){var r=t||{},a=r.scaleMinimum,o=void 0===a?2:a,i=r.lowerBound,u=void 0!==i&&i,s=n.attr("content")||"";if(!s)return!0;var l=s.split(/[;,]/).reduce((function(e,t){var n=t.trim();if(!n)return e;var r=Y(n.split("="),2),a=r[0],o=r[1];if(!a||!o)return e;var i=a.toLowerCase().trim(),u=o.toLowerCase().trim();return"maximum-scale"===i&&"yes"===u&&(u=1),"maximum-scale"===i&&parseFloat(u)<0||(e[i]=u),e}),{});if(u&&l["maximum-scale"]&&parseFloat(l["maximum-scale"])<u)return!0;if(!u&&"no"===l["user-scalable"])return this.data("user-scalable=no"),!1;var c=parseFloat(l["user-scalable"]);return!u&&l["user-scalable"]&&(c||0===c)&&c>-1&&c<1?(this.data("user-scalable"),!1):!(l["maximum-scale"]&&parseFloat(l["maximum-scale"])<o&&(this.data("maximum-scale"),1))},"multiple-label-evaluate":function(e){var t=Nr(e.getAttribute("id")),n=e.parentNode,r=_o(e);r=r.documentElement||r;var a=Array.from(r.querySelectorAll('label[for="'.concat(t,'"]')));for(a.length&&(a=a.filter((function(e){return!ti(e)})));n;)"LABEL"===n.nodeName.toUpperCase()&&-1===a.indexOf(n)&&a.push(n),n=n.parentNode;if(this.relatedNodes(a),a.length>1){var o=a.filter((function(e){return os(e)}));if(o.length>1)return;return!cu(e,"aria-labelledby").includes(o[0])&&void 0}return!1},"nested-interactive-matches":function(e,t){var n=Ju(t);return!!n&&!!Du.ariaRoles[n].childrenPresentational},"no-autoplay-audio-evaluate":function(e,t){if(e.duration){var n=t.allowedDuration,r=void 0===n?3:n;return function(e){if(!e.currentSrc)return 0;var t=function(e){var t=e.match(/#t=(.*)/);if(t)return Y(t,2)[1].split(",").map((function(e){return/:/.test(e)?function(e){for(var t=e.split(":"),n=0,r=1;t.length>0;)n+=r*parseInt(t.pop(),10),r*=60;return parseFloat(n)}(e):parseFloat(e)}))}(e.currentSrc);return t?1===t.length?Math.abs(e.duration-t[0]):Math.abs(t[1]-t[0]):Math.abs(e.duration-(e.currentTime||0))}(e)<=r&&!e.hasAttribute("loop")||!!e.hasAttribute("controls")}console.warn("axe.utils.preloadMedia did not load metadata")},"no-autoplay-audio-matches":function(e){return!!e.currentSrc&&!e.hasAttribute("paused")&&!e.hasAttribute("muted")},"no-empty-role-matches":function(e,t){return!!t.hasAttr("role")&&!!t.attr("role").trim()},"no-explicit-name-required-matches":Xg,"no-focusable-content-evaluate":function(e,t,n){if(n.children)try{var r=sg(n);if(!r.length)return!0;var a=r.filter(lg);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(r),!1}catch(e){return}},"no-implicit-explicit-label-evaluate":function(e,t,n){var r,a,o=Ju(n,{noImplicit:!0});this.data(o);try{r=Nu(Es(n)).toLowerCase(),a=Nu(Ss(n)).toLowerCase()}catch(e){return}return!(!a&&!r)&&!((a||!r)&&a.includes(r))&&void 0},"no-naming-method-matches":function(e,t){var n=Ku(t).namingMethods;return!(n&&0!==n.length||"combobox"===wu(t)&&mh(t,'input:not([type="hidden"])').length||om(t,{popupRoles:["listbox"]}))},"no-negative-tabindex-matches":function(e,t){var n=parseInt(t.attr("tabindex"),10);return isNaN(n)||n>=0},"no-role-matches":function(e,t){return!t.attr("role")},"non-empty-if-present-evaluate":function(e,t,n){var r=n.props.nodeName,a=(n.attr("type")||"").toLowerCase(),o=n.attr("value");return o&&this.data({messageKey:"has-label"}),!("input"!==r||!["submit","reset"].includes(a))&&null===o},"not-html-matches":function(e,t){return"html"!==t.props.nodeName},"object-is-loaded-matches":function(e,t){return[Xg,Zg].every((function(n){return n(e,t)}))},"only-dlitems-evaluate":function(e,t,n){var r=["definition","term","list"],a=n.children.reduce((function(e,t){var n=t.actualNode;return"DIV"===n.nodeName.toUpperCase()&&null===Ju(n)?e.concat(t.children):e.concat(t)}),[]).reduce((function(e,t){var n=t.actualNode,a=n.nodeName.toUpperCase();if(1===n.nodeType&&os(n)){var o=wu(n);("DT"!==a&&"DD"!==a||o)&&(r.includes(o)||e.badNodes.push(n))}else 3===n.nodeType&&""!==n.nodeValue.trim()&&(e.hasNonEmptyTextNode=!0);return e}),{badNodes:[],hasNonEmptyTextNode:!1});return a.badNodes.length&&this.relatedNodes(a.badNodes),!!a.badNodes.length||a.hasNonEmptyTextNode},"only-listitems-evaluate":function(e,t,n){var r=!1,a=!1,o=!0,i=[],u=[],s=[];return n.children.forEach((function(e){var t=e.actualNode;if(3!==t.nodeType||""===t.nodeValue.trim()){if(1===t.nodeType&&os(t)){o=!1;var n="LI"===t.nodeName.toUpperCase(),l=Ju(e),c="listitem"===l;n||c||i.push(t),n&&!c&&(u.push(t),s.includes(l)||s.push(l)),c&&(a=!0)}}else r=!0})),r||i.length?(this.relatedNodes(i),!0):!o&&!a&&(this.relatedNodes(u),this.data({messageKey:"roleNotValid",roles:s.join(", ")}),!0)},"p-as-heading-evaluate":function(e,t,n){var r=Array.from(e.parentNode.children),a=r.indexOf(e),o=(t=t||{}).margins||[],i=r.slice(a+1).find((function(e){return"P"===e.nodeName.toUpperCase()})),u=r.slice(0,a).reverse().find((function(e){return"P"===e.nodeName.toUpperCase()})),s=qg(e),l=i?qg(i):null,c=u?qg(u):null,d=t.passLength,f=t.failLength,p=e.textContent.trim().length,h=null==i?void 0:i.textContent.trim().length;if(p>h*d)return!0;if(!l||!Vg(s,l,o))return!0;var m=Io(n,"blockquote");return!!(m&&"BLOCKQUOTE"===m.nodeName.toUpperCase()||c&&!Vg(s,c,o)||p>h*f)&&void 0},"p-as-heading-matches":function(e){var t=Array.from(e.parentNode.childNodes),n=e.textContent.trim();return!(0===n.length||(n.match(/[.!?:;](?![.!?:;])/g)||[]).length>=2)&&0!==t.slice(t.indexOf(e)+1).filter((function(e){return"P"===e.nodeName.toUpperCase()&&""!==e.textContent.trim()})).length},"page-no-duplicate-after":function(e){return e.filter((function(e){return"ignored"!==e.data}))},"page-no-duplicate-evaluate":function(e,t,n){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("page-no-duplicate requires options.selector to be a string");var r="page-no-duplicate;"+t.selector;if(!ua.get(r)){ua.set(r,!0);var a=ah(c._tree[0],t.selector,(function(e){return os(e)}));return"string"==typeof t.nativeScopeFilter&&(a=a.filter((function(e){return e.actualNode.hasAttribute("role")||!Io(e,t.nativeScopeFilter)}))),"string"==typeof t.role&&(a=a.filter((function(e){return Ju(e)===t.role}))),this.relatedNodes(a.filter((function(e){return e!==n})).map((function(e){return e.actualNode}))),a.length<=1}this.data("ignored")},"presentation-role-conflict-matches":function(e,t){return null!==Gu(t,{chromiumRoles:!0})},"presentational-role-evaluate":function(e,t,n){var r=wu(n);if(["presentation","none"].includes(r)&&["iframe","frame"].includes(n.props.nodeName)&&n.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:n.props.nodeName}),!1;var a=Ju(n);if(["presentation","none"].includes(a))return this.data({role:a}),!0;if(!["presentation","none"].includes(r))return!1;var o,i=Fu().some((function(e){return n.hasAttr(e)})),u=ou(n);return o=i&&!u?"globalAria":!i&&u?"focusable":"both",this.data({messageKey:o,role:a}),!1},"region-after":function(e){var t=e.filter((function(e){return e.data.isIframe}));return e.forEach((function(e){if(!e.result&&1!==e.node.ancestry.length){var n,r=e.node.ancestry.slice(0,-1),a=ne(t);try{for(a.s();!(n=a.n()).done;){var o=n.value;if(Kp(r,o.node.ancestry)){e.result=o.result;break}}}catch(e){a.e(e)}finally{a.f()}}})),t.forEach((function(e){e.result||(e.result=!0)})),e},"region-evaluate":function(e,t,n){return this.data({isIframe:["iframe","frame"].includes(n.props.nodeName)}),!ua.get("regionlessNodes",(function(){return function(e){return Ug(c._tree[0],e).map((function(e){for(;e.parent&&!e.parent._hasRegionDescendant&&e.parent.actualNode!==s.body;)e=e.parent;return e})).filter((function(e,t,n){return n.indexOf(e)===t}))}(t)})).includes(n)},"same-caption-summary-evaluate":function(e,t,n){if(void 0!==n.children){var r=n.attr("summary"),a=n.children.find(Hg),o=!!a&&Nu(ws(a));return!(!o||!r)&&Nu(r).toLowerCase()===Nu(o).toLowerCase()}},"scope-value-evaluate":function(e,t){var n=e.getAttribute("scope").toLowerCase();return-1!==t.values.indexOf(n)},"scrollable-region-focusable-matches":function(e,t){return void 0!==Ip(e,13)&&!1===om(t)&&mh(t,"*").some((function(e){return Ys(e,!0,!0)}))},"skip-link-evaluate":function(e){var t=Xi(e,"href");return!!t&&(os(t)||void 0)},"skip-link-matches":function(e){return Of(e)&&si(e)},"structured-dlitems-evaluate":function(e,t,n){var r=n.children;if(!r||!r.length)return!1;for(var a,o=!1,i=!1,u=0;u<r.length;u++){if("DT"===(a=r[u].props.nodeName.toUpperCase())&&(o=!0),o&&"DD"===a)return!1;"DD"===a&&(i=!0)}return o||i},"svg-namespace-matches":Yg,"svg-non-empty-title-evaluate":function(e,t,n){if(n.children){var r=n.children.find((function(e){return"title"===e.props.nodeName}));if(!r)return this.data({messageKey:"noTitle"}),!1;try{if(""===ws(r,{includeHidden:!0}).trim())return this.data({messageKey:"emptyTitle"}),!1}catch(e){return}return!0}},"tabindex-evaluate":function(e,t,n){var r=parseInt(n.attr("tabindex"),10);return!!isNaN(r)||r<=0},"table-or-grid-role-matches":function(e,t){var n=Ju(t);return["treegrid","grid","table"].includes(n)},"target-offset-evaluate":function(e,t,n){var r,a,o=(null==t?void 0:t.minOffset)||24,i=[],u=o,s=ne($i(n,o));try{for(s.s();!(r=s.n()).done;){var l=r.value;if("widget"===rl(l)&&ou(l)){var c=2*(a=bi(n,l,o/2),Math.round(10*a)/10);c+.05>=o||(u=Math.min(u,c),i.push(l))}}}catch(e){s.e(e)}finally{s.f()}return 0===i.length?(this.data({closestOffset:u,minOffset:o}),!0):(this.relatedNodes(i.map((function(e){return e.actualNode}))),i.some(iu)?(this.data({closestOffset:u,minOffset:o}),!iu(n)&&void 0):void this.data({messageKey:"nonTabbableNeighbor",closestOffset:u,minOffset:o}))},"target-size-evaluate":function(e,t,n){var r=(null==t?void 0:t.minSize)||24,a=n.boundingClientRect,o=Di.bind(null,r),i=$i(n),u=function(e,t){return t.filter((function(t){return!mg(t,e)&&Dg(e,t)}))}(n,i),s=function(e,t){var n,r=[],a=[],o=ne(t);try{for(o.s();!(n=o.n()).done;){var i=n.value;!Dg(e,i)&&Ei(e,i)&&"none"!==gg(i)&&(mg(e,i)?r.push(i):a.push(i))}}catch(e){o.e(e)}finally{o.f()}return{fullyObscuringElms:r,partialObscuringElms:a}}(n,i),l=s.fullyObscuringElms,c=s.partialObscuringElms;if(l.length&&!u.length)return this.relatedNodes(bg(l)),this.data({messageKey:"obscured"}),!0;var d=!iu(n)&&void 0;if(!o(a)&&!u.length)return this.data(G({minSize:r},vg(a))),d;var f=c.filter((function(e){return"widget"===rl(e)&&ou(e)})),p=function(e,t){var n=e.boundingClientRect;return 0===t.length?null:function(e,t){return e.reduce((function(e,n){var r=Di(t,e);return r!==Di(t,n)?r?e:n:e.width*e.height>n.width*n.height?e:n}))}(Fi(n,t.map((function(e){return e.boundingClientRect}))))}(n,f);if(u.length&&(l.length||!o(p||a)))return this.data({minSize:r,messageKey:"contentOverflow"}),void this.relatedNodes(bg(u));if(0!==f.length&&!o(p)){var h=f.every(iu),m="partiallyObscured".concat(h?"":"NonTabbable");return this.data(G({messageKey:m,minSize:r},vg(p))),this.relatedNodes(bg(f)),h?d:void 0}return this.data(G({minSize:r},vg(p||a))),this.relatedNodes(bg(f)),!0},"td-has-header-evaluate":function(e){var t=[],n=Og(e),r=Cu(e);return n.forEach((function(e){Qs(e)&&Bg(e)&&!um(e)&&(Rg(e,r).some((function(e){return null!==e&&!!Qs(e)}))||t.push(e))})),!t.length||(this.relatedNodes(t),!1)},"td-headers-attr-evaluate":function(e){for(var t=[],n=[],r=[],a=0;a<e.rows.length;a++)for(var o=e.rows[a],i=0;i<o.cells.length;i++)t.push(o.cells[i]);var u=t.filter((function(e){return e.getAttribute("id")})).map((function(e){return e.getAttribute("id")}));return t.forEach((function(e){var t=!1,a=!1;if(e.hasAttribute("headers")&&os(e)){var o=e.getAttribute("headers").trim();if(!o)return n.push(e);var i=Gf(o);0!==i.length&&(e.getAttribute("id")&&(t=-1!==i.indexOf(e.getAttribute("id").trim())),a=i.some((function(e){return!u.includes(e)})),(t||a)&&r.push(e))}})),r.length>0?(this.relatedNodes(r),!1):!n.length||void this.relatedNodes(n)},"th-has-data-cells-evaluate":function(e){var t=Og(e),n=this,r=[];t.forEach((function(e){var t=e.getAttribute("headers");t&&(r=r.concat(t.split(/\s+/)));var n=e.getAttribute("aria-labelledby");n&&(r=r.concat(n.split(/\s+/)))}));var a=t.filter((function(e){return""!==Nu(e.textContent)&&("TH"===e.nodeName.toUpperCase()||-1!==["rowheader","columnheader"].indexOf(e.getAttribute("role")))})),o=Cu(e),i=!0;return a.forEach((function(e){if(!e.getAttribute("id")||!r.includes(e.getAttribute("id"))){var t=xu(e,o),a=!1;ku(e)&&(a=Pg("down",t,o).find((function(t){return!ku(t)&&Rg(t,o).includes(e)}))),!a&&Tu(e)&&(a=Pg("right",t,o).find((function(t){return!Tu(t)&&Rg(t,o).includes(e)}))),a||n.relatedNodes(e),i=i&&a}})),!!i||void 0},"title-only-evaluate":function(e,t,n){var r=js(n),a=ts(n),o=n.attr("aria-describedby");return!(r||!a&&!o)},"unique-frame-title-after":function(e){var t={};return e.forEach((function(e){t[e.data]=void 0!==t[e.data]?++t[e.data]:0})),e.forEach((function(e){e.result=!!t[e.data]})),e},"unique-frame-title-evaluate":function(e,t,n){var r=Nu(n.attr("title")).toLowerCase();return this.data(r),!0},"unsupportedrole-evaluate":function(e,t,n){var r=Ju(n,{dpub:!0,fallback:!0}),a=bu(r);return a&&this.data(r),a},"valid-lang-evaluate":function(e,t,n){var r=[];return t.attributes.forEach((function(e){var a=n.attr(e);if("string"==typeof a){var o=ap(a),i=t.value?!t.value.map(ap).includes(o):!Oh(o);(""!==o&&i||""!==a&&!Nu(a))&&r.push(e+'="'+n.attr(e)+'"')}})),!(!r.length||"html"!==n.props.nodeName&&!Xs(n)||(this.data(r),0))},"valid-scrollable-semantics-evaluate":function(e,t){return function(e,t){var n=wu(e);return n&&(ym[n]||t.roles.includes(n))||!1}(e,t)||function(e){var t=e.nodeName.toUpperCase();return bm[t]||!1}(e)},"widget-not-inline-matches":function(e,t){return Jg.every((function(n){return n(e,t)}))},"window-is-top-matches":function(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top},"xml-lang-mismatch-evaluate":function(e,t,n){return ap(n.attr("lang"))===ap(n.attr("xml:lang"))},"xml-lang-mismatch-matches":function(e){var t=ap(e.getAttribute("lang")),n=ap(e.getAttribute("xml:lang"));return Oh(t)&&Oh(n)}},rv=nv,av=function(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null};function ov(e){if("string"==typeof e){if(rv[e])return rv[e];if(/^\s*function[\s\w]*\(/.test(e))return new Function("return "+e+";")();throw new ReferenceError("Function ID does not exist in the metadata-function-map: ".concat(e))}return e}function iv(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(Array.isArray(e)||"object"!==l(e))&&(e={value:e}),e}function uv(e){e&&(this.id=e.id,this.configure(e))}uv.prototype.enabled=!0,uv.prototype.run=function(e,t,n,r,a){var o=(t=t||{}).hasOwnProperty("enabled")?t.enabled:this.enabled,i=this.getOptions(t.options);if(o){var u,s=new av(this),l=fa(s,t,r,a);try{u=this.evaluate.call(l,e.actualNode,i,e,n)}catch(t){return e&&e.actualNode&&(t.errorNode=wo.toSpec(e)),void a(t)}l.isAsync||(s.result=u,r(s))}else r(null)},uv.prototype.runSync=function(e,t,n){var r=(t=t||{}).enabled;if(!(void 0===r?this.enabled:r))return null;var a,o=this.getOptions(t.options),i=new av(this),u=fa(i,t);u.async=function(){throw new Error("Cannot run async check while in a synchronous run")};try{a=this.evaluate.call(u,e.actualNode,o,e,n)}catch(t){throw e&&e.actualNode&&(t.errorNode=wo.toSpec(e)),t}return i.result=a,i},uv.prototype.configure=function(e){var t=this;e.evaluate&&!rv[e.evaluate]||(this._internalCheck=!0),e.hasOwnProperty("enabled")&&(this.enabled=e.enabled),e.hasOwnProperty("options")&&(this._internalCheck?this.options=iv(e.options):this.options=e.options),["evaluate","after"].filter((function(t){return e.hasOwnProperty(t)})).forEach((function(n){return t[n]=ov(e[n])}))},uv.prototype.getOptions=function(e){return this._internalCheck?To(this.options,iv(e||{})):e||this.options};var sv=uv,lv=function(e){this.id=e.id,this.result=cr.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[]};function cv(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(kr(cr.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact),this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden,this.enabled="boolean"!=typeof e.enabled||e.enabled,this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel,this.reviewOnFail="boolean"==typeof e.reviewOnFail&&e.reviewOnFail,this.any=e.any||[],this.all=e.all||[],this.none=e.none||[],this.tags=e.tags||[],this.preload=!!e.preload,this.actIds=e.actIds,e.matches&&(this.matches=ov(e.matches))}function dv(e){if(e.length){var t=!1,n={};return e.forEach((function(e){var r=e.results.filter((function(e){return e}));n[e.type]=r,r.length&&(t=!0)})),t?n:null}}cv.prototype.matches=function(){return!0},cv.prototype.gather=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="mark_gather_start_"+this.id,r="mark_gather_end_"+this.id,a="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;t.performanceTimer&&eh.mark(n);var i=yh(this.selector,e);return this.excludeHidden&&(t.performanceTimer&&eh.mark(a),i=i.filter((function(e){return os(e)})),t.performanceTimer&&(eh.mark(o),eh.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",a,o))),t.performanceTimer&&(eh.mark(r),eh.measure("rule_"+this.id+"#gather",n,r)),i},cv.prototype.runChecks=function(e,t,n,r,a,o){var i=this,u=Ia();this[e].forEach((function(e){var a=i._audit.checks[e.id||e],o=hp(a,i.id,n);u.defer((function(e,n){a.run(t,o,r,e,n)}))})),u.then((function(t){t=t.filter((function(e){return e})),a({type:e,results:t})})).catch(o)},cv.prototype.runChecksSync=function(e,t,n,r){var a=this,o=[];return this[e].forEach((function(e){var i=a._audit.checks[e.id||e],u=hp(i,a.id,n);o.push(i.runSync(t,u,r))})),{type:e,results:o=o.filter((function(e){return e}))}},cv.prototype.run=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0;n.performanceTimer&&this._trackPerformance();var o,i=Ia(),u=new lv(this);try{o=this.gatherAndMatchNodes(e,n)}catch(e){return void a(new d({cause:e,ruleId:this.id}))}n.performanceTimer&&this._logGatherPerformance(o),o.forEach((function(r){i.defer((function(a,o){var i=Ia();["any","all","none"].forEach((function(a){i.defer((function(o,i){t.runChecks(a,r,n,e,o,i)}))})),i.then((function(e){var n=dv(e);n&&(n.node=new da(r),u.nodes.push(n),t.reviewOnFail&&(["any","all"].forEach((function(e){n[e].forEach((function(e){!1===e.result&&(e.result=void 0)}))})),n.none.forEach((function(e){!0===e.result&&(e.result=void 0)})))),a()})).catch((function(e){return o(e)}))}))})),i.defer((function(e){return setTimeout(e,0)})),n.performanceTimer&&this._logRulePerformance(),i.then((function(){return r(u)})).catch((function(e){return a(e)}))},cv.prototype.runSync=function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n.performanceTimer&&this._trackPerformance();var r,a=new lv(this);try{r=this.gatherAndMatchNodes(e,n)}catch(e){throw new d({cause:e,ruleId:this.id})}return n.performanceTimer&&this._logGatherPerformance(r),r.forEach((function(r){var o=[];["any","all","none"].forEach((function(a){o.push(t.runChecksSync(a,r,n,e))}));var i=dv(o);i&&(i.node=r.actualNode?new da(r):null,a.nodes.push(i),t.reviewOnFail&&(["any","all"].forEach((function(e){i[e].forEach((function(e){!1===e.result&&(e.result=void 0)}))})),i.none.forEach((function(e){!0===e.result&&(e.result=void 0)}))))})),n.performanceTimer&&this._logRulePerformance(),a},cv.prototype._trackPerformance=function(){this._markStart="mark_rule_start_"+this.id,this._markEnd="mark_rule_end_"+this.id,this._markChecksStart="mark_runchecks_start_"+this.id,this._markChecksEnd="mark_runchecks_end_"+this.id},cv.prototype._logGatherPerformance=function(e){dr("gather (",e.length,"):",eh.timeElapsed()+"ms"),eh.mark(this._markChecksStart)},cv.prototype._logRulePerformance=function(){eh.mark(this._markChecksEnd),eh.mark(this._markEnd),eh.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),eh.measure("rule_"+this.id,this._markStart,this._markEnd)},cv.prototype.gatherAndMatchNodes=function(e,t){var n=this,r="mark_matches_start_"+this.id,a="mark_matches_end_"+this.id,o=this.gather(e,t);return t.performanceTimer&&eh.mark(r),o=o.filter((function(t){return n.matches(t.actualNode,t,e)})),t.performanceTimer&&(eh.mark(a),eh.measure("rule_"+this.id+"#matches",r,a)),o},cv.prototype.after=function(e,t){var n,r=this,a=Eo(n=this).map((function(e){var t=n._audit.checks[e.id||e];return t&&"function"==typeof t.after?t:null})).filter(Boolean),o=this.id;return a.forEach((function(n){var a,i,u,s=(a=e.nodes,i=n.id,u=[],a.forEach((function(e){Eo(e).forEach((function(t){t.id===i&&(t.node=e.node,u.push(t))}))})),u),l=hp(n,o,t),c=n.after(s,l.options);r.reviewOnFail&&c.forEach((function(e){var t=(r.any.includes(e.id)||r.all.includes(e.id))&&!1===e.result,n=r.none.includes(e.id)&&!0===e.result;(t||n)&&(e.result=void 0)})),s.forEach((function(e){delete e.node,-1===c.indexOf(e)&&(e.filtered=!0)}))})),e.nodes=function(e){var t=["any","all","none"],n=e.nodes.filter((function(e){var n=0;return t.forEach((function(t){e[t]=e[t].filter((function(e){return!0!==e.filtered})),n+=e[t].length})),n>0}));return e.pageLevel&&n.length&&(n=[n.reduce((function(e,n){if(e)return t.forEach((function(t){e[t].push.apply(e[t],n[t])})),e}))]),n}(e),e},cv.prototype.configure=function(e){e.hasOwnProperty("selector")&&(this.selector=e.selector),e.hasOwnProperty("excludeHidden")&&(this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden),e.hasOwnProperty("enabled")&&(this.enabled="boolean"!=typeof e.enabled||e.enabled),e.hasOwnProperty("pageLevel")&&(this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel),e.hasOwnProperty("reviewOnFail")&&(this.reviewOnFail="boolean"==typeof e.reviewOnFail&&e.reviewOnFail),e.hasOwnProperty("any")&&(this.any=e.any),e.hasOwnProperty("all")&&(this.all=e.all),e.hasOwnProperty("none")&&(this.none=e.none),e.hasOwnProperty("tags")&&(this.tags=e.tags),e.hasOwnProperty("actIds")&&(this.actIds=e.actIds),e.hasOwnProperty("matches")&&(this.matches=ov(e.matches)),e.impact&&(kr(cr.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact)};var fv=ue(sr()),pv=/\{\{.+?\}\}/g,hv=function(){function e(t){Z(this,e),this.lang="en",this.defaultConfig=t,this.standards=Du,this._init(),this._defaultLocale=null}return ee(e,[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var e={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},t=Object.keys(this.data.checks),n=0;n<t.length;n++){var r=t[n],a=this.data.checks[r].messages,o=a.pass,i=a.fail,u=a.incomplete;e.checks[r]={pass:o,fail:i,incomplete:u}}for(var s=Object.keys(this.data.rules),l=0;l<s.length;l++){var c=s[l],d=this.data.rules[c],f=d.description,p=d.help;e.rules[c]={description:f,help:p}}for(var h=Object.keys(this.data.failureSummaries),m=0;m<h.length;m++){var g=h[m],v=this.data.failureSummaries[g].failureMessage;e.failureSummaries[g]={failureMessage:v}}e.incompleteFallbackMessage=this.data.incompleteFallbackMessage,this._defaultLocale=e}}},{key:"_resetLocale",value:function(){var e=this._defaultLocale;e&&this.applyLocale(e)}},{key:"_applyCheckLocale",value:function(e){for(var t=Object.keys(e),n=0;n<t.length;n++){var r=t[n];if(!this.data.checks[r])throw new Error('Locale provided for unknown check: "'.concat(r,'"'));this.data.checks[r]=Dv(this.data.checks[r],e[r])}}},{key:"_applyRuleLocale",value:function(e){for(var t=Object.keys(e),n=0;n<t.length;n++){var r=t[n];if(!this.data.rules[r])throw new Error('Locale provided for unknown rule: "'.concat(r,'"'));this.data.rules[r]=bv(this.data.rules[r],e[r])}}},{key:"_applyFailureSummaries",value:function(e){for(var t=Object.keys(e),n=0;n<t.length;n++){var r=t[n];if(!this.data.failureSummaries[r])throw new Error('Locale provided for unknown failureMessage: "'.concat(r,'"'));this.data.failureSummaries[r]=yv(this.data.failureSummaries[r],e[r])}}},{key:"applyLocale",value:function(e){this._setDefaultLocale(),e.checks&&this._applyCheckLocale(e.checks),e.rules&&this._applyRuleLocale(e.rules),e.failureSummaries&&this._applyFailureSummaries(e.failureSummaries,"failureSummaries"),e.incompleteFallbackMessage&&(this.data.incompleteFallbackMessage=wv(this.data.incompleteFallbackMessage,e.incompleteFallbackMessage)),e.lang&&(this.lang=e.lang)}},{key:"setAllowedOrigins",value:function(e){var t=gv();this.allowedOrigins=[];var n,r=ne(e);try{for(r.s();!(n=r.n()).done;){var a=n.value;if(a===cr.allOrigins)return void(this.allowedOrigins=["*"]);a!==cr.sameOrigin?this.allowedOrigins.push(a):t&&this.allowedOrigins.push(t)}}catch(e){r.e(e)}finally{r.f()}}},{key:"_init",value:function(){var e=function(e){var t;if(e?(t=pa(e)).commons=e.commons:t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||!1,!t.allowedOrigins){var n=gv();t.allowedOrigins=n?[n]:[]}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=G({checks:{},rules:{}},t.data),t}(this.defaultConfig);this.lang=e.lang||"en",this.reporter=e.reporter,this.commands={},this.rules=[],this.checks={},this.brand="axe",this.application="axeAPI",this.tagExclude=["experimental"],this.noHtml=e.noHtml,this.allowedOrigins=e.allowedOrigins,vv(e.rules,this,"addRule"),vv(e.checks,this,"addCheck"),this.data={},this.data.checks=e.data&&e.data.checks||{},this.data.rules=e.data&&e.data.rules||{},this.data.failureSummaries=e.data&&e.data.failureSummaries||{},this.data.incompleteFallbackMessage=e.data&&e.data.incompleteFallbackMessage||"",this._constructHelpUrls()}},{key:"registerCommand",value:function(e){this.commands[e.id]=e.callback}},{key:"addRule",value:function(e){e.metadata&&(this.data.rules[e.id]=e.metadata);var t=this.getRule(e.id);t?t.configure(e):this.rules.push(new cv(e,this))}},{key:"addCheck",value:function(e){var t=e.metadata;"object"===l(t)&&(this.data.checks[e.id]=t,"object"===l(t.messages)&&Object.keys(t.messages).filter((function(e){return t.messages.hasOwnProperty(e)&&"string"==typeof t.messages[e]})).forEach((function(e){0===t.messages[e].indexOf("function")&&(t.messages[e]=new Function("return "+t.messages[e]+";")())}))),this.checks[e.id]?this.checks[e.id].configure(e):this.checks[e.id]=new sv(e)}},{key:"run",value:function(e,t,n,r){this.normalizeOptions(t),da.setRunOptions(t),c._selectCache=[];var a=function(e,t,n){return e.reduce((function(e,r){return vh(r,t,n)?r.preload?(e.later.push(r),e):(e.now.push(r),e):e}),{now:[],later:[]})}(this.rules,e,t),o=a.now,i=a.later,u=Ia();o.forEach((function(n){u.defer(Ev(n,e,t))}));var s=Ia();i.length&&s.defer((function(e){ch(t).then((function(t){return e(t)})).catch((function(t){console.warn("Couldn't load preload assets: ",t),e(void 0)}))}));var l=Ia();l.defer(u),l.defer(s),l.then((function(a){var o=a.pop();if(o&&o.length){var u=o[0];u&&(e=G({},e,u))}var s=a[0];if(!i.length)return c._selectCache=void 0,void n(s.filter((function(e){return!!e})));var l=Ia();i.forEach((function(n){var r=Ev(n,e,t);l.defer(r)})),l.then((function(e){c._selectCache=void 0,n(s.concat(e).filter((function(e){return!!e})))})).catch(r)})).catch(r)}},{key:"after",value:function(e,t){var n=this.rules;return e.map((function(e){var r=Fo(n,"id",e.id);if(!r)throw new Error("Result for unknown rule. You may be running mismatch axe-core versions");return r.after(e,t)}))}},{key:"getRule",value:function(e){return this.rules.find((function(t){return t.id===e}))}},{key:"normalizeOptions",value:function(e){var t=[],n=[];if(this.rules.forEach((function(e){n.push(e.id),e.tags.forEach((function(e){t.includes(e)||t.push(e)}))})),["object","string"].includes(l(e.runOnly))){if("string"==typeof e.runOnly&&(e.runOnly=[e.runOnly]),Array.isArray(e.runOnly)){var r=e.runOnly.find((function(e){return t.includes(e)})),a=e.runOnly.find((function(e){return n.includes(e)}));if(r&&a)throw new Error("runOnly cannot be both rules and tags");e.runOnly=a?{type:"rule",values:e.runOnly}:{type:"tag",values:e.runOnly}}var o=e.runOnly;if(o.value&&!o.values&&(o.values=o.value,delete o.value),!Array.isArray(o.values)||0===o.values.length)throw new Error("runOnly.values must be a non-empty array");if(["rule","rules"].includes(o.type))o.type="rule",o.values.forEach((function(e){if(!n.includes(e))throw new Error("unknown rule `"+e+"` in options.runOnly")}));else{if(!["tag","tags",void 0].includes(o.type))throw new Error("Unknown runOnly type '".concat(o.type,"'"));o.type="tag";var i=o.values.filter((function(e){return!t.includes(e)&&!/wcag2[1-3]a{1,3}/.test(e)}));0!==i.length&&c.log("Could not find tags `"+i.join("`, `")+"`")}}return"object"===l(e.rules)&&Object.keys(e.rules).forEach((function(e){if(!n.includes(e))throw new Error("unknown rule `"+e+"` in options.rules")})),e}},{key:"setBranding",value:function(e){var t={brand:this.brand,application:this.application};"string"==typeof e&&(this.application=e),e&&e.hasOwnProperty("brand")&&e.brand&&"string"==typeof e.brand&&(this.brand=e.brand),e&&e.hasOwnProperty("application")&&e.application&&"string"==typeof e.application&&(this.application=e.application),this._constructHelpUrls(t)}},{key:"_constructHelpUrls",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=(c.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach((function(r){e.data.rules[r.id]||(e.data.rules[r.id]={});var a=e.data.rules[r.id];("string"!=typeof a.helpUrl||t&&a.helpUrl===Fv(t,r.id,n))&&(a.helpUrl=Fv(e,r.id,n))}))}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale()}}]),e}(),mv=hv;function gv(){return i.origin&&"null"!==i.origin?i.origin:i.location&&i.location.origin&&"null"!==i.location.origin?i.location.origin:void 0}function vv(e,t,n){var r,a;for(r=0,a=e.length;r<a;r++)t[n](e[r])}var Dv=function(e,t){var n=t.pass,r=t.fail;return"string"==typeof n&&pv.test(n)&&(n=fv.default.compile(n)),"string"==typeof r&&pv.test(r)&&(r=fv.default.compile(r)),G({},e,{messages:{pass:n||e.messages.pass,fail:r||e.messages.fail,incomplete:"object"===l(e.messages.incomplete)?G({},e.messages.incomplete,t.incomplete):t.incomplete}})},bv=function(e,t){var n=t.help,r=t.description;return"string"==typeof n&&pv.test(n)&&(n=fv.default.compile(n)),"string"==typeof r&&pv.test(r)&&(r=fv.default.compile(r)),G({},e,{help:n||e.help,description:r||e.description})},yv=function(e,t){var n=t.failureMessage;return"string"==typeof n&&pv.test(n)&&(n=fv.default.compile(n)),G({},e,{failureMessage:n||e.failureMessage})},wv=function(e,t){return"string"==typeof t&&pv.test(t)&&(t=fv.default.compile(t)),t||e};function Ev(e,t,n){return n.performanceTimer&&eh.mark("mark_rule_start_"+e.id),function(r,a){e.run(t,n,(function(e){r(e)}),(function(t){if(n.debug)a(t);else{var o=Object.assign(new lv(e),{result:cr.CANTTELL,description:"An error occured while running this rule",message:t.message,stack:t.stack,error:t,errorNode:t.errorNode});r(o)}}))}}function Fv(e,t,n){var r=e.brand,a=e.application,o=e.lang;return cr.helpUrlBase+r+"/"+(n||c.version.substring(0,c.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(a)+(o&&"en"!==o?"&lang="+encodeURIComponent(o):"")}function Cv(e){var t=i&&"Node"in i&&"NodeList"in i,n=!!s;if(!t||!n){if(!e||!e.ownerDocument)throw new Error('Required "window" or "document" globals not defined and cannot be deduced from the context. Either set the globals before running or pass in a valid Element.');n||(ua.set("globalDocumentSet",!0),s=e.ownerDocument),t||(ua.set("globalWindowSet",!0),i=s.defaultView)}}var xv=function(){ua.get("globalDocumentSet")&&(ua.set("globalDocumentSet",!1),s=null),ua.get("globalWindowSet")&&(ua.set("globalWindowSet",!1),i=null),c._memoizedFns.forEach((function(e){return e.clear()})),ua.clear(),c._tree=void 0,c._selectorData=void 0,c._selectCache=void 0};function Av(e,t,n,r){try{e=new Rp(e),c._tree=e.flatTree,c._selectorData=Gr(e.flatTree)}catch(e){return xv(),r(e)}var a=Ia(),o=c._audit;t.performanceTimer&&eh.auditStart(),e.frames.length&&!1!==t.iframes&&a.defer((function(n,r){Ao(e,t,"rules",null,n,r)})),a.defer((function(n,r){o.run(e,t,n,r)})),a.then((function(a){try{t.performanceTimer&&eh.auditEnd();var i=xo(a.map((function(e){return{results:e}})));e.initiator&&((i=o.after(i,t)).forEach(ph),i=i.map(Er));try{n(i,xv)}catch(e){xv(),dr(e)}}catch(e){xv(),r(e)}})).catch((function(e){xv(),r(e)}))}function kv(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach((function(e){c._audit.registerCommand(e)}))}i.top!==i&&(ho.subscribe("axe.start",(function(e,t,n){var r=n,a=function(e){e instanceof Error==0&&(e=new Error(e)),n(e)},o=e&&e.context||{};o.hasOwnProperty("include")&&!o.include.length&&(o.include=[s]);var i=e&&e.options||{};switch(e.command){case"rules":return Av(o,i,(function(e,t){e=wo.mapRawResults(e),r(e),t()}),a);case"cleanup-plugin":return Ih(r,a);default:if(c._audit&&c._audit.commands&&c._audit.commands[e.command])return c._audit.commands[e.command](e,n)}})),ho.subscribe("axe.ping",(function(e,t,n){n({axe:!0})}))),kv.prototype.run=function(){return this._run.apply(this,arguments)},kv.prototype.collect=function(){return this._collect.apply(this,arguments)},kv.prototype.cleanup=function(e){var t=c.utils.queue(),n=this;Object.keys(this._registry).forEach((function(e){t.defer((function(t){n._registry[e].cleanup(t)}))})),t.then(e)},kv.prototype.add=function(e){this._registry[e.id]=e};function Tv(e){var t,n,r,a,o=Y(e,3),i=o[0],u=o[1],d=o[2],f=new TypeError("axe.run arguments are invalid");if(!wp(a=i)&&!Ep(a)){if(void 0!==d)throw f;d=u,u=i,i=s}if("object"!==l(u)){if(void 0!==d)throw f;d=u,u={}}if("function"!=typeof d&&void 0!==d)throw f;return(u=pa(u)).reporter=null!==(t=null!==(n=u.reporter)&&void 0!==n?n:null===(r=c._audit)||void 0===r?void 0:r.reporter)&&void 0!==t?t:"v1",{context:i,options:u,callback:d}}var Nv=function(){};function Ov(e){var t=e.frames,n=e.frameSpec;return n?t.map((function(e){return wo.mergeSpecs(e,n)})):t}var Sv=function(e,t,n){if("function"==typeof t&&(n=t,t={}),!e||!Array.isArray(e))return n(e);n(e.map((function(e){for(var t=G({},e),n=0,r=["passes","violations","incomplete","inapplicable"];n<r.length;n++){var a=r[n];t[a]=wo.mapRawNodeResults(t[a])}return t})))},Rv={base:{Audit:mv,CheckResult:av,Check:sv,Context:Rp,RuleResult:lv,Rule:cv,metadataFunctionMap:rv},public:{reporters:Ph},helpers:{failureSummary:op,incompleteFallbackMessage:ip,processAggregate:sp},utils:{setDefaultFrameMessenger:fo,cacheNodeSelectors:ep,getNodesMatchingExpression:Qf,convertSelector:Aa},commons:{dom:{nativelyHidden:zo,displayHidden:Uo,visibilityHidden:Ho,contentVisibiltyHidden:Wo,ariaHidden:Ko,opacityHidden:Go,scrollHidden:Yo,overflowHidden:Qo,clipHidden:Xo,areaHidden:Zo,detailsHidden:Jo}}};c._thisWillBeDeletedDoNotUse=Rv,c.constants=cr,c.log=dr,c.AbstractVirtualNode=pr,c.SerialVirtualNode=Mh,c.VirtualNode=Kf,c._cache=ua,c.imports=ml,c.cleanup=Ih,c.configure=function(e){var t;if(!(t=c._audit))throw new Error("No audit configured");if(e.axeVersion||e.ver){var n=e.axeVersion||e.ver;if(!/^\d+\.\d+\.\d+(-canary)?/.test(n))throw new Error("Invalid configured version ".concat(n));var r=Y(n.split("-"),2),a=r[0],o=r[1],i=Y(a.split(".").map(Number),3),u=i[0],s=i[1],l=i[2],d=Y(c.version.split("-"),2),f=d[0],p=d[1],h=Y(f.split(".").map(Number),3),m=h[0],g=h[1],v=h[2];if(u!==m||g<s||g===s&&v<l||u===m&&s===g&&l===v&&o&&o!==p)throw new Error("Configured version ".concat(n," is not compatible with current axe version ").concat(c.version))}if(e.reporter&&("function"==typeof e.reporter||Lh(e.reporter))&&(t.reporter=e.reporter),e.checks){if(!Array.isArray(e.checks))throw new TypeError("Checks property must be an array");e.checks.forEach((function(e){if(!e.id)throw new TypeError("Configured check ".concat(JSON.stringify(e)," is invalid. Checks must be an object with at least an id property"));t.addCheck(e)}))}var D,b=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach((function(e){if(!e.id)throw new TypeError("Configured rule ".concat(JSON.stringify(e)," is invalid. Rules must be an object with at least an id property"));b.push(e.id),t.addRule(e)}))}if(e.disableOtherRules&&t.rules.forEach((function(e){!1===b.includes(e.id)&&(e.enabled=!1)})),void 0!==e.branding?t.setBranding(e.branding):t._constructHelpUrls(),e.tagExclude&&(t.tagExclude=e.tagExclude),e.locale&&t.applyLocale(e.locale),e.standards&&(D=e.standards,Object.keys(vu).forEach((function(e){D[e]&&(vu[e]=To(vu[e],D[e]))}))),e.noHtml&&(t.noHtml=!0),e.allowedOrigins){if(!Array.isArray(e.allowedOrigins))throw new TypeError("Allowed origins property must be an array");if(e.allowedOrigins.includes("*"))throw new Error('"*" is not allowed. Use "'.concat(cr.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins)}},c.frameMessenger=function(e){ho.updateMessenger(e)},c.getRules=function(e){var t=(e=e||[]).length?c._audit.rules.filter((function(t){return!!e.filter((function(e){return-1!==t.tags.indexOf(e)})).length})):c._audit.rules,n=c._audit.data.rules||{};return t.map((function(e){var t=n[e.id]||{};return{ruleId:e.id,description:t.description,help:t.help,helpUrl:t.helpUrl,tags:e.tags,actIds:e.actIds}}))},c._load=function(e){c._audit=new mv(e)},c.plugins={},c.registerPlugin=function(e){c.plugins[e.id]=new kv(e)},c.hasReporter=Lh,c.getReporter=jh,c.addReporter=function(e,t,n){Ph[e]=t,n&&(_h=t)},c.reset=function(){var e=c._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),Object.keys(vu).forEach((function(e){vu[e]=gu[e]}))},c._runRules=Av,c.runVirtualRule=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n.reporter=n.reporter||c._audit.reporter||"v1",c._selectorData={},t instanceof pr||(t=new Mh(t));var r=_p(e);if(!r)throw new Error("unknown rule `"+e+"`");var a={initiator:!0,include:[t],exclude:[],frames:[],page:!1,focusable:!0,size:{},flatTree:[]},o=(r=Object.create(r,{excludeHidden:{value:!1}})).runSync(a,n);ph(o),Er(o);var i=xr([o]);return i.violations.forEach((function(e){return e.nodes.forEach((function(e){e.failureSummary=op(e)}))})),G({},mp(),i,{toolOptions:n})},c.run=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];Cv(t[0]);var r=Tv(t),a=r.context,o=r.options,i=r.callback,u=void 0===i?Nv:i,s=function(e){var t,n,r;return"function"==typeof Promise&&e===Nv?t=new Promise((function(e,t){n=t,r=e})):(r=function(t){return e(null,t)},n=function(t){return e(t)}),{thenable:t,reject:n,resolve:r}}(u),l=s.thenable,d=s.resolve,f=s.reject;try{kr(c._audit,"No audit configured"),kr(!c._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.")}catch(e){return function(e,t){if("function"!=typeof t||t===Nv)throw e;t(e.message)}(e,u)}return c._running=!0,o.performanceTimer&&c.utils.performanceTimer.start(),c._runRules(a,o,(function(e,t){var n=function(e){c._running=!1,t();try{f(e)}catch(e){c.log(e)}};o.performanceTimer&&c.utils.performanceTimer.end();try{!function(e,t,n,r){var a=jh(t.reporter)(e,t,n,r);void 0!==a&&n(a)}(e,o,(function(e){c._running=!1,t();try{d(e)}catch(e){c.log(e)}}),n)}catch(e){n(e)}}),(function(e){o.performanceTimer&&c.utils.performanceTimer.end(),c._running=!1,u(e),f(e)})),l},c.setup=function(e){if(c._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&"object"===l(e.documentElement)&&"object"===l(e.defaultView)&&(e=e.documentElement),Cv(e),c._tree=tp(e),c._selectorData=Gr(c._tree),c._tree[0]},c.teardown=xv,c.runPartial=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Tv(t),a=r.options,o=r.context;kr(c._audit,"Axe is not configured. Audit is missing."),kr(!c._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");var i=new Rp(o,c._tree);return c._tree=i.flatTree,c._selectorData=Gr(i.flatTree),c._running=!0,a.elementRef=!1,new Promise((function(e,t){c._audit.run(i,a,e,t)})).then((function(e){e=wo.mapRawResults(e);var t,n=i.frames.map((function(e){var t=e.node;return wo.toSpec(t)}));return i.initiator&&(t=mp()),c._running=!1,xv(),{results:e,frames:n,environmentData:t}})).catch((function(e){return c._running=!1,xv(),Promise.reject(e)}))},c.finishRun=function(e){var t,n,r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a=pa(a);var o=(e.find((function(e){return e.environmentData}))||{}).environmentData;c._audit.normalizeOptions(a),a.reporter=null!==(t=null!==(n=a.reporter)&&void 0!==n?n:null===(r=c._audit)||void 0===r?void 0:r.reporter)&&void 0!==t?t:"v1",function(e){var t,n=[],r=ne(e);try{for(r.s();!(t=r.n()).done;){var a=t.value,o=n.shift();if(a){a.frameSpec=null!=o?o:null;var i=Ov(a);n.unshift.apply(n,W(i))}}}catch(e){r.e(e)}finally{r.f()}}(e);var i=xo(e);return(i=c._audit.after(i,a)).forEach(ph),function(e,t){return new Promise((function(n,r){jh(t.reporter)(e,t,n,r)}))}(i=i.map(Er),G({environmentData:o},a))},c.commons=xg,c.utils=hr,c.addReporter("na",(function(e,t,n){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),"function"==typeof t&&(n=t,t={});var r=t,a=r.environmentData,o=H(r,A);n(G({},mp(a),{toolOptions:o},sp(e,t)))})),c.addReporter("no-passes",(function(e,t,n){"function"==typeof t&&(n=t,t={});var r=t,a=r.environmentData,o=H(r,k);t.resultTypes=["violations"];var i=sp(e,t).violations;n(G({},mp(a),{toolOptions:o,violations:i}))})),c.addReporter("rawEnv",(function(e,t,n){"function"==typeof t&&(n=t,t={});var r=t,a=r.environmentData,o=H(r,T);Sv(e,o,(function(e){var t=mp(a);n({raw:e,env:t})}))})),c.addReporter("raw",Sv),c.addReporter("v1",(function(e,t,n){"function"==typeof t&&(n=t,t={});var r=t,a=r.environmentData,o=H(r,N),i=sp(e,t),u=function(e){e.nodes.forEach((function(e){e.failureSummary=op(e)}))};i.incomplete.forEach(u),i.violations.forEach(u),n(G({},mp(a),{toolOptions:o},i))})),c.addReporter("v2",(function(e,t,n){"function"==typeof t&&(n=t,t={});var r=t,a=r.environmentData,o=H(r,O),i=sp(e,t);n(G({},mp(a),{toolOptions:o},i))}),!0)}(),c._load({lang:"en",data:{rules:{accesskeys:{description:"Ensures every accesskey attribute value is unique",help:"accesskey attribute value should be unique"},"area-alt":{description:"Ensures <area> elements of image maps have alternate text",help:"Active <area> elements must have alternate text"},"aria-allowed-attr":{description:"Ensures an element's role supports its ARIA attributes",help:"Elements must only use supported ARIA attributes"},"aria-allowed-role":{description:"Ensures role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-braille-equivalent":{description:"Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",help:"aria-braille attributes must have a non-braille equivalent"},"aria-command-name":{description:"Ensures every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-conditional-attr":{description:"Ensures ARIA attributes are used as described in the specification of the element's role",help:"ARIA attributes must be used as specified for the element's role"},"aria-deprecated-role":{description:"Ensures elements do not use deprecated roles",help:"Deprecated ARIA roles must not be used"},"aria-dialog-name":{description:"Ensures every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:'Ensures aria-hidden="true" is not present on the document body.',help:'aria-hidden="true" must not be present on the document body'},"aria-hidden-focus":{description:"Ensures aria-hidden elements are not focusable nor contain focusable elements",help:"ARIA hidden element must not be focusable or contain focusable elements"},"aria-input-field-name":{description:"Ensures every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensures every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensures every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-prohibited-attr":{description:"Ensures ARIA attributes are not prohibited for an element's role",help:"Elements must only use permitted ARIA attributes"},"aria-required-attr":{description:"Ensures elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensures elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensures elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"aria-roledescription must be on elements with a semantic role"},"aria-roles":{description:"Ensures all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensures role="text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensures every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensures every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensures every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensures all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensures attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensures <audio> elements have captions",help:"<audio> elements must have a captions track"},"autocomplete-valid":{description:"Ensure the autocomplete attribute is correct and suitable for the form field",help:"autocomplete attribute must be used correctly"},"avoid-inline-spacing":{description:"Ensure that text spacing set through style attributes can be adjusted with custom stylesheets",help:"Inline text spacing must be adjustable with custom stylesheets"},blink:{description:"Ensures <blink> elements are not used",help:"<blink> elements are deprecated and must not be used"},"button-name":{description:"Ensures buttons have discernible text",help:"Buttons must have discernible text"},bypass:{description:"Ensures each page has at least one mechanism for a user to bypass navigation and jump straight to the content",help:"Page must have means to bypass repeated blocks"},"color-contrast-enhanced":{description:"Ensures the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",help:"Elements must meet enhanced color contrast ratio thresholds"},"color-contrast":{description:"Ensures the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",help:"Elements must meet minimum color contrast ratio thresholds"},"css-orientation-lock":{description:"Ensures content is not locked to any specific display orientation, and the content is operable in all display orientations",help:"CSS Media queries must not lock display orientation"},"definition-list":{description:"Ensures <dl> elements are structured correctly",help:"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements"},dlitem:{description:"Ensures <dt> and <dd> elements are contained by a <dl>",help:"<dt> and <dd> elements must be contained by a <dl>"},"document-title":{description:"Ensures each HTML document contains a non-empty <title> element",help:"Documents must have <title> element to aid in navigation"},"duplicate-id-active":{description:"Ensures every id attribute value of active elements is unique",help:"IDs of active elements must be unique"},"duplicate-id-aria":{description:"Ensures every id attribute value used in ARIA and in labels is unique",help:"IDs used in ARIA and labels must be unique"},"duplicate-id":{description:"Ensures every id attribute value is unique",help:"id attribute value must be unique"},"empty-heading":{description:"Ensures headings have discernible text",help:"Headings should not be empty"},"empty-table-header":{description:"Ensures table headers have discernible text",help:"Table header text should not be empty"},"focus-order-semantics":{description:"Ensures elements in the focus order have a role appropriate for interactive content",help:"Elements in the focus order should have an appropriate role"},"form-field-multiple-labels":{description:"Ensures form field does not have multiple label elements",help:"Form field must not have multiple label elements"},"frame-focusable-content":{description:"Ensures <frame> and <iframe> elements with focusable content do not have tabindex=-1",help:"Frames with focusable content must not have tabindex=-1"},"frame-tested":{description:"Ensures <iframe> and <frame> elements contain the axe-core script",help:"Frames should be tested with axe-core"},"frame-title-unique":{description:"Ensures <iframe> and <frame> elements contain a unique title attribute",help:"Frames must have a unique title attribute"},"frame-title":{description:"Ensures <iframe> and <frame> elements have an accessible name",help:"Frames must have an accessible name"},"heading-order":{description:"Ensures the order of headings is semantically correct",help:"Heading levels should only increase by one"},"hidden-content":{description:"Informs users about hidden content.",help:"Hidden content on the page should be analyzed"},"html-has-lang":{description:"Ensures every HTML document has a lang attribute",help:"<html> element must have a lang attribute"},"html-lang-valid":{description:"Ensures the lang attribute of the <html> element has a valid value",help:"<html> element must have a valid value for the lang attribute"},"html-xml-lang-mismatch":{description:"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page",help:"HTML elements with lang and xml:lang must have the same base language"},"identical-links-same-purpose":{description:"Ensure that links with the same accessible name serve a similar purpose",help:"Links with the same name must have a similar purpose"},"image-alt":{description:"Ensures <img> elements have alternate text or a role of none or presentation",help:"Images must have alternate text"},"image-redundant-alt":{description:"Ensure image alternative is not repeated as text",help:"Alternative text of images should not be repeated as text"},"input-button-name":{description:"Ensures input buttons have discernible text",help:"Input buttons must have discernible text"},"input-image-alt":{description:'Ensures <input type="image"> elements have alternate text',help:"Image buttons must have alternate text"},"label-content-name-mismatch":{description:"Ensures that elements labelled through their content must have their visible text as part of their accessible name",help:"Elements must have their visible text as part of their accessible name"},"label-title-only":{description:"Ensures that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes",help:"Form elements should have a visible label"},label:{description:"Ensures every form element has a label",help:"Form elements must have labels"},"landmark-banner-is-top-level":{description:"Ensures the banner landmark is at top level",help:"Banner landmark should not be contained in another landmark"},"landmark-complementary-is-top-level":{description:"Ensures the complementary landmark or aside is at top level",help:"Aside should not be contained in another landmark"},"landmark-contentinfo-is-top-level":{description:"Ensures the contentinfo landmark is at top level",help:"Contentinfo landmark should not be contained in another landmark"},"landmark-main-is-top-level":{description:"Ensures the main landmark is at top level",help:"Main landmark should not be contained in another landmark"},"landmark-no-duplicate-banner":{description:"Ensures the document has at most one banner landmark",help:"Document should not have more than one banner landmark"},"landmark-no-duplicate-contentinfo":{description:"Ensures the document has at most one contentinfo landmark",help:"Document should not have more than one contentinfo landmark"},"landmark-no-duplicate-main":{description:"Ensures the document has at most one main landmark",help:"Document should not have more than one main landmark"},"landmark-one-main":{description:"Ensures the document has a main landmark",help:"Document should have one main landmark"},"landmark-unique":{help:"Ensures landmarks are unique",description:"Landmarks should have a unique role or role/label/title (i.e. accessible name) combination"},"link-in-text-block":{description:"Ensure links are distinguished from surrounding text in a way that does not rely on color",help:"Links must be distinguishable without relying on color"},"link-name":{description:"Ensures links have discernible text",help:"Links must have discernible text"},list:{description:"Ensures that lists are structured correctly",help:"<ul> and <ol> must only directly contain <li>, <script> or <template> elements"},listitem:{description:"Ensures <li> elements are used semantically",help:"<li> elements must be contained in a <ul> or <ol>"},marquee:{description:"Ensures <marquee> elements are not used",help:"<marquee> elements are deprecated and must not be used"},"meta-refresh-no-exceptions":{description:'Ensures <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh must not be used"},"meta-refresh":{description:'Ensures <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh under 20 hours must not be used"},"meta-viewport-large":{description:'Ensures <meta name="viewport"> can scale a significant amount',help:"Users should be able to zoom and scale the text up to 500%"},"meta-viewport":{description:'Ensures <meta name="viewport"> does not disable text scaling and zooming',help:"Zooming and scaling must not be disabled"},"nested-interactive":{description:"Ensures interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",help:"Interactive controls must not be nested"},"no-autoplay-audio":{description:"Ensures <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",help:"<video> or <audio> elements must not play automatically"},"object-alt":{description:"Ensures <object> elements have alternate text",help:"<object> elements must have alternate text"},"p-as-heading":{description:"Ensure bold, italic text and font-size is not used to style <p> elements as a heading",help:"Styled <p> elements must not be used as headings"},"page-has-heading-one":{description:"Ensure that the page, or at least one of its frames contains a level-one heading",help:"Page should contain a level-one heading"},"presentation-role-conflict":{description:"Elements marked as presentational should not have global ARIA or tabindex to ensure all screen readers ignore them",help:"Ensure elements marked as presentational are consistently ignored"},region:{description:"Ensures all page content is contained by landmarks",help:"All page content should be contained by landmarks"},"role-img-alt":{description:'Ensures [role="img"] elements have alternate text',help:'[role="img"] elements must have an alternative text'},"scope-attr-valid":{description:"Ensures the scope attribute is used correctly on tables",help:"scope attribute should be used correctly"},"scrollable-region-focusable":{description:"Ensure elements that have scrollable content are accessible by keyboard",help:"Scrollable region must have keyboard access"},"select-name":{description:"Ensures select element has an accessible name",help:"Select element must have an accessible name"},"server-side-image-map":{description:"Ensures that server-side image maps are not used",help:"Server-side image maps must not be used"},"skip-link":{description:"Ensure all skip links have a focusable target",help:"The skip-link target should exist and be focusable"},"svg-img-alt":{description:"Ensures <svg> elements with an img, graphics-document or graphics-symbol role have an accessible text",help:"<svg> elements with an img role must have an alternative text"},tabindex:{description:"Ensures tabindex attribute values are not greater than 0",help:"Elements should not have tabindex greater than zero"},"table-duplicate-name":{description:"Ensure the <caption> element does not contain the same text as the summary attribute",help:"tables should not have the same summary and caption"},"table-fake-caption":{description:"Ensure that tables with a caption use the <caption> element.",help:"Data or header cells must not be used to give caption to a data table."},"target-size":{description:"Ensure touch target have sufficient size and space",help:"All touch targets must be 24px large, or leave sufficient space"},"td-has-header":{description:"Ensure that each non-empty data cell in a <table> larger than 3 by 3 has one or more table headers",help:"Non-empty <td> elements in larger <table> must have an associated table header"},"td-headers-attr":{description:"Ensure that each cell in a table that uses the headers attribute refers only to other cells in that table",help:"Table cells that use the headers attribute must only refer to cells in the same table"},"th-has-data-cells":{description:"Ensure that <th> elements and elements with role=columnheader/rowheader have data cells they describe",help:"Table headers in a data table must refer to data cells"},"valid-lang":{description:"Ensures lang attributes have valid values",help:"lang attribute must have a valid value"},"video-caption":{description:"Ensures <video> elements have captions",help:"<video> elements must have captions"}},checks:{abstractrole:{impact:"serious",messages:{pass:"Abstract roles are not used",fail:{singular:"Abstract role cannot be directly used: ${data.values}",plural:"Abstract roles cannot be directly used: ${data.values}"}}},"aria-allowed-attr":{impact:"critical",messages:{pass:"ARIA attributes are used correctly for the defined role",fail:{singular:"ARIA attribute is not allowed: ${data.values}",plural:"ARIA attributes are not allowed: ${data.values}"},incomplete:"Check that there is no problem if the ARIA attribute is ignored on this element: ${data.values}"}},"aria-allowed-role":{impact:"minor",messages:{pass:"ARIA role is allowed for given element",fail:{singular:"ARIA role ${data.values} is not allowed for given element",plural:"ARIA roles ${data.values} are not allowed for given element"},incomplete:{singular:"ARIA role ${data.values} must be removed when the element is made visible, as it is not allowed for the element",plural:"ARIA roles ${data.values} must be removed when the element is made visible, as they are not allowed for the element"}}},"aria-busy":{impact:"serious",messages:{pass:"Element has an aria-busy attribute",fail:'Element uses aria-busy="true" while showing a loader'}},"aria-conditional-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{checkbox:'Remove aria-checked, or set it to "${data.checkState}" to match the real checkbox state',rowSingular:"This attribute is supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}",rowPlural:"These attributes are supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}"}}},"aria-errormessage":{impact:"critical",messages:{pass:"aria-errormessage exists and references elements visible to screen readers that use a supported aria-errormessage technique",fail:{singular:"aria-errormessage value `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",plural:"aria-errormessage values `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",hidden:"aria-errormessage value `${data.values}` cannot reference a hidden element"},incomplete:{singular:"ensure aria-errormessage value `${data.values}` references an existing element",plural:"ensure aria-errormessage values `${data.values}` reference existing elements",idrefs:"unable to determine if aria-errormessage element exists on the page: ${data.values}"}}},"aria-hidden-body":{impact:"critical",messages:{pass:"No aria-hidden attribute is present on document body",fail:"aria-hidden=true should not be present on the document body"}},"aria-level":{impact:"serious",messages:{pass:"aria-level values are valid",incomplete:"aria-level values greater than 6 are not supported in all screenreader and browser combinations"}},"aria-prohibited-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{hasRolePlural:'${data.prohibited} attributes cannot be used with role "${data.role}".',hasRoleSingular:'${data.prohibited} attribute cannot be used with role "${data.role}".',noRolePlural:"${data.prohibited} attributes cannot be used on a ${data.nodeName} with no valid role attribute.",noRoleSingular:"${data.prohibited} attribute cannot be used on a ${data.nodeName} with no valid role attribute."},incomplete:{hasRoleSingular:'${data.prohibited} attribute is not well supported with role "${data.role}".',hasRolePlural:'${data.prohibited} attributes are not well supported with role "${data.role}".',noRoleSingular:"${data.prohibited} attribute is not well supported on a ${data.nodeName} with no valid role attribute.",noRolePlural:"${data.prohibited} attributes are not well supported on a ${data.nodeName} with no valid role attribute."}}},"aria-required-attr":{impact:"critical",messages:{pass:"All required ARIA attributes are present",fail:{singular:"Required ARIA attribute not present: ${data.values}",plural:"Required ARIA attributes not present: ${data.values}"}}},"aria-required-children":{impact:"critical",messages:{pass:"Required ARIA children are present",fail:{singular:"Required ARIA child role not present: ${data.values}",plural:"Required ARIA children role not present: ${data.values}",unallowed:"Element has children which are not allowed: ${data.values}"},incomplete:{singular:"Expecting ARIA child role to be added: ${data.values}",plural:"Expecting ARIA children role to be added: ${data.values}"}}},"aria-required-parent":{impact:"critical",messages:{pass:"Required ARIA parent role present",fail:{singular:"Required ARIA parent role not present: ${data.values}",plural:"Required ARIA parents role not present: ${data.values}"}}},"aria-roledescription":{impact:"serious",messages:{pass:"aria-roledescription used on a supported semantic role",incomplete:"Check that the aria-roledescription is announced by supported screen readers",fail:"Give the element a role that supports aria-roledescription"}},"aria-unsupported-attr":{impact:"critical",messages:{pass:"ARIA attribute is supported",fail:"ARIA attribute is not widely supported in screen readers and assistive technologies: ${data.values}"}},"aria-valid-attr-value":{impact:"critical",messages:{pass:"ARIA attribute values are valid",fail:{singular:"Invalid ARIA attribute value: ${data.values}",plural:"Invalid ARIA attribute values: ${data.values}"},incomplete:{noId:"ARIA attribute element ID does not exist on the page: ${data.needsReview}",noIdShadow:"ARIA attribute element ID does not exist on the page or is a descendant of a different shadow DOM tree: ${data.needsReview}",ariaCurrent:'ARIA attribute value is invalid and will be treated as "aria-current=true": ${data.needsReview}',idrefs:"Unable to determine if ARIA attribute element ID exists on the page: ${data.needsReview}",empty:"ARIA attribute value is ignored while empty: ${data.needsReview}"}}},"aria-valid-attr":{impact:"critical",messages:{pass:"ARIA attribute name is valid",fail:{singular:"Invalid ARIA attribute name: ${data.values}",plural:"Invalid ARIA attribute names: ${data.values}"}}},"braille-label-equivalent":{impact:"serious",messages:{pass:"aria-braillelabel is used on an element with accessible text",fail:"aria-braillelabel is used on an element with no accessible text",incomplete:"Unable to compute accessible text"}},"braille-roledescription-equivalent":{impact:"serious",messages:{pass:"aria-brailleroledescription is used on an element with aria-roledescription",fail:{noRoleDescription:"aria-brailleroledescription is used on an element with no aria-roledescription",emptyRoleDescription:"aria-brailleroledescription is used on an element with an empty aria-roledescription"}}},deprecatedrole:{impact:"minor",messages:{pass:"ARIA role is not deprecated",fail:"The role used is deprecated: ${data}"}},fallbackrole:{impact:"serious",messages:{pass:"Only one role value used",fail:"Use only one role value, since fallback roles are not supported in older browsers",incomplete:"Use only role 'presentation' or 'none' since they are synonymous."}},"has-global-aria-attribute":{impact:"minor",messages:{pass:{singular:"Element has global ARIA attribute: ${data.values}",plural:"Element has global ARIA attributes: ${data.values}"},fail:"Element does not have global ARIA attribute"}},"has-widget-role":{impact:"minor",messages:{pass:"Element has a widget role.",fail:"Element does not have a widget role."}},invalidrole:{impact:"critical",messages:{pass:"ARIA role is valid",fail:{singular:"Role must be one of the valid ARIA roles: ${data.values}",plural:"Roles must be one of the valid ARIA roles: ${data.values}"}}},"is-element-focusable":{impact:"minor",messages:{pass:"Element is focusable.",fail:"Element is not focusable."}},"no-implicit-explicit-label":{impact:"serious",messages:{pass:"There is no mismatch between a <label> and accessible name",incomplete:"Check that the <label> does not need be part of the ARIA ${data} field's name"}},unsupportedrole:{impact:"critical",messages:{pass:"ARIA role is supported",fail:"The role used is not widely supported in screen readers and assistive technologies: ${data}"}},"valid-scrollable-semantics":{impact:"minor",messages:{pass:"Element has valid semantics for an element in the focus order.",fail:"Element has invalid semantics for an element in the focus order."}},"color-contrast-enhanced":{impact:"serious",messages:{pass:"Element has sufficient color contrast of ${data.contrastRatio}",fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element"}}},"color-contrast":{impact:"serious",messages:{pass:{default:"Element has sufficient color contrast of ${data.contrastRatio}",hidden:"Element is hidden"},fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",complexTextShadows:"Element's contrast could not be determined because it uses complex text shadows",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element"}}},"link-in-text-block-style":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text by visual styling",incomplete:{default:"Check if the link needs styling to distinguish it from nearby text",pseudoContent:"Check if the link's pseudo style is sufficient to distinguish it from the surrounding text"},fail:"The link has no styling (such as underline) to distinguish it from the surrounding text"}},"link-in-text-block":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text in some way other than by color",fail:{fgContrast:"The link has insufficient color contrast of ${data.contrastRatio}:1 with the surrounding text. (Minimum contrast is ${data.requiredContrastRatio}:1, link text: ${data.nodeColor}, surrounding text: ${data.parentColor})",bgContrast:"The link background has insufficient color contrast of ${data.contrastRatio} (Minimum contrast is ${data.requiredContrastRatio}:1, link background color: ${data.nodeBackgroundColor}, surrounding background color: ${data.parentBackgroundColor})"},incomplete:{default:"Element's foreground contrast ratio could not be determined",bgContrast:"Element's background contrast ratio could not be determined",bgImage:"Element's contrast ratio could not be determined due to a background image",bgGradient:"Element's contrast ratio could not be determined due to a background gradient",imgNode:"Element's contrast ratio could not be determined because element contains an image node",bgOverlap:"Element's contrast ratio could not be determined because of element overlap"}}},"autocomplete-appropriate":{impact:"serious",messages:{pass:"the autocomplete value is on an appropriate element",fail:"the autocomplete value is inappropriate for this type of input"}},"autocomplete-valid":{impact:"serious",messages:{pass:"the autocomplete attribute is correctly formatted",fail:"the autocomplete attribute is incorrectly formatted"}},accesskeys:{impact:"serious",messages:{pass:"Accesskey attribute value is unique",fail:"Document has multiple elements with the same accesskey"}},"focusable-content":{impact:"serious",messages:{pass:"Element contains focusable elements",fail:"Element should have focusable content"}},"focusable-disabled":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:"Focusable content should be disabled or be removed from the DOM"}},"focusable-element":{impact:"serious",messages:{pass:"Element is focusable",fail:"Element should be focusable"}},"focusable-modal-open":{impact:"serious",messages:{pass:"No focusable elements while a modal is open",incomplete:"Check that focusable elements are not tabbable in the current state"}},"focusable-no-name":{impact:"serious",messages:{pass:"Element is not in tab order or has accessible text",fail:"Element is in tab order and does not have accessible text",incomplete:"Unable to determine if element has an accessible name"}},"focusable-not-tabbable":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:'Focusable content should have tabindex="-1" or be removed from the DOM'}},"frame-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:"Element has focusable descendants",incomplete:"Could not determine if element has descendants"}},"landmark-is-top-level":{impact:"moderate",messages:{pass:"The ${data.role} landmark is at the top level.",fail:"The ${data.role} landmark is contained in another landmark."}},"no-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:{default:"Element has focusable descendants",notHidden:'Using a negative tabindex on an element inside an interactive control does not prevent assistive technologies from focusing the element (even with aria-hidden="true")'},incomplete:"Could not determine if element has descendants"}},"page-has-heading-one":{impact:"moderate",messages:{pass:"Page has at least one level-one heading",fail:"Page must have a level-one heading"}},"page-has-main":{impact:"moderate",messages:{pass:"Document has at least one main landmark",fail:"Document does not have a main landmark"}},"page-no-duplicate-banner":{impact:"moderate",messages:{pass:"Document does not have more than one banner landmark",fail:"Document has more than one banner landmark"}},"page-no-duplicate-contentinfo":{impact:"moderate",messages:{pass:"Document does not have more than one contentinfo landmark",fail:"Document has more than one contentinfo landmark"}},"page-no-duplicate-main":{impact:"moderate",messages:{pass:"Document does not have more than one main landmark",fail:"Document has more than one main landmark"}},tabindex:{impact:"serious",messages:{pass:"Element does not have a tabindex greater than 0",fail:"Element has a tabindex greater than 0"}},"alt-space-value":{impact:"critical",messages:{pass:"Element has a valid alt attribute value",fail:"Element has an alt attribute containing only a space character, which is not ignored by all screen readers"}},"duplicate-img-label":{impact:"minor",messages:{pass:"Element does not duplicate existing text in <img> alt text",fail:"Element contains <img> element with alt text that duplicates existing text"}},"explicit-label":{impact:"critical",messages:{pass:"Form element has an explicit <label>",fail:"Form element does not have an explicit <label>",incomplete:"Unable to determine if form element has an explicit <label>"}},"help-same-as-label":{impact:"minor",messages:{pass:"Help text (title or aria-describedby) does not duplicate label text",fail:"Help text (title or aria-describedby) text is the same as the label text"}},"hidden-explicit-label":{impact:"critical",messages:{pass:"Form element has a visible explicit <label>",fail:"Form element has explicit <label> that is hidden",incomplete:"Unable to determine if form element has explicit <label> that is hidden"}},"implicit-label":{impact:"critical",messages:{pass:"Form element has an implicit (wrapped) <label>",fail:"Form element does not have an implicit (wrapped) <label>",incomplete:"Unable to determine if form element has an implicit (wrapped} <label>"}},"label-content-name-mismatch":{impact:"serious",messages:{pass:"Element contains visible text as part of it's accessible name",fail:"Text inside the element is not included in the accessible name"}},"multiple-label":{impact:"moderate",messages:{pass:"Form field does not have multiple label elements",incomplete:"Multiple label elements is not widely supported in assistive technologies. Ensure the first label contains all necessary information."}},"title-only":{impact:"serious",messages:{pass:"Form element does not solely use title attribute for its label",fail:"Only title used to generate label for form element"}},"landmark-is-unique":{impact:"moderate",messages:{pass:"Landmarks must have a unique role or role/label/title (i.e. accessible name) combination",fail:"The landmark must have a unique aria-label, aria-labelledby, or title to make landmarks distinguishable"}},"has-lang":{impact:"serious",messages:{pass:"The <html> element has a lang attribute",fail:{noXHTML:"The xml:lang attribute is not valid on HTML pages, use the lang attribute.",noLang:"The <html> element does not have a lang attribute"}}},"valid-lang":{impact:"serious",messages:{pass:"Value of lang attribute is included in the list of valid languages",fail:"Value of lang attribute not included in the list of valid languages"}},"xml-lang-mismatch":{impact:"moderate",messages:{pass:"Lang and xml:lang attributes have the same base language",fail:"Lang and xml:lang attributes do not have the same base language"}},dlitem:{impact:"serious",messages:{pass:"Description list item has a <dl> parent element",fail:"Description list item does not have a <dl> parent element"}},listitem:{impact:"serious",messages:{pass:'List item has a <ul>, <ol> or role="list" parent element',fail:{default:"List item does not have a <ul>, <ol> parent element",roleNotValid:'List item does not have a <ul>, <ol> parent element without a role, or a role="list"'}}},"only-dlitems":{impact:"serious",messages:{pass:"dl element only has direct children that are allowed inside; <dt>, <dd>, or <div> elements",fail:"dl element has direct children that are not allowed: ${data.values}"}},"only-listitems":{impact:"serious",messages:{pass:"List element only has direct children that are allowed inside <li> elements",fail:"List element has direct children that are not allowed: ${data.values}"}},"structured-dlitems":{impact:"serious",messages:{pass:"When not empty, element has both <dt> and <dd> elements",fail:"When not empty, element does not have at least one <dt> element followed by at least one <dd> element"}},caption:{impact:"critical",messages:{pass:"The multimedia element has a captions track",incomplete:"Check that captions is available for the element"}},"frame-tested":{impact:"critical",messages:{pass:"The iframe was tested with axe-core",fail:"The iframe could not be tested with axe-core",incomplete:"The iframe still has to be tested with axe-core"}},"no-autoplay-audio":{impact:"moderate",messages:{pass:"<video> or <audio> does not output audio for more than allowed duration or has controls mechanism",fail:"<video> or <audio> outputs audio for more than allowed duration and does not have a controls mechanism",incomplete:"Check that the <video> or <audio> does not output audio for more than allowed duration or provides a controls mechanism"}},"css-orientation-lock":{impact:"serious",messages:{pass:"Display is operable, and orientation lock does not exist",fail:"CSS Orientation lock is applied, and makes display inoperable",incomplete:"CSS Orientation lock cannot be determined"}},"meta-viewport-large":{impact:"minor",messages:{pass:"<meta> tag does not prevent significant zooming on mobile devices",fail:"<meta> tag limits zooming on mobile devices"}},"meta-viewport":{impact:"critical",messages:{pass:"<meta> tag does not disable zooming on mobile devices",fail:"${data} on <meta> tag disables zooming on mobile devices"}},"target-offset":{impact:"serious",messages:{pass:"Target has sufficient space from its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px which is at least ${data.minOffset}px.",fail:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px.",incomplete:{default:"Element with negative tabindex has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is this a target?",nonTabbableNeighbor:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is the neighbor a target?"}}},"target-size":{impact:"serious",messages:{pass:{default:"Control has sufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",obscured:"Control is ignored because it is fully obscured and thus not clickable"},fail:{default:"Target has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",partiallyObscured:"Target has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)"},incomplete:{default:"Element with negative tabindex has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",contentOverflow:"Element size could not be accurately determined due to overflow content",partiallyObscured:"Element with negative tabindex has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",partiallyObscuredNonTabbable:"Target has insufficient size because it is partially obscured by a neighbor with negative tabindex (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is the neighbor a target?"}}},"header-present":{impact:"serious",messages:{pass:"Page has a heading",fail:"Page does not have a heading"}},"heading-order":{impact:"moderate",messages:{pass:"Heading order valid",fail:"Heading order invalid",incomplete:"Unable to determine previous heading"}},"identical-links-same-purpose":{impact:"minor",messages:{pass:"There are no other links with the same name, that go to a different URL",incomplete:"Check that links have the same purpose, or are intentionally ambiguous."}},"internal-link-present":{impact:"serious",messages:{pass:"Valid skip link found",fail:"No valid skip link found"}},landmark:{impact:"serious",messages:{pass:"Page has a landmark region",fail:"Page does not have a landmark region"}},"meta-refresh-no-exceptions":{impact:"minor",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page"}},"meta-refresh":{impact:"critical",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page (less than 20 hours)"}},"p-as-heading":{impact:"serious",messages:{pass:"<p> elements are not styled as headings",fail:"Heading elements should be used instead of styled <p> elements",incomplete:"Unable to determine if <p> elements are styled as headings"}},region:{impact:"moderate",messages:{pass:"All page content is contained by landmarks",fail:"Some page content is not contained by landmarks"}},"skip-link":{impact:"moderate",messages:{pass:"Skip link target exists",incomplete:"Skip link target should become visible on activation",fail:"No skip link target"}},"unique-frame-title":{impact:"serious",messages:{pass:"Element's title attribute is unique",fail:"Element's title attribute is not unique"}},"duplicate-id-active":{impact:"serious",messages:{pass:"Document has no active elements that share the same id attribute",fail:"Document has active elements with the same id attribute: ${data}"}},"duplicate-id-aria":{impact:"critical",messages:{pass:"Document has no elements referenced with ARIA or labels that share the same id attribute",fail:"Document has multiple elements referenced with ARIA with the same id attribute: ${data}"}},"duplicate-id":{impact:"minor",messages:{pass:"Document has no static elements that share the same id attribute",fail:"Document has multiple static elements with the same id attribute: ${data}"}},"aria-label":{impact:"serious",messages:{pass:"aria-label attribute exists and is not empty",fail:"aria-label attribute does not exist or is empty"}},"aria-labelledby":{impact:"serious",messages:{pass:"aria-labelledby attribute exists and references elements that are visible to screen readers",fail:"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty",incomplete:"ensure aria-labelledby references an existing element"}},"avoid-inline-spacing":{impact:"serious",messages:{pass:"No inline styles with '!important' that affect text spacing has been specified",fail:{singular:"Remove '!important' from inline style ${data.values}, as overriding this is not supported by most browsers",plural:"Remove '!important' from inline styles ${data.values}, as overriding this is not supported by most browsers"}}},"button-has-visible-text":{impact:"critical",messages:{pass:"Element has inner text that is visible to screen readers",fail:"Element does not have inner text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"doc-has-title":{impact:"serious",messages:{pass:"Document has a non-empty <title> element",fail:"Document does not have a non-empty <title> element"}},exists:{impact:"minor",messages:{pass:"Element does not exist",incomplete:"Element exists"}},"has-alt":{impact:"critical",messages:{pass:"Element has an alt attribute",fail:"Element does not have an alt attribute"}},"has-visible-text":{impact:"minor",messages:{pass:"Element has text that is visible to screen readers",fail:"Element does not have text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"important-letter-spacing":{impact:"serious",messages:{pass:"Letter-spacing in the style attribute is not set to !important, or meets the minimum",fail:"letter-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-line-height":{impact:"serious",messages:{pass:"line-height in the style attribute is not set to !important, or meets the minimum",fail:"line-height in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-word-spacing":{impact:"serious",messages:{pass:"word-spacing in the style attribute is not set to !important, or meets the minimum",fail:"word-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"is-on-screen":{impact:"serious",messages:{pass:"Element is not visible",fail:"Element is visible"}},"non-empty-alt":{impact:"critical",messages:{pass:"Element has a non-empty alt attribute",fail:{noAttr:"Element has no alt attribute",emptyAttr:"Element has an empty alt attribute"}}},"non-empty-if-present":{impact:"critical",messages:{pass:{default:"Element does not have a value attribute","has-label":"Element has a non-empty value attribute"},fail:"Element has a value attribute and the value attribute is empty"}},"non-empty-placeholder":{impact:"serious",messages:{pass:"Element has a placeholder attribute",fail:{noAttr:"Element has no placeholder attribute",emptyAttr:"Element has an empty placeholder attribute"}}},"non-empty-title":{impact:"serious",messages:{pass:"Element has a title attribute",fail:{noAttr:"Element has no title attribute",emptyAttr:"Element has an empty title attribute"}}},"non-empty-value":{impact:"critical",messages:{pass:"Element has a non-empty value attribute",fail:{noAttr:"Element has no value attribute",emptyAttr:"Element has an empty value attribute"}}},"presentational-role":{impact:"minor",messages:{pass:'Element\'s default semantics were overriden with role="${data.role}"',fail:{default:'Element\'s default semantics were not overridden with role="none" or role="presentation"',globalAria:"Element's role is not presentational because it has a global ARIA attribute",focusable:"Element's role is not presentational because it is focusable",both:"Element's role is not presentational because it has a global ARIA attribute and is focusable",iframe:'Using the "title" attribute on an ${data.nodeName} element with a presentational role behaves inconsistently between screen readers'}}},"role-none":{impact:"minor",messages:{pass:'Element\'s default semantics were overriden with role="none"',fail:'Element\'s default semantics were not overridden with role="none"'}},"role-presentation":{impact:"minor",messages:{pass:'Element\'s default semantics were overriden with role="presentation"',fail:'Element\'s default semantics were not overridden with role="presentation"'}},"svg-non-empty-title":{impact:"serious",messages:{pass:"Element has a child that is a title",fail:{noTitle:"Element has no child that is a title",emptyTitle:"Element child title is empty"},incomplete:"Unable to determine element has a child that is a title"}},"caption-faked":{impact:"serious",messages:{pass:"The first row of a table is not used as a caption",fail:"The first child of the table should be a caption instead of a table cell"}},"html5-scope":{impact:"moderate",messages:{pass:"Scope attribute is only used on table header elements (<th>)",fail:"In HTML 5, scope attributes may only be used on table header elements (<th>)"}},"same-caption-summary":{impact:"minor",messages:{pass:"Content of summary attribute and <caption> are not duplicated",fail:"Content of summary attribute and <caption> element are identical",incomplete:"Unable to determine if <table> element has a caption"}},"scope-value":{impact:"critical",messages:{pass:"Scope attribute is used correctly",fail:"The value of the scope attribute may only be 'row' or 'col'"}},"td-has-header":{impact:"critical",messages:{pass:"All non-empty data cells have table headers",fail:"Some non-empty data cells do not have table headers"}},"td-headers-attr":{impact:"serious",messages:{pass:"The headers attribute is exclusively used to refer to other cells in the table",incomplete:"The headers attribute is empty",fail:"The headers attribute is not exclusively used to refer to other cells in the table"}},"th-has-data-cells":{impact:"serious",messages:{pass:"All table header cells refer to data cells",fail:"Not all table header cells refer to data cells",incomplete:"Table data cells are missing or empty"}},"hidden-content":{impact:"minor",messages:{pass:"All content on the page has been analyzed.",fail:"There were problems analyzing the content on this page.",incomplete:"There is hidden content on the page that was not analyzed. You will need to trigger the display of this content in order to analyze it."}}},failureSummaries:{any:{failureMessage:function(e){var t="Fix any of the following:",n=e;if(n)for(var r=-1,a=n.length-1;r<a;)t+="\n "+n[r+=1].split("\n").join("\n ");return t}},none:{failureMessage:function(e){var t="Fix all of the following:",n=e;if(n)for(var r=-1,a=n.length-1;r<a;)t+="\n "+n[r+=1].split("\n").join("\n ");return t}}},incompleteFallbackMessage:"axe couldn't tell the reason. Time to break out the element inspector!"},rules:[{id:"accesskeys",impact:"serious",selector:"[accesskey]",excludeHidden:!1,tags:["cat.keyboard","best-practice"],all:[],any:[],none:["accesskeys"]},{id:"area-alt",impact:"critical",selector:"map area[href]",excludeHidden:!1,tags:["cat.text-alternatives","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT"],actIds:["c487ae"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-allowed-attr",impact:"critical",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["5c01ea"],all:[{options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-allowed-attr"}],any:[],none:["aria-unsupported-attr"]},{id:"aria-allowed-role",impact:"minor",excludeHidden:!1,selector:"[role]",matches:"aria-allowed-role-matches",tags:["cat.aria","best-practice"],all:[],any:[{options:{allowImplicit:!0,ignoredTags:[]},id:"aria-allowed-role"}],none:[]},{id:"aria-braille-equivalent",reviewOnFail:!0,impact:"serious",selector:"[aria-brailleroledescription], [aria-braillelabel]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:["braille-roledescription-equivalent","braille-label-equivalent"],any:[],none:[]},{id:"aria-command-name",impact:"serious",selector:'[role="link"], [role="button"], [role="menuitem"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT"],actIds:["97a4e1"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-conditional-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["5c01ea"],all:[{options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-conditional-attr"}],any:[],none:[]},{id:"aria-deprecated-role",impact:"minor",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["674b10"],all:[],any:[],none:["deprecatedrole"]},{id:"aria-dialog-name",impact:"serious",selector:'[role="dialog"], [role="alertdialog"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-hidden-body",impact:"critical",selector:"body",excludeHidden:!1,matches:"is-initiator-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:[],any:["aria-hidden-body"],none:[]},{id:"aria-hidden-focus",impact:"serious",selector:'[aria-hidden="true"]',matches:"aria-hidden-focus-matches",excludeHidden:!1,tags:["cat.name-role-value","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2"],actIds:["6cfa84"],all:["focusable-modal-open","focusable-disabled","focusable-not-tabbable"],any:[],none:[]},{id:"aria-input-field-name",impact:"serious",selector:'[role="combobox"], [role="listbox"], [role="searchbox"], [role="slider"], [role="spinbutton"], [role="textbox"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT"],actIds:["e086e5"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-meter-name",impact:"serious",selector:'[role="meter"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-progressbar-name",impact:"serious",selector:'[role="progressbar"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-prohibited-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["5c01ea"],all:[],any:[],none:[{options:{elementsAllowedAriaLabel:["applet","input"]},id:"aria-prohibited-attr"}]},{id:"aria-required-attr",impact:"critical",selector:"[role]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["4e8ab6"],all:[],any:["aria-required-attr"],none:[]},{id:"aria-required-children",impact:"critical",selector:"[role]",matches:"aria-required-children-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1"],actIds:["bc4a75","ff89c9"],all:[],any:[{options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]},id:"aria-required-children"},"aria-busy"],none:[]},{id:"aria-required-parent",impact:"critical",selector:"[role]",matches:"aria-required-parent-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1"],actIds:["ff89c9"],all:[],any:[{options:{ownGroupRoles:["listitem","treeitem"]},id:"aria-required-parent"}],none:[]},{id:"aria-roledescription",impact:"serious",selector:"[aria-roledescription]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","deprecated"],enabled:!1,all:[],any:[{options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]},id:"aria-roledescription"}],none:[]},{id:"aria-roles",impact:"critical",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["674b10"],all:[],any:[],none:["invalidrole","abstractrole","unsupportedrole"]},{id:"aria-text",impact:"serious",selector:"[role=text]",tags:["cat.aria","best-practice"],all:[],any:["no-focusable-content"],none:[]},{id:"aria-toggle-field-name",impact:"serious",selector:'[role="checkbox"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="radio"], [role="switch"], [role="option"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT"],actIds:["e086e5"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-tooltip-name",impact:"serious",selector:'[role="tooltip"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-treeitem-name",impact:"serious",selector:'[role="treeitem"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-valid-attr-value",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["6a7281"],all:[{options:[],id:"aria-valid-attr-value"},"aria-errormessage","aria-level"],any:[],none:[]},{id:"aria-valid-attr",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["5f99a7"],all:[],any:[{options:[],id:"aria-valid-attr"}],none:[]},{id:"audio-caption",impact:"critical",selector:"audio",enabled:!1,excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag121","EN-301-549","EN-9.1.2.1","section508","section508.22.a","deprecated"],actIds:["2eb176","afb423"],all:[],any:[],none:["caption"]},{id:"autocomplete-valid",impact:"serious",matches:"autocomplete-matches",tags:["cat.forms","wcag21aa","wcag135","EN-301-549","EN-9.1.3.5","ACT"],actIds:["73f2c2"],all:[{options:{stateTerms:["none","false","true","disabled","enabled","undefined","null"]},id:"autocomplete-valid"}],any:[],none:[]},{id:"avoid-inline-spacing",impact:"serious",selector:"[style]",matches:"is-visible-on-screen-matches",tags:["cat.structure","wcag21aa","wcag1412","EN-301-549","EN-9.1.4.12","ACT"],actIds:["24afc2","9e45ec","78fd32"],all:[{options:{cssProperty:"letter-spacing",minValue:.12},id:"important-letter-spacing"},{options:{cssProperty:"word-spacing",minValue:.16},id:"important-word-spacing"},{options:{multiLineOnly:!0,cssProperty:"line-height",minValue:1.5,normalValue:1},id:"important-line-height"}],any:[],none:[]},{id:"blink",impact:"serious",selector:"blink",excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j","TTv5","TT2.b","EN-301-549","EN-9.2.2.2"],all:[],any:[],none:["is-on-screen"]},{id:"button-name",impact:"critical",selector:"button",matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT"],actIds:["97a4e1","m6b1q3"],all:[],any:["button-has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"bypass",impact:"serious",selector:"html",pageLevel:!0,matches:"bypass-matches",reviewOnFail:!0,tags:["cat.keyboard","wcag2a","wcag241","section508","section508.22.o","TTv5","TT9.a","EN-301-549","EN-9.2.4.1"],actIds:["cf77f2","047fe0","b40fd1","3e12e1","ye5d6e"],all:[],any:["internal-link-present",{options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"},id:"header-present"},{options:{selector:"main, [role=main]"},id:"landmark"}],none:[]},{id:"color-contrast-enhanced",impact:"serious",matches:"color-contrast-matches",excludeHidden:!1,enabled:!1,tags:["cat.color","wcag2aaa","wcag146","ACT"],actIds:["09o5cg"],all:[],any:[{options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03},id:"color-contrast-enhanced"}],none:[]},{id:"color-contrast",impact:"serious",matches:"color-contrast-matches",excludeHidden:!1,tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT"],actIds:["afw4f7","09o5cg"],all:[],any:[{options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03},id:"color-contrast"}],none:[]},{id:"css-orientation-lock",impact:"serious",selector:"html",tags:["cat.structure","wcag134","wcag21aa","EN-301-549","EN-9.1.3.4","experimental"],actIds:["b33eff"],all:[{options:{degreeThreshold:2},id:"css-orientation-lock"}],any:[],none:[],preload:!0},{id:"definition-list",impact:"serious",selector:"dl",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1"],all:[],any:[],none:["structured-dlitems",{options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:!0},id:"only-dlitems"}]},{id:"dlitem",impact:"serious",selector:"dd, dt",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1"],all:[],any:["dlitem"],none:[]},{id:"document-title",impact:"serious",selector:"html",matches:"is-initiator-matches",tags:["cat.text-alternatives","wcag2a","wcag242","TTv5","TT12.a","EN-301-549","EN-9.2.4.2","ACT"],actIds:["2779a5"],all:[],any:["doc-has-title"],none:[]},{id:"duplicate-id-active",impact:"serious",selector:"[id]",matches:"duplicate-id-active-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:!1,actIds:["3ea0c8"],all:[],any:["duplicate-id-active"],none:[]},{id:"duplicate-id-aria",impact:"critical",selector:"[id]",matches:"duplicate-id-aria-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],reviewOnFail:!0,actIds:["3ea0c8"],all:[],any:["duplicate-id-aria"],none:[]},{id:"duplicate-id",impact:"minor",selector:"[id]",matches:"duplicate-id-misc-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:!1,actIds:["3ea0c8"],all:[],any:["duplicate-id"],none:[]},{id:"empty-heading",impact:"minor",selector:'h1, h2, h3, h4, h5, h6, [role="heading"]',matches:"heading-matches",tags:["cat.name-role-value","best-practice"],actIds:["ffd0e9"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"empty-table-header",impact:"minor",selector:'th:not([role]), [role="rowheader"], [role="columnheader"]',tags:["cat.name-role-value","best-practice"],all:[],any:["has-visible-text"],none:[]},{id:"focus-order-semantics",impact:"minor",selector:"div, h1, h2, h3, h4, h5, h6, [role=heading], p, span",matches:"inserted-into-focus-order-matches",tags:["cat.keyboard","best-practice","experimental"],all:[],any:[{options:[],id:"has-widget-role"},{options:{roles:["tooltip"]},id:"valid-scrollable-semantics"}],none:[]},{id:"form-field-multiple-labels",impact:"moderate",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag332","TTv5","TT5.c","EN-301-549","EN-9.3.3.2"],all:[],any:[],none:["multiple-label"]},{id:"frame-focusable-content",impact:"serious",selector:"html",matches:"frame-focusable-content-matches",tags:["cat.keyboard","wcag2a","wcag211","TTv5","TT4.a","EN-301-549","EN-9.2.1.1"],actIds:["akn7bn"],all:[],any:["frame-focusable-content"],none:[]},{id:"frame-tested",impact:"critical",selector:"html, frame, iframe",tags:["cat.structure","best-practice","review-item"],all:[{options:{isViolation:!1},id:"frame-tested"}],any:[],none:[]},{id:"frame-title-unique",impact:"serious",selector:"frame[title], iframe[title]",matches:"frame-title-has-text-matches",tags:["cat.text-alternatives","wcag2a","wcag412","TTv5","TT12.d","EN-301-549","EN-9.4.1.2"],actIds:["4b1c6c"],all:[],any:[],none:["unique-frame-title"],reviewOnFail:!0},{id:"frame-title",impact:"serious",selector:"frame, iframe",matches:"no-negative-tabindex-matches",tags:["cat.text-alternatives","wcag2a","wcag412","section508","section508.22.i","TTv5","TT12.d","EN-301-549","EN-9.4.1.2"],actIds:["cae760"],all:[],any:[{options:{attribute:"title"},id:"non-empty-title"},"aria-label","aria-labelledby","presentational-role"],none:[]},{id:"heading-order",impact:"moderate",selector:"h1, h2, h3, h4, h5, h6, [role=heading]",matches:"heading-matches",tags:["cat.semantics","best-practice"],all:[],any:["heading-order"],none:[]},{id:"hidden-content",impact:"minor",selector:"*",excludeHidden:!1,tags:["cat.structure","best-practice","experimental","review-item"],all:[],any:["hidden-content"],none:[]},{id:"html-has-lang",impact:"serious",selector:"html",matches:"is-initiator-matches",tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT"],actIds:["b5c3f8"],all:[],any:[{options:{attributes:["lang","xml:lang"]},id:"has-lang"}],none:[]},{id:"html-lang-valid",impact:"serious",selector:'html[lang]:not([lang=""]), html[xml\\:lang]:not([xml\\:lang=""])',tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT"],actIds:["bf051a"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"html-xml-lang-mismatch",impact:"moderate",selector:"html[lang][xml\\:lang]",matches:"xml-lang-mismatch-matches",tags:["cat.language","wcag2a","wcag311","EN-301-549","EN-9.3.1.1","ACT"],actIds:["5b7ae0"],all:["xml-lang-mismatch"],any:[],none:[]},{id:"identical-links-same-purpose",impact:"minor",selector:'a[href], area[href], [role="link"]',excludeHidden:!1,enabled:!1,matches:"identical-links-same-purpose-matches",tags:["cat.semantics","wcag2aaa","wcag249"],actIds:["b20e66"],all:["identical-links-same-purpose"],any:[],none:[]},{id:"image-alt",impact:"critical",selector:"img",matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","TT7.b","EN-301-549","EN-9.1.1.1","ACT"],actIds:["23a2a8"],all:[],any:["has-alt","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["alt-space-value"]},{id:"image-redundant-alt",impact:"minor",selector:"img",tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:[{options:{parentSelector:"button, [role=button], a[href], p, li, td, th"},id:"duplicate-img-label"}]},{id:"input-button-name",impact:"critical",selector:'input[type="button"], input[type="submit"], input[type="reset"]',matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT"],actIds:["97a4e1"],all:[],any:["non-empty-if-present",{options:{attribute:"value"},id:"non-empty-value"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"input-image-alt",impact:"critical",selector:'input[type="image"]',matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","wcag412","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","EN-9.4.1.2","ACT"],actIds:["59796f"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"label-content-name-mismatch",impact:"serious",matches:"label-content-name-mismatch-matches",tags:["cat.semantics","wcag21a","wcag253","EN-301-549","EN-9.2.5.3","experimental"],actIds:["2ee8b8"],all:[],any:[{options:{pixelThreshold:.1,occurrenceThreshold:3},id:"label-content-name-mismatch"}],none:[]},{id:"label-title-only",impact:"serious",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","best-practice"],all:[],any:[],none:["title-only"]},{id:"label",impact:"critical",selector:"input, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},{options:{attribute:"placeholder"},id:"non-empty-placeholder"},"presentational-role"],none:["hidden-explicit-label"]},{id:"landmark-banner-is-top-level",impact:"moderate",selector:"header:not([role]), [role=banner]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-complementary-is-top-level",impact:"moderate",selector:"aside:not([role]), [role=complementary]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-contentinfo-is-top-level",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-main-is-top-level",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-no-duplicate-banner",impact:"moderate",selector:"header:not([role]), [role=banner]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"header:not([role]), [role=banner]",role:"banner"},id:"page-no-duplicate-banner"}],none:[]},{id:"landmark-no-duplicate-contentinfo",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"},id:"page-no-duplicate-contentinfo"}],none:[]},{id:"landmark-no-duplicate-main",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"main:not([role]), [role='main']"},id:"page-no-duplicate-main"}],none:[]},{id:"landmark-one-main",impact:"moderate",selector:"html",tags:["cat.semantics","best-practice"],all:[{options:{selector:"main:not([role]), [role='main']",passForModal:!0},id:"page-has-main"}],any:[],none:[]},{id:"landmark-unique",impact:"moderate",selector:"[role=banner], [role=complementary], [role=contentinfo], [role=main], [role=navigation], [role=region], [role=search], [role=form], form, footer, header, aside, main, nav, section",tags:["cat.semantics","best-practice"],matches:"landmark-unique-matches",all:[],any:["landmark-is-unique"],none:[]},{id:"link-in-text-block",impact:"serious",selector:"a[href], [role=link]",matches:"link-in-text-block-matches",excludeHidden:!1,tags:["cat.color","wcag2a","wcag141","TTv5","TT13.a","EN-301-549","EN-9.1.4.1"],all:[],any:[{options:{requiredContrastRatio:3,allowSameColor:!0},id:"link-in-text-block"},"link-in-text-block-style"],none:[]},{id:"link-name",impact:"serious",selector:"a[href]",tags:["cat.name-role-value","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT"],actIds:["c487ae"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["focusable-no-name"]},{id:"list",impact:"serious",selector:"ul, ol",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1"],all:[],any:[],none:[{options:{validRoles:["listitem"],validNodeNames:["li"]},id:"only-listitems"}]},{id:"listitem",impact:"serious",selector:"li",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1"],all:[],any:["listitem"],none:[]},{id:"marquee",impact:"serious",selector:"marquee",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag222","TTv5","TT2.b","EN-301-549","EN-9.2.2.2"],all:[],any:[],none:["is-on-screen"]},{id:"meta-refresh-no-exceptions",impact:"minor",selector:'meta[http-equiv="refresh"][content]',excludeHidden:!1,enabled:!1,tags:["cat.time-and-media","wcag2aaa","wcag224","wcag325"],actIds:["bisz58"],all:[],any:[{options:{minDelay:72e3,maxDelay:!1},id:"meta-refresh-no-exceptions"}],none:[]},{id:"meta-refresh",impact:"critical",selector:'meta[http-equiv="refresh"][content]',excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag221","TTv5","TT8.a","EN-301-549","EN-9.2.2.1"],actIds:["bc659a","bisz58"],all:[],any:[{options:{minDelay:0,maxDelay:72e3},id:"meta-refresh"}],none:[]},{id:"meta-viewport-large",impact:"minor",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:!1,tags:["cat.sensory-and-visual-cues","best-practice"],all:[],any:[{options:{scaleMinimum:5,lowerBound:2},id:"meta-viewport-large"}],none:[]},{id:"meta-viewport",impact:"critical",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:!1,tags:["cat.sensory-and-visual-cues","wcag2aa","wcag144","EN-301-549","EN-9.1.4.4","ACT"],actIds:["b4f0c3"],all:[],any:[{options:{scaleMinimum:2},id:"meta-viewport"}],none:[]},{id:"nested-interactive",impact:"serious",matches:"nested-interactive-matches",tags:["cat.keyboard","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2"],actIds:["307n5z"],all:[],any:["no-focusable-content"],none:[]},{id:"no-autoplay-audio",impact:"moderate",excludeHidden:!1,selector:"audio[autoplay], video[autoplay]",matches:"no-autoplay-audio-matches",reviewOnFail:!0,tags:["cat.time-and-media","wcag2a","wcag142","TTv5","TT2.a","EN-301-549","EN-9.1.4.2","ACT"],actIds:["80f0bf"],preload:!0,all:[{options:{allowedDuration:3},id:"no-autoplay-audio"}],any:[],none:[]},{id:"object-alt",impact:"serious",selector:"object[data]",matches:"object-is-loaded-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","EN-301-549","EN-9.1.1.1"],actIds:["8fc3b6"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"p-as-heading",impact:"serious",selector:"p",matches:"p-as-heading-matches",tags:["cat.semantics","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","experimental"],all:[{options:{margins:[{weight:150,italic:!0},{weight:150,size:1.15},{italic:!0,size:1.15},{size:1.4}],passLength:1,failLength:.5},id:"p-as-heading"}],any:[],none:[]},{id:"page-has-heading-one",impact:"moderate",selector:"html",tags:["cat.semantics","best-practice"],all:[{options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:!0},id:"page-has-heading-one"}],any:[],none:[]},{id:"presentation-role-conflict",impact:"minor",selector:'img[alt=\'\'], [role="none"], [role="presentation"]',matches:"has-implicit-chromium-role-matches",tags:["cat.aria","best-practice","ACT"],actIds:["46ca7f"],all:[],any:[],none:["is-element-focusable","has-global-aria-attribute"]},{id:"region",impact:"moderate",selector:"body *",tags:["cat.keyboard","best-practice"],all:[],any:[{options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"},id:"region"}],none:[]},{id:"role-img-alt",impact:"serious",selector:"[role='img']:not(img, area, input, object)",matches:"html-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT"],actIds:["23a2a8"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"scope-attr-valid",impact:"moderate",selector:"td[scope], th[scope]",tags:["cat.tables","best-practice"],all:["html5-scope",{options:{values:["row","col","rowgroup","colgroup"]},id:"scope-value"}],any:[],none:[]},{id:"scrollable-region-focusable",impact:"serious",selector:"*:not(select,textarea)",matches:"scrollable-region-focusable-matches",tags:["cat.keyboard","wcag2a","wcag211","TTv5","TT4.a","EN-301-549","EN-9.2.1.1"],actIds:["0ssw9k"],all:[],any:["focusable-content","focusable-element"],none:[]},{id:"select-name",impact:"critical",selector:"select",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["hidden-explicit-label"]},{id:"server-side-image-map",impact:"minor",selector:"img[ismap]",tags:["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f","TTv5","TT4.a","EN-301-549","EN-9.2.1.1"],all:[],any:[],none:["exists"]},{id:"skip-link",impact:"moderate",selector:'a[href^="#"], a[href^="/#"]',matches:"skip-link-matches",tags:["cat.keyboard","best-practice"],all:[],any:["skip-link"],none:[]},{id:"svg-img-alt",impact:"serious",selector:'[role="img"], [role="graphics-symbol"], svg[role="graphics-document"]',matches:"svg-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT"],actIds:["7d6734"],all:[],any:["svg-non-empty-title","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"tabindex",impact:"serious",selector:"[tabindex]",tags:["cat.keyboard","best-practice"],all:[],any:["tabindex"],none:[]},{id:"table-duplicate-name",impact:"minor",selector:"table",tags:["cat.tables","best-practice"],all:[],any:[],none:["same-caption-summary"]},{id:"table-fake-caption",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","EN-301-549","EN-9.1.3.1"],all:["caption-faked"],any:[],none:[]},{id:"target-size",impact:"serious",selector:"*",enabled:!1,matches:"widget-not-inline-matches",tags:["cat.sensory-and-visual-cues","wcag22aa","wcag258"],all:[],any:[{options:{minSize:24},id:"target-size"},{options:{minOffset:24},id:"target-offset"}],none:[]},{id:"td-has-header",impact:"critical",selector:"table",matches:"data-table-large-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1"],all:["td-has-header"],any:[],none:[]},{id:"td-headers-attr",impact:"serious",selector:"table",matches:"table-or-grid-role-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1"],actIds:["a25f45"],all:["td-headers-attr"],any:[],none:[]},{id:"th-has-data-cells",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1"],actIds:["d0f69e"],all:["th-has-data-cells"],any:[],none:[]},{id:"valid-lang",impact:"serious",selector:"[lang]:not(html), [xml\\:lang]:not(html)",tags:["cat.language","wcag2aa","wcag312","TTv5","TT11.b","EN-301-549","EN-9.3.1.2","ACT"],actIds:["de46e4"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"video-caption",impact:"critical",selector:"video",tags:["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a","TTv5","TT17.a","EN-301-549","EN-9.1.2.2"],actIds:["eac66b"],all:[],any:[],none:["caption"]}],checks:[{id:"abstractrole",evaluate:"abstractrole-evaluate"},{id:"aria-allowed-attr",evaluate:"aria-allowed-attr-evaluate",options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-allowed-role",evaluate:"aria-allowed-role-evaluate",options:{allowImplicit:!0,ignoredTags:[]}},{id:"aria-busy",evaluate:"aria-busy-evaluate"},{id:"aria-conditional-attr",evaluate:"aria-conditional-attr-evaluate",options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-errormessage",evaluate:"aria-errormessage-evaluate"},{id:"aria-hidden-body",evaluate:"aria-hidden-body-evaluate"},{id:"aria-level",evaluate:"aria-level-evaluate"},{id:"aria-prohibited-attr",evaluate:"aria-prohibited-attr-evaluate",options:{elementsAllowedAriaLabel:["applet","input"]}},{id:"aria-required-attr",evaluate:"aria-required-attr-evaluate"},{id:"aria-required-children",evaluate:"aria-required-children-evaluate",options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]}},{id:"aria-required-parent",evaluate:"aria-required-parent-evaluate",options:{ownGroupRoles:["listitem","treeitem"]}},{id:"aria-roledescription",evaluate:"aria-roledescription-evaluate",options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]}},{id:"aria-unsupported-attr",evaluate:"aria-unsupported-attr-evaluate"},{id:"aria-valid-attr-value",evaluate:"aria-valid-attr-value-evaluate",options:[]},{id:"aria-valid-attr",evaluate:"aria-valid-attr-evaluate",options:[]},{id:"braille-label-equivalent",evaluate:"braille-label-equivalent-evaluate"},{id:"braille-roledescription-equivalent",evaluate:"braille-roledescription-equivalent-evaluate"},{id:"deprecatedrole",evaluate:"deprecatedrole-evaluate"},{id:"fallbackrole",evaluate:"fallbackrole-evaluate"},{id:"has-global-aria-attribute",evaluate:"has-global-aria-attribute-evaluate"},{id:"has-widget-role",evaluate:"has-widget-role-evaluate",options:[]},{id:"invalidrole",evaluate:"invalidrole-evaluate"},{id:"is-element-focusable",evaluate:"is-element-focusable-evaluate"},{id:"no-implicit-explicit-label",evaluate:"no-implicit-explicit-label-evaluate"},{id:"unsupportedrole",evaluate:"unsupportedrole-evaluate"},{id:"valid-scrollable-semantics",evaluate:"valid-scrollable-semantics-evaluate",options:{roles:["tooltip"]}},{id:"color-contrast-enhanced",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03}},{id:"color-contrast",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03}},{id:"link-in-text-block-style",evaluate:"link-in-text-block-style-evaluate"},{id:"link-in-text-block",evaluate:"link-in-text-block-evaluate",options:{requiredContrastRatio:3,allowSameColor:!0}},{id:"autocomplete-appropriate",evaluate:"autocomplete-appropriate-evaluate",deprecated:!0},{id:"autocomplete-valid",evaluate:"autocomplete-valid-evaluate",options:{stateTerms:["none","false","true","disabled","enabled","undefined","null"]}},{id:"accesskeys",evaluate:"accesskeys-evaluate",after:"accesskeys-after"},{id:"focusable-content",evaluate:"focusable-content-evaluate"},{id:"focusable-disabled",evaluate:"focusable-disabled-evaluate"},{id:"focusable-element",evaluate:"focusable-element-evaluate"},{id:"focusable-modal-open",evaluate:"focusable-modal-open-evaluate"},{id:"focusable-no-name",evaluate:"focusable-no-name-evaluate"},{id:"focusable-not-tabbable",evaluate:"focusable-not-tabbable-evaluate"},{id:"frame-focusable-content",evaluate:"frame-focusable-content-evaluate"},{id:"landmark-is-top-level",evaluate:"landmark-is-top-level-evaluate"},{id:"no-focusable-content",evaluate:"no-focusable-content-evaluate"},{id:"page-has-heading-one",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:!0}},{id:"page-has-main",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"main:not([role]), [role='main']",passForModal:!0}},{id:"page-no-duplicate-banner",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"header:not([role]), [role=banner]",role:"banner"}},{id:"page-no-duplicate-contentinfo",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"}},{id:"page-no-duplicate-main",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"main:not([role]), [role='main']"}},{id:"tabindex",evaluate:"tabindex-evaluate"},{id:"alt-space-value",evaluate:"alt-space-value-evaluate"},{id:"duplicate-img-label",evaluate:"duplicate-img-label-evaluate",options:{parentSelector:"button, [role=button], a[href], p, li, td, th"}},{id:"explicit-label",evaluate:"explicit-evaluate"},{id:"help-same-as-label",evaluate:"help-same-as-label-evaluate"},{id:"hidden-explicit-label",evaluate:"hidden-explicit-label-evaluate"},{id:"implicit-label",evaluate:"implicit-evaluate"},{id:"label-content-name-mismatch",evaluate:"label-content-name-mismatch-evaluate",options:{pixelThreshold:.1,occurrenceThreshold:3}},{id:"multiple-label",evaluate:"multiple-label-evaluate"},{id:"title-only",evaluate:"title-only-evaluate"},{id:"landmark-is-unique",evaluate:"landmark-is-unique-evaluate",after:"landmark-is-unique-after"},{id:"has-lang",evaluate:"has-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"valid-lang",evaluate:"valid-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"xml-lang-mismatch",evaluate:"xml-lang-mismatch-evaluate"},{id:"dlitem",evaluate:"dlitem-evaluate"},{id:"listitem",evaluate:"listitem-evaluate"},{id:"only-dlitems",evaluate:"invalid-children-evaluate",options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:!0}},{id:"only-listitems",evaluate:"invalid-children-evaluate",options:{validRoles:["listitem"],validNodeNames:["li"]}},{id:"structured-dlitems",evaluate:"structured-dlitems-evaluate"},{id:"caption",evaluate:"caption-evaluate"},{id:"frame-tested",evaluate:"frame-tested-evaluate",after:"frame-tested-after",options:{isViolation:!1}},{id:"no-autoplay-audio",evaluate:"no-autoplay-audio-evaluate",options:{allowedDuration:3}},{id:"css-orientation-lock",evaluate:"css-orientation-lock-evaluate",options:{degreeThreshold:2}},{id:"meta-viewport-large",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:5,lowerBound:2}},{id:"meta-viewport",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:2}},{id:"target-offset",evaluate:"target-offset-evaluate",options:{minOffset:24}},{id:"target-size",evaluate:"target-size-evaluate",options:{minSize:24}},{id:"header-present",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"}},{id:"heading-order",evaluate:"heading-order-evaluate",after:"heading-order-after"},{id:"identical-links-same-purpose",evaluate:"identical-links-same-purpose-evaluate",after:"identical-links-same-purpose-after"},{id:"internal-link-present",evaluate:"internal-link-present-evaluate"},{id:"landmark",evaluate:"has-descendant-evaluate",options:{selector:"main, [role=main]"}},{id:"meta-refresh-no-exceptions",evaluate:"meta-refresh-evaluate",options:{minDelay:72e3,maxDelay:!1}},{id:"meta-refresh",evaluate:"meta-refresh-evaluate",options:{minDelay:0,maxDelay:72e3}},{id:"p-as-heading",evaluate:"p-as-heading-evaluate",options:{margins:[{weight:150,italic:!0},{weight:150,size:1.15},{italic:!0,size:1.15},{size:1.4}],passLength:1,failLength:.5}},{id:"region",evaluate:"region-evaluate",after:"region-after",options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"}},{id:"skip-link",evaluate:"skip-link-evaluate"},{id:"unique-frame-title",evaluate:"unique-frame-title-evaluate",after:"unique-frame-title-after"},{id:"duplicate-id-active",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id-aria",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"aria-label",evaluate:"aria-label-evaluate"},{id:"aria-labelledby",evaluate:"aria-labelledby-evaluate"},{id:"avoid-inline-spacing",evaluate:"avoid-inline-spacing-evaluate",options:{cssProperties:["line-height","letter-spacing","word-spacing"]}},{id:"button-has-visible-text",evaluate:"has-text-content-evaluate"},{id:"doc-has-title",evaluate:"doc-has-title-evaluate"},{id:"exists",evaluate:"exists-evaluate"},{id:"has-alt",evaluate:"has-alt-evaluate"},{id:"has-visible-text",evaluate:"has-text-content-evaluate"},{id:"important-letter-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"letter-spacing",minValue:.12}},{id:"important-line-height",evaluate:"inline-style-property-evaluate",options:{multiLineOnly:!0,cssProperty:"line-height",minValue:1.5,normalValue:1}},{id:"important-word-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"word-spacing",minValue:.16}},{id:"is-on-screen",evaluate:"is-on-screen-evaluate"},{id:"non-empty-alt",evaluate:"attr-non-space-content-evaluate",options:{attribute:"alt"}},{id:"non-empty-if-present",evaluate:"non-empty-if-present-evaluate"},{id:"non-empty-placeholder",evaluate:"attr-non-space-content-evaluate",options:{attribute:"placeholder"}},{id:"non-empty-title",evaluate:"attr-non-space-content-evaluate",options:{attribute:"title"}},{id:"non-empty-value",evaluate:"attr-non-space-content-evaluate",options:{attribute:"value"}},{id:"presentational-role",evaluate:"presentational-role-evaluate"},{id:"role-none",evaluate:"matches-definition-evaluate",deprecated:!0,options:{matcher:{attributes:{role:"none"}}}},{id:"role-presentation",evaluate:"matches-definition-evaluate",deprecated:!0,options:{matcher:{attributes:{role:"presentation"}}}},{id:"svg-non-empty-title",evaluate:"svg-non-empty-title-evaluate"},{id:"caption-faked",evaluate:"caption-faked-evaluate"},{id:"html5-scope",evaluate:"html5-scope-evaluate"},{id:"same-caption-summary",evaluate:"same-caption-summary-evaluate"},{id:"scope-value",evaluate:"scope-value-evaluate",options:{values:["row","col","rowgroup","colgroup"]}},{id:"td-has-header",evaluate:"td-has-header-evaluate"},{id:"td-headers-attr",evaluate:"td-headers-attr-evaluate"},{id:"th-has-data-cells",evaluate:"th-has-data-cells-evaluate"},{id:"hidden-content",evaluate:"hidden-content-evaluate"}]})}("object"==typeof window?window:this)},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,a.default)(e,t)||("string"==typeof e.className?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))};var a=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 a,o,i,u,s,l,c,d,f,p,h,m=r(n(1833)),g="transform";if(t.transform=g,t.animationEnd=i,t.transitionEnd=o,t.transitionDelay=c,t.transitionTiming=l,t.transitionDuration=s,t.transitionProperty=u,t.animationDelay=h,t.animationTiming=p,t.animationDuration=f,t.animationName=d,m.default){var v=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}},a=Object.keys(r),o="",i=0;i<a.length;i++){var u=a[i];if(u+"TransitionProperty"in n){o="-"+u.toLowerCase(),e=r[u]("TransitionEnd"),t=r[u]("AnimationEnd");break}}return!e&&"transitionProperty"in n&&(e="transitionend"),!t&&"animationName"in n&&(t="animationend"),n=null,{animationEnd:t,transitionEnd:e,prefix:o}}();a=v.prefix,t.transitionEnd=o=v.transitionEnd,t.animationEnd=i=v.animationEnd,t.transform=g=a+"-"+g,t.transitionProperty=u=a+"-transition-property",t.transitionDuration=s=a+"-transition-duration",t.transitionDelay=c=a+"-transition-delay",t.transitionTiming=l=a+"-transition-timing-function",t.animationName=d=a+"-animation-name",t.animationDuration=f=a+"-animation-duration",t.animationTiming=p=a+"-animation-delay",t.animationDelay=h=a+"-animation-timing-function"}var D={transform:g,end:o,property:u,timing:l,delay:c,duration:s};t.default=D},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 a,o=r(n(1833)),i="clearTimeout",u=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-l)),r=setTimeout(e,n);return l=t,r},s=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=s(e,"request");if(t in window)return i=s(e,"cancel"),u=function(e){return window[t](e)}}));var l=(new Date).getTime();(a=function(e){return u(e)}).cancel=function(e){window[i]&&"function"==typeof window[i]&&window[i](e)};var c=a;t.default=c,e.exports=t.default},4954:(e,t,n)=>{"use strict";n.d(t,{Bp:()=>ye});var r=n(8587),a=n(8168),o=n(5556),i=n.n(o),u=n(2427);n(4363);let s=e=>"object"==typeof e&&null!=e&&1===e.nodeType,l=(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 l(n.overflowY,t)||l(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,a,o,i,u)=>o<e&&i>t||o>e&&i<t?0:o<=e&&u<=n||i>=t&&u>=n?o-e-r:i>t&&u<n||o<e&&u>n?i-t+a: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 a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},p.apply(this,arguments)};Object.create,Object.create;var h=0;function m(){}function g(e,t,n){return e===t||t instanceof n.Node&&e.contains&&e.contains(t)}function v(e,t){var n;function r(){n&&clearTimeout(n)}function a(){for(var a=arguments.length,o=new Array(a),i=0;i<a;i++)o[i]=arguments[i];r(),n=setTimeout((function(){n=null,e.apply(void 0,o)}),t)}return a.cancel=r,a}function D(){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),a=1;a<n;a++)r[a-1]=arguments[a];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 y(e,t){return Object.keys(e).reduce((function(n,r){return n[r]=w(t,r)?t[r]:e[r],n}),{})}function w(e,t){return void 0!==e[t]}function E(e,t,n,r,a){if(void 0===a&&(a=!0),0===n)return-1;var o=n-1;("number"!=typeof t||t<0||t>=n)&&(t=e>0?-1:o+1);var i=t+e;i<0?i=a?o:0:i>o&&(i=a?0:o);var u=F(e,i,n,r,a);return-1===u?t>=n?-1:t:u}function F(e,t,n,r,a){var o=r(t);if(!o||!o.hasAttribute("disabled"))return t;if(e>0){for(var i=t+1;i<n;i++)if(!r(i).hasAttribute("disabled"))return i}else for(var u=t-1;u>=0;u--)if(!r(u).hasAttribute("disabled"))return u;return a?e>0?F(1,0,n,r,!1):F(-1,n-1,n,r,!1):-1}function C(e,t,n,r){return void 0===r&&(r=!0),t.some((function(t){return t&&(g(t,e,n)||r&&g(t,n.document.activeElement,n))}))}var x=v((function(e){A(e).textContent=""}),500);function A(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 k=["isInitialMount","highlightedIndex","items","environment"],T={highlightedIndex:-1,isOpen:!1,selectedItem:null,inputValue:""};var N=v((function(e,t){var n,r,a;n=e(),a=A(r=t),n&&(a.textContent=n,x(r))}),200),O="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?u.useLayoutEffect:u.useEffect;function S(e){var t=e.id,n=void 0===t?"downshift-"+String(h++):t,r=e.labelId,a=e.menuId,o=e.getItemId,i=e.toggleButtonId,s=e.inputId;return(0,u.useRef)({labelId:r||n+"-label",menuId:a||n+"-menu",getItemId:o||function(e){return n+"-item-"+e},toggleButtonId:i||n+"-toggle-button",inputId:s||n+"-input"}).current}function R(e){return""+e.slice(0,1).toUpperCase()+e.slice(1)}function B(e){var t=(0,u.useRef)(e);return t.current=e,t}function _(e,t,n){var r=(0,u.useRef)(),o=(0,u.useRef)(),i=(0,u.useCallback)((function(t,n){o.current=n,t=y(t,n.props);var r=e(t,n);return n.props.stateReducer(t,(0,a.A)({},n,{changes:r}))}),[e]),s=(0,u.useReducer)(i,t),l=s[0],c=s[1],d=B(n),f=(0,u.useCallback)((function(e){return c((0,a.A)({props:d.current},e))}),[d]),p=o.current;return(0,u.useEffect)((function(){p&&r.current&&r.current!==l&&function(e,t,n){var r=e.props,o=e.type,i={};Object.keys(t).forEach((function(r){!function(e,t,n,r){var o=t.props,i=t.type,u="on"+R(e)+"Change";o[u]&&void 0!==r[e]&&r[e]!==n[e]&&o[u]((0,a.A)({type:i},r))}(r,e,t,n),n[r]!==t[r]&&(i[r]=n[r])})),r.onStateChange&&Object.keys(i).length&&r.onStateChange((0,a.A)({type:o},i))}(p,y(r.current,p.props),l),r.current=l}),[l,n,p]),[l,f]}var M={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,a,o,i,u;if("undefined"==typeof document)return[];let{scrollMode:l,block:p,inline:h,boundary:m,skipOverflowHiddenElements:g}=t,v="function"==typeof m?m:e=>e!==m;if(!s(e))throw new TypeError("Invalid target");let D=document.scrollingElement||document.documentElement,b=[],y=e;for(;s(y)&&v(y);){if(y=f(y),y===D){b.push(y);break}null!=y&&y===document.body&&c(y)&&!c(document.documentElement)||null!=y&&c(y,g)&&b.push(y)}let w=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,E=null!=(o=null==(a=window.visualViewport)?void 0:a.height)?o:innerHeight,F=null!=(i=window.scrollX)?i:pageXOffset,C=null!=(u=window.scrollY)?u:pageYOffset,{height:x,width:A,top:k,right:T,bottom:N,left:O}=e.getBoundingClientRect(),S="start"===p||"nearest"===p?k:"end"===p?N:k+x/2,R="center"===h?O+A/2:"end"===h?T:O,B=[];for(let e=0;e<b.length;e++){let t=b[e],{height:n,width:r,top:a,right:o,bottom:i,left:u}=t.getBoundingClientRect();if("if-needed"===l&&k>=0&&O>=0&&N<=E&&T<=w&&k>=a&&N<=i&&O>=u&&T<=o)return B;let s=getComputedStyle(t),c=parseInt(s.borderLeftWidth,10),f=parseInt(s.borderTopWidth,10),m=parseInt(s.borderRightWidth,10),g=parseInt(s.borderBottomWidth,10),v=0,y=0,_="offsetWidth"in t?t.offsetWidth-t.clientWidth-c-m:0,M="offsetHeight"in t?t.offsetHeight-t.clientHeight-f-g:0,I="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,P="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(D===t)v="start"===p?S:"end"===p?S-E:"nearest"===p?d(C,C+E,E,f,g,C+S,C+S+x,x):S-E/2,y="start"===h?R:"center"===h?R-w/2:"end"===h?R-w:d(F,F+w,w,c,m,F+R,F+R+A,A),v=Math.max(0,v+C),y=Math.max(0,y+F);else{v="start"===p?S-a-f:"end"===p?S-i+g+M:"nearest"===p?d(a,i,n,f,g+M,S,S+x,x):S-(a+n/2)+M/2,y="start"===h?R-u-c:"center"===h?R-(u+r/2)+_/2:"end"===h?R-o+m+_:d(u,o,r,c,m+_,R,R+A,A);let{scrollLeft:e,scrollTop:s}=t;v=Math.max(0,Math.min(s+v/P,t.scrollHeight-n/P+M)),y=Math.max(0,Math.min(e+y/I,t.scrollWidth-r/I+_)),S+=s-v,R+=e-y}B.push({el:t,top:v,left:y})}return B})(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 I(e,t,n){void 0===n&&(n=T);var r=e["default"+R(t)];return void 0!==r?r:n[t]}function P(e,t,n){void 0===n&&(n=T);var r=e[t];if(void 0!==r)return r;var a=e["initial"+R(t)];return void 0!==a?a:I(e,t,n)}function L(e,t,n){var r=e.items,a=e.initialHighlightedIndex,o=e.defaultHighlightedIndex,i=t.selectedItem,u=t.highlightedIndex;return 0===r.length?-1:void 0!==a&&u===a?a:void 0!==o?o:i?r.indexOf(i):0===n?-1:n<0?r.length-1:0}var j=function(){return m};function $(e,t,n){var o=n.isInitialMount,i=n.highlightedIndex,s=n.items,l=n.environment,c=(0,r.A)(n,k);(0,u.useEffect)((function(){o||N((function(){return e((0,a.A)({highlightedIndex:i,highlightedItem:s[i],resultCount:s.length},c))}),l.document)}),t)}var q=m;function V(e,t,n){var r;void 0===n&&(n=!0);var o=(null==(r=e.items)?void 0:r.length)&&t>=0;return(0,a.A)({isOpen:!1,highlightedIndex:-1},o&&(0,a.A)({selectedItem:e.items[t],isOpen:I(e,"isOpen"),highlightedIndex:I(e,"highlightedIndex")},n&&{inputValue:e.itemToString(e.items[t])}))}i().array.isRequired,i().func,i().func,i().func,i().number,i().number,i().number,i().bool,i().bool,i().bool,i().any,i().any,i().any,i().string,i().string,i().string,i().func,i().string,i().func,i().func,i().func,i().func,i().func,i().shape({addEventListener:i().func,removeEventListener:i().func,document:i().shape({getElementById:i().func,activeElement:i().any,body:i().any})}),p(p({},M),{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 z=0,U=1,H=2,W=3,K=4,G=5,Y=6,Q=7,X=8,Z=9,J=10,ee=11,te=12,ne=13,re=14,ae=15,oe=16,ie=17,ue=18,se=19,le=20,ce=21,de=22,fe=Object.freeze({__proto__:null,InputKeyDownArrowDown:z,InputKeyDownArrowUp:U,InputKeyDownEscape:H,InputKeyDownHome:W,InputKeyDownEnd:K,InputKeyDownPageUp:G,InputKeyDownPageDown:Y,InputKeyDownEnter:Q,InputChange:X,InputBlur:Z,InputFocus:J,MenuMouseLeave:ee,ItemMouseMove:te,ItemClick:ne,ToggleButtonClick:re,FunctionToggleMenu:ae,FunctionOpenMenu:oe,FunctionCloseMenu:ie,FunctionSetHighlightedIndex:ue,FunctionSelectItem:se,FunctionSetInputValue:le,FunctionReset:ce,ControlledPropUpdatedSelectedItem:de});i().array.isRequired,i().func,i().func,i().func,i().func,i().number,i().number,i().number,i().bool,i().bool,i().bool,i().any,i().any,i().any,i().string,i().string,i().string,i().string,i().string,i().string,i().func,i().string,i().string,i().func,i().func,i().func,i().func,i().func,i().func,i().shape({addEventListener:i().func,removeEventListener:i().func,document:i().shape({getElementById:i().func,activeElement:i().any,body:i().any})});var pe=m,he=(0,a.A)({},M,{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,i=t.props,u=t.altKey;switch(o){case ne:r={isOpen:I(i,"isOpen"),highlightedIndex:I(i,"highlightedIndex"),selectedItem:i.items[t.index],inputValue:i.itemToString(i.items[t.index])};break;case z:r=e.isOpen?{highlightedIndex:E(1,e.highlightedIndex,i.items.length,t.getItemNodeFromIndex,!0)}:{highlightedIndex:u&&null==e.selectedItem?-1:L(i,e,1,t.getItemNodeFromIndex),isOpen:i.items.length>=0};break;case U:r=e.isOpen?u?V(i,e.highlightedIndex):{highlightedIndex:E(-1,e.highlightedIndex,i.items.length,t.getItemNodeFromIndex,!0)}:{highlightedIndex:L(i,e,-1,t.getItemNodeFromIndex),isOpen:i.items.length>=0};break;case Q:r=V(i,e.highlightedIndex);break;case H:r=(0,a.A)({isOpen:!1,highlightedIndex:-1},!e.isOpen&&{selectedItem:null,inputValue:""});break;case G:r={highlightedIndex:E(-10,e.highlightedIndex,i.items.length,t.getItemNodeFromIndex,!1)};break;case Y:r={highlightedIndex:E(10,e.highlightedIndex,i.items.length,t.getItemNodeFromIndex,!1)};break;case W:r={highlightedIndex:F(1,0,i.items.length,t.getItemNodeFromIndex,!1)};break;case K:r={highlightedIndex:F(-1,i.items.length-1,i.items.length,t.getItemNodeFromIndex,!1)};break;case Z:r=(0,a.A)({isOpen:!1,highlightedIndex:-1},e.highlightedIndex>=0&&(null==(n=i.items)?void 0:n.length)&&t.selectItem&&{selectedItem:i.items[e.highlightedIndex],inputValue:i.itemToString(i.items[e.highlightedIndex])});break;case X:r={isOpen:!0,highlightedIndex:I(i,"highlightedIndex"),inputValue:t.inputValue};break;case J:r={isOpen:!0,highlightedIndex:L(i,e,0)};break;case se:r={selectedItem:t.selectedItem,inputValue:i.itemToString(t.selectedItem)};break;case de:r={inputValue:t.inputValue};break;default:return function(e,t,n){var r,o=t.type,i=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:L(i,e,0)};break;case n.FunctionOpenMenu:r={isOpen:!0,highlightedIndex:L(i,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:I(i,"highlightedIndex"),isOpen:I(i,"isOpen"),selectedItem:I(i,"selectedItem"),inputValue:I(i,"inputValue")};break;default:throw new Error("Reducer called without proper action type.")}return(0,a.A)({},e,r)}(e,t,fe)}return(0,a.A)({},e,r)}var ge=["onMouseLeave","refKey","ref"],ve=["item","index","refKey","ref","onMouseMove","onMouseDown","onClick","onPress","disabled"],De=["onClick","onPress","refKey","ref"],be=["onKeyDown","onChange","onInput","onFocus","onBlur","onChangeText","refKey","ref"];function ye(e){void 0===e&&(e={}),pe(e,ye);var t=(0,a.A)({},he,e),n=t.initialIsOpen,o=t.defaultIsOpen,i=t.items,s=t.scrollIntoView,l=t.environment,c=t.getA11yStatusMessage,d=t.getA11ySelectionMessage,f=t.itemToString,p=function(e){var t=function(e){var t=P(e,"selectedItem"),n=P(e,"isOpen"),r=P(e,"highlightedIndex"),a=P(e,"inputValue");return{highlightedIndex:r<0&&t&&n?e.items.indexOf(t):r,isOpen:n,selectedItem:t,inputValue:a}}(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,a.A)({},t,{inputValue:r})}(t),h=function(e,t,n){var r=(0,u.useRef)(),a=_(e,t,n),o=a[0],i=a[1];return(0,u.useEffect)((function(){w(n,"selectedItem")&&(n.selectedItemChanged(r.current,n.selectedItem)&&i({type:de,inputValue:n.itemToString(n.selectedItem)}),r.current=o.selectedItem===r.current?n.selectedItem:o.selectedItem)}),[o.selectedItem,n.selectedItem]),[y(o,n),i]}(me,p,t),m=h[0],g=h[1],v=m.isOpen,E=m.highlightedIndex,F=m.selectedItem,x=m.inputValue,A=(0,u.useRef)(null),k=(0,u.useRef)({}),T=(0,u.useRef)(null),N=(0,u.useRef)(null),R=(0,u.useRef)(!0),M=S(t),I=(0,u.useRef)(),L=B({state:m,props:t}),V=(0,u.useCallback)((function(e){return k.current[M.getItemId(e)]}),[M]);$(c,[v,E,x,i],(0,a.A)({isInitialMount:R.current,previousResultCount:I.current,items:i,environment:l,itemToString:f},m)),$(d,[F],(0,a.A)({isInitialMount:R.current,previousResultCount:I.current,items:i,environment:l,itemToString:f},m));var fe=function(e){var t=e.highlightedIndex,n=e.isOpen,r=e.itemRefs,a=e.getItemNodeFromIndex,o=e.menuElement,i=e.scrollIntoView,s=(0,u.useRef)(!0);return O((function(){t<0||!n||!Object.keys(r.current).length||(!1===s.current?s.current=!0:i(a(t),o))}),[t]),s}({menuElement:A.current,highlightedIndex:E,isOpen:v,itemRefs:k,scrollIntoView:s,getItemNodeFromIndex:V});q({isInitialMount:R.current,props:t,state:m}),(0,u.useEffect)((function(){(n||o||v)&&T.current&&T.current.focus()}),[]),(0,u.useEffect)((function(){R.current||(I.current=i.length)}));var we=function(e,t,n,r){var a=(0,u.useRef)({isMouseDown:!1,isTouchMove:!1});return(0,u.useEffect)((function(){if(null!=(null==n?void 0:n.addEventListener)){var o=function(){a.current.isMouseDown=!0},i=function(o){a.current.isMouseDown=!1,e&&!C(o.target,t.map((function(e){return e.current})),n)&&r()},u=function(){a.current.isTouchMove=!1},s=function(){a.current.isTouchMove=!0},l=function(o){!e||a.current.isTouchMove||C(o.target,t.map((function(e){return e.current})),n,!1)||r()};return n.addEventListener("mousedown",o),n.addEventListener("mouseup",i),n.addEventListener("touchstart",u),n.addEventListener("touchmove",s),n.addEventListener("touchend",l),function(){n.removeEventListener("mousedown",o),n.removeEventListener("mouseup",i),n.removeEventListener("touchstart",u),n.removeEventListener("touchmove",s),n.removeEventListener("touchend",l)}}}),[e,n]),a}(v,[T,A,N],l,(function(){g({type:Z,selectItem:!1})})),Ee=j("getInputProps","getMenuProps");(0,u.useEffect)((function(){return R.current=!1,function(){R.current=!0}}),[]),(0,u.useEffect)((function(){var e;if(v){if((null==(e=l.document)?void 0:e.activeElement)!==T.current){var t;null==T||null==(t=T.current)||t.focus()}}else k.current={}}),[v,l]);var Fe=(0,u.useMemo)((function(){return{ArrowDown:function(e){e.preventDefault(),g({type:z,altKey:e.altKey,getItemNodeFromIndex:V})},ArrowUp:function(e){e.preventDefault(),g({type:U,altKey:e.altKey,getItemNodeFromIndex:V})},Home:function(e){L.current.state.isOpen&&(e.preventDefault(),g({type:W,getItemNodeFromIndex:V}))},End:function(e){L.current.state.isOpen&&(e.preventDefault(),g({type:K,getItemNodeFromIndex:V}))},Escape:function(e){var t=L.current.state;(t.isOpen||t.inputValue||t.selectedItem||t.highlightedIndex>-1)&&(e.preventDefault(),g({type:H}))},Enter:function(e){L.current.state.isOpen&&229!==e.which&&(e.preventDefault(),g({type:Q,getItemNodeFromIndex:V}))},PageUp:function(e){L.current.state.isOpen&&(e.preventDefault(),g({type:G,getItemNodeFromIndex:V}))},PageDown:function(e){L.current.state.isOpen&&(e.preventDefault(),g({type:Y,getItemNodeFromIndex:V}))}}}),[g,L,V]),Ce=(0,u.useCallback)((function(e){return(0,a.A)({id:M.labelId,htmlFor:M.inputId},e)}),[M]),xe=(0,u.useCallback)((function(e,t){var n,o=void 0===e?{}:e,i=o.onMouseLeave,u=o.refKey,s=void 0===u?"ref":u,l=o.ref,c=(0,r.A)(o,ge),d=(void 0===t?{}:t).suppressRefError;return Ee("getMenuProps",void 0!==d&&d,s,A),(0,a.A)(((n={})[s]=b(l,(function(e){A.current=e})),n.id=M.menuId,n.role="listbox",n["aria-labelledby"]=c&&c["aria-label"]?void 0:""+M.labelId,n.onMouseLeave=D(i,(function(){g({type:ee})})),n),c)}),[g,Ee,M]),Ae=(0,u.useCallback)((function(e){var t,n,o=void 0===e?{}:e,i=o.item,u=o.index,s=o.refKey,l=void 0===s?"ref":s,c=o.ref,d=o.onMouseMove,f=o.onMouseDown,p=o.onClick;o.onPress;var h=o.disabled,m=(0,r.A)(o,ve),v=L.current,y=v.props,w=v.state,E=function(e,t,n,r){var a,o;if(void 0===e){if(void 0===t)throw new Error(r);a=n[t],o=t}else o=void 0===t?n.indexOf(e):t,a=e;return[a,o]}(i,u,y.items,"Pass either item or index to getItemProps!")[1],F=p;return(0,a.A)(((t={})[l]=b(c,(function(e){e&&(k.current[M.getItemId(E)]=e)})),t.disabled=h,t.role="option",t["aria-selected"]=""+(E===w.highlightedIndex),t.id=M.getItemId(E),t),!h&&((n={}).onClick=D(F,(function(){g({type:ne,index:E})})),n),{onMouseMove:D(d,(function(){E!==w.highlightedIndex&&(fe.current=!1,g({type:te,index:E,disabled:h}))})),onMouseDown:D(f,(function(e){return e.preventDefault()}))},m)}),[g,L,fe,M]),ke=(0,u.useCallback)((function(e){var t,n=void 0===e?{}:e,o=n.onClick;n.onPress;var i=n.refKey,u=void 0===i?"ref":i,s=n.ref,l=(0,r.A)(n,De),c=L.current.state;return(0,a.A)(((t={})[u]=b(s,(function(e){N.current=e})),t["aria-controls"]=M.menuId,t["aria-expanded"]=c.isOpen,t.id=M.toggleButtonId,t.tabIndex=-1,t),!l.disabled&&(0,a.A)({},{onClick:D(o,(function(){g({type:re})}))}),l)}),[g,L,M]),Te=(0,u.useCallback)((function(e,t){var n,o=void 0===e?{}:e,i=o.onKeyDown,u=o.onChange,s=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),v=(void 0===t?{}:t).suppressRefError;Ee("getInputProps",void 0!==v&&v,p,T);var y,w=L.current.state,E={};return m.disabled||((y={}).onChange=D(u,s,(function(e){g({type:X,inputValue:e.target.value})})),y.onKeyDown=D(i,(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&&Fe[t]&&Fe[t](e)})),y.onBlur=D(d,(function(e){if(w.isOpen&&!we.current.isMouseDown){var t=null===e.relatedTarget&&l.document.activeElement!==l.document.body;g({type:Z,selectItem:!t})}})),y.onFocus=D(c,(function(){w.isOpen||g({type:J})})),E=y),(0,a.A)(((n={})[p]=b(h,(function(e){T.current=e})),n["aria-activedescendant"]=w.isOpen&&w.highlightedIndex>-1?M.getItemId(w.highlightedIndex):"",n["aria-autocomplete"]="list",n["aria-controls"]=M.menuId,n["aria-expanded"]=w.isOpen,n["aria-labelledby"]=m&&m["aria-label"]?void 0:""+M.labelId,n.autoComplete="off",n.id=M.inputId,n.role="combobox",n.value=w.inputValue,n),E,m)}),[Ee,L,M,Fe,g,we,l]),Ne=(0,u.useCallback)((function(){g({type:ae})}),[g]),Oe=(0,u.useCallback)((function(){g({type:ie})}),[g]),Se=(0,u.useCallback)((function(){g({type:oe})}),[g]),Re=(0,u.useCallback)((function(e){g({type:ue,highlightedIndex:e})}),[g]),Be=(0,u.useCallback)((function(e){g({type:se,selectedItem:e})}),[g]);return{getItemProps:Ae,getLabelProps:Ce,getMenuProps:xe,getInputProps:Te,getToggleButtonProps:ke,toggleMenu:Ne,openMenu:Se,closeMenu:Oe,setHighlightedIndex:Re,setInputValue:(0,u.useCallback)((function(e){g({type:le,inputValue:e})}),[g]),selectItem:Be,reset:(0,u.useCallback)((function(){g({type:ce})}),[g]),highlightedIndex:E,isOpen:v,selectedItem:F,inputValue:x}}ye.stateChangeTypes=fe,i().array,i().array,i().array,i().func,i().func,i().func,i().number,i().number,i().number,i().func,i().func,i().string,i().string,i().shape({addEventListener:i().func,removeEventListener:i().func,document:i().shape({getElementById:i().func,activeElement:i().any,body:i().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 a(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 i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var s=n(2427),l=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=u(c);if(d){var n=u(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 i(e)}(this,e)});function h(e){var t,n,r,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),a=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,a=new Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];n=n.apply(void 0,a)}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 i,u=n;if("string"==typeof n&&!(u=null===(i=this.getDocument())||void 0===i?void 0:i.querySelector(n)))throw new Error("`".concat(e,"` as selector refers to no known node"));return u},(r="getNodeForOption")in(n=i(t=p.call(this,e)))?Object.defineProperty(n,r,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[r]=a,t.handleDeactivate=t.handleDeactivate.bind(i(t)),t.handlePostDeactivate=t.handlePostDeactivate.bind(i(t)),t.handleClickOutsideDeactivates=t.handleClickOutsideDeactivates.bind(i(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 u in o)Object.prototype.hasOwnProperty.call(o,u)&&("returnFocusOnDeactivate"!==u&&"onDeactivate"!==u&&"onPostDeactivate"!==u&&"checkCanReturnFocus"!==u&&"clickOutsideDeactivates"!==u?t.internalOptions[u]=o[u]:t.originalOptions[u]=o[u]);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,a=void 0!==r&&r;n&&t.focus({preventScroll:a}),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(l.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,a=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),n)return void this.deactivateTrap();r&&this.focusTrap.pause(),a&&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?s.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===s.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return s.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}}])&&a(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),h}(s.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 a(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?a(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u,s=(u=[],{activateTrap:function(e){if(u.length>0){var t=u[u.length-1];t!==e&&t.pause()}var n=u.indexOf(e);-1===n||u.splice(n,1),u.push(e)},deactivateTrap:function(e){var t=u.indexOf(e);-1!==t&&u.splice(t,1),u.length>0&&u[u.length-1].unpause()}}),l=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,a=(null==t?void 0:t.document)||document,i=o({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0},t),u={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]:i[n||t]},h=function(e){return u.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=i[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 u=t;if("string"==typeof t&&!(u=a.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return u},g=function(){var e=m("initialFocus");if(!1===e)return!1;if(void 0===e)if(h(a.activeElement)>=0)e=a.activeElement;else{var t=u.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},v=function(){if(u.containerGroups=u.containers.map((function(e){var t=(0,r.tabbable)(e,i.tabbableOptions),n=(0,r.focusable)(e,i.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],a=n.findIndex((function(t){return t===e}));if(!(a<0))return t?n.slice(a+1).find((function(e){return(0,r.isTabbable)(e,i.tabbableOptions)})):n.slice(0,a).reverse().find((function(e){return(0,r.isTabbable)(e,i.tabbableOptions)}))}}})),u.tabbableGroups=u.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),u.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")},D=function e(t){!1!==t&&t!==a.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!i.preventScroll}),u.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(g()))},b=function(e){var t=m("setReturnFocus",e);return t||!1!==t&&e},y=function(e){var t=f(e);h(t)>=0||(d(i.clickOutsideDeactivates,e)?n.deactivate({returnFocus:i.returnFocusOnDeactivate&&!(0,r.isFocusable)(t,i.tabbableOptions)}):d(i.allowOutsideClick,e)||e.preventDefault())},w=function(e){var t=f(e),n=h(t)>=0;n||t instanceof Document?n&&(u.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),D(u.mostRecentlyFocusedNode||g()))},E=function(e){if(function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e)&&!1!==d(i.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){var t=f(e);v();var n=null;if(u.tabbableGroups.length>0){var a=h(t),o=a>=0?u.containerGroups[a]:void 0;if(a<0)n=e.shiftKey?u.tabbableGroups[u.tabbableGroups.length-1].lastTabbableNode:u.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var s=c(u.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(s<0&&(o.container===t||(0,r.isFocusable)(t,i.tabbableOptions)&&!(0,r.isTabbable)(t,i.tabbableOptions)&&!o.nextTabbableNode(t,!1))&&(s=a),s>=0){var l=0===s?u.tabbableGroups.length-1:s-1;n=u.tabbableGroups[l].lastTabbableNode}}else{var d=c(u.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(d<0&&(o.container===t||(0,r.isFocusable)(t,i.tabbableOptions)&&!(0,r.isTabbable)(t,i.tabbableOptions)&&!o.nextTabbableNode(t))&&(d=a),d>=0){var p=d===u.tabbableGroups.length-1?0:d+1;n=u.tabbableGroups[p].firstTabbableNode}}}else n=m("fallbackFocus");n&&(e.preventDefault(),D(n))}(e)},F=function(e){var t=f(e);h(t)>=0||d(i.clickOutsideDeactivates,e)||d(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},C=function(){if(u.active)return s.activateTrap(n),u.delayInitialFocusTimer=i.delayInitialFocus?l((function(){D(g())})):D(g()),a.addEventListener("focusin",w,!0),a.addEventListener("mousedown",y,{capture:!0,passive:!1}),a.addEventListener("touchstart",y,{capture:!0,passive:!1}),a.addEventListener("click",F,{capture:!0,passive:!1}),a.addEventListener("keydown",E,{capture:!0,passive:!1}),n},x=function(){if(u.active)return a.removeEventListener("focusin",w,!0),a.removeEventListener("mousedown",y,!0),a.removeEventListener("touchstart",y,!0),a.removeEventListener("click",F,!0),a.removeEventListener("keydown",E,!0),n};return(n={get active(){return u.active},get paused(){return u.paused},activate:function(e){if(u.active)return this;var t=p(e,"onActivate"),n=p(e,"onPostActivate"),r=p(e,"checkCanFocusTrap");r||v(),u.active=!0,u.paused=!1,u.nodeFocusedBeforeActivation=a.activeElement,t&&t();var o=function(){r&&v(),C(),n&&n()};return r?(r(u.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(e){if(!u.active)return this;var t=o({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},e);clearTimeout(u.delayInitialFocusTimer),u.delayInitialFocusTimer=void 0,x(),u.active=!1,u.paused=!1,s.deactivateTrap(n);var r=p(t,"onDeactivate"),a=p(t,"onPostDeactivate"),c=p(t,"checkCanReturnFocus"),d=p(t,"returnFocus","returnFocusOnDeactivate");r&&r();var f=function(){l((function(){d&&D(b(u.nodeFocusedBeforeActivation)),a&&a()}))};return d&&c?(c(b(u.nodeFocusedBeforeActivation)).then(f,f),this):(f(),this)},pause:function(){return u.paused||!u.active||(u.paused=!0,x()),this},unpause:function(){return u.paused&&u.active?(u.paused=!1,v(),C(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return u.containers=t.map((function(e){return"string"==typeof e?a.querySelector(e):e})),u.active&&v(),this}}).updateContainerElements(e),n}},4146:(e,t,n)=>{"use strict";var r=n(3404),a={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},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},u={};function s(e){return r.isMemo(e)?i:u[e.$$typeof]||a}u[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u[r.Memo]=i;var l=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 a=p(n);a&&a!==h&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var u=s(t),m=s(n),g=0;g<i.length;++g){var v=i[g];if(!(o[v]||r&&r[v]||m&&m[v]||u&&u[v])){var D=f(n,v);try{l(t,v,D)}catch(e){}}}}return t}},3072:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,u=n?Symbol.for("react.profiler"):60114,s=n?Symbol.for("react.provider"):60109,l=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,g=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,D=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,y=n?Symbol.for("react.scope"):60119;function w(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 u:case i:case p:return e;default:switch(e=e&&e.$$typeof){case l:case f:case g:case m:case s:return e;default:return t}}case a:return t}}}function E(e){return w(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=s,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=g,t.Memo=m,t.Portal=a,t.Profiler=u,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return E(e)||w(e)===c},t.isConcurrentMode=E,t.isContextConsumer=function(e){return w(e)===l},t.isContextProvider=function(e){return w(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===f},t.isFragment=function(e){return w(e)===o},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===a},t.isProfiler=function(e){return w(e)===u},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===u||e===i||e===p||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===s||e.$$typeof===l||e.$$typeof===f||e.$$typeof===D||e.$$typeof===b||e.$$typeof===y||e.$$typeof===v)},t.typeOf=w},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,a){for(var o,i,u=function(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}(e),s=1;s<arguments.length;s++){for(var l in o=Object(arguments[s]))n.call(o,l)&&(u[l]=o[l]);if(t){i=t(o);for(var c=0;c<i.length;c++)r.call(o,i[c])&&(u[i[c]]=o[i[c]])}}return u}},2694:(e,t,n)=>{"use strict";var r=n(6925);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var u=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 u.name="Invariant Violation",u}}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:a};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),a=n(5228),o=n(9982);function i(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(i(227));function u(e,t,n,r,a,o,i,u,s){var l=Array.prototype.slice.call(arguments,3);try{t.apply(n,l)}catch(e){this.onError(e)}}var s=!1,l=null,c=!1,d=null,f={onError:function(e){s=!0,l=e}};function p(e,t,n,r,a,o,i,c,d){s=!1,l=null,u.apply(f,arguments)}var h=null,m=null,g=null;function v(e,t,n){var r=e.type||"unknown-event";e.currentTarget=g(n),function(e,t,n,r,a,o,u,f,h){if(p.apply(this,arguments),s){if(!s)throw Error(i(198));var m=l;s=!1,l=null,c||(c=!0,d=m)}}(r,t,void 0,e),e.currentTarget=null}var D=null,b={};function y(){if(D)for(var e in b){var t=b[e],n=D.indexOf(e);if(!(-1<n))throw Error(i(96,e));if(!E[n]){if(!t.extractEvents)throw Error(i(97,e));for(var r in E[n]=t,n=t.eventTypes){var a=void 0,o=n[r],u=t,s=r;if(F.hasOwnProperty(s))throw Error(i(99,s));F[s]=o;var l=o.phasedRegistrationNames;if(l){for(a in l)l.hasOwnProperty(a)&&w(l[a],u,s);a=!0}else o.registrationName?(w(o.registrationName,u,s),a=!0):a=!1;if(!a)throw Error(i(98,r,e))}}}}function w(e,t,n){if(C[e])throw Error(i(100,e));C[e]=t,x[e]=t.eventTypes[n].dependencies}var E=[],F={},C={},x={};function A(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(i(102,t));b[t]=r,n=!0}}n&&y()}var k=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),T=null,N=null,O=null;function S(e){if(e=m(e)){if("function"!=typeof T)throw Error(i(280));var t=e.stateNode;t&&(t=h(t),T(e.stateNode,e.type,t))}}function R(e){N?O?O.push(e):O=[e]:N=e}function B(){if(N){var e=N,t=O;if(O=N=null,S(e),t)for(e=0;e<t.length;e++)S(t[e])}}function _(e,t){return e(t)}function M(e,t,n,r,a){return e(t,n,r,a)}function I(){}var P=_,L=!1,j=!1;function $(){null===N&&null===O||(I(),B())}function q(e,t,n){if(j)return e(t,n);j=!0;try{return P(e,t,n)}finally{j=!1,$()}}var V=/^[: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]*$/,z=Object.prototype.hasOwnProperty,U={},H={};function W(e,t,n,r,a,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o}var K={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){K[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];K[t]=new W(t,1,!1,e[1],null,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){K[e]=new W(e,2,!1,e.toLowerCase(),null,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){K[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){K[e]=new W(e,3,!1,e.toLowerCase(),null,!1)})),["checked","multiple","muted","selected"].forEach((function(e){K[e]=new W(e,3,!0,e,null,!1)})),["capture","download"].forEach((function(e){K[e]=new W(e,4,!1,e,null,!1)})),["cols","rows","size","span"].forEach((function(e){K[e]=new W(e,6,!1,e,null,!1)})),["rowSpan","start"].forEach((function(e){K[e]=new W(e,5,!1,e.toLowerCase(),null,!1)}));var G=/[\-:]([a-z])/g;function Y(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(G,Y);K[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(G,Y);K[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(G,Y);K[t]=new W(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1)})),["tabIndex","crossOrigin"].forEach((function(e){K[e]=new W(e,1,!1,e.toLowerCase(),null,!1)})),K.xlinkHref=new W("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach((function(e){K[e]=new W(e,1,!1,e.toLowerCase(),null,!0)}));var Q=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function X(e,t,n,r){var a=K.hasOwnProperty(t)?K[t]:null;(null!==a?0===a.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,a,r)&&(n=null),r||null===a?function(e){return!!z.call(H,e)||!z.call(U,e)&&(V.test(e)?H[e]=!0:(U[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}Q.hasOwnProperty("ReactCurrentDispatcher")||(Q.ReactCurrentDispatcher={current:null}),Q.hasOwnProperty("ReactCurrentBatchConfig")||(Q.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,ae=J?Symbol.for("react.profiler"):60114,oe=J?Symbol.for("react.provider"):60109,ie=J?Symbol.for("react.context"):60110,ue=J?Symbol.for("react.concurrent_mode"):60111,se=J?Symbol.for("react.forward_ref"):60112,le=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 ge(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 ae:return"Profiler";case re:return"StrictMode";case le:return"Suspense";case ce:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ie:return"Context.Consumer";case oe:return"Context.Provider";case se:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case de:return ge(e.type);case pe:return ge(e.render);case fe:if(e=1===e._status?e._result:null)return ge(e)}return null}function ve(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,a=e._debugSource,o=ge(e.type);n=null,r&&(n=ge(r.type)),r=o,o="",a?o=" (at "+a.fileName.replace(Z,"")+":"+a.lineNumber+")":n&&(o=" (created by "+n+")"),n="\n in "+(r||"Unknown")+o}t+=n,e=e.return}while(e);return t}function De(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 ye(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 a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.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 we(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 Ee(e,t){var n=t.checked;return a({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Fe(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=De(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 Ce(e,t){null!=(t=t.checked)&&X(e,"checked",t,!1)}function xe(e,t){Ce(e,t);var n=De(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")?ke(e,t.type,n):t.hasOwnProperty("defaultValue")&&ke(e,t.type,De(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Ae(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 ke(e,t,n){"number"===t&&e.ownerDocument.activeElement===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function Te(e,t){return e=a({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 a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+De(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function Oe(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return a({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Se(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:De(n)}}function Re(e,t){var n=De(t.value),r=De(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 Be(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function _e(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 Me(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?_e(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var Ie,Pe,Le=(Pe=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((Ie=Ie||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ie.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 Pe(e,t)}))}:Pe);function je(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 $e(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var qe={animationend:$e("Animation","AnimationEnd"),animationiteration:$e("Animation","AnimationIteration"),animationstart:$e("Animation","AnimationStart"),transitionend:$e("Transition","TransitionEnd")},Ve={},ze={};function Ue(e){if(Ve[e])return Ve[e];if(!qe[e])return e;var t,n=qe[e];for(t in n)if(n.hasOwnProperty(t)&&t in ze)return Ve[e]=n[t];return e}k&&(ze=document.createElement("div").style,"AnimationEvent"in window||(delete qe.animationend.animation,delete qe.animationiteration.animation,delete qe.animationstart.animation),"TransitionEvent"in window||delete qe.transitionend.transition);var He=Ue("animationend"),We=Ue("animationiteration"),Ke=Ue("animationstart"),Ge=Ue("transitionend"),Ye="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Qe=new("function"==typeof WeakMap?WeakMap:Map);function Xe(e){var t=Qe.get(e);return void 0===t&&(t=new Map,Qe.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(i(188))}function tt(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ze(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(r=a.return)){n=r;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return et(a),e;if(o===r)return et(a),t;o=o.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=o;else{for(var u=!1,s=a.child;s;){if(s===n){u=!0,n=a,r=o;break}if(s===r){u=!0,r=a,n=o;break}s=s.sibling}if(!u){for(s=o.child;s;){if(s===n){u=!0,n=o,r=a;break}if(s===r){u=!0,r=o,n=a;break}s=s.sibling}if(!u)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(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(i(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 at=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++)v(e,t[r],n[r]);else t&&v(e,t,n);e._dispatchListeners=null,e._dispatchInstances=null,e.isPersistent()||e.constructor.release(e)}}function it(e){if(null!==e&&(at=nt(at,e)),e=at,at=null,e){if(rt(e,ot),at)throw Error(i(95));if(c)throw e=d,c=!1,d=null,e}}function ut(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}function st(e){if(!k)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 lt=[];function ct(e){e.topLevelType=null,e.nativeEvent=null,e.targetInst=null,e.ancestors.length=0,10>lt.length&<.push(e)}function dt(e,t,n,r){if(lt.length){var a=lt.pop();return a.topLevelType=e,a.eventSystemFlags=r,a.nativeEvent=t,a.targetInst=n,a}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=Sn(r)}while(n);for(n=0;n<e.ancestors.length;n++){t=e.ancestors[n];var a=ut(e.nativeEvent);r=e.topLevelType;var o=e.nativeEvent,i=e.eventSystemFlags;0===n&&(i|=64);for(var u=null,s=0;s<E.length;s++){var l=E[s];l&&(l=l.extractEvents(r,t,o,a,i))&&(u=nt(u,l))}it(u)}}function pt(e,t,n){if(!n.has(e)){switch(e){case"scroll":Kt(t,"scroll",!0);break;case"focus":case"blur":Kt(t,"focus",!0),Kt(t,"blur",!0),n.set("blur",null),n.set("focus",null);break;case"cancel":case"close":st(e)&&Kt(t,e,!0);break;case"invalid":case"submit":case"reset":break;default:-1===Ye.indexOf(e)&&Wt(e,t)}n.set(e,null)}}var ht,mt,gt,vt=!1,Dt=[],bt=null,yt=null,wt=null,Et=new Map,Ft=new Map,Ct=[],xt="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(" "),At="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function kt(e,t,n,r,a){return{blockedOn:e,topLevelType:t,eventSystemFlags:32|n,nativeEvent:a,container:r}}function Tt(e,t){switch(e){case"focus":case"blur":bt=null;break;case"dragenter":case"dragleave":yt=null;break;case"mouseover":case"mouseout":wt=null;break;case"pointerover":case"pointerout":Et.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ft.delete(t.pointerId)}}function Nt(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e=kt(t,n,r,a,o),null!==t&&null!==(t=Rn(t))&&mt(t),e):(e.eventSystemFlags|=r,e)}function Ot(e){var t=Sn(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(){gt(n)}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function St(e){if(null!==e.blockedOn)return!1;var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);if(null!==t){var n=Rn(t);return null!==n&&mt(n),e.blockedOn=t,!1}return!0}function Rt(e,t,n){St(e)&&n.delete(t)}function Bt(){for(vt=!1;0<Dt.length;){var e=Dt[0];if(null!==e.blockedOn){null!==(e=Rn(e.blockedOn))&&ht(e);break}var t=Xt(e.topLevelType,e.eventSystemFlags,e.container,e.nativeEvent);null!==t?e.blockedOn=t:Dt.shift()}null!==bt&&St(bt)&&(bt=null),null!==yt&&St(yt)&&(yt=null),null!==wt&&St(wt)&&(wt=null),Et.forEach(Rt),Ft.forEach(Rt)}function _t(e,t){e.blockedOn===t&&(e.blockedOn=null,vt||(vt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Bt)))}function Mt(e){function t(t){return _t(t,e)}if(0<Dt.length){_t(Dt[0],e);for(var n=1;n<Dt.length;n++){var r=Dt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==bt&&_t(bt,e),null!==yt&&_t(yt,e),null!==wt&&_t(wt,e),Et.forEach(t),Ft.forEach(t),n=0;n<Ct.length;n++)(r=Ct[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Ct.length&&null===(n=Ct[0]).blockedOn;)Ot(n),null===n.blockedOn&&Ct.shift()}var It={},Pt=new Map,Lt=new Map,jt=["abort","abort",He,"animationEnd",We,"animationIteration",Ke,"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",Ge,"transitionEnd","waiting","waiting"];function $t(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],a=e[n+1],o="on"+(a[0].toUpperCase()+a.slice(1));o={phasedRegistrationNames:{bubbled:o,captured:o+"Capture"},dependencies:[r],eventPriority:t},Lt.set(r,t),Pt.set(r,o),It[a]=o}}$t("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),$t("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),$t(jt,2);for(var qt="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Vt=0;Vt<qt.length;Vt++)Lt.set(qt[Vt],0);var zt=o.unstable_UserBlockingPriority,Ut=o.unstable_runWithPriority,Ht=!0;function Wt(e,t){Kt(t,e,!1)}function Kt(e,t,n){var r=Lt.get(t);switch(void 0===r?2:r){case 0:r=Gt.bind(null,t,1,e);break;case 1:r=Yt.bind(null,t,1,e);break;default:r=Qt.bind(null,t,1,e)}n?e.addEventListener(t,r,!0):e.addEventListener(t,r,!1)}function Gt(e,t,n,r){L||I();var a=Qt,o=L;L=!0;try{M(a,e,t,n,r)}finally{(L=o)||$()}}function Yt(e,t,n,r){Ut(zt,Qt.bind(null,e,t,n,r))}function Qt(e,t,n,r){if(Ht)if(0<Dt.length&&-1<xt.indexOf(e))e=kt(null,e,t,n,r),Dt.push(e);else{var a=Xt(e,t,n,r);if(null===a)Tt(e,r);else if(-1<xt.indexOf(e))e=kt(a,e,t,n,r),Dt.push(e);else if(!function(e,t,n,r,a){switch(t){case"focus":return bt=Nt(bt,e,t,n,r,a),!0;case"dragenter":return yt=Nt(yt,e,t,n,r,a),!0;case"mouseover":return wt=Nt(wt,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return Et.set(o,Nt(Et.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,Ft.set(o,Nt(Ft.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r)){Tt(e,r),e=dt(e,r,null,t);try{q(ft,e)}finally{ct(e)}}}}function Xt(e,t,n,r){if(null!==(n=Sn(n=ut(r)))){var a=Ze(n);if(null===a)n=null;else{var o=a.tag;if(13===o){if(null!==(n=Je(a)))return n;n=null}else if(3===o){if(a.stateNode.hydrate)return 3===a.tag?a.stateNode.containerInfo:null;n=null}else a!==n&&(n=null)}}e=dt(e,r,n,t);try{q(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("--"),a=en(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}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=a({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(i(137,e,""));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62,""))}}function an(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 on="http://www.w3.org/1999/xhtml";function un(e,t){var n=Xe(e=9===e.nodeType||11===e.nodeType?e:e.ownerDocument);t=x[t];for(var r=0;r<t.length;r++)pt(t[r],e,n)}function sn(){}function ln(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=ln();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=ln((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="$",gn="/$",vn="$?",Dn="$!",bn=null,yn=null;function wn(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function En(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 Fn="function"==typeof setTimeout?setTimeout:void 0,Cn="function"==typeof clearTimeout?clearTimeout:void 0;function xn(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function An(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if(n===mn||n===Dn||n===vn){if(0===t)return e;t--}else n===gn&&t++}e=e.previousSibling}return null}var kn=Math.random().toString(36).slice(2),Tn="__reactInternalInstance$"+kn,Nn="__reactEventHandlers$"+kn,On="__reactContainere$"+kn;function Sn(e){var t=e[Tn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[On]||n[Tn]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=An(e);null!==e;){if(n=e[Tn])return n;e=An(e)}return t}n=(e=n).parentNode}return null}function Rn(e){return!(e=e[Tn]||e[On])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Bn(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function _n(e){return e[Nn]||null}function Mn(e){do{e=e.return}while(e&&5!==e.tag);return e||null}function In(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(i(231,t,typeof n));return n}function Pn(e,t,n){(t=In(e,n.dispatchConfig.phasedRegistrationNames[t]))&&(n._dispatchListeners=nt(n._dispatchListeners,t),n._dispatchInstances=nt(n._dispatchInstances,e))}function Ln(e){if(e&&e.dispatchConfig.phasedRegistrationNames){for(var t=e._targetInst,n=[];t;)n.push(t),t=Mn(t);for(t=n.length;0<t--;)Pn(n[t],"captured",e);for(t=0;t<n.length;t++)Pn(n[t],"bubbled",e)}}function jn(e,t,n){e&&n&&n.dispatchConfig.registrationName&&(t=In(e,n.dispatchConfig.registrationName))&&(n._dispatchListeners=nt(n._dispatchListeners,t),n._dispatchInstances=nt(n._dispatchInstances,e))}function $n(e){e&&e.dispatchConfig.registrationName&&jn(e._targetInst,null,e)}function qn(e){rt(e,Ln)}var Vn=null,zn=null,Un=null;function Hn(){if(Un)return Un;var e,t,n=zn,r=n.length,a="value"in Vn?Vn.value:Vn.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return Un=a.slice(e,1<t?1-t:void 0)}function Wn(){return!0}function Kn(){return!1}function Gn(e,t,n,r){for(var a in this.dispatchConfig=e,this._targetInst=t,this.nativeEvent=n,e=this.constructor.Interface)e.hasOwnProperty(a)&&((t=e[a])?this[a]=t(n):"target"===a?this.target=r:this[a]=n[a]);return this.isDefaultPrevented=(null!=n.defaultPrevented?n.defaultPrevented:!1===n.returnValue)?Wn:Kn,this.isPropagationStopped=Kn,this}function Yn(e,t,n,r){if(this.eventPool.length){var a=this.eventPool.pop();return this.call(a,e,t,n,r),a}return new this(e,t,n,r)}function Qn(e){if(!(e instanceof this))throw Error(i(279));e.destructor(),10>this.eventPool.length&&this.eventPool.push(e)}function Xn(e){e.eventPool=[],e.getPooled=Yn,e.release=Qn}a(Gn.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:Kn,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=Kn,this._dispatchInstances=this._dispatchListeners=null}}),Gn.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},Gn.extend=function(e){function t(){}function n(){return r.apply(this,arguments)}var r=this;t.prototype=r.prototype;var o=new t;return a(o,n.prototype),n.prototype=o,n.prototype.constructor=n,n.Interface=a({},r.Interface,e),n.extend=r.extend,Xn(n),n},Xn(Gn);var Zn=Gn.extend({data:null}),Jn=Gn.extend({data:null}),er=[9,13,27,32],tr=k&&"CompositionEvent"in window,nr=null;k&&"documentMode"in document&&(nr=document.documentMode);var rr=k&&"TextEvent"in window&&!nr,ar=k&&(!tr||nr&&8<nr&&11>=nr),or=String.fromCharCode(32),ir={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(" ")}},ur=!1;function sr(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 lr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var cr=!1,dr={eventTypes:ir,extractEvents:function(e,t,n,r){var a;if(tr)e:{switch(e){case"compositionstart":var o=ir.compositionStart;break e;case"compositionend":o=ir.compositionEnd;break e;case"compositionupdate":o=ir.compositionUpdate;break e}o=void 0}else cr?sr(e,n)&&(o=ir.compositionEnd):"keydown"===e&&229===n.keyCode&&(o=ir.compositionStart);return o?(ar&&"ko"!==n.locale&&(cr||o!==ir.compositionStart?o===ir.compositionEnd&&cr&&(a=Hn()):(zn="value"in(Vn=r)?Vn.value:Vn.textContent,cr=!0)),o=Zn.getPooled(o,t,n,r),(a||null!==(a=lr(n)))&&(o.data=a),qn(o),a=o):a=null,(e=rr?function(e,t){switch(e){case"compositionend":return lr(t);case"keypress":return 32!==t.which?null:(ur=!0,or);case"textInput":return(e=t.data)===or&&ur?null:e;default:return null}}(e,n):function(e,t){if(cr)return"compositionend"===e||!tr&&sr(e,t)?(e=Hn(),Un=zn=Vn=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 ar&&"ko"!==t.locale?null:t.data}}(e,n))?((t=Jn.getPooled(ir.beforeInput,t,n,r)).data=e,qn(t)):t=null,null===a?t:null===t?a:[a,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=Gn.getPooled(hr.change,e,t,n)).type="change",R(n),qn(e),e}var gr=null,vr=null;function Dr(e){it(e)}function br(e){if(we(Bn(e)))return e}function yr(e,t){if("change"===e)return t}var wr=!1;function Er(){gr&&(gr.detachEvent("onpropertychange",Fr),vr=gr=null)}function Fr(e){if("value"===e.propertyName&&br(vr))if(e=mr(vr,e,ut(e)),L)it(e);else{L=!0;try{_(Dr,e)}finally{L=!1,$()}}}function Cr(e,t,n){"focus"===e?(Er(),vr=n,(gr=t).attachEvent("onpropertychange",Fr)):"blur"===e&&Er()}function xr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return br(vr)}function Ar(e,t){if("click"===e)return br(t)}function kr(e,t){if("input"===e||"change"===e)return br(t)}k&&(wr=st("input")&&(!document.documentMode||9<document.documentMode));var Tr={eventTypes:hr,_isInputEventSupported:wr,extractEvents:function(e,t,n,r){var a=t?Bn(t):window,o=a.nodeName&&a.nodeName.toLowerCase();if("select"===o||"input"===o&&"file"===a.type)var i=yr;else if(pr(a))if(wr)i=kr;else{i=xr;var u=Cr}else(o=a.nodeName)&&"input"===o.toLowerCase()&&("checkbox"===a.type||"radio"===a.type)&&(i=Ar);if(i&&(i=i(e,t)))return mr(i,n,r);u&&u(e,a,t),"blur"===e&&(e=a._wrapperState)&&e.controlled&&"number"===a.type&&ke(a,"number",a.value)}},Nr=Gn.extend({view:null,detail:null}),Or={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Or[e])&&!!t[e]}function Rr(){return Sr}var Br=0,_r=0,Mr=!1,Ir=!1,Pr=Nr.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:Rr,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=Br;return Br=e.screenX,Mr?"mousemove"===e.type?e.screenX-t:0:(Mr=!0,0)},movementY:function(e){if("movementY"in e)return e.movementY;var t=_r;return _r=e.screenY,Ir?"mousemove"===e.type?e.screenY-t:0:(Ir=!0,0)}}),Lr=Pr.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),jr={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},$r={eventTypes:jr,extractEvents:function(e,t,n,r,a){var o="mouseover"===e||"pointerover"===e,i="mouseout"===e||"pointerout"===e;if(o&&0==(32&a)&&(n.relatedTarget||n.fromElement)||!i&&!o)return null;if(o=r.window===r?r:(o=r.ownerDocument)?o.defaultView||o.parentWindow:window,i?(i=t,null!==(t=(t=n.relatedTarget||n.toElement)?Sn(t):null)&&(t!==Ze(t)||5!==t.tag&&6!==t.tag)&&(t=null)):i=null,i===t)return null;if("mouseout"===e||"mouseover"===e)var u=Pr,s=jr.mouseLeave,l=jr.mouseEnter,c="mouse";else"pointerout"!==e&&"pointerover"!==e||(u=Lr,s=jr.pointerLeave,l=jr.pointerEnter,c="pointer");if(e=null==i?o:Bn(i),o=null==t?o:Bn(t),(s=u.getPooled(s,i,n,r)).type=c+"leave",s.target=e,s.relatedTarget=o,(n=u.getPooled(l,t,n,r)).type=c+"enter",n.target=o,n.relatedTarget=e,c=t,(r=i)&&c)e:{for(l=c,i=0,e=u=r;e;e=Mn(e))i++;for(e=0,t=l;t;t=Mn(t))e++;for(;0<i-e;)u=Mn(u),i--;for(;0<e-i;)l=Mn(l),e--;for(;i--;){if(u===l||u===l.alternate)break e;u=Mn(u),l=Mn(l)}u=null}else u=null;for(l=u,u=[];r&&r!==l&&(null===(i=r.alternate)||i!==l);)u.push(r),r=Mn(r);for(r=[];c&&c!==l&&(null===(i=c.alternate)||i!==l);)r.push(c),c=Mn(c);for(c=0;c<u.length;c++)jn(u[c],"bubbled",s);for(c=r.length;0<c--;)jn(r[c],"captured",n);return 0==(64&a)?[s]:[s,n]}},qr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},Vr=Object.prototype.hasOwnProperty;function zr(e,t){if(qr(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(!Vr.call(t,n[r])||!qr(e[n[r]],t[n[r]]))return!1;return!0}var Ur=k&&"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,Kr=null,Gr=null,Yr=!1;function Qr(e,t){var n=t.window===t?t.document:9===t.nodeType?t:t.ownerDocument;return Yr||null==Wr||Wr!==ln(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},Gr&&zr(Gr,n)?null:(Gr=n,(e=Gn.getPooled(Hr.select,Kr,e,t)).type="select",e.target=Wr,qn(e),e))}var Xr={eventTypes:Hr,extractEvents:function(e,t,n,r,a,o){if(!(o=!(a=o||(r.window===r?r.document:9===r.nodeType?r:r.ownerDocument)))){e:{a=Xe(a),o=x.onSelect;for(var i=0;i<o.length;i++)if(!a.has(o[i])){a=!1;break e}a=!0}o=!a}if(o)return null;switch(a=t?Bn(t):window,e){case"focus":(pr(a)||"true"===a.contentEditable)&&(Wr=a,Kr=t,Gr=null);break;case"blur":Gr=Kr=Wr=null;break;case"mousedown":Yr=!0;break;case"contextmenu":case"mouseup":case"dragend":return Yr=!1,Qr(n,r);case"selectionchange":if(Ur)break;case"keydown":case"keyup":return Qr(n,r)}return null}},Zr=Gn.extend({animationName:null,elapsedTime:null,pseudoElement:null}),Jr=Gn.extend({clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),ea=Nr.extend({relatedTarget:null});function ta(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 na={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ra={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"},aa=Nr.extend({key:function(e){if(e.key){var t=na[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=ta(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?ra[e.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:Rr,charCode:function(e){return"keypress"===e.type?ta(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ta(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),oa=Pr.extend({dataTransfer:null}),ia=Nr.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:Rr}),ua=Gn.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),sa=Pr.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}),la={eventTypes:It,extractEvents:function(e,t,n,r){var a=Pt.get(e);if(!a)return null;switch(e){case"keypress":if(0===ta(n))return null;case"keydown":case"keyup":e=aa;break;case"blur":case"focus":e=ea;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=Pr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":e=oa;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":e=ia;break;case He:case We:case Ke:e=Zr;break;case Ge:e=ua;break;case"scroll":e=Nr;break;case"wheel":e=sa;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=Lr;break;default:e=Gn}return qn(t=e.getPooled(a,t,n,r)),t}};if(D)throw Error(i(101));D=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),y(),h=_n,m=Rn,g=Bn,A({SimpleEventPlugin:la,EnterLeaveEventPlugin:$r,ChangeEventPlugin:Tr,SelectEventPlugin:Xr,BeforeInputEventPlugin:dr});var ca=[],da=-1;function fa(e){0>da||(e.current=ca[da],ca[da]=null,da--)}function pa(e,t){da++,ca[da]=e.current,e.current=t}var ha={},ma={current:ha},ga={current:!1},va=ha;function Da(e,t){var n=e.type.contextTypes;if(!n)return ha;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ba(e){return null!=e.childContextTypes}function ya(){fa(ga),fa(ma)}function wa(e,t,n){if(ma.current!==ha)throw Error(i(168));pa(ma,t),pa(ga,n)}function Ea(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(i(108,ge(t)||"Unknown",o));return a({},n,{},r)}function Fa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ha,va=ma.current,pa(ma,e),pa(ga,ga.current),!0}function Ca(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Ea(e,t,va),r.__reactInternalMemoizedMergedChildContext=e,fa(ga),fa(ma),pa(ma,e)):fa(ga),pa(ga,n)}var xa=o.unstable_runWithPriority,Aa=o.unstable_scheduleCallback,ka=o.unstable_cancelCallback,Ta=o.unstable_requestPaint,Na=o.unstable_now,Oa=o.unstable_getCurrentPriorityLevel,Sa=o.unstable_ImmediatePriority,Ra=o.unstable_UserBlockingPriority,Ba=o.unstable_NormalPriority,_a=o.unstable_LowPriority,Ma=o.unstable_IdlePriority,Ia={},Pa=o.unstable_shouldYield,La=void 0!==Ta?Ta:function(){},ja=null,$a=null,qa=!1,Va=Na(),za=1e4>Va?Na:function(){return Na()-Va};function Ua(){switch(Oa()){case Sa:return 99;case Ra:return 98;case Ba:return 97;case _a:return 96;case Ma:return 95;default:throw Error(i(332))}}function Ha(e){switch(e){case 99:return Sa;case 98:return Ra;case 97:return Ba;case 96:return _a;case 95:return Ma;default:throw Error(i(332))}}function Wa(e,t){return e=Ha(e),xa(e,t)}function Ka(e,t,n){return e=Ha(e),Aa(e,t,n)}function Ga(e){return null===ja?(ja=[e],$a=Aa(Sa,Qa)):ja.push(e),Ia}function Ya(){if(null!==$a){var e=$a;$a=null,ka(e)}Qa()}function Qa(){if(!qa&&null!==ja){qa=!0;var e=0;try{var t=ja;Wa(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),ja=null}catch(t){throw null!==ja&&(ja=ja.slice(e+1)),Aa(Sa,Ya),t}finally{qa=!1}}}function Xa(e,t,n){return 1073741821-(1+((1073741821-e+t/10)/(n/=10)|0))*n}function Za(e,t){if(e&&e.defaultProps)for(var n in t=a({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}var Ja={current:null},eo=null,to=null,no=null;function ro(){no=to=eo=null}function ao(e){var t=Ja.current;fa(Ja),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 io(e,t){eo=e,no=to=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(e.expirationTime>=t&&(_i=!0),e.firstContext=null)}function uo(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(i(308));to=t,eo.dependencies={expirationTime:0,firstContext:t,responders:null}}else to=to.next=t;return e._currentValue}var so=!1;function lo(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;so=!1;var i=o.baseQueue,u=o.shared.pending;if(null!==u){if(null!==i){var s=i.next;i.next=u.next,u.next=s}i=u,o.shared.pending=null,null!==(s=e.alternate)&&null!==(s=s.updateQueue)&&(s.baseQueue=u)}if(null!==i){s=i.next;var l=o.baseState,c=0,d=null,f=null,p=null;if(null!==s)for(var h=s;;){if((u=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=l):p=p.next=m,u>c&&(c=u)}else{null!==p&&(p=p.next={expirationTime:1073741823,suspenseConfig:h.suspenseConfig,tag:h.tag,payload:h.payload,callback:h.callback,next:null}),ys(u,h.suspenseConfig);e:{var g=e,v=h;switch(u=t,m=n,v.tag){case 1:if("function"==typeof(g=v.payload)){l=g.call(m,l,u);break e}l=g;break e;case 3:g.effectTag=-4097&g.effectTag|64;case 0:if(null==(u="function"==typeof(g=v.payload)?g.call(m,l,u):g))break e;l=a({},l,u);break e;case 2:so=!0}}null!==h.callback&&(e.effectTag|=32,null===(u=o.effects)?o.effects=[h]:u.push(h))}if(null===(h=h.next)||h===s){if(null===(u=o.shared.pending))break;h=i.next=u.next,u.next=s,o.baseQueue=i=u,o.shared.pending=null}}null===p?d=l:p.next=f,o.baseState=d,o.baseQueue=p,ws(c),e.expirationTime=c,e.memoizedState=l}}function go(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=a,a=n,"function"!=typeof r)throw Error(i(191,r));r.call(a)}}}var vo=Q.ReactCurrentBatchConfig,Do=(new r.Component).refs;function bo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:a({},t,n),e.memoizedState=n,0===e.expirationTime&&(e.updateQueue.baseState=n)}var yo={isMounted:function(e){return!!(e=e._reactInternalFiber)&&Ze(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternalFiber;var r=us(),a=vo.suspense;(a=fo(r=ss(r,e,a),a)).payload=t,null!=n&&(a.callback=n),po(e,a),ls(e,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternalFiber;var r=us(),a=vo.suspense;(a=fo(r=ss(r,e,a),a)).tag=1,a.payload=t,null!=n&&(a.callback=n),po(e,a),ls(e,r)},enqueueForceUpdate:function(e,t){e=e._reactInternalFiber;var n=us(),r=vo.suspense;(r=fo(n=ss(n,e,r),r)).tag=2,null!=t&&(r.callback=t),po(e,r),ls(e,n)}};function wo(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!(t.prototype&&t.prototype.isPureReactComponent&&zr(n,r)&&zr(a,o))}function Eo(e,t,n){var r=!1,a=ha,o=t.contextType;return"object"==typeof o&&null!==o?o=uo(o):(a=ba(t)?va:ma.current,o=(r=null!=(r=t.contextTypes))?Da(e,a):ha),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=yo,e.stateNode=t,t._reactInternalFiber=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function Fo(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&&yo.enqueueReplaceState(t,t.state,null)}function Co(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=Do,lo(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=uo(o):(o=ba(t)?va:ma.current,a.context=Da(e,o)),mo(e,n,a,r),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(bo(e,t,o,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(t=a.state,"function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&yo.enqueueReplaceState(a,a.state,null),mo(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.effectTag|=4)}var xo=Array.isArray;function Ao(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(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=r.refs;t===Do&&(t=r.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function ko(e,t){if("textarea"!==e.type)throw Error(i(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t,""))}function To(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 a(e,t){return(e=qs(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 u(t){return e&&null===t.alternate&&(t.effectTag=2),t}function s(e,t,n,r){return null===t||6!==t.tag?((t=Us(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function l(e,t,n,r){return null!==t&&t.elementType===n.type?((r=a(t,n.props)).ref=Ao(e,t,n),r.return=e,r):((r=Vs(n.type,n.key,n.props,null,e.mode,r)).ref=Ao(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=Hs(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=zs(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Us(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case ee:return(n=Vs(t.type,t.key,t.props,null,e.mode,n)).ref=Ao(e,null,t),n.return=e,n;case te:return(t=Hs(t,e.mode,n)).return=e,t}if(xo(t)||me(t))return(t=zs(t,e.mode,n,null)).return=e,t;ko(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==a?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case ee:return n.key===a?n.type===ne?d(e,t,n.props.children,r,a):l(e,t,n,r):null;case te:return n.key===a?c(e,t,n,r):null}if(xo(n)||me(n))return null!==a?null:d(e,t,n,r,null);ko(e,n)}return null}function h(e,t,n,r,a){if("string"==typeof r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,a);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,a,r.key):l(t,e,r,a);case te:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a)}if(xo(r)||me(r))return d(t,e=e.get(n)||null,r,a,null);ko(t,r)}return null}function m(a,i,u,s){for(var l=null,c=null,d=i,m=i=0,g=null;null!==d&&m<u.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=p(a,d,u[m],s);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(a,d),i=o(v,i,m),null===c?l=v:c.sibling=v,c=v,d=g}if(m===u.length)return n(a,d),l;if(null===d){for(;m<u.length;m++)null!==(d=f(a,u[m],s))&&(i=o(d,i,m),null===c?l=d:c.sibling=d,c=d);return l}for(d=r(a,d);m<u.length;m++)null!==(g=h(d,a,m,u[m],s))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),i=o(g,i,m),null===c?l=g:c.sibling=g,c=g);return e&&d.forEach((function(e){return t(a,e)})),l}function g(a,u,s,l){var c=me(s);if("function"!=typeof c)throw Error(i(150));if(null==(s=c.call(s)))throw Error(i(151));for(var d=c=null,m=u,g=u=0,v=null,D=s.next();null!==m&&!D.done;g++,D=s.next()){m.index>g?(v=m,m=null):v=m.sibling;var b=p(a,m,D.value,l);if(null===b){null===m&&(m=v);break}e&&m&&null===b.alternate&&t(a,m),u=o(b,u,g),null===d?c=b:d.sibling=b,d=b,m=v}if(D.done)return n(a,m),c;if(null===m){for(;!D.done;g++,D=s.next())null!==(D=f(a,D.value,l))&&(u=o(D,u,g),null===d?c=D:d.sibling=D,d=D);return c}for(m=r(a,m);!D.done;g++,D=s.next())null!==(D=h(m,a,g,D.value,l))&&(e&&null!==D.alternate&&m.delete(null===D.key?g:D.key),u=o(D,u,g),null===d?c=D:d.sibling=D,d=D);return e&&m.forEach((function(e){return t(a,e)})),c}return function(e,r,o,s){var l="object"==typeof o&&null!==o&&o.type===ne&&null===o.key;l&&(o=o.props.children);var c="object"==typeof o&&null!==o;if(c)switch(o.$$typeof){case ee:e:{for(c=o.key,l=r;null!==l;){if(l.key===c){if(7===l.tag){if(o.type===ne){n(e,l.sibling),(r=a(l,o.props.children)).return=e,e=r;break e}}else if(l.elementType===o.type){n(e,l.sibling),(r=a(l,o.props)).ref=Ao(e,l,o),r.return=e,e=r;break e}n(e,l);break}t(e,l),l=l.sibling}o.type===ne?((r=zs(o.props.children,e.mode,s,o.key)).return=e,e=r):((s=Vs(o.type,o.key,o.props,null,e.mode,s)).ref=Ao(e,r,o),s.return=e,e=s)}return u(e);case te:e:{for(l=o.key;null!==r;){if(r.key===l){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=a(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=Hs(o,e.mode,s)).return=e,e=r}return u(e)}if("string"==typeof o||"number"==typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=a(r,o)).return=e,e=r):(n(e,r),(r=Us(o,e.mode,s)).return=e,e=r),u(e);if(xo(o))return m(e,r,o,s);if(me(o))return g(e,r,o,s);if(c&&ko(e,o),void 0===o&&!l)switch(e.tag){case 1:case 0:throw e=e.type,Error(i(152,e.displayName||e.name||"Component"))}return n(e,r)}}var No=To(!0),Oo=To(!1),So={},Ro={current:So},Bo={current:So},_o={current:So};function Mo(e){if(e===So)throw Error(i(174));return e}function Io(e,t){switch(pa(_o,t),pa(Bo,e),pa(Ro,So),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Me(null,"");break;default:t=Me(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}fa(Ro),pa(Ro,t)}function Po(){fa(Ro),fa(Bo),fa(_o)}function Lo(e){Mo(_o.current);var t=Mo(Ro.current),n=Me(t,e.type);t!==n&&(pa(Bo,e),pa(Ro,n))}function jo(e){Bo.current===e&&(fa(Ro),fa(Bo))}var $o={current:0};function qo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||n.data===vn||n.data===Dn))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 Vo(e,t){return{responder:e,props:t}}var zo=Q.ReactCurrentDispatcher,Uo=Q.ReactCurrentBatchConfig,Ho=0,Wo=null,Ko=null,Go=null,Yo=!1;function Qo(){throw Error(i(321))}function Xo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!qr(e[n],t[n]))return!1;return!0}function Zo(e,t,n,r,a,o){if(Ho=o,Wo=t,t.memoizedState=null,t.updateQueue=null,t.expirationTime=0,zo.current=null===e||null===e.memoizedState?wi:Ei,e=n(r,a),t.expirationTime===Ho){o=0;do{if(t.expirationTime=0,!(25>o))throw Error(i(301));o+=1,Go=Ko=null,t.updateQueue=null,zo.current=Fi,e=n(r,a)}while(t.expirationTime===Ho)}if(zo.current=yi,t=null!==Ko&&null!==Ko.next,Ho=0,Go=Ko=Wo=null,Yo=!1,t)throw Error(i(300));return e}function Jo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===Go?Wo.memoizedState=Go=e:Go=Go.next=e,Go}function ei(){if(null===Ko){var e=Wo.alternate;e=null!==e?e.memoizedState:null}else e=Ko.next;var t=null===Go?Wo.memoizedState:Go.next;if(null!==t)Go=t,Ko=e;else{if(null===e)throw Error(i(310));e={memoizedState:(Ko=e).memoizedState,baseState:Ko.baseState,baseQueue:Ko.baseQueue,queue:Ko.queue,next:null},null===Go?Wo.memoizedState=Go=e:Go=Go.next=e}return Go}function ti(e,t){return"function"==typeof t?t(e):t}function ni(e){var t=ei(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=Ko,a=r.baseQueue,o=n.pending;if(null!==o){if(null!==a){var u=a.next;a.next=o.next,o.next=u}r.baseQueue=a=o,n.pending=null}if(null!==a){a=a.next,r=r.baseState;var s=u=o=null,l=a;do{var c=l.expirationTime;if(c<Ho){var d={expirationTime:l.expirationTime,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null};null===s?(u=s=d,o=r):s=s.next=d,c>Wo.expirationTime&&(Wo.expirationTime=c,ws(c))}else null!==s&&(s=s.next={expirationTime:1073741823,suspenseConfig:l.suspenseConfig,action:l.action,eagerReducer:l.eagerReducer,eagerState:l.eagerState,next:null}),ys(c,l.suspenseConfig),r=l.eagerReducer===e?l.eagerState:e(r,l.action);l=l.next}while(null!==l&&l!==a);null===s?o=r:s.next=u,qr(r,t.memoizedState)||(_i=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=s,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function ri(e){var t=ei(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var u=a=a.next;do{o=e(o,u.action),u=u.next}while(u!==a);qr(o,t.memoizedState)||(_i=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function ai(e){var t=Jo();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:ti,lastRenderedState:e}).dispatch=bi.bind(null,Wo,e),[t.memoizedState,e]}function oi(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 ii(){return ei().memoizedState}function ui(e,t,n,r){var a=Jo();Wo.effectTag|=e,a.memoizedState=oi(1|t,n,void 0,void 0===r?null:r)}function si(e,t,n,r){var a=ei();r=void 0===r?null:r;var o=void 0;if(null!==Ko){var i=Ko.memoizedState;if(o=i.destroy,null!==r&&Xo(r,i.deps))return void oi(t,n,o,r)}Wo.effectTag|=e,a.memoizedState=oi(1|t,n,o,r)}function li(e,t){return ui(516,4,e,t)}function ci(e,t){return si(516,4,e,t)}function di(e,t){return si(4,2,e,t)}function fi(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 pi(e,t,n){return n=null!=n?n.concat([e]):null,si(4,2,fi.bind(null,t,e),n)}function hi(){}function mi(e,t){return Jo().memoizedState=[e,void 0===t?null:t],e}function gi(e,t){var n=ei();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 vi(e,t){var n=ei();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 Di(e,t,n){var r=Ua();Wa(98>r?98:r,(function(){e(!0)})),Wa(97<r?97:r,(function(){var r=Uo.suspense;Uo.suspense=void 0===t?null:t;try{e(!1),n()}finally{Uo.suspense=r}}))}function bi(e,t,n){var r=us(),a=vo.suspense;a={expirationTime:r=ss(r,e,a),suspenseConfig:a,action:n,eagerReducer:null,eagerState:null,next:null};var o=t.pending;if(null===o?a.next=a:(a.next=o.next,o.next=a),t.pending=a,o=e.alternate,e===Wo||null!==o&&o===Wo)Yo=!0,a.expirationTime=Ho,Wo.expirationTime=Ho;else{if(0===e.expirationTime&&(null===o||0===o.expirationTime)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,u=o(i,n);if(a.eagerReducer=o,a.eagerState=u,qr(u,i))return}catch(e){}ls(e,r)}}var yi={readContext:uo,useCallback:Qo,useContext:Qo,useEffect:Qo,useImperativeHandle:Qo,useLayoutEffect:Qo,useMemo:Qo,useReducer:Qo,useRef:Qo,useState:Qo,useDebugValue:Qo,useResponder:Qo,useDeferredValue:Qo,useTransition:Qo},wi={readContext:uo,useCallback:mi,useContext:uo,useEffect:li,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,ui(4,2,fi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ui(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=bi.bind(null,Wo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Jo().memoizedState=e},useState:ai,useDebugValue:hi,useResponder:Vo,useDeferredValue:function(e,t){var n=ai(e),r=n[0],a=n[1];return li((function(){var n=Uo.suspense;Uo.suspense=void 0===t?null:t;try{a(e)}finally{Uo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ai(!1),n=t[0];return t=t[1],[mi(Di.bind(null,t,e),[t,e]),n]}},Ei={readContext:uo,useCallback:gi,useContext:uo,useEffect:ci,useImperativeHandle:pi,useLayoutEffect:di,useMemo:vi,useReducer:ni,useRef:ii,useState:function(){return ni(ti)},useDebugValue:hi,useResponder:Vo,useDeferredValue:function(e,t){var n=ni(ti),r=n[0],a=n[1];return ci((function(){var n=Uo.suspense;Uo.suspense=void 0===t?null:t;try{a(e)}finally{Uo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ni(ti),n=t[0];return t=t[1],[gi(Di.bind(null,t,e),[t,e]),n]}},Fi={readContext:uo,useCallback:gi,useContext:uo,useEffect:ci,useImperativeHandle:pi,useLayoutEffect:di,useMemo:vi,useReducer:ri,useRef:ii,useState:function(){return ri(ti)},useDebugValue:hi,useResponder:Vo,useDeferredValue:function(e,t){var n=ri(ti),r=n[0],a=n[1];return ci((function(){var n=Uo.suspense;Uo.suspense=void 0===t?null:t;try{a(e)}finally{Uo.suspense=n}}),[e,t]),r},useTransition:function(e){var t=ri(ti),n=t[0];return t=t[1],[gi(Di.bind(null,t,e),[t,e]),n]}},Ci=null,xi=null,Ai=!1;function ki(e,t){var n=js(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 Ti(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 Ni(e){if(Ai){var t=xi;if(t){var n=t;if(!Ti(e,t)){if(!(t=xn(n.nextSibling))||!Ti(e,t))return e.effectTag=-1025&e.effectTag|2,Ai=!1,void(Ci=e);ki(Ci,n)}Ci=e,xi=xn(t.firstChild)}else e.effectTag=-1025&e.effectTag|2,Ai=!1,Ci=e}}function Oi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ci=e}function Si(e){if(e!==Ci)return!1;if(!Ai)return Oi(e),Ai=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!En(t,e.memoizedProps))for(t=xi;t;)ki(e,t),t=xn(t.nextSibling);if(Oi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if(n===gn){if(0===t){xi=xn(e.nextSibling);break e}t--}else n!==mn&&n!==Dn&&n!==vn||t++}e=e.nextSibling}xi=null}}else xi=Ci?xn(e.stateNode.nextSibling):null;return!0}function Ri(){xi=Ci=null,Ai=!1}var Bi=Q.ReactCurrentOwner,_i=!1;function Mi(e,t,n,r){t.child=null===e?Oo(t,null,n,r):No(t,e.child,n,r)}function Ii(e,t,n,r,a){n=n.render;var o=t.ref;return io(t,a),r=Zo(e,t,n,r,o,a),null===e||_i?(t.effectTag|=1,Mi(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=a&&(e.expirationTime=0),Ji(e,t,a))}function Pi(e,t,n,r,a,o){if(null===e){var i=n.type;return"function"!=typeof i||$s(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Vs(n.type,null,r,null,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Li(e,t,i,r,a,o))}return i=e.child,a<o&&(a=i.memoizedProps,(n=null!==(n=n.compare)?n:zr)(a,r)&&e.ref===t.ref)?Ji(e,t,o):(t.effectTag|=1,(e=qs(i,r)).ref=t.ref,e.return=t,t.child=e)}function Li(e,t,n,r,a,o){return null!==e&&zr(e.memoizedProps,r)&&e.ref===t.ref&&(_i=!1,a<o)?(t.expirationTime=e.expirationTime,Ji(e,t,o)):$i(e,t,n,r,o)}function ji(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.effectTag|=128)}function $i(e,t,n,r,a){var o=ba(n)?va:ma.current;return o=Da(t,o),io(t,a),n=Zo(e,t,n,r,o,a),null===e||_i?(t.effectTag|=1,Mi(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.effectTag&=-517,e.expirationTime<=a&&(e.expirationTime=0),Ji(e,t,a))}function qi(e,t,n,r,a){if(ba(n)){var o=!0;Fa(t)}else o=!1;if(io(t,a),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),Eo(t,n,r),Co(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,u=t.memoizedProps;i.props=u;var s=i.context,l=n.contextType;l="object"==typeof l&&null!==l?uo(l):Da(t,l=ba(n)?va:ma.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(u!==r||s!==l)&&Fo(t,i,r,l),so=!1;var f=t.memoizedState;i.state=f,mo(t,r,i,a),s=t.memoizedState,u!==r||f!==s||ga.current||so?("function"==typeof c&&(bo(t,n,c,r),s=t.memoizedState),(u=so||wo(t,n,u,r,f,s,l))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.effectTag|=4)):("function"==typeof i.componentDidMount&&(t.effectTag|=4),t.memoizedProps=r,t.memoizedState=s),i.props=r,i.state=s,i.context=l,r=u):("function"==typeof i.componentDidMount&&(t.effectTag|=4),r=!1)}else i=t.stateNode,co(e,t),u=t.memoizedProps,i.props=t.type===t.elementType?u:Za(t.type,u),s=i.context,l="object"==typeof(l=n.contextType)&&null!==l?uo(l):Da(t,l=ba(n)?va:ma.current),(d="function"==typeof(c=n.getDerivedStateFromProps)||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(u!==r||s!==l)&&Fo(t,i,r,l),so=!1,s=t.memoizedState,i.state=s,mo(t,r,i,a),f=t.memoizedState,u!==r||s!==f||ga.current||so?("function"==typeof c&&(bo(t,n,c,r),f=t.memoizedState),(c=so||wo(t,n,u,r,s,f,l))?(d||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,f,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,f,l)),"function"==typeof i.componentDidUpdate&&(t.effectTag|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.effectTag|=256)):("function"!=typeof i.componentDidUpdate||u===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=4),"function"!=typeof i.getSnapshotBeforeUpdate||u===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=256),t.memoizedProps=r,t.memoizedState=f),i.props=r,i.state=f,i.context=l,r=c):("function"!=typeof i.componentDidUpdate||u===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=4),"function"!=typeof i.getSnapshotBeforeUpdate||u===e.memoizedProps&&s===e.memoizedState||(t.effectTag|=256),r=!1);return Vi(e,t,n,r,o,a)}function Vi(e,t,n,r,a,o){ji(e,t);var i=0!=(64&t.effectTag);if(!r&&!i)return a&&Ca(t,n,!1),Ji(e,t,o);r=t.stateNode,Bi.current=t;var u=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.effectTag|=1,null!==e&&i?(t.child=No(t,e.child,null,o),t.child=No(t,null,u,o)):Mi(e,t,u,o),t.memoizedState=r.state,a&&Ca(t,n,!0),t.child}function zi(e){var t=e.stateNode;t.pendingContext?wa(0,t.pendingContext,t.pendingContext!==t.context):t.context&&wa(0,t.context,!1),Io(e,t.containerInfo)}var Ui,Hi,Wi,Ki,Gi={dehydrated:null,retryTime:0};function Yi(e,t,n){var r,a=t.mode,o=t.pendingProps,i=$o.current,u=!1;if((r=0!=(64&t.effectTag))||(r=0!=(2&i)&&(null===e||null!==e.memoizedState)),r?(u=!0,t.effectTag&=-65):null!==e&&null===e.memoizedState||void 0===o.fallback||!0===o.unstable_avoidThisFallback||(i|=1),pa($o,1&i),null===e){if(void 0!==o.fallback&&Ni(t),u){if(u=o.fallback,(o=zs(null,a,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=zs(u,a,n,null)).return=t,o.sibling=n,t.memoizedState=Gi,t.child=o,n}return a=o.children,t.memoizedState=null,t.child=Oo(t,null,a,n)}if(null!==e.memoizedState){if(a=(e=e.child).sibling,u){if(o=o.fallback,(n=qs(e,e.pendingProps)).return=t,0==(2&t.mode)&&(u=null!==t.memoizedState?t.child.child:t.child)!==e.child)for(n.child=u;null!==u;)u.return=n,u=u.sibling;return(a=qs(a,o)).return=t,n.sibling=a,n.childExpirationTime=0,t.memoizedState=Gi,t.child=n,a}return n=No(t,e.child,o.children,n),t.memoizedState=null,t.child=n}if(e=e.child,u){if(u=o.fallback,(o=zs(null,a,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=zs(u,a,n,null)).return=t,o.sibling=n,n.effectTag|=2,o.childExpirationTime=0,t.memoizedState=Gi,t.child=o,n}return t.memoizedState=null,t.child=No(t,e,o.children,n)}function Qi(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 Xi(e,t,n,r,a,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailExpiration:0,tailMode:a,lastEffect:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailExpiration=0,i.tailMode=a,i.lastEffect=o)}function Zi(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(Mi(e,t,r.children,n),0!=(2&(r=$o.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&&Qi(e,n);else if(19===e.tag)Qi(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(pa($o,r),0==(2&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===qo(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Xi(t,!1,a,n,o,t.lastEffect);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===qo(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Xi(t,!0,n,null,o,t.lastEffect);break;case"together":Xi(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Ji(e,t,n){null!==e&&(t.dependencies=e.dependencies);var r=t.expirationTime;if(0!==r&&ws(r),t.childExpirationTime<n)return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=qs(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=qs(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function eu(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 tu(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 ba(t.type)&&ya(),null;case 3:return Po(),fa(ga),fa(ma),(n=t.stateNode).pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||!Si(t)||(t.effectTag|=4),Hi(t),null;case 5:jo(t),n=Mo(_o.current);var o=t.type;if(null!==e&&null!=t.stateNode)Wi(e,t,o,r,n),e.ref!==t.ref&&(t.effectTag|=128);else{if(!r){if(null===t.stateNode)throw Error(i(166));return null}if(e=Mo(Ro.current),Si(t)){r=t.stateNode,o=t.type;var u=t.memoizedProps;switch(r[Tn]=t,r[Nn]=u,o){case"iframe":case"object":case"embed":Wt("load",r);break;case"video":case"audio":for(e=0;e<Ye.length;e++)Wt(Ye[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":Fe(r,u),Wt("invalid",r),un(n,"onChange");break;case"select":r._wrapperState={wasMultiple:!!u.multiple},Wt("invalid",r),un(n,"onChange");break;case"textarea":Se(r,u),Wt("invalid",r),un(n,"onChange")}for(var s in rn(o,u),e=null,u)if(u.hasOwnProperty(s)){var l=u[s];"children"===s?"string"==typeof l?r.textContent!==l&&(e=["children",l]):"number"==typeof l&&r.textContent!==""+l&&(e=["children",""+l]):C.hasOwnProperty(s)&&null!=l&&un(n,s)}switch(o){case"input":ye(r),Ae(r,u,!0);break;case"textarea":ye(r),Be(r);break;case"select":case"option":break;default:"function"==typeof u.onClick&&(r.onclick=sn)}n=e,t.updateQueue=n,null!==n&&(t.effectTag|=4)}else{switch(s=9===n.nodeType?n:n.ownerDocument,e===on&&(e=_e(o)),e===on?"script"===o?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=s.createElement(o,{is:r.is}):(e=s.createElement(o),"select"===o&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,o),e[Tn]=t,e[Nn]=r,Ui(e,t,!1,!1),t.stateNode=e,s=an(o,r),o){case"iframe":case"object":case"embed":Wt("load",e),l=r;break;case"video":case"audio":for(l=0;l<Ye.length;l++)Wt(Ye[l],e);l=r;break;case"source":Wt("error",e),l=r;break;case"img":case"image":case"link":Wt("error",e),Wt("load",e),l=r;break;case"form":Wt("reset",e),Wt("submit",e),l=r;break;case"details":Wt("toggle",e),l=r;break;case"input":Fe(e,r),l=Ee(e,r),Wt("invalid",e),un(n,"onChange");break;case"option":l=Te(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=a({},r,{value:void 0}),Wt("invalid",e),un(n,"onChange");break;case"textarea":Se(e,r),l=Oe(e,r),Wt("invalid",e),un(n,"onChange");break;default:l=r}rn(o,l);var c=l;for(u in c)if(c.hasOwnProperty(u)){var d=c[u];"style"===u?tn(e,d):"dangerouslySetInnerHTML"===u?null!=(d=d?d.__html:void 0)&&Le(e,d):"children"===u?"string"==typeof d?("textarea"!==o||""!==d)&&je(e,d):"number"==typeof d&&je(e,""+d):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(C.hasOwnProperty(u)?null!=d&&un(n,u):null!=d&&X(e,u,d,s))}switch(o){case"input":ye(e),Ae(e,r,!1);break;case"textarea":ye(e),Be(e);break;case"option":null!=r.value&&e.setAttribute("value",""+De(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 l.onClick&&(e.onclick=sn)}wn(o,r)&&(t.effectTag|=4)}null!==t.ref&&(t.effectTag|=128)}return null;case 6:if(e&&null!=t.stateNode)Ki(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));n=Mo(_o.current),Mo(Ro.current),Si(t)?(n=t.stateNode,r=t.memoizedProps,n[Tn]=t,n.nodeValue!==r&&(t.effectTag|=4)):((n=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Tn]=t,t.stateNode=n)}return null;case 13:return fa($o),r=t.memoizedState,0!=(64&t.effectTag)?(t.expirationTime=n,t):(n=null!==r,r=!1,null===e?void 0!==t.memoizedProps.fallback&&Si(t):(r=null!==(o=e.memoizedState),n||null===o||null!==(o=e.child.sibling)&&(null!==(u=t.firstEffect)?(t.firstEffect=o,o.nextEffect=u):(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&$o.current)?qu===Su&&(qu=_u):(qu!==Su&&qu!==_u||(qu=Mu),0!==Wu&&null!==Lu&&(Gs(Lu,$u),Ys(Lu,Wu)))),(n||r)&&(t.effectTag|=4),null);case 4:return Po(),Hi(t),null;case 10:return ao(t),null;case 19:if(fa($o),null===(r=t.memoizedState))return null;if(o=0!=(64&t.effectTag),null===(u=r.rendering)){if(o)eu(r,!1);else if(qu!==Su||null!==e&&0!=(64&e.effectTag))for(u=t.child;null!==u;){if(null!==(e=qo(u))){for(t.effectTag|=64,eu(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;)u=n,(o=r).effectTag&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,null===(e=o.alternate)?(o.childExpirationTime=0,o.expirationTime=u,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,u=e.dependencies,o.dependencies=null===u?null:{expirationTime:u.expirationTime,firstContext:u.firstContext,responders:u.responders}),r=r.sibling;return pa($o,1&$o.current|2),t.child}u=u.sibling}}else{if(!o)if(null!==(e=qo(u))){if(t.effectTag|=64,o=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.effectTag|=4),eu(r,!0),null===r.tail&&"hidden"===r.tailMode&&!u.alternate)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*za()-r.renderingStartTime>r.tailExpiration&&1<n&&(t.effectTag|=64,o=!0,eu(r,!1),t.expirationTime=t.childExpirationTime=n-1);r.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=r.last)?n.sibling=u:t.child=u,r.last=u)}return null!==r.tail?(0===r.tailExpiration&&(r.tailExpiration=za()+500),n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=za(),n.sibling=null,t=$o.current,pa($o,o?1&t|2:1&t),n):null}throw Error(i(156,t.tag))}function nu(e){switch(e.tag){case 1:ba(e.type)&&ya();var t=e.effectTag;return 4096&t?(e.effectTag=-4097&t|64,e):null;case 3:if(Po(),fa(ga),fa(ma),0!=(64&(t=e.effectTag)))throw Error(i(285));return e.effectTag=-4097&t|64,e;case 5:return jo(e),null;case 13:return fa($o),4096&(t=e.effectTag)?(e.effectTag=-4097&t|64,e):null;case 19:return fa($o),null;case 4:return Po(),null;case 10:return ao(e),null;default:return null}}function ru(e,t){return{value:e,source:t,stack:ve(t)}}Ui=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}},Hi=function(){},Wi=function(e,t,n,r,o){var i=e.memoizedProps;if(i!==r){var u,s,l=t.stateNode;switch(Mo(Ro.current),e=null,n){case"input":i=Ee(l,i),r=Ee(l,r),e=[];break;case"option":i=Te(l,i),r=Te(l,r),e=[];break;case"select":i=a({},i,{value:void 0}),r=a({},r,{value:void 0}),e=[];break;case"textarea":i=Oe(l,i),r=Oe(l,r),e=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(l.onclick=sn)}for(u in rn(n,r),n=null,i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&null!=i[u])if("style"===u)for(s in l=i[u])l.hasOwnProperty(s)&&(n||(n={}),n[s]="");else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(C.hasOwnProperty(u)?e||(e=[]):(e=e||[]).push(u,null));for(u in r){var c=r[u];if(l=null!=i?i[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(s in l)!l.hasOwnProperty(s)||c&&c.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in c)c.hasOwnProperty(s)&&l[s]!==c[s]&&(n||(n={}),n[s]=c[s])}else n||(e||(e=[]),e.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(e=e||[]).push(u,c)):"children"===u?l===c||"string"!=typeof c&&"number"!=typeof c||(e=e||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(C.hasOwnProperty(u)?(null!=c&&un(o,u),e||l===c||(e=[])):(e=e||[]).push(u,c))}n&&(e=e||[]).push("style",n),o=e,(t.updateQueue=o)&&(t.effectTag|=4)}},Ki=function(e,t,n,r){n!==r&&(t.effectTag|=4)};var au="function"==typeof WeakSet?WeakSet:Set;function ou(e,t){var n=t.source,r=t.stack;null===r&&null!==n&&(r=ve(n)),null!==n&&ge(n.type),t=t.value,null!==e&&1===e.tag&&ge(e.type);try{console.error(t)}catch(e){setTimeout((function(){throw e}))}}function iu(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){Bs(e,t)}else t.current=null}function uu(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:Za(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return}throw Error(i(163))}function su(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 lu(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 cu(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:return void lu(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:Za(n.type,t.memoizedProps);e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate)}return void(null!==(t=n.updateQueue)&&go(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}go(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.effectTag&&wn(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&&Mt(n)))))}throw Error(i(163))}function du(e,t,n){switch("function"==typeof Ps&&Ps(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;Wa(97<n?97:n,(function(){var e=r;do{var n=e.destroy;if(void 0!==n){var a=t;try{n()}catch(e){Bs(a,e)}}e=e.next}while(e!==r)}))}break;case 1:iu(t),"function"==typeof(n=t.stateNode).componentWillUnmount&&function(e,t){try{t.props=e.memoizedProps,t.state=e.memoizedState,t.componentWillUnmount()}catch(t){Bs(e,t)}}(t,n);break;case 5:iu(t);break;case 4:vu(e,t,n)}}function fu(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&&fu(t)}function pu(e){return 5===e.tag||3===e.tag||4===e.tag}function hu(e){e:{for(var t=e.return;null!==t;){if(pu(t)){var n=t;break e}t=t.return}throw Error(i(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(i(161))}16&n.effectTag&&(je(t,""),n.effectTag&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||pu(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?mu(e,n,t):gu(e,n,t)}function mu(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?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=sn));else if(4!==r&&null!==(e=e.child))for(mu(e,t,n),e=e.sibling;null!==e;)mu(e,t,n),e=e.sibling}function gu(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(gu(e,t,n),e=e.sibling;null!==e;)gu(e,t,n),e=e.sibling}function vu(e,t,n){for(var r,a,o=t,u=!1;;){if(!u){u=o.return;e:for(;;){if(null===u)throw Error(i(160));switch(r=u.stateNode,u.tag){case 5:a=!1;break e;case 3:case 4:r=r.containerInfo,a=!0;break e}u=u.return}u=!0}if(5===o.tag||6===o.tag){e:for(var s=e,l=o,c=n,d=l;;)if(du(s,d,c),null!==d.child&&4!==d.tag)d.child.return=d,d=d.child;else{if(d===l)break e;for(;null===d.sibling;){if(null===d.return||d.return===l)break e;d=d.return}d.sibling.return=d.return,d=d.sibling}a?(s=r,l=o.stateNode,8===s.nodeType?s.parentNode.removeChild(l):s.removeChild(l)):r.removeChild(o.stateNode)}else if(4===o.tag){if(null!==o.child){r=o.stateNode.containerInfo,a=!0,o.child.return=o,o=o.child;continue}}else if(du(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&&(u=!1)}o.sibling.return=o.return,o=o.sibling}}function Du(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:return void su(3,t);case 1:case 12:case 17:return;case 5:var n=t.stateNode;if(null!=n){var r=t.memoizedProps,a=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&&Ce(n,r),an(e,a),t=an(e,r),a=0;a<o.length;a+=2){var u=o[a],s=o[a+1];"style"===u?tn(n,s):"dangerouslySetInnerHTML"===u?Le(n,s):"children"===u?je(n,s):X(n,u,s,t)}switch(e){case"input":xe(n,r);break;case"textarea":Re(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(i(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((t=t.stateNode).hydrate&&(t.hydrate=!1,Mt(t.containerInfo)));case 13:if(n=t,null===t.memoizedState?r=!1:(r=!0,n=t.child,Gu=za()),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,a=null!=(a=e.memoizedProps.style)&&a.hasOwnProperty("display")?a.display:null,o.style.display=en("display",a));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 bu(t);case 19:return void bu(t)}throw Error(i(163))}function bu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new au),t.forEach((function(t){var r=Ms.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}var yu="function"==typeof WeakMap?WeakMap:Map;function wu(e,t,n){(n=fo(n,null)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Xu||(Xu=!0,Zu=r),ou(e,t)},n}function Eu(e,t,n){(n=fo(n,null)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var a=t.value;n.payload=function(){return ou(e,t),r(a)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){"function"!=typeof r&&(null===Ju?Ju=new Set([this]):Ju.add(this),ou(e,t));var n=t.stack;this.componentDidCatch(t.value,{componentStack:null!==n?n:""})}),n}var Fu,Cu=Math.ceil,xu=Q.ReactCurrentDispatcher,Au=Q.ReactCurrentOwner,ku=0,Tu=8,Nu=16,Ou=32,Su=0,Ru=1,Bu=2,_u=3,Mu=4,Iu=5,Pu=ku,Lu=null,ju=null,$u=0,qu=Su,Vu=null,zu=1073741823,Uu=1073741823,Hu=null,Wu=0,Ku=!1,Gu=0,Yu=500,Qu=null,Xu=!1,Zu=null,Ju=null,es=!1,ts=null,ns=90,rs=null,as=0,os=null,is=0;function us(){return(Pu&(Nu|Ou))!==ku?1073741821-(za()/10|0):0!==is?is:is=1073741821-(za()/10|0)}function ss(e,t,n){if(0==(2&(t=t.mode)))return 1073741823;var r=Ua();if(0==(4&t))return 99===r?1073741823:1073741822;if((Pu&Nu)!==ku)return $u;if(null!==n)e=Xa(e,0|n.timeoutMs||5e3,250);else switch(r){case 99:e=1073741823;break;case 98:e=Xa(e,150,100);break;case 97:case 96:e=Xa(e,5e3,250);break;case 95:e=2;break;default:throw Error(i(326))}return null!==Lu&&e===$u&&--e,e}function ls(e,t){if(50<as)throw as=0,os=null,Error(i(185));if(null!==(e=cs(e,t))){var n=Ua();1073741823===t?(Pu&Tu)!==ku&&(Pu&(Nu|Ou))===ku?hs(e):(fs(e),Pu===ku&&Ya()):fs(e),(4&Pu)===ku||98!==n&&99!==n||(null===rs?rs=new Map([[e,t]]):(void 0===(n=rs.get(e))||n>t)&&rs.set(e,t))}}function cs(e,t){e.expirationTime<t&&(e.expirationTime=t);var n=e.alternate;null!==n&&n.expirationTime<t&&(n.expirationTime=t);var r=e.return,a=null;if(null===r&&3===e.tag)a=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){a=r.stateNode;break}r=r.return}return null!==a&&(Lu===a&&(ws(t),qu===Mu&&Gs(a,$u)),Ys(a,t)),a}function ds(e){var t=e.lastExpiredTime;if(0!==t)return t;if(!Ks(e,t=e.firstPendingTime))return t;var n=e.lastPingedTime;return 2>=(e=n>(e=e.nextKnownPendingLevel)?n:e)&&t!==e?0:e}function fs(e){if(0!==e.lastExpiredTime)e.callbackExpirationTime=1073741823,e.callbackPriority=99,e.callbackNode=Ga(hs.bind(null,e));else{var t=ds(e),n=e.callbackNode;if(0===t)null!==n&&(e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90);else{var r=us();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 a=e.callbackPriority;if(e.callbackExpirationTime===t&&a>=r)return;n!==Ia&&ka(n)}e.callbackExpirationTime=t,e.callbackPriority=r,t=1073741823===t?Ga(hs.bind(null,e)):Ka(r,ps.bind(null,e),{timeout:10*(1073741821-t)-za()}),e.callbackNode=t}}}function ps(e,t){if(is=0,t)return Qs(e,t=us()),fs(e),null;var n=ds(e);if(0!==n){if(t=e.callbackNode,(Pu&(Nu|Ou))!==ku)throw Error(i(327));if(Os(),e===Lu&&n===$u||vs(e,n),null!==ju){var r=Pu;Pu|=Nu;for(var a=bs();;)try{Fs();break}catch(t){Ds(e,t)}if(ro(),Pu=r,xu.current=a,qu===Ru)throw t=Vu,vs(e,n),Gs(e,n),fs(e),t;if(null===ju)switch(a=e.finishedWork=e.current.alternate,e.finishedExpirationTime=n,r=qu,Lu=null,r){case Su:case Ru:throw Error(i(345));case Bu:Qs(e,2<n?2:n);break;case _u:if(Gs(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=As(a)),1073741823===zu&&10<(a=Gu+Yu-za())){if(Ku){var o=e.lastPingedTime;if(0===o||o>=n){e.lastPingedTime=n,vs(e,n);break}}if(0!==(o=ds(e))&&o!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}e.timeoutHandle=Fn(ks.bind(null,e),a);break}ks(e);break;case Mu:if(Gs(e,n),n===(r=e.lastSuspendedTime)&&(e.nextKnownPendingLevel=As(a)),Ku&&(0===(a=e.lastPingedTime)||a>=n)){e.lastPingedTime=n,vs(e,n);break}if(0!==(a=ds(e))&&a!==n)break;if(0!==r&&r!==n){e.lastPingedTime=r;break}if(1073741823!==Uu?r=10*(1073741821-Uu)-za():1073741823===zu?r=0:(r=10*(1073741821-zu)-5e3,0>(r=(a=za())-r)&&(r=0),(n=10*(1073741821-n)-a)<(r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cu(r/1960))-r)&&(r=n)),10<r){e.timeoutHandle=Fn(ks.bind(null,e),r);break}ks(e);break;case Iu:if(1073741823!==zu&&null!==Hu){o=zu;var u=Hu;if(0>=(r=0|u.busyMinDurationMs)?r=0:(a=0|u.busyDelayMs,r=(o=za()-(10*(1073741821-o)-(0|u.timeoutMs||5e3)))<=a?0:a+r-o),10<r){Gs(e,n),e.timeoutHandle=Fn(ks.bind(null,e),r);break}}ks(e);break;default:throw Error(i(329))}if(fs(e),e.callbackNode===t)return ps.bind(null,e)}}return null}function hs(e){var t=e.lastExpiredTime;if(t=0!==t?t:1073741823,(Pu&(Nu|Ou))!==ku)throw Error(i(327));if(Os(),e===Lu&&t===$u||vs(e,t),null!==ju){var n=Pu;Pu|=Nu;for(var r=bs();;)try{Es();break}catch(t){Ds(e,t)}if(ro(),Pu=n,xu.current=r,qu===Ru)throw n=Vu,vs(e,t),Gs(e,t),fs(e),n;if(null!==ju)throw Error(i(261));e.finishedWork=e.current.alternate,e.finishedExpirationTime=t,Lu=null,ks(e),fs(e)}return null}function ms(e,t){var n=Pu;Pu|=1;try{return e(t)}finally{(Pu=n)===ku&&Ya()}}function gs(e,t){var n=Pu;Pu&=-2,Pu|=Tu;try{return e(t)}finally{(Pu=n)===ku&&Ya()}}function vs(e,t){e.finishedWork=null,e.finishedExpirationTime=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Cn(n)),null!==ju)for(n=ju.return;null!==n;){var r=n;switch(r.tag){case 1:null!=(r=r.type.childContextTypes)&&ya();break;case 3:Po(),fa(ga),fa(ma);break;case 5:jo(r);break;case 4:Po();break;case 13:case 19:fa($o);break;case 10:ao(r)}n=n.return}Lu=e,ju=qs(e.current,null),$u=t,qu=Su,Vu=null,Uu=zu=1073741823,Hu=null,Wu=0,Ku=!1}function Ds(e,t){for(;;){try{if(ro(),zo.current=yi,Yo)for(var n=Wo.memoizedState;null!==n;){var r=n.queue;null!==r&&(r.pending=null),n=n.next}if(Ho=0,Go=Ko=Wo=null,Yo=!1,null===ju||null===ju.return)return qu=Ru,Vu=t,ju=null;e:{var a=e,o=ju.return,i=ju,u=t;if(t=$u,i.effectTag|=2048,i.firstEffect=i.lastEffect=null,null!==u&&"object"==typeof u&&"function"==typeof u.then){var s=u;if(0==(2&i.mode)){var l=i.alternate;l?(i.updateQueue=l.updateQueue,i.memoizedState=l.memoizedState,i.expirationTime=l.expirationTime):(i.updateQueue=null,i.memoizedState=null)}var c=0!=(1&$o.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 g=new Set;g.add(s),d.updateQueue=g}else m.add(s);if(0==(2&d.mode)){if(d.effectTag|=64,i.effectTag&=-2981,1===i.tag)if(null===i.alternate)i.tag=17;else{var v=fo(1073741823,null);v.tag=2,po(i,v)}i.expirationTime=1073741823;break e}u=void 0,i=t;var D=a.pingCache;if(null===D?(D=a.pingCache=new yu,u=new Set,D.set(s,u)):void 0===(u=D.get(s))&&(u=new Set,D.set(s,u)),!u.has(i)){u.add(i);var b=_s.bind(null,a,s,i);s.then(b,b)}d.effectTag|=4096,d.expirationTime=t;break e}d=d.return}while(null!==d);u=Error((ge(i.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."+ve(i))}qu!==Iu&&(qu=Bu),u=ru(u,i),d=o;do{switch(d.tag){case 3:s=u,d.effectTag|=4096,d.expirationTime=t,ho(d,wu(d,s,t));break e;case 1:s=u;var y=d.type,w=d.stateNode;if(0==(64&d.effectTag)&&("function"==typeof y.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===Ju||!Ju.has(w)))){d.effectTag|=4096,d.expirationTime=t,ho(d,Eu(d,s,t));break e}}d=d.return}while(null!==d)}ju=xs(ju)}catch(e){t=e;continue}break}}function bs(){var e=xu.current;return xu.current=yi,null===e?yi:e}function ys(e,t){e<zu&&2<e&&(zu=e),null!==t&&e<Uu&&2<e&&(Uu=e,Hu=t)}function ws(e){e>Wu&&(Wu=e)}function Es(){for(;null!==ju;)ju=Cs(ju)}function Fs(){for(;null!==ju&&!Pa();)ju=Cs(ju)}function Cs(e){var t=Fu(e.alternate,e,$u);return e.memoizedProps=e.pendingProps,null===t&&(t=xs(e)),Au.current=null,t}function xs(e){ju=e;do{var t=ju.alternate;if(e=ju.return,0==(2048&ju.effectTag)){if(t=tu(t,ju,$u),1===$u||1!==ju.childExpirationTime){for(var n=0,r=ju.child;null!==r;){var a=r.expirationTime,o=r.childExpirationTime;a>n&&(n=a),o>n&&(n=o),r=r.sibling}ju.childExpirationTime=n}if(null!==t)return t;null!==e&&0==(2048&e.effectTag)&&(null===e.firstEffect&&(e.firstEffect=ju.firstEffect),null!==ju.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=ju.firstEffect),e.lastEffect=ju.lastEffect),1<ju.effectTag&&(null!==e.lastEffect?e.lastEffect.nextEffect=ju:e.firstEffect=ju,e.lastEffect=ju))}else{if(null!==(t=nu(ju)))return t.effectTag&=2047,t;null!==e&&(e.firstEffect=e.lastEffect=null,e.effectTag|=2048)}if(null!==(t=ju.sibling))return t;ju=e}while(null!==ju);return qu===Su&&(qu=Iu),null}function As(e){var t=e.expirationTime;return t>(e=e.childExpirationTime)?t:e}function ks(e){var t=Ua();return Wa(99,Ts.bind(null,e,t)),null}function Ts(e,t){do{Os()}while(null!==ts);if((Pu&(Nu|Ou))!==ku)throw Error(i(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(i(177));e.callbackNode=null,e.callbackExpirationTime=0,e.callbackPriority=90,e.nextKnownPendingLevel=0;var a=As(n);if(e.firstPendingTime=a,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===Lu&&(ju=Lu=null,$u=0),1<n.effectTag?null!==n.lastEffect?(n.lastEffect.nextEffect=n,a=n.firstEffect):a=n:a=n.firstEffect,null!==a){var o=Pu;Pu|=Ou,Au.current=null,bn=Ht;var u=pn();if(hn(u)){if("selectionStart"in u)var s={start:u.selectionStart,end:u.selectionEnd};else e:{var l=(s=(s=u.ownerDocument)&&s.defaultView||window).getSelection&&s.getSelection();if(l&&0!==l.rangeCount){s=l.anchorNode;var c=l.anchorOffset,d=l.focusNode;l=l.focusOffset;try{s.nodeType,d.nodeType}catch(e){s=null;break e}var f=0,p=-1,h=-1,m=0,g=0,v=u,D=null;t:for(;;){for(var b;v!==s||0!==c&&3!==v.nodeType||(p=f+c),v!==d||0!==l&&3!==v.nodeType||(h=f+l),3===v.nodeType&&(f+=v.nodeValue.length),null!==(b=v.firstChild);)D=v,v=b;for(;;){if(v===u)break t;if(D===s&&++m===c&&(p=f),D===d&&++g===l&&(h=f),null!==(b=v.nextSibling))break;D=(v=D).parentNode}v=b}s=-1===p||-1===h?null:{start:p,end:h}}else s=null}s=s||{start:0,end:0}}else s=null;yn={activeElementDetached:null,focusedElem:u,selectionRange:s},Ht=!1,Qu=a;do{try{Ns()}catch(e){if(null===Qu)throw Error(i(330));Bs(Qu,e),Qu=Qu.nextEffect}}while(null!==Qu);Qu=a;do{try{for(u=e,s=t;null!==Qu;){var y=Qu.effectTag;if(16&y&&je(Qu.stateNode,""),128&y){var w=Qu.alternate;if(null!==w){var E=w.ref;null!==E&&("function"==typeof E?E(null):E.current=null)}}switch(1038&y){case 2:hu(Qu),Qu.effectTag&=-3;break;case 6:hu(Qu),Qu.effectTag&=-3,Du(Qu.alternate,Qu);break;case 1024:Qu.effectTag&=-1025;break;case 1028:Qu.effectTag&=-1025,Du(Qu.alternate,Qu);break;case 4:Du(Qu.alternate,Qu);break;case 8:vu(u,c=Qu,s),fu(c)}Qu=Qu.nextEffect}}catch(e){if(null===Qu)throw Error(i(330));Bs(Qu,e),Qu=Qu.nextEffect}}while(null!==Qu);if(E=yn,w=pn(),y=E.focusedElem,s=E.selectionRange,w!==y&&y&&y.ownerDocument&&fn(y.ownerDocument.documentElement,y)){null!==s&&hn(y)&&(w=s.start,void 0===(E=s.end)&&(E=w),"selectionStart"in y?(y.selectionStart=w,y.selectionEnd=Math.min(E,y.value.length)):(E=(w=y.ownerDocument||document)&&w.defaultView||window).getSelection&&(E=E.getSelection(),c=y.textContent.length,u=Math.min(s.start,c),s=void 0===s.end?u:Math.min(s.end,c),!E.extend&&u>s&&(c=s,s=u,u=c),c=dn(y,u),d=dn(y,s),c&&d&&(1!==E.rangeCount||E.anchorNode!==c.node||E.anchorOffset!==c.offset||E.focusNode!==d.node||E.focusOffset!==d.offset)&&((w=w.createRange()).setStart(c.node,c.offset),E.removeAllRanges(),u>s?(E.addRange(w),E.extend(d.node,d.offset)):(w.setEnd(d.node,d.offset),E.addRange(w))))),w=[];for(E=y;E=E.parentNode;)1===E.nodeType&&w.push({element:E,left:E.scrollLeft,top:E.scrollTop});for("function"==typeof y.focus&&y.focus(),y=0;y<w.length;y++)(E=w[y]).element.scrollLeft=E.left,E.element.scrollTop=E.top}Ht=!!bn,yn=bn=null,e.current=n,Qu=a;do{try{for(y=e;null!==Qu;){var F=Qu.effectTag;if(36&F&&cu(y,Qu.alternate,Qu),128&F){w=void 0;var C=Qu.ref;if(null!==C){var x=Qu.stateNode;Qu.tag,w=x,"function"==typeof C?C(w):C.current=w}}Qu=Qu.nextEffect}}catch(e){if(null===Qu)throw Error(i(330));Bs(Qu,e),Qu=Qu.nextEffect}}while(null!==Qu);Qu=null,La(),Pu=o}else e.current=n;if(es)es=!1,ts=e,ns=t;else for(Qu=a;null!==Qu;)t=Qu.nextEffect,Qu.nextEffect=null,Qu=t;if(0===(t=e.firstPendingTime)&&(Ju=null),1073741823===t?e===os?as++:(as=0,os=e):as=0,"function"==typeof Is&&Is(n.stateNode,r),fs(e),Xu)throw Xu=!1,e=Zu,Zu=null,e;return(Pu&Tu)!==ku||Ya(),null}function Ns(){for(;null!==Qu;){var e=Qu.effectTag;0!=(256&e)&&uu(Qu.alternate,Qu),0==(512&e)||es||(es=!0,Ka(97,(function(){return Os(),null}))),Qu=Qu.nextEffect}}function Os(){if(90!==ns){var e=97<ns?97:ns;return ns=90,Wa(e,Ss)}}function Ss(){if(null===ts)return!1;var e=ts;if(ts=null,(Pu&(Nu|Ou))!==ku)throw Error(i(331));var t=Pu;for(Pu|=Ou,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:su(5,n),lu(5,n)}}catch(t){if(null===e)throw Error(i(330));Bs(e,t)}n=e.nextEffect,e.nextEffect=null,e=n}return Pu=t,Ya(),!0}function Rs(e,t,n){po(e,t=wu(e,t=ru(n,t),1073741823)),null!==(e=cs(e,1073741823))&&fs(e)}function Bs(e,t){if(3===e.tag)Rs(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Rs(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Ju||!Ju.has(r))){po(n,e=Eu(n,e=ru(t,e),1073741823)),null!==(n=cs(n,1073741823))&&fs(n);break}}n=n.return}}function _s(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),Lu===e&&$u===n?qu===Mu||qu===_u&&1073741823===zu&&za()-Gu<Yu?vs(e,$u):Ku=!0:Ks(e,n)&&(0!==(t=e.lastPingedTime)&&t<n||(e.lastPingedTime=n,fs(e)))}function Ms(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(t=ss(t=us(),e,null)),null!==(e=cs(e,t))&&fs(e)}Fu=function(e,t,n){var r=t.expirationTime;if(null!==e){var a=t.pendingProps;if(e.memoizedProps!==a||ga.current)_i=!0;else{if(r<n){switch(_i=!1,t.tag){case 3:zi(t),Ri();break;case 5:if(Lo(t),4&t.mode&&1!==n&&a.hidden)return t.expirationTime=t.childExpirationTime=1,null;break;case 1:ba(t.type)&&Fa(t);break;case 4:Io(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value,a=t.type._context,pa(Ja,a._currentValue),a._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(r=t.child.childExpirationTime)&&r>=n?Yi(e,t,n):(pa($o,1&$o.current),null!==(t=Ji(e,t,n))?t.sibling:null);pa($o,1&$o.current);break;case 19:if(r=t.childExpirationTime>=n,0!=(64&e.effectTag)){if(r)return Zi(e,t,n);t.effectTag|=64}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null),pa($o,$o.current),!r)return null}return Ji(e,t,n)}_i=!1}}else _i=!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,a=Da(t,ma.current),io(t,n),a=Zo(null,t,r,e,a,n),t.effectTag|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,ba(r)){var o=!0;Fa(t)}else o=!1;t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,lo(t);var u=r.getDerivedStateFromProps;"function"==typeof u&&bo(t,r,u,e),a.updater=yo,t.stateNode=a,a._reactInternalFiber=t,Co(t,r,e,n),t=Vi(null,t,r,!0,o,n)}else t.tag=0,Mi(null,t,a,n),t=t.child;return t;case 16:e:{if(a=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)}))}}(a),1!==a._status)throw a._result;switch(a=a._result,t.type=a,o=t.tag=function(e){if("function"==typeof e)return $s(e)?1:0;if(null!=e){if((e=e.$$typeof)===se)return 11;if(e===de)return 14}return 2}(a),e=Za(a,e),o){case 0:t=$i(null,t,a,e,n);break e;case 1:t=qi(null,t,a,e,n);break e;case 11:t=Ii(null,t,a,e,n);break e;case 14:t=Pi(null,t,a,Za(a.type,e),r,n);break e}throw Error(i(306,a,""))}return t;case 0:return r=t.type,a=t.pendingProps,$i(e,t,r,a=t.elementType===r?a:Za(r,a),n);case 1:return r=t.type,a=t.pendingProps,qi(e,t,r,a=t.elementType===r?a:Za(r,a),n);case 3:if(zi(t),r=t.updateQueue,null===e||null===r)throw Error(i(282));if(r=t.pendingProps,a=null!==(a=t.memoizedState)?a.element:null,co(e,t),mo(t,r,null,n),(r=t.memoizedState.element)===a)Ri(),t=Ji(e,t,n);else{if((a=t.stateNode.hydrate)&&(xi=xn(t.stateNode.containerInfo.firstChild),Ci=t,a=Ai=!0),a)for(n=Oo(t,null,r,n),t.child=n;n;)n.effectTag=-3&n.effectTag|1024,n=n.sibling;else Mi(e,t,r,n),Ri();t=t.child}return t;case 5:return Lo(t),null===e&&Ni(t),r=t.type,a=t.pendingProps,o=null!==e?e.memoizedProps:null,u=a.children,En(r,a)?u=null:null!==o&&En(r,o)&&(t.effectTag|=16),ji(e,t),4&t.mode&&1!==n&&a.hidden?(t.expirationTime=t.childExpirationTime=1,t=null):(Mi(e,t,u,n),t=t.child),t;case 6:return null===e&&Ni(t),null;case 13:return Yi(e,t,n);case 4:return Io(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=No(t,null,r,n):Mi(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,Ii(e,t,r,a=t.elementType===r?a:Za(r,a),n);case 7:return Mi(e,t,t.pendingProps,n),t.child;case 8:case 12:return Mi(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,a=t.pendingProps,u=t.memoizedProps,o=a.value;var s=t.type._context;if(pa(Ja,s._currentValue),s._currentValue=o,null!==u)if(s=u.value,0==(o=qr(s,o)?0:0|("function"==typeof r._calculateChangedBits?r._calculateChangedBits(s,o):1073741823))){if(u.children===a.children&&!ga.current){t=Ji(e,t,n);break e}}else for(null!==(s=t.child)&&(s.return=t);null!==s;){var l=s.dependencies;if(null!==l){u=s.child;for(var c=l.firstContext;null!==c;){if(c.context===r&&0!=(c.observedBits&o)){1===s.tag&&((c=fo(n,null)).tag=2,po(s,c)),s.expirationTime<n&&(s.expirationTime=n),null!==(c=s.alternate)&&c.expirationTime<n&&(c.expirationTime=n),oo(s.return,n),l.expirationTime<n&&(l.expirationTime=n);break}c=c.next}}else u=10===s.tag&&s.type===t.type?null:s.child;if(null!==u)u.return=s;else for(u=s;null!==u;){if(u===t){u=null;break}if(null!==(s=u.sibling)){s.return=u.return,u=s;break}u=u.return}s=u}Mi(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=(o=t.pendingProps).children,io(t,n),r=r(a=uo(a,o.unstable_observedBits)),t.effectTag|=1,Mi(e,t,r,n),t.child;case 14:return o=Za(a=t.type,t.pendingProps),Pi(e,t,a,o=Za(a.type,o),r,n);case 15:return Li(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:Za(r,a),null!==e&&(e.alternate=null,t.alternate=null,t.effectTag|=2),t.tag=1,ba(r)?(e=!0,Fa(t)):e=!1,io(t,n),Eo(t,r,a),Co(t,r,a,n),Vi(null,t,r,!0,e,n);case 19:return Zi(e,t,n)}throw Error(i(156,t.tag))};var Is=null,Ps=null;function Ls(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 js(e,t,n,r){return new Ls(e,t,n,r)}function $s(e){return!(!(e=e.prototype)||!e.isReactComponent)}function qs(e,t){var n=e.alternate;return null===n?((n=js(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 Vs(e,t,n,r,a,o){var u=2;if(r=e,"function"==typeof e)$s(e)&&(u=1);else if("string"==typeof e)u=5;else e:switch(e){case ne:return zs(n.children,a,o,t);case ue:u=8,a|=7;break;case re:u=8,a|=1;break;case ae:return(e=js(12,n,t,8|a)).elementType=ae,e.type=ae,e.expirationTime=o,e;case le:return(e=js(13,n,t,a)).type=le,e.elementType=le,e.expirationTime=o,e;case ce:return(e=js(19,n,t,a)).elementType=ce,e.expirationTime=o,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case oe:u=10;break e;case ie:u=9;break e;case se:u=11;break e;case de:u=14;break e;case fe:u=16,r=null;break e;case pe:u=22;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=js(u,n,t,a)).elementType=e,t.type=r,t.expirationTime=o,t}function zs(e,t,n,r){return(e=js(7,e,r,t)).expirationTime=n,e}function Us(e,t,n){return(e=js(6,e,null,t)).expirationTime=n,e}function Hs(e,t,n){return(t=js(4,null!==e.children?e.children:[],e.key,t)).expirationTime=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ws(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 Ks(e,t){var n=e.firstSuspendedTime;return e=e.lastSuspendedTime,0!==n&&n>=t&&e<=t}function Gs(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 Ys(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 Qs(e,t){var n=e.lastExpiredTime;(0===n||n>t)&&(e.lastExpiredTime=t)}function Xs(e,t,n,r){var a=t.current,o=us(),u=vo.suspense;o=ss(o,a,u);e:if(n){t:{if(Ze(n=n._reactInternalFiber)!==n||1!==n.tag)throw Error(i(170));var s=n;do{switch(s.tag){case 3:s=s.stateNode.context;break t;case 1:if(ba(s.type)){s=s.stateNode.__reactInternalMemoizedMergedChildContext;break t}}s=s.return}while(null!==s);throw Error(i(171))}if(1===n.tag){var l=n.type;if(ba(l)){n=Ea(n,l,s);break e}}n=s}else n=ha;return null===t.context?t.context=n:t.pendingContext=n,(t=fo(o,u)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),po(a,t),ls(a,o),o}function Zs(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Js(e,t){null!==(e=e.memoizedState)&&null!==e.dehydrated&&e.retryTime<t&&(e.retryTime=t)}function el(e,t){Js(e,t),(e=e.alternate)&&Js(e,t)}function tl(e,t,n){var r=new Ws(e,t,n=null!=n&&!0===n.hydrate),a=js(3,null,null,2===t?7:1===t?3:0);r.current=a,a.stateNode=r,lo(a),e[On]=r.current,n&&0!==t&&function(e,t){var n=Xe(t);xt.forEach((function(e){pt(e,t,n)})),At.forEach((function(e){pt(e,t,n)}))}(0,9===e.nodeType?e:e.ownerDocument),this._internalRoot=r}function nl(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function rl(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o._internalRoot;if("function"==typeof a){var u=a;a=function(){var e=Zs(i);u.call(e)}}Xs(t,i,e,a)}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 tl(e,0,t?{hydrate:!0}:void 0)}(n,r),i=o._internalRoot,"function"==typeof a){var s=a;a=function(){var e=Zs(i);s.call(e)}}gs((function(){Xs(t,i,e,a)}))}return Zs(i)}function al(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!nl(t))throw Error(i(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)}tl.prototype.render=function(e){Xs(e,this._internalRoot,null,null)},tl.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Xs(null,e,null,(function(){t[On]=null}))},ht=function(e){if(13===e.tag){var t=Xa(us(),150,100);ls(e,t),el(e,t)}},mt=function(e){13===e.tag&&(ls(e,3),el(e,3))},gt=function(e){if(13===e.tag){var t=us();ls(e,t=ss(t,e,null)),el(e,t)}},T=function(e,t,n){switch(t){case"input":if(xe(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 a=_n(r);if(!a)throw Error(i(90));we(r),xe(r,a)}}}break;case"textarea":Re(e,n);break;case"select":null!=(t=n.value)&&Ne(e,!!n.multiple,t,!1)}},_=ms,M=function(e,t,n,r,a){var o=Pu;Pu|=4;try{return Wa(98,e.bind(null,t,n,r,a))}finally{(Pu=o)===ku&&Ya()}},I=function(){(Pu&(1|Nu|Ou))===ku&&(function(){if(null!==rs){var e=rs;rs=null,e.forEach((function(e,t){Qs(t,e),fs(t)})),Ya()}}(),Os())},P=function(e,t){var n=Pu;Pu|=2;try{return e(t)}finally{(Pu=n)===ku&&Ya()}};var ol={Events:[Rn,Bn,_n,A,F,qn,function(e){rt(e,$n)},R,B,Qt,it,Os,{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);Is=function(e){try{t.onCommitFiberRoot(n,e,void 0,64==(64&e.current.effectTag))}catch(e){}},Ps=function(e){try{t.onCommitFiberUnmount(n,e)}catch(e){}}}catch(e){}}(a({},e,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Q.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:Sn,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}),t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ol,t.createPortal=al,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(i(188));throw Error(i(268,Object.keys(e)))}return null===(e=tt(t))?null:e.stateNode},t.flushSync=function(e,t){if((Pu&(Nu|Ou))!==ku)throw Error(i(187));var n=Pu;Pu|=1;try{return Wa(99,e.bind(null,t))}finally{Pu=n,Ya()}},t.hydrate=function(e,t,n){if(!nl(t))throw Error(i(200));return rl(null,e,t,!0,n)},t.render=function(e,t,n){if(!nl(t))throw Error(i(200));return rl(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!nl(e))throw Error(i(40));return!!e._reactRootContainer&&(gs((function(){rl(null,null,e,!1,(function(){e._reactRootContainer=null,e[On]=null}))})),!0)},t.unstable_batchedUpdates=ms,t.unstable_createPortal=function(e,t){return al(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!nl(n))throw Error(i(200));if(null==e||void 0===e._reactInternalFiber)throw Error(i(38));return rl(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,a=60107,o=60108,i=60114,u=60109,s=60110,l=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"),a=h("react.fragment"),o=h("react.strict_mode"),i=h("react.profiler"),u=h("react.provider"),s=h("react.context"),l=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 a:case i:case o:case c:case d:return e;default:switch(e=e&&e.$$typeof){case s:case l:case p:case f:case u:return e;default:return t}}case r:return t}}}(e)===s}},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),a=n.n(r),o=/^(262|61)$/.test(n.j)?a().createContext(null):null},9904:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(2427),a=n.n(r),o=n(1458),i=n(8661),u=n(4595);const s=/^(262|61)$/.test(n.j)?function(e){var t=e.store,n=e.context,s=e.children,l=(0,r.useMemo)((function(){var e=(0,i.K)(t);return e.onStateChange=e.notifyNestedSubs,{store:t,subscription:e}}),[t]),c=(0,r.useMemo)((function(){return t.getState()}),[t]);(0,u.E)((function(){var e=l.subscription;return e.trySubscribe(),c!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[l,c]);var d=n||o.t;return a().createElement(d.Provider,{value:l},s)}:null},6778:(e,t,n)=>{"use strict";function r(e){return function(t,n){var r=e(t,n);function a(){return r}return a.dependsOnOwnProps=!1,a}}function a(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=a(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=a(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 a={notify:function(){},get:function(){return[]}};function o(e,t){var n,o=a;function i(){s.onStateChange&&s.onStateChange()}function u(){var a,u,s;n||(n=t?t.addNestedSub(i):e.subscribe(i),a=(0,r.f)(),u=null,s=null,o={clear:function(){u=null,s=null},notify:function(){a((function(){for(var e=u;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],t=u;t;)e.push(t),t=t.next;return e},subscribe:function(e){var t=!0,n=s={callback:e,next:null,prev:s};return n.prev?n.prev.next=n:u=n,function(){t&&null!==u&&(t=!1,n.next?n.next.prev=n.prev:s=n.prev,n.prev?n.prev.next=n.next:u=n.next)}}})}var s={addNestedSub:function(e){return u(),o.subscribe(e)},notifyNestedSubs:function(){o.notify()},handleChangeWrapper:i,isSubscribed:function(){return Boolean(n)},trySubscribe:u,tryUnsubscribe:function(){n&&(n(),n=void 0,o.clear(),o=a)},getListeners:function(){return o}};return s}},8298:(e,t,n)=>{"use strict";n.d(t,{d:()=>a,f:()=>o});var r=/^(262|61)$/.test(n.j)?function(e){e()}:null,a=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 a=e[r];"function"==typeof a&&(n[r]=function(){return t(a.apply(void 0,arguments))})};for(var a in e)r(a);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 a(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),a=Object.keys(t);if(n.length!==a.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:()=>a})},4595:(e,t,n)=>{"use strict";n.d(t,{E:()=>a});var r=n(2427),a="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},a=l(n(2427)),o=l(n(5556)),i=l(n(2312)),u=l(n(7241)),s=n(554);function l(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}s.nameShape.isRequired,o.default.bool,o.default.bool,o.default.bool,(0,s.transitionTimeout)("Appear"),(0,s.transitionTimeout)("Enter"),(0,s.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,i=Array(o),s=0;s<o;s++)i[s]=arguments[s];return n=r=c(this,e.call.apply(e,[this].concat(i))),r._wrapChild=function(e){return a.default.createElement(u.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 a.default.createElement(i.default,r({},this.props,{childFactory:this._wrapChild}))},t}(a.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},a=f(n(2963)),o=f(n(788)),i=f(n(4602)),u=n(4002),s=f(n(2427)),l=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=[];u.transitionEnd&&h.push(u.transitionEnd),u.animationEnd&&h.push(u.animationEnd),l.default.node,d.nameShape.isRequired,l.default.bool,l.default.bool,l.default.bool,l.default.number,l.default.number,l.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 a=arguments.length,o=Array(a),i=0;i<a;i++)o[i]=arguments[i];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 i=this.props.name[e]||this.props.name+"-"+e,s=this.props.name[e+"Active"]||i+"-active",l=null,d=void 0;(0,a.default)(r,i),this.queueClassAndNode(s,r);var f=function(e){e&&e.target!==r||(clearTimeout(l),d&&d(),(0,o.default)(r,i),(0,o.default)(r,s),d&&d(),t&&t())};n?(l=setTimeout(f,n),this.transitionTimeouts.push(l)):u.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,i.default)((function(){return n.flushClassNameAndNodeQueue()})))},t.prototype.flushClassNameAndNodeQueue=function(){this.unmounted||this.classNameAndNodeQueue.forEach((function(e){e.node.scrollTop,(0,a.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,s.default.cloneElement(s.default.Children.only(this.props.children),e)},t}(s.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},a=s(n(5533)),o=s(n(2427)),i=s(n(5556)),u=(s(n(8610)),n(2958));function s(e){return e&&e.__esModule?e:{default:e}}i.default.any,i.default.func,i.default.node;var l=function(e){function t(n,a){!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,a));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,u.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,u.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,u.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,u.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,u.getChildMapping)(e.children),n=this.state.children;for(var r in this.setState({children:(0,u.mergeChildMappings)(n,t)}),t){var a=n&&n.hasOwnProperty(r);!t[r]||a||this.currentlyTransitioningKeys[r]||this.keysToEnter.push(r)}for(var o in n){var i=t&&t.hasOwnProperty(o);!n[o]||i||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 i="string"!=typeof r.ref,u=e.props.childFactory(r),s=function(t){e.childRefs[n]=t};u===r&&i&&(s=(0,a.default)(r.ref,s)),t.push(o.default.cloneElement(u,{key:n,ref:s}))}};for(var i in this.state.children)n(i);var u=r({},this.props);return delete u.transitionLeave,delete u.transitionName,delete u.transitionAppear,delete u.transitionEnter,delete u.childFactory,delete u.transitionLeaveTimeout,delete u.transitionEnterTimeout,delete u.transitionAppearTimeout,delete u.component,o.default.createElement(this.props.component,u,t)},t}(o.default.Component);l.displayName="TransitionGroup",l.propTypes={},l.defaultProps={component:"span",childFactory:function(e){return e}},t.default=l,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={},a=[];for(var o in e)t.hasOwnProperty(o)?a.length&&(r[o]=a,a=[]):a.push(o);var i=void 0,u={};for(var s in t){if(r.hasOwnProperty(s))for(i=0;i<r[s].length;i++){var l=r[s][i];u[r[s][i]]=n(l)}u[s]=n(s)}for(i=0;i<a.length;i++)u[a[i]]=n(a[i]);return u};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}},a(n(2427));var r=a(n(5556));function a(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),a="function"==typeof Symbol&&Symbol.for,o=a?Symbol.for("react.element"):60103,i=a?Symbol.for("react.portal"):60106,u=a?Symbol.for("react.fragment"):60107,s=a?Symbol.for("react.strict_mode"):60108,l=a?Symbol.for("react.profiler"):60114,c=a?Symbol.for("react.provider"):60109,d=a?Symbol.for("react.context"):60110,f=a?Symbol.for("react.forward_ref"):60112,p=a?Symbol.for("react.suspense"):60113,h=a?Symbol.for("react.memo"):60115,m=a?Symbol.for("react.lazy"):60116,g="function"==typeof Symbol&&Symbol.iterator;function v(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 D={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function y(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||D}function w(){}function E(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||D}y.prototype.isReactComponent={},y.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(v(85));this.updater.enqueueSetState(this,e,t,"setState")},y.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},w.prototype=y.prototype;var F=E.prototype=new w;F.constructor=E,r(F,y.prototype),F.isPureReactComponent=!0;var C={current:null},x=Object.prototype.hasOwnProperty,A={key:!0,ref:!0,__self:!0,__source:!0};function k(e,t,n){var r,a={},i=null,u=null;if(null!=t)for(r in void 0!==t.ref&&(u=t.ref),void 0!==t.key&&(i=""+t.key),t)x.call(t,r)&&!A.hasOwnProperty(r)&&(a[r]=t[r]);var s=arguments.length-2;if(1===s)a.children=n;else if(1<s){for(var l=Array(s),c=0;c<s;c++)l[c]=arguments[c+2];a.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps)void 0===a[r]&&(a[r]=s[r]);return{$$typeof:o,type:e,key:i,ref:u,props:a,_owner:C.current}}function T(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var N=/\/+/g,O=[];function S(e,t,n,r){if(O.length){var a=O.pop();return a.result=e,a.keyPrefix=t,a.func=n,a.context=r,a.count=0,a}return{result:e,keyPrefix:t,func:n,context:r,count:0}}function R(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>O.length&&O.push(e)}function B(e,t,n,r){var a=typeof e;"undefined"!==a&&"boolean"!==a||(e=null);var u=!1;if(null===e)u=!0;else switch(a){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case o:case i:u=!0}}if(u)return n(r,e,""===t?"."+M(e,0):t),1;if(u=0,t=""===t?".":t+":",Array.isArray(e))for(var s=0;s<e.length;s++){var l=t+M(a=e[s],s);u+=B(a,l,n,r)}else if("function"==typeof(l=null===e||"object"!=typeof e?null:"function"==typeof(l=g&&e[g]||e["@@iterator"])?l:null))for(e=l.call(e),s=0;!(a=e.next()).done;)u+=B(a=a.value,l=t+M(a,s++),n,r);else if("object"===a)throw n=""+e,Error(v(31,"[object Object]"===n?"object with keys {"+Object.keys(e).join(", ")+"}":n,""));return u}function _(e,t,n){return null==e?0:B(e,"",t,n)}function M(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 I(e,t){e.func.call(e.context,t,e.count++)}function P(e,t,n){var r=e.result,a=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?L(e,r,n,(function(e){return e})):null!=e&&(T(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,a+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(N,"$&/")+"/")+n)),r.push(e))}function L(e,t,n,r,a){var o="";null!=n&&(o=(""+n).replace(N,"$&/")+"/"),_(e,P,t=S(t,o,r,a)),R(t)}var j={current:null};function $(){var e=j.current;if(null===e)throw Error(v(321));return e}var q={ReactCurrentDispatcher:j,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:C,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,n){if(null==e)return e;var r=[];return L(e,r,null,t,n),r},forEach:function(e,t,n){if(null==e)return e;_(e,I,t=S(null,null,t,n)),R(t)},count:function(e){return _(e,(function(){return null}),null)},toArray:function(e){var t=[];return L(e,t,null,(function(e){return e})),t},only:function(e){if(!T(e))throw Error(v(143));return e}},t.Component=y,t.Fragment=u,t.Profiler=l,t.PureComponent=E,t.StrictMode=s,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=q,t.cloneElement=function(e,t,n){if(null==e)throw Error(v(267,e));var a=r({},e.props),i=e.key,u=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(u=t.ref,s=C.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)x.call(t,c)&&!A.hasOwnProperty(c)&&(a[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)a.children=n;else if(1<c){l=Array(c);for(var d=0;d<c;d++)l[d]=arguments[d+2];a.children=l}return{$$typeof:o,type:e.type,key:i,ref:u,props:a,_owner:s}},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=k,t.createFactory=function(e){var t=k.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=T,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 $().useCallback(e,t)},t.useContext=function(e,t){return $().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return $().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return $().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return $().useLayoutEffect(e,t)},t.useMemo=function(e,t){return $().useMemo(e,t)},t.useReducer=function(e,t,n){return $().useReducer(e,t,n)},t.useRef=function(e){return $().useRef(e)},t.useState=function(e){return $().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,a,o,i;if("undefined"==typeof window||"function"!=typeof MessageChannel){var u=null,s=null,l=function(){if(null!==u)try{var e=t.unstable_now();u(!0,e),u=null}catch(e){throw setTimeout(l,0),e}},c=Date.now();t.unstable_now=function(){return Date.now()-c},n=function(e){null!==u?setTimeout(n,0,e):(u=e,setTimeout(l,0))},r=function(e,t){s=setTimeout(e,t)},a=function(){clearTimeout(s)},o=function(){return!1},i=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 g=f.now();t.unstable_now=function(){return f.now()-g}}var v=!1,D=null,b=-1,y=5,w=0;o=function(){return t.unstable_now()>=w},i=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"):y=0<e?Math.floor(1e3/e):5};var E=new MessageChannel,F=E.port2;E.port1.onmessage=function(){if(null!==D){var e=t.unstable_now();w=e+y;try{D(!0,e)?F.postMessage(null):(v=!1,D=null)}catch(e){throw F.postMessage(null),e}}else v=!1},n=function(e){D=e,v||(v=!0,F.postMessage(null))},r=function(e,n){b=p((function(){e(t.unstable_now())}),n)},a=function(){h(b),b=-1}}function C(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,a=e[r];if(!(void 0!==a&&0<k(a,t)))break e;e[r]=t,e[n]=a,n=r}}function x(e){return void 0===(e=e[0])?null:e}function A(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length;r<a;){var o=2*(r+1)-1,i=e[o],u=o+1,s=e[u];if(void 0!==i&&0>k(i,n))void 0!==s&&0>k(s,i)?(e[r]=s,e[u]=n,r=u):(e[r]=i,e[o]=n,r=o);else{if(!(void 0!==s&&0>k(s,n)))break e;e[r]=s,e[u]=n,r=u}}}return t}return null}function k(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var T=[],N=[],O=1,S=null,R=3,B=!1,_=!1,M=!1;function I(e){for(var t=x(N);null!==t;){if(null===t.callback)A(N);else{if(!(t.startTime<=e))break;A(N),t.sortIndex=t.expirationTime,C(T,t)}t=x(N)}}function P(e){if(M=!1,I(e),!_)if(null!==x(T))_=!0,n(L);else{var t=x(N);null!==t&&r(P,t.startTime-e)}}function L(e,n){_=!1,M&&(M=!1,a()),B=!0;var i=R;try{for(I(n),S=x(T);null!==S&&(!(S.expirationTime>n)||e&&!o());){var u=S.callback;if(null!==u){S.callback=null,R=S.priorityLevel;var s=u(S.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?S.callback=s:S===x(T)&&A(T),I(n)}else A(T);S=x(T)}if(null!==S)var l=!0;else{var c=x(N);null!==c&&r(P,c.startTime-n),l=!1}return l}finally{S=null,R=i,B=!1}}function j(e){switch(e){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var $=i;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(){_||B||(_=!0,n(L))},t.unstable_getCurrentPriorityLevel=function(){return R},t.unstable_getFirstCallbackNode=function(){return x(T)},t.unstable_next=function(e){switch(R){case 1:case 2:case 3:var t=3;break;default:t=R}var n=R;R=t;try{return e()}finally{R=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=$,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=R;R=e;try{return t()}finally{R=n}},t.unstable_scheduleCallback=function(e,o,i){var u=t.unstable_now();if("object"==typeof i&&null!==i){var s=i.delay;s="number"==typeof s&&0<s?u+s:u,i="number"==typeof i.timeout?i.timeout:j(e)}else i=j(e),s=u;return e={id:O++,callback:o,priorityLevel:e,startTime:s,expirationTime:i=s+i,sortIndex:-1},s>u?(e.sortIndex=s,C(N,e),null===x(T)&&e===x(N)&&(M?a():M=!0,r(P,s-u))):(e.sortIndex=i,C(T,e),_||B||(_=!0,n(L))),e},t.unstable_shouldYield=function(){var e=t.unstable_now();I(e);var n=x(T);return n!==S&&null!==S&&null!==n&&null!==n.callback&&n.startTime<=e&&n.expirationTime<S.expirationTime||o()},t.unstable_wrapCallback=function(e){var t=R;return function(){var n=R;R=t;try{return e.apply(this,arguments)}finally{R=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:()=>E,isTabbable:()=>y,tabbable:()=>D});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,a=/^(125|61)$/.test(n.j)?r.join(","):null,o="undefined"==typeof Element,i=o?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,u=!o&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},s=function(e,t,n){var r=Array.prototype.slice.apply(e.querySelectorAll(a));return t&&i.call(e,a)&&r.unshift(e),r.filter(n)},l=function e(t,n,r){for(var o=[],u=Array.from(t);u.length;){var s=u.shift();if("SLOT"===s.tagName){var l=s.assignedElements(),c=e(l.length?l:s.children,!0,r);r.flatten?o.push.apply(o,c):o.push({scope:s,candidates:c})}else{i.call(s,a)&&r.filter(s)&&(n||!t.includes(s))&&o.push(s);var d=s.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(s),f=!r.shadowRootFilter||r.shadowRootFilter(s);if(d&&f){var p=e(!0===d?s.children:d.children,!0,r);r.flatten?o.push.apply(o,p):o.push({scope:s,candidates:p})}else u.unshift.apply(u,s.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 a=i.call(e,"details>summary:first-of-type")?e.parentElement:e;if(i.call(a,"details:not([open]) *"))return!0;var o=u(e).host,s=(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 l=e;e;){var c=e.parentElement,d=u(e);if(c&&!c.shadowRoot&&!0===r(c))return p(e);e=e.assignedSlot?e.assignedSlot:c||d===e.ownerDocument?c:d.host}e=l}if(s)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!!i.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||u(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 a=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!a||a===e}(e)}(t)||c(t)<0||!h(e,t))},g=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},v=function e(t){var n=[],r=[];return t.forEach((function(t,a){var o=!!t.scope,i=o?t.scope:t,u=c(i,o),s=o?e(t.candidates):i;0===u?o?n.push.apply(n,s):n.push(i):r.push({documentOrder:a,tabIndex:u,item:t,isScope:o,content:s})})),r.sort(d).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},D=function(e,t){var n;return n=(t=t||{}).getShadowRoot?l([e],t.includeContainer,{filter:m.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:g}):s(e,t.includeContainer,m.bind(null,t)),v(n)},b=function(e,t){return(t=t||{}).getShadowRoot?l([e],t.includeContainer,{filter:h.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):s(e,t.includeContainer,h.bind(null,t))},y=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==i.call(e,a)&&m(t,e)},w=/^(125|61)$/.test(n.j)?r.concat("iframe").join(","):null,E=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==i.call(e,w)&&h(t,e)}},7381:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>_e});var r=n(7310),a=n(6979),o=n(3341),i=n(5128),u=n(1206),s=n(571),l=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:{}},g=[],v=!1,D={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 a=(0,u.A)((0,l.A)([].concat(p,h.options.modifiers)));return h.orderedModifiers=a.filter((function(e){return e.enabled})),h.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,a=e.effect;if("function"==typeof a){var o=a({state:h,name:t,instance:D,options:r});g.push(o||function(){})}})),D.update()},forceUpdate:function(){if(!v){var e=h.elements,t=e.reference,n=e.popper;if(f(t,n)){h.rects={reference:(0,r.A)(t,(0,i.A)(n),"fixed"===h.options.strategy),popper:(0,a.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 u=h.orderedModifiers[o],s=u.fn,l=u.options,c=void 0===l?{}:l,d=u.name;"function"==typeof s&&(h=s({state:h,options:c,name:d,instance:D})||h)}else h.reset=!1,o=-1}}},update:(0,s.A)((function(){return new Promise((function(e){D.forceUpdate(),e(h)}))})),destroy:function(){b(),v=!0}};if(!f(e,t))return D;function b(){g.forEach((function(e){return e()})),g=[]}return D.setOptions(n).then((function(e){!v&&n.onFirstUpdate&&n.onFirstUpdate(e)})),D}}var h=n(8979),m={passive:!0};const g={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,a=r.scroll,o=void 0===a||a,i=r.resize,u=void 0===i||i,s=(0,h.A)(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&l.forEach((function(e){e.addEventListener("scroll",n.update,m)})),u&&s.addEventListener("resize",n.update,m),function(){o&&l.forEach((function(e){e.removeEventListener("scroll",n.update,m)})),u&&s.removeEventListener("resize",n.update,m)}},data:{}};var v=n(1815);const D={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=(0,v.A)({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var b=n(4278),y=n(9760),w=n(271),E=n(2632),F=n(8101),C=n(6906),x={top:"auto",right:"auto",bottom:"auto",left:"auto"};function A(e){var t,n=e.popper,r=e.popperRect,a=e.placement,o=e.variation,u=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,f=e.isFixed,p=u.x,m=void 0===p?0:p,g=u.y,v=void 0===g?0:g,D="function"==typeof d?d({x:m,y:v}):{x:m,y:v};m=D.x,v=D.y;var E=u.hasOwnProperty("x"),F=u.hasOwnProperty("y"),A=b.kb,k=b.Mn,T=window;if(c){var N=(0,i.A)(n),O="clientHeight",S="clientWidth";N===(0,h.A)(n)&&(N=(0,y.A)(n),"static"!==(0,w.A)(N).position&&"absolute"===s&&(O="scrollHeight",S="scrollWidth")),(a===b.Mn||(a===b.kb||a===b.pG)&&o===b._N)&&(k=b.sQ,v-=(f&&T.visualViewport?T.visualViewport.height:N[O])-r.height,v*=l?1:-1),a!==b.kb&&(a!==b.Mn&&a!==b.sQ||o!==b._N)||(A=b.pG,m-=(f&&T.visualViewport?T.visualViewport.width:N[S])-r.width,m*=l?1:-1)}var R,B=Object.assign({position:s},c&&x),_=!0===d?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:(0,C.LI)(t*r)/r||0,y:(0,C.LI)(n*r)/r||0}}({x:m,y:v}):{x:m,y:v};return m=_.x,v=_.y,l?Object.assign({},B,((R={})[k]=F?"0":"",R[A]=E?"0":"",R.transform=(T.devicePixelRatio||1)<=1?"translate("+m+"px, "+v+"px)":"translate3d("+m+"px, "+v+"px, 0)",R)):Object.assign({},B,((t={})[k]=F?v+"px":"",t[A]=E?m+"px":"",t.transform="",t))}const k={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,a=void 0===r||r,o=n.adaptive,i=void 0===o||o,u=n.roundOffsets,s=void 0===u||u,l={placement:(0,E.A)(t.placement),variation:(0,F.A)(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,A(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,A(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var T=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]||{},a=t.elements[e];(0,c.sb)(a)&&(0,T.A)(a)&&(Object.assign(a.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?a.removeAttribute(e):a.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],a=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,T.A)(r)&&(Object.assign(r.style,o),Object.keys(a).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]},O={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.offset,o=void 0===a?[0,0]:a,i=b.DD.reduce((function(e,n){return e[n]=function(e,t,n){var r=(0,E.A)(e),a=[b.kb,b.Mn].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=o[0],u=o[1];return i=i||0,u=(u||0)*a,[b.kb,b.pG].indexOf(r)>=0?{x:u,y:i}:{x:i,y:u}}(n,t.rects,o),e}),{}),u=i[t.placement],s=u.x,l=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=i}};var S={left:"right",right:"left",bottom:"top",top:"bottom"};function R(e){return e.replace(/left|right|bottom|top/g,(function(e){return S[e]}))}var B={start:"end",end:"start"};function _(e){return e.replace(/start|end/g,(function(e){return B[e]}))}var M=n(9913);const I={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 a=n.mainAxis,o=void 0===a||a,i=n.altAxis,u=void 0===i||i,s=n.fallbackPlacements,l=n.padding,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,h=void 0===p||p,m=n.allowedAutoPlacements,g=t.options.placement,v=(0,E.A)(g),D=s||(v!==g&&h?function(e){if((0,E.A)(e)===b.qZ)return[];var t=R(e);return[_(e),t,_(t)]}(g):[R(g)]),y=[g].concat(D).reduce((function(e,n){return e.concat((0,E.A)(n)===b.qZ?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,a=n.boundary,o=n.rootBoundary,i=n.padding,u=n.flipVariations,s=n.allowedAutoPlacements,l=void 0===s?b.DD:s,c=(0,F.A)(r),d=c?u?b.Ol:b.Ol.filter((function(e){return(0,F.A)(e)===c})):b.OM,f=d.filter((function(e){return l.indexOf(e)>=0}));0===f.length&&(f=d);var p=f.reduce((function(t,n){return t[n]=(0,M.A)(e,{placement:n,boundary:a,rootBoundary:o,padding:i})[(0,E.A)(n)],t}),{});return Object.keys(p).sort((function(e,t){return p[e]-p[t]}))}(t,{placement:n,boundary:c,rootBoundary:d,padding:l,flipVariations:h,allowedAutoPlacements:m}):n)}),[]),w=t.rects.reference,C=t.rects.popper,x=new Map,A=!0,k=y[0],T=0;T<y.length;T++){var N=y[T],O=(0,E.A)(N),S=(0,F.A)(N)===b.ni,B=[b.Mn,b.sQ].indexOf(O)>=0,I=B?"width":"height",P=(0,M.A)(t,{placement:N,boundary:c,rootBoundary:d,altBoundary:f,padding:l}),L=B?S?b.pG:b.kb:S?b.sQ:b.Mn;w[I]>C[I]&&(L=R(L));var j=R(L),$=[];if(o&&$.push(P[O]<=0),u&&$.push(P[L]<=0,P[j]<=0),$.every((function(e){return e}))){k=N,A=!1;break}x.set(N,$)}if(A)for(var q=function(e){var t=y.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return k=t,"break"},V=h?3:1;V>0&&"break"!==q(V);V--);t.placement!==k&&(t.modifiersData[r]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};var P=n(9703);function L(e,t,n){return(0,C.T9)(e,(0,C.jk)(t,n))}var j=n(7364);const $={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,u=void 0===o||o,s=n.altAxis,l=void 0!==s&&s,c=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.padding,h=n.tether,m=void 0===h||h,g=n.tetherOffset,v=void 0===g?0:g,D=(0,M.A)(t,{boundary:c,rootBoundary:d,padding:p,altBoundary:f}),y=(0,E.A)(t.placement),w=(0,F.A)(t.placement),x=!w,A=(0,P.A)(y),k="x"===A?"y":"x",T=t.modifiersData.popperOffsets,N=t.rects.reference,O=t.rects.popper,S="function"==typeof v?v(Object.assign({},t.rects,{placement:t.placement})):v,R="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),B=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,_={x:0,y:0};if(T){if(u){var I,$="y"===A?b.Mn:b.kb,q="y"===A?b.sQ:b.pG,V="y"===A?"height":"width",z=T[A],U=z+D[$],H=z-D[q],W=m?-O[V]/2:0,K=w===b.ni?N[V]:O[V],G=w===b.ni?-O[V]:-N[V],Y=t.elements.arrow,Q=m&&Y?(0,a.A)(Y):{width:0,height:0},X=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:(0,j.A)(),Z=X[$],J=X[q],ee=L(0,N[V],Q[V]),te=x?N[V]/2-W-ee-Z-R.mainAxis:K-ee-Z-R.mainAxis,ne=x?-N[V]/2+W+ee+J+R.mainAxis:G+ee+J+R.mainAxis,re=t.elements.arrow&&(0,i.A)(t.elements.arrow),ae=re?"y"===A?re.clientTop||0:re.clientLeft||0:0,oe=null!=(I=null==B?void 0:B[A])?I:0,ie=z+te-oe-ae,ue=z+ne-oe,se=L(m?(0,C.jk)(U,ie):U,z,m?(0,C.T9)(H,ue):H);T[A]=se,_[A]=se-z}if(l){var le,ce="x"===A?b.Mn:b.kb,de="x"===A?b.sQ:b.pG,fe=T[k],pe="y"===k?"height":"width",he=fe+D[ce],me=fe-D[de],ge=-1!==[b.Mn,b.kb].indexOf(y),ve=null!=(le=null==B?void 0:B[k])?le:0,De=ge?he:fe-N[pe]-O[pe]-ve+R.altAxis,be=ge?fe+N[pe]+O[pe]-ve-R.altAxis:me,ye=m&&ge?function(e,t,n){var r=L(e,t,n);return r>n?n:r}(De,fe,be):L(m?De:he,fe,m?be:me);T[k]=ye,_[k]=ye-fe}t.modifiersData[r]=_}},requiresIfExists:["offset"]};var q=n(5446),V=n(4318),z=n(1007);function U(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:[g,D,k,N,O,I,$,{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,u=n.elements.arrow,s=n.modifiersData.popperOffsets,l=(0,E.A)(n.placement),c=(0,P.A)(l),d=[b.kb,b.pG].indexOf(l)>=0?"height":"width";if(u&&s){var f=function(e,t){return e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e,(0,V.A)("number"!=typeof e?e:(0,z.A)(e,b.OM))}(o.padding,n),p=(0,a.A)(u),h="y"===c?b.Mn:b.kb,m="y"===c?b.sQ:b.pG,g=n.rects.reference[d]+n.rects.reference[c]-s[c]-n.rects.popper[d],v=s[c]-n.rects.reference[c],D=(0,i.A)(u),y=D?"y"===c?D.clientHeight||0:D.clientWidth||0:0,w=g/2-v/2,F=f[h],C=y-p[d]-f[m],x=y/2-p[d]/2+w,A=L(F,x,C),k=c;n.modifiersData[r]=((t={})[k]=A,t.centerOffset=A-x,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,q.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,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=(0,M.A)(t,{elementContext:"reference"}),u=(0,M.A)(t,{altBoundary:!0}),s=U(i,r),l=U(u,a,o),c=H(s),d=H(l);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":d})}}]}),K="tippy-content",G="tippy-backdrop",Y="tippy-arrow",Q="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 ae(e,t){-1===e.indexOf(t)&&e.push(t)}function oe(e){return[].slice.call(e)}function ie(e){return Object.keys(e).reduce((function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t}),{})}function ue(){return document.createElement("div")}function se(e){return["Element","Fragment"].some((function(t){return ee(e,t)}))}function le(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",ge))}function ge(){var e=performance.now();e-he<20&&(pe.isTouch=!1,document.removeEventListener("mousemove",ge)),he=e}function ve(){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 De=!("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}),ye=Object.keys(be);function we(e){var t=(e.plugins||[]).reduce((function(t,n){var r,a=n.name,o=n.defaultValue;return a&&(t[a]=void 0!==e[a]?e[a]:null!=(r=be[a])?r:o),t}),{});return Object.assign({},e,t)}function Ee(e,t){var n=Object.assign({},t,{content:te(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(we(Object.assign({},be,{plugins:t}))):ye).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 Fe=function(){return"innerHTML"};function Ce(e,t){e[Fe()]=t}function xe(e){var t=ue();return!0===e?t.className=Y:(t.className=Q,se(e)?t.appendChild(e):Ce(t,e)),t}function Ae(e,t){se(t.content)?(Ce(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?Ce(e,t.content):e.textContent=t.content)}function ke(e){var t=e.firstElementChild,n=oe(t.children);return{box:t,content:n.find((function(e){return e.classList.contains(K)})),arrow:n.find((function(e){return e.classList.contains(Y)||e.classList.contains(Q)})),backdrop:n.find((function(e){return e.classList.contains(G)}))}}function Te(e){var t=ue(),n=ue();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=ue();function a(n,r){var a=ke(t),o=a.box,i=a.content,u=a.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||Ae(i,e.props),r.arrow?u?n.arrow!==r.arrow&&(o.removeChild(u),o.appendChild(xe(r.arrow))):o.appendChild(xe(r.arrow)):u&&o.removeChild(u)}return r.className=K,r.setAttribute("data-state","hidden"),Ae(r,e.props),t.appendChild(n),n.appendChild(r),a(e.props,e.props),{popper:t,onUpdate:a}}Te.$$tippy=!0;var Ne=1,Oe=[],Se=[];function Re(e,t){var n,r,a,o,i,u,s,l,c=Ee(e,Object.assign({},be,we(ie(t)))),d=!1,f=!1,p=!1,h=!1,m=[],g=ne(G,c.interactiveDebounce),v=Ne++,D=(l=c.plugins).filter((function(e,t){return l.indexOf(e)===t})),b={id:v,reference:e,popper:ue(),popperInstance:null,props:c,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:D,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(a)},setProps:function(t){if(!b.state.isDestroyed){B("onBeforeUpdate",[b,t]),H();var n=b.props,r=Ee(e,Object.assign({},n,ie(t),{ignoreAttributes:!0}));b.props=r,U(),n.interactiveDebounce!==r.interactiveDebounce&&(I(),g=ne(G,r.interactiveDebounce)),n.triggerTarget&&!r.triggerTarget?re(n.triggerTarget).forEach((function(e){e.removeAttribute("aria-expanded")})):r.triggerTarget&&e.removeAttribute("aria-expanded"),M(),R(),E&&E(n,r),b.popperInstance&&(he(),ge().forEach((function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)}))),B("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,a=J(b.props.duration,0,be.duration);if(!(e||t||n||r||T().hasAttribute("disabled")||(B("onShow",[b],!1),!1===b.props.onShow(b)))){if(b.state.isVisible=!0,k()&&(w.style.visibility="visible"),R(),$(),b.state.isMounted||(w.style.transition="none"),k()){var o=O();le([o.box,o.content],0)}var i,s,l;u=function(){var e;if(b.state.isVisible&&!h){if(h=!0,w.offsetHeight,w.style.transition=b.props.moveTransition,k()&&b.props.animation){var t=O(),n=t.box,r=t.content;le([n,r],a),ce([n,r],"visible")}_(),M(),ae(Se,b),null==(e=b.popperInstance)||e.forceUpdate(),B("onMount",[b]),b.props.animation&&k()&&function(e,t){V(e,(function(){b.state.isShown=!0,B("onShown",[b])}))}(a)}},s=b.props.appendTo,l=T(),(i=b.props.interactive&&s===Z||"parent"===s?l.parentNode:te(s,[l])).contains(w)||i.appendChild(w),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)&&(B("onHide",[b],!1),!1!==b.props.onHide(b))){if(b.state.isVisible=!1,b.state.isShown=!1,h=!1,d=!1,k()&&(w.style.visibility="hidden"),I(),q(),R(!0),k()){var a=O(),o=a.box,i=a.content;b.props.animation&&(le([o,i],r),ce([o,i],"hidden"))}_(),M(),b.props.animation?k()&&function(e,t){V(e,(function(){!b.state.isVisible&&w.parentNode&&w.parentNode.contains(w)&&t()}))}(r,b.unmount):b.unmount()}},hideWithInteractivity:function(e){N().addEventListener("mousemove",g),ae(Oe,g),g(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(),ge().forEach((function(e){e._tippy.unmount()})),w.parentNode&&w.parentNode.removeChild(w),Se=Se.filter((function(e){return e!==b})),b.state.isMounted=!1,B("onHidden",[b]))},destroy:function(){b.state.isDestroyed||(b.clearDelayTimeouts(),b.unmount(),H(),delete e._tippy,b.state.isDestroyed=!0,B("onDestroy",[b]))}};if(!c.render)return b;var y=c.render(b),w=y.popper,E=y.onUpdate;w.setAttribute("data-tippy-root",""),w.id="tippy-"+b.id,b.popper=w,e._tippy=b,w._tippy=b;var F=D.map((function(e){return e.fn(b)})),C=e.hasAttribute("aria-expanded");return U(),M(),R(),B("onCreate",[b]),c.showOnCreate&&ve(),w.addEventListener("mouseenter",(function(){b.props.interactive&&b.state.isVisible&&b.clearDelayTimeouts()})),w.addEventListener("mouseleave",(function(){b.props.interactive&&b.props.trigger.indexOf("mouseenter")>=0&&N().addEventListener("mousemove",g)})),b;function x(){var e=b.props.touch;return Array.isArray(e)?e:[e,0]}function A(){return"hold"===x()[0]}function k(){var e;return!(null==(e=b.props.render)||!e.$$tippy)}function T(){return s||e}function N(){var e,t,n=T().parentNode;return n?null!=(t=re(n)[0])&&null!=(e=t.ownerDocument)&&e.body?t.ownerDocument:document:document}function O(){return ke(w)}function S(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 R(e){void 0===e&&(e=!1),w.style.pointerEvents=b.props.interactive&&!e?"":"none",w.style.zIndex=""+b.props.zIndex}function B(e,t,n){var r;void 0===n&&(n=!0),F.forEach((function(n){n[e]&&n[e].apply(n,t)})),n&&(r=b.props)[e].apply(r,t)}function _(){var t=b.props.aria;if(t.content){var n="aria-"+t.content,r=w.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 a=t&&t.replace(r,"").trim();a?e.setAttribute(n,a):e.removeAttribute(n)}}))}}function M(){!C&&b.props.aria.expanded&&re(b.props.triggerTarget||e).forEach((function(e){b.props.interactive?e.setAttribute("aria-expanded",b.state.isVisible&&e===T()?"true":"false"):e.removeAttribute("aria-expanded")}))}function I(){N().removeEventListener("mousemove",g),Oe=Oe.filter((function(e){return e!==g}))}function P(t){if(!pe.isTouch||!p&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!b.props.interactive||!fe(w,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 B("onClickOutside",[b,t]);!0===b.props.hideOnClick&&(b.clearDelayTimeouts(),b.hide(),f=!0,setTimeout((function(){f=!1})),b.state.isMounted||q())}}}function L(){p=!0}function j(){p=!1}function $(){var e=N();e.addEventListener("mousedown",P,!0),e.addEventListener("touchend",P,X),e.addEventListener("touchstart",j,X),e.addEventListener("touchmove",L,X)}function q(){var e=N();e.removeEventListener("mousedown",P,!0),e.removeEventListener("touchend",P,X),e.removeEventListener("touchstart",j,X),e.removeEventListener("touchmove",L,X)}function V(e,t){var n=O().box;function r(e){e.target===n&&(de(n,"remove",r),t())}if(0===e)return t();de(n,"remove",i),de(n,"add",r),i=r}function z(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 U(){var e;A()&&(z("touchstart",K,{passive:!0}),z("touchend",Y,{passive:!0})),(e=b.props.trigger,e.split(/\s+/).filter(Boolean)).forEach((function(e){if("manual"!==e)switch(z(e,K),e){case"mouseenter":z("mouseleave",Y);break;case"focus":z(De?"focusout":"blur",Q);break;case"focusin":z("focusout",Q)}}))}function H(){m.forEach((function(e){var t=e.node,n=e.eventType,r=e.handler,a=e.options;t.removeEventListener(n,r,a)})),m=[]}function K(e){var t,n=!1;if(b.state.isEnabled&&!se(e)&&!f){var r="focus"===(null==(t=o)?void 0:t.type);o=e,s=e.currentTarget,M(),!b.state.isVisible&&ee(e,"MouseEvent")&&Oe.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:ve(e),"click"===e.type&&(d=!n),n&&!r&&ye(e)}}function G(e){var t=e.target,n=T().contains(t)||w.contains(t);if("mousemove"!==e.type||!n){var r=ge().concat(w).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,a=e.popperState,o=e.props.interactiveBorder,i=a.placement.split("-")[0],u=a.modifiersData.offset;if(!u)return!0;var s="bottom"===i?u.top.y:0,l="top"===i?u.bottom.y:0,c="right"===i?u.left.x:0,d="left"===i?u.right.x:0,f=t.top-r+s>o,p=r-t.bottom-l>o,h=t.left-n+c>o,m=n-t.right-d>o;return f||p||h||m}))})(r,e)&&(I(),ye(e))}}function Y(e){se(e)||b.props.trigger.indexOf("click")>=0&&d||(b.props.interactive?b.hideWithInteractivity(e):ye(e))}function Q(e){b.props.trigger.indexOf("focusin")<0&&e.target!==T()||b.props.interactive&&e.relatedTarget&&w.contains(e.relatedTarget)||ye(e)}function se(e){return!!pe.isTouch&&A()!==e.type.indexOf("touch")>=0}function he(){me();var t=b.props,n=t.popperOptions,r=t.placement,a=t.offset,o=t.getReferenceClientRect,i=t.moveTransition,s=k()?ke(w).arrow:null,l=o?{getBoundingClientRect:o,contextElement:o.contextElement||T()}:e,c=[{name:"offset",options:{offset:a}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!i}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(k()){var n=O().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={}}}}];k()&&s&&c.push({name:"arrow",options:{element:s,padding:3}}),c.push.apply(c,(null==n?void 0:n.modifiers)||[]),b.popperInstance=W(l,w,Object.assign({},n,{placement:r,onFirstUpdate:u,modifiers:c}))}function me(){b.popperInstance&&(b.popperInstance.destroy(),b.popperInstance=null)}function ge(){return oe(w.querySelectorAll("[data-tippy-root]"))}function ve(e){b.clearDelayTimeouts(),e&&B("onTrigger",[b,e]),$();var t=S(!0),r=x(),a=r[0],o=r[1];pe.isTouch&&"hold"===a&&o&&(t=o),t?n=setTimeout((function(){b.show()}),t):b.show()}function ye(e){if(b.clearDelayTimeouts(),B("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=S(!1);t?r=setTimeout((function(){b.state.isVisible&&b.hide()}),t):a=requestAnimationFrame((function(){b.hide()}))}}else q()}}function Be(e,t){void 0===t&&(t={});var n=be.plugins.concat(t.plugins||[]);document.addEventListener("touchstart",me,X),window.addEventListener("blur",ve);var r,a=Object.assign({},t,{plugins:n}),o=(r=e,se(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&&Re(t,a);return n&&e.push(n),e}),[]);return se(e)?o[0]:o}Be.defaultProps=be,Be.setDefaultProps=function(e){Object.keys(e).forEach((function(t){be[t]=e[t]}))},Be.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)}}),Be.setDefaultProps({render:Te});const _e=Be},9465:(e,t,n)=>{"use strict";n.d(t,{_:()=>o,y:()=>a});var r=n(2614);class a{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=a;chooserModalClass=r.ZZ;constructor(e,t,n={}){this.html=e,this.idPattern=t,this.opts=n}render(e,t,n,r){const a=this.html.replace(/__NAME__/g,t).replace(/__ID__/g,n);e.outerHTML=a;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),a=n.n(r),o=n(4954),i=n(2833),u=n(1238);const s=new Intl.Collator(void 0,{usage:"search",sensitivity:"base",ignorePunctuation:!0}),l=(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===s.compare(r,t))return!0}return!1})(e,n))))),c=(0,i.AP)("Insert a block"),d=(0,i.AP)("Search options…"),f=(0,i.AP)("No results");function p({label:e,placeholder:t,inputValue:n,items:i,getItemLabel:s,getItemDescription:c,getSearchFields:d,onSelect:f,noResultsText:p}){const h=!e,m=i.flatMap((e=>e.items||[])),[g,v]=(0,r.useState)(m),D=i.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===g.length,{getLabelProps:y,getMenuProps:w,getInputProps:E,getItemProps:F,setHighlightedIndex:C,setInputValue:x,openMenu:A}=(0,o.Bp)({...void 0!==n&&{inputValue:n},initialInputValue:n||"",items:g,itemToString:e=>e&&(c(e)||s(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 v(m);const n=l(m,d,t);v(n),C(0)}});return(0,r.useEffect)((()=>{if(n){A(),x(n);const e=l(m,d,n);v(e),C(0)}else x(""),v(m),C(-1)}),[n]),a().createElement("div",{className:"w-combobox"},a().createElement("label",{...y(),className:"w-sr-only"},e),a().createElement("div",{className:"w-combobox__field"},a().createElement("input",{...E(),type:"text",disabled:h,placeholder:t})),b?a().createElement("div",{className:"w-combobox__status"},p):null,a().createElement("div",{...w(),className:"w-combobox__menu"},D.map((e=>{const t=(e.items||[]).filter((e=>g.find((t=>t.type===e.type)))),n=Math.ceil(t.length/2);return 0===t.length?null:a().createElement("div",{className:"w-combobox__optgroup",key:e.type},e.label?a().createElement("div",{className:"w-combobox__optgroup-label"},e.label):null,t.map(((e,t)=>{const r=s(e.type,e),o=c(e),i=g.findIndex((t=>t.type===e.type)),l=t+1<=n?1:2,d=void 0!==e.icon&&null!==e.icon;let f=null;return d&&(f="string"==typeof e.icon?a().createElement(u.A,{name:e.icon}):e.icon),a().createElement("div",{key:e.type,...F({item:e,index:i}),className:`w-combobox__option w-combobox__option--col${l}`},a().createElement("div",{className:"w-combobox__option-icon"},f,r&&!d?a().createElement("span",null,r):null),a().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),a=n.n(r);class o{constructor(e,t={}){this.opts=t;const n=a()("#"+e+"-ADD");if(this.formContainer=a()("#"+e+"-FORMS"),this.totalFormsInput=a()("#"+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:()=>a});var r=n(2427);const a=/^(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:()=>s});var r=n(5556),a=n.n(r),o=n(2427),i=n(6931);class u extends o.Component{static propTypes={onClose:a().func.isRequired,node:a().instanceOf(Element),children:a().node,closeOnClick:a().bool,closeOnType:a().bool,closeOnResize:a().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:a}=this.props;e.appendChild(this.portal),n&&document.addEventListener("mouseup",this.onCloseEvent),r&&document.addEventListener("keyup",this.onCloseEvent),a&&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,i.createPortal)(e,this.portal)}}const s=/^(114|262)$/.test(n.j)?u:null},6508:(e,t,n)=>{"use strict";n.d(t,{HE:()=>u,HS:()=>a,KV:()=>o,kf:()=>i,lb:()=>r});const{ADMIN_API:r}=n.g.wagtailConfig,{ADMIN_URLS:a}=n.g.wagtailConfig,o=200,i=new Map;n.g.wagtailConfig.LOCALES.forEach((({code:e,display_name:t})=>{i.set(e,t)}));const u=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:()=>g});var r=n(2891);const a=":not([inert]):not([inert] *)",o=':not([tabindex^="-"])',i=":not(:disabled)";var u=[`a[href]${a}${o}`,`area[href]${a}${o}`,`input:not([type="hidden"]):not([type="radio"])${a}${o}${i}`,`input[type="radio"]${a}${o}${i}`,`select${a}${o}${i}`,`textarea${a}${o}${i}`,`button${a}${o}${i}`,`details${a} > summary:first-of-type${o}`,`iframe${a}${o}`,`audio[controls]${a}${o}`,`video[controls]${a}${o}`,`[contenteditable]${a}${o}`,`[tabindex]${a}${o}`];function s(e){(e.querySelector("[autofocus]")||e).focus()}function l(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=l(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=l(e,t);if(n)return n}}else{let n=c(e,t);for(;n;){const e=l(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(u.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):s(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=l(e,!0);return[t,t?l(e,!1)||t:null]}(e);if(!n)return t.preventDefault();const a=p();t.shiftKey&&a===n?(r.focus(),t.preventDefault()):t.shiftKey||a!==r||(n.focus(),t.preventDefault())}(this.$el,e)}maintainFocus(e){e.target.closest('[aria-modal="true"], [data-a11y-dialog-ignore-focus-trap]')||s(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 g extends r.Controller{static values={theme:{default:"",type:String}};static targets=["body","notify"];connect(){this.dialog=new h(this.element);const e={body:this.bodyTarget,dialog:this.dialog},t="floating"===this.themeValue;return this.dialog.on("show",(()=>{t||(document.documentElement.style.overflowY="hidden"),this.dispatch("shown",{detail:e,cancelable:!1}),this.notifyTargets.forEach((e=>{this.dispatch("shown",{target:e,bubbles:!1,cancelable:!1})}))})).on("hide",(()=>{t||(document.documentElement.style.overflowY=""),this.dispatch("hidden",{detail:e,cancelable:!1}),this.notifyTargets.forEach((e=>{this.dispatch("hidden",{target:e,bubbles:!1,cancelable:!1})}))})),this.dispatch("ready",{detail:e}),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()}}},2223:(e,t,n)=>{"use strict";n.d(t,{I:()=>o});var r=n(2891),a=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,a.v)(e),e}}},2178:(e,t,n)=>{"use strict";n.d(t,{$R:()=>o,ZG:()=>i});const r=e=>Array.isArray(e)?e.join(" "):e,a=(e,t)=>{if(!e||!t)return 0;const n=document.querySelector(r(e.target[0])),a=document.querySelector(r(t.target[0]));return n&&a?n.compareDocumentPosition(a)&Node.DOCUMENT_POSITION_PRECEDING?1:-1:0},o=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},i=(e,t,n,o,i,u)=>{e.innerHTML="",t.violations.length&&t.violations.sort(((e,t)=>{const n=e.nodes.sort(a)[0],r=t.nodes.sort(a)[0];return a(n,r)})).forEach(((t,a)=>{e.appendChild(o.content.cloneNode(!0));const s=e.querySelectorAll("[data-a11y-result-row]")[a],l=s.querySelector("[data-a11y-result-name]");l.id=`w-a11y-result__name-${a}`,l.textContent=n.messages[t.id]||t.help,s.querySelector("[data-a11y-result-count]").textContent=`${t.nodes.length}`;const c=s.querySelector("[data-a11y-result-container]");t.nodes.forEach(((e,t)=>{c.appendChild(i.content.cloneNode(!0));const n=c.querySelectorAll("[data-a11y-result-selector]")[t];n.setAttribute("aria-describedby",l.id);const a=n.querySelector("[data-a11y-result-selector-text]"),o=r("#preview-iframe"===e.target[0]?e.target[1]:e.target[0]);a.textContent=o.replace(/\[data-block-key="\w{5}"\]/,""),n.addEventListener("click",u.bind(null,o))}))}))}},2614:(e,t,n)=>{"use strict";n.d(t,{C4:()=>l,Ch:()=>u,FF:()=>c,ZZ:()=>d});var r=n(1669),a=n.n(r),o=n(6664),i=n(2833);const u=(e,t,{errorContainerSelector:n})=>{const r=new FormData(t);a().ajax({url:t.action,data:r,processData:!1,contentType:!1,type:"POST",dataType:"text",success:e.loadResponseText,error(t,r,o){const u=(0,i.AP)("Report this error to your website administrator with the following information:")+"<br />"+o+" - "+t.status;a()(n,e.body).append('<div class="help-block help-critical"><strong>'+(0,i.AP)("Server Error")+": </strong>"+u+"</div>")}})};class s{constructor(e){this.form=e.form,this.containerElement=e.containerElement,this.onLoadResults=e.onLoadResults,this.resultsContainer=a()(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;a()(e,this.containerElement).on("input",(()=>{this.request&&this.request.abort(),clearTimeout(t),t=setTimeout((()=>{this.searchFromForm()}),this.inputDelay)}))}attachSearchFilter(e){a()(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=a().ajax(n)}search(e){this.fetchResults(this.searchUrl,e)}searchFromForm(){this.search(this.form.serialize())}}class l{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");a()(this.chosenLinkSelector,t).on("click",(t=>(e.loadUrl(t.currentTarget.href),!1))),a()(this.paginationLinkSelector,t).on("click",(e=>(this.searchController.fetchResults(e.currentTarget.href),!1))),this.modalHasTabs(e)&&(0,o.d)(),this.updateMultipleChoiceSubmitEnabledState(e),a()("[data-multiple-choice-select]",t).on("change",(()=>{this.updateMultipleChoiceSubmitEnabledState(e)}))}updateMultipleChoiceSubmitEnabledState(e){a()("[data-multiple-choice-select]:checked",e.body).length?a()("[data-multiple-choice-submit]",e.body).removeAttr("disabled"):a()("[data-multiple-choice-submit]",e.body).attr("disabled",!0)}modalHasTabs(e){return a()("[data-tabs]",e.body).length}ajaxifyCreationForm(e){a()(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 a=document.createElement("p");a.classList.add("error-message"),a.textContent=(0,i.AP)("This field is required."),n.appendChild(a)}})),t&&setTimeout((()=>{const t="data-w-progress-loading-value";e.querySelectorAll(`[${t}~="true"]`).forEach((e=>{e.removeAttribute(t)}))}),500),!t})(t.currentTarget)&&u(e,t.currentTarget,{errorContainerSelector:this.creationFormTabSelector}),!1))),this.creationFormFileFieldSelector&&this.creationFormTitleFieldSelector&&((e,{fileFieldSelector:t,titleFieldSelector:n,eventName:r})=>{const o=a()(t,e.body);o.on("change",(()=>{const t=a()(n,e.body);if(""===t.val()){const e=o.val().split("\\"),n=e[e.length-1],a=parseInt(t.attr("maxLength")||"0",10)||null,i={title:n.replace(/\.[^.]+$/,"")},u=o.closest("form").get(0);if(r&&!u.dispatchEvent(new CustomEvent(r,{bubbles:!0,cancelable:!0,detail:{data:i,filename:n,maxTitleLength:a}})))return;t.val(i.title)}}))})(e,{fileFieldSelector:this.creationFormFileFieldSelector,titleFieldSelector:this.creationFormTitleFieldSelector,eventName:this.creationFormEventName})}initSearchController(e){this.searchController=new s({form:a()(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(a()("form[data-multiple-choice-form]",e.body))}onLoadChosenStep(e,t){e.respond(this.chosenResponseName,t.result),e.close()}onLoadReshowCreationFormStep(e,t){a()(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 l).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)}}})}}},4545:(e,t,n)=>{"use strict";if(n.d(t,{$:()=>a,U:()=>o}),/^(591|702)$/.test(n.j))var r=n(4327);const a=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:()=>a});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,a=this.tabButtons;if(n[t]){const{target:o}=e;if(void 0!==o.index)if(a[o.index+n[t]]){const e=a[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 a=(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(((a,o)=>{n=window.setTimeout((()=>{try{a(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 a(e,t,n){const r=window.django?.ngettext;return r?r(e,t,n):1===n?e:t}n.d(t,{AP:()=>r,WI:()=>a})},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:()=>a});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)}},a=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,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}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 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})}}]);
|