@redneckz/wildless-cms-uni-blocks 0.11.1 → 0.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/migration-scripts/0.11.1.js +34 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +90 -64
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/bundle/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/bundle/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/bundle/components/CarouselCard/titleSize.d.ts +1 -0
- package/bundle/components/CarouselCard/titleSize.mobile.d.ts +1 -0
- package/bundle/components/Footer/Contacts.d.ts +2 -2
- package/bundle/components/Footer/FooterContent.d.ts +9 -1
- package/bundle/components/Footer/FooterDataProps.d.ts +2 -2
- package/bundle/components/Header/Header.mobile.d.ts +2 -2
- package/bundle/components/Header/HeaderContent.d.ts +13 -1
- package/bundle/components/Header/HeaderTop.d.ts +6 -2
- package/bundle/components/PictureText/positionStyle.d.ts +1 -0
- package/bundle/components/PictureText/positionStyle.mobile.d.ts +1 -0
- package/bundle/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
- package/bundle/components/PictureText/styleInsuranceSum.d.ts +1 -0
- package/bundle/components/PictureText/styleInsuranceSum.mobile.d.ts +1 -0
- package/bundle/components/PictureText/styleValueBlock.d.ts +2 -0
- package/bundle/components/PictureText/styleValueBlock.mobile.d.ts +2 -0
- package/bundle/components/ProductGallery/ProductGallery.mobile.d.ts +5 -0
- package/bundle/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/bundle/components/RollupItem/renderRoundedIcon.d.ts +3 -0
- package/bundle/components/RollupItem/renderRoundedIcon.mobile.d.ts +4 -0
- package/bundle/icons/IconName.d.ts +4 -2
- package/bundle/ui-kit/BenefitItem/borderRadius.mobile.d.ts +1 -0
- package/bundle/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/bundle/ui-kit/BenefitItem/labelSize.mobile.d.ts +1 -0
- package/bundle/ui-kit/Heading/headingTag.d.ts +2 -0
- package/bundle/ui-kit/Heading/headingTag.mobile.d.ts +2 -0
- package/bundle/ui-kit/Icon/IconProps.d.ts +8 -3
- package/bundle/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/cosmos-static/icons/ChevronLeft.svg +1 -0
- package/dist/components/BaseTile/BaseTile.js +2 -1
- package/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/dist/components/Blocks.js +2 -2
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.js +10 -0
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/Bonus/Bonus.js +1 -1
- package/dist/components/BusinessBlock/BusinessCard.js +1 -1
- package/dist/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/dist/components/{ButtonBlock/ButtonBlock.js → ButtonsBlock/ButtonsBlock.js} +3 -3
- package/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
- package/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/dist/components/{ButtonBlock/ButtonBlockContent.js → ButtonsBlock/ButtonsBlockContent.js} +1 -1
- package/dist/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
- package/dist/components/CardTransfer/CardTransfer.js +1 -1
- package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/dist/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/dist/components/CarouselCard/CarouselCard.js +9 -7
- package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/dist/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/dist/components/CarouselCard/getCardWidth.js +18 -0
- package/dist/components/CarouselCard/getCardWidth.js.map +1 -0
- package/dist/components/CarouselCard/titleSize.d.ts +1 -0
- package/dist/components/CarouselCard/titleSize.js +4 -0
- package/dist/components/CarouselCard/titleSize.js.map +1 -0
- package/dist/components/CarouselCard/titleSize.mobile.d.ts +1 -0
- package/dist/components/CarouselCard/titleSize.mobile.js +4 -0
- package/dist/components/CarouselCard/titleSize.mobile.js.map +1 -0
- package/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/dist/components/Footer/Contacts.d.ts +2 -2
- package/dist/components/Footer/Contacts.js +4 -5
- package/dist/components/Footer/Contacts.js.map +1 -1
- package/dist/components/Footer/FooterContent.d.ts +9 -1
- package/dist/components/Footer/FooterDataProps.d.ts +2 -2
- package/dist/components/Header/Header.mobile.d.ts +2 -2
- package/dist/components/Header/Header.mobile.js +3 -17
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Header/HeaderContent.d.ts +13 -1
- package/dist/components/Header/HeaderTop.d.ts +6 -2
- package/dist/components/Header/HeaderTop.js +15 -2
- package/dist/components/Header/HeaderTop.js.map +1 -1
- package/dist/components/Headline/headlineVersionStyles.js +6 -6
- package/dist/components/Headline/headlineVersionStyles.js.map +1 -1
- package/dist/components/PictureText/PictureText.js +5 -11
- package/dist/components/PictureText/PictureText.js.map +1 -1
- package/dist/components/PictureText/positionStyle.d.ts +1 -0
- package/dist/components/PictureText/positionStyle.js +4 -0
- package/dist/components/PictureText/positionStyle.js.map +1 -0
- package/dist/components/PictureText/positionStyle.mobile.d.ts +1 -0
- package/dist/components/PictureText/positionStyle.mobile.js +4 -0
- package/dist/components/PictureText/positionStyle.mobile.js.map +1 -0
- package/dist/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
- package/dist/components/PictureText/renderInsuranceSumMonth.js +15 -0
- package/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
- package/dist/components/PictureText/styleInsuranceSum.d.ts +1 -0
- package/dist/components/PictureText/styleInsuranceSum.js +4 -0
- package/dist/components/PictureText/styleInsuranceSum.js.map +1 -0
- package/dist/components/PictureText/styleInsuranceSum.mobile.d.ts +1 -0
- package/dist/components/PictureText/styleInsuranceSum.mobile.js +4 -0
- package/dist/components/PictureText/styleInsuranceSum.mobile.js.map +1 -0
- package/dist/components/PictureText/styleValueBlock.d.ts +2 -0
- package/dist/components/PictureText/styleValueBlock.js +5 -0
- package/dist/components/PictureText/styleValueBlock.js.map +1 -0
- package/dist/components/PictureText/styleValueBlock.mobile.d.ts +2 -0
- package/dist/components/PictureText/styleValueBlock.mobile.js +5 -0
- package/dist/components/PictureText/styleValueBlock.mobile.js.map +1 -0
- package/dist/components/ProductGallery/ProductGallery.mobile.d.ts +5 -0
- package/dist/components/ProductGallery/ProductGallery.mobile.js +13 -0
- package/dist/components/ProductGallery/ProductGallery.mobile.js.map +1 -0
- package/dist/components/RollupItem/RollupItem.js +14 -9
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/dist/components/RollupItem/renderRoundedIcon.d.ts +3 -0
- package/dist/components/RollupItem/renderRoundedIcon.js +5 -0
- package/dist/components/RollupItem/renderRoundedIcon.js.map +1 -0
- package/dist/components/RollupItem/renderRoundedIcon.mobile.d.ts +4 -0
- package/dist/components/RollupItem/renderRoundedIcon.mobile.js +7 -0
- package/dist/components/RollupItem/renderRoundedIcon.mobile.js.map +1 -0
- package/dist/content-page-repository/transformImg.js +1 -1
- package/dist/content-page-repository/transformImg.js.map +1 -1
- package/dist/icons/IconName.d.ts +4 -2
- package/dist/icons/IconName.js +3 -1
- package/dist/icons/IconName.js.map +1 -1
- package/dist/ui-kit/BenefitItem/BenefitItem.js +12 -11
- package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/dist/ui-kit/BenefitItem/borderRadius.mobile.d.ts +1 -0
- package/dist/ui-kit/BenefitItem/borderRadius.mobile.js +4 -0
- package/dist/ui-kit/BenefitItem/borderRadius.mobile.js.map +1 -0
- package/dist/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/dist/ui-kit/BenefitItem/labelSize.js +4 -0
- package/dist/ui-kit/BenefitItem/labelSize.js.map +1 -0
- package/dist/ui-kit/BenefitItem/labelSize.mobile.d.ts +1 -0
- package/dist/ui-kit/BenefitItem/labelSize.mobile.js +4 -0
- package/dist/ui-kit/BenefitItem/labelSize.mobile.js.map +1 -0
- package/dist/ui-kit/Button/renderButtonsSection.js +2 -2
- package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/dist/ui-kit/Heading/Heading.js +5 -1
- package/dist/ui-kit/Heading/Heading.js.map +1 -1
- package/dist/ui-kit/Heading/headingTag.d.ts +2 -0
- package/dist/ui-kit/Heading/headingTag.js +5 -0
- package/dist/ui-kit/Heading/headingTag.js.map +1 -0
- package/dist/ui-kit/Heading/headingTag.mobile.d.ts +2 -0
- package/dist/ui-kit/Heading/headingTag.mobile.js +13 -0
- package/dist/ui-kit/Heading/headingTag.mobile.js.map +1 -0
- package/dist/ui-kit/Icon/IconProps.d.ts +8 -3
- package/dist/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/dist/ui-kit/Icon/RoundedIcon.js +5 -1
- package/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/BaseTile/BaseTile.js +2 -1
- package/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/lib/components/Blocks.js +2 -2
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.js +10 -0
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/Bonus/Bonus.js +1 -1
- package/lib/components/BusinessBlock/BusinessCard.js +1 -1
- package/lib/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/lib/components/ButtonsBlock/ButtonsBlock.fixture.mobile.d.ts +6 -0
- package/lib/components/{ButtonBlock/ButtonBlock.js → ButtonsBlock/ButtonsBlock.js} +2 -2
- package/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
- package/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/lib/components/ButtonsBlock/ButtonsBlockContent.js +2 -0
- package/lib/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
- package/lib/components/CardTransfer/CardTransfer.fixture.mobile.d.ts +6 -0
- package/lib/components/CardTransfer/CardTransfer.js +1 -1
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/lib/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/lib/components/CarouselCard/CarouselCard.fixture.mobile.d.ts +8 -0
- package/lib/components/CarouselCard/CarouselCard.js +9 -7
- package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/lib/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/lib/components/CarouselCard/getCardWidth.js +15 -0
- package/lib/components/CarouselCard/getCardWidth.js.map +1 -0
- package/lib/components/CarouselCard/titleSize.d.ts +1 -0
- package/lib/components/CarouselCard/titleSize.js +2 -0
- package/lib/components/CarouselCard/titleSize.js.map +1 -0
- package/lib/components/CarouselCard/titleSize.mobile.d.ts +1 -0
- package/lib/components/CarouselCard/titleSize.mobile.js +2 -0
- package/lib/components/CarouselCard/titleSize.mobile.js.map +1 -0
- package/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/lib/components/Footer/Contacts.d.ts +2 -2
- package/lib/components/Footer/Contacts.js +4 -5
- package/lib/components/Footer/Contacts.js.map +1 -1
- package/lib/components/Footer/FooterContent.d.ts +9 -1
- package/lib/components/Footer/FooterDataProps.d.ts +2 -2
- package/lib/components/Header/Header.fixture.mobile.d.ts +2 -0
- package/lib/components/Header/Header.mobile.d.ts +2 -2
- package/lib/components/Header/Header.mobile.js +4 -18
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Header/HeaderContent.d.ts +13 -1
- package/lib/components/Header/HeaderTop.d.ts +6 -2
- package/lib/components/Header/HeaderTop.js +15 -2
- package/lib/components/Header/HeaderTop.js.map +1 -1
- package/lib/components/Headline/headlineVersionStyles.js +6 -6
- package/lib/components/Headline/headlineVersionStyles.js.map +1 -1
- package/lib/components/PictureText/PictureText.fixture.mobile.d.ts +14 -0
- package/lib/components/PictureText/PictureText.js +5 -11
- package/lib/components/PictureText/PictureText.js.map +1 -1
- package/lib/components/PictureText/positionStyle.d.ts +1 -0
- package/lib/components/PictureText/positionStyle.js +2 -0
- package/lib/components/PictureText/positionStyle.js.map +1 -0
- package/lib/components/PictureText/positionStyle.mobile.d.ts +1 -0
- package/lib/components/PictureText/positionStyle.mobile.js +2 -0
- package/lib/components/PictureText/positionStyle.mobile.js.map +1 -0
- package/lib/components/PictureText/renderBenefit.d.ts +0 -1
- package/lib/components/PictureText/renderInsuranceSumMonth.d.ts +1 -0
- package/lib/components/PictureText/renderInsuranceSumMonth.js +12 -0
- package/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
- package/lib/components/PictureText/styleInsuranceSum.d.ts +1 -0
- package/lib/components/PictureText/styleInsuranceSum.js +2 -0
- package/lib/components/PictureText/styleInsuranceSum.js.map +1 -0
- package/lib/components/PictureText/styleInsuranceSum.mobile.d.ts +1 -0
- package/lib/components/PictureText/styleInsuranceSum.mobile.js +2 -0
- package/lib/components/PictureText/styleInsuranceSum.mobile.js.map +1 -0
- package/lib/components/PictureText/styleValueBlock.d.ts +2 -0
- package/lib/components/PictureText/styleValueBlock.js +3 -0
- package/lib/components/PictureText/styleValueBlock.js.map +1 -0
- package/lib/components/PictureText/styleValueBlock.mobile.d.ts +2 -0
- package/lib/components/PictureText/styleValueBlock.mobile.js +3 -0
- package/lib/components/PictureText/styleValueBlock.mobile.js.map +1 -0
- package/lib/components/ProductGallery/ProductGallery.fixture.mobile.d.ts +7 -0
- package/lib/components/ProductGallery/ProductGallery.mobile.d.ts +5 -0
- package/lib/components/ProductGallery/ProductGallery.mobile.js +11 -0
- package/lib/components/ProductGallery/ProductGallery.mobile.js.map +1 -0
- package/lib/components/RollupItem/RollupItem.fixture.mobile.d.ts +1 -0
- package/lib/components/RollupItem/RollupItem.js +14 -9
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/lib/components/RollupItem/renderRoundedIcon.d.ts +3 -0
- package/lib/components/RollupItem/renderRoundedIcon.js +2 -0
- package/lib/components/RollupItem/renderRoundedIcon.js.map +1 -0
- package/lib/components/RollupItem/renderRoundedIcon.mobile.d.ts +3 -0
- package/lib/components/RollupItem/renderRoundedIcon.mobile.js +4 -0
- package/lib/components/RollupItem/renderRoundedIcon.mobile.js.map +1 -0
- package/lib/content-page-repository/transformImg.js +1 -1
- package/lib/content-page-repository/transformImg.js.map +1 -1
- package/lib/icons/IconName.d.ts +4 -2
- package/lib/icons/IconName.js +3 -1
- package/lib/icons/IconName.js.map +1 -1
- package/lib/ui-kit/BenefitItem/BenefitItem.js +12 -11
- package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/lib/ui-kit/BenefitItem/borderRadius.mobile.d.ts +1 -0
- package/lib/ui-kit/BenefitItem/borderRadius.mobile.js +2 -0
- package/lib/ui-kit/BenefitItem/borderRadius.mobile.js.map +1 -0
- package/lib/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/lib/ui-kit/BenefitItem/labelSize.js +2 -0
- package/lib/ui-kit/BenefitItem/labelSize.js.map +1 -0
- package/lib/ui-kit/BenefitItem/labelSize.mobile.d.ts +1 -0
- package/lib/ui-kit/BenefitItem/labelSize.mobile.js +2 -0
- package/lib/ui-kit/BenefitItem/labelSize.mobile.js.map +1 -0
- package/lib/ui-kit/Button/renderButtonsSection.js +2 -2
- package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/lib/ui-kit/Heading/Heading.js +5 -1
- package/lib/ui-kit/Heading/Heading.js.map +1 -1
- package/lib/ui-kit/Heading/headingTag.d.ts +2 -0
- package/lib/ui-kit/Heading/headingTag.js +2 -0
- package/lib/ui-kit/Heading/headingTag.js.map +1 -0
- package/lib/ui-kit/Heading/headingTag.mobile.d.ts +2 -0
- package/lib/ui-kit/Heading/headingTag.mobile.js +10 -0
- package/lib/ui-kit/Heading/headingTag.mobile.js.map +1 -0
- package/lib/ui-kit/Icon/IconProps.d.ts +8 -3
- package/lib/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/lib/ui-kit/Icon/RoundedIcon.js +5 -1
- package/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +532 -655
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/mobile/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/mobile/bundle/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/mobile/bundle/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/mobile/bundle/components/CarouselCard/titleSize.d.ts +1 -0
- package/mobile/bundle/components/Footer/Contacts.d.ts +2 -2
- package/mobile/bundle/components/Footer/FooterContent.d.ts +9 -1
- package/mobile/bundle/components/Footer/FooterDataProps.d.ts +2 -2
- package/mobile/bundle/components/Header/Header.d.ts +2 -2
- package/mobile/bundle/components/Header/HeaderContent.d.ts +13 -1
- package/mobile/bundle/components/Header/HeaderTop.d.ts +6 -2
- package/mobile/bundle/components/PictureText/positionStyle.d.ts +1 -0
- package/mobile/bundle/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
- package/mobile/bundle/components/PictureText/styleInsuranceSum.d.ts +1 -0
- package/mobile/bundle/components/PictureText/styleValueBlock.d.ts +2 -0
- package/mobile/bundle/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/mobile/bundle/components/RollupItem/renderRoundedIcon.d.ts +4 -0
- package/mobile/bundle/icons/IconName.d.ts +4 -2
- package/mobile/bundle/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/mobile/bundle/ui-kit/Heading/headingTag.d.ts +2 -0
- package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +8 -3
- package/mobile/bundle/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/mobile/dist/components/BaseTile/BaseTile.js +2 -1
- package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/mobile/dist/components/Blocks.js +10 -0
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/Bonus/Bonus.js +1 -1
- package/mobile/dist/components/BusinessBlock/BusinessCard.js +1 -1
- package/mobile/dist/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/mobile/dist/components/{ButtonBlock/ButtonBlock.js → ButtonsBlock/ButtonsBlock.js} +3 -3
- package/mobile/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
- package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/mobile/dist/components/{ButtonBlock/ButtonBlockContent.js → ButtonsBlock/ButtonsBlockContent.js} +1 -1
- package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
- package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/mobile/dist/components/CarouselCard/CarouselCard.js +9 -7
- package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/dist/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/mobile/dist/components/CarouselCard/getCardWidth.js +18 -0
- package/mobile/dist/components/CarouselCard/getCardWidth.js.map +1 -0
- package/mobile/dist/components/CarouselCard/titleSize.d.ts +1 -0
- package/mobile/dist/components/CarouselCard/titleSize.js +4 -0
- package/mobile/dist/components/CarouselCard/titleSize.js.map +1 -0
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/dist/components/Footer/Contacts.d.ts +2 -2
- package/mobile/dist/components/Footer/Contacts.js +4 -5
- package/mobile/dist/components/Footer/Contacts.js.map +1 -1
- package/mobile/dist/components/Footer/FooterContent.d.ts +9 -1
- package/mobile/dist/components/Footer/FooterDataProps.d.ts +2 -2
- package/mobile/dist/components/Header/Header.d.ts +2 -2
- package/mobile/dist/components/Header/Header.js +3 -17
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Header/HeaderContent.d.ts +13 -1
- package/mobile/dist/components/Header/HeaderTop.d.ts +6 -2
- package/mobile/dist/components/Header/HeaderTop.js +15 -2
- package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
- package/mobile/dist/components/Headline/headlineVersionStyles.js +6 -6
- package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -1
- package/mobile/dist/components/PictureText/PictureText.js +5 -11
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
- package/mobile/dist/components/PictureText/positionStyle.d.ts +1 -0
- package/mobile/dist/components/PictureText/positionStyle.js +4 -0
- package/mobile/dist/components/PictureText/positionStyle.js.map +1 -0
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js +15 -0
- package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
- package/mobile/dist/components/PictureText/styleInsuranceSum.d.ts +1 -0
- package/mobile/dist/components/PictureText/styleInsuranceSum.js +4 -0
- package/mobile/dist/components/PictureText/styleInsuranceSum.js.map +1 -0
- package/mobile/dist/components/PictureText/styleValueBlock.d.ts +2 -0
- package/mobile/dist/components/PictureText/styleValueBlock.js +5 -0
- package/mobile/dist/components/PictureText/styleValueBlock.js.map +1 -0
- package/mobile/dist/components/ProductGallery/ProductGallery.js +4 -17
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItem.js +14 -9
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/mobile/dist/components/RollupItem/renderRoundedIcon.d.ts +4 -0
- package/mobile/dist/components/RollupItem/renderRoundedIcon.js +7 -0
- package/mobile/dist/components/RollupItem/renderRoundedIcon.js.map +1 -0
- package/mobile/dist/content-page-repository/transformImg.js +1 -1
- package/mobile/dist/content-page-repository/transformImg.js.map +1 -1
- package/mobile/dist/icons/IconName.d.ts +4 -2
- package/mobile/dist/icons/IconName.js +3 -1
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +12 -11
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/mobile/dist/ui-kit/BenefitItem/labelSize.js +4 -0
- package/mobile/dist/ui-kit/BenefitItem/labelSize.js.map +1 -0
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js +2 -2
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/dist/ui-kit/Heading/Heading.js +12 -11
- package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -1
- package/mobile/dist/ui-kit/Heading/headingTag.d.ts +2 -0
- package/mobile/dist/ui-kit/Heading/headingTag.js +13 -0
- package/mobile/dist/ui-kit/Heading/headingTag.js.map +1 -0
- package/mobile/dist/ui-kit/Icon/IconProps.d.ts +8 -3
- package/mobile/dist/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/mobile/dist/ui-kit/Icon/RoundedIcon.js +5 -1
- package/mobile/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/BaseTile/BaseTile.js +2 -1
- package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
- package/mobile/lib/components/Blocks.js +10 -0
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/Bonus/Bonus.js +1 -1
- package/mobile/lib/components/BusinessBlock/BusinessCard.js +1 -1
- package/mobile/lib/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
- package/mobile/lib/components/{ButtonBlock/ButtonBlock.js → ButtonsBlock/ButtonsBlock.js} +2 -2
- package/mobile/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
- package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
- package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.js +2 -0
- package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
- package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.d.ts +1 -1
- package/mobile/lib/components/CarouselCard/CarouselCard.js +9 -7
- package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
- package/mobile/lib/components/CarouselCard/getCardWidth.d.ts +1 -0
- package/mobile/lib/components/CarouselCard/getCardWidth.js +15 -0
- package/mobile/lib/components/CarouselCard/getCardWidth.js.map +1 -0
- package/mobile/lib/components/CarouselCard/titleSize.d.ts +1 -0
- package/mobile/lib/components/CarouselCard/titleSize.js +2 -0
- package/mobile/lib/components/CarouselCard/titleSize.js.map +1 -0
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/lib/components/Footer/Contacts.d.ts +2 -2
- package/mobile/lib/components/Footer/Contacts.js +4 -5
- package/mobile/lib/components/Footer/Contacts.js.map +1 -1
- package/mobile/lib/components/Footer/FooterContent.d.ts +9 -1
- package/mobile/lib/components/Footer/FooterDataProps.d.ts +2 -2
- package/mobile/lib/components/Header/Header.d.ts +2 -2
- package/mobile/lib/components/Header/Header.js +4 -18
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Header/HeaderContent.d.ts +13 -1
- package/mobile/lib/components/Header/HeaderTop.d.ts +6 -2
- package/mobile/lib/components/Header/HeaderTop.js +15 -2
- package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
- package/mobile/lib/components/Headline/headlineVersionStyles.js +6 -6
- package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -1
- package/mobile/lib/components/PictureText/PictureText.js +5 -11
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
- package/mobile/lib/components/PictureText/positionStyle.d.ts +1 -0
- package/mobile/lib/components/PictureText/positionStyle.js +2 -0
- package/mobile/lib/components/PictureText/positionStyle.js.map +1 -0
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js +12 -0
- package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
- package/mobile/lib/components/PictureText/styleInsuranceSum.d.ts +1 -0
- package/mobile/lib/components/PictureText/styleInsuranceSum.js +2 -0
- package/mobile/lib/components/PictureText/styleInsuranceSum.js.map +1 -0
- package/mobile/lib/components/PictureText/styleValueBlock.d.ts +2 -0
- package/mobile/lib/components/PictureText/styleValueBlock.js +3 -0
- package/mobile/lib/components/PictureText/styleValueBlock.js.map +1 -0
- package/mobile/lib/components/ProductGallery/ProductGallery.js +5 -18
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItem.js +14 -9
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItemContent.d.ts +4 -2
- package/mobile/lib/components/RollupItem/renderRoundedIcon.d.ts +4 -0
- package/mobile/lib/components/RollupItem/renderRoundedIcon.js +4 -0
- package/mobile/lib/components/RollupItem/renderRoundedIcon.js.map +1 -0
- package/mobile/lib/content-page-repository/transformImg.js +1 -1
- package/mobile/lib/content-page-repository/transformImg.js.map +1 -1
- package/mobile/lib/icons/IconName.d.ts +4 -2
- package/mobile/lib/icons/IconName.js +3 -1
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +12 -11
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitItem/labelSize.d.ts +1 -0
- package/mobile/lib/ui-kit/BenefitItem/labelSize.js +2 -0
- package/mobile/lib/ui-kit/BenefitItem/labelSize.js.map +1 -0
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js +2 -2
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/lib/ui-kit/Heading/Heading.js +12 -11
- package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -1
- package/mobile/lib/ui-kit/Heading/headingTag.d.ts +2 -0
- package/mobile/lib/ui-kit/Heading/headingTag.js +10 -0
- package/mobile/lib/ui-kit/Heading/headingTag.js.map +1 -0
- package/mobile/lib/ui-kit/Icon/IconProps.d.ts +8 -3
- package/mobile/lib/ui-kit/Icon/RoundedIcon.d.ts +5 -1
- package/mobile/lib/ui-kit/Icon/RoundedIcon.js +5 -1
- package/mobile/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
- package/mobile/src/components/BaseTile/BaseTile.tsx +6 -3
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/mobile/src/components/Blocks.ts +10 -0
- package/mobile/src/components/Bonus/Bonus.tsx +1 -1
- package/mobile/src/components/BusinessBlock/BusinessCard.tsx +1 -1
- package/mobile/src/components/ButtonsBlock/ButtonsBlock.example.json +14 -0
- package/{src/components/ButtonBlock/ButtonBlock.tsx → mobile/src/components/ButtonsBlock/ButtonsBlock.tsx} +4 -4
- package/mobile/src/components/ButtonsBlock/ButtonsBlock.ui.json +14 -0
- package/mobile/src/components/ButtonsBlock/ButtonsBlockContent.ts +9 -0
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +9 -3
- package/mobile/src/components/CarouselCard/CarouselCard.tsx +16 -12
- package/mobile/src/components/CarouselCard/getCardWidth.tsx +16 -0
- package/mobile/src/components/CarouselCard/titleSize.tsx +1 -0
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -3
- package/mobile/src/components/Footer/Contacts.tsx +20 -12
- package/mobile/src/components/Footer/FooterContent.ts +10 -1
- package/mobile/src/components/Footer/FooterDataProps.ts +2 -2
- package/mobile/src/components/Header/Header.tsx +19 -50
- package/mobile/src/components/Header/HeaderContent.ts +15 -1
- package/mobile/src/components/Header/HeaderTop.tsx +62 -25
- package/mobile/src/components/Headline/headlineVersionStyles.ts +6 -6
- package/mobile/src/components/PictureText/PictureText.tsx +13 -27
- package/mobile/src/components/PictureText/positionStyle.tsx +1 -0
- package/mobile/src/components/PictureText/renderInsuranceSumMonth.tsx +28 -0
- package/mobile/src/components/PictureText/styleInsuranceSum.tsx +1 -0
- package/mobile/src/components/PictureText/styleValueBlock.tsx +2 -0
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +18 -59
- package/mobile/src/components/RollupItem/RollupItem.tsx +25 -18
- package/mobile/src/components/RollupItem/RollupItem.ui.json +7 -1
- package/mobile/src/components/RollupItem/RollupItemContent.ts +4 -2
- package/mobile/src/components/RollupItem/renderRoundedIcon.tsx +7 -0
- package/mobile/src/content-page-repository/transformImg.ts +1 -1
- package/mobile/src/icons/ChevronLeft.svg +3 -0
- package/mobile/src/icons/IconName.ts +5 -5
- package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +26 -22
- package/mobile/src/ui-kit/BenefitItem/labelSize.tsx +1 -0
- package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +8 -2
- package/mobile/src/ui-kit/Heading/Heading.tsx +17 -16
- package/mobile/src/ui-kit/Heading/headingTag.ts +12 -0
- package/mobile/src/ui-kit/Icon/IconProps.ts +9 -4
- package/mobile/src/ui-kit/Icon/RoundedIcon.tsx +18 -6
- package/package.json +1 -1
- package/src/components/BaseTile/BaseTile.tsx +6 -3
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
- package/src/components/Blocks.mobile.ts +10 -0
- package/src/components/Blocks.ts +2 -2
- package/src/components/Bonus/Bonus.tsx +1 -1
- package/src/components/BusinessBlock/BusinessCard.tsx +1 -1
- package/src/components/ButtonsBlock/ButtonsBlock.example.json +14 -0
- package/src/components/ButtonsBlock/ButtonsBlock.fixture.mobile.tsx +26 -0
- package/src/components/ButtonsBlock/ButtonsBlock.fixture.tsx +26 -0
- package/{mobile/src/components/ButtonBlock/ButtonBlock.tsx → src/components/ButtonsBlock/ButtonsBlock.tsx} +4 -4
- package/src/components/ButtonsBlock/ButtonsBlock.ui.json +14 -0
- package/src/components/ButtonsBlock/ButtonsBlockContent.ts +9 -0
- package/src/components/CardTransfer/CardTransfer.fixture.mobile.tsx +18 -0
- package/src/components/CardTransfer/CardTransfer.tsx +9 -3
- package/src/components/CarouselCard/CarouselCard.fixture.mobile.tsx +28 -0
- package/src/components/CarouselCard/CarouselCard.tsx +16 -12
- package/src/components/CarouselCard/getCardWidth.tsx +16 -0
- package/src/components/CarouselCard/titleSize.mobile.tsx +1 -0
- package/src/components/CarouselCard/titleSize.tsx +1 -0
- package/src/components/CarouselProductCard/CarouselProductCard.tsx +1 -3
- package/src/components/Footer/Contacts.tsx +20 -12
- package/src/components/Footer/FooterContent.ts +10 -1
- package/src/components/Footer/FooterDataProps.ts +2 -2
- package/src/components/Header/Header.fixture.mobile.tsx +4 -0
- package/src/components/Header/Header.mobile.tsx +19 -50
- package/src/components/Header/HeaderContent.ts +15 -1
- package/src/components/Header/HeaderTop.tsx +62 -25
- package/src/components/Headline/headlineVersionStyles.ts +6 -6
- package/src/components/PictureText/PictureText.fixture.mobile.tsx +122 -0
- package/src/components/PictureText/PictureText.tsx +13 -27
- package/src/components/PictureText/positionStyle.mobile.tsx +1 -0
- package/src/components/PictureText/positionStyle.tsx +1 -0
- package/src/components/PictureText/renderInsuranceSumMonth.tsx +28 -0
- package/src/components/PictureText/styleInsuranceSum.mobile.tsx +1 -0
- package/src/components/PictureText/styleInsuranceSum.tsx +1 -0
- package/src/components/PictureText/styleValueBlock.mobile.tsx +2 -0
- package/src/components/PictureText/styleValueBlock.tsx +2 -0
- package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +142 -0
- package/src/components/ProductGallery/ProductGallery.mobile.tsx +34 -0
- package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +15 -0
- package/src/components/RollupItem/RollupItem.tsx +25 -18
- package/src/components/RollupItem/RollupItem.ui.json +7 -1
- package/src/components/RollupItem/RollupItemContent.ts +4 -2
- package/src/components/RollupItem/renderRoundedIcon.mobile.tsx +7 -0
- package/src/components/RollupItem/renderRoundedIcon.tsx +4 -0
- package/src/content-page-repository/transformImg.ts +1 -1
- package/src/icons/ChevronLeft.svg +3 -0
- package/src/icons/IconName.ts +5 -1
- package/src/ui-kit/BenefitItem/BenefitItem.tsx +26 -22
- package/src/ui-kit/BenefitItem/borderRadius.mobile.tsx +1 -0
- package/src/ui-kit/BenefitItem/labelSize.mobile.tsx +1 -0
- package/src/ui-kit/BenefitItem/labelSize.tsx +1 -0
- package/src/ui-kit/Button/renderButtonsSection.tsx +8 -2
- package/src/ui-kit/Heading/Heading.fixture.mobile.tsx +6 -6
- package/src/ui-kit/Heading/Heading.fixture.tsx +6 -6
- package/src/ui-kit/Heading/Heading.tsx +8 -3
- package/src/ui-kit/Heading/headingTag.mobile.ts +12 -0
- package/src/ui-kit/Heading/headingTag.ts +3 -0
- package/src/ui-kit/Icon/IconProps.ts +9 -4
- package/src/ui-kit/Icon/RoundedIcon.tsx +18 -6
- package/tailwind.config.cjs +10 -4
- package/bundle/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/bundle/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/bundle/ui-kit/Heading/Heading.mobile.d.ts +0 -2
- package/dist/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/dist/components/ButtonBlock/ButtonBlock.js.map +0 -1
- package/dist/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/dist/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
- package/dist/ui-kit/Heading/Heading.mobile.d.ts +0 -2
- package/dist/ui-kit/Heading/Heading.mobile.js +0 -18
- package/dist/ui-kit/Heading/Heading.mobile.js.map +0 -1
- package/lib/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/lib/components/ButtonBlock/ButtonBlock.js.map +0 -1
- package/lib/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/lib/components/ButtonBlock/ButtonBlockContent.js +0 -2
- package/lib/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
- package/lib/ui-kit/Heading/Heading.mobile.d.ts +0 -2
- package/lib/ui-kit/Heading/Heading.mobile.js +0 -16
- package/lib/ui-kit/Heading/Heading.mobile.js.map +0 -1
- package/mobile/bundle/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/mobile/bundle/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/mobile/dist/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/mobile/dist/components/ButtonBlock/ButtonBlock.js.map +0 -1
- package/mobile/dist/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/mobile/dist/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
- package/mobile/lib/components/ButtonBlock/ButtonBlock.d.ts +0 -6
- package/mobile/lib/components/ButtonBlock/ButtonBlock.js.map +0 -1
- package/mobile/lib/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
- package/mobile/lib/components/ButtonBlock/ButtonBlockContent.js +0 -2
- package/mobile/lib/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
- package/mobile/src/components/ButtonBlock/ButtonBlock.example.json +0 -12
- package/mobile/src/components/ButtonBlock/ButtonBlock.ui.json +0 -12
- package/mobile/src/components/ButtonBlock/ButtonBlockContent.ts +0 -9
- package/src/components/ButtonBlock/ButtonBlock.example.json +0 -12
- package/src/components/ButtonBlock/ButtonBlock.fixture.tsx +0 -19
- package/src/components/ButtonBlock/ButtonBlock.ui.json +0 -12
- package/src/components/ButtonBlock/ButtonBlockContent.ts +0 -9
- package/src/ui-kit/Heading/Heading.mobile.tsx +0 -22
- /package/lib/components/{ButtonBlock/ButtonBlock.fixture.d.ts → ButtonsBlock/ButtonsBlock.fixture.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).UniMobileBlocks={})}(this,(function(e){"use strict";let t;const n=e=>(...n)=>t[e](...n),i=n("useState"),r=n("useEffect"),l=n("useCallback"),a=n("useMemo"),s=n("useRef");const o=e=>e&&!e.endsWith("/")?`${e}/`:e,c={PROD_BRANCH:"master"},d=new class{_=c;setup(e){this._=e}get TEST_BRANCH(){return this._.TEST_BRANCH}get RC_BRANCH(){return this._.RC_BRANCH}get PROD_BRANCH(){return this._.PROD_BRANCH||c.PROD_BRANCH}get FORCED_DRAFT_FLOW(){return this._.FORCED_DRAFT_FLOW}get ASSIST_PROJECT_ID(){return this._.ASSIST_PROJECT_ID}get SITEMAP(){return this._.SITEMAP}get FOOTER(){return this._.FOOTER}get CHAT_BOT(){return this._.CHAT_BOT}get CDN(){return o(this._.CDN)}get BASE_PATH(){return o(this._.BASE_PATH)}get YANDEX_MAP_API_KEY(){return this._.YANDEX_MAP_API_KEY}get YANDEX_METRIKA_ID(){return this._.YANDEX_METRIKA_ID}},m="likesToken";function h(){async function e(){try{const e=JSON.parse(globalThis.localStorage?.getItem(m)||"");if(e?.token)return e}catch(e){}try{const e=await fetch("/assist/v1/public/auth",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({prefix:"guest"})}),{token:t,name:n}=await e.json();return globalThis.localStorage?.setItem(m,JSON.stringify({token:t,name:n})),{token:t,name:n}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...t){if(!t.length)return[];const{token:n}=await e();try{const e=await fetch(`/assist/v1/public/projects/${d.ASSIST_PROJECT_ID}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n},body:JSON.stringify({node_ids:t})}),{likes:i}=await e.json();return i||[]}catch(e){return console.error(e),[]}},like:async function(t){if(!t)return 0;const{token:n,name:i}=await e();try{const e=await fetch(`/assist/v1/public/projects/${d.ASSIST_PROJECT_ID}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:i},body:JSON.stringify({node_id:t,user_name:i})}),{likes:r}=await e.json();return r||0}catch(e){return console.error(e),0}},dislike:async function(t){if(!t)return 0;const{token:n,name:i}=await e();try{const e=await fetch(`/assist/v1/public/projects/${d.ASSIST_PROJECT_ID}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:i},body:JSON.stringify({node_id:t,user_name:i})}),{likes:r}=await e.json();return r||0}catch(e){return console.error(e),0}}}}const u=(...e)=>globalThis._uni._jsx(...e),p=(...e)=>globalThis._uni._jsxs(...e),g=e=>{const t=e;return t._tmpl||(t._tmpl=globalThis.__UNI_REACT__?e:b(e)),t._tmpl},b=e=>{function t(t,n){const{children:i,...r}=t||{},l=n?.slots?.default,a=i||l&&l();return e(Object.assign(r,a&&{children:a}),n)}return t.inheritAttrs=!1,t},f=(...e)=>e.flatMap((e=>e)).filter(Boolean).join(" "),x=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),y=[];function v(e,t,{className:n,...i}={}){const{key:r,blockDecorator:l=x,blocksRegistry:a={},ancestors:s=y}=t,{type:o}=e;o&&o in a||console.warn(`No block with "${o}" is registered`);const c=o&&a[o];return l({blockClassName:f("scroll-mt-12",n,e.style||"col-span-12"),block:e,ancestors:s,render:({block:n,blockClassName:l})=>{const{content:a}=n;return c?u(c,{className:l,block:e,options:t,...a,...i},r):null}},r)}const N=[],w=(e,{key:t,ancestors:n=N,slotName:i=null,renderProps:r=v,...l})=>(e||[]).map(((e,a)=>r(e,{...l,key:`${t||e.type}-${a}`,ancestors:l.parent?[...n||N,[l.parent,i]]:n})));function k({children:e,block:t,options:n,renderProps:i}){return e||(t&&n?w(t.blocks,{...n,parent:t,renderProps:i}):null)}class C{subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]=(this.subscribers[e]||[]).concat(t);const n=this.subjectsStateMap[e];return n&&t(n),()=>{this.unsubscribe(e,t)}}unsubscribe(e,t){this.subscribers[e]=this.subscribers[e]?.filter((e=>e!==t))}fire(e,t){e in this.subjectsStateMap&&(this.subjectsStateMap[e]=t),this.subscribers[e]?.forEach((e=>e(t)))}subject(e,t){this.subjectsStateMap[e]=t}}const T=new C;function S(e,{sensitivity:t,rootRef:n}={}){const i=s(null),l=a((()=>({threshold:_(t),root:n?.current})),[t,n?.current]);return r((()=>{if(!i.current)return;const t=new IntersectionObserver(e,l);return t.observe(i.current),()=>{t.disconnect()}}),[e,l]),i}function _(e=0){const t=Math.round(10*e);return new Array(t).fill(0).map(((e,n)=>Math.min(n/t)),1).concat(1)}const I=new C;const R={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white",gray:"bg-main-divider text-primary-text",transparent:"bg-transparent text-primary-text","":""},A=g((({className:e,version:t="primary",isTheme:n=!0,block:a,tag:s="section",role:o,children:c})=>{const d=s,m=function(e){return S(l((t=>{if(!e||!t?.length)return;const n=t[t.length-1];I.fire("intersection",{block:e,intersection:n})}),[e]),{sensitivity:1})}(a),[h,p]=i(!1);return r((()=>T.subscribe("tab",(e=>{p(Boolean(e.label&&a?.labels?.length&&!a.labels.includes(e.label)))}))),[a]),u(d,{className:f($(Boolean(t&&n)),R[t],h?"hidden":"",e),...t&&n?{"data-ver":t}:{},...a?.anchor?{id:a.anchor,ref:m}:{},role:o,children:c})})),$=e=>e?"group":"",P=e=>({height:"calc(100vh - 242px)",minHeight:`${e||866}px`}),M=g((({className:e="",style:t,idx:n,activeIndex:i,observerOptions:r,children:a,onIntersection:s})=>{const o=S(l((e=>{e.length&&s&&s(n||0,e[e.length-1])}),[s,n]),r);return u("div",{className:`inline-block snap-always box-border ${e}`,style:t,"aria-current":Boolean(n===i),ref:o,children:a})})),j=["min-w-[100%]","min-w-[50%]","min-w-[33.33%]","min-w-[25%]"],L=g((({className:e="",containerRef:t,activeIndex:n,visibleItemCount:i=0,gap:r=0,padding:a=0,listType:o="horizontal-list",snapAlign:c="snap-center",minHeight:d,children:m,onVisibleItemsChange:h,onVisibleIndicesChange:p})=>{const g={sensitivity:1,rootRef:t},b=s([]),x=l(((e,t)=>{const n=[...b.current||[]];n[e]=t,b.current=n,h&&h(n),p&&p(O(n))}),[h,p]),y=i>0?r*Number(i)-1:0,v="vertical-list"===o,N="horizontal-list"===o,w={...N?B(a,y):{},...v?P(d):{},gap:`${r}px`};return u("div",{className:f("box-border overflow-auto no-scrollbar",o,e),style:w,ref:t,children:(k=(e,t)=>u(M,{className:f(c,i?j[i-1]:"",v?"h-full":""),style:N?B(a/4):{},activeIndex:n,idx:t,observerOptions:g,onIntersection:x,children:e},String(t)),e=>null==e?e:Array.isArray(e)?e.map(k):k(e,0))(m)});var k})),B=(e,t=0)=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e+t}px`}),O=e=>e.map(((e,t)=>[e,t])).filter((([e])=>e&&e.intersectionRatio>=.9)).map((([,e])=>e)),z={"horizontal-list":"mx-auto mt-5 w-fit","vertical-list":"absolute flex-col justify-center h-full top-0 left-4"},D={"horizontal-list":"w-6","vertical-list":"h-6"},V=g((({containerRef:e,activeIndex:t,dotCount:n=0,listType:i="horizontal-list",version:r})=>n?u("div",{className:f("flex gap-2",z[i],r?"group":""),...r?{"data-ver":r}:{},children:new Array(n).fill(null).map(((n,r)=>u("div",{className:`cursor-pointer rounded-full transition-width duration-300 bg-primary-main group-data-secondary:bg-white group-data-transparent:bg-white ${r===t?D[i]:"w-2 h-2 opacity-30"}`,role:"button","aria-hidden":!0,onClick:()=>(n=>{n!==t&&e?.current&&e.current.children[n]?.scrollIntoView({behavior:"smooth",block:"nearest"})})(r)},String(r))))}):null)),E=e=>e,H=(e=E)=>t=>t.reduceRight(((t,n)=>e(t)>e(n)?t:n)),F=H(),U=(e=E)=>H((t=>-e(t))),J=e=>t=>e.scrollWidth/t,X=e=>(t,n)=>{e.scrollBy({left:n*J(e)(t),behavior:"smooth"})},W=({itemCount:e,isCyclic:t,onVisibleIndicesChange:n})=>{const r=s(null),[a,o]=i([]),c=l((e=>{o((t=>{return(n=t)===(i=e)||Boolean(n&&i&&n?.length===i?.length&&n.every(((e,t)=>e===i[t])))?t:e;var n,i})),n&&n(e)}),[e]),[d,m]=a.length?[U()(a),H()(a)]:[-1,-1],h=d>0,u=m<e-1,p=l((()=>{var n;r.current&&(t&&!h?(n=r.current).scrollTo({left:n.scrollWidth,behavior:"smooth"}):X(r.current)(e,-1))}),[t,e,h]),g=l((()=>{r.current&&(t&&!u?r.current.scrollTo({left:0,behavior:"smooth"}):X(r.current)(e,1))}),[e,t,u]);return[r,{scrollLeft:p,scrollRight:g,canScrollLeft:t||h,canScrollRight:t||u,visibleIndicesRange:[d,m],handleVisibleIndicesChange:c}]};function G(){return G._impl()}G._impl=()=>({href:globalThis.location?.href||"/",pathname:globalThis.location?.pathname||"/",query:{},push:()=>{},replace:()=>{}}),G.setup=e=>{G._impl=e};const Y=e=>Boolean(e?.includes(":")),K=(e,t)=>Boolean(e&&!Y(e)&&(!t||"_self"===t)),Q=e=>(e||"").replace(/\?.*/,"").replace(/\/$/,""),q=(...e)=>e.filter(Boolean).join("/").replace(/\/+/g,"/");var Z=Object.freeze({__proto__:null,isURL:Y,isLocalURL:K,isHash:e=>Boolean(e?.startsWith("#")),withoutQuery:Q,joinPath:q});const ee=e=>(t,n=d.BASE_PATH)=>{if(!t||Y(t)||te(t,d.CDN))return t;const i=t.startsWith("/");return q(te(t,n)?"":n,i?"/":e.pathname?.split("/").slice(0,-1).join("/"),t)},te=(e,t)=>t&&e&&e.startsWith(t),ne={normal:"",color:"text-primary-main",black:"text-black",white:"text-black"},ie=g((({className:e="",imageClassName:t="",name:n="",alt:i=`Иконка ${n}`,title:r=i,iconVersion:l="color",...a})=>{const s=G(),o=ee(s)(q(d.CDN,"/icons",`${n}.svg`));return"normal"!==l?u(le,{className:e,children:p("svg",{className:f(re(a.width),ne[l],"white"===l?"invert":"",t),...a,"aria-hidden":"true",children:[r?u("title",{children:r}):null,i?u("desc",{children:i}):null,u("use",{href:`${o}#icon`,xlinkHref:`${o}#icon`})]})}):(e.includes("h-")||(a.style={height:`${a.height}px`}),u("img",{className:e,src:o,alt:i,title:r,"aria-hidden":"true",...a}))})),re=e=>e?"":"w-full h-full",le=g((({className:e,children:t})=>e?u("div",{className:e,children:t}):t)),ae=(e,t)=>e?.media&&t?.media?e.media-t.media:0,se=g((({className:e="",image:t,imageClassName:n="",isMobile:i=!1,pathPrefix:r})=>{const l=G();return p("picture",{className:`${i?"flex":"flex-none"} ${e}`,children:[t?.sources?.length?t.sources.filter((e=>e?.src)).sort(ae).map((({src:e,format:n,media:i},a)=>u("source",{srcSet:ce(l,r)(e),type:de(n),media:i?`(max-width: ${i}px)`:"",...t.size},`${a}_${e}`))):null,t?.src?oe({...t,src:ce(l,r)(t.src)},n,i):null]})})),oe=(e,t="",n=!1)=>{const i={width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"auto"},r=e.title||"",l=e.alt||e.title,a=n?"m-auto":"m-0";return u("img",{src:e.src,className:`${a} ${t}`,alt:l,title:r,style:i,...e.size})},ce=(e,t)=>n=>n&&!Y(n)?ee(e)(q(t,n)):n,de=e=>e?`image/${String(e)}`:void 0,me=g((({className:e="",image:t,imageClassName:n="",isMobile:i,pathPrefix:r,...l})=>t?.src||t?.icon?t.icon?u(ie,{className:e,imageClassName:n,iconVersion:t?.iconVersion,name:t.icon,...l}):u(se,{className:e,imageClassName:n,image:t,isMobile:i,pathPrefix:r}):null)),he=g((e=>u(me,{...e,isMobile:!0}))),ue=(e="")=>({open:t=>T.fire("dialog",{type:"open",id:e,message:t}),close:()=>T.fire("dialog",{type:"close"})}),pe=(e,t)=>pe._impl(e,t);function ge(e={}){const{isRemote:t,basePath:n}=e,i=G(),{close:r}=ue();return e=>({...e,href:t&&!n?e.href:ee(i)(e.href,n),"aria-label":e.text,onClick:pe(l(e),e)});function l({href:e,target:n,onClick:l}){return a=>{l&&l(a),e&&!t&&K(e,n)&&(r(),a?.preventDefault(),i.push(e))}}}pe._impl=e=>e,pe.setup=e=>{pe._impl=e};const be={primary:"text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active",secondary:"text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active",white:"text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main",link:"",transparent:"",gray:"text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active","":""},fe="bg-main-divider text-main-disabled",xe={primary:fe,secondary:fe,white:fe,link:"",transparent:"",gray:fe,"":""},ye="text-center font-sans select-none",ve={primary:"group-hover/btn:brightness-0 group-hover/btn:invert",secondary:"group-hover/btn:brightness-0 group-hover/btn:invert",white:"group-hover/btn:brightness-0 group-hover/btn:invert",link:"",transparent:"",gray:"group-hover/btn:brightness-0 group-hover/btn:invert","":""},Ne=g((e=>{const{text:t,aboveText:n,appendLeft:i,appendRight:r,version:l="primary"}=e;return p("div",{className:f(we(e),"flex gap-2"),children:[i?u("div",{className:ve[l],children:i}):null,ke(e)?p("div",{children:[n?u("div",{className:"text-xs-light text-left",children:n}):null,u("div",{className:"text-left "+(n?"text-s -mt-0.5":"text-l"),children:t})]}):null,r?u("div",{className:ve[l],children:r}):null]})})),we=e=>{const{version:t,aboveText:n,rounded:i}=e;if("link"===t)return"";const r=""+(n?"py-2.5 px-7":"py-4 px-4");return["group/btn items-center justify-center",ke(e)?r:"h-12 w-12",i?"rounded-full":""].join(" ")},ke=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),Ce=({className:e,rounded:t,version:n})=>["inline-block",ye,n?xe[n]:"",t?"rounded-full":"rounded-md",e].join(" "),Te=({className:e,rounded:t,version:n})=>[ye,"border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border h-fit",n?be[n]:"",t?"rounded-full":"rounded-md",e].join(" "),Se=g((({disabled:e,children:t,...n})=>{const i=ge()(n),r=t??u(Ne,{...i});return u(e?Ie:_e,{...i,children:r})})),_e=g((({className:e="",href:t,rel:n,target:i,ariaLabel:r,version:l,rounded:a,onClick:s,children:o})=>u("a",{className:Te({className:e,version:l,rounded:a}),href:t,rel:n,target:i,"aria-label":r,role:t?"link":"button",onClick:s,children:o}))),Ie=g((({className:e,ariaLabel:t,version:n,rounded:i,children:r})=>u("div",{role:"button","aria-disabled":"true","aria-label":t,tabIndex:-1,className:Ce({className:e,rounded:i,version:n}),children:r}))),Re=g((({className:e,disabled:t,...n})=>u(Se,{rounded:!0,className:`group/btn shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${t?"bg-secondary-light text-secondary-text":"bg-white text-primary-text hover:text-primary-main"} ${e||""}`,disabled:t,...n,children:u(he,{className:"w-4 h-4 min-w-4 min-h-4 rounded-full box-border",image:{icon:"ArrowLeftIcon",iconVersion:"black"},imageClassName:"group-hover/btn:text-primary-main",width:"16",height:"16"})}))),Ae=g((e=>u(Re,{...e,ariaLabel:"Пролистать влево","data-block-control":"scroll-left"}))),$e=g((e=>u(Re,{...e,className:`${e.className||""} rotate-180`,ariaLabel:"Пролистать вправо","data-block-control":"scroll-right"}))),Pe="absolute top-[calc(50%-24px)] z-40",Me="absolute top-0 bottom-0 z-40 w-[84px] pointer-events-none",je=g((({scroll:e,arrowsPadded:t,isBlur:n,onScrollLeft:i,onScrollRight:r,hasEdgeBlocks:a,activeIndex:s,itemCount:o})=>{const{canScrollLeft:c,canScrollRight:d,scrollLeft:m,scrollRight:h}=e,g=a?s>0:c,b=a?s<o-1:d,x=l((()=>{a?(c&&s!==o-1&&m(),i()):m()}),[m,i,a,c,s,o]),y=l((()=>{a?(d&&0!==s&&h(),r()):h()}),[h,r,a,c,s,o]);return p("div",{children:[Le(n,e),g?u(Ae,{className:f(Pe,t?"left-8":"left-0"),onClick:x}):null,b?u($e,{className:f(Pe,t?"right-8":"right-0"),onClick:y}):null]})})),Le=(e,t)=>e?p("div",{children:[t.canScrollLeft?u("div",{className:f(Me,"left-0 bg-opacity-from-white")}):null,t.canScrollRight?u("div",{className:f(Me,"right-0 bg-opacity-to-white")}):null]}):null,Be=g((({className:e="",itemCount:t,visibleItemCount:n,isBlur:r=!0,isCyclic:a=!1,arrowsPadded:s=!0,isPadding:o=!0,showDots:c=!1,isAlignCenter:d=!1,...m})=>{const{blocks:h=[]}=m.block||{},g=t||h?.length,[b,x]=i(Math.floor((n||0)/2)),y=l((()=>x((e=>e+1))),[]),N=l((()=>x((e=>e-1))),[]),[w,C]=W({itemCount:g,isCyclic:a}),[T]=C.visibleIndicesRange,S=h&&"CarouselBankHistoryCard"===h[0]?.type;return u(A,{className:f(Oe(o),"group-data-secondary:bg-primary-main group-data-secondary:text-white",e),...m,children:p("div",{className:f(ze(d),"relative max-w-full"),children:[u(L,{containerRef:w,visibleItemCount:n,snapAlign:"snap-start",gap:16,onVisibleIndicesChange:C.handleVisibleIndicesChange,children:k({...m,renderProps:S?(e,t)=>v(e,t,{blocksLength:h?.length,activeIndex:b}):v})}),u(je,{scroll:C,isBlur:r,arrowsPadded:s,onScrollLeft:N,onScrollRight:y,hasEdgeBlocks:S,activeIndex:b,itemCount:g}),c?De(w,T,g):null]})})}));Be.childrenTypes=["CarouselCard","CarouselBankHistoryCard","CarouselCatalogCard","CarouselInvestmentCard","CarouselProductCard","CarouselProgramsCard","CarouselRecommendationCard","CarouselTariffsCard","CarouselRichTextCard","CarouselInvestmentCard","CarouselEventCard"];const Oe=e=>e?"p-default":"",ze=e=>e?"flex justify-center":"",De=(e,t,n)=>u(V,{containerRef:e,activeIndex:t,dotCount:n,listType:"horizontal-list"}),Ve=g((({className:e="",href:t,target:n,isRemote:i=!1,children:r})=>{const l=ge({isRemote:i})({href:t,target:n});return u(t?"a":"div",{className:f("block",e),...t?l:{},children:r})})),Ee={L:"w-1.5 h-1.5 mr-4",M:"w-1.5 h-1.5 mr-3",S:"w-1 h-1 mr-2"},He=g((({className:e,isDotted:t=!0,children:n,size:i="M"})=>p("div",{className:f("font-sans flex",e),role:"listitem",children:[t?u("div",{className:"shrink-0",children:u("div",{className:f("align-middle inline-block rounded-full bg-primary-text group-data-secondary:bg-white",Ee[i])})}):null,u("span",{children:n})]}))),Fe={S:"text-l-light",M:"text-h6",L:"text-h5"},Ue={S:"ml-2",M:"ml-3",L:"ml-4"},Je=g((({className:e,hasIndent:t,isDotted:n,items:i,listItemSize:r="M"})=>i?.length?u("section",{className:f("flex flex-col gap-2 text-left text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text",Fe[r],t?Ue[r]:"",e),role:"list",children:i.map(((e,t)=>u(He,{isDotted:n,size:r,children:e},String(t))))}):null)),Xe={default:"w-24 h-14",small:"w-12 h-12"},We=(e,t)=>e?"":f("group/media flex items-center justify-center box-border",Xe[t]),Ge=[{origins:["t.me","telegram.org"],iconMapped:{icon:"TelegramIcon"},label:"Телеграм"},{origins:["vk.com"],iconMapped:{icon:"VKIcon"},label:"ВКонтакте"},{origins:["ok.ru"],iconMapped:{icon:"OkIcon"},label:"Одноклассники"},{origins:["apps.apple.com"],iconMapped:{icon:"AppleIcon"},label:"App Store"},{origins:["play.google.com"],iconMapped:{icon:"PlayMarketIcon"},label:"Google Play"},{origins:["youtube.com"],iconMapped:{icon:"YoutubeIcon"},label:"Youtube"}],Ye=g((({buttonSize:e="default",rounded:t=!1,icon:n,...i})=>{const{href:r,version:l,text:a=""}=i,{iconMapped:s,label:o}=Ge.find((({origins:e})=>e.some((e=>r?.includes(e)))))||{},c=Ke(n)??s;return u(Se,{className:f(t?"rounded-full":"rounded-md","border border-solid hover:border-transparent","group-data-primary:border-main-divider","hover:bg-primary-main hover:text-black","group-data-secondary:bg-white border-main-divider group-data-secondary:hover:bg-secondary-hover","group-data-gray:border-green",We(a,e)),"aria-label":o,rel:"noopener noreferrer",target:"_blank",text:a,version:l,...i,children:c&&!a?u(he,{image:c,imageClassName:"group-hover/media:text-white",width:"24",height:"24"}):null})})),Ke=e=>e?.src||e?.icon?e:void 0,Qe=g((({className:e="",media:t})=>u("div",{className:`flex gap-2 items-start justify-start ${e}`,children:t?.map(((e,t)=>u(Ye,{...e},String(t))))}))),qe={h0:"text-m-title",h1:"text-m-title",h2:"text-m-title",h3:"text-h6",h4:"text-m-title-xs",h5:"text-m-title-xs",h6:"text-m-title-xs"},Ze=g((e=>{const{className:t,headingType:n="h3",title:i,as:r="h3"}=e;return u(r,{className:`font-sans font-medium m-0 ${qe[n]} ${t||""}`,children:i})})),et=g((({children:e,...t})=>u("p",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),tt={XXL:{title:{headingType:"h0",as:"h1"},descriptionSize:"text-h5",descriptionStyle:"mt-5"},XL:{title:{headingType:"h1",as:"h1"},descriptionSize:"text-xl-light",descriptionStyle:"mt-4"},L:{title:{headingType:"h2",as:"h2"},descriptionSize:"text-xl-light",descriptionStyle:"mt-4"},M:{title:{headingType:"h3",as:"h3"},descriptionSize:"text-xl-light",descriptionStyle:"mt-3"},S:{title:{headingType:"h4",as:"h4"},descriptionSize:"text-xl-light",descriptionStyle:"mt-2"},XS:{title:{headingType:"h5",as:"h5"},descriptionSize:"text-l-light",descriptionStyle:"mt-2"}},nt=g((({className:e,title:t,description:n,headlineVersion:i="XL",align:r="text-center",as:l,isPadding:a=!0,isTheme:s=!1,version:o="",...c})=>{const d=tt[i],m=a?"p-default":"",h={marginTop:d.descriptionStyle};return p(A,{className:f(m,e),version:o,isTheme:s,...c,children:[t?u(Ze,{className:f("whitespace-pre-wrap",r),...d?.title,as:l||d?.title.as,title:t}):null,n?u(et,{size:d.descriptionSize,align:r,...h,children:n}):null]})})),it=g((({className:e="",description:t,href:n,icon:i,items:r=[],socialMedia:l=[],target:a,title:s,align:o="text-left",...c})=>u(A,{className:f("relative box-border p-default group-data-gray:bg-main-divider/50","border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider",e),...c,children:p(Ve,{href:n,target:a,children:[u(nt,{className:"mb-2",title:s,description:t,headlineVersion:"S",isPadding:!1,align:o}),r.length?u(Je,{className:"flex flex-col gap-2",items:r,listItemSize:"S"}):null,rt(i),l.length?u(Qe,{className:"mt-5",media:l}):null]})}))),rt=e=>e?.src||e?.icon?u("div",{children:u(he,{image:e})}):null,lt=g((({className:e="",isFoldButtonOnTop:t=!1,unfoldedByDefault:n=!1,renderFoldableSection:r,renderFoldButton:a})=>{const[s,o]=i(n),c=l((()=>{o((e=>!e))}),[]),d=r({isUnfolded:s,onToggle:c}),m=a?a({isUnfolded:s,onToggle:c}):null;return p("div",t?{className:e,children:[m,d]}:{className:e,children:[d,m]})})),at=g((({className:e="",isUnfolded:t,children:n})=>{const i=s(null);return r((()=>{i.current&&(i.current.style.maxHeight=t?`${i.current.scrollHeight}px`:"")}),[t,n?.length]),u("div",{ref:i,className:`transition-max-h duration-300 overflow-hidden ${i.current||!t?"max-h-0":""} ${e}`,children:n})})),st=(e=!1)=>e?"p-default mt-6":"mt-6 p-default",ot=(e,{className:t="",buttonClassName:n,isVertical:i}={})=>e?.length&&e.some((e=>e?.text||e?.icon?.icon))?u("div",{className:f("flex",i?"flex-col gap-2":"flex-wrap gap-4",t),children:e.map(ct(n))}):null,ct=(e="")=>(t,n)=>{const{text:i,icon:r,iconRight:l,version:a,...s}=t||{},o="secondary"===a?"color":"white",c=r?.iconVersion?r?.iconVersion:o;return i||r?.icon?u(Se,{className:e,appendLeft:dt({...r,iconVersion:c}),appendRight:dt({...l,iconVersion:c}),version:a,text:i,...s},n?String(n):""):null},dt=e=>e?.icon||e?.src?u(he,{image:e,width:String(e?.size?.width||24),height:String(24)}):null,mt=g((({children:e,...t})=>u("span",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),ht=(e,t)=>{const{title:n,description:i,buttons:r}=e;return p("div",{className:"py-5 border-b border-main-divider",children:[n?u("div",{className:"opacity-80",children:u(mt,{size:"text-m",color:"text-secondary-text",children:n})}):null,i?u("div",{className:"mt-1",children:u(mt,{size:"text-l",color:"text-primary-text",children:i})}):null,r?.length?u("div",{className:"text-primary-main",children:ot(r)}):null]},String(t))},ut=g((({className:e="",title:t,icon:n,isHighlighting:i=!1,button:r,cardCells:l=[],...a})=>{const s=l.map(ht),o=s.slice(0,1),c=s.slice(1);return p(A,{className:f("relative border border-gray flex flex-col",st(i),e),...a,children:[i?bt():null,pt(n),t?u(Ze,{className:"text-center pt-2",headingType:"h5",title:t}):null,r?u(Se,{className:"w-full mt-4",...r}):null,l.length?u(lt,{renderFoldableSection:({isUnfolded:e})=>p("div",{children:[o,u(at,{isUnfolded:e,children:c})]}),renderFoldButton:l.length>1?gt:null}):null]})})),pt=e=>u("div",{className:"w-[267px] min-w-[267px] self-center",children:e?.src||e?.icon?u(he,{image:e}):null}),gt=({isUnfolded:e,onToggle:t})=>p("button",{className:"w-full cursor-pointer text-primary-main pt-5 flex justify-between items-center",onClick:t,children:[u("div",{children:e?"Скрыть":"Подробнее о тарифе"}),u(ie,{className:"text-primary-text",name:e?"ArrowUpIcon":"ArrowDownIcon",width:"16",height:"16"})]}),bt=()=>p("div",{className:"absolute -top-7 -right-4 h-[60px] w-[60px] bg-white flex flex-col items-center justify-center rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]",children:[u(ie,{iconVersion:"black",name:"HeartIcon",width:"23",height:"22"}),u(et,{size:"text-s",font:"font-normal",align:"text-center",color:"text-primary-text",children:"ХИТ"})]}),ft=g((({className:e="",gap:t=14,padding:n=16,showDots:i=!0,minHeight:r,children:l,onVisibleIndicesChange:a,listType:s="horizontal-list",version:o})=>{const c=Array.isArray(l)?l.length:0,[d,m]=W({itemCount:c,onVisibleIndicesChange:a}),[h]=m.visibleIndicesRange;return p("div",{className:f(e,"vertical-list"===s?"relative h-full":""),children:[u(L,{containerRef:d,activeIndex:h,visibleItemCount:1,gap:t,padding:n,onVisibleIndicesChange:m.handleVisibleIndicesChange,listType:s,minHeight:r,children:l}),i?u(V,{containerRef:d,activeIndex:h,dotCount:c,listType:s,version:o}):null]})})),xt=(e=!1)=>e?"text-white":"",yt=(e=!1)=>"text-s mb-3.5 "+(e?"text-white":"text-secondary-text/80"),vt=g((({icon:e,image:t,title:n,subtitle:i,isFillGradient:r})=>p("div",{role:"columnheader",children:[e?u(he,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}):null,t?.src&&u("div",{className:"mb-3.5",children:u(he,{image:t})}),n?u(Ze,{headingType:"h4",className:xt(r),title:n}):null,i?u("div",{className:yt(r),children:i}):null]}))),Nt=g((({cell:e,rowHeader:t,isFillGradient:n=!1})=>u("div",{className:"box-border flex flex-col",role:"cell",children:u("div",{className:"h-full border-main-divider border border-t-0 border-x-0",children:e.map(wt(n,t))})}))),wt=(e,t)=>({label:n,description:i},r)=>p("div",{className:"flex justify-between text-s py-3.5",children:[u("div",{className:""+(e?"text-white/80":"text-secondary-text"),children:t}),p("div",{className:"basis-1/2",children:[n?u("div",{className:"text-right "+(e?"text-white":""),children:n}):null,i?u("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:i}):null]})]},String(r)),kt=g((({header:e,columnData:t,visibleRowLength:n=0,isFillGradient:i,showRow:r,onToggleColumn:l})=>{const a=t?.slice(0,r?t.length:n),s=i?"secondary":"primary";return p("div",{className:`border border-gray rounded-md p-4 mb-3.5 ${i?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[u(vt,{...e,isFillGradient:i}),a?.length?a.map((({rowHeader:e,cell:t},n)=>u(Nt,{cell:t,rowHeader:e,isFillGradient:i},String(n)))):null,r&&e?.link?u(Se,{href:e.link.href,target:e.link.target,version:s,className:"text-s font-medium mt-4 py-[11px]",children:e.link.text}):null,Ct({onToggleColumn:l,isFillGradient:i,showRow:r})]})})),Ct=({onToggleColumn:e,isFillGradient:t,showRow:n})=>u("div",{className:"mt-5",role:"cell",children:u("a",{role:"link",onClick:e,className:"text-s font-medium cursor-pointer "+(t?"text-white/80":"text-primary-main"),children:n?"Скрыть":"Показать описание"})}),Tt=g((e=>{const{className:t,title:n}=e;return p("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${t||""}`,children:[n?u(Ze,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:n}):null,u("div",{role:"table",children:u(St,{...e})})]})})),St=g((({columns:e=[],rowHeaders:t,isColoredFirstColumn:n,visibleRowLength:r,orientation:a,...s})=>{const[o,c]=i(new Array(e.length).fill(!r)),d=l((e=>{const t=(t,n)=>n===e?!t:t;c((e=>e.map(t)))}),[]),m=l((()=>c((e=>new Array(e.length).fill(!1)))),[]),h=e?.map((({data:e,header:i},l)=>{return u(kt,{visibleRowLength:r,showRow:o[l],header:i,columnData:(a=e,a?.map(((e,n)=>({cell:e,rowHeader:t?.[n]?.title})))),isFillGradient:0===l&&n,onToggleColumn:()=>d(l),...s},String(l));var a}));return"horizontal"===a?u(ft,{onVisibleIndicesChange:m,children:h}):h})),_t=e=>null!=e,It=new Map;function Rt(e,t,{fallback:n,cache:l}={}){const s=a((()=>At(e)),[e]),[o]=(e=>Boolean(e&&Array.isArray(e)&&1===e.length&&"string"==typeof e[0]))(s)?s:[],[c,d]=i(void 0),[m,h]=i(void 0);r((()=>{!s.some(_t)||(async()=>{try{const e=await(o?((e,t=It)=>n=>{const i=t.get(n);if(_t(i))return i;const r=e(n);return _t(r)?t.set(n,Promise.resolve(r)):t.delete(n),r})(t,l)(o):t(...s));d(e),h(void 0)}catch(e){d(void 0),h(e)}})()}),[t,l,s]);const u=n&&o&&n[o];return{data:!c&&u?u:c,error:m,mutate:()=>Promise.resolve(void 0),isValidating:!1}}function At(e){return Array.isArray(e)?e:e instanceof Function?At(e()):[e]}async function $t(e,t){const n=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await n.json()}const Pt={};function Mt(e,t={}){const{data:n}=Rt(`/wcms-resources/${e}.json`,$t,{fallback:t});return n||Pt}const jt=g((({className:e="",items:t})=>t?.length?u("ul",{className:f("flex flex-col p-0","",e),children:t.map(Lt)}):null)),Lt=(e,t)=>{const{text:n,...i}=e;return u("li",{className:"list-none mb-4 sm:mb-6 sm:last:mb-0",children:u("a",{className:"hover:text-primary-main sm:font-light",role:"link",...i,children:n||null})},`list_item_${String(t)}`)},Bt=g((({className:e="",label:t,icon:n,dataTheme:i="",disabled:r=!1,onClick:l})=>p("button",{className:f("flex justify-center w-full px-0 py-4 border border-transparent outline-none focus:border-primary-text",r?"bg-main-divider text-main-disabled hover:bg-main-divider":"bg-primary-main text-white hover:bg-primary-hove",e),onClick:l,disabled:r,"data-theme":i,children:[u("span",{className:"text-h4 pr-3",children:t}),n?u(he,{image:{icon:n,iconVersion:"white"},className:"flex-shrink-0 my-auto",width:"20",height:"20"}):null]}))),Ot={primary:"bg-main-divider",secondary:"bg-white/30","secondary-light":"bg-secondary-light"},zt=g((({iconBgVersion:e="primary",...t})=>u("div",{className:f("rounded-icon p-2.5 mr-3",Ot[e]),children:u(ie,{...t})}))),Dt=e=>e?"ArrowUpSolidIcon":"ArrowDownSolidIcon",Vt=g((({className:e="",label:t="Развернуть",labelIcon:n,isExpanded:i,isFoldButtonOnTop:r=!0,version:l="primary",...a})=>u(A,{className:f("w-full","",e),tag:"div",version:"transparent",...a,children:u(lt,{isFoldButtonOnTop:r,unfoldedByDefault:i,renderFoldableSection:({isUnfolded:e})=>u(at,{className:f("gap-5 [&>*]:p-0","flex flex-wrap group-last:last:pb-0"),isUnfolded:e,children:k(a)}),renderFoldButton:({isUnfolded:e,onToggle:i})=>Et({version:l,label:t,labelIcon:n,isUnfolded:e,onToggle:i})})})));Vt.childrenTypes={exclude:["RollupItem"]};const Et=({version:e,label:t,labelIcon:n,isUnfolded:i,onToggle:r})=>{const l=t||(i?"Скрыть":"Развернуть");return"primary"===e?Ht({label:l,labelIcon:n,icon:Dt(i),onToggle:r}):u(Bt,{label:l,icon:i?"ArrowUpIcon":"ArrowDownIcon",onClick:r})},Ht=({label:e,icon:t,onToggle:n,labelIcon:i})=>{const r=String(i?.size?.width||24),l=String(i?.size?.height||24),a=i?.icon;return p("button",{className:f("border-none bg-transparent px-0 flex justify-between items-center w-full cursor-pointer group/button",a?"py-2":"py-5"),onClick:n,children:[p("div",{className:"flex items-center group-hover/button:text-primary-main",children:[a?u(zt,{name:a,width:r,height:l,iconVersion:i?.iconVersion}):null,e?u(mt,{size:"text-l",font:"font-normal",children:e}):null]}),t?u(ie,{name:t,iconVersion:"normal",width:"24",height:"24"}):null]})},Ft=g((({className:e="",items:t,hasButton:n})=>p("div",{className:e,children:[t?.length?t.map(Ut):null,n?u(Se,{version:"primary",className:"mb-6 w-full",href:"https://www.rshb.ru/feedback/question/",target:"_blank",ariaLabel:"Обратная связь",text:"Обратная связь"}):null]}))),Ut=(e,t)=>{const{type:n,text:i,description:r}=e;return p("div",{className:"mb-4",children:[u("div",{children:Jt(n,i)}),u("div",{className:"mt-1 text-s-light text-secondary-text",children:r})]},String(t))},Jt=(e,t="")=>{switch(e){case"tel":return u("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${Xt(t)}`,children:t});case"email":return u("a",{className:"text-xl-light text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return u("span",{children:t})}},Xt=e=>e.replaceAll(/\D/g,""),Wt=g((({className:e="",index:t,text:n,...i})=>{const r=ge(),{href:l,target:a,onClick:s}=r(i);return u("a",{className:f("",e),href:l,target:a,onClick:s,children:n||`Документ ${t}`})})),Gt=g((({title:e,links:t,className:n=""})=>p("div",{className:n,children:[u(mt,{size:"text-h6",children:e}),t?.length?u("div",{className:"flex flex-col gap-6 mt-7",children:t.map(((e,t)=>u(Wt,{index:t,...e},String(t))))}):null]}))),Yt=g((({className:e="",index:t,...n})=>{const i=ge({isRemote:!0}),{href:r,target:l,text:a,onClick:s}=i(n);return u("a",{className:`text-xs-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${e}`,href:r,target:l,onClick:s,children:a||`Документ ${t}`})})),Kt=g((({className:e="",links:t})=>p("div",{className:e,children:[u("div",{className:"pt-4 xl:pt-5",children:u(mt,{size:"text-s",color:"text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?u("div",{className:"flex justify-start items-start gap-5 pt-4",children:t.map(((e,t)=>u(Yt,{index:t,...e},String(t))))}):null]}))),Qt=g((({className:e="",...t})=>{const n=t.options?.page?.fallback,i=Mt(d.SITEMAP||"sitemap",n),{documents:r,relatedEnterprises:l,contacts:a,socialMedia:s,horizontalNavigationTitle:o}=Mt(d.FOOTER||"footer",n);return p(A,{tag:"footer",className:f("px-4 py-6",e),...t,children:[u("div",{className:"mb-4 pb-5 border-b border-main-divider",children:i.topItems?.map(((e,t)=>u(Vt,{label:e?.text,labelIcon:e?.icon,children:u(jt,{items:e.items,className:"my-3"})},String(t))))}),u(Ft,{className:"overflow-hidden",items:a}),u(Qe,{className:"mb-4",media:s}),u(Se,{className:"w-full mb-4",text:"Google Play",version:"secondary",href:"/",target:"_blank"}),u(Gt,{className:"pt-4 pb-7 border-y border-main-divider",title:o,links:l}),u(Kt,{})]})})),qt=e=>({href:t})=>Q(Y(t)?e.href:e.pathname).startsWith(Q(t)),Zt=g((({className:e="",active:t,dataItemName:n,children:i,...r})=>{const l=ge(),{href:a,target:s,text:o,onClick:c}=l(r);return p("a",{className:f("relative inline-block bg-transparent text-center no-underline",e),href:a,target:s,"data-item-name":n,onClick:c,children:[u("span",{className:en(t),children:o||i}),t?u("div",{className:"absolute left-0 -bottom-3 w-full h-0.5 bg-primary-main group-data-transparent:bg-transparent"}):null]})})),en=(e=!1)=>f("font-sans text-s",e?"text-primary-main":"text-secondary-text hover:text-primary-main","group-data-transparent:text-white group-data-transparent:hover:text-primary-hover"),tn=864e5;function nn(e,t,n=globalThis?.localStorage){const i=l((async(...i)=>{const r=`async:${e}`,l=function(e){const{data:t=null,timestamp:n=null}=e?JSON.parse(e):{};return t&&Date.now()-n<tn?t:void 0}(n.getItem(r));if(l)return l;const a=await t(...i);return n.setItem(r,JSON.stringify({data:a,timestamp:Date.now()})),a}),[e,t]);return Rt(e,i)}const rn=()=>{const e=globalThis.localStorage?.getItem("location");try{return e?JSON.parse(e):null}catch(e){return null}},ln=g((({className:e,onClick:t})=>u("button",{className:f("flex justify-center items-center w-12 h-12 p-1 bg-transparent border-none",e),onClick:t,title:"Закрыть",children:u(he,{image:{icon:"CloseIcon"},width:"24",height:"24"})})));function an(e){throw new Error(e)}function sn({onOpen:e,onClose:t}={}){r((()=>T.subscribe("dialog",(n=>{switch(n.type){case"open":e&&e(n);break;case"close":t&&t();break;default:an(n)}}))),[e,t])}function on(e,...t){return e.map(((e,n)=>[e,...t.map((e=>e[n]))]))}const cn=e=>t=>{if(e===t)return 1;if(!e||!t)return 0;const{m:n,s1Matches:i,s2Matches:r}=function(e,t){const n=Math.max(0,Math.floor(Math.max(e.length,t.length)/2)-1),i=new Array(e.length),r=new Array(t.length);let l=0;for(let a=0;a<e.length;a++){const s=Math.max(0,a-n),o=Math.min(a+n,t.length-1);for(let n=s;n<=o;n++)i[a]||r[n]||e[a]!==t[n]||(l++,i[a]=!0,r[n]=!0)}return{m:l,s1Matches:i,s2Matches:r}}(e,t);if(0===n)return 0;const l=function(e,t,{s1Matches:n,s2Matches:i}){let r=0;for(let l=0,a=0;l<e.length;l++){if(!n[l])continue;let s=a;for(;s<t.length;s++)if(i[s]){a=s+1;break}e[l]!==t[s]&&r++}return r}(e,t,{s1Matches:i,s2Matches:r}),a=(n/e.length+n/t.length+(n-l/2)/n)/3,s=a>.7?.1*function(e,t){let n=0;for(;e[n]===t[n]&&n<4;)n++;return n}(e,t):0;return a+s*(1-a)};const dn=(e,t)=>(n,i)=>{for(const[r,l]of i)n.set(r,e(n.get(r)||t,l));return n},mn=e=>e.toLowerCase().split(/[^0-9a-zа-я-]+/).filter((e=>e.length>=3&&!/[0-9a-z]/.test(e))),hn=e=>t=>e.map((([e,n])=>[cn(t)(e),n])).filter((([e])=>e>=.8)).map((([e,t])=>pn(t,e))).reduce(dn(Math.max,0),new Map),un=e=>t=>{return on(t,t.map((({title:e})=>e)).map((e=>t=>{const n=mn(t||"");return n.length?((e=[])=>e.reduce(((e,t)=>e+t),0))(e.map((e=>F(n.map(cn(e)))))):0})(e))).sort((i=([,e])=>e,n=(e,t)=>i(e)-i(t),(e,t)=>-n(e,t))).map((([e])=>e));var n,i},pn=(e,t)=>new Map(e.map((e=>[e,t]))),gn=["/"],bn=({basePathList:e=gn,initialQuery:t="",wasOpened:n})=>{const[l,s]=i(t||"");r((()=>{null!=t&&s(t)}),[t]);const o=a((()=>e.map((e=>n?e:null))),[n,e]),{data:c}=Rt(o,fn),[d,m]=i(null);return((e,t,n=300)=>{r((()=>{const t=setTimeout(e,n);return()=>{clearTimeout(t)}}),t)})((()=>{c&&m(c.map((e=>t=>{const{corpus:n,dictionary:i}=t||{};if(!(e&&n?.length&&i&&Object.keys(i).length))return[];const r=mn(e);if(!r.length)return[];const l=Object.entries(i),a=[...r.map(hn(l)).reduce(dn(((e,t)=>e+t),0),new Map).entries()].filter((([,e])=>e>=.799*r.length)).map((([e])=>n[e]));return un(r)(a)})(l)))}),[c,l]),[d,{value:l,onChange:s}]},fn=async(...e)=>(await Promise.allSettled(e.map((e=>async function(e,t){try{return e?await $t(e,t):null}catch(e){console.error(e)}return null}(q(e,"/","search.index.json")))))).map((e=>"fulfilled"===e.status?e.value:{})),xn=g((({className:e,isOpened:t,head:n,children:i,onClose:l})=>(r((()=>{const e=({key:e})=>{"Escape"===e&&l&&l()};return globalThis.document?.addEventListener("keydown",e),()=>{globalThis.document?.removeEventListener("keydown",e)}}),[l]),t?u("div",{className:f("fixed inset-0 bg-white text-l-light z-50 overflow-x-hidden overflow-y-scroll no-scrollbar",e),role:"dialog",children:p("div",{className:"relative container pb-12 min-h-full",children:[p("div",{className:"sticky bg-white pt-6 top-0",children:[u(ln,{className:"absolute top-10 -right-12",onClick:l}),n]}),i]})}):null)));function yn(e=!1){const[t,n]=i(e),r=l((()=>n(!0)),[]),a=l((()=>n(!1)),[]),s=l((()=>n((e=>!e))),[]);return[t,{setValue:n,setTrue:r,setFalse:a,toggle:s}]}function vn(e,t=!1){const[n,{setTrue:r,setFalse:a}]=yn(t),[o,c]=i({id:e}),d=s(n);d.current||=n;sn({onOpen:l((t=>{t.id===e?(c(t),r()):a()}),[e]),onClose:a});const m=l((()=>{a(),T.fire("dialog",{type:"close"})}),[]);return{...o,isOpened:n,wasOpened:d.current,onClose:m}}const Nn=g((({className:e,topItems:t})=>{const n=ge({isRemote:!0});return u("div",{className:f("flex items-start justify-between",e),children:t?.map(n).map(wn)})})),wn=(e,t)=>{const{text:n,items:i,href:r,target:l,onClick:a}=e;return p("div",{className:"flex flex-col gap-3.5 w-1/4",children:[u("a",{className:"leading-5 text-l text-primary-text hover:text-primary-main no-underline",href:r,target:l||"_self",onClick:a,children:n||`Раздел ${t}`}),i?.map(((e,t)=>u(kn,{...e,basePath:o(r),index:t},String(t))))]},String(t))},kn=g((({text:e,index:t,basePath:n,...i})=>{const r=ge({isRemote:!(!d.BASE_PATH||!n)&&!d.BASE_PATH.startsWith(n),basePath:n}),{href:l,target:a,onClick:s}=r(i);return u("a",{className:f("text-l-light text-secondary-text hover:text-primary-main no-underline","overflow-x-hidden overflow-ellipsis whitespace-nowrap"),href:l,target:a||"_self",onClick:s,children:e||`Раздел ${t}`})})),Cn=g((({className:e,value:t,autoFocus:n,onChange:i,onFocus:r})=>{const a=l((e=>{i&&i(e.target?.value||"")}),[i]);return p("div",{className:f("font-sans relative",e),role:"form",children:[u("div",{className:"absolute h-full flex items-center pl-4 pointer-events-none",children:u(he,{image:{icon:"LoupeIcon"},width:"24",height:"24"})}),u("input",{className:f("h-12 pl-12 w-full text-l text-black outline-none box-border","border border-solid rounded-md border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text"),value:t,type:"text",name:"search-bar-input",placeholder:"Поиск по сайту",autoFocus:n,onChange:a,onFocus:r})]})})),Tn="search";g((({topItems:e})=>{const t=vn(Tn),n=a((()=>e?.map((e=>e.href||"/"))),[e]),[i,l]=bn({basePathList:n,initialQuery:t.message,wasOpened:t.wasOpened}),s=a((()=>Sn(e)(i)),[e,i]);return r((()=>function(e){for(const t of e.filter((({items:e})=>e?.length)))console.group(t.text),console.table(t.items,["text","href"]),console.groupEnd()}(s)),[s]),u(xn,{...t,head:u(Cn,{className:"my-5",autoFocus:!0,...l}),children:u(Nn,{topItems:s})})}));const Sn=e=>t=>e?.length&&t?.length?on(e,t).map((([e,t])=>({...e,items:t?.map((({title:e,uri:t})=>({text:e,href:q("/",t)})))}))):[];const _n=g((({className:e})=>{const[t,n]=i(""),r=l((()=>n("")),[]);sn({onClose:r});const{open:a}=ue(Tn),s=l((e=>{n(e),In(e)&&a(e)}),[]);return p("div",{className:e,children:[u(Cn,{value:t,onChange:s}),u(ln,{className:"absolute top-2 right-3 sm:hidden",onClick:r})]})})),In=e=>e&&e.length>=3,Rn=g((({burgerSubMenu:e,onClick:t,defaultLocation:n="",children:a})=>{const[s]=function(e="Москва"){const t=rn(),[n,a]=i(t?.region??{name:e}),{data:s}=nn("/api/v1/region",$t);return r((()=>{a(t?.region&&t?.manual?t.region:s||{name:e})}),[s]),[n,l((e=>{globalThis.localStorage?.setItem("location",JSON.stringify({manual:!0,region:e})),a(e)}),[])]}(n);return p("div",{className:"absolute top-0 left-0 w-full h-full bg-white p-4 box-border z-20",children:[u("button",{className:"absolute top-4 right-4 border-none bg-transparent cursor-pointer",onClick:t,children:u(he,{image:{icon:"CloseIcon"},width:"24",height:"24"})}),p("button",{className:"flex items-center text-s p-0 mb-4 bg-transparent cursor-pointer",children:[u(he,{image:{icon:"GeolocationIcon"},width:"20",height:"20",className:"text-primary-main box-border mr-2"}),u(mt,{color:"text-secondary-text",children:s.name})]}),a,u("div",{className:"mb-7",children:e?.map(An)}),u(_n,{className:"grow"})]})})),An=(e,t)=>{const{icon:n,href:i,text:r}=e;return p("a",{href:i,className:"flex text-s mb-4 hover:text-primary-main",children:[n?u(he,{className:"text-primary-main pr-1",image:n,width:"24",height:"24"}):null,u("span",{className:"font-medium pl-0.5",children:r})]},`headerSubMenu-${t}`)},$n={"bg-white":"color",transparent:"white"},Pn={"bg-white":"text-primary-main",transparent:"text-white"},Mn=(e,t,n)=>u(he,t?.src?{image:t,className:Pn[e],width:n?.width,height:n?.height,pathPrefix:"/wcms-resources/"}:{image:{icon:t?.icon||"LogoIcon",iconVersion:$n[e]},className:Pn[e],width:n?.width,height:n?.height}),jn={"bg-white":"text-primary-text",transparent:"text-white"},Ln=(e,t,n)=>u("span",{className:`${jn[t]} ml-2.5 font-medium ${n||""}`,children:e||"Россельхозбанк"}),Bn=g((({bgColor:e="bg-white",children:t,className:n="",href:i,logo:r,showTitle:l=!0,targetBlank:a})=>p("a",{className:`inline-flex items-center font-sans no-underline ${n}`,href:i||"https://rshb.ru/",target:a?"_blank":"_self","aria-label":r?.title||"Россельхозбанк",children:[Mn(e,r?.image,{width:"34",height:"34"}),l?Ln(t||r?.title,e,"text-s"):null]}))),On=g((({onClick:e,bgColor:t,logo:n})=>p("div",{className:"flex items-center justify-between border-0 border-b border-main-divider h-12",children:[p("div",{className:"flex items-center",children:[u("button",{className:"pl-0 pr-4 border-0 bg-transparent cursor-pointer",onClick:e,"aria-label":"Открыть меню",children:u(he,{image:{icon:"BurgerIcon",iconVersion:"bg-white"===t?"black":"white"},className:"text-primary-text w-6 h-6",width:"24",height:"24"})}),u(Bn,{className:"mr-8",bgColor:t,logo:n})]}),u("button",{className:"text-primary-main group-data-transparent:text-white group-data-transparent:hover:text-primary-hover text-s border-0 bg-transparent",children:"Войти"})]}))),zn={"bg-white":"primary",transparent:"transparent"},Dn=g((({bgColor:e="bg-white",version:t=zn[e],...n})=>{const r=G(),a=n.options?.page?.fallback,{topItems:s,dispositions:o,defaultLocation:c,logo:m}=Mt(d.SITEMAP||"sitemap",a),h=s?.find((e=>qt(d.BASE_PATH?{pathname:d.BASE_PATH}:e))(r)),g=h?.items,b=(e=>(t=[])=>{const n=t?.filter(qt(e));return n?.length?H((e=>e.href?.length||0))(n):void 0})(r)(g),[f,x]=i(!1),y=l((()=>x((e=>!e))),[]);return p(A,{tag:"header",version:t,...n,children:[p("div",{className:"container px-4 py-0 box-border",children:[u(On,{onClick:y,bgColor:e,logo:m}),u("nav",{className:"flex items-center m-0 p-0 overflow-y-hidden w-full h-12",children:u("div",{className:"flex no-scrollbar horizontal-list h-full items-center",children:g?.map(((e,t)=>u(Zt,{className:"mr-8 whitespace-nowrap text-s",active:e===b,...e},String(t))))})})]}),f?u(Rn,{onClick:y,burgerSubMenu:o,defaultLocation:c,children:u("div",{className:"list-none m-0 p-0",children:s?.map(((e,t)=>u(Vt,{label:e.text,children:u(jt,{className:"mt-2.5",items:e.items})},String(t))))})}):null]})})),Vn=g((e=>{const{className:t,image:n,...i}=e;return u(A,{className:t,...i,children:u(he,{image:n})})})),En=g((({doc:e,icon:t})=>{const{text:n,fileSize:i,...r}=e;return p("a",{className:"flex box-border gap-3 group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main",role:"link",...r,children:[t,n?p(mt,{size:"text-l",font:"font-light",children:[n,u(mt,{color:"text-secondary-text",children:r?.href&&Hn(Fn(r.href),i)})]}):null]})})),Hn=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),Fn=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},Un=g((({className:e="",title:t,description:n,icon:i={icon:"DocDownloadIcon",iconVersion:"black"},documents:r,align:l,...a})=>p(A,{className:f("p-default",e),...a,children:[u(nt,{isPadding:!1,title:t,description:n,align:l,headlineVersion:"M",as:"h2"}),r?.length?u("div",{className:"mt-5 flex flex-col gap-6",role:"list",children:r.map(((e,t)=>u("div",{role:"listitem",children:u(En,{doc:e,icon:i?u(he,{className:"min-w-11 min-h-11 h-fit p-2.5 bg-main-divider rounded-md",image:i,width:"24",height:"24"}):null})},String(t))))}):null]}))),Jn=g((({className:e="",title:t="Мобильное приложение",description:n,href:i="#"})=>u("div",{className:f("col-span-12 rounded-md cursor-pointer p-4 bg-secondary-light font-sans",e),children:i?p("div",{className:"flex",children:[u("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-12 h-12",children:u(Bn,{className:"w-8",bgColor:"transparent",showTitle:!0})}),p("a",{href:i,target:"_blank",className:"flex flex-col justify-center pl-3",children:[u("div",{className:"text-s font-medium mb-[3px]",children:t}),u("div",{className:"text-s text-secondary-text",children:n})]})]}):null}))),Xn=e=>{const t="col-span-",n=e?.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function Wn(e=""){const t=Xn(e);return t<=4?"S":t<=8?"M":"L"}function Gn(e=""){const t=Xn(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function Yn(e=""){const t=Xn(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const Kn=g((({className:e,title:t,description:n="Блок в разработке...",...i})=>p(A,{className:f("p-9 box-border",e,Yn(e),Gn(e)),...i,children:[u(nt,{className:"!p-0 max-w-[600px]",title:t,description:n,headlineVersion:Wn(e)}),u("figure",{className:"m-0 min-w-[80%]",children:Qn()})]}))),Qn=(e=3)=>Zn(100,e).map((e=>Math.floor(e))).map(qn),qn=(e,t)=>u("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),Zn=(e,t)=>[e].concat(t>0?Zn(e/1.618,t-1):[]),ei=g((e=>{const{__html:t="",richVersion:n=""}=e;return u("div",{className:f(n,"md-container"),dangerouslySetInnerHTML:{__html:t}})})),ti=g((({className:e,title:t="",insetTitle:n="",buttons:i,leftImage:r,rightImage:l,backImage:a,children:s})=>p("div",{className:f("relative flex flex-col font-sans",e),children:[a?u("div",{className:"absolute bottom-0 right-0 z-0",children:a}):null,t,p("div",{className:"grow relative flex flex-wrap md:flex-nowrap justify-between items-stretch gap-8",children:[r,p("div",{className:f("flex flex-col gap-8",r?"":"grow"),children:[n,u("div",{className:"grow",children:s}),i]}),l?u("div",{className:"-order-1 lg:order-1",children:l}):null]})]}))),ni=g((({className:e,icon:t,label:n,description:i,version:r="primary",benefitsVersion:l="normal"})=>p("div",{className:f("flex gap-5",i?"items-start":"items-center",e),children:[t?u("div",{className:ii(r,l),children:u(he,{className:"w-6 h-6",image:{...t,iconVersion:t.iconVersion||l}})}):null,p("div",{children:[n?u(mt,{size:"text-h6",color:"text-primary-text group-data-secondary:text-white",children:n}):null,i?u(et,{size:"text-m-light",color:"text-secondary-text group-data-secondary:text-white",children:i}):null]})]})));function ii(e,t){let n="bg-primary-main text-black";return"secondary"===e?n="bg-white/30 text-black":"normal"===t&&(n="bg-secondary-light text-primary-main"),`w-12 h-12 min-w-12 rounded-full p-2.5 box-border flex items-center justify-center ${n}`}const ri=(e="primary",t="normal")=>(n,i)=>u(ni,{version:e,benefitsVersion:t,...n},String(i)),li=g((({className:e,version:t="primary",headlineVersion:n="L",title:i,description:r,benefits:l,benefitsVersion:a,items:s,isDotted:o=!0,__html:c,buttons:d,image:m,directionRight:h=!0})=>{const g=l?.filter((e=>e.label)),b=m?.src?u(he,{className:"mt-[-50px]",image:m}):null;return p(ti,{className:e,insetTitle:u(nt,{className:"max-w-[600px] xl:max-w-[728px]",title:i,description:r,headlineVersion:n,align:"text-left",isPadding:!1}),...h?{rightImage:b}:{leftImage:b},buttons:ot(d),children:[g?.length?u("div",{className:"flex flex-wrap gap-6",children:g.map(ri(t,a))}):null,c?u("div",{className:"mt-5",children:u(ei,{__html:c})}):null,s?.length?u(Je,{className:"mt-5",items:s,isDotted:o}):null]})}));function ai({text:e,href:t,target:n,icon:i},r){const l="primary"===r?"white":"black",a={text:e,href:t,target:n,ariaLabel:e};return p("div",{className:"flex items-center gap-3",children:[u(Se,{className:"w-12 h-12 min-h-12 min-w-12 flex items-center justify-center",version:r,rounded:!0,...a,children:u(he,{className:"w-4 h-4",image:{...i,icon:i?.icon||"ArrowLeftIcon",iconVersion:i?.iconVersion||l}})}),u(Se,{version:"link",...a})]})}const si=g((({className:e,backwardButton:t,...n})=>p(A,{className:f("overflow-hidden p-default flex flex-col gap-10 box-border",e),...n,children:[t?.text?ai(t,n.version&&"primary"!==n.version?"white":"primary"):null,u(li,{className:"grow",...n})]}))),oi=g((e=>{const{__html:t,richVersion:n,...i}=e;return u(A,{...i,children:u(ei,{__html:t,richVersion:n})})})),ci={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-12 w-12 min-w-12 min-h-12"},di={normal:"min-h-[70px]",small:"min-h-12"},mi={description:"text-white/80 text-l-light group-data-primary:text-secondary-text group-data-gray:text-secondary-text",iconText:"text-white group-data-primary:text-secondary-text group-data-gray:text-secondary-text",iconBackground:"bg-white/30 group-data-primary:bg-main-divider",iconConnector:"bg-white group-data-primary:bg-secondary-light",dot:"bg-white/80 group-data-primary:bg-secondary-text"},hi=g((({className:e="",title:t,description:n,showLines:i=!0,steps:r,size:l="normal",version:a="primary",...s})=>p(A,{className:`box-border px-4 py-6 flex flex-col ${e}`,version:a,...s,children:[t?u(Ze,{headingType:"h3",className:"text-center",title:t}):null,n?u("p",{className:`text-m-light text-center ${mi.description} ${t?"mt-2":""}`,children:n}):null,r?.length?u("div",{className:"box-border py-0.5 mb-0.5 mt-5",children:u("div",{className:"flex flex-col justify-between gap-x-[101px]",children:r.map(ui(l,a,i))})}):null]}))),ui=(e,t,n)=>(i,r,l)=>{const{type:a}=i;if("default"!==a&&"rte"!==a)return null;switch(a){case"default":return pi(e,t,n)(i,r,l);case"rte":return u(ei,{__html:i.__html});default:an(i)}},pi=(e,t,n)=>(i,r,l)=>{const a=l.length-1===r,s="normal"===e?"ml-[34px]":"ml-6";return u("div",{children:p("div",{className:"flex flex-row text-center relative",children:[p("div",{className:"overflow-hidden flex-shrink-0",children:[gi(e,t)(i,r),a?null:u("div",{className:`min-h-8 h-full w-0.5 ${n?mi.iconConnector:""} ${s}`})]}),p("div",{className:`flex flex-col justify-center h-fit ${di[e]}`,children:[i.label?u("div",{className:"text-m-title-xs font-medium m-0 text-left mb-1",children:i.label}):null,i.description?u("div",{className:`text-s ${mi.description} text-left`,children:i.description}):null]})]})},String(r))},gi=(e,t)=>(n,i)=>{const r="normal"===e?"38":"27",l="secondary"===t?"white":"color";return u("div",{className:`${ci[e]} ${mi.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`,children:u("span",{className:`font-medium flex self-center ${"normal"===e?"text-m-title":"text-m-title-xs"}`,children:(a=n?.icon,Boolean(a?.icon||a?.src)?u(he,{image:{...n.icon,iconVersion:n.icon?.iconVersion||l},width:r,height:r}):u("span",{children:i+1}))})});var a},bi={Buttons:({buttons:e})=>ot(e,{className:"mt-3",buttonClassName:"w-12 h-12"}),Img:({image:e})=>e?.src?u(he,{image:{...e,className:"m-0"}}):null,List:({isDotted:e,...t})=>u(Je,{className:"flex flex-col justify-between items-start text-m",isDotted:e??!0,...t}),LabelDescription:({label:e,description:t})=>p("div",{children:[e?u("div",{className:"text-xl font-medium m-0 "+(t?"mb-1":""),children:e}):null,t?u("div",{className:"text-s text-secondary-text",children:t}):null]})},fi=g((({title:e,icon:t})=>p("div",{className:"flex gap-2.5 mb-2",children:[e?u(Ze,{headingType:"h3",className:"font-medium",title:e}):null,t?u(he,{className:"ml-auto min-w-6",image:t,width:"24",height:"24"}):null]}))),xi=g((({tile:e,...t})=>p("div",{className:"rounded-md border-gray h-full box-border border p-4",children:[u(fi,{...e?.header}),e?.data?.length?e.data.map(((e,n)=>p("div",{children:[n>0?u("div",{className:"h-5"}):null,yi(e,t)]},String(n)))):null]})));function yi(e,t){if(!e||!e.tableCellType||!(e.tableCellType in bi))return null;const n=bi[e.tableCellType];return u(n,{displayTable:()=>null,isVisible:!0,...e,...t})}const vi=g((({tiles:e,...t})=>e?.length?u(ft,{...t,children:e.map(((e,n)=>u(xi,{tile:e,...t},String(n))))}):null)),Ni=g((({tiles:e,...t})=>e?.length?u("div",{className:"flex flex-col gap-3.5",children:e.map(((e,n)=>u(xi,{tile:e,...t},String(n))))}):null)),wi=g((({className:e,title:t,description:n,tariffsColumns:i,rowHeaders:r,orientation:l="vertical",...a})=>{const s=ki(i),o=Ci(r,s);return p("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[t?u(Ze,{headingType:"h2",className:`text-center ${n?"mb-2":"mb-5"}`,title:t}):null,n?u("div",{className:"mb-5 text-center text-m",children:n}):null,u("vertical"===l?Ni:vi,{tiles:o,...a})]})})),ki=e=>e?.[0]?.data?e[0].data:[],Ci=(e,t)=>e?.map(((e,n)=>({header:e,data:t?.[n]||[{}]}))),Ti=g((({className:e="",title:t,description:n,iconVersion:i,image:r,__html:l,items:a=[],...s})=>p(A,{className:f("px-9 py-4 flex gap-3 bg-white group-data-secondary:bg-primary-main/10",e),...s,children:["small"===i?u("div",{className:"mt-1",children:Si()}):null,"big"===i?_i(r):null,p("div",{className:"flex flex-col w-fit gap-3",children:[t?u(mt,{size:"text-l",font:"font-medium",color:"text-primary-text group-data-secondary:text-white",children:t}):null,n?Ii(n):null,a?.length?Ri(a,!0):null,l?u(ei,{__html:l}):null]})]}))),Si=()=>u("div",{className:"rounded-full h-4 w-4 text-center text-xs-light bg-primary-main text-white group-data-secondary:bg-white group-data-secondary:text-primary-main",children:"i"}),_i=e=>e?.src?u(he,{className:"h-fit",image:e}):null,Ii=e=>u(et,{size:"text-s",color:"text-secondary-text group-data-secondary:text-white",children:e}),Ri=(e,t)=>u("ul",{className:f("text-secondary-text group-data-secondary:text-white/80",t?"list-disc pl-6":""),children:e.map(((e,t)=>u("li",{children:u(mt,{size:"text-s",font:"font-light",children:e})},`listItem-${t}`)))}),Ai={XXL:"gap-12",XL:"gap-10",L:"gap-8",M:"gap-4",S:"gap-2",XS:"gap-1","":""},$i={stretch:"items-stretch",left:"items-start",center:"items-center",right:"items-end"},Pi=g((({className:e="",gap:t="",align:n="stretch",isPadding:i=!1,isInnerPadding:r=!0,version:l="transparent",isTheme:a=!1,...s})=>{const o=r?"":"!p-0";return u(A,{className:f("relative","flex flex-col [&>*]:max-w-full",i?"p-default":"",Ai[t],n&&$i[n],e),version:l,isTheme:a,...s,children:k({...s,renderProps:(e,t)=>v(e,t,{className:o})})})}));Pi.childrenTypes=[];const Mi={Carousel:Be,CarouselTariffsCard:ut,ComparisonTable:Tt,Footer:Qt,Header:Dn,Headline:nt,ImgBlock:Vn,LinkDocs:Un,MobileAppTile:Jn,Placeholder:Kn,ProductBlock:si,StepsBlock:hi,TariffsTable:wi,TextBlock:Ti,RichTextBlock:oi,RollupItem:Vt,VerticalLayout:Pi,CarouselRecommendationCard:it};const ji=["Header","Footer"],Li=([,{target:e}])=>Math.abs(e.getBoundingClientRect().top);function Bi(e=globalThis){const t=s(new Map);r((()=>I.subscribe("intersection",(({block:e,intersection:n})=>{t.current&&t.current.set(e,n)}))),[]),r((()=>{const n=((e,t=600)=>{let n;const i=(...r)=>{i.dispose(),n=setTimeout((()=>{e(...r)}),t)};return i.dispose=()=>{n&&clearTimeout(n)},i})((()=>{!function(e){const t=`#${n=e?.anchor,n?.replace("#","")||""}`;var n;globalThis.location?.hash!==t&&globalThis.history?.replaceState(globalThis.history?.state,"",t)}(globalThis.scrollY>3*globalThis.innerHeight/4?function(e){const t=e.filter((([e])=>!ji.includes(e.type||""))).filter((([,{intersectionRatio:e}])=>e>.01)),[n]=t.length>0?U(Li)(t):[];return n}([...t.current||[]]):void 0)}),100);return e.addEventListener("scroll",n),()=>{n.dispose(),e.removeEventListener("scroll",n)}}),[e])}const Oi="cookieClose",zi=g((({termLink:e,personalDataPolicyLink:t})=>{const{isOpened:n,onClose:i}=vn("cookie",!globalThis.localStorage?.getItem(Oi)),r=l((()=>{globalThis.localStorage?.setItem(Oi,"true"),i&&i()}),[i]);return n?u("div",{className:"container z-40 fixed bottom-0 left-0 right-0 pointer-events-none",children:p("div",{className:"bg-white m-6 p-6 rounded-md flex items-center pointer-events-auto shadow-[0_4px_25px_rgba(0,0,0,0.07)]",children:[u("div",{className:"flex-1",children:p(et,{size:"text-s-light",color:"text-primary-text",children:["АО «Россельхозбанк» использует",u(Ve,{isRemote:!0,className:f(Di(e?.href)),...e,children:"cookie"}),"(файлы с данными о прошлых посещениях сайта) для персонализации сервисов и удобства пользователей. Вы можете запретить сохранение cookie в настройках своего браузера.",u(Ve,{isRemote:!0,className:f(Di(t?.href)),...t,children:"Обработка Ваших персональных данных"}),"производится в соответствии с требованиями Федерального закона от 27.07.2006 № 152-Ф3 «О персональных данных»."]})}),u("div",{className:"w-24 flex justify-end",children:u(ln,{className:"bg-main-gray rounded-md",onClick:r})})]})}):null})),Di=e=>["inline mx-1",e?"text-green-dark":""],Vi=h();const Ei=g((({className:e,onClick:t,ariaLabel:n})=>u("button",{type:"button",className:`border-0 w-9 bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":n,children:Hi()}))),Hi=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[u("path",{...e,strokeMiterlimit:"10",d:"M21.48 11.95c.5-1.4-.4-2.6-1.9-2.6h-4c-.6 0-1.1-.5-1-1.2l.5-3.2c.2-.9-.4-1.9-1.3-2.2-.8-.3-1.8.1-2.2.7l-4.1 6.1M7.48 18.35l3.1 2.4c.4.4 1.3.6 1.9.6h3.8c1.2 0 2.5-.9 2.8-2.1l1.24-3.77"}),u("path",{...e,d:"M2.38 18.35v-9.8c0-1.4.6-1.9 2-1.9h1c1.4 0 2 .5 2 1.9v9.8c0 1.4-.6 1.9-2 1.9h-1c-1.4 0-2-.5-2-1.9Z"})]})},Fi=g((({className:e=""})=>{const t=function(e){const[t,n]=i(0);return r((()=>{(async()=>{const[t]=await Vi.getLikeCount(e);n(t?.value||0)})()}),[e]),{likeCount:t,like:l((async()=>{n(await Vi.like(e))}),[e]),dislike:l((async()=>{n(await Vi.dislike(e))}),[e])}}(G().pathname);return p("div",{className:`border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${e}`,children:[u(Ei,{onClick:pe(t.like),ariaLabel:"Поставить отметку «лайк»"}),u(Ei,{onClick:pe(t.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),u("span",{className:"select-none",children:t.likeCount})]})})),Ui=g((e=>{const{className:t="",blocksRegistry:n,blockDecorator:i,data:r={}}=e,{style:l,blocks:a,slots:s,likeControl:o,colorPalette:c="pc"}=r,d={key:"",page:r,blocksRegistry:n,blockDecorator:i,parent:r};Bi();const[m,{setTrue:h,setFalse:g}]=yn();return sn({onOpen:h,onClose:g}),p("section",{className:f("relative",l,t,m?"overflow-hidden h-screen":""),"data-theme":c,children:[s?.header?u("div",{className:"mb-5 shadow-[0_8px_32px_0px_#00000014]",children:w(s?.header,{...d,slotName:"header"})}):null,p("div",{className:"container grid grid-cols-12 gap-1",children:[w(a,d),s?.footer?w(s?.footer,{...d,slotName:"footer"}):null]}),o?u("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:u(Fi,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto"})}):null,u(zi,{termLink:{href:"/pd-policy#cookie",target:"_blank"},personalDataPolicyLink:{href:"/pd-policy",target:"_blank"}})]})}));Ui.childrenTypes=[],Ui.slots=()=>["header","footer"];e.Blocks=Mi,e.ContentPage=Ui,e.DaDataAPI=function(e=""){return{getFetcherAddress:async function(){if(!("geolocation"in navigator))return null;try{const t=await(async()=>new Promise((e=>navigator.geolocation.getCurrentPosition((({coords:t})=>e(t))))))(),n=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await n.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}},e.LikeAPI=h,e.handlerDecorator=pe,e.joinList=e=>t=>t.reduce(((t,n,i)=>t.length?t.concat({...e,key:`sep-${i}`},n):[n]),[]),e.packageVersion="0.11.1",e.projectSettings=d,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=Z,e.useRouter=G,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).UniMobileBlocks={})}(this,(function(e){"use strict";let t;const i=e=>(...i)=>t[e](...i),n=i("useState"),r=i("useEffect"),l=i("useCallback"),a=i("useMemo"),s=i("useRef");const o=e=>e&&!e.endsWith("/")?`${e}/`:e,c={PROD_BRANCH:"master"},d=new class{_=c;setup(e){this._=e}get TEST_BRANCH(){return this._.TEST_BRANCH}get RC_BRANCH(){return this._.RC_BRANCH}get PROD_BRANCH(){return this._.PROD_BRANCH||c.PROD_BRANCH}get FORCED_DRAFT_FLOW(){return this._.FORCED_DRAFT_FLOW}get ASSIST_PROJECT_ID(){return this._.ASSIST_PROJECT_ID}get SITEMAP(){return this._.SITEMAP}get FOOTER(){return this._.FOOTER}get CHAT_BOT(){return this._.CHAT_BOT}get CDN(){return o(this._.CDN)}get BASE_PATH(){return o(this._.BASE_PATH)}get YANDEX_MAP_API_KEY(){return this._.YANDEX_MAP_API_KEY}get YANDEX_METRIKA_ID(){return this._.YANDEX_METRIKA_ID}},m="likesToken";function h(){async function e(){try{const e=JSON.parse(globalThis.localStorage?.getItem(m)||"");if(e?.token)return e}catch(e){}try{const e=await fetch("/assist/v1/public/auth",{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({prefix:"guest"})}),{token:t,name:i}=await e.json();return globalThis.localStorage?.setItem(m,JSON.stringify({token:t,name:i})),{token:t,name:i}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...t){if(!t.length)return[];const{token:i}=await e();try{const e=await fetch(`/assist/v1/public/projects/${d.ASSIST_PROJECT_ID}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:i},body:JSON.stringify({node_ids:t})}),{likes:n}=await e.json();return n||[]}catch(e){return console.error(e),[]}},like:async function(t){if(!t)return 0;const{token:i,name:n}=await e();try{const e=await fetch(`/assist/v1/public/projects/${d.ASSIST_PROJECT_ID}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:i,UserID:n},body:JSON.stringify({node_id:t,user_name:n})}),{likes:r}=await e.json();return r||0}catch(e){return console.error(e),0}},dislike:async function(t){if(!t)return 0;const{token:i,name:n}=await e();try{const e=await fetch(`/assist/v1/public/projects/${d.ASSIST_PROJECT_ID}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:i,UserID:n},body:JSON.stringify({node_id:t,user_name:n})}),{likes:r}=await e.json();return r||0}catch(e){return console.error(e),0}}}}const u=(...e)=>globalThis._uni._jsx(...e),p=(...e)=>globalThis._uni._jsxs(...e),g=e=>{const t=e;return t._tmpl||(t._tmpl=globalThis.__UNI_REACT__?e:b(e)),t._tmpl},b=e=>{function t(t,i){const{children:n,...r}=t||{},l=i?.slots?.default,a=n||l&&l();return e(Object.assign(r,a&&{children:a}),i)}return t.inheritAttrs=!1,t};class f{subscribers={};subjectsStateMap={};subscribe(e,t){this.subscribers[e]=(this.subscribers[e]||[]).concat(t);const i=this.subjectsStateMap[e];return i&&t(i),()=>{this.unsubscribe(e,t)}}unsubscribe(e,t){this.subscribers[e]=this.subscribers[e]?.filter((e=>e!==t))}fire(e,t){e in this.subjectsStateMap&&(this.subjectsStateMap[e]=t),this.subscribers[e]?.forEach((e=>e(t)))}subject(e,t){this.subjectsStateMap[e]=t}}const x=new f;function v(e,{sensitivity:t,rootRef:i}={}){const n=s(null),l=a((()=>({threshold:y(t),root:i?.current})),[t,i?.current]);return r((()=>{if(!n.current)return;const t=new IntersectionObserver(e,l);return t.observe(n.current),()=>{t.disconnect()}}),[e,l]),n}function y(e=0){const t=Math.round(10*e);return new Array(t).fill(0).map(((e,i)=>Math.min(i/t)),1).concat(1)}const N=new f;const w=(...e)=>e.flatMap((e=>e)).filter(Boolean).join(" "),k={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white",gray:"bg-main-divider text-primary-text",transparent:"bg-transparent text-primary-text","":""},C=g((({className:e,version:t="primary",isTheme:i=!0,block:a,tag:s="section",role:o,children:c})=>{const d=s,m=function(e){return v(l((t=>{if(!e||!t?.length)return;const i=t[t.length-1];N.fire("intersection",{block:e,intersection:i})}),[e]),{sensitivity:1})}(a),[h,p]=n(!1);return r((()=>x.subscribe("tab",(e=>{p(Boolean(e.label&&a?.labels?.length&&!a.labels.includes(e.label)))}))),[a]),u(d,{className:w(T(Boolean(t&&i)),k[t],h?"hidden":"",e),...t&&i?{"data-ver":t}:{},...a?.anchor?{id:a.anchor,ref:m}:{},role:o,children:c})})),T=e=>e?"group":"";function _(){return _._impl()}_._impl=()=>({href:globalThis.location?.href||"/",pathname:globalThis.location?.pathname||"/",query:{},push:()=>{},replace:()=>{}}),_.setup=e=>{_._impl=e};const S=e=>Boolean(e?.includes(":")),I=(e,t)=>Boolean(e&&!S(e)&&(!t||"_self"===t)),R=(...e)=>e.filter(Boolean).join("/").replace(/\/+/g,"/");var B=Object.freeze({__proto__:null,isURL:S,isLocalURL:I,isHash:e=>Boolean(e?.startsWith("#")),withoutQuery:e=>(e||"").replace(/\?.*/,"").replace(/\/$/,""),joinPath:R});const $=e=>(t,i=d.BASE_PATH)=>{if(!t||S(t)||A(t,d.CDN))return t;const n=t.startsWith("/");return R(A(t,i)?"":i,n?"/":e.pathname?.split("/").slice(0,-1).join("/"),t)},A=(e,t)=>t&&e&&e.startsWith(t),j={normal:"",color:"text-primary-main",black:"text-black",white:"text-black"},P=g((({className:e="",imageClassName:t="",name:i="",alt:n=`Иконка ${i}`,title:r=n,iconVersion:l="color",...a})=>{const s=_(),o=$(s)(R(d.CDN,"/icons",`${i}.svg`));return"normal"!==l?u(D,{className:e,children:p("svg",{className:w(L(a.width),j[l],"white"===l?"invert":"",t),...a,"aria-hidden":"true",children:[r?u("title",{children:r}):null,n?u("desc",{children:n}):null,u("use",{href:`${o}#icon`,xlinkHref:`${o}#icon`})]})}):(e.includes("h-")||(a.style={height:`${a.height}px`}),u("img",{className:e,src:o,alt:n,title:r,"aria-hidden":"true",...a}))})),L=e=>e?"":"w-full h-full",D=g((({className:e,children:t})=>e?u("div",{className:e,children:t}):t)),z=(e,t)=>e?.media&&t?.media?e.media-t.media:0,V=g((({className:e="",image:t,imageClassName:i="",isMobile:n=!1,pathPrefix:r})=>{const l=_();return p("picture",{className:`${n?"flex":"flex-none"} ${e}`,children:[t?.sources?.length?t.sources.filter((e=>e?.src)).sort(z).map((({src:e,format:i,media:n},a)=>u("source",{srcSet:O(l,r)(e),type:F(i),media:n?`(max-width: ${n}px)`:"",...t.size},`${a}_${e}`))):null,t?.src?M({...t,src:O(l,r)(t.src)},i,n):null]})})),M=(e,t="",i=!1)=>{const n={width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"auto"},r=e.title||"",l=e.alt||e.title,a=i?"m-auto":"m-0";return u("img",{src:e.src,className:`${a} ${t}`,alt:l,title:r,style:n,...e.size})},O=(e,t)=>i=>i&&!S(i)?$(e)(R(t,i)):i,F=e=>e?`image/${String(e)}`:void 0,H=g((({className:e="",image:t,imageClassName:i="",isMobile:n,pathPrefix:r,...l})=>t?.src||t?.icon?t.icon?u(P,{className:e,imageClassName:i,iconVersion:t?.iconVersion,name:t.icon,...l}):u(V,{className:e,imageClassName:i,image:t,isMobile:n,pathPrefix:r}):null)),E=g((e=>u(H,{...e,isMobile:!0}))),U=(e,t)=>U._impl(e,t);function X(e={}){const{isRemote:t,basePath:i}=e,n=_(),{close:r}=((e="")=>({open:t=>x.fire("dialog",{type:"open",id:e,message:t}),close:()=>x.fire("dialog",{type:"close"})}))();return e=>({...e,href:t&&!i?e.href:$(n)(e.href,i),"aria-label":e.text,onClick:U(l(e),e)});function l({href:e,target:i,onClick:l}){return a=>{l&&l(a),e&&!t&&I(e,i)&&(r(),a?.preventDefault(),n.push(e))}}}U._impl=e=>e,U.setup=e=>{U._impl=e};const J={primary:"text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active",secondary:"text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active",white:"text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main",link:"",transparent:"",gray:"text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active","":""},G="bg-main-divider text-main-disabled",W={primary:G,secondary:G,white:G,link:"",transparent:"",gray:G,"":""},Y="text-center font-sans select-none",K={primary:"group-hover/btn:brightness-0 group-hover/btn:invert",secondary:"group-hover/btn:brightness-0 group-hover/btn:invert",white:"group-hover/btn:brightness-0 group-hover/btn:invert",link:"",transparent:"",gray:"group-hover/btn:brightness-0 group-hover/btn:invert","":""},q=g((e=>{const{text:t,aboveText:i,appendLeft:n,appendRight:r,version:l="primary"}=e;return p("div",{className:w(Q(e),"flex gap-2"),children:[n?u("div",{className:K[l],children:n}):null,Z(e)?p("div",{children:[i?u("div",{className:"text-xs-light text-left",children:i}):null,u("div",{className:"text-left "+(i?"text-s -mt-0.5":"text-l"),children:t})]}):null,r?u("div",{className:K[l],children:r}):null]})})),Q=e=>{const{version:t,aboveText:i,rounded:n}=e;if("link"===t)return"";const r=""+(i?"py-2.5 px-7":"py-4 px-4");return["group/btn items-center justify-center",Z(e)?r:"h-12 w-12",n?"rounded-full":""].join(" ")},Z=({text:e,aboveText:t,appendLeft:i})=>Boolean(e||t||!i),ee=({className:e,rounded:t,version:i})=>["inline-block",Y,i?W[i]:"",t?"rounded-full":"rounded-md",e].join(" "),te=({className:e,rounded:t,version:i})=>[Y,"border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border h-fit",i?J[i]:"",t?"rounded-full":"rounded-md",e].join(" "),ie=g((({disabled:e,children:t,...i})=>{const n=X()(i),r=t??u(q,{...n});return u(e?re:ne,{...n,children:r})})),ne=g((({className:e="",href:t,rel:i,target:n,ariaLabel:r,version:l,rounded:a,onClick:s,children:o})=>u("a",{className:te({className:e,version:l,rounded:a}),href:t,rel:i,target:n,"aria-label":r,role:t?"link":"button",onClick:s,children:o}))),re=g((({className:e,ariaLabel:t,version:i,rounded:n,children:r})=>u("div",{role:"button","aria-disabled":"true","aria-label":t,tabIndex:-1,className:ee({className:e,rounded:n,version:i}),children:r}))),le=(e,{className:t="",buttonClassName:i,isVertical:n}={})=>e?.length&&e.some((e=>e?.text||e?.icon?.icon))?u("div",{className:w("flex",n?"flex-col gap-2 justify-items-stretch":"flex-wrap gap-4",t),children:e.map(ae(i))}):null,ae=(e="")=>(t,i)=>{const{text:n,icon:r,iconRight:l,version:a,...s}=t||{},o="secondary"===a?"color":"white",c=r?.iconVersion?r?.iconVersion:o;return n||r?.icon?u(ie,{className:w("basis-full sm:basis-auto",e),appendLeft:se({...r,iconVersion:c}),appendRight:se({...l,iconVersion:c}),version:a,text:n,...s},i?String(i):""):null},se=e=>e?.icon||e?.src?u(E,{image:e,width:String(e?.size?.width||24),height:String(24)}):null,oe=g((({buttons:e,className:t,...i})=>u(C,{className:w("!bg-transparent",t),...i,children:le(e)}))),ce=e=>e,de=(e=0)=>(t=0)=>new Intl.NumberFormat("ru-RU",{minimumFractionDigits:0,maximumFractionDigits:e}).format(Number(t)||0),me=g((({children:e,...t})=>u("span",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),he=g((({key:e,className:t="",inputClassName:i="",id:n,name:r,type:a="text",label:s,placeholder:o,value:c="",valid:d=!0,children:m,onChange:h,onFocus:g,onBlur:b,pattern:f})=>{const x=l((e=>{h&&h(e.target?.value||"")}),[h]),v=m?"pr-8":"",y=d?"border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text":"border-error";return p("div",{className:w("relative",t),children:[p("label",{children:[s?u("div",{className:"mb-2",children:u(me,{size:"text-m",font:"font-light",children:s})}):null,u("input",{className:w("w-full border rounded-md text-primary-text outline-none p-4",v,y,i),id:n,name:r||n,placeholder:o,type:a,value:c,onInput:x,onFocus:g,onBlur:b,pattern:f},e)]}),m]})})),ue=g((e=>{const{onChange:t,min:i,max:r,defaultValue:a="0",fractionDigits:s=0,...o}=e,c=((e,{normalize:t,format:i})=>{const{value:r,onFocus:a,onBlur:s,onChange:o}=e,[c,d]=n(!1),m=l((e=>{d(!0),a&&a(e)}),[]),h=l((()=>{d(!1),o&&o(t(r)),s&&s()}),[o,r]);return{value:c||!i?r:i(r),onFocus:m,onBlur:h}})(e,{normalize:(e=a)=>i&&r?String(((e,t,i)=>Math.max(t,Math.min(e,i)))(Number(pe(e)),i,r)):pe(e),format:de(s)}),d=l((e=>t&&t(pe(e))),[t]);return u(he,{onChange:d,...o,...c})})),pe=(e="")=>e.replaceAll(",",".").replace(/[^\d.]/g,"").replace(/([^.]*\.[^.]*)\./,"$1"),ge=g((e=>u(ue,{...e,fractionDigits:2,children:u("div",{className:"absolute right-4 bottom-4",children:u(me,{size:"text-xl",font:"font-light",children:"₽"})})}))),be={h1:"h1",h2:"h1",h3:"h2",h4:"h2",h5:"h3",h6:"h3"},fe={h0:"text-h0",h1:"text-h1",h2:"text-h2",h3:"text-h3",h4:"text-h4",h5:"text-h5",h6:"text-h6"},xe=g((({className:e="",headingType:t="h3",as:i="h3",title:n,children:r})=>{const l=be[i]||"h3";return u(l,{className:`font-sans m-0 ${fe[t]} ${e}`,children:n||r})})),ve="amount",ye={[ve]:1500},Ne=g((({className:e="",title:t="Укажите сумму перевода",label:i="Сумма перевода",placeholder:r="1500",button:a,...o})=>{const[{amount:c},{field:d}]=((e,t)=>{const[i,r]=n(e),[a,o]=n(!1),[c,d]=n({}),m=s({}),h=l(((e,t)=>{const{parse:n=ce,format:l=ce}=t||{};return m.current||(m.current={}),m.current[e]||=t=>{r((i=>({...i,[e]:n(t)}))),d((t=>({...t,[e]:!0})))},{value:l(i[e]),isDirty:a||c[e],onChange:m.current[e]}}),[i,a,c]),u=l((()=>{r(e),o(!1),d({})}),[e]),p=l((e=>{e.preventDefault(),o(!0),t&&t(i)}),[t,i]);return[i,{isDirty:a||Object.values(c).some(Boolean),field:h,reset:u,onSubmit:p}]})(ye),m=c<=0,h=m?ee({version:a?.version}):te({className:"text-white",version:a?.version}),g=X();return p(C,{className:w("p-default flex flex-col items-center",e),...o,children:[t?u(xe,{className:"pb-5 xl:pb-9 self-start xl:self-center",headingType:"h2",title:t}):null,p("form",{className:"w-full xl:max-w-[468px]",method:"POST",action:"https://www.rshb.ru/p2p/",children:[u(ge,{name:ve,valid:!m,placeholder:r,label:i,...d(ve,{parse:Number,format:String})}),a?.text?u("button",{type:"submit",className:w("w-full p-4 mt-5 xl:mt-6",h),disabled:m,...g(a),children:a.text}):null]})]})})),we=({blockClassName:e,block:t,render:i})=>i({blockClassName:e,block:t}),ke=[];function Ce(e,t,{className:i,...n}={}){const{key:r,blockDecorator:l=we,blocksRegistry:a={},ancestors:s=ke}=t,{type:o}=e;o&&o in a||console.warn(`No block with "${o}" is registered`);const c=o&&a[o];return l({blockClassName:w("scroll-mt-12",i,e.style||"col-span-12"),block:e,ancestors:s,render:({block:i,blockClassName:l})=>{const{content:a}=i;return c?u(c,{className:l,block:e,options:t,...a,...n},r):null}},r)}const Te=[],_e=(e,{key:t,ancestors:i=Te,slotName:n=null,renderProps:r=Ce,...l})=>(e||[]).map(((e,a)=>r(e,{...l,key:`${t||e.type}-${a}`,ancestors:l.parent?[...i||Te,[l.parent,n]]:i})));function Se({children:e,block:t,options:i,renderProps:n}){return e||(t&&i?_e(t.blocks,{...i,parent:t,renderProps:n}):null)}const Ie=e=>({height:"calc(100vh - 242px)",minHeight:`${e||866}px`}),Re=g((({className:e="",style:t,idx:i,activeIndex:n,observerOptions:r,children:a,onIntersection:s})=>{const o=v(l((e=>{e.length&&s&&s(i||0,e[e.length-1])}),[s,i]),r);return u("div",{className:`inline-block snap-always box-border ${e}`,style:t,"aria-current":Boolean(i===n),ref:o,children:a})})),Be=["min-w-[100%]","min-w-[50%]","min-w-[33.33%]","min-w-[25%]"],$e=g((({className:e="",containerRef:t,activeIndex:i,visibleItemCount:n=0,gap:r=0,padding:a=0,listType:o="horizontal-list",snapAlign:c="snap-center",minHeight:d,children:m,onVisibleItemsChange:h,onVisibleIndicesChange:p})=>{const g={sensitivity:1,rootRef:t},b=s([]),f=l(((e,t)=>{const i=[...b.current||[]];i[e]=t,b.current=i,h&&h(i),p&&p(je(i))}),[h,p]),x=n>0?r*Number(n)-1:0,v="vertical-list"===o,y="horizontal-list"===o,N={...y?Ae(a,x):{},...v?Ie(d):{},gap:`${r}px`};return u("div",{className:w("box-border overflow-auto no-scrollbar",o,e),style:N,ref:t,children:(k=(e,t)=>u(Re,{className:w(c,n?Be[n-1]:"",v?"h-full":""),style:y?Ae(a/4):{},activeIndex:i,idx:t,observerOptions:g,onIntersection:f,children:e},String(t)),e=>null==e?e:Array.isArray(e)?e.map(k):k(e,0))(m)});var k})),Ae=(e,t=0)=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e+t}px`}),je=e=>e.map(((e,t)=>[e,t])).filter((([e])=>e&&e.intersectionRatio>=.9)).map((([,e])=>e)),Pe={"horizontal-list":"mx-auto mt-5 w-fit","vertical-list":"absolute flex-col justify-center h-full top-0 left-4"},Le={"horizontal-list":"w-6","vertical-list":"h-6"},De=g((({containerRef:e,activeIndex:t,dotCount:i=0,listType:n="horizontal-list",version:r})=>i?u("div",{className:w("flex gap-2",Pe[n],r?"group":""),...r?{"data-ver":r}:{},children:new Array(i).fill(null).map(((i,r)=>u("div",{className:`cursor-pointer rounded-full transition-width duration-300 bg-primary-main group-data-secondary:bg-white group-data-transparent:bg-white ${r===t?Le[n]:"w-2 h-2 opacity-30"}`,role:"button","aria-hidden":!0,onClick:()=>(i=>{i!==t&&e?.current&&e.current.children[i]?.scrollIntoView({behavior:"smooth",block:"nearest"})})(r)},String(r))))}):null)),ze=e=>e,Ve=(e=ze)=>t=>t.reduceRight(((t,i)=>e(t)>e(i)?t:i)),Me=(e=ze)=>Ve((t=>-e(t))),Oe=e=>t=>e.scrollWidth/t,Fe=e=>(t,i)=>{e.scrollBy({left:i*Oe(e)(t),behavior:"smooth"})},He=({itemCount:e,isCyclic:t,onVisibleIndicesChange:i})=>{const r=s(null),[a,o]=n([]),c=l((e=>{o((t=>{return(i=t)===(n=e)||Boolean(i&&n&&i?.length===n?.length&&i.every(((e,t)=>e===n[t])))?t:e;var i,n})),i&&i(e)}),[e]),[d,m]=a.length?[Me()(a),Ve()(a)]:[-1,-1],h=d>0,u=m<e-1,p=l((()=>{var i;r.current&&(t&&!h?(i=r.current).scrollTo({left:i.scrollWidth,behavior:"smooth"}):Fe(r.current)(e,-1))}),[t,e,h]),g=l((()=>{r.current&&(t&&!u?r.current.scrollTo({left:0,behavior:"smooth"}):Fe(r.current)(e,1))}),[e,t,u]);return[r,{scrollLeft:p,scrollRight:g,canScrollLeft:t||h,canScrollRight:t||u,visibleIndicesRange:[d,m],handleVisibleIndicesChange:c}]},Ee=g((({className:e,disabled:t,...i})=>u(ie,{rounded:!0,className:`group/btn shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${t?"bg-secondary-light text-secondary-text":"bg-white text-primary-text hover:text-primary-main"} ${e||""}`,disabled:t,...i,children:u(E,{className:"w-4 h-4 min-w-4 min-h-4 rounded-full box-border",image:{icon:"ArrowLeftIcon",iconVersion:"black"},imageClassName:"group-hover/btn:text-primary-main",width:"16",height:"16"})}))),Ue=g((e=>u(Ee,{...e,ariaLabel:"Пролистать влево","data-block-control":"scroll-left"}))),Xe=g((e=>u(Ee,{...e,className:`${e.className||""} rotate-180`,ariaLabel:"Пролистать вправо","data-block-control":"scroll-right"}))),Je="absolute top-[calc(50%-24px)] z-40",Ge="absolute top-0 bottom-0 z-40 w-[84px] pointer-events-none",We=g((({scroll:e,arrowsPadded:t,isBlur:i,onScrollLeft:n,onScrollRight:r,hasEdgeBlocks:a,activeIndex:s,itemCount:o})=>{const{canScrollLeft:c,canScrollRight:d,scrollLeft:m,scrollRight:h}=e,g=a?s>0:c,b=a?s<o-1:d,f=l((()=>{a?(c&&s!==o-1&&m(),n()):m()}),[m,n,a,c,s,o]),x=l((()=>{a?(d&&0!==s&&h(),r()):h()}),[h,r,a,c,s,o]);return p("div",{children:[Ye(i,e),g?u(Ue,{className:w(Je,t?"left-8":"left-0"),onClick:f}):null,b?u(Xe,{className:w(Je,t?"right-8":"right-0"),onClick:x}):null]})})),Ye=(e,t)=>e?p("div",{children:[t.canScrollLeft?u("div",{className:w(Ge,"left-0 bg-opacity-from-white")}):null,t.canScrollRight?u("div",{className:w(Ge,"right-0 bg-opacity-to-white")}):null]}):null,Ke=g((({className:e="",itemCount:t,visibleItemCount:i,isBlur:r=!0,isCyclic:a=!1,arrowsPadded:s=!0,isPadding:o=!0,showDots:c=!1,isAlignCenter:d=!1,...m})=>{const{blocks:h=[]}=m.block||{},g=t||h?.length,[b,f]=n(Math.floor((i||0)/2)),x=l((()=>f((e=>e+1))),[]),v=l((()=>f((e=>e-1))),[]),[y,N]=He({itemCount:g,isCyclic:a}),[k]=N.visibleIndicesRange,T=h&&"CarouselBankHistoryCard"===h[0]?.type;return u(C,{className:w(qe(o),"group-data-secondary:bg-primary-main group-data-secondary:text-white",e),...m,children:p("div",{className:w(Qe(d),"relative max-w-full"),children:[u($e,{containerRef:y,visibleItemCount:i,snapAlign:"snap-start",gap:16,onVisibleIndicesChange:N.handleVisibleIndicesChange,children:Se({...m,renderProps:T?(e,t)=>Ce(e,t,{blocksLength:h?.length,activeIndex:b}):Ce})}),u(We,{scroll:N,isBlur:r,arrowsPadded:s,onScrollLeft:v,onScrollRight:x,hasEdgeBlocks:T,activeIndex:b,itemCount:g}),c?Ze(y,k,g):null]})})}));Ke.childrenTypes=["CarouselCard","CarouselBankHistoryCard","CarouselCatalogCard","CarouselInvestmentCard","CarouselProductCard","CarouselProgramsCard","CarouselRecommendationCard","CarouselTariffsCard","CarouselRichTextCard","CarouselInvestmentCard","CarouselEventCard"];const qe=e=>e?"p-default":"",Qe=e=>e?"flex justify-center":"",Ze=(e,t,i)=>u(De,{containerRef:e,activeIndex:t,dotCount:i,listType:"horizontal-list"}),et=g((({className:e="",href:t,target:i,isRemote:n=!1,children:r})=>{const l=X({isRemote:n})({href:t,target:i});return u(t?"a":"div",{className:w("block",e),...t?l:{},children:r})})),tt=g((({className:e="",title:t,icon:i,list:n=[],href:r,target:l,...a})=>u(C,{className:w("border border-gray",e),...a,children:p(et,{className:"flex",href:r,target:l,children:[p("div",{className:"w-[200px] min-w-[200px] self-center",children:[i?.icon?u(E,{image:i}):null,i?.src?u(E,{image:i}):null]}),p("div",{className:"p-8 pl-3 w-full",children:[t?u(xe,{className:"mb-3.5",headingType:"h5",title:t}):null,n.length?u("div",{className:"flex flex-col gap-3",children:n?.map(it)}):null]})]})}))),it=(e,t)=>p("div",{className:"break-words",children:[e.title?u("div",{className:"text-h6",children:e.title}):null,e.description?u("span",{className:"text-l-light mt-1",children:e.description}):null]},String(t)),nt={L:"w-1.5 h-1.5 mr-4",M:"w-1.5 h-1.5 mr-3",S:"w-1 h-1 mr-2"},rt=g((({className:e,isDotted:t=!0,children:i,size:n="M"})=>p("div",{className:w("font-sans flex",e),role:"listitem",children:[t?u("div",{className:"shrink-0",children:u("div",{className:w("align-middle inline-block rounded-full bg-primary-text group-data-secondary:bg-white",nt[n])})}):null,u("span",{children:i})]}))),lt={S:"text-l-light",M:"text-h6",L:"text-h5"},at={S:"ml-2",M:"ml-3",L:"ml-4"},st=g((({className:e,hasIndent:t,isDotted:i,items:n,listItemSize:r="M"})=>n?.length?u("section",{className:w("flex flex-col gap-2 text-left text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text",lt[r],t?at[r]:"",e),role:"list",children:n.map(((e,t)=>u(rt,{isDotted:i,size:r,children:e},String(t))))}):null)),ot={default:"w-24 h-14",small:"w-12 h-12"},ct=(e,t)=>e?"":w("group/media flex items-center justify-center box-border",ot[t]),dt=[{origins:["t.me","telegram.org"],iconMapped:{icon:"TelegramIcon"},label:"Телеграм"},{origins:["vk.com"],iconMapped:{icon:"VKIcon"},label:"ВКонтакте"},{origins:["ok.ru"],iconMapped:{icon:"OkIcon"},label:"Одноклассники"},{origins:["apps.apple.com"],iconMapped:{icon:"AppleIcon"},label:"App Store"},{origins:["play.google.com"],iconMapped:{icon:"PlayMarketIcon"},label:"Google Play"},{origins:["youtube.com"],iconMapped:{icon:"YoutubeIcon"},label:"Youtube"}],mt=g((({buttonSize:e="default",rounded:t=!1,icon:i,...n})=>{const{href:r,version:l,text:a=""}=n,{iconMapped:s,label:o}=dt.find((({origins:e})=>e.some((e=>r?.includes(e)))))||{},c=ht(i)??s;return u(ie,{className:w(t?"rounded-full":"rounded-md","border border-solid hover:border-transparent","group-data-primary:border-main-divider","hover:bg-primary-main hover:text-black","group-data-secondary:bg-white border-main-divider group-data-secondary:hover:bg-secondary-hover","group-data-gray:border-green",ct(a,e)),"aria-label":o,rel:"noopener noreferrer",target:"_blank",text:a,version:l,...n,children:c&&!a?u(E,{image:c,imageClassName:"group-hover/media:text-white",width:"24",height:"24"}):null})})),ht=e=>e?.src||e?.icon?e:void 0,ut=g((({className:e="",media:t})=>u("div",{className:`flex gap-2 items-start justify-start ${e}`,children:t?.map(((e,t)=>u(mt,{...e},String(t))))}))),pt=g((({children:e,...t})=>u("p",{className:["font-sans",...Object.values(t)].join(" "),children:e}))),gt={XXL:{title:{headingType:"h0",as:"h1"},descriptionSize:"text-h5",descriptionStyle:"mt-headline-xxl"},XL:{title:{headingType:"h1",as:"h1"},descriptionSize:"text-xl-light",descriptionStyle:"mt-headline-l"},L:{title:{headingType:"h2",as:"h2"},descriptionSize:"text-xl-light",descriptionStyle:"mt-headline-l"},M:{title:{headingType:"h3",as:"h3"},descriptionSize:"text-xl-light",descriptionStyle:"mt-headline-m"},S:{title:{headingType:"h4",as:"h4"},descriptionSize:"text-xl-light",descriptionStyle:"mt-headline-s"},XS:{title:{headingType:"h5",as:"h5"},descriptionSize:"text-l-light",descriptionStyle:"mt-headline-s"}},bt=g((({className:e,title:t,description:i,headlineVersion:n="XL",align:r="text-center",as:l,isPadding:a=!0,isTheme:s=!1,version:o="",...c})=>{const d=gt[n],m=a?"p-default":"",h={marginTop:d.descriptionStyle};return p(C,{className:w(m,e),version:o,isTheme:s,...c,children:[t?u(xe,{className:w("whitespace-pre-wrap",r),...d?.title,as:l||d?.title.as,title:t}):null,i?u(pt,{size:d.descriptionSize,align:r,...h,children:i}):null]})})),ft=g((({className:e="",description:t,href:i,icon:n,items:r=[],socialMedia:l=[],target:a,title:s,align:o="text-left",...c})=>u(C,{className:w("relative box-border p-default group-data-gray:bg-main-divider/50","border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider",e),...c,children:p(et,{href:i,target:a,children:[u(bt,{className:"mb-2",title:s,description:t,headlineVersion:"S",isPadding:!1,align:o}),r.length?u(st,{className:"flex flex-col gap-2",items:r,listItemSize:"S"}):null,xt(n),l.length?u(ut,{className:"mt-5",media:l}):null]})}))),xt=e=>e?.src||e?.icon?u("div",{children:u(E,{image:e})}):null,vt=g((({className:e="",isFoldButtonOnTop:t=!1,unfoldedByDefault:i=!1,renderFoldableSection:r,renderFoldButton:a})=>{const[s,o]=n(i),c=l((()=>{o((e=>!e))}),[]),d=r({isUnfolded:s,onToggle:c}),m=a?a({isUnfolded:s,onToggle:c}):null;return p("div",t?{className:e,children:[m,d]}:{className:e,children:[d,m]})})),yt=g((({className:e="",isUnfolded:t,children:i})=>{const n=s(null);return r((()=>{n.current&&(n.current.style.maxHeight=t?`${n.current.scrollHeight}px`:"")}),[t,i?.length]),u("div",{ref:n,className:`transition-max-h duration-300 overflow-hidden ${n.current||!t?"max-h-0":""} ${e}`,children:i})})),Nt=(e=!1)=>e?"p-default mt-6":"mt-6 p-default",wt=(e,t)=>{const{title:i,description:n,buttons:r}=e;return p("div",{className:"py-5 border-b border-main-divider",children:[i?u("div",{className:"opacity-80",children:u(me,{size:"text-m",color:"text-secondary-text",children:i})}):null,n?u("div",{className:"mt-1",children:u(me,{size:"text-l",color:"text-primary-text",children:n})}):null,r?.length?u("div",{className:"text-primary-main",children:le(r)}):null]},String(t))},kt=g((({className:e="",title:t,icon:i,isHighlighting:n=!1,button:r,cardCells:l=[],...a})=>{const s=l.map(wt),o=s.slice(0,1),c=s.slice(1);return p(C,{className:w("relative border border-gray flex flex-col",Nt(n),e),...a,children:[n?_t():null,Ct(i),t?u(xe,{className:"text-center pt-2",headingType:"h5",title:t}):null,r?u(ie,{className:"w-full mt-4",...r}):null,l.length?u(vt,{renderFoldableSection:({isUnfolded:e})=>p("div",{children:[o,u(yt,{isUnfolded:e,children:c})]}),renderFoldButton:l.length>1?Tt:null}):null]})})),Ct=e=>u("div",{className:"w-[267px] min-w-[267px] self-center",children:e?.src||e?.icon?u(E,{image:e}):null}),Tt=({isUnfolded:e,onToggle:t})=>p("button",{className:"w-full cursor-pointer text-primary-main pt-5 flex justify-between items-center",onClick:t,children:[u("div",{children:e?"Скрыть":"Подробнее о тарифе"}),u(P,{className:"text-primary-text",name:e?"ArrowUpIcon":"ArrowDownIcon",width:"16",height:"16"})]}),_t=()=>p("div",{className:"absolute -top-7 -right-4 h-[60px] w-[60px] bg-white flex flex-col items-center justify-center rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]",children:[u(P,{iconVersion:"black",name:"HeartIcon",width:"23",height:"22"}),u(pt,{size:"text-s",font:"font-normal",align:"text-center",color:"text-primary-text",children:"ХИТ"})]}),St=g((({className:e="",gap:t=14,padding:i=16,showDots:n=!0,minHeight:r,children:l,onVisibleIndicesChange:a,listType:s="horizontal-list",version:o})=>{const c=Array.isArray(l)?l.length:0,[d,m]=He({itemCount:c,onVisibleIndicesChange:a}),[h]=m.visibleIndicesRange;return p("div",{className:w(e,"vertical-list"===s?"relative h-full":""),children:[u($e,{containerRef:d,activeIndex:h,visibleItemCount:1,gap:t,padding:i,onVisibleIndicesChange:m.handleVisibleIndicesChange,listType:s,minHeight:r,children:l}),n?u(De,{containerRef:d,activeIndex:h,dotCount:c,listType:s,version:o}):null]})})),It=(e=!1)=>e?"text-white":"",Rt=(e=!1)=>"text-s mb-3.5 "+(e?"text-white":"text-secondary-text/80"),Bt=g((({icon:e,image:t,title:i,subtitle:n,isFillGradient:r})=>p("div",{role:"columnheader",children:[e?u(E,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}):null,t?.src&&u("div",{className:"mb-3.5",children:u(E,{image:t})}),i?u(xe,{headingType:"h4",className:It(r),title:i}):null,n?u("div",{className:Rt(r),children:n}):null]}))),$t=g((({cell:e,rowHeader:t,isFillGradient:i=!1})=>u("div",{className:"box-border flex flex-col",role:"cell",children:u("div",{className:"h-full border-main-divider border border-t-0 border-x-0",children:e.map(At(i,t))})}))),At=(e,t)=>({label:i,description:n},r)=>p("div",{className:"flex justify-between text-s py-3.5",children:[u("div",{className:""+(e?"text-white/80":"text-secondary-text"),children:t}),p("div",{className:"basis-1/2",children:[i?u("div",{className:"text-right "+(e?"text-white":""),children:i}):null,n?u("div",{className:"text-right "+(e?"text-white/80":"text-secondary-text"),children:n}):null]})]},String(r)),jt=g((({header:e,columnData:t,visibleRowLength:i=0,isFillGradient:n,showRow:r,onToggleColumn:l})=>{const a=t?.slice(0,r?t.length:i),s=n?"secondary":"primary";return p("div",{className:`border border-gray rounded-md p-4 mb-3.5 ${n?"bg-gradient-to-r from-main-gradient-start to-main-gradient-end":""}`,role:"row",children:[u(Bt,{...e,isFillGradient:n}),a?.length?a.map((({rowHeader:e,cell:t},i)=>u($t,{cell:t,rowHeader:e,isFillGradient:n},String(i)))):null,r&&e?.link?u(ie,{href:e.link.href,target:e.link.target,version:s,className:"text-s font-medium mt-4 py-[11px]",children:e.link.text}):null,Pt({onToggleColumn:l,isFillGradient:n,showRow:r})]})})),Pt=({onToggleColumn:e,isFillGradient:t,showRow:i})=>u("div",{className:"mt-5",role:"cell",children:u("a",{role:"link",onClick:e,className:"text-s font-medium cursor-pointer "+(t?"text-white/80":"text-primary-main"),children:i?"Скрыть":"Показать описание"})}),Lt=g((e=>{const{className:t,title:i}=e;return p("section",{className:`bg-white font-sans px-4 py-6 overflow-hidden text-primary-text relative ${t||""}`,children:[i?u(xe,{headingType:"h3",className:"font-medium text-center m-0 mb-5",title:i}):null,u("div",{role:"table",children:u(Dt,{...e})})]})})),Dt=g((({columns:e=[],rowHeaders:t,isColoredFirstColumn:i,visibleRowLength:r,orientation:a,...s})=>{const[o,c]=n(new Array(e.length).fill(!r)),d=l((e=>{const t=(t,i)=>i===e?!t:t;c((e=>e.map(t)))}),[]),m=l((()=>c((e=>new Array(e.length).fill(!1)))),[]),h=e?.map((({data:e,header:n},l)=>{return u(jt,{visibleRowLength:r,showRow:o[l],header:n,columnData:(a=e,a?.map(((e,i)=>({cell:e,rowHeader:t?.[i]?.title})))),isFillGradient:0===l&&i,onToggleColumn:()=>d(l),...s},String(l));var a}));return"horizontal"===a?u(St,{onVisibleIndicesChange:m,children:h}):h})),zt=e=>null!=e,Vt=new Map;function Mt(e,t,{fallback:i,cache:l}={}){const s=a((()=>Ot(e)),[e]),[o]=(e=>Boolean(e&&Array.isArray(e)&&1===e.length&&"string"==typeof e[0]))(s)?s:[],[c,d]=n(void 0),[m,h]=n(void 0);r((()=>{!s.some(zt)||(async()=>{try{const e=await(o?((e,t=Vt)=>i=>{const n=t.get(i);if(zt(n))return n;const r=e(i);return zt(r)?t.set(i,Promise.resolve(r)):t.delete(i),r})(t,l)(o):t(...s));d(e),h(void 0)}catch(e){d(void 0),h(e)}})()}),[t,l,s]);const u=i&&o&&i[o];return{data:!c&&u?u:c,error:m,mutate:()=>Promise.resolve(void 0),isValidating:!1}}function Ot(e){return Array.isArray(e)?e:e instanceof Function?Ot(e()):[e]}async function Ft(e,t){const i=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await i.json()}const Ht={};function Et(e,t={}){const{data:i}=Mt(`/wcms-resources/${e}.json`,Ft,{fallback:t});return i||Ht}const Ut=g((({className:e="",items:t})=>t?.length?u("ul",{className:w("flex flex-col p-0","",e),children:t.map(Xt)}):null)),Xt=(e,t)=>{const{text:i,...n}=e;return u("li",{className:"list-none mb-4 sm:mb-6 sm:last:mb-0",children:u("a",{className:"hover:text-primary-main sm:font-light",role:"link",...n,children:i||null})},`list_item_${String(t)}`)},Jt=g((({className:e="",label:t,icon:i,dataTheme:n="",disabled:r=!1,onClick:l})=>p("button",{className:w("flex justify-center w-full px-0 py-4 border border-transparent outline-none focus:border-primary-text",r?"bg-main-divider text-main-disabled hover:bg-main-divider":"bg-primary-main text-white hover:bg-primary-hove",e),onClick:l,disabled:r,"data-theme":n,children:[u("span",{className:"text-h4 pr-3",children:t}),i?u(E,{image:{icon:i,iconVersion:"white"},className:"flex-shrink-0 my-auto",width:"20",height:"20"}):null]}))),Gt={primary:"bg-main-divider",secondary:"bg-white/30","secondary-light":"bg-secondary-light"},Wt=g((({iconBgVersion:e="primary",size:t,icon:i,...n})=>{const r=String(t?.width||24),l=String(t?.height||24);return i?u("div",{className:w("rounded-icon p-2.5 mr-3",Gt[e]),children:u(P,{...n,width:r,height:l,name:i})}):null})),Yt=(e,t)=>u(Wt,{...e,iconBgVersion:t}),Kt=e=>e?"ArrowUpSolidIcon":"ArrowDownSolidIcon",qt=g((({className:e="",label:t="Развернуть",labelIcon:i,labelIconBgVersion:n,isExpanded:r,isFoldButtonOnTop:l=!0,version:a="primary",...s})=>u(C,{className:w("w-full","",e),tag:"div",version:"transparent",...s,children:u(vt,{isFoldButtonOnTop:l,unfoldedByDefault:r,renderFoldableSection:({isUnfolded:e})=>u(yt,{className:w("gap-5 [&>*]:p-0","flex flex-wrap group-last:last:pb-0"),isUnfolded:e,children:Se(s)}),renderFoldButton:({isUnfolded:e,onToggle:r})=>Qt({version:a,label:t,labelIcon:i,labelIconBgVersion:n,isUnfolded:e,onToggle:r})})})));qt.childrenTypes={exclude:["RollupItem"]};const Qt=({version:e,label:t,labelIcon:i,labelIconBgVersion:n,isUnfolded:r,onToggle:l})=>{const a=t||(r?"Скрыть":"Развернуть");return"primary"===e?Zt({label:a,labelIcon:i,labelIconBgVersion:n,icon:Kt(r),onToggle:l}):u(Jt,{label:a,icon:r?"ArrowUpIcon":"ArrowDownIcon",onClick:l})},Zt=({label:e,labelIconBgVersion:t,icon:i,onToggle:n,labelIcon:r})=>p("button",{className:w("border-none bg-transparent px-0 flex justify-between items-center w-full cursor-pointer group/button",r?.icon?"py-2":"py-5"),onClick:n,children:[p("div",{className:"flex items-center group-hover/button:text-primary-main",children:[Yt(r,t),e?u(me,{size:"text-l",font:"font-normal",children:e}):null]}),i?u(P,{name:i,iconVersion:"normal",width:"24",height:"24"}):null]}),ei=g((({className:e="",items:t,hasButton:i})=>p("div",{className:e,children:[t?.length?t.map(ti):null,i?u(ie,{version:"primary",className:"mb-6 w-full",href:"https://www.rshb.ru/feedback/question/",target:"_blank",ariaLabel:"Обратная связь",text:"Обратная связь"}):null]}))),ti=(e,t)=>p("div",{className:"mb-6",children:[u("div",{className:"mb-4",children:u(me,{size:"text-l",font:"font-medium",children:e?.title})}),u("div",{children:e.items?.map(ii)})]},String(t)),ii=(e,t)=>p("div",{className:"mb-4",children:[u("div",{children:ni(e.type,e.text)}),u("div",{className:"mt-1 text-s-light text-secondary-text",children:e.description})]},String(t)),ni=(e,t="")=>{switch(e){case"tel":return u("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${ri(t)}`,children:t});case"email":return u("a",{className:"text-xl-light text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return u("span",{children:t})}},ri=e=>e.replaceAll(/\D/g,""),li=g((({className:e="",index:t,text:i,...n})=>{const r=X(),{href:l,target:a,onClick:s}=r(n);return u("a",{className:w("",e),href:l,target:a,onClick:s,children:i||`Документ ${t}`})})),ai=g((({title:e,links:t,className:i=""})=>p("div",{className:i,children:[u(me,{size:"text-h6",children:e}),t?.length?u("div",{className:"flex flex-col gap-6 mt-7",children:t.map(((e,t)=>u(li,{index:t,...e},String(t))))}):null]}))),si=g((({className:e="",index:t,...i})=>{const n=X({isRemote:!0}),{href:r,target:l,text:a,onClick:s}=n(i);return u("a",{className:`text-xs-light text-secondary-text visited:text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${e}`,href:r,target:l,onClick:s,children:a||`Документ ${t}`})})),oi=g((({className:e="",links:t})=>p("div",{className:e,children:[u("div",{className:"pt-4 xl:pt-5",children:u(me,{size:"text-s",color:"text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?u("div",{className:"flex justify-start items-start gap-5 pt-4",children:t.map(((e,t)=>u(si,{index:t,...e},String(t))))}):null]}))),ci=g((({className:e="",...t})=>{const i=t.options?.page?.fallback,n=Et(d.SITEMAP||"sitemap",i),{documents:r,relatedEnterprises:l,contacts:a,socialMedia:s,horizontalNavigationTitle:o}=Et(d.FOOTER||"footer",i);return p(C,{tag:"footer",className:w("px-4 py-6",e),...t,children:[u("div",{className:"mb-4 pb-5 border-b border-main-divider",children:n.topItems?.map(((e,t)=>u(qt,{label:e?.text,labelIcon:e?.icon,children:u(Ut,{items:e.items,className:"my-3"})},String(t))))}),u(ei,{className:"overflow-hidden",items:a}),u(ut,{className:"mb-4",media:s}),u(ie,{className:"w-full mb-4",text:"Google Play",version:"secondary",href:"/",target:"_blank"}),u(ai,{className:"pt-4 pb-7 border-y border-main-divider",title:o,links:l}),u(oi,{})]})})),di={"bg-white":"color",transparent:"white"},mi={"bg-white":"text-primary-main",transparent:"text-white"},hi=(e,t,i)=>u(E,t?.src?{image:t,className:mi[e],width:i?.width,height:i?.height,pathPrefix:"/wcms-resources/"}:{image:{icon:t?.icon||"LogoIcon",iconVersion:di[e]},className:mi[e],width:i?.width,height:i?.height}),ui={"bg-white":"text-primary-text",transparent:"text-white"},pi=(e,t,i)=>u("span",{className:`${ui[t]} ml-2.5 font-medium ${i||""}`,children:e||"Россельхозбанк"}),gi=g((({bgColor:e="bg-white",children:t,className:i="",href:n,logo:r,showTitle:l=!0,targetBlank:a})=>p("a",{className:`inline-flex items-center font-sans no-underline ${i}`,href:n||"https://rshb.ru/",target:a?"_blank":"_self","aria-label":r?.title||"Россельхозбанк",children:[hi(e,r?.image,{width:"34",height:"34"}),l?pi(t||r?.title,e,"text-s"):null]}))),bi={default:"px-5 bg-main-divider rounded hover:text-primary-main",transparent:"text-white hover:text-primary-hover"},fi=g((({bgColor:e,logo:t,internetBankUrl:i,version:n,mobileHeaderType:r,mobileTitle:l,mobileBackwardButtonTitle:a})=>{const s="none"===r,o="withTitle"===r;return p("div",{className:"flex items-center justify-between w-full",children:[s||o?u(gi,{bgColor:e,logo:t,showTitle:s}):null,o?l:null,"backwardButton"===r?p(ie,{className:"flex items-center text-l",children:[u(E,{className:"w-6 h-6",image:{icon:"ChevronLeft",iconVersion:"black"}}),a]}):null,i?u(ie,{href:i,ariaLabel:"Войти",target:"_blank",className:w("p-3 my-1 text-s whitespace-nowrap text-primary-main hover:text-primary-hover",bi["transparent"===n?"transparent":"default"]),children:"Войти"}):null]})})),xi={"bg-white":"primary",transparent:"transparent"},vi=g((({bgColor:e="bg-white",version:t=xi[e],mobileHeaderType:i="none",...n})=>{const r=n.options?.page?.fallback,{logo:l,internetBankUrl:a}=Et(d.SITEMAP||"sitemap",r);return u(C,{tag:"header",version:t,...n,children:u("div",{className:"container px-4 py-1 box-border",children:u(fi,{bgColor:e,logo:l,internetBankUrl:a,version:t,mobileHeaderType:i,...n})})})})),yi=g((e=>{const{className:t,image:i,...n}=e;return u(C,{className:t,...n,children:u(E,{image:i})})})),Ni=g((({doc:e,icon:t})=>{const{text:i,fileSize:n,...r}=e;return p("a",{className:"flex box-border gap-3 group/item h-fit w-fit text-primary-text no-underline hover:text-primary-main",role:"link",...r,children:[t,i?p(me,{size:"text-l",font:"font-light",children:[i,u(me,{color:"text-secondary-text",children:r?.href&&wi(ki(r.href),n)})]}):null]})})),wi=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),ki=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},Ci=g((({className:e="",title:t,description:i,icon:n={icon:"DocDownloadIcon",iconVersion:"black"},documents:r,align:l,...a})=>p(C,{className:w("p-default",e),...a,children:[u(bt,{isPadding:!1,title:t,description:i,align:l,headlineVersion:"M",as:"h2"}),r?.length?u("div",{className:"mt-5 flex flex-col gap-6",role:"list",children:r.map(((e,t)=>u("div",{role:"listitem",children:u(Ni,{doc:e,icon:n?u(E,{className:"min-w-11 min-h-11 h-fit p-2.5 bg-main-divider rounded-md",image:n,width:"24",height:"24"}):null})},String(t))))}):null]}))),Ti=g((({className:e="",title:t="Мобильное приложение",description:i,href:n="#"})=>u("div",{className:w("col-span-12 rounded-md cursor-pointer p-4 bg-secondary-light font-sans",e),children:n?p("div",{className:"flex",children:[u("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-12 h-12",children:u(gi,{className:"w-8",bgColor:"transparent",showTitle:!0})}),p("a",{href:n,target:"_blank",className:"flex flex-col justify-center pl-3",children:[u("div",{className:"text-s font-medium mb-[3px]",children:t}),u("div",{className:"text-s text-secondary-text",children:i})]})]}):null}))),_i=g((e=>{const{className:t="",icon:i,label:n,description:r,benefitsVersion:l="normal"}=e;return p("div",{className:`flex gap-5 ${r?"items-start":"items-center"} ${t}`,children:[i?u("div",{className:Si(l),children:u(E,{className:"w-6 h-6",image:{...i,iconVersion:i.iconVersion||l}})}):null,p("div",{className:"gap-0.5",children:[n?u(me,{color:"text-primary-text group-data-secondary:text-white",size:"text-l",children:n}):null,r?u(pt,{font:"font-light",size:"text-m",color:"text-secondary-text group-data-secondary:text-white",children:r}):null]})]})}));function Si(e){return w("w-12 h-12 min-w-12 p-2.5 box-border flex items-center justify-center rounded-icon","normal"===e?"bg-secondary-light text-primary-main":"bg-primary-main text-black group-data-secondary:bg-white/30 group-data-secondary:text-black")}const Ii=g((e=>{const{__html:t="",richVersion:i=""}=e;return u("div",{className:w(i,"md-container"),dangerouslySetInnerHTML:{__html:t}})}));function Ri(e){throw new Error(e)}const Bi=e=>(t,i)=>{const{type:n}=t;if("default"!==n&&"rte"!==n)return null;switch(n){case"default":return u(_i,{icon:t.icon,label:t.label,description:t.description,version:e},String(i));case"rte":return u(Ii,{__html:t.__html});default:Ri(t)}},$i=(e=0,t=0)=>e||t?p("div",{className:w("flex mt-6","flex-col gap-2"),children:[e>0?Ai("Страховая сумма:",e,Boolean(t)):null,t>0?Ai("Ежемесячный лимит:",t,Boolean(e)):null]}):null,Ai=(e,t=0,i=!1)=>p("div",{className:w("flex w-full whitespace-pre","flex-col gap-1",i?"w-fit":"w-full"),children:[u(me,{font:"font-light",size:"text-l",children:e}),p(me,{size:"text-h6",color:"",children:[de(2)(t)," ₽"]})]}),ji=g((({className:e="",title:t,description:i,image:n,benefits:r,sum:l,monthLimit:a,directionRight:s=!1,version:o="primary",...c})=>p(C,{className:w("relative p-default",e),version:o,...c,children:[u(bt,{className:"!p-0",title:t,description:i,headlineVersion:"M",align:"text-left"}),p("div",{className:w("flex mt-6","justify-end flex-col-reverse gap-4"),children:[n?.src?u(E,{className:s?"order-2":"",image:n}):null,p("div",{children:[r?.length?u("div",{className:"flex flex-col gap-4",children:r.map(Bi(o))}):null,$i(Number(l),Number(a))]})]})]}))),Pi=e=>{const t="col-span-",i=e?.split(/\s+/).find((e=>e.startsWith(t)));return i?parseInt(i.substring(t.length),10):12};function Li(e=""){const t=Pi(e);return t<=4?"S":t<=8?"M":"L"}function Di(e=""){const t=Pi(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function zi(e=""){const t=Pi(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const Vi=g((({className:e,title:t,description:i="Блок в разработке...",...n})=>p(C,{className:w("p-9 box-border",e,zi(e),Di(e)),...n,children:[u(bt,{className:"!p-0 max-w-[600px]",title:t,description:i,headlineVersion:Li(e)}),u("figure",{className:"m-0 min-w-[80%]",children:Mi()})]}))),Mi=(e=3)=>Fi(100,e).map((e=>Math.floor(e))).map(Oi),Oi=(e,t)=>u("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),Fi=(e,t)=>[e].concat(t>0?Fi(e/1.618,t-1):[]),Hi=g((({className:e,title:t="",insetTitle:i="",buttons:n,leftImage:r,rightImage:l,backImage:a,children:s})=>p("div",{className:w("relative flex flex-col font-sans",e),children:[a?u("div",{className:"absolute bottom-0 right-0 z-0",children:a}):null,t,p("div",{className:"grow relative flex flex-wrap sm:flex-nowrap justify-between items-stretch gap-8",children:[Ei(r),p("div",{className:w("flex flex-col gap-8",r?"":"grow"),children:[i,u("div",{className:"grow",children:s}),n]}),Ei(l,{className:"-order-1 sm:order-1"})]})]}))),Ei=(e,{className:t}={})=>e?u("div",{className:w("flex-none",t),children:e}):null,Ui=(e="primary",t="normal")=>(i,n)=>u(_i,{version:e,benefitsVersion:t,...i},String(n)),Xi=g((({className:e,version:t="primary",headlineVersion:i="L",title:n,description:r,benefits:l,benefitsVersion:a,items:s,isDotted:o=!0,__html:c,buttons:d,image:m,directionRight:h=!0})=>{const g=l?.filter((e=>e.label)),b=m?.src?u(E,{className:"mt-[-50px]",image:m}):null;return p(Hi,{className:e,insetTitle:u(bt,{className:"max-w-[600px] xl:max-w-[728px]",title:n,description:r,headlineVersion:i,align:"text-left",isPadding:!1}),...h?{rightImage:b}:{leftImage:b},buttons:le(d),children:[g?.length?u("div",{className:"flex flex-wrap gap-6",children:g.map(Ui(t,a))}):null,c?u("div",{className:"mt-5",children:u(Ii,{__html:c})}):null,s?.length?u(st,{className:"mt-5",items:s,isDotted:o}):null]})}));function Ji({text:e,href:t,target:i,icon:n},r){const l="primary"===r?"white":"black",a={text:e,href:t,target:i,ariaLabel:e};return p("div",{className:"flex items-center gap-3",children:[u(ie,{className:"w-12 h-12 min-h-12 min-w-12 flex items-center justify-center",version:r,rounded:!0,...a,children:u(E,{className:"w-4 h-4",image:{...n,icon:n?.icon||"ArrowLeftIcon",iconVersion:n?.iconVersion||l}})}),u(ie,{version:"link",...a})]})}const Gi=g((({className:e,backwardButton:t,...i})=>p(C,{className:w("overflow-hidden p-default flex flex-col gap-10 box-border",e),...i,children:[t?.text?Ji(t,i.version&&"primary"!==i.version?"white":"primary"):null,u(Xi,{className:"grow",...i})]}))),Wi=g((({className:e="",slides:t=[],...i})=>{const n=t.map((e=>e.productBlock));return u(C,{className:`box-border py-6 overflow-hidden relative w-100 mb-6 ${e}`,...i,children:u(St,{gap:0,padding:0,children:n.map(((e,t)=>Yi({...e,...i},t)))})})})),Yi=(e,t)=>u(Xi,{className:"z-10 px-5 group-data-secondary:text-white",...e},String(t)),Ki=g((e=>{const{__html:t,richVersion:i,...n}=e;return u(C,{...n,children:u(Ii,{__html:t,richVersion:i})})})),qi={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-12 w-12 min-w-12 min-h-12"},Qi={normal:"min-h-[70px]",small:"min-h-12"},Zi={description:"text-white/80 text-l-light group-data-primary:text-secondary-text group-data-gray:text-secondary-text",iconText:"text-white group-data-primary:text-secondary-text group-data-gray:text-secondary-text",iconBackground:"bg-white/30 group-data-primary:bg-main-divider",iconConnector:"bg-white group-data-primary:bg-secondary-light",dot:"bg-white/80 group-data-primary:bg-secondary-text"},en=g((({className:e="",title:t,description:i,showLines:n=!0,steps:r,size:l="normal",version:a="primary",...s})=>p(C,{className:`box-border px-4 py-6 flex flex-col ${e}`,version:a,...s,children:[t?u(xe,{headingType:"h3",className:"text-center",title:t}):null,i?u("p",{className:`text-m-light text-center ${Zi.description} ${t?"mt-2":""}`,children:i}):null,r?.length?u("div",{className:"box-border py-0.5 mb-0.5 mt-5",children:u("div",{className:"flex flex-col justify-between gap-x-[101px]",children:r.map(tn(l,a,n))})}):null]}))),tn=(e,t,i)=>(n,r,l)=>{const{type:a}=n;if("default"!==a&&"rte"!==a)return null;switch(a){case"default":return nn(e,t,i)(n,r,l);case"rte":return u(Ii,{__html:n.__html});default:Ri(n)}},nn=(e,t,i)=>(n,r,l)=>{const a=l.length-1===r,s="normal"===e?"ml-[34px]":"ml-6";return u("div",{children:p("div",{className:"flex flex-row text-center relative",children:[p("div",{className:"overflow-hidden flex-shrink-0",children:[rn(e,t)(n,r),a?null:u("div",{className:`min-h-8 h-full w-0.5 ${i?Zi.iconConnector:""} ${s}`})]}),p("div",{className:`flex flex-col justify-center h-fit ${Qi[e]}`,children:[n.label?u("div",{className:"text-m-title-xs font-medium m-0 text-left mb-1",children:n.label}):null,n.description?u("div",{className:`text-s ${Zi.description} text-left`,children:n.description}):null]})]})},String(r))},rn=(e,t)=>(i,n)=>{const r="normal"===e?"38":"27",l="secondary"===t?"white":"color";return u("div",{className:`${qi[e]} ${Zi.iconBackground} rounded-full z-10 mr-3 flex justify-center content-center`,children:u("span",{className:`font-medium flex self-center ${"normal"===e?"text-m-title":"text-m-title-xs"}`,children:(a=i?.icon,Boolean(a?.icon||a?.src)?u(E,{image:{...i.icon,iconVersion:i.icon?.iconVersion||l},width:r,height:r}):u("span",{children:n+1}))})});var a},ln={Buttons:({buttons:e})=>le(e,{className:"mt-3",buttonClassName:"w-12 h-12"}),Img:({image:e})=>e?.src?u(E,{image:{...e,className:"m-0"}}):null,List:({isDotted:e,...t})=>u(st,{className:"flex flex-col justify-between items-start text-m",isDotted:e??!0,...t}),LabelDescription:({label:e,description:t})=>p("div",{children:[e?u("div",{className:"text-xl font-medium m-0 "+(t?"mb-1":""),children:e}):null,t?u("div",{className:"text-s text-secondary-text",children:t}):null]})},an=g((({title:e,icon:t})=>p("div",{className:"flex gap-2.5 mb-2",children:[e?u(xe,{headingType:"h3",className:"font-medium",title:e}):null,t?u(E,{className:"ml-auto min-w-6",image:t,width:"24",height:"24"}):null]}))),sn=g((({tile:e,...t})=>p("div",{className:"rounded-md border-gray h-full box-border border p-4",children:[u(an,{...e?.header}),e?.data?.length?e.data.map(((e,i)=>p("div",{children:[i>0?u("div",{className:"h-5"}):null,on(e,t)]},String(i)))):null]})));function on(e,t){if(!e||!e.tableCellType||!(e.tableCellType in ln))return null;const i=ln[e.tableCellType];return u(i,{displayTable:()=>null,isVisible:!0,...e,...t})}const cn=g((({tiles:e,...t})=>e?.length?u(St,{...t,children:e.map(((e,i)=>u(sn,{tile:e,...t},String(i))))}):null)),dn=g((({tiles:e,...t})=>e?.length?u("div",{className:"flex flex-col gap-3.5",children:e.map(((e,i)=>u(sn,{tile:e,...t},String(i))))}):null)),mn=g((({className:e,title:t,description:i,tariffsColumns:n,rowHeaders:r,orientation:l="vertical",...a})=>{const s=hn(n),o=un(r,s);return p("section",{className:`px-4 py-6 bg-white font-sans text-primary-text overflow-x-hidden ${e}`,children:[t?u(xe,{headingType:"h2",className:`text-center ${i?"mb-2":"mb-5"}`,title:t}):null,i?u("div",{className:"mb-5 text-center text-m",children:i}):null,u("vertical"===l?dn:cn,{tiles:o,...a})]})})),hn=e=>e?.[0]?.data?e[0].data:[],un=(e,t)=>e?.map(((e,i)=>({header:e,data:t?.[i]||[{}]}))),pn=g((({className:e="",title:t,description:i,iconVersion:n,image:r,__html:l,items:a=[],...s})=>p(C,{className:w("px-9 py-4 flex gap-3 bg-white group-data-secondary:bg-primary-main/10",e),...s,children:["small"===n?u("div",{className:"mt-1",children:gn()}):null,"big"===n?bn(r):null,p("div",{className:"flex flex-col w-fit gap-3",children:[t?u(me,{size:"text-l",font:"font-medium",color:"text-primary-text group-data-secondary:text-white",children:t}):null,i?fn(i):null,a?.length?xn(a,!0):null,l?u(Ii,{__html:l}):null]})]}))),gn=()=>u("div",{className:"rounded-full h-4 w-4 text-center text-xs-light bg-primary-main text-white group-data-secondary:bg-white group-data-secondary:text-primary-main",children:"i"}),bn=e=>e?.src?u(E,{className:"h-fit",image:e}):null,fn=e=>u(pt,{size:"text-s",color:"text-secondary-text group-data-secondary:text-white",children:e}),xn=(e,t)=>u("ul",{className:w("text-secondary-text group-data-secondary:text-white/80",t?"list-disc pl-6":""),children:e.map(((e,t)=>u("li",{children:u(me,{size:"text-s",font:"font-light",children:e})},`listItem-${t}`)))}),vn={XXL:"gap-12",XL:"gap-10",L:"gap-8",M:"gap-4",S:"gap-2",XS:"gap-1","":""},yn={stretch:"items-stretch",left:"items-start",center:"items-center",right:"items-end"},Nn=g((({className:e="",gap:t="",align:i="stretch",isPadding:n=!1,isInnerPadding:r=!0,version:l="transparent",isTheme:a=!1,...s})=>{const o=r?"":"!p-0";return u(C,{className:w("relative","flex flex-col [&>*]:max-w-full",n?"p-default":"",vn[t],i&&yn[i],e),version:l,isTheme:a,...s,children:Se({...s,renderProps:(e,t)=>Ce(e,t,{className:o})})})}));Nn.childrenTypes=[];const wn={ButtonsBlock:oe,CardTransfer:Ne,Carousel:Ke,CarouselTariffsCard:kt,ComparisonTable:Lt,Footer:ci,Header:vi,Headline:bt,ImgBlock:yi,LinkDocs:Ci,MobileAppTile:Ti,PictureText:ji,Placeholder:Vi,ProductBlock:Gi,StepsBlock:en,TariffsTable:mn,TextBlock:pn,RichTextBlock:Ki,RollupItem:qt,VerticalLayout:Nn,CarouselRecommendationCard:ft,CarouselProgramsCard:tt,ProductGallery:Wi};function kn(e=!1){const[t,i]=n(e),r=l((()=>i(!0)),[]),a=l((()=>i(!1)),[]),s=l((()=>i((e=>!e))),[]);return[t,{setValue:i,setTrue:r,setFalse:a,toggle:s}]}const Cn=["Header","Footer"],Tn=([,{target:e}])=>Math.abs(e.getBoundingClientRect().top);function _n(e=globalThis){const t=s(new Map);r((()=>N.subscribe("intersection",(({block:e,intersection:i})=>{t.current&&t.current.set(e,i)}))),[]),r((()=>{const i=((e,t=600)=>{let i;const n=(...r)=>{n.dispose(),i=setTimeout((()=>{e(...r)}),t)};return n.dispose=()=>{i&&clearTimeout(i)},n})((()=>{!function(e){const t=`#${i=e?.anchor,i?.replace("#","")||""}`;var i;globalThis.location?.hash!==t&&globalThis.history?.replaceState(globalThis.history?.state,"",t)}(globalThis.scrollY>3*globalThis.innerHeight/4?function(e){const t=e.filter((([e])=>!Cn.includes(e.type||""))).filter((([,{intersectionRatio:e}])=>e>.01)),[i]=t.length>0?Me(Tn)(t):[];return i}([...t.current||[]]):void 0)}),100);return e.addEventListener("scroll",i),()=>{i.dispose(),e.removeEventListener("scroll",i)}}),[e])}const Sn=g((({className:e,onClick:t})=>u("button",{className:w("flex justify-center items-center w-12 h-12 p-1 bg-transparent border-none",e),onClick:t,title:"Закрыть",children:u(E,{image:{icon:"CloseIcon"},width:"24",height:"24"})})));function In({onOpen:e,onClose:t}={}){r((()=>x.subscribe("dialog",(i=>{switch(i.type){case"open":e&&e(i);break;case"close":t&&t();break;default:Ri(i)}}))),[e,t])}const Rn="cookieClose",Bn=g((({termLink:e,personalDataPolicyLink:t})=>{const{isOpened:i,onClose:r}=function(e,t=!1){const[i,{setTrue:r,setFalse:a}]=kn(t),[o,c]=n({id:e}),d=s(i);d.current||=i,In({onOpen:l((t=>{t.id===e?(c(t),r()):a()}),[e]),onClose:a});const m=l((()=>{a(),x.fire("dialog",{type:"close"})}),[]);return{...o,isOpened:i,wasOpened:d.current,onClose:m}}("cookie",!globalThis.localStorage?.getItem(Rn)),a=l((()=>{globalThis.localStorage?.setItem(Rn,"true"),r&&r()}),[r]);return i?u("div",{className:"container z-40 fixed bottom-0 left-0 right-0 pointer-events-none",children:p("div",{className:"bg-white m-6 p-6 rounded-md flex items-center pointer-events-auto shadow-[0_4px_25px_rgba(0,0,0,0.07)]",children:[u("div",{className:"flex-1",children:p(pt,{size:"text-s-light",color:"text-primary-text",children:["АО «Россельхозбанк» использует",u(et,{isRemote:!0,className:w($n(e?.href)),...e,children:"cookie"}),"(файлы с данными о прошлых посещениях сайта) для персонализации сервисов и удобства пользователей. Вы можете запретить сохранение cookie в настройках своего браузера.",u(et,{isRemote:!0,className:w($n(t?.href)),...t,children:"Обработка Ваших персональных данных"}),"производится в соответствии с требованиями Федерального закона от 27.07.2006 № 152-Ф3 «О персональных данных»."]})}),u("div",{className:"w-24 flex justify-end",children:u(Sn,{className:"bg-main-gray rounded-md",onClick:a})})]})}):null})),$n=e=>["inline mx-1",e?"text-green-dark":""],An=h();const jn=g((({className:e,onClick:t,ariaLabel:i})=>u("button",{type:"button",className:`border-0 w-9 bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":i,children:Pn()}))),Pn=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return p("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[u("path",{...e,strokeMiterlimit:"10",d:"M21.48 11.95c.5-1.4-.4-2.6-1.9-2.6h-4c-.6 0-1.1-.5-1-1.2l.5-3.2c.2-.9-.4-1.9-1.3-2.2-.8-.3-1.8.1-2.2.7l-4.1 6.1M7.48 18.35l3.1 2.4c.4.4 1.3.6 1.9.6h3.8c1.2 0 2.5-.9 2.8-2.1l1.24-3.77"}),u("path",{...e,d:"M2.38 18.35v-9.8c0-1.4.6-1.9 2-1.9h1c1.4 0 2 .5 2 1.9v9.8c0 1.4-.6 1.9-2 1.9h-1c-1.4 0-2-.5-2-1.9Z"})]})},Ln=g((({className:e=""})=>{const t=function(e){const[t,i]=n(0);return r((()=>{(async()=>{const[t]=await An.getLikeCount(e);i(t?.value||0)})()}),[e]),{likeCount:t,like:l((async()=>{i(await An.like(e))}),[e]),dislike:l((async()=>{i(await An.dislike(e))}),[e])}}(_().pathname);return p("div",{className:`border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${e}`,children:[u(jn,{onClick:U(t.like),ariaLabel:"Поставить отметку «лайк»"}),u(jn,{onClick:U(t.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),u("span",{className:"select-none",children:t.likeCount})]})})),Dn=g((e=>{const{className:t="",blocksRegistry:i,blockDecorator:n,data:r={}}=e,{style:l,blocks:a,slots:s,likeControl:o,colorPalette:c="pc"}=r,d={key:"",page:r,blocksRegistry:i,blockDecorator:n,parent:r};_n();const[m,{setTrue:h,setFalse:g}]=kn();return In({onOpen:h,onClose:g}),p("section",{className:w("relative",l,t,m?"overflow-hidden h-screen":""),"data-theme":c,children:[s?.header?u("div",{className:"mb-5 shadow-[0_8px_32px_0px_#00000014]",children:_e(s?.header,{...d,slotName:"header"})}):null,p("div",{className:"container grid grid-cols-12 gap-1",children:[_e(a,d),s?.footer?_e(s?.footer,{...d,slotName:"footer"}):null]}),o?u("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:u(Ln,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto"})}):null,u(Bn,{termLink:{href:"/pd-policy#cookie",target:"_blank"},personalDataPolicyLink:{href:"/pd-policy",target:"_blank"}})]})}));Dn.childrenTypes=[],Dn.slots=()=>["header","footer"];e.Blocks=wn,e.ContentPage=Dn,e.DaDataAPI=function(e=""){return{getFetcherAddress:async function(){if(!("geolocation"in navigator))return null;try{const t=await(async()=>new Promise((e=>navigator.geolocation.getCurrentPosition((({coords:t})=>e(t))))))(),i=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await i.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}},e.LikeAPI=h,e.handlerDecorator=U,e.joinList=e=>t=>t.reduce(((t,i,n)=>t.length?t.concat({...e,key:`sep-${n}`},i):[i]),[]),e.packageVersion="0.11.3",e.projectSettings=d,e.setup=(e,t)=>{globalThis._uni={_jsx:e,_jsxs:t||e}},e.setupHooks=e=>{t=e},e.url=B,e.useRouter=_,Object.defineProperty(e,"__esModule",{value:!0})}));
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
+
import type { ButtonsBlockContent } from './ButtonsBlockContent';
|
|
3
|
+
interface ButtonsBlockProps extends ButtonsBlockContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const ButtonsBlock: import("@redneckz/uni-jsx").UNIComponent<ButtonsBlockProps, any, any>;
|
|
6
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
1
|
import type { CarouselCardContent } from './CarouselCardContent';
|
|
2
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
3
3
|
export interface CarouselCardProps extends CarouselCardContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
5
|
export declare const CarouselCard: import("@redneckz/uni-jsx").UNIComponent<CarouselCardProps, any, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getCardWidth(className?: string, carouselVersion?: string): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const titleSize = "XS";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ContactGroup } from './FooterContent';
|
|
2
2
|
export interface ContactsProps {
|
|
3
3
|
className?: string;
|
|
4
|
-
items?:
|
|
4
|
+
items?: ContactGroup[];
|
|
5
5
|
hasButton?: boolean;
|
|
6
6
|
}
|
|
7
7
|
export declare const Contacts: import("@redneckz/uni-jsx").UNIComponent<ContactsProps, any, any>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { DescriptionProps } from '../../model/HeadlineType';
|
|
2
|
+
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
2
3
|
import type { LinkProps } from '../../model/LinkProps';
|
|
3
4
|
import type { IconProps } from '../../model/Picture';
|
|
4
|
-
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
5
5
|
/**
|
|
6
6
|
* @title Тип контакта
|
|
7
7
|
* @enumNames [
|
|
@@ -18,6 +18,14 @@ export declare type ContactInfo = DescriptionProps & {
|
|
|
18
18
|
text?: string;
|
|
19
19
|
type?: ContactType;
|
|
20
20
|
};
|
|
21
|
+
/**
|
|
22
|
+
* @title Группа контактов
|
|
23
|
+
*/
|
|
24
|
+
export declare type ContactGroup = {
|
|
25
|
+
/** @title Имя */
|
|
26
|
+
title?: string;
|
|
27
|
+
items?: ContactInfo[];
|
|
28
|
+
};
|
|
21
29
|
/**
|
|
22
30
|
* @title Пункт подменю
|
|
23
31
|
*/
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { LinkCommonProps, LinkProps } from '../../model/LinkProps';
|
|
2
2
|
import type { Picture } from '../../model/Picture';
|
|
3
3
|
import type { SitemapData } from '../../services/sitemap/SitemapData';
|
|
4
|
-
import type {
|
|
4
|
+
import type { ContactGroup, SubMenuItem } from './FooterContent';
|
|
5
5
|
export interface FooterDataProps extends SitemapData {
|
|
6
6
|
documents?: LinkProps[];
|
|
7
7
|
relatedEnterprises?: LinkProps[];
|
|
8
|
-
contacts?:
|
|
8
|
+
contacts?: ContactGroup[];
|
|
9
9
|
socialMedia?: LinkCommonProps[];
|
|
10
10
|
mobileApps?: LinkCommonProps[];
|
|
11
11
|
horizontalNavigationTitle?: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
2
|
import type { HeaderContent } from './HeaderContent';
|
|
3
|
-
export interface
|
|
3
|
+
export interface HeaderMobileProps extends HeaderContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
|
-
export declare const Header: import("@redneckz/uni-jsx").UNIComponent<
|
|
5
|
+
export declare const Header: import("@redneckz/uni-jsx").UNIComponent<HeaderMobileProps, any, any>;
|
|
@@ -21,10 +21,22 @@ export declare type Logo = ImageContent & {
|
|
|
21
21
|
/** @title Текст логотипа */
|
|
22
22
|
title?: string;
|
|
23
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
* @title Мобильный тип шапки
|
|
26
|
+
* @enumNames ["Не выбрано", "Название", "Кнопка возврата"]
|
|
27
|
+
*/
|
|
28
|
+
export declare type MobileHeaderType = 'none' | 'withTitle' | 'backwardButton';
|
|
29
|
+
export interface MobileHeaderProps {
|
|
30
|
+
mobileHeaderType?: MobileHeaderType;
|
|
31
|
+
/** @title Название (мобильная версия) */
|
|
32
|
+
mobileTitle?: string;
|
|
33
|
+
/** @title Кнопка возврата (мобильная версия) */
|
|
34
|
+
mobileBackwardButtonTitle?: string;
|
|
35
|
+
}
|
|
24
36
|
/**
|
|
25
37
|
* @title Шапка (для мобильных горизонтальная прокрутка shift+mouseScroll)
|
|
26
38
|
*/
|
|
27
|
-
export interface HeaderContent {
|
|
39
|
+
export interface HeaderContent extends MobileHeaderProps {
|
|
28
40
|
/** @hidden */
|
|
29
41
|
showSubMenu?: boolean;
|
|
30
42
|
/** @hidden */
|
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import type { BgColorVersion } from '../../model/BgColorVersion';
|
|
2
2
|
import type { LogoType } from '../../model/LogoType';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
4
|
+
import type { MobileHeaderProps, MobileHeaderType } from './HeaderContent';
|
|
5
|
+
export interface HeaderTopProps extends MobileHeaderProps {
|
|
5
6
|
bgColor?: BgColorVersion;
|
|
6
7
|
logo?: LogoType;
|
|
8
|
+
internetBankUrl?: string;
|
|
9
|
+
version?: BlockVersion;
|
|
10
|
+
mobileHeaderType?: MobileHeaderType;
|
|
7
11
|
}
|
|
8
12
|
export declare const HeaderTop: import("@redneckz/uni-jsx").UNIComponent<HeaderTopProps, any, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const positionStyle = "justify-end flex-col-reverse gap-4";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const styleInsuranceSum = "flex-col gap-2";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { LabelProps } from '../../model/HeadlineType';
|
|
2
2
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
-
import type {
|
|
3
|
+
import type { Picture } from '../../model/Picture';
|
|
4
|
+
import type { IconBgVersion } from '../../ui-kit/Icon/IconProps';
|
|
4
5
|
/**
|
|
5
6
|
* @title Сворачивающаяся секция
|
|
6
7
|
*/
|
|
@@ -9,5 +10,6 @@ export declare type RollupItemContent = UniBlockContent & LabelProps & {
|
|
|
9
10
|
isExpanded?: boolean;
|
|
10
11
|
/** @title Кнопка сверху */
|
|
11
12
|
isFoldButtonOnTop?: boolean;
|
|
12
|
-
labelIcon?:
|
|
13
|
+
labelIcon?: Picture;
|
|
14
|
+
labelIconBgVersion?: IconBgVersion;
|
|
13
15
|
};
|
|
@@ -27,6 +27,7 @@ export declare enum IconMap {
|
|
|
27
27
|
CardWithGemIcon = "CardWithGemIcon",
|
|
28
28
|
CarIcon = "CarIcon",
|
|
29
29
|
ChartSquareIcon = "ChartSquareIcon",
|
|
30
|
+
ChevronLeft = "ChevronLeft",
|
|
30
31
|
CinemaIcon = "CinemaIcon",
|
|
31
32
|
ClientIcon = "ClientIcon",
|
|
32
33
|
ClockIcon = "ClockIcon",
|
|
@@ -139,6 +140,7 @@ export declare enum IconTitleMap {
|
|
|
139
140
|
CardWithGemIcon = "\u041A\u0430\u0440\u0442\u0430 \u0441 \u0434\u0440\u0430\u0433\u043E\u0446\u0435\u043D\u043D\u043E\u0441\u0442\u044F\u043C\u0438",
|
|
140
141
|
CarIcon = "\u041C\u0430\u0448\u0438\u043D\u0430",
|
|
141
142
|
ChartSquareIcon = "\u0414\u0435\u043D\u044C\u0433\u0438 \u0432\u043D\u0443\u0442\u0440\u0438 \u043A\u043E\u0448\u0435\u043B\u044C\u043A\u0430",
|
|
143
|
+
ChevronLeft = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430 '\u0412\u043F\u0440\u0430\u0432\u043E'",
|
|
142
144
|
CinemaIcon = "\u041A\u0438\u043D\u043E\u0442\u0435\u0430\u0442\u0440",
|
|
143
145
|
ClientIcon = "\u041A\u043B\u0438\u0435\u043D\u0442",
|
|
144
146
|
ClockIcon = "\u0427\u0430\u0441\u044B",
|
|
@@ -228,7 +230,7 @@ export declare enum IconTitleMap {
|
|
|
228
230
|
* @title Иконка
|
|
229
231
|
* @enumNames [
|
|
230
232
|
* "",
|
|
231
|
-
* 'Деньги', 'Самолёт', 'Лого «Apple»', 'Стрелка \'Вниз\'', 'Стрелка сплошная \'Вниз\'', 'Стрелка \'Влево\'', 'Стрелка \'Вправо\'', 'Стрелка \'Вверх-право\'', 'Стрелка \'Вверх\'', 'Стрелка сплошная \'Вверх\'', 'Банкомат', 'Сумка', 'Банк', 'BriefcaseIcon', 'Здание с деревом', 'Бургер', 'Календарь 2', 'Скруглённый календарь', 'Календарь', 'Календарь с галочкой', 'Машина2', 'Кред. карта', 'Кред. карта под наклоном', 'Кред. карта с галочкой', 'Карта с драгоценностями', 'Машина', 'Деньги внутри кошелька', 'Кинотеатр', 'Клиент', 'Часы', 'Крестик', 'Кресло', 'Кредитные карты', 'Скидка', 'Скачать документ', 'Документ', 'Документ (одноцветный)', 'Документы', 'Документы-2', 'Документ с текстом', 'Доллар', 'Зелёная \'галочка\' в круге', 'Зелёная \'галочка\'', 'Земля', 'Пустой кошелёк с возвратом', 'Пустой кошелёк', 'Евро', 'FullScreenIcon', 'Геолокация', 'Зеркало', 'Глобус', 'Gps', 'Сетка (белая)', 'HeadphonesIcon', 'Сердце', 'Лого «Huawei»', 'Диаграмма роста', 'Скидка', 'JCB', 'Logo', 'Лупа', 'E-mail', 'Маркер карты', 'Маркер карты РСХБ', 'MasterCard', 'Лого Метро', 'Минус', 'МИР', 'Деньги', 'Денежное страхование', 'Купюры', 'Монитор и мобильный', 'Новый документ', 'Офис', 'Лого «Одноклассники»', 'Пачка бумаги А4', 'Бизнес', 'Проценты (круг.)', 'Проценты', 'PercentIcon', 'Персональная карта', 'Телефон', 'Лого «PlayMarket»', 'Плюс', 'Щит', 'Профиль, 2 персоны', 'Профиль', 'Тыква', 'Ошибка', 'Ок', 'Рубль (круг.)', 'Сейф', 'Безопасность', 'Подписанные документы', 'Маленькие часы', 'Звук', 'Ящик с замочной скважиной', 'Лого «Telegram»', 'UnionPay', 'UserGeoLocationIcon', 'Пользователь в рамке', 'Пользователь', 'Visa', 'Лого «VK»', 'Пополнение карты', 'Кошелёк с плюсом', 'Кошелёк', 'Кошелёк с деньгами', 'Добавить продукт', 'Лого «Youtube»'
|
|
233
|
+
* 'Деньги', 'Самолёт', 'Лого «Apple»', 'Стрелка \'Вниз\'', 'Стрелка сплошная \'Вниз\'', 'Стрелка \'Влево\'', 'Стрелка \'Вправо\'', 'Стрелка \'Вверх-право\'', 'Стрелка \'Вверх\'', 'Стрелка сплошная \'Вверх\'', 'Банкомат', 'Сумка', 'Банк', 'BriefcaseIcon', 'Здание с деревом', 'Бургер', 'Календарь 2', 'Скруглённый календарь', 'Календарь', 'Календарь с галочкой', 'Машина2', 'Кред. карта', 'Кред. карта под наклоном', 'Кред. карта с галочкой', 'Карта с драгоценностями', 'Машина', 'Деньги внутри кошелька', 'Стрелка \'Вправо\'', 'Кинотеатр', 'Клиент', 'Часы', 'Крестик', 'Кресло', 'Кредитные карты', 'Скидка', 'Скачать документ', 'Документ', 'Документ (одноцветный)', 'Документы', 'Документы-2', 'Документ с текстом', 'Доллар', 'Зелёная \'галочка\' в круге', 'Зелёная \'галочка\'', 'Земля', 'Пустой кошелёк с возвратом', 'Пустой кошелёк', 'Евро', 'FullScreenIcon', 'Геолокация', 'Зеркало', 'Глобус', 'Gps', 'Сетка (белая)', 'HeadphonesIcon', 'Сердце', 'Лого «Huawei»', 'Диаграмма роста', 'Скидка', 'JCB', 'Logo', 'Лупа', 'E-mail', 'Маркер карты', 'Маркер карты РСХБ', 'MasterCard', 'Лого Метро', 'Минус', 'МИР', 'Деньги', 'Денежное страхование', 'Купюры', 'Монитор и мобильный', 'Новый документ', 'Офис', 'Лого «Одноклассники»', 'Пачка бумаги А4', 'Бизнес', 'Проценты (круг.)', 'Проценты', 'PercentIcon', 'Персональная карта', 'Телефон', 'Лого «PlayMarket»', 'Плюс', 'Щит', 'Профиль, 2 персоны', 'Профиль', 'Тыква', 'Ошибка', 'Ок', 'Рубль (круг.)', 'Сейф', 'Безопасность', 'Подписанные документы', 'Маленькие часы', 'Звук', 'Ящик с замочной скважиной', 'Лого «Telegram»', 'UnionPay', 'UserGeoLocationIcon', 'Пользователь в рамке', 'Пользователь', 'Visa', 'Лого «VK»', 'Пополнение карты', 'Кошелёк с плюсом', 'Кошелёк', 'Кошелёк с деньгами', 'Добавить продукт', 'Лого «Youtube»'
|
|
232
234
|
* ]
|
|
233
235
|
*/
|
|
234
|
-
export declare type IconName = '' | 'ActualBalanceIcon' | 'AirPlaneIcon' | 'AppleIcon' | 'ArrowDownIcon' | 'ArrowDownSolidIcon' | 'ArrowLeftIcon' | 'ArrowRightIcon' | 'ArrowTopRightIcon' | 'ArrowUpIcon' | 'ArrowUpSolidIcon' | 'AtmIcon' | 'BagIcon' | 'BankIcon' | 'BriefcaseIcon' | 'BuildingIcon' | 'BurgerIcon' | 'Calendar2Icon' | 'CalendarCircleIcon' | 'CalendarIcon' | 'CalendarTickIcon' | 'Car2Icon' | 'CardIcon' | 'CardPosIcon' | 'CardTickIcon' | 'CardWithGemIcon' | 'CarIcon' | 'ChartSquareIcon' | 'CinemaIcon' | 'ClientIcon' | 'ClockIcon' | 'CloseIcon' | 'ComfortableCompIcon' | 'CreditCardsIcon' | 'DiscountShapeIcon' | 'DocDownloadIcon' | 'DocIcon' | 'DocIconMonoColor' | 'DocsIcon' | 'DocumentText2Icon' | 'DocumentTextIcon' | 'DollarIcon' | 'DoneIcon' | 'DoneSimpleIcon' | 'EarthIcon' | 'EmptyWalletChangeIcon' | 'EmptyWalletIcon' | 'EuroIcon' | 'FullScreenIcon' | 'GeolocationIcon' | 'GlassIcon' | 'GlobalIcon' | 'GpsIcon' | 'GridIcon' | 'HeadphonesIcon' | 'HeartIcon' | 'HuaweiIcon' | 'InterestGrowthIcon' | 'InterestIcon' | 'JCBIcon' | 'LogoIcon' | 'LoupeIcon' | 'MailIcon' | 'MapMarkerClusterIcon' | 'MapMarkerSingleIcon' | 'MasterCardIcon' | 'MetroIcon' | 'MinusIcon' | 'MirIcon' | 'MoneyIcon' | 'MoneyInsuranceIcon' | 'MoneysIcon' | 'MonitorMobileIcon' | 'NewDocIcon' | 'OfficeIcon' | 'OkIcon' | 'PackA4Icon' | 'PassSendIcon' | 'PercentageRoundIcon' | 'PercentageSquareIcon' | 'PercentIcon' | 'PersonalCardIcon' | 'PhoneIcon' | 'PlayMarketIcon' | 'PlusIcon' | 'PowerIcon' | 'Profile2UserIcon' | 'ProfileIcon' | 'PumpkinIcon' | 'ResponceFailIcon' | 'ResponceOKIcon' | 'RoundRubleIcon' | 'SafeIcon' | 'ShieldTickIcon' | 'SignDocsIcon' | 'SmallClockIcon' | 'SoundIcon' | 'StrongBoxIcon' | 'TelegramIcon' | 'UnionPayIcon' | 'UserGeoLocationIcon' | 'UserSquareIcon' | 'UserTickIcon' | 'VisaIcon' | 'VKIcon' | 'WalletAdd2Icon' | 'WalletAddIcon' | 'WalletIcon' | 'WalletWithMoneyIcon' | 'WateringCanIcon' | 'YoutubeIcon';
|
|
236
|
+
export declare type IconName = '' | 'ActualBalanceIcon' | 'AirPlaneIcon' | 'AppleIcon' | 'ArrowDownIcon' | 'ArrowDownSolidIcon' | 'ArrowLeftIcon' | 'ArrowRightIcon' | 'ArrowTopRightIcon' | 'ArrowUpIcon' | 'ArrowUpSolidIcon' | 'AtmIcon' | 'BagIcon' | 'BankIcon' | 'BriefcaseIcon' | 'BuildingIcon' | 'BurgerIcon' | 'Calendar2Icon' | 'CalendarCircleIcon' | 'CalendarIcon' | 'CalendarTickIcon' | 'Car2Icon' | 'CardIcon' | 'CardPosIcon' | 'CardTickIcon' | 'CardWithGemIcon' | 'CarIcon' | 'ChartSquareIcon' | 'ChevronLeft' | 'CinemaIcon' | 'ClientIcon' | 'ClockIcon' | 'CloseIcon' | 'ComfortableCompIcon' | 'CreditCardsIcon' | 'DiscountShapeIcon' | 'DocDownloadIcon' | 'DocIcon' | 'DocIconMonoColor' | 'DocsIcon' | 'DocumentText2Icon' | 'DocumentTextIcon' | 'DollarIcon' | 'DoneIcon' | 'DoneSimpleIcon' | 'EarthIcon' | 'EmptyWalletChangeIcon' | 'EmptyWalletIcon' | 'EuroIcon' | 'FullScreenIcon' | 'GeolocationIcon' | 'GlassIcon' | 'GlobalIcon' | 'GpsIcon' | 'GridIcon' | 'HeadphonesIcon' | 'HeartIcon' | 'HuaweiIcon' | 'InterestGrowthIcon' | 'InterestIcon' | 'JCBIcon' | 'LogoIcon' | 'LoupeIcon' | 'MailIcon' | 'MapMarkerClusterIcon' | 'MapMarkerSingleIcon' | 'MasterCardIcon' | 'MetroIcon' | 'MinusIcon' | 'MirIcon' | 'MoneyIcon' | 'MoneyInsuranceIcon' | 'MoneysIcon' | 'MonitorMobileIcon' | 'NewDocIcon' | 'OfficeIcon' | 'OkIcon' | 'PackA4Icon' | 'PassSendIcon' | 'PercentageRoundIcon' | 'PercentageSquareIcon' | 'PercentIcon' | 'PersonalCardIcon' | 'PhoneIcon' | 'PlayMarketIcon' | 'PlusIcon' | 'PowerIcon' | 'Profile2UserIcon' | 'ProfileIcon' | 'PumpkinIcon' | 'ResponceFailIcon' | 'ResponceOKIcon' | 'RoundRubleIcon' | 'SafeIcon' | 'ShieldTickIcon' | 'SignDocsIcon' | 'SmallClockIcon' | 'SoundIcon' | 'StrongBoxIcon' | 'TelegramIcon' | 'UnionPayIcon' | 'UserGeoLocationIcon' | 'UserSquareIcon' | 'UserTickIcon' | 'VisaIcon' | 'VKIcon' | 'WalletAdd2Icon' | 'WalletAddIcon' | 'WalletIcon' | 'WalletWithMoneyIcon' | 'WateringCanIcon' | 'YoutubeIcon';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const labelSize = "text-l";
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
import type { IconName } from '../../icons/IconName';
|
|
2
2
|
import type { IconVersion } from '../../model/IconVersion';
|
|
3
3
|
export type { IconName };
|
|
4
|
+
/**
|
|
5
|
+
* @title Цвет фона иконки
|
|
6
|
+
* @enumNames [
|
|
7
|
+
* "Основной",
|
|
8
|
+
* "Второстепенный",
|
|
9
|
+
* "Второстепенный светлый"
|
|
10
|
+
* ]
|
|
11
|
+
*/
|
|
4
12
|
export declare type IconBgVersion = 'primary' | 'secondary' | 'secondary-light';
|
|
5
13
|
export interface IconCompatibilityFields {
|
|
6
14
|
/** @title Альтернативный текст (alt) */
|
|
@@ -18,6 +26,3 @@ export declare type IconProps = IconCompatibilityFields & {
|
|
|
18
26
|
name?: IconName;
|
|
19
27
|
iconVersion?: IconVersion;
|
|
20
28
|
};
|
|
21
|
-
export interface RoundedIconProps extends IconProps {
|
|
22
|
-
iconBgVersion?: IconBgVersion;
|
|
23
|
-
}
|