@orangesk/orange-design-system 2.0.0-beta.9 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +358 -19
- package/build/appstore.svg +31 -0
- package/build/components/Accordion/style.css +2 -0
- package/build/components/Accordion/style.css.map +1 -0
- package/build/components/Alert/style.css +2 -0
- package/build/components/Alert/style.css.map +1 -0
- package/build/components/AnchorNavigation/style.css +2 -0
- package/build/components/AnchorNavigation/style.css.map +1 -0
- package/build/components/Bar/style.css +2 -0
- package/build/components/Bar/style.css.map +1 -0
- package/build/components/BlockAction/style.css +2 -0
- package/build/components/BlockAction/style.css.map +1 -0
- package/build/components/BodyBanner/style.css +2 -0
- package/build/components/BodyBanner/style.css.map +1 -0
- package/build/components/Breadcrumbs/style.css +2 -0
- package/build/components/Breadcrumbs/style.css.map +1 -0
- package/build/components/Button/style.css +2 -0
- package/build/components/Button/style.css.map +1 -0
- package/build/components/Buttons/style.css +2 -0
- package/build/components/Buttons/style.css.map +1 -0
- package/build/components/Card/style.css +2 -0
- package/build/components/Card/style.css.map +1 -0
- package/build/components/Carousel/style.css +2 -0
- package/build/components/Carousel/style.css.map +1 -0
- package/build/components/CarouselHero/style.css +2 -0
- package/build/components/CarouselHero/style.css.map +1 -0
- package/build/components/CarouselPromotions/style.css +2 -0
- package/build/components/CarouselPromotions/style.css.map +1 -0
- package/build/components/CartTable/style.css +2 -0
- package/build/components/CartTable/style.css.map +1 -0
- package/build/components/Code/style.css +2 -0
- package/build/components/Code/style.css.map +1 -0
- package/build/components/Container/style.css +2 -0
- package/build/components/Container/style.css.map +1 -0
- package/build/components/Controls/style.css +2 -0
- package/build/components/Controls/style.css.map +1 -0
- package/build/components/Cover/style.css +2 -0
- package/build/components/Cover/style.css.map +1 -0
- package/build/components/Divider/style.css +2 -0
- package/build/components/Divider/style.css.map +1 -0
- package/build/components/DocumentationSidebar/style.css +2 -0
- package/build/components/DocumentationSidebar/style.css.map +1 -0
- package/build/components/Dropdown/style.css +2 -0
- package/build/components/Dropdown/style.css.map +1 -0
- package/build/components/Expander/style.css +2 -0
- package/build/components/Expander/style.css.map +1 -0
- package/build/components/FeatureAccordion/style.css +2 -0
- package/build/components/FeatureAccordion/style.css.map +1 -0
- package/build/components/Footer/style.css +2 -0
- package/build/components/Footer/style.css.map +1 -0
- package/build/components/Gauge/style.css +2 -0
- package/build/components/Gauge/style.css.map +1 -0
- package/build/components/Grid/style.css +2 -0
- package/build/components/Grid/style.css.map +1 -0
- package/build/components/Hero/style.css +2 -0
- package/build/components/Hero/style.css.map +1 -0
- package/build/components/Icon/style.css +2 -0
- package/build/components/Icon/style.css.map +1 -0
- package/build/components/IconList/style.css +2 -0
- package/build/components/IconList/style.css.map +1 -0
- package/build/components/Image/style.css +2 -0
- package/build/components/Image/style.css.map +1 -0
- package/build/components/Link/style.css +2 -0
- package/build/components/Link/style.css.map +1 -0
- package/build/components/List/style.css +2 -0
- package/build/components/List/style.css.map +1 -0
- package/build/components/Loader/style.css +2 -0
- package/build/components/Loader/style.css.map +1 -0
- package/build/components/Megamenu/style.css +2 -0
- package/build/components/Megamenu/style.css.map +1 -0
- package/build/components/Modal/style.css +2 -0
- package/build/components/Modal/style.css.map +1 -0
- package/build/components/Pagination/style.css +2 -0
- package/build/components/Pagination/style.css.map +1 -0
- package/build/components/Pill/style.css +2 -0
- package/build/components/Pill/style.css.map +1 -0
- package/build/components/Preview/style.css +2 -0
- package/build/components/Preview/style.css.map +1 -0
- package/build/components/Progress/style.css +2 -0
- package/build/components/Progress/style.css.map +1 -0
- package/build/components/PromoBanner/style.css +2 -0
- package/build/components/PromoBanner/style.css.map +1 -0
- package/build/components/PromotionCard/style.css +2 -0
- package/build/components/PromotionCard/style.css.map +1 -0
- package/build/components/Section/style.css +2 -0
- package/build/components/Section/style.css.map +1 -0
- package/build/components/Skeleton/style.css +2 -0
- package/build/components/Skeleton/style.css.map +1 -0
- package/build/components/SkipLink/style.css +2 -0
- package/build/components/SkipLink/style.css.map +1 -0
- package/build/components/SocialButton/style.css +2 -0
- package/build/components/SocialButton/style.css.map +1 -0
- package/build/components/Stepbar/style.css +2 -0
- package/build/components/Stepbar/style.css.map +1 -0
- package/build/components/Sticker/style.css +2 -0
- package/build/components/Sticker/style.css.map +1 -0
- package/build/components/Table/style.css +2 -0
- package/build/components/Table/style.css.map +1 -0
- package/build/components/Tabs/style.css +2 -0
- package/build/components/Tabs/style.css.map +1 -0
- package/build/components/Tag/style.css +2 -0
- package/build/components/Tag/style.css.map +1 -0
- package/build/components/Testimonial/style.css +2 -0
- package/build/components/Testimonial/style.css.map +1 -0
- package/build/components/Tile/style.css +2 -0
- package/build/components/Tile/style.css.map +1 -0
- package/build/components/Tooltip/style.css +2 -0
- package/build/components/Tooltip/style.css.map +1 -0
- package/build/components/index.js +1 -23
- package/build/components/index.js.map +1 -1
- package/build/components/tsconfig.tsbuildinfo +1 -1
- package/build/components/types/index.d.ts +841 -801
- package/build/components/types/src/components/Accordion/Accordion.d.ts +2 -2
- package/build/components/types/src/components/Accordion/Accordion.static.d.ts +3 -0
- package/build/components/types/src/components/Alert/Alert.d.ts +0 -2
- package/build/components/types/src/components/AnchorNavigation/AnchorNavigation.d.ts +1 -2
- package/build/components/types/src/components/AnchorNavigation/AnchorNavigation.static.d.ts +76 -0
- package/build/components/types/src/components/Bar/index.d.ts +1 -1
- package/build/components/types/src/components/BlockAction/BlockAction.d.ts +2 -0
- package/build/components/types/src/components/BlockAction/Context.d.ts +3 -1
- package/build/components/types/src/components/BlockAction/index.d.ts +2 -4
- package/build/components/types/src/components/BodyBanner/BodyBanner.d.ts +12 -12
- package/build/components/types/src/components/Breadcrumbs/Breadcrumbs.d.ts +0 -2
- package/build/components/types/src/components/Button/Button.d.ts +0 -1
- package/build/components/types/src/components/Button/index.d.ts +4 -5
- package/build/components/types/src/components/Card/Card.d.ts +1 -1
- package/build/components/types/src/components/Card/index.d.ts +2 -1
- package/build/components/types/src/components/Carousel/Carousel.d.ts +1 -3
- package/build/components/types/src/components/Carousel/Carousel.static.d.ts +73 -7
- package/build/components/types/src/components/Carousel/CarouselItem.d.ts +1 -1
- package/build/components/types/src/components/CarouselHero/CarouselHero.d.ts +3 -2
- package/build/components/types/src/components/CarouselHero/CarouselHero.static.d.ts +4 -1
- package/build/components/types/src/components/CarouselHero/CarouselHeroItem.d.ts +1 -2
- package/build/components/types/src/components/CarouselHero/constants.d.ts +1 -2
- package/build/components/types/src/components/CarouselHero/index.d.ts +1 -1
- package/build/components/types/src/components/CarouselPromotions/CarouselPromotions.d.ts +0 -1
- package/build/components/types/src/components/CarouselPromotions/CarouselPromotions.static.d.ts +5 -0
- package/build/components/types/src/components/CartTable/CartTable.d.ts +1 -1
- package/build/components/types/src/components/CartTable/data.d.ts +1 -1
- package/build/components/types/src/components/Code/Code.d.ts +1 -1
- package/build/components/types/src/components/Controls/Controls.d.ts +0 -1
- package/build/components/types/src/components/Cover/Cover.d.ts +3 -3
- package/build/components/types/src/components/Divider/Divider.d.ts +1 -5
- package/build/components/types/src/components/DocumentationSidebar/DocumentationSidebar.d.ts +1 -0
- package/build/components/types/src/components/DocumentationSidebar/index.d.ts +1 -1
- package/build/components/types/src/components/Dropdown/index.d.ts +1 -1
- package/build/components/types/src/components/Expander/Expander.d.ts +6 -3
- package/build/components/types/src/components/Expander/Expander.static.d.ts +3 -2
- package/build/components/types/src/components/FeatureAccordion/FeatureAccordion.d.ts +14 -3
- package/build/components/types/src/components/FeatureAccordion/FeatureAccordion.static.d.ts +1 -2
- package/build/components/types/src/components/FeatureAccordion/FeatureAccordionItem.d.ts +3 -3
- package/build/components/types/src/components/Footer/Footer.static.d.ts +21 -0
- package/build/components/types/src/components/Footer/PlanObnovy.d.ts +1 -0
- package/build/components/types/src/components/Footer/constants.d.ts +12 -1
- package/build/components/types/src/components/Footer/data.d.ts +11 -0
- package/build/components/types/src/components/Footer/static.d.ts +21 -0
- package/build/components/types/src/components/Forms/Autocomplete/Autocomplete.d.ts +3 -1
- package/build/components/types/src/components/Forms/Autocomplete/Autocomplete.static.d.ts +12 -0
- package/build/components/types/src/components/Forms/File/File.d.ts +2 -0
- package/build/components/types/src/components/Forms/Group/Group.d.ts +4 -2
- package/build/components/types/src/components/Forms/Group/Item.d.ts +1 -1
- package/build/components/types/src/components/Forms/InputStepper/InputStepper.d.ts +2 -1
- package/build/components/types/src/components/Forms/RangeSlider/RangeSlider.d.ts +2 -0
- package/build/components/types/src/components/Forms/Select/index.d.ts +1 -1
- package/build/components/types/src/components/Forms/TextInput/TextInput.d.ts +3 -0
- package/build/components/types/src/components/Forms/index.d.ts +1 -1
- package/build/components/types/src/components/Grid/Grid.d.ts +2 -2
- package/build/components/types/src/components/Grid/GridCol.d.ts +4 -4
- package/build/components/types/src/components/Hero/Hero.d.ts +0 -3
- package/build/components/types/src/components/Icon/IconSearch.d.ts +2 -2
- package/build/components/types/src/components/Icon/IconSearchWrapper.d.ts +1 -1
- package/build/components/types/src/components/Icon/PictogramSearch.d.ts +6 -0
- package/build/components/types/src/components/Icon/PictogramSearchWrapper.d.ts +1 -0
- package/build/components/types/src/components/Icon/iconSearchTags.d.ts +172 -165
- package/build/components/types/src/components/Icon/iconUtils.d.ts +2 -0
- package/build/components/types/src/components/Icon/index.d.ts +1 -1
- package/build/components/types/src/components/IconList/Item.d.ts +1 -1
- package/build/components/types/src/components/Link/Link.d.ts +2 -2
- package/build/components/types/src/components/List/ClickableControl.d.ts +1 -1
- package/build/components/types/src/components/List/List.d.ts +3 -3
- package/build/components/types/src/components/List/ListItem.d.ts +1 -1
- package/build/components/types/src/components/Loader/LoaderFullscreen.d.ts +7 -0
- package/build/components/types/src/components/Loader/index.d.ts +1 -0
- package/build/components/types/src/components/Megamenu/BrandMark.d.ts +1 -0
- package/build/components/types/src/components/Megamenu/Logo.d.ts +1 -0
- package/build/components/types/src/components/Megamenu/LogoJeTu.d.ts +1 -0
- package/build/components/types/src/components/Megamenu/Megamenu.d.ts +9 -1
- package/build/components/types/src/components/Megamenu/Megamenu.static.d.ts +21 -5
- package/build/components/types/src/components/Megamenu/MegamenuBlog.d.ts +2 -1
- package/build/components/types/src/components/Megamenu/MegamenuSearchContent.d.ts +10 -0
- package/build/components/types/src/components/Megamenu/MyOrangeMobilePanel.d.ts +6 -0
- package/build/components/types/src/components/Megamenu/constants.d.ts +21 -0
- package/build/components/types/src/components/Megamenu/data.d.ts +21 -0
- package/build/components/types/src/components/Megamenu/ids.d.ts +11 -0
- package/build/components/types/src/components/Megamenu/index.d.ts +1 -1
- package/build/components/types/src/components/Megamenu/static.d.ts +2 -3
- package/build/components/types/src/components/Modal/Modal.d.ts +2 -6
- package/build/components/types/src/components/Modal/Modal.static.d.ts +4 -0
- package/build/components/types/src/components/Modal/ModalBody.d.ts +3 -3
- package/build/components/types/src/components/Modal/ModalCloseButton.d.ts +1 -1
- package/build/components/types/src/components/Modal/ModalProductHeader.d.ts +2 -0
- package/build/components/types/src/components/Modal/index.d.ts +2 -3
- package/build/components/types/src/components/Pagination/Pagination.d.ts +0 -2
- package/build/components/types/src/components/Pagination/Separator.d.ts +2 -2
- package/build/components/types/src/components/Pagination/helpers.d.ts +1 -1
- package/build/components/types/src/components/Pill/Pill.d.ts +2 -3
- package/build/components/types/src/components/Preview/CodeExample.d.ts +1 -0
- package/build/components/types/src/components/Preview/Preview.d.ts +2 -2
- package/build/components/types/src/components/Preview/PreviewGenerator.d.ts +13 -9
- package/build/components/types/src/components/Preview/getElementDisplayName.d.ts +1 -0
- package/build/components/types/src/components/Preview/index.d.ts +1 -1
- package/build/components/types/src/components/Progress/Progress.d.ts +0 -1
- package/build/components/types/src/components/PromoBanner/PromoBanner.d.ts +12 -3
- package/build/components/types/src/components/PromotionCard/PromotionCard.d.ts +3 -3
- package/build/components/types/src/components/PromotionCard/PromotionCardContent.d.ts +1 -1
- package/build/components/types/src/components/PromotionCard/PromotionCardImageWrapper.d.ts +1 -1
- package/build/components/types/src/components/PromotionCard/PromotionCardTitle.d.ts +1 -1
- package/build/components/types/src/components/Section/Section.d.ts +4 -1
- package/build/components/types/src/components/SocialButton/SocialButton.d.ts +13 -0
- package/build/components/types/src/components/SocialButton/index.d.ts +1 -0
- package/build/components/types/src/components/Stepbar/Stepbar.d.ts +0 -2
- package/build/components/types/src/components/Sticker/Sticker.d.ts +3 -3
- package/build/components/types/src/components/Table/Row.d.ts +1 -2
- package/build/components/types/src/components/Table/Table.d.ts +3 -3
- package/build/components/types/src/components/Table/docsData.d.ts +2 -0
- package/build/components/types/src/components/Table/index.d.ts +1 -1
- package/build/components/types/src/components/Table/types.d.ts +1 -0
- package/build/components/types/src/components/Tabs/Tabs.d.ts +0 -6
- package/build/components/types/src/components/Tabs/Tabs.static.d.ts +12 -0
- package/build/components/types/src/components/Tabs/index.d.ts +2 -2
- package/build/components/types/src/components/Tag/Tag.d.ts +0 -2
- package/build/components/types/src/components/Tag/index.d.ts +1 -1
- package/build/components/types/src/components/Testimonial/Testimonial.d.ts +2 -2
- package/build/components/types/src/components/Tile/Tile.d.ts +3 -10
- package/build/components/types/src/components/Tooltip/Tooltip.d.ts +0 -1
- package/build/components/types/src/components/Tooltip/Tooltip.static.d.ts +6 -2
- package/build/components/types/src/components/Tooltip/index.d.ts +1 -1
- package/build/components/types/src/components/Tooltip/tests/BaseWrapper.d.ts +1 -1
- package/build/components/types/src/components/index.d.ts +22 -20
- package/build/components/types/src/docs/utils/SpacePreview.d.ts +1 -2
- package/build/components/types/src/scripts/index.d.ts +7 -8
- package/build/components/types/src/scripts/modules/SameHeight.d.ts +7 -0
- package/build/components/types/src/scripts/modules/SpacePreview/index.d.ts +1 -1
- package/build/components/types/src/styles/export/color.d.ts +105 -0
- package/build/components/types/src/utils/formatCode.d.ts +5 -0
- package/build/components/types/src/utils/hooks.d.ts +1 -1
- package/build/components/types/src/utils/index.d.ts +2 -2
- package/build/fonts/HelveticaNeue-Bold.woff2 +0 -0
- package/build/fonts/HelveticaNeue-Light.woff2 +0 -0
- package/build/fonts/HelveticaNeue-Roman.woff2 +0 -0
- package/build/googleplay.svg +52 -0
- package/build/lib/base.css +3 -0
- package/build/lib/base.css.map +1 -0
- package/build/lib/components.css +1 -1
- package/build/lib/components.css.map +1 -1
- package/build/lib/footer.css +1 -1
- package/build/lib/footer.css.map +1 -1
- package/build/lib/footer.js +2 -0
- package/build/lib/footer.js.map +1 -0
- package/build/lib/megamenu.css +1 -1
- package/build/lib/megamenu.css.map +1 -1
- package/build/lib/megamenu.js +1 -1
- package/build/lib/megamenu.js.map +1 -1
- package/build/lib/scripts.js +1 -9
- package/build/lib/scripts.js.map +1 -1
- package/build/lib/style.css +1 -1
- package/build/lib/style.css.map +1 -1
- package/build/lib/tsconfig.tsbuildinfo +1 -1
- package/build/lib/utilities.css +2 -0
- package/build/lib/utilities.css.map +1 -0
- package/build/plan-obnovy.svg +53 -0
- package/build/search-index.json +426 -0
- package/build/sprite.svg +1 -1
- package/package.json +91 -61
- package/public/fonts/HelveticaNeue-Bold.woff2 +0 -0
- package/public/fonts/HelveticaNeue-Light.woff2 +0 -0
- package/public/fonts/HelveticaNeue-Roman.woff2 +0 -0
- package/src/assets/icons/ai.svg +6 -0
- package/src/assets/icons/discount-price.svg +4 -0
- package/src/assets/icons/instagram.svg +5 -1
- package/src/assets/icons/linkedin-2.svg +3 -1
- package/src/assets/icons/pause.svg +5 -1
- package/src/assets/icons/pictogram-deezer--dark.svg +24 -0
- package/src/assets/icons/pictogram-deezer.svg +24 -0
- package/src/assets/icons/pictogram-discount-rental--dark.svg +11 -0
- package/src/assets/icons/pictogram-discount-rental.svg +11 -0
- package/src/assets/icons/pictogram-discount-tv-package--dark.svg +7 -0
- package/src/assets/icons/pictogram-discount-tv-package.svg +7 -0
- package/src/assets/icons/pictogram-disney--dark.svg +15 -0
- package/src/assets/icons/pictogram-disney.svg +10 -0
- package/src/assets/icons/pictogram-eset--dark.svg +10 -0
- package/src/assets/icons/pictogram-eset.svg +10 -0
- package/src/assets/icons/pictogram-ewatch--dark.svg +7 -0
- package/src/assets/icons/pictogram-ewatch.svg +7 -0
- package/src/assets/icons/pictogram-exclusive-package--dark.svg +5 -0
- package/src/assets/icons/pictogram-exclusive-package.svg +5 -0
- package/src/assets/icons/pictogram-fast-data--dark.svg +6 -0
- package/src/assets/icons/pictogram-fast-data.svg +6 -0
- package/src/assets/icons/pictogram-hbo-max--dark.svg +4 -5
- package/src/assets/icons/pictogram-hbo-max.svg +4 -5
- package/src/assets/icons/pictogram-interaction--dark.svg +20 -0
- package/src/assets/icons/pictogram-interaction.svg +20 -0
- package/src/assets/icons/pictogram-internet--dark.svg +15 -0
- package/src/assets/icons/pictogram-internet.svg +15 -0
- package/src/assets/icons/pictogram-my-orange--dark.svg +6 -0
- package/src/assets/icons/pictogram-my-orange.svg +6 -0
- package/src/assets/icons/pictogram-offer-package--dark.svg +7 -0
- package/src/assets/icons/pictogram-offer-package.svg +7 -0
- package/src/assets/icons/pictogram-prima-love--dark.svg +4 -0
- package/src/assets/icons/pictogram-prima-love.svg +4 -0
- package/src/assets/icons/pictogram-shared-data--dark.svg +8 -0
- package/src/assets/icons/pictogram-shared-data.svg +8 -0
- package/src/assets/icons/pictogram-tariffs--dark.svg +9 -0
- package/src/assets/icons/pictogram-tariffs.svg +9 -0
- package/src/assets/icons/pictogram-unlimited-data--dark.svg +19 -0
- package/src/assets/icons/pictogram-unlimited-data.svg +19 -0
- package/src/assets/icons/pinterest.svg +4 -0
- package/src/assets/icons/play.svg +4 -1
- package/src/assets/icons/quote.svg +4 -0
- package/src/assets/icons/snapchat.svg +4 -0
- package/src/assets/icons/tiktok.svg +4 -0
- package/src/assets/icons/whatsapp.svg +4 -0
- package/src/assets/icons/youtube.svg +3 -1
- package/src/components/Accordion/Accordion.static.ts +79 -30
- package/src/components/Accordion/Accordion.tsx +6 -7
- package/src/components/Accordion/AccordionHeader.tsx +1 -11
- package/src/components/Accordion/AccordionItem.tsx +3 -1
- package/src/components/Accordion/HeadingContext.tsx +1 -1
- package/src/components/Accordion/styles/config.scss +3 -2
- package/src/components/Accordion/styles/mixins.scss +10 -9
- package/src/components/Accordion/styles/style.scss +2 -2
- package/src/components/Accordion/tests/{Accordion.static.test.js → Accordion.static.test.jsx} +23 -23
- package/src/components/Accordion/tests/{Accordion.unit.test.js → Accordion.unit.test.jsx} +125 -31
- package/src/components/Alert/Alert.tsx +3 -10
- package/src/components/Alert/styles/config.scss +1 -1
- package/src/components/Alert/styles/mixins.scss +4 -1
- package/src/components/Alert/tests/{Alert.conformance.test.js → Alert.conformance.test.jsx} +2 -3
- package/src/components/Alert/tests/{Alert.test.js → Alert.test.jsx} +2 -16
- package/src/components/Alert/tests/Alert.visual.test.jsx +137 -0
- package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-custom-title-chromium-linux.png +0 -0
- package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-danger-chromium-linux.png +0 -0
- package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-full-width-chromium-linux.png +0 -0
- package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-success-chromium-linux.png +0 -0
- package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-title-buttons-chromium-linux.png +0 -0
- package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-title-chromium-linux.png +0 -0
- package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-title-description-buttons-chromium-linux.png +0 -0
- package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-title-description-chromium-linux.png +0 -0
- package/src/components/Alert/tests/__screenshots__/Alert.visual.test.jsx/alert-preview-warning-chromium-linux.png +0 -0
- package/src/components/AnchorNavigation/AnchorNavigation.static.ts +746 -88
- package/src/components/AnchorNavigation/AnchorNavigation.tsx +5 -15
- package/src/components/AnchorNavigation/styles/mixins.scss +124 -15
- package/src/components/AnchorNavigation/tests/{AnchorNavigation.conformance.test.js → AnchorNavigation.conformance.test.jsx} +1 -10
- package/src/components/AnchorNavigation/tests/AnchorNavigation.unit.test.jsx +801 -0
- package/src/components/Bar/Bar.tsx +1 -1
- package/src/components/Bar/BarBreak.tsx +1 -1
- package/src/components/Bar/BarItem.tsx +1 -1
- package/src/components/Bar/index.ts +1 -1
- package/src/components/Bar/styles/config.scss +4 -5
- package/src/components/Bar/styles/mixins.scss +11 -11
- package/src/components/Bar/tests/{Bar.conformance.test.js → Bar.conformance.test.jsx} +1 -1
- package/src/components/BlockAction/BlockAction.tsx +10 -3
- package/src/components/BlockAction/BlockActionControl.tsx +2 -3
- package/src/components/BlockAction/BlockActionIndicator.tsx +2 -3
- package/src/components/BlockAction/CloneElementWithClassName.tsx +1 -1
- package/src/components/BlockAction/Context.tsx +5 -1
- package/src/components/BlockAction/index.tsx +3 -8
- package/src/components/BlockAction/styles/config.scss +6 -6
- package/src/components/BlockAction/styles/mixins.scss +5 -0
- package/src/components/BlockAction/styles/style.scss +11 -4
- package/src/components/BlockAction/tests/{BlockAction.conformance.test.js → BlockAction.conformance.test.jsx} +1 -1
- package/src/components/BlockAction/tests/{BlockActionControl.unit.test.js → BlockActionControl.unit.test.jsx} +3 -3
- package/src/components/BodyBanner/BodyBanner.tsx +54 -78
- package/src/components/BodyBanner/styles/mixins.scss +50 -45
- package/src/components/BodyBanner/styles/style.scss +4 -18
- package/src/components/BodyBanner/tests/BodyBanner.conformance.test.jsx +84 -0
- package/src/components/BodyBanner/tests/BodyBanner.unit.test.jsx +201 -0
- package/src/components/Breadcrumbs/BreadcrumbItem.tsx +17 -8
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +4 -12
- package/src/components/Breadcrumbs/styles/mixins.scss +39 -10
- package/src/components/Breadcrumbs/styles/style.scss +2 -1
- package/src/components/Breadcrumbs/tests/{BreadcrumbItem.unit.test.js → BreadcrumbItem.unit.test.jsx} +14 -8
- package/src/components/Breadcrumbs/tests/{Breadcrumbs.conformance.test.js → Breadcrumbs.conformance.test.jsx} +1 -1
- package/src/components/Breadcrumbs/tests/{Breadcrumbs.integration.test.js → Breadcrumbs.integration.test.jsx} +14 -37
- package/src/components/Breadcrumbs/tests/{Breadcrumbs.unit.test.js → Breadcrumbs.unit.test.jsx} +19 -23
- package/src/components/Button/Button.tsx +1 -7
- package/src/components/Button/IconButton.tsx +7 -3
- package/src/components/Button/index.tsx +1 -3
- package/src/components/Button/styles/config.scss +5 -5
- package/src/components/Button/styles/mixins.scss +2 -2
- package/src/components/Button/tests/{Button.conformance.test.js → Button.conformance.test.jsx} +1 -2
- package/src/components/Button/tests/{Button.test.js → Button.test.jsx} +1 -12
- package/src/components/Button/tests/{IconButton.unit.test.js → IconButton.unit.test.jsx} +0 -1
- package/src/components/Buttons/styles/mixins.scss +8 -13
- package/src/components/Buttons/tests/{Buttons.conformance.test.js → Buttons.conformance.test.jsx} +1 -1
- package/src/components/Card/Card.tsx +17 -17
- package/src/components/Card/CardProductHeader.tsx +1 -1
- package/src/components/Card/CardSection.tsx +6 -2
- package/src/components/Card/index.ts +2 -1
- package/src/components/Card/styles/config.scss +2 -2
- package/src/components/Card/styles/mixins.scss +7 -6
- package/src/components/Card/tests/{Card.conformance.test.js → Card.conformance.test.jsx} +2 -2
- package/src/components/Card/tests/Card.unit.test.jsx +81 -0
- package/src/components/Card/tests/{CardProductHeader.unit.test.js → CardProductHeader.unit.test.jsx} +1 -1
- package/src/components/Card/tests/{CardSection.unit.test.js → CardSection.unit.test.jsx} +36 -3
- package/src/components/Carousel/Carousel.static.ts +623 -76
- package/src/components/Carousel/Carousel.tsx +9 -16
- package/src/components/Carousel/CarouselItem.tsx +1 -1
- package/src/components/Carousel/styles/mixins.scss +43 -17
- package/src/components/Carousel/tests/{Carousel.conformance.test.js → Carousel.conformance.test.jsx} +2 -4
- package/src/components/Carousel/tests/Carousel.static.test.jsx +988 -0
- package/src/components/Carousel/tests/{Carousel.unit.test.js → Carousel.unit.test.jsx} +117 -12
- package/src/components/CarouselHero/CarouselHero.static.ts +68 -37
- package/src/components/CarouselHero/CarouselHero.tsx +101 -39
- package/src/components/CarouselHero/CarouselHeroItem.tsx +13 -14
- package/src/components/CarouselHero/constants.ts +1 -2
- package/src/components/CarouselHero/index.ts +1 -1
- package/src/components/CarouselHero/styles/mixins.scss +19 -32
- package/src/components/CarouselHero/styles/style.scss +4 -8
- package/src/components/CarouselHero/tests/{CarouselHero.conformance.test.js → CarouselHero.conformance.test.jsx} +45 -46
- package/src/components/CarouselHero/tests/{CarouselHero.unit.test.js → CarouselHero.unit.test.jsx} +184 -42
- package/src/components/CarouselHero/tests/CarouselHero.visual.test.jsx +90 -0
- package/src/components/CarouselHero/tests/{CarouselHeroItem.conformance.test.js → CarouselHeroItem.conformance.test.jsx} +19 -26
- package/src/components/CarouselHero/tests/{CarouselHeroItem.unit.test.js → CarouselHeroItem.unit.test.jsx} +26 -93
- package/src/components/CarouselPromotions/CarouselPromotions.static.ts +72 -13
- package/src/components/CarouselPromotions/CarouselPromotions.tsx +7 -13
- package/src/components/CarouselPromotions/CarouselPromotionsItem.tsx +3 -3
- package/src/components/CarouselPromotions/styles/mixins.scss +8 -5
- package/src/components/CarouselPromotions/tests/{CarouselPromotions.conformance.test.js → CarouselPromotions.conformance.test.jsx} +13 -6
- package/src/components/CarouselPromotions/tests/{CarouselPromotions.unit.test.js → CarouselPromotions.unit.test.jsx} +3 -22
- package/src/components/CartTable/CartTable.tsx +3 -4
- package/src/components/CartTable/FooterPriceColumn.tsx +6 -4
- package/src/components/CartTable/Price.tsx +2 -2
- package/src/components/CartTable/data.ts +1 -1
- package/src/components/CartTable/generateFooter.tsx +1 -1
- package/src/components/CartTable/generateRow.tsx +6 -8
- package/src/components/CartTable/styles/mixins.scss +46 -49
- package/src/components/CartTable/tests/{CartTable.conformance.test.js → CartTable.conformance.test.jsx} +1 -1
- package/src/components/Code/Code.tsx +1 -1
- package/src/components/Code/styles/style.scss +6 -5
- package/src/components/Container/Container.tsx +1 -1
- package/src/components/Container/styles/config.scss +2 -2
- package/src/components/Container/styles/mixins.scss +4 -4
- package/src/components/Container/tests/{Container.conformance.test.js → Container.conformance.test.jsx} +2 -6
- package/src/components/Container/tests/{Container.unit.test.js → Container.unit.test.jsx} +5 -4
- package/src/components/Controls/Controls.tsx +3 -8
- package/src/components/Controls/tests/{Controls.test.js → Controls.test.jsx} +14 -46
- package/src/components/Cover/Cover.tsx +22 -20
- package/src/components/Cover/index.ts +1 -0
- package/src/components/Cover/styles/config.scss +23 -12
- package/src/components/Cover/styles/mixins.scss +6 -5
- package/src/components/Cover/tests/Cover.conformance.test.jsx +27 -0
- package/src/components/Cover/tests/Cover.unit.test.jsx +115 -0
- package/src/components/Divider/Divider.tsx +3 -17
- package/src/components/Divider/styles/config.scss +0 -17
- package/src/components/Divider/styles/mixins.scss +12 -12
- package/src/components/Divider/styles/style.scss +2 -16
- package/src/components/Divider/tests/{Divider.conformance.test.js → Divider.conformance.test.jsx} +2 -2
- package/src/components/Divider/tests/{Divider.unit.test.js → Divider.unit.test.jsx} +0 -17
- package/src/components/DocumentationSidebar/DocumentationSidebar.tsx +231 -9
- package/src/components/DocumentationSidebar/index.ts +2 -2
- package/src/components/DocumentationSidebar/styles/style.scss +76 -3
- package/src/components/Dropdown/Dropdown.static.ts +3 -2
- package/src/components/Dropdown/Dropdown.tsx +3 -5
- package/src/components/Dropdown/DropdownDivider.tsx +1 -1
- package/src/components/Dropdown/DropdownItem.tsx +1 -1
- package/src/components/Dropdown/DropdownToggleButton.tsx +1 -1
- package/src/components/Dropdown/index.ts +1 -1
- package/src/components/Dropdown/styles/mixins.scss +1 -1
- package/src/components/Dropdown/tests/{Dropdown.conformance.test.js → Dropdown.conformance.test.jsx} +2 -2
- package/src/components/Dropdown/tests/{Dropdown.unit.test.js → Dropdown.unit.test.jsx} +1 -2
- package/src/components/Expander/Expander.static.ts +22 -28
- package/src/components/Expander/Expander.tsx +21 -17
- package/src/components/Expander/styles/style.scss +18 -3
- package/src/components/Expander/tests/{Expander.conformance.test.js → Expander.conformance.test.jsx} +23 -13
- package/src/components/Expander/tests/Expander.unit.test.jsx +196 -0
- package/src/components/FeatureAccordion/FeatureAccordion.static.ts +93 -48
- package/src/components/FeatureAccordion/FeatureAccordion.tsx +83 -60
- package/src/components/FeatureAccordion/FeatureAccordionItem.tsx +21 -8
- package/src/components/FeatureAccordion/styles/mixins.scss +25 -15
- package/src/components/FeatureAccordion/styles/style.scss +8 -6
- package/src/components/FeatureAccordion/tests/{FeatureAccordion.conformance.test.js → FeatureAccordion.conformance.test.jsx} +3 -1
- package/src/components/FeatureAccordion/tests/{FeatureAccordion.unit.test.js → FeatureAccordion.unit.test.jsx} +2 -8
- package/src/components/Footer/Footer.static.ts +130 -0
- package/src/components/Footer/Footer.tsx +157 -55
- package/src/components/Footer/PlanObnovy.tsx +211 -0
- package/src/components/Footer/constants.ts +12 -1
- package/src/components/Footer/data.ts +40 -0
- package/src/components/Footer/static.ts +59 -0
- package/src/components/Footer/styles/mixins.scss +133 -18
- package/src/components/Footer/styles/style.scss +67 -2
- package/src/components/Footer/tests/{Footer.conformance.test.js → Footer.conformance.test.jsx} +5 -9
- package/src/components/Footer/tests/{Footer.unit.test.js → Footer.unit.test.jsx} +7 -7
- package/src/components/Forms/Autocomplete/Autocomplete.static.ts +215 -2
- package/src/components/Forms/Autocomplete/Autocomplete.tsx +8 -3
- package/src/components/Forms/Autocomplete/styles/config.scss +3 -3
- package/src/components/Forms/Autocomplete/styles/style.scss +95 -0
- package/src/components/Forms/Autocomplete/tests/Autocomplete.static.test.ts +187 -0
- package/src/components/Forms/Checkbox/Checkbox.tsx +1 -1
- package/src/components/Forms/Checkbox/styles/config.scss +6 -3
- package/src/components/Forms/Checkbox/styles/mixins.scss +2 -2
- package/src/components/Forms/Checkbox/styles/style.scss +13 -6
- package/src/components/Forms/DatePicker/DatePicker.tsx +1 -2
- package/src/components/Forms/DatePicker/styles/style.scss +2 -3
- package/src/components/Forms/Field/Control.tsx +52 -49
- package/src/components/Forms/Field/Description.tsx +1 -1
- package/src/components/Forms/Field/Field.tsx +4 -4
- package/src/components/Forms/Field/Label.tsx +1 -1
- package/src/components/Forms/Field/Messages.tsx +2 -2
- package/src/components/Forms/Field/styles/config.scss +8 -8
- package/src/components/Forms/Field/styles/mixins.scss +13 -10
- package/src/components/Forms/Field/styles/style.scss +4 -0
- package/src/components/Forms/Field/tests/{Autocomplete.Field.conformance.test.js → Autocomplete.Field.conformance.test.jsx} +2 -2
- package/src/components/Forms/Field/tests/{Checkbox.Field.conformance.test.js → Checkbox.Field.conformance.test.jsx} +2 -1
- package/src/components/Forms/Field/tests/{File.Field.conformance.test.js → File.Field.conformance.test.jsx} +3 -2
- package/src/components/Forms/Field/tests/Group.Field.conformance.test.jsx +72 -0
- package/src/components/Forms/Field/tests/{Radio.Field.conformance.test.js → Radio.Field.conformance.test.jsx} +2 -1
- package/src/components/Forms/Field/tests/{Rangeslider.Field.test.js → Rangeslider.Field.test.jsx} +2 -1
- package/src/components/Forms/Field/tests/{Select.Field.conformance.test.js → Select.Field.conformance.test.jsx} +2 -1
- package/src/components/Forms/Field/tests/{Text.Field.conformance.test.js → Text.Field.conformance.test.jsx} +2 -1
- package/src/components/Forms/Field/tests/{Textarea.Field.conformance.test.js → Textarea.Field.conformance.test.jsx} +2 -1
- package/src/components/Forms/Field/tests/{Tooltip.unit.test.js → Tooltip.unit.test.jsx} +1 -2
- package/src/components/Forms/Fieldset/Fieldset.tsx +1 -1
- package/src/components/Forms/Fieldset/styles/mixins.scss +3 -3
- package/src/components/Forms/File/File.tsx +5 -3
- package/src/components/Forms/File/styles/config.scss +5 -5
- package/src/components/Forms/File/styles/mixins.scss +1 -1
- package/src/components/Forms/Group/Group.tsx +23 -12
- package/src/components/Forms/Group/Item.tsx +1 -1
- package/src/components/Forms/Group/styles/config.scss +1 -1
- package/src/components/Forms/Group/styles/mixins.scss +31 -0
- package/src/components/Forms/Group/tests/{Group.unit.test.js → Group.unit.test.jsx} +9 -0
- package/src/components/Forms/Hint/Hint.tsx +1 -1
- package/src/components/Forms/Hint/styles/config.scss +1 -1
- package/src/components/Forms/Hint/styles/mixins.scss +2 -2
- package/src/components/Forms/InputStepper/InputStepper.tsx +6 -5
- package/src/components/Forms/InputStepper/styles/style.scss +56 -110
- package/src/components/Forms/InputStepper/tests/{InputStepper.unit.test.js → InputStepper.unit.test.jsx} +8 -0
- package/src/components/Forms/Label/Label.tsx +1 -1
- package/src/components/Forms/Label/styles/config.scss +3 -0
- package/src/components/Forms/Label/styles/mixins.scss +2 -2
- package/src/components/Forms/Message/Message.tsx +9 -5
- package/src/components/Forms/Message/styles/config.scss +2 -1
- package/src/components/Forms/Radio/Radio.tsx +1 -1
- package/src/components/Forms/Radio/styles/config.scss +6 -3
- package/src/components/Forms/Radio/styles/mixins.scss +2 -2
- package/src/components/Forms/RangeSlider/RangeSlider.tsx +4 -1
- package/src/components/Forms/RangeSlider/styles/mixins.scss +1 -1
- package/src/components/Forms/Select/Select.tsx +1 -1
- package/src/components/Forms/Select/styles/mixins.scss +6 -6
- package/src/components/Forms/TextArea/TextArea.tsx +1 -1
- package/src/components/Forms/TextArea/styles/config.scss +1 -0
- package/src/components/Forms/TextArea/styles/mixins.scss +17 -10
- package/src/components/Forms/TextInput/TextInput.tsx +27 -2
- package/src/components/Forms/TextInput/styles/config.scss +4 -2
- package/src/components/Forms/TextInput/styles/mixins.scss +17 -11
- package/src/components/Forms/TextInput/styles/style.scss +67 -0
- package/src/components/Forms/index.ts +1 -1
- package/src/components/Forms/styles/config.scss +13 -10
- package/src/components/Gauge/Gauge.tsx +1 -1
- package/src/components/Gauge/GaugeMaker.tsx +5 -5
- package/src/components/Gauge/styles/style.scss +1 -1
- package/src/components/Gauge/tests/{Gauge.unit.test.js → Gauge.unit.test.jsx} +0 -1
- package/src/components/Grid/Grid.tsx +13 -4
- package/src/components/Grid/GridCol.tsx +21 -10
- package/src/components/Grid/styles/config.scss +7 -3
- package/src/components/Grid/styles/mixins.scss +63 -19
- package/src/components/Grid/styles/style.scss +15 -5
- package/src/components/Grid/tests/{Grid.unit.test.js → Grid.unit.test.jsx} +46 -6
- package/src/components/Grid/tests/{GridCol.unit.test.js → GridCol.unit.test.jsx} +1 -2
- package/src/components/Hero/Hero.tsx +3 -17
- package/src/components/Hero/styles/config.scss +0 -1
- package/src/components/Hero/styles/style.scss +0 -14
- package/src/components/Hero/tests/{Hero.conformance.test.js → Hero.conformance.test.jsx} +1 -2
- package/src/components/Hero/tests/Hero.unit.test.jsx +261 -0
- package/src/components/Hero/tests/data.js +26 -26
- package/src/components/Icon/Icon.tsx +1 -1
- package/src/components/Icon/IconSearch.jsx +15 -46
- package/src/components/Icon/PictogramSearch.jsx +123 -0
- package/src/components/Icon/PictogramSearchWrapper.tsx +31 -0
- package/src/components/Icon/SpritePathContext.tsx +1 -1
- package/src/components/Icon/iconSearchTags.ts +181 -173
- package/src/components/Icon/iconUtils.js +63 -0
- package/src/components/Icon/index.ts +1 -1
- package/src/components/Icon/styles/export/size.scss +2 -2
- package/src/components/Icon/styles/mixins.scss +3 -3
- package/src/components/Icon/styles/style.scss +32 -1
- package/src/components/Icon/tests/{Icon.conformance.test.js → Icon.conformance.test.jsx} +1 -2
- package/src/components/Icon/tests/{Icon.unit.test.js → Icon.unit.test.jsx} +2 -4
- package/src/components/Icon/tests/{Pictogram.unit.test.js → Pictogram.unit.test.jsx} +2 -21
- package/src/components/IconList/IconList.tsx +1 -1
- package/src/components/IconList/Item.tsx +15 -11
- package/src/components/IconList/styles/config.scss +2 -2
- package/src/components/IconList/styles/mixins.scss +5 -5
- package/src/components/IconList/styles/style.scss +1 -1
- package/src/components/IconList/tests/{IconList.conformance.test.js → IconList.conformance.test.jsx} +2 -3
- package/src/components/IconList/tests/IconList.unit.test.jsx +82 -0
- package/src/components/IconList/tests/{Item.unit.test.js → Item.unit.test.jsx} +1 -1
- package/src/components/Image/Image.tsx +1 -1
- package/src/components/Image/styles/mixins.scss +2 -2
- package/src/components/Image/tests/{Image.conformance.test.js → Image.conformance.test.jsx} +1 -1
- package/src/components/Image/tests/{Image.unit.test.js → Image.unit.test.jsx} +12 -4
- package/src/components/Link/Link.tsx +5 -6
- package/src/components/Link/styles/mixins.scss +8 -4
- package/src/components/Link/tests/{Link.conformance.test.js → Link.conformance.test.jsx} +3 -9
- package/src/components/Link/tests/{Link.unit.test.js → Link.unit.test.jsx} +6 -26
- package/src/components/List/ClickableControl.tsx +12 -12
- package/src/components/List/List.tsx +13 -13
- package/src/components/List/ListItem.tsx +11 -11
- package/src/components/List/styles/config.scss +12 -12
- package/src/components/List/styles/mixins.scss +16 -9
- package/src/components/List/tests/{ClickableControl.unit.test.js → ClickableControl.unit.test.jsx} +0 -1
- package/src/components/List/tests/{List.conformance.test.js → List.conformance.test.jsx} +16 -17
- package/src/components/List/tests/ListItem.unit.test.jsx +103 -0
- package/src/components/Loader/Loader.tsx +3 -11
- package/src/components/Loader/LoaderFullscreen.tsx +32 -0
- package/src/components/Loader/index.ts +1 -0
- package/src/components/Loader/styles/config.scss +5 -5
- package/src/components/Loader/styles/mixins.scss +25 -1
- package/src/components/Loader/styles/style.scss +13 -4
- package/src/components/Loader/tests/{Loader.conformance.test.js → Loader.conformance.test.jsx} +1 -1
- package/src/components/Loader/tests/LoaderFullscreen.conformance.test.jsx +21 -0
- package/src/components/Loader/tests/LoaderFullscreen.unit.test.jsx +41 -0
- package/src/components/Loader/tests/test.scss +1 -1
- package/src/components/Megamenu/BrandMark.tsx +15 -0
- package/src/components/Megamenu/Logo.tsx +13 -0
- package/src/components/Megamenu/LogoJeTu.tsx +60 -0
- package/src/components/Megamenu/MegaMenuIcon.tsx +1 -1
- package/src/components/Megamenu/Megamenu.static.ts +294 -98
- package/src/components/Megamenu/Megamenu.tsx +408 -594
- package/src/components/Megamenu/MegamenuBlog.tsx +211 -95
- package/src/components/Megamenu/MegamenuSearchContent.tsx +82 -0
- package/src/components/Megamenu/MyOrangeMobilePanel.tsx +126 -0
- package/src/components/Megamenu/constants.ts +21 -0
- package/src/components/Megamenu/data.ts +231 -0
- package/src/components/Megamenu/ids.ts +35 -0
- package/src/components/Megamenu/index.ts +1 -1
- package/src/components/Megamenu/static.ts +7 -13
- package/src/components/Megamenu/styles/mixins.scss +430 -65
- package/src/components/Megamenu/styles/style.scss +74 -0
- package/src/components/Megamenu/tests/Megamenu.unit.test.jsx +41 -0
- package/src/components/Modal/Modal.static.ts +77 -56
- package/src/components/Modal/Modal.tsx +38 -29
- package/src/components/Modal/ModalBody.tsx +27 -15
- package/src/components/Modal/ModalCloseButton.tsx +1 -1
- package/src/components/Modal/ModalProductFooter.tsx +1 -1
- package/src/components/Modal/ModalProductHeader.tsx +7 -3
- package/src/components/Modal/index.ts +2 -3
- package/src/components/Modal/styles/config.scss +4 -4
- package/src/components/Modal/styles/mixins.scss +22 -57
- package/src/components/Modal/styles/style.scss +1 -16
- package/src/components/Modal/tests/{Modal.conformance.test.js → Modal.conformance.test.jsx} +3 -4
- package/src/components/Modal/tests/{Modal.unit.test.js → Modal.unit.test.jsx} +0 -60
- package/src/components/Modal/tests/{ModalBody.unit.test.js → ModalBody.unit.test.jsx} +21 -12
- package/src/components/Modal/tests/{ModalProductHeader.unit.test.js → ModalProductHeader.unit.test.jsx} +12 -1
- package/src/components/Modal/tests/{ModalTitle.unit.test.js → ModalTitle.unit.test.jsx} +0 -1
- package/src/components/Pagination/Pagination.tsx +3 -14
- package/src/components/Pagination/PaginationItem.tsx +1 -1
- package/src/components/Pagination/Separator.tsx +1 -1
- package/src/components/Pagination/helpers.ts +6 -1
- package/src/components/Pagination/styles/mixins.scss +9 -7
- package/src/components/Pagination/styles/style.scss +0 -4
- package/src/components/Pagination/tests/Item.unit.test.jsx +95 -0
- package/src/components/Pagination/tests/{Pagination.conformance.test.js → Pagination.conformance.test.jsx} +7 -8
- package/src/components/Pagination/tests/Pagination.unit.test.jsx +107 -0
- package/src/components/Pagination/tests/Separator.unit.test.jsx +24 -0
- package/src/components/Pill/Pill.tsx +14 -7
- package/src/components/Pill/styles/config.scss +2 -21
- package/src/components/Pill/styles/style.scss +18 -6
- package/src/components/Pill/tests/{Pill.conformance.test.js → Pill.conformance.test.jsx} +9 -7
- package/src/components/Pill/tests/Pill.unit.test.jsx +148 -0
- package/src/components/Preview/CodeExample.tsx +72 -34
- package/src/components/Preview/Preview.tsx +28 -14
- package/src/components/Preview/PreviewGenerator.tsx +351 -47
- package/src/components/Preview/PreviewTitleBar.tsx +1 -1
- package/src/components/Preview/getElementDisplayName.ts +25 -0
- package/src/components/Preview/index.tsx +1 -1
- package/src/components/Preview/styles/style.scss +51 -1
- package/src/components/Progress/Progress.tsx +2 -14
- package/src/components/Progress/index.ts +1 -1
- package/src/components/Progress/styles/config.scss +4 -4
- package/src/components/Progress/styles/mixins.scss +9 -7
- package/src/components/Progress/tests/{Progress.conformance.test.js → Progress.conformance.test.jsx} +6 -7
- package/src/components/Progress/tests/Progress.unit.test.jsx +111 -0
- package/src/components/PromoBanner/PromoBanner.tsx +72 -20
- package/src/components/PromoBanner/styles/mixins.scss +59 -12
- package/src/components/PromoBanner/styles/style.scss +49 -2
- package/src/components/PromoBanner/tests/PromoBanner.conformance.test.jsx +784 -0
- package/src/components/PromoBanner/tests/PromoBanner.unit.test.jsx +596 -0
- package/src/components/PromotionCard/PromotionCard.tsx +12 -13
- package/src/components/PromotionCard/PromotionCardContent.tsx +8 -8
- package/src/components/PromotionCard/PromotionCardImageWrapper.tsx +7 -9
- package/src/components/PromotionCard/PromotionCardSection.tsx +1 -1
- package/src/components/PromotionCard/PromotionCardTitle.tsx +11 -11
- package/src/components/PromotionCard/constants.ts +2 -2
- package/src/components/PromotionCard/styles/config.scss +2 -4
- package/src/components/PromotionCard/styles/mixins.scss +4 -2
- package/src/components/PromotionCard/tests/PromotionCard.conformance.test.jsx +565 -0
- package/src/components/PromotionCard/tests/PromotionCard.unit.test.jsx +437 -0
- package/src/components/Section/Section.tsx +21 -11
- package/src/components/Section/styles/mixins.scss +38 -13
- package/src/components/Section/styles/style.scss +1 -0
- package/src/components/Section/tests/{Section.conformance.test.js → Section.conformance.test.jsx} +27 -17
- package/src/components/Section/tests/{Section.unit.test.js → Section.unit.test.jsx} +54 -34
- package/src/components/Skeleton/Skeleton.tsx +1 -1
- package/src/components/Skeleton/styles/mixins.scss +3 -3
- package/src/components/Skeleton/tests/{Skeleton.conformance.test.js → Skeleton.conformance.test.jsx} +1 -1
- package/src/components/SkipLink/SkipLink.tsx +1 -1
- package/src/components/SkipLink/tests/{SkipLink.unit.test.js → SkipLink.unit.test.jsx} +1 -5
- package/src/components/SocialButton/SocialButton.tsx +67 -0
- package/src/components/SocialButton/index.ts +1 -0
- package/src/components/SocialButton/styles/config.scss +172 -0
- package/src/components/SocialButton/styles/mixins.scss +42 -0
- package/src/components/SocialButton/styles/style.scss +16 -0
- package/src/components/SocialButton/tests/SocialButton.unit.test.jsx +162 -0
- package/src/components/Stepbar/Stepbar.tsx +1 -6
- package/src/components/Stepbar/styles/config.scss +34 -17
- package/src/components/Stepbar/styles/mixins.scss +6 -4
- package/src/components/Stepbar/styles/style.scss +4 -2
- package/src/components/Stepbar/tests/{Stepbar.conformance.test.js → Stepbar.conformance.test.jsx} +1 -1
- package/src/components/Sticker/Sticker.tsx +14 -8
- package/src/components/Sticker/index.ts +1 -0
- package/src/components/Sticker/styles/mixins.scss +2 -2
- package/src/components/Sticker/tests/Sticker.conformance.test.jsx +16 -0
- package/src/components/Sticker/tests/Sticker.unit.test.jsx +39 -0
- package/src/components/Table/Header.tsx +1 -2
- package/src/components/Table/Row.tsx +10 -5
- package/src/components/Table/Rows.tsx +1 -2
- package/src/components/Table/Table.tsx +15 -11
- package/src/components/Table/TableContext.ts +1 -0
- package/src/components/Table/docsData.ts +25 -1
- package/src/components/Table/index.ts +1 -1
- package/src/components/Table/styles/mixins.scss +51 -11
- package/src/components/Table/styles/style.scss +6 -4
- package/src/components/Table/tests/{Footer.unit.test.js → Footer.unit.test.jsx} +1 -2
- package/src/components/Table/tests/{Header.unit.test.js → Header.unit.test.jsx} +1 -2
- package/src/components/Table/tests/{Row.unit.test.js → Row.unit.test.jsx} +1 -2
- package/src/components/Table/tests/{Rows.unit.test.js → Rows.unit.test.jsx} +1 -2
- package/src/components/Table/tests/{Table.conformance.test.js → Table.conformance.test.jsx} +11 -7
- package/src/components/Table/tests/{Table.unit.test.js → Table.unit.test.jsx} +1 -32
- package/src/components/Table/types.ts +1 -0
- package/src/components/Tabs/Tabs.static.ts +157 -30
- package/src/components/Tabs/Tabs.tsx +64 -74
- package/src/components/Tabs/index.ts +2 -2
- package/src/components/Tabs/styles/config.scss +18 -25
- package/src/components/Tabs/styles/mixins.scss +94 -29
- package/src/components/Tabs/styles/style.scss +4 -15
- package/src/components/Tabs/tests/{Tabs.unit.test.js → Tabs.unit.test.jsx} +112 -10
- package/src/components/Tag/Tag.tsx +1 -5
- package/src/components/Tag/TagButton.tsx +1 -1
- package/src/components/Tag/index.ts +1 -1
- package/src/components/Tag/styles/config.scss +31 -31
- package/src/components/Tag/styles/mixins.scss +3 -2
- package/src/components/Tag/styles/style.scss +55 -0
- package/src/components/Tag/tests/{Tag.conformance.test.js → Tag.conformance.test.jsx} +2 -3
- package/src/components/Tag/tests/{Tag.unit.test.js → Tag.unit.test.jsx} +5 -7
- package/src/components/Tag/tests/{TagButton.conformance.test.js → TagButton.conformance.test.jsx} +1 -1
- package/src/components/Tag/tests/{TagButton.unit.test.js → TagButton.unit.test.jsx} +4 -3
- package/src/components/Testimonial/Testimonial.tsx +15 -15
- package/src/components/Testimonial/styles/config.scss +25 -22
- package/src/components/Testimonial/styles/mixins.scss +36 -32
- package/src/components/Testimonial/tests/Testimonial.conformance.test.jsx +16 -0
- package/src/components/Testimonial/tests/Testimonial.unit.test.jsx +43 -0
- package/src/components/Tile/Tile.tsx +19 -36
- package/src/components/Tile/styles/mixins.scss +57 -44
- package/src/components/Tile/styles/style.scss +5 -33
- package/src/components/Tile/tests/{Tile.conformance.test.js → Tile.conformance.test.jsx} +1 -1
- package/src/components/Tile/tests/Tile.unit.test.jsx +64 -0
- package/src/components/Tooltip/InfoTooltip.tsx +2 -6
- package/src/components/Tooltip/Tooltip.static.ts +100 -66
- package/src/components/Tooltip/Tooltip.tsx +3 -13
- package/src/components/Tooltip/index.ts +1 -1
- package/src/components/Tooltip/styles/mixins.scss +14 -13
- package/src/components/Tooltip/tests/{Tooltip.conformance.test.js → Tooltip.conformance.test.jsx} +6 -2
- package/src/components/Tooltip/tests/{Tooltip.unit.test.js → Tooltip.unit.test.jsx} +41 -57
- package/src/components/index.ts +48 -37
- package/src/styles/base/globals-forms.scss +8 -0
- package/src/styles/base/globals.scss +67 -30
- package/src/styles/base/styleguide.scss +23 -18
- package/src/styles/export/base.js +2 -2
- package/src/styles/export/breakpoint.scss +1 -1
- package/src/styles/export/breakpoint.ts +7 -7
- package/src/styles/export/color.js +102 -20
- package/src/styles/export/color.scss +10 -20
- package/src/styles/export/space.scss +1 -1
- package/src/styles/shame.scss +16 -3
- package/src/styles/tokens/base.scss +1 -1
- package/src/styles/tokens/breakpoint.scss +64 -49
- package/src/styles/tokens/color-vars.scss +37 -0
- package/src/styles/tokens/color.scss +14 -14
- package/src/styles/tokens/space.scss +9 -9
- package/src/styles/tokens/tag-colors.scss +20 -0
- package/src/styles/tools/convert.scss +8 -0
- package/src/styles/tools/generate.scss +6 -6
- package/src/styles/tools/layout.scss +3 -3
- package/src/styles/tools/map.scss +2 -2
- package/src/styles/tools/text.scss +1 -1
- package/src/styles/typography/config.scss +102 -30
- package/src/styles/typography/mixins.scss +29 -17
- package/src/styles/typography/style.scss +19 -3
- package/src/styles/utilities/border.scss +1 -1
- package/src/styles/utilities/color.scss +0 -153
- package/src/styles/utilities/horizontal-scroll.scss +34 -12
- package/src/styles/utilities/index.scss +7 -6
- package/src/styles/utilities/layout.scss +18 -0
- package/src/styles/utilities/ordering.scss +44 -0
- package/src/styles/utilities/text.scss +43 -2
- package/src/styles/utilities/visibility.scss +2 -4
- package/build/components/index.css +0 -2
- package/build/components/index.css.map +0 -1
- package/build/components/types/src/components/Hero/HeroPlayground.d.ts +0 -2
- package/build/components/types/src/components/Modal/ModalProductBody.d.ts +0 -10
- package/build/lib/after-components.css +0 -2
- package/build/lib/after-components.css.map +0 -1
- package/build/lib/before-components.css +0 -3
- package/build/lib/before-components.css.map +0 -1
- package/build/lib/scripts.css +0 -2
- package/build/lib/scripts.css.map +0 -1
- package/src/components/Accordion/Accordion.mdx +0 -240
- package/src/components/Alert/Alert.mdx +0 -141
- package/src/components/AnchorNavigation/tests/AnchorNavigation.unit.test.js +0 -163
- package/src/components/Bar/Bar.mdx +0 -203
- package/src/components/BlockAction/BlockAction.mdx +0 -244
- package/src/components/BodyBanner/BodyBanner.mdx +0 -268
- package/src/components/Breadcrumbs/Breadcrumbs.mdx +0 -84
- package/src/components/Button/Button.mdx +0 -273
- package/src/components/Buttons/Buttons.mdx +0 -39
- package/src/components/Card/Card.mdx +0 -334
- package/src/components/Card/tests/Card.unit.test.js +0 -42
- package/src/components/Carousel/Carousel.mdx +0 -159
- package/src/components/CarouselPromotions/CarouselPromotions.mdx +0 -246
- package/src/components/CartTable/CartTable.mdx +0 -129
- package/src/components/Container/Container.mdx +0 -73
- package/src/components/Controls/Controls.mdx +0 -469
- package/src/components/Cover/Cover.mdx +0 -87
- package/src/components/Cover/tests/Cover.conformance.test.js +0 -28
- package/src/components/Cover/tests/Cover.unit.test.js +0 -116
- package/src/components/Divider/Divider.mdx +0 -65
- package/src/components/Dropdown/Dropdown.mdx +0 -260
- package/src/components/Expander/Expander.mdx +0 -153
- package/src/components/Expander/tests/Expander.unit.test.js +0 -124
- package/src/components/FeatureAccordion/FeatureAccordion.mdx +0 -33
- package/src/components/Forms/Autocomplete/Autocomplete.mdx +0 -198
- package/src/components/Forms/Checkbox/Checkbox.mdx +0 -139
- package/src/components/Forms/DatePicker/DatePicker.mdx +0 -149
- package/src/components/Forms/Field/Field.mdx +0 -383
- package/src/components/Forms/Field/tests/Group.Field.conformance.test.js +0 -47
- package/src/components/Forms/Fieldset/Fieldset.mdx +0 -178
- package/src/components/Forms/File/File.mdx +0 -88
- package/src/components/Forms/FormTooltip.mdx +0 -51
- package/src/components/Forms/Forms.mdx +0 -48
- package/src/components/Forms/Group/Group.mdx +0 -146
- package/src/components/Forms/Hint/Hint.mdx +0 -40
- package/src/components/Forms/InputStepper/InputStepper.mdx +0 -147
- package/src/components/Forms/Label/Label.mdx +0 -95
- package/src/components/Forms/Message/Message.mdx +0 -40
- package/src/components/Forms/Radio/Radio.mdx +0 -98
- package/src/components/Forms/RangeSlider/RangeSlider.mdx +0 -304
- package/src/components/Forms/Select/Select.mdx +0 -106
- package/src/components/Forms/TextArea/TextArea.mdx +0 -109
- package/src/components/Forms/TextInput/TextInput.mdx +0 -153
- package/src/components/Gauge/Gauge.mdx +0 -35
- package/src/components/Grid/Grid.mdx +0 -320
- package/src/components/Hero/Hero.mdx +0 -168
- package/src/components/Hero/HeroPlayground.tsx +0 -369
- package/src/components/Hero/tests/Hero.unit.test.js +0 -272
- package/src/components/Icon/Icon.mdx +0 -172
- package/src/components/IconList/IconList.mdx +0 -53
- package/src/components/IconList/tests/IconList.unit.test.js +0 -79
- package/src/components/Image/Image.mdx +0 -175
- package/src/components/Link/Link.mdx +0 -238
- package/src/components/List/List.mdx +0 -216
- package/src/components/List/tests/ListItem.unit.test.js +0 -104
- package/src/components/Loader/Loader.mdx +0 -148
- package/src/components/Modal/Modal.mdx +0 -565
- package/src/components/Modal/ModalProductBody.tsx +0 -52
- package/src/components/Pagination/Pagination.mdx +0 -45
- package/src/components/Pagination/tests/Item.unit.test.js +0 -96
- package/src/components/Pagination/tests/Pagination.unit.test.js +0 -108
- package/src/components/Pagination/tests/Separator.unit.test.js +0 -25
- package/src/components/Pagination/tests/utils.js +0 -12
- package/src/components/Pill/Pill.mdx +0 -41
- package/src/components/Pill/tests/Pill.unit.test.js +0 -108
- package/src/components/Progress/Progress.mdx +0 -119
- package/src/components/Progress/tests/Progress.unit.test.js +0 -108
- package/src/components/PromotionCard/PromotionCard.mdx +0 -191
- package/src/components/Section/Section.mdx +0 -397
- package/src/components/Skeleton/Skeleton.mdx +0 -90
- package/src/components/SkipLink/SkipLink.mdx +0 -23
- package/src/components/Stepbar/Stepbar.mdx +0 -137
- package/src/components/Sticker/Sticker.mdx +0 -50
- package/src/components/Sticker/tests/Sticker.conformance.test.js +0 -17
- package/src/components/Sticker/tests/Sticker.unit.test.js +0 -42
- package/src/components/Table/Table.mdx +0 -199
- package/src/components/Tabs/Tabs.mdx +0 -373
- package/src/components/Tag/Tag.mdx +0 -52
- package/src/components/Testimonial/Testimonial.mdx +0 -41
- package/src/components/Testimonial/tests/Testimonial.conformance.test.js +0 -17
- package/src/components/Testimonial/tests/Testimonial.unit.test.js +0 -44
- package/src/components/Tile/CHANGELOG.md +0 -14
- package/src/components/Tile/Tile.mdx +0 -163
- package/src/components/Tile/styles/config.scss +0 -18
- package/src/components/Tile/tests/Tile.unit.test.js +0 -126
- package/src/components/Tooltip/Tooltip.mdx +0 -227
- package/src/styles/after-components.scss +0 -2
- package/src/styles/before-components.scss +0 -18
- /package/build/lib/{after-components.js → base.js} +0 -0
- /package/build/lib/{before-components.js → utilities.js} +0 -0
- /package/src/components/Bar/tests/{Bar.unit.test.js → Bar.unit.test.jsx} +0 -0
- /package/src/components/Bar/tests/{BarBreak.unit.test.js → BarBreak.unit.test.jsx} +0 -0
- /package/src/components/Bar/tests/{BarItem.unit.test.js → BarItem.unit.test.jsx} +0 -0
- /package/src/components/BlockAction/tests/{BlockAction.unit.test.js → BlockAction.unit.test.jsx} +0 -0
- /package/src/components/BlockAction/tests/{BlockActionIndicator.unit.test.js → BlockActionIndicator.unit.test.jsx} +0 -0
- /package/src/components/BlockAction/tests/{CloneElementWithClassName.unit.test.js → CloneElementWithClassName.unit.test.jsx} +0 -0
- /package/src/components/Buttons/tests/{Buttons.unit.test.js → Buttons.unit.test.jsx} +0 -0
- /package/src/components/Carousel/tests/{CarouselItem.unit.test.js → CarouselItem.unit.test.jsx} +0 -0
- /package/src/components/CarouselPromotions/tests/{CarouselPromotionsItem.unit.test.js → CarouselPromotionsItem.unit.test.jsx} +0 -0
- /package/src/components/Forms/Checkbox/tests/{Checkbox.unit.test.js → Checkbox.unit.test.jsx} +0 -0
- /package/src/components/Forms/DatePicker/tests/{DatePicker.unit.test.js → DatePicker.unit.test.jsx} +0 -0
- /package/src/components/Forms/Field/tests/{Field.unit.test.js → Field.unit.test.jsx} +0 -0
- /package/src/components/Forms/Field/tests/{Label.unit.test.js → Label.unit.test.jsx} +0 -0
- /package/src/components/Forms/Field/tests/{Messages.unit.test.js → Messages.unit.test.jsx} +0 -0
- /package/src/components/Forms/Fieldset/tests/{Fieldset.unit.test.js → Fieldset.unit.test.jsx} +0 -0
- /package/src/components/Forms/Group/tests/{Item.unit.test.js → Item.unit.test.jsx} +0 -0
- /package/src/components/Forms/Hint/tests/{Hint.unit.test.js → Hint.unit.test.jsx} +0 -0
- /package/src/components/Forms/Label/tests/{Label.unit.test.js → Label.unit.test.jsx} +0 -0
- /package/src/components/Forms/Message/tests/{Message.unit.test.js → Message.unit.test.jsx} +0 -0
- /package/src/components/Forms/Radio/tests/{Radio.unit.test.js → Radio.unit.test.jsx} +0 -0
- /package/src/components/Forms/Select/tests/{Select.unit.test.js → Select.unit.test.jsx} +0 -0
- /package/src/components/Forms/TextArea/tests/{TextArea.unit.test.js → TextArea.unit.test.jsx} +0 -0
- /package/src/components/Forms/TextInput/tests/{TextInput.unit.test.js → TextInput.unit.test.jsx} +0 -0
- /package/src/components/Gauge/tests/{Gauge.conformance.test.js → Gauge.conformance.test.jsx} +0 -0
- /package/src/components/List/tests/{List.unit.test.js → List.unit.test.jsx} +0 -0
- /package/src/components/Loader/tests/{Loader.unit.test.js → Loader.unit.test.jsx} +0 -0
- /package/src/components/Modal/tests/{ModalCloseButton.unit.test.js → ModalCloseButton.unit.test.jsx} +0 -0
- /package/src/components/Skeleton/tests/{Skeleton.unit.test.js → Skeleton.unit.test.jsx} +0 -0
- /package/src/components/Stepbar/tests/{Stepbar.unit.test.js → Stepbar.unit.test.jsx} +0 -0
- /package/src/components/Table/tests/{Cell.unit.test.js → Cell.unit.test.jsx} +0 -0
- /package/src/components/Tabs/tests/{Tab.unit.test.js → Tab.unit.test.jsx} +0 -0
- /package/src/components/Tabs/tests/{TabPanel.unit.test.js → TabPanel.unit.test.jsx} +0 -0
- /package/src/components/Tooltip/tests/{InfoTooltip.unit.test.js → InfoTooltip.unit.test.jsx} +0 -0
|
@@ -1,24 +1,2 @@
|
|
|
1
|
-
import e,{createContext as t,useRef as n,useEffect as i,useCallback as r,useState as a,useContext as s,cloneElement as o,forwardRef as l,createElement as c,useId as d,useMemo as u}from"react";function p(e,t){return t.forEach(function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach(function(n){if("default"!==n&&!(n in e)){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}})}),Object.freeze(e)}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function f(e,t,n,i,r,a,s){try{var o=e[a](s),l=o.value}catch(e){return void n(e)}o.done?t(l):Promise.resolve(l).then(i,r)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,N(i.key),i)}}function g(e,t,n){return t&&v(e.prototype,t),n&&v(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function y(e,t,n){return(t=N(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?b(Object(n),!0).forEach(function(t){y(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):b(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function x(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function w(){
|
|
2
|
-
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
3
|
-
var e,t,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",r=n.toStringTag||"@@toStringTag";function a(n,i,r,a){var l=i&&i.prototype instanceof o?i:o,c=Object.create(l.prototype);return S(c,"_invoke",function(n,i,r){var a,o,l,c=0,d=r||[],u=!1,p={p:0,n:0,v:e,a:h,f:h.bind(e,4),d:function(t,n){return a=t,o=0,l=e,p.n=n,s}};function h(n,i){for(o=n,l=i,t=0;!u&&c&&!r&&t<d.length;t++){var r,a=d[t],h=p.p,f=a[2];n>3?(r=f===i)&&(l=a[(o=a[4])?5:(o=3,3)],a[4]=a[5]=e):a[0]<=h&&((r=n<2&&h<a[1])?(o=0,p.v=i,p.n=a[1]):h<f&&(r=n<3||a[0]>i||i>f)&&(a[4]=n,a[5]=i,p.n=f,o=0))}if(r||n>1)return s;throw u=!0,i}return function(r,d,f){if(c>1)throw TypeError("Generator is already running");for(u&&1===d&&h(d,f),o=d,l=f;(t=o<2?e:l)||!u;){a||(o?o<3?(o>1&&(p.n=-1),h(o,l)):p.n=l:p.v=l);try{if(c=2,a){if(o||(r="next"),t=a[r]){if(!(t=t.call(a,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,o<2&&(o=0)}else 1===o&&(t=a.return)&&t.call(a),o<2&&(l=TypeError("The iterator does not provide a '"+r+"' method"),o=1);a=e}else if((t=(u=p.n<0)?l:n.call(i,p))!==s)break}catch(t){a=e,o=1,l=t}finally{c=1}}return{value:t,done:u}}}(n,r,a),!0),c}var s={};function o(){}function l(){}function c(){}t=Object.getPrototypeOf;var d=[][i]?t(t([][i]())):(S(t={},i,function(){return this}),t),u=c.prototype=o.prototype=Object.create(d);function p(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,S(e,r,"GeneratorFunction")),e.prototype=Object.create(u),e}return l.prototype=c,S(u,"constructor",c),S(c,"constructor",l),l.displayName="GeneratorFunction",S(c,r,"GeneratorFunction"),S(u),S(u,r,"Generator"),S(u,i,function(){return this}),S(u,"toString",function(){return"[object Generator]"}),(w=function(){return{w:a,m:p}})()}function S(e,t,n,i){var r=Object.defineProperty;try{r({},"",{})}catch(e){r=0}S=function(e,t,n,i){function a(t,n){S(e,t,function(e){return this._invoke(t,n,e)})}t?r?r(e,t,{value:n,enumerable:!i,configurable:!i,writable:!i}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},S(e,t,n,i)}function k(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,a,s,o=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=a.call(n)).done)&&(o.push(i.value),o.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw r}}return o}}(e,t)||T(e,t)||function(){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 E(e){return function(e){if(Array.isArray(e))return h(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||T(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 N(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t);if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}function C(e){return C="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},C(e)}function T(e,t){if(e){if("string"==typeof e)return h(e,t);var n={}.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)?h(e,t):void 0}}function A(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var O,j={exports:{}};
|
|
4
|
-
/*!
|
|
5
|
-
Copyright (c) 2018 Jed Watson.
|
|
6
|
-
Licensed under the MIT License (MIT), see
|
|
7
|
-
http://jedwatson.github.io/classnames
|
|
8
|
-
*/var L,D=(O||(O=1,L=j,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=i(e,n(r)))}return e}function n(n){if("string"==typeof n||"number"==typeof n)return n;if("object"!=typeof n)return"";if(Array.isArray(n))return t.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]"))return n.toString();var r="";for(var a in n)e.call(n,a)&&n[a]&&(r=i(r,a));return r}function i(e,t){return t?e?e+" "+t:e+t:e}L.exports?(t.default=t,L.exports=t):window.classNames=t}()),j.exports),P=A(D),M={TAB:["Tab"],ESC:["Esc","Escape"],ARROWLEFT:["Left","ArrowLeft"],ARROWUP:["Up","ArrowUp"],ARROWRIGHT:["Right","ArrowRight"],ARROWDOWN:["Down","ArrowDown"]},I=function(){return g(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{direction:"horizontal"};m(this,e),this.elems=t,this.config=n,this.isActive=!1,this.onKeydown=this.onKeydown.bind(this)},[{key:"init",value:function(){document.addEventListener("keydown",this.onKeydown),this.isActive=!0}},{key:"destroy",value:function(){document.removeEventListener("keydown",this.onKeydown),this.isActive=!1}},{key:"update",value:function(e){this.elems=e}},{key:"onKeydown",value:function(e){var t=this.elems.indexOf(document.activeElement);(M.ARROWUP.includes(e.key)||M.ARROWDOWN.includes(e.key))&&"horizontal"===this.config.direction||(M.ARROWLEFT.includes(e.key)||M.ARROWRIGHT.includes(e.key))&&"vertical"===this.config.direction||((M.ARROWDOWN.includes(e.key)||M.ARROWRIGHT.includes(e.key))&&(e.preventDefault(),t>=0&&t<this.elems.length-1?this.elems[t+1].focus():this.elems[0].focus()),(M.ARROWUP.includes(e.key)||M.ARROWLEFT.includes(e.key))&&(e.preventDefault(),t>=1?this.elems[t-1].focus():this.elems[this.elems.length-1].focus()),M.TAB.includes(e.key)&&this.destroy())}}])}(),R="toggleTrigger",z={activeClass:"is-active",settingsAttr:"data-toggle"},F=function(){function e(t,n){return m(this,e),this.element=t,this.config=_(_({},z),n),this.settings=[],this.targets=[],this.hasClickOutside=!1,this.handleClick=this.handleClick.bind(this),this.handleClickOutside=this.handleClickOutside.bind(this),this.element.ODS_Toggle=this,this.init(),this}return g(e,[{key:"doToggle",value:function(e){var t=e.dispatchEvent,n=void 0===t||t,i=e.element,r=e.attribute,a=e.value,s=e.action,o=_({},e),l={trigger:this.element,element:i},c=r,d=i,u=a;"icon"===c&&(c="xlink:href",d=i.querySelector("use")),"text"===c&&(d=i.querySelector("[data-toggle-text-target]")||i),void 0===u&&(u=!1);var p=B({element:d,attribute:c,action:s,value:u,dispatchEvent:n,eventDetail:l});return null!==p&&(o.value=p),o}},{key:"init",value:function(){return this.settings=this.parseSettings(),this.targets=this.setupTargets(),this.hasClickOutside=this.settings.some(function(e){return!0===e.clickOutside}),this.element.addEventListener("click",this.handleClick),this.hasClickOutside&&document.addEventListener("click",this.handleClickOutside),this.targets}},{key:"handleClick",value:function(){var e=this;this.targets=this.targets.map(function(t){return e.doToggle(t)}),this.element.dispatchEvent(new CustomEvent(R,{bubbles:!0}))}},{key:"handleClickOutside",value:function(e){var t=this,n=e.target;this.element.contains(n)||this.targets.some(function(e){return e.element.contains(n)})||this.targets.some(function(e){return"class"===e.attribute&&"string"==typeof e.value?e.element.classList.contains(e.value):"hidden"===e.attribute&&!e.element.hasAttribute("hidden")})&&(this.targets=this.targets.map(function(e){return t.doToggle(e)}),this.element.dispatchEvent(new CustomEvent(R,{bubbles:!0})))}},{key:"destroy",value:function(){this.element.removeEventListener("click",this.handleClick),this.hasClickOutside&&document.removeEventListener("click",this.handleClickOutside),this.settings=[],this.targets=[],this.hasClickOutside=!1}},{key:"update",value:function(){this.removeNonExistentTargets(),this.addNewTargets();var e=this.hasClickOutside;this.hasClickOutside=this.settings.some(function(e){return!0===e.clickOutside}),!e&&this.hasClickOutside?document.addEventListener("click",this.handleClickOutside):e&&!this.hasClickOutside&&document.removeEventListener("click",this.handleClickOutside)}},{key:"parseSettings",value:function(){var e=this.element.getAttribute(this.config.settingsAttr),t=this.element.getAttribute("aria-controls"),n=[];try{e&&(n=JSON.parse(e))}catch(e){console.warn("Invalid JSON in data-toggle attribute",e)}if(t){var i=this.element.getAttribute("aria-expanded");n=[].concat(E(i?[{target:"self",attribute:"aria-expanded"}]:[]),[{target:t.split(" ").map(function(e){return"#".concat(e)}).join(","),attribute:"hidden"}],E(Array.isArray(n)?n:[]))}return n}},{key:"setupTargets",value:function(){var t=this.element;return this.settings.reduce(function(n,i){return i&&i.target?[].concat(E(n),E(i.target.split(",").reduce(function(n,r){return[].concat(E(n),E(e.getTargetElementsFromString({target:r,trigger:t}).map(function(e){return _(_({},i),{},{element:e})})))},[]))):n},[])}},{key:"removeNonExistentTargets",value:function(){this.targets=this.targets.filter(function(e){return document.contains(e.element)})}},{key:"addNewTargets",value:function(){var e=this,t=this.setupTargets().filter(function(t){return!e.targets.find(function(e){return e.element===t.element&&e.action===t.action})});this.targets=[].concat(E(this.targets),E(t))}}],[{key:"getTargetElementsFromString",value:function(e){var t=e.target,n=e.trigger,i=t.trim();return"self"===i?[n]:"parent"===i?[n.parentNode]:"previous"===i?[n.previousElementSibling]:"next"===i?[n.nextElementSibling]:"string"==typeof i?Array.from(document.querySelectorAll(i)):[]}},{key:"getInstance",value:function(e){return e&&e.ODS_Toggle?e.ODS_Toggle:null}}])}();function B(e){var t=e.element,n=e.attribute,i=e.action,r=e.value,a=e.dispatchEvent,s=void 0===a||a,o=e.eventDetail,l=null;if(!(t&&t instanceof Element))return l;if("focus"===i&&setTimeout(function(){return t.focus()},20),"click"===i&&t.click(),"class"===n&&"string"==typeof r&&(t.classList.toggle(r),l=r),"text"===n){var c=t.textContent;t.textContent=(null==r?void 0:r.toString())||"",l=c}return"class"!==n&&"text"!==n&&void 0===i&&(l=t.getAttribute(n),"hidden"===n?t.hasAttribute(n)?t.removeAttribute(n):t.setAttribute(n,""):r?t.setAttribute(n,String(r)):t.setAttribute(n,String(!("true"===l)))),s&&t.dispatchEvent(new CustomEvent("toggle",{detail:o,bubbles:!0})),l}var H={buttonSelector:"[data-accordion-toggle]"},V=function(){return g(function e(t,n){return m(this,e),this.element=t,this.config=_(_({},H),n),this.onFocus=this.onFocus.bind(this),this.onClick=this.onClick.bind(this),this.element.ODS_Accordion=this,this.init(),this},[{key:"onFocus",value:function(e){this.rovingTabindex.isActive||this.rovingTabindex.init();var t=e.currentTarget;window.location.hash.substring(1)===t.getAttribute("id")&&"false"===t.getAttribute("aria-expanded")&&t.click()}},{key:"init",value:function(){var e=this;this.buttons=Array.from(this.element.querySelectorAll(this.config.buttonSelector)),this.rovingTabindex?this.rovingTabindex.update(this.buttons):this.rovingTabindex=new I(this.buttons,{direction:"vertical"}),this.buttons.forEach(function(t){t.addEventListener("focus",e.onFocus),t.getAttribute("data-toggle")||t.addEventListener("click",e.onClick)})}},{key:"onClick",value:function(e){var t=e.currentTarget,n=this.element.querySelector("#".concat(t.getAttribute("aria-controls")));B({element:t,attribute:"aria-expanded"}),B({element:n,attribute:"hidden"})}},{key:"destroy",value:function(){var e=this;this.rovingTabindex.destroy(),this.buttons.forEach(function(t){t.removeEventListener("focus",e.onFocus),t.removeEventListener("click",e.onClick)})}},{key:"update",value:function(){this.destroy(),this.init()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Accordion?e.ODS_Accordion:null}}])}(),U=t(null),q=0;function $(e){return"id".concat("","-").concat(q+=1)}var W=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=n(null),s=n(t),o=n(null);i(function(){s.current=null!=t?t:{}},[t]);var l=r(function(t){var n,i,r,l;o.current&&o.current!==t&&a.current&&(null===(n=(i=a.current).destroy)||void 0===n||n.call(i),a.current=null);(o.current=t,t)&&(null===a.current?a.current=new e(t,s.current):null===(r=(l=a.current).update)||void 0===r||r.call(l,s.current))},[e]);return i(function(){return function(){var e,t;a.current&&(null===(e=(t=a.current).destroy)||void 0===e||e.call(t),a.current=null);o.current=null}},[e]),[l,a]},G={current:0};function Y(e){var t=k(a(e),2),r=t[0],s=t[1],o=n(e);return i(function(){if(!e){G.current+=1;var t="id-".concat(G.current);o.current=t,s(t)}},[e]),r||o.current||e||"id-0"}var X,K={exports:{}},J={};var Z,Q,ee={};
|
|
9
|
-
/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react-jsx-runtime.development.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/function te(){return Z||(Z=1,"production"!==process.env.NODE_ENV&&function(){function t(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===E?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case f:return"Fragment";case v:return"Profiler";case m:return"StrictMode";case _:return"Suspense";case x:return"SuspenseList";case k:return"Activity"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case h:return"Portal";case y:return e.displayName||"Context";case g:return(e._context.displayName||"Context")+".Consumer";case b:var n=e.render;return(e=e.displayName)||(e=""!==(e=n.displayName||n.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case w:return null!==(n=e.displayName||null)?n:t(e.type)||"Memo";case S:n=e._payload,e=e._init;try{return t(e(n))}catch(e){}}return null}function n(e){return""+e}function i(e){try{n(e);var t=!1}catch(e){t=!0}if(t){var i=(t=console).error,r="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return i.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",r),n(e)}}function r(e){if(e===f)return"<>";if("object"==typeof e&&null!==e&&e.$$typeof===S)return"<...>";try{var n=t(e);return n?"<"+n+">":"<...>"}catch(e){return"<...>"}}function a(){return Error("react-stack-top-frame")}function s(){var e=t(this.type);return O[e]||(O[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(e=this.props.ref)?e:null}function o(e,n,r,a,o,c){var u,h=n.children;if(void 0!==h)if(a)if(T(h)){for(a=0;a<h.length;a++)l(h[a]);Object.freeze&&Object.freeze(h)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else l(h);if(C.call(n,"key")){h=t(e);var f=Object.keys(n).filter(function(e){return"key"!==e});a=0<f.length?"{key: someKey, "+f.join(": ..., ")+": ...}":"{key: someKey}",D[h+a]||(f=0<f.length?"{"+f.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',a,h,f,h),D[h+a]=!0)}if(h=null,void 0!==r&&(i(r),h=""+r),function(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(n)&&(i(n.key),h=""+n.key),"key"in n)for(var m in r={},n)"key"!==m&&(r[m]=n[m]);else r=n;return h&&function(e,t){function n(){d||(d=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",t))}n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}(r,"function"==typeof e?e.displayName||e.name||"Unknown":e),function(e,t,n,i,r,a){var o=n.ref;return e={$$typeof:p,type:e,key:t,props:n,_owner:i},null!==(void 0!==o?o:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:s}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:r}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:a}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(e,h,r,null===(u=N.A)?null:u.getOwner(),o,c)}function l(e){c(e)?e._store&&(e._store.validated=1):"object"==typeof e&&null!==e&&e.$$typeof===S&&("fulfilled"===e._payload.status?c(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function c(e){return"object"==typeof e&&null!==e&&e.$$typeof===p}var d,u=e,p=Symbol.for("react.transitional.element"),h=Symbol.for("react.portal"),f=Symbol.for("react.fragment"),m=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),g=Symbol.for("react.consumer"),y=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),k=Symbol.for("react.activity"),E=Symbol.for("react.client.reference"),N=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,T=Array.isArray,A=console.createTask?console.createTask:function(){return null},O={},j=(u={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(u,a)(),L=A(r(a)),D={};ee.Fragment=f,ee.jsx=function(e,t,n){var i=1e4>N.recentlyCreatedOwnerStacks++;return o(e,t,n,!1,i?Error("react-stack-top-frame"):j,i?A(r(e)):L)},ee.jsxs=function(e,t,n){var i=1e4>N.recentlyCreatedOwnerStacks++;return o(e,t,n,!0,i?Error("react-stack-top-frame"):j,i?A(r(e)):L)}}()),ee}function ne(){return Q||(Q=1,"production"===process.env.NODE_ENV?K.exports=function(){if(X)return J;X=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(t,n,i){var r=null;if(void 0!==i&&(r=""+i),void 0!==n.key&&(r=""+n.key),"key"in n)for(var a in i={},n)"key"!==a&&(i[a]=n[a]);else i=n;return n=i.ref,{$$typeof:e,type:t,key:r,ref:void 0!==n?n:null,props:i}}return J.Fragment=t,J.jsx=n,J.jsxs=n,J}():K.exports=te()),K.exports}var ie=ne(),re=["className","children","headingLevel","size","isEnclosed","lastItemNoBottomBorder"],ae="accordion",se=function(e){var t=e.className,n=e.children,i=e.headingLevel,r=void 0===i?3:i,a=e.size,s=e.isEnclosed,o=e.lastItemNoBottomBorder,l=x(e,re),c=k(W(V),1)[0],d=P(ae,y(y(y({},"".concat(ae,"--").concat(a),a),"".concat(ae,"--enclosed"),s),"".concat(ae,"--last-item-no-bottom-border"),o),t);return ie.jsx(U.Provider,{value:r,children:ie.jsx("ul",_(_({className:d,ref:c,"data-accordion":"true"},l),{},{children:n}))})};se.displayName="Accordion";var oe=e.createContext("/sprite.svg"),le=["className","alt","color","name","size","spritePath","type"],ce="icon",de=function(e){var t=e.className,n=e.alt,i=e.color,r=e.name,a=e.size,o=e.spritePath,l=void 0===o?"/sprite.svg":o,c=e.type,d=void 0===c?"icon":c,u=x(e,le),p=s(oe),h="pictogram"===d,f=P(ce,y(y(y({},"".concat(ce,"--").concat(a),a),"".concat(ce,"--").concat(i),i),"".concat(ce,"--pictogram"),h),t);if(h){var m="/sprite.svg"!==l||void 0===p?l:p;return ie.jsxs("svg",_(_({className:f,"aria-hidden":void 0!==n?void 0:"true",role:void 0!==n?"img":void 0},u),{},{children:[void 0!==n&&n.length>0&&ie.jsx("title",{children:n}),ie.jsx("use",{className:"".concat(ce,"__use ").concat(ce,"__use--light"),xlinkHref:"".concat(m,"#").concat(r)}),ie.jsx("use",{className:"".concat(ce,"__use ").concat(ce,"__use--dark"),xlinkHref:"".concat(m,"#").concat(r,"--dark")})]}))}return ie.jsxs("svg",_(_({className:f,"aria-hidden":void 0!==n?void 0:"true",role:void 0!==n?"img":void 0},u),{},{children:[void 0!==n&&n.length>0&&ie.jsx("title",{children:n}),ie.jsx("use",{xlinkHref:"/sprite.svg"!==l||void 0===p?"".concat(l,"#").concat(r):"".concat(p,"#").concat(r)})]}))};de.displayName="Icon";var ue=["name"],pe=function(e){var t=e.name,n=x(e,ue);return ie.jsx(de,_({name:t,type:"pictogram"},n))};pe.displayName="Pictogram";var he=["className","title","renderTitle","id","isActive","toggleAttribute"],fe="accordion",me=function(t){var n=t.className,i=t.title,r=t.renderTitle,a=t.id,s=t.isActive,o=t.toggleAttribute,l=void 0===o?"data-accordion-toggle":o,c=x(t,he),d=e.useContext(U),u="h".concat(d||3),p="data-accordion-toggle"===l,h=_(_(y({type:"button","aria-expanded":s,className:"".concat(fe,"__button"),"aria-controls":"".concat(a,"-section"),id:a},l,!0),p&&{"data-toggle":JSON.stringify([{target:"self",attribute:"aria-expanded"}])}),c);return ie.jsx(u,{className:P("".concat(fe,"__header"),n),children:ie.jsxs("button",_(_({},h),{},{children:[r?r(i):ie.jsx("span",{className:"accordion__title",children:i}),ie.jsx(de,{className:"".concat(fe,"__icon"),name:"chevron-down",size:"medium"})]}))})};me.displayName="AccordionHeader";var ve=["id","isActive","title","renderTitle","renderHeader","children","className"],ge=function(e){var t=e.id,n=e.isActive,i=e.title,r=e.renderTitle,a=e.renderHeader,s=e.children,o=e.className,l=x(e,ve),c=P("accordion__item",o),d=Y(t);return ie.jsxs("li",{className:c,children:[a?a(i,d,n||!1):ie.jsx(me,_({id:d,isActive:n,title:i,renderTitle:r},l)),ie.jsx("div",_(_({id:"".concat(d,"-section"),"aria-labelledby":d,className:P("accordion__body",{"is-active":n})},n?{}:{hidden:!0}),{},{children:s}))]})};ge.displayName="AccordionItem";var ye=["isStackedOnXs","children","className"],be="buttons",_e=function(e){var t=e.isStackedOnXs,n=e.children,i=e.className,r=x(e,ye);return ie.jsx("div",_(_({className:P(be,y({},"".concat(be,"--stack-on-xs"),t),i)},r),{},{children:n}))};_e.displayName="Buttons";var xe=function(e){var t=e.condition,n=e.wrapper,i=e.children;return t?o(n,void 0,i):i};xe.displayName="ConditionalWrapper";var we={warning:"warning-important",info:"info",danger:"error-severe",success:"checked"},Se=["className","type","title","renderTitle","description","headingLevel","actionButtons","isFullWidth","colorScheme","onClose"],ke="alert",Ee=function(t){var n=t.className,i=t.type,r=void 0===i?"info":i,a=t.title,s=t.renderTitle,o=t.description,l=t.headingLevel,c=void 0===l?3:l,d=t.actionButtons,u=t.isFullWidth,p=t.colorScheme,h=t.onClose,f=x(t,Se),m="h".concat(c),v=P(ke,y(y(y(y({},"".concat(ke,"--").concat(r),r),"".concat(ke,"--full-width"),u),"is-dark","dark"===p),"is-light","light"===p),n),g=s&&s(_({className:n,type:r,title:a,renderTitle:s,description:o,headingLevel:c,actionButtons:d,isFullWidth:u,colorScheme:p,onClose:h},f))||a&&e.createElement(m,{className:"".concat(ke,"__title")},a);return ie.jsxs("div",_(_({className:v},f),{},{children:[ie.jsx("div",{className:"".concat(ke,"__icon"),children:ie.jsx(de,{name:we[r],color:r,size:"medium"})}),ie.jsxs("div",{className:"".concat(ke,"__content"),children:[g,o&&ie.jsx(xe,{condition:"string"==typeof o,wrapper:ie.jsx("p",{}),children:o}),d&&ie.jsx(xe,{condition:e.Children.count(d)>1,wrapper:ie.jsx(_e,{}),children:e.Children.map(d,function(e){return e})})]}),h&&ie.jsx("div",{className:"".concat(ke,"__close"),children:ie.jsx("button",{onClick:h,children:ie.jsx(de,{name:"close",size:"medium"})})})]}))};Ee.displayName="Alert";var Ne=["className","children","colorScheme","isUnderline","isNormal","tag","href"],Ce=function(t){var n=t.className,i=t.children,r=t.colorScheme,a=t.isUnderline,s=t.isNormal,o=t.tag,l=void 0===o?"a":o,c=t.href,d=x(t,Ne),u=P("link",{"is-dark":"dark"===r,"is-light":"light"===r,underline:a,normal:s},n);return"a"!==l||c||console.warn("Anchor element requires a valid address. Provide a valid, navigable address as the href value. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#href"),e.createElement(l,_({href:c,className:u},d),i)};Ce.displayName="Link";var Te=["className"],Ae=l(function(e,t){var n=e.className,i=x(e,Te),r=P("container",n);return ie.jsx("div",_({className:r,ref:t},i))});Ae.displayName="Container";var Oe=function(){return g(function e(t){return m(this,e),y(this,"isAutoScrolling",!1),y(this,"navLinks",null),y(this,"sections",[]),y(this,"lastActiveIndex",0),this.element=t,this.megamenuElement=null,this.resizeObserver=null,this.isAutoScrolling=!1,this.currentPath=window.location.pathname,this.scrollHandler=this.updateStickyPosition.bind(this),this.scrollSpyHandler=this.handleScrollSpy.bind(this),this.scrollEndHandler=this.handleScrollEnd.bind(this),this.resizeHandler=this.initScrollSpy.bind(this),this.element.ODS_AnchorNavigation=this,this.init(),this},[{key:"findMegamenuElement",value:function(){return document.querySelector("[data-megamenu]")}},{key:"updateStickyPosition",value:function(){this.megamenuElement&&(this.element.style.top="".concat(this.megamenuElement.offsetHeight,"px"))}},{key:"setupMegamenuObserver",value:function(){this.megamenuElement=this.findMegamenuElement(),this.megamenuElement?(this.updateStickyPosition(),window.addEventListener("scroll",this.scrollHandler,{passive:!0}),this.resizeObserver=new ResizeObserver(this.updateStickyPosition.bind(this)),this.resizeObserver.observe(this.megamenuElement)):this.element.style.top="0px"}},{key:"setupScrollSpy",value:function(){var e=this;document.documentElement.style.setProperty("--extra-scroll-margin",this.element.offsetHeight+"px"),this.navLinks=this.element.querySelectorAll(".anchor-navigation__item"),this.sections=Array.from(this.navLinks||[]).map(function(e){return e.getAttribute("href")}).filter(function(e){return null==e?void 0:e.includes("#")}).map(function(e){return document.getElementById(e.split("#")[1])}).filter(Boolean),this.navLinks.forEach(function(t){t.addEventListener("click",function(n){n.preventDefault();var i=t.getAttribute("href");if(i&&i.includes("#")){var r=i.split("#")[1],a=document.getElementById(r);if(a){e.isAutoScrolling=!0;var s=e.megamenuElement?e.megamenuElement.offsetHeight:0,o=e.element.offsetHeight,l=a.offsetTop-s-o;window.scrollTo({top:Math.max(0,l),behavior:"smooth"}),e.initScrollSpy(r)}}})}),window.addEventListener("scroll",this.scrollSpyHandler,{passive:!0});try{window.addEventListener("scrollend",this.scrollEndHandler)}catch(n){var t;window.addEventListener("scroll",function(){clearTimeout(t),t=setTimeout(function(){e.handleScrollEnd()},150)},{passive:!0})}window.addEventListener("resize",this.resizeHandler),this.initScrollSpy()}},{key:"initScrollSpy",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.navLinks&&this.sections.length){var t,n=-1;if(this.navLinks.forEach(function(e){return e.classList.remove("is-active")}),e)(t=document.getElementById(e)||void 0)&&(n=this.sections.findIndex(function(t){return t.id===e}));else for(var i=(this.megamenuElement?this.megamenuElement.offsetHeight:0)+this.element.offsetHeight,r=window.scrollY+i+50,a=0;a<this.sections.length;a++){var s=this.sections[a],o=s.getBoundingClientRect(),l=o.top,c=o.height,d=l+window.scrollY;if(r>=d&&r<d+c){t=s,n=a;break}}if(t||(window.scrollY<=100?(n=0,t=this.sections[0]):(n=this.lastActiveIndex,t=this.sections[n])),n>=0&&(this.lastActiveIndex=n),t){var u=t.getAttribute("id"),p=this.element.querySelector('.anchor-navigation__item[href="#'.concat(u,'"]'));if(p||(p=this.element.querySelector('.anchor-navigation__item[href="'.concat(this.currentPath,"#").concat(u,'"]'))),p||(p=Array.from(this.navLinks).find(function(e){var t=e.getAttribute("href");return t&&t.endsWith("#".concat(u))})),p){p.classList.add("is-active");var h=this.element.querySelector(".anchor-navigation__content-left");h&&h.scrollTo({left:p.offsetLeft-this.element.clientWidth/2+p.clientWidth/2,behavior:"smooth"})}}}}},{key:"handleScrollSpy",value:function(){this.isAutoScrolling||this.initScrollSpy()}},{key:"handleScrollEnd",value:function(){this.isAutoScrolling=!1,this.initScrollSpy()}},{key:"init",value:function(){this.setupMegamenuObserver(),this.setupScrollSpy()}},{key:"destroy",value:function(){window.removeEventListener("scroll",this.scrollHandler),window.removeEventListener("scroll",this.scrollSpyHandler),window.removeEventListener("scrollend",this.scrollEndHandler),window.removeEventListener("resize",this.resizeHandler),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.element.style.top="",this.megamenuElement=null,this.navLinks=null,this.sections=[],this.lastActiveIndex=0,this.element.ODS_AnchorNavigation=null}},{key:"update",value:function(){window.removeEventListener("scroll",this.scrollHandler),window.removeEventListener("scroll",this.scrollSpyHandler),window.removeEventListener("scrollend",this.scrollEndHandler),window.removeEventListener("resize",this.resizeHandler),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),this.megamenuElement=null,this.navLinks=null,this.sections=[],this.lastActiveIndex=0,this.init()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_AnchorNavigation?e.ODS_AnchorNavigation:null}}])}(),je=["items","className","colorScheme","children"],Le="anchor-navigation",De=function(e){var t=e.items,n=e.className,i=e.colorScheme,r=e.children,a=x(e,je),s=P(Le,{"is-light":"light"===i,"is-dark":"dark"===i},n),o=k(W(Oe),1)[0];return ie.jsx("nav",_(_({className:s,ref:o,"data-anchor-navigation":!0,"aria-label":"Sekcie stránky"},a),{},{children:ie.jsxs(Ae,{className:"".concat(Le,"__content"),children:[ie.jsx("ul",{className:P("list-inline horizontal-scroll mb-none","".concat(Le,"__content-left")),children:t.map(function(e){return ie.jsx("li",{children:ie.jsx(Ce,{href:e.href,className:P("".concat(Le,"__item"),{"is-active":e.isActive}),children:e.label})},e.href)})}),r&&ie.jsx("div",{className:"".concat(Le,"__content-right"),children:r})]})}))};De.displayName="AnchorNavigation";var Pe=["color","size","isInverse","isDisabled","className","children","actionButton"],Me=["onClick"],Ie=["href"],Re="tag",ze=e.forwardRef(function(t,n){var i=t.color,r=t.size,a=t.isInverse,s=t.isDisabled,o=t.className,l=t.children,c=t.actionButton,d=x(t,Pe),u=P(Re,o,y(y({"tag--inverse":a},"tag--".concat(i),i),"tag--".concat(r),r));if("onClick"in t&&t.onClick){var p=d,h=p.onClick,f=x(p,Me);return ie.jsx("button",_(_({type:"button",className:u,onClick:h,disabled:!!s||void 0,"aria-disabled":s?"true":void 0,ref:n},f),{},{children:l}))}if("href"in t&&t.href){var m=d,v=m.href,g=x(m,Ie);return ie.jsx("a",_(_({className:u,href:v,"aria-disabled":s?"true":void 0,ref:n},g),{},{children:l}))}if("actionButton"in t&&c){var b=d;return ie.jsxs("div",{ref:n,className:"".concat(Re,"__wrapper"),children:[ie.jsx("span",_(_({className:u,"aria-disabled":s?"true":void 0},b),{},{children:l})),e.isValidElement(c)?e.cloneElement(c,{size:r,isDisabled:s}):c]})}var w=d;return ie.jsxs("span",_(_({className:u,ref:n},w),{},{children:[l," ",c]}))});ze.displayName="Tag";var Fe=["className","onClick","isDisabled","iconName","ariaLabel","size"],Be="".concat(Re,"__action"),He=e.forwardRef(function(e,t){var n=e.className,i=e.onClick,r=e.isDisabled,a=e.iconName,s=e.ariaLabel,o=e.size,l=x(e,Fe),c=P(Be,y({},"".concat(Be,"--").concat(o),o),n);return ie.jsx("button",_(_({type:"button",className:c,onClick:i,disabled:!!r||void 0,"aria-disabled":r?"true":void 0,"aria-label":s,ref:t},l),{},{children:ie.jsx(de,{size:"large"===o?"medium":"small",name:a})}))});He.displayName="TagButton";var Ve=["align","canWrap","isVertical","space","tag","className","children"],Ue="bar",qe=e.forwardRef(function(e,t){var n=e.align,i=e.canWrap,r=void 0===i||i,a=e.isVertical,s=e.space,o=e.tag,l=void 0===o?"div":o,c=e.className,d=e.children,u=x(e,Ve),p=P(Ue,y(y(y(y({},"align-items-".concat(n),n),"".concat(Ue,"--vertical"),a),"".concat(Ue,"--nowrap"),!r),"".concat(Ue,"--space-").concat(s),s),c);return ie.jsx(l,_(_({className:p,ref:t},u),{},{children:d}))});qe.displayName="Bar";var $e=["className","tag","isFilling","canShrink","children"],We="bar__item",Ge=e.forwardRef(function(e,t){var n=e.className,i=e.tag,r=void 0===i?"div":i,a=e.isFilling,s=e.canShrink,o=e.children,l=x(e,$e),c=r,d=P(We,y(y({},"".concat(We,"--fill"),a),"".concat(We,"--shrinkable"),s),n);return ie.jsx(c,_(_({className:d,ref:t},l),{},{children:o}))});Ge.displayName="BarItem";var Ye=["className","tag","children"],Xe=e.forwardRef(function(e,t){var n=e.className,i=e.tag,r=void 0===i?"div":i,a=e.children,s=x(e,Ye),o=P("bar__break",n);return ie.jsx(r,_(_({className:o,ref:t},s),{},{children:a}))});Xe.displayName="BarBreak";var Ke=["className","children"],Je=function(t){var n=t.className,i=t.children,r=x(t,Ke);return e.cloneElement(i,_(_(_({},"object"===C(i.props)&&null!==i.props?i.props:{}),r),{},{className:P(i.props&&i.props.className,n)}))},Ze=e.createContext({isIndicating:!1,isActive:!1,setIsActive:function(){},setIsIndicating:function(){}}),Qe=function(e){var t=k(a(!1),2),n=t[0],i=t[1],r=k(a(!1),2),s=r[0],o=r[1];return ie.jsx(Ze.Provider,{value:{isIndicating:n,setIsIndicating:i,isActive:s,setIsActive:o},children:e.children})},et=function(e){return ie.jsx(Qe,{children:ie.jsx(Je,_(_({},e),{},{className:"block-action","data-block-action":!0}))})};et.displayName="BlockAction";var tt=function(e){var t=s(Ze),n=t.isActive,i=t.setIsActive,r=t.setIsIndicating;return ie.jsx(Je,_(_({},e),{},{className:"block-action__control",onMouseEnter:function(){return r(!0)},onMouseLeave:function(){return r(!1)},onFocus:function(){return r(!0)},onBlur:function(){return r(!1)},onClick:function(){return i(!n)}}))};tt.displayName="BlockActionControl";var nt=function(e){var t=s(Ze),n=t.isActive,i=t.isIndicating;return ie.jsx(Je,_(_({},e),{},{className:P("block-action__indicator",e.className,{"is-indicating":i,"is-active":n})}))};nt.displayName="BlockActionIndicator";var it=function(e){return ie.jsx(Je,_(_({},e),{},{className:"block-action__override"}))};function rt(e){return e?"".concat("".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-").concat(e)):""}function at(e,t,n){return Object.keys(t).map(function(i){switch(C(t[i])){case"boolean":return"".concat(e).concat("xs"!==i?"--".concat(i):"-").concat(rt(n));case"string":case"number":return"".concat(e).concat("xs"!==i?"--".concat(i):"-").concat(rt(t[i])).concat(rt(n));default:return null}}).join(" ")}function st(e,t,n){return["boolean"==typeof t?"".concat(e).concat(rt(n,"--")):null,null!==t&&"object"===C(t)?at(e,t,n):null,y({},"".concat(e,"--").concat(t).concat(rt(n)),"string"==typeof t||"number"==typeof t)]}it.displayName="BlockActionOverride";var ot,lt={exports:{}};var ct=(ot||(ot=1,lt.exports=function(){var e=["decimals","thousand","mark","prefix","suffix","encoder","decoder","negativeBefore","negative","edit","undo"];function t(e){return e.split("").reverse().join("")}function n(e,t){return e.substring(0,t.length)===t}function i(e,t){return e.slice(-1*t.length)===t}function r(e,t,n){if((e[t]||e[n])&&e[t]===e[n])throw new Error(t)}function a(e){return"number"==typeof e&&isFinite(e)}function s(e,t){return e=e.toString().split("e"),(+((e=(e=Math.round(+(e[0]+"e"+(e[1]?+e[1]+t:t)))).toString().split("e"))[0]+"e"+(e[1]?+e[1]-t:-t))).toFixed(t)}function o(e,n,i,r,o,l,c,d,u,p,h,f){var m,v,g,y=f,b="",_="";return l&&(f=l(f)),!!a(f)&&(!1!==e&&0===parseFloat(f.toFixed(e))&&(f=0),f<0&&(m=!0,f=Math.abs(f)),!1!==e&&(f=s(f,e)),-1!==(f=f.toString()).indexOf(".")?(g=(v=f.split("."))[0],i&&(b=i+v[1])):g=f,n&&(g=t(g).match(/.{1,3}/g),g=t(g.join(t(n)))),m&&d&&(_+=d),r&&(_+=r),m&&u&&(_+=u),_+=g,_+=b,o&&(_+=o),p&&(_=p(_,y)),_)}function l(e,t,r,s,o,l,c,d,u,p,h,f){var m,v="";return h&&(f=h(f)),!(!f||"string"!=typeof f)&&(d&&n(f,d)&&(f=f.replace(d,""),m=!0),s&&n(f,s)&&(f=f.replace(s,"")),u&&n(f,u)&&(f=f.replace(u,""),m=!0),o&&i(f,o)&&(f=f.slice(0,-1*o.length)),t&&(f=f.split(t).join("")),r&&(f=f.replace(r,".")),m&&(v+="-"),""!==(v=(v+=f).replace(/[^0-9\.\-.]/g,""))&&(v=Number(v),c&&(v=c(v)),!!a(v)&&v))}function c(t){var n,i,a,s={};for(void 0===t.suffix&&(t.suffix=t.postfix),n=0;n<e.length;n+=1)if(void 0===(a=t[i=e[n]]))"negative"!==i||s.negativeBefore?"mark"===i&&"."!==s.thousand?s[i]=".":s[i]=!1:s[i]="-";else if("decimals"===i){if(!(a>=0&&a<8))throw new Error(i);s[i]=a}else if("encoder"===i||"decoder"===i||"edit"===i||"undo"===i){if("function"!=typeof a)throw new Error(i);s[i]=a}else{if("string"!=typeof a)throw new Error(i);s[i]=a}return r(s,"mark","thousand"),r(s,"prefix","negative"),r(s,"prefix","negativeBefore"),s}function d(t,n,i){var r,a=[];for(r=0;r<e.length;r+=1)a.push(t[e[r]]);return a.push(i),n.apply("",a)}function u(e){if(!(this instanceof u))return new u(e);"object"==typeof e&&(e=c(e),this.to=function(t){return d(e,o,t)},this.from=function(t){return d(e,l,t)})}return u}()),lt.exports),dt=A(ct);function ut(e){return e.charAt(0).toUpperCase()+e.slice(1)}var pt={decimals:2,mark:",",thousand:" ",suffix:" €"};function ht(e,t){return dt(_(_(_({},pt),t),e%1==0?{decimals:0}:{})).to(e)}var ft=["className","hAlign","vAlign","tag","justifyHeight","rowGapSize","columnGapSize"],mt="grid",vt=e.forwardRef(function(e,t){var n=e.className,i=e.hAlign,r=e.vAlign,a=e.tag,s=void 0===a?"div":a,o=e.justifyHeight,l=e.rowGapSize,c=e.columnGapSize,d=x(e,ft),u=P.apply(void 0,[mt,y(y(y(y({},"align-items-".concat(r),r),"justify-content-".concat(i),i),"".concat(mt,"--justify-height"),o),"".concat(mt,"--column-gap-").concat(c),c)].concat(E(st("".concat(mt,"-row-gap"),l)),[n])),p=s;return ie.jsx(p,_({className:u,ref:t},d))});vt.displayName="Grid";var gt=["className","align","tag","size"],yt="grid__col",bt=function(e){var t=e.className,n=e.align,i=e.tag,r=void 0===i?"div":i,a=e.size,s=x(e,gt),o=st(yt,a),l=P.apply(void 0,[yt].concat(E(o.filter(Boolean)),[y({},"align-self-".concat(n),n),t])),c=r;return ie.jsx(c,_({className:l},s))};bt.displayName="GridCol";var _t=["className","children","htmlType","href","isActive","isDefault","isDisabled","colorScheme","size","isSquare","type","elemRef"],xt="btn",wt=e.forwardRef(function(e,t){var n=e.className,i=e.children,r=e.htmlType,a=void 0===r?"button":r,s=e.href,o=e.isActive,l=e.isDefault,c=e.isDisabled,d=e.colorScheme,u=e.size,p=e.isSquare,h=e.type,f=e.elemRef,m=x(e,_t),v=P(xt,y(y(y(y(y(y(y(y({},"".concat(xt,"--square"),p),"".concat(xt,"--").concat(u),u),"".concat(xt,"--").concat(h),h),"".concat(xt,"--default"),l),"".concat(xt,"--preserve-width"),e.preserveWidth),"is-dark","dark"===d),"is-light","light"===d),"is-active",o),n);if(s){var g=m;return ie.jsx("a",_(_({href:s,className:v,"aria-disabled":c?"true":void 0,ref:f||t},g),{},{children:i}))}var b=m;return ie.jsx("button",_(_({type:a,className:v,disabled:!!c||void 0,"aria-disabled":c?"true":void 0,ref:f||t},b),{},{children:i}))});wt.displayName="Button";var St=["className","src","alt"],kt=_(_({},{xs:"0",sm:"480px",md:"768px",lg:"992px",xl:"1240px",xxl:"1380px"}),{},{xxxl:"1920px"}),Et=function(e){var t=e.className,n=e.src,i=e.alt,r=x(e,St),a=P("img",t);if("object"===C(n)){var s=Object.keys(n).sort(function(e,t){return parseInt(kt[t])-parseInt(kt[e])});return ie.jsxs("picture",{className:a,children:[s.map(function(e){return"default"!==e&&ie.jsx("source",{srcSet:n[e],media:"(min-width: ".concat(kt[e],")")},e)}),ie.jsx("img",_({src:n.default,alt:i},r))]})}return ie.jsx("img",_({className:a,src:n,alt:i},r))};Et.displayName="Image";var Nt="body-banner",Ct=function(e){var t=e.className,n=e.colorScheme,i=e.size,r=e.color,a=e.imageUrl,s=e.title,o=e.description,l=e.buttonText,c=P(Nt,{"is-dark":"dark"===n,"is-light":"light"===n,"is-small":"small"===i,"is-large":"large"===i,"is-gray":"gray"===r,"is-orange":"orange"===r},t);return ie.jsx(Ae,{children:ie.jsxs(vt,{className:c,children:[ie.jsxs(bt,{size:{xs:12,md:"small"===i?12:6},className:"".concat(Nt,"__content"),children:["small"===i&&a&&ie.jsx("div",{className:"".concat(Nt,"__image"),children:ie.jsx(Et,{src:a||"",alt:"Body Banner"})}),ie.jsxs("div",{className:"".concat(Nt,"__content-inner ").concat("large"===i?"is-large":""),children:[ie.jsxs("div",{children:[ie.jsx("h3",{className:"mb-small",children:s}),ie.jsx("p",{className:"h6 mb-none fullwidth",children:o})]}),ie.jsx("div",{className:"".concat(Nt,"__button ").concat("large"===i?"is-large":""),children:ie.jsx(wt,{size:"large",type:"fill",colorScheme:"light"===n?"light":"gray"!==r&&"orange"!==r?"dark":"light",className:"mb-none",children:l})})]})]}),"large"===i&&a&&ie.jsx(bt,{size:{xs:12,md:6},className:"".concat(Nt,"__image"),children:ie.jsx(Et,{src:a||"",alt:"Body Banner",className:"is-large"})})]})})},Tt=["className","isCurrent","text","url"],At=function(e){var t=e.className,n=e.isCurrent,i=e.text,r=e.url,a=x(e,Tt),s=P("osk-breadcrumbs__item",t);return r?ie.jsx("li",{className:s,children:ie.jsx("a",_(_(_({href:r,className:"osk-breadcrumbs__link"},n?{"aria-current":"page"}:{}),a),{},{children:i}))}):ie.jsx("li",_(_({className:s},a),{},{children:i}))};At.displayName="BreadcrumbItem";var Ot=["className","label","items","colorScheme"],jt="osk-breadcrumbs",Lt=function(e){var t=e.className,n=e.label,i=e.items,r=e.colorScheme,a=x(e,Ot),s=P(jt,t,{"is-dark":"dark"===r,"is-light":"light"===r}),o=E(i).reverse().findIndex(function(e){return!!e.url}),l=-1===o?-1:i.length-1-o;return ie.jsx("nav",_(_({"aria-label":n,className:s},a),{},{children:ie.jsx("ol",{className:"".concat(jt,"__container"),children:i.map(function(e,t){return c(At,_(_({},e),{},{key:e.text,isCurrent:!!e.url&&t===l}))})})}))};Lt.displayName="Breadcrumbs";var Dt=["iconName","iconPosition","iconClassName","children","size","isSquare"],Pt=["className"],Mt=e.forwardRef(function(e,t){var n=e.iconName,i=e.iconPosition,r=void 0===i?"left":i,a=e.iconClassName,s=e.children,o=e.size,l=e.isSquare,c=x(e,Dt),d=function(e){var t=e.className,i=x(e,Pt);return ie.jsx(de,_({name:n,size:null!=o?o:"medium",className:P(a,t)},i))};return l?ie.jsxs(wt,_(_({size:o,isSquare:!0},c),{},{ref:t,children:[ie.jsx(d,{}),ie.jsx("span",{className:"visually-hidden",children:s})]})):ie.jsxs(wt,_(_({ref:t,size:o},c),{},{children:["left"===r&&ie.jsx(d,{className:"btn__icon-left"}),s,"right"===r&&ie.jsx(d,{className:"btn__icon-right"})]}))});Mt.displayName="IconButton";var It=function(e){return ie.jsx(wt,_({type:"primary"},e))};It.displayName="ButtonPrimary";var Rt=function(e){return ie.jsx(wt,_({type:"fill"},e))};Rt.displayName="ButtonFill";var zt=function(e){return ie.jsx(wt,_({type:"ghost"},e))};zt.displayName="ButtonGhost";var Ft="carousel",Bt="".concat(Ft,"__viewport-wrapper"),Ht="".concat(Ft,"__viewport"),Vt="".concat(Ft,"__track"),Ut="".concat(Ft,"__slide"),qt="".concat(Ft,"__slide-next"),$t="".concat(Ft,"__slide-prev"),Wt="".concat(Ft,"__prev"),Gt="".concat(Ft,"__next"),Yt="".concat(Ft,"__pagination"),Xt="".concat(Ft,"__pagination-item"),Kt="".concat(Ft,"__scrollbar"),Jt="".concat(Ft,"__scrollbar-horizontal"),Zt="".concat(Ft,"__scrollbar-drag"),Qt="is-active",en="".concat(Ft,"--bleed-right"),tn=".".concat(Ht),nn=".".concat(Vt),rn=".".concat(Wt),an=".".concat(Gt),sn=".".concat(Yt),on=".".concat(Kt),ln=".".concat(Qt),cn=["className","children"],dn=Ut,un=function(e){var t=e.className,n=e.children,i=x(e,cn),r=P(dn,t);return ie.jsx("div",_(_({className:r},i),{},{children:n}))};function pn(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function hn(e,t){void 0===e&&(e={}),void 0===t&&(t={});const n=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>n.indexOf(e)<0).forEach(n=>{void 0===e[n]?e[n]=t[n]:pn(t[n])&&pn(e[n])&&Object.keys(t[n]).length>0&&hn(e[n],t[n])})}un.displayName="CarouselItem";const fn={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function mn(){const e="undefined"!=typeof document?document:{};return hn(e,fn),e}const vn={document:fn,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function gn(){const e="undefined"!=typeof window?window:{};return hn(e,vn),e}function yn(e){return void 0===e&&(e=""),e.trim().split(" ").filter(e=>!!e.trim())}function bn(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function _n(){return Date.now()}function xn(e,t){void 0===t&&(t="x");const n=gn();let i,r,a;const s=function(e){const t=gn();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?(r=s.transform||s.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map(e=>e.replace(",",".")).join(", ")),a=new n.WebKitCSSMatrix("none"===r?"":r)):(a=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=a.toString().split(",")),"x"===t&&(r=n.WebKitCSSMatrix?a.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(r=n.WebKitCSSMatrix?a.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),r||0}function wn(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function Sn(e){return"undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function kn(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){const i=n<0||arguments.length<=n?void 0:arguments[n];if(null!=i&&!Sn(i)){const n=Object.keys(Object(i)).filter(e=>t.indexOf(e)<0);for(let t=0,r=n.length;t<r;t+=1){const r=n[t],a=Object.getOwnPropertyDescriptor(i,r);void 0!==a&&a.enumerable&&(wn(e[r])&&wn(i[r])?i[r].__swiper__?e[r]=i[r]:kn(e[r],i[r]):!wn(e[r])&&wn(i[r])?(e[r]={},i[r].__swiper__?e[r]=i[r]:kn(e[r],i[r])):e[r]=i[r])}}}return e}function En(e,t,n){e.style.setProperty(t,n)}function Nn(e){let{swiper:t,targetPosition:n,side:i}=e;const r=gn(),a=-t.translate;let s,o=null;const l=t.params.speed;t.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(t.cssModeFrameID);const c=n>a?"next":"prev",d=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,u=()=>{s=(new Date).getTime(),null===o&&(o=s);const e=Math.max(Math.min((s-o)/l,1),0),c=.5-Math.cos(e*Math.PI)/2;let p=a+c*(n-a);if(d(p,n)&&(p=n),t.wrapperEl.scrollTo({[i]:p}),d(p,n))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout(()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[i]:p})}),void r.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=r.requestAnimationFrame(u)};u()}function Cn(e,t){void 0===t&&(t="");const n=gn(),i=[...e.children];return n.HTMLSlotElement&&e instanceof HTMLSlotElement&&i.push(...e.assignedElements()),t?i.filter(e=>e.matches(t)):i}function Tn(e){try{return void console.warn(e)}catch(e){}}function An(e,t){void 0===t&&(t=[]);const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:yn(t)),n}function On(e){const t=gn(),n=mn(),i=e.getBoundingClientRect(),r=n.body,a=e.clientTop||r.clientTop||0,s=e.clientLeft||r.clientLeft||0,o=e===t?t.scrollY:e.scrollTop,l=e===t?t.scrollX:e.scrollLeft;return{top:i.top+o-a,left:i.left+l-s}}function jn(e,t){return gn().getComputedStyle(e,null).getPropertyValue(t)}function Ln(e){let t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function Dn(e,t){const n=[];let i=e.parentElement;for(;i;)t?i.matches(t)&&n.push(i):n.push(i),i=i.parentElement;return n}function Pn(e,t,n){const i=gn();return e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom"))}function Mn(e){return(Array.isArray(e)?e:[e]).filter(e=>!!e)}function In(e,t){void 0===t&&(t=""),"undefined"!=typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}let Rn,zn,Fn;function Bn(){return Rn||(Rn=function(){const e=gn(),t=mn();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),Rn}function Hn(e){return void 0===e&&(e={}),zn||(zn=function(e){let{userAgent:t}=void 0===e?{}:e;const n=Bn(),i=gn(),r=i.navigator.platform,a=t||i.navigator.userAgent,s={ios:!1,android:!1},o=i.screen.width,l=i.screen.height,c=a.match(/(Android);?[\s\/]+([\d.]+)?/);let d=a.match(/(iPad).*OS\s([\d_]+)/);const u=a.match(/(iPod)(.*OS\s([\d_]+))?/),p=!d&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===r;let f="MacIntel"===r;return!d&&f&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${o}x${l}`)>=0&&(d=a.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),f=!1),c&&!h&&(s.os="android",s.android=!0),(d||p||u)&&(s.os="ios",s.ios=!0),s}(e)),zn}function Vn(){return Fn||(Fn=function(){const e=gn(),t=Hn();let n=!1;function i(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(i()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,i]=t.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));n=e<16||16===e&&i<2}}const r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),a=i();return{isSafari:n||a,needPerspectiveFix:n,need3dFix:a||r&&t.ios,isWebView:r}}()),Fn}var Un={on(e,t,n){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;const r=n?"unshift":"push";return e.split(" ").forEach(e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][r](t)}),i},once(e,t,n){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;function r(){i.off(e,r),r.__emitterProxy&&delete r.__emitterProxy;for(var n=arguments.length,a=new Array(n),s=0;s<n;s++)a[s]=arguments[s];t.apply(i,a)}return r.__emitterProxy=t,i.on(e,r,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;const i=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[i](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach(e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((i,r)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[e].splice(r,1)})}),n):n},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,n,i;for(var r=arguments.length,a=new Array(r),s=0;s<r;s++)a[s]=arguments[s];"string"==typeof a[0]||Array.isArray(a[0])?(t=a[0],n=a.slice(1,a.length),i=e):(t=a[0].events,n=a[0].data,i=a[0].context||e),n.unshift(i);return(Array.isArray(t)?t:t.split(" ")).forEach(t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(e=>{e.apply(i,[t,...n])}),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach(e=>{e.apply(i,n)})}),e}};const qn=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};const $n=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)};const Wn=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(n){let t=n.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove())})),t&&t.remove()}},Gn=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},Yn=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const i="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),r=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const n=r,a=[n-t];return a.push(...Array.from({length:t}).map((e,t)=>n+i+t)),void e.slides.forEach((t,n)=>{a.includes(t.column)&&Gn(e,n)})}const a=r+i-1;if(e.params.rewind||e.params.loop)for(let i=r-t;i<=a+t;i+=1){const t=(i%n+n)%n;(t<r||t>a)&&Gn(e,t)}else for(let i=Math.max(r-t,0);i<=Math.min(a+t,n-1);i+=1)i!==r&&(i>a||i<r)&&Gn(e,i)};var Xn={updateSize:function(){const e=this;let t,n;const i=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:i.clientWidth,n=void 0!==e.params.height&&null!==e.params.height?e.params.height:i.clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt(jn(i,"padding-left")||0,10)-parseInt(jn(i,"padding-right")||0,10),n=n-parseInt(jn(i,"padding-top")||0,10)-parseInt(jn(i,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t,n){return parseFloat(t.getPropertyValue(e.getDirectionLabel(n))||0)}const n=e.params,{wrapperEl:i,slidesEl:r,size:a,rtlTranslate:s,wrongRTL:o}=e,l=e.virtual&&n.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,d=Cn(r,`.${e.params.slideClass}, swiper-slide`),u=l?e.virtual.slides.length:d.length;let p=[];const h=[],f=[];let m=n.slidesOffsetBefore;"function"==typeof m&&(m=n.slidesOffsetBefore.call(e));let v=n.slidesOffsetAfter;"function"==typeof v&&(v=n.slidesOffsetAfter.call(e));const g=e.snapGrid.length,y=e.slidesGrid.length;let b=n.spaceBetween,_=-m,x=0,w=0;if(void 0===a)return;"string"==typeof b&&b.indexOf("%")>=0?b=parseFloat(b.replace("%",""))/100*a:"string"==typeof b&&(b=parseFloat(b)),e.virtualSize=-b,d.forEach(e=>{s?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(En(i,"--swiper-centered-offset-before",""),En(i,"--swiper-centered-offset-after",""));const S=n.grid&&n.grid.rows>1&&e.grid;let k;S?e.grid.initSlides(d):e.grid&&e.grid.unsetSlides();const E="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter(e=>void 0!==n.breakpoints[e].slidesPerView).length>0;for(let i=0;i<u;i+=1){let r;if(k=0,d[i]&&(r=d[i]),S&&e.grid.updateSlide(i,r,d),!d[i]||"none"!==jn(r,"display")){if("auto"===n.slidesPerView){E&&(d[i].style[e.getDirectionLabel("width")]="");const a=getComputedStyle(r),s=r.style.transform,o=r.style.webkitTransform;if(s&&(r.style.transform="none"),o&&(r.style.webkitTransform="none"),n.roundLengths)k=e.isHorizontal()?Pn(r,"width"):Pn(r,"height");else{const e=t(a,"width"),n=t(a,"padding-left"),i=t(a,"padding-right"),s=t(a,"margin-left"),o=t(a,"margin-right"),l=a.getPropertyValue("box-sizing");if(l&&"border-box"===l)k=e+s+o;else{const{clientWidth:t,offsetWidth:a}=r;k=e+n+i+s+o+(a-t)}}s&&(r.style.transform=s),o&&(r.style.webkitTransform=o),n.roundLengths&&(k=Math.floor(k))}else k=(a-(n.slidesPerView-1)*b)/n.slidesPerView,n.roundLengths&&(k=Math.floor(k)),d[i]&&(d[i].style[e.getDirectionLabel("width")]=`${k}px`);d[i]&&(d[i].swiperSlideSize=k),f.push(k),n.centeredSlides?(_=_+k/2+x/2+b,0===x&&0!==i&&(_=_-a/2-b),0===i&&(_=_-a/2-b),Math.abs(_)<.001&&(_=0),n.roundLengths&&(_=Math.floor(_)),w%n.slidesPerGroup===0&&p.push(_),h.push(_)):(n.roundLengths&&(_=Math.floor(_)),(w-Math.min(e.params.slidesPerGroupSkip,w))%e.params.slidesPerGroup===0&&p.push(_),h.push(_),_=_+k+b),e.virtualSize+=k+b,x=k,w+=1}}if(e.virtualSize=Math.max(e.virtualSize,a)+v,s&&o&&("slide"===n.effect||"coverflow"===n.effect)&&(i.style.width=`${e.virtualSize+b}px`),n.setWrapperSize&&(i.style[e.getDirectionLabel("width")]=`${e.virtualSize+b}px`),S&&e.grid.updateWrapperSize(k,p),!n.centeredSlides){const t=[];for(let i=0;i<p.length;i+=1){let r=p[i];n.roundLengths&&(r=Math.floor(r)),p[i]<=e.virtualSize-a&&t.push(r)}p=t,Math.floor(e.virtualSize-a)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-a)}if(l&&n.loop){const t=f[0]+b;if(n.slidesPerGroup>1){const i=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),r=t*n.slidesPerGroup;for(let e=0;e<i;e+=1)p.push(p[p.length-1]+r)}for(let i=0;i<e.virtual.slidesBefore+e.virtual.slidesAfter;i+=1)1===n.slidesPerGroup&&p.push(p[p.length-1]+t),h.push(h[h.length-1]+t),e.virtualSize+=t}if(0===p.length&&(p=[0]),0!==b){const t=e.isHorizontal()&&s?"marginLeft":e.getDirectionLabel("marginRight");d.filter((e,t)=>!(n.cssMode&&!n.loop)||t!==d.length-1).forEach(e=>{e.style[t]=`${b}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;f.forEach(t=>{e+=t+(b||0)}),e-=b;const t=e>a?e-a:0;p=p.map(e=>e<=0?-m:e>t?t+v:e)}if(n.centerInsufficientSlides){let e=0;f.forEach(t=>{e+=t+(b||0)}),e-=b;const t=(n.slidesOffsetBefore||0)+(n.slidesOffsetAfter||0);if(e+t<a){const n=(a-e-t)/2;p.forEach((e,t)=>{p[t]=e-n}),h.forEach((e,t)=>{h[t]=e+n})}}if(Object.assign(e,{slides:d,snapGrid:p,slidesGrid:h,slidesSizesGrid:f}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){En(i,"--swiper-centered-offset-before",-p[0]+"px"),En(i,"--swiper-centered-offset-after",e.size/2-f[f.length-1]/2+"px");const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(e=>e+t),e.slidesGrid=e.slidesGrid.map(e=>e+n)}if(u!==c&&e.emit("slidesLengthChange"),p.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==y&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(l||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t=`${n.containerModifierClass}backface-hidden`,i=e.el.classList.contains(t);u<=n.maxBackfaceHiddenSlides?i||e.el.classList.add(t):i&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,n=[],i=t.virtual&&t.params.virtual.enabled;let r,a=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const s=e=>i?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(e=>{n.push(e)});else for(r=0;r<Math.ceil(t.params.slidesPerView);r+=1){const e=t.activeIndex+r;if(e>t.slides.length&&!i)break;n.push(s(e))}else n.push(s(t.activeIndex));for(r=0;r<n.length;r+=1)if(void 0!==n[r]){const e=n[r].offsetHeight;a=e>a?e:a}(a||0===a)&&(t.wrapperEl.style.height=`${a}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let i=0;i<t.length;i+=1)t[i].swiperSlideOffset=(e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop)-n-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,n=t.params,{slides:i,rtlTranslate:r,snapGrid:a}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let s=-e;r&&(s=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let o=n.spaceBetween;"string"==typeof o&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*t.size:"string"==typeof o&&(o=parseFloat(o));for(let e=0;e<i.length;e+=1){const l=i[e];let c=l.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(c-=i[0].swiperSlideOffset);const d=(s+(n.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+o),u=(s-a[0]+(n.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+o),p=-(s-c),h=p+t.slidesSizesGrid[e],f=p>=0&&p<=t.size-t.slidesSizesGrid[e],m=p>=0&&p<t.size-1||h>1&&h<=t.size||p<=0&&h>=t.size;m&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e)),qn(l,m,n.slideVisibleClass),qn(l,f,n.slideFullyVisibleClass),l.progress=r?-d:d,l.originalProgress=r?-u:u}},updateProgress:function(e){const t=this;if(void 0===e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,i=t.maxTranslate()-t.minTranslate();let{progress:r,isBeginning:a,isEnd:s,progressLoop:o}=t;const l=a,c=s;if(0===i)r=0,a=!0,s=!0;else{r=(e-t.minTranslate())/i;const n=Math.abs(e-t.minTranslate())<1,o=Math.abs(e-t.maxTranslate())<1;a=n||r<=0,s=o||r>=1,n&&(r=0),o&&(r=1)}if(n.loop){const n=t.getSlideIndexByData(0),i=t.getSlideIndexByData(t.slides.length-1),r=t.slidesGrid[n],a=t.slidesGrid[i],s=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);o=l>=r?(l-r)/s:(l+s-a)/s,o>1&&(o-=1)}Object.assign(t,{progress:r,progressLoop:o,isBeginning:a,isEnd:s}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),a&&!l&&t.emit("reachBeginning toEdge"),s&&!c&&t.emit("reachEnd toEdge"),(l&&!a||c&&!s)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,slidesEl:i,activeIndex:r}=e,a=e.virtual&&n.virtual.enabled,s=e.grid&&n.grid&&n.grid.rows>1,o=e=>Cn(i,`.${n.slideClass}${e}, swiper-slide${e}`)[0];let l,c,d;if(a)if(n.loop){let t=r-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),l=o(`[data-swiper-slide-index="${t}"]`)}else l=o(`[data-swiper-slide-index="${r}"]`);else s?(l=t.find(e=>e.column===r),d=t.find(e=>e.column===r+1),c=t.find(e=>e.column===r-1)):l=t[r];l&&(s||(d=function(e,t){const n=[];for(;e.nextElementSibling;){const i=e.nextElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!d&&(d=t[0]),c=function(e,t){const n=[];for(;e.previousElementSibling;){const i=e.previousElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&0===!c&&(c=t[t.length-1]))),t.forEach(e=>{$n(e,e===l,n.slideActiveClass),$n(e,e===d,n.slideNextClass),$n(e,e===c,n.slidePrevClass)}),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:i,params:r,activeIndex:a,realIndex:s,snapIndex:o}=t;let l,c=e;const d=e=>{let n=e-t.virtual.slidesBefore;return n<0&&(n=t.virtual.slides.length+n),n>=t.virtual.slides.length&&(n-=t.virtual.slides.length),n};if(void 0===c&&(c=function(e){const{slidesGrid:t,params:n}=e,i=e.rtlTranslate?e.translate:-e.translate;let r;for(let e=0;e<t.length;e+=1)void 0!==t[e+1]?i>=t[e]&&i<t[e+1]-(t[e+1]-t[e])/2?r=e:i>=t[e]&&i<t[e+1]&&(r=e+1):i>=t[e]&&(r=e);return n.normalizeSlideIndex&&(r<0||void 0===r)&&(r=0),r}(t)),i.indexOf(n)>=0)l=i.indexOf(n);else{const e=Math.min(r.slidesPerGroupSkip,c);l=e+Math.floor((c-e)/r.slidesPerGroup)}if(l>=i.length&&(l=i.length-1),c===a&&!t.params.loop)return void(l!==o&&(t.snapIndex=l,t.emit("snapIndexChange")));if(c===a&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=d(c));const u=t.grid&&r.grid&&r.grid.rows>1;let p;if(t.virtual&&r.virtual.enabled&&r.loop)p=d(c);else if(u){const e=t.slides.find(e=>e.column===c);let n=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(n)&&(n=Math.max(t.slides.indexOf(e),0)),p=Math.floor(n/r.grid.rows)}else if(t.slides[c]){const e=t.slides[c].getAttribute("data-swiper-slide-index");p=e?parseInt(e,10):c}else p=c;Object.assign(t,{previousSnapIndex:o,snapIndex:l,previousRealIndex:s,realIndex:p,previousIndex:a,activeIndex:c}),t.initialized&&Yn(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(s!==p&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const n=this,i=n.params;let r=e.closest(`.${i.slideClass}, swiper-slide`);!r&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!r&&e.matches&&e.matches(`.${i.slideClass}, swiper-slide`)&&(r=e)});let a,s=!1;if(r)for(let e=0;e<n.slides.length;e+=1)if(n.slides[e]===r){s=!0,a=e;break}if(!r||!s)return n.clickedSlide=void 0,void(n.clickedIndex=void 0);n.clickedSlide=r,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(r.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=a,i.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}};var Kn={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:n,translate:i,wrapperEl:r}=this;if(t.virtualTranslate)return n?-i:i;if(t.cssMode)return i;let a=xn(r,e);return a+=this.cssOverflowAdjustment(),n&&(a=-a),a||0},setTranslate:function(e,t){const n=this,{rtlTranslate:i,params:r,wrapperEl:a,progress:s}=n;let o,l=0,c=0;n.isHorizontal()?l=i?-e:e:c=e,r.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:c,r.cssMode?a[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-c:r.virtualTranslate||(n.isHorizontal()?l-=n.cssOverflowAdjustment():c-=n.cssOverflowAdjustment(),a.style.transform=`translate3d(${l}px, ${c}px, 0px)`);const d=n.maxTranslate()-n.minTranslate();o=0===d?0:(e-n.minTranslate())/d,o!==s&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,n,i,r){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),void 0===i&&(i=!0);const a=this,{params:s,wrapperEl:o}=a;if(a.animating&&s.preventInteractionOnTransition)return!1;const l=a.minTranslate(),c=a.maxTranslate();let d;if(d=i&&e>l?l:i&&e<c?c:e,a.updateProgress(d),s.cssMode){const e=a.isHorizontal();if(0===t)o[e?"scrollLeft":"scrollTop"]=-d;else{if(!a.support.smoothScroll)return Nn({swiper:a,targetPosition:-d,side:e?"left":"top"}),!0;o.scrollTo({[e?"left":"top"]:-d,behavior:"smooth"})}return!0}return 0===t?(a.setTransition(0),a.setTranslate(d),n&&(a.emit("beforeTransitionStart",t,r),a.emit("transitionEnd"))):(a.setTransition(t),a.setTranslate(d),n&&(a.emit("beforeTransitionStart",t,r),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,a.animating=!1,n&&a.emit("transitionEnd"))}),a.wrapperEl.addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd))),!0}};function Jn(e){let{swiper:t,runCallbacks:n,direction:i,step:r}=e;const{activeIndex:a,previousIndex:s}=t;let o=i;o||(o=a>s?"next":a<s?"prev":"reset"),t.emit(`transition${r}`),n&&"reset"===o?t.emit(`slideResetTransition${r}`):n&&a!==s&&(t.emit(`slideChangeTransition${r}`),"next"===o?t.emit(`slideNextTransition${r}`):t.emit(`slidePrevTransition${r}`))}var Zn={slideTo:function(e,t,n,i,r){void 0===e&&(e=0),void 0===n&&(n=!0),"string"==typeof e&&(e=parseInt(e,10));const a=this;let s=e;s<0&&(s=0);const{params:o,snapGrid:l,slidesGrid:c,previousIndex:d,activeIndex:u,rtlTranslate:p,wrapperEl:h,enabled:f}=a;if(!f&&!i&&!r||a.destroyed||a.animating&&o.preventInteractionOnTransition)return!1;void 0===t&&(t=a.params.speed);const m=Math.min(a.params.slidesPerGroupSkip,s);let v=m+Math.floor((s-m)/a.params.slidesPerGroup);v>=l.length&&(v=l.length-1);const g=-l[v];if(o.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*g),n=Math.floor(100*c[e]),i=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=n&&t<i-(i-n)/2?s=e:t>=n&&t<i&&(s=e+1):t>=n&&(s=e)}if(a.initialized&&s!==u){if(!a.allowSlideNext&&(p?g>a.translate&&g>a.minTranslate():g<a.translate&&g<a.minTranslate()))return!1;if(!a.allowSlidePrev&&g>a.translate&&g>a.maxTranslate()&&(u||0)!==s)return!1}let y;s!==(d||0)&&n&&a.emit("beforeSlideChangeStart"),a.updateProgress(g),y=s>u?"next":s<u?"prev":"reset";const b=a.virtual&&a.params.virtual.enabled;if(!(b&&r)&&(p&&-g===a.translate||!p&&g===a.translate))return a.updateActiveIndex(s),o.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==o.effect&&a.setTranslate(g),"reset"!==y&&(a.transitionStart(n,y),a.transitionEnd(n,y)),!1;if(o.cssMode){const e=a.isHorizontal(),n=p?g:-g;if(0===t)b&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),b&&!a._cssModeVirtualInitialSet&&a.params.initialSlide>0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{h[e?"scrollLeft":"scrollTop"]=n})):h[e?"scrollLeft":"scrollTop"]=n,b&&requestAnimationFrame(()=>{a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1});else{if(!a.support.smoothScroll)return Nn({swiper:a,targetPosition:n,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}const _=Vn().isSafari;return b&&!r&&_&&a.isElement&&a.virtual.update(!1,!1,s),a.setTransition(t),a.setTranslate(g),a.updateActiveIndex(s),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,i),a.transitionStart(n,y),0===t?a.transitionEnd(n,y):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(n,y))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,n,i){if(void 0===e&&(e=0),void 0===n&&(n=!0),"string"==typeof e){e=parseInt(e,10)}const r=this;if(r.destroyed)return;void 0===t&&(t=r.params.speed);const a=r.grid&&r.params.grid&&r.params.grid.rows>1;let s=e;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)s+=r.virtual.slidesBefore;else{let e;if(a){const t=s*r.params.grid.rows;e=r.slides.find(e=>1*e.getAttribute("data-swiper-slide-index")===t).column}else e=r.getSlideIndexByData(s);const t=a?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:n}=r.params;let o=r.params.slidesPerView;"auto"===o?o=r.slidesPerViewDynamic():(o=Math.ceil(parseFloat(r.params.slidesPerView,10)),n&&o%2==0&&(o+=1));let l=t-e<o;if(n&&(l=l||e<Math.ceil(o/2)),i&&n&&"auto"!==r.params.slidesPerView&&!a&&(l=!1),l){const i=n?e<r.activeIndex?"prev":"next":e-r.activeIndex-1<r.params.slidesPerView?"next":"prev";r.loopFix({direction:i,slideTo:!0,activeSlideIndex:"next"===i?e+1:e-t+1,slideRealIndex:"next"===i?r.realIndex:void 0})}if(a){const e=s*r.params.grid.rows;s=r.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===e).column}else s=r.getSlideIndexByData(s)}return requestAnimationFrame(()=>{r.slideTo(s,t,n,i)}),r},slideNext:function(e,t,n){void 0===t&&(t=!0);const i=this,{enabled:r,params:a,animating:s}=i;if(!r||i.destroyed)return i;void 0===e&&(e=i.params.speed);let o=a.slidesPerGroup;"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(o=Math.max(i.slidesPerViewDynamic("current",!0),1));const l=i.activeIndex<a.slidesPerGroupSkip?1:o,c=i.virtual&&a.virtual.enabled;if(a.loop){if(s&&!c&&a.loopPreventsSliding)return!1;if(i.loopFix({direction:"next"}),i._clientLeft=i.wrapperEl.clientLeft,i.activeIndex===i.slides.length-1&&a.cssMode)return requestAnimationFrame(()=>{i.slideTo(i.activeIndex+l,e,t,n)}),!0}return a.rewind&&i.isEnd?i.slideTo(0,e,t,n):i.slideTo(i.activeIndex+l,e,t,n)},slidePrev:function(e,t,n){void 0===t&&(t=!0);const i=this,{params:r,snapGrid:a,slidesGrid:s,rtlTranslate:o,enabled:l,animating:c}=i;if(!l||i.destroyed)return i;void 0===e&&(e=i.params.speed);const d=i.virtual&&r.virtual.enabled;if(r.loop){if(c&&!d&&r.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=u(o?i.translate:-i.translate),h=a.map(e=>u(e)),f=r.freeMode&&r.freeMode.enabled;let m=a[h.indexOf(p)-1];if(void 0===m&&(r.cssMode||f)){let e;a.forEach((t,n)=>{p>=t&&(e=n)}),void 0!==e&&(m=f?a[e]:a[e>0?e-1:e])}let v=0;if(void 0!==m&&(v=s.indexOf(m),v<0&&(v=i.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(v=v-i.slidesPerViewDynamic("previous",!0)+1,v=Math.max(v,0))),r.rewind&&i.isBeginning){const r=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(r,e,t,n)}return r.loop&&0===i.activeIndex&&r.cssMode?(requestAnimationFrame(()=>{i.slideTo(v,e,t,n)}),!0):i.slideTo(v,e,t,n)},slideReset:function(e,t,n){void 0===t&&(t=!0);const i=this;if(!i.destroyed)return void 0===e&&(e=i.params.speed),i.slideTo(i.activeIndex,e,t,n)},slideToClosest:function(e,t,n,i){void 0===t&&(t=!0),void 0===i&&(i=.5);const r=this;if(r.destroyed)return;void 0===e&&(e=r.params.speed);let a=r.activeIndex;const s=Math.min(r.params.slidesPerGroupSkip,a),o=s+Math.floor((a-s)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[o]){const e=r.snapGrid[o];l-e>(r.snapGrid[o+1]-e)*i&&(a+=r.params.slidesPerGroup)}else{const e=r.snapGrid[o-1];l-e<=(r.snapGrid[o]-e)*i&&(a-=r.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,r.slidesGrid.length-1),r.slideTo(a,e,t,n)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,i="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let r,a=e.getSlideIndexWhenGrid(e.clickedIndex);const s=e.isElement?"swiper-slide":`.${t.slideClass}`,o=e.grid&&e.params.grid&&e.params.grid.rows>1;if(t.loop){if(e.animating)return;r=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?e.slideToLoop(r):a>(o?(e.slides.length-i)/2-(e.params.grid.rows-1):e.slides.length-i)?(e.loopFix(),a=e.getSlideIndex(Cn(n,`${s}[data-swiper-slide-index="${r}"]`)[0]),bn(()=>{e.slideTo(a)})):e.slideTo(a)}else e.slideTo(a)}};var Qn={loopCreate:function(e,t){const n=this,{params:i,slidesEl:r}=n;if(!i.loop||n.virtual&&n.params.virtual.enabled)return;const a=()=>{Cn(r,`.${i.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)})},s=n.grid&&i.grid&&i.grid.rows>1;i.loopAddBlankSlides&&(i.slidesPerGroup>1||s)&&(()=>{const e=Cn(r,`.${i.slideBlankClass}`);e.forEach(e=>{e.remove()}),e.length>0&&(n.recalcSlides(),n.updateSlides())})();const o=i.slidesPerGroup*(s?i.grid.rows:1),l=n.slides.length%o!==0,c=s&&n.slides.length%i.grid.rows!==0,d=e=>{for(let t=0;t<e;t+=1){const e=n.isElement?An("swiper-slide",[i.slideBlankClass]):An("div",[i.slideClass,i.slideBlankClass]);n.slidesEl.append(e)}};if(l){if(i.loopAddBlankSlides){d(o-n.slides.length%o),n.recalcSlides(),n.updateSlides()}else Tn("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");a()}else if(c){if(i.loopAddBlankSlides){d(i.grid.rows-n.slides.length%i.grid.rows),n.recalcSlides(),n.updateSlides()}else Tn("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");a()}else a();n.loopFix({slideRealIndex:e,direction:i.centeredSlides?void 0:"next",initial:t})},loopFix:function(e){let{slideRealIndex:t,slideTo:n=!0,direction:i,setTranslate:r,activeSlideIndex:a,initial:s,byController:o,byMousewheel:l}=void 0===e?{}:e;const c=this;if(!c.params.loop)return;c.emit("beforeLoopFix");const{slides:d,allowSlidePrev:u,allowSlideNext:p,slidesEl:h,params:f}=c,{centeredSlides:m,initialSlide:v}=f;if(c.allowSlidePrev=!0,c.allowSlideNext=!0,c.virtual&&f.virtual.enabled)return n&&(f.centeredSlides||0!==c.snapIndex?f.centeredSlides&&c.snapIndex<f.slidesPerView?c.slideTo(c.virtual.slides.length+c.snapIndex,0,!1,!0):c.snapIndex===c.snapGrid.length-1&&c.slideTo(c.virtual.slidesBefore,0,!1,!0):c.slideTo(c.virtual.slides.length,0,!1,!0)),c.allowSlidePrev=u,c.allowSlideNext=p,void c.emit("loopFix");let g=f.slidesPerView;"auto"===g?g=c.slidesPerViewDynamic():(g=Math.ceil(parseFloat(f.slidesPerView,10)),m&&g%2==0&&(g+=1));const y=f.slidesPerGroupAuto?g:f.slidesPerGroup;let b=m?Math.max(y,Math.ceil(g/2)):y;b%y!==0&&(b+=y-b%y),b+=f.loopAdditionalSlides,c.loopedSlides=b;const _=c.grid&&f.grid&&f.grid.rows>1;d.length<g+b||"cards"===c.params.effect&&d.length<g+2*b?Tn("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):_&&"row"===f.grid.fill&&Tn("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const x=[],w=[],S=_?Math.ceil(d.length/f.grid.rows):d.length,k=s&&S-v<g&&!m;let E=k?v:c.activeIndex;void 0===a?a=c.getSlideIndex(d.find(e=>e.classList.contains(f.slideActiveClass))):E=a;const N="next"===i||!i,C="prev"===i||!i;let T=0,A=0;const O=(_?d[a].column:a)+(m&&void 0===r?-g/2+.5:0);if(O<b){T=Math.max(b-O,y);for(let e=0;e<b-O;e+=1){const t=e-Math.floor(e/S)*S;if(_){const e=S-t-1;for(let t=d.length-1;t>=0;t-=1)d[t].column===e&&x.push(t)}else x.push(S-t-1)}}else if(O+g>S-b){A=Math.max(O-(S-2*b),y),k&&(A=Math.max(A,g-S+v+1));for(let e=0;e<A;e+=1){const t=e-Math.floor(e/S)*S;_?d.forEach((e,n)=>{e.column===t&&w.push(n)}):w.push(t)}}if(c.__preventObserver__=!0,requestAnimationFrame(()=>{c.__preventObserver__=!1}),"cards"===c.params.effect&&d.length<g+2*b&&(w.includes(a)&&w.splice(w.indexOf(a),1),x.includes(a)&&x.splice(x.indexOf(a),1)),C&&x.forEach(e=>{d[e].swiperLoopMoveDOM=!0,h.prepend(d[e]),d[e].swiperLoopMoveDOM=!1}),N&&w.forEach(e=>{d[e].swiperLoopMoveDOM=!0,h.append(d[e]),d[e].swiperLoopMoveDOM=!1}),c.recalcSlides(),"auto"===f.slidesPerView?c.updateSlides():_&&(x.length>0&&C||w.length>0&&N)&&c.slides.forEach((e,t)=>{c.grid.updateSlide(t,e,c.slides)}),f.watchSlidesProgress&&c.updateSlidesOffset(),n)if(x.length>0&&C){if(void 0===t){const e=c.slidesGrid[E],t=c.slidesGrid[E+T]-e;l?c.setTranslate(c.translate-t):(c.slideTo(E+Math.ceil(T),0,!1,!0),r&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-t,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-t))}else if(r){const e=_?x.length/f.grid.rows:x.length;c.slideTo(c.activeIndex+e,0,!1,!0),c.touchEventsData.currentTranslate=c.translate}}else if(w.length>0&&N)if(void 0===t){const e=c.slidesGrid[E],t=c.slidesGrid[E-A]-e;l?c.setTranslate(c.translate-t):(c.slideTo(E-A,0,!1,!0),r&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-t,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-t))}else{const e=_?w.length/f.grid.rows:w.length;c.slideTo(c.activeIndex-e,0,!1,!0)}if(c.allowSlidePrev=u,c.allowSlideNext=p,c.controller&&c.controller.control&&!o){const e={slideRealIndex:t,direction:i,setTranslate:r,activeSlideIndex:a,byController:!0};Array.isArray(c.controller.control)?c.controller.control.forEach(t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===f.slidesPerView&&n})}):c.controller.control instanceof c.constructor&&c.controller.control.params.loop&&c.controller.control.loopFix({...e,slideTo:c.controller.control.params.slidesPerView===f.slidesPerView&&n})}c.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||!n||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const i=[];e.slides.forEach(e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;i[t]=e}),e.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),i.forEach(e=>{n.append(e)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function ei(e,t,n){const i=gn(),{params:r}=e,a=r.edgeSwipeDetection,s=r.edgeSwipeThreshold;return!a||!(n<=s||n>=i.innerWidth-s)||"prevent"===a&&(t.preventDefault(),!0)}function ti(e){const t=this,n=mn();let i=e;i.originalEvent&&(i=i.originalEvent);const r=t.touchEventsData;if("pointerdown"===i.type){if(null!==r.pointerId&&r.pointerId!==i.pointerId)return;r.pointerId=i.pointerId}else"touchstart"===i.type&&1===i.targetTouches.length&&(r.touchId=i.targetTouches[0].identifier);if("touchstart"===i.type)return void ei(t,i,i.targetTouches[0].pageX);const{params:a,touches:s,enabled:o}=t;if(!o)return;if(!a.simulateTouch&&"mouse"===i.pointerType)return;if(t.animating&&a.preventInteractionOnTransition)return;!t.animating&&a.cssMode&&a.loop&&t.loopFix();let l=i.target;if("wrapper"===a.touchEventsTarget&&!function(e,t){const n=gn();let i=t.contains(e);!i&&n.HTMLSlotElement&&t instanceof HTMLSlotElement&&(i=[...t.assignedElements()].includes(e),i||(i=function(e,t){const n=[t];for(;n.length>0;){const t=n.shift();if(e===t)return!0;n.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(e,t)));return i}(l,t.wrapperEl))return;if("which"in i&&3===i.which)return;if("button"in i&&i.button>0)return;if(r.isTouched&&r.isMoved)return;const c=!!a.noSwipingClass&&""!==a.noSwipingClass,d=i.composedPath?i.composedPath():i.path;c&&i.target&&i.target.shadowRoot&&d&&(l=d[0]);const u=a.noSwipingSelector?a.noSwipingSelector:`.${a.noSwipingClass}`,p=!(!i.target||!i.target.shadowRoot);if(a.noSwiping&&(p?function(e,t){return void 0===t&&(t=this),function t(n){if(!n||n===mn()||n===gn())return null;n.assignedSlot&&(n=n.assignedSlot);const i=n.closest(e);return i||n.getRootNode?i||t(n.getRootNode().host):null}(t)}(u,l):l.closest(u)))return void(t.allowClick=!0);if(a.swipeHandler&&!l.closest(a.swipeHandler))return;s.currentX=i.pageX,s.currentY=i.pageY;const h=s.currentX,f=s.currentY;if(!ei(t,i,h))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=h,s.startY=f,r.touchStartTime=_n(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,a.threshold>0&&(r.allowThresholdMove=!1);let m=!0;l.matches(r.focusableElements)&&(m=!1,"SELECT"===l.nodeName&&(r.isTouched=!1)),n.activeElement&&n.activeElement.matches(r.focusableElements)&&n.activeElement!==l&&("mouse"===i.pointerType||"mouse"!==i.pointerType&&!l.matches(r.focusableElements))&&n.activeElement.blur();const v=m&&t.allowTouchMove&&a.touchStartPreventDefault;!a.touchStartForcePreventDefault&&!v||l.isContentEditable||i.preventDefault(),a.freeMode&&a.freeMode.enabled&&t.freeMode&&t.animating&&!a.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",i)}function ni(e){const t=mn(),n=this,i=n.touchEventsData,{params:r,touches:a,rtlTranslate:s,enabled:o}=n;if(!o)return;if(!r.simulateTouch&&"mouse"===e.pointerType)return;let l,c=e;if(c.originalEvent&&(c=c.originalEvent),"pointermove"===c.type){if(null!==i.touchId)return;if(c.pointerId!==i.pointerId)return}if("touchmove"===c.type){if(l=[...c.changedTouches].find(e=>e.identifier===i.touchId),!l||l.identifier!==i.touchId)return}else l=c;if(!i.isTouched)return void(i.startMoving&&i.isScrolling&&n.emit("touchMoveOpposite",c));const d=l.pageX,u=l.pageY;if(c.preventedByNestedSwiper)return a.startX=d,void(a.startY=u);if(!n.allowTouchMove)return c.target.matches(i.focusableElements)||(n.allowClick=!1),void(i.isTouched&&(Object.assign(a,{startX:d,startY:u,currentX:d,currentY:u}),i.touchStartTime=_n()));if(r.touchReleaseOnEdges&&!r.loop)if(n.isVertical()){if(u<a.startY&&n.translate<=n.maxTranslate()||u>a.startY&&n.translate>=n.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else{if(s&&(d>a.startX&&-n.translate<=n.maxTranslate()||d<a.startX&&-n.translate>=n.minTranslate()))return;if(!s&&(d<a.startX&&n.translate<=n.maxTranslate()||d>a.startX&&n.translate>=n.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(i.focusableElements)&&t.activeElement!==c.target&&"mouse"!==c.pointerType&&t.activeElement.blur(),t.activeElement&&c.target===t.activeElement&&c.target.matches(i.focusableElements))return i.isMoved=!0,void(n.allowClick=!1);i.allowTouchCallbacks&&n.emit("touchMove",c),a.previousX=a.currentX,a.previousY=a.currentY,a.currentX=d,a.currentY=u;const p=a.currentX-a.startX,h=a.currentY-a.startY;if(n.params.threshold&&Math.sqrt(p**2+h**2)<n.params.threshold)return;if(void 0===i.isScrolling){let e;n.isHorizontal()&&a.currentY===a.startY||n.isVertical()&&a.currentX===a.startX?i.isScrolling=!1:p*p+h*h>=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(p))/Math.PI,i.isScrolling=n.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(i.isScrolling&&n.emit("touchMoveOpposite",c),void 0===i.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(i.startMoving=!0)),i.isScrolling||"touchmove"===c.type&&i.preventTouchMoveFromPointerMove)return void(i.isTouched=!1);if(!i.startMoving)return;n.allowClick=!1,!r.cssMode&&c.cancelable&&c.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&c.stopPropagation();let f=n.isHorizontal()?p:h,m=n.isHorizontal()?a.currentX-a.previousX:a.currentY-a.previousY;r.oneWayMovement&&(f=Math.abs(f)*(s?1:-1),m=Math.abs(m)*(s?1:-1)),a.diff=f,f*=r.touchRatio,s&&(f=-f,m=-m);const v=n.touchesDirection;n.swipeDirection=f>0?"prev":"next",n.touchesDirection=m>0?"prev":"next";const g=n.params.loop&&!r.cssMode,y="next"===n.touchesDirection&&n.allowSlideNext||"prev"===n.touchesDirection&&n.allowSlidePrev;if(!i.isMoved){if(g&&y&&n.loopFix({direction:n.swipeDirection}),i.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});n.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,!r.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",c)}if((new Date).getTime(),!1!==r._loopSwapReset&&i.isMoved&&i.allowThresholdMove&&v!==n.touchesDirection&&g&&y&&Math.abs(f)>=1)return Object.assign(a,{startX:d,startY:u,currentX:d,currentY:u,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,void(i.startTranslate=i.currentTranslate);n.emit("sliderMove",c),i.isMoved=!0,i.currentTranslate=f+i.startTranslate;let b=!0,_=r.resistanceRatio;if(r.touchReleaseOnEdges&&(_=0),f>0?(g&&y&&i.allowThresholdMove&&i.currentTranslate>(r.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]-("auto"!==r.slidesPerView&&n.slides.length-r.slidesPerView>=2?n.slidesSizesGrid[n.activeIndex+1]+n.params.spaceBetween:0)-n.params.spaceBetween:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>n.minTranslate()&&(b=!1,r.resistance&&(i.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+i.startTranslate+f)**_))):f<0&&(g&&y&&i.allowThresholdMove&&i.currentTranslate<(r.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween+("auto"!==r.slidesPerView&&n.slides.length-r.slidesPerView>=2?n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween:0):n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-("auto"===r.slidesPerView?n.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),i.currentTranslate<n.maxTranslate()&&(b=!1,r.resistance&&(i.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-i.startTranslate-f)**_))),b&&(c.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),n.allowSlidePrev||n.allowSlideNext||(i.currentTranslate=i.startTranslate),r.threshold>0){if(!(Math.abs(f)>r.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,i.currentTranslate=i.startTranslate,void(a.diff=n.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&n.freeMode||r.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(i.currentTranslate),n.setTranslate(i.currentTranslate))}function ii(e){const t=this,n=t.touchEventsData;let i,r=e;r.originalEvent&&(r=r.originalEvent);if("touchend"===r.type||"touchcancel"===r.type){if(i=[...r.changedTouches].find(e=>e.identifier===n.touchId),!i||i.identifier!==n.touchId)return}else{if(null!==n.touchId)return;if(r.pointerId!==n.pointerId)return;i=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)){if(!(["pointercancel","contextmenu"].includes(r.type)&&(t.browser.isSafari||t.browser.isWebView)))return}n.pointerId=null,n.touchId=null;const{params:a,touches:s,rtlTranslate:o,slidesGrid:l,enabled:c}=t;if(!c)return;if(!a.simulateTouch&&"mouse"===r.pointerType)return;if(n.allowTouchCallbacks&&t.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&a.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);a.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const d=_n(),u=d-n.touchStartTime;if(t.allowClick){const e=r.path||r.composedPath&&r.composedPath();t.updateClickedSlide(e&&e[0]||r.target,e),t.emit("tap click",r),u<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",r)}if(n.lastClickTime=_n(),bn(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||0===s.diff&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let p;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,p=a.followFinger?o?t.translate:-t.translate:-n.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:p});const h=p>=-t.maxTranslate()&&!t.params.loop;let f=0,m=t.slidesSizesGrid[0];for(let e=0;e<l.length;e+=e<a.slidesPerGroupSkip?1:a.slidesPerGroup){const t=e<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;void 0!==l[e+t]?(h||p>=l[e]&&p<l[e+t])&&(f=e,m=l[e+t]-l[e]):(h||p>=l[e])&&(f=e,m=l[l.length-1]-l[l.length-2])}let v=null,g=null;a.rewind&&(t.isBeginning?g=a.virtual&&a.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(v=0));const y=(p-l[f])/m,b=f<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(u>a.longSwipesMs){if(!a.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(y>=a.longSwipesRatio?t.slideTo(a.rewind&&t.isEnd?v:f+b):t.slideTo(f)),"prev"===t.swipeDirection&&(y>1-a.longSwipesRatio?t.slideTo(f+b):null!==g&&y<0&&Math.abs(y)>a.longSwipesRatio?t.slideTo(g):t.slideTo(f))}else{if(!a.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(r.target===t.navigation.nextEl||r.target===t.navigation.prevEl)?r.target===t.navigation.nextEl?t.slideTo(f+b):t.slideTo(f):("next"===t.swipeDirection&&t.slideTo(null!==v?v:f+b),"prev"===t.swipeDirection&&t.slideTo(null!==g?g:f))}}function ri(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:r,snapGrid:a}=e,s=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const o=s&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||o?e.params.loop&&!s?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=r,e.allowSlideNext=i,e.params.watchOverflow&&a!==e.snapGrid&&e.checkOverflow()}function ai(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function si(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:i}=e;if(!i)return;let r;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const a=e.maxTranslate()-e.minTranslate();r=0===a?0:(e.translate-e.minTranslate())/a,r!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function oi(e){const t=this;Wn(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function li(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const ci=(e,t)=>{const n=mn(),{params:i,el:r,wrapperEl:a,device:s}=e,o=!!i.nested,l="on"===t?"addEventListener":"removeEventListener",c=t;r&&"string"!=typeof r&&(n[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:o}),r[l]("touchstart",e.onTouchStart,{passive:!1}),r[l]("pointerdown",e.onTouchStart,{passive:!1}),n[l]("touchmove",e.onTouchMove,{passive:!1,capture:o}),n[l]("pointermove",e.onTouchMove,{passive:!1,capture:o}),n[l]("touchend",e.onTouchEnd,{passive:!0}),n[l]("pointerup",e.onTouchEnd,{passive:!0}),n[l]("pointercancel",e.onTouchEnd,{passive:!0}),n[l]("touchcancel",e.onTouchEnd,{passive:!0}),n[l]("pointerout",e.onTouchEnd,{passive:!0}),n[l]("pointerleave",e.onTouchEnd,{passive:!0}),n[l]("contextmenu",e.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&r[l]("click",e.onClick,!0),i.cssMode&&a[l]("scroll",e.onScroll),i.updateOnWindowResize?e[c](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",ri,!0):e[c]("observerUpdate",ri,!0),r[l]("load",e.onLoad,{capture:!0}))};const di=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var ui={setBreakpoint:function(){const e=this,{realIndex:t,initialized:n,params:i,el:r}=e,a=i.breakpoints;if(!a||a&&0===Object.keys(a).length)return;const s=mn(),o="window"!==i.breakpointsBase&&i.breakpointsBase?"container":i.breakpointsBase,l=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?e.el:s.querySelector(i.breakpointsBase),c=e.getBreakpoint(a,o,l);if(!c||e.currentBreakpoint===c)return;const d=(c in a?a[c]:void 0)||e.originalParams,u=di(e,i),p=di(e,d),h=e.params.grabCursor,f=d.grabCursor,m=i.enabled;u&&!p?(r.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!u&&p&&(r.classList.add(`${i.containerModifierClass}grid`),(d.grid.fill&&"column"===d.grid.fill||!d.grid.fill&&"column"===i.grid.fill)&&r.classList.add(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),h&&!f?e.unsetGrabCursor():!h&&f&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===d[t])return;const n=i[t]&&i[t].enabled,r=d[t]&&d[t].enabled;n&&!r&&e[t].disable(),!n&&r&&e[t].enable()});const v=d.direction&&d.direction!==i.direction,g=i.loop&&(d.slidesPerView!==i.slidesPerView||v),y=i.loop;v&&n&&e.changeDirection(),kn(e.params,d);const b=e.params.enabled,_=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),m&&!b?e.disable():!m&&b&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",d),n&&(g?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!y&&_?(e.loopCreate(t),e.updateSlides()):y&&!_&&e.loopDestroy()),e.emit("breakpoint",d)},getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),!e||"container"===t&&!n)return;let i=!1;const r=gn(),a="window"===t?r.innerHeight:n.clientHeight,s=Object.keys(e).map(e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:a*t,point:e}}return{value:e,point:e}});s.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<s.length;e+=1){const{point:a,value:o}=s[e];"window"===t?r.matchMedia(`(min-width: ${o}px)`).matches&&(i=a):o<=n.clientWidth&&(i=a)}return i||"max"}};var pi={addClasses:function(){const e=this,{classNames:t,params:n,rtl:i,el:r,device:a}=e,s=function(e,t){const n=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(i=>{e[i]&&n.push(t+i)}):"string"==typeof e&&n.push(t+e)}),n}(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:i},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:a.android},{ios:a.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...s),r.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}};var hi={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function fi(e,t){return function(n){void 0===n&&(n={});const i=Object.keys(n)[0],r=n[i];"object"==typeof r&&null!==r?(!0===e[i]&&(e[i]={enabled:!0}),"navigation"===i&&e[i]&&e[i].enabled&&!e[i].prevEl&&!e[i].nextEl&&(e[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&e[i]&&e[i].enabled&&!e[i].el&&(e[i].auto=!0),i in e&&"enabled"in r?("object"!=typeof e[i]||"enabled"in e[i]||(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),kn(t,n)):kn(t,n)):kn(t,n)}}const mi={eventsEmitter:Un,update:Xn,translate:Kn,transition:{setTransition:function(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`,n.wrapperEl.style.transitionDelay=0===e?"0ms":""),n.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const n=this,{params:i}=n;i.cssMode||(i.autoHeight&&n.updateAutoHeight(),Jn({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const n=this,{params:i}=n;n.animating=!1,i.cssMode||(n.setTransition(0),Jn({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},slide:Zn,loop:Qn,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=ti.bind(e),e.onTouchMove=ni.bind(e),e.onTouchEnd=ii.bind(e),e.onDocumentTouchStart=li.bind(e),t.cssMode&&(e.onScroll=si.bind(e)),e.onClick=ai.bind(e),e.onLoad=oi.bind(e),ci(e,"on")},detachEvents:function(){ci(this,"off")}},breakpoints:ui,checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:i}=n;if(i){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*i;e.isLocked=e.size>n}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:pi},vi={};class gi{constructor(){let e,t;for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];1===i.length&&i[0].constructor&&"Object"===Object.prototype.toString.call(i[0]).slice(8,-1)?t=i[0]:[e,t]=i,t||(t={}),t=kn({},t),e&&!t.el&&(t.el=e);const a=mn();if(t.el&&"string"==typeof t.el&&a.querySelectorAll(t.el).length>1){const e=[];return a.querySelectorAll(t.el).forEach(n=>{const i=kn({},t,{el:n});e.push(new gi(i))}),e}const s=this;s.__swiper__=!0,s.support=Bn(),s.device=Hn({userAgent:t.userAgent}),s.browser=Vn(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],t.modules&&Array.isArray(t.modules)&&s.modules.push(...t.modules);const o={};s.modules.forEach(e=>{e({params:t,swiper:s,extendParams:fi(t,o),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const l=kn({},hi,o);return s.params=kn({},l,vi,t),s.originalParams=kn({},s.params),s.passedParams=kn({},t),s.params&&s.params.on&&Object.keys(s.params.on).forEach(e=>{s.on(e,s.params.on[e])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===s.params.direction,isVertical:()=>"vertical"===s.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:n}=this,i=Ln(Cn(t,`.${n.slideClass}, swiper-slide`)[0]);return Ln(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=Cn(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const i=n.minTranslate(),r=(n.maxTranslate()-i)*e+i;n.translateTo(r,void 0===t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(n=>{const i=e.getSlideClasses(n);t.push({slideEl:n,classNames:i}),e.emit("_slideClass",n,i)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:n,slides:i,slidesGrid:r,slidesSizesGrid:a,size:s,activeIndex:o}=this;let l=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let e,t=i[o]?Math.ceil(i[o].swiperSlideSize):0;for(let n=o+1;n<i.length;n+=1)i[n]&&!e&&(t+=Math.ceil(i[n].swiperSlideSize),l+=1,t>s&&(e=!0));for(let n=o-1;n>=0;n-=1)i[n]&&!e&&(t+=i[n].swiperSlideSize,l+=1,t>s&&(e=!0))}else if("current"===e)for(let e=o+1;e<i.length;e+=1){(t?r[e]+a[e]-r[o]<s:r[e]-r[o]<s)&&(l+=1)}else for(let e=o-1;e>=0;e-=1){r[o]-r[e]<s&&(l+=1)}return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function i(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let r;if(n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(t=>{t.complete&&Wn(e,t)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)i(),n.autoHeight&&e.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const t=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;r=e.slideTo(t.length-1,0,!1,!0)}else r=e.slideTo(e.activeIndex,0,!1,!0);r||i()}n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const n=this,i=n.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(n.el.classList.remove(`${n.params.containerModifierClass}${i}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let n=e||t.params.el;if("string"==typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=(()=>{if(n&&n.shadowRoot&&n.shadowRoot.querySelector){return n.shadowRoot.querySelector(i())}return Cn(n,i())[0]})();return!r&&t.params.createElements&&(r=An("div",t.params.wrapperClass),n.append(r),Cn(n,`.${t.params.slideClass}`).forEach(e=>{r.append(e)})),Object.assign(t,{el:n,wrapperEl:r,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:r,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===jn(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===jn(n,"direction")),wrongRTL:"-webkit-box"===jn(r,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();const n=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&n.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(e=>{e.complete?Wn(t,e):e.addEventListener("load",e=>{Wn(t,e.target)})}),Yn(t),t.initialized=!0,Yn(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const n=this,{params:i,el:r,wrapperEl:a,slides:s}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),t&&(n.removeClasses(),r&&"string"!=typeof r&&r.removeAttribute("style"),a&&a.removeAttribute("style"),s&&s.length&&s.forEach(e=>{e.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(e=>{n.off(e)}),!1!==e&&(n.el&&"string"!=typeof n.el&&(n.el.swiper=null),function(e){const t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})}(n)),n.destroyed=!0),null}static extendDefaults(e){kn(vi,e)}static get extendedDefaults(){return vi}static get defaults(){return hi}static installModule(e){gi.prototype.__modules__||(gi.prototype.__modules__=[]);const t=gi.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(e=>gi.installModule(e)),gi):(gi.installModule(e),gi)}}function yi(e){let{swiper:t,extendParams:n,on:i,emit:r}=e;const a=mn(),s=gn();function o(e){if(!t.enabled)return;const{rtlTranslate:n}=t;let i=e;i.originalEvent&&(i=i.originalEvent);const o=i.keyCode||i.charCode,l=t.params.keyboard.pageUpDown,c=l&&33===o,d=l&&34===o,u=37===o,p=39===o,h=38===o,f=40===o;if(!t.allowSlideNext&&(t.isHorizontal()&&p||t.isVertical()&&f||d))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&u||t.isVertical()&&h||c))return!1;if(!(i.shiftKey||i.altKey||i.ctrlKey||i.metaKey||a.activeElement&&(a.activeElement.isContentEditable||a.activeElement.nodeName&&("input"===a.activeElement.nodeName.toLowerCase()||"textarea"===a.activeElement.nodeName.toLowerCase())))){if(t.params.keyboard.onlyInViewport&&(c||d||u||p||h||f)){let e=!1;if(Dn(t.el,`.${t.params.slideClass}, swiper-slide`).length>0&&0===Dn(t.el,`.${t.params.slideActiveClass}`).length)return;const i=t.el,r=i.clientWidth,a=i.clientHeight,o=s.innerWidth,l=s.innerHeight,c=On(i);n&&(c.left-=i.scrollLeft);const d=[[c.left,c.top],[c.left+r,c.top],[c.left,c.top+a],[c.left+r,c.top+a]];for(let t=0;t<d.length;t+=1){const n=d[t];if(n[0]>=0&&n[0]<=o&&n[1]>=0&&n[1]<=l){if(0===n[0]&&0===n[1])continue;e=!0}}if(!e)return}t.isHorizontal()?((c||d||u||p)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),((d||p)&&!n||(c||u)&&n)&&t.slideNext(),((c||u)&&!n||(d||p)&&n)&&t.slidePrev()):((c||d||h||f)&&(i.preventDefault?i.preventDefault():i.returnValue=!1),(d||f)&&t.slideNext(),(c||h)&&t.slidePrev()),r("keyPress",o)}}function l(){t.keyboard.enabled||(a.addEventListener("keydown",o),t.keyboard.enabled=!0)}function c(){t.keyboard.enabled&&(a.removeEventListener("keydown",o),t.keyboard.enabled=!1)}t.keyboard={enabled:!1},n({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),i("init",()=>{t.params.keyboard.enabled&&l()}),i("destroy",()=>{t.keyboard.enabled&&c()}),Object.assign(t.keyboard,{enable:l,disable:c})}function bi(e,t,n,i){return e.params.createElements&&Object.keys(i).forEach(r=>{if(!n[r]&&!0===n.auto){let a=Cn(e.el,`.${i[r]}`)[0];a||(a=An("div",i[r]),a.className=i[r],e.el.append(a)),n[r]=a,t[r]=a}}),n}function _i(e){let{swiper:t,extendParams:n,on:i,emit:r}=e;function a(e){let n;return e&&"string"==typeof e&&t.isElement&&(n=t.el.querySelector(e)||t.hostEl.querySelector(e),n)?n:(e&&("string"==typeof e&&(n=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&n&&n.length>1&&1===t.el.querySelectorAll(e).length?n=t.el.querySelector(e):n&&1===n.length&&(n=n[0])),e&&!n?e:n)}function s(e,n){const i=t.params.navigation;(e=Mn(e)).forEach(e=>{e&&(e.classList[n?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=n),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](i.lockClass))})}function o(){const{nextEl:e,prevEl:n}=t.navigation;if(t.params.loop)return s(n,!1),void s(e,!1);s(n,t.isBeginning&&!t.params.rewind),s(e,t.isEnd&&!t.params.rewind)}function l(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),r("navigationPrev"))}function c(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),r("navigationNext"))}function d(){const e=t.params.navigation;if(t.params.navigation=bi(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;let n=a(e.nextEl),i=a(e.prevEl);Object.assign(t.navigation,{nextEl:n,prevEl:i}),n=Mn(n),i=Mn(i);const r=(n,i)=>{n&&n.addEventListener("click","next"===i?c:l),!t.enabled&&n&&n.classList.add(...e.lockClass.split(" "))};n.forEach(e=>r(e,"next")),i.forEach(e=>r(e,"prev"))}function u(){let{nextEl:e,prevEl:n}=t.navigation;e=Mn(e),n=Mn(n);const i=(e,n)=>{e.removeEventListener("click","next"===n?c:l),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach(e=>i(e,"next")),n.forEach(e=>i(e,"prev"))}n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null},i("init",()=>{!1===t.params.navigation.enabled?p():(d(),o())}),i("toEdge fromEdge lock unlock",()=>{o()}),i("destroy",()=>{u()}),i("enable disable",()=>{let{nextEl:e,prevEl:n}=t.navigation;e=Mn(e),n=Mn(n),t.enabled?o():[...e,...n].filter(e=>!!e).forEach(e=>e.classList.add(t.params.navigation.lockClass))}),i("click",(e,n)=>{let{nextEl:i,prevEl:a}=t.navigation;i=Mn(i),a=Mn(a);const s=n.target;let o=a.includes(s)||i.includes(s);if(t.isElement&&!o){const e=n.path||n.composedPath&&n.composedPath();e&&(o=e.find(e=>i.includes(e)||a.includes(e)))}if(t.params.navigation.hideOnClick&&!o){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===s||t.pagination.el.contains(s)))return;let e;i.length?e=i[0].classList.contains(t.params.navigation.hiddenClass):a.length&&(e=a[0].classList.contains(t.params.navigation.hiddenClass)),r(!0===e?"navigationShow":"navigationHide"),[...i,...a].filter(e=>!!e).forEach(e=>e.classList.toggle(t.params.navigation.hiddenClass))}});const p=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),u()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),d(),o()},disable:p,update:o,init:d,destroy:u})}function xi(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function wi(e){let{swiper:t,extendParams:n,on:i,emit:r}=e;const a="swiper-pagination";let s;n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${a}-bullet`,bulletActiveClass:`${a}-bullet-active`,modifierClass:`${a}-`,currentClass:`${a}-current`,totalClass:`${a}-total`,hiddenClass:`${a}-hidden`,progressbarFillClass:`${a}-progressbar-fill`,progressbarOppositeClass:`${a}-progressbar-opposite`,clickableClass:`${a}-clickable`,lockClass:`${a}-lock`,horizontalClass:`${a}-horizontal`,verticalClass:`${a}-vertical`,paginationDisabledClass:`${a}-disabled`}}),t.pagination={el:null,bullets:[]};let o=0;function l(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function c(e,n){const{bulletActiveClass:i}=t.params.pagination;e&&(e=e[("prev"===n?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${i}-${n}`),(e=e[("prev"===n?"previous":"next")+"ElementSibling"])&&e.classList.add(`${i}-${n}-${n}`))}function d(e){const n=e.target.closest(xi(t.params.pagination.bulletClass));if(!n)return;e.preventDefault();const i=Ln(n)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===i)return;const e=(r=t.realIndex,a=i,s=t.slides.length,(a%=s)===1+(r%=s)?"next":a===r-1?"previous":void 0);"next"===e?t.slideNext():"previous"===e?t.slidePrev():t.slideToLoop(i)}else t.slideTo(i);var r,a,s}function u(){const e=t.rtl,n=t.params.pagination;if(l())return;let i,a,d=t.pagination.el;d=Mn(d);const u=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,p=t.params.loop?Math.ceil(u/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(a=t.previousRealIndex||0,i=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):void 0!==t.snapIndex?(i=t.snapIndex,a=t.previousSnapIndex):(a=t.previousIndex||0,i=t.activeIndex||0),"bullets"===n.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const r=t.pagination.bullets;let l,u,p;if(n.dynamicBullets&&(s=Pn(r[0],t.isHorizontal()?"width":"height"),d.forEach(e=>{e.style[t.isHorizontal()?"width":"height"]=s*(n.dynamicMainBullets+4)+"px"}),n.dynamicMainBullets>1&&void 0!==a&&(o+=i-(a||0),o>n.dynamicMainBullets-1?o=n.dynamicMainBullets-1:o<0&&(o=0)),l=Math.max(i-o,0),u=l+(Math.min(r.length,n.dynamicMainBullets)-1),p=(u+l)/2),r.forEach(e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${n.bulletActiveClass}${e}`)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),d.length>1)r.forEach(e=>{const r=Ln(e);r===i?e.classList.add(...n.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),n.dynamicBullets&&(r>=l&&r<=u&&e.classList.add(...`${n.bulletActiveClass}-main`.split(" ")),r===l&&c(e,"prev"),r===u&&c(e,"next"))});else{const e=r[i];if(e&&e.classList.add(...n.bulletActiveClass.split(" ")),t.isElement&&r.forEach((e,t)=>{e.setAttribute("part",t===i?"bullet-active":"bullet")}),n.dynamicBullets){const e=r[l],t=r[u];for(let e=l;e<=u;e+=1)r[e]&&r[e].classList.add(...`${n.bulletActiveClass}-main`.split(" "));c(e,"prev"),c(t,"next")}}if(n.dynamicBullets){const i=Math.min(r.length,n.dynamicMainBullets+4),a=(s*i-s)/2-p*s,o=e?"right":"left";r.forEach(e=>{e.style[t.isHorizontal()?o:"top"]=`${a}px`})}}d.forEach((e,a)=>{if("fraction"===n.type&&(e.querySelectorAll(xi(n.currentClass)).forEach(e=>{e.textContent=n.formatFractionCurrent(i+1)}),e.querySelectorAll(xi(n.totalClass)).forEach(e=>{e.textContent=n.formatFractionTotal(p)})),"progressbar"===n.type){let r;r=n.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const a=(i+1)/p;let s=1,o=1;"horizontal"===r?s=a:o=a,e.querySelectorAll(xi(n.progressbarFillClass)).forEach(e=>{e.style.transform=`translate3d(0,0,0) scaleX(${s}) scaleY(${o})`,e.style.transitionDuration=`${t.params.speed}ms`})}"custom"===n.type&&n.renderCustom?(In(e,n.renderCustom(t,i+1,p)),0===a&&r("paginationRender",e)):(0===a&&r("paginationRender",e),r("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](n.lockClass)})}function p(){const e=t.params.pagination;if(l())return;const n=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let i=t.pagination.el;i=Mn(i);let a="";if("bullets"===e.type){let i=t.params.loop?Math.ceil(n/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&i>n&&(i=n);for(let n=0;n<i;n+=1)e.renderBullet?a+=e.renderBullet.call(t,n,e.bulletClass):a+=`<${e.bulletElement} ${t.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(a=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(a=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),t.pagination.bullets=[],i.forEach(n=>{"custom"!==e.type&&In(n,a||""),"bullets"===e.type&&t.pagination.bullets.push(...n.querySelectorAll(xi(e.bulletClass)))}),"custom"!==e.type&&r("paginationRender",i[0])}function h(){t.params.pagination=bi(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let n;"string"==typeof e.el&&t.isElement&&(n=t.el.querySelector(e.el)),n||"string"!=typeof e.el||(n=[...document.querySelectorAll(e.el)]),n||(n=e.el),n&&0!==n.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(n)&&n.length>1&&(n=[...t.el.querySelectorAll(e.el)],n.length>1&&(n=n.find(e=>Dn(e,".swiper")[0]===t.el))),Array.isArray(n)&&1===n.length&&(n=n[0]),Object.assign(t.pagination,{el:n}),n=Mn(n),n.forEach(n=>{"bullets"===e.type&&e.clickable&&n.classList.add(...(e.clickableClass||"").split(" ")),n.classList.add(e.modifierClass+e.type),n.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(n.classList.add(`${e.modifierClass}${e.type}-dynamic`),o=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&n.classList.add(e.progressbarOppositeClass),e.clickable&&n.addEventListener("click",d),t.enabled||n.classList.add(e.lockClass)}))}function f(){const e=t.params.pagination;if(l())return;let n=t.pagination.el;n&&(n=Mn(n),n.forEach(n=>{n.classList.remove(e.hiddenClass),n.classList.remove(e.modifierClass+e.type),n.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(n.classList.remove(...(e.clickableClass||"").split(" ")),n.removeEventListener("click",d))})),t.pagination.bullets&&t.pagination.bullets.forEach(t=>t.classList.remove(...e.bulletActiveClass.split(" ")))}i("changeDirection",()=>{if(!t.pagination||!t.pagination.el)return;const e=t.params.pagination;let{el:n}=t.pagination;n=Mn(n),n.forEach(n=>{n.classList.remove(e.horizontalClass,e.verticalClass),n.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)})}),i("init",()=>{!1===t.params.pagination.enabled?m():(h(),p(),u())}),i("activeIndexChange",()=>{void 0===t.snapIndex&&u()}),i("snapIndexChange",()=>{u()}),i("snapGridLengthChange",()=>{p(),u()}),i("destroy",()=>{f()}),i("enable disable",()=>{let{el:e}=t.pagination;e&&(e=Mn(e),e.forEach(e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass)))}),i("lock unlock",()=>{u()}),i("click",(e,n)=>{const i=n.target,a=Mn(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&a&&a.length>0&&!i.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&i===t.navigation.nextEl||t.navigation.prevEl&&i===t.navigation.prevEl))return;const e=a[0].classList.contains(t.params.pagination.hiddenClass);r(!0===e?"paginationShow":"paginationHide"),a.forEach(e=>e.classList.toggle(t.params.pagination.hiddenClass))}});const m=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=Mn(e),e.forEach(e=>e.classList.add(t.params.pagination.paginationDisabledClass))),f()};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=Mn(e),e.forEach(e=>e.classList.remove(t.params.pagination.paginationDisabledClass))),h(),p(),u()},disable:m,render:p,update:u,init:h,destroy:f})}function Si(e){let{swiper:t,extendParams:n,on:i,emit:r}=e;const a=mn();let s,o,l,c,d=!1,u=null,p=null;function h(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e,rtlTranslate:n}=t,{dragEl:i,el:r}=e,a=t.params.scrollbar,s=t.params.loop?t.progressLoop:t.progress;let c=o,d=(l-o)*s;n?(d=-d,d>0?(c=o-d,d=0):-d+o>l&&(c=l+d)):d<0?(c=o+d,d=0):d+o>l&&(c=l-d),t.isHorizontal()?(i.style.transform=`translate3d(${d}px, 0, 0)`,i.style.width=`${c}px`):(i.style.transform=`translate3d(0px, ${d}px, 0)`,i.style.height=`${c}px`),a.hide&&(clearTimeout(u),r.style.opacity=1,u=setTimeout(()=>{r.style.opacity=0,r.style.transitionDuration="400ms"},1e3))}function f(){if(!t.params.scrollbar.el||!t.scrollbar.el)return;const{scrollbar:e}=t,{dragEl:n,el:i}=e;n.style.width="",n.style.height="",l=t.isHorizontal()?i.offsetWidth:i.offsetHeight,c=t.size/(t.virtualSize+t.params.slidesOffsetBefore-(t.params.centeredSlides?t.snapGrid[0]:0)),o="auto"===t.params.scrollbar.dragSize?l*c:parseInt(t.params.scrollbar.dragSize,10),t.isHorizontal()?n.style.width=`${o}px`:n.style.height=`${o}px`,i.style.display=c>=1?"none":"",t.params.scrollbar.hide&&(i.style.opacity=0),t.params.watchOverflow&&t.enabled&&e.el.classList[t.isLocked?"add":"remove"](t.params.scrollbar.lockClass)}function m(e){return t.isHorizontal()?e.clientX:e.clientY}function v(e){const{scrollbar:n,rtlTranslate:i}=t,{el:r}=n;let a;a=(m(e)-On(r)[t.isHorizontal()?"left":"top"]-(null!==s?s:o/2))/(l-o),a=Math.max(Math.min(a,1),0),i&&(a=1-a);const c=t.minTranslate()+(t.maxTranslate()-t.minTranslate())*a;t.updateProgress(c),t.setTranslate(c),t.updateActiveIndex(),t.updateSlidesClasses()}function g(e){const n=t.params.scrollbar,{scrollbar:i,wrapperEl:a}=t,{el:o,dragEl:l}=i;d=!0,s=e.target===l?m(e)-e.target.getBoundingClientRect()[t.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),a.style.transitionDuration="100ms",l.style.transitionDuration="100ms",v(e),clearTimeout(p),o.style.transitionDuration="0ms",n.hide&&(o.style.opacity=1),t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="none"),r("scrollbarDragStart",e)}function y(e){const{scrollbar:n,wrapperEl:i}=t,{el:a,dragEl:s}=n;d&&(e.preventDefault&&e.cancelable?e.preventDefault():e.returnValue=!1,v(e),i.style.transitionDuration="0ms",a.style.transitionDuration="0ms",s.style.transitionDuration="0ms",r("scrollbarDragMove",e))}function b(e){const n=t.params.scrollbar,{scrollbar:i,wrapperEl:a}=t,{el:s}=i;d&&(d=!1,t.params.cssMode&&(t.wrapperEl.style["scroll-snap-type"]="",a.style.transitionDuration=""),n.hide&&(clearTimeout(p),p=bn(()=>{s.style.opacity=0,s.style.transitionDuration="400ms"},1e3)),r("scrollbarDragEnd",e),n.snapOnRelease&&t.slideToClosest())}function _(e){const{scrollbar:n,params:i}=t,r=n.el;if(!r)return;const s=r,o=!!i.passiveListeners&&{passive:!1,capture:!1},l=!!i.passiveListeners&&{passive:!0,capture:!1};if(!s)return;const c="on"===e?"addEventListener":"removeEventListener";s[c]("pointerdown",g,o),a[c]("pointermove",y,o),a[c]("pointerup",b,l)}function x(){const{scrollbar:e,el:n}=t;t.params.scrollbar=bi(t,t.originalParams.scrollbar,t.params.scrollbar,{el:"swiper-scrollbar"});const i=t.params.scrollbar;if(!i.el)return;let r,s;if("string"==typeof i.el&&t.isElement&&(r=t.el.querySelector(i.el)),r||"string"!=typeof i.el)r||(r=i.el);else if(r=a.querySelectorAll(i.el),!r.length)return;t.params.uniqueNavElements&&"string"==typeof i.el&&r.length>1&&1===n.querySelectorAll(i.el).length&&(r=n.querySelector(i.el)),r.length>0&&(r=r[0]),r.classList.add(t.isHorizontal()?i.horizontalClass:i.verticalClass),r&&(s=r.querySelector(xi(t.params.scrollbar.dragClass)),s||(s=An("div",t.params.scrollbar.dragClass),r.append(s))),Object.assign(e,{el:r,dragEl:s}),i.draggable&&t.params.scrollbar.el&&t.scrollbar.el&&_("on"),r&&r.classList[t.enabled?"remove":"add"](...yn(t.params.scrollbar.lockClass))}function w(){const e=t.params.scrollbar,n=t.scrollbar.el;n&&n.classList.remove(...yn(t.isHorizontal()?e.horizontalClass:e.verticalClass)),t.params.scrollbar.el&&t.scrollbar.el&&_("off")}n({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),t.scrollbar={el:null,dragEl:null},i("changeDirection",()=>{if(!t.scrollbar||!t.scrollbar.el)return;const e=t.params.scrollbar;let{el:n}=t.scrollbar;n=Mn(n),n.forEach(n=>{n.classList.remove(e.horizontalClass,e.verticalClass),n.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)})}),i("init",()=>{!1===t.params.scrollbar.enabled?S():(x(),f(),h())}),i("update resize observerUpdate lock unlock changeDirection",()=>{f()}),i("setTranslate",()=>{h()}),i("setTransition",(e,n)=>{!function(e){t.params.scrollbar.el&&t.scrollbar.el&&(t.scrollbar.dragEl.style.transitionDuration=`${e}ms`)}(n)}),i("enable disable",()=>{const{el:e}=t.scrollbar;e&&e.classList[t.enabled?"remove":"add"](...yn(t.params.scrollbar.lockClass))}),i("destroy",()=>{w()});const S=()=>{t.el.classList.add(...yn(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.add(...yn(t.params.scrollbar.scrollbarDisabledClass)),w()};Object.assign(t.scrollbar,{enable:()=>{t.el.classList.remove(...yn(t.params.scrollbar.scrollbarDisabledClass)),t.scrollbar.el&&t.scrollbar.el.classList.remove(...yn(t.params.scrollbar.scrollbarDisabledClass)),x(),f(),h()},disable:S,updateSize:f,setTranslate:h,init:x,destroy:w})}function ki(e){let{swiper:t,extendParams:n,on:i}=e;n({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),t.a11y={clicked:!1};let r,a,s=null,o=(new Date).getTime();function l(e){const t=s;0!==t.length&&In(t,e)}function c(e){(e=Mn(e)).forEach(e=>{e.setAttribute("tabIndex","0")})}function d(e){(e=Mn(e)).forEach(e=>{e.setAttribute("tabIndex","-1")})}function u(e,t){(e=Mn(e)).forEach(e=>{e.setAttribute("role",t)})}function p(e,t){(e=Mn(e)).forEach(e=>{e.setAttribute("aria-roledescription",t)})}function h(e,t){(e=Mn(e)).forEach(e=>{e.setAttribute("aria-label",t)})}function f(e){(e=Mn(e)).forEach(e=>{e.setAttribute("aria-disabled",!0)})}function m(e){(e=Mn(e)).forEach(e=>{e.setAttribute("aria-disabled",!1)})}function v(e){if(13!==e.keyCode&&32!==e.keyCode)return;const n=t.params.a11y,i=e.target;if(!t.pagination||!t.pagination.el||i!==t.pagination.el&&!t.pagination.el.contains(e.target)||e.target.matches(xi(t.params.pagination.bulletClass))){if(t.navigation&&t.navigation.prevEl&&t.navigation.nextEl){const e=Mn(t.navigation.prevEl);Mn(t.navigation.nextEl).includes(i)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?l(n.lastSlideMessage):l(n.nextSlideMessage)),e.includes(i)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?l(n.firstSlideMessage):l(n.prevSlideMessage))}t.pagination&&i.matches(xi(t.params.pagination.bulletClass))&&i.click()}}function g(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function y(){return g()&&t.params.pagination.clickable}const b=(e,t,n)=>{c(e),"BUTTON"!==e.tagName&&(u(e,"button"),e.addEventListener("keydown",v)),h(e,n),function(e,t){(e=Mn(e)).forEach(e=>{e.setAttribute("aria-controls",t)})}(e,t)},_=e=>{a&&a!==e.target&&!a.contains(e.target)&&(r=!0),t.a11y.clicked=!0},x=()=>{r=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{t.destroyed||(t.a11y.clicked=!1)})})},w=e=>{o=(new Date).getTime()},S=e=>{if(t.a11y.clicked||!t.params.a11y.scrollOnFocus)return;if((new Date).getTime()-o<100)return;const n=e.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!n||!t.slides.includes(n))return;a=n;const i=t.slides.indexOf(n)===t.activeIndex,s=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(n);i||s||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,requestAnimationFrame(()=>{r||(t.params.loop?t.slideToLoop(t.getSlideIndexWhenGrid(parseInt(n.getAttribute("data-swiper-slide-index"))),0):t.slideTo(t.getSlideIndexWhenGrid(t.slides.indexOf(n)),0),r=!1)}))},k=()=>{const e=t.params.a11y;e.itemRoleDescriptionMessage&&p(t.slides,e.itemRoleDescriptionMessage),e.slideRole&&u(t.slides,e.slideRole);const n=t.slides.length;e.slideLabelMessage&&t.slides.forEach((i,r)=>{const a=t.params.loop?parseInt(i.getAttribute("data-swiper-slide-index"),10):r;h(i,e.slideLabelMessage.replace(/\{\{index\}\}/,a+1).replace(/\{\{slidesLength\}\}/,n))})},E=()=>{const e=t.params.a11y;t.el.append(s);const n=t.el;e.containerRoleDescriptionMessage&&p(n,e.containerRoleDescriptionMessage),e.containerMessage&&h(n,e.containerMessage),e.containerRole&&u(n,e.containerRole);const i=t.wrapperEl,r=e.id||i.getAttribute("id")||`swiper-wrapper-${a=16,"x".repeat(a).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))}`;var a;const o=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";var l;l=r,Mn(i).forEach(e=>{e.setAttribute("id",l)}),function(e,t){(e=Mn(e)).forEach(e=>{e.setAttribute("aria-live",t)})}(i,o),k();let{nextEl:c,prevEl:d}=t.navigation?t.navigation:{};if(c=Mn(c),d=Mn(d),c&&c.forEach(t=>b(t,r,e.nextSlideMessage)),d&&d.forEach(t=>b(t,r,e.prevSlideMessage)),y()){Mn(t.pagination.el).forEach(e=>{e.addEventListener("keydown",v)})}mn().addEventListener("visibilitychange",w),t.el.addEventListener("focus",S,!0),t.el.addEventListener("focus",S,!0),t.el.addEventListener("pointerdown",_,!0),t.el.addEventListener("pointerup",x,!0)};i("beforeInit",()=>{s=An("span",t.params.a11y.notificationClass),s.setAttribute("aria-live","assertive"),s.setAttribute("aria-atomic","true")}),i("afterInit",()=>{t.params.a11y.enabled&&E()}),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{t.params.a11y.enabled&&k()}),i("fromEdge toEdge afterInit lock unlock",()=>{t.params.a11y.enabled&&function(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:e,prevEl:n}=t.navigation;n&&(t.isBeginning?(f(n),d(n)):(m(n),c(n))),e&&(t.isEnd?(f(e),d(e)):(m(e),c(e)))}()}),i("paginationUpdate",()=>{t.params.a11y.enabled&&function(){const e=t.params.a11y;g()&&t.pagination.bullets.forEach(n=>{t.params.pagination.clickable&&(c(n),t.params.pagination.renderBullet||(u(n,"button"),h(n,e.paginationBulletMessage.replace(/\{\{index\}\}/,Ln(n)+1)))),n.matches(xi(t.params.pagination.bulletActiveClass))?n.setAttribute("aria-current","true"):n.removeAttribute("aria-current")})}()}),i("destroy",()=>{t.params.a11y.enabled&&function(){s&&s.remove();let{nextEl:e,prevEl:n}=t.navigation?t.navigation:{};e=Mn(e),n=Mn(n),e&&e.forEach(e=>e.removeEventListener("keydown",v)),n&&n.forEach(e=>e.removeEventListener("keydown",v)),y()&&Mn(t.pagination.el).forEach(e=>{e.removeEventListener("keydown",v)});mn().removeEventListener("visibilitychange",w),t.el&&"string"!=typeof t.el&&(t.el.removeEventListener("focus",S,!0),t.el.removeEventListener("pointerdown",_,!0),t.el.removeEventListener("pointerup",x,!0))}()})}function Ei(e){let t,n,{swiper:i,extendParams:r,on:a,emit:s,params:o}=e;i.autoplay={running:!1,paused:!1,timeLeft:0},r({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let l,c,d,u,p,h,f,m,v=o&&o.autoplay?o.autoplay.delay:3e3,g=o&&o.autoplay?o.autoplay.delay:3e3,y=(new Date).getTime();function b(e){i&&!i.destroyed&&i.wrapperEl&&e.target===i.wrapperEl&&(i.wrapperEl.removeEventListener("transitionend",b),m||e.detail&&e.detail.bySwiperTouchMove||E())}const _=()=>{if(i.destroyed||!i.autoplay.running)return;i.autoplay.paused?c=!0:c&&(g=l,c=!1);const e=i.autoplay.paused?l:y+g-(new Date).getTime();i.autoplay.timeLeft=e,s("autoplayTimeLeft",e,e/v),n=requestAnimationFrame(()=>{_()})},x=e=>{if(i.destroyed||!i.autoplay.running)return;cancelAnimationFrame(n),_();let r=void 0===e?i.params.autoplay.delay:e;v=i.params.autoplay.delay,g=i.params.autoplay.delay;const a=(()=>{let e;if(e=i.virtual&&i.params.virtual.enabled?i.slides.find(e=>e.classList.contains("swiper-slide-active")):i.slides[i.activeIndex],!e)return;return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(a)&&a>0&&void 0===e&&(r=a,v=a,g=a),l=r;const o=i.params.speed,c=()=>{i&&!i.destroyed&&(i.params.autoplay.reverseDirection?!i.isBeginning||i.params.loop||i.params.rewind?(i.slidePrev(o,!0,!0),s("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(i.slides.length-1,o,!0,!0),s("autoplay")):!i.isEnd||i.params.loop||i.params.rewind?(i.slideNext(o,!0,!0),s("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(0,o,!0,!0),s("autoplay")),i.params.cssMode&&(y=(new Date).getTime(),requestAnimationFrame(()=>{x()})))};return r>0?(clearTimeout(t),t=setTimeout(()=>{c()},r)):requestAnimationFrame(()=>{c()}),r},w=()=>{y=(new Date).getTime(),i.autoplay.running=!0,x(),s("autoplayStart")},S=()=>{i.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(n),s("autoplayStop")},k=(e,n)=>{if(i.destroyed||!i.autoplay.running)return;clearTimeout(t),e||(f=!0);const r=()=>{s("autoplayPause"),i.params.autoplay.waitForTransition?i.wrapperEl.addEventListener("transitionend",b):E()};if(i.autoplay.paused=!0,n)return h&&(l=i.params.autoplay.delay),h=!1,void r();const a=l||i.params.autoplay.delay;l=a-((new Date).getTime()-y),i.isEnd&&l<0&&!i.params.loop||(l<0&&(l=0),r())},E=()=>{i.isEnd&&l<0&&!i.params.loop||i.destroyed||!i.autoplay.running||(y=(new Date).getTime(),f?(f=!1,x(l)):x(),i.autoplay.paused=!1,s("autoplayResume"))},N=()=>{if(i.destroyed||!i.autoplay.running)return;const e=mn();"hidden"===e.visibilityState&&(f=!0,k(!0)),"visible"===e.visibilityState&&E()},C=e=>{"mouse"===e.pointerType&&(f=!0,m=!0,i.animating||i.autoplay.paused||k(!0))},T=e=>{"mouse"===e.pointerType&&(m=!1,i.autoplay.paused&&E())};a("init",()=>{i.params.autoplay.enabled&&(i.params.autoplay.pauseOnMouseEnter&&(i.el.addEventListener("pointerenter",C),i.el.addEventListener("pointerleave",T)),mn().addEventListener("visibilitychange",N),w())}),a("destroy",()=>{i.el&&"string"!=typeof i.el&&(i.el.removeEventListener("pointerenter",C),i.el.removeEventListener("pointerleave",T)),mn().removeEventListener("visibilitychange",N),i.autoplay.running&&S()}),a("_freeModeStaticRelease",()=>{(u||f)&&E()}),a("_freeModeNoMomentumRelease",()=>{i.params.autoplay.disableOnInteraction?S():k(!0,!0)}),a("beforeTransitionStart",(e,t,n)=>{!i.destroyed&&i.autoplay.running&&(n||!i.params.autoplay.disableOnInteraction?k(!0,!0):S())}),a("sliderFirstMove",()=>{!i.destroyed&&i.autoplay.running&&(i.params.autoplay.disableOnInteraction?S():(d=!0,u=!1,f=!1,p=setTimeout(()=>{f=!0,u=!0,k(!0)},200)))}),a("touchEnd",()=>{if(!i.destroyed&&i.autoplay.running&&d){if(clearTimeout(p),clearTimeout(t),i.params.autoplay.disableOnInteraction)return u=!1,void(d=!1);u&&i.params.cssMode&&E(),u=!1,d=!1}}),a("slideChange",()=>{!i.destroyed&&i.autoplay.running&&(h=!0)}),Object.assign(i.autoplay,{start:w,stop:S,pause:k,resume:E})}Object.keys(mi).forEach(e=>{Object.keys(mi[e]).forEach(t=>{gi.prototype[t]=mi[e][t]})}),gi.use([function(e){let{swiper:t,on:n,emit:i}=e;const r=gn();let a=null,s=null;const o=()=>{t&&!t.destroyed&&t.initialized&&(i("beforeResize"),i("resize"))},l=()=>{t&&!t.destroyed&&t.initialized&&i("orientationchange")};n("init",()=>{t.params.resizeObserver&&void 0!==r.ResizeObserver?t&&!t.destroyed&&t.initialized&&(a=new ResizeObserver(e=>{s=r.requestAnimationFrame(()=>{const{width:n,height:i}=t;let r=n,a=i;e.forEach(e=>{let{contentBoxSize:n,contentRect:i,target:s}=e;s&&s!==t.el||(r=i?i.width:(n[0]||n).inlineSize,a=i?i.height:(n[0]||n).blockSize)}),r===n&&a===i||o()})}),a.observe(t.el)):(r.addEventListener("resize",o),r.addEventListener("orientationchange",l))}),n("destroy",()=>{s&&r.cancelAnimationFrame(s),a&&a.unobserve&&t.el&&(a.unobserve(t.el),a=null),r.removeEventListener("resize",o),r.removeEventListener("orientationchange",l)})},function(e){let{swiper:t,extendParams:n,on:i,emit:r}=e;const a=[],s=gn(),o=function(e,n){void 0===n&&(n={});const i=new(s.MutationObserver||s.WebkitMutationObserver)(e=>{if(t.__preventObserver__)return;if(1===e.length)return void r("observerUpdate",e[0]);const n=function(){r("observerUpdate",e[0])};s.requestAnimationFrame?s.requestAnimationFrame(n):s.setTimeout(n,0)});i.observe(e,{attributes:void 0===n.attributes||n.attributes,childList:t.isElement||(void 0===n.childList||n).childList,characterData:void 0===n.characterData||n.characterData}),a.push(i)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",()=>{if(t.params.observer){if(t.params.observeParents){const e=Dn(t.hostEl);for(let t=0;t<e.length;t+=1)o(e[t])}o(t.hostEl,{childList:t.params.observeSlideChildren}),o(t.wrapperEl,{attributes:!1})}}),i("destroy",()=>{a.forEach(e=>{e.disconnect()}),a.splice(0,a.length)})}]);var Ni="top",Ci="bottom",Ti="right",Ai="left",Oi="auto",ji=[Ni,Ci,Ti,Ai],Li="start",Di="end",Pi="viewport",Mi="popper",Ii=ji.reduce(function(e,t){return e.concat([t+"-"+Li,t+"-"+Di])},[]),Ri=[].concat(ji,[Oi]).reduce(function(e,t){return e.concat([t,t+"-"+Li,t+"-"+Di])},[]),zi=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Fi(e){return e?(e.nodeName||"").toLowerCase():null}function Bi(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Hi(e){return e instanceof Bi(e).Element||e instanceof Element}function Vi(e){return e instanceof Bi(e).HTMLElement||e instanceof HTMLElement}function Ui(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Bi(e).ShadowRoot||e instanceof ShadowRoot)}var qi={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]||{},i=t.attributes[e]||{},r=t.elements[e];Vi(r)&&Fi(r)&&(Object.assign(r.style,n),Object.keys(i).forEach(function(e){var t=i[e];!1===t?r.removeAttribute(e):r.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 i=t.elements[e],r=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});Vi(i)&&Fi(i)&&(Object.assign(i.style,a),Object.keys(r).forEach(function(e){i.removeAttribute(e)}))})}},requires:["computeStyles"]};function $i(e){return e.split("-")[0]}var Wi=Math.max,Gi=Math.min,Yi=Math.round;function Xi(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function Ki(){return!/^((?!chrome|android).)*safari/i.test(Xi())}function Ji(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),r=1,a=1;t&&Vi(e)&&(r=e.offsetWidth>0&&Yi(i.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Yi(i.height)/e.offsetHeight||1);var s=(Hi(e)?Bi(e):window).visualViewport,o=!Ki()&&n,l=(i.left+(o&&s?s.offsetLeft:0))/r,c=(i.top+(o&&s?s.offsetTop:0))/a,d=i.width/r,u=i.height/a;return{width:d,height:u,top:c,right:l+d,bottom:c+u,left:l,x:l,y:c}}function Zi(e){var t=Ji(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}}function Qi(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Ui(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function er(e){return Bi(e).getComputedStyle(e)}function tr(e){return["table","td","th"].indexOf(Fi(e))>=0}function nr(e){return((Hi(e)?e.ownerDocument:e.document)||window.document).documentElement}function ir(e){return"html"===Fi(e)?e:e.assignedSlot||e.parentNode||(Ui(e)?e.host:null)||nr(e)}function rr(e){return Vi(e)&&"fixed"!==er(e).position?e.offsetParent:null}function ar(e){for(var t=Bi(e),n=rr(e);n&&tr(n)&&"static"===er(n).position;)n=rr(n);return n&&("html"===Fi(n)||"body"===Fi(n)&&"static"===er(n).position)?t:n||function(e){var t=/firefox/i.test(Xi());if(/Trident/i.test(Xi())&&Vi(e)&&"fixed"===er(e).position)return null;var n=ir(e);for(Ui(n)&&(n=n.host);Vi(n)&&["html","body"].indexOf(Fi(n))<0;){var i=er(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}function sr(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function or(e,t,n){return Wi(e,Gi(t,n))}function lr(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function cr(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var dr={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,r=e.options,a=n.elements.arrow,s=n.modifiersData.popperOffsets,o=$i(n.placement),l=sr(o),c=[Ai,Ti].indexOf(o)>=0?"height":"width";if(a&&s){var d=function(e,t){return lr("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:cr(e,ji))}(r.padding,n),u=Zi(a),p="y"===l?Ni:Ai,h="y"===l?Ci:Ti,f=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],m=s[l]-n.rects.reference[l],v=ar(a),g=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,y=f/2-m/2,b=d[p],_=g-u[c]-d[h],x=g/2-u[c]/2+y,w=or(b,x,_),S=l;n.modifiersData[i]=((t={})[S]=w,t.centerOffset=w-x,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&Qi(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ur(e){return e.split("-")[1]}var pr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function hr(e){var t,n=e.popper,i=e.popperRect,r=e.placement,a=e.variation,s=e.offsets,o=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,u=e.isFixed,p=s.x,h=void 0===p?0:p,f=s.y,m=void 0===f?0:f,v="function"==typeof d?d({x:h,y:m}):{x:h,y:m};h=v.x,m=v.y;var g=s.hasOwnProperty("x"),y=s.hasOwnProperty("y"),b=Ai,_=Ni,x=window;if(c){var w=ar(n),S="clientHeight",k="clientWidth";if(w===Bi(n)&&"static"!==er(w=nr(n)).position&&"absolute"===o&&(S="scrollHeight",k="scrollWidth"),r===Ni||(r===Ai||r===Ti)&&a===Di)_=Ci,m-=(u&&w===x&&x.visualViewport?x.visualViewport.height:w[S])-i.height,m*=l?1:-1;if(r===Ai||(r===Ni||r===Ci)&&a===Di)b=Ti,h-=(u&&w===x&&x.visualViewport?x.visualViewport.width:w[k])-i.width,h*=l?1:-1}var E,N=Object.assign({position:o},c&&pr),C=!0===d?function(e,t){var n=e.x,i=e.y,r=t.devicePixelRatio||1;return{x:Yi(n*r)/r||0,y:Yi(i*r)/r||0}}({x:h,y:m},Bi(n)):{x:h,y:m};return h=C.x,m=C.y,l?Object.assign({},N,((E={})[_]=y?"0":"",E[b]=g?"0":"",E.transform=(x.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",E)):Object.assign({},N,((t={})[_]=y?m+"px":"",t[b]=g?h+"px":"",t.transform="",t))}var fr={passive:!0};var mr={left:"right",right:"left",bottom:"top",top:"bottom"};function vr(e){return e.replace(/left|right|bottom|top/g,function(e){return mr[e]})}var gr={start:"end",end:"start"};function yr(e){return e.replace(/start|end/g,function(e){return gr[e]})}function br(e){var t=Bi(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function _r(e){return Ji(nr(e)).left+br(e).scrollLeft}function xr(e){var t=er(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function wr(e){return["html","body","#document"].indexOf(Fi(e))>=0?e.ownerDocument.body:Vi(e)&&xr(e)?e:wr(ir(e))}function Sr(e,t){var n;void 0===t&&(t=[]);var i=wr(e),r=i===(null==(n=e.ownerDocument)?void 0:n.body),a=Bi(i),s=r?[a].concat(a.visualViewport||[],xr(i)?i:[]):i,o=t.concat(s);return r?o:o.concat(Sr(ir(s)))}function kr(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Er(e,t,n){return t===Pi?kr(function(e,t){var n=Bi(e),i=nr(e),r=n.visualViewport,a=i.clientWidth,s=i.clientHeight,o=0,l=0;if(r){a=r.width,s=r.height;var c=Ki();(c||!c&&"fixed"===t)&&(o=r.offsetLeft,l=r.offsetTop)}return{width:a,height:s,x:o+_r(e),y:l}}(e,n)):Hi(t)?function(e,t){var n=Ji(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):kr(function(e){var t,n=nr(e),i=br(e),r=null==(t=e.ownerDocument)?void 0:t.body,a=Wi(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=Wi(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),o=-i.scrollLeft+_r(e),l=-i.scrollTop;return"rtl"===er(r||n).direction&&(o+=Wi(n.clientWidth,r?r.clientWidth:0)-a),{width:a,height:s,x:o,y:l}}(nr(e)))}function Nr(e,t,n,i){var r="clippingParents"===t?function(e){var t=Sr(ir(e)),n=["absolute","fixed"].indexOf(er(e).position)>=0&&Vi(e)?ar(e):e;return Hi(n)?t.filter(function(e){return Hi(e)&&Qi(e,n)&&"body"!==Fi(e)}):[]}(e):[].concat(t),a=[].concat(r,[n]),s=a[0],o=a.reduce(function(t,n){var r=Er(e,n,i);return t.top=Wi(r.top,t.top),t.right=Gi(r.right,t.right),t.bottom=Gi(r.bottom,t.bottom),t.left=Wi(r.left,t.left),t},Er(e,s,i));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function Cr(e){var t,n=e.reference,i=e.element,r=e.placement,a=r?$i(r):null,s=r?ur(r):null,o=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(a){case Ni:t={x:o,y:n.y-i.height};break;case Ci:t={x:o,y:n.y+n.height};break;case Ti:t={x:n.x+n.width,y:l};break;case Ai:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=a?sr(a):null;if(null!=c){var d="y"===c?"height":"width";switch(s){case Li:t[c]=t[c]-(n[d]/2-i[d]/2);break;case Di:t[c]=t[c]+(n[d]/2-i[d]/2)}}return t}function Tr(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=void 0===i?e.placement:i,a=n.strategy,s=void 0===a?e.strategy:a,o=n.boundary,l=void 0===o?"clippingParents":o,c=n.rootBoundary,d=void 0===c?Pi:c,u=n.elementContext,p=void 0===u?Mi:u,h=n.altBoundary,f=void 0!==h&&h,m=n.padding,v=void 0===m?0:m,g=lr("number"!=typeof v?v:cr(v,ji)),y=p===Mi?"reference":Mi,b=e.rects.popper,_=e.elements[f?y:p],x=Nr(Hi(_)?_:_.contextElement||nr(e.elements.popper),l,d,s),w=Ji(e.elements.reference),S=Cr({reference:w,element:b,placement:r}),k=kr(Object.assign({},b,S)),E=p===Mi?k:w,N={top:x.top-E.top+g.top,bottom:E.bottom-x.bottom+g.bottom,left:x.left-E.left+g.left,right:E.right-x.right+g.right},C=e.modifiersData.offset;if(p===Mi&&C){var T=C[r];Object.keys(N).forEach(function(e){var t=[Ti,Ci].indexOf(e)>=0?1:-1,n=[Ni,Ci].indexOf(e)>=0?"y":"x";N[e]+=T[n]*t})}return N}var Ar={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var r=n.mainAxis,a=void 0===r||r,s=n.altAxis,o=void 0===s||s,l=n.fallbackPlacements,c=n.padding,d=n.boundary,u=n.rootBoundary,p=n.altBoundary,h=n.flipVariations,f=void 0===h||h,m=n.allowedAutoPlacements,v=t.options.placement,g=$i(v),y=l||(g===v||!f?[vr(v)]:function(e){if($i(e)===Oi)return[];var t=vr(e);return[yr(e),t,yr(t)]}(v)),b=[v].concat(y).reduce(function(e,n){return e.concat($i(n)===Oi?function(e,t){void 0===t&&(t={});var n=t,i=n.placement,r=n.boundary,a=n.rootBoundary,s=n.padding,o=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?Ri:l,d=ur(i),u=d?o?Ii:Ii.filter(function(e){return ur(e)===d}):ji,p=u.filter(function(e){return c.indexOf(e)>=0});0===p.length&&(p=u);var h=p.reduce(function(t,n){return t[n]=Tr(e,{placement:n,boundary:r,rootBoundary:a,padding:s})[$i(n)],t},{});return Object.keys(h).sort(function(e,t){return h[e]-h[t]})}(t,{placement:n,boundary:d,rootBoundary:u,padding:c,flipVariations:f,allowedAutoPlacements:m}):n)},[]),_=t.rects.reference,x=t.rects.popper,w=new Map,S=!0,k=b[0],E=0;E<b.length;E++){var N=b[E],C=$i(N),T=ur(N)===Li,A=[Ni,Ci].indexOf(C)>=0,O=A?"width":"height",j=Tr(t,{placement:N,boundary:d,rootBoundary:u,altBoundary:p,padding:c}),L=A?T?Ti:Ai:T?Ci:Ni;_[O]>x[O]&&(L=vr(L));var D=vr(L),P=[];if(a&&P.push(j[C]<=0),o&&P.push(j[L]<=0,j[D]<=0),P.every(function(e){return e})){k=N,S=!1;break}w.set(N,P)}if(S)for(var M=function(e){var t=b.find(function(t){var n=w.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return k=t,"break"},I=f?3:1;I>0;I--){if("break"===M(I))break}t.placement!==k&&(t.modifiersData[i]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Or(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 jr(e){return[Ni,Ti,Ci,Ai].some(function(t){return e[t]>=0})}var Lr={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.offset,a=void 0===r?[0,0]:r,s=Ri.reduce(function(e,n){return e[n]=function(e,t,n){var i=$i(e),r=[Ai,Ni].indexOf(i)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=a[0],o=a[1];return s=s||0,o=(o||0)*r,[Ai,Ti].indexOf(i)>=0?{x:o,y:s}:{x:s,y:o}}(n,t.rects,a),e},{}),o=s[t.placement],l=o.x,c=o.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=s}};var Dr={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.mainAxis,a=void 0===r||r,s=n.altAxis,o=void 0!==s&&s,l=n.boundary,c=n.rootBoundary,d=n.altBoundary,u=n.padding,p=n.tether,h=void 0===p||p,f=n.tetherOffset,m=void 0===f?0:f,v=Tr(t,{boundary:l,rootBoundary:c,padding:u,altBoundary:d}),g=$i(t.placement),y=ur(t.placement),b=!y,_=sr(g),x="x"===_?"y":"x",w=t.modifiersData.popperOffsets,S=t.rects.reference,k=t.rects.popper,E="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,N="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(w){if(a){var A,O="y"===_?Ni:Ai,j="y"===_?Ci:Ti,L="y"===_?"height":"width",D=w[_],P=D+v[O],M=D-v[j],I=h?-k[L]/2:0,R=y===Li?S[L]:k[L],z=y===Li?-k[L]:-S[L],F=t.elements.arrow,B=h&&F?Zi(F):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=H[O],U=H[j],q=or(0,S[L],B[L]),$=b?S[L]/2-I-q-V-N.mainAxis:R-q-V-N.mainAxis,W=b?-S[L]/2+I+q+U+N.mainAxis:z+q+U+N.mainAxis,G=t.elements.arrow&&ar(t.elements.arrow),Y=G?"y"===_?G.clientTop||0:G.clientLeft||0:0,X=null!=(A=null==C?void 0:C[_])?A:0,K=D+W-X,J=or(h?Gi(P,D+$-X-Y):P,D,h?Wi(M,K):M);w[_]=J,T[_]=J-D}if(o){var Z,Q="x"===_?Ni:Ai,ee="x"===_?Ci:Ti,te=w[x],ne="y"===x?"height":"width",ie=te+v[Q],re=te-v[ee],ae=-1!==[Ni,Ai].indexOf(g),se=null!=(Z=null==C?void 0:C[x])?Z:0,oe=ae?ie:te-S[ne]-k[ne]-se+N.altAxis,le=ae?te+S[ne]+k[ne]-se-N.altAxis:re,ce=h&&ae?function(e,t,n){var i=or(e,t,n);return i>n?n:i}(oe,te,le):or(h?oe:ie,te,h?le:re);w[x]=ce,T[x]=ce-te}t.modifiersData[i]=T}},requiresIfExists:["offset"]};function Pr(e,t,n){void 0===n&&(n=!1);var i,r,a=Vi(t),s=Vi(t)&&function(e){var t=e.getBoundingClientRect(),n=Yi(t.width)/e.offsetWidth||1,i=Yi(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),o=nr(t),l=Ji(e,s,n),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(a||!a&&!n)&&(("body"!==Fi(t)||xr(o))&&(c=(i=t)!==Bi(i)&&Vi(i)?{scrollLeft:(r=i).scrollLeft,scrollTop:r.scrollTop}:br(i)),Vi(t)?((d=Ji(t,!0)).x+=t.clientLeft,d.y+=t.clientTop):o&&(d.x=_r(o))),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}function Mr(e){var t=new Map,n=new Set,i=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var i=t.get(e);i&&r(i)}}),i.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||r(e)}),i}var Ir={placement:"bottom",modifiers:[],strategy:"absolute"};function Rr(){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 zr(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,r=t.defaultOptions,a=void 0===r?Ir:r;return function(e,t,n){void 0===n&&(n=a);var r,s,o={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ir,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,d={state:o,setOptions:function(n){var r="function"==typeof n?n(o.options):n;u(),o.options=Object.assign({},a,o.options,r),o.scrollParents={reference:Hi(e)?Sr(e):e.contextElement?Sr(e.contextElement):[],popper:Sr(t)};var s,c,p=function(e){var t=Mr(e);return zi.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((s=[].concat(i,o.options.modifiers),c=s.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},{}),Object.keys(c).map(function(e){return c[e]})));return o.orderedModifiers=p.filter(function(e){return e.enabled}),o.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var a=r({state:o,name:t,instance:d,options:i}),s=function(){};l.push(a||s)}}),d.update()},forceUpdate:function(){if(!c){var e=o.elements,t=e.reference,n=e.popper;if(Rr(t,n)){o.rects={reference:Pr(t,ar(n),"fixed"===o.options.strategy),popper:Zi(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach(function(e){return o.modifiersData[e.name]=Object.assign({},e.data)});for(var i=0;i<o.orderedModifiers.length;i++)if(!0!==o.reset){var r=o.orderedModifiers[i],a=r.fn,s=r.options,l=void 0===s?{}:s,u=r.name;"function"==typeof a&&(o=a({state:o,options:l,name:u,instance:d})||o)}else o.reset=!1,i=-1}}},update:(r=function(){return new Promise(function(e){d.forceUpdate(),e(o)})},function(){return s||(s=new Promise(function(e){Promise.resolve().then(function(){s=void 0,e(r())})})),s}),destroy:function(){u(),c=!0}};if(!Rr(e,t))return d;function u(){l.forEach(function(e){return e()}),l=[]}return d.setOptions(n).then(function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)}),d}}var Fr=zr({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,r=i.scroll,a=void 0===r||r,s=i.resize,o=void 0===s||s,l=Bi(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(e){e.addEventListener("scroll",n.update,fr)}),o&&l.addEventListener("resize",n.update,fr),function(){a&&c.forEach(function(e){e.removeEventListener("scroll",n.update,fr)}),o&&l.removeEventListener("resize",n.update,fr)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Cr({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,r=void 0===i||i,a=n.adaptive,s=void 0===a||a,o=n.roundOffsets,l=void 0===o||o,c={placement:$i(t.placement),variation:ur(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,hr(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,hr(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},qi,Lr,Ar,Dr,dr,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,r=t.rects.popper,a=t.modifiersData.preventOverflow,s=Tr(t,{elementContext:"reference"}),o=Tr(t,{altBoundary:!0}),l=Or(s,i),c=Or(o,r,a),d=jr(l),u=jr(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}}]});function Br({element:e,visibleClass:t,waitMode:n="transitionend",timeoutDuration:i,hideMode:r="hidden",displayValue:a="block"}){if("timeout"===n&&"number"!=typeof i)return void console.error("\n When calling transitionHiddenElement with waitMode set to timeout,\n you must pass in a number for timeoutDuration.\n ");window.matchMedia("(prefers-reduced-motion: reduce)").matches&&(n="immediate");const s=t=>{t.target===e&&(o(),e.removeEventListener("transitionend",s))},o=()=>{"display"===r?e.style.display="none":e.setAttribute("hidden",!0)};return{show(){e.removeEventListener("transitionend",s),this.timeout&&clearTimeout(this.timeout),"display"===r?e.style.display=a:e.removeAttribute("hidden"),e.offsetHeight,e.classList.add(t)},hide(){"transitionend"===n?e.addEventListener("transitionend",s):"timeout"===n?this.timeout=setTimeout(()=>{o()},i):o(),e.classList.remove(t)},toggle(){this.isHidden()?this.show():this.hide()},isHidden(){const n=null!==e.getAttribute("hidden"),i="none"===e.style.display,r=[...e.classList].includes(t);return n||i||!r},timeout:null}}var Hr={rootContainerSelector:"#root-tooltips",removeDialogOnDestroy:!1,popperOptions:{placement:"bottom",strategy:"absolute",modifiers:[{name:"arrow",options:{element:".tooltip__arrow",padding:10}},{name:"eventListeners",options:{scroll:!1,resize:!1}},{name:"flip",options:{fallbackPlacements:["right","top","auto"]}},{name:"offset",options:{offset:function(e){var t=e.placement;return t.includes("start")?[-10,0]:t.includes("end")?[10,0]:[0,0]}}}]}},Vr=function(){return g(function e(t,n){var i;return m(this,e),this.element=t,this.config=_(_({},Hr),n),this.config.popperOptions=_(_({},Hr.popperOptions),(null==n?void 0:n.popperOptions)||{}),this.config.popperOptions.modifiers=[].concat(E(Hr.popperOptions.modifiers),E((null==n||null===(i=n.popperOptions)||void 0===i?void 0:i.modifiers)||[])),this.handleVisibility=this.handleVisibility.bind(this),this.onKeydown=this.onKeydown.bind(this),this.element.ODS_Tooltip=this,this.init(),this},[{key:"wrapLastWordAndButton",value:function(){var e,t;if(this.element.hasAttribute("data-tooltip-keep-with-text")){var n=this.trigger.previousSibling;if(n&&n.nodeType===Node.TEXT_NODE){var i=((null===(e=n.textContent)||void 0===e?void 0:e.trim())||"").split(" "),r=i.pop(),a=i.join(" ");n.textContent=a+" ";var s=document.createElement("span");s.className="text-nowrap",s.innerHTML="".concat(r," ").concat(this.trigger.outerHTML),null===(t=this.trigger.parentNode)||void 0===t||t.replaceChild(s,this.trigger),this.trigger=s.querySelector("[data-tooltip-trigger]")}else console.warn("Previous sibling is not a text node.")}}},{key:"init",value:function(){this.trigger=document.querySelector("[data-tooltip-trigger][aria-describedby=".concat(this.element.getAttribute("id"),"]")),this.trigger||console.warn("tooltip trigger element is not defined and the tooltip cannot be attached. Please provide an element with [aria-describedby=".concat(this.element.getAttribute("id"),"]")),this.element.hasAttribute("data-tooltip-keep-with-text")&&this.wrapLastWordAndButton(),this.rootContainer=document.querySelector(this.config.rootContainerSelector),this.rootContainer?this.rootContainer.appendChild(this.element):console.warn("rootContainer element is not defined. Tooltips will be placed inside content which can affect positioning. Please provide rootContainer element (should be placed outside of main content, usually in end of <body /> tag)");var e=this.element.getAttribute("data-tooltip-placement");e&&(this.config.popperOptions.placement=e),this.instance=Fr(this.trigger,this.element,this.config.popperOptions),this.transitioner=Br({element:this.element,visibleClass:"is-visible"}),this.trigger.addEventListener("mouseenter",this.handleVisibility),this.trigger.addEventListener("mouseleave",this.handleVisibility),this.trigger.addEventListener("focus",this.handleVisibility),this.trigger.addEventListener("blur",this.handleVisibility)}},{key:"handleVisibility",value:function(e){("mouseenter"!==e.type&&"focus"!==e.type||this.show(),"blur"===e.type&&this.hide(),"mouseleave"===e.type)&&(this.shouldClose(e)&&this.hide())}},{key:"shouldClose",value:function(e){var t=this,n=e.relatedreference||e.toElement||e.relatedTarget,i=function(e){var n=e.relatedreference||e.toElement||e.relatedTarget;t.element.removeEventListener("mouseleave",i),t.trigger.contains(n)||t.hide()};return!this.element.contains(n)||(this.element.addEventListener("mouseleave",i),!1)}},{key:"onKeydown",value:function(e){M.ESC.includes(e.key)&&this.hide()}},{key:"show",value:function(){this.transitioner.show(),this.trigger.classList.add("is-active"),this.instance.forceUpdate(),document.addEventListener("keydown",this.onKeydown)}},{key:"hide",value:function(){this.transitioner.hide(),this.trigger.classList.remove("is-active"),document.removeEventListener("keydown",this.onKeydown)}},{key:"update",value:function(){this.instance.forceUpdate()}},{key:"destroy",value:function(){this.trigger.removeEventListener("mouseenter",this.handleVisibility),this.trigger.removeEventListener("mouseleave",this.handleVisibility),this.trigger.removeEventListener("focus",this.handleVisibility),this.trigger.removeEventListener("blur",this.handleVisibility),this.instance.destroy(),this.element.ODS_Tooltip=null,this.config.removeDialogOnDestroy&&this.element.remove()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Tooltip?e.ODS_Tooltip:null}}])}(),Ur={navigation:{nextEl:an,prevEl:rn},pagination:{el:sn,clickable:!0,bulletClass:Xt,bulletActiveClass:Qt,renderBullet:function(e,t){return'<button aria-label="Page '.concat(e+1,'" role="tab" class="').concat(t,'" type="button"></button>')}},scrollbar:{el:on,draggable:!0,enabled:!0,horizontalClass:Jt,dragClass:Zt},slidesPerView:1.2,a11y:{enabled:!0,prevSlideMessage:"Predchádzajúci snímok",nextSlideMessage:"Nasledujúci snímok",paginationBulletMessage:"Prejsť na snímok {index}",containerMessage:"Carousel so snímkami",containerRoleDescriptionMessage:"carousel",itemRoleDescriptionMessage:"snímok",firstSlideMessage:"Prvý snímok",lastSlideMessage:"Posledný snímok",slideLabelMessage:"Snímok"},loop:!1,cssMode:!1,direction:"horizontal",breakpoints:{1240:{slidesPerView:1.6}},wrapperClass:Vt,slideClass:Ut,slideActiveClass:Qt,slideNextClass:qt,slidePrevClass:$t},qr=function(){return g(function e(t,n){var i,r,a=this;return m(this,e),this.element=t,this.config=_(_(_({},Ur),n),{},{scrollbar:_(_(_({},null!==(i=Ur.scrollbar)&&void 0!==i?i:{}),null!==(r=null==n?void 0:n.scrollbar)&&void 0!==r?r:{}),{},{el:this.element.querySelector(on)})}),this.handleSlideChange=this.handleSlideChange.bind(this),this.updateTooltipPosition=this.updateTooltipPosition.bind(this),this.element.ODS_Carousel=this,requestAnimationFrame(function(){a.init()}),this},[{key:"init",value:function(){this.getElements(),this.element.hasAttribute("data-swiper-options")&&this.getCustomOptions(),this.instance=new gi(this.viewport,_(_({},this.config),{},{modules:[_i,wi,Si,ki,yi],on:{slideChange:this.handleSlideChange}})),this.element.classList.contains(en)&&this.adjustConfigForBleedRight()}},{key:"getElements",value:function(){var e,t;this.viewport=this.element.querySelector(tn),this.track=this.viewport.querySelector(nn);var n=this.element.querySelector(sn);n&&!n.hasAttribute("role")&&n.setAttribute("role","tablist");var i={navigation:_(_({},null!==(e=this.config.navigation)&&void 0!==e?e:{}),{},{nextEl:this.element.querySelector(an),prevEl:this.element.querySelector(rn)}),pagination:_(_({},null!==(t=this.config.pagination)&&void 0!==t?t:{}),{},{el:n,clickable:!0,bulletClass:Xt,bulletActiveClass:Qt})};this.config=_(_({},this.config),i)}},{key:"getCustomOptions",value:function(){var e=this.element.getAttribute("data-swiper-options");if(e){var t=JSON.parse(e);this.config=_(_({},this.config),t)}}},{key:"adjustConfigForBleedRight",value:function(){var e=this;requestAnimationFrame(function(){var t=e.element.closest(".container");if(t&&e.instance){var n=t.offsetWidth,i=window.innerWidth/2-n/2;window.innerWidth>=2560&&(i=0),i>0?(e.instance.params.slidesOffsetAfter=i,e.instance.update()):(e.instance.params.slidesOffsetAfter=0,e.instance.update());var r=function(){if(e.instance&&t){var n=t.offsetWidth,i=window.innerWidth/2-n/2;window.innerWidth>=2560&&(i=0),e.instance.params.slidesOffsetAfter=i>0?i:0,e.instance.update()}};window.removeEventListener("resize",r),window.addEventListener("resize",r)}})}},{key:"handleSlideChange",value:function(){var e=this.track.querySelector(ln),t=this.track.querySelectorAll(".".concat(Ut,":not(").concat(ln,")"));e&&this.updateTooltipPosition(e),t.length>0&&this.hideAllTooltips(t)}},{key:"updateTooltipPosition",value:function(e){var t=e.querySelectorAll('[data-tooltip-trigger="true"]');t.length>0&&t.forEach(function(e){var t=e.getAttribute("aria-describedby");if(t){var n=document.getElementById(t);if(n){var i=Vr.getInstance(n);i&&i.update()}}})}},{key:"hideAllTooltips",value:function(e){e.forEach(function(e){var t=e.querySelectorAll('[data-tooltip-trigger="true"]');t.length>0&&t.forEach(function(e){var t=e.getAttribute("aria-describedby");if(t){var n=document.getElementById(t);if(n){var i=Vr.getInstance(n);i&&(i.hide(),e.blur())}}})})}},{key:"destroy",value:function(){this.instance&&this.instance.destroy()}},{key:"update",value:function(){this.instance&&this.instance.update()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Carousel?e.ODS_Carousel:null}}])}(),$r=["className","swiperOptions","items","colorScheme","showScrollbar","bleedRight"],Wr=function(e){var t=e.className,n=e.swiperOptions,i=e.items,r=e.colorScheme,a=e.showScrollbar,s=void 0!==a&&a,o=e.bleedRight,l=void 0!==o&&o,c=x(e,$r),d=k(W(qr),1)[0],u=i.map(function(e,t){return ie.jsx(un,{children:e},t.toString())}),p=P(Ft,t,y(y({"is-dark":"dark"===r,"is-light":"light"===r},"".concat(Ft,"--scrollbar"),s),"".concat(Ft,"--bleed-right"),l)),h={prev:P(Wt),next:P(Gt),dots:P(Yt,s?"hide":"show-md")},f=s?_({pagination:{enabled:!1}},n):n;return ie.jsxs("div",_(_(_({className:p,ref:d,"data-carousel":!0},s||n?{"data-swiper-options":JSON.stringify(f)}:{}),c),{},{children:[ie.jsxs("div",{className:Bt,children:[ie.jsx("div",{className:Ht,children:ie.jsx("div",{className:Vt,children:u})}),s?null:ie.jsxs(ie.Fragment,{children:[ie.jsx("button",{type:"button","aria-label":"Naspäť",className:h.prev,children:ie.jsx(de,{size:"medium",name:"chevron-left"})}),ie.jsx("button",{type:"button","aria-label":"Ďalej",className:h.next,children:ie.jsx(de,{size:"medium",name:"chevron-right"})})]})]}),!s&&ie.jsx("div",{role:"tablist",className:h.dots}),ie.jsx("div",{className:P(Kt,!s&&"hide-md"),children:ie.jsx("div",{className:Zt})})]}))};Wr.displayName="Carousel";var Gr=["elemRef","className","icon","colorScheme","isDisabled"],Yr=e.forwardRef(function(e,t){var n=e.elemRef,i=e.className,r=e.icon,a=e.colorScheme,s=e.isDisabled,o=x(e,Gr),l=P("controls",{"is-dark":"dark"===a,"is-light":"light"===a},i),c=o;return ie.jsx("button",_(_({type:"button",className:l,disabled:!!s||void 0,"aria-disabled":s?"true":void 0,ref:n||t},c),{},{children:ie.jsx(de,{name:r})}))});Yr.displayName="Controls";var Xr="carousel-hero",Kr="".concat(Xr,"__viewport-wrapper"),Jr="".concat(Xr,"__viewport"),Zr="".concat(Xr,"__track"),Qr="".concat(Xr,"__slide"),ea="".concat(Xr,"__prev"),ta="".concat(Xr,"__next"),na="".concat(Xr,"__play-pause"),ia="".concat(Xr,"__tabs"),ra="".concat(Xr,"__tab"),aa="".concat(Xr,"__pagination"),sa="".concat(Xr,"__pagination-item"),oa="".concat(Xr,"__pagination-svg"),la="".concat(Xr,"__pagination-circle"),ca="".concat(Xr,"__controls"),da="".concat(Xr,"__navigation"),ua="is-active",pa="is-playing",ha="is-paused",fa=".".concat(Jr),ma=".".concat(ea),va=".".concat(ta),ga=".".concat(na),ya=".".concat(ia),ba=".".concat(ra),_a=".".concat(aa),xa={pagination:{clickable:!0,bulletClass:sa,bulletActiveClass:"is-active",renderBullet:function(e,t){return'<button type="button" class="'.concat(t,'" aria-label="Prejsť na snímok ').concat(e+1,'"></button>')}},slidesPerView:1,loop:!1,a11y:{enabled:!0,prevSlideMessage:"Predchádzajúci snímok",nextSlideMessage:"Nasledujúci snímok",containerMessage:"Hero carousel so snímkami",containerRoleDescriptionMessage:"carousel",itemRoleDescriptionMessage:"snímok",firstSlideMessage:"Prvý snímok",lastSlideMessage:"Posledný snímok",slideLabelMessage:"Snímok"},wrapperClass:Zr,slideClass:Qr,slideActiveClass:ua},wa=function(){return g(function e(t,n){return m(this,e),y(this,"tabs",[]),y(this,"_dotAnimationJustStarted",!1),y(this,"_isDragging",!1),this.element=t,this.config=_(_({},xa),n),this.element.ODS_CarouselHero=this,this._boundTabClick=this._onTabClick.bind(this),this._boundPrevClick=this._onUserNavigation.bind(this),this._boundNextClick=this._onUserNavigation.bind(this),this._boundPlayPauseClick=this._onPlayPauseClick.bind(this),this.init(),this},[{key:"init",value:function(){this.getElements(),this.setupConfig(),this.createSwiper(),this.setupEventListeners(),this.renderPaginationDots(),this.updateStates(),this.updatePlayPauseIcon(),this.hasAutoplay()&&this.isAutoplayRunning()&&this.startDotAnimation()}},{key:"getElements",value:function(){this.viewport=this.element.querySelector(fa);var e=this.element.querySelector(ya);e&&(this.tabs=Array.from(e.querySelectorAll(ba)))}},{key:"setupConfig",value:function(){var e=this.element.hasAttribute("data-interval")&&parseInt(this.element.getAttribute("data-interval"))||0;if(this.element.hasAttribute("data-swiper-options"))try{var t=JSON.parse(this.element.getAttribute("data-swiper-options"));this.config=_(_({},this.config),t)}catch(e){console.warn("Invalid swiper options:",e)}this.config.loop=!0,e>=1e3&&(this.config.autoplay={delay:e,disableOnInteraction:!1,pauseOnMouseEnter:!1,waitForTransition:!0,stopOnLastSlide:!1},this.element.classList.add(pa))}},{key:"createSwiper",value:function(){var e=this,t=this.viewport.querySelectorAll(".".concat(Qr)).length>1;this.instance=new gi(this.viewport,_(_({},this.config),{},{modules:[_i,wi,ki,yi,Ei],navigation:{nextEl:this.element.querySelector(va),prevEl:this.element.querySelector(ma)},pagination:!!t&&_(_({},this.config.pagination),{},{el:this.element.querySelector(_a)}),on:{slideChange:function(){e.updateStates(),e.isAutoplayRunning()?e.restartDotAnimation():e.stopDotAnimation()},autoplayStart:function(){e._onAutoplayStart()},autoplayStop:function(){e._onAutoplayStop()},touchStart:function(){e._isDragging=!0,e._stopAutoplayIfRunning()},touchEnd:function(){e._isDragging=!1}}})),this.updatePlayPauseIcon()}},{key:"setupEventListeners",value:function(){var e=this;this.tabs.forEach(function(t){t.removeEventListener("click",e._boundTabClick),t.addEventListener("click",e._boundTabClick)});var t=this.element.querySelector(ga);t&&(t.removeEventListener("click",this._boundPlayPauseClick),t.addEventListener("click",this._boundPlayPauseClick));var n=this.element.querySelector(ma),i=this.element.querySelector(va);n&&(n.removeEventListener("click",this._boundPrevClick),n.addEventListener("click",this._boundPrevClick)),i&&(i.removeEventListener("click",this._boundNextClick),i.addEventListener("click",this._boundNextClick))}},{key:"_onUserNavigation",value:function(){this._stopAutoplayIfRunning(),this.stopDotAnimation()}},{key:"_onTabClick",value:function(e){var t;e.preventDefault();var n=e.currentTarget,i=this.tabs.indexOf(n);-1!==i&&i!==(null===(t=this.instance)||void 0===t?void 0:t.activeIndex)&&(this._onUserNavigation(),this.goToSlide(i))}},{key:"_onPlayPauseClick",value:function(){this.toggleAutoplay()}},{key:"isAutoplayRunning",value:function(){var e;return!(null===(e=this.instance)||void 0===e||!e.autoplay||!this.instance.autoplay.running)}},{key:"_stopAutoplayIfRunning",value:function(){this.isAutoplayRunning()&&this.instance.autoplay.stop()}},{key:"_onAutoplayStart",value:function(){this.element.classList.add(pa),this.element.classList.remove(ha),this.updatePlayPauseIcon(),this.startDotAnimation()}},{key:"_onAutoplayStop",value:function(){this.element.classList.remove(pa),this.element.classList.add(ha),this.updatePlayPauseIcon(),this.stopDotAnimation()}},{key:"toggleAutoplay",value:function(){var e=this;if(this.instance&&this.instance.autoplay)if(this.isAutoplayRunning())this.instance.autoplay.stop();else{var t=this.instance.realIndex;this.instance.activeIndex!==this.instance.slides.length+t&&this.instance.slideTo(this.instance.slides.length+t,0),setTimeout(function(){e.instance&&e.instance.autoplay&&e.instance.autoplay.start()},10)}}},{key:"goToSlide",value:function(e){this.instance&&this.instance.activeIndex!==e&&this.instance.slideTo(e)}},{key:"updateStates",value:function(){var e;if(this.instance){var t=null!==(e=this.instance.realIndex)&&void 0!==e?e:this.instance.activeIndex;this.tabs.forEach(function(e,n){var i=n===t;e.classList.toggle(ua,i),e.setAttribute("aria-selected",String(i)),e.setAttribute("tabindex",i?"0":"-1")}),this.scrollActiveTabIntoView(t),this.updatePaginationBullets(t)}}},{key:"updatePaginationBullets",value:function(e){var t,n,i=this,r=this.element.querySelector(_a);if(r){var a=r.querySelectorAll(".".concat(sa)),s=null!==(t=null===(n=this.instance)||void 0===n?void 0:n.realIndex)&&void 0!==t?t:e;a.forEach(function(e,t){var n=t===s;if(e.classList.toggle("is-active",n),!i.hasAutoplay()){var r=e.querySelector(".".concat(oa));r&&(r.style.display=n?"block":"none")}})}}},{key:"scrollActiveTabIntoView",value:function(e){if(!(!this.tabs.length||e<0||e>=this.tabs.length)){var t=this.tabs[e],n=this.element.querySelector(ya);if(n&&t){var i=n.getBoundingClientRect(),r=t.getBoundingClientRect(),a=i.width-56;if(r.right>i.left+a||r.left<i.left){var s=r.left-i.left-a/2+r.width/2;n.scrollBy({left:s,behavior:"smooth"})}}}}},{key:"updatePlayPauseIcon",value:function(){var e=this.element.querySelector(ga);if(e){var t=e.querySelector("use");if(t){var n=this.isAutoplayRunning()?"pause":"play",i=t.getAttribute("xlink:href")||"";if(!i.endsWith("#".concat(n))){var r=i.replace(/#[\w-]+$/,"#".concat(n));t.setAttribute("xlink:href",r)}}}}},{key:"renderPaginationDots",value:function(){var e=this;this._getPaginationButtons().forEach(function(t){var n=e.createSvgDot();t.innerHTML="",t.appendChild(n)})}},{key:"startDotAnimation",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.hasAutoplay()&&(e||this.isAutoplayRunning())&&!this._dotAnimationJustStarted){this._dotAnimationJustStarted=!0;var t=this._getActiveBulletButton();if(t){var n=t.querySelector(".".concat(oa));if(n){var i=n.querySelector("circle");if(i){var r=this.getAnimationDuration();i.style.animation="none",t.offsetHeight,i.style.animation="countdown linear ".concat(r,"ms 1 forwards"),this._dotAnimationJustStarted=!1}else this._dotAnimationJustStarted=!1}else this._dotAnimationJustStarted=!1}else this._dotAnimationJustStarted=!1}}},{key:"restartDotAnimation",value:function(){var e=this;this.stopDotAnimation(),setTimeout(function(){e.startDotAnimation()},50)}},{key:"stopDotAnimation",value:function(){this._getPaginationButtons().forEach(function(e){var t=e.querySelector(".".concat(oa));if(t){var n=t.querySelector("circle");n&&(n.style.animation="none")}}),this._dotAnimationJustStarted=!1}},{key:"_getPaginationButtons",value:function(){return Array.from(this.element.querySelectorAll("".concat(_a," > *")))}},{key:"_getActiveBulletClass",value:function(){var e,t=null===(e=this.instance)||void 0===e||null===(e=e.params)||void 0===e?void 0:e.pagination;if(t&&"object"===C(t)&&t.bulletActiveClass)return String(t.bulletActiveClass);var n=this.config.pagination;return n&&"object"===C(n)&&n.bulletActiveClass?String(n.bulletActiveClass):ua}},{key:"_getActiveBulletButton",value:function(){var e=this._getActiveBulletClass();return this.element.querySelector("".concat(_a," .").concat(e))}},{key:"createSvgDot",value:function(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");t.setAttribute("class",oa),t.setAttribute("width","12"),t.setAttribute("height","12"),t.setAttribute("viewBox","0 0 12 12");var n=document.createElementNS(e,"circle");return n.setAttribute("class",la),n.setAttribute("r","5"),n.setAttribute("cx","6"),n.setAttribute("cy","6"),t.appendChild(n),t}},{key:"hasAutoplay",value:function(){return!!(this.config.autoplay&&"object"===C(this.config.autoplay)&&this.config.autoplay.delay>=1e3)}},{key:"getAnimationDuration",value:function(){var e;return(null===(e=this.config.autoplay)||void 0===e?void 0:e.delay)||0}},{key:"destroy",value:function(){var e=this;this.tabs.forEach(function(t){t.removeEventListener("click",e._boundTabClick)});var t=this.element.querySelector(ga);t&&t.removeEventListener("click",this._boundPlayPauseClick);var n=this.element.querySelector(ma),i=this.element.querySelector(va);n&&n.removeEventListener("click",this._boundPrevClick),i&&i.removeEventListener("click",this._boundNextClick),this.instance&&this.instance.destroy(!0,!0),delete this.element.ODS_CarouselHero}}],[{key:"getInstance",value:function(e){return e.ODS_CarouselHero||null}}])}(),Sa=["className","swiperOptions","colorScheme","children","tabs","interval"],ka=function(e){var t=e.className,n=e.swiperOptions,i=e.colorScheme,r=e.children,a=e.tabs,s=void 0===a?[]:a,o=e.interval,l=x(e,Sa),c=k(W(wa),1)[0],d=P(Xr,t,{"is-light":"light"===i,"is-dark":"dark"===i}),u={prev:P(ea),next:P(ta),playPause:P(na),tabs:P(ia),tab:P(ra),pagination:P(aa),controls:P(ca)},p=(null==n?void 0:n.autoplay)&&"object"===C(n.autoplay)&&n.autoplay.delay>=1e3||o&&o>=1e3;return ie.jsxs("div",_(_(_(_({className:d,ref:c,"data-carousel-hero":!0},o&&o>=1e3?{"data-interval":o}:{}),n?{"data-swiper-options":JSON.stringify(n)}:{}),l),{},{children:[ie.jsx("div",{className:Kr,children:ie.jsx("div",{className:Jr,children:ie.jsx("div",{className:Zr,children:r})})}),ie.jsxs("div",{className:u.controls,children:[s.length>0&&ie.jsx("div",{className:u.tabs,role:"tablist",children:s.map(function(e,t){return ie.jsx("button",{type:"button",className:u.tab,role:"tab","aria-selected":0===t?"true":"false",tabIndex:0===t?0:-1,children:e.label},t)})}),ie.jsx("div",{role:"tablist",className:u.pagination}),ie.jsxs("div",{className:da,children:[ie.jsx(Yr,{className:u.prev,icon:"chevron-left",colorScheme:i,"aria-label":"Predchádzajúci snímok"}),ie.jsx(Yr,{className:u.next,icon:"chevron-right",colorScheme:i,"aria-label":"Nasledujúci snímok"}),p&&ie.jsx(Yr,{className:u.playPause,icon:"pause",colorScheme:i,"aria-label":"Pozastaviť/Spustiť automatické prehrávanie"})]})]})]}))};ka.displayName="CarouselHero";var Ea="carousel-promotions",Na="".concat(Ea,"__viewport-wrapper"),Ca="".concat(Ea,"__viewport"),Ta="".concat(Ea,"__track"),Aa="".concat(Ea,"__slide"),Oa="".concat(Ea,"__next"),ja="".concat(Ea,"__pagination"),La="".concat(Ea,"__pagination-item"),Da="".concat(Ea,"__pagination-svg"),Pa="".concat(Ea,"__pagination-circle"),Ma="".concat(Ea,"--slide-inverted"),Ia="is-autoplay",Ra="is-active",za=".".concat(Ca),Fa=".".concat(ja),Ba={pagination:{el:Fa,clickable:!0,bulletClass:La,bulletActiveClass:Ra,renderBullet:function(e,t){return'<button aria-label="Stránka '.concat(e+1,'" role="tab" class="').concat(t,'" type="button"></button>')}},slidesPerView:1,loop:!0,a11y:{enabled:!0,prevSlideMessage:"Predchádzajúci snímok",nextSlideMessage:"Nasledujúci snímok",paginationBulletMessage:"Prejsť na snímok {index}",containerMessage:"Carousel so snímkami",containerRoleDescriptionMessage:"carousel",itemRoleDescriptionMessage:"snímok",firstSlideMessage:"Prvý snímok",lastSlideMessage:"Posledný snímok",slideLabelMessage:"Snímok"},cssMode:!1,direction:"horizontal",wrapperClass:Ta,slideClass:Aa,slideActiveClass:Ra,autoplay:!1},Ha=function(){function e(t,n){return m(this,e),y(this,"interval",0),this.element=t,this.config=_(_({},Ba),n),this.interval=0,this.handleSlideChange=this.handleSlideChange.bind(this),this.scrollToNextSlide=this.scrollToNextSlide.bind(this),this.autoplayAnimationEnd=this.autoplayAnimationEnd.bind(this),this.element.ODS_CarouselPromotions=this,this.init(),this}return g(e,[{key:"init",value:function(){var e=this;this.getElements(),this.element.hasAttribute("data-swiper-options")&&this.getCustomOptions(),this.element.hasAttribute("data-interval")&&(this.interval=parseInt(this.element.getAttribute("data-interval")));var t=this.isIntervalValid();t?(this.element.classList.add(Ia),this.config.autoplay={delay:this.interval,disableOnInteraction:!1}):(this.interval=0,this.config.autoplay=!1),this.instance=new gi(this.viewport,_(_({},this.config),{},{modules:[_i,wi,ki,yi,Ei],on:{slideChange:this.handleSlideChange,init:function(){e.fixPaginationButtonType(),e.isAutoplayEnabled&&e.renderSvgDotsForAnimation()},update:function(){e.fixPaginationButtonType(),e.isAutoplayEnabled&&e.renderSvgDotsForAnimation()}}}));var n=this.element.querySelector(Fa);n&&t&&(n.addEventListener("animationend",this.autoplayAnimationEnd),n.addEventListener("click",function(){e.stopAutoplay()}))}},{key:"stopAutoplay",value:function(){this.interval=0,this.element.classList.remove(Ia),this.instance&&this.instance.autoplay&&this.instance.autoplay.stop()}},{key:"handleSlideChange",value:function(){(this.element.classList.remove(Ma),this.instance&&void 0!==this.instance.activeIndex)&&(this.instance.activeIndex%2==1&&this.element.classList.add(Ma))}},{key:"autoplayAnimationEnd",value:function(e){e instanceof AnimationEvent&&"countdown"===e.animationName&&this.scrollToNextSlide()}},{key:"isAutoplayEnabled",get:function(){return this.interval>0}},{key:"isIntervalValid",value:function(){var e=parseInt(String(this.interval));return!isNaN(e)&&e>=1e3}},{key:"scrollToNextSlide",value:function(){if(this.instance&&this.instance.slides){var e=this.instance.slides.length;if(!(e<=0)){var t=this.instance.activeIndex||0;this.instance.slideTo((t+1)%e)}}}},{key:"getElements",value:function(){var e;this.viewport=this.element.querySelector(za);var t=this.element.querySelector(Fa);t&&!t.hasAttribute("role")&&t.setAttribute("role","tablist");var n={pagination:_(_({},null!==(e=this.config.pagination)&&void 0!==e?e:{}),{},{el:t,clickable:!0,bulletClass:La,bulletActiveClass:Ra})};this.config=_(_({},this.config),n)}},{key:"getCustomOptions",value:function(){var e=this.element.getAttribute("data-swiper-options");if(e){var t=JSON.parse(e);this.config=_(_({},this.config),t)}}},{key:"fixPaginationButtonType",value:function(){Array.from(this.element.querySelectorAll("".concat(Fa," > *"))).forEach(function(e){return e.setAttribute("type","button")})}},{key:"renderSvgDotsForAnimation",value:function(){var t=Array.from(this.element.querySelectorAll("".concat(Fa," > *"))),n=e.createSvgDot();n.querySelector("circle").style.animationDuration="".concat(this.interval,"ms"),t.forEach(function(e){e.innerHTML="",e.appendChild(n.cloneNode(!0))})}},{key:"destroy",value:function(){this.instance&&this.instance.destroy()}},{key:"update",value:function(){this.instance&&this.instance.update()}}],[{key:"createSvgDot",value:function(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");t.setAttribute("class",Da),t.setAttribute("width","12"),t.setAttribute("height","12"),t.setAttribute("viewBox","0 0 12 12"),t.setAttribute("fill","none"),t.setAttribute("xmlns",e);var n=document.createElementNS(e,"circle");return n.setAttribute("class",Pa),n.setAttribute("r","5"),n.setAttribute("cx","6"),n.setAttribute("cy","6"),t.appendChild(n),t}},{key:"getInstance",value:function(e){return e&&e.ODS_CarouselPromotions?e.ODS_CarouselPromotions:null}}])}(),Va=["className","swiperOptions","colorScheme","children"],Ua=function(e){var t=e.className,n=e.swiperOptions,i=e.colorScheme,r=e.children,a=x(e,Va),s=k(W(Ha),1)[0],o=P(Ea,t,{"is-light":"light"===i,"is-dark":"dark"===i}),l={next:P(Oa,"hide-lg"),dots:P(ja)};return ie.jsxs("div",_(_(_({className:o,ref:s,"data-carousel-promotions":!0},n?{"data-swiper-options":JSON.stringify(n)}:{}),a),{},{children:[ie.jsx("div",{className:Na,children:ie.jsx("div",{className:Ca,children:ie.jsx("div",{className:Ta,children:r})})}),ie.jsx("div",{role:"tablist",className:l.dots})]}))};Ua.displayName="CarouselPromotions";var qa=e.createContext({headers:[],rows:[]}),$a=["tag"],Wa=function(e){var t=e.tag,n=void 0===t?"td":t,i=x(e,$a),r=n;return ie.jsx(r,_({},i))};Wa.displayName="TableCell";var Ga=function(){var t,n=e.useContext(qa),i=n.headers,r=n.expandableRows,a={none:"zoradiť vzostupne podľa",ascending:"zoradiť zostupne podľa",descending:"vypnúť zoradenie poďľa"};return ie.jsx("thead",{children:ie.jsxs("tr",{children:[i.map(function(e,t){var n=e.isSortable,i=e.sort,r=void 0===i?"none":i,s=e.label,o=e.cellProps,l=e.headCellProps;return ie.jsxs(Wa,_(_(_(_({tag:"th"},o),l),n&&{"aria-sort":r}),{},{scope:"col",children:[s,n&&ie.jsxs(ie.Fragment,{children:[" ",ie.jsx("button",{type:"button",className:"table__sort-button",children:ie.jsxs("span",{className:"sr-only",children:[a[r]," ",s]})})]})]}),t.toString())}),(null==r?void 0:r.hasExpandableRows)&&ie.jsx(Wa,{tag:"th",scope:"col",className:"table__cell--shrink",children:ie.jsx("span",{className:"sr-only",children:null==r||null===(t=r.expandableRowsCaptions)||void 0===t?void 0:t.header})})]})})};Ga.displayName="TableHeader";var Ya=function(t){var n=t.row,i=e.useContext(qa),r=i.headers,a=i.expandableRows;return r.map(function(t,i,r){var s,o,l,c=t.key,d=t.cellProps,u=n[c],p="object"===C(u)&&null!==u,h=p&&"value"in u?u.value:u,f=p&&"value"in u?Object.entries(u).filter(function(e){var t=k(e,1)[0];return"value"!==t&&"rawValue"!==t}).reduce(function(e,t){var n=k(t,2),i=n[0],r=n[1];return _(_({},e),{},y({},i,r))},{}):{},m=(null==n||null===(s=n.expand)||void 0===s?void 0:s.length)||0;return ie.jsxs(e.Fragment,{children:[ie.jsx(Wa,_(_(_({},d),f),{},{children:h||""})),i===r.length-1&&(null==a?void 0:a.hasExpandableRows)&&(null!=n&&n.expand?ie.jsx(Wa,{className:"align-right table__cell--shrink table__cell--expand",children:ie.jsxs(wt,{type:"ghost",htmlType:"button",size:"small",isSquare:!0,className:"mb-none","data-subrow-toggle":!0,"aria-expanded":n.isExpanded?"true":"false","aria-controls":null===(o=n.expand)||void 0===o?void 0:o.map(function(e){return e.id}).join(" "),children:[ie.jsx("span",{className:"visually-hidden",children:"Zobraziť ".concat(m," súvisiac").concat(m>4?"ich":m>1?"e":"i"," riad").concat(m>4?"kov":m>1?"ky":"ok")}),ie.jsx(de,{name:"chevron-down",size:"large"})]})}):ie.jsx(Wa,{className:"align-right table__cell--shrink",children:ie.jsx("span",{className:"sr-only",children:null==a||null===(l=a.expandableRowsCaptions)||void 0===l?void 0:l.emptyRow})}))]},c)})};Ya.displayName="TableRow";var Xa=["id"],Ka=function(){var t=e.useContext(qa).rows;return ie.jsx("tbody",{children:t.map(function(t,n){var i;return ie.jsxs(e.Fragment,{children:[ie.jsx("tr",{children:ie.jsx(Ya,{row:t})}),null==t||null===(i=t.expand)||void 0===i?void 0:i.map(function(e,n){var i=e.id,r=x(e,Xa);return ie.jsx("tr",{id:i,className:"table__subrow",hidden:!t.isExpanded||void 0,children:ie.jsx(Ya,{row:r})},n.toString())})]},n.toString())})})};Ka.displayName="TableRows";var Ja=function(){var t=e.useContext(qa).footers;return t?ie.jsx("tfoot",{children:t.map(function(e,t){return ie.jsx("tr",{children:ie.jsx(Ya,{row:e})},t.toString())})}):null};Ja.displayName="TableFooter";var Za={expandButtonSelector:"[data-subrow-toggle]",scrollableContainerSelector:".table-scrollable",responsiveTableSelector:'[data-table="responsive"]'},Qa=function(){return g(function e(t,n){var i=this;return m(this,e),this.element=t,this.config=_(_({},Za),n),this.addRole=this.addRole.bind(this),this.addARIA=this.addARIA.bind(this),this.onExpandClick=this.onExpandClick.bind(this),this.expandButtons=[],this.scrollableContainer=null,this.element.ODS_Table=this,this.resizeObserver=new ResizeObserver(function(e){if(i.scrollableContainer){var t=i.scrollableContainer.getBoundingClientRect();e.forEach(function(e){var n,r;e.contentRect.width>t.width?null===(n=i.scrollableContainer)||void 0===n||n.setAttribute("tabindex","0"):null===(r=i.scrollableContainer)||void 0===r||r.removeAttribute("tabindex")})}}),this.init(),this},[{key:"addRole",value:function(e,t){Array.from(this.element.querySelectorAll(e)).forEach(function(e){e.setAttribute("role",t)})}},{key:"addARIA",value:function(){try{this.element.setAttribute("role","table"),this.addRole("thead, tbody, tfoot","rowgroup"),this.addRole("tr","row"),this.addRole("td","cell"),this.addRole("th","columnheader"),this.addRole("th[scope=row]","rowheader")}catch(e){console.log("Table.addARIA(): "+e)}}},{key:"onExpandClick",value:function(e){var t,n=e.currentTarget,i=null!==(t=n.getAttribute("aria-controls"))&&void 0!==t?t:"",r=this.element.querySelectorAll(i.split(" ").map(function(e){return"#".concat(e)}).join(","));B({element:n,attribute:"aria-expanded"}),r.forEach(function(e){B({element:e,attribute:"hidden"})})}},{key:"init",value:function(){var e=this;this.expandButtons=Array.from(this.element.querySelectorAll(this.config.expandButtonSelector)),this.expandButtons.forEach(function(t){t.addEventListener("click",e.onExpandClick)}),this.element.matches(this.config.responsiveTableSelector)&&this.addARIA(),this.maybeInitScrollable()}},{key:"maybeInitScrollable",value:function(){if(this.scrollableContainer=this.element.closest(this.config.scrollableContainerSelector),this.scrollableContainer)return this.resizeObserver.observe(this.element),!0}},{key:"destroy",value:function(){var e=this;this.expandButtons.forEach(function(t){t.removeEventListener("click",e.onExpandClick)}),this.resizeObserver.disconnect(),this.expandButtons=[]}},{key:"update",value:function(){this.destroy(),this.init()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Table?e.ODS_Table:null}}])}(),es=["className","caption","headers","rows","footers","isCompact","isStriped","isScrollable","colorScheme","expandableRowsCaptions"],ts="table",ns=function(e){var t=e.className,n=e.caption,i=e.headers,r=e.rows,a=e.footers,s=e.isCompact,o=e.isStriped,l=e.isScrollable,c=e.colorScheme,u=e.expandableRowsCaptions,p=void 0===u?{header:"Rozšíriteľný",emptyRow:"Nerozšíriteľný riadok"}:u,h=x(e,es),f=k(W(Qa),1)[0],m=d(),v=P(ts,y(y(y(y({},"".concat(ts,"--striped"),o),"".concat(ts,"--compact"),s),"is-dark","dark"===c),"is-light","light"===c),t),g="".concat(m,"-caption"),b={hasExpandableRows:r.some(function(e){return e&&e.expand&&e.expand.length>0}),expandableRowsCaptions:p},w={headers:i,footers:a,rows:r.map(function(e,t){return e&&e.expand?_(_({},e),{},{expand:e.expand.map(function(e,n){return _(_({},e),{},{id:"".concat(m,"-row-").concat(t,"-").concat(n)})})}):e}),expandableRows:b};return ie.jsx(qa.Provider,{value:w,children:ie.jsx(xe,{condition:l||!1,wrapper:ie.jsx("div",_({className:"".concat(ts,"-scrollable"),role:"group"},n&&{"aria-labelledby":g})),children:ie.jsxs("table",_(_({ref:f,className:v},h),{},{children:[n&&ie.jsx("caption",_(_({},l&&{id:g}),{},{children:n})),ie.jsx(Ga,{}),ie.jsx(Ka,{}),ie.jsx(Ja,{})]}))})})};ns.displayName="Table";var is=["dialog","id","placement","tag","className","renderTrigger","children","colorScheme"],rs=function(e){var t=e.dialog,n=e.id,i=e.placement,r=e.tag,a=void 0===r?"span":r,s=e.className,o=e.renderTrigger,l=e.children,c=e.colorScheme,d=x(e,is),u=Y(n),p=P("tooltip",{"is-dark":"dark"===c,"is-light":"light"===c},s),h=a,f=k(W(Vr,{removeDialogOnDestroy:!0}),1)[0],m={"data-tooltip-trigger":!0,"aria-describedby":u,"aria-owns":u,children:l};return ie.jsxs(ie.Fragment,{children:[o?o(m):ie.jsx("button",_(_({type:"button"},m),{},{children:l})),ie.jsxs(h,_(_({id:u,className:p,role:"tooltip",hidden:!0,ref:f,"data-tooltip":!0,"data-tooltip-placement":i},d),{},{children:[ie.jsx(h,{className:"tooltip__arrow"}),ie.jsx(h,{className:"tooltip__dialog",children:t})]}))]})};rs.displayName="Tooltip";var as=["children","className"],ss="info-tooltip",os=function(e){var t=e.children,n=e.className,i=x(e,as);return ie.jsxs(rs,_(_({dialog:t,renderTrigger:function(e){return ie.jsx("button",_({type:"button",className:ss},e))}},i),{},{children:[ie.jsx(de,{name:"assistance",color:"info",className:P("".concat(ss,"__icon"),n)}),ie.jsx("span",{className:"sr-only",children:"Info"})]}))};os.displayName="InfoTooltip";var ls=function(e){var t=e.price,n=e.discount,i=e.freeLabel,r=e.label,a=e.discountMonthsCount,s=!t&&!!n;return void 0!==t||void 0!==n?ie.jsxs(ie.Fragment,{children:[n&&t&&ie.jsxs(ie.Fragment,{children:[ie.jsx("del",{className:"color-gray",children:ht(t)}),ie.jsx("br",{})]}),ie.jsxs(qe,{className:"bold justify-content-end mb-none",children:[ie.jsx(Ge,{className:"hide-sm",children:a&&s?"1. – ".concat(a,". mesiac"):r}),ie.jsx(Ge,{children:s?ht(-n):t-(null!=n?n:0)===0?i:ht(t-(null!=n?n:0))})]})]}):null},cs=function(e){var t=e.name,n=e.tooltip;return void 0===t?null:ie.jsxs(ie.Fragment,{children:[ie.jsx("span",{className:"bold",children:t}),n&&ie.jsxs(ie.Fragment,{children:[" ",ie.jsx(os,{className:"icon--small",children:n})]})]})};cs.displayName="FooterNameColumn";var ds=function(e){var t=e.price,n=e.discount,i=void 0===n?0:n,r=e.label,a=e.size;return void 0===t?null:ie.jsxs(ie.Fragment,{children:[i>0&&ie.jsx("del",{className:"color-gray",children:ht(t)}),ie.jsxs("div",{children:[ie.jsx("div",{className:P("color-orange mb-none",{h4:"large"!==a,h2:"large"===a}),children:ht(t-i)}),ie.jsx("span",{className:P("color-orange mb-none",{h6:"large"!==a,h3:"large"===a}),children:r})]})]})};function us(e,t,n){return e.reduce(function(e,i){var r,a,s,o,l,c=null!==(r=null==i?void 0:i.monthsFree)&&void 0!==r?r:0,d=(null!==(a=null==i||null===(s=i.discount)||void 0===s?void 0:s.monthsCount)&&void 0!==a?a:0)+c||n;if(c&&t<=c)e+=null!==(o=null==i||null===(l=i.price)||void 0===l?void 0:l.monthly)&&void 0!==o?o:0;else if(d>0&&t<=d){var u,p;e+=null!==(u=null==i||null===(p=i.discount)||void 0===p?void 0:p.monthly)&&void 0!==u?u:0}return e},0)}function ps(e,t){return e.reduce(function(e,n){var i,r,a,s;return e+=null!==(i=null==n||null===(r=n.price)||void 0===r?void 0:r[t])&&void 0!==i?i:0,e-=null!==(a=null==n||null===(s=n.discount)||void 0===s?void 0:s[t])&&void 0!==a?a:0},0)}ds.displayName="FooterPriceColumn";var hs=function(e,t,n,i,r){if(e.find(function(e){var t;return(null==e?void 0:e.monthsFree)||(null==e||null===(t=e.discount)||void 0===t?void 0:t.monthsCount)})){var a=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:24,i=[],r=function(e){return e.reduce(function(e,t){var n,i;return e+(null!==(n=null==t||null===(i=t.price)||void 0===i?void 0:i.monthly)&&void 0!==n?n:0)},0)}(e),a=function(e){return e.reduce(function(e,t){var n,i,r,a;return(e+=null!==(n=null==t||null===(i=t.price)||void 0===i?void 0:i.upfront)&&void 0!==n?n:0)-(null!==(r=null==t||null===(a=t.discount)||void 0===a?void 0:a.upfront)&&void 0!==r?r:0)},0)}(e),s=1;s<n;s++){var o,l,c={upfront:a>0&&1===s?a:void 0,monthly:r},d={monthly:us(e,s,n)},u=i.length-1;0!==i.length&&(null===(o=i[u].price)||void 0===o?void 0:o.upfront)===(null==c?void 0:c.upfront)&&(null===(l=i[u].discount)||void 0===l?void 0:l.monthly)===(null==d?void 0:d.monthly)||(i[u]&&(i[u].end=s-1),i=[].concat(E(i),[{start:s,end:n,price:c,discount:d}]))}return t&&(i.shift(),i[0]&&(i[0].start=1)),function(e){return e.map(function(t){var n=t.start,i=t.end,r=t.price,a=t.discount,s="";return e.length>1&&(s=n!==i?"".concat(n,". – ").concat(i,". mesiac"):"".concat(n,". mesiac")),{name:s,price:r,discount:a}})}(i)}(e,null==n?void 0:n.hideFirst);return a.map(function(e){var a=e.name,s=e.price,o=e.discount;return{col1:ie.jsx(cs,{name:a,tooltip:null==n?void 0:n.tooltip}),col2:s&&void 0!==s.upfront&&s.upfront>0&&"upfront"!==t&&ie.jsx(ds,{price:s.upfront,discount:o&&o.upfront,label:i.upfront,size:r}),col3:ie.jsx(ds,{price:s.monthly,discount:o&&o.monthly,label:i.monthly,size:r})}})}return[{col1:(null==n?void 0:n.name)&&ie.jsx(cs,{name:n.name,tooltip:n.tooltip}),col2:"upfront"!==t&&ie.jsx(ds,{price:ps(e,"upfront"),label:i.upfront,size:r}),col3:ie.jsx(ds,{price:ps(e,"monthly"),label:i.monthly,size:r})}]},fs="cart-table",ms={monthly:"mesačne",upfront:"vopred",product:"produkt",remove:"odstrániť",add:"Pridať",free:"zadarmo"},vs=function(e){var t=e.items,n=void 0===t?[]:t,i=e.hideEmpty,r=void 0===i||i,a=e.isEditable,s=void 0!==a&&a,o=e.footer,l=e.labels,c=void 0===l?ms:l,d=e.size,u=r?[" hide"," hide"]:["",""];return r&&n.forEach(function(e){var t=e.price,n=void 0===t?{}:t,i=e.discount,r=void 0===i?{}:i;void 0===n.upfront&&void 0===r.upfront||(u[0]=""),void 0===n.monthly&&void 0===r.monthly||(u[1]="")}),ie.jsx(ns,{className:P(fs,y({},"".concat(fs,"--large"),d)),headers:[{key:"col1",cellProps:{className:"cart-table__product"},label:ut(c.product)},{cellProps:{className:"align-right ".concat(fs,"__price").concat(u[0])},key:"col2",label:ut(c.upfront)},{cellProps:{className:"align-right ".concat(fs,"__price").concat(u[1])},key:"col3",label:ut(c.monthly)}].concat(E(s?[{cellProps:{className:"align-right"},key:"col4",label:""}]:[])),rows:n.map(function(e){return _({},function(e,t,n){var i=e.isSubitem,r=e.image,a=e.badge,s=e.name,o=e.tooltip,l=e.price,c=e.discount,d=e.description,u=e.icon,p=e.isMandatory,h=e.isOptional;return _(_({col1:ie.jsxs(ie.Fragment,{children:[ie.jsxs(qe,{canWrap:!1,className:P("mb-none ",{"cart-table__subitem":i}),children:[i&&ie.jsx(Ge,{children:ie.jsx(de,{name:"add",size:"medium"})}),u&&ie.jsx(Ge,{children:ie.jsx(de,{name:u,size:"medium"})}),r&&ie.jsx(Ge,{children:ie.jsx(Et,{src:r,alt:"",width:"24"})}),ie.jsxs(Ge,{isFilling:!0,children:[a&&ie.jsx(ze,{color:"warning",children:a}),ie.jsx(qe,{space:"small",children:ie.jsxs(Ge,{canShrink:!0,className:P("bold",{"text-nowrap":o}),children:[ie.jsx(xe,{condition:!!o,wrapper:ie.jsx("span",{className:"text-wrap",children:s}),children:s}),o&&" ",o&&ie.jsx(os,{className:"icon--small",placement:"right",children:o})]})}),d&&ie.jsx("div",{children:"string"==typeof d?d:d.map(function(e){return ie.jsx("p",{className:"mb-0",children:e},e)})})]}),!t||p||h?null:ie.jsx(Ge,{className:"hide-sm",children:ie.jsx(Mt,{iconName:"trash",isSquare:!0,size:"small","aria-label":n.remove})}),h&&ie.jsx(Ge,{className:"hide-sm",children:ie.jsx(Mt,{iconName:"add",isSquare:!0,size:"small","aria-label":n.add})})]}),!(null!=l&&l.monthly)&&(null==c?void 0:c.monthsCount)&&ie.jsx("div",{children:ie.jsx("p",{className:P("mb-none show-sm cart-table__discount--margin-top",{"cart-table__subitem":i,"cart-table__discount--padding-left":r||u||i}),children:"1. – ".concat(c.monthsCount,". mesiac")})})]}),col2:ie.jsx(ls,{discount:null==c?void 0:c.upfront,freeLabel:n.free,label:n.upfront,price:null==l?void 0:l.upfront}),col3:ie.jsx(ls,{discount:null==c?void 0:c.monthly,discountMonthsCount:null==c?void 0:c.monthsCount,freeLabel:n.free,label:n.monthly,price:null==l?void 0:l.monthly})},t&&!p&&!h&&{col4:ie.jsx(Mt,{iconName:"trash",size:"small",className:"cart-table__button mb-none",children:ie.jsx("span",{className:"show-md",children:n.remove})})}),h&&{col4:ie.jsx(Mt,{iconName:"add",size:"small",className:"cart-table__button mb-none",children:ie.jsx("span",{className:"show-md",children:n.add})})})}(e,s,c))}),footers:hs(n,"true",null!=o?o:{},c,"large"===d?"large":void 0)})};vs.displayName="CartTable";var gs=["className","color","icon","content","thinLine"],ys="divider",bs=function(e){var t=e.className,n=e.color,i=e.icon,r=e.content,a=e.thinLine,s=x(e,gs),o=P(ys,y({},"".concat(ys,"--").concat(n),n),t),l=P("".concat(ys,"__line"),y({},"".concat(ys,"__line--thin"),a)),c="".concat(ys,"__content");return ie.jsxs("div",_(_({className:o},s),{},{children:[ie.jsx("div",{className:l}),(r||i)&&ie.jsxs(ie.Fragment,{children:[ie.jsx("div",{className:c,children:null!=r?r:i&&ie.jsx(de,{name:i,size:"medium"})}),ie.jsx("div",{className:l})]})]}))};bs.displayName="Divider";var _s={dataInteractive:"data-dropdown-interactive",focusTrap:"data-dropdown-focus-trap",removeDialogOnDestroy:!1,popperOptions:{placement:"bottom-start",strategy:"absolute",modifiers:[{name:"eventListeners",options:{scroll:!1,resize:!1}},{name:"flip",options:{fallbackPlacements:["bottom-end","bottom-start","bottom"]}},{name:"offset",options:{offset:[0,-1]}}]}},xs=function(){return g(function e(t){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return m(this,e),t.ODS_Dropdown?t.ODS_Dropdown:(this.element=t,this.config=_(_({},_s),i),this.config.popperOptions=_(_({},_s.popperOptions),(null==i?void 0:i.popperOptions)||{}),this.config.popperOptions.modifiers=[].concat(E(_s.popperOptions.modifiers||[]),E((null==i||null===(n=i.popperOptions)||void 0===n?void 0:n.modifiers)||[])),this.handleVisibility=this.handleVisibility.bind(this),this.handleKeyPress=this.handleKeyPress.bind(this),this.handleClick=this.handleClick.bind(this),this.element.ODS_Dropdown=this,this.focusableElements=this.element.querySelectorAll('a[href]:not([disabled]), button:not([disabled]),\n textarea:not([disabled]), input[type="text"]:not([disabled]),\n input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]),\n select:not([disabled])'),this.init(),this)},[{key:"init",value:function(){this.trigger=document.getElementById(this.element.id.replace("dropdown","btn"));var e=this.element.getAttribute("data-dropdown-placement");e&&(this.config.popperOptions.placement=e),this.instance=Fr(this.trigger,this.element,this.config.popperOptions),this.transitioner=Br({element:this.element,visibleClass:"dropdown--visible"}),this.trigger.addEventListener("click",this.handleVisibility,!0)}},{key:"handleVisibility",value:function(){this.element.classList.contains("dropdown--visible")?this.hide():this.show()}},{key:"handleClick",value:function(e){this.trigger===e.target||this.trigger.contains(e.target)||this.element.hasAttribute(this.config.dataInteractive)&&!e.target.id.includes(this.element.id.replace("dropdown","btn"))&&this.element.contains(e.target)||this.handleVisibility()}},{key:"handleKeyPress",value:function(e){if(M.ESC.includes(e.key)&&(this.handleVisibility(),this.element.contains(document.activeElement)&&this.trigger.focus(),this.hide()),this.element.hasAttribute(this.config.focusTrap)){var t=this.focusableElements[0],n=this.focusableElements[this.focusableElements.length-1];document.activeElement!==this.button||"Tab"!==e.key&&9!==e.keyCode?"Tab"!==e.key&&9!==e.keyCode||(e.shiftKey?document.activeElement===t&&(n.focus(),e.preventDefault()):document.activeElement===n&&(t.focus(),e.preventDefault())):e.shiftKey&&(this.focusableElements[this.focusableElements.length-1].focus(),e.preventDefault())}}},{key:"show",value:function(){var e=this;this.transitioner.show(),this.instance.forceUpdate(),document.addEventListener("keydown",this.handleKeyPress),document.addEventListener("click",this.handleClick),window.onresize=function(){return e.update()}}},{key:"hide",value:function(){this.transitioner.hide(),document.removeEventListener("keydown",this.handleKeyPress),document.removeEventListener("click",this.handleClick),window.onresize=null}},{key:"update",value:function(){this.instance.forceUpdate()}},{key:"destroy",value:function(){this.trigger.removeEventListener("click",this.handleVisibility),this.instance.destroy(),this.element.ODS_Dropdown=null,window.onresize=null,this.config.removeDialogOnDestroy&&this.element.remove()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Dropdown?e.ODS_Dropdown:null}}])}(),ws=["children"],Ss=function(e){var t=e.children,r=x(e,ws),a=n(null),s="string"==typeof r.iconName;return i(function(){if(a.current){var e=new F(a.current);return function(){e.destroy()}}},[]),s?ie.jsx(Mt,_(_({ref:a},r),{},{children:t})):ie.jsx(wt,_(_({ref:a},r),{},{children:t}))},ks=["className","id"],Es=function(e){var t=e.className,n=e.id,i=x(e,ks);return ie.jsx(Ss,_(_({"aria-expanded":!1,id:"btn-".concat(n),"data-toggle":JSON.stringify([{target:"self",attribute:"aria-expanded"}])},i),{},{className:P("".concat(Cs,"__button mb-none"),t)}))};Es.displayName="DropdownToggleButton";var Ns=["button","className","hasFocusTrap","hasSpacing","children","id","isInteractive","placement"],Cs="dropdown",Ts={left:"bottom-start",center:"bottom",right:"bottom-end"},As=function(e){var t=e.button,n=e.className,i=e.hasFocusTrap,r=void 0!==i&&i,a=e.hasSpacing,s=void 0===a||a,o=e.children,l=e.id,c=e.isInteractive,d=void 0!==c&&c,u=e.placement,p=void 0===u?"left":u,h=x(e,Ns),f=k(W(xs),1)[0],m=P("dropdown",y({},"".concat(Cs,"-spacing"),s),n);return ie.jsxs(ie.Fragment,{children:[t&&ie.jsx(Es,_(_({},t),{},{id:l,className:t.className||""})),ie.jsxs("div",_(_({ref:f,id:"dropdown-".concat(l),className:m,"data-dropdown":"","data-dropdown-placement":Ts[p],"data-dropdown-interactive":d,"data-dropdown-focus-trap":r},h),{},{children:[r&&ie.jsx(qe,{className:"mb-small justify-content-end",children:ie.jsx(Ge,{children:ie.jsx(Mt,{iconName:"delete",isSquare:!0,size:"small",className:"".concat(Cs,"__close"),"aria-label":"Zatvoriť",id:"close-btn-".concat(l),"data-toggle":JSON.stringify([{target:"#btn-".concat(l),action:"click"}])})})}),o]}))]})};As.displayName="Dropdown";var Os=["className","children","disabled","href"],js=function(e){var t=e.className,n=e.children,i=e.disabled,r=e.href,a=x(e,Os),s=P("dropdown__item",{disabled:i},t);return ie.jsx("a",_(_({tabIndex:i?-1:0,href:r,className:s,"aria-disabled":i},a),{},{children:n}))};js.displayName="DropdownItem";var Ls=["className"],Ds=function(e){var t=e.className,n=x(e,Ls),i=P("dropdown__divider",t);return ie.jsx("div",_({className:i},n))};Ds.displayName="DropdownDivider";var Ps=function(){return g(function e(t){m(this,e),this.element=t,this.toggle=this.toggle.bind(this),this.element.ODS_Expander=this,this.init()},[{key:"toggle",value:function(){console.log("Toggle event triggered");var e=this.element.querySelector("summary");if(e){var t=e.getAttribute("data-summary"),n=e.getAttribute("data-summary-opened");if(e.setAttribute("aria-expanded","true"===e.getAttribute("aria-expanded")?"false":"true"),n){var i="true"===e.getAttribute("aria-expanded")?n:t;i&&e.setAttribute("aria-label",i)}}}},{key:"init",value:function(){this.element.addEventListener("toggle",this.toggle)}},{key:"update",value:function(){this.destroy(),this.init()}},{key:"destroy",value:function(){this.element.removeEventListener("toggle",this.toggle)}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Expander?e.ODS_Expander:null}}])}(),Ms=["className","children","summary","summaryOpened","renderSummary","renderSummaryOpened","colorScheme","isFullWidth"],Is="expander",Rs=function(e){var t=e.className,n=e.children,i=e.summary,r=e.summaryOpened,a=e.renderSummary,s=e.renderSummaryOpened,o=e.colorScheme,l=e.isFullWidth,c=x(e,Ms),d=k(W(Ps),1)[0],p=P(Is,y(y(y({},"".concat(Is,"--fullwidth"),l),"is-dark","dark"===o),"is-light","light"===o),t),h=u(function(){return a?a(e):i&&ie.jsxs(ie.Fragment,{children:[i," ",ie.jsx(de,{alt:"stav",name:"chevron-down","data-summary-icon":!0})]})},[a,e,i]),f=u(function(){return s?s(e):r&&ie.jsxs(ie.Fragment,{children:[r," ",ie.jsx(de,{alt:"stav",name:"chevron-down","data-summary-icon":!0})]})},[s,e,r]);return ie.jsxs("details",_(_({className:p,"data-expander":!0,ref:d},c),{},{children:[ie.jsxs("summary",{"aria-expanded":"false","aria-label":i,"data-summary":i,"data-summary-opened":r,children:[ie.jsx("div",{className:"".concat(Is,"__summary"),children:h}),f&&ie.jsx("div",{className:"".concat(Is,"__summary--opened"),children:f})]}),ie.jsx("div",{children:n})]}))};Rs.displayName="Expander";var zs={itemSelector:"[data-feature-accordion-item]",bodiesSelector:".accordion__body",buttonSelector:"[data-feature-accordion-toggle]",imageSelector:"[data-feature-accordion-image]"},Fs=function(){return g(function e(t,n){var i=this;return m(this,e),y(this,"items",[]),y(this,"bodies",[]),y(this,"buttons",[]),y(this,"images",[]),y(this,"activeId",null),y(this,"onClick",function(e){var t=e.currentTarget.getAttribute("id");i.setActive(t)}),this.element=t,this.config=_(_({},zs),n),this.element.ODS_FeatureAccordion=this,this.init(),this},[{key:"init",value:function(){var e=this;this.items=Array.from(this.element.querySelectorAll(this.config.itemSelector)),this.bodies=Array.from(this.element.querySelectorAll(this.config.bodiesSelector)),this.buttons=Array.from(this.element.querySelectorAll(this.config.buttonSelector)),this.images=Array.from(this.element.querySelectorAll(this.config.imageSelector));var t=this.buttons[0]||null,n=(null==t?void 0:t.getAttribute("id"))||null;this.setActive(n),this.buttons.forEach(function(t){t.addEventListener("click",e.onClick)})}},{key:"setActive",value:function(e){if(e){this.activeId=e,this.bodies.forEach(function(e){e.setAttribute("hidden",""),e.classList.remove("is-active")}),this.buttons.forEach(function(e){var t=e.closest(".feature-accordion__item");null==t||t.classList.remove("is-active"),B({element:e,attribute:"aria-expanded",value:"false"})});var t=this.buttons.find(function(t){return t.getAttribute("id")===e});if(t){var n=t.getAttribute("aria-controls"),i=n?document.getElementById(n):null,r=t.closest(".feature-accordion__item");i&&(i.removeAttribute("hidden"),i.classList.add("is-active")),r&&r.classList.add("is-active"),B({element:t,attribute:"aria-expanded",value:"true"})}this.images.forEach(function(t){var n=t.getAttribute("data-feature-accordion-image-for");t.classList.toggle("hide",n!==e)})}}},{key:"destroy",value:function(){var e=this;this.buttons.forEach(function(t){t.removeEventListener("click",e.onClick)})}},{key:"update",value:function(){this.destroy(),this.init()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_FeatureAccordion?e.ODS_FeatureAccordion:null}}])}(),Bs=["className","children","colorScheme"],Hs="feature-accordion",Vs=function(t){var n=t.className,i=t.children,r=t.colorScheme,a=x(t,Bs),s=k(W(Fs),1)[0],o=P(Hs,{"is-dark":"dark"===r,"is-light":"light"===r,"is-white":"white"===r},n),l=u(function(){return e.Children.toArray(i)},[i]);return ie.jsxs(vt,_(_({className:o,"data-feature-accordion":!0,ref:s},a),{},{children:[ie.jsx(bt,{size:{xs:12,md:6},className:"".concat(Hs,"__accordion"),children:ie.jsx(se,{children:l.map(function(t){var n=t.props.id,i=t.props["data-image-url"]||t.props.imageUrl,r=t.props["data-image-alt"]||t.props.imageAlt;return i?e.cloneElement(t,{children:ie.jsxs(ie.Fragment,{children:[ie.jsx("div",{className:"".concat(Hs,"__content"),children:t.props.children}),ie.jsx("div",{className:P("".concat(Hs,"__preview"),"hide-md"),children:ie.jsx(Et,{"data-feature-accordion-image":!0,"data-feature-accordion-image-for":n,src:i,alt:r,className:"".concat(Hs,"__image--mobile")},n)})]})}):null})})}),ie.jsx(bt,{size:{xs:12,md:6},className:P("".concat(Hs,"__preview"),"hide","show-md"),children:l.map(function(e){var t=e.props.id,n=e.props["data-image-url"]||e.props.imageUrl,i=e.props["data-image-alt"]||e.props.imageAlt;return n?ie.jsx(Et,{"data-feature-accordion-image":!0,"data-feature-accordion-image-for":t,src:n,alt:i,className:"hide"},t):null})})]}))},Us=["imageUrl","imageAlt","className","defaultOpen"],qs=function(e){var t=e.imageUrl,n=e.imageAlt,i=e.className,r=e.defaultOpen,a=x(e,Us);return ie.jsx(ge,_({className:P("feature-accordion__item",i),"data-feature-accordion-item":!0,"data-image-url":t,"data-image-alt":n,isActive:r,toggleAttribute:"data-feature-accordion-toggle"},a))};qs.displayName="FeatureAccordionItem";var $s=["className","color","noBorder"],Ws="card",Gs=e.forwardRef(function(e,t){var n=e.className,i=e.color,r=void 0===i?"white":i,a=e.noBorder,s=x(e,$s),o=P(Ws,y(y({},"bg-".concat(r),"white"!==r),"".concat(Ws,"--no-border"),a),n);return ie.jsx("div",_({className:o,ref:t},s))});Gs.displayName="Card";var Ys=["className","color","isFilling","space"],Xs="card__section",Ks=e.forwardRef(function(e,t){var n=e.className,i=e.color,r=e.isFilling,a=e.space,s=x(e,Ys),o=P(Xs,y(y(y({},"bg-".concat(i),i),"".concat(Xs,"--fill"),r),"".concat(Xs,"--space-small"),"small"===a),n);return ie.jsx("div",_({className:o,ref:t},s))});Ks.displayName="CardSection";var Js=["className","children","image","space"],Zs="card__product",Qs=e.forwardRef(function(e,t){var n=e.className,i=e.children,r=e.image,a=e.space,s=x(e,Js),o=P("".concat(Zs,"-header"),y({},"".concat(Zs,"-header--space-small"),"small"===a),n),l="".concat(Zs,"-content");return ie.jsxs("div",_(_({className:o,ref:t},s),{},{children:[ie.jsx("div",{className:l,children:i}),r]}))});Qs.displayName="CardProductHeader";var eo=["children","className","percentage"],to=function(e,t){var n=e;return"".concat(e/2*(t/100),", ").concat(n)},no=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return Math.min(Math.max(e,t),n)},io="gauge",ro=e.forwardRef(function(e,t){var n=e.children,i=e.className,r=e.percentage,a=void 0===r?0:r,s=x(e,eo),o=function(e){return Math.PI*(e+.22*e)*2}(100),l={r:100,cx:110,cy:110,strokeWidth:15,fill:"none",transform:"rotate(160, 110, 110)"};return ie.jsxs("figure",_(_({ref:t,className:P("".concat(io),i)},s),{},{children:[ie.jsxs("svg",{width:"220",height:"150",viewBox:"0 0 220 150",className:"".concat(io,"__dial"),children:[ie.jsx("circle",_({className:"".concat(io,"__display"),strokeDasharray:to(o,100)},l)),ie.jsx("circle",_({className:"".concat(io,"__indicator"),strokeDasharray:to(o,no(a))},l))]}),ie.jsx("figcaption",{className:"".concat(io,"__text"),children:n})]}))});ro.displayName="Gauge";var ao={cycleDuration:4e3,delay:5e3},so=function(){return g(function e(t,n){m(this,e),this.element=t,this.config=_(_({},ao),n),this.interval=null,this.delay=null,this.currentMessageIndex=0,this.messages=[],this.cycleMessages=this.cycleMessages.bind(this),this.element.ODS_Loader=this,this.init()},[{key:"initBody",value:function(){var e,t=this.element.getAttribute("data-loader-messages");(this.messages=t?JSON.parse(t):[],this.messages.length)&&(this.interval=window.setInterval(this.cycleMessages,null!==(e=this.config.cycleDuration)&&void 0!==e?e:ao.cycleDuration))}},{key:"init",value:function(){var e,t=this;this.element.hasAttribute("data-loader-delayed")?this.delay=window.setTimeout(function(){t.element.parentNode&&t.element.parentNode instanceof HTMLElement&&t.element.parentNode.classList.remove("hide"),t.initBody()},null!==(e=this.config.delay)&&void 0!==e?e:ao.delay):this.initBody()}},{key:"destroy",value:function(){this.interval&&window.clearInterval(this.interval),this.delay&&window.clearTimeout(this.delay)}},{key:"cycleMessages",value:function(){this.currentMessageIndex<this.messages.length?(this.element.innerText=this.messages[this.currentMessageIndex],this.currentMessageIndex+=1):this.destroy()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Loader?e.ODS_Loader:null}}])}(),oo=["messages","size","className","colour","isDelayed","children"],lo="loader",co=function(e){var t=e.messages,n=e.size,i=void 0===n?"default":n,r=e.className,a=e.colour,s=void 0===a?"default":a,o=e.isDelayed,l=e.children,c=x(e,oo),d=k(W(so,{messages:t,isDelayed:o}),1)[0],u=P(lo,y(y(y({},"".concat(lo,"--").concat(i),"default"!==i),"".concat(lo,"--").concat(s),"default"!==s),"hide",o),r);return ie.jsxs("div",_(_({className:u},c),{},{children:[ie.jsx("div",{className:P("".concat(lo,"__body"),y({},"".concat(lo,"__body--inverse"),"default"!==s)),children:ie.jsx("div",{className:P("".concat(lo,"__line"),y({},"".concat(lo,"__line--inverse"),"default"!==s))})}),t&&ie.jsx("div",{"data-loader":!0,"data-loader-delayed":o,"data-loader-messages":JSON.stringify(t),className:"".concat(lo,"__messages"),ref:d,children:l})]}))};co.displayName="Loader";const uo=":not([inert]):not([inert] *)",po=':not([tabindex^="-"])',ho=":not(:disabled)";var fo=[`a[href]${uo}${po}`,`area[href]${uo}${po}`,`input:not([type="hidden"]):not([type="radio"])${uo}${po}${ho}`,`input[type="radio"]${uo}${po}${ho}`,`select${uo}${po}${ho}`,`textarea${uo}${po}${ho}`,`button${uo}${po}${ho}`,`details${uo} > summary:first-of-type${po}`,`iframe${uo}${po}`,`audio[controls]${uo}${po}`,`video[controls]${uo}${po}`,`[contenteditable]${uo}${po}`,`[tabindex]${uo}${po}`];function mo(e){(e.querySelector("[autofocus]")||e).focus()}function vo(e,t){if(t&&bo(e))return e;if(function(e){return(!e.shadowRoot||"-1"!==e.getAttribute("tabindex"))&&!e.matches(":disabled,[hidden],[inert]")}(e))if(e.shadowRoot){let n=go(e.shadowRoot,t);for(;n;){const e=vo(n,t);if(e)return e;n=yo(n,t)}}else if("slot"===e.localName){const n=e.assignedElements({flatten:!0});t||n.reverse();for(const e of n){const n=vo(e,t);if(n)return n}}else{let n=go(e,t);for(;n;){const e=vo(n,t);if(e)return e;n=yo(n,t)}}return!t&&bo(e)?e:null}function go(e,t){return t?e.firstElementChild:e.lastElementChild}function yo(e,t){return t?e.nextElementSibling:e.previousElementSibling}const bo=e=>!e.shadowRoot?.delegatesFocus&&(e.matches(fo.join(","))&&!(e=>!(!e.matches("details:not([open]) *")||e.matches("details>summary:first-of-type"))||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))(e));function _o(e=document){const t=e.activeElement;return t?t.shadowRoot?_o(t.shadowRoot)||document.activeElement:t:null}function xo(e,t){const[n,i]=function(e){const t=vo(e,!0);return[t,t?vo(e,!1)||t:null]}(e);if(!n)return t.preventDefault();const r=_o();t.shiftKey&&r===n?(i.focus(),t.preventDefault()):t.shiftKey||r!==i||(n.focus(),t.preventDefault())}function wo(e,t){return function t(n){if(!n||n===document||n===window)return null;const i=So(n);return i&&(n=i),n.closest(e)||t(n.getRootNode().host)}(t)}function So(e){return e.assignedSlot||(e.parentNode?So(e.parentNode):null)}const ko="data-a11y-dialog";class Eo{$el;id;previouslyFocused;shown;constructor(e){this.$el=e,this.id=this.$el.getAttribute(ko)||this.$el.id,this.previouslyFocused=null,this.shown=!1,this.maintainFocus=this.maintainFocus.bind(this),this.bindKeypress=this.bindKeypress.bind(this),this.handleTriggerClicks=this.handleTriggerClicks.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.$el.setAttribute("aria-hidden","true"),this.$el.setAttribute("aria-modal","true"),this.$el.setAttribute("tabindex","-1"),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),document.addEventListener("click",this.handleTriggerClicks,!0)}destroy(){return this.fire("destroy").defaultPrevented||(this.hide(),document.removeEventListener("click",this.handleTriggerClicks,!0),this.$el.replaceWith(this.$el.cloneNode(!0))),this}show(e){if(this.shown)return this;return this.fire("show",e).defaultPrevented||(this.shown=!0,this.$el.removeAttribute("aria-hidden"),this.previouslyFocused=_o(),"BODY"===this.previouslyFocused?.tagName&&e?.target&&(this.previouslyFocused=e.target),"focus"===e?.type?this.maintainFocus():mo(this.$el),document.body.addEventListener("focus",this.maintainFocus,!0),this.$el.addEventListener("keydown",this.bindKeypress,!0)),this}hide(e){if(!this.shown)return this;return this.fire("hide",e).defaultPrevented||(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),document.body.removeEventListener("focus",this.maintainFocus,!0),this.$el.removeEventListener("keydown",this.bindKeypress,!0),this.previouslyFocused?.focus?.()),this}on(e,t,n){return this.$el.addEventListener(e,t,n),this}off(e,t,n){return this.$el.removeEventListener(e,t,n),this}fire(e,t){const n=new CustomEvent(e,{detail:t,cancelable:!0});return this.$el.dispatchEvent(n),n}handleTriggerClicks(e){const t=e.composedPath()[0],n=wo(`[${ko}-show="${this.id}"]`,t),i=wo(`[${ko}-hide="${this.id}"]`,t),r=wo(`[${ko}-hide]`,t)&&wo('[aria-modal="true"]',t)===this.$el;n&&this.show(e),(i||r)&&this.hide(e)}bindKeypress(e){if(wo('[aria-modal="true"]',_o())!==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&&xo(this.$el,e)}maintainFocus(){const e=_o();wo(`[aria-modal="true"], [${ko}-ignore-focus-trap]`,e)||mo(this.$el)}}function No(){for(const e of document.querySelectorAll("[data-a11y-dialog]"))new Eo(e)}"undefined"!=typeof document&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",No):No());
|
|
18
|
-
/*!
|
|
19
|
-
* tabbable 6.2.0
|
|
20
|
-
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
21
|
-
*/var Co=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"].join(","),To="undefined"==typeof Element,Ao=To?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Oo=!To&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},jo=function e(t,n){var i;void 0===n&&(n=!0);var r=null==t||null===(i=t.getAttribute)||void 0===i?void 0:i.call(t,"inert");return""===r||"true"===r||n&&t&&e(t.parentNode)},Lo=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))}(e)?0:e.tabIndex},Do=function(e){return"INPUT"===e.tagName},Po=function(e){return function(e){return Do(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||Oo(e),i=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=i(window.CSS.escape(e.name));else try{t=i(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 r=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!r||r===e}(e)},Mo=function(e){var t=e.getBoundingClientRect(),n=t.width,i=t.height;return 0===n&&0===i},Io=function(e,t){var n=t.displayCheck,i=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var r=Ao.call(e,"details>summary:first-of-type")?e.parentElement:e;if(Ao.call(r,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return Mo(e)}else{if("function"==typeof i){for(var a=e;e;){var s=e.parentElement,o=Oo(e);if(s&&!s.shadowRoot&&!0===i(s))return Mo(e);e=e.assignedSlot?e.assignedSlot:s||o===e.ownerDocument?s:o.host}e=a}if(function(e){var t,n,i,r,a=e&&Oo(e),s=null===(t=a)||void 0===t?void 0:t.host,o=!1;if(a&&a!==e)for(o=!!(null!==(n=s)&&void 0!==n&&null!==(i=n.ownerDocument)&&void 0!==i&&i.contains(s)||null!=e&&null!==(r=e.ownerDocument)&&void 0!==r&&r.contains(e));!o&&s;){var l,c,d;o=!(null===(c=s=null===(l=a=Oo(s))||void 0===l?void 0:l.host)||void 0===c||null===(d=c.ownerDocument)||void 0===d||!d.contains(s))}return o}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},Ro=function(e,t){return!(t.disabled||jo(t)||function(e){return Do(e)&&"hidden"===e.type}(t)||Io(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 i=t.children.item(n);if("LEGEND"===i.tagName)return!!Ao.call(t,"fieldset[disabled] *")||!i.contains(e)}return!0}t=t.parentElement}return!1}(t))},zo=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==Ao.call(e,Co)&&function(e,t){return!(Po(t)||Lo(t)<0||!Ro(e,t))}(t,e)},Fo=function(){function e(t,n){return m(this,e),this.element=t,this.config=_(_({},{classModalIsOpen:"is-active",classModalIsOpenBody:"has-modal",root:"#root",modalsRoot:"#root-modals"}),n),this.handleShow=this.handleShow.bind(this),this.handleHide=this.handleHide.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.headerFirstItemSpacing=this.headerFirstItemSpacing.bind(this),e.moveToModalRoot=e.moveToModalRoot.bind(this),e.lockBody=e.lockBody.bind(this),e.unlockBody=e.unlockBody.bind(this),this.element.ODS_Modal=this,this.init(),this}return g(e,[{key:"handleShow",value:function(t){e.lockBody(),t&&t.classList.add(this.config.classModalIsOpen);var n=t.querySelector("[data-a11y-dialog-initial-focus]");n&&(zo(n)||n.setAttribute("tabindex","-1"),n.focus())}},{key:"handleHide",value:function(t){e.unlockBody(),t&&t.classList.remove(this.config.classModalIsOpen)}},{key:"show",value:function(){this.instance.show()}},{key:"hide",value:function(){this.instance.hide()}},{key:"headerFirstItemSpacing",value:function(){var e=this.element.querySelector(".modal__header");if(e){var t=e.classList.contains("modal__header--no-spacing"),n=Array.from(e.children).find(function(e){return!e.classList.contains("btn")});n&&!t&&(n.style.marginRight="40px")}}},{key:"init",value:function(){var t=this;this.config.modalsRoot&&e.moveToModalRoot(this.element,document.querySelector(this.config.modalsRoot)),this.instance=new Eo(this.element),this.instance.on("show",function(e){var n=e.currentTarget;t.handleShow(n)}),this.instance.on("hide",function(e){var n=e.currentTarget;t.handleHide(n)}),this.headerFirstItemSpacing()}},{key:"destroy",value:function(){this.instance.destroy(),this.element.ODS_Modal=this}},{key:"update",value:function(){this.destroy(),this.init()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Modal||null}},{key:"moveToModalRoot",value:function(e,t){var n;t?t.appendChild(e):console.warn("`modalsRoot: ".concat(null===(n=this.config)||void 0===n?void 0:n.modalsRoot,"` element is not present in DOM. Modal will be placed inside content which can affect it's styling. Please provide `modalsRoot` selector (should be placed outside of main contant, usualy in end of <body /> tag)"))}},{key:"lockBody",value:function(e,t){var n,i,r=e||(null===(n=this.config)||void 0===n?void 0:n.classModalIsOpenBody),a=t||(null===(i=this.config)||void 0===i?void 0:i.root),s=document.querySelector(a),o=document.documentElement.scrollTop||document.body.scrollTop;document.body.setAttribute("data-lock-scrolltop",o.toString()),document.body.style.height="100%",document.body.style.width="100%",document.body.style.overflow="hidden",document.body.style.position="fixed",s&&(s.style.height="100%",s.style.width="100%",s.style.overflow="hidden",s.style.position="fixed",s.scrollTop=o),document.body.classList.add(r),window.requestAnimationFrame(function(){window.scrollTo(0,o)})}},{key:"unlockBody",value:function(e,t){var n,i,r=e||(null===(n=this.config)||void 0===n?void 0:n.classModalIsOpenBody),a=t||(null===(i=this.config)||void 0===i?void 0:i.root),s=document.querySelector(a),o=document.body.getAttribute("data-lock-scrolltop")||"0";document.body.style.height="",document.body.style.width="",document.body.style.overflow="",document.body.style.position="",document.body.classList.remove(r),s&&(s.style.height="",s.style.width="",s.style.overflow="",s.style.position=""),window.requestAnimationFrame(function(){window.scrollTo({left:0,top:parseInt(o,10),behavior:"instant"})})}}])}(),Bo=function(e){return ie.jsx(Mt,_({iconName:"delete",type:"ghost",isSquare:!0,size:"small",className:"modal__close","data-a11y-dialog-hide":!0,"aria-label":"Zatvoriť"},e))};Bo.displayName="ModalCloseButton";var Ho=["size","className","children"],Vo=function(e){var t=e.size,n=e.className,i=e.children,r=x(e,Ho);return ie.jsx("h2",_(_({className:P(n,{"display-3":"large"===t,h2:"small"===t})},r),{},{children:i}))};Vo.displayName="ModalTitle";var Uo=["color","className","children","withTopPadding","disableSpacing"],qo="modal__body",$o=function(e){var t=e.color,n=e.className,i=e.children,r=e.withTopPadding,a=e.disableSpacing,s=x(e,Uo);return ie.jsx("div",_(_({className:P(qo,n,y(y(y(y({},"bg-".concat(t),t),"".concat(qo,"--colorful"),t),"".concat(qo,"--with-top-padding"),r),"".concat(qo,"--no-spacing"),a))},s),{},{children:i}))};$o.displayName="ModalBody";var Wo=["actions","className","children","hasStickyFooter","id","noInit","isActive","size","title","renderHeader","renderBody","renderTitle","renderFooter","fullHeight","colorScheme","disableHeaderSpacing","disableBodySpacing","disableFooterSpacing"],Go="modal",Yo={actions:[ie.jsx(wt,{"data-a11y-dialog-hide":!0,children:"Zatvoriť"},"1")],noInit:!1},Xo=function(e){var t=e.actions,n=void 0===t?Yo.actions:t,r=e.className,a=e.children,s=e.hasStickyFooter,o=e.id,l=e.noInit,c=void 0===l?Yo.noInit:l,d=e.isActive,u=e.size,p=e.title,h=e.renderHeader,f=e.renderBody,m=e.renderTitle,v=e.renderFooter,g=e.fullHeight,b=e.colorScheme,w=e.disableHeaderSpacing,S=e.disableBodySpacing,E=e.disableFooterSpacing,N=x(e,Wo),C=k(W(Fo),2),T=C[0],A=C[1];i(function(){d&&A&&A.current&&A.current.show()},[A,d]);var O=P("".concat(Go,"__dialog"),y(y(y(y({},"".concat(Go,"__dialog--").concat(u),u),"".concat(Go,"__dialog--full-height"),g),"is-dark","dark"===b),"is-light","light"===b),r),j="".concat(o,"-title"),L=m?m(o):ie.jsx(Vo,{id:j,size:u,"data-a11y-dialog-initial-focus":!0,children:p});return ie.jsxs("div",{id:o,"data-modal":!c,className:Go,ref:T,role:"dialog","aria-hidden":"true","aria-modal":"true","aria-labelledby":j,children:[ie.jsx("div",{className:"modal__overlay",tabIndex:-1,"data-a11y-dialog-hide":!0}),ie.jsxs("div",_(_({className:O,role:"document"},N),{},{children:[ie.jsx("div",{className:P("".concat(Go,"__header"),y({},"".concat(Go,"__header--no-spacing"),w)),children:h?h(o):ie.jsxs(ie.Fragment,{children:[ie.jsx(Bo,{}),L]})}),f?f():ie.jsx($o,{disableSpacing:S,withTopPadding:!S&&!!h,children:a}),ie.jsx("div",{className:P("".concat(Go,"__footer"),y(y({},"".concat(Go,"__footer--sticky"),s),"".concat(Go,"__footer--no-spacing"),E)),children:v?v():ie.jsx(xe,{condition:n.length>1,wrapper:ie.jsx(_e,{}),children:n.map(function(e){return e})})})]}))]})};Xo.displayName="Modal";var Ko=["className","children","image","space"],Jo="modal__product",Zo=e.forwardRef(function(e,t){var n=e.className,i=e.children,r=e.image,a=e.space,s=x(e,Ko),o=P("".concat(Jo,"-header"),y({},"".concat(Jo,"-header--space-small"),"small"===a),n),l="".concat(Jo,"-content");return ie.jsxs("div",_(_({className:o,ref:t},s),{},{children:[ie.jsx("div",{className:l,children:i}),r]}))});Zo.displayName="ModalProductHeader";var Qo=["className","children","button","image","space"],el="modal__product",tl=e.forwardRef(function(e,t){var n=e.className,i=e.children,r=e.button;e.image,e.space;var a=x(e,Qo),s=P("".concat(el,"-footer"),n),o="".concat(el,"-footer-content"),l="".concat(el,"-footer-button");return ie.jsxs("div",_(_({className:s,ref:t},a),{},{children:[ie.jsx("div",{className:o,children:i}),ie.jsx("div",{className:l,children:r})]}))});tl.displayName="ModalProductFooter";var nl=["className","subtitleSection","listSection","benefitsSection","extraPaymentsSection"],il="modal__product-body",rl=e.forwardRef(function(e,t){var n=e.className,i=e.subtitleSection,r=e.listSection,a=e.benefitsSection,s=e.extraPaymentsSection,o=x(e,nl),l=P(il,n),c="".concat(il,"-subtitle-section"),d="".concat(il,"-list-section"),u="".concat(il,"-accordion-section");return ie.jsxs("div",_(_({className:l,ref:t},o),{},{children:[i&&ie.jsx("div",{className:c,children:i}),r&&ie.jsx("div",{className:d,children:r}),a&&ie.jsx("div",{className:u,children:a}),s&&ie.jsx("div",{className:d,children:s})]}))});rl.displayName="ModalProductBody";var al=["className","color","spacing","tag","children"],sl="section",ol=function(e){var t=e.className,n=e.color,i=void 0===n?"white":n,r=e.spacing,a=e.tag,s=void 0===a?"div":a,o=e.children,l=x(e,al),c=P(sl,y(y({},"".concat(sl,"--").concat(r),r),"bg-".concat(i),"white"!==i),t);return ie.jsx(s,_(_({className:c},l),{},{children:ie.jsx(Ae,{children:o})}))};ol.displayName="Section";var ll=["color","size","children","className"],cl="sticker",dl=function(e){var t=e.color,n=e.size,i=e.children,r=e.className,a=x(e,ll),s=P(cl,y(y({},"".concat(cl,"--").concat(t),t),"".concat(cl,"--").concat(n),n),r);return ie.jsx("div",_(_({className:s},a),{},{children:i}))};dl.displayName="Sticker";var ul=["href","className"],pl=function(e){var t=e.href,n=void 0===t?"#maincontent":t,i=e.className,r=x(e,ul),a=P("skip-link",i);return ie.jsx("a",_(_({href:n,className:a},r),{},{children:"Preskočiť na hlavný obsah"}))};pl.displayName="SkipLink";var hl=["color","isEnclosed","size","className","children"],fl="list",ml=function(e){var t=e.color,n=e.isEnclosed,i=e.size,r=e.className,a=e.children,s=x(e,hl),o=P(fl,y(y(y({},"".concat(fl,"--").concat(i),i),"".concat(fl,"--").concat(t),t),"".concat(fl,"--enclosed"),n),r);return ie.jsx("ul",_(_({className:o},s),{},{children:a}))},vl=["href","className","children"],gl=function(e){var t=e.href,n=e.className,i=e.children,r=x(e,vl),a=t?"a":"button",s="button"===a?"button":void 0,o=P("list__control",n);return ie.jsxs(a,_(_({className:o,type:s,href:t},r),{},{children:[i,ie.jsx(de,{name:"chevron-right",size:"medium",className:"list__indicator"})]}))};gl.displayName="ListItemClickableControl";var yl=["controlProps","className","children"],bl=function(e){var t=e.controlProps,n=e.className,i=e.children,r=x(e,yl),a=P("list__item",n);return ie.jsx("li",_(_({className:a},r),{},{children:ie.jsx(xe,{condition:void 0!==t,wrapper:ie.jsx(gl,_({},t)),children:i})}))};bl.displayName="ListItem";var _l=["color","label","value","width","className","colorMode"],xl="orange",wl="progress",Sl=function(e){var t=e.color,n=void 0===t?xl:t,i=e.label,r=e.value,a=e.width,s=e.className,o=e.colorMode,l=x(e,_l);return ie.jsxs("div",_(_({className:P(wl,{"is-dark":"dark"===o,"is-light":"light"===o},s)},l),{},{children:[ie.jsx("div",{className:"".concat(wl,"__label"),children:i}),ie.jsx("div",{className:"".concat(wl,"__bar"),children:ie.jsx("div",{className:P("".concat(wl,"__indicator"),y({},"".concat(wl,"__indicator--").concat(n),n!==xl)),style:{width:"".concat(a?100*a:0,"%")}})}),ie.jsx("div",{className:"".concat(wl,"__value"),children:r})]}))};Sl.displayName="Progress";var kl=["ariaLabel","className","hasIcon","href","isActive","isFirst","isLast","label"],El="pagination__link",Nl=function(e){var t=e.ariaLabel,n=e.className,i=e.hasIcon,r=e.href,a=e.isActive,s=e.isFirst,o=e.isLast,l=e.label,c=x(e,kl),d=P("pagination__item",n),u=P(El,"btn btn--square",y({},"".concat(El,"--active"),a));return ie.jsx("li",_(_({className:d},c),{},{children:ie.jsxs("a",{href:r,className:u,"aria-current":a?"page":void 0,"aria-label":t,children:[i&&s&&ie.jsx(de,{name:"chevron-start"}),!i&&l,i&&o&&ie.jsx(de,{name:"chevron-end"})]})}))};Nl.displayName="PaginationItem";var Cl=["className"],Tl=function(e){var t=e.className,n=x(e,Cl),i=P("pagination__separator",t);return ie.jsx("li",_(_({className:i},n),{},{children:"…"}))};Tl.displayName="PaginationSeparator";var Al=["className","label","isCompact","colorScheme","items"],Ol=function(t){var n=t.className,i=t.label,r=t.isCompact,a=t.colorScheme,s=t.items,o=x(t,Al),l=P("pagination",{"is-dark":"dark"===a,"is-light":"light"===a},n),c=u(function(){return s.findIndex(function(e){return e.isActive})},[s]);return ie.jsx("nav",{"aria-label":i,children:ie.jsx("ul",_(_({className:l},o),{},{children:s.map(function(t,n){var i=function(e){var t=e.activeIndex,n=e.items,i=e.isCompact,r=e.index,a=0===r,s=1===r,o=r===t,l=r===n.length-2,c=r===n.length-1,d=t===r-1||t===r+1,u=r<t+Math.floor(2.5)&&r>t||r>t-Math.floor(2.5)&&r<t,p=r<4&&t<3,h=r>n.length-5&&t>n.length-4,f=!(u||p||h||a||o||c),m=s&&f||l&&f;return{isFirst:a,isHidden:f,isLast:c,isSecond:s,isSecondFromEnd:l,hasIcon:i&&!o&&(a||c)&&!d&&!(n.length<=5),showSeparator:m}}({activeIndex:c,items:s,isCompact:r||!1,index:n}),a=i.isFirst,o=i.isHidden,l=i.isLast,d=i.isSecond,u=i.isSecondFromEnd,p=i.hasIcon,h=i.showSeparator;return ie.jsxs(e.Fragment,{children:[!r&&h&&d&&ie.jsx(Tl,{}),ie.jsx(Nl,_(_({},t),{},{ariaLabel:t.ariaLabel||t.label,isActive:t.isActive||!1,isFirst:a,isLast:l,className:P({hide:o}),hasIcon:p})),!r&&h&&u&&ie.jsx(Tl,{})]},n.toString())})}))})};Ol.displayName="Pagination";var jl="promo-banner",Ll=function(e){var t=e.image,n=e.colorScheme,i=e.className,r=e.alignImage,a=e.children,s=P(jl,{"is-light":"light"===n,"is-dark":"dark"===n},i);return ie.jsx("div",{className:P(s),children:ie.jsxs(vt,{children:[ie.jsx(bt,{size:{xs:12,md:t?6:7},className:"".concat(jl,"__item"),children:a}),t&&ie.jsx(bt,{size:{xs:12,md:6},className:P("".concat(jl,"__image"),"bottom"===r&&"align-self-bottom"),children:ie.jsx(Et,{src:t,alt:"",className:"mb-none"})})]})})},Dl="promotion-card",Pl="".concat(Dl,"__section"),Ml="".concat(Dl,"__content"),Il="".concat(Dl,"__image-wrapper"),Rl="".concat(Dl,"__title"),zl=["colorScheme","className","children"],Fl=function(e){var t=e.colorScheme,n=void 0===t?"light":t,i=e.className,r=e.children,a=x(e,zl),s=P(Dl,i),o="dark"===n?"black":"white";return ie.jsx(Gs,_(_({className:s,color:o},a),{},{children:r}))};Fl.displayName="PromotionCard";var Bl=["className","children"],Hl=function(e){var t=e.className,n=e.children,i=x(e,Bl),r=P(Ml,t);return ie.jsx("div",_(_({className:r},i),{},{children:n}))};Hl.displayName="PromotionCardContent";var Vl=["className","children"],Ul=function(e){var t=e.className,n=e.children,i=x(e,Vl),r=P(Il,t);return ie.jsx("div",_(_({className:r},i),{},{children:n}))};Ul.displayName="PromotionCardImageWrapper";var ql=["className","children"],$l=function(e){var t=e.className,n=e.children,i=x(e,ql),r=P(Pl,t);return ie.jsx(Ks,_(_({className:r},i),{},{children:n}))};$l.displayName="PromotionCardSection";var Wl=["className","children"],Gl=function(t){var n=t.className,i=t.children,r=x(t,Wl),a=P(Rl,n);return e.cloneElement(i,_({className:a},r))};Gl.displayName="PromotionCardTitle";var Yl={autoselect:!0,wrapperClassName:"",menuClassName:"",optionClassName:"",customInputClassName:"",displayMenu:"overlay",tAssistiveHint:function(){return"Pre prezeranie výsledkov automatického dopĺňania použite šípky nahor a nadol a pre výber konkrétneho výsledku použite tlačidlo Enter. Pri dotykových zariadeniach použite dotyk alebo potiahnutie prstom do strany."}},Xl=function(){return g(function e(t,n){return m(this,e),this.element=t,this.config=_(_({},Yl),n),this.onPageshow=this.onPageshow.bind(this),this.instance=null,this.element.ODS_Autocomplete=this,this.init().catch(console.error),this},[{key:"init",value:(e=function(e){return function(){var t=this,n=arguments;return new Promise(function(i,r){var a=e.apply(t,n);function s(e){f(a,i,r,s,o,"next",e)}function o(e){f(a,i,r,s,o,"throw",e)}s(void 0)})}}(w().m(function e(){var t,n,i;return w().w(function(e){for(;;)switch(e.n){case 0:if(t=this.element.getAttribute("data-autocomplete-config"),n={},t)try{n=JSON.parse(t)}catch(e){}return this.config=_(_({},this.config),n),e.n=1,Promise.resolve().then(function(){return vm});case 1:i=e.v.default,"SELECT"===this.element.tagName?i.enhanceSelectElement(_({selectElement:this.element},this.config)):i(_({element:this.element},this.config)),window.addEventListener("pageshow",this.onPageshow);case 2:return e.a(2)}},e,this)})),function(){return e.apply(this,arguments)})},{key:"onPageshow",value:function(e){e.persisted&&window&&window.location.reload()}},{key:"destroy",value:function(){window.removeEventListener("pageshow",this.onPageshow),this.element.ODS_Autocomplete=null}},{key:"update",value:function(){this.destroy(),this.init().catch(console.error)}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Autocomplete?e.ODS_Autocomplete:null}}]);var e}(),Kl=["id","isDisabled","isInvalid","name","options","size","className","children","elemRef","width"],Jl=["value","text"],Zl="select",Ql={size:"default",width:"default",options:[]},ec=function(e){var t=e.id,n=e.isDisabled,i=e.isInvalid,r=e.name,a=e.options,s=void 0===a?Ql.options:a,o=e.size,l=void 0===o?Ql.size:o,c=e.className,d=e.children,u=e.elemRef,p=e.width,h=void 0===p?Ql.width:p,f=x(e,Kl),m=P(Zl,c,y(y({"is-invalid":i},"".concat(Zl,"--").concat(l),l!==Ql.size),"".concat(Zl,"--").concat(h),h!==Ql.width)),v=t||$(),g=r||v;return ie.jsxs("select",_(_({id:v,name:g,className:m,disabled:n,ref:u},f),{},{children:[s.map(function(e){var t="string"==typeof e?{value:e,text:e}:e,n=t.value,i=t.text,r=x(t,Jl);return ie.jsx("option",_(_({value:n},r),{},{children:i}),i)}),d]}))};ec.displayName="Select";var tc=["className","options","autocompleteConfig","placeholder"],nc=function(e){var t=e.className,n=e.options,i=void 0===n?[]:n,r=e.autocompleteConfig,a=e.placeholder,s=x(e,tc),o=k(W(Xl,r),1)[0];return ie.jsx(ec,_(_(_({className:P("autocomplete",t),"data-placeholder":a},i.length?{"data-autocomplete":!0}:{}),s),{},{elemRef:o,children:i&&i.map(function(e){return ie.jsx("option",{label:"string"==typeof e&&0===e.length?" ":void 0,value:"string"==typeof e?e:e.value,children:"string"==typeof e?e:e.title},"string"==typeof e?e:e.value)})}))};nc.displayName="Autocomplete";var ic,rc,ac,sc,oc,lc,cc,dc=Object.freeze({__proto__:null,Autocomplete:nc}),uc=["id","isChecked","isDisabled","isInvalid","isToggle","name","size","className"],pc="checkbox",hc="default",fc=function(e){var t=e.id,n=e.isChecked,i=e.isDisabled,r=e.isInvalid,a=e.isToggle,s=e.name,o=e.size,l=void 0===o?hc:o,c=e.className,d=x(e,uc),u=P(pc,c,y(y({},"".concat(pc,"--").concat(l),l!==hc),"is-invalid",r)),p=s||t,h=function(){return ie.jsxs(ie.Fragment,{children:[ie.jsx("input",_({className:u,type:"checkbox",id:t,name:p,defaultChecked:n,disabled:i},d)),ie.jsx("div",{className:"".concat(pc,"-display")})]})};return a?ie.jsx("div",{className:a?"checkbox--toggle":"",children:ie.jsx(h,{})}):ie.jsx(h,{})};fc.displayName="Checkbox";var mc,vc,gc,yc={},bc=[],_c=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function xc(e,t){for(var n in t)e[n]=t[n];return e}function wc(e){var t=e.parentNode;t&&t.removeChild(e)}function Sc(e,t,n){var i,r,a,s={};for(a in t)"key"==a?i=t[a]:"ref"==a?r=t[a]:s[a]=t[a];if(arguments.length>2&&(s.children=arguments.length>3?ic.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===s[a]&&(s[a]=e.defaultProps[a]);return kc(e,s,i,r,null)}function kc(e,t,n,i,r){var a={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==r?++ac:r};return null==r&&null!=rc.vnode&&rc.vnode(a),a}function Ec(e){return e.children}function Nc(e,t){this.props=e,this.context=t}function Cc(e,t){if(null==t)return e.__?Cc(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?Cc(e):null}function Tc(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return Tc(e)}}function Ac(e){(!e.__d&&(e.__d=!0)&&sc.push(e)&&!Oc.__r++||lc!==rc.debounceRendering)&&((lc=rc.debounceRendering)||oc)(Oc)}function Oc(){for(var e;Oc.__r=sc.length;)e=sc.sort(function(e,t){return e.__v.__b-t.__v.__b}),sc=[],e.some(function(e){var t,n,i,r,a,s;e.__d&&(a=(r=(t=e).__v).__e,(s=t.__P)&&(n=[],(i=xc({},r)).__v=r.__v+1,Fc(s,r,i,t.__n,void 0!==s.ownerSVGElement,null!=r.__h?[a]:null,n,null==a?Cc(r):a,r.__h),Bc(n,r),r.__e!=a&&Tc(r)))})}function jc(e,t,n,i,r,a,s,o,l,c){var d,u,p,h,f,m,v,g=i&&i.__k||bc,y=g.length;for(n.__k=[],d=0;d<t.length;d++)if(null!=(h=n.__k[d]=null==(h=t[d])||"boolean"==typeof h?null:"string"==typeof h||"number"==typeof h||"bigint"==typeof h?kc(null,h,null,null,h):Array.isArray(h)?kc(Ec,{children:h},null,null,null):h.__b>0?kc(h.type,h.props,h.key,null,h.__v):h)){if(h.__=n,h.__b=n.__b+1,null===(p=g[d])||p&&h.key==p.key&&h.type===p.type)g[d]=void 0;else for(u=0;u<y;u++){if((p=g[u])&&h.key==p.key&&h.type===p.type){g[u]=void 0;break}p=null}Fc(e,h,p=p||yc,r,a,s,o,l,c),f=h.__e,(u=h.ref)&&p.ref!=u&&(v||(v=[]),p.ref&&v.push(p.ref,null,h),v.push(u,h.__c||f,h)),null!=f?(null==m&&(m=f),"function"==typeof h.type&&h.__k===p.__k?h.__d=l=Lc(h,l,e):l=Pc(e,h,p,g,f,l),"function"==typeof n.type&&(n.__d=l)):l&&p.__e==l&&l.parentNode!=e&&(l=Cc(p))}for(n.__e=m,d=y;d--;)null!=g[d]&&("function"==typeof n.type&&null!=g[d].__e&&g[d].__e==n.__d&&(n.__d=Cc(i,d+1)),Vc(g[d],g[d]));if(v)for(d=0;d<v.length;d++)Hc(v[d],v[++d],v[++d])}function Lc(e,t,n){for(var i,r=e.__k,a=0;r&&a<r.length;a++)(i=r[a])&&(i.__=e,t="function"==typeof i.type?Lc(i,t,n):Pc(n,i,i,r,i.__e,t));return t}function Dc(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some(function(e){Dc(e,t)}):t.push(e)),t}function Pc(e,t,n,i,r,a){var s,o,l;if(void 0!==t.__d)s=t.__d,t.__d=void 0;else if(null==n||r!=a||null==r.parentNode)e:if(null==a||a.parentNode!==e)e.appendChild(r),s=null;else{for(o=a,l=0;(o=o.nextSibling)&&l<i.length;l+=2)if(o==r)break e;e.insertBefore(r,a),s=a}return void 0!==s?s:r.nextSibling}function Mc(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||_c.test(t)?n:n+"px"}function Ic(e,t,n,i,r){var a;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof i&&(e.style.cssText=i=""),i)for(t in i)n&&t in n||Mc(e.style,t,"");if(n)for(t in n)i&&n[t]===i[t]||Mc(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])a=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+a]=n,n?i||e.addEventListener(t,a?zc:Rc,a):e.removeEventListener(t,a?zc:Rc,a);else if("dangerouslySetInnerHTML"!==t){if(r)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function Rc(e){this.l[e.type+!1](rc.event?rc.event(e):e)}function zc(e){this.l[e.type+!0](rc.event?rc.event(e):e)}function Fc(e,t,n,i,r,a,s,o,l){var c,d,u,p,h,f,m,v,g,y,b,_=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(l=n.__h,o=t.__e=n.__e,t.__h=null,a=[o]),(c=rc.__b)&&c(t);try{e:if("function"==typeof _){if(v=t.props,g=(c=_.contextType)&&i[c.__c],y=c?g?g.props.value:c.__:i,n.__c?m=(d=t.__c=n.__c).__=d.__E:("prototype"in _&&_.prototype.render?t.__c=d=new _(v,y):(t.__c=d=new Nc(v,y),d.constructor=_,d.render=Uc),g&&g.sub(d),d.props=v,d.state||(d.state={}),d.context=y,d.__n=i,u=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=_.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=xc({},d.__s)),xc(d.__s,_.getDerivedStateFromProps(v,d.__s))),p=d.props,h=d.state,u)null==_.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==_.getDerivedStateFromProps&&v!==p&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(v,y),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(v,d.__s,y)||t.__v===n.__v){d.props=v,d.state=d.__s,t.__v!==n.__v&&(d.__d=!1),d.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(e){e&&(e.__=t)}),d.__h.length&&s.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(v,d.__s,y),null!=d.componentDidUpdate&&d.__h.push(function(){d.componentDidUpdate(p,h,f)})}d.context=y,d.props=v,d.state=d.__s,(c=rc.__r)&&c(t),d.__d=!1,d.__v=t,d.__P=e,c=d.render(d.props,d.state,d.context),d.state=d.__s,null!=d.getChildContext&&(i=xc(xc({},i),d.getChildContext())),u||null==d.getSnapshotBeforeUpdate||(f=d.getSnapshotBeforeUpdate(p,h)),b=null!=c&&c.type===Ec&&null==c.key?c.props.children:c,jc(e,Array.isArray(b)?b:[b],t,n,i,r,a,s,o,l),d.base=t.__e,t.__h=null,d.__h.length&&s.push(d),m&&(d.__E=d.__=null),d.__e=!1}else null==a&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,i,r,a,s,o){var l,c,d,u=n.props,p=t.props,h=t.type,f=0;if("svg"===h&&(r=!0),null!=a)for(;f<a.length;f++)if((l=a[f])&&"setAttribute"in l==!!h&&(h?l.localName===h:3===l.nodeType)){e=l,a[f]=null;break}if(null==e){if(null===h)return document.createTextNode(p);e=r?document.createElementNS("http://www.w3.org/2000/svg",h):document.createElement(h,p.is&&p),a=null,o=!1}if(null===h)u===p||o&&e.data===p||(e.data=p);else{if(a=a&&ic.call(e.childNodes),c=(u=n.props||yc).dangerouslySetInnerHTML,d=p.dangerouslySetInnerHTML,!o){if(null!=a)for(u={},f=0;f<e.attributes.length;f++)u[e.attributes[f].name]=e.attributes[f].value;(d||c)&&(d&&(c&&d.__html==c.__html||d.__html===e.innerHTML)||(e.innerHTML=d&&d.__html||""))}if(function(e,t,n,i,r){var a;for(a in n)"children"===a||"key"===a||a in t||Ic(e,a,null,n[a],i);for(a in t)r&&"function"!=typeof t[a]||"children"===a||"key"===a||"value"===a||"checked"===a||n[a]===t[a]||Ic(e,a,t[a],n[a],i)}(e,p,u,r,o),d)t.__k=[];else if(f=t.props.children,jc(e,Array.isArray(f)?f:[f],t,n,i,r&&"foreignObject"!==h,a,s,a?a[0]:n.__k&&Cc(n,0),o),null!=a)for(f=a.length;f--;)null!=a[f]&&wc(a[f]);o||("value"in p&&void 0!==(f=p.value)&&(f!==e.value||"progress"===h&&!f||"option"===h&&f!==u.value)&&Ic(e,"value",f,u.value,!1),"checked"in p&&void 0!==(f=p.checked)&&f!==e.checked&&Ic(e,"checked",f,u.checked,!1))}return e}(n.__e,t,n,i,r,a,s,l);(c=rc.diffed)&&c(t)}catch(e){t.__v=null,(l||null!=a)&&(t.__e=o,t.__h=!!l,a[a.indexOf(o)]=null),rc.__e(e,t,n)}}function Bc(e,t){rc.__c&&rc.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){rc.__e(e,t.__v)}})}function Hc(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){rc.__e(e,n)}}function Vc(e,t,n){var i,r;if(rc.unmount&&rc.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||Hc(i,null,t)),null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){rc.__e(e,t)}i.base=i.__P=null}if(i=e.__k)for(r=0;r<i.length;r++)i[r]&&Vc(i[r],t,"function"!=typeof e.type);n||null==e.__e||wc(e.__e),e.__e=e.__d=void 0}function Uc(e,t,n){return this.constructor(e,n)}function qc(e,t,n){var i,r;rc.__&&rc.__(e,t),i=!1?null:t.__k,r=[],Fc(t,e=t.__k=Sc(Ec,null,[e]),i||yc,yc,void 0!==t.ownerSVGElement,i?null:t.firstChild?ic.call(t.childNodes):null,r,i?i.__e:t.firstChild,false),Bc(r,e)}ic=bc.slice,rc={__e:function(e,t){for(var n,i,r;t=t.__;)if((n=t.__c)&&!n.__)try{if((i=n.constructor)&&null!=i.getDerivedStateFromError&&(n.setState(i.getDerivedStateFromError(e)),r=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),r=n.__d),r)return n.__E=n}catch(t){e=t}throw e}},ac=0,Nc.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=xc({},this.state),"function"==typeof e&&(e=e(xc({},n),this.props)),e&&xc(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),Ac(this))},Nc.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Ac(this))},Nc.prototype.render=Ec,sc=[],oc="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,Oc.__r=0,cc=0;var $c=0,Wc=[],Gc=rc.__b,Yc=rc.__r,Xc=rc.diffed,Kc=rc.__c,Jc=rc.unmount;function Zc(e,t){rc.__h&&rc.__h(vc,e,$c||t),$c=0;var n=vc.__H||(vc.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Qc(e){return $c=1,function(e,t){var n=Zc(mc++,2);return n.t=e,n.__c||(n.__=[ld(void 0,t),function(e){var t=n.t(n.__[0],e);n.__[0]!==t&&(n.__=[t,n.__[1]],n.__c.setState({}))}],n.__c=vc),n.__}(ld,e)}function ed(e,t){var n=Zc(mc++,3);!rc.__s&&od(n.__H,t)&&(n.__=e,n.__H=t,vc.__H.__h.push(n))}function td(e){return $c=5,function(e,t){var n=Zc(mc++,7);return od(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}(function(){return{current:e}},[])}function nd(e){var t=vc.context[e.__c],n=Zc(mc++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(vc)),t.props.value):e.__}function id(){for(var e;e=Wc.shift();)if(e.__P)try{e.__H.__h.forEach(ad),e.__H.__h.forEach(sd),e.__H.__h=[]}catch(t){e.__H.__h=[],rc.__e(t,e.__v)}}rc.__b=function(e){vc=null,Gc&&Gc(e)},rc.__r=function(e){Yc&&Yc(e),mc=0;var t=(vc=e.__c).__H;t&&(t.__h.forEach(ad),t.__h.forEach(sd),t.__h=[])},rc.diffed=function(e){Xc&&Xc(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==Wc.push(t)&&gc===rc.requestAnimationFrame||((gc=rc.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(i),rd&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(n,100);rd&&(t=requestAnimationFrame(n))})(id)),vc=null},rc.__c=function(e,t){t.some(function(e){try{e.__h.forEach(ad),e.__h=e.__h.filter(function(e){return!e.__||sd(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],rc.__e(n,e.__v)}}),Kc&&Kc(e,t)},rc.unmount=function(e){Jc&&Jc(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{ad(e)}catch(e){t=e}}),t&&rc.__e(t,n.__v))};var rd="function"==typeof requestAnimationFrame;function ad(e){var t=vc,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),vc=t}function sd(e){var t=vc;e.__c=e.__(),vc=t}function od(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function ld(e,t){return"function"==typeof t?t(e):t}function cd(e,t){for(var n in t)e[n]=t[n];return e}function dd(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var i in t)if("__source"!==i&&e[i]!==t[i])return!0;return!1}function ud(e){this.props=e}(ud.prototype=new Nc).isPureReactComponent=!0,ud.prototype.shouldComponentUpdate=function(e,t){return dd(this.props,e)||dd(this.state,t)};var pd=rc.__b;rc.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),pd&&pd(e)};var hd="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function fd(e){function t(t,n){var i=cd({},t);return delete i.ref,e(i,(n=t.ref||n)&&("object"!=typeof n||"current"in n)?n:null)}return t.$$typeof=hd,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var md=rc.__e;rc.__e=function(e,t,n){if(e.then)for(var i,r=t;r=r.__;)if((i=r.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);md(e,t,n)};var vd=rc.unmount;function gd(){this.__u=0,this.t=null,this.__b=null}function yd(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function bd(){this.u=null,this.o=null}rc.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),vd&&vd(e)},(gd.prototype=new Nc).__c=function(e,t){var n=t.__c,i=this;null==i.t&&(i.t=[]),i.t.push(n);var r=yd(i.__v),a=!1,s=function(){a||(a=!0,n.__R=null,r?r(o):o())};n.__R=s;var o=function(){if(! --i.__u){if(i.state.__e){var e=i.state.__e;i.__v.__k[0]=function e(t,n,i){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(t){return e(t,n,i)}),t.__c&&t.__c.__P===n&&(t.__e&&i.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=i)),t}(e,e.__c.__P,e.__c.__O)}var t;for(i.setState({__e:i.__b=null});t=i.t.pop();)t.forceUpdate()}},l=!0===t.__h;i.__u++||l||i.setState({__e:i.__b=i.__v.__k[0]}),e.then(s,s)},gd.prototype.componentWillUnmount=function(){this.t=[]},gd.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,i){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}),t.__c.__H=null),null!=(t=cd({},t)).__c&&(t.__c.__P===i&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map(function(t){return e(t,n,i)})),t}(this.__b,n,i.__O=i.__P)}this.__b=null}var r=t.__e&&Sc(Ec,null,e.fallback);return r&&(r.__h=null),[Sc(Ec,null,t.__e?null:e.children),r]};var _d=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};(bd.prototype=new Nc).__e=function(e){var t=this,n=yd(t.__v),i=t.o.get(e);return i[0]++,function(r){var a=function(){t.props.revealOrder?(i.push(r),_d(t,e,i)):r()};n?n(a):a()}},bd.prototype.render=function(e){this.u=null,this.o=new Map;var t=Dc(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},bd.prototype.componentDidUpdate=bd.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){_d(e,n,t)})};var xd="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,wd=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Sd="undefined"!=typeof document,kd=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};Nc.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Nc.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Ed=rc.event;function Nd(){}function Cd(){return this.cancelBubble}function Td(){return this.defaultPrevented}rc.event=function(e){return Ed&&(e=Ed(e)),e.persist=Nd,e.isPropagationStopped=Cd,e.isDefaultPrevented=Td,e.nativeEvent=e};var Ad={configurable:!0,get:function(){return this.class}},Od=rc.vnode;rc.vnode=function(e){var t=e.type,n=e.props,i=n;if("string"==typeof t){var r=-1===t.indexOf("-");for(var a in i={},n){var s=n[a];Sd&&"children"===a&&"noscript"===t||"value"===a&&"defaultValue"in n&&null==s||("defaultValue"===a&&"value"in n&&null==n.value?a="value":"download"===a&&!0===s?s="":/ondoubleclick/i.test(a)?a="ondblclick":/^onchange(textarea|input)/i.test(a+t)&&!kd(n.type)?a="oninput":/^onfocus$/i.test(a)?a="onfocusin":/^onblur$/i.test(a)?a="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(a)?a=a.toLowerCase():r&&wd.test(a)?a=a.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===s&&(s=void 0),i[a]=s)}"select"==t&&i.multiple&&Array.isArray(i.value)&&(i.value=Dc(n.children).forEach(function(e){e.props.selected=-1!=i.value.indexOf(e.props.value)})),"select"==t&&null!=i.defaultValue&&(i.value=Dc(n.children).forEach(function(e){e.props.selected=i.multiple?-1!=i.defaultValue.indexOf(e.props.value):i.defaultValue==e.props.value})),e.props=i,n.class!=n.className&&(Ad.enumerable="className"in n,null!=n.className&&(i.class=n.className),Object.defineProperty(i,"className",Ad))}e.$$typeof=xd,Od&&Od(e)};var jd=rc.__r;rc.__r=function(e){jd&&jd(e),e.__c};var Ld={wrapper:"daypickr",header:"daypickr__header",select:"daypickr__select",monthSelect:"daypickr__select--month",yearSelect:"daypickr__select--year",button:"daypickr__button",paginationButton:"daypickr__button--pagination",nextMonthButton:"daypickr__button--pagination-next",prevMonthButton:"daypickr__button--pagination-prev",yearMonthWrapper:"daypickr__year-month-wrapper",pagination:"daypickr__pagination",table:"daypickr__calendar",tableRow:"daypickr__calendar-row",tableCell:"daypickr__calendar-cell",tableHeaderRow:"daypickr__calendar-header-row",tableHeaderCell:"daypickr__calendar-header-cell",dayButton:"daypickr__day",isToday:"isToday",isSelected:"isSelected",srOnly:"sr-only",closeButton:"daypickr__button--close",toggleButton:"daypickr__button--toggle"};function Dd(...e){return e.join(" ").trim()}var Pd={prevMonth:"previous month",nextMonth:"next month",month:"Month",year:"Year",weekdays:[{name:"Sunday",shortname:"Su"},{name:"Monday",shortname:"Mo"},{name:"Tuesday",shortname:"Tu"},{name:"Wednesday",shortname:"We"},{name:"Thursday",shortname:"Th"},{name:"Friday",shortname:"Fr"},{name:"Saturday",shortname:"Sa"}],months:["January","February","March","April","May","June","July","August","September","October","November","December"],openButton:"Choose date",closeButton:"Close"};function Md(e){return e instanceof Date&&!isNaN(e.valueOf())}function Id(e,t=1){const n=new Date(e),i=e.getDay(),r=(i<t?7:0)+i-t;return new Date(n.setDate(n.getDate()-r))}function Rd(e,t=1){const n=new Date(e),i=n.getDay(),r=6+(i<t?-7:0)-(i-t);return new Date(n.setDate(n.getDate()+r))}function zd(e,t){const n=new Date(e);n.setDate(1);const i=new Date(e);i.setMonth(e.getMonth()+1,0);return function(e,t){const n=[];let i=e;for(;i.getTime()<t.getTime();)n.push(new Date(i)),i=new Date(i.setDate(i.getDate()+1));return n.push(new Date(i)),n}(Id(n,t),Rd(i,t))}function Fd(e,t){return!(!Md(e)||!Md(t))&&(e.setHours(0,0,0,0),t.setHours(0,0,0,0),e.getTime()===t.getTime())}function Bd(e,t){const n=new Date(e).setMonth(t),i=new Date(e.getFullYear(),t+1,0).getTime();return n>i?new Date(i):new Date(n)}var Hd,Vd,Ud,qd=(Ud={__c:Vd="__cC"+cc++,__:Hd,Consumer:function(e,t){return e.children(t)},Provider:function(e){var t,n;return this.getChildContext||(t=[],(n={})[Vd]=this,this.getChildContext=function(){return n},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&t.some(Ac)},this.sub=function(e){t.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){t.splice(t.indexOf(e),1),n&&n.call(e)}}),e.children}}).Provider.__=Ud.Consumer.contextType=Ud,$d=()=>{const{firstDayOfWeek:e,classes:t,l10n:n,selected:i,setSelected:r,setView:a,handleKeyboardNavigation:s,focusedRef:o,view:l,disabledDayFn:c,locale:d}=nd(qd),u=function(e,t){const n=e?.length?[...e]:[],i=n.splice(0,t);return[...n,...i]}(n.weekdays,e),p=function(e){const t=[];for(let n=0;n<e.length;n+=7)t.push(e.slice(n,n+7));return t}(zd(l,e));return Sc("table",{className:t.table},Sc("thead",null,Sc("tr",{className:t.tableHeaderRow},u.map(e=>Sc("th",{scope:"col",className:t.tableHeaderCell},Sc("span",{className:t.srOnly},e.name),Sc("span",{"aria-hidden":"true"},e.shortname))))),Sc("tbody",null,p.map(e=>Sc("tr",{className:t.tableRow},e.map(e=>{const n=i&&Fd(e,i),u=Fd(e,l),p=!function(e,t){return e.getMonth()===t.getMonth()}(e,l)||c(e),h=(f=e,Fd(new Date,f)?t.isToday:void 0);var f;const m=n?t.isSelected:void 0,v=[t.dayButton,h,m],g=u?"0":"-1",y=e.toLocaleDateString(d),b=u?o:void 0;return Sc("td",{role:"gridcell",className:t.tableCell},Sc("button",{className:v.join(" "),type:"button",onClick:()=>{p||(r(e),a(e))},tabindex:g,onKeyUp:s,ref:b,"aria-disabled":p,"aria-label":y,"aria-selected":n},Sc("span",{className:t.srOnly},y),Sc("span",{"aria-hidden":"true"},e.getDate())))})))))},Wd=fd(({label:e,value:t,options:n,onChange:i,className:r,elemRef:a,...s},o)=>{const{classes:l}=nd(qd);return Sc("label",null,Sc("span",{className:"sr-only"},e),Sc("select",{className:Dd(l.select,r),onChange:e=>i(e),ref:o,...s},n?.map(e=>Sc("option",{value:e?.value||0===e?.value?e.value:e,selected:t===e?.value||t===e?"selected":void 0},e?.text?e.text:e))))}),Gd=Wd;function Yd(e,t){const n=[];for(let i=e;i<=t;i++)n.push(i);return n}var Xd=fd((e,t)=>{const{l10n:n,min:i,max:r,view:a,setView:s,classes:o}=nd(qd),l=new Date(i).getFullYear(),c=new Date(r).getFullYear();return Sc(Gd,{label:n.year,options:Yd(l,c),value:a.getFullYear(),className:o.yearSelect,onChange:e=>{const t=new Date(a);t.setFullYear(parseInt(e.target.value,10)),s(t)},ref:t,...e})}),Kd=Xd,Jd=()=>{const{l10n:e,view:t,setView:n,classes:i}=nd(qd);return Sc(Gd,{label:e.month,value:t.getMonth(),className:i.monthSelect,options:e.months?.map((e,t)=>({value:t,text:e})),onChange:e=>{const i=new Date(t);i.setMonth(parseInt(e.target.value,10)),n(i)}})},Zd=({min:e="1900-01-01",max:t="2100-12-31",classes:n=Ld,l10n:i=Pd,selectedDay:r,firstDayOfWeek:a=1,locale:s={},disabledDayFn:o=()=>{},onSelect:l=()=>{},formatDate:c=e=>function(e){return e&&e instanceof Date?`${e.getFullYear()}-${(e.getMonth()+1).toString().padStart(2,"0")}-${e.getDate().toString().padStart(2,"0")}`:""}(e),parseDate:d=e=>{const t=e.match(/(\d{2})\/(\d{2})\/(\d{4})/);return!!t&&new Date(t[3],t[2]-1,t[1])},calendarIcon:u,name:p,id:h})=>{const[f,m]=Qc(r?new Date(r):new Date),[v,g]=Qc(r?new Date(r):void 0),[y,b]=Qc(!1),_=td(!0),x=td(),w=td(),S=td(),k=td(),E=td(),N=td();var C,T,A;ed(()=>{l(v),b(!1)},[v]),ed(()=>{const e=e=>{"Tab"===e.key&&y&&(e.shiftKey||document.activeElement!==N.current||(e.preventDefault(),k.current.focus()),!e.shiftKey||document.activeElement!==k.current&&document.activeElement!==E.current||(e.preventDefault(),N.current.focus()))},t=e=>{"Escape"===e.key&&y&&b(!1)};return document.addEventListener("keydown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keydown",t)}},[y,N.current,k.current]),ed(()=>{const e=e=>{!E.current.contains(e.target)&&y&&b(!1)};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[y,E.current]),C=()=>{y?E.current.focus():document.activeElement===x.current||_.current?_.current=!1:S.current.focus()},T=[y,k.current,S.current,x.current],A=Zc(mc++,4),!rc.__s&&od(A.__H,T)&&(A.__=C,A.__H=T,vc.__h.push(A));const O=e=>Bd(e,e.getMonth()-1),j=e=>Bd(e,e.getMonth()+1),L=()=>{b(!y)},D=({type:e,children:t,...n})=>Sc(e,n,t&&t.length&&t.map(e=>D(e)));return Sc(qd.Provider,{value:{firstDayOfWeek:a,classes:n,l10n:i,min:e,max:t,view:f,setView:m,selected:v,setSelected:g,handleKeyboardNavigation:e=>{let t=new Date(f);const n={ArrowLeft:()=>{t.setDate(f.getDate()-1)},ArrowRight:()=>{t.setDate(f.getDate()+1)},ArrowUp:()=>{t.setDate(f.getDate()-7)},ArrowDown:()=>{t.setDate(f.getDate()+7)},PageUp:()=>{e.shiftKey?t.setFullYear(f.getFullYear()-1):t=O(f)},PageDown:()=>{e.shiftKey?t.setFullYear(f.getFullYear()+1):t=j(f)},Home:()=>{t=Id(f,a)},End:()=>{t=Rd(f,a)}};Object.keys(n).includes(e.key)&&(e.preventDefault(),n[e.key]?.(),m(t),setTimeout(()=>{w.current.focus()},0))},focusedRef:w,disabledDayFn:o,locale:s}},Sc("input",{id:`${h}-input`,type:"text",className:n.input,value:v&&v.toLocaleDateString(s),onChange:e=>(e=>{""===e.target.value&&g(void 0);const t=d(e.target.value);if(t)return m(t),g(t)})(e),ref:x}),Sc("input",{type:"hidden",id:`${h}-value`,value:c(v),name:p}),Sc("button",{type:"button","aria-controls":`${h}-dialog`,onClick:()=>L(),"aria-expanded":y,ref:S,className:n.toggleButton},u&&D(u),u?Sc("span",{class:n.srOnly},i.openButton):i.openButton),Sc("div",{className:n.wrapper,role:"dialog","aria-modal":"true","aria-labelledby":"daypickr-label",hidden:!y,ref:E,tabIndex:"-1"},Sc("div",{className:"daypickr__content"},Sc("h2",{id:"daypickr-label",className:"sr-only"},f.toLocaleString(s,{month:"long",year:"numeric"})),Sc("div",{className:n.header},Sc("div",{className:n.yearMonthWrapper},Sc(Kd,{ref:k}),Sc(Jd,null)),Sc("div",{className:n.pagination},Sc("button",{type:"button",className:`${n.button} ${n.prevMonthButton}`,onClick:()=>{m(O(f))}},i.prevMonth),Sc("button",{type:"button",className:`${n.button} ${n.nextMonthButton}`,onClick:()=>{m(j(f))}},i.nextMonth))),Sc($d,null),Sc("button",{className:`${n.button} ${n.closeButton}`,type:"button",onClick:()=>L(),ref:N},i.closeButton))))},Qd=({calendarIcon:e,classes:t=classNames,l10n:n=l10nEN,...i})=>{const r=({type:e,children:t,...n})=>Sc(e,n,t&&t.length&&t.map(e=>r(e)));return Sc(qd.Provider,{value:{classes:t,l10n:n}},Sc("input",{type:"text",disabled:!0,className:t.input}),Sc("button",{type:"button",className:t.toggleButton,disabled:!0},e&&r(e),e?Sc("span",{class:t.srOnly},n.openButton):n.openButton))};var eu=function(e,t){return qc(Sc(Zd,{...t}),e),{destroy(){!function(e){!!e.__k&&qc(null,e)}(e),qc(Sc(Qd,{...t}),e)}}},tu={locale:"sk",classes:{wrapper:"daypickr",header:"daypickr__header",select:"daypickr__select",selectDisplay:"daypickr__select-display",monthSelect:"daypickr__select--month",yearSelect:"daypickr__select--year",button:"daypickr__button",paginationButton:"daypickr__button--pagination ",nextMonthButton:"daypickr__button--pagination-next btn btn--ghost btn--square btn--small",prevMonthButton:"daypickr__button--pagination-prev btn btn--ghost btn--square btn--small",yearMonthWrapper:"daypickr__year-month-wrapper",pagination:"daypickr__pagination",table:"daypickr__calendar",tableRow:"daypickr__calendar-row",tableCell:"daypickr__calendar-cell",tableHeaderRow:"daypickr__calendar-header-row",tableHeaderCell:"daypickr__calendar-header-cell",dayButton:"daypickr__day",isToday:"isToday",isSelected:"isSelected",srOnly:"sr-only",input:"form-group__item text-input",closeButton:"daypickr__button--close btn mb-none",toggleButton:"form-group__item btn btn--square"},firstDayOfWeek:1,l10n:{prevMonth:"predchádzajúci mesiac",nextMonth:"nasledujúci mesiac",month:"Mesiac",year:"Rok",weekdays:[{name:"Nedeľa",shortname:"Ne"},{name:"Pondelok",shortname:"Po"},{name:"Utorok",shortname:"Ut"},{name:"Streda",shortname:"St"},{name:"Štvrtok",shortname:"Št"},{name:"Piatok",shortname:"Pi"},{name:"Sobota",shortname:"So"}],months:["Január","Február","Marec","Apríl","Máj","Jún","Júl","August","September","Október","November","December"],openButton:"Vyberte dátum",closeButton:"Zatvoriť"},parseDate:function(e){var t=e.match(/(\d{1,2})\. ?(\d{1,2})\. ?(\d{4})/);return!!t&&new Date(Number(t[3]),Number(t[2])-1,Number(t[1]))},calendarIcon:{type:"svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1000 1000",className:"icon icon--medium",children:[{type:"path",d:"M800 175H700v-37.5a37.5 37.5 0 0 0-75 0V175H350v-37.5a37.5 37.5 0 0 0-75 0V175H100v625a75 75 0 0 0 75 75h700V250a75 75 0 0 0-75-75zM300 825H187.4a37.5 37.5 0 0 1-37.5-37.6V700H300v125zm0-150H150V550h150v125zm0-150H150V400h150v125zm-50-262.5a62.4 62.4 0 0 1 25-50v50a37.5 37.5 0 0 0 75 0v-50a62.5 62.5 0 1 1-100 50zm225 562.4H325V700h150v125zm0-149.9H325V550h150v125zm0-150H325V400h150v125zm175 300H500V700h150v125zm0-150H500V550h150v125zm0-150H500V400h150v125zm-50-262.5a62.4 62.4 0 0 1 25-50v50a37.5 37.5 0 0 0 75 0v-50a62.5 62.5 0 1 1-100 50zM825 675H675V550h150v125zm0-150H675V400h112.5a37.5 37.5 0 0 1 37.5 37.4V525z","fill-rule":"evenodd"}]}},nu=function(){return g(function e(t,n){return m(this,e),this.element=t,this.config=_(_({},tu),n),this.init(),this.element.ODS_DatePicker=this,this},[{key:"init",value:function(){var e=this.element.getAttribute("data-datepicker-config"),t=this.element.getAttribute("data-enabled-days"),n={};if(e)try{n=JSON.parse(e)}catch(e){n={}}this.config=_(_(_({},this.config),n),t&&{disabledDayFn:function(e){return!t.split(",").includes(function(e){return e&&e instanceof Date?"".concat(e.getFullYear(),"-").concat((e.getMonth()+1).toString().padStart(2,"0"),"-").concat(e.getDate().toString().padStart(2,"0")):""}(e))}});var i=this.element.getAttribute("data-datepicker-id")||void 0,r=this.element.getAttribute("data-datepicker-name")||i;this.instance=eu(this.element,_({id:i,name:r},this.config))}},{key:"destroy",value:function(){this.instance&&this.instance.destroy(),this.instance=null,this.element.ODS_DatePicker=null}}])}(),iu=function(e){var t=e.dayPickrConfig,n=e.enabledDays,i=e.id,r=e.name,a=k(W(nu,t),1)[0];return ie.jsx("div",{ref:a,"data-datepicker":!0,"data-enabled-days":n&&n.toString()||void 0,className:"datepicker control-group","data-datepicker-id":i,"data-datepicker-name":r})};iu.displayName="DatePicker";var ru=["htmlFor","className","children"],au=function(e){var t=e.htmlFor,n=e.className,i=e.children,r=x(e,ru);return ie.jsx("label",_(_({htmlFor:t,className:P("label",n)},r),{},{children:i}))};au.displayName="Label";var su=t(null),ou="form-field__label",lu=function(){var t,n=e.useContext(su),i=null==n?void 0:n.control,r=null!==(t=null==n?void 0:n.controlId)&&void 0!==t?t:"",a=null==n?void 0:n.label,s=null==n?void 0:n.labelAfter;return ie.jsx(ie.Fragment,{children:s?ie.jsxs("div",{className:ou,children:["range"!==(null==i?void 0:i.type)?ie.jsx(au,{id:r?"".concat(r,"-label"):void 0,htmlFor:r,className:s?void 0:ou,children:a}):ie.jsx("span",{id:r?"".concat(r,"-label"):void 0,className:P("label",y({},ou,!s)),children:a}),s&&ie.jsxs(ie.Fragment,{children:[" ",s]})]}):"range"!==(null==i?void 0:i.type)?ie.jsx(au,{id:r?"".concat(r,"-label"):void 0,htmlFor:r,className:ou,children:a}):ie.jsx("span",{id:r?"".concat(r,"-label"):void 0,className:P("label",y({},ou,!s)),children:a})})},cu=["id","children","placement"],du=function(e){var t=e.id,n=e.children,i=e.placement,r=void 0===i?"right":i,a=x(e,cu);return n?ie.jsxs(ie.Fragment,{children:[" ",ie.jsx(os,_(_({id:"".concat(t,"-tooltip"),className:"form-field__tooltip",placement:r},a),{},{children:n}))]}):null};du.displayName="FormTooltip";var uu=["className","children","type"],pu={info:"info",warning:"warning-important",error:"error-severe",invalid:"error-severe"},hu={info:"info",warning:"warning",error:"danger",invalid:"danger"},fu="message",mu=function(e){var t=e.className,n=e.children,i=e.type,r=void 0===i?"info":i,a=x(e,uu),s=P(fu,t,"invalid"===r&&y({},"".concat(fu,"--invalid"),"invalid"===r));return ie.jsxs("p",_(_({className:s},a),{},{children:[r&&ie.jsx(de,{name:pu[r],size:"medium",color:hu[r],className:"".concat(fu,"__icon")}),n]}))};mu.displayName="Message";var vu,gu=t(null),yu=function(t){var n,i=t.isMain,r=e.useContext(su),a=e.useContext(gu),s=null!==(n=null!=r?r:a)&&void 0!==n?n:{},o=s.controlId,l=s.messages;return(void 0===l?[]:l).filter(function(e){return i===e.isMain}).map(function(e,t){return ie.jsx(mu,{id:"".concat(o,"-message-").concat(t),type:e.type,children:e.text},t.toString())})},bu={exports:{}},_u={};function xu(){if(vu)return _u;return vu=1,_u._=function(e){return e&&e.__esModule?e:{default:e}},_u}function wu(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Su,ku,Eu,Nu,Cu,Tu={},Au={};function Ou(){return ku||(ku=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});const n=xu()._(e),i=(Su||(Su=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return n}});const n=xu()._(e).default.createContext(null);"production"!==process.env.NODE_ENV&&(n.displayName="LoadableContext")}(Au)),Au);const r=[],a=[];let s=!1;function o(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}function l(e,t){let o=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),l=null;function d(){if(!l){const t=new c(e,o);l={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return l.promise()}if("undefined"==typeof window&&r.push(d),!s&&"undefined"!=typeof window){const e=o.webpack&&"function"==typeof wu.resolveWeak?o.webpack():o.modules;e&&a.push(t=>{for(const n of e)if(t.includes(n))return d()})}function u(e,t){!function(){d();const e=n.default.useContext(i.LoadableContext);e&&Array.isArray(o.modules)&&o.modules.forEach(t=>{e(t)})}();const r=n.default.useSyncExternalStore(l.subscribe,l.getCurrentValue,l.getCurrentValue);return n.default.useImperativeHandle(t,()=>({retry:l.retry}),[]),n.default.useMemo(()=>{return r.loading||r.error?n.default.createElement(o.loading,{isLoading:r.loading,pastDelay:r.pastDelay,timedOut:r.timedOut,error:r.error,retry:l.retry}):r.loaded?n.default.createElement((t=r.loaded)&&t.default?t.default:t,e):null;var t},[e,r])}return u.preload=()=>d(),u.displayName="LoadableComponent",n.default.forwardRef(u)}class c{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};const{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function d(e){return l(o,e)}function u(e,t){let n=[];for(;e.length;){let i=e.pop();n.push(i(t))}return Promise.all(n).then(()=>{if(e.length)return u(e,t)})}d.preloadAll=()=>new Promise((e,t)=>{u(r).then(e,t)}),d.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{const n=()=>(s=!0,t());u(a,e).then(n,n)})),"undefined"!=typeof window&&(window.__NEXT_PRELOADREADY=d.preloadReady);const p=d}(Tu)),Tu}var ju=Cu?Nu:(Cu=1,Eu||(Eu=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return l},noSSR:function(){return o}});const n=xu(),i=ne(),r=n._(Ou()),a="undefined"==typeof window;function s(e){return{default:(null==e?void 0:e.default)||e}}function o(e,t){if(delete t.webpack,delete t.modules,!a)return e(t);const n=t.loading;return()=>(0,i.jsx)(n,{error:null,isLoading:!0,pastDelay:!1,timedOut:!1})}function l(e,t){let n=r.default,a={loading:e=>{let{error:t,isLoading:n,pastDelay:r}=e;if(!r)return null;if("production"!==process.env.NODE_ENV){if(n)return null;if(t)return(0,i.jsxs)("p",{children:[t.message,(0,i.jsx)("br",{}),t.stack]})}return null}};e instanceof Promise?a.loader=()=>e:"function"==typeof e?a.loader=e:"object"==typeof e&&(a={...a,...e}),a={...a,...t};const l=a.loader;return a.loadableGenerated&&(a={...a,...a.loadableGenerated},delete a.loadableGenerated),"boolean"!=typeof a.ssr||a.ssr?n({...a,loader:()=>null!=l?l().then(s):Promise.resolve(s(()=>null))}):(delete a.webpack,delete a.modules,o(n,a))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(bu,bu.exports)),Nu=bu.exports),Lu=A(ju);
|
|
22
|
-
/*! @license DOMPurify 3.2.7 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.7/LICENSE */
|
|
23
|
-
const{entries:Du,setPrototypeOf:Pu,isFrozen:Mu,getPrototypeOf:Iu,getOwnPropertyDescriptor:Ru}=Object;let{freeze:zu,seal:Fu,create:Bu}=Object,{apply:Hu,construct:Vu}="undefined"!=typeof Reflect&&Reflect;zu||(zu=function(e){return e}),Fu||(Fu=function(e){return e}),Hu||(Hu=function(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];return e.apply(t,i)}),Vu||(Vu=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return new e(...n)});const Uu=rp(Array.prototype.forEach),qu=rp(Array.prototype.lastIndexOf),$u=rp(Array.prototype.pop),Wu=rp(Array.prototype.push),Gu=rp(Array.prototype.splice),Yu=rp(String.prototype.toLowerCase),Xu=rp(String.prototype.toString),Ku=rp(String.prototype.match),Ju=rp(String.prototype.replace),Zu=rp(String.prototype.indexOf),Qu=rp(String.prototype.trim),ep=rp(Object.prototype.hasOwnProperty),tp=rp(RegExp.prototype.test),np=(ip=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Vu(ip,t)});var ip;function rp(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return Hu(e,t,i)}}function ap(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Yu;Pu&&Pu(e,null);let i=t.length;for(;i--;){let r=t[i];if("string"==typeof r){const e=n(r);e!==r&&(Mu(t)||(t[i]=e),r=e)}e[r]=!0}return e}function sp(e){for(let t=0;t<e.length;t++){ep(e,t)||(e[t]=null)}return e}function op(e){const t=Bu(null);for(const[n,i]of Du(e)){ep(e,n)&&(Array.isArray(i)?t[n]=sp(i):i&&"object"==typeof i&&i.constructor===Object?t[n]=op(i):t[n]=i)}return t}function lp(e,t){for(;null!==e;){const n=Ru(e,t);if(n){if(n.get)return rp(n.get);if("function"==typeof n.value)return rp(n.value)}e=Iu(e)}return function(){return null}}const cp=zu(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),dp=zu(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","slot","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),up=zu(["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"]),pp=zu(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),hp=zu(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),fp=zu(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),mp=zu(["#text"]),vp=zu(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),gp=zu(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),yp=zu(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),bp=zu(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),_p=Fu(/\{\{[\w\W]*|[\w\W]*\}\}/gm),xp=Fu(/<%[\w\W]*|[\w\W]*%>/gm),wp=Fu(/\$\{[\w\W]*/gm),Sp=Fu(/^data-[\-\w.\u00B7-\uFFFF]+$/),kp=Fu(/^aria-[\-\w]+$/),Ep=Fu(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Np=Fu(/^(?:\w+script|data):/i),Cp=Fu(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Tp=Fu(/^html$/i),Ap=Fu(/^[a-z][.\w]*(-[.\w]+)+$/i);var Op=Object.freeze({__proto__:null,ARIA_ATTR:kp,ATTR_WHITESPACE:Cp,CUSTOM_ELEMENT:Ap,DATA_ATTR:Sp,DOCTYPE_NAME:Tp,ERB_EXPR:xp,IS_ALLOWED_URI:Ep,IS_SCRIPT_OR_DATA:Np,MUSTACHE_EXPR:_p,TMPLIT_EXPR:wp});const jp=1,Lp=3,Dp=7,Pp=8,Mp=9,Ip=function(){return"undefined"==typeof window?null:window};var Rp=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ip();const n=t=>e(t);if(n.version="3.2.7",n.removed=[],!t||!t.document||t.document.nodeType!==Mp||!t.Element)return n.isSupported=!1,n;let{document:i}=t;const r=i,a=r.currentScript,{DocumentFragment:s,HTMLTemplateElement:o,Node:l,Element:c,NodeFilter:d,NamedNodeMap:u=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:p,DOMParser:h,trustedTypes:f}=t,m=c.prototype,v=lp(m,"cloneNode"),g=lp(m,"remove"),y=lp(m,"nextSibling"),b=lp(m,"childNodes"),_=lp(m,"parentNode");if("function"==typeof o){const e=i.createElement("template");e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let x,w="";const{implementation:S,createNodeIterator:k,createDocumentFragment:E,getElementsByTagName:N}=i,{importNode:C}=r;let T={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof Du&&"function"==typeof _&&S&&void 0!==S.createHTMLDocument;const{MUSTACHE_EXPR:A,ERB_EXPR:O,TMPLIT_EXPR:j,DATA_ATTR:L,ARIA_ATTR:D,IS_SCRIPT_OR_DATA:P,ATTR_WHITESPACE:M,CUSTOM_ELEMENT:I}=Op;let{IS_ALLOWED_URI:R}=Op,z=null;const F=ap({},[...cp,...dp,...up,...hp,...mp]);let B=null;const H=ap({},[...vp,...gp,...yp,...bp]);let V=Object.seal(Bu(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),U=null,q=null,$=!0,W=!0,G=!1,Y=!0,X=!1,K=!0,J=!1,Z=!1,Q=!1,ee=!1,te=!1,ne=!1,ie=!0,re=!1,ae=!0,se=!1,oe={},le=null;const ce=ap({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let de=null;const ue=ap({},["audio","video","img","source","image","track"]);let pe=null;const he=ap({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),fe="http://www.w3.org/1998/Math/MathML",me="http://www.w3.org/2000/svg",ve="http://www.w3.org/1999/xhtml";let ge=ve,ye=!1,be=null;const _e=ap({},[fe,me,ve],Xu);let xe=ap({},["mi","mo","mn","ms","mtext"]),we=ap({},["annotation-xml"]);const Se=ap({},["title","style","font","a","script"]);let ke=null;const Ee=["application/xhtml+xml","text/html"];let Ne=null,Ce=null;const Te=i.createElement("form"),Ae=function(e){return e instanceof RegExp||e instanceof Function},Oe=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Ce||Ce!==e){if(e&&"object"==typeof e||(e={}),e=op(e),ke=-1===Ee.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Ne="application/xhtml+xml"===ke?Xu:Yu,z=ep(e,"ALLOWED_TAGS")?ap({},e.ALLOWED_TAGS,Ne):F,B=ep(e,"ALLOWED_ATTR")?ap({},e.ALLOWED_ATTR,Ne):H,be=ep(e,"ALLOWED_NAMESPACES")?ap({},e.ALLOWED_NAMESPACES,Xu):_e,pe=ep(e,"ADD_URI_SAFE_ATTR")?ap(op(he),e.ADD_URI_SAFE_ATTR,Ne):he,de=ep(e,"ADD_DATA_URI_TAGS")?ap(op(ue),e.ADD_DATA_URI_TAGS,Ne):ue,le=ep(e,"FORBID_CONTENTS")?ap({},e.FORBID_CONTENTS,Ne):ce,U=ep(e,"FORBID_TAGS")?ap({},e.FORBID_TAGS,Ne):op({}),q=ep(e,"FORBID_ATTR")?ap({},e.FORBID_ATTR,Ne):op({}),oe=!!ep(e,"USE_PROFILES")&&e.USE_PROFILES,$=!1!==e.ALLOW_ARIA_ATTR,W=!1!==e.ALLOW_DATA_ATTR,G=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Y=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,X=e.SAFE_FOR_TEMPLATES||!1,K=!1!==e.SAFE_FOR_XML,J=e.WHOLE_DOCUMENT||!1,ee=e.RETURN_DOM||!1,te=e.RETURN_DOM_FRAGMENT||!1,ne=e.RETURN_TRUSTED_TYPE||!1,Q=e.FORCE_BODY||!1,ie=!1!==e.SANITIZE_DOM,re=e.SANITIZE_NAMED_PROPS||!1,ae=!1!==e.KEEP_CONTENT,se=e.IN_PLACE||!1,R=e.ALLOWED_URI_REGEXP||Ep,ge=e.NAMESPACE||ve,xe=e.MATHML_TEXT_INTEGRATION_POINTS||xe,we=e.HTML_INTEGRATION_POINTS||we,V=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ae(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(V.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ae(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(V.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(V.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),X&&(W=!1),te&&(ee=!0),oe&&(z=ap({},mp),B=[],!0===oe.html&&(ap(z,cp),ap(B,vp)),!0===oe.svg&&(ap(z,dp),ap(B,gp),ap(B,bp)),!0===oe.svgFilters&&(ap(z,up),ap(B,gp),ap(B,bp)),!0===oe.mathMl&&(ap(z,hp),ap(B,yp),ap(B,bp))),e.ADD_TAGS&&(z===F&&(z=op(z)),ap(z,e.ADD_TAGS,Ne)),e.ADD_ATTR&&(B===H&&(B=op(B)),ap(B,e.ADD_ATTR,Ne)),e.ADD_URI_SAFE_ATTR&&ap(pe,e.ADD_URI_SAFE_ATTR,Ne),e.FORBID_CONTENTS&&(le===ce&&(le=op(le)),ap(le,e.FORBID_CONTENTS,Ne)),ae&&(z["#text"]=!0),J&&ap(z,["html","head","body"]),z.table&&(ap(z,["tbody"]),delete U.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw np('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw np('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');x=e.TRUSTED_TYPES_POLICY,w=x.createHTML("")}else void 0===x&&(x=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const i="data-tt-policy-suffix";t&&t.hasAttribute(i)&&(n=t.getAttribute(i));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(f,a)),null!==x&&"string"==typeof w&&(w=x.createHTML(""));zu&&zu(e),Ce=e}},je=ap({},[...dp,...up,...pp]),Le=ap({},[...hp,...fp]),De=function(e){Wu(n.removed,{element:e});try{_(e).removeChild(e)}catch(t){g(e)}},Pe=function(e,t){try{Wu(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){Wu(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(ee||te)try{De(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Me=function(e){let t=null,n=null;if(Q)e="<remove></remove>"+e;else{const t=Ku(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===ke&&ge===ve&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const r=x?x.createHTML(e):e;if(ge===ve)try{t=(new h).parseFromString(r,ke)}catch(e){}if(!t||!t.documentElement){t=S.createDocument(ge,"template",null);try{t.documentElement.innerHTML=ye?w:r}catch(e){}}const a=t.body||t.documentElement;return e&&n&&a.insertBefore(i.createTextNode(n),a.childNodes[0]||null),ge===ve?N.call(t,J?"html":"body")[0]:J?t.documentElement:a},Ie=function(e){return k.call(e.ownerDocument||e,e,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT|d.SHOW_PROCESSING_INSTRUCTION|d.SHOW_CDATA_SECTION,null)},Re=function(e){return e instanceof p&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof u)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},ze=function(e){return"function"==typeof l&&e instanceof l};function Fe(e,t,i){Uu(e,e=>{e.call(n,t,i,Ce)})}const Be=function(e){let t=null;if(Fe(T.beforeSanitizeElements,e,null),Re(e))return De(e),!0;const i=Ne(e.nodeName);if(Fe(T.uponSanitizeElement,e,{tagName:i,allowedTags:z}),K&&e.hasChildNodes()&&!ze(e.firstElementChild)&&tp(/<[/\w!]/g,e.innerHTML)&&tp(/<[/\w!]/g,e.textContent))return De(e),!0;if(e.nodeType===Dp)return De(e),!0;if(K&&e.nodeType===Pp&&tp(/<[/\w]/g,e.data))return De(e),!0;if(!z[i]||U[i]){if(!U[i]&&Ve(i)){if(V.tagNameCheck instanceof RegExp&&tp(V.tagNameCheck,i))return!1;if(V.tagNameCheck instanceof Function&&V.tagNameCheck(i))return!1}if(ae&&!le[i]){const t=_(e)||e.parentNode,n=b(e)||e.childNodes;if(n&&t){for(let i=n.length-1;i>=0;--i){const r=v(n[i],!0);r.__removalCount=(e.__removalCount||0)+1,t.insertBefore(r,y(e))}}}return De(e),!0}return e instanceof c&&!function(e){let t=_(e);t&&t.tagName||(t={namespaceURI:ge,tagName:"template"});const n=Yu(e.tagName),i=Yu(t.tagName);return!!be[e.namespaceURI]&&(e.namespaceURI===me?t.namespaceURI===ve?"svg"===n:t.namespaceURI===fe?"svg"===n&&("annotation-xml"===i||xe[i]):Boolean(je[n]):e.namespaceURI===fe?t.namespaceURI===ve?"math"===n:t.namespaceURI===me?"math"===n&&we[i]:Boolean(Le[n]):e.namespaceURI===ve?!(t.namespaceURI===me&&!we[i])&&!(t.namespaceURI===fe&&!xe[i])&&!Le[n]&&(Se[n]||!je[n]):!("application/xhtml+xml"!==ke||!be[e.namespaceURI]))}(e)?(De(e),!0):"noscript"!==i&&"noembed"!==i&&"noframes"!==i||!tp(/<\/no(script|embed|frames)/i,e.innerHTML)?(X&&e.nodeType===Lp&&(t=e.textContent,Uu([A,O,j],e=>{t=Ju(t,e," ")}),e.textContent!==t&&(Wu(n.removed,{element:e.cloneNode()}),e.textContent=t)),Fe(T.afterSanitizeElements,e,null),!1):(De(e),!0)},He=function(e,t,n){if(ie&&("id"===t||"name"===t)&&(n in i||n in Te))return!1;if(W&&!q[t]&&tp(L,t));else if($&&tp(D,t));else if(!B[t]||q[t]){if(!(Ve(e)&&(V.tagNameCheck instanceof RegExp&&tp(V.tagNameCheck,e)||V.tagNameCheck instanceof Function&&V.tagNameCheck(e))&&(V.attributeNameCheck instanceof RegExp&&tp(V.attributeNameCheck,t)||V.attributeNameCheck instanceof Function&&V.attributeNameCheck(t,e))||"is"===t&&V.allowCustomizedBuiltInElements&&(V.tagNameCheck instanceof RegExp&&tp(V.tagNameCheck,n)||V.tagNameCheck instanceof Function&&V.tagNameCheck(n))))return!1}else if(pe[t]);else if(tp(R,Ju(n,M,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Zu(n,"data:")||!de[e]){if(G&&!tp(P,Ju(n,M,"")));else if(n)return!1}else;return!0},Ve=function(e){return"annotation-xml"!==e&&Ku(e,I)},Ue=function(e){Fe(T.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Re(e))return;const i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:B,forceKeepAttr:void 0};let r=t.length;for(;r--;){const a=t[r],{name:s,namespaceURI:o,value:l}=a,c=Ne(s),d=l;let u="value"===s?d:Qu(d);if(i.attrName=c,i.attrValue=u,i.keepAttr=!0,i.forceKeepAttr=void 0,Fe(T.uponSanitizeAttribute,e,i),u=i.attrValue,!re||"id"!==c&&"name"!==c||(Pe(s,e),u="user-content-"+u),K&&tp(/((--!?|])>)|<\/(style|title|textarea)/i,u)){Pe(s,e);continue}if("attributename"===c&&Ku(u,"href")){Pe(s,e);continue}if(i.forceKeepAttr)continue;if(!i.keepAttr){Pe(s,e);continue}if(!Y&&tp(/\/>/i,u)){Pe(s,e);continue}X&&Uu([A,O,j],e=>{u=Ju(u,e," ")});const p=Ne(e.nodeName);if(He(p,c,u)){if(x&&"object"==typeof f&&"function"==typeof f.getAttributeType)if(o);else switch(f.getAttributeType(p,c)){case"TrustedHTML":u=x.createHTML(u);break;case"TrustedScriptURL":u=x.createScriptURL(u)}if(u!==d)try{o?e.setAttributeNS(o,s,u):e.setAttribute(s,u),Re(e)?De(e):$u(n.removed)}catch(t){Pe(s,e)}}else Pe(s,e)}Fe(T.afterSanitizeAttributes,e,null)},qe=function e(t){let n=null;const i=Ie(t);for(Fe(T.beforeSanitizeShadowDOM,t,null);n=i.nextNode();)Fe(T.uponSanitizeShadowNode,n,null),Be(n),Ue(n),n.content instanceof s&&e(n.content);Fe(T.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,a=null,o=null,c=null;if(ye=!e,ye&&(e="\x3c!--\x3e"),"string"!=typeof e&&!ze(e)){if("function"!=typeof e.toString)throw np("toString is not a function");if("string"!=typeof(e=e.toString()))throw np("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Z||Oe(t),n.removed=[],"string"==typeof e&&(se=!1),se){if(e.nodeName){const t=Ne(e.nodeName);if(!z[t]||U[t])throw np("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)i=Me("\x3c!----\x3e"),a=i.ownerDocument.importNode(e,!0),a.nodeType===jp&&"BODY"===a.nodeName||"HTML"===a.nodeName?i=a:i.appendChild(a);else{if(!ee&&!X&&!J&&-1===e.indexOf("<"))return x&&ne?x.createHTML(e):e;if(i=Me(e),!i)return ee?null:ne?w:""}i&&Q&&De(i.firstChild);const d=Ie(se?e:i);for(;o=d.nextNode();)Be(o),Ue(o),o.content instanceof s&&qe(o.content);if(se)return e;if(ee){if(te)for(c=E.call(i.ownerDocument);i.firstChild;)c.appendChild(i.firstChild);else c=i;return(B.shadowroot||B.shadowrootmode)&&(c=C.call(r,c,!0)),c}let u=J?i.outerHTML:i.innerHTML;return J&&z["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&tp(Tp,i.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+u),X&&Uu([A,O,j],e=>{u=Ju(u,e," ")}),x&&ne?x.createHTML(u):u},n.setConfig=function(){Oe(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Z=!0},n.clearConfig=function(){Ce=null,Z=!1},n.isValidAttribute=function(e,t,n){Ce||Oe({});const i=Ne(e),r=Ne(t);return He(i,r,n)},n.addHook=function(e,t){"function"==typeof t&&Wu(T[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=qu(T[e],t);return-1===n?void 0:Gu(T[e],n,1)[0]}return $u(T[e])},n.removeHooks=function(e){T[e]=[]},n.removeAllHooks=function(){T={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}(),zp={dragDropClassname:"is-dragdrop",inputSelector:'input[type="file"]',resultsSelector:".file-input__files",deleteButtonSelector:"[data-file-delete]",deleteFileAttr:"data-file-delete",fileTemplate:function(e,t){return"\n <li>".concat(e,' <button type="button" data-file-delete="').concat(t,'" class="file-input__delete">\n <svg class="icon icon--small icon--trash icon--danger" aria-hidden="true">\n <use xlink:href="/sprite.svg#trash"></use>\n </svg>\n <span class="sr-only">Odstrániť súbor ').concat(e,"</span>\n </button>\n </li>\n ")}},Fp=function(){return g(function e(t,n){return m(this,e),this.element=t,this.config=_(_({},zp),n),this.input=null,this.files=[],this.results=null,this.removeButtons=[],this.onInputChange=this.onInputChange.bind(this),this.onRemoveButtonClick=this.onRemoveButtonClick.bind(this),this.highlight=this.highlight.bind(this),this.unhighlight=this.unhighlight.bind(this),this.onDrop=this.onDrop.bind(this),this.preventDefaults=this.preventDefaults.bind(this),this.init(),this},[{key:"init",value:function(){var e=this;this.input=this.element.querySelector(this.config.inputSelector),this.results=this.element.querySelector(this.config.resultsSelector),this.input&&this.results&&(this.input.addEventListener("change",this.onInputChange),["dragenter","dragover","dragleave","drop"].forEach(function(t){e.element.addEventListener(t,e.preventDefaults,!1),document.body.addEventListener(t,e.preventDefaults,!1)}),["dragenter","dragover"].forEach(function(t){e.element.addEventListener(t,e.highlight,!1)}),["dragleave","drop"].forEach(function(t){e.element.addEventListener(t,e.unhighlight,!1)}),this.element.addEventListener("drop",this.onDrop))}},{key:"onInputChange",value:function(){var e,t=this;return!(!this.input||!this.results)&&(this.files=Array.from(null!==(e=this.input.files)&&void 0!==e?e:[]),!!this.files&&(this.results.innerHTML="",this.files.map(function(e,n){return t.config.fileTemplate(Rp.sanitize(e.name,{ALLOWED_TAGS:[]}),n)}).forEach(function(e){t.results.appendChild(Rp.sanitize(e,{ADD_TAGS:["use"],RETURN_DOM_FRAGMENT:!0}))}),this.removeButtons=Array.from(this.results.querySelectorAll(this.config.deleteButtonSelector)),void this.removeButtons.forEach(function(e){return e.addEventListener("click",t.onRemoveButtonClick)})))}},{key:"onDrop",value:function(e){var t;this.input&&(this.input.files=(null==e||null===(t=e.dataTransfer)||void 0===t?void 0:t.files)||(new DataTransfer).files,this.onInputChange())}},{key:"onRemoveButtonClick",value:function(e){if(this.input){var t=new DataTransfer,n=e.currentTarget,i=Number(n.getAttribute(this.config.deleteFileAttr));this.files.splice(i,1),this.files.forEach(function(e){return t.items.add(e)}),this.input.files=t.files,this.onInputChange()}}},{key:"highlight",value:function(){this.element.classList.add(this.config.dragDropClassname)}},{key:"unhighlight",value:function(){this.element.classList.remove(this.config.dragDropClassname)}},{key:"preventDefaults",value:function(e){e.preventDefault(),e.stopPropagation()}},{key:"destroy",value:function(){var e=this;this.input&&(this.input.removeEventListener("change",this.onInputChange),["dragenter","dragover","dragleave","drop"].forEach(function(t){e.element.removeEventListener(t,e.preventDefaults,!1),document.body.removeEventListener(t,e.preventDefaults,!1)}),["dragenter","dragover"].forEach(function(t){e.element.removeEventListener(t,e.highlight,!1)}),["dragleave","drop"].forEach(function(t){e.element.removeEventListener(t,e.unhighlight,!1)}),this.element.removeEventListener("drop",this.onDrop))}},{key:"update",value:function(){this.destroy(),this.init()}}])}(),Bp=["id","isDisabled","name","size","className"],Hp="file-input",Vp="default",Up=function(e){var t=e.id,n=e.isDisabled,i=e.name,r=e.size,a=void 0===r?Vp:r,s=e.className,o=x(e,Bp),l=k(W(Fp),1)[0],c=Y(t),d=P(Hp,y({},"".concat(Hp,"--").concat(a),a!==Vp),s);return ie.jsxs("div",{className:d,"data-file-input":!0,ref:l,children:[ie.jsx("input",_({className:"".concat(Hp,"__control"),id:c,name:i||t,disabled:n,type:"file"},o)),ie.jsx("label",{size:a,htmlFor:c,"aria-hidden":"true",className:"".concat(Hp,"__button"),children:"Vybrať súbor"}),ie.jsx("ul",{className:"".concat(Hp,"__files")})]})};Up.displayName="File";var qp=["className","id","isDisabled","isInvalid","isValid","isReadonly","placeholder","size","htmlType","width","name"],$p="text-input",Wp="text",Gp="default",Yp="default",Xp=e.forwardRef(function(e,t){var n=e.className,i=e.id,r=e.isDisabled,a=e.isInvalid,s=e.isValid,o=e.isReadonly,l=e.placeholder,c=e.size,d=void 0===c?Gp:c,u=e.htmlType,p=void 0===u?Wp:u,h=e.width,f=void 0===h?Yp:h,m=e.name,v=x(e,qp),g=P($p,y(y({"is-invalid":a,"is-valid":s},"".concat($p,"--").concat(d),d!==Gp),"".concat($p,"--").concat(f),f!==Yp),n),b=m||i;return ie.jsx("input",_({className:g,id:i,name:b,type:p,disabled:r,readOnly:o,placeholder:l,ref:t},v))});Xp.displayName="TextInput";var Kp=["size","className","children"],Jp="control-group__item",Zp="default",Qp=function(e){var t=e.size,n=void 0===t?Zp:t,i=e.className,r=e.children,a=x(e,Kp),s=P(Jp,i,y({},"".concat(Jp,"--").concat(n),n!==Zp));return ie.jsx("div",_(_({className:s},a),{},{children:r}))};Qp.displayName="GroupItem";var eh=["control","addonPrefix","addonSuffix","size","className"],th=["type"],nh=function(t){var n=t.control,i=t.addonPrefix,r=t.addonSuffix,a=t.size,s=t.className,o=x(t,eh),l=n.type,c=x(n,th),d=function(e){return"select"===l?ie.jsx(ec,_({},e)):ie.jsx(Xp,_({},e))},u=function(t){return e.Children.map(t,function(t){if("string"==typeof t||t&&"string"==typeof t.type)return ie.jsx(Qp,{size:a,children:t});if(e.isValidElement(t)){var n=t.props&&"object"===C(t.props)&&"size"in t.props?{}:{size:a};return e.cloneElement(t,_(_({},t.props||{}),n))}return t})};return ie.jsxs("div",_(_({className:P("control-group",s)},o),{},{children:[u(i),ie.jsx(d,_(_({},c),{},{size:a})),u(r)]}))};nh.displayName="ControlGroup";var ih,rh,ah=["id","isChecked","isDisabled","isInvalid","name","size","value","className"],sh="radio",oh="default",lh=function(e){var t=e.id,n=e.isChecked,i=e.isDisabled,r=e.isInvalid,a=e.name,s=e.size,o=void 0===s?oh:s,l=e.value,c=e.className,d=x(e,ah),u=P(sh,c,y(y({},"".concat(sh,"--").concat(o),o!==oh),"is-invalid",r)),p=l||t;return ie.jsxs(ie.Fragment,{children:[ie.jsx("input",_({className:u,type:"radio",id:t,name:a,defaultChecked:n,disabled:i,value:p},d)),ie.jsx("div",{className:"".concat(sh,"-display")})]})};function ch(e){return"object"==typeof e&&"function"==typeof e.to}function dh(e){e.parentElement.removeChild(e)}function uh(e){return null!=e}function ph(e){e.preventDefault()}function hh(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function fh(e,t,n){n>0&&(yh(e,t),setTimeout(function(){bh(e,t)},n))}function mh(e){return Math.max(Math.min(e,100),0)}function vh(e){return Array.isArray(e)?e:[e]}function gh(e){var t=(e=String(e)).split(".");return t.length>1?t[1].length:0}function yh(e,t){e.classList&&!/\s/.test(t)?e.classList.add(t):e.className+=" "+t}function bh(e,t){e.classList&&!/\s/.test(t)?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function _h(e){var t=void 0!==window.pageXOffset,n="CSS1Compat"===(e.compatMode||"");return{x:t?window.pageXOffset:n?e.documentElement.scrollLeft:e.body.scrollLeft,y:t?window.pageYOffset:n?e.documentElement.scrollTop:e.body.scrollTop}}function xh(e,t){return 100/(t-e)}function wh(e,t,n){return 100*t/(e[n+1]-e[n])}function Sh(e,t){for(var n=1;e>=t[n];)n+=1;return n}function kh(e,t,n){if(n>=e.slice(-1)[0])return 100;var i=Sh(n,e),r=e[i-1],a=e[i],s=t[i-1],o=t[i];return s+function(e,t){return wh(e,e[0]<0?t+Math.abs(e[0]):t-e[0],0)}([r,a],n)/xh(s,o)}function Eh(e,t,n,i){if(100===i)return i;var r=Sh(i,e),a=e[r-1],s=e[r];return n?i-a>(s-a)/2?s:a:t[r-1]?e[r-1]+function(e,t){return Math.round(e/t)*t}(i-e[r-1],t[r-1]):i}lh.displayName="Radio",function(e){e.Range="range",e.Steps="steps",e.Positions="positions",e.Count="count",e.Values="values"}(ih||(ih={})),function(e){e[e.None=-1]="None",e[e.NoValue=0]="NoValue",e[e.LargeValue=1]="LargeValue",e[e.SmallValue=2]="SmallValue"}(rh||(rh={}));var Nh=function(){function e(e,t,n){var i;this.xPct=[],this.xVal=[],this.xSteps=[],this.xNumSteps=[],this.xHighestCompleteStep=[],this.xSteps=[n||!1],this.xNumSteps=[!1],this.snap=t;var r=[];for(Object.keys(e).forEach(function(t){r.push([vh(e[t]),t])}),r.sort(function(e,t){return e[0][0]-t[0][0]}),i=0;i<r.length;i++)this.handleEntryPoint(r[i][1],r[i][0]);for(this.xNumSteps=this.xSteps.slice(0),i=0;i<this.xNumSteps.length;i++)this.handleStepPoint(i,this.xNumSteps[i])}return e.prototype.getDistance=function(e){for(var t=[],n=0;n<this.xNumSteps.length-1;n++)t[n]=wh(this.xVal,e,n);return t},e.prototype.getAbsoluteDistance=function(e,t,n){var i,r=0;if(e<this.xPct[this.xPct.length-1])for(;e>this.xPct[r+1];)r++;else e===this.xPct[this.xPct.length-1]&&(r=this.xPct.length-2);n||e!==this.xPct[r+1]||r++,null===t&&(t=[]);var a=1,s=t[r],o=0,l=0,c=0,d=0;for(i=n?(e-this.xPct[r])/(this.xPct[r+1]-this.xPct[r]):(this.xPct[r+1]-e)/(this.xPct[r+1]-this.xPct[r]);s>0;)o=this.xPct[r+1+d]-this.xPct[r+d],t[r+d]*a+100-100*i>100?(l=o*i,a=(s-100*i)/t[r+d],i=1):(l=t[r+d]*o/100*a,a=0),n?(c-=l,this.xPct.length+d>=1&&d--):(c+=l,this.xPct.length-d>=1&&d++),s=t[r+d]*a;return e+c},e.prototype.toStepping=function(e){return e=kh(this.xVal,this.xPct,e)},e.prototype.fromStepping=function(e){return function(e,t,n){if(n>=100)return e.slice(-1)[0];var i=Sh(n,t),r=e[i-1],a=e[i],s=t[i-1];return function(e,t){return t*(e[1]-e[0])/100+e[0]}([r,a],(n-s)*xh(s,t[i]))}(this.xVal,this.xPct,e)},e.prototype.getStep=function(e){return e=Eh(this.xPct,this.xSteps,this.snap,e)},e.prototype.getDefaultStep=function(e,t,n){var i=Sh(e,this.xPct);return(100===e||t&&e===this.xPct[i-1])&&(i=Math.max(i-1,1)),(this.xVal[i]-this.xVal[i-1])/n},e.prototype.getNearbySteps=function(e){var t=Sh(e,this.xPct);return{stepBefore:{startValue:this.xVal[t-2],step:this.xNumSteps[t-2],highestStep:this.xHighestCompleteStep[t-2]},thisStep:{startValue:this.xVal[t-1],step:this.xNumSteps[t-1],highestStep:this.xHighestCompleteStep[t-1]},stepAfter:{startValue:this.xVal[t],step:this.xNumSteps[t],highestStep:this.xHighestCompleteStep[t]}}},e.prototype.countStepDecimals=function(){var e=this.xNumSteps.map(gh);return Math.max.apply(null,e)},e.prototype.hasNoSize=function(){return this.xVal[0]===this.xVal[this.xVal.length-1]},e.prototype.convert=function(e){return this.getStep(this.toStepping(e))},e.prototype.handleEntryPoint=function(e,t){var n;if(!hh(n="min"===e?0:"max"===e?100:parseFloat(e))||!hh(t[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");this.xPct.push(n),this.xVal.push(t[0]);var i=Number(t[1]);n?this.xSteps.push(!isNaN(i)&&i):isNaN(i)||(this.xSteps[0]=i),this.xHighestCompleteStep.push(0)},e.prototype.handleStepPoint=function(e,t){if(t)if(this.xVal[e]!==this.xVal[e+1]){this.xSteps[e]=wh([this.xVal[e],this.xVal[e+1]],t,0)/xh(this.xPct[e],this.xPct[e+1]);var n=(this.xVal[e+1]-this.xVal[e])/this.xNumSteps[e],i=Math.ceil(Number(n.toFixed(3))-1),r=this.xVal[e]+this.xNumSteps[e]*i;this.xHighestCompleteStep[e]=r}else this.xSteps[e]=this.xHighestCompleteStep[e]=this.xVal[e]},e}(),Ch={to:function(e){return void 0===e?"":e.toFixed(2)},from:Number},Th={target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",touchArea:"touch-area",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",textDirectionLtr:"txt-dir-ltr",textDirectionRtl:"txt-dir-rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"},Ah=".__tooltips",Oh=".__aria";function jh(e,t){if(!hh(t))throw new Error("noUiSlider: 'step' is not numeric.");e.singleStep=t}function Lh(e,t){if(!hh(t))throw new Error("noUiSlider: 'keyboardPageMultiplier' is not numeric.");e.keyboardPageMultiplier=t}function Dh(e,t){if(!hh(t))throw new Error("noUiSlider: 'keyboardMultiplier' is not numeric.");e.keyboardMultiplier=t}function Ph(e,t){if(!hh(t))throw new Error("noUiSlider: 'keyboardDefaultStep' is not numeric.");e.keyboardDefaultStep=t}function Mh(e,t){if("object"!=typeof t||Array.isArray(t))throw new Error("noUiSlider: 'range' is not an object.");if(void 0===t.min||void 0===t.max)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");e.spectrum=new Nh(t,e.snap||!1,e.singleStep)}function Ih(e,t){if(t=vh(t),!Array.isArray(t)||!t.length)throw new Error("noUiSlider: 'start' option is incorrect.");e.handles=t.length,e.start=t}function Rh(e,t){if("boolean"!=typeof t)throw new Error("noUiSlider: 'snap' option must be a boolean.");e.snap=t}function zh(e,t){if("boolean"!=typeof t)throw new Error("noUiSlider: 'animate' option must be a boolean.");e.animate=t}function Fh(e,t){if("number"!=typeof t)throw new Error("noUiSlider: 'animationDuration' option must be a number.");e.animationDuration=t}function Bh(e,t){var n,i=[!1];if("lower"===t?t=[!0,!1]:"upper"===t&&(t=[!1,!0]),!0===t||!1===t){for(n=1;n<e.handles;n++)i.push(t);i.push(!1)}else{if(!Array.isArray(t)||!t.length||t.length!==e.handles+1)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");i=t}e.connect=i}function Hh(e,t){switch(t){case"horizontal":e.ort=0;break;case"vertical":e.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invalid.")}}function Vh(e,t){if(!hh(t))throw new Error("noUiSlider: 'margin' option must be numeric.");0!==t&&(e.margin=e.spectrum.getDistance(t))}function Uh(e,t){if(!hh(t))throw new Error("noUiSlider: 'limit' option must be numeric.");if(e.limit=e.spectrum.getDistance(t),!e.limit||e.handles<2)throw new Error("noUiSlider: 'limit' option is only supported on linear sliders with 2 or more handles.")}function qh(e,t){var n;if(!hh(t)&&!Array.isArray(t))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(t)&&2!==t.length&&!hh(t[0])&&!hh(t[1]))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(0!==t){for(Array.isArray(t)||(t=[t,t]),e.padding=[e.spectrum.getDistance(t[0]),e.spectrum.getDistance(t[1])],n=0;n<e.spectrum.xNumSteps.length-1;n++)if(e.padding[0][n]<0||e.padding[1][n]<0)throw new Error("noUiSlider: 'padding' option must be a positive number(s).");var i=t[0]+t[1],r=e.spectrum.xVal[0];if(i/(e.spectrum.xVal[e.spectrum.xVal.length-1]-r)>1)throw new Error("noUiSlider: 'padding' option must not exceed 100% of the range.")}}function $h(e,t){switch(t){case"ltr":e.dir=0;break;case"rtl":e.dir=1;break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function Wh(e,t){if("string"!=typeof t)throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var n=t.indexOf("tap")>=0,i=t.indexOf("drag")>=0,r=t.indexOf("fixed")>=0,a=t.indexOf("snap")>=0,s=t.indexOf("hover")>=0,o=t.indexOf("unconstrained")>=0,l=t.indexOf("invert-connects")>=0,c=t.indexOf("drag-all")>=0,d=t.indexOf("smooth-steps")>=0;if(r){if(2!==e.handles)throw new Error("noUiSlider: 'fixed' behaviour must be used with 2 handles");Vh(e,e.start[1]-e.start[0])}if(l&&2!==e.handles)throw new Error("noUiSlider: 'invert-connects' behaviour must be used with 2 handles");if(o&&(e.margin||e.limit))throw new Error("noUiSlider: 'unconstrained' behaviour cannot be used with margin or limit");e.events={tap:n||a,drag:i,dragAll:c,smoothSteps:d,fixed:r,snap:a,hover:s,unconstrained:o,invertConnects:l}}function Gh(e,t){if(!1!==t)if(!0===t||ch(t)){e.tooltips=[];for(var n=0;n<e.handles;n++)e.tooltips.push(t)}else{if((t=vh(t)).length!==e.handles)throw new Error("noUiSlider: must pass a formatter for all handles.");t.forEach(function(e){if("boolean"!=typeof e&&!ch(e))throw new Error("noUiSlider: 'tooltips' must be passed a formatter or 'false'.")}),e.tooltips=t}}function Yh(e,t){if(t.length!==e.handles)throw new Error("noUiSlider: must pass a attributes for all handles.");e.handleAttributes=t}function Xh(e,t){if(!ch(t))throw new Error("noUiSlider: 'ariaFormat' requires 'to' method.");e.ariaFormat=t}function Kh(e,t){if(!function(e){return ch(e)&&"function"==typeof e.from}(t))throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.");e.format=t}function Jh(e,t){if("boolean"!=typeof t)throw new Error("noUiSlider: 'keyboardSupport' option must be a boolean.");e.keyboardSupport=t}function Zh(e,t){e.documentElement=t}function Qh(e,t){if("string"!=typeof t&&!1!==t)throw new Error("noUiSlider: 'cssPrefix' must be a string or `false`.");e.cssPrefix=t}function ef(e,t){if("object"!=typeof t)throw new Error("noUiSlider: 'cssClasses' must be an object.");"string"==typeof e.cssPrefix?(e.cssClasses={},Object.keys(t).forEach(function(n){e.cssClasses[n]=e.cssPrefix+t[n]})):e.cssClasses=t}function tf(e){var t={margin:null,limit:null,padding:null,animate:!0,animationDuration:300,ariaFormat:Ch,format:Ch},n={step:{r:!1,t:jh},keyboardPageMultiplier:{r:!1,t:Lh},keyboardMultiplier:{r:!1,t:Dh},keyboardDefaultStep:{r:!1,t:Ph},start:{r:!0,t:Ih},connect:{r:!0,t:Bh},direction:{r:!0,t:$h},snap:{r:!1,t:Rh},animate:{r:!1,t:zh},animationDuration:{r:!1,t:Fh},range:{r:!0,t:Mh},orientation:{r:!1,t:Hh},margin:{r:!1,t:Vh},limit:{r:!1,t:Uh},padding:{r:!1,t:qh},behaviour:{r:!0,t:Wh},ariaFormat:{r:!1,t:Xh},format:{r:!1,t:Kh},tooltips:{r:!1,t:Gh},keyboardSupport:{r:!0,t:Jh},documentElement:{r:!1,t:Zh},cssPrefix:{r:!0,t:Qh},cssClasses:{r:!0,t:ef},handleAttributes:{r:!1,t:Yh}},i={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses:Th,keyboardPageMultiplier:5,keyboardMultiplier:1,keyboardDefaultStep:10};e.format&&!e.ariaFormat&&(e.ariaFormat=e.format),Object.keys(n).forEach(function(r){if(uh(e[r])||void 0!==i[r])n[r].t(t,uh(e[r])?e[r]:i[r]);else if(n[r].r)throw new Error("noUiSlider: '"+r+"' is required.")}),t.pips=e.pips;var r=document.createElement("div"),a=void 0!==r.style.msTransform,s=void 0!==r.style.transform;t.transformRule=s?"transform":a?"msTransform":"webkitTransform";return t.style=[["left","top"],["right","bottom"]][t.dir][t.ort],t}function nf(e,t,n){var i,r,a,s,o,l,c,d=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},u=window.CSS&&CSS.supports&&CSS.supports("touch-action","none")&&function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(e){}return e}(),p=e,h=t.spectrum,f=[],m=[],v=[],g=0,y={},b=!1,_=e.ownerDocument,x=t.documentElement||_.documentElement,w=_.body,S="rtl"===_.dir||1===t.ort?0:100;function k(e,t){var n=_.createElement("div");return t&&yh(n,t),e.appendChild(n),n}function E(e,n){var i=k(e,t.cssClasses.origin),r=k(i,t.cssClasses.handle);if(k(r,t.cssClasses.touchArea),r.setAttribute("data-handle",String(n)),t.keyboardSupport&&(r.setAttribute("tabindex","0"),r.addEventListener("keydown",function(e){return function(e,n){if(T()||A(n))return!1;var i=["Left","Right"],r=["Down","Up"],a=["PageDown","PageUp"],s=["Home","End"];t.dir&&!t.ort?i.reverse():t.ort&&!t.dir&&(r.reverse(),a.reverse());var o,l=e.key.replace("Arrow",""),c=l===a[0],d=l===a[1],u=l===r[0]||l===i[0]||c,p=l===r[1]||l===i[1]||d,v=l===s[0],g=l===s[1];if(!(u||p||v||g))return!0;if(e.preventDefault(),p||u){var y=u?0:1,b=oe(n)[y];if(null===b)return!1;!1===b&&(b=h.getDefaultStep(m[n],u,t.keyboardDefaultStep)),b*=d||c?t.keyboardPageMultiplier:t.keyboardMultiplier,b=Math.max(b,1e-7),b*=u?-1:1,o=f[n]+b}else o=g?t.spectrum.xVal[t.spectrum.xVal.length-1]:t.spectrum.xVal[0];return ne(n,h.toStepping(o),!0,!0),X("slide",n),X("update",n),X("change",n),X("set",n),!1}(e,n)})),void 0!==t.handleAttributes){var a=t.handleAttributes[n];Object.keys(a).forEach(function(e){r.setAttribute(e,a[e])})}return r.setAttribute("role","slider"),r.setAttribute("aria-orientation",t.ort?"vertical":"horizontal"),0===n?yh(r,t.cssClasses.handleLower):n===t.handles-1&&yh(r,t.cssClasses.handleUpper),i.handle=r,i}function N(e,n){return!!n&&k(e,t.cssClasses.connect)}function C(e,n){return!(!t.tooltips||!t.tooltips[n])&&k(e.firstChild,t.cssClasses.tooltip)}function T(){return p.hasAttribute("disabled")}function A(e){return a[e].hasAttribute("disabled")}function O(){l&&(Y("update"+Ah),l.forEach(function(e){e&&dh(e)}),l=null)}function j(){O(),l=a.map(C),G("update"+Ah,function(e,n,i){if(l&&t.tooltips&&!1!==l[n]){var r=e[n];!0!==t.tooltips[n]&&(r=t.tooltips[n].to(i[n])),l[n].innerHTML=r}})}function L(e,t){return e.map(function(e){return h.fromStepping(t?h.getStep(e):e)})}function D(e){function t(e,t){return Number((e+t).toFixed(7))}var n,i=function(e){if(e.mode===ih.Range||e.mode===ih.Steps)return h.xVal;if(e.mode===ih.Count){if(e.values<2)throw new Error("noUiSlider: 'values' (>= 2) required for mode 'count'.");for(var t=e.values-1,n=100/t,i=[];t--;)i[t]=t*n;return i.push(100),L(i,e.stepped)}return e.mode===ih.Positions?L(e.values,e.stepped):e.mode===ih.Values?e.stepped?e.values.map(function(e){return h.fromStepping(h.getStep(h.toStepping(e)))}):e.values:[]}(e),r={},a=h.xVal[0],s=h.xVal[h.xVal.length-1],o=!1,l=!1,c=0;return n=i.slice().sort(function(e,t){return e-t}),i=n.filter(function(e){return!this[e]&&(this[e]=!0)},{}),i[0]!==a&&(i.unshift(a),o=!0),i[i.length-1]!==s&&(i.push(s),l=!0),i.forEach(function(n,a){var s,d,u,p,f,m,v,g,y,b,_=n,x=i[a+1],w=e.mode===ih.Steps;for(w&&(s=h.xNumSteps[a]),s||(s=x-_),void 0===x&&(x=_),s=Math.max(s,1e-7),d=_;d<=x;d=t(d,s)){for(g=(f=(p=h.toStepping(d))-c)/(e.density||1),b=f/(y=Math.round(g)),u=1;u<=y;u+=1)r[(m=c+u*b).toFixed(5)]=[h.fromStepping(m),0];v=i.indexOf(d)>-1?rh.LargeValue:w?rh.SmallValue:rh.NoValue,!a&&o&&d!==x&&(v=0),d===x&&l||(r[p.toFixed(5)]=[d,v]),c=p}}),r}function P(e,n,i){var r,a,s=_.createElement("div"),o=((r={})[rh.None]="",r[rh.NoValue]=t.cssClasses.valueNormal,r[rh.LargeValue]=t.cssClasses.valueLarge,r[rh.SmallValue]=t.cssClasses.valueSub,r),l=((a={})[rh.None]="",a[rh.NoValue]=t.cssClasses.markerNormal,a[rh.LargeValue]=t.cssClasses.markerLarge,a[rh.SmallValue]=t.cssClasses.markerSub,a),c=[t.cssClasses.valueHorizontal,t.cssClasses.valueVertical],d=[t.cssClasses.markerHorizontal,t.cssClasses.markerVertical];function u(e,n){var i=n===t.cssClasses.value,r=i?o:l;return n+" "+(i?c:d)[t.ort]+" "+r[e]}return yh(s,t.cssClasses.pips),yh(s,0===t.ort?t.cssClasses.pipsHorizontal:t.cssClasses.pipsVertical),Object.keys(e).forEach(function(r){!function(e,r,a){if((a=n?n(r,a):a)!==rh.None){var o=k(s,!1);o.className=u(a,t.cssClasses.marker),o.style[t.style]=e+"%",a>rh.NoValue&&((o=k(s,!1)).className=u(a,t.cssClasses.value),o.setAttribute("data-value",String(r)),o.style[t.style]=e+"%",o.innerHTML=String(i.to(r)))}}(r,e[r][0],e[r][1])}),s}function M(){o&&(dh(o),o=null)}function I(e){M();var t=D(e),n=e.filter,i=e.format||{to:function(e){return String(Math.round(e))}};return o=p.appendChild(P(t,n,i))}function R(){var e=i.getBoundingClientRect(),n="offset"+["Width","Height"][t.ort];return 0===t.ort?e.width||i[n]:e.height||i[n]}function z(e,n,i,r){var a=function(a){var s,o,l=function(e,t,n){var i=0===e.type.indexOf("touch"),r=0===e.type.indexOf("mouse"),a=0===e.type.indexOf("pointer"),s=0,o=0;0===e.type.indexOf("MSPointer")&&(a=!0);if("mousedown"===e.type&&!e.buttons&&!e.touches)return!1;if(i){var l=function(t){var i=t.target;return i===n||n.contains(i)||e.composed&&e.composedPath().shift()===n};if("touchstart"===e.type){var c=Array.prototype.filter.call(e.touches,l);if(c.length>1)return!1;s=c[0].pageX,o=c[0].pageY}else{var d=Array.prototype.find.call(e.changedTouches,l);if(!d)return!1;s=d.pageX,o=d.pageY}}t=t||_h(_),(r||a)&&(s=e.clientX+t.x,o=e.clientY+t.y);return e.pageOffset=t,e.points=[s,o],e.cursor=r||a,e}(a,r.pageOffset,r.target||n);return!!l&&(!(T()&&!r.doNotReject)&&(s=p,o=t.cssClasses.tap,!((s.classList?s.classList.contains(o):new RegExp("\\b"+o+"\\b").test(s.className))&&!r.doNotReject)&&(!(e===d.start&&void 0!==l.buttons&&l.buttons>1)&&((!r.hover||!l.buttons)&&(u||l.preventDefault(),l.calcPoint=l.points[t.ort],void i(l,r))))))},s=[];return e.split(" ").forEach(function(e){n.addEventListener(e,a,!!u&&{passive:!0}),s.push([e,a])}),s}function F(e){var n,r,a,s,o,l,c=100*(e-(n=i,r=t.ort,a=n.getBoundingClientRect(),s=n.ownerDocument,o=s.documentElement,l=_h(s),/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(l.x=0),r?a.top+l.y-o.clientTop:a.left+l.x-o.clientLeft))/R();return c=mh(c),t.dir?100-c:c}function B(e,t){"mouseout"===e.type&&"HTML"===e.target.nodeName&&null===e.relatedTarget&&V(e,t)}function H(e,n){if(-1===navigator.appVersion.indexOf("MSIE 9")&&0===e.buttons&&0!==n.buttonsProperty)return V(e,n);var i=(t.dir?-1:1)*(e.calcPoint-n.startCalcPoint);Z(i>0,100*i/n.baseSize,n.locations,n.handleNumbers,n.connect)}function V(e,n){n.handle&&(bh(n.handle,t.cssClasses.active),g-=1),n.listeners.forEach(function(e){x.removeEventListener(e[0],e[1])}),0===g&&(bh(p,t.cssClasses.drag),te(),e.cursor&&(w.style.cursor="",w.removeEventListener("selectstart",ph))),t.events.smoothSteps&&(n.handleNumbers.forEach(function(e){ne(e,m[e],!0,!0,!1,!1)}),n.handleNumbers.forEach(function(e){X("update",e)})),n.handleNumbers.forEach(function(e){X("change",e),X("set",e),X("end",e)})}function U(e,n){if(!n.handleNumbers.some(A)){var i;if(1===n.handleNumbers.length)i=a[n.handleNumbers[0]].children[0],g+=1,yh(i,t.cssClasses.active);e.stopPropagation();var r=[],s=z(d.move,x,H,{target:e.target,handle:i,connect:n.connect,listeners:r,startCalcPoint:e.calcPoint,baseSize:R(),pageOffset:e.pageOffset,handleNumbers:n.handleNumbers,buttonsProperty:e.buttons,locations:m.slice()}),o=z(d.end,x,V,{target:e.target,handle:i,listeners:r,doNotReject:!0,handleNumbers:n.handleNumbers}),l=z("mouseout",x,B,{target:e.target,handle:i,listeners:r,doNotReject:!0,handleNumbers:n.handleNumbers});r.push.apply(r,s.concat(o,l)),e.cursor&&(w.style.cursor=getComputedStyle(e.target).cursor,a.length>1&&yh(p,t.cssClasses.drag),w.addEventListener("selectstart",ph,!1)),n.handleNumbers.forEach(function(e){X("start",e)})}}function q(e){e.stopPropagation();var n=F(e.calcPoint),i=function(e){var t=100,n=!1;return a.forEach(function(i,r){if(!A(r)){var a=m[r],s=Math.abs(a-e);(s<t||s<=t&&e>a||100===s&&100===t)&&(n=r,t=s)}}),n}(n);!1!==i&&(t.events.snap||fh(p,t.cssClasses.tap,t.animationDuration),ne(i,n,!0,!0),te(),X("slide",i,!0),X("update",i,!0),t.events.snap?U(e,{handleNumbers:[i]}):(X("change",i,!0),X("set",i,!0)))}function $(e){var t=F(e.calcPoint),n=h.getStep(t),i=h.fromStepping(n);Object.keys(y).forEach(function(e){"hover"===e.split(".")[0]&&y[e].forEach(function(e){e.call(ce,i)})})}function W(e){e.fixed||a.forEach(function(e,t){z(d.start,e.children[0],U,{handleNumbers:[t]})}),e.tap&&z(d.start,i,q,{}),e.hover&&z(d.move,i,$,{hover:!0}),e.drag&&s.forEach(function(n,i){if(!1!==n&&0!==i&&i!==s.length-1){var r=a[i-1],o=a[i],l=[n],c=[r,o],u=[i-1,i];yh(n,t.cssClasses.draggable),e.fixed&&(l.push(r.children[0]),l.push(o.children[0])),e.dragAll&&(c=a,u=v),l.forEach(function(e){z(d.start,e,U,{handles:c,handleNumbers:u,connect:n})})}})}function G(e,t){y[e]=y[e]||[],y[e].push(t),"update"===e.split(".")[0]&&a.forEach(function(e,t){X("update",t)})}function Y(e){var t=e&&e.split(".")[0],n=t?e.substring(t.length):e;Object.keys(y).forEach(function(e){var i=e.split(".")[0],r=e.substring(i.length);t&&t!==i||n&&n!==r||function(e){return e===Oh||e===Ah}(r)&&n!==r||delete y[e]})}function X(e,n,i){Object.keys(y).forEach(function(r){var a=r.split(".")[0];e===a&&y[r].forEach(function(e){e.call(ce,f.map(t.format.to),n,f.slice(),i||!1,m.slice(),ce)})})}function K(e,n,i,r,s,o,l){var c;return a.length>1&&!t.events.unconstrained&&(r&&n>0&&(c=h.getAbsoluteDistance(e[n-1],t.margin,!1),i=Math.max(i,c)),s&&n<a.length-1&&(c=h.getAbsoluteDistance(e[n+1],t.margin,!0),i=Math.min(i,c))),a.length>1&&t.limit&&(r&&n>0&&(c=h.getAbsoluteDistance(e[n-1],t.limit,!1),i=Math.min(i,c)),s&&n<a.length-1&&(c=h.getAbsoluteDistance(e[n+1],t.limit,!0),i=Math.max(i,c))),t.padding&&(0===n&&(c=h.getAbsoluteDistance(0,t.padding[0],!1),i=Math.max(i,c)),n===a.length-1&&(c=h.getAbsoluteDistance(100,t.padding[1],!0),i=Math.min(i,c))),l||(i=h.getStep(i)),!((i=mh(i))===e[n]&&!o)&&i}function J(e,n){var i=t.ort;return(i?n:e)+", "+(i?e:n)}function Z(e,n,i,r,a){var s=i.slice(),o=r[0],l=t.events.smoothSteps,c=[!e,e],d=[e,!e];r=r.slice(),e&&r.reverse(),r.length>1?r.forEach(function(e,t){var i=K(s,e,s[e]+n,c[t],d[t],!1,l);!1===i?n=0:(n=i-s[e],s[e]=i)}):c=d=[!0];var u=!1;r.forEach(function(e,t){u=ne(e,i[e]+n,c[t],d[t],!1,l)||u}),u&&(r.forEach(function(e){X("update",e),X("slide",e)}),null!=a&&X("drag",o))}function Q(e,n){return t.dir?100-e-n:e}function ee(e,n){m[e]=n,f[e]=h.fromStepping(n);var i="translate("+J(Q(n,0)-S+"%","0")+")";if(a[e].style[t.transformRule]=i,t.events.invertConnects&&m.length>1){var r=m.every(function(e,t,n){return 0===t||e>=n[t-1]});if(b!==!r)return b=!b,Bh(t,t.connect.map(function(e){return!e})),void le()}ie(e),ie(e+1),b&&(ie(e-1),ie(e+2))}function te(){v.forEach(function(e){var t=m[e]>50?-1:1,n=3+(a.length+t*e);a[e].style.zIndex=String(n)})}function ne(e,t,n,i,r,a){return r||(t=K(m,e,t,n,i,!1,a)),!1!==t&&(ee(e,t),!0)}function ie(e){if(s[e]){var n=m.slice();b&&n.sort(function(e,t){return e-t});var i=0,r=100;0!==e&&(i=n[e-1]),e!==s.length-1&&(r=n[e]);var a=r-i,o="translate("+J(Q(i,a)+"%","0")+")",l="scale("+J(a/100,"1")+")";s[e].style[t.transformRule]=o+" "+l}}function re(e,n){return null===e||!1===e||void 0===e?m[n]:("number"==typeof e&&(e=String(e)),!1!==(e=t.format.from(e))&&(e=h.toStepping(e)),!1===e||isNaN(e)?m[n]:e)}function ae(e,n,i){var r=vh(e),a=void 0===m[0];n=void 0===n||n,t.animate&&!a&&fh(p,t.cssClasses.tap,t.animationDuration),v.forEach(function(e){ne(e,re(r[e],e),!0,!1,i)});var s=1===v.length?0:1;if(a&&h.hasNoSize()&&(i=!0,m[0]=0,v.length>1)){var o=100/(v.length-1);v.forEach(function(e){m[e]=e*o})}for(;s<v.length;++s)v.forEach(function(e){ne(e,m[e],!0,!0,i)});te(),v.forEach(function(e){X("update",e),null!==r[e]&&n&&X("set",e)})}function se(e){if(void 0===e&&(e=!1),e)return 1===f.length?f[0]:f.slice(0);var n=f.map(t.format.to);return 1===n.length?n[0]:n}function oe(e){var n=m[e],i=h.getNearbySteps(n),r=f[e],a=i.thisStep.step,s=null;if(t.snap)return[r-i.stepBefore.startValue||null,i.stepAfter.startValue-r||null];!1!==a&&r+a>i.stepAfter.startValue&&(a=i.stepAfter.startValue-r),s=r>i.thisStep.startValue?i.thisStep.step:!1!==i.stepBefore.step&&r-i.stepBefore.highestStep,100===n?a=null:0===n&&(s=null);var o=h.countStepDecimals();return null!==a&&!1!==a&&(a=Number(a.toFixed(o))),null!==s&&!1!==s&&(s=Number(s.toFixed(o))),[s,a]}function le(){for(;r.firstChild;)r.removeChild(r.firstChild);for(var e=0;e<=t.handles;e++)s[e]=N(r,t.connect[e]),ie(e);W({drag:t.events.drag,fixed:!0})}yh(c=p,t.cssClasses.target),0===t.dir?yh(c,t.cssClasses.ltr):yh(c,t.cssClasses.rtl),0===t.ort?yh(c,t.cssClasses.horizontal):yh(c,t.cssClasses.vertical),yh(c,"rtl"===getComputedStyle(c).direction?t.cssClasses.textDirectionRtl:t.cssClasses.textDirectionLtr),i=k(c,t.cssClasses.base),function(e,n){r=k(n,t.cssClasses.connects),a=[],(s=[]).push(N(r,e[0]));for(var i=0;i<t.handles;i++)a.push(E(n,i)),v[i]=i,s.push(N(r,e[i+1]))}(t.connect,i),W(t.events),ae(t.start),t.pips&&I(t.pips),t.tooltips&&j(),Y("update"+Oh),G("update"+Oh,function(e,n,i,r,s){v.forEach(function(e){var n=a[e],r=K(m,e,0,!0,!0,!0),o=K(m,e,100,!0,!0,!0),l=s[e],c=String(t.ariaFormat.to(i[e]));r=h.fromStepping(r).toFixed(1),o=h.fromStepping(o).toFixed(1),l=h.fromStepping(l).toFixed(1),n.children[0].setAttribute("aria-valuemin",r),n.children[0].setAttribute("aria-valuemax",o),n.children[0].setAttribute("aria-valuenow",l),n.children[0].setAttribute("aria-valuetext",c)})});var ce={destroy:function(){for(Y(Oh),Y(Ah),Object.keys(t.cssClasses).forEach(function(e){bh(p,t.cssClasses[e])});p.firstChild;)p.removeChild(p.firstChild);delete p.noUiSlider},steps:function(){return v.map(oe)},on:G,off:Y,get:se,set:ae,setHandle:function(e,t,n,i){if(!((e=Number(e))>=0&&e<v.length))throw new Error("noUiSlider: invalid handle number, got: "+e);ne(e,re(t,e),!0,!0,i),X("update",e),n&&X("set",e)},reset:function(e){ae(t.start,e)},disable:function(e){null!=e?(a[e].setAttribute("disabled",""),a[e].handle.removeAttribute("tabindex")):(p.setAttribute("disabled",""),a.forEach(function(e){e.handle.removeAttribute("tabindex")}))},enable:function(e){null!=e?(a[e].removeAttribute("disabled"),a[e].handle.setAttribute("tabindex","0")):(p.removeAttribute("disabled"),a.forEach(function(e){e.removeAttribute("disabled"),e.handle.setAttribute("tabindex","0")}))},__moveHandles:function(e,t,n){Z(e,t,m,n)},options:n,updateOptions:function(e,i){var r=se(),a=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips","connect"];a.forEach(function(t){void 0!==e[t]&&(n[t]=e[t])});var s=tf(n);a.forEach(function(n){void 0!==e[n]&&(t[n]=s[n])}),h=s.spectrum,t.margin=s.margin,t.limit=s.limit,t.padding=s.padding,t.pips?I(t.pips):M(),t.tooltips?j():O(),m=[],ae(uh(e.start)?e.start:r,i),e.connect&&le()},target:p,removePips:M,removeTooltips:O,getPositions:function(){return m.slice()},getTooltips:function(){return l},getOrigins:function(){return a},pips:I};return ce}var rf={__spectrum:Nh,cssClasses:Th,create:function(e,t){if(!e||!e.nodeName)throw new Error("noUiSlider: create requires a single element, got: "+e);if(e.noUiSlider)throw new Error("noUiSlider: Slider was already initialized.");var n=nf(e,tf(t),t);return e.noUiSlider=n,n}},af={start:[0],connect:!1,range:{min:0,max:100},cssPrefix:"range-slider",cssClasses:{target:"__target",base:"__base",origin:"__origin",handle:"__handle",handleLower:"__handle--lower",handleUpper:"__handle--upper",touchArea:"__touch-area",horizontal:"--horizontal",vertical:"--vertical",background:"__background",connect:"__connect",connects:"__connects",ltr:"--ltr",rtl:"--rtl",draggable:"--draggable",drag:"--state-drag",tap:"--state-tap",active:"--active",tooltip:"__tooltip",pips:"__pips",pipsHorizontal:"__pips--horizontal",pipsVertical:"__pips--vertical",marker:"__marker",markerHorizontal:"__marker--horizontal",markerVertical:"__marker--vertical",markerNormal:"__marker--normal",markerLarge:"__marker--large",markerSub:"__marker--sub",value:"__value",valueHorizontal:"__value--horizontal",valueVertical:"__value--vertical",valueNormal:"__value--normal",valueLarge:"__value--large",valueSub:"__value--sub"},format:{decimals:0}},sf=function(){return g(function e(t,n){var i=this;return m(this,e),y(this,"handleSliderUpdate",function(e,t){var n=e[t];if(i.inputs[t]&&(i.inputs[t].value=n),i.outputs[t]){var r=i.outputs[t];r&&r.format?r.element.innerText=r.format.to(i.config.format.from(n)):r&&(r.element.innerText=n)}}),this.element=t,this.config=_(_({},af),n),this.inputs=[],this.outputs=[],this.handleSliderUpdate=this.handleSliderUpdate.bind(this),this.element.ODS_RangeSlider=this,this.init(),this},[{key:"init",value:function(){var e,t=this,n=this.element.getAttribute("data-rangeslider-config"),i={};if(n)try{i=JSON.parse(n)}catch(e){}(this.config=_(_({},this.config),i),this.config.format=dt(this.config.format),this.element.noUiSlider)&&(this.element.noUiSlider=void 0,null!==(e=this.instance)&&void 0!==e&&e.destroy&&this.instance.destroy());if(!this.config.range)throw new Error("RangeSlider config must include 'range'.");this.instance=rf.create(this.element,this.config),this.inputs=Array.from(document.querySelectorAll("input[name^=".concat(this.element.getAttribute("id"),"-]"))),this.outputs=this.inputs.map(function(e){var t=document.getElementById("".concat(e.getAttribute("id"),"-output"));if(t){var n=t.getAttribute("data-format");return{element:t,format:t.hasAttribute("data-format")&&n?dt(JSON.parse(n)):void 0}}return!1}),this.instance.on("update",function(e,n){t.handleSliderUpdate(e.map(String),n)})}},{key:"update",value:function(){var e;null===(e=this.instance)||void 0===e||e.destroy(),this.init()}},{key:"destroy",value:function(){var e,t;null===(e=this.instance)||void 0===e||e.off("update"),null===(t=this.instance)||void 0===t||t.destroy(),this.element.ODS_RangeSlider=null}}],[{key:"getInstance",value:function(e){return e&&e.ODS_RangeSlider?e.ODS_RangeSlider:null}}])}(),of=["className","id","hasDataAttr","config","elementBefore","elementAfter","width"],lf="range-slider",cf=!0,df="default",uf=function(e){var t=e.className,n=e.id,i=e.hasDataAttr,r=void 0===i?cf:i,a=e.config,s=e.elementBefore,o=e.elementAfter,l=e.width,c=void 0===l?df:l,d=x(e,of),u=k(W(sf),1)[0],p=Y(n),h=P(lf,y({},"".concat(lf,"--").concat(c),c!==df),t);return ie.jsxs(ie.Fragment,{children:[s,ie.jsx("div",_({id:p,className:h,ref:u,"data-rangeslider":r,"data-rangeslider-config":JSON.stringify(a)},d)),a.start.map(function(e,t){var n="".concat(p,"-").concat(t);return ie.jsx("input",{type:"hidden",id:n,name:n},n)}),o]})};uf.displayName="RangeSlider";var pf=["children","className","id","isDisabled","isInvalid","isValid","isReadonly","placeholder","size","width","name"],hf="textarea",ff="default",mf="default",vf=function(e){var t=e.children,n=e.className,i=e.id,r=e.isDisabled,a=e.isInvalid,s=e.isValid,o=e.isReadonly,l=e.placeholder,c=e.size,d=void 0===c?ff:c,u=e.width,p=void 0===u?mf:u,h=e.name,f=x(e,pf),m=P(hf,y(y({"is-invalid":a,"is-valid":s},"".concat(hf,"--").concat(d),d!==ff),"".concat(hf,"--").concat(p),p!==mf),n),v=h||i;return ie.jsx("textarea",_(_({className:m,id:i,name:v,disabled:r,readOnly:o,placeholder:l},f),{},{children:t}))};vf.displayName="TextArea";var gf={nonEditableInput:!1,min:1,max:999,defaultValue:1},yf=function(){return g(function e(t,n){m(this,e),this.element=t,this.config=_(_({},gf),n),this.input=null,this.numberDisplay=null,this.add=null,this.remove=null,this.element.ODS_InputStepper=this,this.handleButtonClick=this.handleButtonClick.bind(this),this.handleInputClick=this.handleInputClick.bind(this),this.handleInputChange=this.handleInputChange.bind(this),this.handleButtonState=this.handleButtonState.bind(this),this.init()},[{key:"handleInputClick",value:function(){this.input&&this.input.select()}},{key:"handleButtonState",value:function(){var e,t,n,i,r=this.config,a=r.min,s=r.max,o=this.config.nonEditableInput?parseInt(null!==(n=null===(i=this.numberDisplay)||void 0===i?void 0:i.textContent)&&void 0!==n?n:"0",10):parseInt(null!==(e=null===(t=this.input)||void 0===t?void 0:t.value)&&void 0!==e?e:"0",10);this.add&&"number"==typeof s&&o>=s?(this.add.setAttribute("aria-disabled","true"),this.add.setAttribute("disabled","true")):this.add&&(this.add.removeAttribute("aria-disabled"),this.add.removeAttribute("disabled")),this.remove&&"number"==typeof a&&o<=a?(this.remove.setAttribute("aria-disabled","true"),this.remove.setAttribute("disabled","true")):this.remove&&(this.remove.removeAttribute("aria-disabled"),this.remove.removeAttribute("disabled"))}},{key:"handleInputChange",value:function(e){var t=this.config,n=t.min,i=t.max,r=e.target;r&&(n&&Number(r.value)<=n&&(r.value=String(n)),i&&Number(r.value)>=i&&(r.value=String(i)))}},{key:"handleButtonClick",value:function(e){var t,n,i,r,a=this.config,s=a.min,o=a.max,l=e.target,c=this.config.nonEditableInput?parseInt(null!==(i=null===(r=this.numberDisplay)||void 0===r?void 0:r.textContent)&&void 0!==i?i:"0",10):parseInt(null!==(t=null===(n=this.input)||void 0===n?void 0:n.value)&&void 0!==t?t:"0",10);if(l.classList.contains("input-stepper__button--minus")){if(s&&c<=s){if("true"===l.getAttribute("disabled"))return;return l.setAttribute("aria-disabled","true"),void l.setAttribute("disabled","true")}c-=1}if(l.classList.contains("input-stepper__button--plus")){if(o&&c>=o){if("true"===l.getAttribute("disabled"))return;return l.setAttribute("aria-disabled","true"),void l.setAttribute("disabled","true")}c+=1}!this.config.nonEditableInput&&this.input?this.input.value=String(c):this.numberDisplay&&(this.numberDisplay.textContent=String(c)),this.handleButtonState()}},{key:"init",value:function(){var e=this.element.getAttribute("data-inputstepper"),t={};try{e&&e.trim().startsWith("{")&&(t=JSON.parse(e))}catch(e){t={}}this.config=_(_({},this.config),t),this.config.nonEditableInput?(this.numberDisplay=this.element.querySelector(".input-stepper__number"),this.numberDisplay&&(this.numberDisplay.textContent=String(this.config.defaultValue))):(this.input=this.element.querySelector(".input-stepper__field"),this.input&&(this.input.value=String(this.config.defaultValue))),this.add=this.element.querySelector(".input-stepper__button--plus"),this.remove=this.element.querySelector(".input-stepper__button--minus");var n=this.config.defaultValue;void 0!==n&&(!this.config.nonEditableInput&&this.input?this.input.value=String(n):this.numberDisplay&&(this.numberDisplay.textContent=String(n))),this.element.classList.contains("input-stepper--disabled")||(this.add&&this.add.addEventListener("click",this.handleButtonClick),this.remove&&this.remove.addEventListener("click",this.handleButtonClick),!this.config.nonEditableInput&&this.input&&(this.input.addEventListener("click",this.handleInputClick),this.input.addEventListener("change",this.handleInputChange)),this.handleButtonState())}},{key:"update",value:function(){this.destroy(),this.init()}},{key:"destroy",value:function(){!this.config.nonEditableInput&&this.input&&(this.input.removeEventListener("click",this.handleInputClick),this.input.removeEventListener("change",this.handleInputChange)),this.add&&this.add.removeEventListener("click",this.handleButtonClick),this.remove&&this.remove.removeEventListener("click",this.handleButtonClick)}}],[{key:"getInstance",value:function(e){return e&&e.ODS_InputStepper?e.ODS_InputStepper:null}}])}(),bf=["className","inputClassName","id","config","isDisabled","colorScheme","nonEditableInput"],_f=["name"],xf="input-stepper",wf=function(e){var t=e.className,n=e.inputClassName,i=e.id,r=e.config,a=e.isDisabled,s=e.colorScheme,o=e.nonEditableInput,l=void 0!==o&&o,c=x(e,bf),d=k(W(yf,{nonEditableInput:l}),1)[0],u=c.name,p=void 0===u?i:u,h=x(c,_f),f=P("".concat(xf,"__field"),n);return ie.jsxs("div",_(_({className:P(xf,t,y({"is-dark":"dark"===s,"is-light":"light"===s},"".concat(xf,"--disabled"),a)),ref:d,"data-inputstepper":!r||JSON.stringify(r)},h),{},{children:[ie.jsx("button",{disabled:a,className:"".concat(xf,"__button ").concat(xf,"__button--minus"),"aria-label":"znížiť počet"}),l||null!=r&&r.nonEditableInput?ie.jsx("p",{id:i,className:"".concat(xf,"__number")}):ie.jsx(Xp,{className:f,id:i,name:p,disabled:a,htmlType:"number",inputMode:"numeric"}),ie.jsx("button",{disabled:a,className:"".concat(xf,"__button ").concat(xf,"__button--plus"),"aria-label":"zvýšiť počet"})]}))};wf.displayName="InputStepper";var Sf=["type","control","renderControl"],kf=Lu(function(){return Promise.resolve().then(function(){return dc}).then(function(e){return{default:e.Autocomplete}})}),Ef="form-field__control",Nf=function(t){var n,i,r,a,s,o=t.className,l=e.useContext(su),c=e.useContext(gu),d=null!==(n=null==l?void 0:l.controlId)&&void 0!==n?n:"",u=null!==(i=null==l?void 0:l.control)&&void 0!==i?i:{},p=null==l?void 0:l.isRadioCheck,h=null==l?void 0:l.hint,f=null!==(r=null==l?void 0:l.messages)&&void 0!==r?r:[],m=null==l?void 0:l.tooltip,v=null!==(a=null==c?void 0:c.messages)&&void 0!==a?a:[],g=u.type,b=u.control,w=u.renderControl,S=x(u,Sf),k=function(e,t,n,i){return[].concat(E(e?["".concat(i,"-hint")]:[]),E(t.map(function(e,t){return"".concat(i,"-message-").concat(t)})),E(n?["".concat(i,"-tooltip")]:[])).join(" ")}(h,f,m,d),N=p||"autocomplete"===g,C=function(e){switch(g){case"autocomplete":return ie.jsx(kf,_({},e));case"checkbox":return ie.jsx(fc,_({},e));case"datepicker":return ie.jsx(iu,_({},e));case"file":return ie.jsx(Up,_({},e));case"group":return ie.jsx(nh,_({},e));case"radio":return ie.jsx(lh,_({},e));case"range":return ie.jsx(uf,_({},e));case"select":return ie.jsx(ec,_({},e));case"input-stepper":return ie.jsx(wf,_({},e));case"textarea":return ie.jsx(vf,_({},e));default:return ie.jsx(Xp,_({},e))}},T=S.isInvalid,A=S.isValid,O=null!=T?T:(v.some(function(e){return e.isMain})||f.some(function(e){return"error"===e.type}))&&!A,j=(s=_(_(_({id:d},k.length&&{"aria-describedby":k}),"file"===g&&{"aria-labelledby":"".concat(d,"-label")}),"text"===g?{isInvalid:O}:{}),"group"===g&&(s={control:_(_({type:g},b),s)}),_(_({},S),s));return w?w(j):ie.jsx(xe,{condition:N,wrapper:ie.jsx("div",{className:P(Ef,o)}),children:ie.jsx(C,_(_({},j),{},{className:P(S.className,y({},"".concat(Ef),!N))}))})},Cf=["className","children"],Tf=function(e){var t=e.className,n=e.children,i=x(e,Cf);return n?ie.jsx("p",_(_({className:P("hint",t)},i),{},{children:n})):null};Tf.displayName="Hint";var Af=function(t){var n,i=t.hideLabel,r=void 0!==i&&i,a=t.children,s=e.useContext(su),o=null!==(n=null==s?void 0:s.controlId)&&void 0!==n?n:"",l=null==s?void 0:s.tooltip,c=null==s?void 0:s.hint;return ie.jsxs("div",{className:"form-field__description",children:[r?null:ie.jsxs(ie.Fragment,{children:[ie.jsx(lu,{}),ie.jsx(du,{id:o,children:l})]}),ie.jsx(Tf,{id:"".concat(o,"-hint"),className:"form-field__hint",children:c}),a]})},Of=["className","control","hint","label","labelAfter","messages","tooltip"],jf="form-field",Lf=function(e){var t,n=e.className,i=e.control,r=e.hint,a=e.label,s=e.labelAfter,o=e.messages,l=void 0===o?[]:o,c=e.tooltip,d=x(e,Of),u=["radio","checkbox"].includes(null!==(t=null==i?void 0:i.type)&&void 0!==t?t:""),p="checkbox"===(null==i?void 0:i.type)&&(null==i?void 0:i.isToggle),h=P(jf,n,y({},"".concat(jf,"--radiocheck"),u)),f=function(e){var t,n=e.id,i=e.control;return null!==(t=null!=n?n:i&&i.id)&&void 0!==t?t:$()}(null!=i?i:{}),m={control:i,hint:r,label:a,labelAfter:s,messages:l,tooltip:c,controlId:f,isRadioCheck:u};return ie.jsx("div",_(_({className:h},d),{},{children:ie.jsx(su.Provider,{value:m,children:u?p?ie.jsx(ie.Fragment,{children:ie.jsxs(qe,{space:"small",children:[ie.jsx(Ge,{children:ie.jsxs(qe,{canWrap:!1,children:[ie.jsx(Ge,{children:ie.jsx(Nf,{className:"mr-none"})}),ie.jsxs(Ge,{canShrink:!0,children:[ie.jsx(lu,{}),ie.jsx(du,{id:f,children:c})]})]})}),ie.jsx(Xe,{}),ie.jsx(Ge,{className:"mt-none",children:ie.jsx(Af,{hideLabel:!0,children:ie.jsx(yu,{})})})]})}):ie.jsxs(ie.Fragment,{children:[ie.jsx(Nf,{}),ie.jsx(Af,{children:ie.jsx(yu,{})})]}):ie.jsxs(ie.Fragment,{children:[ie.jsx(Af,{}),ie.jsx(Nf,{}),ie.jsx(yu,{})]})})}))};Lf.displayName="Field";var Df=["legend","legendProps","description","className","children","messages"],Pf=function(e){var t=e.legend,n=e.legendProps,i=e.description,r=e.className,a=e.children,s=e.messages,o=x(e,Df),l=P("fieldset",r);return ie.jsxs("fieldset",_(_({className:l},o),{},{children:[ie.jsx("legend",_(_({},n),{},{children:t})),i,s?ie.jsxs(gu.Provider,{value:{messages:s},children:[ie.jsx(yu,{isMain:!0}),a,ie.jsx(yu,{})]}):a]}))};Pf.displayName="Fieldset";var Mf=["className"],If=function(e){var t=e.className,n=x(e,Mf),i=P("skeleton",t);return ie.jsx("span",_(_({className:i},n),{},{children:""}))};If.displayName="Skeleton";var Rf=["className","children","size","color","colorScheme"],zf="pill",Ff=function(e){var t=e.className,n=e.children,i=e.size,r=e.color,a=e.colorScheme,s=x(e,Rf);return ie.jsx("span",_(_({className:P(zf,y(y(y(y({},"".concat(zf,"--").concat(r),r),"is-light","light"===a),"is-dark","dark"===a),zf+"--"+i,i),t)},s),{},{children:n}))};Ff.displayName="Pill";var Bf=["showTitlesFrom","steps","label","colorScheme","className"],Hf="stepbar",Vf=function(e){var t=e.showTitlesFrom,n=e.steps,i=e.label,r=void 0===i?"krok":i,a=e.colorScheme,s=e.className,o=x(e,Bf),l=n.findIndex(function(e){return e.isCurrent}),c=function(e,n){var i="".concat(n+1,". ").concat(e.title);return n<l?ie.jsx("a",{href:e.href,className:P("".concat(Hf,"__link"),y({},"".concat(Hf,"__title-").concat(t),t)),children:i}):ie.jsx("span",{"aria-current":n===l?"step":void 0,className:t?"stepbar__title-".concat(t):"",children:i})};return ie.jsx("nav",_(_({className:P(Hf,y({"is-dark":"dark"===a,"is-light":"light"===a},"".concat(Hf,"--wide-").concat(t),t),s),"aria-label":r},o),{},{children:ie.jsx("ol",{className:"".concat(Hf,"__list"),children:n.map(function(e,t){return ie.jsx("li",{className:P("".concat(Hf,"__item"),y({},"".concat(Hf,"__item--current"),t===l)),children:c(e,t)},t.toString())})})}))};Vf.displayName="Stepbar";var Uf=["href","children","className","controls","isDisabled","isActive"],qf=function(e){var t=e.href,n=e.children,i=e.className,r=e.controls,a=e.isDisabled,s=e.isActive,o=x(e,Uf),l=P("tab-list__tab",i),c=s?0:-1,d=t?"a":"button";return ie.jsx("li",{className:"tab-list__item",role:"presentation",children:ie.jsx(d,_(_({type:t?void 0:"button",role:t?void 0:"tab",href:t,className:l,"aria-selected":s,"aria-controls":r||void 0,tabIndex:c,"aria-disabled":a},o),{},{children:n}))})};qf.displayName="Tab";var $f={tabSelector:'[role="tab"]'},Wf=function(){return g(function e(t,n){return m(this,e),y(this,"isActive",function(e){return!!e&&!e.hasAttribute("hidden")}),y(this,"isSelected",function(e){return"true"===e.getAttribute("aria-selected")}),this.element=t,this.config=_(_({},$f),n),this.tabs=[],this.tabPanels=[],this.activeTabIndex=null,this.rovingTabindex=null,this.handleClick=this.handleClick.bind(this),this.handleTabFocus=this.handleTabFocus.bind(this),this.element.ODS_Tabs=this,this.init(),this},[{key:"init",value:function(){var e=this;this.tabs=Array.from(this.element.querySelectorAll(this.config.tabSelector)),this.tabs.map(function(t,n){var i=t.getAttribute("aria-controls");return e.tabPanels.push(i?document.getElementById(i):null),t.addEventListener("click",e.handleClick),t.addEventListener("focus",e.handleTabFocus),e.isSelected(t)&&(e.activeTabIndex=n),t}),this.rovingTabindex?this.rovingTabindex.update(this.tabs):this.rovingTabindex=new I(this.tabs,{direction:"any"}),null!==this.activeTabIndex?this.toggleTabPanel(this.tabPanels[this.activeTabIndex],"on"):this.tabs.length>0&&this.activateNthTab(0)}},{key:"destroy",value:function(){var e=this;this.tabs.map(function(t){return t.removeEventListener("click",e.handleClick),t.removeEventListener("focus",e.handleTabFocus),t}),this.tabs=[],this.tabPanels=[],this.rovingTabindex&&this.rovingTabindex.destroy(),this.element.ODS_Tabs=null}},{key:"update",value:function(){this.destroy(),this.init()}},{key:"handleClick",value:function(e){var t=this,n=e.currentTarget;n.hasAttribute("aria-disabled")?e.preventDefault():(this.tabs.map(function(e,i){return e===n?(t.activeTabIndex=i,t.toggleTab(e,"on")):t.toggleTab(e,"off")}),this.tabPanels.map(function(e){return e&&e.getAttribute("id")===n.getAttribute("aria-controls")?t.toggleTabPanel(e,"on"):t.toggleTabPanel(e,"off")}))}},{key:"toggleTab",value:function(e,t){var n=this.isSelected(e);"on"!==t||n||(e.setAttribute("aria-selected","true"),e.setAttribute("tabindex","0")),"off"===t&&n&&(e.setAttribute("aria-selected","false"),e.setAttribute("tabindex","-1"))}},{key:"toggleTabPanel",value:function(e,t){if(e){var n=this.isActive(e);"on"!==t||n||e.removeAttribute("hidden"),"off"===t&&n&&e.setAttribute("hidden","")}}},{key:"activateNthTab",value:function(e){var t=this;this.tabs.map(function(n,i){return i===e?(t.activeTabIndex=i,t.toggleTab(n,"on")):t.toggleTab(n,"off")}),this.tabPanels.map(function(n,i){return i===e?t.toggleTabPanel(n,"on"):t.toggleTabPanel(n,"off")})}},{key:"handleTabFocus",value:function(){this.rovingTabindex&&!this.rovingTabindex.isActive&&this.rovingTabindex.init()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Tabs?e.ODS_Tabs:null}}])}(),Gf=["activeTabIndex","className","classesTabNav","isFullWidth","isLink","hasEqualTabWidth","variant","children","colorScheme"],Yf=function(t){var n=t.activeTabIndex,i=void 0===n?0:n,r=t.className,a=t.classesTabNav,s=t.isFullWidth,o=t.isLink,l=t.hasEqualTabWidth,c=t.variant,d=void 0===c?"standard":c,u=t.children,p=t.colorScheme,h=x(t,Gf),f="tab-list",m=P(f,y({},"".concat(f,"--equal"),l),y({},"".concat(f,"--fullwidth"),s),y({},"".concat(f,"--light"),"light"===d),{"is-dark":"dark"===p},{"is-light":"light"===p},a,r),v=k(W(Wf),1)[0];return ie.jsxs(ie.Fragment,{children:[ie.jsxs("ul",_(_({className:m,role:o?"navigation":"tablist",ref:v,"data-tabs":o?void 0:"true"},h),{},{children:[u.filter(function(t){return t&&e.isValidElement(t)}).map(function(t,n){var r=n===i,a=t.props||{},s=a,o=s.renderTab,l=void 0===o?void 0:o,c=s.id,d=s.isDisabled,u=s.tab,p=s.href,h=c||"tab-".concat(n);if(!l)return ie.jsx(qf,{controls:p?"":h,href:p,isDisabled:d,isActive:r,children:u},h);var f=l(a);return e.cloneElement(f,{key:h,isActive:r})}),s&&ie.jsx("li",{role:"presentation",className:"tab-list__hr"})]})),o?null:u.filter(function(t){return t&&e.isValidElement(t)}).map(function(t,n){var r=n===i,a=(t.props||{}).id||"tab-".concat(n);return e.cloneElement(t,{key:a,isActive:r,tab:void 0})})]})};Yf.displayName="Tabs";var Xf=["children","isActive","id","href","isDisabled"],Kf=function(e){var t=e.children,n=e.isActive,i=e.id,r=e.href;e.isDisabled;var a=x(e,Xf),s=i||$();return ie.jsx("div",_(_({id:s,role:r?"":"tabpanel",tabIndex:0,hidden:!n},a),{},{children:t}))};Kf.displayName="TabPanel";var Jf=["className","children","variant","backgroundImage","vAlign","hAlign","color","space"],Zf="tile",Qf=function(e){var t=e.className,n=e.children,i=e.variant,r=e.backgroundImage,a=e.vAlign,s=e.hAlign,o=e.color,l=void 0===o?"default":o,c=e.space,d=x(e,Jf),u=P(Zf,y(y({},"".concat(Zf,"--").concat(i),i),"tile--".concat(l),"default"!==l),t),p=P("".concat(Zf,"__body"),a&&"justify-content-".concat(a),s&&"align-items-".concat(s),c&&"".concat(Zf,"__body--space-").concat(c)),h="action"===i?{name:"chevron-right",size:"medium",color:"orange"}:null;return ie.jsxs("div",_(_({className:u},d),{},{children:[ie.jsxs("div",{className:p,children:[h&&ie.jsx(de,_({},h)),n]}),r&&ie.jsx(Et,_(_({},r),{},{className:P("".concat(Zf,"__bg"),r.className)}))]}))};Qf.displayName="Tile";var em=["className","children","contentClass","bgPosition","bgSrc","size"],tm="cover",nm=function(e){var t=e.className,n=e.children,i=e.contentClass,r=e.bgPosition,a=void 0===r?"center":r,s=e.bgSrc,o=e.size,l=x(e,em),c=P(tm,y({},"".concat(tm,"--").concat(o),o),t),d=P("".concat(tm,"__content"),i),u=P("".concat(tm,"__image"),y({},"".concat(tm,"__image--").concat(a),"center"!==a));return ie.jsxs("div",{className:c,children:[n&&ie.jsx("div",{className:d,children:n}),ie.jsx(Et,_({src:s,className:u,alt:""},l))]})};nm.displayName="Cover";var im=["className","children","color","isDiv"],rm=function(e){var t=e.className,n=e.children,i=e.color,r=void 0===i?"default":i,a=e.isDiv,s=void 0!==a&&a,o=x(e,im),l=s?"div":"p",c=P("testimonial",y({},"testimonial--".concat(r),"orange"===r),t);return ie.jsx(l,_(_({className:c},o),{},{children:n}))};rm.displayName="Testimonial";var am={medium:{title:"h2",description:"bold"},large:{title:"h1",description:"large bold"}},sm=function(e){var t=e.button,n=e.colorScheme,i=e.description,r=e.hasGradientOverlay,a=e.image,s=e.hasFullwidthImage,o=e.price,l=e.sticker,c=e.title,d=e.textSize,u=void 0===d?"medium":d,p=!!a&&("src"in a&&!!a.src||"default"in a&&a.default&&1===Object.keys(a).length),h=P("hero",{"is-dark":"black"===n,"is-light":"white"===n,"is-gray":"gray"===n});return ie.jsx("div",{className:h,children:ie.jsx(Ae,{children:ie.jsxs(vt,{className:"justify-content-space-between",children:[ie.jsxs(bt,{size:{sm:10,md:9,lg:5},className:"hero__content",children:[ie.jsx("h1",{className:am[u].title,children:c}),i&&ie.jsx("p",{className:P(am[u].description,"hero__description"),children:i}),o&&ie.jsxs("p",{className:"h2 hero__price",children:["string"==typeof o&&o,"object"===C(o)&&ie.jsxs(ie.Fragment,{children:[o.prefix,ht(o.amount),o.suffix]})]}),t&&ie.jsx(wt,_({type:"primary",colorScheme:"light"},t))]}),l&&ie.jsx(bt,{size:{md:3,lg:2},className:"hero__content show-md",children:ie.jsx(dl,_(_({},l),{},{className:P("hero__sticker",l.className)}))}),a&&ie.jsx("div",{className:"hero__image-wrapper",children:ie.jsx(Et,{src:"src"in a?{default:a.src}:a,srcSet:"src"in a?a.srcSet:void 0,alt:"",className:P("hero__image",{"hero__image--fullwidth":s,"hero__image--single":p,"hero__image--gradient":r,"hero__image--gradient-halfwidth":r&&!s})})})]})})})};sm.displayName="Hero";var om=["icon","children","tooltip"],lm="icon-list",cm=function(e){var t=e.icon,n=e.children,i=e.tooltip,r=x(e,om);return ie.jsxs("li",_(_({},r),{},{children:[ie.jsx(de,{name:t,size:"medium",className:"".concat(lm,"__icon")}),ie.jsxs("div",{className:P("".concat(lm,"__content"),{"text-nowrap":i}),children:[ie.jsx(xe,{condition:!!i,wrapper:ie.jsx("span",{className:"".concat(lm,"__content-text"),children:n}),children:n}),i&&" ",i&&ie.jsx(os,{className:"bold",placement:"right",children:i})]})]}))};cm.displayName="IconListItem";var dm=["items","className"],um=["content"],pm=function(e){var t=e.items,n=void 0===t?[]:t,i=e.className,r=x(e,dm);return ie.jsx("ul",_(_({className:P("icon-list",i)},r),{},{children:n.map(function(e,t){var n=e.content,i=x(e,um);return ie.jsx(cm,_(_({},i),{},{children:n}),t.toString())})}))};pm.displayName="IconList";var hm,fm={exports:{}};var mm=(hm||(hm=1,function(e){!function(t,n){e.exports=n()}(window,function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=37)}([function(e,t,n){var i=n(1),r=n(6),a=n(7),s=n(16),o=n(18),l="prototype",c=function(e,t,n){var d,u,p,h,f=e&c.F,m=e&c.G,v=e&c.S,g=e&c.P,y=e&c.B,b=m?i:v?i[t]||(i[t]={}):(i[t]||{})[l],_=m?r:r[t]||(r[t]={}),x=_[l]||(_[l]={});for(d in m&&(n=t),n)p=((u=!f&&b&&void 0!==b[d])?b:n)[d],h=y&&u?o(p,i):g&&"function"==typeof p?o(Function.call,p):p,b&&s(b,d,p,e&c.U),_[d]!=p&&a(_,d,h),g&&x[d]!=p&&(x[d]=p)};i.core=r,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(4)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){n.r(t),n.d(t,"h",function(){return o}),n.d(t,"createElement",function(){return o}),n.d(t,"cloneElement",function(){return d}),n.d(t,"Component",function(){return P}),n.d(t,"render",function(){return M}),n.d(t,"rerender",function(){return f}),n.d(t,"options",function(){return r});var i=function(){},r={},a=[],s=[];function o(e,t){var n,o,l,c,d=s;for(c=arguments.length;2<c--;)a.push(arguments[c]);for(t&&null!=t.children&&(a.length||a.push(t.children),delete t.children);a.length;)if((o=a.pop())&&void 0!==o.pop)for(c=o.length;c--;)a.push(o[c]);else"boolean"==typeof o&&(o=null),(l="function"!=typeof e)&&(null==o?o="":"number"==typeof o?o=String(o):"string"!=typeof o&&(l=!1)),l&&n?d[d.length-1]+=o:d===s?d=[o]:d.push(o),n=l;var u=new i;return u.nodeName=e,u.children=d,u.attributes=null==t?void 0:t,u.key=null==t?void 0:t.key,void 0!==r.vnode&&r.vnode(u),u}function l(e,t){for(var n in t)e[n]=t[n];return e}var c="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout;function d(e,t){return o(e.nodeName,l(l({},e.attributes),t),2<arguments.length?[].slice.call(arguments,2):e.children)}var u=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,p=[];function h(e){!e._dirty&&(e._dirty=!0)&&1==p.push(e)&&(r.debounceRendering||c)(f)}function f(){var e,t=p;for(p=[];e=t.pop();)e._dirty&&L(e)}function m(e,t){return e.normalizedNodeName===t||e.nodeName.toLowerCase()===t.toLowerCase()}function v(e){var t=l({},e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(void 0!==n)for(var i in n)void 0===t[i]&&(t[i]=n[i]);return t}function g(e){var t=e.parentNode;t&&t.removeChild(e)}function y(e,t,n,i,r){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)n&&n(null),i&&i(e);else if("class"!==t||r)if("style"===t){if(i&&"string"!=typeof i&&"string"!=typeof n||(e.style.cssText=i||""),i&&"object"==typeof i){if("string"!=typeof n)for(var a in n)a in i||(e.style[a]="");for(var a in i)e.style[a]="number"==typeof i[a]&&!1===u.test(a)?i[a]+"px":i[a]}}else if("dangerouslySetInnerHTML"===t)i&&(e.innerHTML=i.__html||"");else if("o"==t[0]&&"n"==t[1]){var s=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),i?n||e.addEventListener(t,b,s):e.removeEventListener(t,b,s),(e._listeners||(e._listeners={}))[t]=i}else if("list"!==t&&"type"!==t&&!r&&t in e){try{e[t]=null==i?"":i}catch(e){}null!=i&&!1!==i||"spellcheck"==t||e.removeAttribute(t)}else{var o=r&&t!==(t=t.replace(/^xlink:?/,""));null==i||!1===i?o?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof i&&(o?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),i):e.setAttribute(t,i))}else e.className=i||""}function b(e){return this._listeners[e.type](r.event&&r.event(e)||e)}var _=[],x=0,w=!1,S=!1;function k(){for(var e;e=_.pop();)r.afterMount&&r.afterMount(e),e.componentDidMount&&e.componentDidMount()}function E(e,t,n,i,r){var a=e,s=w;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||r)?e.nodeValue!=t&&(e.nodeValue=t):(a=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(a,e),N(e,!0))),a.__preactattr_=!0,a;var o=t.nodeName;if("function"==typeof o)return function(e,t,n,i){for(var r=e&&e._component,a=r,s=e,o=r&&e._componentConstructor===t.nodeName,l=o,c=v(t);r&&!l&&(r=r._parentComponent);)l=r.constructor===t.nodeName;return r&&l&&(!i||r._component)?(j(r,c,3,n,i),e=r.base):(a&&!o&&(D(a),e=s=null),r=A(t.nodeName,c,n),e&&!r.nextBase&&(r.nextBase=e,s=null),j(r,c,1,n,i),e=r.base,s&&e!==s&&(s._component=null,N(s,!1))),e}(e,t,n,i);if(w="svg"===o||"foreignObject"!==o&&w,o=String(o),(!e||!m(e,o))&&(a=function(e,t){var n=t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return n.normalizedNodeName=e,n}(o,w),e)){for(;e.firstChild;)a.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(a,e),N(e,!0)}var l=a.firstChild,c=a.__preactattr_,d=t.children;if(null==c){c=a.__preactattr_={};for(var u=a.attributes,p=u.length;p--;)c[u[p].name]=u[p].value}return!S&&d&&1===d.length&&"string"==typeof d[0]&&null!=l&&void 0!==l.splitText&&null==l.nextSibling?l.nodeValue!=d[0]&&(l.nodeValue=d[0]):(d&&d.length||null!=l)&&function(e,t,n,i,r){var a,s,o,l,c,d,u,p,h=e.childNodes,f=[],v={},y=0,b=0,_=h.length,x=0,w=t?t.length:0;if(0!==_)for(var S=0;S<_;S++){var k=h[S],C=k.__preactattr_;null!=(T=w&&C?k._component?k._component.__key:C.key:null)?(y++,v[T]=k):(C||(void 0!==k.splitText?!r||k.nodeValue.trim():r))&&(f[x++]=k)}if(0!==w)for(S=0;S<w;S++){var T;if(c=null,null!=(T=(l=t[S]).key))y&&void 0!==v[T]&&(c=v[T],v[T]=void 0,y--);else if(b<x)for(a=b;a<x;a++)if(void 0!==f[a]&&(d=s=f[a],p=r,"string"==typeof(u=l)||"number"==typeof u?void 0!==d.splitText:"string"==typeof u.nodeName?!d._componentConstructor&&m(d,u.nodeName):p||d._componentConstructor===u.nodeName)){c=s,f[a]=void 0,a===x-1&&x--,a===b&&b++;break}c=E(c,l,n,i),o=h[S],c&&c!==e&&c!==o&&(null==o?e.appendChild(c):c===o.nextSibling?g(o):e.insertBefore(c,o))}if(y)for(var S in v)void 0!==v[S]&&N(v[S],!1);for(;b<=x;)void 0!==(c=f[x--])&&N(c,!1)}(a,d,n,i,S||null!=c.dangerouslySetInnerHTML),function(e,t,n){var i;for(i in n)t&&null!=t[i]||null==n[i]||y(e,i,n[i],n[i]=void 0,w);for(i in t)"children"===i||"innerHTML"===i||i in n&&t[i]===("value"===i||"checked"===i?e[i]:n[i])||y(e,i,n[i],n[i]=t[i],w)}(a,t.attributes,c),w=s,a}function N(e,t){var n=e._component;n?D(n):(null!=e.__preactattr_&&e.__preactattr_.ref&&e.__preactattr_.ref(null),!1!==t&&null!=e.__preactattr_||g(e),C(e))}function C(e){for(e=e.lastChild;e;){var t=e.previousSibling;N(e,!0),e=t}}var T=[];function A(e,t,n){var i,r=T.length;for(e.prototype&&e.prototype.render?(i=new e(t,n),P.call(i,t,n)):((i=new P(t,n)).constructor=e,i.render=O);r--;)if(T[r].constructor===e)return i.nextBase=T[r].nextBase,T.splice(r,1),i;return i}function O(e,t,n){return this.constructor(e,n)}function j(e,t,n,i,a){e._disable||(e._disable=!0,e.__ref=t.ref,e.__key=t.key,delete t.ref,delete t.key,void 0===e.constructor.getDerivedStateFromProps&&(!e.base||a?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,i)),i&&i!==e.context&&(e.prevContext||(e.prevContext=e.context),e.context=i),e.prevProps||(e.prevProps=e.props),e.props=t,e._disable=!1,0!==n&&(1!==n&&!1===r.syncComponentUpdates&&e.base?h(e):L(e,1,a)),e.__ref&&e.__ref(e))}function L(e,t,n,i){if(!e._disable){var a,s,o,c=e.props,d=e.state,u=e.context,p=e.prevProps||c,h=e.prevState||d,f=e.prevContext||u,m=e.base,g=e.nextBase,y=m||g,b=e._component,C=!1,T=f;if(e.constructor.getDerivedStateFromProps&&(d=l(l({},d),e.constructor.getDerivedStateFromProps(c,d)),e.state=d),m&&(e.props=p,e.state=h,e.context=f,2!==t&&e.shouldComponentUpdate&&!1===e.shouldComponentUpdate(c,d,u)?C=!0:e.componentWillUpdate&&e.componentWillUpdate(c,d,u),e.props=c,e.state=d,e.context=u),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!C){a=e.render(c,d,u),e.getChildContext&&(u=l(l({},u),e.getChildContext())),m&&e.getSnapshotBeforeUpdate&&(T=e.getSnapshotBeforeUpdate(p,h));var O,P,M=a&&a.nodeName;if("function"==typeof M){var I=v(a);(s=b)&&s.constructor===M&&I.key==s.__key?j(s,I,1,u,!1):(O=s,e._component=s=A(M,I,u),s.nextBase=s.nextBase||g,s._parentComponent=e,j(s,I,0,u,!1),L(s,1,n,!0)),P=s.base}else o=y,(O=b)&&(o=e._component=null),(y||1===t)&&(o&&(o._component=null),P=function(e,t,n,i,r,a){x++||(w=null!=r&&void 0!==r.ownerSVGElement,S=null!=e&&!("__preactattr_"in e));var s=E(e,t,n,i,a);return r&&s.parentNode!==r&&r.appendChild(s),--x||(S=!1),s}(o,a,u,n||!m,y&&y.parentNode,!0));if(y&&P!==y&&s!==b){var R=y.parentNode;R&&P!==R&&(R.replaceChild(P,y),O||(y._component=null,N(y,!1)))}if(O&&D(O),(e.base=P)&&!i){for(var z=e,F=e;F=F._parentComponent;)(z=F).base=P;P._component=z,P._componentConstructor=z.constructor}}for(!m||n?_.unshift(e):C||(e.componentDidUpdate&&e.componentDidUpdate(p,h,T),r.afterUpdate&&r.afterUpdate(e));e._renderCallbacks.length;)e._renderCallbacks.pop().call(e);x||i||k()}}function D(e){r.beforeUnmount&&r.beforeUnmount(e);var t=e.base;e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var n=e._component;n?D(n):t&&(t.__preactattr_&&t.__preactattr_.ref&&t.__preactattr_.ref(null),g(e.nextBase=t),T.push(e),C(t)),e.__ref&&e.__ref(null)}function P(e,t){this._dirty=!0,this.context=t,this.props=e,this.state=this.state||{},this._renderCallbacks=[]}function M(e,t,n){return function(e,t,n,i,r,a){x++||(w=null!=r&&void 0!==r.ownerSVGElement,S=null!=e&&!("__preactattr_"in e));var s=E(e,t,n,i,a);return r&&s.parentNode!==r&&r.appendChild(s),--x||(S=!1,k()),s}(n,e,{},!1,t,!1)}l(P.prototype,{setState:function(e,t){this.prevState||(this.prevState=this.state),this.state=l(l({},this.state),"function"==typeof e?e(this.state,this.props):e),t&&this._renderCallbacks.push(t),h(this)},forceUpdate:function(e){e&&this._renderCallbacks.push(e),L(this,2)},render:function(){}});var I={h:o,createElement:o,cloneElement:d,Component:P,render:M,rerender:f,options:r};t.default=I},function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t,n){var i=n(8),r=n(40);e.exports=n(3)?function(e,t,n){return i.f(e,t,r(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var i=n(9),r=n(38),a=n(39),s=Object.defineProperty;t.f=n(3)?Object.defineProperty:function(e,t,n){if(i(e),t=a(t,!0),i(n),r)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var i=n(2);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t,n){var i=n(22);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var i=n(4);e.exports=function(e,t){return!!e&&i(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t,n){var i=n(0);i(i.S+i.F,"Object",{assign:n(41)})},function(e,t,n){var i=n(2),r=n(1).document,a=i(r)&&i(r.createElement);e.exports=function(e){return a?r.createElement(e):{}}},function(e,t,n){var i=n(1),r=n(7),a=n(17),s=n(10)("src"),o="toString",l=Function[o],c=(""+l).split(o);n(6).inspectSource=function(e){return l.call(e)},(e.exports=function(e,t,n,o){var l="function"==typeof n;l&&(a(n,"name")||r(n,"name",t)),e[t]!==n&&(l&&(a(n,s)||r(n,s,e[t]?""+e[t]:c.join(String(t)))),e===i?e[t]=n:o?e[t]?e[t]=n:r(e,t,n):(delete e[t],r(e,t,n)))})(Function.prototype,o,function(){return"function"==typeof this&&this[s]||l.call(this)})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var i=n(19);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var i=n(42),r=n(28);e.exports=Object.keys||function(e){return i(e,r)}},function(e,t,n){var i=n(11),r=n(12);e.exports=function(e){return i(r(e))}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var i=n(21),r=n(24),a=n(43);e.exports=function(e){return function(t,n,s){var o,l=i(t),c=r(l.length),d=a(s,c);if(e&&n!=n){for(;d<c;)if((o=l[d++])!=o)return!0}else for(;d<c;d++)if((e||d in l)&&l[d]===n)return e||d||0;return!e&&-1}}},function(e,t,n){var i=n(25),r=Math.min;e.exports=function(e){return 0<e?r(i(e),9007199254740991):0}},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0<e?i:n)(e)}},function(e,t,n){var i=n(27)("keys"),r=n(10);e.exports=function(e){return i[e]||(i[e]=r(e))}},function(e,t,n){var i=n(6),r=n(1),a="__core-js_shared__",s=r[a]||(r[a]={});(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n(44)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var i=n(12);e.exports=function(e){return Object(i(e))}},function(e,t,n){var i=n(8).f,r=Function.prototype,a=/^\s*function ([^ (]*)/;"name"in r||n(3)&&i(r,"name",{configurable:!0,get:function(){try{return(""+this).match(a)[1]}catch(e){return""}}})},function(e,t,n){var i=n(0),r=n(32)(1);i(i.P+i.F*!n(13)([].map,!0),"Array",{map:function(e){return r(this,e,arguments[1])}})},function(e,t,n){var i=n(18),r=n(11),a=n(29),s=n(24),o=n(47);e.exports=function(e,t){var n=1==e,l=2==e,c=3==e,d=4==e,u=6==e,p=5==e||u,h=t||o;return function(t,o,f){for(var m,v,g=a(t),y=r(g),b=i(o,f,3),_=s(y.length),x=0,w=n?h(t,_):l?h(t,0):void 0;x<_;x++)if((p||x in y)&&(v=b(m=y[x],x,g),e))if(n)w[x]=v;else if(v)switch(e){case 3:return!0;case 5:return m;case 6:return x;case 2:w.push(m)}else if(d)return!1;return u?-1:c||d?d:w}}},function(e,t,n){var i=n(22);e.exports=Array.isArray||function(e){return"Array"==i(e)}},function(e,t,n){var i=n(27)("wks"),r=n(10),a=n(1).Symbol,s="function"==typeof a;(e.exports=function(e){return i[e]||(i[e]=s&&a[e]||(s?a:r)("Symbol."+e))}).store=i},function(e,t,n){var i=n(0),r=n(23)(!1),a=[].indexOf,s=!!a&&1/[1].indexOf(1,-0)<0;i(i.P+i.F*(s||!n(13)(a)),"Array",{indexOf:function(e){return s?a.apply(this,arguments)||0:r(this,e,arguments[1])}})},function(e,t,n){var i=n(0);i(i.S,"Object",{create:n(52)})},function(e,t,n){t.__esModule=!0,t.default=void 0,n(14),n(30),n(31),n(35),n(49),n(50);var i=n(5),r=function(e){return e&&e.__esModule?e:{default:e}}(n(51));function a(e){if(!e.element)throw new Error("element is not defined");if(!e.id)throw new Error("id is not defined");if(!e.source)throw new Error("source is not defined");Array.isArray(e.source)&&(e.source=s(e.source)),(0,i.render)((0,i.createElement)(r.default,e),e.element)}var s=function(e){return function(t,n){n(e.filter(function(e){return-1!==e.toLowerCase().indexOf(t.toLowerCase())}))}};a.enhanceSelectElement=function(e){if(!e.selectElement)throw new Error("selectElement is not defined");if(!e.source){var t=[].filter.call(e.selectElement.options,function(t){return t.value||e.preserveNullOptions});e.source=t.map(function(e){return e.textContent||e.innerText})}if(e.onConfirm=e.onConfirm||function(t){var n=[].filter.call(e.selectElement.options,function(e){return(e.textContent||e.innerText)===t})[0];n&&(n.selected=!0)},e.selectElement.value||void 0===e.defaultValue){var n=e.selectElement.options[e.selectElement.options.selectedIndex];e.defaultValue=n.textContent||n.innerText}void 0===e.name&&(e.name=""),void 0===e.id&&(void 0===e.selectElement.id?e.id="":e.id=e.selectElement.id),void 0===e.autoselect&&(e.autoselect=!0);var i=document.createElement("div");e.selectElement.parentNode.insertBefore(i,e.selectElement),a(Object.assign({},e,{element:i})),e.selectElement.style.display="none",e.selectElement.id=e.selectElement.id+"-select"};var o=a;t.default=o},function(e,t,n){e.exports=!n(3)&&!n(4)(function(){return 7!=Object.defineProperty(n(15)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var i=n(2);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var i=n(20),r=n(45),a=n(46),s=n(29),o=n(11),l=Object.assign;e.exports=!l||n(4)(function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=i})?function(e,t){for(var n=s(e),l=arguments.length,c=1,d=r.f,u=a.f;c<l;)for(var p,h=o(arguments[c++]),f=d?i(h).concat(d(h)):i(h),m=f.length,v=0;v<m;)u.call(h,p=f[v++])&&(n[p]=h[p]);return n}:l},function(e,t,n){var i=n(17),r=n(21),a=n(23)(!1),s=n(26)("IE_PROTO");e.exports=function(e,t){var n,o=r(e),l=0,c=[];for(n in o)n!=s&&i(o,n)&&c.push(n);for(;t.length>l;)i(o,n=t[l++])&&(~a(c,n)||c.push(n));return c}},function(e,t,n){var i=n(25),r=Math.max,a=Math.min;e.exports=function(e,t){return(e=i(e))<0?r(e+t,0):a(e,t)}},function(e,t){e.exports=!1},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var i=n(48);e.exports=function(e,t){return new(i(e))(t)}},function(e,t,n){var i=n(2),r=n(33),a=n(34)("species");e.exports=function(e){var t;return r(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!r(t.prototype)||(t=void 0),i(t)&&null===(t=t[a])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var i=n(0),r=n(32)(2);i(i.P+i.F*!n(13)([].filter,!0),"Array",{filter:function(e){return r(this,e,arguments[1])}})},function(e,t,n){var i=n(0);i(i.S,"Array",{isArray:n(33)})},function(e,t,n){t.__esModule=!0,t.default=void 0,n(14),n(36),n(30),n(31),n(35),n(55),n(58);var i=n(5),r=s(n(60)),a=s(n(61));function s(e){return e&&e.__esModule?e:{default:e}}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var c={13:"enter",27:"escape",32:"space",38:"up",40:"down"};function d(){return"undefined"!=typeof navigator&&!(!navigator.userAgent.match(/(iPod|iPhone|iPad)/g)||!navigator.userAgent.match(/AppleWebKit/g))}var u=function(e){function t(t){var n;return(n=e.call(this,t)||this).elementReferences={},n.state={focused:null,hovered:null,menuOpen:!1,options:t.defaultValue?[t.defaultValue]:[],query:t.defaultValue,validChoiceMade:!1,selected:null,ariaHint:!0,searchOnInteraction:!0},n.handleComponentBlur=n.handleComponentBlur.bind(l(l(n))),n.handleKeyDown=n.handleKeyDown.bind(l(l(n))),n.handleUpArrow=n.handleUpArrow.bind(l(l(n))),n.handleDownArrow=n.handleDownArrow.bind(l(l(n))),n.handleEnter=n.handleEnter.bind(l(l(n))),n.handlePrintableKey=n.handlePrintableKey.bind(l(l(n))),n.handleListMouseLeave=n.handleListMouseLeave.bind(l(l(n))),n.handleOptionBlur=n.handleOptionBlur.bind(l(l(n))),n.handleOptionClick=n.handleOptionClick.bind(l(l(n))),n.handleOptionFocus=n.handleOptionFocus.bind(l(l(n))),n.handleOptionMouseDown=n.handleOptionMouseDown.bind(l(l(n))),n.handleOptionMouseEnter=n.handleOptionMouseEnter.bind(l(l(n))),n.handleInputBlur=n.handleInputBlur.bind(l(l(n))),n.handleInputChange=n.handleInputChange.bind(l(l(n))),n.handleInputFocus=n.handleInputFocus.bind(l(l(n))),n.pollInputElement=n.pollInputElement.bind(l(l(n))),n.getDirectInputChanges=n.getDirectInputChanges.bind(l(l(n))),n}!function(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}(t,e);var n=t.prototype;return n.isQueryAnOption=function(e,t){var n=this;return-1!==t.map(function(e){return n.templateInputValue(e).toLowerCase()}).indexOf(e.toLowerCase())},n.componentDidMount=function(){this.pollInputElement()},n.componentWillUnmount=function(){clearTimeout(this.$pollInput)},n.pollInputElement=function(){var e=this;this.getDirectInputChanges(),this.$pollInput=setTimeout(function(){e.pollInputElement()},100)},n.getDirectInputChanges=function(){var e=this.elementReferences[-1];e&&e.value!==this.state.query&&this.handleInputChange({target:{value:e.value}})},n.componentDidUpdate=function(e,t){var n=this.state.focused,i=null===n,r=t.focused!==n;r&&!i&&this.elementReferences[n].focus();var a=-1===n,s=r&&null===t.focused;if(a&&s){var o=this.elementReferences[n];o.setSelectionRange(0,o.value.length)}},n.hasAutoselect=function(){return this.props.autoselect},n.templateInputValue=function(e){var t=this.props.templates&&this.props.templates.inputValue;return t?t(e):e},n.templateSuggestion=function(e){var t=this.props.templates&&this.props.templates.suggestion;return t?t(e):e},n.handleComponentBlur=function(e){var t,n=this.state,i=n.options,r=n.query,a=n.selected;this.props.confirmOnBlur?(t=e.query||r,this.props.onConfirm(i[a])):t=r,this.setState({focused:null,menuOpen:e.menuOpen||!1,query:t,selected:null,validChoiceMade:this.isQueryAnOption(t,i)})},n.handleListMouseLeave=function(e){this.setState({hovered:null})},n.handleOptionBlur=function(e,t){var n=this.state,i=n.focused,r=n.menuOpen,a=n.options,s=n.selected,o=null===e.relatedTarget,l=e.relatedTarget===this.elementReferences[-1],c=i!==t&&-1!==i;if(!c&&o||!c&&!l){var u=r&&d()&&!this.hasAutoselect();this.handleComponentBlur({menuOpen:u,query:this.templateInputValue(a[s])})}},n.handleInputBlur=function(e){var t=this.state,n=t.focused,i=t.menuOpen,r=t.options,a=t.query,s=t.selected,o=0<=n;if(d()&&!e.relatedTarget&&!o&&this.hasAutoselect()){var l=this.templateInputValue(r[s]);this.handleComponentBlur({menuOpen:!1,query:l})}else if(!o){var c=i&&d(),u=d()?a:this.templateInputValue(r[s]);this.handleComponentBlur({menuOpen:c,query:u})}},n.handleInputChange=function(e){var t=this,n=this.props,i=n.minLength,r=n.source,a=n.showAllValues,s=this.state.searchOnInteraction,o=this.hasAutoselect(),l=e.target.value,c=0===l.length,d=s||this.state.query.length!==l.length,u=l.length>=i;this.setState({query:l,ariaHint:c,searchOnInteraction:!0}),a||!c&&d&&u?r(l,function(e){var n=0<e.length;t.setState(function(t){return{menuOpen:n&&null!==t.focused,options:e,selected:o&&n?0:-1,validChoiceMade:!1}})}):!c&&u||this.setState({menuOpen:!1,options:[]})},n.handleInputClick=function(e){this.handleInputChange(e)},n.handleInputFocus=function(e){var t=this.state,n=t.query,i=t.validChoiceMade,r=t.options,a=this.props.minLength,s=!i&&n.length>=a&&0<r.length;s?this.setState(function(e){var t=e.menuOpen;return{focused:-1,menuOpen:s||t,selected:-1}}):this.setState({focused:-1}),e&&this.handleInputChange(e)},n.handleOptionFocus=function(e){this.setState({focused:e,hovered:null,selected:e,searchOnInteraction:-1!==e})},n.handleOptionMouseEnter=function(e,t){d()||this.setState({hovered:t})},n.handleOptionClick=function(e,t){var n=this.state.options[t],i=this.templateInputValue(n);this.props.onConfirm(n),this.setState({focused:-1,hovered:null,menuOpen:!1,query:i,selected:-1,validChoiceMade:!0}),this.forceUpdate()},n.handleOptionMouseDown=function(e){e.preventDefault()},n.handleUpArrow=function(e){e.preventDefault();var t=this.state,n=t.menuOpen,i=t.selected;-1!==i&&n&&this.handleOptionFocus(i-1)},n.handleDownArrow=function(e){var t=this;if(e.preventDefault(),this.props.showAllValues&&!1===this.state.menuOpen)e.preventDefault(),this.props.source("",function(e){t.setState({menuOpen:!0,options:e,selected:0,focused:0,hovered:null})});else if(!0===this.state.menuOpen){var n=this.state,i=n.menuOpen,r=n.options,a=n.selected;a!==r.length-1&&i&&this.handleOptionFocus(a+1)}},n.handleSpace=function(e){var t=this;this.props.showAllValues&&!1===this.state.menuOpen&&""===this.state.query&&(e.preventDefault(),this.props.source("",function(e){t.setState({menuOpen:!0,options:e})})),-1!==this.state.focused&&(e.preventDefault(),this.handleOptionClick(e,this.state.focused))},n.handleEnter=function(e){this.state.menuOpen&&(e.preventDefault(),0<=this.state.selected&&this.handleOptionClick(e,this.state.selected))},n.handlePrintableKey=function(e){var t=this.elementReferences[-1];e.target===t||t.focus()},n.handleKeyDown=function(e){switch(c[e.keyCode]){case"up":this.handleUpArrow(e);break;case"down":this.handleDownArrow(e);break;case"space":this.handleSpace(e);break;case"enter":this.handleEnter(e);break;case"escape":this.handleComponentBlur({query:this.state.query});break;default:(function(e){return 47<e&&e<58||32===e||8===e||64<e&&e<91||95<e&&e<112||185<e&&e<193||218<e&&e<223})(e.keyCode)&&this.handlePrintableKey(e)}},n.render=function(){var e,t=this,n=this.props,a=n.cssNamespace,s=n.customInputClassName,l=n.wrapperClassName,c=n.optionClassName,u=n.menuClassName,p=n.displayMenu,h=n.enterKeyHint,f=n.id,m=n.minLength,v=n.name,g=n.placeholder,y=n.required,b=n.showAllValues,_=n.tNoResults,x=n.tStatusQueryTooShort,w=n.tStatusNoResults,S=n.tStatusSelectedOption,k=n.tStatusResults,E=n.tAssistiveHint,N=n.dropdownArrow,C=this.state,T=C.focused,A=C.hovered,O=C.menuOpen,j=C.options,L=C.query,D=C.selected,P=C.ariaHint,M=C.validChoiceMade,I=this.hasAutoselect(),R=-1===T,z=0===j.length,F=0!==L.length,B=L.length>=m,H=this.props.showNoOptionsFound&&R&&z&&F&&B,V=a+"__wrapper"+(l?" "+l:""),U=a+"__input",q=null!==T?" "+U+"--focused":"",$=this.props.showAllValues?" "+U+"--show-all-values":" "+U+"--default",W=a+"__dropdown-arrow-down",G=-1!==T&&null!==T,Y=a+"__menu",X=Y+"--"+p,K=Y+"--"+(O||H?"visible":"hidden"),J=a+"__option",Z=a+"__hint",Q=this.templateInputValue(j[D]),ee=Q&&0===Q.toLowerCase().indexOf(L.toLowerCase())&&I?L+Q.substr(L.length):"",te=f+"__assistiveHint",ne=P?{"aria-describedby":te}:null;return b&&"string"==typeof(e=N({className:W}))&&(e=(0,i.createElement)("div",{className:a+"__dropdown-arrow-down-wrapper",dangerouslySetInnerHTML:{__html:e}})),(0,i.createElement)("div",{className:V,onKeyDown:this.handleKeyDown},(0,i.createElement)(r.default,{id:f,length:j.length,queryLength:L.length,minQueryLength:m,selectedOption:this.templateInputValue(j[D]),selectedOptionIndex:D,validChoiceMade:M,isInFocus:null!==this.state.focused,tQueryTooShort:x,tNoResults:w,tSelectedOption:S,tResults:k}),ee&&(0,i.createElement)("span",null,(0,i.createElement)("input",{className:Z,readonly:!0,tabIndex:"-1",value:ee})),(0,i.createElement)("input",o({enterkeyhint:h||(d()&&this.hasAutoselect()?"done":""),"aria-expanded":O?"true":"false","aria-activedescendant":!!G&&f+"__option--"+T,"aria-owns":f+"__listbox","aria-autocomplete":this.hasAutoselect()?"both":"list"},ne,{autoComplete:"off",className:""+U+q+$+(s?" "+s:""),id:f,onClick:function(e){return t.handleInputClick(e)},onBlur:this.handleInputBlur},function(e){return{onInput:e}}(this.handleInputChange),{onFocus:this.handleInputFocus,name:v,placeholder:g,ref:function(e){t.elementReferences[-1]=e},type:"text",role:"combobox",required:y,value:L})),e,(0,i.createElement)("ul",{className:Y+" "+X+" "+K+(u?" "+u:""),onMouseLeave:function(e){return t.handleListMouseLeave(e)},id:f+"__listbox",role:"listbox"},j.map(function(e,n){var r=(-1===T?D===n:T===n)&&null===A?" "+J+"--focused":"",a=n%2?" "+J+"--odd":"",s=d()?"<span id="+f+"__option-suffix--"+n+' style="border:0;clip:rect(0 0 0 0);height:1px;marginBottom:-1px;marginRight:-1px;overflow:hidden;padding:0;position:absolute;whiteSpace:nowrap;width:1px"> '+(n+1)+" of "+j.length+"</span>":"";return(0,i.createElement)("li",{"aria-selected":T===n?"true":"false",className:""+J+r+a+(c?" "+c:""),dangerouslySetInnerHTML:{__html:t.templateSuggestion(e)+s},id:f+"__option--"+n,key:n,onBlur:function(e){return t.handleOptionBlur(e,n)},onClick:function(e){return t.handleOptionClick(e,n)},onMouseDown:t.handleOptionMouseDown,onMouseEnter:function(e){return t.handleOptionMouseEnter(e,n)},ref:function(e){t.elementReferences[n]=e},role:"option",tabIndex:"-1","aria-posinset":n+1,"aria-setsize":j.length})}),H&&(0,i.createElement)("li",{className:J+(c?" "+c:"")+" "+J+"--no-results"},_())),(0,i.createElement)("span",{id:te,style:{display:"none"}},E()))},t}(i.Component);(t.default=u).defaultProps={autoselect:!1,cssNamespace:"autocomplete",wrapperClassName:"",customInputClassName:"",menuClassName:"",optionClassName:"",defaultValue:"",displayMenu:"inline",minLength:0,name:"input-autocomplete",placeholder:"",onConfirm:function(){},confirmOnBlur:!0,showNoOptionsFound:!0,showAllValues:!1,required:!1,tNoResults:function(){return"No results found"},tAssistiveHint:function(){return"When autocomplete results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures."},dropdownArrow:a.default}},function(e,t,n){var i=n(9),r=n(53),a=n(28),s=n(26)("IE_PROTO"),o=function(){},l="prototype",c=function(){var e,t=n(15)("iframe"),i=a.length;for(t.style.display="none",n(54).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;i--;)delete c[l][a[i]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(o[l]=i(e),n=new o,o[l]=null,n[s]=e):n=c(),void 0===t?n:r(n,t)}},function(e,t,n){var i=n(8),r=n(9),a=n(20);e.exports=n(3)?Object.defineProperties:function(e,t){r(e);for(var n,s=a(t),o=s.length,l=0;l<o;)i.f(e,n=s[l++],t[n]);return e}},function(e,t,n){var i=n(1).document;e.exports=i&&i.documentElement},function(e,t,n){var i=n(0);i(i.P,"Function",{bind:n(56)})},function(e,t,n){var i=n(19),r=n(2),a=n(57),s=[].slice,o={};e.exports=Function.bind||function(e){var t=i(this),n=s.call(arguments,1),l=function(){var i=n.concat(s.call(arguments));return this instanceof l?function(e,t,n){if(!(t in o)){for(var i=[],r=0;r<t;r++)i[r]="a["+r+"]";o[t]=Function("F,a","return new F("+i.join(",")+")")}return o[t](e,n)}(t,i.length,i):a(t,i,e)};return r(t.prototype)&&(l.prototype=t.prototype),l}},function(e,t){e.exports=function(e,t,n){var i=void 0===n;switch(t.length){case 0:return i?e():e.call(n);case 1:return i?e(t[0]):e.call(n,t[0]);case 2:return i?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return i?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return i?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){n(59)("match",1,function(e,t,n){return[function(n){var i=e(this),r=null==n?void 0:n[t];return void 0!==r?r.call(n,i):new RegExp(n)[t](String(i))},n]})},function(e,t,n){var i=n(7),r=n(16),a=n(4),s=n(12),o=n(34);e.exports=function(e,t,n){var l=o(e),c=n(s,l,""[e]),d=c[0],u=c[1];a(function(){var t={};return t[l]=function(){return 7},7!=""[e](t)})&&(r(String.prototype,e,d),i(RegExp.prototype,l,2==t?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)}))}},function(e,t,n){t.__esModule=!0,t.default=void 0,n(36);var i=n(5),r=function(e){function t(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return(t=e.call.apply(e,[this].concat(i))||this).state={bump:!1,debounced:!1},t}!function(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}(t,e);var n=t.prototype;return n.componentWillMount=function(){var e=this;this.debounceStatusUpdate=function(e,t){var n;return function(){var i=this,r=arguments;clearTimeout(n),n=setTimeout(function(){n=null,e.apply(i,r)},t)}}(function(){if(!e.state.debounced){var t=!e.props.isInFocus||e.props.validChoiceMade;e.setState(function(e){return{bump:!e.bump,debounced:!0,silenced:t}})}},1400)},n.componentWillReceiveProps=function(e){e.queryLength,this.setState({debounced:!1})},n.render=function(){var e,t=this.props,n=t.id,r=t.length,a=t.queryLength,s=t.minQueryLength,o=t.selectedOption,l=t.selectedOptionIndex,c=t.tQueryTooShort,d=t.tNoResults,u=t.tSelectedOption,p=t.tResults,h=this.state,f=h.bump,m=h.debounced,v=h.silenced,g=a<s,y=0===r,b=o?u(o,r,l):"";return e=g?c(s):y?d():p(r,b),this.debounceStatusUpdate(),(0,i.createElement)("div",{style:{border:"0",clip:"rect(0 0 0 0)",height:"1px",marginBottom:"-1px",marginRight:"-1px",overflow:"hidden",padding:"0",position:"absolute",whiteSpace:"nowrap",width:"1px"}},(0,i.createElement)("div",{id:n+"__status--A",role:"status","aria-atomic":"true","aria-live":"polite"},!v&&m&&f?e:""),(0,i.createElement)("div",{id:n+"__status--B",role:"status","aria-atomic":"true","aria-live":"polite"},v||!m||f?"":e))},t}(i.Component);(t.default=r).defaultProps={tQueryTooShort:function(e){return"Type in "+e+" or more characters for results"},tNoResults:function(){return"No search results"},tSelectedOption:function(e,t,n){return e+" "+(n+1)+" of "+t+" is highlighted"},tResults:function(e,t){return e+" "+(1===e?"result":"results")+" "+(1===e?"is":"are")+" available. "+t}}},function(e,t,n){t.__esModule=!0,t.default=void 0;var i=n(5);t.default=function(e){var t=e.className;return(0,i.createElement)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:t,focusable:"false"},(0,i.createElement)("g",{stroke:"none",fill:"none","fill-rule":"evenodd"},(0,i.createElement)("polygon",{fill:"#000000",points:"0 0 22 0 11 17"})))}}]).default})}(fm)),fm.exports),vm=p({__proto__:null,default:A(mm)},[mm]);export{se as Accordion,ge as AccordionItem,Ee as Alert,De as AnchorNavigation,nc as Autocomplete,qe as Bar,Xe as BarBreak,Ge as BarItem,et as BlockAction,tt as BlockActionControl,nt as BlockActionIndicator,it as BlockActionOverride,Ct as BodyBanner,Lt as Breadcrumbs,wt as Button,Rt as ButtonFill,zt as ButtonGhost,It as ButtonPrimary,_e as Buttons,Gs as Card,Qs as CardProductHeader,Ks as CardSection,Wr as Carousel,ka as CarouselHero,Ua as CarouselPromotions,vs as CartTable,fc as Checkbox,Ae as Container,Yr as Controls,nm as Cover,bs as Divider,As as Dropdown,Ds as DropdownDivider,js as DropdownItem,Es as DropdownToggleButton,Rs as Expander,Vs as FeatureAccordion,qs as FeatureAccordionItem,Lf as Field,Pf as Fieldset,Up as File,ro as Gauge,vt as Grid,bt as GridCol,nh as Group,sm as Hero,Tf as Hint,de as Icon,Mt as IconButton,pm as IconList,Et as Image,os as InfoTooltip,wf as InputStepper,cm as Item,au as Label,Ce as Link,ml as List,bl as ListItem,co as Loader,mu as Message,Xo as Modal,$o as ModalBody,Bo as ModalCloseButton,Zo as ModalProductHeader,Vo as ModalTitle,Ol as Pagination,pe as Pictogram,Ff as Pill,Sl as Progress,Ll as PromoBanner,Fl as PromotionCard,Hl as PromotionCardContent,Ul as PromotionCardImageWrapper,$l as PromotionCardSection,Gl as PromotionCardTitle,lh as Radio,uf as RangeSlider,ol as Section,ec as Select,If as Skeleton,pl as SkipLink,Vf as Stepbar,dl as Sticker,qf as Tab,Kf as TabPanel,ns as Table,Yf as Tabs,ze as Tag,He as TagButton,rm as Testimonial,vf as TextArea,Xp as TextInput,Qf as Tile,rs as Tooltip};
|
|
1
|
+
import e,{useRef as t,useEffect as n,useCallback as i,useState as a,createContext as r,useContext as s,cloneElement as o,createElement as l,forwardRef as c,useId as d,useMemo as u}from"react";function h(e,t){return t.forEach(function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach(function(n){if("default"!==n&&!(n in e)){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}})}),Object.freeze(e)}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function m(e,t,n,i,a,r,s){try{var o=e[r](s),l=o.value}catch(e){return void n(e)}o.done?t(l):Promise.resolve(l).then(i,a)}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,k(i.key),i)}}function g(e,t,n){return t&&v(e.prototype,t),n&&v(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function b(e,t,n){return(t=k(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach(function(t){b(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function x(e,t){if(null==e)return{};var n,i,a=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(i=0;i<r.length;i++)n=r[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}function w(){var e,t,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",a=n.toStringTag||"@@toStringTag";function r(n,i,a,r){var l=i&&i.prototype instanceof o?i:o,c=Object.create(l.prototype);return S(c,"_invoke",function(n,i,a){var r,o,l,c=0,d=a||[],u=!1,h={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return r=t,o=0,l=e,h.n=n,s}};function p(n,i){for(o=n,l=i,t=0;!u&&c&&!a&&t<d.length;t++){var a,r=d[t],p=h.p,m=r[2];n>3?(a=m===i)&&(l=r[(o=r[4])?5:(o=3,3)],r[4]=r[5]=e):r[0]<=p&&((a=n<2&&p<r[1])?(o=0,h.v=i,h.n=r[1]):p<m&&(a=n<3||r[0]>i||i>m)&&(r[4]=n,r[5]=i,h.n=m,o=0))}if(a||n>1)return s;throw u=!0,i}return function(a,d,m){if(c>1)throw TypeError("Generator is already running");for(u&&1===d&&p(d,m),o=d,l=m;(t=o<2?e:l)||!u;){r||(o?o<3?(o>1&&(h.n=-1),p(o,l)):h.n=l:h.v=l);try{if(c=2,r){if(o||(a="next"),t=r[a]){if(!(t=t.call(r,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,o<2&&(o=0)}else 1===o&&(t=r.return)&&t.call(r),o<2&&(l=TypeError("The iterator does not provide a '"+a+"' method"),o=1);r=e}else if((t=(u=h.n<0)?l:n.call(i,h))!==s)break}catch(t){r=e,o=1,l=t}finally{c=1}}return{value:t,done:u}}}(n,a,r),!0),c}var s={};function o(){}function l(){}function c(){}t=Object.getPrototypeOf;var d=[][i]?t(t([][i]())):(S(t={},i,function(){return this}),t),u=c.prototype=o.prototype=Object.create(d);function h(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,S(e,a,"GeneratorFunction")),e.prototype=Object.create(u),e}return l.prototype=c,S(u,"constructor",c),S(c,"constructor",l),l.displayName="GeneratorFunction",S(c,a,"GeneratorFunction"),S(u),S(u,a,"Generator"),S(u,i,function(){return this}),S(u,"toString",function(){return"[object Generator]"}),(w=function(){return{w:r,m:h}})()}function S(e,t,n,i){var a=Object.defineProperty;try{a({},"",{})}catch(e){a=0}S=function(e,t,n,i){function r(t,n){S(e,t,function(e){return this._invoke(t,n,e)})}t?a?a(e,t,{value:n,enumerable:!i,configurable:!i,writable:!i}):e[t]=n:(r("next",0),r("throw",1),r("return",2))},S(e,t,n,i)}function N(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,a,r,s,o=[],l=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=r.call(n)).done)&&(o.push(i.value),o.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw a}}return o}}(e,t)||T(e,t)||function(){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 E(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||T(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){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}function C(e){return C="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},C(e)}function T(e,t){if(e){if("string"==typeof e)return p(e,t);var n={}.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)?p(e,t):void 0}}function A(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var j,O,L,D={exports:{}},M={},P={};function I(){return L||(L=1,"production"===process.env.NODE_ENV?D.exports=function(){if(j)return M;j=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(t,n,i){var a=null;if(void 0!==i&&(a=""+i),void 0!==n.key&&(a=""+n.key),"key"in n)for(var r in i={},n)"key"!==r&&(i[r]=n[r]);else i=n;return n=i.ref,{$$typeof:e,type:t,key:a,ref:void 0!==n?n:null,props:i}}return M.Fragment=t,M.jsx=n,M.jsxs=n,M}():D.exports=(O||(O=1,"production"!==process.env.NODE_ENV&&function(){function t(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===E?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case m:return"Fragment";case v:return"Profiler";case f:return"StrictMode";case _:return"Suspense";case x:return"SuspenseList";case N:return"Activity"}if("object"==typeof e)switch(e.tag,e.$$typeof){case p:return"Portal";case b:return e.displayName||"Context";case g:return(e._context.displayName||"Context")+".Consumer";case y:var n=e.render;return(e=e.displayName)||(e=""!==(e=n.displayName||n.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case w:return null!==(n=e.displayName||null)?n:t(e.type)||"Memo";case S:n=e._payload,e=e._init;try{return t(e(n))}catch(e){}}return null}function n(e){return""+e}function i(e){try{n(e);var t=!1}catch(e){t=!0}if(t){var i=(t=console).error,a="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return i.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",a),n(e)}}function a(e){if(e===m)return"<>";if("object"==typeof e&&null!==e&&e.$$typeof===S)return"<...>";try{var n=t(e);return n?"<"+n+">":"<...>"}catch(e){return"<...>"}}function r(){return Error("react-stack-top-frame")}function s(){var e=t(this.type);return j[e]||(j[e]=!0),void 0!==(e=this.props.ref)?e:null}function o(e,n,a,r,o,c){var u,p=n.children;if(void 0!==p)if(r){if(T(p)){for(r=0;r<p.length;r++)l(p[r]);Object.freeze&&Object.freeze(p)}}else l(p);if(C.call(n,"key")){p=t(e);var m=Object.keys(n).filter(function(e){return"key"!==e});r=0<m.length?"{key: someKey, "+m.join(": ..., ")+": ...}":"{key: someKey}",D[p+r]||(m=0<m.length?"{"+m.join(": ..., ")+": ...}":"{}",D[p+r]=!0)}if(p=null,void 0!==a&&(i(a),p=""+a),function(e){if(C.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}(n)&&(i(n.key),p=""+n.key),"key"in n)for(var f in a={},n)"key"!==f&&(a[f]=n[f]);else a=n;return p&&function(e){function t(){d||(d=!0)}t.isReactWarning=!0,Object.defineProperty(e,"key",{get:t,configurable:!0})}(a,"function"==typeof e&&(e.displayName||e.name)),function(e,t,n,i,a,r){var o=n.ref;return e={$$typeof:h,type:e,key:t,props:n,_owner:i},null!==(void 0!==o?o:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:s}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:a}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:r}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(e,p,a,null===(u=k.A)?null:u.getOwner(),o,c)}function l(e){c(e)?e._store&&(e._store.validated=1):"object"==typeof e&&null!==e&&e.$$typeof===S&&("fulfilled"===e._payload.status?c(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function c(e){return"object"==typeof e&&null!==e&&e.$$typeof===h}var d,u=e,h=Symbol.for("react.transitional.element"),p=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),f=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),g=Symbol.for("react.consumer"),b=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),_=Symbol.for("react.suspense"),x=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),S=Symbol.for("react.lazy"),N=Symbol.for("react.activity"),E=Symbol.for("react.client.reference"),k=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,C=Object.prototype.hasOwnProperty,T=Array.isArray,A=console.createTask?console.createTask:function(){return null},j={},O=(u={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(u,r)(),L=A(a(r)),D={};P.Fragment=m,P.jsx=function(e,t,n){var i=1e4>k.recentlyCreatedOwnerStacks++;return o(e,t,n,!1,i?Error("react-stack-top-frame"):O,i?A(a(e)):L)},P.jsxs=function(e,t,n){var i=1e4>k.recentlyCreatedOwnerStacks++;return o(e,t,n,!0,i?Error("react-stack-top-frame"):O,i?A(a(e)):L)}}()),P)),D.exports}var R,z,F=I(),B={exports:{}},H=(R||(R=1,z=B,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var a=arguments[t];a&&(e=i(e,n(a)))}return e}function n(n){if("string"==typeof n||"number"==typeof n)return n;if("object"!=typeof n)return"";if(Array.isArray(n))return t.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]"))return n.toString();var a="";for(var r in n)e.call(n,r)&&n[r]&&(a=i(a,r));return a}function i(e,t){return t?e?e+" "+t:e+t:e}z.exports?(t.default=t,z.exports=t):window.classNames=t}()),B.exports),V=A(H),W=0;function q(e){return"id".concat("","-").concat(W+=1)}var U=function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t(null),s=t(a),o=t(null);n(function(){s.current=null!=a?a:{}},[a]);var l=i(function(t){var n,i,a,l;o.current&&o.current!==t&&r.current&&(null===(n=(i=r.current).destroy)||void 0===n||n.call(i),r.current=null),o.current=t,t&&(null===r.current?r.current=new e(t,s.current):null===(a=(l=r.current).update)||void 0===a||a.call(l,s.current))},[e]);return n(function(){return function(){var e,t;r.current&&(null===(e=(t=r.current).destroy)||void 0===e||e.call(t),r.current=null),o.current=null}},[e]),[l,r]},$={current:0};function G(e){var i=N(a(e),2),r=i[0],s=i[1],o=t(e);return n(function(){if(!e){$.current+=1;var t="id-".concat($.current);o.current=t,s(t)}},[e]),r||o.current||e||"id-0"}var Y={TAB:["Tab"],ESC:["Esc","Escape"],ARROWLEFT:["Left","ArrowLeft"],ARROWUP:["Up","ArrowUp"],ARROWRIGHT:["Right","ArrowRight"],ARROWDOWN:["Down","ArrowDown"]},X=function(){return g(function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{direction:"horizontal"};f(this,e),this.elems=t,this.config=n,this.isActive=!1,this.onKeydown=this.onKeydown.bind(this)},[{key:"init",value:function(){document.addEventListener("keydown",this.onKeydown),this.isActive=!0}},{key:"destroy",value:function(){document.removeEventListener("keydown",this.onKeydown),this.isActive=!1}},{key:"update",value:function(e){this.elems=e}},{key:"onKeydown",value:function(e){var t=this.elems.indexOf(document.activeElement);(Y.ARROWUP.includes(e.key)||Y.ARROWDOWN.includes(e.key))&&"horizontal"===this.config.direction||(Y.ARROWLEFT.includes(e.key)||Y.ARROWRIGHT.includes(e.key))&&"vertical"===this.config.direction||((Y.ARROWDOWN.includes(e.key)||Y.ARROWRIGHT.includes(e.key))&&(e.preventDefault(),t>=0&&t<this.elems.length-1?this.elems[t+1].focus():this.elems[0].focus()),(Y.ARROWUP.includes(e.key)||Y.ARROWLEFT.includes(e.key))&&(e.preventDefault(),t>=1?this.elems[t-1].focus():this.elems[this.elems.length-1].focus()),Y.TAB.includes(e.key)&&this.destroy())}}])}(),K={buttonSelector:"[data-accordion-toggle]"},Z=function(){return g(function e(t,n){return f(this,e),this.element=t,this.config=_(_({},K),n),this.onFocus=this.onFocus.bind(this),this.onClick=this.onClick.bind(this),this.element.ODS_Accordion=this,this.init(),this},[{key:"onFocus",value:function(e){this.rovingTabindex.isActive||this.rovingTabindex.init();var t=e.currentTarget;window.location.hash.substring(1)===t.getAttribute("id")&&"false"===t.getAttribute("aria-expanded")&&t.click()}},{key:"toggleAccordionItem",value:function(e){var t=e.getAttribute("aria-controls"),n=t?this.element.querySelector("#".concat(t)):null;if(n){var i=!("true"===e.getAttribute("aria-expanded"));e.setAttribute("aria-expanded",String(i)),i?(n.removeAttribute("hidden"),this.scrollTriggerIntoModalView(e)):n.setAttribute("hidden","")}}},{key:"scrollTriggerIntoModalView",value:function(e){var t=this,n=e.closest(".modal__dialog");if(n){var i=function(){var i=n.getBoundingClientRect(),a=e.getBoundingClientRect(),r=t.getStickyHeaderOffset(n),s=a.top-i.top+n.scrollTop-r-8;n.scrollTo({top:Math.max(0,s),behavior:"smooth"})};"function"!=typeof window.requestAnimationFrame?setTimeout(i,0):window.requestAnimationFrame(i)}}},{key:"getStickyHeaderOffset",value:function(e){var t=e.querySelector(".modal__header");if(!t)return 0;var n=e.getBoundingClientRect(),i=t.getBoundingClientRect();return Math.max(0,i.bottom-n.top)}},{key:"init",value:function(){var e=this;this.buttons=Array.from(this.element.querySelectorAll(this.config.buttonSelector)),this.rovingTabindex?this.rovingTabindex.update(this.buttons):this.rovingTabindex=new X(this.buttons,{direction:"vertical"}),this.buttons.forEach(function(t){t.addEventListener("focus",e.onFocus),t.addEventListener("click",e.onClick)})}},{key:"onClick",value:function(e){var t=e.currentTarget;this.toggleAccordionItem(t)}},{key:"destroy",value:function(){var e=this;this.rovingTabindex.destroy(),this.buttons.forEach(function(t){t.removeEventListener("focus",e.onFocus),t.removeEventListener("click",e.onClick)})}},{key:"update",value:function(){this.destroy(),this.init()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Accordion?e.ODS_Accordion:null}}])}(),J=r(null),Q=["className","children","headingLevel","size","isEnclosed","noTopBorder"],ee="accordion",te=function(e){var t=e.className,n=e.children,i=e.headingLevel,a=void 0===i?3:i,r=e.size,s=e.isEnclosed,o=e.noTopBorder,l=x(e,Q),c=N(U(Z),1)[0],d=V(ee,b(b(b({},"".concat(ee,"--").concat(r),r),"".concat(ee,"--enclosed"),s),"".concat(ee,"--no-top-border"),o),t);return F.jsx(J.Provider,{value:a,children:F.jsx("ul",_(_({className:d,ref:c,"data-accordion":"true"},l),{},{children:n}))})};te.displayName="Accordion";var ne=["children","value"],ie=e.createContext("/sprite.svg"),ae=function(e){var t=e.children,n=e.value,i=void 0===n?"/sprite.svg":n,a=x(e,ne);return F.jsx(ie.Provider,_(_({value:i},a),{},{children:t}))},re=["className","alt","color","name","size","spritePath","type"],se="icon",oe=function(e){var t=e.className,n=e.alt,i=e.color,a=e.name,r=e.size,o=e.spritePath,l=void 0===o?"/sprite.svg":o,c=e.type,d=void 0===c?"icon":c,u=x(e,re),h=s(ie),p="pictogram"===d,m=V(se,b(b(b({},"".concat(se,"--").concat(r),r),"".concat(se,"--").concat(i),i),"".concat(se,"--pictogram"),p),t);if(p){var f="/sprite.svg"!==l||void 0===h?l:h;return F.jsxs("svg",_(_({className:m,"aria-hidden":void 0!==n?void 0:"true",role:void 0!==n?"img":void 0},u),{},{children:[void 0!==n&&n.length>0&&F.jsx("title",{children:n}),F.jsx("use",{className:"".concat(se,"__use ").concat(se,"__use--light"),xlinkHref:"".concat(f,"#").concat(a)}),F.jsx("use",{className:"".concat(se,"__use ").concat(se,"__use--dark"),xlinkHref:"".concat(f,"#").concat(a,"--dark")})]}))}return F.jsxs("svg",_(_({className:m,"aria-hidden":void 0!==n?void 0:"true",role:void 0!==n?"img":void 0},u),{},{children:[void 0!==n&&n.length>0&&F.jsx("title",{children:n}),F.jsx("use",{xlinkHref:"/sprite.svg"!==l||void 0===h?"".concat(l,"#").concat(a):"".concat(h,"#").concat(a)})]}))};oe.displayName="Icon";var le=["name"],ce=function(e){var t=e.name,n=x(e,le);return F.jsx(oe,_({name:t,type:"pictogram"},n))};ce.displayName="Pictogram";var de=["className","title","renderTitle","id","isActive","toggleAttribute"],ue="accordion",he=function(t){var n=t.className,i=t.title,a=t.renderTitle,r=t.id,s=t.isActive,o=t.toggleAttribute,l=void 0===o?"data-accordion-toggle":o,c=x(t,de),d=e.useContext(J),u="h".concat(d||3),h=_(b({type:"button","aria-expanded":s,className:"".concat(ue,"__button"),"aria-controls":"".concat(r,"-section"),id:r},l,!0),c);return F.jsx(u,{className:V("".concat(ue,"__header"),n),children:F.jsxs("button",_(_({},h),{},{children:[a?a(i):F.jsx("span",{className:"accordion__title",children:i}),F.jsx(oe,{className:"".concat(ue,"__icon"),name:"chevron-down",size:"medium"})]}))})};he.displayName="AccordionHeader";var pe=["id","isActive","title","renderTitle","renderHeader","children","className"],me=function(e){var t=e.id,n=e.isActive,i=e.title,a=e.renderTitle,r=e.renderHeader,s=e.children,o=e.className,l=x(e,pe),c=V("accordion__item",o),d=G(t);return F.jsxs("li",{className:c,children:[r?r(i,d,n||!1):F.jsx(he,_({id:d,isActive:n,title:i,renderTitle:a},l)),F.jsx("div",_(_({id:"".concat(d,"-section"),role:"region","aria-labelledby":d,className:V("accordion__body",{"is-active":n})},n?{}:{hidden:!0}),{},{children:s}))]})};me.displayName="AccordionItem";var fe=function(e){var t=e.condition,n=e.wrapper,i=e.children;return t?o(n,void 0,i):i};fe.displayName="ConditionalWrapper";var ve=["isStackedOnXs","children","className"],ge="buttons",be=function(e){var t=e.isStackedOnXs,n=e.children,i=e.className,a=x(e,ve);return F.jsx("div",_(_({className:V(ge,b({},"".concat(ge,"--stack-on-xs"),t),i)},a),{},{children:n}))};be.displayName="Buttons";var ye={warning:"warning-important",info:"info",danger:"error-severe",success:"checked"},_e=["className","type","title","renderTitle","description","headingLevel","actionButtons","isFullWidth","onClose"],xe="alert",we=function(t){var n=t.className,i=t.type,a=void 0===i?"info":i,r=t.title,s=t.renderTitle,o=t.description,l=t.headingLevel,c=void 0===l?3:l,d=t.actionButtons,u=t.isFullWidth,h=t.onClose,p=x(t,_e),m="h".concat(c),f=V(xe,b(b({},"".concat(xe,"--").concat(a),a),"".concat(xe,"--full-width"),u),n),v=s&&s(_({className:n,type:a,title:r,renderTitle:s,description:o,headingLevel:c,actionButtons:d,isFullWidth:u,onClose:h},p))||r&&e.createElement(m,{className:"".concat(xe,"__title")},r);return F.jsxs("div",_(_({className:f},p),{},{children:[F.jsx("div",{className:"".concat(xe,"__icon"),children:F.jsx(oe,{name:ye[a],color:a,size:"medium"})}),F.jsxs("div",{className:"".concat(xe,"__content"),children:[v,o&&F.jsx(fe,{condition:"string"==typeof o,wrapper:F.jsx("p",{}),children:o}),d&&F.jsx(fe,{condition:e.Children.count(d)>1,wrapper:F.jsx(be,{}),children:e.Children.map(d,function(e){return e})})]}),h&&F.jsx("div",{className:"".concat(xe,"__close"),children:F.jsx("button",{onClick:h,children:F.jsx(oe,{name:"close",size:"medium"})})})]}))};we.displayName="Alert";var Se=["className","children","isUnderline","isNormal","noAccent","tag","href"],Ne=function(t){var n=t.className,i=t.children,a=t.isUnderline,r=t.isNormal,s=t.noAccent,o=t.tag,l=void 0===o?"a":o,c=t.href,d=x(t,Se),u=V("link",{underline:a,normal:r,"no-accent":s},n);return e.createElement(l,_({href:c,className:u},d),i)};Ne.displayName="Link";var Ee=function(){function e(t){return f(this,e),this.isAutoScrolling=!1,this.isPointerDown=!1,this.isDraggingNav=!1,this.suppressClick=!1,this.dragStartX=0,this.dragStartScrollLeft=0,this.scrollTimeout=null,this.scrollEndFallbackTimeout=null,this.navLinks=null,this.sections=[],this.lastActiveIndex=0,this.autoScrollTargetId=null,this.autoScrollCorrectionCount=0,this.lastStickyOffset=0,this.modalClassObserver=null,this.isForcedFixed=!1,this.wasStickyFloating=!1,this.forcedFixedTop=0,this.forcedFixedLeft=0,this.fixedFlowPlaceholder=null,this.originalInlineStyles=null,this.element=t,this.contentLeftElement=null,this.megamenuElement=null,this.resizeObserver=null,this.supportsScrollEnd="onscrollend"in window,this.isAutoScrolling=!1,this.currentPath=window.location.pathname,this.anchorClickHandler=this.handleAnchorClick.bind(this),this.scrollHandler=this.updateStickyPosition.bind(this),this.scrollSpyHandler=this.handleScrollSpy.bind(this),this.scrollEndHandler=this.handleScrollEnd.bind(this),this.scrollEndFallbackHandler=this.handleScrollEndFallback.bind(this),this.resizeHandler=this.handleResize.bind(this),this.mouseDownHandler=this.handleMouseDown.bind(this),this.dragStartHandler=this.handleDragStart.bind(this),this.dragMoveHandler=this.handleDragMove.bind(this),this.dragEndHandler=this.handleDragEnd.bind(this),this.horizontalScrollHandler=this.updateHorizontalOverflowState.bind(this),this.nativeDragStartHandler=this.handleNativeDragStart.bind(this),this.modalStateHandler=this.handleModalStateChange.bind(this),this.element.ODS_AnchorNavigation=this,this.init(),this}return g(e,[{key:"findMegamenuElement",value:function(){return document.querySelector("[data-megamenu]")}},{key:"getMegamenuOffsetHeight",value:function(){var e;return(null===(e=this.megamenuElement)||void 0===e?void 0:e.offsetHeight)||0}},{key:"updateStickyPosition",value:function(){if(!this.isForcedFixed&&this.megamenuElement){var t=this.getMegamenuOffsetHeight(),n=t!==this.lastStickyOffset;if(this.lastStickyOffset=t,this.element.style.top="".concat(t,"px"),this.updateStickyFloatingState(),n&&this.isAutoScrolling&&this.autoScrollTargetId&&!(this.autoScrollCorrectionCount>=e.MAX_SCROLL_CORRECTIONS)){var i=document.getElementById(this.autoScrollTargetId);i&&(this.autoScrollCorrectionCount+=1,this.scrollToSection(i,"smooth"))}}}},{key:"setupMegamenuObserver",value:function(){if(this.megamenuElement=this.findMegamenuElement(),!this.megamenuElement)return this.lastStickyOffset=0,void(this.element.style.top="0px");this.updateStickyPosition(),window.addEventListener("scroll",this.scrollHandler,{passive:!0}),this.resizeObserver=new ResizeObserver(this.updateStickyPosition.bind(this)),this.resizeObserver.observe(this.megamenuElement)}},{key:"setupScrollSpy",value:function(){document.documentElement.style.setProperty("--extra-scroll-margin",this.element.offsetHeight+"px"),this.navLinks=this.element.querySelectorAll(".anchor-navigation__item"),this.sections=Array.from(this.navLinks||[]).map(function(e){return e.getAttribute("href")}).filter(function(e){return null==e?void 0:e.includes("#")}).map(function(e){return document.getElementById(e.split("#")[1])}).filter(Boolean),this.teardownScrollSpyListeners(),this.element.addEventListener("click",this.anchorClickHandler),this.element.addEventListener("mousedown",this.mouseDownHandler),window.addEventListener("scroll",this.scrollSpyHandler,{passive:!0}),this.supportsScrollEnd?window.addEventListener("scrollend",this.scrollEndHandler):window.addEventListener("scroll",this.scrollEndFallbackHandler,{passive:!0}),window.addEventListener("resize",this.resizeHandler),this.initScrollSpy(),this.alignInitialHashIfNeeded()}},{key:"teardownScrollSpyListeners",value:function(){this.element.removeEventListener("click",this.anchorClickHandler),this.element.removeEventListener("mousedown",this.mouseDownHandler),window.removeEventListener("scroll",this.scrollSpyHandler),window.removeEventListener("resize",this.resizeHandler),this.supportsScrollEnd?window.removeEventListener("scrollend",this.scrollEndHandler):window.removeEventListener("scroll",this.scrollEndFallbackHandler),this.scrollEndFallbackTimeout&&(clearTimeout(this.scrollEndFallbackTimeout),this.scrollEndFallbackTimeout=null)}},{key:"handleMouseDown",value:function(e){if(0===e.button){var t=e.target;t&&this.element.contains(t)&&(t.closest("a, button, input, select, textarea, label, [role='button'], [contenteditable='true']")||e.preventDefault())}}},{key:"handleAnchorClick",value:function(e){if(this.suppressClick)return e.preventDefault(),e.stopPropagation(),void(this.suppressClick=!1);var t=e.target,n=null==t?void 0:t.closest(".anchor-navigation__item");if(n&&this.element.contains(n)){e.preventDefault();var i=n.getAttribute("href");if(i&&i.includes("#")){var a=i.split("#")[1],r=document.getElementById(a);if(r){this.startAutoScroll(a),n.blur(),this.scrollToSection(r,"smooth");var s="".concat(window.location.pathname).concat(window.location.search,"#").concat(a);window.history.pushState(null,"",s),this.initScrollSpy(a)}}}}},{key:"getHashSectionId",value:function(){var e=window.location.hash;if(!e||e.length<=1)return null;var t=e.slice(1);try{t=decodeURIComponent(t)}catch(e){}return t||null}},{key:"startAutoScroll",value:function(e){this.isAutoScrolling=!0,this.autoScrollTargetId=e,this.autoScrollCorrectionCount=0}},{key:"resetAutoScrollState",value:function(){this.isAutoScrolling=!1,this.autoScrollTargetId=null,this.autoScrollCorrectionCount=0}},{key:"tryCorrectAutoScrollAlignment",value:function(){if(!this.autoScrollTargetId)return!0;var t=document.getElementById(this.autoScrollTargetId);if(!t)return!0;var n=this.getTargetTop(t);if(Math.abs(window.scrollY-n)<=e.SCROLL_ALIGNMENT_TOLERANCE)return!0;if(this.autoScrollCorrectionCount>=e.MAX_SCROLL_CORRECTIONS)return!0;this.autoScrollCorrectionCount+=1;var i=1===this.autoScrollCorrectionCount?"smooth":"auto";return this.scrollToSection(t,i),!1}},{key:"getTotalStickyOffset",value:function(){return(this.megamenuElement?this.megamenuElement.offsetHeight:0)+this.element.offsetHeight}},{key:"getConfiguredScrollPaddingTop",value:function(){var e=window.getComputedStyle(document.documentElement).scrollPaddingTop,t=Number.parseFloat(e);return Number.isFinite(t)&&t>0?t:0}},{key:"getEffectiveScrollOffset",value:function(){var e=this.getConfiguredScrollPaddingTop();return e>0?e:this.getTotalStickyOffset()}},{key:"getTargetTop",value:function(e){var t=e.getBoundingClientRect().top+window.scrollY-this.getEffectiveScrollOffset();return Math.max(0,t)}},{key:"scrollToSection",value:function(e,t){window.scrollTo({top:this.getTargetTop(e),behavior:t})}},{key:"alignInitialHashIfNeeded",value:function(){var e=this,t=this.getHashSectionId();if(t){var n=document.getElementById(t);n&&(this.startAutoScroll(t),requestAnimationFrame(function(){e.scrollToSection(n,"auto"),requestAnimationFrame(function(){e.handleScrollEnd()})}))}}},{key:"initScrollSpy",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if(this.navLinks&&this.sections.length){var n,i=-1;if(this.navLinks.forEach(function(e){return e.classList.remove("is-active")}),t)(n=document.getElementById(t)||void 0)&&(i=this.sections.findIndex(function(e){return e.id===t}));else for(var a=this.getEffectiveScrollOffset(),r=window.scrollY+a+e.SCROLLSPY_CENTER_BUFFER,s=0;s<this.sections.length;s++){var o=this.sections[s],l=o.getBoundingClientRect(),c=l.top,d=l.height,u=c+window.scrollY;if(r>=u&&r<u+d){n=o,i=s;break}}if(n||(window.scrollY<=e.TOP_SECTION_THRESHOLD?(i=0,n=this.sections[0]):(i=this.lastActiveIndex,n=this.sections[i])),i>=0&&(this.lastActiveIndex=i),n){var h=n.getAttribute("id"),p=this.element.querySelector('.anchor-navigation__item[href="#'.concat(h,'"]'));if(p||(p=this.element.querySelector('.anchor-navigation__item[href="'.concat(this.currentPath,"#").concat(h,'"]'))),p||(p=Array.from(this.navLinks).find(function(e){var t=e.getAttribute("href");return t&&t.endsWith("#".concat(h))})),p){p.classList.add("is-active");var m=this.element.querySelector(".anchor-navigation__content-left");m&&this.scrollActiveLinkIntoView(m,p,Boolean(t))}}}}},{key:"scrollActiveLinkIntoView",value:function(t,n){var i=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=Math.max(0,t.scrollWidth-t.clientWidth),r=t.getBoundingClientRect(),s=n.getBoundingClientRect(),o=s.left-r.left+t.scrollLeft+s.width/2-t.clientWidth/2,l=window.innerWidth<768?"auto":"smooth",c=Math.min(a,Math.max(0,o)),d=Math.abs(t.scrollLeft-c)<=e.SCROLL_ALIGNMENT_TOLERANCE;!i&&d||("function"!=typeof t.scrollTo?t.scrollLeft=c:t.scrollTo({left:c,behavior:l}))}},{key:"setupDragScroll",value:function(){this.teardownDragScroll(),this.contentLeftElement=this.element.querySelector(".anchor-navigation__content-left"),this.contentLeftElement&&(this.contentLeftElement.addEventListener("mousedown",this.dragStartHandler),this.contentLeftElement.addEventListener("dragstart",this.nativeDragStartHandler),this.contentLeftElement.addEventListener("scroll",this.horizontalScrollHandler,{passive:!0}),this.updateDragState(),this.updateHorizontalOverflowState())}},{key:"teardownDragScroll",value:function(){this.contentLeftElement&&(this.contentLeftElement.removeEventListener("mousedown",this.dragStartHandler),this.contentLeftElement.removeEventListener("dragstart",this.nativeDragStartHandler),this.contentLeftElement.removeEventListener("scroll",this.horizontalScrollHandler),this.contentLeftElement.classList.remove("is-draggable","is-dragging")),window.removeEventListener("mousemove",this.dragMoveHandler),window.removeEventListener("mouseup",this.dragEndHandler),this.contentLeftElement=null,this.isPointerDown=!1,this.isDraggingNav=!1,this.suppressClick=!1,this.dragStartX=0,this.dragStartScrollLeft=0}},{key:"updateDragState",value:function(){if(this.contentLeftElement){var e="function"==typeof window.matchMedia?window.matchMedia("(pointer: fine)"):null,t=!e||e.matches,n=this.contentLeftElement.scrollWidth>this.contentLeftElement.clientWidth,i=t&&n;this.contentLeftElement.classList.toggle("is-draggable",i),i||(this.contentLeftElement.classList.remove("is-dragging"),this.isPointerDown=!1,this.isDraggingNav=!1,this.suppressClick=!1,window.removeEventListener("mousemove",this.dragMoveHandler),window.removeEventListener("mouseup",this.dragEndHandler)),this.updateHorizontalOverflowState()}}},{key:"updateHorizontalOverflowState",value:function(){if(this.contentLeftElement){var t=this.element.querySelector(".anchor-navigation__content");if(t){var n=this.contentLeftElement.scrollWidth-this.contentLeftElement.clientWidth,i=n>e.SCROLL_EDGE_TOLERANCE,a=this.contentLeftElement.scrollLeft<=e.SCROLL_EDGE_TOLERANCE,r=this.contentLeftElement.scrollLeft>=n-e.SCROLL_EDGE_TOLERANCE;t.classList.toggle("has-left-overflow",i&&!a),t.classList.toggle("has-right-overflow",i&&!r)}}}},{key:"handleDragStart",value:function(e){0===e.button&&this.contentLeftElement&&this.contentLeftElement.classList.contains("is-draggable")&&(this.isPointerDown=!0,this.isDraggingNav=!1,this.suppressClick=!1,this.dragStartX=e.clientX,this.dragStartScrollLeft=this.contentLeftElement.scrollLeft,window.addEventListener("mousemove",this.dragMoveHandler),window.addEventListener("mouseup",this.dragEndHandler))}},{key:"handleDragMove",value:function(t){if(this.isPointerDown&&this.contentLeftElement){var n=t.clientX-this.dragStartX;!this.isDraggingNav&&Math.abs(n)>=e.DRAG_START_THRESHOLD&&(this.isDraggingNav=!0,this.suppressClick=!0,this.contentLeftElement.classList.add("is-dragging")),this.isDraggingNav&&(t.preventDefault(),this.contentLeftElement.scrollLeft=this.dragStartScrollLeft-n)}}},{key:"handleDragEnd",value:function(){var e=this;if(this.isPointerDown){this.isPointerDown=!1,window.removeEventListener("mousemove",this.dragMoveHandler),window.removeEventListener("mouseup",this.dragEndHandler),this.contentLeftElement&&this.contentLeftElement.classList.remove("is-dragging");var t=this.isDraggingNav;this.isDraggingNav=!1,t&&window.setTimeout(function(){e.suppressClick=!1},0)}}},{key:"handleNativeDragStart",value:function(e){var t;null!==(t=this.contentLeftElement)&&void 0!==t&&t.classList.contains("is-draggable")&&e.preventDefault()}},{key:"handleScrollEndFallback",value:function(){var t=this;this.scrollEndFallbackTimeout&&clearTimeout(this.scrollEndFallbackTimeout),this.scrollEndFallbackTimeout=setTimeout(function(){t.handleScrollEnd()},e.SCROLL_END_DEBOUNCE_MS)}},{key:"handleResize",value:function(){if(this.isForcedFixed){var e,t=null===(e=this.element.parentElement)||void 0===e?void 0:e.getBoundingClientRect(),n=this.getMegamenuOffsetHeight();t&&(this.forcedFixedLeft=Math.round(t.left),this.element.style.width="".concat(Math.round(t.width),"px")),n>0&&(this.forcedFixedTop=n),this.element.style.top="".concat(this.forcedFixedTop,"px"),this.element.style.left="".concat(this.forcedFixedLeft,"px"),this.fixedFlowPlaceholder&&(this.fixedFlowPlaceholder.style.height="".concat(this.element.offsetHeight,"px"))}else this.updateStickyFloatingState();this.initScrollSpy(),this.updateDragState(),this.updateHorizontalOverflowState()}},{key:"isAnyModalOpen",value:function(){return document.body.classList.contains(e.MODAL_OPEN_BODY_CLASS)}},{key:"isCurrentlyStickyFloating",value:function(){if(!this.megamenuElement)return!1;var t=this.getMegamenuOffsetHeight();return this.element.getBoundingClientRect().top<=t+e.STICKY_FLOAT_TOLERANCE}},{key:"updateStickyFloatingState",value:function(){this.isAnyModalOpen()||this.isForcedFixed||(this.wasStickyFloating=this.isCurrentlyStickyFloating())}},{key:"ensureFixedFlowPlaceholder",value:function(){this.fixedFlowPlaceholder||(this.fixedFlowPlaceholder=document.createElement("div"),this.fixedFlowPlaceholder.setAttribute("aria-hidden","true"),this.fixedFlowPlaceholder.style.width="100%",this.fixedFlowPlaceholder.style.pointerEvents="none",this.fixedFlowPlaceholder.style.visibility="hidden",this.element.insertAdjacentElement("afterend",this.fixedFlowPlaceholder)),this.fixedFlowPlaceholder.style.height="".concat(this.element.offsetHeight,"px")}},{key:"removeFixedFlowPlaceholder",value:function(){this.fixedFlowPlaceholder&&(this.fixedFlowPlaceholder.remove(),this.fixedFlowPlaceholder=null)}},{key:"applyFixedPosition",value:function(){var e,t,n;if(!this.isForcedFixed){var i=this.element.getBoundingClientRect(),a=null===(e=this.element.parentElement)||void 0===e?void 0:e.getBoundingClientRect(),r=this.getMegamenuOffsetHeight();this.originalInlineStyles={position:this.element.style.position,top:this.element.style.top,left:this.element.style.left,right:this.element.style.right,width:this.element.style.width},this.forcedFixedTop=r>0?r:Math.max(0,Math.round(i.top)),this.forcedFixedLeft=Math.max(0,Math.round(null!==(t=null==a?void 0:a.left)&&void 0!==t?t:i.left));var s=Math.round(null!==(n=null==a?void 0:a.width)&&void 0!==n?n:i.width);this.element.style.position="fixed",this.element.style.top="".concat(this.forcedFixedTop,"px"),this.element.style.left="".concat(this.forcedFixedLeft,"px"),this.element.style.right="",this.element.style.width="".concat(s,"px"),this.ensureFixedFlowPlaceholder(),this.isForcedFixed=!0}}},{key:"restoreStickyPosition",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];if(this.isForcedFixed){var t=this.originalInlineStyles;this.element.style.position=(null==t?void 0:t.position)||"",this.element.style.top=(null==t?void 0:t.top)||"",this.element.style.left=(null==t?void 0:t.left)||"",this.element.style.right=(null==t?void 0:t.right)||"",this.element.style.width=(null==t?void 0:t.width)||"",this.resetFixedPositionState(),e&&(this.updateStickyPosition(),this.initScrollSpy())}}},{key:"handleModalStateChange",value:function(){this.isAnyModalOpen()?(this.isForcedFixed||this.wasStickyFloating)&&this.applyFixedPosition():(this.restoreStickyPosition(!1),this.updateStickyFloatingState())}},{key:"setupModalObserver",value:function(){this.updateStickyFloatingState(),this.handleModalStateChange(),document.body&&"undefined"!=typeof MutationObserver&&(this.modalClassObserver=new MutationObserver(this.modalStateHandler),this.modalClassObserver.observe(document.body,{attributes:!0,attributeFilter:["class"]}))}},{key:"teardownModalObserver",value:function(){this.modalClassObserver&&(this.modalClassObserver.disconnect(),this.modalClassObserver=null)}},{key:"teardownMegamenuObserver",value:function(){window.removeEventListener("scroll",this.scrollHandler),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"clearAutoScrollTimers",value:function(){this.scrollTimeout&&(clearTimeout(this.scrollTimeout),this.scrollTimeout=null)}},{key:"resetFixedPositionState",value:function(){this.originalInlineStyles=null,this.isForcedFixed=!1,this.wasStickyFloating=!1,this.forcedFixedTop=0,this.forcedFixedLeft=0,this.removeFixedFlowPlaceholder()}},{key:"resetNavigationState",value:function(){this.megamenuElement=null,this.lastStickyOffset=0,this.navLinks=null,this.sections=[],this.lastActiveIndex=0,this.autoScrollTargetId=null,this.autoScrollCorrectionCount=0,this.resetFixedPositionState()}},{key:"handleScrollSpy",value:function(){var t=this;this.isAutoScrolling?(this.scrollTimeout&&clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(function(){t.handleScrollEnd()},e.SCROLL_END_DEBOUNCE_MS)):this.initScrollSpy()}},{key:"handleScrollEnd",value:function(){this.scrollTimeout&&(clearTimeout(this.scrollTimeout),this.scrollTimeout=null),this.tryCorrectAutoScrollAlignment()&&(this.resetAutoScrollState(),this.initScrollSpy())}},{key:"init",value:function(){this.setupMegamenuObserver(),this.setupScrollSpy(),this.setupDragScroll(),this.setupModalObserver()}},{key:"destroy",value:function(){this.clearAutoScrollTimers(),this.teardownMegamenuObserver(),this.teardownScrollSpyListeners(),this.teardownDragScroll(),this.teardownModalObserver(),this.restoreStickyPosition(!1),this.element.style.top="",this.resetNavigationState(),this.element.ODS_AnchorNavigation=null}},{key:"update",value:function(){this.clearAutoScrollTimers(),this.teardownMegamenuObserver(),this.teardownScrollSpyListeners(),this.teardownDragScroll(),this.teardownModalObserver(),this.restoreStickyPosition(!1),this.resetNavigationState(),this.init()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_AnchorNavigation?e.ODS_AnchorNavigation:null}}])}();Ee.MODAL_OPEN_BODY_CLASS="has-modal",Ee.STICKY_FLOAT_TOLERANCE=3,Ee.SCROLLSPY_CENTER_BUFFER=50,Ee.TOP_SECTION_THRESHOLD=100,Ee.DRAG_START_THRESHOLD=6,Ee.SCROLL_END_DEBOUNCE_MS=150,Ee.SCROLL_EDGE_TOLERANCE=1,Ee.SCROLL_ALIGNMENT_TOLERANCE=1,Ee.MAX_SCROLL_CORRECTIONS=2;var ke=["items","className","children"],Ce="anchor-navigation",Te=function(e){var t=e.items,n=e.className,i=e.children,a=x(e,ke),r=V(Ce,n),s=N(U(Ee),1)[0];return F.jsx("nav",_(_({className:r,ref:s,"data-anchor-navigation":!0,"aria-label":"Sekcie stránky"},a),{},{children:F.jsxs("div",{className:"".concat(Ce,"__content"),children:[F.jsx("ul",{className:V("list-inline horizontal-scroll mb-none","".concat(Ce,"__content-left")),children:t.map(function(e){return F.jsx("li",{children:F.jsx(Ne,{href:e.href,className:V("".concat(Ce,"__item"),{"is-active":e.isActive}),children:e.label})},e.href)})}),i&&F.jsx("div",{className:"".concat(Ce,"__content-right"),children:i})]})}))};Te.displayName="AnchorNavigation";var Ae=["align","canWrap","isVertical","space","tag","className","children"],je="bar",Oe=e.forwardRef(function(e,t){var n=e.align,i=e.canWrap,a=void 0===i||i,r=e.isVertical,s=e.space,o=e.tag,l=void 0===o?"div":o,c=e.className,d=e.children,u=x(e,Ae),h=V(je,b(b(b(b({},"align-items-".concat(n),n),"".concat(je,"--vertical"),r),"".concat(je,"--nowrap"),!a),"".concat(je,"--space-").concat(s),s),c);return F.jsx(l,_(_({className:h,ref:t},u),{},{children:d}))});Oe.displayName="Bar";var Le=["className","tag","children"],De=e.forwardRef(function(e,t){var n=e.className,i=e.tag,a=void 0===i?"div":i,r=e.children,s=x(e,Le),o=V("bar__break",n);return F.jsx(a,_(_({className:o,ref:t},s),{},{children:r}))});De.displayName="BarBreak";var Me=["className","tag","isFilling","canShrink","children"],Pe="bar__item",Ie=e.forwardRef(function(e,t){var n=e.className,i=e.tag,a=void 0===i?"div":i,r=e.isFilling,s=e.canShrink,o=e.children,l=x(e,Me),c=a,d=V(Pe,b(b({},"".concat(Pe,"--fill"),r),"".concat(Pe,"--shrinkable"),s),n);return F.jsx(c,_(_({className:d,ref:t},l),{},{children:o}))});Ie.displayName="BarItem";var Re=["className","children"],ze=function(t){var n=t.className,i=t.children,a=x(t,Re);return e.cloneElement(i,_(_(_({},"object"===C(i.props)&&null!==i.props?i.props:{}),a),{},{className:V(i.props&&i.props.className,n)}))},Fe=e.createContext({isIndicating:!1,isActive:!1,setIsActive:function(){},setIsIndicating:function(){},hasBorderOnHover:void 0}),Be=function(e){var t=N(a(!1),2),n=t[0],i=t[1],r=N(a(!1),2),s=r[0],o=r[1];return F.jsx(Fe.Provider,{value:{isIndicating:n,setIsIndicating:i,isActive:s,setIsActive:o,hasBorderOnHover:e.hasBorderOnHover},children:e.children})},He=["hasBorderOnHover","className"],Ve=function(e){var t=e.hasBorderOnHover,n=e.className,i=x(e,He);return F.jsx(Be,{hasBorderOnHover:t,children:F.jsx(ze,_(_({},i),{},{className:V("block-action",n,{"block-action--border-on-hover":t}),"data-block-action":!0}))})};Ve.displayName="BlockAction";var We=function(e){var t=s(Fe),n=t.isActive,i=t.setIsActive,a=t.setIsIndicating;return F.jsx(ze,_(_({},e),{},{className:"block-action__control",onMouseEnter:function(){return a(!0)},onMouseLeave:function(){return a(!1)},onFocus:function(){return a(!0)},onBlur:function(){return a(!1)},onClick:function(){return i(!n)}}))};We.displayName="BlockActionControl";var qe=function(e){var t=s(Fe),n=t.isActive,i=t.isIndicating;return F.jsx(ze,_(_({},e),{},{className:V("block-action__indicator",e.className,{"is-indicating":i,"is-active":n})}))};qe.displayName="BlockActionIndicator";var Ue=function(e){return F.jsx(ze,_(_({},e),{},{className:"block-action__override"}))};function $e(e){return e?"".concat("".concat(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-").concat(e)):""}function Ge(e,t,n){return Object.keys(t).map(function(i){switch(C(t[i])){case"boolean":return"".concat(e).concat("xs"!==i?"--".concat(i):"-").concat($e(n));case"string":case"number":return"".concat(e).concat("xs"!==i?"--".concat(i):"-").concat($e(t[i])).concat($e(n));default:return null}}).join(" ")}function Ye(e,t,n){return["boolean"==typeof t?"".concat(e).concat($e(n,"--")):null,null!==t&&"object"===C(t)?Ge(e,t,n):null,b({},"".concat(e,"--").concat(t).concat($e(n)),"string"==typeof t||"number"==typeof t)]}Ue.displayName="BlockActionOverride";var Xe,Ke={exports:{}},Ze=(Xe||(Xe=1,Ke.exports=function(){var e=["decimals","thousand","mark","prefix","suffix","encoder","decoder","negativeBefore","negative","edit","undo"];function t(e){return e.split("").reverse().join("")}function n(e,t){return e.substring(0,t.length)===t}function i(e,t,n){if((e[t]||e[n])&&e[t]===e[n])throw new Error(t)}function a(e){return"number"==typeof e&&isFinite(e)}function r(e,n,i,r,s,o,l,c,d,u,h,p){var m,f,v,g,b,y=p,_="",x="";return o&&(p=o(p)),!!a(p)&&(!1!==e&&0===parseFloat(p.toFixed(e))&&(p=0),p<0&&(m=!0,p=Math.abs(p)),!1!==e&&(b=e,g=(g=p).toString().split("e"),p=(+((g=(g=Math.round(+(g[0]+"e"+(g[1]?+g[1]+b:b)))).toString().split("e"))[0]+"e"+(g[1]?+g[1]-b:-b))).toFixed(b)),-1!==(p=p.toString()).indexOf(".")?(v=(f=p.split("."))[0],i&&(_=i+f[1])):v=p,n&&(v=t(v).match(/.{1,3}/g),v=t(v.join(t(n)))),m&&c&&(x+=c),r&&(x+=r),m&&d&&(x+=d),x+=v,x+=_,s&&(x+=s),u&&(x=u(x,y)),x)}function s(e,t,i,r,s,o,l,c,d,u,h,p){var m,f="";return h&&(p=h(p)),!(!p||"string"!=typeof p)&&(c&&n(p,c)&&(p=p.replace(c,""),m=!0),r&&n(p,r)&&(p=p.replace(r,"")),d&&n(p,d)&&(p=p.replace(d,""),m=!0),s&&function(e,t){return e.slice(-1*t.length)===t}(p,s)&&(p=p.slice(0,-1*s.length)),t&&(p=p.split(t).join("")),i&&(p=p.replace(i,".")),m&&(f+="-"),""!==(f=(f+=p).replace(/[^0-9\.\-.]/g,""))&&(f=Number(f),l&&(f=l(f)),!!a(f)&&f))}function o(t,n,i){var a,r=[];for(a=0;a<e.length;a+=1)r.push(t[e[a]]);return r.push(i),n.apply("",r)}return function t(n){if(!(this instanceof t))return new t(n);"object"==typeof n&&(n=function(t){var n,a,r,s={};for(void 0===t.suffix&&(t.suffix=t.postfix),n=0;n<e.length;n+=1)if(void 0===(r=t[a=e[n]]))"negative"!==a||s.negativeBefore?"mark"===a&&"."!==s.thousand?s[a]=".":s[a]=!1:s[a]="-";else if("decimals"===a){if(!(r>=0&&r<8))throw new Error(a);s[a]=r}else if("encoder"===a||"decoder"===a||"edit"===a||"undo"===a){if("function"!=typeof r)throw new Error(a);s[a]=r}else{if("string"!=typeof r)throw new Error(a);s[a]=r}return i(s,"mark","thousand"),i(s,"prefix","negative"),i(s,"prefix","negativeBefore"),s}(n),this.to=function(e){return o(n,r,e)},this.from=function(e){return o(n,s,e)})}}()),Ke.exports),Je=A(Ze);function Qe(e){return e.charAt(0).toUpperCase()+e.slice(1)}var et={decimals:2,mark:",",thousand:" ",suffix:" €"};function tt(e,t){return Je(_(_(_({},et),t),e%1==0?{decimals:0}:{})).to(e)}var nt=["className","hAlign","vAlign","tag","justifyHeight","rowGapSize","columnGapSize"],it="grid",at=e.forwardRef(function(e,t){var n=e.className,i=e.hAlign,a=e.vAlign,r=e.tag,s=void 0===r?"div":r,o=e.justifyHeight,l=e.rowGapSize,c=e.columnGapSize,d=x(e,nt),u=V.apply(void 0,[it,b(b(b({},"align-items-".concat(a),a),"justify-content-".concat(i),i),"".concat(it,"--justify-height"),o)].concat(E(Ye("".concat(it,"-column-gap"),c)),E(Ye("".concat(it,"-row-gap"),l)),[n])),h=s;return F.jsx(h,_({className:u,ref:t},d))});at.displayName="Grid";var rt=["className","children","htmlType","href","isActive","isDisabled","size","isSquare","type","elemRef"],st="btn",ot=e.forwardRef(function(e,t){var n=e.className,i=e.children,a=e.htmlType,r=void 0===a?"button":a,s=e.href,o=e.isActive,l=e.isDisabled,c=e.size,d=e.isSquare,u=e.type,h=e.elemRef,p=x(e,rt),m=V(st,b(b(b(b(b({},"".concat(st,"--square"),d),"".concat(st,"--").concat(c),c),"".concat(st,"--").concat(u),u),"".concat(st,"--preserve-width"),e.preserveWidth),"is-active",o),n);if(s){var f=p;return F.jsx("a",_(_({href:s,className:m,"aria-disabled":l?"true":void 0,ref:h||t},f),{},{children:i}))}var v=p;return F.jsx("button",_(_({type:r,className:m,disabled:!!l||void 0,"aria-disabled":l?"true":void 0,ref:h||t},v),{},{children:i}))});ot.displayName="Button";var lt=["className","align","tag","size"],ct="grid__col",dt=function(e){var t=e.className,n=e.align,i=e.tag,a=void 0===i?"div":i,r=e.size,s=x(e,lt),o=Ye(ct,r),l=V.apply(void 0,[ct].concat(E(o.filter(Boolean)),[b({},"align-self-".concat(n),n),t])),c=a;return F.jsx(c,_({className:l},s))};dt.displayName="GridCol";var ut=["className","size","color","image","children","buttonText","buttonClassName"],ht="body-banner",pt=function(e){var t=e.className,n=e.size,i=e.color,a=void 0===i?"background-primary":i,r=e.image,s=e.children,o=e.buttonText,l=e.buttonClassName,c=x(e,ut),d=V(ht,b(b({},"".concat(ht,"--").concat(n),n),a,"background-primary"!==a),t);return F.jsxs(at,_(_({className:d},c),{},{children:[F.jsxs(dt,{size:{xs:12,md:"large"===n?6:12},className:"".concat(ht,"__content"),children:["large"!==n&&r&&F.jsx("div",{className:"".concat(ht,"__image"),children:r}),F.jsxs("div",{className:"".concat(ht,"__content-inner"),children:[F.jsx("div",{children:s}),F.jsx("div",{className:"".concat(ht,"__button"),children:F.jsx(ot,{size:"large",type:"fill",className:V("mb-none",l),children:o})})]})]}),"large"===n&&r&&F.jsx(dt,{size:{xs:12,md:6},className:"".concat(ht,"__image"),children:r})]}))},mt=["className","isCurrent","text","url"],ft=function(e){var t=e.className,n=e.isCurrent,i=e.text,a=e.url,r=x(e,mt),s=V("osk-breadcrumbs__item",t);return n?F.jsx("li",_(_(_({className:s},n?{"aria-current":"page"}:{}),r),{},{children:i})):a?F.jsx("li",{className:s,children:F.jsx("a",_(_({href:a,className:"osk-breadcrumbs__link"},r),{},{children:i}))}):F.jsx("li",_(_({className:s},r),{},{children:i}))};ft.displayName="BreadcrumbItem";var vt=["className","label","items"],gt="osk-breadcrumbs",bt=function(e){var t=e.className,n=e.label,i=e.items,a=x(e,vt),r=V(gt,t),s=i.length-1;return F.jsx("nav",_(_({"aria-label":n,className:r},a),{},{children:F.jsx("ol",{className:"".concat(gt,"__container"),children:i.map(function(e,t){return l(ft,_(_({},e),{},{key:e.text,isCurrent:t===s}))})})}))};bt.displayName="Breadcrumbs";var yt=["iconName","iconPosition","iconClassName","children","size","isSquare"],_t=["className"],xt=e.forwardRef(function(e,t){var n=e.iconName,i=e.iconPosition,a=void 0===i?"left":i,r=e.iconClassName,s=e.children,o=e.size,l=e.isSquare,c=x(e,yt),d=function(e){var t=e.className,i=x(e,_t);return F.jsx(oe,_({name:n,size:null!=o?o:"medium",className:V(r,t)},i))};return l?F.jsxs(ot,_(_({size:o,isSquare:!0},c),{},{ref:t,children:[F.jsx(d,{}),F.jsx("span",{className:"visually-hidden",children:s})]})):F.jsxs(ot,_(_({ref:t,size:o},c),{},{children:["left"===a&&F.jsx(d,{className:"btn__icon-left"}),s,"right"===a&&F.jsx(d,{className:"btn__icon-right"})]}))});xt.displayName="IconButton";var wt=function(e){return F.jsx(ot,_({type:"primary"},e))};wt.displayName="ButtonPrimary";var St=function(e){return F.jsx(ot,_({type:"fill"},e))};St.displayName="ButtonFill";var Nt=function(e){return F.jsx(ot,_({type:"ghost"},e))};Nt.displayName="ButtonGhost";var Et=["className","color","noBorder"],kt="card",Ct=e.forwardRef(function(e,t){var n=e.className,i=e.color,a=void 0===i?"background-primary":i,r=e.noBorder,s=x(e,Et),o=V(kt,b(b(b({},a,"background-primary"!==a&&"background-contrast"!==a),"".concat(a," text-inverse"),"background-contrast"===a),"".concat(kt,"--no-border"),r),n);return F.jsx("div",_({className:o,ref:t},s))});Ct.displayName="Card";var Tt=["className","children","image","space"],At="card__product",jt=e.forwardRef(function(e,t){var n=e.className,i=e.children,a=e.image,r=e.space,s=x(e,Tt),o=V("".concat(At,"-header"),b({},"".concat(At,"-header--space-small"),"small"===r),n),l="".concat(At,"-content");return F.jsxs("div",_(_({className:o,ref:t},s),{},{children:[F.jsx("div",{className:l,children:i}),a]}))});jt.displayName="CardProductHeader";var Ot=["className","color","isFilling","space"],Lt="card__section",Dt=e.forwardRef(function(e,t){var n=e.className,i=e.color,a=e.isFilling,r=e.space,s=x(e,Ot),o=V(Lt,b(b(b(b({},String(i),i&&"background-primary"!==i&&"background-contrast"!==i),"".concat(i," text-inverse"),"background-contrast"===i),"".concat(Lt,"--fill"),a),"".concat(Lt,"--space-small"),"small"===r),n);return F.jsx("div",_({className:o,ref:t},s))});function Mt(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function Pt(e={},t={}){const n=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>n.indexOf(e)<0).forEach(n=>{void 0===e[n]?e[n]=t[n]:Mt(t[n])&&Mt(e[n])&&Object.keys(t[n]).length>0&&Pt(e[n],t[n])})}Dt.displayName="CardSection";const It={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Rt(){const e="undefined"!=typeof document?document:{};return Pt(e,It),e}const zt={document:It,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function Ft(){const e="undefined"!=typeof window?window:{};return Pt(e,zt),e}function Bt(e=""){return e.trim().split(" ").filter(e=>!!e.trim())}function Ht(e,t=0){return setTimeout(e,t)}function Vt(){return Date.now()}function Wt(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function qt(e){return"undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function Ut(...e){const t=Object(e[0]);for(let n=1;n<e.length;n+=1){const i=e[n];if(null!=i&&!qt(i)){const e=Object.keys(Object(i)).filter(e=>"__proto__"!==e&&"constructor"!==e&&"prototype"!==e);for(let n=0,a=e.length;n<a;n+=1){const a=e[n],r=Object.getOwnPropertyDescriptor(i,a);void 0!==r&&r.enumerable&&(Wt(t[a])&&Wt(i[a])?i[a].__swiper__?t[a]=i[a]:Ut(t[a],i[a]):!Wt(t[a])&&Wt(i[a])?(t[a]={},i[a].__swiper__?t[a]=i[a]:Ut(t[a],i[a])):t[a]=i[a])}}}return t}function $t(e,t,n){e.style.setProperty(t,n)}function Gt({swiper:e,targetPosition:t,side:n}){const i=Ft(),a=-e.translate;let r,s=null;const o=e.params.speed;e.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(e.cssModeFrameID);const l=t>a?"next":"prev",c=(e,t)=>"next"===l&&e>=t||"prev"===l&&e<=t,d=()=>{r=(new Date).getTime(),null===s&&(s=r);const l=Math.max(Math.min((r-s)/o,1),0),u=.5-Math.cos(l*Math.PI)/2;let h=a+u*(t-a);if(c(h,t)&&(h=t),e.wrapperEl.scrollTo({[n]:h}),c(h,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:h})}),void i.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=i.requestAnimationFrame(d)};d()}function Yt(e,t=""){const n=Ft(),i=[...e.children];return n.HTMLSlotElement&&e instanceof HTMLSlotElement&&i.push(...e.assignedElements()),t?i.filter(e=>e.matches(t)):i}function Xt(e){try{return}catch(e){}}function Kt(e,t=[]){const n=document.createElement(e);return n.classList.add(...Array.isArray(t)?t:Bt(t)),n}function Zt(e){const t=Ft(),n=Rt(),i=e.getBoundingClientRect(),a=n.body,r=e.clientTop||a.clientTop||0,s=e.clientLeft||a.clientLeft||0,o=e===t?t.scrollY:e.scrollTop,l=e===t?t.scrollX:e.scrollLeft;return{top:i.top+o-r,left:i.left+l-s}}function Jt(e,t){return Ft().getComputedStyle(e,null).getPropertyValue(t)}function Qt(e){let t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function en(e,t){const n=[];let i=e.parentElement;for(;i;)t?i.matches(t)&&n.push(i):n.push(i),i=i.parentElement;return n}function tn(e,t,n){const i=Ft();return e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom"))}function nn(e){return(Array.isArray(e)?e:[e]).filter(e=>!!e)}function an(e,t=""){"undefined"!=typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}let rn,sn,on;function ln(){return rn||(rn=function(){const e=Ft(),t=Rt();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),rn}function cn(e={}){return sn||(sn=function({userAgent:e}={}){const t=ln(),n=Ft(),i=n.navigator.platform,a=e||n.navigator.userAgent,r={ios:!1,android:!1},s=n.screen.width,o=n.screen.height,l=a.match(/(Android);?[\s\/]+([\d.]+)?/);let c=a.match(/(iPad)(?!\1).*OS\s([\d_]+)/);const d=a.match(/(iPod)(.*OS\s([\d_]+))?/),u=!c&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===i;let p="MacIntel"===i;return!c&&p&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${s}x${o}`)>=0&&(c=a.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),p=!1),l&&!h&&(r.os="android",r.android=!0),(c||u||d)&&(r.os="ios",r.ios=!0),r}(e)),sn}function dn(){return on||(on=function(){const e=Ft(),t=cn();let n=!1;function i(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(i()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,i]=t.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));n=e<16||16===e&&i<2}}const a=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),r=i();return{isSafari:n||r,needPerspectiveFix:n,need3dFix:r||a&&t.ios,isWebView:a}}()),on}var un={on(e,t,n){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;const a=n?"unshift":"push";return e.split(" ").forEach(e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][a](t)}),i},once(e,t,n){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;function a(...n){i.off(e,a),a.__emitterProxy&&delete a.__emitterProxy,t.apply(i,n)}return a.__emitterProxy=t,i.on(e,a,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof e)return n;const i=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[i](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach(e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((i,a)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&n.eventsListeners[e].splice(a,1)})}),n):n},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let n,i,a;return"string"==typeof e[0]||Array.isArray(e[0])?(n=e[0],i=e.slice(1,e.length),a=t):(n=e[0].events,i=e[0].data,a=e[0].context||t),i.unshift(a),(Array.isArray(n)?n:n.split(" ")).forEach(e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(t=>{t.apply(a,[e,...i])}),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach(e=>{e.apply(a,i)})}),t}};const hn=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)},pn=(e,t,n)=>{t&&!e.classList.contains(n)?e.classList.add(n):!t&&e.classList.contains(n)&&e.classList.remove(n)},mn=(e,t)=>{if(!e||e.destroyed||!e.params)return;const n=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(n){let t=n.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&!t.lazyPreloaderManaged&&t.remove())})),t&&!t.lazyPreloaderManaged&&t.remove()}},fn=(e,t)=>{if(!e.slides[t])return;const n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},vn=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);const i="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),a=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const n=a,r=[n-t];return r.push(...Array.from({length:t}).map((e,t)=>n+i+t)),void e.slides.forEach((t,n)=>{r.includes(t.column)&&fn(e,n)})}const r=a+i-1;if(e.params.rewind||e.params.loop)for(let i=a-t;i<=r+t;i+=1){const t=(i%n+n)%n;(t<a||t>r)&&fn(e,t)}else for(let i=Math.max(a-t,0);i<=Math.min(r+t,n-1);i+=1)i!==a&&(i>r||i<a)&&fn(e,i)};var gn={updateSize:function(){const e=this;let t,n;const i=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:i.clientWidth,n=void 0!==e.params.height&&null!==e.params.height?e.params.height:i.clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||(t=t-parseInt(Jt(i,"padding-left")||0,10)-parseInt(Jt(i,"padding-right")||0,10),n=n-parseInt(Jt(i,"padding-top")||0,10)-parseInt(Jt(i,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t,n){return parseFloat(t.getPropertyValue(e.getDirectionLabel(n))||0)}const n=e.params,{wrapperEl:i,slidesEl:a,rtlTranslate:r,wrongRTL:s}=e,o=e.virtual&&n.virtual.enabled,l=o?e.virtual.slides.length:e.slides.length,c=Yt(a,`.${e.params.slideClass}, swiper-slide`),d=o?e.virtual.slides.length:c.length;let u=[];const h=[],p=[];let m=n.slidesOffsetBefore;"function"==typeof m&&(m=n.slidesOffsetBefore.call(e));let f=n.slidesOffsetAfter;"function"==typeof f&&(f=n.slidesOffsetAfter.call(e));const v=e.snapGrid.length,g=e.slidesGrid.length,b=e.size-m-f;let y=n.spaceBetween,_=-m,x=0,w=0;if(void 0===b)return;"string"==typeof y&&y.indexOf("%")>=0?y=parseFloat(y.replace("%",""))/100*b:"string"==typeof y&&(y=parseFloat(y)),e.virtualSize=-y-m-f,c.forEach(e=>{r?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),n.centeredSlides&&n.cssMode&&($t(i,"--swiper-centered-offset-before",""),$t(i,"--swiper-centered-offset-after","")),n.cssMode&&($t(i,"--swiper-slides-offset-before",`${m}px`),$t(i,"--swiper-slides-offset-after",`${f}px`));const S=n.grid&&n.grid.rows>1&&e.grid;let N;S?e.grid.initSlides(c):e.grid&&e.grid.unsetSlides();const E="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter(e=>void 0!==n.breakpoints[e].slidesPerView).length>0;for(let i=0;i<d;i+=1){N=0;const a=c[i];if(!a||(S&&e.grid.updateSlide(i,a,c),"none"!==Jt(a,"display"))){if(o&&"auto"===n.slidesPerView)n.virtual.slidesPerViewAutoSlideSize&&(N=n.virtual.slidesPerViewAutoSlideSize),N&&a&&(n.roundLengths&&(N=Math.floor(N)),a.style[e.getDirectionLabel("width")]=`${N}px`);else if("auto"===n.slidesPerView){E&&(a.style[e.getDirectionLabel("width")]="");const i=getComputedStyle(a),r=a.style.transform,s=a.style.webkitTransform;if(r&&(a.style.transform="none"),s&&(a.style.webkitTransform="none"),n.roundLengths)N=e.isHorizontal()?tn(a,"width"):tn(a,"height");else{const e=t(i,"width"),n=t(i,"padding-left"),r=t(i,"padding-right"),s=t(i,"margin-left"),o=t(i,"margin-right"),l=i.getPropertyValue("box-sizing");if(l&&"border-box"===l)N=e+s+o;else{const{clientWidth:t,offsetWidth:i}=a;N=e+n+r+s+o+(i-t)}}r&&(a.style.transform=r),s&&(a.style.webkitTransform=s),n.roundLengths&&(N=Math.floor(N))}else N=(b-(n.slidesPerView-1)*y)/n.slidesPerView,n.roundLengths&&(N=Math.floor(N)),a&&(a.style[e.getDirectionLabel("width")]=`${N}px`);a&&(a.swiperSlideSize=N),p.push(N),n.centeredSlides?(_=_+N/2+x/2+y,0===x&&0!==i&&(_=_-b/2-y),0===i&&(_=_-b/2-y),Math.abs(_)<.001&&(_=0),n.roundLengths&&(_=Math.floor(_)),w%n.slidesPerGroup===0&&u.push(_),h.push(_)):(n.roundLengths&&(_=Math.floor(_)),(w-Math.min(e.params.slidesPerGroupSkip,w))%e.params.slidesPerGroup===0&&u.push(_),h.push(_),_=_+N+y),e.virtualSize+=N+y,x=N,w+=1}}if(e.virtualSize=Math.max(e.virtualSize,b)+f,r&&s&&("slide"===n.effect||"coverflow"===n.effect)&&(i.style.width=`${e.virtualSize+y}px`),n.setWrapperSize&&(i.style[e.getDirectionLabel("width")]=`${e.virtualSize+y}px`),S&&e.grid.updateWrapperSize(N,u),!n.centeredSlides){const t="auto"!==n.slidesPerView&&n.slidesPerView%1!=0,i=n.snapToSlideEdge&&!n.loop&&("auto"===n.slidesPerView||t);let a=u.length;if(i){let e;if("auto"===n.slidesPerView){e=1;let t=0;for(let n=p.length-1;n>=0&&(t+=p[n]+(n<p.length-1?y:0),t<=b);n-=1)e=p.length-n}else e=Math.floor(n.slidesPerView);a=Math.max(d-e,0)}const r=[];for(let t=0;t<u.length;t+=1){let s=u[t];n.roundLengths&&(s=Math.floor(s)),i?t<=a&&r.push(s):u[t]<=e.virtualSize-b&&r.push(s)}u=r,Math.floor(e.virtualSize-b)-Math.floor(u[u.length-1])>1&&(i||u.push(e.virtualSize-b))}if(o&&n.loop){const t=p[0]+y;if(n.slidesPerGroup>1){const i=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/n.slidesPerGroup),a=t*n.slidesPerGroup;for(let e=0;e<i;e+=1)u.push(u[u.length-1]+a)}for(let i=0;i<e.virtual.slidesBefore+e.virtual.slidesAfter;i+=1)1===n.slidesPerGroup&&u.push(u[u.length-1]+t),h.push(h[h.length-1]+t),e.virtualSize+=t}if(0===u.length&&(u=[0]),0!==y){const t=e.isHorizontal()&&r?"marginLeft":e.getDirectionLabel("marginRight");c.filter((e,t)=>!(n.cssMode&&!n.loop)||t!==c.length-1).forEach(e=>{e.style[t]=`${y}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;p.forEach(t=>{e+=t+(y||0)}),e-=y;const t=e>b?e-b:0;u=u.map(e=>e<=0?-m:e>t?t+f:e)}if(n.centerInsufficientSlides){let e=0;if(p.forEach(t=>{e+=t+(y||0)}),e-=y,e<b){const t=(b-e)/2;u.forEach((e,n)=>{u[n]=e-t}),h.forEach((e,n)=>{h[n]=e+t})}}if(Object.assign(e,{slides:c,snapGrid:u,slidesGrid:h,slidesSizesGrid:p}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){$t(i,"--swiper-centered-offset-before",-u[0]+"px"),$t(i,"--swiper-centered-offset-after",e.size/2-p[p.length-1]/2+"px");const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(e=>e+t),e.slidesGrid=e.slidesGrid.map(e=>e+n)}if(d!==l&&e.emit("slidesLengthChange"),u.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==g&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(o||n.cssMode||"slide"!==n.effect&&"fade"!==n.effect)){const t=`${n.containerModifierClass}backface-hidden`,i=e.el.classList.contains(t);d<=n.maxBackfaceHiddenSlides?i||e.el.classList.add(t):i&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,n=[],i=t.virtual&&t.params.virtual.enabled;let a,r=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const s=e=>i?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(e=>{n.push(e)});else for(a=0;a<Math.ceil(t.params.slidesPerView);a+=1){const e=t.activeIndex+a;if(e>t.slides.length&&!i)break;n.push(s(e))}else n.push(s(t.activeIndex));for(a=0;a<n.length;a+=1)if(void 0!==n[a]){const e=n[a].offsetHeight;r=e>r?e:r}(r||0===r)&&(t.wrapperEl.style.height=`${r}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,n=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let i=0;i<t.length;i+=1)t[i].swiperSlideOffset=(e.isHorizontal()?t[i].offsetLeft:t[i].offsetTop)-n-e.cssOverflowAdjustment()},updateSlidesProgress:function(e=this&&this.translate||0){const t=this,n=t.params,{slides:i,rtlTranslate:a,snapGrid:r}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let s=-e;a&&(s=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let o=n.spaceBetween;"string"==typeof o&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*t.size:"string"==typeof o&&(o=parseFloat(o));for(let e=0;e<i.length;e+=1){const l=i[e];let c=l.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(c-=i[0].swiperSlideOffset);const d=(s+(n.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+o),u=(s-r[0]+(n.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+o),h=-(s-c),p=h+t.slidesSizesGrid[e],m=h>=0&&h<=t.size-t.slidesSizesGrid[e],f=h>=0&&h<t.size-1||p>1&&p<=t.size||h<=0&&p>=t.size;f&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e)),hn(l,f,n.slideVisibleClass),hn(l,m,n.slideFullyVisibleClass),l.progress=a?-d:d,l.originalProgress=a?-u:u}},updateProgress:function(e){const t=this;if(void 0===e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,i=t.maxTranslate()-t.minTranslate();let{progress:a,isBeginning:r,isEnd:s,progressLoop:o}=t;const l=r,c=s;if(0===i)a=0,r=!0,s=!0;else{a=(e-t.minTranslate())/i;const n=Math.abs(e-t.minTranslate())<1,o=Math.abs(e-t.maxTranslate())<1;r=n||a<=0,s=o||a>=1,n&&(a=0),o&&(a=1)}if(n.loop){const n=t.getSlideIndexByData(0),i=t.getSlideIndexByData(t.slides.length-1),a=t.slidesGrid[n],r=t.slidesGrid[i],s=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);o=l>=a?(l-a)/s:(l+s-r)/s,o>1&&(o-=1)}Object.assign(t,{progress:a,progressLoop:o,isBeginning:r,isEnd:s}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),r&&!l&&t.emit("reachBeginning toEdge"),s&&!c&&t.emit("reachEnd toEdge"),(l&&!r||c&&!s)&&t.emit("fromEdge"),t.emit("progress",a)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,slidesEl:i,activeIndex:a}=e,r=e.virtual&&n.virtual.enabled,s=e.grid&&n.grid&&n.grid.rows>1,o=e=>Yt(i,`.${n.slideClass}${e}, swiper-slide${e}`)[0];let l,c,d;if(r)if(n.loop){let t=a-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),l=o(`[data-swiper-slide-index="${t}"]`)}else l=o(`[data-swiper-slide-index="${a}"]`);else s?(l=t.find(e=>e.column===a),d=t.find(e=>e.column===a+1),c=t.find(e=>e.column===a-1)):l=t[a];l&&(s||(d=function(e,t){const n=[];for(;e.nextElementSibling;){const i=e.nextElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!d&&(d=t[0]),c=function(e,t){const n=[];for(;e.previousElementSibling;){const i=e.previousElementSibling;t?i.matches(t)&&n.push(i):n.push(i),e=i}return n}(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&0===!c&&(c=t[t.length-1]))),t.forEach(e=>{pn(e,e===l,n.slideActiveClass),pn(e,e===d,n.slideNextClass),pn(e,e===c,n.slidePrevClass)}),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{snapGrid:i,params:a,activeIndex:r,realIndex:s,snapIndex:o}=t;let l,c=e;const d=e=>{let n=e-t.virtual.slidesBefore;return n<0&&(n=t.virtual.slides.length+n),n>=t.virtual.slides.length&&(n-=t.virtual.slides.length),n};if(void 0===c&&(c=function(e){const{slidesGrid:t,params:n}=e,i=e.rtlTranslate?e.translate:-e.translate;let a;for(let e=0;e<t.length;e+=1)void 0!==t[e+1]?i>=t[e]&&i<t[e+1]-(t[e+1]-t[e])/2?a=e:i>=t[e]&&i<t[e+1]&&(a=e+1):i>=t[e]&&(a=e);return n.normalizeSlideIndex&&(a<0||void 0===a)&&(a=0),a}(t)),i.indexOf(n)>=0)l=i.indexOf(n);else{const e=Math.min(a.slidesPerGroupSkip,c);l=e+Math.floor((c-e)/a.slidesPerGroup)}if(l>=i.length&&(l=i.length-1),c===r&&!t.params.loop)return void(l!==o&&(t.snapIndex=l,t.emit("snapIndexChange")));if(c===r&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=d(c));const u=t.grid&&a.grid&&a.grid.rows>1;let h;if(t.virtual&&a.virtual.enabled)h=a.loop?d(c):c;else if(u){const e=t.slides.find(e=>e.column===c);let n=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(n)&&(n=Math.max(t.slides.indexOf(e),0)),h=Math.floor(n/a.grid.rows)}else if(t.slides[c]){const e=t.slides[c].getAttribute("data-swiper-slide-index");h=e?parseInt(e,10):c}else h=c;Object.assign(t,{previousSnapIndex:o,snapIndex:l,previousRealIndex:s,realIndex:h,previousIndex:r,activeIndex:c}),t.initialized&&vn(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(s!==h&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const n=this,i=n.params;let a=e.closest(`.${i.slideClass}, swiper-slide`);!a&&n.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!a&&e.matches&&e.matches(`.${i.slideClass}, swiper-slide`)&&(a=e)});let r,s=!1;if(a)for(let e=0;e<n.slides.length;e+=1)if(n.slides[e]===a){s=!0,r=e;break}if(!a||!s)return n.clickedSlide=void 0,void(n.clickedIndex=void 0);n.clickedSlide=a,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(a.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=r,i.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}},bn={getTranslate:function(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:n,translate:i,wrapperEl:a}=this;if(t.virtualTranslate)return n?-i:i;if(t.cssMode)return i;let r=function(e,t="x"){const n=Ft();let i,a,r;const s=function(e){const t=Ft();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?(a=s.transform||s.webkitTransform,a.split(",").length>6&&(a=a.split(", ").map(e=>e.replace(",",".")).join(", ")),r=new n.WebKitCSSMatrix("none"===a?"":a)):(r=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=r.toString().split(",")),"x"===t&&(a=n.WebKitCSSMatrix?r.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(a=n.WebKitCSSMatrix?r.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),a||0}(a,e);return r+=this.cssOverflowAdjustment(),n&&(r=-r),r||0},setTranslate:function(e,t){const n=this,{rtlTranslate:i,params:a,wrapperEl:r,progress:s}=n;let o,l=0,c=0;n.isHorizontal()?l=i?-e:e:c=e,a.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:c,a.cssMode?r[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-c:a.virtualTranslate||(n.isHorizontal()?l-=n.cssOverflowAdjustment():c-=n.cssOverflowAdjustment(),r.style.transform=`translate3d(${l}px, ${c}px, 0px)`);const d=n.maxTranslate()-n.minTranslate();o=0===d?0:(e-n.minTranslate())/d,o!==s&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,n=!0,i=!0,a){const r=this,{params:s,wrapperEl:o}=r;if(r.animating&&s.preventInteractionOnTransition)return!1;const l=r.minTranslate(),c=r.maxTranslate();let d;if(d=i&&e>l?l:i&&e<c?c:e,r.updateProgress(d),s.cssMode){const e=r.isHorizontal();if(0===t)o[e?"scrollLeft":"scrollTop"]=-d;else{if(!r.support.smoothScroll)return Gt({swiper:r,targetPosition:-d,side:e?"left":"top"}),!0;o.scrollTo({[e?"left":"top"]:-d,behavior:"smooth"})}return!0}return 0===t?(r.setTransition(0),r.setTranslate(d),n&&(r.emit("beforeTransitionStart",t,a),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(d),n&&(r.emit("beforeTransitionStart",t,a),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,r.animating=!1,n&&r.emit("transitionEnd"))}),r.wrapperEl.addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd))),!0}};function yn({swiper:e,runCallbacks:t,direction:n,step:i}){const{activeIndex:a,previousIndex:r}=e;let s=n;s||(s=a>r?"next":a<r?"prev":"reset"),e.emit(`transition${i}`),t&&"reset"===s?e.emit(`slideResetTransition${i}`):t&&a!==r&&(e.emit(`slideChangeTransition${i}`),"next"===s?e.emit(`slideNextTransition${i}`):e.emit(`slidePrevTransition${i}`))}var _n={slideTo:function(e=0,t,n=!0,i,a){"string"==typeof e&&(e=parseInt(e,10));const r=this;let s=e;s<0&&(s=0);const{params:o,snapGrid:l,slidesGrid:c,previousIndex:d,activeIndex:u,rtlTranslate:h,wrapperEl:p,enabled:m}=r;if(!m&&!i&&!a||r.destroyed||r.animating&&o.preventInteractionOnTransition)return!1;void 0===t&&(t=r.params.speed);const f=Math.min(r.params.slidesPerGroupSkip,s);let v=f+Math.floor((s-f)/r.params.slidesPerGroup);v>=l.length&&(v=l.length-1);const g=-l[v];if(o.normalizeSlideIndex)for(let e=0;e<c.length;e+=1){const t=-Math.floor(100*g),n=Math.floor(100*c[e]),i=Math.floor(100*c[e+1]);void 0!==c[e+1]?t>=n&&t<i-(i-n)/2?s=e:t>=n&&t<i&&(s=e+1):t>=n&&(s=e)}if(r.initialized&&s!==u){if(!r.allowSlideNext&&(h?g>r.translate&&g>r.minTranslate():g<r.translate&&g<r.minTranslate()))return!1;if(!r.allowSlidePrev&&g>r.translate&&g>r.maxTranslate()&&(u||0)!==s)return!1}let b;s!==(d||0)&&n&&r.emit("beforeSlideChangeStart"),r.updateProgress(g),b=s>u?"next":s<u?"prev":"reset";const y=r.virtual&&r.params.virtual.enabled;if((!y||!a)&&(h&&-g===r.translate||!h&&g===r.translate))return r.updateActiveIndex(s),o.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==o.effect&&r.setTranslate(g),"reset"!==b&&(r.transitionStart(n,b),r.transitionEnd(n,b)),!1;if(o.cssMode){const e=r.isHorizontal(),n=h?g:-g;if(0===t)y&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),y&&!r._cssModeVirtualInitialSet&&r.params.initialSlide>0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[e?"scrollLeft":"scrollTop"]=n})):p[e?"scrollLeft":"scrollTop"]=n,y&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1});else{if(!r.support.smoothScroll)return Gt({swiper:r,targetPosition:n,side:e?"left":"top"}),!0;p.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}const _=dn().isSafari;return y&&!a&&_&&r.isElement&&r.virtual.update(!1,!1,s),r.setTransition(t),r.setTranslate(g),r.updateActiveIndex(s),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,i),r.transitionStart(n,b),0===t?r.transitionEnd(n,b):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(n,b))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t,n=!0,i){"string"==typeof e&&(e=parseInt(e,10));const a=this;if(a.destroyed)return;void 0===t&&(t=a.params.speed);const r=a.grid&&a.params.grid&&a.params.grid.rows>1;let s=e;if(a.params.loop)if(a.virtual&&a.params.virtual.enabled)s+=a.virtual.slidesBefore;else{let e;if(r){const t=s*a.params.grid.rows;e=a.slides.find(e=>1*e.getAttribute("data-swiper-slide-index")===t).column}else e=a.getSlideIndexByData(s);const t=r?Math.ceil(a.slides.length/a.params.grid.rows):a.slides.length,{centeredSlides:n,slidesOffsetBefore:o,slidesOffsetAfter:l}=a.params,c=n||!!o||!!l;let d=a.params.slidesPerView;"auto"===d?d=a.slidesPerViewDynamic():(d=Math.ceil(parseFloat(a.params.slidesPerView,10)),c&&d%2==0&&(d+=1));let u=t-e<d;if(c&&(u=u||e<Math.ceil(d/2)),i&&c&&"auto"!==a.params.slidesPerView&&!r&&(u=!1),u){const n=c?e<a.activeIndex?"prev":"next":e-a.activeIndex-1<a.params.slidesPerView?"next":"prev";a.loopFix({direction:n,slideTo:!0,activeSlideIndex:"next"===n?e+1:e-t+1,slideRealIndex:"next"===n?a.realIndex:void 0})}if(r){const e=s*a.params.grid.rows;s=a.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===e).column}else s=a.getSlideIndexByData(s)}return requestAnimationFrame(()=>{a.slideTo(s,t,n,i)}),a},slideNext:function(e,t=!0,n){const i=this,{enabled:a,params:r,animating:s}=i;if(!a||i.destroyed)return i;void 0===e&&(e=i.params.speed);let o=r.slidesPerGroup;"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(o=Math.max(i.slidesPerViewDynamic("current",!0),1));const l=i.activeIndex<r.slidesPerGroupSkip?1:o,c=i.virtual&&r.virtual.enabled;if(r.loop){if(s&&!c&&r.loopPreventsSliding)return!1;if(i.loopFix({direction:"next"}),i._clientLeft=i.wrapperEl.clientLeft,i.activeIndex===i.slides.length-1&&r.cssMode)return requestAnimationFrame(()=>{i.slideTo(i.activeIndex+l,e,t,n)}),!0}return r.rewind&&i.isEnd?i.slideTo(0,e,t,n):i.slideTo(i.activeIndex+l,e,t,n)},slidePrev:function(e,t=!0,n){const i=this,{params:a,snapGrid:r,slidesGrid:s,rtlTranslate:o,enabled:l,animating:c}=i;if(!l||i.destroyed)return i;void 0===e&&(e=i.params.speed);const d=i.virtual&&a.virtual.enabled;if(a.loop){if(c&&!d&&a.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const h=u(o?i.translate:-i.translate),p=r.map(e=>u(e)),m=a.freeMode&&a.freeMode.enabled;let f=r[p.indexOf(h)-1];if(void 0===f&&(a.cssMode||m)){let e;r.forEach((t,n)=>{h>=t&&(e=n)}),void 0!==e&&(f=m?r[e]:r[e>0?e-1:e])}let v=0;if(void 0!==f&&(v=s.indexOf(f),v<0&&(v=i.activeIndex-1),"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(v=v-i.slidesPerViewDynamic("previous",!0)+1,v=Math.max(v,0))),a.rewind&&i.isBeginning){const a=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(a,e,t,n)}return a.loop&&0===i.activeIndex&&a.cssMode?(requestAnimationFrame(()=>{i.slideTo(v,e,t,n)}),!0):i.slideTo(v,e,t,n)},slideReset:function(e,t=!0,n){const i=this;if(!i.destroyed)return void 0===e&&(e=i.params.speed),i.slideTo(i.activeIndex,e,t,n)},slideToClosest:function(e,t=!0,n,i=.5){const a=this;if(a.destroyed)return;void 0===e&&(e=a.params.speed);let r=a.activeIndex;const s=Math.min(a.params.slidesPerGroupSkip,r),o=s+Math.floor((r-s)/a.params.slidesPerGroup),l=a.rtlTranslate?a.translate:-a.translate;if(l>=a.snapGrid[o]){const e=a.snapGrid[o];l-e>(a.snapGrid[o+1]-e)*i&&(r+=a.params.slidesPerGroup)}else{const e=a.snapGrid[o-1];l-e<=(a.snapGrid[o]-e)*i&&(r-=a.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,a.slidesGrid.length-1),a.slideTo(r,e,t,n)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:n}=e,i="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let a,r=e.getSlideIndexWhenGrid(e.clickedIndex);const s=e.isElement?"swiper-slide":`.${t.slideClass}`,o=e.grid&&e.params.grid&&e.params.grid.rows>1;if(t.loop){if(e.animating)return;a=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?e.slideToLoop(a):r>(o?(e.slides.length-i)/2-(e.params.grid.rows-1):e.slides.length-i)?(e.loopFix(),r=e.getSlideIndex(Yt(n,`${s}[data-swiper-slide-index="${a}"]`)[0]),Ht(()=>{e.slideTo(r)})):e.slideTo(r)}else e.slideTo(r)}},xn={loopCreate:function(e,t){const n=this,{params:i,slidesEl:a}=n;if(!i.loop||n.virtual&&n.params.virtual.enabled)return;const r=()=>{Yt(a,`.${i.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)})},s=n.grid&&i.grid&&i.grid.rows>1;i.loopAddBlankSlides&&(i.slidesPerGroup>1||s)&&(()=>{const e=Yt(a,`.${i.slideBlankClass}`);e.forEach(e=>{e.remove()}),e.length>0&&(n.recalcSlides(),n.updateSlides())})();const o=i.slidesPerGroup*(s?i.grid.rows:1),l=n.slides.length%o!==0,c=s&&n.slides.length%i.grid.rows!==0,d=e=>{for(let t=0;t<e;t+=1){const e=n.isElement?Kt("swiper-slide",[i.slideBlankClass]):Kt("div",[i.slideClass,i.slideBlankClass]);n.slidesEl.append(e)}};l?(i.loopAddBlankSlides?(d(o-n.slides.length%o),n.recalcSlides(),n.updateSlides()):Xt(),r()):c?(i.loopAddBlankSlides?(d(i.grid.rows-n.slides.length%i.grid.rows),n.recalcSlides(),n.updateSlides()):Xt(),r()):r();const u=i.centeredSlides||!!i.slidesOffsetBefore||!!i.slidesOffsetAfter;n.loopFix({slideRealIndex:e,direction:u?void 0:"next",initial:t})},loopFix:function({slideRealIndex:e,slideTo:t=!0,direction:n,setTranslate:i,activeSlideIndex:a,initial:r,byController:s,byMousewheel:o}={}){const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const{slides:c,allowSlidePrev:d,allowSlideNext:u,slidesEl:h,params:p}=l,{centeredSlides:m,slidesOffsetBefore:f,slidesOffsetAfter:v,initialSlide:g}=p,b=m||!!f||!!v;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&p.virtual.enabled)return t&&(b||0!==l.snapIndex?b&&l.snapIndex<p.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0):l.slideTo(l.virtual.slides.length,0,!1,!0)),l.allowSlidePrev=d,l.allowSlideNext=u,void l.emit("loopFix");let y=p.slidesPerView;"auto"===y?y=l.slidesPerViewDynamic():(y=Math.ceil(parseFloat(p.slidesPerView,10)),b&&y%2==0&&(y+=1));const _=p.slidesPerGroupAuto?y:p.slidesPerGroup;let x=b?Math.max(_,Math.ceil(y/2)):_;x%_!==0&&(x+=_-x%_),x+=p.loopAdditionalSlides,l.loopedSlides=x;const w=l.grid&&p.grid&&p.grid.rows>1;(c.length<y+x||"cards"===l.params.effect&&c.length<y+2*x||w&&"row"===p.grid.fill)&&Xt();const S=[],N=[],E=w?Math.ceil(c.length/p.grid.rows):c.length,k=r&&E-g<y&&!b;let C=k?g:l.activeIndex;void 0===a?a=l.getSlideIndex(c.find(e=>e.classList.contains(p.slideActiveClass))):C=a;const T="next"===n||!n,A="prev"===n||!n;let j=0,O=0;const L=(w?c[a].column:a)+(b&&void 0===i?-y/2+.5:0);if(L<x){j=Math.max(x-L,_);for(let e=0;e<x-L;e+=1){const t=e-Math.floor(e/E)*E;if(w){const e=E-t-1;for(let t=c.length-1;t>=0;t-=1)c[t].column===e&&S.push(t)}else S.push(E-t-1)}}else if(L+y>E-x){O=Math.max(L-(E-2*x),_),k&&(O=Math.max(O,y-E+g+1));for(let e=0;e<O;e+=1){const t=e-Math.floor(e/E)*E;w?c.forEach((e,n)=>{e.column===t&&N.push(n)}):N.push(t)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),"cards"===l.params.effect&&c.length<y+2*x&&(N.includes(a)&&N.splice(N.indexOf(a),1),S.includes(a)&&S.splice(S.indexOf(a),1)),A&&S.forEach(e=>{c[e].swiperLoopMoveDOM=!0,h.prepend(c[e]),c[e].swiperLoopMoveDOM=!1}),T&&N.forEach(e=>{c[e].swiperLoopMoveDOM=!0,h.append(c[e]),c[e].swiperLoopMoveDOM=!1}),l.recalcSlides(),"auto"===p.slidesPerView?l.updateSlides():w&&(S.length>0&&A||N.length>0&&T)&&l.slides.forEach((e,t)=>{l.grid.updateSlide(t,e,l.slides)}),p.watchSlidesProgress&&l.updateSlidesOffset(),t)if(S.length>0&&A){if(void 0===e){const e=l.slidesGrid[C],t=l.slidesGrid[C+j]-e;o?l.setTranslate(l.translate-t):(l.slideTo(C+Math.ceil(j),0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else if(i){const e=w?S.length/p.grid.rows:S.length;l.slideTo(l.activeIndex+e,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(N.length>0&&T)if(void 0===e){const e=l.slidesGrid[C],t=l.slidesGrid[C-O]-e;o?l.setTranslate(l.translate-t):(l.slideTo(C-O,0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-t,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-t))}else{const e=w?N.length/p.grid.rows:N.length;l.slideTo(l.activeIndex-e,0,!1,!0)}if(l.allowSlidePrev=d,l.allowSlideNext=u,l.controller&&l.controller.control&&!s){const r={slideRealIndex:e,direction:n,setTranslate:i,activeSlideIndex:a,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(e=>{!e.destroyed&&e.params.loop&&e.loopFix({...r,slideTo:e.params.slidesPerView===p.slidesPerView&&t})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...r,slideTo:l.controller.control.params.slidesPerView===p.slidesPerView&&t})}l.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:n}=e;if(!t.loop||!n||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const i=[];e.slides.forEach(e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;i[t]=e}),e.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),i.forEach(e=>{n.append(e)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function wn(e,t,n){const i=Ft(),{params:a}=e,r=a.edgeSwipeDetection,s=a.edgeSwipeThreshold;return!r||!(n<=s||n>=i.innerWidth-s)||"prevent"===r&&(t.preventDefault(),!0)}function Sn(e){const t=this;if(t.destroyed)return;const n=Rt();let i=e;i.originalEvent&&(i=i.originalEvent);const a=t.touchEventsData;if("pointerdown"===i.type){if(null!==a.pointerId&&a.pointerId!==i.pointerId)return;a.pointerId=i.pointerId}else"touchstart"===i.type&&1===i.targetTouches.length&&(a.touchId=i.targetTouches[0].identifier);if("touchstart"===i.type)return void wn(t,i,i.targetTouches[0].pageX);const{params:r,touches:s,enabled:o}=t;if(!o)return;if(!r.simulateTouch&&"mouse"===i.pointerType)return;if(t.animating&&r.preventInteractionOnTransition)return;!t.animating&&r.cssMode&&r.loop&&t.loopFix();let l=i.target;if("wrapper"===r.touchEventsTarget&&!function(e,t){const n=Ft();let i=t.contains(e);return!i&&n.HTMLSlotElement&&t instanceof HTMLSlotElement&&(i=[...t.assignedElements()].includes(e),i||(i=function(e,t){const n=[t];for(;n.length>0;){const t=n.shift();if(e===t)return!0;n.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(e,t))),i}(l,t.wrapperEl))return;if("which"in i&&3===i.which)return;if("button"in i&&i.button>0)return;if(a.isTouched&&a.isMoved)return;const c=!!r.noSwipingClass&&""!==r.noSwipingClass,d=i.composedPath?i.composedPath():i.path;c&&i.target&&i.target.shadowRoot&&d&&(l=d[0]);const u=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,h=!(!i.target||!i.target.shadowRoot);if(r.noSwiping&&(h?function(e,t=this){return function t(n){if(!n||n===Rt()||n===Ft())return null;n.assignedSlot&&(n=n.assignedSlot);const i=n.closest(e);return i||n.getRootNode?i||t(n.getRootNode().host):null}(t)}(u,l):l.closest(u)))return void(t.allowClick=!0);if(r.swipeHandler&&!l.closest(r.swipeHandler))return;s.currentX=i.pageX,s.currentY=i.pageY;const p=s.currentX,m=s.currentY;if(!wn(t,i,p))return;Object.assign(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=p,s.startY=m,a.touchStartTime=Vt(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,r.threshold>0&&(a.allowThresholdMove=!1);let f=!0;l.matches(a.focusableElements)&&(f=!1,"SELECT"===l.nodeName&&(a.isTouched=!1)),n.activeElement&&n.activeElement.matches(a.focusableElements)&&n.activeElement!==l&&("mouse"===i.pointerType||"mouse"!==i.pointerType&&!l.matches(a.focusableElements))&&n.activeElement.blur();const v=f&&t.allowTouchMove&&r.touchStartPreventDefault;!r.touchStartForcePreventDefault&&!v||l.isContentEditable||i.preventDefault(),r.freeMode&&r.freeMode.enabled&&t.freeMode&&t.animating&&!r.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",i)}function Nn(e){const t=Rt(),n=this;if(n.destroyed)return;const i=n.touchEventsData,{params:a,touches:r,rtlTranslate:s,enabled:o}=n;if(!o)return;if(!a.simulateTouch&&"mouse"===e.pointerType)return;let l,c=e;if(c.originalEvent&&(c=c.originalEvent),"pointermove"===c.type){if(null!==i.touchId)return;if(c.pointerId!==i.pointerId)return}if("touchmove"===c.type){if(l=[...c.changedTouches].find(e=>e.identifier===i.touchId),!l||l.identifier!==i.touchId)return}else l=c;if(!i.isTouched)return void(i.startMoving&&i.isScrolling&&n.emit("touchMoveOpposite",c));const d=l.pageX,u=l.pageY;if(c.preventedByNestedSwiper)return r.startX=d,void(r.startY=u);if(!n.allowTouchMove)return c.target.matches(i.focusableElements)||(n.allowClick=!1),void(i.isTouched&&(Object.assign(r,{startX:d,startY:u,currentX:d,currentY:u}),i.touchStartTime=Vt()));if(a.touchReleaseOnEdges&&!a.loop)if(n.isVertical()){if(u<r.startY&&n.translate<=n.maxTranslate()||u>r.startY&&n.translate>=n.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else{if(s&&(d>r.startX&&-n.translate<=n.maxTranslate()||d<r.startX&&-n.translate>=n.minTranslate()))return;if(!s&&(d<r.startX&&n.translate<=n.maxTranslate()||d>r.startX&&n.translate>=n.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(i.focusableElements)&&t.activeElement!==c.target&&"mouse"!==c.pointerType&&t.activeElement.blur(),t.activeElement&&c.target===t.activeElement&&c.target.matches(i.focusableElements))return i.isMoved=!0,void(n.allowClick=!1);i.allowTouchCallbacks&&n.emit("touchMove",c),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=d,r.currentY=u;const h=r.currentX-r.startX,p=r.currentY-r.startY;if(n.params.threshold&&Math.sqrt(h**2+p**2)<n.params.threshold)return;if(void 0===i.isScrolling){let e;n.isHorizontal()&&r.currentY===r.startY||n.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:h*h+p*p>=25&&(e=180*Math.atan2(Math.abs(p),Math.abs(h))/Math.PI,i.isScrolling=n.isHorizontal()?e>a.touchAngle:90-e>a.touchAngle)}if(i.isScrolling&&n.emit("touchMoveOpposite",c),void 0===i.startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(i.startMoving=!0)),i.isScrolling||"touchmove"===c.type&&i.preventTouchMoveFromPointerMove)return void(i.isTouched=!1);if(!i.startMoving)return;n.allowClick=!1,!a.cssMode&&c.cancelable&&c.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&c.stopPropagation();let m=n.isHorizontal()?h:p,f=n.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;a.oneWayMovement&&(m=Math.abs(m)*(s?1:-1),f=Math.abs(f)*(s?1:-1)),r.diff=m,m*=a.touchRatio,s&&(m=-m,f=-f);const v=n.touchesDirection;n.swipeDirection=m>0?"prev":"next",n.touchesDirection=f>0?"prev":"next";const g=n.params.loop&&!a.cssMode,b="next"===n.touchesDirection&&n.allowSlideNext||"prev"===n.touchesDirection&&n.allowSlidePrev;if(!i.isMoved){if(g&&b&&n.loopFix({direction:n.swipeDirection}),i.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});n.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,!a.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",c)}if((new Date).getTime(),!1!==a._loopSwapReset&&i.isMoved&&i.allowThresholdMove&&v!==n.touchesDirection&&g&&b&&Math.abs(m)>=1)return Object.assign(r,{startX:d,startY:u,currentX:d,currentY:u,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,void(i.startTranslate=i.currentTranslate);n.emit("sliderMove",c),i.isMoved=!0,i.currentTranslate=m+i.startTranslate;let y=!0,_=a.resistanceRatio;if(a.touchReleaseOnEdges&&(_=0),m>0?(g&&b&&i.allowThresholdMove&&i.currentTranslate>(a.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]-("auto"!==a.slidesPerView&&n.slides.length-a.slidesPerView>=2?n.slidesSizesGrid[n.activeIndex+1]+n.params.spaceBetween:0)-n.params.spaceBetween:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>n.minTranslate()&&(y=!1,a.resistance&&(i.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+i.startTranslate+m)**_))):m<0&&(g&&b&&i.allowThresholdMove&&i.currentTranslate<(a.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween+("auto"!==a.slidesPerView&&n.slides.length-a.slidesPerView>=2?n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween:0):n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-("auto"===a.slidesPerView?n.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),i.currentTranslate<n.maxTranslate()&&(y=!1,a.resistance&&(i.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-i.startTranslate-m)**_))),y&&(c.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),n.allowSlidePrev||n.allowSlideNext||(i.currentTranslate=i.startTranslate),a.threshold>0){if(!(Math.abs(m)>a.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,void(r.diff=n.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}a.followFinger&&!a.cssMode&&((a.freeMode&&a.freeMode.enabled&&n.freeMode||a.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(i.currentTranslate),n.setTranslate(i.currentTranslate))}function En(e){const t=this;if(t.destroyed)return;const n=t.touchEventsData;let i,a=e;if(a.originalEvent&&(a=a.originalEvent),"touchend"===a.type||"touchcancel"===a.type){if(i=[...a.changedTouches].find(e=>e.identifier===n.touchId),!i||i.identifier!==n.touchId)return}else{if(null!==n.touchId)return;if(a.pointerId!==n.pointerId)return;i=a}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(a.type)&&(!["pointercancel","contextmenu"].includes(a.type)||!t.browser.isSafari&&!t.browser.isWebView))return;n.pointerId=null,n.touchId=null;const{params:r,touches:s,rtlTranslate:o,slidesGrid:l,enabled:c}=t;if(!c)return;if(!r.simulateTouch&&"mouse"===a.pointerType)return;if(n.allowTouchCallbacks&&t.emit("touchEnd",a),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&r.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);r.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const d=Vt(),u=d-n.touchStartTime;if(t.allowClick){const e=a.path||a.composedPath&&a.composedPath();t.updateClickedSlide(e&&e[0]||a.target,e),t.emit("tap click",a),u<300&&d-n.lastClickTime<300&&t.emit("doubleTap doubleClick",a)}if(n.lastClickTime=Vt(),Ht(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||0===s.diff&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let h;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,h=r.followFinger?o?t.translate:-t.translate:-n.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:h});const p=h>=-t.maxTranslate()&&!t.params.loop;let m=0,f=t.slidesSizesGrid[0];for(let e=0;e<l.length;e+=e<r.slidesPerGroupSkip?1:r.slidesPerGroup){const t=e<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;void 0!==l[e+t]?(p||h>=l[e]&&h<l[e+t])&&(m=e,f=l[e+t]-l[e]):(p||h>=l[e])&&(m=e,f=l[l.length-1]-l[l.length-2])}let v=null,g=null;r.rewind&&(t.isBeginning?g=r.virtual&&r.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(v=0));const b=(h-l[m])/f,y=m<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(u>r.longSwipesMs){if(!r.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(b>=r.longSwipesRatio?t.slideTo(r.rewind&&t.isEnd?v:m+y):t.slideTo(m)),"prev"===t.swipeDirection&&(b>1-r.longSwipesRatio?t.slideTo(m+y):null!==g&&b<0&&Math.abs(b)>r.longSwipesRatio?t.slideTo(g):t.slideTo(m))}else{if(!r.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||a.target!==t.navigation.nextEl&&a.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(null!==v?v:m+y),"prev"===t.swipeDirection&&t.slideTo(null!==g?g:m)):a.target===t.navigation.nextEl?t.slideTo(m+y):t.slideTo(m)}}function kn(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:a,snapGrid:r}=e,s=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const o=s&&t.loop;if(!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||o)e.params.loop&&!s?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);else{const t=s?e.virtual.slides:e.slides;e.slideTo(t.length-1,0,!1,!0)}e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=a,e.allowSlideNext=i,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}function Cn(e){const t=this;t.destroyed||t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function Tn(){const e=this;if(e.destroyed)return;const{wrapperEl:t,rtlTranslate:n,enabled:i}=e;if(!i)return;let a;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const r=e.maxTranslate()-e.minTranslate();a=0===r?0:(e.translate-e.minTranslate())/r,a!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function An(e){const t=this;t.destroyed||(mn(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update())}function jn(){const e=this;e.destroyed||e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const On=(e,t)=>{const n=Rt(),{params:i,el:a,wrapperEl:r,device:s}=e,o=!!i.nested,l="on"===t?"addEventListener":"removeEventListener",c=t;a&&"string"!=typeof a&&(n[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:o}),a[l]("touchstart",e.onTouchStart,{passive:!1}),a[l]("pointerdown",e.onTouchStart,{passive:!1}),n[l]("touchmove",e.onTouchMove,{passive:!1,capture:o}),n[l]("pointermove",e.onTouchMove,{passive:!1,capture:o}),n[l]("touchend",e.onTouchEnd,{passive:!0}),n[l]("pointerup",e.onTouchEnd,{passive:!0}),n[l]("pointercancel",e.onTouchEnd,{passive:!0}),n[l]("touchcancel",e.onTouchEnd,{passive:!0}),n[l]("pointerout",e.onTouchEnd,{passive:!0}),n[l]("pointerleave",e.onTouchEnd,{passive:!0}),n[l]("contextmenu",e.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&a[l]("click",e.onClick,!0),i.cssMode&&r[l]("scroll",e.onScroll),i.updateOnWindowResize?e[c](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",kn,!0):e[c]("observerUpdate",kn,!0),a[l]("load",e.onLoad,{capture:!0}))},Ln=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var Dn={setBreakpoint:function(){const e=this,{realIndex:t,initialized:n,params:i,el:a}=e,r=i.breakpoints;if(!r||r&&0===Object.keys(r).length)return;const s=Rt(),o="window"!==i.breakpointsBase&&i.breakpointsBase?"container":i.breakpointsBase,l=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?e.el:s.querySelector(i.breakpointsBase),c=e.getBreakpoint(r,o,l);if(!c||e.currentBreakpoint===c)return;const d=(c in r?r[c]:void 0)||e.originalParams,u=Ln(e,i),h=Ln(e,d),p=e.params.grabCursor,m=d.grabCursor,f=i.enabled;u&&!h?(a.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!u&&h&&(a.classList.add(`${i.containerModifierClass}grid`),(d.grid.fill&&"column"===d.grid.fill||!d.grid.fill&&"column"===i.grid.fill)&&a.classList.add(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),p&&!m?e.unsetGrabCursor():!p&&m&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===d[t])return;const n=i[t]&&i[t].enabled,a=d[t]&&d[t].enabled;n&&!a&&e[t].disable(),!n&&a&&e[t].enable()});const v=d.direction&&d.direction!==i.direction,g=i.loop&&(d.slidesPerView!==i.slidesPerView||v),b=i.loop;v&&n&&e.changeDirection(),Ut(e.params,d);const y=e.params.enabled,_=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),f&&!y?e.disable():!f&&y&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",d),n&&(g?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!b&&_?(e.loopCreate(t),e.updateSlides()):b&&!_&&e.loopDestroy()),e.emit("breakpoint",d)},getBreakpoint:function(e,t="window",n){if(!e||"container"===t&&!n)return;let i=!1;const a=Ft(),r="window"===t?a.innerHeight:n.clientHeight,s=Object.keys(e).map(e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:r*t,point:e}}return{value:e,point:e}});s.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<s.length;e+=1){const{point:r,value:o}=s[e];"window"===t?a.matchMedia(`(min-width: ${o}px)`).matches&&(i=r):o<=n.clientWidth&&(i=r)}return i||"max"}},Mn={addClasses:function(){const e=this,{classNames:t,params:n,rtl:i,el:a,device:r}=e,s=function(e,t){const n=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(i=>{e[i]&&n.push(t+i)}):"string"==typeof e&&n.push(t+e)}),n}(["initialized",n.direction,{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:i},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...s),a.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}},Pn={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,snapToSlideEdge:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function In(e,t){return function(n={}){const i=Object.keys(n)[0],a=n[i];"object"==typeof a&&null!==a?(!0===e[i]&&(e[i]={enabled:!0}),"navigation"===i&&e[i]&&e[i].enabled&&!e[i].prevEl&&!e[i].nextEl&&(e[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&e[i]&&e[i].enabled&&!e[i].el&&(e[i].auto=!0),i in e&&"enabled"in a?("object"!=typeof e[i]||"enabled"in e[i]||(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),Ut(t,n)):Ut(t,n)):Ut(t,n)}}const Rn={eventsEmitter:un,update:gn,translate:bn,transition:{setTransition:function(e,t){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${e}ms`,n.wrapperEl.style.transitionDelay=0===e?"0ms":""),n.emit("setTransition",e,t)},transitionStart:function(e=!0,t){const n=this,{params:i}=n;i.cssMode||(i.autoHeight&&n.updateAutoHeight(),yn({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e=!0,t){const n=this,{params:i}=n;n.animating=!1,i.cssMode||(n.setTransition(0),yn({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},slide:_n,loop:xn,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=Sn.bind(e),e.onTouchMove=Nn.bind(e),e.onTouchEnd=En.bind(e),e.onDocumentTouchStart=jn.bind(e),t.cssMode&&(e.onScroll=Tn.bind(e)),e.onClick=Cn.bind(e),e.onLoad=An.bind(e),On(e,"on")},detachEvents:function(){On(this,"off")}},breakpoints:Dn,checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:i}=n;if(i){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*i;e.isLocked=e.size>n}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:Mn},zn={};class Fn{constructor(...e){let t,n;1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?n=e[0]:[t,n]=e,n||(n={}),n=Ut({},n),t&&!n.el&&(n.el=t);const i=Rt();if(n.el&&"string"==typeof n.el&&i.querySelectorAll(n.el).length>1){const e=[];return i.querySelectorAll(n.el).forEach(t=>{const i=Ut({},n,{el:t});e.push(new Fn(i))}),e}const a=this;a.__swiper__=!0,a.support=ln(),a.device=cn({userAgent:n.userAgent}),a.browser=dn(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],n.modules&&Array.isArray(n.modules)&&n.modules.forEach(e=>{"function"==typeof e&&a.modules.indexOf(e)<0&&a.modules.push(e)});const r={};a.modules.forEach(e=>{e({params:n,swiper:a,extendParams:In(n,r),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const s=Ut({},Pn,r);return a.params=Ut({},s,zn,n),a.originalParams=Ut({},a.params),a.passedParams=Ut({},n),a.params&&a.params.on&&Object.keys(a.params.on).forEach(e=>{a.on(e,a.params.on[e])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:n}=this,i=Qt(Yt(t,`.${n.slideClass}, swiper-slide`)[0]);return Qt(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=Yt(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const i=n.minTranslate(),a=(n.maxTranslate()-i)*e+i;n.translateTo(a,void 0===t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(n=>{const i=e.getSlideClasses(n);t.push({slideEl:n,classNames:i}),e.emit("_slideClass",n,i)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:n,slides:i,slidesGrid:a,slidesSizesGrid:r,size:s,activeIndex:o}=this;let l=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let e,t=i[o]?Math.ceil(i[o].swiperSlideSize):0;for(let n=o+1;n<i.length;n+=1)i[n]&&!e&&(t+=Math.ceil(i[n].swiperSlideSize),l+=1,t>s&&(e=!0));for(let n=o-1;n>=0;n-=1)i[n]&&!e&&(t+=i[n].swiperSlideSize,l+=1,t>s&&(e=!0))}else if("current"===e)for(let e=o+1;e<i.length;e+=1)(t?a[e]+r[e]-a[o]<s:a[e]-a[o]<s)&&(l+=1);else for(let e=o-1;e>=0;e-=1)a[o]-a[e]<s&&(l+=1);return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function i(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let a;if(n.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(t=>{t.complete&&mn(e,t)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)i(),n.autoHeight&&e.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&e.isEnd&&!n.centeredSlides){const t=e.virtual&&n.virtual.enabled?e.virtual.slides:e.slides;a=e.slideTo(t.length-1,0,!1,!0)}else a=e.slideTo(e.activeIndex,0,!1,!0);a||i()}n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const n=this,i=n.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(n.el.classList.remove(`${n.params.containerModifierClass}${i}`),n.el.classList.add(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let n=e||t.params.el;if("string"==typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&n.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(i()):Yt(n,i())[0];return!a&&t.params.createElements&&(a=Kt("div",t.params.wrapperClass),n.append(a),Yt(n,`.${t.params.slideClass}`).forEach(e=>{a.append(e)})),Object.assign(t,{el:n,wrapperEl:a,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:a,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===Jt(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===Jt(n,"direction")),wrongRTL:"-webkit-box"===Jt(a,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();const n=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&n.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(e=>{e.complete?mn(t,e):e.addEventListener("load",e=>{mn(t,e.target)})}),vn(t),t.initialized=!0,vn(t),t.emit("init"),t.emit("afterInit"),t}destroy(e=!0,t=!0){const n=this,{params:i,el:a,wrapperEl:r,slides:s}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),i.loop&&n.loopDestroy(),t&&(n.removeClasses(),a&&"string"!=typeof a&&a.removeAttribute("style"),r&&r.removeAttribute("style"),s&&s.length&&s.forEach(e=>{e.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(e=>{n.off(e)}),!1!==e&&(n.el&&"string"!=typeof n.el&&(n.el.swiper=null),function(e){const t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})}(n)),n.destroyed=!0),null}static extendDefaults(e){Ut(zn,e)}static get extendedDefaults(){return zn}static get defaults(){return Pn}static installModule(e){Fn.prototype.__modules__||(Fn.prototype.__modules__=[]);const t=Fn.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(e=>Fn.installModule(e)),Fn):(Fn.installModule(e),Fn)}}function Bn({swiper:e,extendParams:t,on:n,emit:i}){const a=Rt(),r=Ft();function s(t){if(!e.enabled)return;const{rtlTranslate:n}=e;let s=t;s.originalEvent&&(s=s.originalEvent);const o=s.keyCode||s.charCode,l=e.params.keyboard.pageUpDown,c=l&&33===o,d=l&&34===o,u=37===o,h=39===o,p=38===o,m=40===o;if(!e.allowSlideNext&&(e.isHorizontal()&&h||e.isVertical()&&m||d))return!1;if(!e.allowSlidePrev&&(e.isHorizontal()&&u||e.isVertical()&&p||c))return!1;if(s.shiftKey||s.altKey||s.ctrlKey||s.metaKey)return;if(a.activeElement&&(a.activeElement.isContentEditable||a.activeElement.nodeName&&("input"===a.activeElement.nodeName.toLowerCase()||"textarea"===a.activeElement.nodeName.toLowerCase())))return;if(e.params.keyboard.onlyInViewport&&(c||d||u||h||p||m)){let t=!1;if(en(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&0===en(e.el,`.${e.params.slideActiveClass}`).length)return;const i=e.el,a=i.clientWidth,s=i.clientHeight,o=r.innerWidth,l=r.innerHeight,c=Zt(i);n&&(c.left-=i.scrollLeft);const d=[[c.left,c.top],[c.left+a,c.top],[c.left,c.top+s],[c.left+a,c.top+s]];for(let e=0;e<d.length;e+=1){const n=d[e];if(n[0]>=0&&n[0]<=o&&n[1]>=0&&n[1]<=l){if(0===n[0]&&0===n[1])continue;t=!0}}if(!t)return}const f=e.params.keyboard.speed;e.isHorizontal()?((c||d||u||h)&&(s.preventDefault?s.preventDefault():s.returnValue=!1),((d||h)&&!n||(c||u)&&n)&&e.slideNext(f),((c||u)&&!n||(d||h)&&n)&&e.slidePrev(f)):((c||d||p||m)&&(s.preventDefault?s.preventDefault():s.returnValue=!1),(d||m)&&e.slideNext(f),(c||p)&&e.slidePrev(f)),i("keyPress",o)}function o(){e.keyboard.enabled||(a.addEventListener("keydown",s),e.keyboard.enabled=!0)}function l(){e.keyboard.enabled&&(a.removeEventListener("keydown",s),e.keyboard.enabled=!1)}e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0,speed:void 0}}),n("init",()=>{e.params.keyboard.enabled&&o()}),n("destroy",()=>{e.keyboard.enabled&&l()}),Object.assign(e.keyboard,{enable:o,disable:l})}function Hn({swiper:e,extendParams:t,on:n,emit:i}){const a=Ft();let r;t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let s,o=Vt();const l=[];function c(){e.enabled&&(e.mouseEntered=!0)}function d(){e.enabled&&(e.mouseEntered=!1)}function u(t){return!(e.params.mousewheel.thresholdDelta&&t.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&Vt()-o<e.params.mousewheel.thresholdTime||!(t.delta>=6&&Vt()-o<60)&&(t.direction<0?e.isEnd&&!e.params.loop||e.animating||(e.slideNext(),i("scroll",t.raw)):e.isBeginning&&!e.params.loop||e.animating||(e.slidePrev(),i("scroll",t.raw)),o=(new a.Date).getTime(),1))}function h(t){let n=t,a=!0;if(!e.enabled)return;if(t.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const o=e.params.mousewheel;e.params.cssMode&&n.preventDefault();let c=e.el;"container"!==e.params.mousewheel.eventsTarget&&(c=document.querySelector(e.params.mousewheel.eventsTarget));const d=c&&c.contains(n.target);if(!e.mouseEntered&&!d&&!o.releaseOnEdges)return!0;n.originalEvent&&(n=n.originalEvent);let h=0;const p=e.rtlTranslate?-1:1,m=function(e){let t=0,n=0,i=0,a=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),i=10*t,a=10*n,"deltaY"in e&&(a=e.deltaY),"deltaX"in e&&(i=e.deltaX),e.shiftKey&&!i&&(i=a,a=0),(i||a)&&e.deltaMode&&(1===e.deltaMode?(i*=40,a*=40):(i*=800,a*=800)),i&&!t&&(t=i<1?-1:1),a&&!n&&(n=a<1?-1:1),{spinX:t,spinY:n,pixelX:i,pixelY:a}}(n);if(o.forceToAxis)if(e.isHorizontal()){if(!(Math.abs(m.pixelX)>Math.abs(m.pixelY)))return!0;h=-m.pixelX*p}else{if(!(Math.abs(m.pixelY)>Math.abs(m.pixelX)))return!0;h=-m.pixelY}else h=Math.abs(m.pixelX)>Math.abs(m.pixelY)?-m.pixelX*p:-m.pixelY;if(0===h)return!0;o.invert&&(h=-h);let f=e.getTranslate()+h*o.sensitivity;if(f>=e.minTranslate()&&(f=e.minTranslate()),f<=e.maxTranslate()&&(f=e.maxTranslate()),a=!!e.params.loop||!(f===e.minTranslate()||f===e.maxTranslate()),a&&e.params.nested&&n.stopPropagation(),e.params.freeMode&&e.params.freeMode.enabled){const t={time:Vt(),delta:Math.abs(h),direction:Math.sign(h)},a=s&&t.time<s.time+500&&t.delta<=s.delta&&t.direction===s.direction;if(!a){s=void 0;let c=e.getTranslate()+h*o.sensitivity;const d=e.isBeginning,u=e.isEnd;if(c>=e.minTranslate()&&(c=e.minTranslate()),c<=e.maxTranslate()&&(c=e.maxTranslate()),e.setTransition(0),e.setTranslate(c),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!d&&e.isBeginning||!u&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:t.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(r),r=void 0,l.length>=15&&l.shift();const n=l.length?l[l.length-1]:void 0,i=l[0];if(l.push(t),n&&(t.delta>n.delta||t.direction!==n.direction))l.splice(0);else if(l.length>=15&&t.time-i.time<500&&i.delta-t.delta>=1&&t.delta<=6){const n=h>0?.8:.2;s=t,l.splice(0),r=Ht(()=>{!e.destroyed&&e.params&&e.slideToClosest(e.params.speed,!0,void 0,n)},0)}r||(r=Ht(()=>{!e.destroyed&&e.params&&(s=t,l.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5))},500))}if(a||i("scroll",n),e.params.autoplay&&e.params.autoplay.disableOnInteraction&&e.autoplay.stop(),o.releaseOnEdges&&(c===e.minTranslate()||c===e.maxTranslate()))return!0}}else{const n={time:Vt(),delta:Math.abs(h),direction:Math.sign(h),raw:t};l.length>=2&&l.shift();const i=l.length?l[l.length-1]:void 0;if(l.push(n),i?(n.direction!==i.direction||n.delta>i.delta||n.time>i.time+150)&&u(n):u(n),function(t){const n=e.params.mousewheel;if(t.direction<0){if(e.isEnd&&!e.params.loop&&n.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&n.releaseOnEdges)return!0;return!1}(n))return!0}return n.preventDefault?n.preventDefault():n.returnValue=!1,!1}function p(t){let n=e.el;"container"!==e.params.mousewheel.eventsTarget&&(n=document.querySelector(e.params.mousewheel.eventsTarget)),n[t]("mouseenter",c),n[t]("mouseleave",d),n[t]("wheel",h)}function m(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",h),!0):!e.mousewheel.enabled&&(p("addEventListener"),e.mousewheel.enabled=!0,!0)}function f(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,h),!0):!!e.mousewheel.enabled&&(p("removeEventListener"),e.mousewheel.enabled=!1,!0)}n("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&f(),e.params.mousewheel.enabled&&m()}),n("destroy",()=>{e.params.cssMode&&m(),e.mousewheel.enabled&&f()}),Object.assign(e.mousewheel,{enable:m,disable:f})}function Vn(e,t,n,i){return e.params.createElements&&Object.keys(i).forEach(a=>{if(!n[a]&&!0===n.auto){let r=Yt(e.el,`.${i[a]}`)[0];r||(r=Kt("div",i[a]),r.className=i[a],e.el.append(r)),n[a]=r,t[a]=r}}),n}Object.keys(Rn).forEach(e=>{Object.keys(Rn[e]).forEach(t=>{Fn.prototype[t]=Rn[e][t]})}),Fn.use([function({swiper:e,on:t,emit:n}){const i=Ft();let a=null,r=null;const s=()=>{e&&!e.destroyed&&e.initialized&&(n("beforeResize"),n("resize"))},o=()=>{e&&!e.destroyed&&e.initialized&&n("orientationchange")};t("init",()=>{e.params.resizeObserver&&void 0!==i.ResizeObserver?e&&!e.destroyed&&e.initialized&&(a=new ResizeObserver(t=>{r=i.requestAnimationFrame(()=>{const{width:n,height:i}=e;let a=n,r=i;t.forEach(({contentBoxSize:t,contentRect:n,target:i})=>{i&&i!==e.el||(a=n?n.width:(t[0]||t).inlineSize,r=n?n.height:(t[0]||t).blockSize)}),a===n&&r===i||s()})}),a.observe(e.el)):(i.addEventListener("resize",s),i.addEventListener("orientationchange",o))}),t("destroy",()=>{r&&i.cancelAnimationFrame(r),a&&a.unobserve&&e.el&&(a.unobserve(e.el),a=null),i.removeEventListener("resize",s),i.removeEventListener("orientationchange",o)})},function({swiper:e,extendParams:t,on:n,emit:i}){const a=[],r=Ft(),s=(t,n={})=>{const s=new(r.MutationObserver||r.WebkitMutationObserver)(t=>{if(e.__preventObserver__)return;if(1===t.length)return void i("observerUpdate",t[0]);const n=function(){i("observerUpdate",t[0])};r.requestAnimationFrame?r.requestAnimationFrame(n):r.setTimeout(n,0)});s.observe(t,{attributes:void 0===n.attributes||n.attributes,childList:e.isElement||(void 0===n.childList||n).childList,characterData:void 0===n.characterData||n.characterData}),a.push(s)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",()=>{if(e.params.observer){if(e.params.observeParents){const t=en(e.hostEl);for(let e=0;e<t.length;e+=1)s(t[e])}s(e.hostEl,{childList:e.params.observeSlideChildren}),s(e.wrapperEl,{attributes:!1})}}),n("destroy",()=>{a.forEach(e=>{e.disconnect()}),a.splice(0,a.length)})}]);const Wn='<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';function qn({swiper:e,extendParams:t,on:n,emit:i}){function a(t){let n;return t&&"string"==typeof t&&e.isElement&&(n=e.el.querySelector(t)||e.hostEl.querySelector(t),n)?n:(t&&("string"==typeof t&&(n=[...document.querySelectorAll(t)]),e.params.uniqueNavElements&&"string"==typeof t&&n&&n.length>1&&1===e.el.querySelectorAll(t).length?n=e.el.querySelector(t):n&&1===n.length&&(n=n[0])),t&&!n?t:n)}function r(t,n){const i=e.params.navigation;(t=nn(t)).forEach(t=>{t&&(t.classList[n?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===t.tagName&&(t.disabled=n),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?"add":"remove"](i.lockClass))})}function s(){const{nextEl:t,prevEl:n}=e.navigation;if(e.params.loop)return r(n,!1),void r(t,!1);r(n,e.isBeginning&&!e.params.rewind),r(t,e.isEnd&&!e.params.rewind)}function o(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),i("navigationPrev"))}function l(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),i("navigationNext"))}function c(){const t=e.params.navigation;if(e.params.navigation=Vn(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;let n=a(t.nextEl),i=a(t.prevEl);Object.assign(e.navigation,{nextEl:n,prevEl:i}),n=nn(n),i=nn(i);const r=(n,i)=>{if(n){if(t.addIcons&&n.matches(".swiper-button-next,.swiper-button-prev")&&!n.querySelector("svg")){const e=document.createElement("div");an(e,Wn),n.appendChild(e.querySelector("svg")),e.remove()}n.addEventListener("click","next"===i?l:o)}!e.enabled&&n&&n.classList.add(...t.lockClass.split(" "))};n.forEach(e=>r(e,"next")),i.forEach(e=>r(e,"prev"))}function d(){let{nextEl:t,prevEl:n}=e.navigation;t=nn(t),n=nn(n);const i=(t,n)=>{t.removeEventListener("click","next"===n?l:o),t.classList.remove(...e.params.navigation.disabledClass.split(" "))};t.forEach(e=>i(e,"next")),n.forEach(e=>i(e,"prev"))}t({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null,arrowSvg:Wn},n("init",()=>{!1===e.params.navigation.enabled?u():(c(),s())}),n("toEdge fromEdge lock unlock",()=>{s()}),n("destroy",()=>{d()}),n("enable disable",()=>{let{nextEl:t,prevEl:n}=e.navigation;t=nn(t),n=nn(n),e.enabled?s():[...t,...n].filter(e=>!!e).forEach(t=>t.classList.add(e.params.navigation.lockClass))}),n("click",(t,n)=>{let{nextEl:a,prevEl:r}=e.navigation;a=nn(a),r=nn(r);const s=n.target;let o=r.includes(s)||a.includes(s);if(e.isElement&&!o){const e=n.path||n.composedPath&&n.composedPath();e&&(o=e.find(e=>a.includes(e)||r.includes(e)))}if(e.params.navigation.hideOnClick&&!o){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===s||e.pagination.el.contains(s)))return;let t;a.length?t=a[0].classList.contains(e.params.navigation.hiddenClass):r.length&&(t=r[0].classList.contains(e.params.navigation.hiddenClass)),i(!0===t?"navigationShow":"navigationHide"),[...a,...r].filter(e=>!!e).forEach(t=>t.classList.toggle(e.params.navigation.hiddenClass))}});const u=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),d()};Object.assign(e.navigation,{enable:()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),c(),s()},disable:u,update:s,init:c,destroy:d})}function Un(e=""){return`.${e.trim().replace(/([\.:!+\/()[\]#>~*^$|=,'"@{}\\])/g,"\\$1").replace(/ /g,".")}`}function $n({swiper:e,extendParams:t,on:n,emit:i}){const a="swiper-pagination";let r;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${a}-bullet`,bulletActiveClass:`${a}-bullet-active`,modifierClass:`${a}-`,currentClass:`${a}-current`,totalClass:`${a}-total`,hiddenClass:`${a}-hidden`,progressbarFillClass:`${a}-progressbar-fill`,progressbarOppositeClass:`${a}-progressbar-opposite`,clickableClass:`${a}-clickable`,lockClass:`${a}-lock`,horizontalClass:`${a}-horizontal`,verticalClass:`${a}-vertical`,paginationDisabledClass:`${a}-disabled`}}),e.pagination={el:null,bullets:[]};let s=0;function o(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&0===e.pagination.el.length}function l(t,n){const{bulletActiveClass:i}=e.params.pagination;t&&(t=t[("prev"===n?"previous":"next")+"ElementSibling"])&&(t.classList.add(`${i}-${n}`),(t=t[("prev"===n?"previous":"next")+"ElementSibling"])&&t.classList.add(`${i}-${n}-${n}`))}function c(t){const n=t.target.closest(Un(e.params.pagination.bulletClass));if(!n)return;t.preventDefault();const i=Qt(n)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===i)return;const t=(a=e.realIndex,r=i,(r%=s=e.slides.length)===1+(a%=s)?"next":r===a-1?"previous":void 0);"next"===t?e.slideNext():"previous"===t?e.slidePrev():e.slideToLoop(i)}else e.slideTo(i);var a,r,s}function d(){const t=e.rtl,n=e.params.pagination;if(o())return;let a,c,d=e.pagination.el;d=nn(d);const u=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,h=e.params.loop?Math.ceil(u/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(c=e.previousRealIndex||0,a=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):void 0!==e.snapIndex?(a=e.snapIndex,c=e.previousSnapIndex):(c=e.previousIndex||0,a=e.activeIndex||0),"bullets"===n.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const i=e.pagination.bullets;let o,u,h;if(n.dynamicBullets&&(r=tn(i[0],e.isHorizontal()?"width":"height"),d.forEach(t=>{t.style[e.isHorizontal()?"width":"height"]=r*(n.dynamicMainBullets+4)+"px"}),n.dynamicMainBullets>1&&void 0!==c&&(s+=a-(c||0),s>n.dynamicMainBullets-1?s=n.dynamicMainBullets-1:s<0&&(s=0)),o=Math.max(a-s,0),u=o+(Math.min(i.length,n.dynamicMainBullets)-1),h=(u+o)/2),i.forEach(e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${n.bulletActiveClass}${e}`)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),d.length>1)i.forEach(t=>{const i=Qt(t);i===a?t.classList.add(...n.bulletActiveClass.split(" ")):e.isElement&&t.setAttribute("part","bullet"),n.dynamicBullets&&(i>=o&&i<=u&&t.classList.add(...`${n.bulletActiveClass}-main`.split(" ")),i===o&&l(t,"prev"),i===u&&l(t,"next"))});else{const t=i[a];if(t&&t.classList.add(...n.bulletActiveClass.split(" ")),e.isElement&&i.forEach((e,t)=>{e.setAttribute("part",t===a?"bullet-active":"bullet")}),n.dynamicBullets){const e=i[o],t=i[u];for(let e=o;e<=u;e+=1)i[e]&&i[e].classList.add(...`${n.bulletActiveClass}-main`.split(" "));l(e,"prev"),l(t,"next")}}if(n.dynamicBullets){const a=Math.min(i.length,n.dynamicMainBullets+4),s=(r*a-r)/2-h*r,o=t?"right":"left";i.forEach(t=>{t.style[e.isHorizontal()?o:"top"]=`${s}px`})}}d.forEach((t,r)=>{if("fraction"===n.type&&(t.querySelectorAll(Un(n.currentClass)).forEach(e=>{e.textContent=n.formatFractionCurrent(a+1)}),t.querySelectorAll(Un(n.totalClass)).forEach(e=>{e.textContent=n.formatFractionTotal(h)})),"progressbar"===n.type){let i;i=n.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const r=(a+1)/h;let s=1,o=1;"horizontal"===i?s=r:o=r,t.querySelectorAll(Un(n.progressbarFillClass)).forEach(t=>{t.style.transform=`translate3d(0,0,0) scaleX(${s}) scaleY(${o})`,t.style.transitionDuration=`${e.params.speed}ms`})}"custom"===n.type&&n.renderCustom?(an(t,n.renderCustom(e,a+1,h)),0===r&&i("paginationRender",t)):(0===r&&i("paginationRender",t),i("paginationUpdate",t)),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?"add":"remove"](n.lockClass)})}function u(){const t=e.params.pagination;if(o())return;const n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let a=e.pagination.el;a=nn(a);let r="";if("bullets"===t.type){let i=e.params.loop?Math.ceil(n/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&i>n&&(i=n);for(let n=0;n<i;n+=1)t.renderBullet?r+=t.renderBullet.call(e,n,t.bulletClass):r+=`<${t.bulletElement} ${e.isElement?'part="bullet"':""} class="${t.bulletClass}"></${t.bulletElement}>`}"fraction"===t.type&&(r=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`),"progressbar"===t.type&&(r=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`),e.pagination.bullets=[],a.forEach(n=>{"custom"!==t.type&&an(n,r||""),"bullets"===t.type&&e.pagination.bullets.push(...n.querySelectorAll(Un(t.bulletClass)))}),"custom"!==t.type&&i("paginationRender",a[0])}function h(){e.params.pagination=Vn(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let n;"string"==typeof t.el&&e.isElement&&(n=e.el.querySelector(t.el)),n||"string"!=typeof t.el||(n=[...document.querySelectorAll(t.el)]),n||(n=t.el),n&&0!==n.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&Array.isArray(n)&&n.length>1&&(n=[...e.el.querySelectorAll(t.el)],n.length>1&&(n=n.find(t=>en(t,".swiper")[0]===e.el))),Array.isArray(n)&&1===n.length&&(n=n[0]),Object.assign(e.pagination,{el:n}),n=nn(n),n.forEach(n=>{"bullets"===t.type&&t.clickable&&n.classList.add(...(t.clickableClass||"").split(" ")),n.classList.add(t.modifierClass+t.type),n.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(n.classList.add(`${t.modifierClass}${t.type}-dynamic`),s=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&n.classList.add(t.progressbarOppositeClass),t.clickable&&n.addEventListener("click",c),e.enabled||n.classList.add(t.lockClass)}))}function p(){const t=e.params.pagination;if(o())return;let n=e.pagination.el;n&&(n=nn(n),n.forEach(n=>{n.classList.remove(t.hiddenClass),n.classList.remove(t.modifierClass+t.type),n.classList.remove(e.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable&&(n.classList.remove(...(t.clickableClass||"").split(" ")),n.removeEventListener("click",c))})),e.pagination.bullets&&e.pagination.bullets.forEach(e=>e.classList.remove(...t.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const t=e.params.pagination;let{el:n}=e.pagination;n=nn(n),n.forEach(n=>{n.classList.remove(t.horizontalClass,t.verticalClass),n.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass)})}),n("init",()=>{!1===e.params.pagination.enabled?m():(h(),u(),d())}),n("activeIndexChange",()=>{void 0===e.snapIndex&&d()}),n("snapIndexChange",()=>{d()}),n("snapGridLengthChange",()=>{u(),d()}),n("destroy",()=>{p()}),n("enable disable",()=>{let{el:t}=e.pagination;t&&(t=nn(t),t.forEach(t=>t.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),n("lock unlock",()=>{d()}),n("click",(t,n)=>{const a=n.target,r=nn(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&r&&r.length>0&&!a.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&a===e.navigation.nextEl||e.navigation.prevEl&&a===e.navigation.prevEl))return;const t=r[0].classList.contains(e.params.pagination.hiddenClass);i(!0===t?"paginationShow":"paginationHide"),r.forEach(t=>t.classList.toggle(e.params.pagination.hiddenClass))}});const m=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=nn(t),t.forEach(t=>t.classList.add(e.params.pagination.paginationDisabledClass))),p()};Object.assign(e.pagination,{enable:()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=nn(t),t.forEach(t=>t.classList.remove(e.params.pagination.paginationDisabledClass))),h(),u(),d()},disable:m,render:u,update:d,init:h,destroy:p})}function Gn({swiper:e,extendParams:t,on:n,emit:i}){const a=Rt();let r,s,o,l,c=!1,d=null,u=null;function h(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:n}=e,{dragEl:i,el:a}=t,r=e.params.scrollbar,l=e.params.loop?e.progressLoop:e.progress;let c=s,u=(o-s)*l;n?(u=-u,u>0?(c=s-u,u=0):-u+s>o&&(c=o+u)):u<0?(c=s+u,u=0):u+s>o&&(c=o-u),e.isHorizontal()?(i.style.transform=`translate3d(${u}px, 0, 0)`,i.style.width=`${c}px`):(i.style.transform=`translate3d(0px, ${u}px, 0)`,i.style.height=`${c}px`),r.hide&&(clearTimeout(d),a.style.opacity=1,d=setTimeout(()=>{a.style.opacity=0,a.style.transitionDuration="400ms"},1e3))}function p(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{dragEl:n,el:i}=t;n.style.width="",n.style.height="",o=e.isHorizontal()?i.offsetWidth:i.offsetHeight,l=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),s="auto"===e.params.scrollbar.dragSize?o*l:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?n.style.width=`${s}px`:n.style.height=`${s}px`,i.style.display=l>=1?"none":"",e.params.scrollbar.hide&&(i.style.opacity=0),e.params.watchOverflow&&e.enabled&&t.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function m(t){return e.isHorizontal()?t.clientX:t.clientY}function f(t){const{scrollbar:n,rtlTranslate:i}=e,{el:a}=n;let l;l=(m(t)-Zt(a)[e.isHorizontal()?"left":"top"]-(null!==r?r:s/2))/(o-s),l=Math.max(Math.min(l,1),0),i&&(l=1-l);const c=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*l;e.updateProgress(c),e.setTranslate(c),e.updateActiveIndex(),e.updateSlidesClasses()}function v(t){const n=e.params.scrollbar,{scrollbar:a,wrapperEl:s}=e,{el:o,dragEl:l}=a;c=!0,r=t.target===l?m(t)-t.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),s.style.transitionDuration="100ms",l.style.transitionDuration="100ms",f(t),clearTimeout(u),o.style.transitionDuration="0ms",n.hide&&(o.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),i("scrollbarDragStart",t)}function g(t){const{scrollbar:n,wrapperEl:a}=e,{el:r,dragEl:s}=n;c&&(t.preventDefault&&t.cancelable?t.preventDefault():t.returnValue=!1,f(t),a.style.transitionDuration="0ms",r.style.transitionDuration="0ms",s.style.transitionDuration="0ms",i("scrollbarDragMove",t))}function b(t){const n=e.params.scrollbar,{scrollbar:a,wrapperEl:r}=e,{el:s}=a;c&&(c=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",r.style.transitionDuration=""),n.hide&&(clearTimeout(u),u=Ht(()=>{s.style.opacity=0,s.style.transitionDuration="400ms"},1e3)),i("scrollbarDragEnd",t),n.snapOnRelease&&e.slideToClosest())}function y(t){const{scrollbar:n,params:i}=e,r=n.el;if(!r)return;const s=r,o=!!i.passiveListeners&&{passive:!1,capture:!1},l=!!i.passiveListeners&&{passive:!0,capture:!1};if(!s)return;const c="on"===t?"addEventListener":"removeEventListener";s[c]("pointerdown",v,o),a[c]("pointermove",g,o),a[c]("pointerup",b,l)}function _(){const{scrollbar:t,el:n}=e;e.params.scrollbar=Vn(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const i=e.params.scrollbar;if(!i.el)return;let r,s;if("string"==typeof i.el&&e.isElement&&(r=e.el.querySelector(i.el)),r||"string"!=typeof i.el)r||(r=i.el);else if(r=a.querySelectorAll(i.el),!r.length)return;e.params.uniqueNavElements&&"string"==typeof i.el&&r.length>1&&1===n.querySelectorAll(i.el).length&&(r=n.querySelector(i.el)),r.length>0&&(r=r[0]),r.classList.add(e.isHorizontal()?i.horizontalClass:i.verticalClass),r&&(s=r.querySelector(Un(e.params.scrollbar.dragClass)),s||(s=Kt("div",e.params.scrollbar.dragClass),r.append(s))),Object.assign(t,{el:r,dragEl:s}),i.draggable&&e.params.scrollbar.el&&e.scrollbar.el&&y("on"),r&&r.classList[e.enabled?"remove":"add"](...Bt(e.params.scrollbar.lockClass))}function x(){const t=e.params.scrollbar,n=e.scrollbar.el;n&&n.classList.remove(...Bt(e.isHorizontal()?t.horizontalClass:t.verticalClass)),e.params.scrollbar.el&&e.scrollbar.el&&y("off")}t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null},n("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const t=e.params.scrollbar;let{el:n}=e.scrollbar;n=nn(n),n.forEach(n=>{n.classList.remove(t.horizontalClass,t.verticalClass),n.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass)})}),n("init",()=>{!1===e.params.scrollbar.enabled?w():(_(),p(),h())}),n("update resize observerUpdate lock unlock changeDirection",()=>{p()}),n("setTranslate",()=>{h()}),n("setTransition",(t,n)=>{!function(t){e.params.scrollbar.el&&e.scrollbar.el&&(e.scrollbar.dragEl.style.transitionDuration=`${t}ms`)}(n)}),n("enable disable",()=>{const{el:t}=e.scrollbar;t&&t.classList[e.enabled?"remove":"add"](...Bt(e.params.scrollbar.lockClass))}),n("destroy",()=>{x()});const w=()=>{e.el.classList.add(...Bt(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...Bt(e.params.scrollbar.scrollbarDisabledClass)),x()};Object.assign(e.scrollbar,{enable:()=>{e.el.classList.remove(...Bt(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...Bt(e.params.scrollbar.scrollbarDisabledClass)),_(),p(),h()},disable:w,updateSize:p,setTranslate:h,init:_,destroy:x})}function Yn({swiper:e,extendParams:t,on:n}){t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0,wrapperLiveRegion:!0}}),e.a11y={clicked:!1};let i,a,r=null,s=(new Date).getTime();function o(e){const t=r;0!==t.length&&an(t,e)}function l(e){(e=nn(e)).forEach(e=>{e.setAttribute("tabIndex","0")})}function c(e){(e=nn(e)).forEach(e=>{e.setAttribute("tabIndex","-1")})}function d(e,t){(e=nn(e)).forEach(e=>{e.setAttribute("role",t)})}function u(e,t){(e=nn(e)).forEach(e=>{e.setAttribute("aria-roledescription",t)})}function h(e,t){(e=nn(e)).forEach(e=>{e.setAttribute("aria-label",t)})}function p(e){(e=nn(e)).forEach(e=>{e.setAttribute("aria-disabled",!0)})}function m(e){(e=nn(e)).forEach(e=>{e.removeAttribute("aria-disabled")})}function f(t){if(13!==t.keyCode&&32!==t.keyCode)return;const n=e.params.a11y,i=t.target;if(!e.pagination||!e.pagination.el||i!==e.pagination.el&&!e.pagination.el.contains(t.target)||t.target.matches(Un(e.params.pagination.bulletClass))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){const t=nn(e.navigation.prevEl);nn(e.navigation.nextEl).includes(i)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?o(n.lastSlideMessage):o(n.nextSlideMessage)),t.includes(i)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?o(n.firstSlideMessage):o(n.prevSlideMessage))}e.pagination&&i.matches(Un(e.params.pagination.bulletClass))&&i.click()}}function v(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function g(){return v()&&e.params.pagination.clickable}const b=(e,t,n)=>{l(e),"BUTTON"!==e.tagName&&(d(e,"button"),e.addEventListener("keydown",f)),h(e,n)},y=t=>{a&&a!==t.target&&!a.contains(t.target)&&(i=!0),e.a11y.clicked=!0},_=()=>{i=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},x=e=>{s=(new Date).getTime()},w=t=>{if(e.a11y.clicked||!e.params.a11y.scrollOnFocus)return;if((new Date).getTime()-s<100)return;const n=t.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!n||!e.slides.includes(n))return;a=n;const r=e.virtual&&e.params.virtual.enabled,o=(r?parseInt(n.getAttribute("data-swiper-slide-index"),10):e.slides.indexOf(n))===e.activeIndex,l=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(n);o||l||t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>{i||(e.params.loop?e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(n.getAttribute("data-swiper-slide-index"))),0):r?e.slideTo(e.getSlideIndexWhenGrid(parseInt(n.getAttribute("data-swiper-slide-index"),10)),0):e.slideTo(e.getSlideIndexWhenGrid(e.slides.indexOf(n)),0),i=!1)}))},S=()=>{const t=e.params.a11y;t.itemRoleDescriptionMessage&&u(e.slides,t.itemRoleDescriptionMessage),t.slideRole&&d(e.slides,t.slideRole);const n=e.slides.length;t.slideLabelMessage&&e.slides.forEach((i,a)=>{const r=e.params.loop?parseInt(i.getAttribute("data-swiper-slide-index"),10):a;h(i,t.slideLabelMessage.replace(/\{\{index\}\}/,r+1).replace(/\{\{slidesLength\}\}/,n))})};n("beforeInit",()=>{r=Kt("span",e.params.a11y.notificationClass),r.setAttribute("aria-live","assertive"),r.setAttribute("aria-atomic","true")}),n("afterInit",()=>{e.params.a11y.enabled&&(()=>{const t=e.params.a11y;e.el.append(r);const n=e.el;t.containerRoleDescriptionMessage&&u(n,t.containerRoleDescriptionMessage),t.containerMessage&&h(n,t.containerMessage),t.containerRole&&d(n,t.containerRole);const i=e.wrapperEl,a=t.id||i.getAttribute("id")||`swiper-wrapper-${function(e=16){return"x".repeat(e).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))}(16)}`;var s,o,l;s=a,nn(i).forEach(e=>{e.setAttribute("id",s)}),t.wrapperLiveRegion&&(o=i,l=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite",(o=nn(o)).forEach(e=>{e.setAttribute("aria-live",l)})),S();let{nextEl:c,prevEl:p}=e.navigation?e.navigation:{};c=nn(c),p=nn(p),c&&c.forEach(e=>b(e,0,t.nextSlideMessage)),p&&p.forEach(e=>b(e,0,t.prevSlideMessage)),g()&&nn(e.pagination.el).forEach(e=>{e.addEventListener("keydown",f)}),Rt().addEventListener("visibilitychange",x),e.el.addEventListener("focus",w,!0),e.el.addEventListener("pointerdown",y,!0),e.el.addEventListener("pointerup",_,!0)})()}),n("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&S()}),n("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&function(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:t,prevEl:n}=e.navigation;n&&(e.isBeginning?(p(n),c(n)):(m(n),l(n))),t&&(e.isEnd?(p(t),c(t)):(m(t),l(t)))}()}),n("paginationUpdate",()=>{e.params.a11y.enabled&&function(){const t=e.params.a11y;v()&&e.pagination.bullets.forEach(n=>{e.params.pagination.clickable&&(l(n),e.params.pagination.renderBullet||(d(n,"button"),h(n,t.paginationBulletMessage.replace(/\{\{index\}\}/,Qt(n)+1)))),n.matches(Un(e.params.pagination.bulletActiveClass))?n.setAttribute("aria-current","true"):n.removeAttribute("aria-current")})}()}),n("destroy",()=>{e.params.a11y.enabled&&function(){r&&r.remove();let{nextEl:t,prevEl:n}=e.navigation?e.navigation:{};t=nn(t),n=nn(n),t&&t.forEach(e=>e.removeEventListener("keydown",f)),n&&n.forEach(e=>e.removeEventListener("keydown",f)),g()&&nn(e.pagination.el).forEach(e=>{e.removeEventListener("keydown",f)}),Rt().removeEventListener("visibilitychange",x),e.el&&"string"!=typeof e.el&&(e.el.removeEventListener("focus",w,!0),e.el.removeEventListener("pointerdown",y,!0),e.el.removeEventListener("pointerup",_,!0))}()})}function Xn({swiper:e,extendParams:t,on:n,emit:i,params:a}){let r,s;e.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let o,l,c,d,u,h,p,m=a&&a.autoplay?a.autoplay.delay:3e3,f=a&&a.autoplay?a.autoplay.delay:3e3,v=(new Date).getTime();function g(t){e&&!e.destroyed&&e.wrapperEl&&t.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",g),p||t.detail&&t.detail.bySwiperTouchMove||N())}const b=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?l=!0:l&&(f=o,l=!1);const t=e.autoplay.paused?o:v+f-(new Date).getTime();e.autoplay.timeLeft=t,i("autoplayTimeLeft",t,t/m),s=requestAnimationFrame(()=>{b()})},y=()=>{let t=e.params.autoplay.delay;const n=(()=>{let t;if(t=e.virtual&&e.params.virtual.enabled?e.slides.find(e=>e.classList.contains("swiper-slide-active")):e.slides[e.activeIndex],t)return parseInt(t.getAttribute("data-swiper-autoplay"),10)})();return!Number.isNaN(n)&&n>0&&(t=n),t},_=t=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),b();let n=t;void 0===n&&(n=y(),m=n,f=n),o=n;const a=e.params.speed,l=()=>{e&&!e.destroyed&&(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(a,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,a,!0,!0),i("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(a,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,a,!0,!0),i("autoplay")),e.params.cssMode&&(v=(new Date).getTime(),requestAnimationFrame(()=>{_()})))};return n>0?(clearTimeout(r),r=setTimeout(()=>{l()},n)):requestAnimationFrame(()=>{l()}),n},x=()=>{v=(new Date).getTime(),e.autoplay.running=!0,_(),i("autoplayStart")},w=()=>{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(s),i("autoplayStop")},S=(t,n)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),t||(h=!0);const a=()=>{i("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",g):N()};if(e.autoplay.paused=!0,n)return void a();const s=o||e.params.autoplay.delay;o=s-((new Date).getTime()-v),e.isEnd&&o<0&&!e.params.loop||(o<0&&(o=0),a())},N=()=>{e.isEnd&&o<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(v=(new Date).getTime(),h?(h=!1,_(o)):_(),e.autoplay.paused=!1,i("autoplayResume"))},E=()=>{if(e.destroyed||!e.autoplay.running)return;const t=Rt();"hidden"===t.visibilityState&&(h=!0,S(!0)),"visible"===t.visibilityState&&N()},k=t=>{"mouse"===t.pointerType&&(h=!0,p=!0,e.animating||e.autoplay.paused||S(!0))},C=t=>{"mouse"===t.pointerType&&(p=!1,e.autoplay.paused&&N())};n("init",()=>{e.params.autoplay.enabled&&(e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",k),e.el.addEventListener("pointerleave",C)),Rt().addEventListener("visibilitychange",E),x())}),n("destroy",()=>{e.el&&"string"!=typeof e.el&&(e.el.removeEventListener("pointerenter",k),e.el.removeEventListener("pointerleave",C)),Rt().removeEventListener("visibilitychange",E),e.autoplay.running&&w()}),n("_freeModeStaticRelease",()=>{(d||h)&&N()}),n("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?w():S(!0,!0)}),n("beforeTransitionStart",(t,n,i)=>{!e.destroyed&&e.autoplay.running&&(i||!e.params.autoplay.disableOnInteraction?S(!0,!0):w())}),n("sliderFirstMove",()=>{!e.destroyed&&e.autoplay.running&&(e.params.autoplay.disableOnInteraction?w():(c=!0,d=!1,h=!1,u=setTimeout(()=>{h=!0,d=!0,S(!0)},200)))}),n("touchEnd",()=>{if(!e.destroyed&&e.autoplay.running&&c){if(clearTimeout(u),clearTimeout(r),e.params.autoplay.disableOnInteraction)return d=!1,void(c=!1);d&&e.params.cssMode&&N(),d=!1,c=!1}}),n("slideChange",()=>{!e.destroyed&&e.autoplay.running&&e.autoplay.paused&&(o=y(),m=y())}),Object.assign(e.autoplay,{start:x,stop:w,pause:S,resume:N})}function Kn({element:e,visibleClass:t,waitMode:n="transitionend",timeoutDuration:i,hideMode:a="hidden",displayValue:r="block"}){if("timeout"===n&&"number"!=typeof i)return;window.matchMedia("(prefers-reduced-motion: reduce)").matches&&(n="immediate");const s=t=>{t.target===e&&(o(),e.removeEventListener("transitionend",s))},o=()=>{"display"===a?e.style.display="none":e.setAttribute("hidden",!0)};return{show(){e.removeEventListener("transitionend",s),this.timeout&&clearTimeout(this.timeout),"display"===a?e.style.display=r:e.removeAttribute("hidden"),e.offsetHeight,e.classList.add(t)},hide(){"transitionend"===n?e.addEventListener("transitionend",s):"timeout"===n?this.timeout=setTimeout(()=>{o()},i):o(),e.classList.remove(t)},toggle(){this.isHidden()?this.show():this.hide()},isHidden(){const n=null!==e.getAttribute("hidden"),i="none"===e.style.display,a=[...e.classList].includes(t);return n||i||!a},timeout:null}}var Zn="top",Jn="bottom",Qn="right",ei="left",ti="auto",ni=[Zn,Jn,Qn,ei],ii="start",ai="end",ri="viewport",si="popper",oi=ni.reduce(function(e,t){return e.concat([t+"-"+ii,t+"-"+ai])},[]),li=[].concat(ni,[ti]).reduce(function(e,t){return e.concat([t,t+"-"+ii,t+"-"+ai])},[]),ci=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function di(e){return e?(e.nodeName||"").toLowerCase():null}function ui(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function hi(e){return e instanceof ui(e).Element||e instanceof Element}function pi(e){return e instanceof ui(e).HTMLElement||e instanceof HTMLElement}function mi(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ui(e).ShadowRoot||e instanceof ShadowRoot)}var fi={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]||{},i=t.attributes[e]||{},a=t.elements[e];pi(a)&&di(a)&&(Object.assign(a.style,n),Object.keys(i).forEach(function(e){var t=i[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 i=t.elements[e],a=t.attributes[e]||{},r=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});pi(i)&&di(i)&&(Object.assign(i.style,r),Object.keys(a).forEach(function(e){i.removeAttribute(e)}))})}},requires:["computeStyles"]};function vi(e){return e.split("-")[0]}var gi=Math.max,bi=Math.min,yi=Math.round;function _i(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function xi(){return!/^((?!chrome|android).)*safari/i.test(_i())}function wi(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),a=1,r=1;t&&pi(e)&&(a=e.offsetWidth>0&&yi(i.width)/e.offsetWidth||1,r=e.offsetHeight>0&&yi(i.height)/e.offsetHeight||1);var s=(hi(e)?ui(e):window).visualViewport,o=!xi()&&n,l=(i.left+(o&&s?s.offsetLeft:0))/a,c=(i.top+(o&&s?s.offsetTop:0))/r,d=i.width/a,u=i.height/r;return{width:d,height:u,top:c,right:l+d,bottom:c+u,left:l,x:l,y:c}}function Si(e){var t=wi(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}}function Ni(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&mi(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function Ei(e){return ui(e).getComputedStyle(e)}function ki(e){return["table","td","th"].indexOf(di(e))>=0}function Ci(e){return((hi(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ti(e){return"html"===di(e)?e:e.assignedSlot||e.parentNode||(mi(e)?e.host:null)||Ci(e)}function Ai(e){return pi(e)&&"fixed"!==Ei(e).position?e.offsetParent:null}function ji(e){for(var t=ui(e),n=Ai(e);n&&ki(n)&&"static"===Ei(n).position;)n=Ai(n);return n&&("html"===di(n)||"body"===di(n)&&"static"===Ei(n).position)?t:n||function(e){var t=/firefox/i.test(_i());if(/Trident/i.test(_i())&&pi(e)&&"fixed"===Ei(e).position)return null;var n=Ti(e);for(mi(n)&&(n=n.host);pi(n)&&["html","body"].indexOf(di(n))<0;){var i=Ei(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}function Oi(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Li(e,t,n){return gi(e,bi(t,n))}function Di(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Mi(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var Pi={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,a=e.options,r=n.elements.arrow,s=n.modifiersData.popperOffsets,o=vi(n.placement),l=Oi(o),c=[ei,Qn].indexOf(o)>=0?"height":"width";if(r&&s){var d=function(e,t){return Di("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Mi(e,ni))}(a.padding,n),u=Si(r),h="y"===l?Zn:ei,p="y"===l?Jn:Qn,m=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],f=s[l]-n.rects.reference[l],v=ji(r),g=v?"y"===l?v.clientHeight||0:v.clientWidth||0:0,b=m/2-f/2,y=d[h],_=g-u[c]-d[p],x=g/2-u[c]/2+b,w=Li(y,x,_),S=l;n.modifiersData[i]=((t={})[S]=w,t.centerOffset=w-x,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&Ni(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ii(e){return e.split("-")[1]}var Ri={top:"auto",right:"auto",bottom:"auto",left:"auto"};function zi(e){var t,n=e.popper,i=e.popperRect,a=e.placement,r=e.variation,s=e.offsets,o=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,u=e.isFixed,h=s.x,p=void 0===h?0:h,m=s.y,f=void 0===m?0:m,v="function"==typeof d?d({x:p,y:f}):{x:p,y:f};p=v.x,f=v.y;var g=s.hasOwnProperty("x"),b=s.hasOwnProperty("y"),y=ei,_=Zn,x=window;if(c){var w=ji(n),S="clientHeight",N="clientWidth";w===ui(n)&&"static"!==Ei(w=Ci(n)).position&&"absolute"===o&&(S="scrollHeight",N="scrollWidth"),(a===Zn||(a===ei||a===Qn)&&r===ai)&&(_=Jn,f-=(u&&w===x&&x.visualViewport?x.visualViewport.height:w[S])-i.height,f*=l?1:-1),a!==ei&&(a!==Zn&&a!==Jn||r!==ai)||(y=Qn,p-=(u&&w===x&&x.visualViewport?x.visualViewport.width:w[N])-i.width,p*=l?1:-1)}var E,k=Object.assign({position:o},c&&Ri),C=!0===d?function(e,t){var n=e.x,i=e.y,a=t.devicePixelRatio||1;return{x:yi(n*a)/a||0,y:yi(i*a)/a||0}}({x:p,y:f},ui(n)):{x:p,y:f};return p=C.x,f=C.y,l?Object.assign({},k,((E={})[_]=b?"0":"",E[y]=g?"0":"",E.transform=(x.devicePixelRatio||1)<=1?"translate("+p+"px, "+f+"px)":"translate3d("+p+"px, "+f+"px, 0)",E)):Object.assign({},k,((t={})[_]=b?f+"px":"",t[y]=g?p+"px":"",t.transform="",t))}var Fi={passive:!0},Bi={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,a=i.scroll,r=void 0===a||a,s=i.resize,o=void 0===s||s,l=ui(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&c.forEach(function(e){e.addEventListener("scroll",n.update,Fi)}),o&&l.addEventListener("resize",n.update,Fi),function(){r&&c.forEach(function(e){e.removeEventListener("scroll",n.update,Fi)}),o&&l.removeEventListener("resize",n.update,Fi)}},data:{}},Hi={left:"right",right:"left",bottom:"top",top:"bottom"};function Vi(e){return e.replace(/left|right|bottom|top/g,function(e){return Hi[e]})}var Wi={start:"end",end:"start"};function qi(e){return e.replace(/start|end/g,function(e){return Wi[e]})}function Ui(e){var t=ui(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function $i(e){return wi(Ci(e)).left+Ui(e).scrollLeft}function Gi(e){var t=Ei(e),n=t.overflow,i=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+a+i)}function Yi(e){return["html","body","#document"].indexOf(di(e))>=0?e.ownerDocument.body:pi(e)&&Gi(e)?e:Yi(Ti(e))}function Xi(e,t){var n;void 0===t&&(t=[]);var i=Yi(e),a=i===(null==(n=e.ownerDocument)?void 0:n.body),r=ui(i),s=a?[r].concat(r.visualViewport||[],Gi(i)?i:[]):i,o=t.concat(s);return a?o:o.concat(Xi(Ti(s)))}function Ki(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Zi(e,t,n){return t===ri?Ki(function(e,t){var n=ui(e),i=Ci(e),a=n.visualViewport,r=i.clientWidth,s=i.clientHeight,o=0,l=0;if(a){r=a.width,s=a.height;var c=xi();(c||!c&&"fixed"===t)&&(o=a.offsetLeft,l=a.offsetTop)}return{width:r,height:s,x:o+$i(e),y:l}}(e,n)):hi(t)?function(e,t){var n=wi(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Ki(function(e){var t,n=Ci(e),i=Ui(e),a=null==(t=e.ownerDocument)?void 0:t.body,r=gi(n.scrollWidth,n.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),s=gi(n.scrollHeight,n.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),o=-i.scrollLeft+$i(e),l=-i.scrollTop;return"rtl"===Ei(a||n).direction&&(o+=gi(n.clientWidth,a?a.clientWidth:0)-r),{width:r,height:s,x:o,y:l}}(Ci(e)))}function Ji(e){var t,n=e.reference,i=e.element,a=e.placement,r=a?vi(a):null,s=a?Ii(a):null,o=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(r){case Zn:t={x:o,y:n.y-i.height};break;case Jn:t={x:o,y:n.y+n.height};break;case Qn:t={x:n.x+n.width,y:l};break;case ei:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=r?Oi(r):null;if(null!=c){var d="y"===c?"height":"width";switch(s){case ii:t[c]=t[c]-(n[d]/2-i[d]/2);break;case ai:t[c]=t[c]+(n[d]/2-i[d]/2)}}return t}function Qi(e,t){void 0===t&&(t={});var n=t,i=n.placement,a=void 0===i?e.placement:i,r=n.strategy,s=void 0===r?e.strategy:r,o=n.boundary,l=void 0===o?"clippingParents":o,c=n.rootBoundary,d=void 0===c?ri:c,u=n.elementContext,h=void 0===u?si:u,p=n.altBoundary,m=void 0!==p&&p,f=n.padding,v=void 0===f?0:f,g=Di("number"!=typeof v?v:Mi(v,ni)),b=h===si?"reference":si,y=e.rects.popper,_=e.elements[m?b:h],x=function(e,t,n,i){var a="clippingParents"===t?function(e){var t=Xi(Ti(e)),n=["absolute","fixed"].indexOf(Ei(e).position)>=0&&pi(e)?ji(e):e;return hi(n)?t.filter(function(e){return hi(e)&&Ni(e,n)&&"body"!==di(e)}):[]}(e):[].concat(t),r=[].concat(a,[n]),s=r[0],o=r.reduce(function(t,n){var a=Zi(e,n,i);return t.top=gi(a.top,t.top),t.right=bi(a.right,t.right),t.bottom=bi(a.bottom,t.bottom),t.left=gi(a.left,t.left),t},Zi(e,s,i));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}(hi(_)?_:_.contextElement||Ci(e.elements.popper),l,d,s),w=wi(e.elements.reference),S=Ji({reference:w,element:y,placement:a}),N=Ki(Object.assign({},y,S)),E=h===si?N:w,k={top:x.top-E.top+g.top,bottom:E.bottom-x.bottom+g.bottom,left:x.left-E.left+g.left,right:E.right-x.right+g.right},C=e.modifiersData.offset;if(h===si&&C){var T=C[a];Object.keys(k).forEach(function(e){var t=[Qn,Jn].indexOf(e)>=0?1:-1,n=[Zn,Jn].indexOf(e)>=0?"y":"x";k[e]+=T[n]*t})}return k}var ea={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var a=n.mainAxis,r=void 0===a||a,s=n.altAxis,o=void 0===s||s,l=n.fallbackPlacements,c=n.padding,d=n.boundary,u=n.rootBoundary,h=n.altBoundary,p=n.flipVariations,m=void 0===p||p,f=n.allowedAutoPlacements,v=t.options.placement,g=vi(v),b=l||(g!==v&&m?function(e){if(vi(e)===ti)return[];var t=Vi(e);return[qi(e),t,qi(t)]}(v):[Vi(v)]),y=[v].concat(b).reduce(function(e,n){return e.concat(vi(n)===ti?function(e,t){void 0===t&&(t={});var n=t,i=n.placement,a=n.boundary,r=n.rootBoundary,s=n.padding,o=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?li:l,d=Ii(i),u=d?o?oi:oi.filter(function(e){return Ii(e)===d}):ni,h=u.filter(function(e){return c.indexOf(e)>=0});0===h.length&&(h=u);var p=h.reduce(function(t,n){return t[n]=Qi(e,{placement:n,boundary:a,rootBoundary:r,padding:s})[vi(n)],t},{});return Object.keys(p).sort(function(e,t){return p[e]-p[t]})}(t,{placement:n,boundary:d,rootBoundary:u,padding:c,flipVariations:m,allowedAutoPlacements:f}):n)},[]),_=t.rects.reference,x=t.rects.popper,w=new Map,S=!0,N=y[0],E=0;E<y.length;E++){var k=y[E],C=vi(k),T=Ii(k)===ii,A=[Zn,Jn].indexOf(C)>=0,j=A?"width":"height",O=Qi(t,{placement:k,boundary:d,rootBoundary:u,altBoundary:h,padding:c}),L=A?T?Qn:ei:T?Jn:Zn;_[j]>x[j]&&(L=Vi(L));var D=Vi(L),M=[];if(r&&M.push(O[C]<=0),o&&M.push(O[L]<=0,O[D]<=0),M.every(function(e){return e})){N=k,S=!1;break}w.set(k,M)}if(S)for(var P=function(e){var t=y.find(function(t){var n=w.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return N=t,"break"},I=m?3:1;I>0&&"break"!==P(I);I--);t.placement!==N&&(t.modifiersData[i]._skip=!0,t.placement=N,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ta(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 na(e){return[Zn,Qn,Jn,ei].some(function(t){return e[t]>=0})}var ia={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,a=t.rects.popper,r=t.modifiersData.preventOverflow,s=Qi(t,{elementContext:"reference"}),o=Qi(t,{altBoundary:!0}),l=ta(s,i),c=ta(o,a,r),d=na(l),u=na(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}},aa={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,a=n.offset,r=void 0===a?[0,0]:a,s=li.reduce(function(e,n){return e[n]=function(e,t,n){var i=vi(e),a=[ei,Zn].indexOf(i)>=0?-1:1,r="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=r[0],o=r[1];return s=s||0,o=(o||0)*a,[ei,Qn].indexOf(i)>=0?{x:o,y:s}:{x:s,y:o}}(n,t.rects,r),e},{}),o=s[t.placement],l=o.x,c=o.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=s}},ra={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=Ji({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})},data:{}},sa={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,a=n.mainAxis,r=void 0===a||a,s=n.altAxis,o=void 0!==s&&s,l=n.boundary,c=n.rootBoundary,d=n.altBoundary,u=n.padding,h=n.tether,p=void 0===h||h,m=n.tetherOffset,f=void 0===m?0:m,v=Qi(t,{boundary:l,rootBoundary:c,padding:u,altBoundary:d}),g=vi(t.placement),b=Ii(t.placement),y=!b,_=Oi(g),x="x"===_?"y":"x",w=t.modifiersData.popperOffsets,S=t.rects.reference,N=t.rects.popper,E="function"==typeof f?f(Object.assign({},t.rects,{placement:t.placement})):f,k="number"==typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),C=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(w){if(r){var A,j="y"===_?Zn:ei,O="y"===_?Jn:Qn,L="y"===_?"height":"width",D=w[_],M=D+v[j],P=D-v[O],I=p?-N[L]/2:0,R=b===ii?S[L]:N[L],z=b===ii?-N[L]:-S[L],F=t.elements.arrow,B=p&&F?Si(F):{width:0,height:0},H=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=H[j],W=H[O],q=Li(0,S[L],B[L]),U=y?S[L]/2-I-q-V-k.mainAxis:R-q-V-k.mainAxis,$=y?-S[L]/2+I+q+W+k.mainAxis:z+q+W+k.mainAxis,G=t.elements.arrow&&ji(t.elements.arrow),Y=G?"y"===_?G.clientTop||0:G.clientLeft||0:0,X=null!=(A=null==C?void 0:C[_])?A:0,K=D+$-X,Z=Li(p?bi(M,D+U-X-Y):M,D,p?gi(P,K):P);w[_]=Z,T[_]=Z-D}if(o){var J,Q="x"===_?Zn:ei,ee="x"===_?Jn:Qn,te=w[x],ne="y"===x?"height":"width",ie=te+v[Q],ae=te-v[ee],re=-1!==[Zn,ei].indexOf(g),se=null!=(J=null==C?void 0:C[x])?J:0,oe=re?ie:te-S[ne]-N[ne]-se+k.altAxis,le=re?te+S[ne]+N[ne]-se-k.altAxis:ae,ce=p&&re?function(e,t,n){var i=Li(e,t,n);return i>n?n:i}(oe,te,le):Li(p?oe:ie,te,p?le:ae);w[x]=ce,T[x]=ce-te}t.modifiersData[i]=T}},requiresIfExists:["offset"]};function oa(e,t,n){void 0===n&&(n=!1);var i,a,r=pi(t),s=pi(t)&&function(e){var t=e.getBoundingClientRect(),n=yi(t.width)/e.offsetWidth||1,i=yi(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),o=Ci(t),l=wi(e,s,n),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(r||!r&&!n)&&(("body"!==di(t)||Gi(o))&&(c=(i=t)!==ui(i)&&pi(i)?{scrollLeft:(a=i).scrollLeft,scrollTop:a.scrollTop}:Ui(i)),pi(t)?((d=wi(t,!0)).x+=t.clientLeft,d.y+=t.clientTop):o&&(d.x=$i(o))),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}function la(e){var t=new Map,n=new Set,i=[];function a(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var i=t.get(e);i&&a(i)}}),i.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||a(e)}),i}var ca={placement:"bottom",modifiers:[],strategy:"absolute"};function da(){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 ua(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,a=t.defaultOptions,r=void 0===a?ca:a;return function(e,t,n){void 0===n&&(n=r);var a,s,o={placement:"bottom",orderedModifiers:[],options:Object.assign({},ca,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,d={state:o,setOptions:function(n){var a="function"==typeof n?n(o.options):n;u(),o.options=Object.assign({},r,o.options,a),o.scrollParents={reference:hi(e)?Xi(e):e.contextElement?Xi(e.contextElement):[],popper:Xi(t)};var s,c,h=function(e){var t=la(e);return ci.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((s=[].concat(i,o.options.modifiers),c=s.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},{}),Object.keys(c).map(function(e){return c[e]})));return o.orderedModifiers=h.filter(function(e){return e.enabled}),o.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,a=e.effect;if("function"==typeof a){var r=a({state:o,name:t,instance:d,options:i});l.push(r||function(){})}}),d.update()},forceUpdate:function(){if(!c){var e=o.elements,t=e.reference,n=e.popper;if(da(t,n)){o.rects={reference:oa(t,ji(n),"fixed"===o.options.strategy),popper:Si(n)},o.reset=!1,o.placement=o.options.placement,o.orderedModifiers.forEach(function(e){return o.modifiersData[e.name]=Object.assign({},e.data)});for(var i=0;i<o.orderedModifiers.length;i++)if(!0!==o.reset){var a=o.orderedModifiers[i],r=a.fn,s=a.options,l=void 0===s?{}:s,u=a.name;"function"==typeof r&&(o=r({state:o,options:l,name:u,instance:d})||o)}else o.reset=!1,i=-1}}},update:(a=function(){return new Promise(function(e){d.forceUpdate(),e(o)})},function(){return s||(s=new Promise(function(e){Promise.resolve().then(function(){s=void 0,e(a())})})),s}),destroy:function(){u(),c=!0}};if(!da(e,t))return d;function u(){l.forEach(function(e){return e()}),l=[]}return d.setOptions(n).then(function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)}),d}}var ha=ua({defaultModifiers:[Bi,ra,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,a=void 0===i||i,r=n.adaptive,s=void 0===r||r,o=n.roundOffsets,l=void 0===o||o,c={placement:vi(t.placement),variation:Ii(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,zi(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,zi(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},fi,aa,ea,sa,Pi,ia]}),pa={rootContainerSelector:"#root-tooltips",removeDialogOnDestroy:!1,popperOptions:{placement:"bottom",strategy:"absolute",modifiers:[{name:"arrow",options:{element:".tooltip__arrow",padding:10}},{name:"eventListeners",options:{scroll:!1,resize:!1}},{name:"flip",options:{fallbackPlacements:["right","top","auto"]}},{name:"offset",options:{offset:function(e){var t=e.placement;return t.includes("start")?[-10,0]:t.includes("end")?[10,0]:[0,0]}}}]}},ma=function(){return g(function e(t,n){var i;return f(this,e),this.isOpen=!1,this.ignoreNextBlur=!1,this.element=t,this.config=_(_({},pa),n),this.config.popperOptions=_(_({},pa.popperOptions),(null==n?void 0:n.popperOptions)||{}),this.config.popperOptions.modifiers=[].concat(E(pa.popperOptions.modifiers),E((null==n||null===(i=n.popperOptions)||void 0===i?void 0:i.modifiers)||[])),this.handleVisibility=this.handleVisibility.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onDialogMouseDown=this.onDialogMouseDown.bind(this),this.onDocumentClick=this.onDocumentClick.bind(this),this.element.ODS_Tooltip=this,this.init(),this},[{key:"wrapLastWordAndButton",value:function(){var e,t;if(this.element.hasAttribute("data-tooltip-keep-with-text")){var n=this.trigger.previousSibling;if(n&&n.nodeType===Node.TEXT_NODE){var i=((null===(e=n.textContent)||void 0===e?void 0:e.trim())||"").split(" "),a=i.pop(),r=i.join(" ");n.textContent=r+" ";var s=document.createElement("span");s.className="text-nowrap",s.innerHTML="".concat(a," ").concat(this.trigger.outerHTML),null===(t=this.trigger.parentNode)||void 0===t||t.replaceChild(s,this.trigger),this.trigger=s.querySelector("[data-tooltip-trigger]")}}}},{key:"init",value:function(){this.trigger=document.querySelector("[data-tooltip-trigger][aria-describedby=".concat(this.element.getAttribute("id"),"]")),this.trigger,this.element.hasAttribute("data-tooltip-keep-with-text")&&this.wrapLastWordAndButton(),this.rootContainer=document.querySelector(this.config.rootContainerSelector),this.rootContainer&&this.rootContainer.appendChild(this.element);var e=this.element.getAttribute("data-tooltip-placement");e&&(this.config.popperOptions.placement=e),this.instance=ha(this.trigger,this.element,this.config.popperOptions),this.transitioner=Kn({element:this.element,visibleClass:"is-visible"}),this.element.addEventListener("mousedown",this.onDialogMouseDown),this.trigger.addEventListener("click",this.handleVisibility),this.trigger.addEventListener("keydown",this.handleVisibility),this.trigger.addEventListener("blur",this.handleVisibility)}},{key:"onDialogMouseDown",value:function(){this.ignoreNextBlur=!0}},{key:"onDocumentClick",value:function(e){var t=e.target;t&&(this.trigger.contains(t)||this.element.contains(t)||this.hide())}},{key:"handleVisibility",value:function(e){if("click"!==e.type)if("keydown"!==e.type){if("blur"===e.type){if(this.ignoreNextBlur)return void(this.ignoreNextBlur=!1);this.hide()}}else this.onKeydown(e);else this.toggle()}},{key:"onKeydown",value:function(e){if(("Enter"===e.key||" "===e.key)&&"BUTTON"!==this.trigger.tagName)return e.preventDefault(),void this.toggle();Y.ESC.includes(e.key)&&this.hide()}},{key:"toggle",value:function(){this.isOpen?this.hide():this.show()}},{key:"show",value:function(){this.transitioner.show(),this.trigger.classList.add("is-active"),this.isOpen=!0,this.instance.forceUpdate(),document.addEventListener("click",this.onDocumentClick)}},{key:"hide",value:function(){this.transitioner.hide(),this.trigger.classList.remove("is-active"),this.isOpen=!1,document.removeEventListener("click",this.onDocumentClick)}},{key:"update",value:function(){this.instance.forceUpdate()}},{key:"destroy",value:function(){this.element.removeEventListener("mousedown",this.onDialogMouseDown),this.trigger.removeEventListener("click",this.handleVisibility),this.trigger.removeEventListener("keydown",this.handleVisibility),this.trigger.removeEventListener("blur",this.handleVisibility),document.removeEventListener("click",this.onDocumentClick),this.instance.destroy(),this.element.ODS_Tooltip=null,this.config.removeDialogOnDestroy&&this.element.remove()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Tooltip?e.ODS_Tooltip:null}}])}(),fa="carousel",va="".concat(fa,"__viewport-wrapper"),ga="".concat(fa,"__viewport"),ba="".concat(fa,"__track"),ya="".concat(fa,"__slide"),_a="".concat(fa,"__slide-next"),xa="".concat(fa,"__slide-prev"),wa="".concat(fa,"__prev"),Sa="".concat(fa,"__next"),Na="".concat(fa,"__pagination"),Ea="".concat(fa,"__pagination-item"),ka="".concat(fa,"__scrollbar"),Ca="".concat(fa,"__scrollbar-horizontal"),Ta="".concat(fa,"__scrollbar-drag"),Aa="is-active",ja="".concat(fa,"--bleed-right"),Oa=".".concat(ga),La=".".concat(ba),Da=".".concat(wa),Ma=".".concat(Sa),Pa=".".concat(Na),Ia=".".concat(ka),Ra=".".concat(Aa),za={navigation:{nextEl:Ma,prevEl:Da},pagination:{el:Pa,clickable:!0,bulletClass:Ea,bulletActiveClass:Aa,renderBullet:function(e,t){return'<button aria-label="Page '.concat(e+1,'" role="tab" class="').concat(t,'" type="button"></button>')}},scrollbar:{el:Ia,draggable:!0,enabled:!0,horizontalClass:Ca,dragClass:Ta,hide:!1},slidesPerView:1.2,spaceBetween:20,mousewheel:{forceToAxis:!0,sensitivity:1},a11y:{enabled:!0,scrollOnFocus:!1,prevSlideMessage:"Predchádzajúci snímok",nextSlideMessage:"Nasledujúci snímok",paginationBulletMessage:"Prejsť na snímok {index}",containerMessage:"Carousel so snímkami",containerRoleDescriptionMessage:"carousel",itemRoleDescriptionMessage:"snímok",firstSlideMessage:"Prvý snímok",lastSlideMessage:"Posledný snímok",slideLabelMessage:"Snímok"},loop:!1,cssMode:!1,direction:"horizontal",breakpoints:{1240:{slidesPerView:1.6}},wrapperClass:ba,slideClass:ya,slideActiveClass:Aa,slideNextClass:_a,slidePrevClass:xa},Fa=function(){function e(t,n){var i,a,r=this;return f(this,e),this.isScrollbarDragging=!1,this.externalControlsState=null,this.element=t,this.config=_(_(_({},za),n),{},{scrollbar:_(_(_({},null!==(i=za.scrollbar)&&void 0!==i?i:{}),null!==(a=null==n?void 0:n.scrollbar)&&void 0!==a?a:{}),{},{el:this.element.querySelector(Ia)})}),this.handleSlideChange=this.handleSlideChange.bind(this),this.updateTooltipPosition=this.updateTooltipPosition.bind(this),this.boundWindowResizeHandler=this.handleWindowResize.bind(this),this.element.ODS_Carousel=this,requestAnimationFrame(function(){r.init()}),this}return g(e,[{key:"getViewportWrapper",value:function(){return this.element.querySelector(".".concat(va))}},{key:"getSlidesPerView",value:function(){var e;return Number(null===(e=this.instance)||void 0===e||null===(e=e.params)||void 0===e?void 0:e.slidesPerView)||1}},{key:"setScrollbarVisible",value:function(e){var t=this.element.querySelector(Ia);t&&(t.style.display=e?"":"none")}},{key:"getSlidesContentWidth",value:function(){var e,t;if(!this.instance)return(null===(t=this.track)||void 0===t?void 0:t.scrollWidth)||0;var n,i=Array.from(this.instance.slides),a=i.reduce(function(e,t){return e+t.offsetWidth},0),r=Number(null===(e=this.instance.params)||void 0===e?void 0:e.spaceBetween)||0,s=a+Math.max(i.length-1,0)*r;return a<=0||s<=0?(null===(n=this.track)||void 0===n?void 0:n.scrollWidth)||0:s}},{key:"getOverflowWidth",value:function(e){var t,n=this.element.classList.contains(ja)?this.element.clientWidth||(null==e?void 0:e.clientWidth)||0:(null===(t=this.viewport)||void 0===t?void 0:t.clientWidth)||0;return n<=0?0:this.getSlidesContentWidth()-n}},{key:"hasScrollableContent",value:function(t){if(!this.instance||!this.instance.params)return!1;var n=this.getOverflowWidth(t);return 0!==n?n>e.OVERFLOW_EPSILON_PX:this.instance.slides.length>this.getSlidesPerView()}},{key:"init",value:function(){var e=this;this.getElements(),this.element.hasAttribute("data-swiper-options")&&this.getCustomOptions();var t=this.element.classList.contains(ja);this.instance=new Fn(this.viewport,_(_({},this.config),{},{watchOverflow:!t&&this.config.watchOverflow,enabled:!1,modules:[qn,$n,Gn,Yn,Bn,Hn],on:{slideChange:this.handleSlideChange,slideChangeTransitionEnd:function(){e.updateExternalControlsState()},scrollbarDragStart:function(){e.isScrollbarDragging=!0},scrollbarDragEnd:function(){e.isScrollbarDragging=!1,e.updateExternalControlsState(!0)}}})),this.updateCarouselEnabledState(),this.element.classList.contains(ja)&&(this.adjustConfigForBleedRight(),this.fixBleedRightScrollbar()),this.syncScrollbar(),this.instance&&"function"==typeof this.instance.on&&this.instance.on("resize",function(){e.updateCarouselEnabledState()}),this.observeVisibilityChanges(),window.addEventListener("resize",this.boundWindowResizeHandler),this.initExternalControls(),requestAnimationFrame(function(){e.instance&&e.instance.update()})}},{key:"handleWindowResize",value:function(){var e=this;this.resizeRafId&&cancelAnimationFrame(this.resizeRafId),this.resizeRafId=requestAnimationFrame(function(){var t,n;e.resizeRafId=void 0,e.instance&&e.viewport&&(e.viewport.clientWidth<=0||(e.instance.update(),e.updateCarouselEnabledState(),null===(t=e.bleedResizeHandler)||void 0===t||t.call(e),e.updateExternalControlsState(),null===(n=e.instance.scrollbar)||void 0===n||n.updateSize()))})}},{key:"syncScrollbar",value:function(){var e=this;requestAnimationFrame(function(){var t;null!==(t=e.instance)&&void 0!==t&&t.scrollbar&&e.instance.scrollbar.updateSize()})}},{key:"observeVisibilityChanges",value:function(){var e,t=this;"undefined"!=typeof ResizeObserver&&(null===(e=this.resizeObserver)||void 0===e||e.disconnect(),this.resizeObserver=new ResizeObserver(function(){var e;t.instance&&t.viewport&&(t.viewport.clientWidth<=0||(t.instance.update(),t.updateCarouselEnabledState(),null===(e=t.instance.scrollbar)||void 0===e||e.updateSize()))}),this.resizeObserver.observe(this.viewport))}},{key:"fixBleedRightScrollbar",value:function(){var e=this,t=function(){var t,n,i=e.getViewportWrapper(),a=null===(t=e.instance)||void 0===t?void 0:t.scrollbar,r=e.instance;if(i&&a&&a.dragEl&&r)if(e.hasScrollableContent(i)){e.setScrollbarVisible(!0);var s=a.el.offsetWidth,o=(null===(n=e.instance)||void 0===n?void 0:n.width)||e.element.clientWidth||i.clientWidth,l=e.getSlidesContentWidth(),c="function"==typeof r.minTranslate?r.minTranslate():0,d="function"==typeof r.maxTranslate?r.maxTranslate():0,u=Math.max(Math.abs(d-c),0),h=Math.max(l,o+u),p=(h>0?Math.min(o/h,1):1)*s,m=Math.max(p,30);a.dragEl.style.width="".concat(m,"px"),a.dragEl.style.display="";var f=Math.min(Math.max(r.progress||0,0),1)*Math.max(s-m,0);a.dragEl.style.transform="translate3d(".concat(f,"px, 0, 0)")}else e.setScrollbarVisible(!1)};requestAnimationFrame(function(){requestAnimationFrame(t)}),this.instance.on("progress",t),this.instance.on("slideChange",t),this.instance.on("resize",t),this.instance.on("update",t),this.instance.on("setTranslate",t)}},{key:"getElements",value:function(){var e,t;this.viewport=this.element.querySelector(Oa),this.track=this.viewport.querySelector(La);var n=this.element.querySelector(Pa);n&&!n.hasAttribute("role")&&n.setAttribute("role","tablist");var i={navigation:_(_({},null!==(e=this.config.navigation)&&void 0!==e?e:{}),{},{nextEl:this.element.querySelector(Ma),prevEl:this.element.querySelector(Da)}),pagination:_(_({},null!==(t=this.config.pagination)&&void 0!==t?t:{}),{},{el:n,clickable:!0,bulletClass:Ea,bulletActiveClass:Aa})};this.config=_(_({},this.config),i)}},{key:"getCustomOptions",value:function(){var e=this.element.getAttribute("data-swiper-options");if(e){var t=JSON.parse(e);this.config=_(_({},this.config),t)}}},{key:"updateCarouselEnabledState",value:function(){if(this.instance&&this.instance.params){var e=this.getViewportWrapper();this.hasScrollableContent(e||void 0)?this.instance.enable():this.instance.disable(),this.setScrollbarVisible(this.instance.enabled)}}},{key:"applyBleedInsets",value:function(t){var n;if(this.instance&&this.instance.params){var i=this.element.clientWidth||t.clientWidth||0,a=(null===(n=document.documentElement)||void 0===n?void 0:n.clientWidth)||window.innerWidth||0,r=t.getBoundingClientRect(),s=this.element.getBoundingClientRect(),o=s.left>0?s.left:r.left,l=Math.max(Math.floor(o),0),c=Math.max(Math.floor(a),i,0),d=-l,u=Math.max(c-l,i,0),h=this.getSlidesContentWidth(),p=h-i,m=this.getSlidesPerView(),f=this.instance.slides.length,v=!(h>0?p>e.OVERFLOW_EPSILON_PX:f>m),g=!v,b=this.element.classList.contains(ja),y=v?"100%":"".concat(u,"px"),_=v?"0px":"".concat(l,"px"),x=v?"100%":"".concat(c,"px"),w=v?"0px":"".concat(d,"px"),S=b!==g||this.instance.params.width!==(v?void 0:i)||this.element.style.getPropertyValue("--carousel-bleed-viewport-width")!==y||this.element.style.getPropertyValue("--carousel-bleed-margin-left")!==_||this.element.style.getPropertyValue("--carousel-bleed-shell-width")!==x||this.element.style.getPropertyValue("--carousel-bleed-shell-margin-left")!==w;this.element.classList.toggle(ja,g);var N=v?void 0:i;this.instance.params.width=N,this.instance.originalParams&&(this.instance.originalParams.width=N),this.instance.params.slidesOffsetBefore=0,this.instance.params.slidesOffsetAfter=0,this.element.style.setProperty("--carousel-bleed-viewport-width",y),this.element.style.setProperty("--carousel-bleed-margin-left",_),this.element.style.setProperty("--carousel-bleed-shell-width",x),this.element.style.setProperty("--carousel-bleed-shell-margin-left",w),S&&this.instance.update(),this.updateCarouselEnabledState()}}},{key:"adjustConfigForBleedRight",value:function(){var e=this;requestAnimationFrame(function(){if(e.instance){var t=e.getViewportWrapper();if(t){var n=function(){e.applyBleedInsets(t)};e.bleedResizeHandler=n,n(),e.instance.on("resize",n)}}})}},{key:"handleSlideChange",value:function(){var e=this.track.querySelector(Ra),t=this.track.querySelectorAll(".".concat(ya,":not(").concat(Ra,")"));e&&this.updateTooltipPosition(e),t.length>0&&this.hideAllTooltips(t),this.updateExternalControlsState()}},{key:"updateTooltipPosition",value:function(e){var t=e.querySelectorAll('[data-tooltip-trigger="true"]');t.length>0&&t.forEach(function(e){var t=e.getAttribute("aria-describedby");if(t){var n=document.getElementById(t);if(n){var i=ma.getInstance(n);i&&i.update()}}})}},{key:"hideAllTooltips",value:function(e){e.forEach(function(e){var t=e.querySelectorAll('[data-tooltip-trigger="true"]');t.length>0&&t.forEach(function(e){var t=e.getAttribute("aria-describedby");if(t){var n=document.getElementById(t);if(n){var i=ma.getInstance(n);i&&(i.hide(),e.blur())}}})})}},{key:"initExternalControls",value:function(){var e=this,t=this.element.dataset.carouselId||this.element.id;t&&(this.carouselId=t,document.querySelectorAll('[data-carousel-controls="'.concat(t,'"]')).forEach(function(t){var n=t;if(!n.hasAttribute("data-carousel-initialized")){n._carouselClickHandler&&n.removeEventListener("click",n._carouselClickHandler);var i,a,r=n.dataset.carouselAction,s=function(t){t.preventDefault(),n.hasAttribute("disabled")||("next"===r?e.slideNext():"prev"===r&&e.slidePrev())};"next"!==r&&"prev"!==r||(n.addEventListener("click",s),n.setAttribute("aria-label","next"===r?("object"===C(e.config.a11y)?null===(i=e.config.a11y)||void 0===i?void 0:i.nextSlideMessage:void 0)||"Nasledujúci snímok":("object"===C(e.config.a11y)?null===(a=e.config.a11y)||void 0===a?void 0:a.prevSlideMessage:void 0)||"Predchádzajúci snímok"),n.setAttribute("type","button"),n._carouselClickHandler=s),n.setAttribute("data-carousel-initialized","true")}}),this.updateExternalControlsState())}},{key:"updateExternalControlsState",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.carouselId&&this.instance&&this.instance.params&&(!this.isScrollbarDragging||e)){var t=!this.instance.enabled,n=t||this.instance.isBeginning,i=t||this.instance.isEnd;this.externalControlsState={isAtStart:n,isAtEnd:i},this.applyExternalControlsState(this.externalControlsState)}}},{key:"applyExternalControlsState",value:function(e){var t=e.isAtStart,n=e.isAtEnd,i=document.querySelectorAll('[data-carousel-controls="'.concat(this.carouselId,'"][data-carousel-action="prev"]')),a=document.querySelectorAll('[data-carousel-controls="'.concat(this.carouselId,'"][data-carousel-action="next"]'));i.forEach(function(e){var n=e;t?(n.setAttribute("disabled","true"),n.setAttribute("aria-disabled","true"),n.style.cursor="not-allowed"):(n.removeAttribute("disabled"),n.setAttribute("aria-disabled","false"),n.style.cursor="pointer")}),a.forEach(function(e){var t=e;n?(t.setAttribute("disabled","true"),t.setAttribute("aria-disabled","true"),t.style.cursor="not-allowed"):(t.removeAttribute("disabled"),t.setAttribute("aria-disabled","false"),t.style.cursor="pointer")})}},{key:"slideNext",value:function(){this.instance&&this.instance.slideNext()}},{key:"slidePrev",value:function(){this.instance&&this.instance.slidePrev()}},{key:"getActiveIndex",value:function(){return this.instance?this.instance.activeIndex:0}},{key:"onSlideChange",value:function(e){var t=this;this.instance&&this.instance.on("slideChange",function(){e(t.instance.activeIndex)})}},{key:"destroy",value:function(){var e;this.carouselId&&document.querySelectorAll('[data-carousel-controls="'.concat(this.carouselId,'"]')).forEach(function(e){var t=e;t._carouselClickHandler&&(t.removeEventListener("click",t._carouselClickHandler),delete t._carouselClickHandler),t.removeAttribute("data-carousel-initialized")}),window.removeEventListener("resize",this.boundWindowResizeHandler),this.resizeRafId&&(cancelAnimationFrame(this.resizeRafId),this.resizeRafId=void 0),this.instance&&this.bleedResizeHandler&&(this.instance.off("resize",this.bleedResizeHandler),this.bleedResizeHandler=void 0),this.instance&&this.instance.destroy(),this.isScrollbarDragging=!1,this.externalControlsState=null,null===(e=this.resizeObserver)||void 0===e||e.disconnect(),this.resizeObserver=void 0,this.element.ODS_Carousel===this&&delete this.element.ODS_Carousel}},{key:"update",value:function(){this.instance&&this.instance.update()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Carousel?e.ODS_Carousel:null}},{key:"getInstanceById",value:function(e){var t=document.querySelector('[data-carousel-id="'.concat(e,'"]'))||document.getElementById(e);return t?this.getInstance(t):null}}])}();Fa.OVERFLOW_EPSILON_PX=1;var Ba=["className","children"],Ha=ya,Va=function(e){var t=e.className,n=e.children,i=x(e,Ba),a=V(Ha,t);return F.jsx("div",_(_({className:a},i),{},{children:n}))};Va.displayName="CarouselItem";var Wa=["className","swiperOptions","items","showScrollbar","bleedRight"],qa=function(e){var t=e.className,n=e.swiperOptions,i=e.items,a=e.showScrollbar,r=void 0!==a&&a,s=e.bleedRight,o=void 0!==s&&s,l=x(e,Wa),c=N(U(Fa),1)[0],d=i.map(function(e,t){return F.jsx(Va,{children:e},t.toString())}),u=V(fa,t,b(b({},"".concat(fa,"--scrollbar"),r),"".concat(fa,"--bleed-right"),o)),h={prev:V(wa),next:V(Sa),dots:V(Na,r?"hide":"show-md")},p=r?_({pagination:{enabled:!1}},n):n;return F.jsxs("div",_(_(_({className:u,ref:c,"data-carousel":!0},r||n?{"data-swiper-options":JSON.stringify(p)}:{}),l),{},{children:[F.jsxs("div",{className:va,children:[F.jsx("div",{className:ga,children:F.jsx("div",{className:ba,children:d})}),r?null:F.jsxs(F.Fragment,{children:[F.jsx("button",{type:"button","aria-label":"Naspäť",className:h.prev,children:F.jsx(oe,{size:"medium",name:"chevron-left"})}),F.jsx("button",{type:"button","aria-label":"Ďalej",className:h.next,children:F.jsx(oe,{size:"medium",name:"chevron-right"})})]})]}),!r&&F.jsx("div",{role:"tablist",className:h.dots}),F.jsx("div",{className:V(ka,!r&&"hide-md"),children:F.jsx("div",{className:Ta})})]}))};qa.displayName="Carousel";var Ua=["className"],$a=c(function(e,t){var n=e.className,i=x(e,Ua),a=V("container",n);return F.jsx("div",_({className:a,ref:t},i))});$a.displayName="Container";var Ga=["elemRef","className","icon","isDisabled"],Ya=e.forwardRef(function(e,t){var n=e.elemRef,i=e.className,a=e.icon,r=e.isDisabled,s=x(e,Ga),o=V("controls",i),l=s;return F.jsx("button",_(_({type:"button",className:o,disabled:!!r||void 0,"aria-disabled":r?"true":void 0,ref:n||t},l),{},{children:F.jsx(oe,{name:a})}))});Ya.displayName="Controls";var Xa="carousel-hero",Ka="".concat(Xa,"__viewport-wrapper"),Za="".concat(Xa,"__viewport"),Ja="".concat(Xa,"__track"),Qa="".concat(Xa,"__slide"),er="".concat(Xa,"__slide-container"),tr="".concat(Xa,"__slide-content"),nr="".concat(Xa,"__slide-image"),ir="".concat(Xa,"__prev"),ar="".concat(Xa,"__next"),rr="".concat(Xa,"__play-pause"),sr="".concat(Xa,"__tabs"),or="".concat(Xa,"__tab"),lr="".concat(Xa,"__pagination"),cr="".concat(Xa,"__pagination-item"),dr="".concat(Xa,"__pagination-svg"),ur="".concat(Xa,"__pagination-circle"),hr="".concat(Xa,"__navigation"),pr="is-active",mr="is-playing",fr="is-paused",vr=".".concat(Za),gr=".".concat(ir),br=".".concat(ar),yr=".".concat(rr),_r=".".concat(sr),xr=".".concat(or),wr=".".concat(lr),Sr={pagination:{clickable:!0,bulletClass:cr,bulletActiveClass:"is-active",renderBullet:function(e,t){return'<button type="button" class="'.concat(t,'" aria-label="Prejsť na snímok ').concat(e+1,'"></button>')}},slidesPerView:1,loop:!1,a11y:{enabled:!0,prevSlideMessage:"Predchádzajúci snímok",nextSlideMessage:"Nasledujúci snímok",containerMessage:"Hero carousel so snímkami",containerRoleDescriptionMessage:"carousel",itemRoleDescriptionMessage:"snímok",firstSlideMessage:"Prvý snímok",lastSlideMessage:"Posledný snímok",slideLabelMessage:"Snímok"},wrapperClass:Ja,slideClass:Qa,slideActiveClass:pr},Nr=function(){return g(function e(t,n){return f(this,e),this.tabs=[],this._dotAnimationJustStarted=!1,this._isDragging=!1,this.element=t,this.config=_(_({},Sr),n),this.element.ODS_CarouselHero=this,this._boundTabClick=this._onTabClick.bind(this),this._boundPrevClick=this._onUserNavigation.bind(this),this._boundNextClick=this._onUserNavigation.bind(this),this._boundPlayPauseClick=this._onPlayPauseClick.bind(this),this._boundWindowResize=this._onWindowResize.bind(this),this.init(),this},[{key:"init",value:function(){this.getElements(),this.setupConfig(),this.createSwiper(),this.setupEventListeners(),this.renderPaginationDots(),this.updateStates(),this.updatePlayPauseIcon(),this.hasAutoplay()&&this.isAutoplayRunning()&&this.startDotAnimation(),window.addEventListener("resize",this._boundWindowResize)}},{key:"_onWindowResize",value:function(){var e=this;this.resizeRafId&&cancelAnimationFrame(this.resizeRafId),this.resizeRafId=requestAnimationFrame(function(){e.resizeRafId=void 0,e.instance&&e.viewport&&(e.viewport.clientWidth<=0||(e.instance.update(),e.updateStates(),e.updatePlayPauseIcon()))})}},{key:"getElements",value:function(){this.viewport=this.element.querySelector(vr);var e=this.element.querySelector(_r);e&&(this.tabs=Array.from(e.querySelectorAll(xr)))}},{key:"setupConfig",value:function(){var e=this.element.hasAttribute("data-interval")&&parseInt(this.element.getAttribute("data-interval"))||0;if("object"===C(this.config.a11y)&&null!==this.config.a11y&&(this.config.a11y=_(_({},this.config.a11y),{},{slideRole:this.tabs.length>0?"tabpanel":"group"})),this.element.hasAttribute("data-swiper-options"))try{var t=JSON.parse(this.element.getAttribute("data-swiper-options"));this.config=_(_({},this.config),t)}catch(e){}this.config.loop=!1,this.config.rewind=!0,e>=1e3&&(this.config.autoplay={delay:e,disableOnInteraction:!1,pauseOnMouseEnter:!1,waitForTransition:!0,stopOnLastSlide:!1},this.element.classList.add(mr))}},{key:"createSwiper",value:function(){var e=this,t=this.viewport.querySelectorAll(".".concat(Qa)).length>1;this.instance=new Fn(this.viewport,_(_({},this.config),{},{modules:[qn,$n,Yn,Bn,Xn],navigation:{nextEl:this.element.querySelector(br),prevEl:this.element.querySelector(gr)},pagination:!!t&&_(_({},this.config.pagination),{},{el:this.element.querySelector(wr)}),on:{slideChange:function(){e.updateStates(),e.isAutoplayRunning()?e.restartDotAnimation():e.stopDotAnimation()},autoplayStart:function(){e._onAutoplayStart()},autoplayStop:function(){e._onAutoplayStop()},touchStart:function(){e._isDragging=!0,e._stopAutoplayIfRunning()},touchEnd:function(){e._isDragging=!1}}})),this.updatePlayPauseIcon()}},{key:"setupEventListeners",value:function(){var e=this;this.tabs.forEach(function(t){t.removeEventListener("click",e._boundTabClick),t.addEventListener("click",e._boundTabClick)});var t=this.element.querySelector(yr);t&&(t.removeEventListener("click",this._boundPlayPauseClick),t.addEventListener("click",this._boundPlayPauseClick));var n=this.element.querySelector(gr),i=this.element.querySelector(br);n&&(n.removeEventListener("click",this._boundPrevClick),n.addEventListener("click",this._boundPrevClick)),i&&(i.removeEventListener("click",this._boundNextClick),i.addEventListener("click",this._boundNextClick))}},{key:"_onUserNavigation",value:function(){this._stopAutoplayIfRunning(),this.stopDotAnimation()}},{key:"_onTabClick",value:function(e){var t;e.preventDefault();var n=e.currentTarget,i=this.tabs.indexOf(n);-1!==i&&i!==(null===(t=this.instance)||void 0===t?void 0:t.realIndex)&&(this._onUserNavigation(),this.goToSlide(i))}},{key:"_onPlayPauseClick",value:function(){this.toggleAutoplay()}},{key:"isAutoplayRunning",value:function(){var e;return!(null===(e=this.instance)||void 0===e||!e.autoplay||!this.instance.autoplay.running)}},{key:"_stopAutoplayIfRunning",value:function(){this.isAutoplayRunning()&&this.instance.autoplay.stop()}},{key:"_onAutoplayStart",value:function(){this.element.classList.add(mr),this.element.classList.remove(fr),this.updatePlayPauseIcon(),this.startDotAnimation()}},{key:"_onAutoplayStop",value:function(){this.element.classList.remove(mr),this.element.classList.add(fr),this.updatePlayPauseIcon(),this.stopDotAnimation()}},{key:"toggleAutoplay",value:function(){var e=this;this.instance&&this.instance.autoplay&&(this.isAutoplayRunning()?this.instance.autoplay.stop():(this.updateStates(),setTimeout(function(){e.instance&&e.instance.autoplay&&e.instance.autoplay.start()},10)))}},{key:"goToSlide",value:function(e){this.instance&&this.instance.realIndex!==e&&(this.instance.params.loop?this.instance.slideToLoop(e):this.instance.slideTo(e))}},{key:"updateStates",value:function(){var e,t;if(this.instance){var n=null!==(e=null!==(t=this.instance.realIndex)&&void 0!==t?t:this.instance.activeIndex)&&void 0!==e?e:0;this.tabs.forEach(function(e,t){var i=t===n;e.classList.toggle(pr,i),e.setAttribute("aria-selected",String(i)),e.setAttribute("tabindex",i?"0":"-1")}),this.scrollActiveTabIntoView(n),this.updatePaginationBullets(n)}}},{key:"updatePaginationBullets",value:function(e){var t=this,n=this.element.querySelector(wr);n&&n.querySelectorAll(".".concat(cr)).forEach(function(n,i){var a=i===e;if(n.classList.toggle("is-active",a),!t.hasAutoplay()){var r=n.querySelector(".".concat(dr));r&&(r.style.display=a?"block":"none")}})}},{key:"scrollActiveTabIntoView",value:function(e){if(!(!this.tabs.length||e<0||e>=this.tabs.length)){var t=this.tabs[e],n=this.element.querySelector(_r);if(n&&t){var i=n.getBoundingClientRect(),a=t.getBoundingClientRect(),r=i.width-56;if(a.right>i.left+r||a.left<i.left){var s=a.left-i.left-r/2+a.width/2;n.scrollBy({left:s,behavior:"smooth"})}}}}},{key:"updatePlayPauseIcon",value:function(){var e=this.element.querySelector(yr);if(e){var t=e.querySelector("use");if(t){var n=this.isAutoplayRunning()?"pause":"play",i=t.getAttribute("xlink:href")||"";if(!i.endsWith("#".concat(n))){var a=i.replace(/#[\w-]+$/,"#".concat(n));t.setAttribute("xlink:href",a)}}}}},{key:"renderPaginationDots",value:function(){var e=this;this._getPaginationButtons().forEach(function(t){var n=e.createSvgDot();t.innerHTML="",t.appendChild(n)})}},{key:"startDotAnimation",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.hasAutoplay()&&(e||this.isAutoplayRunning())&&!this._dotAnimationJustStarted){this._dotAnimationJustStarted=!0;var t=this._getActiveBulletButton();if(t){var n=t.querySelector(".".concat(dr));if(n){var i=n.querySelector("circle");if(i){var a=this.getAnimationDuration();i.style.animation="none",t.offsetHeight,i.style.animation="countdown linear ".concat(a,"ms 1 forwards"),this._dotAnimationJustStarted=!1}else this._dotAnimationJustStarted=!1}else this._dotAnimationJustStarted=!1}else this._dotAnimationJustStarted=!1}}},{key:"restartDotAnimation",value:function(){var e=this;this.stopDotAnimation(),setTimeout(function(){e.startDotAnimation()},50)}},{key:"stopDotAnimation",value:function(){this._getPaginationButtons().forEach(function(e){var t=e.querySelector(".".concat(dr));if(t){var n=t.querySelector("circle");n&&(n.style.animation="none")}}),this._dotAnimationJustStarted=!1}},{key:"_getPaginationButtons",value:function(){return Array.from(this.element.querySelectorAll("".concat(wr," > *")))}},{key:"_getActiveBulletClass",value:function(){var e,t=null===(e=this.instance)||void 0===e||null===(e=e.params)||void 0===e?void 0:e.pagination;if(t&&"object"===C(t)&&t.bulletActiveClass)return String(t.bulletActiveClass);var n=this.config.pagination;return n&&"object"===C(n)&&n.bulletActiveClass?String(n.bulletActiveClass):pr}},{key:"_getActiveBulletButton",value:function(){var e=this._getActiveBulletClass();return this.element.querySelector("".concat(wr," .").concat(e))}},{key:"createSvgDot",value:function(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");t.setAttribute("class",dr),t.setAttribute("width","12"),t.setAttribute("height","12"),t.setAttribute("viewBox","0 0 12 12");var n=document.createElementNS(e,"circle");return n.setAttribute("class",ur),n.setAttribute("r","5"),n.setAttribute("cx","6"),n.setAttribute("cy","6"),t.appendChild(n),t}},{key:"hasAutoplay",value:function(){return!!(this.config.autoplay&&"object"===C(this.config.autoplay)&&this.config.autoplay.delay>=1e3)}},{key:"getAnimationDuration",value:function(){var e;return(null===(e=this.config.autoplay)||void 0===e?void 0:e.delay)||0}},{key:"destroy",value:function(){var e=this;this.tabs.forEach(function(t){t.removeEventListener("click",e._boundTabClick)});var t=this.element.querySelector(yr);t&&t.removeEventListener("click",this._boundPlayPauseClick);var n=this.element.querySelector(gr),i=this.element.querySelector(br);n&&n.removeEventListener("click",this._boundPrevClick),i&&i.removeEventListener("click",this._boundNextClick),window.removeEventListener("resize",this._boundWindowResize),this.resizeRafId&&(cancelAnimationFrame(this.resizeRafId),this.resizeRafId=void 0),this.instance&&this.instance.destroy(!0,!0),delete this.element.ODS_CarouselHero}}],[{key:"getInstance",value:function(e){return e.ODS_CarouselHero||null}}])}(),Er=["className","src","alt"],kr=_(_({},{xs:"0",sm:"480px",md:"768px",lg:"992px",xl:"1240px",xxl:"1380px"}),{},{xxxl:"1920px"}),Cr=function(e){var t=e.className,n=e.src,i=e.alt,a=x(e,Er),r=V("img",t);if("object"===C(n)){var s=Object.keys(n).sort(function(e,t){return parseInt(kr[t])-parseInt(kr[e])});return F.jsxs("picture",{className:r,children:[s.map(function(e){return"default"!==e&&F.jsx("source",{srcSet:n[e],media:"(min-width: ".concat(kr[e],")")},e)}),F.jsx("img",_({src:n.default,alt:i},a))]})}return F.jsx("img",_({className:r,src:n,alt:i},a))};Cr.displayName="Image";var Tr=["className","children","image"],Ar=Qa,jr=function(e){var t=e.className,n=e.children,i=e.image,a=x(e,Tr),r=V(Ar,t);return F.jsx("div",_(_({className:r},a),{},{children:F.jsxs($a,{className:er,children:[F.jsx("div",{className:tr,children:n}),F.jsx(Cr,{className:nr,src:i,alt:"Obrázok"})]})}))};jr.displayName="CarouselHeroItem";var Or=["className","swiperOptions","children","tabs","interval","enableAutoplay"],Lr=["autoplay"];function Dr(t){var n=[];return e.Children.forEach(t,function(t){e.isValidElement(t)&&(t.type!==e.Fragment?n.push(t):n.push.apply(n,E(Dr(t.props.children))))}),n}var Mr=function(t){var n=t.className,i=t.swiperOptions,a=t.children,r=t.tabs,s=void 0===r?[]:r,o=t.interval,l=t.enableAutoplay,c=void 0!==l&&l,u=x(t,Or),h=N(U(Nr),1)[0],p=V(Xa,n),m="carousel-hero-".concat(d().replace(/:/g,"-")),f="string"==typeof u.id&&u.id?u.id:m,v=Dr(a),g=s.length>0&&v.length>0,b=function(e,t){return"string"==typeof(null==e?void 0:e.id)&&e.id?e.id:"".concat(f,"-tab-").concat(t)},y=function(e,t){return e&&"string"==typeof e.props.id&&e.props.id?e.props.id:"".concat(f,"-panel-").concat(t)},w={prev:ir,next:ar,playPause:rr,tabs:sr,tab:or,pagination:lr},S=function(){if(i){if(c||!("autoplay"in i))return i;i.autoplay;var e=x(i,Lr);return Object.keys(e).length>0?e:void 0}}(),E=c&&((null==i?void 0:i.autoplay)&&"object"===C(i.autoplay)&&i.autoplay.delay>=1e3||!!(o&&o>=1e3)),k=v.map(function(t,n){if(!g)return t;var i=b(s[n],n),a=y(t,n);return e.cloneElement(t,{id:a,role:"tabpanel","aria-labelledby":i})});return F.jsxs("div",_(_(_(_({className:p,ref:h,"data-carousel-hero":!0},c&&o&&o>=1e3?{"data-interval":o}:{}),S?{"data-swiper-options":JSON.stringify(S)}:{}),u),{},{children:[F.jsx("div",{className:Ka,children:F.jsx("div",{className:Za,children:F.jsx("div",{className:Ja,children:k})})}),F.jsxs($a,{className:"d-flex",children:[g&&F.jsx("div",{className:w.tabs,role:"tablist",children:s.map(function(e,t){return F.jsx("button",{id:b(e,t),type:"button",className:w.tab,role:"tab","aria-controls":y(v[t],t),"aria-selected":0===t?"true":"false",tabIndex:0===t?0:-1,children:e.label},t)})}),F.jsx("div",{role:"tablist",className:w.pagination}),F.jsxs("div",{className:hr,children:[F.jsx(Ya,{className:w.prev,icon:"chevron-left","aria-label":"Predchádzajúci snímok"}),F.jsx(Ya,{className:w.next,icon:"chevron-right","aria-label":"Nasledujúci snímok"}),E&&F.jsx(Ya,{className:w.playPause,icon:"pause","aria-label":"Pozastaviť/Spustiť automatické prehrávanie"})]})]})]}))};Mr.displayName="CarouselHero";var Pr="carousel-promotions",Ir="".concat(Pr,"__viewport-wrapper"),Rr="".concat(Pr,"__viewport"),zr="".concat(Pr,"__track"),Fr="".concat(Pr,"__slide"),Br="".concat(Pr,"__next"),Hr="".concat(Pr,"__pagination"),Vr="".concat(Pr,"__pagination-item"),Wr="".concat(Pr,"__pagination-svg"),qr="".concat(Pr,"__pagination-circle"),Ur="".concat(Pr,"--slide-inverted"),$r="is-autoplay",Gr="is-active",Yr=".".concat(Rr),Xr=".".concat(Hr),Kr={pagination:{el:Xr,clickable:!0,bulletClass:Vr,bulletActiveClass:Gr,renderBullet:function(e,t){return'<button aria-label="Stránka '.concat(e+1,'" role="tab" class="').concat(t,'" type="button"></button>')}},slidesPerView:1,loop:!0,a11y:{enabled:!0,prevSlideMessage:"Predchádzajúci snímok",nextSlideMessage:"Nasledujúci snímok",paginationBulletMessage:"Prejsť na snímok {index}",containerMessage:"Carousel so snímkami",containerRoleDescriptionMessage:"carousel",itemRoleDescriptionMessage:"snímok",firstSlideMessage:"Prvý snímok",lastSlideMessage:"Posledný snímok",slideLabelMessage:"Snímok"},cssMode:!1,direction:"horizontal",wrapperClass:zr,slideClass:Fr,slideActiveClass:Gr,autoplay:!1},Zr=function(){function e(t,n){return f(this,e),this.interval=0,this.element=t,this.config=_(_({},Kr),n),this.interval=0,this.handleSlideChange=this.handleSlideChange.bind(this),this.scrollToNextSlide=this.scrollToNextSlide.bind(this),this.autoplayAnimationEnd=this.autoplayAnimationEnd.bind(this),this.boundWindowResizeHandler=this.handleWindowResize.bind(this),this.boundPaginationClickHandler=this.handlePaginationClick.bind(this),this.element.ODS_CarouselPromotions=this,this.init(),this}return g(e,[{key:"init",value:function(){var e=this;this.getElements(),this.element.hasAttribute("data-swiper-options")&&this.getCustomOptions(),this.element.hasAttribute("data-interval")&&(this.interval=parseInt(this.element.getAttribute("data-interval")));var t=this.isIntervalValid();t?(this.element.classList.add($r),this.config.autoplay={delay:this.interval,disableOnInteraction:!1}):(this.interval=0,this.config.autoplay=!1),this.instance=new Fn(this.viewport,_(_({},this.config),{},{modules:[qn,$n,Yn,Bn,Xn],on:{slideChange:this.handleSlideChange,init:function(){e.fixPaginationButtonType(),e.isAutoplayEnabled&&e.renderSvgDotsForAnimation()},update:function(){e.fixPaginationButtonType(),e.isAutoplayEnabled&&e.renderSvgDotsForAnimation()}}}));var n=this.element.querySelector(Xr);n&&t&&(n.addEventListener("animationend",this.autoplayAnimationEnd),n.addEventListener("click",this.boundPaginationClickHandler)),window.addEventListener("resize",this.boundWindowResizeHandler)}},{key:"handlePaginationClick",value:function(){this.stopAutoplay()}},{key:"handleWindowResize",value:function(){var e=this;this.resizeRafId&&cancelAnimationFrame(this.resizeRafId),this.resizeRafId=requestAnimationFrame(function(){e.resizeRafId=void 0,e.instance&&e.viewport&&(e.viewport.clientWidth<=0||(e.instance.update(),e.fixPaginationButtonType(),e.isAutoplayEnabled&&e.renderSvgDotsForAnimation()))})}},{key:"stopAutoplay",value:function(){this.interval=0,this.element.classList.remove($r),this.instance&&this.instance.autoplay&&this.instance.autoplay.stop()}},{key:"handleSlideChange",value:function(){this.element.classList.remove(Ur),this.instance&&void 0!==this.instance.activeIndex&&this.instance.activeIndex%2==1&&this.element.classList.add(Ur)}},{key:"autoplayAnimationEnd",value:function(e){e instanceof AnimationEvent&&"countdown"===e.animationName&&this.scrollToNextSlide()}},{key:"isAutoplayEnabled",get:function(){return this.interval>0}},{key:"isIntervalValid",value:function(){var e=parseInt(String(this.interval));return!isNaN(e)&&e>=1e3}},{key:"scrollToNextSlide",value:function(){if(this.instance&&this.instance.slides){var e=this.instance.slides.length;if(!(e<=0)){var t=this.instance.activeIndex||0;this.instance.slideTo((t+1)%e)}}}},{key:"getElements",value:function(){var e;this.viewport=this.element.querySelector(Yr);var t=this.element.querySelector(Xr);t&&!t.hasAttribute("role")&&t.setAttribute("role","tablist");var n={pagination:_(_({},null!==(e=this.config.pagination)&&void 0!==e?e:{}),{},{el:t,clickable:!0,bulletClass:Vr,bulletActiveClass:Gr})};this.config=_(_({},this.config),n)}},{key:"getCustomOptions",value:function(){var e=this.element.getAttribute("data-swiper-options");if(e){var t=JSON.parse(e);this.config=_(_({},this.config),t)}}},{key:"fixPaginationButtonType",value:function(){Array.from(this.element.querySelectorAll("".concat(Xr," > *"))).forEach(function(e){return e.setAttribute("type","button")})}},{key:"renderSvgDotsForAnimation",value:function(){var t=Array.from(this.element.querySelectorAll("".concat(Xr," > *"))),n=e.createSvgDot();n.querySelector("circle").style.animationDuration="".concat(this.interval,"ms"),t.forEach(function(e){e.innerHTML="",e.appendChild(n.cloneNode(!0))})}},{key:"destroy",value:function(){window.removeEventListener("resize",this.boundWindowResizeHandler),this.resizeRafId&&(cancelAnimationFrame(this.resizeRafId),this.resizeRafId=void 0);var e=this.element.querySelector(Xr);e&&(e.removeEventListener("animationend",this.autoplayAnimationEnd),e.removeEventListener("click",this.boundPaginationClickHandler)),this.instance&&this.instance.destroy(),this.element.ODS_CarouselPromotions===this&&delete this.element.ODS_CarouselPromotions}},{key:"update",value:function(){this.instance&&this.instance.update()}}],[{key:"createSvgDot",value:function(){var e="http://www.w3.org/2000/svg",t=document.createElementNS(e,"svg");t.setAttribute("class",Wr),t.setAttribute("width","12"),t.setAttribute("height","12"),t.setAttribute("viewBox","0 0 12 12"),t.setAttribute("fill","none"),t.setAttribute("xmlns",e);var n=document.createElementNS(e,"circle");return n.setAttribute("class",qr),n.setAttribute("r","5"),n.setAttribute("cx","6"),n.setAttribute("cy","6"),t.appendChild(n),t}},{key:"getInstance",value:function(e){return e&&e.ODS_CarouselPromotions?e.ODS_CarouselPromotions:null}}])}(),Jr=["className","swiperOptions","children"],Qr=function(e){var t=e.className,n=e.swiperOptions,i=e.children,a=x(e,Jr),r=N(U(Zr),1)[0],s=V(Pr,t),o={next:V(Br,"hide-lg"),dots:V(Hr)};return F.jsxs("div",_(_(_({className:s,ref:r,"data-carousel-promotions":!0},n?{"data-swiper-options":JSON.stringify(n)}:{}),a),{},{children:[F.jsx("div",{className:Ir,children:F.jsx("div",{className:Rr,children:F.jsx("div",{className:zr,children:i})})}),F.jsx("div",{role:"tablist",className:o.dots})]}))};Qr.displayName="CarouselPromotions";var es=["tag"],ts=function(e){var t=e.tag,n=void 0===t?"td":t,i=x(e,es),a=n;return F.jsx(a,_({},i))};ts.displayName="TableCell";var ns=e.createContext({headers:[],rows:[],isResponsive:!1}),is=function(t){var n=t.row,i=e.useContext(ns),a=i.headers,r=i.expandableRows,s=i.isResponsive;return a.map(function(t,i,a){var o,l,c,d=t.key,u=t.label,h=t.cellProps,p=n[d],m="object"===C(p)&&null!==p,f=m&&"value"in p?p.value:p,v=m&&"value"in p?Object.entries(p).filter(function(e){var t=N(e,1)[0];return"value"!==t&&"rawValue"!==t}).reduce(function(e,t){var n=N(t,2),i=n[0],a=n[1];return _(_({},e),{},b({},i,a))},{}):{},g=(null==n||null===(o=n.expand)||void 0===o?void 0:o.length)||0;return F.jsxs(e.Fragment,{children:[F.jsx(ts,_(_(_(_({},h),v),s&&{"data-label":u}),{},{children:f||""})),i===a.length-1&&(null==r?void 0:r.hasExpandableRows)&&(null!=n&&n.expand?F.jsx(ts,{className:"align-right table__cell--shrink table__cell--expand",children:F.jsxs(ot,{type:"ghost",htmlType:"button",size:"small",isSquare:!0,className:"mb-none","data-subrow-toggle":!0,"aria-expanded":n.isExpanded?"true":"false","aria-controls":null===(l=n.expand)||void 0===l?void 0:l.map(function(e){return e.id}).join(" "),children:[F.jsx("span",{className:"visually-hidden",children:"Zobraziť ".concat(g," súvisiac").concat(g>4?"ich":g>1?"e":"i"," riad").concat(g>4?"kov":g>1?"ky":"ok")}),F.jsx(oe,{name:"chevron-down",size:"large"})]})}):F.jsx(ts,{className:"align-right table__cell--shrink",children:F.jsx("span",{className:"sr-only",children:null==r||null===(c=r.expandableRowsCaptions)||void 0===c?void 0:c.emptyRow})}))]},d)})};is.displayName="TableRow";var as=function(){var t=e.useContext(ns).footers;return t?F.jsx("tfoot",{children:t.map(function(e,t){return F.jsx("tr",{children:F.jsx(is,{row:e})},t.toString())})}):null};as.displayName="TableFooter";var rs=function(){var t,n=e.useContext(ns),i=n.headers,a=n.expandableRows,r={none:"zoradiť vzostupne podľa",ascending:"zoradiť zostupne podľa",descending:"vypnúť zoradenie poďľa"};return F.jsx("thead",{children:F.jsxs("tr",{children:[i.map(function(e,t){var n=e.isSortable,i=e.sort,a=void 0===i?"none":i,s=e.label,o=e.cellProps,l=e.headCellProps;return F.jsxs(ts,_(_(_(_({tag:"th"},o),l),n&&{"aria-sort":a}),{},{scope:"col",children:[s,n&&F.jsxs(F.Fragment,{children:[" ",F.jsx("button",{type:"button",className:"table__sort-button",children:F.jsxs("span",{className:"sr-only",children:[r[a]," ",s]})})]})]}),t.toString())}),(null==a?void 0:a.hasExpandableRows)&&F.jsx(ts,{tag:"th",scope:"col",className:"table__cell--shrink",children:F.jsx("span",{className:"sr-only",children:null==a||null===(t=a.expandableRowsCaptions)||void 0===t?void 0:t.header})})]})})};rs.displayName="TableHeader";var ss=["id"],os=function(){var t=e.useContext(ns).rows;return F.jsx("tbody",{children:t.map(function(t,n){var i;return F.jsxs(e.Fragment,{children:[F.jsx("tr",{children:F.jsx(is,{row:t})}),null==t||null===(i=t.expand)||void 0===i?void 0:i.map(function(e,n){var i=e.id,a=x(e,ss);return F.jsx("tr",{id:i,className:"table__subrow",hidden:!t.isExpanded||void 0,children:F.jsx(is,{row:a})},n.toString())})]},n.toString())})})};os.displayName="TableRows";var ls="toggleTrigger",cs={activeClass:"is-active",settingsAttr:"data-toggle"},ds=function(){function e(t,n){return f(this,e),this.element=t,this.config=_(_({},cs),n),this.settings=[],this.targets=[],this.hasClickOutside=!1,this.handleClick=this.handleClick.bind(this),this.handleClickOutside=this.handleClickOutside.bind(this),this.element.ODS_Toggle=this,this.init(),this}return g(e,[{key:"doToggle",value:function(e){var t=e.dispatchEvent,n=void 0===t||t,i=e.element,a=e.attribute,r=e.value,s=e.action,o=_({},e),l={trigger:this.element,element:i},c=a,d=i,u=r;"icon"===c&&(c="xlink:href",d=i.querySelector("use")),"text"===c&&(d=i.querySelector("[data-toggle-text-target]")||i),void 0===u&&(u=!1);var h=us({element:d,attribute:c,action:s,value:u,dispatchEvent:n,eventDetail:l});return null!==h&&(o.value=h),o}},{key:"init",value:function(){return this.settings=this.parseSettings(),this.targets=this.setupTargets(),this.hasClickOutside=this.settings.some(function(e){return!0===e.clickOutside}),this.element.addEventListener("click",this.handleClick),this.hasClickOutside&&document.addEventListener("click",this.handleClickOutside),this.targets}},{key:"handleClick",value:function(){var e=this;this.targets=this.targets.map(function(t){return e.doToggle(t)}),this.element.dispatchEvent(new CustomEvent(ls,{bubbles:!0}))}},{key:"handleClickOutside",value:function(e){var t=this,n=e.target;this.element.contains(n)||this.targets.some(function(e){return e.element.contains(n)})||this.targets.some(function(e){return"class"===e.attribute&&"string"==typeof e.value?e.element.classList.contains(e.value):"hidden"===e.attribute&&!e.element.hasAttribute("hidden")})&&(this.targets=this.targets.map(function(e){return t.doToggle(e)}),this.element.dispatchEvent(new CustomEvent(ls,{bubbles:!0})))}},{key:"destroy",value:function(){this.element.removeEventListener("click",this.handleClick),this.hasClickOutside&&document.removeEventListener("click",this.handleClickOutside),this.settings=[],this.targets=[],this.hasClickOutside=!1}},{key:"update",value:function(){this.removeNonExistentTargets(),this.addNewTargets();var e=this.hasClickOutside;this.hasClickOutside=this.settings.some(function(e){return!0===e.clickOutside}),!e&&this.hasClickOutside?document.addEventListener("click",this.handleClickOutside):e&&!this.hasClickOutside&&document.removeEventListener("click",this.handleClickOutside)}},{key:"parseSettings",value:function(){var e=this.element.getAttribute(this.config.settingsAttr),t=this.element.getAttribute("aria-controls"),n=[];try{e&&(n=JSON.parse(e))}catch(e){}if(t){var i=this.element.getAttribute("aria-expanded");n=[].concat(E(i?[{target:"self",attribute:"aria-expanded"}]:[]),[{target:t.split(" ").map(function(e){return"#".concat(e)}).join(","),attribute:"hidden"}],E(Array.isArray(n)?n:[]))}return n}},{key:"setupTargets",value:function(){var t=this.element;return this.settings.reduce(function(n,i){return i&&i.target?[].concat(E(n),E(i.target.split(",").reduce(function(n,a){return[].concat(E(n),E(e.getTargetElementsFromString({target:a,trigger:t}).map(function(e){return _(_({},i),{},{element:e})})))},[]))):n},[])}},{key:"removeNonExistentTargets",value:function(){this.targets=this.targets.filter(function(e){return document.contains(e.element)})}},{key:"addNewTargets",value:function(){var e=this,t=this.setupTargets().filter(function(t){return!e.targets.find(function(e){return e.element===t.element&&e.action===t.action})});this.targets=[].concat(E(this.targets),E(t))}}],[{key:"getTargetElementsFromString",value:function(e){var t=e.target,n=e.trigger,i=t.trim();return"self"===i?[n]:"parent"===i?[n.parentNode]:"previous"===i?[n.previousElementSibling]:"next"===i?[n.nextElementSibling]:"string"==typeof i?Array.from(document.querySelectorAll(i)):[]}},{key:"getInstance",value:function(e){return e&&e.ODS_Toggle?e.ODS_Toggle:null}}])}();function us(e){var t=e.element,n=e.attribute,i=e.action,a=e.value,r=e.dispatchEvent,s=void 0===r||r,o=e.eventDetail,l=null;if(!(t&&t instanceof Element))return l;if("focus"===i&&setTimeout(function(){return t.focus()},20),"click"===i&&t.click(),"class"===n&&"string"==typeof a&&(t.classList.toggle(a),l=a),"text"===n){var c=t.textContent;t.textContent=(null==a?void 0:a.toString())||"",l=c}return"class"!==n&&"text"!==n&&void 0===i&&(l=t.getAttribute(n),"hidden"===n?t.hasAttribute(n)?t.removeAttribute(n):t.setAttribute(n,""):a?t.setAttribute(n,String(a)):t.setAttribute(n,String(!("true"===l)))),s&&t.dispatchEvent(new CustomEvent("toggle",{detail:o,bubbles:!0})),l}var hs={expandButtonSelector:"[data-subrow-toggle]",scrollableContainerSelector:".table-scrollable",responsiveTableSelector:'[data-table="responsive"]'},ps=function(){return g(function e(t,n){var i=this;return f(this,e),this.element=t,this.config=_(_({},hs),n),this.addRole=this.addRole.bind(this),this.addARIA=this.addARIA.bind(this),this.onExpandClick=this.onExpandClick.bind(this),this.expandButtons=[],this.scrollableContainer=null,this.element.ODS_Table=this,this.resizeObserver=new ResizeObserver(function(e){if(i.scrollableContainer){var t=i.scrollableContainer.getBoundingClientRect();e.forEach(function(e){var n,a;e.contentRect.width>t.width?null===(n=i.scrollableContainer)||void 0===n||n.setAttribute("tabindex","0"):null===(a=i.scrollableContainer)||void 0===a||a.removeAttribute("tabindex")})}}),this.init(),this},[{key:"addRole",value:function(e,t){Array.from(this.element.querySelectorAll(e)).forEach(function(e){e.setAttribute("role",t)})}},{key:"addARIA",value:function(){try{this.element.setAttribute("role","table"),this.addRole("thead, tbody, tfoot","rowgroup"),this.addRole("tr","row"),this.addRole("td","cell"),this.addRole("th","columnheader"),this.addRole("th[scope=row]","rowheader")}catch(e){}}},{key:"onExpandClick",value:function(e){var t,n=e.currentTarget,i=null!==(t=n.getAttribute("aria-controls"))&&void 0!==t?t:"",a=this.element.querySelectorAll(i.split(" ").map(function(e){return"#".concat(e)}).join(","));us({element:n,attribute:"aria-expanded"}),a.forEach(function(e){us({element:e,attribute:"hidden"})})}},{key:"init",value:function(){var e=this;this.expandButtons=Array.from(this.element.querySelectorAll(this.config.expandButtonSelector)),this.expandButtons.forEach(function(t){t.addEventListener("click",e.onExpandClick)}),this.element.matches(this.config.responsiveTableSelector)&&this.addARIA(),this.maybeInitScrollable()}},{key:"maybeInitScrollable",value:function(){if(this.scrollableContainer=this.element.closest(this.config.scrollableContainerSelector),this.scrollableContainer)return this.resizeObserver.observe(this.element),!0}},{key:"destroy",value:function(){var e=this;this.expandButtons.forEach(function(t){t.removeEventListener("click",e.onExpandClick)}),this.resizeObserver.disconnect(),this.expandButtons=[]}},{key:"update",value:function(){this.destroy(),this.init()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Table?e.ODS_Table:null}}])}(),ms=["className","caption","headers","rows","footers","isCompact","isResponsive","isStriped","isScrollable","expandableRowsCaptions"],fs="table",vs=function(e){var t=e.className,n=e.caption,i=e.headers,a=e.rows,r=e.footers,s=e.isCompact,o=e.isResponsive,l=e.isStriped,c=e.isScrollable,u=e.expandableRowsCaptions,h=void 0===u?{header:"Rozšíriteľný",emptyRow:"Nerozšíriteľný riadok"}:u,p=x(e,ms),m=N(U(ps),1)[0],f=d(),v=V(fs,b(b(b({},"".concat(fs,"--striped"),l),"".concat(fs,"--compact"),s),"".concat(fs,"--responsive"),o),t),g="".concat(f,"-caption"),y={hasExpandableRows:a.some(function(e){return e&&e.expand&&e.expand.length>0}),expandableRowsCaptions:h},w={headers:i,footers:r,rows:a.map(function(e,t){return e&&e.expand?_(_({},e),{},{expand:e.expand.map(function(e,n){return _(_({},e),{},{id:"".concat(f,"-row-").concat(t,"-").concat(n)})})}):e}),expandableRows:y,isResponsive:o};return F.jsx(ns.Provider,{value:w,children:F.jsx(fe,{condition:c||!1,wrapper:F.jsx("div",_({className:"".concat(fs,"-scrollable"),role:"group"},n&&{"aria-labelledby":g})),children:F.jsxs("table",_(_(_({ref:m,className:v},o&&{"data-table":"responsive"}),p),{},{children:[n&&F.jsx("caption",_(_({},c&&{id:g}),{},{children:n})),F.jsx(rs,{}),F.jsx(os,{}),F.jsx(as,{})]}))})})};vs.displayName="Table";var gs=["dialog","id","placement","tag","className","renderTrigger","children"],bs=function(e){var t=e.dialog,n=e.id,i=e.placement,a=e.tag,r=void 0===a?"span":a,s=e.className,o=e.renderTrigger,l=e.children,c=x(e,gs),d=G(n),u=V("tooltip",s),h=r,p=N(U(ma,{removeDialogOnDestroy:!0}),1)[0],m={"data-tooltip-trigger":!0,"aria-describedby":d,"aria-owns":d,children:l};return F.jsxs(F.Fragment,{children:[o?o(m):F.jsx("button",_(_({type:"button"},m),{},{children:l})),F.jsxs(h,_(_({id:d,className:u,role:"tooltip",hidden:!0,ref:p,"data-tooltip":!0,"data-tooltip-placement":i},c),{},{children:[F.jsx(h,{className:"tooltip__arrow"}),F.jsx(h,{className:"tooltip__dialog",children:t})]}))]})};bs.displayName="Tooltip";var ys=["children","className"],_s="info-tooltip",xs=function(e){var t=e.children,n=e.className,i=x(e,ys);return F.jsxs(bs,_(_({dialog:t,renderTrigger:function(e){return F.jsx("button",_({type:"button",className:_s},e))}},i),{},{children:[F.jsx(oe,{name:"assistance",className:V("".concat(_s,"__icon"),n)}),F.jsx("span",{className:"sr-only",children:"Info"})]}))};xs.displayName="InfoTooltip";var ws=function(e){var t=e.name,n=e.tooltip;return void 0===t?null:F.jsxs(F.Fragment,{children:[F.jsx("span",{className:"bold",children:t}),n&&F.jsxs(F.Fragment,{children:[" ",F.jsx(xs,{className:"icon--small",children:n})]})]})};ws.displayName="FooterNameColumn";var Ss=function(e){var t=e.price,n=e.discount,i=void 0===n?0:n,a=e.label,r=e.size;return void 0===t?null:F.jsxs(F.Fragment,{children:[i>0&&F.jsx("del",{className:"text-secondary",children:tt(t)}),F.jsxs("div",{children:[F.jsx("div",{className:V("text-accent mb-none",{h4:"large"!==r,h2:"large"===r}),children:tt(t-i)}),F.jsx("span",{className:V("text-accent mb-none",{h6:"large"!==r,h3:"large"===r}),children:a})]})]})};function Ns(e,t,n){return e.reduce(function(e,i){var a,r,s,o,l,c=null!==(a=null==i?void 0:i.monthsFree)&&void 0!==a?a:0,d=(null!==(r=null==i||null===(s=i.discount)||void 0===s?void 0:s.monthsCount)&&void 0!==r?r:0)+c||n;if(c&&t<=c)e+=null!==(o=null==i||null===(l=i.price)||void 0===l?void 0:l.monthly)&&void 0!==o?o:0;else if(d>0&&t<=d){var u,h;e+=null!==(u=null==i||null===(h=i.discount)||void 0===h?void 0:h.monthly)&&void 0!==u?u:0}return e},0)}function Es(e,t){return e.reduce(function(e,n){var i,a,r,s;return(e+=null!==(i=null==n||null===(a=n.price)||void 0===a?void 0:a[t])&&void 0!==i?i:0)-(null!==(r=null==n||null===(s=n.discount)||void 0===s?void 0:s[t])&&void 0!==r?r:0)},0)}Ss.displayName="FooterPriceColumn";var ks=function(e,t,n,i,a){if(e.find(function(e){var t;return(null==e?void 0:e.monthsFree)||(null==e||null===(t=e.discount)||void 0===t?void 0:t.monthsCount)})){var r=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:24,i=[],a=function(e){return e.reduce(function(e,t){var n,i;return e+(null!==(n=null==t||null===(i=t.price)||void 0===i?void 0:i.monthly)&&void 0!==n?n:0)},0)}(e),r=function(e){return e.reduce(function(e,t){var n,i,a,r;return(e+=null!==(n=null==t||null===(i=t.price)||void 0===i?void 0:i.upfront)&&void 0!==n?n:0)-(null!==(a=null==t||null===(r=t.discount)||void 0===r?void 0:r.upfront)&&void 0!==a?a:0)},0)}(e),s=1;s<n;s++){var o,l,c={upfront:r>0&&1===s?r:void 0,monthly:a},d={monthly:Ns(e,s,n)},u=i.length-1;0!==i.length&&(null===(o=i[u].price)||void 0===o?void 0:o.upfront)===(null==c?void 0:c.upfront)&&(null===(l=i[u].discount)||void 0===l?void 0:l.monthly)===(null==d?void 0:d.monthly)||(i[u]&&(i[u].end=s-1),i=[].concat(E(i),[{start:s,end:n,price:c,discount:d}]))}return t&&(i.shift(),i[0]&&(i[0].start=1)),function(e){return e.map(function(t){var n=t.start,i=t.end,a=t.price,r=t.discount,s="";return e.length>1&&(s=n!==i?"".concat(n,". – ").concat(i,". mesiac"):"".concat(n,". mesiac")),{name:s,price:a,discount:r}})}(i)}(e,null==n?void 0:n.hideFirst);return r.map(function(e){var r=e.name,s=e.price,o=e.discount;return{col1:F.jsx(ws,{name:r,tooltip:null==n?void 0:n.tooltip}),col2:s&&void 0!==s.upfront&&s.upfront>0&&"upfront"!==t&&F.jsx(Ss,{price:s.upfront,discount:o&&o.upfront,label:i.upfront,size:a}),col3:F.jsx(Ss,{price:s.monthly,discount:o&&o.monthly,label:i.monthly,size:a})}})}return[{col1:(null==n?void 0:n.name)&&F.jsx(ws,{name:n.name,tooltip:n.tooltip}),col2:"upfront"!==t&&F.jsx(Ss,{price:Es(e,"upfront"),label:i.upfront,size:a}),col3:F.jsx(Ss,{price:Es(e,"monthly"),label:i.monthly,size:a})}]},Cs=["color","size","isDisabled","className","children","actionButton"],Ts=["onClick"],As=["href"],js="tag",Os=e.forwardRef(function(t,n){var i=t.color,a=t.size,r=t.isDisabled,s=t.className,o=t.children,l=t.actionButton,c=x(t,Cs),d=V(js,s,b(b({},"tag--".concat(i),i),"tag--".concat(a),a));if("onClick"in t&&t.onClick){var u=c.onClick,h=x(c,Ts);return F.jsx("button",_(_({type:"button",className:d,onClick:u,disabled:!!r||void 0,"aria-disabled":r?"true":void 0,ref:n},h),{},{children:o}))}if("href"in t&&t.href){var p=c.href,m=x(c,As);return F.jsx("a",_(_({className:d,href:p,"aria-disabled":r?"true":void 0,ref:n},m),{},{children:o}))}if("actionButton"in t&&l){var f=c;return F.jsxs("div",{ref:n,className:"".concat(js,"__wrapper"),children:[F.jsx("span",_(_({className:d,"aria-disabled":r?"true":void 0},f),{},{children:o})),e.isValidElement(l)?e.cloneElement(l,{size:a,isDisabled:r}):l]})}var v=c;return F.jsxs("span",_(_({className:d,ref:n},v),{},{children:[o," ",l]}))});Os.displayName="Tag";var Ls=["className","onClick","isDisabled","iconName","ariaLabel","size"],Ds="".concat(js,"__action"),Ms=e.forwardRef(function(e,t){var n=e.className,i=e.onClick,a=e.isDisabled,r=e.iconName,s=e.ariaLabel,o=e.size,l=x(e,Ls),c=V(Ds,b({},"".concat(Ds,"--").concat(o),o),n);return F.jsx("button",_(_({type:"button",className:c,onClick:i,disabled:!!a||void 0,"aria-disabled":a?"true":void 0,"aria-label":s,ref:t},l),{},{children:F.jsx(oe,{size:"large"===o?"medium":"small",name:r})}))});Ms.displayName="TagButton";var Ps=function(e){var t=e.price,n=e.discount,i=e.freeLabel,a=e.label,r=e.discountMonthsCount,s=!t&&!!n;return void 0!==t||void 0!==n?F.jsxs(F.Fragment,{children:[n&&t&&F.jsxs(F.Fragment,{children:[F.jsx("del",{className:"text-secondary",children:tt(t)}),F.jsx("br",{})]}),F.jsxs(Oe,{className:"bold justify-content-end mb-none",children:[F.jsx(Ie,{className:"hide-sm",children:r&&s?"1. – ".concat(r,". mesiac"):a}),F.jsx(Ie,{children:s?tt(-n):t-(null!=n?n:0)===0?i:tt(t-(null!=n?n:0))})]})]}):null},Is="cart-table",Rs={monthly:"mesačne",upfront:"vopred",product:"produkt",remove:"odstrániť",add:"Pridať",free:"zadarmo"},zs=function(e){var t=e.items,n=void 0===t?[]:t,i=e.hideEmpty,a=void 0===i||i,r=e.isEditable,s=void 0!==r&&r,o=e.footer,l=e.labels,c=void 0===l?Rs:l,d=e.size,u=a?[" hide"," hide"]:["",""];return a&&n.forEach(function(e){var t=e.price,n=void 0===t?{}:t,i=e.discount,a=void 0===i?{}:i;void 0===n.upfront&&void 0===a.upfront||(u[0]=""),void 0===n.monthly&&void 0===a.monthly||(u[1]="")}),F.jsx(vs,{className:V(Is,b({},"".concat(Is,"--large"),d)),headers:[{key:"col1",cellProps:{className:"cart-table__product"},label:Qe(c.product)},{cellProps:{className:"align-right ".concat(Is,"__price").concat(u[0])},key:"col2",label:Qe(c.upfront)},{cellProps:{className:"align-right ".concat(Is,"__price").concat(u[1])},key:"col3",label:Qe(c.monthly)}].concat(E(s?[{cellProps:{className:"align-right"},key:"col4",label:""}]:[])),rows:n.map(function(e){return _({},function(e,t,n){var i=e.isSubitem,a=e.image,r=e.badge,s=e.name,o=e.tooltip,l=e.price,c=e.discount,d=e.description,u=e.icon,h=e.isMandatory,p=e.isOptional;return _(_({col1:F.jsxs(F.Fragment,{children:[F.jsxs(Oe,{canWrap:!1,className:V("mb-none ",{"cart-table__subitem":i}),children:[i&&F.jsx(Ie,{children:F.jsx(oe,{name:"add",size:"medium"})}),u&&F.jsx(Ie,{children:F.jsx(oe,{name:u,size:"medium"})}),a&&F.jsx(Ie,{children:F.jsx(Cr,{src:a,alt:"",width:"24"})}),F.jsxs(Ie,{isFilling:!0,children:[r&&F.jsx(Os,{color:"warning",children:r}),F.jsx(Oe,{space:"small",children:F.jsxs(Ie,{canShrink:!0,className:V("bold",{"text-nowrap":o}),children:[F.jsx(fe,{condition:!!o,wrapper:F.jsx("span",{className:"text-wrap",children:s}),children:s}),o&&" ",o&&F.jsx(xs,{className:"icon--small",placement:"right",children:o})]})}),d&&F.jsx("div",{children:"string"==typeof d?d:d.map(function(e){return F.jsx("p",{className:"mb-0",children:e},e)})})]}),!t||h||p?null:F.jsx(Ie,{className:"hide-sm",children:F.jsx(xt,{iconName:"trash",isSquare:!0,size:"small","aria-label":n.remove})}),p&&F.jsx(Ie,{className:"hide-sm",children:F.jsx(xt,{iconName:"add",isSquare:!0,size:"small","aria-label":n.add})})]}),!(null!=l&&l.monthly)&&(null==c?void 0:c.monthsCount)&&F.jsx("div",{children:F.jsx("p",{className:V("mb-none show-sm cart-table__discount--margin-top",{"cart-table__subitem":i,"cart-table__discount--padding-left":a||u||i}),children:"1. – ".concat(c.monthsCount,". mesiac")})})]}),col2:F.jsx(Ps,{discount:null==c?void 0:c.upfront,freeLabel:n.free,label:n.upfront,price:null==l?void 0:l.upfront}),col3:F.jsx(Ps,{discount:null==c?void 0:c.monthly,discountMonthsCount:null==c?void 0:c.monthsCount,freeLabel:n.free,label:n.monthly,price:null==l?void 0:l.monthly})},t&&!h&&!p&&{col4:F.jsx(xt,{iconName:"trash",size:"small",className:"cart-table__button mb-none",children:F.jsx("span",{className:"show-md",children:n.remove})})}),p&&{col4:F.jsx(xt,{iconName:"add",size:"small",className:"cart-table__button mb-none",children:F.jsx("span",{className:"show-md",children:n.add})})})}(e,s,c))}),footers:ks(n,"true",null!=o?o:{},c,"large"===d?"large":void 0)})};zs.displayName="CartTable";var Fs=["className","children","contentClass","bgPosition","bgSrc","size"],Bs="cover",Hs=function(e){var t=e.className,n=e.children,i=e.contentClass,a=e.bgPosition,r=void 0===a?"center":a,s=e.bgSrc,o=e.size,l=x(e,Fs),c=V(Bs,b({},"".concat(Bs,"--").concat(o),o),t),d=V("".concat(Bs,"__content"),i),u=V("".concat(Bs,"__image"),b({},"".concat(Bs,"__image--").concat(r),"center"!==r));return F.jsxs("div",{className:c,children:[n&&F.jsx("div",{className:d,children:n}),F.jsx(Cr,_({src:s,className:u,alt:""},l))]})};Hs.displayName="Cover";var Vs=["className","icon","content"],Ws="divider",qs=function(e){var t=e.className,n=e.icon,i=e.content,a=x(e,Vs),r=V(Ws,t),s="".concat(Ws,"__line"),o="".concat(Ws,"__content");return F.jsxs("div",_(_({className:r},a),{},{children:[F.jsx("div",{className:s}),(i||n)&&F.jsxs(F.Fragment,{children:[F.jsx("div",{className:o,children:null!=i?i:n&&F.jsx(oe,{name:n,size:"medium"})}),F.jsx("div",{className:s})]})]}))};qs.displayName="Divider";var Us={dataInteractive:"data-dropdown-interactive",focusTrap:"data-dropdown-focus-trap",removeDialogOnDestroy:!1,popperOptions:{placement:"bottom-start",strategy:"absolute",modifiers:[{name:"eventListeners",options:{scroll:!1,resize:!1}},{name:"flip",options:{fallbackPlacements:["bottom-end","bottom-start","bottom"]}},{name:"offset",options:{offset:[0,-1]}}]}},$s=function(){return g(function e(t){var n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return f(this,e),t.ODS_Dropdown?t.ODS_Dropdown:(this.element=t,this.config=_(_({},Us),i),this.config.popperOptions=_(_({},Us.popperOptions),(null==i?void 0:i.popperOptions)||{}),this.config.popperOptions.modifiers=[].concat(E(Us.popperOptions.modifiers||[]),E((null==i||null===(n=i.popperOptions)||void 0===n?void 0:n.modifiers)||[])),this.handleVisibility=this.handleVisibility.bind(this),this.handleKeyPress=this.handleKeyPress.bind(this),this.handleClick=this.handleClick.bind(this),this.element.ODS_Dropdown=this,this.focusableElements=this.element.querySelectorAll('a[href]:not([disabled]), button:not([disabled]),\n textarea:not([disabled]), input[type="text"]:not([disabled]),\n input[type="radio"]:not([disabled]), input[type="checkbox"]:not([disabled]),\n select:not([disabled])'),this.init(),this)},[{key:"init",value:function(){this.trigger=document.getElementById(this.element.id.replace("dropdown","btn"));var e=this.element.getAttribute("data-dropdown-placement");e&&(this.config.popperOptions.placement=e),this.instance=ha(this.trigger,this.element,this.config.popperOptions),this.transitioner=Kn({element:this.element,visibleClass:"dropdown--visible"}),this.trigger.addEventListener("click",this.handleVisibility,!0)}},{key:"handleVisibility",value:function(){this.element.classList.contains("dropdown--visible")?this.hide():this.show()}},{key:"handleClick",value:function(e){this.trigger===e.target||this.trigger.contains(e.target)||this.element.hasAttribute(this.config.dataInteractive)&&!e.target.id.includes(this.element.id.replace("dropdown","btn"))&&this.element.contains(e.target)||this.handleVisibility()}},{key:"handleKeyPress",value:function(e){if(Y.ESC.includes(e.key)&&(this.handleVisibility(),this.element.contains(document.activeElement)&&this.trigger.focus(),this.hide()),this.element.hasAttribute(this.config.focusTrap)){var t=this.focusableElements[0],n=this.focusableElements[this.focusableElements.length-1];document.activeElement!==this.button||"Tab"!==e.key&&9!==e.keyCode?"Tab"!==e.key&&9!==e.keyCode||(e.shiftKey?document.activeElement===t&&(n.focus(),e.preventDefault()):document.activeElement===n&&(t.focus(),e.preventDefault())):e.shiftKey&&(this.focusableElements[this.focusableElements.length-1].focus(),e.preventDefault())}}},{key:"show",value:function(){var e=this;this.transitioner.show(),this.instance.forceUpdate(),document.addEventListener("keydown",this.handleKeyPress),document.addEventListener("click",this.handleClick),window.onresize=function(){return e.update()}}},{key:"hide",value:function(){this.transitioner.hide(),document.removeEventListener("keydown",this.handleKeyPress),document.removeEventListener("click",this.handleClick),window.onresize=null}},{key:"update",value:function(){this.instance.forceUpdate()}},{key:"destroy",value:function(){this.trigger.removeEventListener("click",this.handleVisibility,!0),this.hide(),this.instance.destroy(),this.element.ODS_Dropdown=null,window.onresize=null,this.config.removeDialogOnDestroy&&this.element.remove()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Dropdown?e.ODS_Dropdown:null}}])}(),Gs=["children"],Ys=function(e){var i=e.children,a=x(e,Gs),r=t(null),s="string"==typeof a.iconName;return n(function(){if(r.current){var e=new ds(r.current);return function(){e.destroy()}}},[]),s?F.jsx(xt,_(_({ref:r},a),{},{children:i})):F.jsx(ot,_(_({ref:r},a),{},{children:i}))},Xs=["className","id"],Ks=function(e){var t=e.className,n=e.id,i=x(e,Xs);return F.jsx(Ys,_(_({"aria-expanded":!1,id:"btn-".concat(n),"data-toggle":JSON.stringify([{target:"self",attribute:"aria-expanded"}])},i),{},{className:V("".concat(Js,"__button mb-none"),t)}))};Ks.displayName="DropdownToggleButton";var Zs=["button","className","hasFocusTrap","hasSpacing","children","id","isInteractive","placement"],Js="dropdown",Qs={left:"bottom-start",center:"bottom",right:"bottom-end"},eo=function(e){var t=e.button,n=e.className,i=e.hasFocusTrap,a=void 0!==i&&i,r=e.hasSpacing,s=void 0===r||r,o=e.children,l=e.id,c=e.isInteractive,d=void 0!==c&&c,u=e.placement,h=void 0===u?"left":u,p=x(e,Zs),m=N(U($s),1)[0],f=V("dropdown",b({},"".concat(Js,"-spacing"),s),n);return F.jsxs(F.Fragment,{children:[t&&F.jsx(Ks,_(_({},t),{},{id:l,className:t.className||""})),F.jsxs("div",_(_({ref:m,id:"dropdown-".concat(l),className:f,"data-dropdown":"","data-dropdown-placement":Qs[h],"data-dropdown-interactive":d,"data-dropdown-focus-trap":a},p),{},{children:[a&&F.jsx(Oe,{className:"mb-small justify-content-end",children:F.jsx(Ie,{children:F.jsx(xt,{iconName:"delete",isSquare:!0,size:"small",className:"".concat(Js,"__close"),"aria-label":"Zatvoriť",id:"close-btn-".concat(l),"data-toggle":JSON.stringify([{target:"#btn-".concat(l),action:"click"}])})})}),o]}))]})};eo.displayName="Dropdown";var to=["className"],no=function(e){var t=e.className,n=x(e,to),i=V("dropdown__divider",t);return F.jsx("div",_({className:i},n))};no.displayName="DropdownDivider";var io=["className","children","disabled","href"],ao=function(e){var t=e.className,n=e.children,i=e.disabled,a=e.href,r=x(e,io),s=V("dropdown__item",{disabled:i},t);return F.jsx("a",_(_({tabIndex:i?-1:0,href:a,className:s,"aria-disabled":i},r),{},{children:n}))};ao.displayName="DropdownItem";var ro=function(){return g(function e(t){f(this,e),this.element=t,this.toggle=this.toggle.bind(this),this.element.ODS_Expander=this,this.init()},[{key:"toggle",value:function(){var e=this.element.getAttribute("data-toggle-group");e&&this.syncGroup(e)}},{key:"syncGroup",value:function(e){var t=this,n=this.element.open;document.querySelectorAll('[data-toggle-group="'.concat(e,'"][data-expander]')).forEach(function(e){e!==t.element&&e.open!==n&&(e.open=n)})}},{key:"init",value:function(){this.element.addEventListener("toggle",this.toggle)}},{key:"update",value:function(){this.destroy(),this.init()}},{key:"destroy",value:function(){this.element.removeEventListener("toggle",this.toggle)}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Expander?e.ODS_Expander:null}}])}(),so=["className","children","summary","summaryOpened","renderSummary","renderSummaryOpened","isFullWidth","placement","toggleGroup"],oo="expander",lo=function(e){var t=e.className,n=e.children,i=e.summary,a=e.summaryOpened,r=e.renderSummary,s=e.renderSummaryOpened,o=e.isFullWidth,l=e.placement,c=void 0===l?"bottom":l,d=e.toggleGroup,h=x(e,so),p=N(U(ro),1)[0],m=V(oo,b(b({},"".concat(oo,"--fullwidth"),o),"".concat(oo,"--placement-top"),"top"===c),t),f=u(function(){return r?r(e):i&&F.jsxs(F.Fragment,{children:[i," ",F.jsx(oe,{alt:"stav",name:"chevron-down","data-summary-icon":!0})]})},[r,e,i]),v=u(function(){return s?s(e):a&&F.jsxs(F.Fragment,{children:[a," ",F.jsx(oe,{alt:"stav",name:"chevron-down","data-summary-icon":!0})]})},[s,e,a]);return F.jsxs("details",_(_(_({className:m,"data-expander":!0},d?{"data-toggle-group":d}:{}),{},{ref:p},h),{},{children:[F.jsxs("summary",{"data-summary":i,"data-summary-opened":a,children:[F.jsx("span",{className:"".concat(oo,"__summary"),children:f}),v&&F.jsx("span",{className:"".concat(oo,"__summary--opened"),children:v})]}),F.jsx("div",{children:n})]}))};lo.displayName="Expander";var co={bodiesSelector:".accordion__body",buttonSelector:"[data-feature-accordion-toggle]",imageSelector:"[data-feature-accordion-image]"},uo=function(){return g(function e(t,n){var i=this;return f(this,e),this.bodies=[],this.buttons=[],this.images=[],this.activeId=null,this.onClick=function(e){var t=e.currentTarget,n=i.buttons.indexOf(t);i.setActive(n)},this.element=t,this.config=_(_({},co),n),this.element.ODS_FeatureAccordion=this,this.init(),this},[{key:"init",value:function(){var e=this;this.bodies=Array.from(this.element.querySelectorAll(this.config.bodiesSelector)),this.buttons=Array.from(this.element.querySelectorAll(this.config.buttonSelector)),this.generateImagesFromDataAttributes(),this.setActive(0),this.buttons.forEach(function(t){t.addEventListener("click",e.onClick)})}},{key:"generateImagesFromDataAttributes",value:function(){var e=this,t=this.element.querySelector(".feature-accordion__preview.show-md");if(t){var n=t.querySelectorAll(this.config.imageSelector);n.length>0?this.images=Array.from(n):(this.images=[],this.buttons.forEach(function(n){var i=n.getAttribute("data-image-url"),a=n.getAttribute("data-image-alt")||"",r=n.getAttribute("data-image-srcset");if(i){var s=document.createElement("img");s.setAttribute("data-feature-accordion-image",""),s.src=i,s.alt=a,r&&(s.srcset=r),t.appendChild(s),e.images.push(s);var o=n.getAttribute("aria-controls");if(o){var l=document.getElementById(o);if(l){var c=l.querySelector(".feature-accordion__preview.hide-md");c||((c=document.createElement("div")).className="feature-accordion__preview hide-md",l.appendChild(c));var d=document.createElement("img");d.setAttribute("data-feature-accordion-image",""),d.src=i,d.alt=a,d.className="feature-accordion__image--mobile",r&&(d.srcset=r),c.appendChild(d)}}}}))}}},{key:"setActive",value:function(e){if(!(e<0||e>=this.buttons.length)){this.activeId=this.buttons[e].getAttribute("id"),this.bodies.forEach(function(e){e.setAttribute("hidden",""),e.classList.remove("is-active")}),this.buttons.forEach(function(e){var t=e.closest(".feature-accordion__item");null==t||t.classList.remove("is-active"),us({element:e,attribute:"aria-expanded",value:"false"})});var t=this.buttons[e],n=t.getAttribute("aria-controls"),i=n?document.getElementById(n):null,a=t.closest(".feature-accordion__item");i&&(i.removeAttribute("hidden"),i.classList.add("is-active")),a&&a.classList.add("is-active"),us({element:t,attribute:"aria-expanded",value:"true"}),this.images.forEach(function(t,n){t.classList.toggle("hide",n!==e)})}}},{key:"destroy",value:function(){var e=this;this.buttons.forEach(function(t){t.removeEventListener("click",e.onClick)})}},{key:"update",value:function(){this.destroy(),this.init()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_FeatureAccordion?e.ODS_FeatureAccordion:null}}])}(),ho=["className","children"],po="feature-accordion",mo=function(t){var n=t.className,i=t.children,a=x(t,ho),r=N(U(uo),1)[0],s=V(po,n),o=u(function(){return e.Children.toArray(i)},[i]),l=u(function(){return o.map(function(e){return{child:e,id:e.props.id,imageSrc:e.props["data-image"]||e.props.image||e.props["data-image-url"]||e.props.imageUrl,imageAlt:e.props["data-image-alt"]||e.props.imageAlt,imageSrcSet:e.props["data-image-srcset"]||e.props.imageSrcSet,imageUrl:e.props["data-image-url"]||e.props.imageUrl}})},[o]);return F.jsxs(at,_(_({className:s,"data-feature-accordion":!0,ref:r},a),{},{children:[F.jsx(dt,{size:{xs:12,md:6},className:"".concat(po,"__accordion"),children:F.jsx(te,{children:l.map(function(t){var n=t.child,i=t.id,a=t.imageSrc,r=t.imageAlt,s=t.imageSrcSet;return t.imageUrl,a?e.cloneElement(n,{children:F.jsxs(F.Fragment,{children:[F.jsx("div",{className:"".concat(po,"__content"),children:n.props.children}),F.jsx("div",{className:V("".concat(po,"__preview"),"hide-md"),children:F.jsx(Cr,{"data-feature-accordion-image":!0,src:a,alt:r,srcSet:s,className:"".concat(po,"__image--mobile")},i)})]})}):null})})}),F.jsx(dt,{size:{xs:12,md:6},className:V("".concat(po,"__preview"),"show-md"),children:l.map(function(e,t){var n=e.id,i=e.imageSrc,a=e.imageAlt,r=e.imageSrcSet;return e.imageUrl,i?F.jsx(Cr,{"data-feature-accordion-image":!0,src:i,alt:a,srcSet:r,className:V({hide:0!==t})},n):null})})]}))},fo=["image","imageUrl","imageAlt","imageSrcSet","className"],vo=function(e){var t=e.image,n=e.imageUrl,i=e.imageAlt,a=e.imageSrcSet,r=e.className,s=x(e,fo),o=s["data-image-url"]||n,l=s["data-image-alt"]||i,c=s["data-image"]||t,d=s["data-image-srcset"]||a;return F.jsx(me,_({className:V("feature-accordion__item",r),"data-image-url":o,"data-image-alt":l,"data-image":c,"data-image-srcset":d,toggleAttribute:"data-feature-accordion-toggle"},s))};vo.displayName="FeatureAccordionItem";var go=["id","isDisabled","isInvalid","name","options","size","className","children","elemRef","width"],bo=["value","text"],yo="select",_o={size:"default",width:"default",options:[]},xo=function(e){var t=e.id,n=e.isDisabled,i=e.isInvalid,a=e.name,r=e.options,s=void 0===r?_o.options:r,o=e.size,l=void 0===o?_o.size:o,c=e.className,d=e.children,u=e.elemRef,h=e.width,p=void 0===h?_o.width:h,m=x(e,go),f=V(yo,c,b(b({"is-invalid":i},"".concat(yo,"--").concat(l),l!==_o.size),"".concat(yo,"--").concat(p),p!==_o.width)),v=t||q(),g=a||v;return F.jsxs("select",_(_({id:v,name:g,className:f,disabled:n,ref:u},m),{},{children:[s.map(function(e){var t="string"==typeof e?{value:e,text:e}:e,n=t.value,i=t.text,a=x(t,bo);return F.jsx("option",_(_({value:n},a),{},{children:i}),i)}),d]}))};xo.displayName="Select";var wo={autoselect:!0,wrapperClassName:"",menuClassName:"",optionClassName:"",customInputClassName:"",displayMenu:"overlay",tClearButton:function(){return"Vymazať text"},tAssistiveHint:function(){return"Pre prezeranie výsledkov automatického dopĺňania použite šípky nahor a nadol a pre výber konkrétneho výsledku použite tlačidlo Enter. Pri dotykových zariadeniach použite dotyk alebo potiahnutie prstom do strany."}},So=function(e,t){var n=e.split(/\s+/).filter(Boolean);return n.includes(t)?e:[].concat(E(n),[t]).join(" ")},No=function(){return g(function e(t,n){return f(this,e),this.element=t,this.config=_(_({},wo),n),this.onPageshow=this.onPageshow.bind(this),this.onClearButtonClick=this.onClearButtonClick.bind(this),this.instance=null,this.teardownClearButton=null,this.element.ODS_Autocomplete=this,this.init().catch(function(){}),this},[{key:"init",value:(e=function(e){return function(){var t=this,n=arguments;return new Promise(function(i,a){var r=e.apply(t,n);function s(e){m(r,i,a,s,o,"next",e)}function o(e){m(r,i,a,s,o,"throw",e)}s(void 0)})}}(w().m(function e(){var t,n,i,a,r,s,o,l,c;return w().w(function(e){for(;;)switch(e.n){case 0:if(t=this.element.getAttribute("data-autocomplete-config"),n={},t)try{n=JSON.parse(t)}catch(e){}return this.config=_(_({},this.config),n),i=this.config.customInputClassName||"",a=i.split(/\s+/).filter(Boolean),r=this.config.wrapperClassName.split(/\s+/).filter(Boolean),s=a.includes("input--search-icon")||r.includes("autocomplete__wrapper--search-icon"),o=a.includes("input--search-icon-with-placeholder")||r.includes("autocomplete__wrapper--search-icon-with-placeholder"),l=this.element.classList.contains("is-invalid"),this.config.customInputClassName=a.filter(function(e){return"input--search-icon"!==e&&"input--search-icon-with-placeholder"!==e}).join(" "),l&&(this.config.customInputClassName=So(this.config.customInputClassName,"is-invalid")),s&&(this.config.wrapperClassName=So(this.config.wrapperClassName,"autocomplete__wrapper--search-icon")),o&&(this.config.wrapperClassName=So(this.config.wrapperClassName,"autocomplete__wrapper--search-icon-with-placeholder")),e.n=1,Promise.resolve().then(function(){return Jv});case 1:c=e.v.default,"SELECT"===this.element.tagName?c.enhanceSelectElement(_({selectElement:this.element},this.config)):c(_({element:this.element},this.config)),this.initEnhancedControls(o),window.addEventListener("pageshow",this.onPageshow);case 2:return e.a(2)}},e,this)})),function(){return e.apply(this,arguments)})},{key:"getWrapper",value:function(){if("SELECT"===this.element.tagName){var e=this.element.previousElementSibling;return e instanceof HTMLElement?e.classList.contains("autocomplete__wrapper")?e:e.querySelector(".autocomplete__wrapper"):null}return this.element.querySelector(".autocomplete__wrapper")}},{key:"getInput",value:function(){var e,t;return null!==(e=null===(t=this.getWrapper())||void 0===t?void 0:t.querySelector(".autocomplete__input"))&&void 0!==e?e:null}},{key:"initEnhancedControls",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;this.getInput()?(this.syncInputState(),e&&this.initClearButton()):n>0&&window.setTimeout(function(){return t.initEnhancedControls(e,n-1)},0)}},{key:"syncInputState",value:function(){var e=this.getInput();e&&(this.element.classList.contains("is-invalid")&&(e.classList.add("is-invalid"),e.setAttribute("aria-invalid","true")),this.element instanceof HTMLSelectElement&&this.element.disabled&&(e.disabled=!0))}},{key:"initClearButton",value:function(){var e,t=this;null===(e=this.teardownClearButton)||void 0===e||e.call(this);var n=this.getWrapper(),i=this.getInput();if(n&&i){var a=document.createElement("button");a.type="button",a.className="autocomplete__clear",a.setAttribute("aria-label",this.config.tClearButton());var r=function(){a.hidden=i.disabled||0===i.value.length},s=function(){window.setTimeout(r,0)};a.addEventListener("mousedown",this.preventDefault),a.addEventListener("keydown",this.stopPropagation),a.addEventListener("click",this.onClearButtonClick),i.addEventListener("input",r),i.addEventListener("change",r),n.addEventListener("click",s),n.addEventListener("keyup",s),r(),n.appendChild(a),this.teardownClearButton=function(){a.removeEventListener("mousedown",t.preventDefault),a.removeEventListener("keydown",t.stopPropagation),a.removeEventListener("click",t.onClearButtonClick),i.removeEventListener("input",r),i.removeEventListener("change",r),n.removeEventListener("click",s),n.removeEventListener("keyup",s),a.remove()}}}},{key:"preventDefault",value:function(e){e.preventDefault()}},{key:"stopPropagation",value:function(e){e.stopPropagation()}},{key:"onClearButtonClick",value:function(){var e,t,n=this.getInput();if(n){if(n.value="",n.dispatchEvent(new Event("input",{bubbles:!0})),n.dispatchEvent(new Event("change",{bubbles:!0})),this.element instanceof HTMLSelectElement){var i=Array.from(this.element.options).find(function(e){return""===e.value});i?i.selected=!0:this.element.selectedIndex=-1,this.element.dispatchEvent(new Event("change",{bubbles:!0}))}null===(e=(t=this.config).onConfirm)||void 0===e||e.call(t,""),n.focus()}}},{key:"onPageshow",value:function(e){e.persisted&&window&&window.location.reload()}},{key:"destroy",value:function(){var e;null===(e=this.teardownClearButton)||void 0===e||e.call(this),this.teardownClearButton=null,window.removeEventListener("pageshow",this.onPageshow),this.element.ODS_Autocomplete=null}},{key:"update",value:function(){this.destroy(),this.init().catch(function(){})}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Autocomplete?e.ODS_Autocomplete:null}}]);var e}(),Eo=["className","options","autocompleteConfig","placeholder"],ko=function(e){var t=e.className,n=e.options,i=void 0===n?[]:n,a=e.autocompleteConfig,r=e.placeholder,s=x(e,Eo),o=N(U(No,a),1)[0];return F.jsx(xo,_(_(_({className:V("autocomplete",t),"data-placeholder":r},i.length?{"data-autocomplete":!0}:{}),s),{},{elemRef:o,children:i&&i.map(function(e){return F.jsx("option",{label:"string"==typeof e&&0===e.length?" ":void 0,value:"string"==typeof e?e:e.value,children:"string"==typeof e?e:e.title},"string"==typeof e?e:e.value)})}))};ko.displayName="Autocomplete";var Co,To,Ao,jo,Oo,Lo,Do,Mo=Object.freeze({__proto__:null,Autocomplete:ko}),Po=["id","isChecked","isDisabled","isInvalid","isToggle","name","size","className"],Io="checkbox",Ro="default",zo=function(e){var t=e.id,n=e.isChecked,i=e.isDisabled,a=e.isInvalid,r=e.isToggle,s=e.name,o=e.size,l=void 0===o?Ro:o,c=e.className,d=x(e,Po),u=V(Io,c,b(b({},"".concat(Io,"--").concat(l),l!==Ro),"is-invalid",a)),h=s||t,p=function(){return F.jsxs(F.Fragment,{children:[F.jsx("input",_({className:u,type:"checkbox",id:t,name:h,defaultChecked:n,disabled:i},d)),F.jsx("div",{className:"".concat(Io,"-display")})]})};return r?F.jsx("div",{className:r?"checkbox--toggle":"",children:F.jsx(p,{})}):F.jsx(p,{})};zo.displayName="Checkbox";var Fo,Bo,Ho,Vo={},Wo=[],qo=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function Uo(e,t){for(var n in t)e[n]=t[n];return e}function $o(e){var t=e.parentNode;t&&t.removeChild(e)}function Go(e,t,n){var i,a,r,s={};for(r in t)"key"==r?i=t[r]:"ref"==r?a=t[r]:s[r]=t[r];if(arguments.length>2&&(s.children=arguments.length>3?Co.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(r in e.defaultProps)void 0===s[r]&&(s[r]=e.defaultProps[r]);return Yo(e,s,i,a,null)}function Yo(e,t,n,i,a){var r={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++Ao:a};return null==a&&null!=To.vnode&&To.vnode(r),r}function Xo(e){return e.children}function Ko(e,t){this.props=e,this.context=t}function Zo(e,t){if(null==t)return e.__?Zo(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?Zo(e):null}function Jo(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return Jo(e)}}function Qo(e){(!e.__d&&(e.__d=!0)&&jo.push(e)&&!el.__r++||Lo!==To.debounceRendering)&&((Lo=To.debounceRendering)||Oo)(el)}function el(){for(var e;el.__r=jo.length;)e=jo.sort(function(e,t){return e.__v.__b-t.__v.__b}),jo=[],e.some(function(e){var t,n,i,a,r,s;e.__d&&(r=(a=(t=e).__v).__e,(s=t.__P)&&(n=[],(i=Uo({},a)).__v=a.__v+1,cl(s,a,i,t.__n,void 0!==s.ownerSVGElement,null!=a.__h?[r]:null,n,null==r?Zo(a):r,a.__h),dl(n,a),a.__e!=r&&Jo(a)))})}function tl(e,t,n,i,a,r,s,o,l,c){var d,u,h,p,m,f,v,g=i&&i.__k||Wo,b=g.length;for(n.__k=[],d=0;d<t.length;d++)if(null!=(p=n.__k[d]=null==(p=t[d])||"boolean"==typeof p?null:"string"==typeof p||"number"==typeof p||"bigint"==typeof p?Yo(null,p,null,null,p):Array.isArray(p)?Yo(Xo,{children:p},null,null,null):p.__b>0?Yo(p.type,p.props,p.key,null,p.__v):p)){if(p.__=n,p.__b=n.__b+1,null===(h=g[d])||h&&p.key==h.key&&p.type===h.type)g[d]=void 0;else for(u=0;u<b;u++){if((h=g[u])&&p.key==h.key&&p.type===h.type){g[u]=void 0;break}h=null}cl(e,p,h=h||Vo,a,r,s,o,l,c),m=p.__e,(u=p.ref)&&h.ref!=u&&(v||(v=[]),h.ref&&v.push(h.ref,null,p),v.push(u,p.__c||m,p)),null!=m?(null==f&&(f=m),"function"==typeof p.type&&p.__k===h.__k?p.__d=l=nl(p,l,e):l=al(e,p,h,g,m,l),"function"==typeof n.type&&(n.__d=l)):l&&h.__e==l&&l.parentNode!=e&&(l=Zo(h))}for(n.__e=f,d=b;d--;)null!=g[d]&&("function"==typeof n.type&&null!=g[d].__e&&g[d].__e==n.__d&&(n.__d=Zo(i,d+1)),hl(g[d],g[d]));if(v)for(d=0;d<v.length;d++)ul(v[d],v[++d],v[++d])}function nl(e,t,n){for(var i,a=e.__k,r=0;a&&r<a.length;r++)(i=a[r])&&(i.__=e,t="function"==typeof i.type?nl(i,t,n):al(n,i,i,a,i.__e,t));return t}function il(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some(function(e){il(e,t)}):t.push(e)),t}function al(e,t,n,i,a,r){var s,o,l;if(void 0!==t.__d)s=t.__d,t.__d=void 0;else if(null==n||a!=r||null==a.parentNode)e:if(null==r||r.parentNode!==e)e.appendChild(a),s=null;else{for(o=r,l=0;(o=o.nextSibling)&&l<i.length;l+=2)if(o==a)break e;e.insertBefore(a,r),s=r}return void 0!==s?s:a.nextSibling}function rl(e,t,n){"-"===t[0]?e.setProperty(t,n):e[t]=null==n?"":"number"!=typeof n||qo.test(t)?n:n+"px"}function sl(e,t,n,i,a){var r;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof i&&(e.style.cssText=i=""),i)for(t in i)n&&t in n||rl(e.style,t,"");if(n)for(t in n)i&&n[t]===i[t]||rl(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])r=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+r]=n,n?i||e.addEventListener(t,r?ll:ol,r):e.removeEventListener(t,r?ll:ol,r);else if("dangerouslySetInnerHTML"!==t){if(a)t=t.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null!=n&&(!1!==n||"a"===t[0]&&"r"===t[1])?e.setAttribute(t,n):e.removeAttribute(t))}}function ol(e){this.l[e.type+!1](To.event?To.event(e):e)}function ll(e){this.l[e.type+!0](To.event?To.event(e):e)}function cl(e,t,n,i,a,r,s,o,l){var c,d,u,h,p,m,f,v,g,b,y,_=t.type;if(void 0!==t.constructor)return null;null!=n.__h&&(l=n.__h,o=t.__e=n.__e,t.__h=null,r=[o]),(c=To.__b)&&c(t);try{e:if("function"==typeof _){if(v=t.props,g=(c=_.contextType)&&i[c.__c],b=c?g?g.props.value:c.__:i,n.__c?f=(d=t.__c=n.__c).__=d.__E:("prototype"in _&&_.prototype.render?t.__c=d=new _(v,b):(t.__c=d=new Ko(v,b),d.constructor=_,d.render=pl),g&&g.sub(d),d.props=v,d.state||(d.state={}),d.context=b,d.__n=i,u=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=_.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=Uo({},d.__s)),Uo(d.__s,_.getDerivedStateFromProps(v,d.__s))),h=d.props,p=d.state,u)null==_.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==_.getDerivedStateFromProps&&v!==h&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(v,b),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(v,d.__s,b)||t.__v===n.__v){d.props=v,d.state=d.__s,t.__v!==n.__v&&(d.__d=!1),d.__v=t,t.__e=n.__e,t.__k=n.__k,t.__k.forEach(function(e){e&&(e.__=t)}),d.__h.length&&s.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(v,d.__s,b),null!=d.componentDidUpdate&&d.__h.push(function(){d.componentDidUpdate(h,p,m)})}d.context=b,d.props=v,d.state=d.__s,(c=To.__r)&&c(t),d.__d=!1,d.__v=t,d.__P=e,c=d.render(d.props,d.state,d.context),d.state=d.__s,null!=d.getChildContext&&(i=Uo(Uo({},i),d.getChildContext())),u||null==d.getSnapshotBeforeUpdate||(m=d.getSnapshotBeforeUpdate(h,p)),y=null!=c&&c.type===Xo&&null==c.key?c.props.children:c,tl(e,Array.isArray(y)?y:[y],t,n,i,a,r,s,o,l),d.base=t.__e,t.__h=null,d.__h.length&&s.push(d),f&&(d.__E=d.__=null),d.__e=!1}else null==r&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=function(e,t,n,i,a,r,s,o){var l,c,d,u=n.props,h=t.props,p=t.type,m=0;if("svg"===p&&(a=!0),null!=r)for(;m<r.length;m++)if((l=r[m])&&"setAttribute"in l==!!p&&(p?l.localName===p:3===l.nodeType)){e=l,r[m]=null;break}if(null==e){if(null===p)return document.createTextNode(h);e=a?document.createElementNS("http://www.w3.org/2000/svg",p):document.createElement(p,h.is&&h),r=null,o=!1}if(null===p)u===h||o&&e.data===h||(e.data=h);else{if(r=r&&Co.call(e.childNodes),c=(u=n.props||Vo).dangerouslySetInnerHTML,d=h.dangerouslySetInnerHTML,!o){if(null!=r)for(u={},m=0;m<e.attributes.length;m++)u[e.attributes[m].name]=e.attributes[m].value;(d||c)&&(d&&(c&&d.__html==c.__html||d.__html===e.innerHTML)||(e.innerHTML=d&&d.__html||""))}if(function(e,t,n,i,a){var r;for(r in n)"children"===r||"key"===r||r in t||sl(e,r,null,n[r],i);for(r in t)a&&"function"!=typeof t[r]||"children"===r||"key"===r||"value"===r||"checked"===r||n[r]===t[r]||sl(e,r,t[r],n[r],i)}(e,h,u,a,o),d)t.__k=[];else if(m=t.props.children,tl(e,Array.isArray(m)?m:[m],t,n,i,a&&"foreignObject"!==p,r,s,r?r[0]:n.__k&&Zo(n,0),o),null!=r)for(m=r.length;m--;)null!=r[m]&&$o(r[m]);o||("value"in h&&void 0!==(m=h.value)&&(m!==e.value||"progress"===p&&!m||"option"===p&&m!==u.value)&&sl(e,"value",m,u.value,!1),"checked"in h&&void 0!==(m=h.checked)&&m!==e.checked&&sl(e,"checked",m,u.checked,!1))}return e}(n.__e,t,n,i,a,r,s,l);(c=To.diffed)&&c(t)}catch(e){t.__v=null,(l||null!=r)&&(t.__e=o,t.__h=!!l,r[r.indexOf(o)]=null),To.__e(e,t,n)}}function dl(e,t){To.__c&&To.__c(t,e),e.some(function(t){try{e=t.__h,t.__h=[],e.some(function(e){e.call(t)})}catch(e){To.__e(e,t.__v)}})}function ul(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){To.__e(e,n)}}function hl(e,t,n){var i,a;if(To.unmount&&To.unmount(e),(i=e.ref)&&(i.current&&i.current!==e.__e||ul(i,null,t)),null!=(i=e.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(e){To.__e(e,t)}i.base=i.__P=null}if(i=e.__k)for(a=0;a<i.length;a++)i[a]&&hl(i[a],t,"function"!=typeof e.type);n||null==e.__e||$o(e.__e),e.__e=e.__d=void 0}function pl(e,t,n){return this.constructor(e,n)}function ml(e,t,n){var i,a;To.__&&To.__(e,t),i=t.__k,a=[],cl(t,e=t.__k=Go(Xo,null,[e]),i||Vo,Vo,void 0!==t.ownerSVGElement,i?null:t.firstChild?Co.call(t.childNodes):null,a,i?i.__e:t.firstChild,!1),dl(a,e)}Co=Wo.slice,To={__e:function(e,t){for(var n,i,a;t=t.__;)if((n=t.__c)&&!n.__)try{if((i=n.constructor)&&null!=i.getDerivedStateFromError&&(n.setState(i.getDerivedStateFromError(e)),a=n.__d),null!=n.componentDidCatch&&(n.componentDidCatch(e),a=n.__d),a)return n.__E=n}catch(t){e=t}throw e}},Ao=0,Ko.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=Uo({},this.state),"function"==typeof e&&(e=e(Uo({},n),this.props)),e&&Uo(n,e),null!=e&&this.__v&&(t&&this.__h.push(t),Qo(this))},Ko.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),Qo(this))},Ko.prototype.render=Xo,jo=[],Oo="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,el.__r=0,Do=0;var fl=0,vl=[],gl=To.__b,bl=To.__r,yl=To.diffed,_l=To.__c,xl=To.unmount;function wl(e,t){To.__h&&To.__h(Bo,e,fl||t),fl=0;var n=Bo.__H||(Bo.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function Sl(e){return fl=1,function(e,t){var n=wl(Fo++,2);return n.t=e,n.__c||(n.__=[Ll(void 0,t),function(e){var t=n.t(n.__[0],e);n.__[0]!==t&&(n.__=[t,n.__[1]],n.__c.setState({}))}],n.__c=Bo),n.__}(Ll,e)}function Nl(e,t){var n=wl(Fo++,3);!To.__s&&Ol(n.__H,t)&&(n.__=e,n.__H=t,Bo.__H.__h.push(n))}function El(e){return fl=5,function(e,t){var n=wl(Fo++,7);return Ol(n.__H,t)&&(n.__=e(),n.__H=t,n.__h=e),n.__}(function(){return{current:e}},[])}function kl(e){var t=Bo.context[e.__c],n=wl(Fo++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(Bo)),t.props.value):e.__}function Cl(){for(var e;e=vl.shift();)if(e.__P)try{e.__H.__h.forEach(Al),e.__H.__h.forEach(jl),e.__H.__h=[]}catch(t){e.__H.__h=[],To.__e(t,e.__v)}}To.__b=function(e){Bo=null,gl&&gl(e)},To.__r=function(e){bl&&bl(e),Fo=0;var t=(Bo=e.__c).__H;t&&(t.__h.forEach(Al),t.__h.forEach(jl),t.__h=[])},To.diffed=function(e){yl&&yl(e);var t=e.__c;t&&t.__H&&t.__H.__h.length&&(1!==vl.push(t)&&Ho===To.requestAnimationFrame||((Ho=To.requestAnimationFrame)||function(e){var t,n=function(){clearTimeout(i),Tl&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(n,100);Tl&&(t=requestAnimationFrame(n))})(Cl)),Bo=null},To.__c=function(e,t){t.some(function(e){try{e.__h.forEach(Al),e.__h=e.__h.filter(function(e){return!e.__||jl(e)})}catch(n){t.some(function(e){e.__h&&(e.__h=[])}),t=[],To.__e(n,e.__v)}}),_l&&_l(e,t)},To.unmount=function(e){xl&&xl(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach(function(e){try{Al(e)}catch(e){t=e}}),t&&To.__e(t,n.__v))};var Tl="function"==typeof requestAnimationFrame;function Al(e){var t=Bo,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),Bo=t}function jl(e){var t=Bo;e.__c=e.__(),Bo=t}function Ol(e,t){return!e||e.length!==t.length||t.some(function(t,n){return t!==e[n]})}function Ll(e,t){return"function"==typeof t?t(e):t}function Dl(e,t){for(var n in t)e[n]=t[n];return e}function Ml(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var i in t)if("__source"!==i&&e[i]!==t[i])return!0;return!1}function Pl(e){this.props=e}(Pl.prototype=new Ko).isPureReactComponent=!0,Pl.prototype.shouldComponentUpdate=function(e,t){return Ml(this.props,e)||Ml(this.state,t)};var Il=To.__b;To.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Il&&Il(e)};var Rl="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function zl(e){function t(t,n){var i=Dl({},t);return delete i.ref,e(i,(n=t.ref||n)&&("object"!=typeof n||"current"in n)?n:null)}return t.$$typeof=Rl,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Fl=To.__e;To.__e=function(e,t,n){if(e.then)for(var i,a=t;a=a.__;)if((i=a.__c)&&i.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),i.__c(e,t);Fl(e,t,n)};var Bl=To.unmount;function Hl(){this.__u=0,this.t=null,this.__b=null}function Vl(e){var t=e.__.__c;return t&&t.__e&&t.__e(e)}function Wl(){this.u=null,this.o=null}To.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),Bl&&Bl(e)},(Hl.prototype=new Ko).__c=function(e,t){var n=t.__c,i=this;null==i.t&&(i.t=[]),i.t.push(n);var a=Vl(i.__v),r=!1,s=function(){r||(r=!0,n.__R=null,a?a(o):o())};n.__R=s;var o=function(){if(! --i.__u){if(i.state.__e){var e=i.state.__e;i.__v.__k[0]=function e(t,n,i){return t&&(t.__v=null,t.__k=t.__k&&t.__k.map(function(t){return e(t,n,i)}),t.__c&&t.__c.__P===n&&(t.__e&&i.insertBefore(t.__e,t.__d),t.__c.__e=!0,t.__c.__P=i)),t}(e,e.__c.__P,e.__c.__O)}var t;for(i.setState({__e:i.__b=null});t=i.t.pop();)t.forceUpdate()}},l=!0===t.__h;i.__u++||l||i.setState({__e:i.__b=i.__v.__k[0]}),e.then(s,s)},Hl.prototype.componentWillUnmount=function(){this.t=[]},Hl.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=function e(t,n,i){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach(function(e){"function"==typeof e.__c&&e.__c()}),t.__c.__H=null),null!=(t=Dl({},t)).__c&&(t.__c.__P===i&&(t.__c.__P=n),t.__c=null),t.__k=t.__k&&t.__k.map(function(t){return e(t,n,i)})),t}(this.__b,n,i.__O=i.__P)}this.__b=null}var a=t.__e&&Go(Xo,null,e.fallback);return a&&(a.__h=null),[Go(Xo,null,t.__e?null:e.children),a]};var ql=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};(Wl.prototype=new Ko).__e=function(e){var t=this,n=Vl(t.__v),i=t.o.get(e);return i[0]++,function(a){var r=function(){t.props.revealOrder?(i.push(a),ql(t,e,i)):a()};n?n(r):r()}},Wl.prototype.render=function(e){this.u=null,this.o=new Map;var t=il(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Wl.prototype.componentDidUpdate=Wl.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,n){ql(e,n,t)})};var Ul="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,$l=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Gl="undefined"!=typeof document,Yl=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};Ko.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(Ko.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Xl=To.event;function Kl(){}function Zl(){return this.cancelBubble}function Jl(){return this.defaultPrevented}To.event=function(e){return Xl&&(e=Xl(e)),e.persist=Kl,e.isPropagationStopped=Zl,e.isDefaultPrevented=Jl,e.nativeEvent=e};var Ql={configurable:!0,get:function(){return this.class}},ec=To.vnode;To.vnode=function(e){var t=e.type,n=e.props,i=n;if("string"==typeof t){var a=-1===t.indexOf("-");for(var r in i={},n){var s=n[r];Gl&&"children"===r&&"noscript"===t||"value"===r&&"defaultValue"in n&&null==s||("defaultValue"===r&&"value"in n&&null==n.value?r="value":"download"===r&&!0===s?s="":/ondoubleclick/i.test(r)?r="ondblclick":/^onchange(textarea|input)/i.test(r+t)&&!Yl(n.type)?r="oninput":/^onfocus$/i.test(r)?r="onfocusin":/^onblur$/i.test(r)?r="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(r)?r=r.toLowerCase():a&&$l.test(r)?r=r.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===s&&(s=void 0),i[r]=s)}"select"==t&&i.multiple&&Array.isArray(i.value)&&(i.value=il(n.children).forEach(function(e){e.props.selected=-1!=i.value.indexOf(e.props.value)})),"select"==t&&null!=i.defaultValue&&(i.value=il(n.children).forEach(function(e){e.props.selected=i.multiple?-1!=i.defaultValue.indexOf(e.props.value):i.defaultValue==e.props.value})),e.props=i,n.class!=n.className&&(Ql.enumerable="className"in n,null!=n.className&&(i.class=n.className),Object.defineProperty(i,"className",Ql))}e.$$typeof=Ul,ec&&ec(e)};var tc=To.__r;To.__r=function(e){tc&&tc(e),e.__c};var nc={wrapper:"daypickr",header:"daypickr__header",select:"daypickr__select",monthSelect:"daypickr__select--month",yearSelect:"daypickr__select--year",button:"daypickr__button",paginationButton:"daypickr__button--pagination",nextMonthButton:"daypickr__button--pagination-next",prevMonthButton:"daypickr__button--pagination-prev",yearMonthWrapper:"daypickr__year-month-wrapper",pagination:"daypickr__pagination",table:"daypickr__calendar",tableRow:"daypickr__calendar-row",tableCell:"daypickr__calendar-cell",tableHeaderRow:"daypickr__calendar-header-row",tableHeaderCell:"daypickr__calendar-header-cell",dayButton:"daypickr__day",isToday:"isToday",isSelected:"isSelected",srOnly:"sr-only",closeButton:"daypickr__button--close",toggleButton:"daypickr__button--toggle"};function ic(...e){return e.join(" ").trim()}var ac={prevMonth:"previous month",nextMonth:"next month",month:"Month",year:"Year",weekdays:[{name:"Sunday",shortname:"Su"},{name:"Monday",shortname:"Mo"},{name:"Tuesday",shortname:"Tu"},{name:"Wednesday",shortname:"We"},{name:"Thursday",shortname:"Th"},{name:"Friday",shortname:"Fr"},{name:"Saturday",shortname:"Sa"}],months:["January","February","March","April","May","June","July","August","September","October","November","December"],openButton:"Choose date",closeButton:"Close"};function rc(e){return e instanceof Date&&!isNaN(e.valueOf())}function sc(e,t=1){const n=new Date(e),i=e.getDay(),a=(i<t?7:0)+i-t;return new Date(n.setDate(n.getDate()-a))}function oc(e,t=1){const n=new Date(e),i=n.getDay(),a=6+(i<t?-7:0)-(i-t);return new Date(n.setDate(n.getDate()+a))}function lc(e,t){return!(!rc(e)||!rc(t))&&(e.setHours(0,0,0,0),t.setHours(0,0,0,0),e.getTime()===t.getTime())}function cc(e,t){const n=new Date(e).setMonth(t),i=new Date(e.getFullYear(),t+1,0).getTime();return n>i?new Date(i):new Date(n)}var dc,uc,hc=(uc={__c:dc="__cC"+Do++,__:void 0,Consumer:function(e,t){return e.children(t)},Provider:function(e){var t,n;return this.getChildContext||(t=[],(n={})[dc]=this,this.getChildContext=function(){return n},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&t.some(Qo)},this.sub=function(e){t.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){t.splice(t.indexOf(e),1),n&&n.call(e)}}),e.children}}).Provider.__=uc.Consumer.contextType=uc,pc=()=>{const{firstDayOfWeek:e,classes:t,l10n:n,selected:i,setSelected:a,setView:r,handleKeyboardNavigation:s,focusedRef:o,view:l,disabledDayFn:c,locale:d}=kl(hc),u=function(e,t){const n=e?.length?[...e]:[],i=n.splice(0,t);return[...n,...i]}(n.weekdays,e),h=function(e){const t=[];for(let n=0;n<e.length;n+=7)t.push(e.slice(n,n+7));return t}(function(e,t){const n=new Date(e);n.setDate(1);const i=new Date(e);return i.setMonth(e.getMonth()+1,0),function(e,t){const n=[];let i=e;for(;i.getTime()<t.getTime();)n.push(new Date(i)),i=new Date(i.setDate(i.getDate()+1));return n.push(new Date(i)),n}(sc(n,t),oc(i,t))}(l,e));return Go("table",{className:t.table},Go("thead",null,Go("tr",{className:t.tableHeaderRow},u.map(e=>Go("th",{scope:"col",className:t.tableHeaderCell},Go("span",{className:t.srOnly},e.name),Go("span",{"aria-hidden":"true"},e.shortname))))),Go("tbody",null,h.map(e=>Go("tr",{className:t.tableRow},e.map(e=>{const n=i&&lc(e,i),u=lc(e,l),h=!function(e,t){return e.getMonth()===t.getMonth()}(e,l)||c(e),p=(m=e,lc(new Date,m)?t.isToday:void 0);var m;const f=n?t.isSelected:void 0,v=[t.dayButton,p,f],g=u?"0":"-1",b=e.toLocaleDateString(d),y=u?o:void 0;return Go("td",{role:"gridcell",className:t.tableCell},Go("button",{className:v.join(" "),type:"button",onClick:()=>{h||(a(e),r(e))},tabindex:g,onKeyUp:s,ref:y,"aria-disabled":h,"aria-label":b,"aria-selected":n},Go("span",{className:t.srOnly},b),Go("span",{"aria-hidden":"true"},e.getDate())))})))))},mc=zl(({label:e,value:t,options:n,onChange:i,className:a,elemRef:r,...s},o)=>{const{classes:l}=kl(hc);return Go("label",null,Go("span",{className:"sr-only"},e),Go("select",{className:ic(l.select,a),onChange:e=>i(e),ref:o,...s},n?.map(e=>Go("option",{value:e?.value||0===e?.value?e.value:e,selected:t===e?.value||t===e?"selected":void 0},e?.text?e.text:e))))}),fc=mc;function vc(e,t){const n=[];for(let i=e;i<=t;i++)n.push(i);return n}var gc=zl((e,t)=>{const{l10n:n,min:i,max:a,view:r,setView:s,classes:o}=kl(hc),l=new Date(i).getFullYear(),c=new Date(a).getFullYear();return Go(fc,{label:n.year,options:vc(l,c),value:r.getFullYear(),className:o.yearSelect,onChange:e=>{const t=new Date(r);t.setFullYear(parseInt(e.target.value,10)),s(t)},ref:t,...e})}),bc=gc,yc=()=>{const{l10n:e,view:t,setView:n,classes:i}=kl(hc);return Go(fc,{label:e.month,value:t.getMonth(),className:i.monthSelect,options:e.months?.map((e,t)=>({value:t,text:e})),onChange:e=>{const i=new Date(t);i.setMonth(parseInt(e.target.value,10)),n(i)}})},_c=({min:e="1900-01-01",max:t="2100-12-31",classes:n=nc,l10n:i=ac,selectedDay:a,firstDayOfWeek:r=1,locale:s={},disabledDayFn:o=()=>{},onSelect:l=()=>{},formatDate:c=e=>function(e){return e&&e instanceof Date?`${e.getFullYear()}-${(e.getMonth()+1).toString().padStart(2,"0")}-${e.getDate().toString().padStart(2,"0")}`:""}(e),parseDate:d=e=>{const t=e.match(/(\d{2})\/(\d{2})\/(\d{4})/);return!!t&&new Date(t[3],t[2]-1,t[1])},calendarIcon:u,name:h,id:p})=>{const[m,f]=Sl(a?new Date(a):new Date),[v,g]=Sl(a?new Date(a):void 0),[b,y]=Sl(!1),_=El(!0),x=El(),w=El(),S=El(),N=El(),E=El(),k=El();var C,T,A;Nl(()=>{l(v),y(!1)},[v]),Nl(()=>{const e=e=>{"Tab"===e.key&&b&&(e.shiftKey||document.activeElement!==k.current||(e.preventDefault(),N.current.focus()),!e.shiftKey||document.activeElement!==N.current&&document.activeElement!==E.current||(e.preventDefault(),k.current.focus()))},t=e=>{"Escape"===e.key&&b&&y(!1)};return document.addEventListener("keydown",e),document.addEventListener("keydown",t),()=>{document.removeEventListener("keydown",e),document.removeEventListener("keydown",t)}},[b,k.current,N.current]),Nl(()=>{const e=e=>{!E.current.contains(e.target)&&b&&y(!1)};return document.addEventListener("click",e),()=>document.removeEventListener("click",e)},[b,E.current]),C=()=>{b?E.current.focus():document.activeElement===x.current||_.current?_.current=!1:S.current.focus()},T=[b,N.current,S.current,x.current],A=wl(Fo++,4),!To.__s&&Ol(A.__H,T)&&(A.__=C,A.__H=T,Bo.__h.push(A));const j=e=>cc(e,e.getMonth()-1),O=e=>cc(e,e.getMonth()+1),L=()=>{y(!b)},D=({type:e,children:t,...n})=>Go(e,n,t&&t.length&&t.map(e=>D(e)));return Go(hc.Provider,{value:{firstDayOfWeek:r,classes:n,l10n:i,min:e,max:t,view:m,setView:f,selected:v,setSelected:g,handleKeyboardNavigation:e=>{let t=new Date(m);const n={ArrowLeft:()=>{t.setDate(m.getDate()-1)},ArrowRight:()=>{t.setDate(m.getDate()+1)},ArrowUp:()=>{t.setDate(m.getDate()-7)},ArrowDown:()=>{t.setDate(m.getDate()+7)},PageUp:()=>{e.shiftKey?t.setFullYear(m.getFullYear()-1):t=j(m)},PageDown:()=>{e.shiftKey?t.setFullYear(m.getFullYear()+1):t=O(m)},Home:()=>{t=sc(m,r)},End:()=>{t=oc(m,r)}};Object.keys(n).includes(e.key)&&(e.preventDefault(),n[e.key]?.(),f(t),setTimeout(()=>{w.current.focus()},0))},focusedRef:w,disabledDayFn:o,locale:s}},Go("input",{id:`${p}-input`,type:"text",className:n.input,value:v&&v.toLocaleDateString(s),onChange:e=>(e=>{""===e.target.value&&g(void 0);const t=d(e.target.value);if(t)return f(t),g(t)})(e),ref:x}),Go("input",{type:"hidden",id:`${p}-value`,value:c(v),name:h}),Go("button",{type:"button","aria-controls":`${p}-dialog`,onClick:()=>L(),"aria-expanded":b,ref:S,className:n.toggleButton},u&&D(u),u?Go("span",{class:n.srOnly},i.openButton):i.openButton),Go("div",{className:n.wrapper,role:"dialog","aria-modal":"true","aria-labelledby":"daypickr-label",hidden:!b,ref:E,tabIndex:"-1"},Go("div",{className:"daypickr__content"},Go("h2",{id:"daypickr-label",className:"sr-only"},m.toLocaleString(s,{month:"long",year:"numeric"})),Go("div",{className:n.header},Go("div",{className:n.yearMonthWrapper},Go(bc,{ref:N}),Go(yc,null)),Go("div",{className:n.pagination},Go("button",{type:"button",className:`${n.button} ${n.prevMonthButton}`,onClick:()=>{f(j(m))}},i.prevMonth),Go("button",{type:"button",className:`${n.button} ${n.nextMonthButton}`,onClick:()=>{f(O(m))}},i.nextMonth))),Go(pc,null),Go("button",{className:`${n.button} ${n.closeButton}`,type:"button",onClick:()=>L(),ref:k},i.closeButton))))},xc=({calendarIcon:e,classes:t=classNames,l10n:n=l10nEN,...i})=>{const a=({type:e,children:t,...n})=>Go(e,n,t&&t.length&&t.map(e=>a(e)));return Go(hc.Provider,{value:{classes:t,l10n:n}},Go("input",{type:"text",disabled:!0,className:t.input}),Go("button",{type:"button",className:t.toggleButton,disabled:!0},e&&a(e),e?Go("span",{class:t.srOnly},n.openButton):n.openButton))},wc={locale:"sk",classes:{wrapper:"daypickr",header:"daypickr__header",select:"daypickr__select",selectDisplay:"daypickr__select-display",monthSelect:"daypickr__select--month",yearSelect:"daypickr__select--year",button:"daypickr__button",paginationButton:"daypickr__button--pagination ",nextMonthButton:"daypickr__button--pagination-next btn btn--ghost btn--square btn--small",prevMonthButton:"daypickr__button--pagination-prev btn btn--ghost btn--square btn--small",yearMonthWrapper:"daypickr__year-month-wrapper",pagination:"daypickr__pagination",table:"daypickr__calendar",tableRow:"daypickr__calendar-row",tableCell:"daypickr__calendar-cell",tableHeaderRow:"daypickr__calendar-header-row",tableHeaderCell:"daypickr__calendar-header-cell",dayButton:"daypickr__day",isToday:"isToday",isSelected:"isSelected",srOnly:"sr-only",input:"form-group__item text-input",closeButton:"daypickr__button--close btn mb-none",toggleButton:"form-group__item btn btn--square"},firstDayOfWeek:1,l10n:{prevMonth:"predchádzajúci mesiac",nextMonth:"nasledujúci mesiac",month:"Mesiac",year:"Rok",weekdays:[{name:"Nedeľa",shortname:"Ne"},{name:"Pondelok",shortname:"Po"},{name:"Utorok",shortname:"Ut"},{name:"Streda",shortname:"St"},{name:"Štvrtok",shortname:"Št"},{name:"Piatok",shortname:"Pi"},{name:"Sobota",shortname:"So"}],months:["Január","Február","Marec","Apríl","Máj","Jún","Júl","August","September","Október","November","December"],openButton:"Vyberte dátum",closeButton:"Zatvoriť"},parseDate:function(e){var t=e.match(/(\d{1,2})\. ?(\d{1,2})\. ?(\d{4})/);return!!t&&new Date(Number(t[3]),Number(t[2])-1,Number(t[1]))},calendarIcon:{type:"svg",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1000 1000",className:"icon icon--medium",children:[{type:"path",d:"M800 175H700v-37.5a37.5 37.5 0 0 0-75 0V175H350v-37.5a37.5 37.5 0 0 0-75 0V175H100v625a75 75 0 0 0 75 75h700V250a75 75 0 0 0-75-75zM300 825H187.4a37.5 37.5 0 0 1-37.5-37.6V700H300v125zm0-150H150V550h150v125zm0-150H150V400h150v125zm-50-262.5a62.4 62.4 0 0 1 25-50v50a37.5 37.5 0 0 0 75 0v-50a62.5 62.5 0 1 1-100 50zm225 562.4H325V700h150v125zm0-149.9H325V550h150v125zm0-150H325V400h150v125zm175 300H500V700h150v125zm0-150H500V550h150v125zm0-150H500V400h150v125zm-50-262.5a62.4 62.4 0 0 1 25-50v50a37.5 37.5 0 0 0 75 0v-50a62.5 62.5 0 1 1-100 50zM825 675H675V550h150v125zm0-150H675V400h112.5a37.5 37.5 0 0 1 37.5 37.4V525z","fill-rule":"evenodd"}]}},Sc=function(){return g(function e(t,n){return f(this,e),this.element=t,this.config=_(_({},wc),n),this.init(),this.element.ODS_DatePicker=this,this},[{key:"init",value:function(){var e=this.element.getAttribute("data-datepicker-config"),t=this.element.getAttribute("data-enabled-days"),n={};if(e)try{n=JSON.parse(e)}catch(e){n={}}this.config=_(_(_({},this.config),n),t&&{disabledDayFn:function(e){return!t.split(",").includes(function(e){return e&&e instanceof Date?"".concat(e.getFullYear(),"-").concat((e.getMonth()+1).toString().padStart(2,"0"),"-").concat(e.getDate().toString().padStart(2,"0")):""}(e))}});var i,a,r=this.element.getAttribute("data-datepicker-id")||void 0,s=this.element.getAttribute("data-datepicker-name")||r;this.instance=(i=this.element,a=_({id:r,name:s},this.config),ml(Go(_c,{...a}),i),{destroy(){!function(e){e.__k&&ml(null,e)}(i),ml(Go(xc,{...a}),i)}})}},{key:"destroy",value:function(){this.instance&&this.instance.destroy(),this.instance=null,this.element.ODS_DatePicker=null}}])}(),Nc=function(e){var t=e.dayPickrConfig,n=e.enabledDays,i=e.id,a=e.name,r=N(U(Sc,t),1)[0];return F.jsx("div",{ref:r,"data-datepicker":!0,"data-enabled-days":n&&n.toString()||void 0,className:"datepicker control-group","data-datepicker-id":i,"data-datepicker-name":a})};Nc.displayName="DatePicker";var Ec,kc={exports:{}},Cc={};function Tc(){return Ec||(Ec=1,Cc._=function(e){return e&&e.__esModule?e:{default:e}}),Cc}function Ac(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var jc,Oc,Lc,Dc,Mc,Pc={},Ic={};function Rc(){return Oc||(Oc=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return h}});const n=Tc()._(e),i=(jc||(jc=1,function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return n}});const n=Tc()._(e).default.createContext(null);"production"!==process.env.NODE_ENV&&(n.displayName="LoadableContext")}(Ic)),Ic),a=[],r=[];let s=!1;function o(e){let t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(e=>(n.loading=!1,n.loaded=e,e)).catch(e=>{throw n.loading=!1,n.error=e,e}),n}function l(e,t){let o=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),l=null;function d(){if(!l){const t=new c(e,o);l={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return l.promise()}if("undefined"==typeof window&&a.push(d),!s&&"undefined"!=typeof window){const e=o.webpack&&"function"==typeof Ac.resolveWeak?o.webpack():o.modules;e&&r.push(t=>{for(const n of e)if(t.includes(n))return d()})}function u(e,t){!function(){d();const e=n.default.useContext(i.LoadableContext);e&&Array.isArray(o.modules)&&o.modules.forEach(t=>{e(t)})}();const a=n.default.useSyncExternalStore(l.subscribe,l.getCurrentValue,l.getCurrentValue);return n.default.useImperativeHandle(t,()=>({retry:l.retry}),[]),n.default.useMemo(()=>{return a.loading||a.error?n.default.createElement(o.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:l.retry}):a.loaded?n.default.createElement((t=a.loaded)&&t.default?t.default:t,e):null;var t},[e,a])}return u.preload=()=>d(),u.displayName="LoadableComponent",n.default.forwardRef(u)}class c{constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};const{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}}function d(e){return l(o,e)}function u(e,t){let n=[];for(;e.length;){let i=e.pop();n.push(i(t))}return Promise.all(n).then(()=>{if(e.length)return u(e,t)})}d.preloadAll=()=>new Promise((e,t)=>{u(a).then(e,t)}),d.preloadReady=(e=[])=>new Promise(t=>{const n=()=>(s=!0,t());u(r,e).then(n,n)}),"undefined"!=typeof window&&(window.__NEXT_PRELOADREADY=d.preloadReady);const h=d}(Pc)),Pc}var zc=Mc?Dc:(Mc=1,Lc||(Lc=1,function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{default:function(){return l},noSSR:function(){return o}});const n=Tc(),i=I(),a=n._(Rc()),r="undefined"==typeof window;function s(e){return{default:e?.default||e}}function o(e,t){if(delete t.webpack,delete t.modules,!r)return e(t);const n=t.loading;return()=>(0,i.jsx)(n,{error:null,isLoading:!0,pastDelay:!1,timedOut:!1})}function l(e,t){let n=a.default,r={loading:({error:e,isLoading:t,pastDelay:n})=>{if(!n)return null;if("production"!==process.env.NODE_ENV){if(t)return null;if(e)return(0,i.jsxs)("p",{children:[e.message,(0,i.jsx)("br",{}),e.stack]})}return null}};e instanceof Promise?r.loader=()=>e:"function"==typeof e?r.loader=e:"object"==typeof e&&(r={...r,...e}),r={...r,...t};const l=r.loader;return r.loadableGenerated&&(r={...r,...r.loadableGenerated},delete r.loadableGenerated),"boolean"!=typeof r.ssr||r.ssr?n({...r,loader:()=>null!=l?l().then(s):Promise.resolve(s(()=>null))}):(delete r.webpack,delete r.modules,o(n,r))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}(kc,kc.exports)),Dc=kc.exports),Fc=A(zc),Bc=r(null);function Hc(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function Vc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,a,r,s,o=[],l=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t);else for(;!(l=(i=r.call(n)).done)&&(o.push(i.value),o.length!==t);l=!0);}catch(e){c=!0,a=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Hc(e,t);var n={}.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)?Hc(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const Wc=Object.entries,qc=Object.setPrototypeOf,Uc=Object.isFrozen,$c=Object.getPrototypeOf,Gc=Object.getOwnPropertyDescriptor;let Yc=Object.freeze,Xc=Object.seal,Kc=Object.create,Zc="undefined"!=typeof Reflect&&Reflect,Jc=Zc.apply,Qc=Zc.construct;Yc||(Yc=function(e){return e}),Xc||(Xc=function(e){return e}),Jc||(Jc=function(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a];return e.apply(t,i)}),Qc||(Qc=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return new e(...n)});const ed=xd(Array.prototype.forEach),td=xd(Array.prototype.lastIndexOf),nd=xd(Array.prototype.pop),id=xd(Array.prototype.push),ad=xd(Array.prototype.splice),rd=Array.isArray,sd=xd(String.prototype.toLowerCase),od=xd(String.prototype.toString),ld=xd(String.prototype.match),cd=xd(String.prototype.replace),dd=xd(String.prototype.indexOf),ud=xd(String.prototype.trim),hd=xd(Number.prototype.toString),pd=xd(Boolean.prototype.toString),md="undefined"==typeof BigInt?null:xd(BigInt.prototype.toString),fd="undefined"==typeof Symbol?null:xd(Symbol.prototype.toString),vd=xd(Object.prototype.hasOwnProperty),gd=xd(Object.prototype.toString),bd=xd(RegExp.prototype.test),yd=(_d=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Qc(_d,t)});var _d;function xd(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return Jc(e,t,i)}}function wd(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:sd;if(qc&&qc(e,null),!rd(t))return e;let i=t.length;for(;i--;){let a=t[i];if("string"==typeof a){const e=n(a);e!==a&&(Uc(t)||(t[i]=e),a=e)}e[a]=!0}return e}function Sd(e){for(let t=0;t<e.length;t++)vd(e,t)||(e[t]=null);return e}function Nd(e){const t=Kc(null);for(const i of Wc(e)){var n=Vc(i,2);const a=n[0],r=n[1];vd(e,a)&&(rd(r)?t[a]=Sd(r):r&&"object"==typeof r&&r.constructor===Object?t[a]=Nd(r):t[a]=r)}return t}function Ed(e,t){for(;null!==e;){const n=Gc(e,t);if(n){if(n.get)return xd(n.get);if("function"==typeof n.value)return xd(n.value)}e=$c(e)}return function(){return null}}const kd=Yc(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Cd=Yc(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Td=Yc(["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"]),Ad=Yc(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),jd=Yc(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Od=Yc(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Ld=Yc(["#text"]),Dd=Yc(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Md=Yc(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Pd=Yc(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Id=Yc(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Rd=Xc(/{{[\w\W]*|^[\w\W]*}}/g),zd=Xc(/<%[\w\W]*|^[\w\W]*%>/g),Fd=Xc(/\${[\w\W]*/g),Bd=Xc(/^data-[\-\w.\u00B7-\uFFFF]+$/),Hd=Xc(/^aria-[\-\w]+$/),Vd=Xc(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Wd=Xc(/^(?:\w+script|data):/i),qd=Xc(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ud=Xc(/^html$/i),$d=Xc(/^[a-z][.\w]*(-[.\w]+)+$/i),Gd=function(){return"undefined"==typeof window?null:window};var Yd=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Gd();const n=t=>e(t);if(n.version="3.4.7",n.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return n.isSupported=!1,n;let i=t.document;const a=i,r=a.currentScript;t.DocumentFragment;const s=t.HTMLTemplateElement,o=t.Node,l=t.Element,c=t.NodeFilter;void 0===t.NamedNodeMap&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const d=t.DOMParser,u=t.trustedTypes,h=l.prototype,p=Ed(h,"cloneNode"),m=Ed(h,"remove"),f=Ed(h,"nextSibling"),v=Ed(h,"childNodes"),g=Ed(h,"parentNode"),b=Ed(h,"shadowRoot"),y=Ed(h,"attributes"),_=o&&o.prototype?Ed(o.prototype,"nodeType"):null,x=o&&o.prototype?Ed(o.prototype,"nodeName"):null;if("function"==typeof s){const e=i.createElement("template");e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let w,S="";const N=i,E=N.implementation,k=N.createNodeIterator,C=N.createDocumentFragment,T=N.getElementsByTagName,A=a.importNode;let j={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof Wc&&"function"==typeof g&&E&&void 0!==E.createHTMLDocument;const O=Rd,L=zd,D=Fd,M=Bd,P=Hd,I=Wd,R=qd,z=$d;let F=Vd,B=null;const H=wd({},[...kd,...Cd,...Td,...jd,...Ld]);let V=null;const W=wd({},[...Dd,...Md,...Pd,...Id]);let q=Object.seal(Kc(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),U=null,$=null;const G=Object.seal(Kc(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Y=!0,X=!0,K=!1,Z=!0,J=!1,Q=!0,ee=!1,te=!1,ne=!1,ie=!1,ae=!1,re=!1,se=!0,oe=!1;const le="user-content-";let ce=!0,de=!1,ue={},he=null;const pe=wd({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let me=null;const fe=wd({},["audio","video","img","source","image","track"]);let ve=null;const ge=wd({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),be="http://www.w3.org/1998/Math/MathML",ye="http://www.w3.org/2000/svg",_e="http://www.w3.org/1999/xhtml";let xe=_e,we=!1,Se=null;const Ne=wd({},[be,ye,_e],od);let Ee=wd({},["mi","mo","mn","ms","mtext"]),ke=wd({},["annotation-xml"]);const Ce=wd({},["title","style","font","a","script"]);let Te=null;const Ae=["application/xhtml+xml","text/html"];let je=null,Oe=null;const Le=i.createElement("form"),De=function(e){return e instanceof RegExp||e instanceof Function},Me=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Oe&&Oe===e)return;e&&"object"==typeof e||(e={}),e=Nd(e),Te=-1===Ae.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,je="application/xhtml+xml"===Te?od:sd,B=vd(e,"ALLOWED_TAGS")&&rd(e.ALLOWED_TAGS)?wd({},e.ALLOWED_TAGS,je):H,V=vd(e,"ALLOWED_ATTR")&&rd(e.ALLOWED_ATTR)?wd({},e.ALLOWED_ATTR,je):W,Se=vd(e,"ALLOWED_NAMESPACES")&&rd(e.ALLOWED_NAMESPACES)?wd({},e.ALLOWED_NAMESPACES,od):Ne,ve=vd(e,"ADD_URI_SAFE_ATTR")&&rd(e.ADD_URI_SAFE_ATTR)?wd(Nd(ge),e.ADD_URI_SAFE_ATTR,je):ge,me=vd(e,"ADD_DATA_URI_TAGS")&&rd(e.ADD_DATA_URI_TAGS)?wd(Nd(fe),e.ADD_DATA_URI_TAGS,je):fe,he=vd(e,"FORBID_CONTENTS")&&rd(e.FORBID_CONTENTS)?wd({},e.FORBID_CONTENTS,je):pe,U=vd(e,"FORBID_TAGS")&&rd(e.FORBID_TAGS)?wd({},e.FORBID_TAGS,je):Nd({}),$=vd(e,"FORBID_ATTR")&&rd(e.FORBID_ATTR)?wd({},e.FORBID_ATTR,je):Nd({}),ue=!!vd(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?Nd(e.USE_PROFILES):e.USE_PROFILES),Y=!1!==e.ALLOW_ARIA_ATTR,X=!1!==e.ALLOW_DATA_ATTR,K=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Z=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,J=e.SAFE_FOR_TEMPLATES||!1,Q=!1!==e.SAFE_FOR_XML,ee=e.WHOLE_DOCUMENT||!1,ie=e.RETURN_DOM||!1,ae=e.RETURN_DOM_FRAGMENT||!1,re=e.RETURN_TRUSTED_TYPE||!1,ne=e.FORCE_BODY||!1,se=!1!==e.SANITIZE_DOM,oe=e.SANITIZE_NAMED_PROPS||!1,ce=!1!==e.KEEP_CONTENT,de=e.IN_PLACE||!1,F=function(e){try{return bd(e,""),!0}catch(e){return!1}}(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:Vd,xe="string"==typeof e.NAMESPACE?e.NAMESPACE:_e,Ee=vd(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof e.MATHML_TEXT_INTEGRATION_POINTS?Nd(e.MATHML_TEXT_INTEGRATION_POINTS):wd({},["mi","mo","mn","ms","mtext"]),ke=vd(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"==typeof e.HTML_INTEGRATION_POINTS?Nd(e.HTML_INTEGRATION_POINTS):wd({},["annotation-xml"]);const t=vd(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"==typeof e.CUSTOM_ELEMENT_HANDLING?Nd(e.CUSTOM_ELEMENT_HANDLING):Kc(null);if(q=Kc(null),vd(t,"tagNameCheck")&&De(t.tagNameCheck)&&(q.tagNameCheck=t.tagNameCheck),vd(t,"attributeNameCheck")&&De(t.attributeNameCheck)&&(q.attributeNameCheck=t.attributeNameCheck),vd(t,"allowCustomizedBuiltInElements")&&"boolean"==typeof t.allowCustomizedBuiltInElements&&(q.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),J&&(X=!1),ae&&(ie=!0),ue&&(B=wd({},Ld),V=Kc(null),!0===ue.html&&(wd(B,kd),wd(V,Dd)),!0===ue.svg&&(wd(B,Cd),wd(V,Md),wd(V,Id)),!0===ue.svgFilters&&(wd(B,Td),wd(V,Md),wd(V,Id)),!0===ue.mathMl&&(wd(B,jd),wd(V,Pd),wd(V,Id))),G.tagCheck=null,G.attributeCheck=null,vd(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?G.tagCheck=e.ADD_TAGS:rd(e.ADD_TAGS)&&(B===H&&(B=Nd(B)),wd(B,e.ADD_TAGS,je))),vd(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?G.attributeCheck=e.ADD_ATTR:rd(e.ADD_ATTR)&&(V===W&&(V=Nd(V)),wd(V,e.ADD_ATTR,je))),vd(e,"ADD_URI_SAFE_ATTR")&&rd(e.ADD_URI_SAFE_ATTR)&&wd(ve,e.ADD_URI_SAFE_ATTR,je),vd(e,"FORBID_CONTENTS")&&rd(e.FORBID_CONTENTS)&&(he===pe&&(he=Nd(he)),wd(he,e.FORBID_CONTENTS,je)),vd(e,"ADD_FORBID_CONTENTS")&&rd(e.ADD_FORBID_CONTENTS)&&(he===pe&&(he=Nd(he)),wd(he,e.ADD_FORBID_CONTENTS,je)),ce&&(B["#text"]=!0),ee&&wd(B,["html","head","body"]),B.table&&(wd(B,["tbody"]),delete U.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw yd('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw yd('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=e.TRUSTED_TYPES_POLICY,S=w.createHTML("")}else void 0===w&&(w=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const i="data-tt-policy-suffix";t&&t.hasAttribute(i)&&(n=t.getAttribute(i));const a="dompurify"+(n?"#"+n:"");try{return e.createPolicy(a,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return null}}(u,r)),null!==w&&"string"==typeof S&&(S=w.createHTML(""));(j.uponSanitizeElement.length>0||j.uponSanitizeAttribute.length>0)&&B===H&&(B=Nd(B)),j.uponSanitizeAttribute.length>0&&V===W&&(V=Nd(V)),Yc&&Yc(e),Oe=e},Pe=wd({},[...Cd,...Td,...Ad]),Ie=wd({},[...jd,...Od]),Re=function(e){id(n.removed,{element:e});try{g(e).removeChild(e)}catch(t){m(e)}},ze=function(e,t){try{id(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){id(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(ie||ae)try{Re(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Fe=function(e){let t=null,n=null;if(ne)e="<remove></remove>"+e;else{const t=ld(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Te&&xe===_e&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const a=w?w.createHTML(e):e;if(xe===_e)try{t=(new d).parseFromString(a,Te)}catch(e){}if(!t||!t.documentElement){t=E.createDocument(xe,"template",null);try{t.documentElement.innerHTML=we?S:a}catch(e){}}const r=t.body||t.documentElement;return e&&n&&r.insertBefore(i.createTextNode(n),r.childNodes[0]||null),xe===_e?T.call(t,ee?"html":"body")[0]:ee?t.documentElement:r},Be=function(e){return k.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},He=function(e){e.normalize();const t=k.call(e.ownerDocument||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null);let n=t.nextNode();for(;n;){let e=n.data;ed([O,L,D],t=>{e=cd(e,t," ")}),n.data=e,n=t.nextNode()}},Ve=function(e){const t=x?x(e):null;return"string"==typeof t&&"form"===je(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==y(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==_(e)||e.childNodes!==v(e))},We=function(e){if(!_||"object"!=typeof e||null===e)return!1;try{return 11===_(e)}catch(e){return!1}},qe=function(e){if(!_||"object"!=typeof e||null===e)return!1;try{return"number"==typeof _(e)}catch(e){return!1}};function Ue(e,t,i){ed(e,e=>{e.call(n,t,i,Oe)})}const $e=function(e){let t=null;if(Ue(j.beforeSanitizeElements,e,null),Ve(e))return Re(e),!0;const i=je(e.nodeName);if(Ue(j.uponSanitizeElement,e,{tagName:i,allowedTags:B}),Q&&e.hasChildNodes()&&!qe(e.firstElementChild)&&bd(/<[/\w!]/g,e.innerHTML)&&bd(/<[/\w!]/g,e.textContent))return Re(e),!0;if(Q&&e.namespaceURI===_e&&"style"===i&&qe(e.firstElementChild))return Re(e),!0;if(7===e.nodeType)return Re(e),!0;if(Q&&8===e.nodeType&&bd(/<[/\w]/g,e.data))return Re(e),!0;if(U[i]||!(G.tagCheck instanceof Function&&G.tagCheck(i))&&!B[i]){if(!U[i]&&Xe(i)){if(q.tagNameCheck instanceof RegExp&&bd(q.tagNameCheck,i))return!1;if(q.tagNameCheck instanceof Function&&q.tagNameCheck(i))return!1}if(ce&&!he[i]){const t=g(e),n=v(e);if(n&&t)for(let i=n.length-1;i>=0;--i){const a=p(n[i],!0);t.insertBefore(a,f(e))}}return Re(e),!0}return 1===(_?_(e):e.nodeType)&&!function(e){let t=g(e);t&&t.tagName||(t={namespaceURI:xe,tagName:"template"});const n=sd(e.tagName),i=sd(t.tagName);return!!Se[e.namespaceURI]&&(e.namespaceURI===ye?t.namespaceURI===_e?"svg"===n:t.namespaceURI===be?"svg"===n&&("annotation-xml"===i||Ee[i]):Boolean(Pe[n]):e.namespaceURI===be?t.namespaceURI===_e?"math"===n:t.namespaceURI===ye?"math"===n&&ke[i]:Boolean(Ie[n]):e.namespaceURI===_e?!(t.namespaceURI===ye&&!ke[i])&&!(t.namespaceURI===be&&!Ee[i])&&!Ie[n]&&(Ce[n]||!Pe[n]):!("application/xhtml+xml"!==Te||!Se[e.namespaceURI]))}(e)||("noscript"===i||"noembed"===i||"noframes"===i)&&bd(/<\/no(script|embed|frames)/i,e.innerHTML)?(Re(e),!0):(J&&3===e.nodeType&&(t=e.textContent,ed([O,L,D],e=>{t=cd(t,e," ")}),e.textContent!==t&&(id(n.removed,{element:e.cloneNode()}),e.textContent=t)),Ue(j.afterSanitizeElements,e,null),!1)},Ge=function(e,t,n){if($[t])return!1;if(se&&("id"===t||"name"===t)&&(n in i||n in Le))return!1;const a=V[t]||G.attributeCheck instanceof Function&&G.attributeCheck(t,e);if(X&&!$[t]&&bd(M,t));else if(Y&&bd(P,t));else if(!a||$[t]){if(!(Xe(e)&&(q.tagNameCheck instanceof RegExp&&bd(q.tagNameCheck,e)||q.tagNameCheck instanceof Function&&q.tagNameCheck(e))&&(q.attributeNameCheck instanceof RegExp&&bd(q.attributeNameCheck,t)||q.attributeNameCheck instanceof Function&&q.attributeNameCheck(t,e))||"is"===t&&q.allowCustomizedBuiltInElements&&(q.tagNameCheck instanceof RegExp&&bd(q.tagNameCheck,n)||q.tagNameCheck instanceof Function&&q.tagNameCheck(n))))return!1}else if(ve[t]);else if(bd(F,cd(n,R,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==dd(n,"data:")||!me[e])if(K&&!bd(I,cd(n,R,"")));else if(n)return!1;return!0},Ye=wd({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Xe=function(e){return!Ye[sd(e)]&&bd(z,e)},Ke=function(e){Ue(j.beforeSanitizeAttributes,e,null);const t=e.attributes;if(!t||Ve(e))return;const i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:V,forceKeepAttr:void 0};let a=t.length;for(;a--;){const r=t[a],s=r.name,o=r.namespaceURI,l=r.value,c=je(s),d=l;let h="value"===s?d:ud(d);if(i.attrName=c,i.attrValue=h,i.keepAttr=!0,i.forceKeepAttr=void 0,Ue(j.uponSanitizeAttribute,e,i),h=i.attrValue,!oe||"id"!==c&&"name"!==c||0===dd(h,le)||(ze(s,e),h=le+h),Q&&bd(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,h)){ze(s,e);continue}if("attributename"===c&&ld(h,"href")){ze(s,e);continue}if(i.forceKeepAttr)continue;if(!i.keepAttr){ze(s,e);continue}if(!Z&&bd(/\/>/i,h)){ze(s,e);continue}J&&ed([O,L,D],e=>{h=cd(h,e," ")});const p=je(e.nodeName);if(Ge(p,c,h)){if(w&&"object"==typeof u&&"function"==typeof u.getAttributeType)if(o);else switch(u.getAttributeType(p,c)){case"TrustedHTML":h=w.createHTML(h);break;case"TrustedScriptURL":h=w.createScriptURL(h)}if(h!==d)try{o?e.setAttributeNS(o,s,h):e.setAttribute(s,h),Ve(e)?Re(e):nd(n.removed)}catch(t){ze(s,e)}}else ze(s,e)}Ue(j.afterSanitizeAttributes,e,null)},Ze=function(e){let t=null;const n=Be(e);for(Ue(j.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(Ue(j.uponSanitizeShadowNode,t,null),$e(t),Ke(t),We(t.content)&&Ze(t.content),1===(_?_(t):t.nodeType)){const e=b?b(t):t.shadowRoot;We(e)&&(Je(e),Ze(e))}Ue(j.afterSanitizeShadowDOM,e,null)},Je=function(e){const t=_?_(e):e.nodeType;if(1===t){const t=b?b(e):e.shadowRoot;We(t)&&(Je(t),Ze(t))}const n=v?v(e):e.childNodes;if(!n)return;const i=[];ed(n,e=>{id(i,e)});for(const e of i)Je(e);if(1===t){const t=x?x(e):null;if("string"==typeof t&&"template"===je(t)){const t=e.content;We(t)&&Je(t)}}};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,r=null,s=null,o=null;if(we=!e,we&&(e="\x3c!--\x3e"),"string"!=typeof e&&!qe(e)&&"string"!=typeof(e=function(e){switch(typeof e){case"string":return e;case"number":return hd(e);case"boolean":return pd(e);case"bigint":return md?md(e):"0";case"symbol":return fd?fd(e):"Symbol()";case"undefined":default:return gd(e);case"function":case"object":{if(null===e)return gd(e);const t=e,n=Ed(t,"toString");if("function"==typeof n){const e=n(t);return"string"==typeof e?e:gd(e)}return gd(e)}}}(e)))throw yd("dirty is not a string, aborting");if(!n.isSupported)return e;if(te||Me(t),n.removed=[],"string"==typeof e&&(de=!1),de){const t=x?x(e):e.nodeName;if("string"==typeof t){const e=je(t);if(!B[e]||U[e])throw yd("root node is forbidden and cannot be sanitized in-place")}if(Ve(e))throw yd("root node is clobbered and cannot be sanitized in-place");Je(e)}else if(qe(e))i=Fe("\x3c!----\x3e"),r=i.ownerDocument.importNode(e,!0),1===r.nodeType&&"BODY"===r.nodeName||"HTML"===r.nodeName?i=r:i.appendChild(r),Je(r);else{if(!ie&&!J&&!ee&&-1===e.indexOf("<"))return w&&re?w.createHTML(e):e;if(i=Fe(e),!i)return ie?null:re?S:""}i&&ne&&Re(i.firstChild);const l=Be(de?e:i);for(;s=l.nextNode();)$e(s),Ke(s),We(s.content)&&Ze(s.content);if(de)return J&&He(e),e;if(ie){if(J&&He(i),ae)for(o=C.call(i.ownerDocument);i.firstChild;)o.appendChild(i.firstChild);else o=i;return(V.shadowroot||V.shadowrootmode)&&(o=A.call(a,o,!0)),o}let c=ee?i.outerHTML:i.innerHTML;return ee&&B["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&bd(Ud,i.ownerDocument.doctype.name)&&(c="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+c),J&&ed([O,L,D],e=>{c=cd(c,e," ")}),w&&re?w.createHTML(c):c},n.setConfig=function(){Me(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),te=!0},n.clearConfig=function(){Oe=null,te=!1},n.isValidAttribute=function(e,t,n){Oe||Me({});const i=je(e),a=je(t);return Ge(i,a,n)},n.addHook=function(e,t){"function"==typeof t&&id(j[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=td(j[e],t);return-1===n?void 0:ad(j[e],n,1)[0]}return nd(j[e])},n.removeHooks=function(e){j[e]=[]},n.removeAllHooks=function(){j={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}(),Xd={dragDropClassname:"is-dragdrop",inputSelector:'input[type="file"]',resultsSelector:".file-input__files",deleteButtonSelector:"[data-file-delete]",deleteFileAttr:"data-file-delete",fileTemplate:function(e,t){return"\n <li>".concat(e,' <button type="button" data-file-delete="').concat(t,'" class="file-input__delete">\n <svg class="icon icon--small icon--trash icon--danger" aria-hidden="true">\n <use xlink:href="/sprite.svg#trash"></use>\n </svg>\n <span class="sr-only">Odstrániť súbor ').concat(e,"</span>\n </button>\n </li>\n ")}},Kd=function(){return g(function e(t,n){return f(this,e),this.element=t,this.config=_(_({},Xd),n),this.input=null,this.files=[],this.results=null,this.removeButtons=[],this.onInputChange=this.onInputChange.bind(this),this.onRemoveButtonClick=this.onRemoveButtonClick.bind(this),this.highlight=this.highlight.bind(this),this.unhighlight=this.unhighlight.bind(this),this.onDrop=this.onDrop.bind(this),this.preventDefaults=this.preventDefaults.bind(this),this.init(),this},[{key:"init",value:function(){var e=this;this.input=this.element.querySelector(this.config.inputSelector),this.results=this.element.querySelector(this.config.resultsSelector),this.input&&this.results&&(this.input.addEventListener("change",this.onInputChange),["dragenter","dragover","dragleave","drop"].forEach(function(t){e.element.addEventListener(t,e.preventDefaults,!1),document.body.addEventListener(t,e.preventDefaults,!1)}),["dragenter","dragover"].forEach(function(t){e.element.addEventListener(t,e.highlight,!1)}),["dragleave","drop"].forEach(function(t){e.element.addEventListener(t,e.unhighlight,!1)}),this.element.addEventListener("drop",this.onDrop))}},{key:"onInputChange",value:function(){var e,t=this;return!(!this.input||!this.results)&&(this.files=Array.from(null!==(e=this.input.files)&&void 0!==e?e:[]),!!this.files&&(this.results.innerHTML="",this.files.map(function(e,n){return t.config.fileTemplate(Yd.sanitize(e.name,{ALLOWED_TAGS:[]}),n)}).forEach(function(e){t.results.appendChild(Yd.sanitize(e,{ADD_TAGS:["use"],RETURN_DOM_FRAGMENT:!0}))}),this.removeButtons=Array.from(this.results.querySelectorAll(this.config.deleteButtonSelector)),void this.removeButtons.forEach(function(e){return e.addEventListener("click",t.onRemoveButtonClick)})))}},{key:"onDrop",value:function(e){var t;this.input&&(this.input.files=(null==e||null===(t=e.dataTransfer)||void 0===t?void 0:t.files)||(new DataTransfer).files,this.onInputChange())}},{key:"onRemoveButtonClick",value:function(e){if(this.input){var t=new DataTransfer,n=e.currentTarget,i=Number(n.getAttribute(this.config.deleteFileAttr));this.files.splice(i,1),this.files.forEach(function(e){return t.items.add(e)}),this.input.files=t.files,this.onInputChange()}}},{key:"highlight",value:function(){this.element.classList.add(this.config.dragDropClassname)}},{key:"unhighlight",value:function(){this.element.classList.remove(this.config.dragDropClassname)}},{key:"preventDefaults",value:function(e){e.preventDefault(),e.stopPropagation()}},{key:"destroy",value:function(){var e=this;this.input&&(this.input.removeEventListener("change",this.onInputChange),["dragenter","dragover","dragleave","drop"].forEach(function(t){e.element.removeEventListener(t,e.preventDefaults,!1),document.body.removeEventListener(t,e.preventDefaults,!1)}),["dragenter","dragover"].forEach(function(t){e.element.removeEventListener(t,e.highlight,!1)}),["dragleave","drop"].forEach(function(t){e.element.removeEventListener(t,e.unhighlight,!1)}),this.element.removeEventListener("drop",this.onDrop))}},{key:"update",value:function(){this.destroy(),this.init()}}])}(),Zd=["id","isDisabled","isInvalid","name","size","className"],Jd="file-input",Qd="default",eu=function(e){var t=e.id,n=e.isDisabled;e.isInvalid;var i=e.name,a=e.size,r=void 0===a?Qd:a,s=e.className,o=x(e,Zd),l=N(U(Kd),1)[0],c=G(t),d=V(Jd,b({},"".concat(Jd,"--").concat(r),r!==Qd),s);return F.jsxs("div",{className:d,"data-file-input":!0,ref:l,children:[F.jsx("input",_({className:"".concat(Jd,"__control"),id:c,name:i||t,disabled:n,type:"file"},o)),F.jsx("label",{size:r,htmlFor:c,"aria-hidden":"true",className:"".concat(Jd,"__button"),children:"Vybrať súbor"}),F.jsx("ul",{className:"".concat(Jd,"__files")})]})};eu.displayName="File";var tu=["className","id","isDisabled","isInvalid","isValid","isReadonly","placeholder","size","htmlType","width","searchIcon","name"],nu="text-input",iu="default",au="default",ru=e.forwardRef(function(e,t){var n=e.className,i=e.id,a=e.isDisabled,r=e.isInvalid,s=e.isValid,o=e.isReadonly,l=e.placeholder,c=e.size,d=void 0===c?iu:c,u=e.htmlType,h=void 0===u?"text":u,p=e.width,m=void 0===p?au:p,f=e.searchIcon,v=void 0===f?"none":f,g=e.name,y=x(e,tu),w="transient"===v,S="persistent"===v,N=V(nu,b(b({"is-invalid":r,"is-valid":s},"".concat(nu,"--").concat(d),d!==iu),"".concat(nu,"--").concat(m),m!==au),n),E=g||i,k=F.jsx("input",_({className:N,id:i,name:E,type:h,disabled:a,readOnly:o,placeholder:l,ref:t},y));return w||S?F.jsx("span",{className:V("text-input__wrapper",{"text-input__wrapper--search-icon":w,"text-input__wrapper--search-icon-with-placeholder":S}),children:k}):k});ru.displayName="TextInput";var su=["size","className","children"],ou="control-group__item",lu="default",cu=function(e){var t=e.size,n=void 0===t?lu:t,i=e.className,a=e.children,r=x(e,su),s=V(ou,i,b({},"".concat(ou,"--").concat(n),n!==lu));return F.jsx("div",_(_({className:s},r),{},{children:a}))};cu.displayName="GroupItem";var du=["control","addonPrefix","addonSuffix","size","className","isInvalid"],uu=["type"],hu=function(t){var n=t.control,i=t.addonPrefix,a=t.addonSuffix,r=t.size,s=t.className;t.isInvalid;var o=x(t,du),l=n.type,c=x(n,uu),d=function(t){return e.Children.map(t,function(t){if("string"==typeof t)return F.jsx(cu,{size:r,children:t});if(e.isValidElement(t)){var n=t.type,i="string"==typeof n;if(i&&(!i||"button"!==n&&"a"!==n))return F.jsx(cu,{size:r,children:t});var a=t.props&&"object"===C(t.props)&&"size"in t.props?{}:{size:r};return e.cloneElement(t,a)}return t})};return F.jsxs("div",_(_({className:V("control-group",s)},o),{},{children:[d(i),F.jsx(function(e){switch(l){case"autocomplete":return F.jsx(ko,_({},e));case"select":return F.jsx(xo,_({},e));default:return F.jsx(ru,_({},e))}},_(_({},c),{},{size:r})),d(a)]}))};hu.displayName="ControlGroup";var pu={nonEditableInput:!1,min:1,max:999,defaultValue:1},mu=function(){return g(function e(t,n){f(this,e),this.element=t,this.config=_(_({},pu),n),this.input=null,this.numberDisplay=null,this.add=null,this.remove=null,this.element.ODS_InputStepper=this,this.handleButtonClick=this.handleButtonClick.bind(this),this.handleInputClick=this.handleInputClick.bind(this),this.handleInputChange=this.handleInputChange.bind(this),this.handleButtonState=this.handleButtonState.bind(this),this.init()},[{key:"handleInputClick",value:function(){this.input&&this.input.select()}},{key:"handleButtonState",value:function(){var e,t,n,i,a=this.config,r=a.min,s=a.max,o=this.config.nonEditableInput?parseInt(null!==(n=null===(i=this.numberDisplay)||void 0===i?void 0:i.textContent)&&void 0!==n?n:"0",10):parseInt(null!==(e=null===(t=this.input)||void 0===t?void 0:t.value)&&void 0!==e?e:"0",10);this.add&&"number"==typeof s&&o>=s?(this.add.setAttribute("aria-disabled","true"),this.add.setAttribute("disabled","true")):this.add&&(this.add.removeAttribute("aria-disabled"),this.add.removeAttribute("disabled")),this.remove&&"number"==typeof r&&o<=r?(this.remove.setAttribute("aria-disabled","true"),this.remove.setAttribute("disabled","true")):this.remove&&(this.remove.removeAttribute("aria-disabled"),this.remove.removeAttribute("disabled"))}},{key:"handleInputChange",value:function(e){var t=this.config,n=t.min,i=t.max,a=e.target;a&&(n&&Number(a.value)<=n&&(a.value=String(n)),i&&Number(a.value)>=i&&(a.value=String(i)))}},{key:"handleButtonClick",value:function(e){var t,n,i,a,r=this.config,s=r.min,o=r.max,l=e.target,c=this.config.nonEditableInput?parseInt(null!==(i=null===(a=this.numberDisplay)||void 0===a?void 0:a.textContent)&&void 0!==i?i:"0",10):parseInt(null!==(t=null===(n=this.input)||void 0===n?void 0:n.value)&&void 0!==t?t:"0",10);if(l.classList.contains("input-stepper__button--minus")){if(s&&c<=s){if("true"===l.getAttribute("disabled"))return;return l.setAttribute("aria-disabled","true"),void l.setAttribute("disabled","true")}c-=1}if(l.classList.contains("input-stepper__button--plus")){if(o&&c>=o){if("true"===l.getAttribute("disabled"))return;return l.setAttribute("aria-disabled","true"),void l.setAttribute("disabled","true")}c+=1}!this.config.nonEditableInput&&this.input?this.input.value=String(c):this.numberDisplay&&(this.numberDisplay.textContent=String(c)),this.handleButtonState()}},{key:"init",value:function(){var e=this.element.getAttribute("data-inputstepper"),t={};try{e&&e.trim().startsWith("{")&&(t=JSON.parse(e))}catch(e){t={}}this.config=_(_({},this.config),t),this.config.nonEditableInput?(this.numberDisplay=this.element.querySelector(".input-stepper__number"),this.numberDisplay&&(this.numberDisplay.textContent=String(this.config.defaultValue))):(this.input=this.element.querySelector(".input-stepper__field"),this.input&&(this.input.value=String(this.config.defaultValue))),this.add=this.element.querySelector(".input-stepper__button--plus"),this.remove=this.element.querySelector(".input-stepper__button--minus");var n=this.config.defaultValue;void 0!==n&&(!this.config.nonEditableInput&&this.input?this.input.value=String(n):this.numberDisplay&&(this.numberDisplay.textContent=String(n))),this.element.classList.contains("input-stepper--disabled")||(this.add&&this.add.addEventListener("click",this.handleButtonClick),this.remove&&this.remove.addEventListener("click",this.handleButtonClick),!this.config.nonEditableInput&&this.input&&(this.input.addEventListener("click",this.handleInputClick),this.input.addEventListener("change",this.handleInputChange)),this.handleButtonState())}},{key:"update",value:function(){this.destroy(),this.init()}},{key:"destroy",value:function(){!this.config.nonEditableInput&&this.input&&(this.input.removeEventListener("click",this.handleInputClick),this.input.removeEventListener("change",this.handleInputChange)),this.add&&this.add.removeEventListener("click",this.handleButtonClick),this.remove&&this.remove.removeEventListener("click",this.handleButtonClick)}}],[{key:"getInstance",value:function(e){return e&&e.ODS_InputStepper?e.ODS_InputStepper:null}}])}(),fu=["className","inputClassName","id","config","isDisabled","isInvalid","nonEditableInput"],vu=["name"],gu="input-stepper",bu=function(e){var t=e.className,n=e.inputClassName,i=e.id,a=e.config,r=e.isDisabled,s=e.isInvalid,o=e.nonEditableInput,l=void 0!==o&&o,c=x(e,fu),d=N(U(mu,{nonEditableInput:l}),1)[0],u=c.name,h=void 0===u?i:u,p=x(c,vu),m=V("".concat(gu,"__field"),n);return F.jsxs("div",_(_({className:V(gu,t,b(b({},"".concat(gu,"--disabled"),r),"".concat(gu,"--invalid"),s)),ref:d,"data-inputstepper":!a||JSON.stringify(a)},p),{},{children:[F.jsx("button",{disabled:r,className:"".concat(gu,"__button ").concat(gu,"__button--minus"),"aria-label":"znížiť počet"}),l||null!=a&&a.nonEditableInput?F.jsx("p",{id:i,className:"".concat(gu,"__number")}):F.jsx(ru,{className:m,id:i,name:h,disabled:r,isInvalid:s,htmlType:"number",inputMode:"numeric"}),F.jsx("button",{disabled:r,className:"".concat(gu,"__button ").concat(gu,"__button--plus"),"aria-label":"zvýšiť počet"})]}))};bu.displayName="InputStepper";var yu,_u,xu=["id","isChecked","isDisabled","isInvalid","name","size","value","className"],wu="radio",Su="default",Nu=function(e){var t=e.id,n=e.isChecked,i=e.isDisabled,a=e.isInvalid,r=e.name,s=e.size,o=void 0===s?Su:s,l=e.value,c=e.className,d=x(e,xu),u=V(wu,c,b(b({},"".concat(wu,"--").concat(o),o!==Su),"is-invalid",a)),h=l||t;return F.jsxs(F.Fragment,{children:[F.jsx("input",_({className:u,type:"radio",id:t,name:r,defaultChecked:n,disabled:i,value:h},d)),F.jsx("div",{className:"".concat(wu,"-display")})]})};function Eu(e){return"object"==typeof e&&"function"==typeof e.to}function ku(e){e.parentElement.removeChild(e)}function Cu(e){return null!=e}function Tu(e){e.preventDefault()}function Au(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function ju(e,t,n){n>0&&(Mu(e,t),setTimeout(function(){Pu(e,t)},n))}function Ou(e){return Math.max(Math.min(e,100),0)}function Lu(e){return Array.isArray(e)?e:[e]}function Du(e){var t=(e=String(e)).split(".");return t.length>1?t[1].length:0}function Mu(e,t){e.classList&&!/\s/.test(t)?e.classList.add(t):e.className+=" "+t}function Pu(e,t){e.classList&&!/\s/.test(t)?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function Iu(e){var t=void 0!==window.pageXOffset,n="CSS1Compat"===(e.compatMode||"");return{x:t?window.pageXOffset:n?e.documentElement.scrollLeft:e.body.scrollLeft,y:t?window.pageYOffset:n?e.documentElement.scrollTop:e.body.scrollTop}}function Ru(e,t){return 100/(t-e)}function zu(e,t,n){return 100*t/(e[n+1]-e[n])}function Fu(e,t){for(var n=1;e>=t[n];)n+=1;return n}Nu.displayName="Radio",function(e){e.Range="range",e.Steps="steps",e.Positions="positions",e.Count="count",e.Values="values"}(yu||(yu={})),function(e){e[e.None=-1]="None",e[e.NoValue=0]="NoValue",e[e.LargeValue=1]="LargeValue",e[e.SmallValue=2]="SmallValue"}(_u||(_u={}));var Bu=function(){function e(e,t,n){var i;this.xPct=[],this.xVal=[],this.xSteps=[],this.xNumSteps=[],this.xHighestCompleteStep=[],this.xSteps=[n||!1],this.xNumSteps=[!1],this.snap=t;var a=[];for(Object.keys(e).forEach(function(t){a.push([Lu(e[t]),t])}),a.sort(function(e,t){return e[0][0]-t[0][0]}),i=0;i<a.length;i++)this.handleEntryPoint(a[i][1],a[i][0]);for(this.xNumSteps=this.xSteps.slice(0),i=0;i<this.xNumSteps.length;i++)this.handleStepPoint(i,this.xNumSteps[i])}return e.prototype.getDistance=function(e){for(var t=[],n=0;n<this.xNumSteps.length-1;n++)t[n]=zu(this.xVal,e,n);return t},e.prototype.getAbsoluteDistance=function(e,t,n){var i,a=0;if(e<this.xPct[this.xPct.length-1])for(;e>this.xPct[a+1];)a++;else e===this.xPct[this.xPct.length-1]&&(a=this.xPct.length-2);n||e!==this.xPct[a+1]||a++,null===t&&(t=[]);var r=1,s=t[a],o=0,l=0,c=0,d=0;for(i=n?(e-this.xPct[a])/(this.xPct[a+1]-this.xPct[a]):(this.xPct[a+1]-e)/(this.xPct[a+1]-this.xPct[a]);s>0;)o=this.xPct[a+1+d]-this.xPct[a+d],t[a+d]*r+100-100*i>100?(l=o*i,r=(s-100*i)/t[a+d],i=1):(l=t[a+d]*o/100*r,r=0),n?(c-=l,this.xPct.length+d>=1&&d--):(c+=l,this.xPct.length-d>=1&&d++),s=t[a+d]*r;return e+c},e.prototype.toStepping=function(e){return function(e,t,n){if(n>=e.slice(-1)[0])return 100;var i=Fu(n,e),a=e[i-1],r=e[i],s=t[i-1],o=t[i];return s+function(e,t){return zu(e,e[0]<0?t+Math.abs(e[0]):t-e[0],0)}([a,r],n)/Ru(s,o)}(this.xVal,this.xPct,e)},e.prototype.fromStepping=function(e){return function(e,t,n){if(n>=100)return e.slice(-1)[0];var i=Fu(n,t),a=e[i-1],r=e[i],s=t[i-1];return function(e,t){return t*(e[1]-e[0])/100+e[0]}([a,r],(n-s)*Ru(s,t[i]))}(this.xVal,this.xPct,e)},e.prototype.getStep=function(e){return function(e,t,n,i){if(100===i)return i;var a=Fu(i,e),r=e[a-1],s=e[a];return n?i-r>(s-r)/2?s:r:t[a-1]?e[a-1]+function(e,t){return Math.round(e/t)*t}(i-e[a-1],t[a-1]):i}(this.xPct,this.xSteps,this.snap,e)},e.prototype.getDefaultStep=function(e,t,n){var i=Fu(e,this.xPct);return(100===e||t&&e===this.xPct[i-1])&&(i=Math.max(i-1,1)),(this.xVal[i]-this.xVal[i-1])/n},e.prototype.getNearbySteps=function(e){var t=Fu(e,this.xPct);return{stepBefore:{startValue:this.xVal[t-2],step:this.xNumSteps[t-2],highestStep:this.xHighestCompleteStep[t-2]},thisStep:{startValue:this.xVal[t-1],step:this.xNumSteps[t-1],highestStep:this.xHighestCompleteStep[t-1]},stepAfter:{startValue:this.xVal[t],step:this.xNumSteps[t],highestStep:this.xHighestCompleteStep[t]}}},e.prototype.countStepDecimals=function(){var e=this.xNumSteps.map(Du);return Math.max.apply(null,e)},e.prototype.hasNoSize=function(){return this.xVal[0]===this.xVal[this.xVal.length-1]},e.prototype.convert=function(e){return this.getStep(this.toStepping(e))},e.prototype.handleEntryPoint=function(e,t){var n;if(!Au(n="min"===e?0:"max"===e?100:parseFloat(e))||!Au(t[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");this.xPct.push(n),this.xVal.push(t[0]);var i=Number(t[1]);n?this.xSteps.push(!isNaN(i)&&i):isNaN(i)||(this.xSteps[0]=i),this.xHighestCompleteStep.push(0)},e.prototype.handleStepPoint=function(e,t){if(t)if(this.xVal[e]!==this.xVal[e+1]){this.xSteps[e]=zu([this.xVal[e],this.xVal[e+1]],t,0)/Ru(this.xPct[e],this.xPct[e+1]);var n=(this.xVal[e+1]-this.xVal[e])/this.xNumSteps[e],i=Math.ceil(Number(n.toFixed(3))-1),a=this.xVal[e]+this.xNumSteps[e]*i;this.xHighestCompleteStep[e]=a}else this.xSteps[e]=this.xHighestCompleteStep[e]=this.xVal[e]},e}(),Hu={to:function(e){return void 0===e?"":e.toFixed(2)},from:Number},Vu={target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",touchArea:"touch-area",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",textDirectionLtr:"txt-dir-ltr",textDirectionRtl:"txt-dir-rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"},Wu=".__tooltips",qu=".__aria";function Uu(e,t){if(!Au(t))throw new Error("noUiSlider: 'step' is not numeric.");e.singleStep=t}function $u(e,t){if(!Au(t))throw new Error("noUiSlider: 'keyboardPageMultiplier' is not numeric.");e.keyboardPageMultiplier=t}function Gu(e,t){if(!Au(t))throw new Error("noUiSlider: 'keyboardMultiplier' is not numeric.");e.keyboardMultiplier=t}function Yu(e,t){if(!Au(t))throw new Error("noUiSlider: 'keyboardDefaultStep' is not numeric.");e.keyboardDefaultStep=t}function Xu(e,t){if("object"!=typeof t||Array.isArray(t))throw new Error("noUiSlider: 'range' is not an object.");if(void 0===t.min||void 0===t.max)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");e.spectrum=new Bu(t,e.snap||!1,e.singleStep)}function Ku(e,t){if(t=Lu(t),!Array.isArray(t)||!t.length)throw new Error("noUiSlider: 'start' option is incorrect.");e.handles=t.length,e.start=t}function Zu(e,t){if("boolean"!=typeof t)throw new Error("noUiSlider: 'snap' option must be a boolean.");e.snap=t}function Ju(e,t){if("boolean"!=typeof t)throw new Error("noUiSlider: 'animate' option must be a boolean.");e.animate=t}function Qu(e,t){if("number"!=typeof t)throw new Error("noUiSlider: 'animationDuration' option must be a number.");e.animationDuration=t}function eh(e,t){var n,i=[!1];if("lower"===t?t=[!0,!1]:"upper"===t&&(t=[!1,!0]),!0===t||!1===t){for(n=1;n<e.handles;n++)i.push(t);i.push(!1)}else{if(!Array.isArray(t)||!t.length||t.length!==e.handles+1)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");i=t}e.connect=i}function th(e,t){switch(t){case"horizontal":e.ort=0;break;case"vertical":e.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invalid.")}}function nh(e,t){if(!Au(t))throw new Error("noUiSlider: 'margin' option must be numeric.");0!==t&&(e.margin=e.spectrum.getDistance(t))}function ih(e,t){if(!Au(t))throw new Error("noUiSlider: 'limit' option must be numeric.");if(e.limit=e.spectrum.getDistance(t),!e.limit||e.handles<2)throw new Error("noUiSlider: 'limit' option is only supported on linear sliders with 2 or more handles.")}function ah(e,t){var n;if(!Au(t)&&!Array.isArray(t))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(t)&&2!==t.length&&!Au(t[0])&&!Au(t[1]))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(0!==t){for(Array.isArray(t)||(t=[t,t]),e.padding=[e.spectrum.getDistance(t[0]),e.spectrum.getDistance(t[1])],n=0;n<e.spectrum.xNumSteps.length-1;n++)if(e.padding[0][n]<0||e.padding[1][n]<0)throw new Error("noUiSlider: 'padding' option must be a positive number(s).");var i=t[0]+t[1],a=e.spectrum.xVal[0];if(i/(e.spectrum.xVal[e.spectrum.xVal.length-1]-a)>1)throw new Error("noUiSlider: 'padding' option must not exceed 100% of the range.")}}function rh(e,t){switch(t){case"ltr":e.dir=0;break;case"rtl":e.dir=1;break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function sh(e,t){if("string"!=typeof t)throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var n=t.indexOf("tap")>=0,i=t.indexOf("drag")>=0,a=t.indexOf("fixed")>=0,r=t.indexOf("snap")>=0,s=t.indexOf("hover")>=0,o=t.indexOf("unconstrained")>=0,l=t.indexOf("invert-connects")>=0,c=t.indexOf("drag-all")>=0,d=t.indexOf("smooth-steps")>=0;if(a){if(2!==e.handles)throw new Error("noUiSlider: 'fixed' behaviour must be used with 2 handles");nh(e,e.start[1]-e.start[0])}if(l&&2!==e.handles)throw new Error("noUiSlider: 'invert-connects' behaviour must be used with 2 handles");if(o&&(e.margin||e.limit))throw new Error("noUiSlider: 'unconstrained' behaviour cannot be used with margin or limit");e.events={tap:n||r,drag:i,dragAll:c,smoothSteps:d,fixed:a,snap:r,hover:s,unconstrained:o,invertConnects:l}}function oh(e,t){if(!1!==t)if(!0===t||Eu(t)){e.tooltips=[];for(var n=0;n<e.handles;n++)e.tooltips.push(t)}else{if((t=Lu(t)).length!==e.handles)throw new Error("noUiSlider: must pass a formatter for all handles.");t.forEach(function(e){if("boolean"!=typeof e&&!Eu(e))throw new Error("noUiSlider: 'tooltips' must be passed a formatter or 'false'.")}),e.tooltips=t}}function lh(e,t){if(t.length!==e.handles)throw new Error("noUiSlider: must pass a attributes for all handles.");e.handleAttributes=t}function ch(e,t){if(!Eu(t))throw new Error("noUiSlider: 'ariaFormat' requires 'to' method.");e.ariaFormat=t}function dh(e,t){if(!function(e){return Eu(e)&&"function"==typeof e.from}(t))throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.");e.format=t}function uh(e,t){if("boolean"!=typeof t)throw new Error("noUiSlider: 'keyboardSupport' option must be a boolean.");e.keyboardSupport=t}function hh(e,t){e.documentElement=t}function ph(e,t){if("string"!=typeof t&&!1!==t)throw new Error("noUiSlider: 'cssPrefix' must be a string or `false`.");e.cssPrefix=t}function mh(e,t){if("object"!=typeof t)throw new Error("noUiSlider: 'cssClasses' must be an object.");"string"==typeof e.cssPrefix?(e.cssClasses={},Object.keys(t).forEach(function(n){e.cssClasses[n]=e.cssPrefix+t[n]})):e.cssClasses=t}function fh(e){var t={margin:null,limit:null,padding:null,animate:!0,animationDuration:300,ariaFormat:Hu,format:Hu},n={step:{r:!1,t:Uu},keyboardPageMultiplier:{r:!1,t:$u},keyboardMultiplier:{r:!1,t:Gu},keyboardDefaultStep:{r:!1,t:Yu},start:{r:!0,t:Ku},connect:{r:!0,t:eh},direction:{r:!0,t:rh},snap:{r:!1,t:Zu},animate:{r:!1,t:Ju},animationDuration:{r:!1,t:Qu},range:{r:!0,t:Xu},orientation:{r:!1,t:th},margin:{r:!1,t:nh},limit:{r:!1,t:ih},padding:{r:!1,t:ah},behaviour:{r:!0,t:sh},ariaFormat:{r:!1,t:ch},format:{r:!1,t:dh},tooltips:{r:!1,t:oh},keyboardSupport:{r:!0,t:uh},documentElement:{r:!1,t:hh},cssPrefix:{r:!0,t:ph},cssClasses:{r:!0,t:mh},handleAttributes:{r:!1,t:lh}},i={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses:Vu,keyboardPageMultiplier:5,keyboardMultiplier:1,keyboardDefaultStep:10};e.format&&!e.ariaFormat&&(e.ariaFormat=e.format),Object.keys(n).forEach(function(a){if(Cu(e[a])||void 0!==i[a])n[a].t(t,Cu(e[a])?e[a]:i[a]);else if(n[a].r)throw new Error("noUiSlider: '"+a+"' is required.")}),t.pips=e.pips;var a=document.createElement("div"),r=void 0!==a.style.msTransform,s=void 0!==a.style.transform;return t.transformRule=s?"transform":r?"msTransform":"webkitTransform",t.style=[["left","top"],["right","bottom"]][t.dir][t.ort],t}function vh(e,t,n){var i,a,r,s,o,l,c,d=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},u=window.CSS&&CSS.supports&&CSS.supports("touch-action","none")&&function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(e){}return e}(),h=e,p=t.spectrum,m=[],f=[],v=[],g=0,b={},y=!1,_=e.ownerDocument,x=t.documentElement||_.documentElement,w=_.body,S="rtl"===_.dir||1===t.ort?0:100;function N(e,t){var n=_.createElement("div");return t&&Mu(n,t),e.appendChild(n),n}function E(e,n){var i=N(e,t.cssClasses.origin),a=N(i,t.cssClasses.handle);if(N(a,t.cssClasses.touchArea),a.setAttribute("data-handle",String(n)),t.keyboardSupport&&(a.setAttribute("tabindex","0"),a.addEventListener("keydown",function(e){return function(e,n){if(T()||A(n))return!1;var i=["Left","Right"],a=["Down","Up"],r=["PageDown","PageUp"],s=["Home","End"];t.dir&&!t.ort?i.reverse():t.ort&&!t.dir&&(a.reverse(),r.reverse());var o,l=e.key.replace("Arrow",""),c=l===r[0],d=l===r[1],u=l===a[0]||l===i[0]||c,h=l===a[1]||l===i[1]||d,v=l===s[1];if(!(u||h||l===s[0]||v))return!0;if(e.preventDefault(),h||u){var g=u?0:1,b=ae(n)[g];if(null===b)return!1;!1===b&&(b=p.getDefaultStep(f[n],u,t.keyboardDefaultStep)),b*=d||c?t.keyboardPageMultiplier:t.keyboardMultiplier,b=Math.max(b,1e-7),b*=u?-1:1,o=m[n]+b}else o=v?t.spectrum.xVal[t.spectrum.xVal.length-1]:t.spectrum.xVal[0];return Q(n,p.toStepping(o),!0,!0),G("slide",n),G("update",n),G("change",n),G("set",n),!1}(e,n)})),void 0!==t.handleAttributes){var r=t.handleAttributes[n];Object.keys(r).forEach(function(e){a.setAttribute(e,r[e])})}return a.setAttribute("role","slider"),a.setAttribute("aria-orientation",t.ort?"vertical":"horizontal"),0===n?Mu(a,t.cssClasses.handleLower):n===t.handles-1&&Mu(a,t.cssClasses.handleUpper),i.handle=a,i}function k(e,n){return!!n&&N(e,t.cssClasses.connect)}function C(e,n){return!(!t.tooltips||!t.tooltips[n])&&N(e.firstChild,t.cssClasses.tooltip)}function T(){return h.hasAttribute("disabled")}function A(e){return r[e].hasAttribute("disabled")}function j(){l&&($("update"+Wu),l.forEach(function(e){e&&ku(e)}),l=null)}function O(){j(),l=r.map(C),U("update"+Wu,function(e,n,i){if(l&&t.tooltips&&!1!==l[n]){var a=e[n];!0!==t.tooltips[n]&&(a=t.tooltips[n].to(i[n])),l[n].innerHTML=a}})}function L(e,t){return e.map(function(e){return p.fromStepping(t?p.getStep(e):e)})}function D(){o&&(ku(o),o=null)}function M(e){D();var n=function(e){function t(e,t){return Number((e+t).toFixed(7))}var n,i=function(e){if(e.mode===yu.Range||e.mode===yu.Steps)return p.xVal;if(e.mode===yu.Count){if(e.values<2)throw new Error("noUiSlider: 'values' (>= 2) required for mode 'count'.");for(var t=e.values-1,n=100/t,i=[];t--;)i[t]=t*n;return i.push(100),L(i,e.stepped)}return e.mode===yu.Positions?L(e.values,e.stepped):e.mode===yu.Values?e.stepped?e.values.map(function(e){return p.fromStepping(p.getStep(p.toStepping(e)))}):e.values:[]}(e),a={},r=p.xVal[0],s=p.xVal[p.xVal.length-1],o=!1,l=!1,c=0;return n=i.slice().sort(function(e,t){return e-t}),i=n.filter(function(e){return!this[e]&&(this[e]=!0)},{}),i[0]!==r&&(i.unshift(r),o=!0),i[i.length-1]!==s&&(i.push(s),l=!0),i.forEach(function(n,r){var s,d,u,h,m,f,v,g,b,y,_=n,x=i[r+1],w=e.mode===yu.Steps;for(w&&(s=p.xNumSteps[r]),s||(s=x-_),void 0===x&&(x=_),s=Math.max(s,1e-7),d=_;d<=x;d=t(d,s)){for(g=(m=(h=p.toStepping(d))-c)/(e.density||1),y=m/(b=Math.round(g)),u=1;u<=b;u+=1)a[(f=c+u*y).toFixed(5)]=[p.fromStepping(f),0];v=i.indexOf(d)>-1?_u.LargeValue:w?_u.SmallValue:_u.NoValue,!r&&o&&d!==x&&(v=0),d===x&&l||(a[h.toFixed(5)]=[d,v]),c=h}}),a}(e),i=e.filter,a=e.format||{to:function(e){return String(Math.round(e))}};return o=h.appendChild(function(e,n,i){var a,r,s=_.createElement("div"),o=((a={})[_u.None]="",a[_u.NoValue]=t.cssClasses.valueNormal,a[_u.LargeValue]=t.cssClasses.valueLarge,a[_u.SmallValue]=t.cssClasses.valueSub,a),l=((r={})[_u.None]="",r[_u.NoValue]=t.cssClasses.markerNormal,r[_u.LargeValue]=t.cssClasses.markerLarge,r[_u.SmallValue]=t.cssClasses.markerSub,r),c=[t.cssClasses.valueHorizontal,t.cssClasses.valueVertical],d=[t.cssClasses.markerHorizontal,t.cssClasses.markerVertical];function u(e,n){var i=n===t.cssClasses.value,a=i?o:l;return n+" "+(i?c:d)[t.ort]+" "+a[e]}return Mu(s,t.cssClasses.pips),Mu(s,0===t.ort?t.cssClasses.pipsHorizontal:t.cssClasses.pipsVertical),Object.keys(e).forEach(function(a){!function(e,a,r){if((r=n?n(a,r):r)!==_u.None){var o=N(s,!1);o.className=u(r,t.cssClasses.marker),o.style[t.style]=e+"%",r>_u.NoValue&&((o=N(s,!1)).className=u(r,t.cssClasses.value),o.setAttribute("data-value",String(a)),o.style[t.style]=e+"%",o.innerHTML=String(i.to(a)))}}(a,e[a][0],e[a][1])}),s}(n,i,a))}function P(){var e=i.getBoundingClientRect(),n="offset"+["Width","Height"][t.ort];return 0===t.ort?e.width||i[n]:e.height||i[n]}function I(e,n,i,a){var r=function(r){var s,o,l=function(e,t,n){var i=0===e.type.indexOf("touch"),a=0===e.type.indexOf("mouse"),r=0===e.type.indexOf("pointer"),s=0,o=0;if(0===e.type.indexOf("MSPointer")&&(r=!0),"mousedown"===e.type&&!e.buttons&&!e.touches)return!1;if(i){var l=function(t){var i=t.target;return i===n||n.contains(i)||e.composed&&e.composedPath().shift()===n};if("touchstart"===e.type){var c=Array.prototype.filter.call(e.touches,l);if(c.length>1)return!1;s=c[0].pageX,o=c[0].pageY}else{var d=Array.prototype.find.call(e.changedTouches,l);if(!d)return!1;s=d.pageX,o=d.pageY}}return t=t||Iu(_),(a||r)&&(s=e.clientX+t.x,o=e.clientY+t.y),e.pageOffset=t,e.points=[s,o],e.cursor=a||r,e}(r,a.pageOffset,a.target||n);return!!l&&!(T()&&!a.doNotReject)&&(s=h,o=t.cssClasses.tap,!((s.classList?s.classList.contains(o):new RegExp("\\b"+o+"\\b").test(s.className))&&!a.doNotReject)&&!(e===d.start&&void 0!==l.buttons&&l.buttons>1)&&(!a.hover||!l.buttons)&&(u||l.preventDefault(),l.calcPoint=l.points[t.ort],void i(l,a)))},s=[];return e.split(" ").forEach(function(e){n.addEventListener(e,r,!!u&&{passive:!0}),s.push([e,r])}),s}function R(e){var n,a,r,s,o,l,c=100*(e-(n=i,a=t.ort,r=n.getBoundingClientRect(),o=(s=n.ownerDocument).documentElement,l=Iu(s),/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(l.x=0),a?r.top+l.y-o.clientTop:r.left+l.x-o.clientLeft))/P();return c=Ou(c),t.dir?100-c:c}function z(e,t){"mouseout"===e.type&&"HTML"===e.target.nodeName&&null===e.relatedTarget&&B(e,t)}function F(e,n){if(-1===navigator.appVersion.indexOf("MSIE 9")&&0===e.buttons&&0!==n.buttonsProperty)return B(e,n);var i=(t.dir?-1:1)*(e.calcPoint-n.startCalcPoint);K(i>0,100*i/n.baseSize,n.locations,n.handleNumbers,n.connect)}function B(e,n){n.handle&&(Pu(n.handle,t.cssClasses.active),g-=1),n.listeners.forEach(function(e){x.removeEventListener(e[0],e[1])}),0===g&&(Pu(h,t.cssClasses.drag),J(),e.cursor&&(w.style.cursor="",w.removeEventListener("selectstart",Tu))),t.events.smoothSteps&&(n.handleNumbers.forEach(function(e){Q(e,f[e],!0,!0,!1,!1)}),n.handleNumbers.forEach(function(e){G("update",e)})),n.handleNumbers.forEach(function(e){G("change",e),G("set",e),G("end",e)})}function H(e,n){if(!n.handleNumbers.some(A)){var i;1===n.handleNumbers.length&&(i=r[n.handleNumbers[0]].children[0],g+=1,Mu(i,t.cssClasses.active)),e.stopPropagation();var a=[],s=I(d.move,x,F,{target:e.target,handle:i,connect:n.connect,listeners:a,startCalcPoint:e.calcPoint,baseSize:P(),pageOffset:e.pageOffset,handleNumbers:n.handleNumbers,buttonsProperty:e.buttons,locations:f.slice()}),o=I(d.end,x,B,{target:e.target,handle:i,listeners:a,doNotReject:!0,handleNumbers:n.handleNumbers}),l=I("mouseout",x,z,{target:e.target,handle:i,listeners:a,doNotReject:!0,handleNumbers:n.handleNumbers});a.push.apply(a,s.concat(o,l)),e.cursor&&(w.style.cursor=getComputedStyle(e.target).cursor,r.length>1&&Mu(h,t.cssClasses.drag),w.addEventListener("selectstart",Tu,!1)),n.handleNumbers.forEach(function(e){G("start",e)})}}function V(e){e.stopPropagation();var n=R(e.calcPoint),i=function(e){var t=100,n=!1;return r.forEach(function(i,a){if(!A(a)){var r=f[a],s=Math.abs(r-e);(s<t||s<=t&&e>r||100===s&&100===t)&&(n=a,t=s)}}),n}(n);!1!==i&&(t.events.snap||ju(h,t.cssClasses.tap,t.animationDuration),Q(i,n,!0,!0),J(),G("slide",i,!0),G("update",i,!0),t.events.snap?H(e,{handleNumbers:[i]}):(G("change",i,!0),G("set",i,!0)))}function W(e){var t=R(e.calcPoint),n=p.getStep(t),i=p.fromStepping(n);Object.keys(b).forEach(function(e){"hover"===e.split(".")[0]&&b[e].forEach(function(e){e.call(se,i)})})}function q(e){e.fixed||r.forEach(function(e,t){I(d.start,e.children[0],H,{handleNumbers:[t]})}),e.tap&&I(d.start,i,V,{}),e.hover&&I(d.move,i,W,{hover:!0}),e.drag&&s.forEach(function(n,i){if(!1!==n&&0!==i&&i!==s.length-1){var a=r[i-1],o=r[i],l=[n],c=[a,o],u=[i-1,i];Mu(n,t.cssClasses.draggable),e.fixed&&(l.push(a.children[0]),l.push(o.children[0])),e.dragAll&&(c=r,u=v),l.forEach(function(e){I(d.start,e,H,{handles:c,handleNumbers:u,connect:n})})}})}function U(e,t){b[e]=b[e]||[],b[e].push(t),"update"===e.split(".")[0]&&r.forEach(function(e,t){G("update",t)})}function $(e){var t=e&&e.split(".")[0],n=t?e.substring(t.length):e;Object.keys(b).forEach(function(e){var i=e.split(".")[0],a=e.substring(i.length);t&&t!==i||n&&n!==a||function(e){return e===qu||e===Wu}(a)&&n!==a||delete b[e]})}function G(e,n,i){Object.keys(b).forEach(function(a){var r=a.split(".")[0];e===r&&b[a].forEach(function(e){e.call(se,m.map(t.format.to),n,m.slice(),i||!1,f.slice(),se)})})}function Y(e,n,i,a,s,o,l){var c;return r.length>1&&!t.events.unconstrained&&(a&&n>0&&(c=p.getAbsoluteDistance(e[n-1],t.margin,!1),i=Math.max(i,c)),s&&n<r.length-1&&(c=p.getAbsoluteDistance(e[n+1],t.margin,!0),i=Math.min(i,c))),r.length>1&&t.limit&&(a&&n>0&&(c=p.getAbsoluteDistance(e[n-1],t.limit,!1),i=Math.min(i,c)),s&&n<r.length-1&&(c=p.getAbsoluteDistance(e[n+1],t.limit,!0),i=Math.max(i,c))),t.padding&&(0===n&&(c=p.getAbsoluteDistance(0,t.padding[0],!1),i=Math.max(i,c)),n===r.length-1&&(c=p.getAbsoluteDistance(100,t.padding[1],!0),i=Math.min(i,c))),l||(i=p.getStep(i)),!((i=Ou(i))===e[n]&&!o)&&i}function X(e,n){var i=t.ort;return(i?n:e)+", "+(i?e:n)}function K(e,n,i,a,r){var s=i.slice(),o=a[0],l=t.events.smoothSteps,c=[!e,e],d=[e,!e];a=a.slice(),e&&a.reverse(),a.length>1?a.forEach(function(e,t){var i=Y(s,e,s[e]+n,c[t],d[t],!1,l);!1===i?n=0:(n=i-s[e],s[e]=i)}):c=d=[!0];var u=!1;a.forEach(function(e,t){u=Q(e,i[e]+n,c[t],d[t],!1,l)||u}),u&&(a.forEach(function(e){G("update",e),G("slide",e)}),null!=r&&G("drag",o))}function Z(e,n){return t.dir?100-e-n:e}function J(){v.forEach(function(e){var t=f[e]>50?-1:1,n=3+(r.length+t*e);r[e].style.zIndex=String(n)})}function Q(e,n,i,a,s,o){return s||(n=Y(f,e,n,i,a,!1,o)),!1!==n&&(function(e,n){f[e]=n,m[e]=p.fromStepping(n);var i="translate("+X(Z(n,0)-S+"%","0")+")";if(r[e].style[t.transformRule]=i,t.events.invertConnects&&f.length>1){var a=f.every(function(e,t,n){return 0===t||e>=n[t-1]});if(y!==!a)return y=!y,eh(t,t.connect.map(function(e){return!e})),void re()}ee(e),ee(e+1),y&&(ee(e-1),ee(e+2))}(e,n),!0)}function ee(e){if(s[e]){var n=f.slice();y&&n.sort(function(e,t){return e-t});var i=0,a=100;0!==e&&(i=n[e-1]),e!==s.length-1&&(a=n[e]);var r=a-i,o="translate("+X(Z(i,r)+"%","0")+")",l="scale("+X(r/100,"1")+")";s[e].style[t.transformRule]=o+" "+l}}function te(e,n){return null===e||!1===e||void 0===e?f[n]:("number"==typeof e&&(e=String(e)),!1!==(e=t.format.from(e))&&(e=p.toStepping(e)),!1===e||isNaN(e)?f[n]:e)}function ne(e,n,i){var a=Lu(e),r=void 0===f[0];n=void 0===n||n,t.animate&&!r&&ju(h,t.cssClasses.tap,t.animationDuration),v.forEach(function(e){Q(e,te(a[e],e),!0,!1,i)});var s=1===v.length?0:1;if(r&&p.hasNoSize()&&(i=!0,f[0]=0,v.length>1)){var o=100/(v.length-1);v.forEach(function(e){f[e]=e*o})}for(;s<v.length;++s)v.forEach(function(e){Q(e,f[e],!0,!0,i)});J(),v.forEach(function(e){G("update",e),null!==a[e]&&n&&G("set",e)})}function ie(e){if(void 0===e&&(e=!1),e)return 1===m.length?m[0]:m.slice(0);var n=m.map(t.format.to);return 1===n.length?n[0]:n}function ae(e){var n=f[e],i=p.getNearbySteps(n),a=m[e],r=i.thisStep.step,s=null;if(t.snap)return[a-i.stepBefore.startValue||null,i.stepAfter.startValue-a||null];!1!==r&&a+r>i.stepAfter.startValue&&(r=i.stepAfter.startValue-a),s=a>i.thisStep.startValue?i.thisStep.step:!1!==i.stepBefore.step&&a-i.stepBefore.highestStep,100===n?r=null:0===n&&(s=null);var o=p.countStepDecimals();return null!==r&&!1!==r&&(r=Number(r.toFixed(o))),null!==s&&!1!==s&&(s=Number(s.toFixed(o))),[s,r]}function re(){for(;a.firstChild;)a.removeChild(a.firstChild);for(var e=0;e<=t.handles;e++)s[e]=k(a,t.connect[e]),ee(e);q({drag:t.events.drag,fixed:!0})}Mu(c=h,t.cssClasses.target),0===t.dir?Mu(c,t.cssClasses.ltr):Mu(c,t.cssClasses.rtl),0===t.ort?Mu(c,t.cssClasses.horizontal):Mu(c,t.cssClasses.vertical),Mu(c,"rtl"===getComputedStyle(c).direction?t.cssClasses.textDirectionRtl:t.cssClasses.textDirectionLtr),i=N(c,t.cssClasses.base),function(e,n){a=N(n,t.cssClasses.connects),r=[],(s=[]).push(k(a,e[0]));for(var i=0;i<t.handles;i++)r.push(E(n,i)),v[i]=i,s.push(k(a,e[i+1]))}(t.connect,i),q(t.events),ne(t.start),t.pips&&M(t.pips),t.tooltips&&O(),$("update"+qu),U("update"+qu,function(e,n,i,a,s){v.forEach(function(e){var n=r[e],a=Y(f,e,0,!0,!0,!0),o=Y(f,e,100,!0,!0,!0),l=s[e],c=String(t.ariaFormat.to(i[e]));a=p.fromStepping(a).toFixed(1),o=p.fromStepping(o).toFixed(1),l=p.fromStepping(l).toFixed(1),n.children[0].setAttribute("aria-valuemin",a),n.children[0].setAttribute("aria-valuemax",o),n.children[0].setAttribute("aria-valuenow",l),n.children[0].setAttribute("aria-valuetext",c)})});var se={destroy:function(){for($(qu),$(Wu),Object.keys(t.cssClasses).forEach(function(e){Pu(h,t.cssClasses[e])});h.firstChild;)h.removeChild(h.firstChild);delete h.noUiSlider},steps:function(){return v.map(ae)},on:U,off:$,get:ie,set:ne,setHandle:function(e,t,n,i){if(!((e=Number(e))>=0&&e<v.length))throw new Error("noUiSlider: invalid handle number, got: "+e);Q(e,te(t,e),!0,!0,i),G("update",e),n&&G("set",e)},reset:function(e){ne(t.start,e)},disable:function(e){null!=e?(r[e].setAttribute("disabled",""),r[e].handle.removeAttribute("tabindex")):(h.setAttribute("disabled",""),r.forEach(function(e){e.handle.removeAttribute("tabindex")}))},enable:function(e){null!=e?(r[e].removeAttribute("disabled"),r[e].handle.setAttribute("tabindex","0")):(h.removeAttribute("disabled"),r.forEach(function(e){e.removeAttribute("disabled"),e.handle.setAttribute("tabindex","0")}))},__moveHandles:function(e,t,n){K(e,t,f,n)},options:n,updateOptions:function(e,i){var a=ie(),r=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips","connect"];r.forEach(function(t){void 0!==e[t]&&(n[t]=e[t])});var s=fh(n);r.forEach(function(n){void 0!==e[n]&&(t[n]=s[n])}),p=s.spectrum,t.margin=s.margin,t.limit=s.limit,t.padding=s.padding,t.pips?M(t.pips):D(),t.tooltips?O():j(),f=[],ne(Cu(e.start)?e.start:a,i),e.connect&&re()},target:h,removePips:D,removeTooltips:j,getPositions:function(){return f.slice()},getTooltips:function(){return l},getOrigins:function(){return r},pips:M};return se}var gh=function(e,t){if(!e||!e.nodeName)throw new Error("noUiSlider: create requires a single element, got: "+e);if(e.noUiSlider)throw new Error("noUiSlider: Slider was already initialized.");var n=vh(e,fh(t),t);return e.noUiSlider=n,n},bh={start:[0],connect:!1,range:{min:0,max:100},cssPrefix:"range-slider",cssClasses:{target:"__target",base:"__base",origin:"__origin",handle:"__handle",handleLower:"__handle--lower",handleUpper:"__handle--upper",touchArea:"__touch-area",horizontal:"--horizontal",vertical:"--vertical",background:"__background",connect:"__connect",connects:"__connects",ltr:"--ltr",rtl:"--rtl",draggable:"--draggable",drag:"--state-drag",tap:"--state-tap",active:"--active",tooltip:"__tooltip",pips:"__pips",pipsHorizontal:"__pips--horizontal",pipsVertical:"__pips--vertical",marker:"__marker",markerHorizontal:"__marker--horizontal",markerVertical:"__marker--vertical",markerNormal:"__marker--normal",markerLarge:"__marker--large",markerSub:"__marker--sub",value:"__value",valueHorizontal:"__value--horizontal",valueVertical:"__value--vertical",valueNormal:"__value--normal",valueLarge:"__value--large",valueSub:"__value--sub"},format:{decimals:0}},yh=function(){return g(function e(t,n){var i=this;return f(this,e),this.handleSliderUpdate=function(e,t){var n=e[t];if(i.inputs[t]&&(i.inputs[t].value=n),i.outputs[t]){var a=i.outputs[t];a&&a.format?a.element.innerText=a.format.to(i.config.format.from(n)):a&&(a.element.innerText=n)}},this.element=t,this.config=_(_({},bh),n),this.inputs=[],this.outputs=[],this.handleSliderUpdate=this.handleSliderUpdate.bind(this),this.element.ODS_RangeSlider=this,this.init(),this},[{key:"init",value:function(){var e,t=this,n=this.element.getAttribute("data-rangeslider-config"),i={};if(n)try{i=JSON.parse(n)}catch(e){}if(this.config=_(_({},this.config),i),this.config.format=Je(this.config.format),this.element.noUiSlider&&(this.element.noUiSlider=void 0,null!==(e=this.instance)&&void 0!==e&&e.destroy&&this.instance.destroy()),!this.config.range)throw new Error("RangeSlider config must include 'range'.");this.instance=gh(this.element,this.config),this.inputs=Array.from(document.querySelectorAll("input[name^=".concat(this.element.getAttribute("id"),"-]"))),this.outputs=this.inputs.map(function(e){var t=document.getElementById("".concat(e.getAttribute("id"),"-output"));if(t){var n=t.getAttribute("data-format");return{element:t,format:t.hasAttribute("data-format")&&n?Je(JSON.parse(n)):void 0}}return!1}),this.instance.on("update",function(e,n){t.handleSliderUpdate(e.map(String),n)})}},{key:"update",value:function(){var e;null===(e=this.instance)||void 0===e||e.destroy(),this.init()}},{key:"destroy",value:function(){var e,t;null===(e=this.instance)||void 0===e||e.off("update"),null===(t=this.instance)||void 0===t||t.destroy(),this.element.ODS_RangeSlider=null}}],[{key:"getInstance",value:function(e){return e&&e.ODS_RangeSlider?e.ODS_RangeSlider:null}}])}(),_h=["className","id","hasDataAttr","config","elementBefore","elementAfter","isInvalid","width"],xh="range-slider",wh="default",Sh=function(e){var t=e.className,n=e.id,i=e.hasDataAttr,a=void 0===i||i,r=e.config,s=e.elementBefore,o=e.elementAfter;e.isInvalid;var l=e.width,c=void 0===l?wh:l,d=x(e,_h),u=N(U(yh),1)[0],h=G(n),p=V(xh,b({},"".concat(xh,"--").concat(c),c!==wh),t);return F.jsxs(F.Fragment,{children:[s,F.jsx("div",_({id:h,className:p,ref:u,"data-rangeslider":a,"data-rangeslider-config":JSON.stringify(r)},d)),r.start.map(function(e,t){var n="".concat(h,"-").concat(t);return F.jsx("input",{type:"hidden",id:n,name:n},n)}),o]})};Sh.displayName="RangeSlider";var Nh=["children","className","id","isDisabled","isInvalid","isValid","isReadonly","placeholder","size","width","name"],Eh="textarea",kh="default",Ch="default",Th=function(e){var t=e.children,n=e.className,i=e.id,a=e.isDisabled,r=e.isInvalid,s=e.isValid,o=e.isReadonly,l=e.placeholder,c=e.size,d=void 0===c?kh:c,u=e.width,h=void 0===u?Ch:u,p=e.name,m=x(e,Nh),f=V(Eh,b(b({"is-invalid":r,"is-valid":s},"".concat(Eh,"--").concat(d),d!==kh),"".concat(Eh,"--").concat(h),h!==Ch),n),v=p||i;return F.jsx("textarea",_(_({className:f,id:i,name:v,disabled:a,readOnly:o,placeholder:l},m),{},{children:t}))};Th.displayName="TextArea";var Ah=r(null),jh=["type","control","renderControl","prefix","suffix","id"],Oh=Fc(function(){return Promise.resolve().then(function(){return Mo}).then(function(e){return{default:e.Autocomplete}})}),Lh="form-field__control",Dh=function(t){var n,i,a,r,s=t.className,o=e.useContext(Ah),l=e.useContext(Bc),c=null!==(n=null==o?void 0:o.controlId)&&void 0!==n?n:"",d=null!==(i=null==o?void 0:o.control)&&void 0!==i?i:{},u=null==o?void 0:o.isRadioCheck,h=null==o?void 0:o.hint,p=null!==(a=null==o?void 0:o.messages)&&void 0!==a?a:[],m=null==o?void 0:o.tooltip,f=null!==(r=null==l?void 0:l.messages)&&void 0!==r?r:[],v=d.type,g=d.control,y=d.renderControl,w=d.prefix,S=d.suffix;d.id;var N=x(d,jh),k=function(e,t,n,i){return[].concat(E(e?["".concat(i,"-hint")]:[]),E(t.map(function(e,t){return"".concat(i,"-message-").concat(t)})),E(n?["".concat(i,"-tooltip")]:[])).join(" ")}(h,p,m,c),C=u||"autocomplete"===v,T=function(e){switch(e){case"autocomplete":return Oh;case"checkbox":return zo;case"datepicker":return Nc;case"file":return eu;case"group":return hu;case"radio":return Nu;case"range":return Sh;case"select":return xo;case"input-stepper":return bu;case"textarea":return Th;default:return ru}}(null!=v?v:"text"),A=N.isInvalid,j=N.isValid,O=null!=A?A:(f.some(function(e){return e.isMain})||p.some(function(e){return"error"===e.type}))&&!j,L=_(_(_(_(_({},N),"group"!==v&&{id:c}),k.length&&{"aria-describedby":k}),"file"===v&&{"aria-labelledby":"".concat(c,"-label")}),{},{isInvalid:O},"group"===v&&g&&{addonPrefix:w,addonSuffix:S,control:_(_({},g),{},{id:c,isInvalid:O})});return y?y(L):F.jsx(fe,{condition:C,wrapper:F.jsx("div",{className:V(Lh,s)}),children:F.jsx(T,_(_({},L),{},{className:V(N.className,b({},"".concat(Lh),!C))}))})},Mh=["className","children"],Ph=function(e){var t=e.className,n=e.children,i=x(e,Mh);return n?F.jsx("p",_(_({className:V("hint",t)},i),{},{children:n})):null};Ph.displayName="Hint";var Ih=["htmlFor","className","children"],Rh=function(e){var t=e.htmlFor,n=e.className,i=e.children,a=x(e,Ih);return F.jsx("label",_(_({htmlFor:t,className:V("label",n)},a),{},{children:i}))};Rh.displayName="Label";var zh="form-field__label",Fh=function(){var t,n=e.useContext(Ah),i=null==n?void 0:n.control,a=null!==(t=null==n?void 0:n.controlId)&&void 0!==t?t:"",r=null==n?void 0:n.label,s=null==n?void 0:n.labelAfter;return F.jsx(F.Fragment,{children:s?F.jsxs("div",{className:zh,children:["range"!==(null==i?void 0:i.type)?F.jsx(Rh,{id:a?"".concat(a,"-label"):void 0,htmlFor:a,className:s?void 0:zh,children:r}):F.jsx("span",{id:a?"".concat(a,"-label"):void 0,className:V("label",b({},zh,!s)),children:r}),s&&F.jsxs(F.Fragment,{children:[" ",s]})]}):"range"!==(null==i?void 0:i.type)?F.jsx(Rh,{id:a?"".concat(a,"-label"):void 0,htmlFor:a,className:zh,children:r}):F.jsx("span",{id:a?"".concat(a,"-label"):void 0,className:V("label",b({},zh,!s)),children:r})})},Bh=["id","children","placement"],Hh=function(e){var t=e.id,n=e.children,i=e.placement,a=void 0===i?"right":i,r=x(e,Bh);return n?F.jsxs(F.Fragment,{children:[" ",F.jsx(xs,_(_({id:"".concat(t,"-tooltip"),className:"form-field__tooltip",placement:a},r),{},{children:n}))]}):null};Hh.displayName="FormTooltip";var Vh=function(t){var n,i=t.hideLabel,a=void 0!==i&&i,r=t.children,s=e.useContext(Ah),o=null!==(n=null==s?void 0:s.controlId)&&void 0!==n?n:"",l=null==s?void 0:s.tooltip,c=null==s?void 0:s.hint;return F.jsxs("div",{className:"form-field__description",children:[a?null:F.jsxs(F.Fragment,{children:[F.jsx(Fh,{}),F.jsx(Hh,{id:o,children:l})]}),F.jsx(Ph,{id:"".concat(o,"-hint"),className:"form-field__hint",children:c}),r]})},Wh=["className","children","type"],qh={info:"info",warning:"warning-important",error:"error-severe",invalid:"error-severe"},Uh={info:"info",warning:"warning",error:"danger",invalid:"danger"},$h="message",Gh=function(e){var t=e.className,n=e.children,i=e.type,a=void 0===i?"info":i,r=x(e,Wh),s=V($h,t,"invalid"===a&&b({},"".concat($h,"--invalid"),"invalid"===a));return F.jsxs("p",_(_({className:s},r),{},{children:[a&&F.jsx(oe,{name:qh[a],size:"medium",color:Uh[a],className:"".concat($h,"__icon")}),n]}))};Gh.displayName="Message";var Yh=function(t){var n,i=t.isMain,a=e.useContext(Ah),r=e.useContext(Bc),s=null!==(n=null!=a?a:r)&&void 0!==n?n:{},o=s.controlId,l=s.messages;return(void 0===l?[]:l).filter(function(e){return i===e.isMain}).map(function(e,t){return F.jsx(Gh,{id:"".concat(o,"-message-").concat(t),type:e.type,children:e.text},t.toString())})},Xh=["className","control","hint","label","labelAfter","messages","tooltip"],Kh="form-field",Zh=function(e){var t,n=e.className,i=e.control,a=e.hint,r=e.label,s=e.labelAfter,o=e.messages,l=void 0===o?[]:o,c=e.tooltip,d=x(e,Xh),u=["radio","checkbox"].includes(null!==(t=null==i?void 0:i.type)&&void 0!==t?t:""),h="checkbox"===(null==i?void 0:i.type)&&(null==i?void 0:i.isToggle),p=V(Kh,n,b({},"".concat(Kh,"--radiocheck"),u)),m=function(e){var t,n=e.id,i=e.control;return null!==(t=null!=n?n:i&&i.id)&&void 0!==t?t:q()}(null!=i?i:{}),f={control:i,hint:a,label:r,labelAfter:s,messages:l,tooltip:c,controlId:m,isRadioCheck:u};return F.jsx("div",_(_({className:p},d),{},{children:F.jsx(Ah.Provider,{value:f,children:u?h?F.jsx(F.Fragment,{children:F.jsxs(Oe,{space:"small",children:[F.jsx(Ie,{children:F.jsxs(Oe,{canWrap:!1,children:[F.jsx(Ie,{children:F.jsx(Dh,{className:"mr-none"})}),F.jsxs(Ie,{canShrink:!0,children:[F.jsx(Fh,{}),F.jsx(Hh,{id:m,children:c})]})]})}),F.jsx(De,{}),F.jsx(Ie,{className:"mt-none",children:F.jsx(Vh,{hideLabel:!0,children:F.jsx(Yh,{})})})]})}):F.jsxs(F.Fragment,{children:[F.jsx(Dh,{}),F.jsx(Vh,{children:F.jsx(Yh,{})})]}):F.jsxs(F.Fragment,{children:[F.jsx(Vh,{}),F.jsx(Dh,{}),F.jsx(Yh,{})]})})}))};Zh.displayName="Field";var Jh=["legend","legendProps","description","className","children","messages"],Qh=function(e){var t=e.legend,n=e.legendProps,i=e.description,a=e.className,r=e.children,s=e.messages,o=x(e,Jh),l=V("fieldset",a);return F.jsxs("fieldset",_(_({className:l},o),{},{children:[F.jsx("legend",_(_({},n),{},{children:t})),i,s?F.jsxs(Bc.Provider,{value:{messages:s},children:[F.jsx(Yh,{isMain:!0}),r,F.jsx(Yh,{})]}):r]}))};Qh.displayName="Fieldset";var ep=["children","className","percentage"],tp=function(e,t){var n=e;return"".concat(e/2*(t/100),", ").concat(n)},np=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;return Math.min(Math.max(e,t),n)},ip="gauge",ap=e.forwardRef(function(e,t){var n=e.children,i=e.className,a=e.percentage,r=void 0===a?0:a,s=x(e,ep),o=122*Math.PI*2,l={r:100,cx:110,cy:110,strokeWidth:15,fill:"none",transform:"rotate(160, 110, 110)"};return F.jsxs("figure",_(_({ref:t,className:V("".concat(ip),i)},s),{},{children:[F.jsxs("svg",{width:"220",height:"150",viewBox:"0 0 220 150",className:"".concat(ip,"__dial"),children:[F.jsx("circle",_({className:"".concat(ip,"__display"),strokeDasharray:tp(o,100)},l)),F.jsx("circle",_({className:"".concat(ip,"__indicator"),strokeDasharray:tp(o,np(r))},l))]}),F.jsx("figcaption",{className:"".concat(ip,"__text"),children:n})]}))});ap.displayName="Gauge";var rp=["color","size","children","className"],sp="sticker",op=function(e){var t=e.color,n=e.size,i=e.children,a=e.className,r=x(e,rp),s=V(sp,b(b({},"".concat(sp,"--").concat(t),t),"".concat(sp,"--").concat(n),n),a);return F.jsx("div",_(_({className:s},r),{},{children:i}))};op.displayName="Sticker";var lp={medium:{title:"h2",description:"bold"},large:{title:"h1",description:"large bold"}},cp=function(e){var t=e.button,n=e.description,i=e.hasGradientOverlay,a=e.image,r=e.hasFullwidthImage,s=e.price,o=e.sticker,l=e.title,c=e.textSize,d=void 0===c?"medium":c,u=!!a&&("src"in a&&!!a.src||"default"in a&&a.default&&1===Object.keys(a).length),h=V("hero");return F.jsx("div",{className:h,children:F.jsx($a,{children:F.jsxs(at,{className:"justify-content-space-between",children:[F.jsxs(dt,{size:{sm:10,md:9,lg:5},className:"hero__content",children:[F.jsx("h1",{className:lp[d].title,children:l}),n&&F.jsx("p",{className:V(lp[d].description,"hero__description"),children:n}),s&&F.jsxs("p",{className:"h2 hero__price",children:["string"==typeof s&&s,"object"===C(s)&&F.jsxs(F.Fragment,{children:[s.prefix,tt(s.amount),s.suffix]})]}),t&&F.jsx(ot,_({type:"primary"},t))]}),o&&F.jsx(dt,{size:{md:3,lg:2},className:"hero__content show-md",children:F.jsx(op,_(_({},o),{},{className:V("hero__sticker",o.className)}))}),a&&F.jsx("div",{className:"hero__image-wrapper",children:F.jsx(Cr,{src:"src"in a?{default:a.src}:a,srcSet:"src"in a?a.srcSet:void 0,alt:"",className:V("hero__image",{"hero__image--fullwidth":r,"hero__image--single":u,"hero__image--gradient":i,"hero__image--gradient-halfwidth":i&&!r})})})]})})})};cp.displayName="Hero";var dp=["icon","children","tooltip"],up="icon-list",hp=function(e){var t=e.icon,n=e.children,i=e.tooltip,a=x(e,dp);return F.jsxs("li",_(_({},a),{},{children:[F.jsx(oe,{name:t,size:"medium",className:"".concat(up,"__icon")}),F.jsxs("div",{className:V("".concat(up,"__content"),{"text-nowrap":i}),children:[F.jsx(fe,{condition:!!i,wrapper:F.jsx("span",{className:"".concat(up,"__content-text"),children:n}),children:n}),i&&" ",i&&F.jsx(xs,{className:"bold",placement:"right",children:i})]})]}))};hp.displayName="IconListItem";var pp=["items","className"],mp=["content"],fp=function(e){var t=e.items,n=void 0===t?[]:t,i=e.className,a=x(e,pp);return F.jsx("ul",_(_({className:V("icon-list",i)},a),{},{children:n.map(function(e,t){var n=e.content,i=x(e,mp);return F.jsx(hp,_(_({},i),{},{children:n}),t.toString())})}))};fp.displayName="IconList";var vp=["color","isEnclosed","size","className","children"],gp="list",bp=function(e){var t=e.color,n=e.isEnclosed,i=e.size,a=e.className,r=e.children,s=x(e,vp),o=V(gp,b(b(b({},"".concat(gp,"--").concat(i),i),"".concat(gp,"--").concat(t),t),"".concat(gp,"--enclosed"),n),a);return F.jsx("ul",_(_({className:o},s),{},{children:r}))},yp=["href","className","children"],_p=function(e){var t=e.href,n=e.className,i=e.children,a=x(e,yp),r=t?"a":"button",s="button"===r?"button":void 0,o=V("list__control",n);return F.jsxs(r,_(_({className:o,type:s,href:t},a),{},{children:[i,F.jsx(oe,{name:"chevron-right",size:"medium",className:"list__indicator"})]}))};_p.displayName="ListItemClickableControl";var xp=["controlProps","className","children"],wp=function(e){var t=e.controlProps,n=e.className,i=e.children,a=x(e,xp),r=V("list__item",n);return F.jsx("li",_(_({className:r},a),{},{children:F.jsx(fe,{condition:void 0!==t,wrapper:F.jsx(_p,_({},t)),children:i})}))};wp.displayName="ListItem";var Sp={cycleDuration:4e3,delay:5e3},Np=function(){return g(function e(t,n){f(this,e),this.element=t,this.config=_(_({},Sp),n),this.interval=null,this.delay=null,this.currentMessageIndex=0,this.messages=[],this.cycleMessages=this.cycleMessages.bind(this),this.element.ODS_Loader=this,this.init()},[{key:"initBody",value:function(){var e,t=this.element.getAttribute("data-loader-messages");this.messages=t?JSON.parse(t):[],this.messages.length&&(this.interval=window.setInterval(this.cycleMessages,null!==(e=this.config.cycleDuration)&&void 0!==e?e:Sp.cycleDuration))}},{key:"init",value:function(){var e,t=this;this.element.hasAttribute("data-loader-delayed")?this.delay=window.setTimeout(function(){t.element.parentNode&&t.element.parentNode instanceof HTMLElement&&t.element.parentNode.classList.remove("hide"),t.initBody()},null!==(e=this.config.delay)&&void 0!==e?e:Sp.delay):this.initBody()}},{key:"destroy",value:function(){this.interval&&window.clearInterval(this.interval),this.delay&&window.clearTimeout(this.delay)}},{key:"cycleMessages",value:function(){this.currentMessageIndex<this.messages.length?(this.element.innerText=this.messages[this.currentMessageIndex],this.currentMessageIndex+=1):this.destroy()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Loader?e.ODS_Loader:null}}])}(),Ep=["messages","size","className","colour","isDelayed","children"],kp="loader",Cp=function(e){var t=e.messages,n=e.size,i=void 0===n?"default":n,a=e.className,r=e.colour,s=void 0===r?"default":r,o=e.isDelayed,l=e.children,c=x(e,Ep),d=N(U(Np,{messages:t,isDelayed:o}),1)[0],u=V(kp,b(b(b({},"".concat(kp,"--").concat(i),"default"!==i),"".concat(kp,"--").concat(s),"default"!==s),"hide",o),a);return F.jsxs("div",_(_({className:u},c),{},{children:[F.jsx("div",{className:"".concat(kp,"__body"),children:F.jsx("div",{className:"".concat(kp,"__line")})}),t&&F.jsx("div",{"data-loader":!0,"data-loader-delayed":o,"data-loader-messages":JSON.stringify(t),className:"".concat(kp,"__messages"),ref:d,children:l})]}))};Cp.displayName="Loader";var Tp=["className","children"],Ap=function(e){var t=e.className,n=e.children,i=x(e,Tp),a=V("loader-fullscreen",t);return F.jsx("div",_(_({className:a,role:"status","aria-live":"polite"},i),{},{children:F.jsxs($a,{children:[n,F.jsx(Cp,{size:"large"})]})}))};Ap.displayName="LoaderFullscreen";var jp=["className","alt","name","spritePath"],Op="megamenu-icon",Lp=function(e){var t=e.className,n=e.alt,i=e.name,a=e.spritePath,r=void 0===a?"/sprite.svg":a,s=x(e,jp),o=V(Op,t);return F.jsxs("svg",_(_({className:o,"aria-hidden":void 0!==n?void 0:"true",role:void 0!==n?"img":void 0},s),{},{children:[void 0!==n&&n.length>0&&F.jsx("title",{children:n}),F.jsx("use",{className:"".concat(Op,"__use ").concat(Op,"__use--light"),xlinkHref:"".concat(r,"#").concat(i)}),F.jsx("use",{className:"".concat(Op,"__use ").concat(Op,"__use--dark"),xlinkHref:"".concat(r,"#").concat(i)})]}))},Dp=function(){return F.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[F.jsx("path",{d:"M40 0H0V40H40V0Z",fill:"#FF7900"}),F.jsx("path",{d:"M34.2897 28.57H5.71973V34.28H34.2897V28.57Z",fill:"white"})]})},Mp=function(){return F.jsxs("svg",{width:"40",height:"67",viewBox:"0 0 40 67",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",children:[F.jsxs("g",{clipPath:"url(#clip0_897_389)",children:[F.jsx("rect",{width:"40",height:"40",fill:"white"}),F.jsx("rect",{width:"40",height:"40",fill:"#FF7900"}),F.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M35.4467 29.1254H36.0214V28.8803H34.5679V29.1254H35.1425V30.7169H35.4467V29.1254ZM38.1126 30.7169H38.4154V28.8859H37.9521L37.4126 30.2803L36.8647 28.8859H36.3971V30.7169H36.7V29.1831H36.7084L37.3098 30.7169H37.5014L38.1028 29.1831H38.1126V30.7169Z",fill:"white"}),F.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M29.417 36.2296V30.969L28.1861 30.9718L28.0717 31.6068C27.9581 31.3346 27.5374 30.8676 26.4692 30.8676C25.2875 30.869 24.2354 31.9085 24.2354 33.7662C24.2354 35.6451 25.2565 36.5437 26.5508 36.5437C27.4001 36.5437 27.7537 36.1493 27.9861 35.7352L28.0058 35.7549V36.4014C28.0058 37.2704 27.6382 37.6338 26.879 37.6338C26.0607 37.6338 25.8945 37.3606 25.8339 37.0873L24.3903 37.3197C24.5931 38.2747 25.6058 38.7042 26.6973 38.7042C29.3466 38.6873 29.417 37.1592 29.417 36.2296ZM28.0116 33.4775C28.0116 34.2155 27.9187 35.3437 26.8088 35.3521C25.7356 35.3592 25.6877 34.2254 25.6877 33.538C25.6877 32.2859 26.2736 31.9028 26.799 31.9028C27.5891 31.9028 28.0116 32.6099 28.0116 33.4775Z",fill:"white"}),F.jsx("path",{d:"M18.2451 31.1366L19.455 30.969L19.5874 31.6281C20.2705 31.1281 20.8127 30.8619 21.4958 30.8619C22.6395 30.8619 23.2282 31.469 23.2282 32.6704V36.5394H21.7677V32.9253C21.7677 32.245 21.5902 31.9394 21.0634 31.9394C20.6268 31.9394 20.1916 32.1408 19.6958 32.5563V36.5422H18.2451V31.1366Z",fill:"white"}),F.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.8309 36.6085C14.4826 36.6109 15.1202 36.4186 15.6619 36.0563L15.7957 36.5451H17.0915V32.5169C17.0915 31.4958 16.2859 30.869 14.838 30.869C13.7769 30.8681 12.9873 31.2296 12.469 31.9535L13.4549 32.5169C13.7788 32.1009 14.2814 31.864 14.8084 31.8789C15.3746 31.8789 15.6816 32.1127 15.6816 32.5169V32.8254C13.3253 33.0916 12.1816 33.7507 12.1816 34.9944C12.1816 35.9183 12.7943 36.6085 13.8309 36.6085ZM14.2719 35.6099C13.8484 35.6099 13.6133 35.2614 13.6127 34.8887C13.6137 34.2319 14.2616 33.8816 15.6268 33.7085V35.024C15.1789 35.4183 14.7324 35.6099 14.2719 35.6099ZM13.6127 34.8887C13.6127 34.8882 13.6127 34.8878 13.6127 34.8873V34.8901C13.6127 34.8897 13.6127 34.8892 13.6127 34.8887Z",fill:"white"}),F.jsx("path",{d:"M8.6665 30.9859H10.0566V31.6394C10.4389 31.1829 10.9931 30.905 11.5876 30.8718C11.6507 30.8702 11.7138 30.8735 11.7764 30.8817V32.2535H11.7059C11.0693 32.2535 10.3735 32.3521 10.1566 32.8465V36.5422H8.6665V30.9859Z",fill:"white"}),F.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.16504 33.7733C2.16504 35.7845 3.46786 36.7057 4.91433 36.7057C6.35941 36.7057 7.66363 35.7873 7.66363 33.7775C7.66363 31.7676 6.36081 30.8451 4.91433 30.8451C3.46786 30.8451 2.16504 31.762 2.16504 33.7733ZM3.61982 33.7676C3.61982 33.0634 3.82263 32.0775 4.91418 32.0775C6.00573 32.0775 6.20855 33.0564 6.20855 33.7676C6.20855 34.4789 6.00573 35.4648 4.91418 35.4648C3.82263 35.4648 3.61982 34.4719 3.61982 33.7676Z",fill:"white"})]}),F.jsx("path",{d:"M5.17969 48.9411V58.7468C5.17969 59.2294 5.12509 59.648 5.01562 60.0016C4.91726 60.3582 4.73898 60.6555 4.47949 60.8903C4.23191 61.1371 3.89372 61.3132 3.46875 61.4225C3.0428 61.5441 2.50378 61.6052 1.85352 61.6052C1.55111 61.6051 1.27791 61.5807 1.03418 61.5319L0.994141 61.5241V59.3054L1.06055 59.3298C1.18473 59.3749 1.35864 59.3991 1.58398 59.3991C1.84091 59.3991 2.06009 59.3467 2.24316 59.2438L2.24707 59.2419C2.42478 59.1581 2.52441 58.961 2.52441 58.6208V48.9411H5.17969ZM11.8213 48.6891C12.6199 48.6892 13.3186 48.8463 13.915 49.1628H13.9141C14.5085 49.4661 14.9944 49.8788 15.3711 50.4011C15.7592 50.9225 16.0385 51.5165 16.208 52.1823C16.3774 52.8477 16.437 53.5433 16.3887 54.2682L16.3857 54.3151H9.67871C9.72089 55.1097 9.92711 55.6774 10.29 56.029C10.6618 56.3892 11.1996 56.5729 11.9111 56.5729C12.4182 56.5729 12.8515 56.4489 13.2139 56.2038C13.5812 55.9431 13.7993 55.6758 13.8789 55.403L13.8896 55.3669H16.2461L16.2246 55.4323C15.8623 56.5556 15.3051 57.3652 14.5488 57.8532C13.7953 58.3393 12.885 58.5807 11.8213 58.5807C11.0842 58.5807 10.4178 58.4665 9.82324 58.236L9.82227 58.235C9.22819 57.9925 8.72374 57.653 8.31055 57.2155C7.89778 56.7784 7.57681 56.2565 7.34668 55.6511V55.6501C7.12849 55.044 7.01953 54.378 7.01953 53.653C7.01953 52.9515 7.13393 52.2972 7.36426 51.6911C7.59452 51.0852 7.9226 50.5629 8.34766 50.1257C8.77222 49.6771 9.27584 49.3254 9.85742 49.071C10.4523 48.816 11.1072 48.6891 11.8213 48.6891ZM32.832 48.9411V54.2468C32.832 55.0107 32.9512 55.5757 33.1836 55.9479L33.2773 56.072C33.5157 56.3432 33.8929 56.4831 34.4199 56.4831C35.1062 56.4831 35.5922 56.2819 35.8916 55.8903C36.1935 55.4835 36.3496 54.8133 36.3496 53.8688V48.9411H39.0059V58.3474H36.4756V57.0866C36.1522 57.6029 35.7387 57.981 35.2324 58.2165C34.7104 58.4592 34.1754 58.5807 33.6279 58.5807C33.0259 58.5807 32.5133 58.5119 32.0918 58.3718L31.917 58.3073C31.4782 58.1245 31.1281 57.8675 30.8701 57.5358V57.5349C30.6134 57.1925 30.4306 56.784 30.3213 56.3102L30.3203 56.3093C30.2236 55.8255 30.1758 55.2933 30.1758 54.7145V48.9411H32.832ZM27.167 46.1511V48.9411H29.0391V50.7507H27.167V55.3093C27.167 55.5226 27.1851 55.698 27.2197 55.8366C27.2544 55.9753 27.305 56.0741 27.3682 56.1374C27.4314 56.2007 27.5301 56.2521 27.6689 56.2868C27.8076 56.3215 27.9837 56.3386 28.1973 56.3386C28.3398 56.3386 28.4762 56.3328 28.6064 56.321C28.7368 56.3091 28.8614 56.2919 28.9795 56.2682L29.0391 56.2556V58.3395L28.9971 58.3464C28.7788 58.3827 28.5369 58.4066 28.2715 58.4186C28.0068 58.4307 27.7479 58.4372 27.4951 58.4372C27.0966 58.4372 26.7154 58.4069 26.3525 58.3464V58.3454C25.9998 58.2965 25.6819 58.194 25.4004 58.0349L25.3994 58.0339C25.1273 57.873 24.9109 57.6445 24.751 57.3493C24.5897 57.0515 24.5108 56.664 24.5107 56.1911V50.7507H22.9629V48.9411H24.5107V46.1511H27.167ZM11.749 50.7145C11.397 50.7146 11.0978 50.7697 10.8496 50.8766L10.7461 50.9255C10.4882 51.0544 10.2772 51.2174 10.1143 51.4147C9.96152 51.6145 9.85138 51.8264 9.78125 52.0485L9.78027 52.0475C9.72704 52.2502 9.69442 52.4329 9.67969 52.5954H13.7217C13.6007 51.9822 13.3926 51.5194 13.0986 51.2028L13.0977 51.2018C12.8104 50.8803 12.3642 50.7145 11.749 50.7145ZM5.17969 45.3952V47.6013H2.52441V45.3952H5.17969Z",fill:"var(--color-text-default)",stroke:"var(--color-text-default)",strokeWidth:"0.1"}),F.jsx("defs",{children:F.jsx("clipPath",{id:"clip0_897_389",children:F.jsx("rect",{width:"40",height:"40",fill:"white"})})})]})},Pp=function(){return F.jsxs("span",{"data-megamenu-brand-mark":!0,children:[F.jsx("span",{"data-megamenu-logo-full":!0,"aria-hidden":"true",children:F.jsx(Mp,{})}),F.jsx("span",{"data-megamenu-logo-compact":!0,"aria-hidden":"true",children:F.jsx(Dp,{})})]})},Ip="megamenu",Rp="".concat(Ip,"__top"),zp="".concat(Ip,"__main"),Fp="".concat(Ip,"__container"),Bp="".concat(Ip,"__grid"),Hp="".concat(Ip,"__card"),Vp="".concat(Ip,"__nav"),Wp="".concat(Ip,"__nav--vertical"),qp="".concat(Ip,"__nav--space-small"),Up="".concat(Ip,"__nav--mobile-locale"),$p="".concat(Ip,"__nav-item"),Gp="".concat(Ip,"__nav-item--lead"),Yp="".concat(Ip,"__nav-item--main"),Xp="".concat(Ip,"__nav-link"),Kp="".concat(Ip,"__nav-link--locale"),Zp="".concat(Ip,"__nav-link--no-line"),Jp="".concat(Ip,"__nav-cart-icon"),Qp="".concat(Ip,"__nav-spacer"),em="".concat(Ip,"__nav-icon"),tm="".concat(em,"--no-gap-md-down"),nm="".concat(Ip,"__nav-logo"),im="".concat(Ip,"__nav-button"),am="".concat(Ip,"__nav-button--indicator"),rm="".concat(Ip,"__nav-dropdown"),sm="".concat(Ip,"__subnav"),om="".concat(Ip,"__subnav-item"),lm="".concat(Ip,"__overlay"),cm="".concat(Ip,"-spacer"),dm="".concat(Ip,"-spacer--small"),um="".concat(Ip,"__text--large"),hm="".concat(Ip,"__caption"),pm="".concat(Ip,"--hide-md-down"),mm="".concat(Ip,"--hide-lg-up"),fm="".concat(Ip,"__mobile"),vm="".concat(Ip,"__mobile-overlay"),gm="".concat(Ip,"__mobile-wrapper"),bm="".concat(Ip,"__mobile-header"),ym="".concat(Ip,"__mobile-body"),_m="".concat(Ip,"__mobile-account"),xm="".concat(Ip,"__mobile-account-avatar"),wm="".concat(Ip,"__mobile-account-name"),Sm="".concat(Ip,"__mobile-account-phone"),Nm="".concat(Ip,"__mobile-account-logout"),Em="".concat(Ip,"__mobile-account-cta"),km="".concat(Ip,"__mobile-account-links"),Cm="".concat(Ip,"__mobile-account-link"),Tm="".concat(Ip,"__accordion"),Am="".concat(Ip,"__accordion-item"),jm="".concat(Ip,"__accordion-header"),Om="".concat(Ip,"__accordion-button"),Lm="".concat(Ip,"__accordion-title"),Dm="".concat(Ip,"__accordion-icon"),Mm="".concat(Ip,"__accordion-body"),Pm="".concat(Ip,"__input"),Im="".concat(Ip,"__input-wrapper"),Rm="".concat(Ip,"__input-wrapper--search-icon-with-placeholder"),zm="".concat(Ip,"__input-wrapper--search-responsive"),Fm="".concat(Ip,"__tag"),Bm="".concat(Ip,"__tag--orange"),Hm="".concat(Ip,"__tag--small"),Vm="".concat(Ip,"__tag--transparent"),Wm="".concat(Ip,"__tag--large"),qm="".concat(Ip,"__list--inline"),Um="".concat(Ip,"__list--gap-small"),$m=[{id:"volania",label:"Volania",featured:{id:"odporucane-sluzby",heading:"Odporúčané služby",items:[{label:"Paušály",isLarge:!0},{label:"Prima Voľba",isLarge:!0},{label:"Roaming",isLarge:!0}]},columns:[[{id:"pausaly",heading:"Paušály",items:[{label:"Prehľad paušálov"},{label:"Chcem nové číslo"},{label:"Yoxo paušál",tag:"Novinka"}]},{id:"s-kreditom",heading:"Volania s kreditom",items:[{label:"Prima Voľba"},{label:"Prima Kids"},{label:"FunFón"}]},{id:"zahranicie",heading:"Zahraničie",items:[{label:"Roaming"},{label:"Cestovateľské balíky"},{label:"Volania do zahraničia"},{label:"Regulovaný roaming"}]}],[{id:"nase-sluzby",heading:"Ste náš zákazník?",items:[{label:"Chcem zmeniť paušál"},{label:"Dobiť kredit"},{label:"Predĺžiť služby"},{label:"Chcem nový telefón"},{label:"Navzájom zadarmo"},{label:"Orange Svojim"},{label:"Odporučte Orange"},{label:"Ostatné služby"}]}]]},{id:"internet-tv",label:"Internet, TV",featured:{id:"odporucane-sluzby",heading:"Odporúčané služby",items:[{label:"Internet na doma",isLarge:!0},{label:"Mobilný internet",isLarge:!0},{label:"Televízia",isLarge:!0},{label:"Internet + TV",isLarge:!0}]},columns:[[{id:"pausaly",heading:"Internet",items:[{label:"Prehľad internetu"},{label:"Mobilný internet"},{label:"Bezpečný internet so sebou"},{label:"Domáca linka k internetu"}]},{id:"televizia",heading:"Televízia",items:[{label:"Najlepšia TV na doma"},{label:"TV cez satelit"},{label:"TV cez internet"},{label:"Novinky na Orange TV"}]},{id:"internet-televizia",heading:"Internet + televízia",items:[{label:"Ponuka Love"},{label:"Výhodný pár zariadení"},{label:"Volania do zahraničia"},{label:"Regulovaný roaming"}]}],[{id:"nase-sluzby",heading:"Ste náš zákazník?",items:[{label:"Predĺžiť služby"},{label:"Nový internet"},{label:"Nová televízia"},{label:"Odporučte Orange"}]}]]},{id:"telefony-zariadenia",label:"Telefóny a zariadenia",featured:{id:"odporucane-sluzby",heading:"Odporúčané služby",items:[{label:"iPhone 15",isLarge:!0},{label:"iPhone 15 Pro",isLarge:!0},{label:"Samsung Z Fold",isLarge:!0},{label:"Motorola",isLarge:!0},{label:"Oppo",isLarge:!0}]},columns:[[{id:"telefony",heading:"Telefóny",items:[{label:"Apple"},{label:"Samsung"},{label:"Huawei"},{label:"Honor"},{label:"Motorola"},{label:"Oppo"}]},{id:"tablety-a-notebooky",heading:"Tablety a notebooky",items:[{label:"Lenovo"},{label:"Samsung"},{label:"Honor"},{label:"Apple"},{label:"Asus"}]},{id:"sikovne-zariadenia",heading:"Šikovné zariadenia",items:[{label:"Smart hodinky"},{label:"Smart domácnosť"},{label:"Smart TV"},{label:"Herné konzoly"}]}],[{id:"orange-akcie",heading:"Orange akcie",items:[{label:"Samsung"},{label:"Výhodné ponuky"},{label:"Zľavy na telefóny"},{label:"Dopredaj zariadení"}]}]]}],Gm=["Dobitie kreditu","Nedostupnosť služieb","Faktúry","Zdieľanie dát","Prečerpané dáta","Elektronická faktúra","Prvá pomoc internet","Nastavenie zariadení a sim kariet","Pevny internet do domacnosti","Dátový roaming","Nákup online","Telemarketing"],Ym=["apple","apple hodinky","apple iphone","apple 16","apple pro","apple watch"],Xm=function(e){return"blog"===e?{searchDropdownId:"megamenu-blog-search",searchInputDesktopId:"megamenu-blog-search-input",searchInputMobileId:"megamenu-blog-mobile-search-input",mobileMainPanelId:"megamenu-blog-mobile-main",mobileMainTitleId:"mobile-blog-menu-title",myOrangePanelId:"megamenu-blog-mobile-my-orange",myOrangeTitleId:"mobile-blog-my-orange-title"}:{searchDropdownId:"megamenu-search",searchInputDesktopId:"megamenu-search-input",searchInputMobileId:"megamenu-mobile-search-input",mobileMainPanelId:"megamenu-mobile-main",mobileMainTitleId:"mobile-menu-title",myOrangePanelId:"megamenu-mobile-my-orange",myOrangeTitleId:"mobile-my-orange-title"}},Km=function(e){var t=e.inputId,n=e.inputLabel,i=e.searchValue,a=e.hasSearchEmpty,r=e.hasSearchFilled,s=e.emptyStateLinkHref,o=void 0===s?"#":s;return F.jsxs(F.Fragment,{children:[F.jsx("label",{htmlFor:t,className:"sr-only",children:n}),F.jsx("span",{className:V(Im,zm,Rm),children:F.jsx("input",{className:Pm,id:t,type:"text",placeholder:"Hľadať",name:"search",defaultValue:i})}),a?F.jsxs(F.Fragment,{children:[F.jsx("p",{className:hm,children:"Najhľadanejši výrazy"}),F.jsx("ul",{className:qm,children:Gm.map(function(e){return F.jsx("li",{children:F.jsx("a",{href:o,className:V(Fm),children:e})},e)})})]}):r?F.jsx("ul",{className:sm,children:Ym.map(function(e){return F.jsx("li",{className:om,children:F.jsx("a",{href:"#",className:"no-underline",children:e})},e)})}):null]})},Zm=function(e){var t=e.titleId,n=e.panelId;return F.jsxs("div",{className:V(fm),"data-megamenu-mobile-panel":"my-orange",id:n,role:"dialog","aria-modal":"true","aria-labelledby":t,"aria-hidden":"true",children:[F.jsx("h2",{id:t,className:"sr-only",children:"Môj Orange"}),F.jsx("button",{"aria-label":"Zatvoriť panel Môj Orange",className:vm,type:"button","data-megamenu-close-button":!0,"data-megamenu-mobile-target":"my-orange"}),F.jsxs("div",{className:gm,children:[F.jsx("div",{className:bm,children:F.jsx("div",{className:Fp,children:F.jsxs("ul",{className:V(Vp,qp),children:[F.jsx("li",{className:Qp,"aria-hidden":"true"}),F.jsx("li",{className:$p,children:F.jsx("button",{type:"button","data-megamenu-close-button":!0,"data-megamenu-mobile-target":"my-orange",className:im,"aria-label":"Zatvoriť panel Môj Orange",children:F.jsx(Lp,{name:"close",width:20,height:20,"aria-hidden":"true"})})})]})})}),F.jsx("div",{className:ym,children:F.jsxs("div",{className:Fp,children:[F.jsxs("div",{className:_m,children:[F.jsx("div",{className:xm,"aria-hidden":"true",children:F.jsx(Lp,{name:"user",width:72,height:72})}),F.jsx("p",{className:wm,children:"Martin Prihlásený"}),F.jsx("p",{className:Sm,children:"0905 123 456"}),F.jsx("a",{href:"#",className:Nm,children:"Odhlásiť"}),F.jsx("a",{href:"#",className:Em,children:"My Orange"})]}),F.jsx("nav",{"aria-label":"Môj Orange rýchle akcie",children:F.jsxs("ul",{className:V(sm,km),children:[F.jsx("li",{className:om,children:F.jsx("a",{href:"#",className:Cm,children:"Zaplatiť faktúru"})}),F.jsx("li",{className:om,children:F.jsx("a",{href:"#",className:Cm,children:"Pozrieť spotrebu"})}),F.jsx("li",{className:om,children:F.jsx("a",{href:"#",className:Cm,children:"Aktivovať služby"})}),F.jsx("li",{className:om,children:F.jsx("a",{href:"#",className:Cm,children:"Dobiť kredit"})})]})})]})})]})]})},Jm=function(e){return F.jsx(F.Fragment,{children:e.map(function(e){var t;return F.jsxs("li",{className:om,children:[F.jsx("a",{href:null!==(t=e.href)&&void 0!==t?t:"/",className:e.isLarge?um:void 0,children:e.label}),e.tag?F.jsx("span",{className:V(Fm,Bm,Hm),children:e.tag}):null]},e.label)})})},Qm=function(t,n,i){var a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r="".concat(n,"-").concat(t.id,"-").concat(t.featured.id);return F.jsxs("div",{className:Bp,children:[F.jsxs("div",{className:V(Hp,"is-highlighted"),children:[F.jsx("h3",{id:r,className:"sr-only",children:t.featured.heading}),F.jsx("ul",{className:sm,role:"group","aria-labelledby":r,children:Jm(t.featured.items)})]}),a?F.jsx("div",{className:Hp,children:t.columns.flat().map(function(a){var r="".concat(n,"-").concat(t.id,"-").concat(a.id,"-heading");return F.jsxs(e.Fragment,{children:[F.jsx("p",{id:r,className:i,children:a.heading}),F.jsx("ul",{className:sm,role:"group","aria-labelledby":r,children:Jm(a.items)})]},a.id)})}):t.columns.map(function(a,r){return F.jsx("div",{className:Hp,children:a.map(function(a){var r="".concat(n,"-").concat(t.id,"-").concat(a.id,"-heading");return F.jsxs(e.Fragment,{children:[F.jsx("p",{id:r,className:i,children:a.heading}),F.jsx("ul",{className:sm,role:"group","aria-labelledby":r,children:Jm(a.items)})]},a.id)})},"".concat(t.id,"-").concat(r))})]})},ef=function(e){var t=e.className,n=e.title,i=void 0===n?"Človek":n,a=e.isSticky,r=void 0===a||a,s=e.searchEmpty,o=e.searchFilled,l=e.compactLogoOnly,c=void 0!==l&&l,d=Xm("main"),u=Boolean(s),h=Boolean(o),p=u||h,m=u?"":h?"apple":"";return F.jsxs("header",{children:[F.jsxs("nav",{className:V(Ip,t,{"is-sticky":r}),"data-megamenu":!0,"aria-label":"Main navigation",children:[F.jsx("div",{className:V(Rp,pm),"data-hide-when-sticky":"true",children:F.jsx("div",{className:Fp,children:F.jsxs("ul",{className:V(Vp,qp),"aria-label":"Top menu",children:[F.jsx("li",{className:$p,children:F.jsx("a",{href:"/",className:V(Xp,"is-active"),"aria-current":"page",children:"Pre vás"})}),F.jsx("li",{className:$p,children:F.jsx("a",{href:"/",className:Xp,children:"Pre biznis"})}),F.jsx("li",{className:Qp,"aria-hidden":"true"}),F.jsx("li",{className:V($p,Gp),children:F.jsxs("a",{href:"/",className:Xp,children:[F.jsx(Lp,{name:"call",width:20,height:20,className:em,"aria-hidden":"true"}),"Kontakt"]})}),F.jsx("li",{className:$p,children:F.jsx("a",{href:"/",className:V(Xp,"is-active"),children:"SK"})}),F.jsx("li",{className:$p,children:F.jsx("a",{href:"/",className:Xp,children:"EN"})})]})})}),F.jsx("div",{className:zp,children:F.jsx("div",{className:Fp,children:F.jsxs("ul",{className:Vp,"aria-label":"Hlavné menu",children:[F.jsx("li",{className:V($p,Yp),children:F.jsx("a",{href:"/",className:nm,"aria-label":"".concat(i," - Domovská stránka"),children:c?F.jsx(Dp,{}):F.jsx(Pp,{})})}),$m.map(function(e){return F.jsxs("li",{className:V($p,Yp,pm),children:[F.jsx("button",{type:"button",className:V(im,am),"aria-controls":"megamenu-".concat(e.id),"aria-expanded":"false","aria-haspopup":"true",children:e.label}),F.jsx("div",{className:rm,id:"megamenu-".concat(e.id),children:F.jsx("div",{className:Fp,children:Qm(e,"megamenu",hm)})})]},e.id)}),F.jsx("li",{className:V($p,Yp,pm),children:F.jsx("a",{href:"/",className:V(Xp),children:"Akcie"})}),F.jsx("li",{className:V($p,Yp,pm),children:F.jsx("a",{href:"/",className:V(Xp),children:"Pomoc"})}),F.jsx("li",{className:Qp,"aria-hidden":"true"}),F.jsxs("li",{className:V($p,pm),children:[F.jsx("button",{type:"button",className:im,"aria-label":"Vyhľadávanie","aria-controls":d.searchDropdownId,"aria-expanded":"false","aria-haspopup":"true",children:F.jsx(Lp,{width:24,height:24,name:"search","aria-hidden":"true"})}),F.jsx("div",{className:V(rm,"is-spaced"),id:d.searchDropdownId,children:F.jsx("div",{className:Fp,children:F.jsx(Km,{inputId:d.searchInputDesktopId,inputLabel:"Vyhľadávanie v hlavnom menu",searchValue:m,hasSearchEmpty:u,hasSearchFilled:h,emptyStateLinkHref:"/"})})})]}),F.jsx("li",{className:V($p),children:F.jsxs("a",{href:"/",className:V(Xp),"aria-label":"Košík, 1 položka",children:[F.jsx("span",{className:Jp,"data-items-in-cart":"1","aria-hidden":"true",children:F.jsx(Lp,{width:24,height:24,name:"buy","aria-hidden":"true"})}),F.jsx("span",{className:"sr-only",children:"1 položka v košíku"})]})}),F.jsx("li",{className:$p,children:F.jsxs("button",{type:"button",className:im,"data-megamenu-mobile-toggle":!0,"data-megamenu-mobile-target":"my-orange","aria-haspopup":"dialog","aria-expanded":"false",children:[F.jsx(Lp,{width:24,height:24,name:"user",className:em,"aria-hidden":"true"}),"Môj Orange"]})}),F.jsx("li",{className:V($p,mm),children:F.jsx("button",{type:"button",className:im,"aria-label":"Otvoriť menu","data-megamenu-mobile-toggle":!0,"data-megamenu-mobile-target":"main","aria-haspopup":"dialog","aria-expanded":"false",children:F.jsx(Lp,{width:24,height:24,name:"menu","aria-hidden":"true"})})})]})})}),F.jsxs("div",{className:V(fm),"data-megamenu-mobile-panel":"main",id:d.mobileMainPanelId,role:"dialog","aria-modal":"true","aria-labelledby":d.mobileMainTitleId,"aria-hidden":"true",children:[F.jsx("span",{id:d.mobileMainTitleId,className:"sr-only",children:"Hlavné menu"}),F.jsx("button",{"aria-label":"Zatvoriť menu",className:vm,type:"button"}),F.jsxs("div",{className:gm,children:[F.jsx("div",{className:bm,children:F.jsx("div",{className:Fp,children:F.jsxs("ul",{className:V(Vp,qp),children:[F.jsx("li",{className:$p,children:F.jsx("a",{href:"/",className:V(Xp,"is-active"),"aria-current":"page",children:"Pre vás"})}),F.jsx("li",{className:$p,children:F.jsx("a",{href:"/",className:Xp,children:"Pre biznis"})}),F.jsx("li",{className:Qp,"aria-hidden":"true"}),F.jsx("li",{className:$p,children:F.jsx("button",{type:"button","data-megamenu-close-button":!0,"data-megamenu-mobile-target":"main",className:im,"aria-label":"Zatvoriť menu",children:F.jsx(Lp,{name:"close",width:20,height:20,"aria-hidden":"true"})})})]})})}),F.jsxs("div",{className:ym,children:[F.jsxs("div",{className:Fp,children:[F.jsx(Km,{inputId:d.searchInputMobileId,inputLabel:"Vyhľadávanie v mobilnom menu",searchValue:m,hasSearchEmpty:u,hasSearchFilled:h}),p?null:F.jsxs(F.Fragment,{children:[F.jsxs("ul",{className:Tm,children:[$m.map(function(e){var t="mobile-accordion-".concat(e.id),n="mobile-".concat(e.id,"-button");return F.jsxs("li",{className:Am,children:[F.jsx("div",{className:jm,children:F.jsxs("button",{type:"button",className:Om,"aria-controls":t,"aria-expanded":"false","data-accordion-toggle":!0,id:n,children:[F.jsx("span",{className:Lm,children:e.label}),F.jsx(Lp,{name:"chevron-right",width:24,height:24,className:Dm,"aria-hidden":"true"})]})}),F.jsx("div",{className:Mm,id:t,role:"region","aria-labelledby":n,children:Qm(e,"mobile",hm,!0)})]},e.id)}),F.jsx("li",{className:Am,children:F.jsx("div",{className:jm,children:F.jsx("a",{href:"/",className:Om,children:F.jsx("span",{className:Lm,children:"Akcie"})})})}),F.jsx("li",{className:Am,children:F.jsx("div",{className:jm,children:F.jsx("a",{href:"/",className:Om,children:F.jsx("span",{className:Lm,children:"Pomoc"})})})})]}),F.jsxs("ul",{className:V(Vp,qp,Up),"aria-label":"Výber jazyka",children:[F.jsx("li",{className:$p,children:F.jsx("a",{href:"/",className:V(Xp,Kp,"is-active"),children:"SK"})}),F.jsx("li",{className:$p,children:F.jsx("a",{href:"/",className:V(Xp,Kp),children:"EN"})})]})]})]}),p?null:F.jsxs(F.Fragment,{children:[F.jsx("hr",{className:"mt-none"}),F.jsxs("div",{className:Fp,children:[F.jsx("h3",{id:"mobile-quick-access-heading",className:"sr-only",children:"Rýchly prístup"}),F.jsxs("ul",{className:V(Vp,Wp),role:"group","aria-labelledby":"mobile-quick-access-heading",children:[F.jsx("li",{className:$p,children:F.jsxs("button",{type:"button",className:im,"data-megamenu-mobile-toggle":!0,"data-megamenu-mobile-target":"my-orange","aria-haspopup":"dialog","aria-expanded":"false",children:[F.jsx(Lp,{width:24,height:24,name:"user",className:em,"aria-hidden":"true"}),"Môj Orange"]})}),F.jsx("li",{className:$p,children:F.jsxs("a",{href:"/",className:im,children:[F.jsx(Lp,{width:24,height:24,name:"call",className:em,"aria-hidden":"true"}),"Kontakt"]})}),F.jsx("li",{className:$p,children:F.jsxs("a",{href:"/",className:im,children:[F.jsx(Lp,{width:24,height:24,name:"advertising",className:em,"aria-hidden":"true"}),"Akcie"]})}),F.jsx("li",{className:$p,children:F.jsxs("a",{href:"/",className:im,children:[F.jsx(Lp,{width:24,height:24,name:"newspaper",className:em,"aria-hidden":"true"}),"Pomoc"]})})]})]})]})]})]})]}),F.jsx(Zm,{panelId:d.myOrangePanelId,titleId:d.myOrangeTitleId}),F.jsx("button",{"aria-label":"Zatvoriť dropdown menu",className:lm,type:"button"})]}),F.jsx("div",{className:cm,"aria-hidden":"true"})]})},tf=["Kategória 1","Kategória 2","Kategória 3","Kategória 4","Kategória 5"],nf=function(e){var t=e.className,n=e.title,i=void 0===n?"Človek":n,a=e.isSticky,r=void 0===a||a,s=e.searchEmpty,o=e.searchFilled,l=e.compactLogoOnly,c=void 0!==l&&l,d=Xm("blog"),u=Boolean(s),h=Boolean(o),p=u||h,m=u?"":h?"apple":"";return F.jsxs("header",{children:[F.jsxs("nav",{className:V(Ip,t,{"is-sticky":r}),"data-megamenu":!0,"aria-label":"Main navigation",children:[F.jsx("div",{className:zp,children:F.jsx("div",{className:Fp,children:F.jsxs("ul",{className:Vp,"aria-label":"Hlavné menu",children:[F.jsx("li",{className:V($p,Yp),children:F.jsxs("a",{href:"/",className:nm,"aria-label":"".concat(i," - Domovská stránka"),children:[c?F.jsx(Dp,{}):F.jsx(Pp,{}),F.jsx("span",{children:i})]})}),F.jsx("li",{className:V($p,Yp,pm),children:F.jsx("a",{href:"/",className:V(Xp,Zp),children:"Naspať na Orange"})}),F.jsx("li",{className:Qp,"aria-hidden":"true"}),F.jsxs("li",{className:V($p,pm),children:[F.jsx("button",{type:"button",className:im,"aria-label":"Vyhľadávanie","aria-controls":d.searchDropdownId,"aria-expanded":"false","aria-haspopup":"true",children:F.jsx(Lp,{width:24,height:24,name:"search","aria-hidden":"true"})}),F.jsx("div",{className:V(rm,"is-spaced"),id:d.searchDropdownId,children:F.jsx("div",{className:Fp,children:F.jsx(Km,{inputId:d.searchInputDesktopId,inputLabel:"Vyhľadávanie v blog menu",searchValue:m,hasSearchEmpty:u,hasSearchFilled:h})})})]}),F.jsx("li",{className:$p,children:F.jsxs("button",{type:"button",className:im,"data-megamenu-mobile-toggle":!0,"data-megamenu-mobile-target":"my-orange","aria-haspopup":"dialog","aria-expanded":"false","aria-label":"Môj Orange",children:[F.jsx(Lp,{width:24,height:24,name:"user",className:V(em,tm),"aria-hidden":"true"}),F.jsx("span",{className:pm,children:"Môj Orange"})]})}),F.jsxs("li",{className:V($p,pm),children:[F.jsxs("button",{type:"button",className:V(im,"megamenu__nav-button--toggle"),"aria-label":"Kategórie","aria-controls":"megamenu-blog-categories","aria-expanded":"false","aria-haspopup":"true",children:[F.jsx("span",{className:"megamenu__nav-button-icon-open",children:F.jsx(Lp,{width:24,height:24,name:"menu","aria-hidden":"true"})}),F.jsx("span",{className:"megamenu__nav-button-icon-close",children:F.jsx(Lp,{width:24,height:24,name:"close","aria-hidden":"true"})})]}),F.jsx("div",{className:V(rm,"is-spaced"),id:"megamenu-blog-categories",children:F.jsxs("div",{className:Fp,children:[F.jsx("p",{className:hm,children:"Kategórie"}),F.jsx("ul",{className:qm,children:tf.map(function(e){return F.jsx("li",{children:F.jsx("a",{href:"/",className:V(Fm,Vm,Wm),children:e})},e)})})]})})]}),F.jsx("li",{className:V($p,mm),children:F.jsx("button",{type:"button",className:im,"aria-label":"Otvoriť menu","data-megamenu-mobile-toggle":!0,"data-megamenu-mobile-target":"main","aria-haspopup":"dialog","aria-expanded":"false",children:F.jsx(Lp,{width:24,height:24,name:"menu","aria-hidden":"true"})})})]})})}),F.jsxs("div",{className:V(fm),"data-megamenu-mobile-panel":"main",id:d.mobileMainPanelId,role:"dialog","aria-modal":"true","aria-labelledby":d.mobileMainTitleId,"aria-hidden":"true",children:[F.jsx("span",{id:d.mobileMainTitleId,className:"sr-only",children:"Hlavné menu"}),F.jsx("button",{"aria-label":"Zatvoriť menu",className:vm,type:"button"}),F.jsxs("div",{className:gm,children:[F.jsx("div",{className:bm,children:F.jsx("div",{className:Fp,children:F.jsxs("ul",{className:V(Vp,qp),children:[F.jsx("li",{className:$p,children:F.jsxs("a",{href:"/",className:nm,"aria-label":"".concat(i," - Domovská stránka"),children:[c?F.jsx(Dp,{}):F.jsx(Pp,{}),F.jsx("span",{children:i})]})}),F.jsx("li",{className:Qp,"aria-hidden":"true"}),F.jsx("li",{className:$p,children:F.jsx("button",{type:"button","data-megamenu-close-button":!0,"data-megamenu-mobile-target":"main",className:im,"aria-label":"Zatvoriť menu",children:F.jsx(Lp,{name:"close",width:20,height:20,"aria-hidden":"true"})})})]})})}),F.jsx("div",{className:ym,children:F.jsxs("div",{className:Fp,children:[F.jsx(Km,{inputId:d.searchInputMobileId,inputLabel:"Vyhľadávanie v mobilnom blog menu",searchValue:m,hasSearchEmpty:u,hasSearchFilled:h}),p?null:F.jsxs(F.Fragment,{children:[F.jsx("p",{className:hm,children:"Kategórie"}),F.jsx("ul",{className:V(sm,Um),children:tf.map(function(e){return F.jsx("li",{children:F.jsx("a",{href:"/",className:V(Fm,Vm,Wm),children:e})},e)})}),F.jsx("hr",{className:"mt-none"}),F.jsx("ul",{className:V(Vp,Wp),children:F.jsx("li",{className:$p,children:F.jsx("a",{href:"/",className:im,children:"Naspať na Orange"})})})]})]})})]})]}),F.jsx(Zm,{panelId:d.myOrangePanelId,titleId:d.myOrangeTitleId}),F.jsx("button",{"aria-label":"Zatvoriť dropdown menu",className:lm,type:"button"})]}),F.jsx("div",{className:dm,"aria-hidden":"true"})]})};const af=":not([inert]):not([inert] *)",rf=':not([tabindex^="-"])',sf=":not(:disabled)";var of=[`a[href]${af}${rf}`,`area[href]${af}${rf}`,`input:not([type="hidden"]):not([type="radio"])${af}${rf}${sf}`,`input[type="radio"]${af}${rf}${sf}`,`select${af}${rf}${sf}`,`textarea${af}${rf}${sf}`,`button${af}${rf}${sf}`,`details${af} > summary:first-of-type${rf}`,`iframe${af}${rf}`,`audio[controls]${af}${rf}`,`video[controls]${af}${rf}`,`[contenteditable]${af}${rf}`,`[tabindex]${af}${rf}`];function lf(e){(e.querySelector("[autofocus]")||e).focus()}function cf(e,t){if(t&&hf(e))return e;if(function(e){return!(e.shadowRoot&&"-1"===e.getAttribute("tabindex")||e.matches(":disabled,[hidden],[inert]"))}(e))if(e.shadowRoot){let n=df(e.shadowRoot,t);for(;n;){const e=cf(n,t);if(e)return e;n=uf(n,t)}}else if("slot"===e.localName){const n=e.assignedElements({flatten:!0});t||n.reverse();for(const e of n){const n=cf(e,t);if(n)return n}}else{let n=df(e,t);for(;n;){const e=cf(n,t);if(e)return e;n=uf(n,t)}}return!t&&hf(e)?e:null}function df(e,t){return t?e.firstElementChild:e.lastElementChild}function uf(e,t){return t?e.nextElementSibling:e.previousElementSibling}const hf=e=>!e.shadowRoot?.delegatesFocus&&e.matches(of.join(","))&&!(e=>!(!e.matches("details:not([open]) *")||e.matches("details>summary:first-of-type"))||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length))(e);function pf(e=document){const t=e.activeElement;return t?t.shadowRoot?pf(t.shadowRoot)||document.activeElement:t:null}function mf(e,t){return function t(n){if(!n||n===document||n===window)return null;const i=ff(n);return i&&(n=i),n.closest(e)||t(n.getRootNode().host)}(t)}function ff(e){return e.assignedSlot||(e.parentNode?ff(e.parentNode):null)}const vf="data-a11y-dialog";class gf{$el;id;previouslyFocused;shown;constructor(e){this.$el=e,this.id=this.$el.getAttribute(vf)||this.$el.id,this.previouslyFocused=null,this.shown=!1,this.maintainFocus=this.maintainFocus.bind(this),this.bindKeypress=this.bindKeypress.bind(this),this.handleTriggerClicks=this.handleTriggerClicks.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.$el.setAttribute("aria-hidden","true"),this.$el.setAttribute("aria-modal","true"),this.$el.setAttribute("tabindex","-1"),this.$el.hasAttribute("role")||this.$el.setAttribute("role","dialog"),document.addEventListener("click",this.handleTriggerClicks,!0)}destroy(){return this.fire("destroy").defaultPrevented||(this.hide(),document.removeEventListener("click",this.handleTriggerClicks,!0),this.$el.replaceWith(this.$el.cloneNode(!0))),this}show(e){return this.shown||this.fire("show",e).defaultPrevented||(this.shown=!0,this.$el.removeAttribute("aria-hidden"),this.previouslyFocused=pf(),"BODY"===this.previouslyFocused?.tagName&&e?.target&&(this.previouslyFocused=e.target),"focus"===e?.type?this.maintainFocus():lf(this.$el),document.body.addEventListener("focus",this.maintainFocus,!0),this.$el.addEventListener("keydown",this.bindKeypress,!0)),this}hide(e){return this.shown?(this.fire("hide",e).defaultPrevented||(this.shown=!1,this.$el.setAttribute("aria-hidden","true"),document.body.removeEventListener("focus",this.maintainFocus,!0),this.$el.removeEventListener("keydown",this.bindKeypress,!0),this.previouslyFocused?.focus?.()),this):this}on(e,t,n){return this.$el.addEventListener(e,t,n),this}off(e,t,n){return this.$el.removeEventListener(e,t,n),this}fire(e,t){const n=new CustomEvent(e,{detail:t,cancelable:!0});return this.$el.dispatchEvent(n),n}handleTriggerClicks(e){const t=e.composedPath()[0],n=mf(`[${vf}-show="${this.id}"]`,t),i=mf(`[${vf}-hide="${this.id}"]`,t),a=mf(`[${vf}-hide]`,t)&&mf('[aria-modal="true"]',t)===this.$el;n&&this.show(e),(i||a)&&this.hide(e)}bindKeypress(e){if(mf('[aria-modal="true"]',pf())!==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,i]=function(e){const t=cf(e,!0);return[t,t?cf(e,!1)||t:null]}(e);if(!n)return t.preventDefault();const a=pf();t.shiftKey&&a===n?(i.focus(),t.preventDefault()):t.shiftKey||a!==i||(n.focus(),t.preventDefault())}(this.$el,e)}maintainFocus(){const e=pf();mf(`[aria-modal="true"], [${vf}-ignore-focus-trap]`,e)||lf(this.$el)}}function bf(){for(const e of document.querySelectorAll("[data-a11y-dialog]"))new gf(e)}"undefined"!=typeof document&&("loading"===document.readyState?document.addEventListener("DOMContentLoaded",bf):bf());var yf=["input:not([inert]):not([inert] *)","select:not([inert]):not([inert] *)","textarea:not([inert]):not([inert] *)","a[href]:not([inert]):not([inert] *)","button:not([inert]):not([inert] *)","[tabindex]:not(slot):not([inert]):not([inert] *)","audio[controls]:not([inert]):not([inert] *)","video[controls]:not([inert]):not([inert] *)",'[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)',"details>summary:first-of-type:not([inert]):not([inert] *)","details:not([inert]):not([inert] *)"].join(","),_f="undefined"==typeof Element,xf=_f?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,wf=!_f&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},Sf=function(e){return"INPUT"===e.tagName},Nf=function(e){var t=e.getBoundingClientRect(),n=t.width,i=t.height;return 0===n&&0===i},Ef=function(e,t){return!(t.disabled||function(e){return Sf(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,i=t.getShadowRoot;if("full-native"===n&&"checkVisibility"in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if("hidden"===getComputedStyle(e).visibility)return!0;var a=xf.call(e,"details>summary:first-of-type")?e.parentElement:e;if(xf.call(a,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"full-native"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return Nf(e)}else{if("function"==typeof i){for(var r=e;e;){var s=e.parentElement,o=wf(e);if(s&&!s.shadowRoot&&!0===i(s))return Nf(e);e=e.assignedSlot?e.assignedSlot:s||o===e.ownerDocument?s:o.host}e=r}if(function(e){var t,n,i,a,r=e&&wf(e),s=null===(t=r)||void 0===t?void 0:t.host,o=!1;if(r&&r!==e)for(o=!!(null!==(n=s)&&void 0!==n&&null!==(i=n.ownerDocument)&&void 0!==i&&i.contains(s)||null!=e&&null!==(a=e.ownerDocument)&&void 0!==a&&a.contains(e));!o&&s;){var l,c,d;o=!(null===(c=s=null===(l=r=wf(s))||void 0===l?void 0:l.host)||void 0===c||null===(d=c.ownerDocument)||void 0===d||!d.contains(s))}return o}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}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 i=t.children.item(n);if("LEGEND"===i.tagName)return!!xf.call(t,"fieldset[disabled] *")||!i.contains(e)}return!0}t=t.parentElement}return!1}(t))},kf=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==xf.call(e,yf)&&function(e,t){return!(function(e){return function(e){return Sf(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||wf(e),i=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=i(window.CSS.escape(e.name));else try{t=i(e.name)}catch(e){return!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)||function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))}(e)?0:e.tabIndex}(t)<0||!Ef(e,t))}(t,e)},Cf="--ods-modal-scrollbar-width",Tf="data-lock-scrolltop",Af=function(){function e(t,n){return f(this,e),this.element=t,this.config=_(_({},{classModalIsOpen:"is-active",classModalIsOpenBody:"has-modal",root:"#root",modalsRoot:"#root-modals"}),n),this.handleShow=this.handleShow.bind(this),this.handleHide=this.handleHide.bind(this),this.show=this.show.bind(this),this.hide=this.hide.bind(this),this.headerFirstItemSpacing=this.headerFirstItemSpacing.bind(this),e.moveToModalRoot=e.moveToModalRoot.bind(this),e.lockBody=e.lockBody.bind(this),e.unlockBody=e.unlockBody.bind(this),this.element.ODS_Modal=this,this.init(),this}return g(e,[{key:"handleShow",value:function(t){e.lockBody(),t&&t.classList.add(this.config.classModalIsOpen);var n=t.querySelector("[data-a11y-dialog-initial-focus]");n&&(kf(n)||n.setAttribute("tabindex","-1"),n.focus())}},{key:"handleHide",value:function(t){e.unlockBody(),t&&t.classList.remove(this.config.classModalIsOpen)}},{key:"show",value:function(){this.instance.show()}},{key:"hide",value:function(){this.instance.hide()}},{key:"headerFirstItemSpacing",value:function(){var e=this.element.querySelector(".modal__header");if(e){var t=e.classList.contains("modal__header--no-spacing"),n=Array.from(e.children).find(function(e){return!e.classList.contains("btn")});n&&!t&&(n.style.marginRight="40px")}}},{key:"init",value:function(){var t=this;this.config.modalsRoot&&!this.config.disablePortal&&e.moveToModalRoot(this.element,document.querySelector(this.config.modalsRoot)),this.instance=new gf(this.element),this.instance.on("show",function(e){var n=e.currentTarget;t.handleShow(n)}),this.instance.on("hide",function(e){var n=e.currentTarget;t.handleHide(n)}),this.headerFirstItemSpacing()}},{key:"destroy",value:function(){if(this.instance){this.instance.hide();var t=this.instance;document.removeEventListener("click",t.handleTriggerClicks,!0),document.body.removeEventListener("focus",t.maintainFocus,!0),this.element.removeEventListener("keydown",t.bindKeypress,!0),e.unlockBody()}this.element.ODS_Modal=this}},{key:"update",value:function(){this.destroy(),this.init()}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Modal||null}},{key:"moveToModalRoot",value:function(e,t){t&&t.appendChild(e)}},{key:"resolveBodyLockClassName",value:function(e,t){var n;return e||(null==t||null===(n=t.config)||void 0===n?void 0:n.classModalIsOpenBody)||"has-modal"}},{key:"lockBody",value:function(t,n){if(!e.isLocked){var i=e.resolveBodyLockClassName(t,this),a=window.scrollY;document.body.setAttribute(Tf,a.toString());var r=window.innerWidth-document.documentElement.clientWidth;document.body.style.position="fixed",document.body.style.top="-".concat(a,"px"),document.body.style.left="0",document.body.style.right="0",document.body.style.paddingRight="".concat(r,"px"),document.body.style.setProperty(Cf,"".concat(r,"px")),document.body.classList.add(i),e.isLocked=!0}}},{key:"unlockBody",value:function(t,n){if(e.isLocked){var i=e.resolveBodyLockClassName(t,this),a=Number.parseInt(document.body.getAttribute(Tf)||"0",10);document.body.style.position="",document.body.style.top="",document.body.style.left="",document.body.style.right="",document.body.style.paddingRight="",document.body.style.removeProperty(Cf),document.body.classList.remove(i),window.scrollTo({top:Number.isFinite(a)?a:0,left:0,behavior:"instant"}),e.isLocked=!1}}}])}();Af.isLocked=!1;var jf=["color","className","children","withTopPadding","disableSpacing"],Of="modal__body",Lf=function(e){var t=e.color,n=e.className,i=e.children,a=e.withTopPadding,r=e.disableSpacing,s=x(e,jf);return F.jsx("div",_(_({className:V(Of,n,_(_(_({},t&&"background-contrast"!==t?b({},t,!0):{}),"background-contrast"===t?b({},"".concat(t," text-inverse"),!0):{}),{},b(b(b({},"".concat(Of,"--colorful"),t),"".concat(Of,"--with-top-padding"),a),"".concat(Of,"--no-spacing"),r)))},s),{},{children:i}))};Lf.displayName="ModalBody";var Df=function(e){return F.jsx(xt,_({iconName:"delete",type:"ghost",isSquare:!0,size:"small",className:"modal__close","data-a11y-dialog-hide":!0,"aria-label":"Zatvoriť"},e))};Df.displayName="ModalCloseButton";var Mf=["size","className","children"],Pf=function(e){var t=e.size,n=e.className,i=e.children,a=x(e,Mf);return F.jsx("h2",_(_({className:V(n,{"display-3":"large"===t,h2:"small"===t})},a),{},{children:i}))};Pf.displayName="ModalTitle";var If=["actions","className","children","hasStickyFooter","id","isActive","onHide","size","title","renderHeader","renderBody","renderTitle","renderFooter","fullHeight","disableHeaderSpacing","disableFooterSpacing"],Rf="modal",zf={actions:[F.jsx(ot,{"data-a11y-dialog-hide":!0,children:"Zatvoriť"},"1")]},Ff=function(e){var t=e.actions,i=void 0===t?zf.actions:t,a=e.className,r=e.children,s=e.hasStickyFooter,o=e.id,l=e.isActive,c=e.onHide,d=e.size,h=e.title,p=e.renderHeader,m=e.renderBody,f=e.renderTitle,v=e.renderFooter,g=e.fullHeight,y=e.disableHeaderSpacing,w=e.disableFooterSpacing,S=x(e,If),E=void 0!==l,k=u(function(){return E?{disablePortal:!0}:{}},[E]),C=N(U(Af,k),2),T=C[0],A=C[1];n(function(){if(A.current&&c){var e=function(){c()};return A.current.instance.on("hide",e),function(){var t;null===(t=A.current)||void 0===t||t.instance.off("hide",e)}}},[A,c]),n(function(){A.current&&(l?A.current.show():!1===l&&A.current.hide())},[A,l]);var j=V("".concat(Rf,"__dialog"),b(b({},"".concat(Rf,"__dialog--").concat(d),d),"".concat(Rf,"__dialog--full-height"),g),a),O="".concat(o,"-title"),L=f?f(o):F.jsx(Pf,{id:O,size:d,"data-a11y-dialog-initial-focus":!0,children:h});return F.jsxs("div",_(_({id:o},!E&&{"data-modal":!0}),{},{className:Rf,ref:T,role:"dialog","aria-hidden":"true","aria-modal":"true","aria-labelledby":O,children:[F.jsx("div",{className:"modal__overlay",tabIndex:-1,"data-a11y-dialog-hide":!0}),F.jsxs("div",_(_({className:j,role:"document"},S),{},{children:[F.jsx("div",{className:V("".concat(Rf,"__header"),b({},"".concat(Rf,"__header--no-spacing"),y)),children:p?p(o):F.jsxs(F.Fragment,{children:[F.jsx(Df,{}),L]})}),m?m():F.jsx(Lf,{withTopPadding:!!p,children:r}),F.jsx("div",{className:V("".concat(Rf,"__footer"),b(b({},"".concat(Rf,"__footer--sticky"),s),"".concat(Rf,"__footer--no-spacing"),w)),children:v?v():F.jsx(fe,{condition:i.length>1,wrapper:F.jsx(be,{}),children:i.map(function(e){return e})})})]}))]}))};Ff.displayName="Modal";var Bf=["className","children","button","image","space"],Hf="modal__product",Vf=e.forwardRef(function(e,t){var n=e.className,i=e.children,a=e.button;e.image,e.space;var r=x(e,Bf),s=V("".concat(Hf,"-footer"),n),o="".concat(Hf,"-footer-content"),l="".concat(Hf,"-footer-button");return F.jsxs("div",_(_({className:s,ref:t},r),{},{children:[F.jsx("div",{className:o,children:i}),F.jsx("div",{className:l,children:a})]}))});Vf.displayName="ModalProductFooter";var Wf=["className","children","image","space","titleId"],qf="modal__product",Uf=e.forwardRef(function(e,t){var n=e.className,i=e.children,a=e.image,r=e.space,s=e.titleId,o=x(e,Wf),l=V("".concat(qf,"-header"),b({},"".concat(qf,"-header--space-small"),"small"===r),n),c="".concat(qf,"-content");return F.jsxs("div",_(_({className:l,ref:t},o),{},{children:[F.jsx("div",{className:c,id:s,children:i}),a]}))});Uf.displayName="ModalProductHeader";var $f=["ariaLabel","className","hasIcon","href","isActive","isFirst","isLast","label"],Gf="pagination__link",Yf=function(e){var t=e.ariaLabel,n=e.className,i=e.hasIcon,a=e.href,r=e.isActive,s=e.isFirst,o=e.isLast,l=e.label,c=x(e,$f),d=V("pagination__item",n),u=V(Gf,"btn btn--square",b({},"".concat(Gf,"--active"),r));return F.jsx("li",_(_({className:d},c),{},{children:F.jsxs("a",{href:a,className:u,"aria-current":r?"page":void 0,"aria-label":t,children:[i&&s&&F.jsx(oe,{name:"chevron-start"}),!i&&l,i&&o&&F.jsx(oe,{name:"chevron-end"})]})}))};Yf.displayName="PaginationItem";var Xf=["className"],Kf=function(e){var t=e.className,n=x(e,Xf),i=V("pagination__separator",t);return F.jsx("li",_(_({className:i},n),{},{children:"…"}))};Kf.displayName="PaginationSeparator";var Zf=["className","label","isCompact","items"],Jf=function(t){var n=t.className,i=t.label,a=t.isCompact,r=t.items,s=x(t,Zf),o=V("pagination",n),l=u(function(){return r.findIndex(function(e){return e.isActive})},[r]);return F.jsx("nav",{"aria-label":i,children:F.jsx("ul",_(_({className:o},s),{},{children:r.map(function(t,n){var i=function(e){var t=e.activeIndex,n=e.items,i=e.isCompact,a=e.index,r=0===a,s=1===a,o=a===t,l=a===n.length-2,c=a===n.length-1,d=t===a-1||t===a+1,u=a<t+Math.floor(2.5)&&a>t||a>t-Math.floor(2.5)&&a<t,h=a<4&&t<3,p=a>n.length-5&&t>n.length-4,m=!(u||h||p||r||o||c),f=s&&m||l&&m;return{isFirst:r,isHidden:m,isLast:c,isSecond:s,isSecondFromEnd:l,hasIcon:i&&!o&&(r||c)&&!d&&!(n.length<=5),showSeparator:f}}({activeIndex:l,items:r,isCompact:a||!1,index:n}),s=i.isFirst,o=i.isHidden,c=i.isLast,d=i.isSecond,u=i.isSecondFromEnd,h=i.hasIcon,p=i.showSeparator;return F.jsxs(e.Fragment,{children:[!a&&p&&d&&F.jsx(Kf,{}),F.jsx(Yf,_(_({},t),{},{ariaLabel:t.ariaLabel||t.label,isActive:t.isActive||!1,isFirst:s,isLast:c,className:V({hide:o}),hasIcon:h})),!a&&p&&u&&F.jsx(Kf,{})]},n.toString())})}))})};Jf.displayName="Pagination";var Qf=["className","children","size","color"],ev="pill",tv=function(e){var t=e.className,n=e.children,i=e.size,a=e.color,r=x(e,Qf);return F.jsx("span",_(_({className:V(ev,b({},ev+"--"+i,i),a,t)},r),{},{children:n}))};tv.displayName="Pill";var nv=["color","label","value","width","className"],iv="orange",av="progress",rv=function(e){var t=e.color,n=void 0===t?iv:t,i=e.label,a=e.value,r=e.width,s=e.className,o=x(e,nv);return F.jsxs("div",_(_({className:V(av,s)},o),{},{children:[F.jsx("div",{className:"".concat(av,"__label"),children:i}),F.jsx("div",{className:"".concat(av,"__bar"),children:F.jsx("div",{className:V("".concat(av,"__indicator"),b({},"".concat(av,"__indicator--").concat(n),n!==iv)),style:{width:"".concat(r?100*r:0,"%")}})}),F.jsx("div",{className:"".concat(av,"__value"),children:a})]}))};rv.displayName="Progress";var sv="promo-banner",ov=function(e){var t=e.image,n=e.className,i=e.alignImage,a=e.flushTopSmDown,r=e.flushBottomSmDown,s=e.bleedImage,o=e.children,l=e.itemClassName,c=e.imageClassName,d=e.variant,u=e.imageFullWidth,h=V(sv,n,b(b(b(b({},"".concat(sv,"--flush-top-sm-down"),a),"".concat(sv,"--flush-bottom-sm-down"),r),"".concat(sv,"--reverse"),"reverse"===d&&!!t),"".concat(sv,"--vertical"),"vertical"===d));return F.jsx("div",{className:h,children:F.jsxs(at,{columnGapSize:"large",children:["reverse"===d&&t&&F.jsx(dt,{size:{xs:12,md:6},className:V("".concat(sv,"__image"),"align-center align-md-left",c),children:F.jsx(Cr,{src:t,alt:"Obrázok",className:V("mb-none",{fullwidth:u})})}),F.jsx(dt,{size:"vertical"===d?{xs:12,sm:10,md:8,lg:6}:{xs:12,md:t?6:7},className:V("".concat(sv,"__item"),{"align-items-center align-center align-self-center":"vertical"===d},l),children:o}),t&&"reverse"!==d&&F.jsx(dt,{size:"vertical"===d?{xs:12}:{xs:12,md:6},className:V("".concat(sv,"__image"),b(b(b(b(b({},"".concat(sv,"__image--bleed-right"),s),"align-self-".concat(i),i),"pt-none","top"===i),"pb-none","bottom"===i),"align-center","vertical"===d),c),children:F.jsx(Cr,{src:t,alt:"Obrázok",className:V("mb-none",{fullwidth:u})})})]})})},lv="promotion-card",cv="".concat(lv,"__section"),dv="".concat(lv,"__content"),uv="".concat(lv,"__image-wrapper"),hv="".concat(lv,"__title"),pv=["className","children","color"],mv=function(e){var t=e.className,n=e.children,i=e.color,a=void 0===i?"background-primary":i,r=x(e,pv),s=V(lv,t);return F.jsx(Ct,_(_({className:s,color:a},r),{},{children:n}))};mv.displayName="PromotionCard";var fv=["className","children"],vv=function(e){var t=e.className,n=e.children,i=x(e,fv),a=V(dv,t);return F.jsx("div",_(_({className:a},i),{},{children:n}))};vv.displayName="PromotionCardContent";var gv=["className","children"],bv=function(e){var t=e.className,n=e.children,i=x(e,gv),a=V(uv,t);return F.jsx("div",_(_({className:a},i),{},{children:n}))};bv.displayName="PromotionCardImageWrapper";var yv=["className","children"],_v=function(e){var t=e.className,n=e.children,i=x(e,yv),a=V(cv,t);return F.jsx(Dt,_(_({className:a},i),{},{children:n}))};_v.displayName="PromotionCardSection";var xv=["className","children"],wv=function(t){var n=t.className,i=t.children,a=x(t,xv),r=V(hv,n);return e.cloneElement(i,_({className:r},a))};wv.displayName="PromotionCardTitle";var Sv=["className","color","spacing","tag","children","containerClassName"],Nv="section",Ev=function(e){var t=e.className,n=e.color,i=e.spacing,a=e.tag,r=void 0===a?"div":a,s=e.children,o=e.containerClassName,l=x(e,Sv),c=V(Nv,_(_(b({},"".concat(Nv,"--").concat(i),i),n&&"background-contrast"!==n?b({},n,!0):{}),"background-contrast"===n?b({},"".concat(n," text-inverse"),!0):{}),t);return F.jsx(r,_(_({className:c},l),{},{children:F.jsx($a,{className:o,children:s})}))};Ev.displayName="Section";var kv=["className"],Cv=function(e){var t=e.className,n=x(e,kv),i=V("skeleton",t);return F.jsx("span",_(_({className:i},n),{},{children:""}))};Cv.displayName="Skeleton";var Tv=["href","className"],Av=function(e){var t=e.href,n=void 0===t?"#maincontent":t,i=e.className,a=x(e,Tv),r=V("skip-link",i);return F.jsx("a",_(_({href:n,className:r},a),{},{children:"Preskočiť na hlavný obsah"}))};Av.displayName="SkipLink";var jv=["name","className"],Ov="social-button",Lv=e.forwardRef(function(e,t){var n=e.name,i=e.className,a=x(e,jv),r=V(Ov,"".concat(Ov,"--").concat(n),i);return"href"in a?F.jsx("a",_(_({ref:t,className:r},a),{},{children:F.jsx(oe,{name:n,size:"medium"})})):F.jsx("button",_(_({ref:t,className:r},a),{},{children:F.jsx(oe,{name:n,size:"medium"})}))});Lv.displayName="SocialButton";var Dv=["showTitlesFrom","steps","label","className"],Mv="stepbar",Pv=function(e){var t=e.showTitlesFrom,n=e.steps,i=e.label,a=void 0===i?"krok":i,r=e.className,s=x(e,Dv),o=n.findIndex(function(e){return e.isCurrent}),l=function(e,n){var i="".concat(n+1,". ").concat(e.title);return n<o?F.jsx("a",{href:e.href,className:V("".concat(Mv,"__link"),b({},"".concat(Mv,"__title-").concat(t),t)),children:i}):F.jsx("span",{"aria-current":n===o?"step":void 0,className:t?"stepbar__title-".concat(t):"",children:i})};return F.jsx("nav",_(_({className:V(Mv,b({},"".concat(Mv,"--wide-").concat(t),t),r),"aria-label":a},s),{},{children:F.jsx("ol",{className:"".concat(Mv,"__list"),children:n.map(function(e,t){return F.jsx("li",{className:V("".concat(Mv,"__item"),b({},"".concat(Mv,"__item--current"),t===o)),children:l(e,t)},t.toString())})})}))};Pv.displayName="Stepbar";var Iv=["href","children","className","controls","isDisabled","isActive"],Rv=function(e){var t=e.href,n=e.children,i=e.className,a=e.controls,r=e.isDisabled,s=e.isActive,o=x(e,Iv),l=V("tab-list__tab",i),c=s?0:-1,d=t?"a":"button";return F.jsx("li",{className:"tab-list__item",role:"presentation",children:F.jsx(d,_(_({type:t?void 0:"button",role:t?void 0:"tab",href:t,className:l,"aria-selected":s,"aria-controls":a||void 0,tabIndex:c,"aria-disabled":r},o),{},{children:n}))})};Rv.displayName="Tab";var zv=["children","isActive","id","href","isDisabled"],Fv=function(e){var t=e.children,n=e.isActive,i=e.id,a=e.href;e.isDisabled;var r=x(e,zv),s=i||q();return F.jsx("div",_(_({id:s,role:a?"":"tabpanel",tabIndex:0,hidden:!n},r),{},{children:t}))};Fv.displayName="TabPanel";var Bv={tabSelector:'[role="tab"]'},Hv=function(){function e(t,n){return f(this,e),this.isActive=function(e){return!!e&&!e.hasAttribute("hidden")},this.isSelected=function(e){return"true"===e.getAttribute("aria-selected")},this.element=t,this.config=_(_({},Bv),n),this.tabs=[],this.tabPanels=[],this.activeTabIndex=null,this.rovingTabindex=null,this.resizeObserver=null,this.viewportElement=null,this.handleClick=this.handleClick.bind(this),this.handleTabFocus=this.handleTabFocus.bind(this),this.horizontalScrollHandler=this.updateHorizontalOverflowState.bind(this),this.resizeHandler=this.updateHorizontalOverflowState.bind(this),this.element.ODS_Tabs=this,this.init(),this}return g(e,[{key:"init",value:function(){var e=this;this.tabs=Array.from(this.element.querySelectorAll(this.config.tabSelector)),this.tabs.map(function(t,n){var i=t.getAttribute("aria-controls");return e.tabPanels.push(i?document.getElementById(i):null),t.addEventListener("click",e.handleClick),t.addEventListener("focus",e.handleTabFocus),e.isSelected(t)&&(e.activeTabIndex=n),t}),this.rovingTabindex?this.rovingTabindex.update(this.tabs):this.rovingTabindex=new X(this.tabs,{direction:"any"}),null!==this.activeTabIndex?this.setActiveTab(this.activeTabIndex):this.tabs.length>0&&this.activateNthTab(0),this.setupOverflowObserver()}},{key:"destroy",value:function(){var e=this;this.teardownOverflowObserver(),this.tabs.map(function(t){return t.removeEventListener("click",e.handleClick),t.removeEventListener("focus",e.handleTabFocus),t}),this.tabs=[],this.tabPanels=[],this.rovingTabindex&&this.rovingTabindex.destroy(),this.element.ODS_Tabs=null}},{key:"setupOverflowObserver",value:function(){var e,t=this;this.teardownOverflowObserver(),this.viewportElement=null!==(e=this.element.parentElement)&&void 0!==e&&e.classList.contains("tab-list__viewport")?this.element.parentElement:null,this.element.addEventListener("scroll",this.horizontalScrollHandler,{passive:!0}),window.addEventListener("resize",this.resizeHandler),"undefined"!=typeof ResizeObserver&&(this.resizeObserver=new ResizeObserver(this.resizeHandler),this.resizeObserver.observe(this.element),this.tabs.forEach(function(e){var n;return null===(n=t.resizeObserver)||void 0===n?void 0:n.observe(e)})),this.updateHorizontalOverflowState()}},{key:"teardownOverflowObserver",value:function(){this.element.removeEventListener("scroll",this.horizontalScrollHandler),window.removeEventListener("resize",this.resizeHandler),this.viewportElement&&(this.viewportElement.classList.remove("has-left-overflow","has-right-overflow"),this.viewportElement=null),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"updateHorizontalOverflowState",value:function(){if(this.viewportElement){var t=this.element.scrollWidth-this.element.clientWidth,n=t>e.SCROLL_EDGE_TOLERANCE,i=this.element.scrollLeft<=e.SCROLL_EDGE_TOLERANCE,a=this.element.scrollLeft>=t-e.SCROLL_EDGE_TOLERANCE;this.viewportElement.classList.toggle("has-left-overflow",n&&!i),this.viewportElement.classList.toggle("has-right-overflow",n&&!a)}}},{key:"update",value:function(){this.destroy(),this.init()}},{key:"setActiveTab",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.tabs.map(function(n,i){return i===e?(t.activeTabIndex=i,t.toggleTab(n,"on")):t.toggleTab(n,"off")}),this.tabPanels.map(function(n,i){return i===e?t.toggleTabPanel(n,"on"):t.toggleTabPanel(n,"off")});var i=this.tabs[e];i&&this.scrollTabIntoView(i,n)}},{key:"scrollTabIntoView",value:function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=Math.max(0,this.element.scrollWidth-this.element.clientWidth),a=this.element.getBoundingClientRect(),r=t.getBoundingClientRect(),s=r.left-a.left+this.element.scrollLeft+r.width/2-this.element.clientWidth/2,o=window.innerWidth<768?"auto":"smooth",l=Math.min(i,Math.max(0,s)),c=Math.abs(this.element.scrollLeft-l)<=e.SCROLL_ALIGNMENT_TOLERANCE;!n&&c||("function"!=typeof this.element.scrollTo?(this.element.scrollLeft=l,this.updateHorizontalOverflowState()):this.element.scrollTo({left:l,behavior:o}))}},{key:"handleClick",value:function(e){var t=e.currentTarget;if(t.hasAttribute("aria-disabled"))e.preventDefault();else{var n=this.tabs.findIndex(function(e){return e===t});n>=0&&this.setActiveTab(n,!0)}}},{key:"toggleTab",value:function(e,t){var n=this.isSelected(e);"on"!==t||n||(e.setAttribute("aria-selected","true"),e.setAttribute("tabindex","0")),"off"===t&&n&&(e.setAttribute("aria-selected","false"),e.setAttribute("tabindex","-1"))}},{key:"toggleTabPanel",value:function(e,t){if(e){var n=this.isActive(e);"on"!==t||n||e.removeAttribute("hidden"),"off"===t&&n&&e.setAttribute("hidden","")}}},{key:"activateNthTab",value:function(e){this.setActiveTab(e,!0)}},{key:"handleTabFocus",value:function(e){this.rovingTabindex&&!this.rovingTabindex.isActive&&this.rovingTabindex.init();var t=e.currentTarget;t&&this.shouldCenterFocusedTab(t)&&this.scrollTabIntoView(t)}},{key:"shouldCenterFocusedTab",value:function(e){if("function"!=typeof e.matches)return!0;try{return e.matches(":focus-visible")}catch(e){return!0}}}],[{key:"getInstance",value:function(e){return e&&e.ODS_Tabs?e.ODS_Tabs:null}}])}();Hv.SCROLL_ALIGNMENT_TOLERANCE=1,Hv.SCROLL_EDGE_TOLERANCE=1;var Vv=["activeTabIndex","className","classesTabNav","isFullWidth","isLink","hasEqualTabWidth","children"],Wv=function(t){var n=t.activeTabIndex,i=void 0===n?0:n,a=t.className,r=t.classesTabNav,s=t.isFullWidth,o=t.isLink,l=t.hasEqualTabWidth,c=t.children,d=x(t,Vv),u="tab-list",h=V(u,b({},"".concat(u,"--equal"),l),b({},"".concat(u,"--fullwidth"),s),r,a),p=N(U(Hv),1)[0],m=e.Children.toArray(c).filter(function(t){return e.isValidElement(t)});return F.jsxs(F.Fragment,{children:[F.jsx("div",{className:"tab-list__viewport",children:F.jsxs("ul",_(_({className:h,role:o?"navigation":"tablist",ref:p,"data-tabs":o?void 0:"true"},d),{},{children:[m.map(function(t,n){var a=n===i,r=t.props||{},s=r.renderTab,o=void 0===s?void 0:s,l=r.id,c=r.isDisabled,d=r.tab,u=r.href,h=l||"tab-".concat(n);if(!o)return F.jsx(Rv,{controls:u?"":h,href:u,isDisabled:c,isActive:a,children:d},h);var p=o(r);return e.cloneElement(p,{key:h,isActive:a})}),s&&F.jsx("li",{role:"presentation",className:"tab-list__hr"})]}))}),o?null:m.map(function(t,n){var a=n===i,r=(t.props||{}).id||"tab-".concat(n);return e.cloneElement(t,{key:r,isActive:a,tab:void 0})})]})};Wv.displayName="Tabs";var qv=["className","children","color","isDiv"],Uv=function(e){var t=e.className,n=e.children,i=e.color,a=void 0===i?"default":i,r=e.isDiv,s=void 0!==r&&r,o=x(e,qv),l=s?"div":"p",c=V("testimonial",b({},"testimonial--".concat(a),"orange"===a),t);return F.jsx(l,_(_({className:c},o),{},{children:n}))};Uv.displayName="Testimonial";var $v=["className","children","variant","vAlign","hAlign"],Gv="tile",Yv=function(e){var t=e.className,n=e.children,i=e.variant,a=e.vAlign,r=e.hAlign,s=x(e,$v),o="compact"===i,l="action"===i,c=V(Gv,b(b({},"".concat(Gv,"--compact"),o),"".concat(Gv,"--action"),l),t),d=V("".concat(Gv,"__body"),!l&&a&&"justify-content-".concat(a),!l&&r&&"align-items-".concat(r)),u=l?{name:"chevron-right",size:"medium",color:"orange"}:null;return F.jsx("div",_(_({className:c},s),{},{children:F.jsxs("div",{className:d,children:[n,u&&F.jsx(oe,_({},u))]})}))};Yv.displayName="Tile";var Xv,Kv={exports:{}},Zv=(Xv||(Xv=1,window,Kv.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var a=t[i]={i:i,l:!1,exports:{}};return e[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)n.d(i,a,function(t){return e[t]}.bind(null,a));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=37)}([function(e,t,n){var i=n(1),a=n(6),r=n(7),s=n(16),o=n(18),l="prototype",c=function(e,t,n){var d,u,h,p,m=e&c.F,f=e&c.G,v=e&c.S,g=e&c.P,b=e&c.B,y=f?i:v?i[t]||(i[t]={}):(i[t]||{})[l],_=f?a:a[t]||(a[t]={}),x=_[l]||(_[l]={});for(d in f&&(n=t),n)h=((u=!m&&y&&void 0!==y[d])?y:n)[d],p=b&&u?o(h,i):g&&"function"==typeof h?o(Function.call,h):h,y&&s(y,d,h,e&c.U),_[d]!=h&&r(_,d,p),g&&x[d]!=h&&(x[d]=h)};i.core=a,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,e.exports=c},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){e.exports=!n(4)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){n.r(t),n.d(t,"h",function(){return o}),n.d(t,"createElement",function(){return o}),n.d(t,"cloneElement",function(){return d}),n.d(t,"Component",function(){return M}),n.d(t,"render",function(){return P}),n.d(t,"rerender",function(){return m}),n.d(t,"options",function(){return a});var i=function(){},a={},r=[],s=[];function o(e,t){var n,o,l,c,d=s;for(c=arguments.length;2<c--;)r.push(arguments[c]);for(t&&null!=t.children&&(r.length||r.push(t.children),delete t.children);r.length;)if((o=r.pop())&&void 0!==o.pop)for(c=o.length;c--;)r.push(o[c]);else"boolean"==typeof o&&(o=null),(l="function"!=typeof e)&&(null==o?o="":"number"==typeof o?o=String(o):"string"!=typeof o&&(l=!1)),l&&n?d[d.length-1]+=o:d===s?d=[o]:d.push(o),n=l;var u=new i;return u.nodeName=e,u.children=d,u.attributes=null==t?void 0:t,u.key=null==t?void 0:t.key,void 0!==a.vnode&&a.vnode(u),u}function l(e,t){for(var n in t)e[n]=t[n];return e}var c="function"==typeof Promise?Promise.resolve().then.bind(Promise.resolve()):setTimeout;function d(e,t){return o(e.nodeName,l(l({},e.attributes),t),2<arguments.length?[].slice.call(arguments,2):e.children)}var u=/acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,h=[];function p(e){!e._dirty&&(e._dirty=!0)&&1==h.push(e)&&(a.debounceRendering||c)(m)}function m(){var e,t=h;for(h=[];e=t.pop();)e._dirty&&L(e)}function f(e,t){return e.normalizedNodeName===t||e.nodeName.toLowerCase()===t.toLowerCase()}function v(e){var t=l({},e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(void 0!==n)for(var i in n)void 0===t[i]&&(t[i]=n[i]);return t}function g(e){var t=e.parentNode;t&&t.removeChild(e)}function b(e,t,n,i,a){if("className"===t&&(t="class"),"key"===t);else if("ref"===t)n&&n(null),i&&i(e);else if("class"!==t||a)if("style"===t){if(i&&"string"!=typeof i&&"string"!=typeof n||(e.style.cssText=i||""),i&&"object"==typeof i){if("string"!=typeof n)for(var r in n)r in i||(e.style[r]="");for(var r in i)e.style[r]="number"==typeof i[r]&&!1===u.test(r)?i[r]+"px":i[r]}}else if("dangerouslySetInnerHTML"===t)i&&(e.innerHTML=i.__html||"");else if("o"==t[0]&&"n"==t[1]){var s=t!==(t=t.replace(/Capture$/,""));t=t.toLowerCase().substring(2),i?n||e.addEventListener(t,y,s):e.removeEventListener(t,y,s),(e._listeners||(e._listeners={}))[t]=i}else if("list"!==t&&"type"!==t&&!a&&t in e){try{e[t]=null==i?"":i}catch(e){}null!=i&&!1!==i||"spellcheck"==t||e.removeAttribute(t)}else{var o=a&&t!==(t=t.replace(/^xlink:?/,""));null==i||!1===i?o?e.removeAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase()):e.removeAttribute(t):"function"!=typeof i&&(o?e.setAttributeNS("http://www.w3.org/1999/xlink",t.toLowerCase(),i):e.setAttribute(t,i))}else e.className=i||""}function y(e){return this._listeners[e.type](a.event&&a.event(e)||e)}var _=[],x=0,w=!1,S=!1;function N(){for(var e;e=_.pop();)a.afterMount&&a.afterMount(e),e.componentDidMount&&e.componentDidMount()}function E(e,t,n,i,a){var r=e,s=w;if(null!=t&&"boolean"!=typeof t||(t=""),"string"==typeof t||"number"==typeof t)return e&&void 0!==e.splitText&&e.parentNode&&(!e._component||a)?e.nodeValue!=t&&(e.nodeValue=t):(r=document.createTextNode(t),e&&(e.parentNode&&e.parentNode.replaceChild(r,e),k(e,!0))),r.__preactattr_=!0,r;var o=t.nodeName;if("function"==typeof o)return function(e,t,n,i){for(var a=e&&e._component,r=a,s=e,o=a&&e._componentConstructor===t.nodeName,l=o,c=v(t);a&&!l&&(a=a._parentComponent);)l=a.constructor===t.nodeName;return a&&l&&(!i||a._component)?(O(a,c,3,n,i),e=a.base):(r&&!o&&(D(r),e=s=null),a=A(t.nodeName,c,n),e&&!a.nextBase&&(a.nextBase=e,s=null),O(a,c,1,n,i),e=a.base,s&&e!==s&&(s._component=null,k(s,!1))),e}(e,t,n,i);if(w="svg"===o||"foreignObject"!==o&&w,o=String(o),(!e||!f(e,o))&&(r=function(e,t){var n=t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return n.normalizedNodeName=e,n}(o,w),e)){for(;e.firstChild;)r.appendChild(e.firstChild);e.parentNode&&e.parentNode.replaceChild(r,e),k(e,!0)}var l=r.firstChild,c=r.__preactattr_,d=t.children;if(null==c){c=r.__preactattr_={};for(var u=r.attributes,h=u.length;h--;)c[u[h].name]=u[h].value}return!S&&d&&1===d.length&&"string"==typeof d[0]&&null!=l&&void 0!==l.splitText&&null==l.nextSibling?l.nodeValue!=d[0]&&(l.nodeValue=d[0]):(d&&d.length||null!=l)&&function(e,t,n,i,a){var r,s,o,l,c,d,u,h,p=e.childNodes,m=[],v={},b=0,y=0,_=p.length,x=0,w=t?t.length:0;if(0!==_)for(var S=0;S<_;S++){var N=p[S],C=N.__preactattr_;null!=(T=w&&C?N._component?N._component.__key:C.key:null)?(b++,v[T]=N):(C||(void 0!==N.splitText?!a||N.nodeValue.trim():a))&&(m[x++]=N)}if(0!==w)for(S=0;S<w;S++){var T;if(c=null,null!=(T=(l=t[S]).key))b&&void 0!==v[T]&&(c=v[T],v[T]=void 0,b--);else if(y<x)for(r=y;r<x;r++)if(void 0!==m[r]&&(d=s=m[r],h=a,"string"==typeof(u=l)||"number"==typeof u?void 0!==d.splitText:"string"==typeof u.nodeName?!d._componentConstructor&&f(d,u.nodeName):h||d._componentConstructor===u.nodeName)){c=s,m[r]=void 0,r===x-1&&x--,r===y&&y++;break}c=E(c,l,n,i),o=p[S],c&&c!==e&&c!==o&&(null==o?e.appendChild(c):c===o.nextSibling?g(o):e.insertBefore(c,o))}if(b)for(var S in v)void 0!==v[S]&&k(v[S],!1);for(;y<=x;)void 0!==(c=m[x--])&&k(c,!1)}(r,d,n,i,S||null!=c.dangerouslySetInnerHTML),function(e,t,n){var i;for(i in n)t&&null!=t[i]||null==n[i]||b(e,i,n[i],n[i]=void 0,w);for(i in t)"children"===i||"innerHTML"===i||i in n&&t[i]===("value"===i||"checked"===i?e[i]:n[i])||b(e,i,n[i],n[i]=t[i],w)}(r,t.attributes,c),w=s,r}function k(e,t){var n=e._component;n?D(n):(null!=e.__preactattr_&&e.__preactattr_.ref&&e.__preactattr_.ref(null),!1!==t&&null!=e.__preactattr_||g(e),C(e))}function C(e){for(e=e.lastChild;e;){var t=e.previousSibling;k(e,!0),e=t}}var T=[];function A(e,t,n){var i,a=T.length;for(e.prototype&&e.prototype.render?(i=new e(t,n),M.call(i,t,n)):((i=new M(t,n)).constructor=e,i.render=j);a--;)if(T[a].constructor===e)return i.nextBase=T[a].nextBase,T.splice(a,1),i;return i}function j(e,t,n){return this.constructor(e,n)}function O(e,t,n,i,r){e._disable||(e._disable=!0,e.__ref=t.ref,e.__key=t.key,delete t.ref,delete t.key,void 0===e.constructor.getDerivedStateFromProps&&(!e.base||r?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,i)),i&&i!==e.context&&(e.prevContext||(e.prevContext=e.context),e.context=i),e.prevProps||(e.prevProps=e.props),e.props=t,e._disable=!1,0!==n&&(1!==n&&!1===a.syncComponentUpdates&&e.base?p(e):L(e,1,r)),e.__ref&&e.__ref(e))}function L(e,t,n,i){if(!e._disable){var r,s,o,c=e.props,d=e.state,u=e.context,h=e.prevProps||c,p=e.prevState||d,m=e.prevContext||u,f=e.base,g=e.nextBase,b=f||g,y=e._component,C=!1,T=m;if(e.constructor.getDerivedStateFromProps&&(d=l(l({},d),e.constructor.getDerivedStateFromProps(c,d)),e.state=d),f&&(e.props=h,e.state=p,e.context=m,2!==t&&e.shouldComponentUpdate&&!1===e.shouldComponentUpdate(c,d,u)?C=!0:e.componentWillUpdate&&e.componentWillUpdate(c,d,u),e.props=c,e.state=d,e.context=u),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!C){r=e.render(c,d,u),e.getChildContext&&(u=l(l({},u),e.getChildContext())),f&&e.getSnapshotBeforeUpdate&&(T=e.getSnapshotBeforeUpdate(h,p));var j,M,P=r&&r.nodeName;if("function"==typeof P){var I=v(r);(s=y)&&s.constructor===P&&I.key==s.__key?O(s,I,1,u,!1):(j=s,e._component=s=A(P,I,u),s.nextBase=s.nextBase||g,s._parentComponent=e,O(s,I,0,u,!1),L(s,1,n,!0)),M=s.base}else o=b,(j=y)&&(o=e._component=null),(b||1===t)&&(o&&(o._component=null),M=function(e,t,n,i,a,r){x++||(w=null!=a&&void 0!==a.ownerSVGElement,S=null!=e&&!("__preactattr_"in e));var s=E(e,t,n,i,r);return a&&s.parentNode!==a&&a.appendChild(s),--x||(S=!1),s}(o,r,u,n||!f,b&&b.parentNode,!0));if(b&&M!==b&&s!==y){var R=b.parentNode;R&&M!==R&&(R.replaceChild(M,b),j||(b._component=null,k(b,!1)))}if(j&&D(j),(e.base=M)&&!i){for(var z=e,F=e;F=F._parentComponent;)(z=F).base=M;M._component=z,M._componentConstructor=z.constructor}}for(!f||n?_.unshift(e):C||(e.componentDidUpdate&&e.componentDidUpdate(h,p,T),a.afterUpdate&&a.afterUpdate(e));e._renderCallbacks.length;)e._renderCallbacks.pop().call(e);x||i||N()}}function D(e){a.beforeUnmount&&a.beforeUnmount(e);var t=e.base;e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var n=e._component;n?D(n):t&&(t.__preactattr_&&t.__preactattr_.ref&&t.__preactattr_.ref(null),g(e.nextBase=t),T.push(e),C(t)),e.__ref&&e.__ref(null)}function M(e,t){this._dirty=!0,this.context=t,this.props=e,this.state=this.state||{},this._renderCallbacks=[]}function P(e,t,n){return function(e,t,n,i,a,r){x++||(w=null!=a&&void 0!==a.ownerSVGElement,S=null!=e&&!("__preactattr_"in e));var s=E(e,t,n,i,r);return a&&s.parentNode!==a&&a.appendChild(s),--x||(S=!1,N()),s}(n,e,{},!1,t,!1)}l(M.prototype,{setState:function(e,t){this.prevState||(this.prevState=this.state),this.state=l(l({},this.state),"function"==typeof e?e(this.state,this.props):e),t&&this._renderCallbacks.push(t),p(this)},forceUpdate:function(e){e&&this._renderCallbacks.push(e),L(this,2)},render:function(){}});var I={h:o,createElement:o,cloneElement:d,Component:M,render:P,rerender:m,options:a};t.default=I},function(e,t){var n=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=n)},function(e,t,n){var i=n(8),a=n(40);e.exports=n(3)?function(e,t,n){return i.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var i=n(9),a=n(38),r=n(39),s=Object.defineProperty;t.f=n(3)?Object.defineProperty:function(e,t,n){if(i(e),t=r(t,!0),i(n),a)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var i=n(2);e.exports=function(e){if(!i(e))throw TypeError(e+" is not an object!");return e}},function(e,t){var n=0,i=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+i).toString(36))}},function(e,t,n){var i=n(22);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==i(e)?e.split(""):Object(e)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var i=n(4);e.exports=function(e,t){return!!e&&i(function(){t?e.call(null,function(){},1):e.call(null)})}},function(e,t,n){var i=n(0);i(i.S+i.F,"Object",{assign:n(41)})},function(e,t,n){var i=n(2),a=n(1).document,r=i(a)&&i(a.createElement);e.exports=function(e){return r?a.createElement(e):{}}},function(e,t,n){var i=n(1),a=n(7),r=n(17),s=n(10)("src"),o="toString",l=Function[o],c=(""+l).split(o);n(6).inspectSource=function(e){return l.call(e)},(e.exports=function(e,t,n,o){var l="function"==typeof n;l&&(r(n,"name")||a(n,"name",t)),e[t]!==n&&(l&&(r(n,s)||a(n,s,e[t]?""+e[t]:c.join(String(t)))),e===i?e[t]=n:o?e[t]?e[t]=n:a(e,t,n):(delete e[t],a(e,t,n)))})(Function.prototype,o,function(){return"function"==typeof this&&this[s]||l.call(this)})},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var i=n(19);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,a){return e.call(t,n,i,a)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,n){var i=n(42),a=n(28);e.exports=Object.keys||function(e){return i(e,a)}},function(e,t,n){var i=n(11),a=n(12);e.exports=function(e){return i(a(e))}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var i=n(21),a=n(24),r=n(43);e.exports=function(e){return function(t,n,s){var o,l=i(t),c=a(l.length),d=r(s,c);if(e&&n!=n){for(;d<c;)if((o=l[d++])!=o)return!0}else for(;d<c;d++)if((e||d in l)&&l[d]===n)return e||d||0;return!e&&-1}}},function(e,t,n){var i=n(25),a=Math.min;e.exports=function(e){return 0<e?a(i(e),9007199254740991):0}},function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0<e?i:n)(e)}},function(e,t,n){var i=n(27)("keys"),a=n(10);e.exports=function(e){return i[e]||(i[e]=a(e))}},function(e,t,n){var i=n(6),a=n(1),r="__core-js_shared__",s=a[r]||(a[r]={});(e.exports=function(e,t){return s[e]||(s[e]=void 0!==t?t:{})})("versions",[]).push({version:i.version,mode:n(44)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var i=n(12);e.exports=function(e){return Object(i(e))}},function(e,t,n){var i=n(8).f,a=Function.prototype,r=/^\s*function ([^ (]*)/;"name"in a||n(3)&&i(a,"name",{configurable:!0,get:function(){try{return(""+this).match(r)[1]}catch(e){return""}}})},function(e,t,n){var i=n(0),a=n(32)(1);i(i.P+i.F*!n(13)([].map,!0),"Array",{map:function(e){return a(this,e,arguments[1])}})},function(e,t,n){var i=n(18),a=n(11),r=n(29),s=n(24),o=n(47);e.exports=function(e,t){var n=1==e,l=2==e,c=3==e,d=4==e,u=6==e,h=5==e||u,p=t||o;return function(t,o,m){for(var f,v,g=r(t),b=a(g),y=i(o,m,3),_=s(b.length),x=0,w=n?p(t,_):l?p(t,0):void 0;x<_;x++)if((h||x in b)&&(v=y(f=b[x],x,g),e))if(n)w[x]=v;else if(v)switch(e){case 3:return!0;case 5:return f;case 6:return x;case 2:w.push(f)}else if(d)return!1;return u?-1:c||d?d:w}}},function(e,t,n){var i=n(22);e.exports=Array.isArray||function(e){return"Array"==i(e)}},function(e,t,n){var i=n(27)("wks"),a=n(10),r=n(1).Symbol,s="function"==typeof r;(e.exports=function(e){return i[e]||(i[e]=s&&r[e]||(s?r:a)("Symbol."+e))}).store=i},function(e,t,n){var i=n(0),a=n(23)(!1),r=[].indexOf,s=!!r&&1/[1].indexOf(1,-0)<0;i(i.P+i.F*(s||!n(13)(r)),"Array",{indexOf:function(e){return s?r.apply(this,arguments)||0:a(this,e,arguments[1])}})},function(e,t,n){var i=n(0);i(i.S,"Object",{create:n(52)})},function(e,t,n){t.__esModule=!0,t.default=void 0,n(14),n(30),n(31),n(35),n(49),n(50);var i=n(5),a=function(e){return e&&e.__esModule?e:{default:e}}(n(51));function r(e){if(!e.element)throw new Error("element is not defined");if(!e.id)throw new Error("id is not defined");if(!e.source)throw new Error("source is not defined");Array.isArray(e.source)&&(e.source=s(e.source)),(0,i.render)((0,i.createElement)(a.default,e),e.element)}var s=function(e){return function(t,n){n(e.filter(function(e){return-1!==e.toLowerCase().indexOf(t.toLowerCase())}))}};r.enhanceSelectElement=function(e){if(!e.selectElement)throw new Error("selectElement is not defined");if(!e.source){var t=[].filter.call(e.selectElement.options,function(t){return t.value||e.preserveNullOptions});e.source=t.map(function(e){return e.textContent||e.innerText})}if(e.onConfirm=e.onConfirm||function(t){var n=[].filter.call(e.selectElement.options,function(e){return(e.textContent||e.innerText)===t})[0];n&&(n.selected=!0)},e.selectElement.value||void 0===e.defaultValue){var n=e.selectElement.options.selectedIndex,i=0<=n?e.selectElement.options[n]:null;e.defaultValue=i?i.textContent||i.innerText:""}if(void 0===e.name&&(e.name=""),void 0===e.id&&(void 0===e.selectElement.id?e.id="":e.id=e.selectElement.id),void 0===e.autoselect&&(e.autoselect=!0),void 0===e.autocomplete){var a=e.selectElement.getAttribute("autocomplete");null!==a&&(e.autocomplete=a)}var s=document.createElement("div");e.selectElement.parentNode.insertBefore(s,e.selectElement),r(Object.assign({},e,{element:s})),e.selectElement.style.display="none",e.selectElement.id=e.selectElement.id+"-select"};var o=r;t.default=o},function(e,t,n){e.exports=!n(3)&&!n(4)(function(){return 7!=Object.defineProperty(n(15)("div"),"a",{get:function(){return 7}}).a})},function(e,t,n){var i=n(2);e.exports=function(e,t){if(!i(e))return e;var n,a;if(t&&"function"==typeof(n=e.toString)&&!i(a=n.call(e)))return a;if("function"==typeof(n=e.valueOf)&&!i(a=n.call(e)))return a;if(!t&&"function"==typeof(n=e.toString)&&!i(a=n.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var i=n(20),a=n(45),r=n(46),s=n(29),o=n(11),l=Object.assign;e.exports=!l||n(4)(function(){var e={},t={},n=Symbol(),i="abcdefghijklmnopqrst";return e[n]=7,i.split("").forEach(function(e){t[e]=e}),7!=l({},e)[n]||Object.keys(l({},t)).join("")!=i})?function(e,t){for(var n=s(e),l=arguments.length,c=1,d=a.f,u=r.f;c<l;)for(var h,p=o(arguments[c++]),m=d?i(p).concat(d(p)):i(p),f=m.length,v=0;v<f;)u.call(p,h=m[v++])&&(n[h]=p[h]);return n}:l},function(e,t,n){var i=n(17),a=n(21),r=n(23)(!1),s=n(26)("IE_PROTO");e.exports=function(e,t){var n,o=a(e),l=0,c=[];for(n in o)n!=s&&i(o,n)&&c.push(n);for(;t.length>l;)i(o,n=t[l++])&&(~r(c,n)||c.push(n));return c}},function(e,t,n){var i=n(25),a=Math.max,r=Math.min;e.exports=function(e,t){return(e=i(e))<0?a(e+t,0):r(e,t)}},function(e,t){e.exports=!1},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){var i=n(48);e.exports=function(e,t){return new(i(e))(t)}},function(e,t,n){var i=n(2),a=n(33),r=n(34)("species");e.exports=function(e){var t;return a(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!a(t.prototype)||(t=void 0),i(t)&&null===(t=t[r])&&(t=void 0)),void 0===t?Array:t}},function(e,t,n){var i=n(0),a=n(32)(2);i(i.P+i.F*!n(13)([].filter,!0),"Array",{filter:function(e){return a(this,e,arguments[1])}})},function(e,t,n){var i=n(0);i(i.S,"Array",{isArray:n(33)})},function(e,t,n){t.__esModule=!0,t.default=void 0,n(14),n(36),n(30),n(31),n(35),n(55),n(58);var i=n(5),a=s(n(60)),r=s(n(61));function s(e){return e&&e.__esModule?e:{default:e}}function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function l(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var c={13:"enter",27:"escape",32:"space",38:"up",40:"down"};function d(){return"undefined"!=typeof navigator&&!(!navigator.userAgent.match(/(iPod|iPhone|iPad)/g)||!navigator.userAgent.match(/AppleWebKit/g))}var u=function(e){function t(t){var n;return(n=e.call(this,t)||this).elementReferences={},n.state={focused:null,hovered:null,menuOpen:!1,options:t.defaultValue?[t.defaultValue]:[],query:t.defaultValue,validChoiceMade:!1,selected:null,ariaHint:!0,searchOnInteraction:!0},n.handleComponentBlur=n.handleComponentBlur.bind(l(l(n))),n.handleKeyDown=n.handleKeyDown.bind(l(l(n))),n.handleUpArrow=n.handleUpArrow.bind(l(l(n))),n.handleDownArrow=n.handleDownArrow.bind(l(l(n))),n.handleEnter=n.handleEnter.bind(l(l(n))),n.handlePrintableKey=n.handlePrintableKey.bind(l(l(n))),n.handleListMouseLeave=n.handleListMouseLeave.bind(l(l(n))),n.handleOptionBlur=n.handleOptionBlur.bind(l(l(n))),n.handleOptionClick=n.handleOptionClick.bind(l(l(n))),n.handleOptionFocus=n.handleOptionFocus.bind(l(l(n))),n.handleOptionMouseDown=n.handleOptionMouseDown.bind(l(l(n))),n.handleOptionMouseEnter=n.handleOptionMouseEnter.bind(l(l(n))),n.handleInputBlur=n.handleInputBlur.bind(l(l(n))),n.handleInputChange=n.handleInputChange.bind(l(l(n))),n.handleInputFocus=n.handleInputFocus.bind(l(l(n))),n.pollInputElement=n.pollInputElement.bind(l(l(n))),n.getDirectInputChanges=n.getDirectInputChanges.bind(l(l(n))),n}!function(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}(t,e);var n=t.prototype;return n.isQueryAnOption=function(e,t){var n=this;return-1!==t.map(function(e){return n.templateInputValue(e).toLowerCase()}).indexOf(e.toLowerCase())},n.componentDidMount=function(){this.pollInputElement()},n.componentWillUnmount=function(){clearTimeout(this.$pollInput)},n.pollInputElement=function(){var e=this;this.getDirectInputChanges(),this.$pollInput=setTimeout(function(){e.pollInputElement()},100)},n.getDirectInputChanges=function(){var e=this.elementReferences[-1];e&&e.value!==this.state.query&&this.handleInputChange({target:{value:e.value}})},n.componentDidUpdate=function(e,t){var n=this.state.focused,i=null===n,a=t.focused!==n;a&&!i&&this.elementReferences[n].focus();var r=-1===n,s=a&&null===t.focused;if(r&&s){var o=this.elementReferences[n];o.setSelectionRange(0,o.value.length)}},n.hasAutoselect=function(){return this.props.autoselect},n.templateInputValue=function(e){var t=this.props.templates&&this.props.templates.inputValue;return t?t(e):e},n.templateSuggestion=function(e){var t=this.props.templates&&this.props.templates.suggestion;return t?t(e):e},n.handleComponentBlur=function(e){var t,n=this.state,i=n.options,a=n.query,r=n.selected;this.props.confirmOnBlur?(t=e.query||a,this.props.onConfirm(i[r])):t=a,this.setState({focused:null,menuOpen:e.menuOpen||!1,query:t,selected:null,validChoiceMade:this.isQueryAnOption(t,i)})},n.handleListMouseLeave=function(e){this.setState({hovered:null})},n.handleOptionBlur=function(e,t){var n=this.state,i=n.focused,a=n.menuOpen,r=n.options,s=n.selected,o=null===e.relatedTarget,l=e.relatedTarget===this.elementReferences[-1],c=i!==t&&-1!==i;if(!c&&o||!c&&!l){var u=a&&d()&&!this.hasAutoselect();this.handleComponentBlur({menuOpen:u,query:this.templateInputValue(r[s])})}},n.handleInputBlur=function(e){var t=this.state,n=t.focused,i=t.menuOpen,a=t.options,r=t.query,s=t.selected,o=0<=n;if(d()&&!e.relatedTarget&&!o&&this.hasAutoselect()){var l=this.templateInputValue(a[s]);this.handleComponentBlur({menuOpen:!1,query:l})}else if(!o){var c=i&&d(),u=d()?r:this.templateInputValue(a[s]);this.handleComponentBlur({menuOpen:c,query:u})}},n.handleInputChange=function(e){var t=this,n=this.props,i=n.minLength,a=n.source,r=n.showAllValues,s=this.state.searchOnInteraction,o=this.hasAutoselect(),l=e.target.value,c=0===l.length,d=s||this.state.query.length!==l.length,u=l.length>=i;this.setState({query:l,ariaHint:c,searchOnInteraction:!0}),r||!c&&d&&u?a(l,function(e){var n=0<e.length;t.setState(function(t){return{menuOpen:n&&null!==t.focused,options:e,selected:o&&n?0:-1,validChoiceMade:!1}})}):!c&&u||this.setState({menuOpen:!1,options:[]})},n.handleInputClick=function(e){this.handleInputChange(e)},n.handleInputFocus=function(e){var t=this.state,n=t.query,i=t.validChoiceMade,a=t.options,r=this.props.minLength,s=!i&&n.length>=r&&0<a.length;s?this.setState(function(e){var t=e.menuOpen;return{focused:-1,menuOpen:s||t,selected:-1}}):this.setState({focused:-1}),e&&this.handleInputChange(e)},n.handleOptionFocus=function(e){this.setState({focused:e,hovered:null,selected:e,searchOnInteraction:-1!==e})},n.handleOptionMouseEnter=function(e,t){d()||this.setState({hovered:t})},n.handleOptionClick=function(e,t){var n=this.state.options[t],i=this.templateInputValue(n);this.props.onConfirm(n),this.setState({focused:-1,hovered:null,menuOpen:!1,query:i,selected:-1,validChoiceMade:!0}),this.forceUpdate()},n.handleOptionMouseDown=function(e){e.preventDefault()},n.handleUpArrow=function(e){e.preventDefault();var t=this.state,n=t.menuOpen,i=t.selected;-1!==i&&n&&this.handleOptionFocus(i-1)},n.handleDownArrow=function(e){var t=this;if(e.preventDefault(),this.props.showAllValues&&!1===this.state.menuOpen)e.preventDefault(),this.props.source("",function(e){t.setState({menuOpen:!0,options:e,selected:0,focused:0,hovered:null})});else if(!0===this.state.menuOpen){var n=this.state,i=n.menuOpen,a=n.options,r=n.selected;r!==a.length-1&&i&&this.handleOptionFocus(r+1)}},n.handleSpace=function(e){var t=this;this.props.showAllValues&&!1===this.state.menuOpen&&""===this.state.query&&(e.preventDefault(),this.props.source("",function(e){t.setState({menuOpen:!0,options:e})})),-1!==this.state.focused&&(e.preventDefault(),this.handleOptionClick(e,this.state.focused))},n.handleEnter=function(e){this.state.menuOpen&&(e.preventDefault(),0<=this.state.selected&&this.handleOptionClick(e,this.state.selected))},n.handlePrintableKey=function(e){var t=this.elementReferences[-1];e.target===t||t.focus()},n.handleKeyDown=function(e){switch(c[e.keyCode]){case"up":this.handleUpArrow(e);break;case"down":this.handleDownArrow(e);break;case"space":this.handleSpace(e);break;case"enter":this.handleEnter(e);break;case"escape":this.handleComponentBlur({query:this.state.query});break;default:(function(e){return 47<e&&e<58||32===e||8===e||64<e&&e<91||95<e&&e<112||185<e&&e<193||218<e&&e<223})(e.keyCode)&&this.handlePrintableKey(e)}},n.render=function(){var e,t=this,n=this.props,r=n.cssNamespace,s=n.customInputClassName,l=n.wrapperClassName,c=n.optionClassName,u=n.menuClassName,h=n.displayMenu,p=n.enterKeyHint,m=n.autocomplete,f=n.id,v=n.minLength,g=n.name,b=n.placeholder,y=n.required,_=n.showAllValues,x=n.tNoResults,w=n.tStatusQueryTooShort,S=n.tStatusNoResults,N=n.tStatusSelectedOption,E=n.tStatusResults,k=n.tAssistiveHint,C=n.dropdownArrow,T=this.state,A=T.focused,j=T.hovered,O=T.menuOpen,L=T.options,D=T.query,M=T.selected,P=T.ariaHint,I=T.validChoiceMade,R=this.hasAutoselect(),z=-1===A,F=0===L.length,B=0!==D.length,H=D.length>=v,V=this.props.showNoOptionsFound&&z&&F&&B&&H,W=r+"__wrapper"+(l?" "+l:""),q=r+"__input",U=null!==A?" "+q+"--focused":"",$=this.props.showAllValues?" "+q+"--show-all-values":" "+q+"--default",G=r+"__dropdown-arrow-down",Y=-1!==A&&null!==A,X=r+"__menu",K=X+"--"+h,Z=X+"--"+(O||V?"visible":"hidden"),J=r+"__option",Q=r+"__hint",ee=this.templateInputValue(L[M]),te=ee&&0===ee.toLowerCase().indexOf(D.toLowerCase())&&R?D+ee.substr(D.length):"",ne=f+"__assistiveHint",ie=P?{"aria-describedby":ne}:null;return _&&"string"==typeof(e=C({className:G}))&&(e=(0,i.createElement)("div",{className:r+"__dropdown-arrow-down-wrapper",dangerouslySetInnerHTML:{__html:e}})),(0,i.createElement)("div",{className:W,onKeyDown:this.handleKeyDown},(0,i.createElement)(a.default,{id:f,length:L.length,queryLength:D.length,minQueryLength:v,selectedOption:this.templateInputValue(L[M]),selectedOptionIndex:M,validChoiceMade:I,isInFocus:null!==this.state.focused,tQueryTooShort:w,tNoResults:S,tSelectedOption:N,tResults:E}),te&&(0,i.createElement)("span",null,(0,i.createElement)("input",{className:Q,readonly:!0,tabIndex:"-1",value:te})),(0,i.createElement)("input",o({enterkeyhint:p||(d()&&this.hasAutoselect()?"done":""),"aria-expanded":O?"true":"false","aria-activedescendant":!!Y&&f+"__option--"+A,"aria-owns":f+"__listbox","aria-autocomplete":this.hasAutoselect()?"both":"list"},ie,{autoComplete:m,className:""+q+U+$+(s?" "+s:""),id:f,onClick:function(e){return t.handleInputClick(e)},onBlur:this.handleInputBlur},function(e){return{onInput:e}}(this.handleInputChange),{onFocus:this.handleInputFocus,name:g,placeholder:b,ref:function(e){t.elementReferences[-1]=e},type:"text",role:"combobox",required:y,value:D})),e,(0,i.createElement)("ul",{className:X+" "+K+" "+Z+(u?" "+u:""),onMouseLeave:function(e){return t.handleListMouseLeave(e)},id:f+"__listbox",role:"listbox"},L.map(function(e,n){var a=(-1===A?M===n:A===n)&&null===j?" "+J+"--focused":"",r=n%2?" "+J+"--odd":"",s=d()?"<span id="+f+"__option-suffix--"+n+' style="border:0;clip:rect(0 0 0 0);height:1px;marginBottom:-1px;marginRight:-1px;overflow:hidden;padding:0;position:absolute;whiteSpace:nowrap;width:1px"> '+(n+1)+" of "+L.length+"</span>":"";return(0,i.createElement)("li",{"aria-selected":A===n?"true":"false",className:""+J+a+r+(c?" "+c:""),dangerouslySetInnerHTML:{__html:t.templateSuggestion(e)+s},id:f+"__option--"+n,key:n,onBlur:function(e){return t.handleOptionBlur(e,n)},onClick:function(e){return t.handleOptionClick(e,n)},onMouseDown:t.handleOptionMouseDown,onMouseEnter:function(e){return t.handleOptionMouseEnter(e,n)},ref:function(e){t.elementReferences[n]=e},role:"option",tabIndex:"-1","aria-posinset":n+1,"aria-setsize":L.length})}),V&&(0,i.createElement)("li",{className:J+(c?" "+c:"")+" "+J+"--no-results"},x())),(0,i.createElement)("span",{id:ne,style:{display:"none"}},k()))},t}(i.Component);(t.default=u).defaultProps={autoselect:!1,cssNamespace:"autocomplete",wrapperClassName:"",customInputClassName:"",menuClassName:"",optionClassName:"",defaultValue:"",displayMenu:"inline",minLength:0,name:"input-autocomplete",autocomplete:"off",placeholder:"",onConfirm:function(){},confirmOnBlur:!0,showNoOptionsFound:!0,showAllValues:!1,required:!1,tNoResults:function(){return"No results found"},tAssistiveHint:function(){return"When autocomplete results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures."},dropdownArrow:r.default}},function(e,t,n){var i=n(9),a=n(53),r=n(28),s=n(26)("IE_PROTO"),o=function(){},l="prototype",c=function(){var e,t=n(15)("iframe"),i=r.length;for(t.style.display="none",n(54).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),c=e.F;i--;)delete c[l][r[i]];return c()};e.exports=Object.create||function(e,t){var n;return null!==e?(o[l]=i(e),n=new o,o[l]=null,n[s]=e):n=c(),void 0===t?n:a(n,t)}},function(e,t,n){var i=n(8),a=n(9),r=n(20);e.exports=n(3)?Object.defineProperties:function(e,t){a(e);for(var n,s=r(t),o=s.length,l=0;l<o;)i.f(e,n=s[l++],t[n]);return e}},function(e,t,n){var i=n(1).document;e.exports=i&&i.documentElement},function(e,t,n){var i=n(0);i(i.P,"Function",{bind:n(56)})},function(e,t,n){var i=n(19),a=n(2),r=n(57),s=[].slice,o={};e.exports=Function.bind||function(e){var t=i(this),n=s.call(arguments,1),l=function(){var i=n.concat(s.call(arguments));return this instanceof l?function(e,t,n){if(!(t in o)){for(var i=[],a=0;a<t;a++)i[a]="a["+a+"]";o[t]=Function("F,a","return new F("+i.join(",")+")")}return o[t](e,n)}(t,i.length,i):r(t,i,e)};return a(t.prototype)&&(l.prototype=t.prototype),l}},function(e,t){e.exports=function(e,t,n){var i=void 0===n;switch(t.length){case 0:return i?e():e.call(n);case 1:return i?e(t[0]):e.call(n,t[0]);case 2:return i?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return i?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return i?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){n(59)("match",1,function(e,t,n){return[function(n){var i=e(this),a=null==n?void 0:n[t];return void 0!==a?a.call(n,i):new RegExp(n)[t](String(i))},n]})},function(e,t,n){var i=n(7),a=n(16),r=n(4),s=n(12),o=n(34);e.exports=function(e,t,n){var l=o(e),c=n(s,l,""[e]),d=c[0],u=c[1];r(function(){var t={};return t[l]=function(){return 7},7!=""[e](t)})&&(a(String.prototype,e,d),i(RegExp.prototype,l,2==t?function(e,t){return u.call(e,this,t)}:function(e){return u.call(e,this)}))}},function(e,t,n){t.__esModule=!0,t.default=void 0,n(36);var i=n(5),a=function(e){function t(){for(var t,n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return(t=e.call.apply(e,[this].concat(i))||this).state={bump:!1,debounced:!1},t}!function(e,t){e.prototype=Object.create(t.prototype),(e.prototype.constructor=e).__proto__=t}(t,e);var n=t.prototype;return n.componentWillMount=function(){var e=this;this.debounceStatusUpdate=function(e,t){var n;return function(){var i=this,a=arguments;clearTimeout(n),n=setTimeout(function(){n=null,e.apply(i,a)},t)}}(function(){if(!e.state.debounced){var t=!e.props.isInFocus||e.props.validChoiceMade;e.setState(function(e){return{bump:!e.bump,debounced:!0,silenced:t}})}},1400)},n.componentWillReceiveProps=function(e){e.queryLength,this.setState({debounced:!1})},n.render=function(){var e,t=this.props,n=t.id,a=t.length,r=t.queryLength,s=t.minQueryLength,o=t.selectedOption,l=t.selectedOptionIndex,c=t.tQueryTooShort,d=t.tNoResults,u=t.tSelectedOption,h=t.tResults,p=this.state,m=p.bump,f=p.debounced,v=p.silenced,g=r<s,b=0===a,y=o?u(o,a,l):"";return e=g?c(s):b?d():h(a,y),this.debounceStatusUpdate(),(0,i.createElement)("div",{style:{border:"0",clip:"rect(0 0 0 0)",height:"1px",marginBottom:"-1px",marginRight:"-1px",overflow:"hidden",padding:"0",position:"absolute",whiteSpace:"nowrap",width:"1px"}},(0,i.createElement)("div",{id:n+"__status--A",role:"status","aria-atomic":"true","aria-live":"polite"},!v&&f&&m?e:""),(0,i.createElement)("div",{id:n+"__status--B",role:"status","aria-atomic":"true","aria-live":"polite"},v||!f||m?"":e))},t}(i.Component);(t.default=a).defaultProps={tQueryTooShort:function(e){return"Type in "+e+" or more characters for results"},tNoResults:function(){return"No search results"},tSelectedOption:function(e,t,n){return e+" "+(n+1)+" of "+t+" is highlighted"},tResults:function(e,t){return e+" "+(1===e?"result":"results")+" "+(1===e?"is":"are")+" available. "+t}}},function(e,t,n){t.__esModule=!0,t.default=void 0;var i=n(5);t.default=function(e){var t=e.className;return(0,i.createElement)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:t,focusable:"false"},(0,i.createElement)("g",{stroke:"none",fill:"none","fill-rule":"evenodd"},(0,i.createElement)("polygon",{fill:"#000000",points:"0 0 22 0 11 17"})))}}]).default),Kv.exports),Jv=h({__proto__:null,default:A(Zv)},[Zv]);export{te as Accordion,me as AccordionItem,we as Alert,Te as AnchorNavigation,ko as Autocomplete,Oe as Bar,De as BarBreak,Ie as BarItem,Ve as BlockAction,We as BlockActionControl,qe as BlockActionIndicator,Ue as BlockActionOverride,pt as BodyBanner,bt as Breadcrumbs,ot as Button,St as ButtonFill,Nt as ButtonGhost,wt as ButtonPrimary,be as Buttons,Ct as Card,jt as CardProductHeader,Dt as CardSection,qa as Carousel,Mr as CarouselHero,jr as CarouselHeroItem,Qr as CarouselPromotions,zs as CartTable,zo as Checkbox,$a as Container,Ya as Controls,Hs as Cover,qs as Divider,eo as Dropdown,no as DropdownDivider,ao as DropdownItem,Ks as DropdownToggleButton,lo as Expander,mo as FeatureAccordion,vo as FeatureAccordionItem,Zh as Field,Qh as Fieldset,eu as File,ap as Gauge,at as Grid,dt as GridCol,hu as Group,cp as Hero,Ph as Hint,oe as Icon,xt as IconButton,fp as IconList,Cr as Image,xs as InfoTooltip,bu as InputStepper,hp as Item,Rh as Label,Ne as Link,bp as List,wp as ListItem,Cp as Loader,Ap as LoaderFullscreen,ef as Megamenu,nf as MegamenuBlog,Gh as Message,Ff as Modal,Lf as ModalBody,Df as ModalCloseButton,Vf as ModalProductFooter,Uf as ModalProductHeader,Pf as ModalTitle,Jf as Pagination,ce as Pictogram,tv as Pill,rv as Progress,ov as PromoBanner,mv as PromotionCard,vv as PromotionCardContent,bv as PromotionCardImageWrapper,_v as PromotionCardSection,wv as PromotionCardTitle,Nu as Radio,Sh as RangeSlider,Ev as Section,xo as Select,Cv as Skeleton,Av as SkipLink,Lv as SocialButton,ie as SpritePathContext,ae as SpritePathProvider,Pv as Stepbar,op as Sticker,Rv as Tab,Fv as TabPanel,vs as Table,Wv as Tabs,Os as Tag,Ms as TagButton,Uv as Testimonial,Th as TextArea,ru as TextInput,Yv as Tile,bs as Tooltip};
|
|
24
2
|
//# sourceMappingURL=index.js.map
|