@redneckz/wildless-cms-uni-blocks 0.10.9 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/migration-scripts/0.10.10.js +44 -0
- package/bin/migration-scripts/0.11.0.js +29 -0
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +372 -329
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/BaseTile/BaseTile.d.ts +12 -2
- package/bundle/components/DepositFiltration/DepositFiltration.d.ts +6 -0
- package/bundle/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
- package/bundle/components/Footer/buttonStylesWithText.d.ts +2 -0
- package/bundle/components/Footer/buttonStylesWithText.mobile.d.ts +2 -0
- package/bundle/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
- package/bundle/components/Footer/horizontalNavigationLinkStyles.mobile.d.ts +1 -0
- package/bundle/components/Footer/textInformationTextSize.d.ts +1 -0
- package/bundle/components/Footer/textInformationTextSize.mobile.d.ts +1 -0
- package/bundle/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
- package/bundle/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
- package/bundle/components/OfficeMap/useOfficeMap.d.ts +2 -0
- package/bundle/components/ProductBlock/ProductBlockContent.d.ts +0 -13
- package/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/bundle/components/ProductBlock/renderBenefit.d.ts +2 -2
- package/bundle/components/RollupItem/RollupItemContent.d.ts +2 -0
- package/bundle/components/RollupItem/foldableSectionStyles.d.ts +1 -0
- package/bundle/components/RollupItem/foldableSectionStyles.mobile.d.ts +1 -0
- package/bundle/components/RollupItem/getIconName.d.ts +1 -0
- package/bundle/components/RollupItem/getIconName.mobile.d.ts +1 -0
- package/bundle/components/RollupItem/labelSize.d.ts +1 -0
- package/bundle/components/RollupItem/labelSize.mobile.d.ts +1 -0
- package/bundle/components/RollupItem/rollupIconVersion.d.ts +1 -0
- package/bundle/components/RollupItem/rollupIconVersion.mobile.d.ts +1 -0
- package/bundle/components/RollupItem/rollupItemStyles.d.ts +1 -0
- package/bundle/components/RollupItem/rollupItemStyles.mobile.d.ts +1 -0
- package/bundle/content-page-repository/transformDocumentLink.d.ts +3 -0
- package/bundle/hooks/useForm.d.ts +8 -4
- package/bundle/hooks/useNormalizedInput.d.ts +11 -0
- package/bundle/icons/IconName.d.ts +12 -2
- package/bundle/services/sitemap/SitemapData.d.ts +1 -1
- package/{dist/components/Filtration/FiltrationContent.d.ts → bundle/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +36 -22
- package/bundle/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
- package/bundle/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
- package/bundle/ui-kit/ControlProps.d.ts +1 -1
- package/bundle/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
- package/bundle/ui-kit/Icon/IconProps.d.ts +4 -0
- package/bundle/ui-kit/Icon/RoundedIcon.d.ts +2 -0
- package/bundle/ui-kit/Input/Input.d.ts +1 -1
- package/bundle/ui-kit/Input/InputProps.d.ts +4 -5
- package/bundle/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
- package/bundle/ui-kit/LinkList/LinkList.d.ts +2 -0
- package/bundle/ui-kit/LinkList/LinkListProps.d.ts +5 -0
- package/bundle/ui-kit/LinkList/linkListStyles.d.ts +1 -0
- package/bundle/ui-kit/LinkList/linkListStyles.mobile.d.ts +1 -0
- package/bundle/ui-kit/List/ListProps.d.ts +0 -2
- package/bundle/ui-kit/NumberInput/NumberInput.d.ts +8 -0
- package/bundle/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
- package/bundle/ui-kit/SearchBar/SearchBar.d.ts +5 -2
- package/bundle/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
- package/bundle/utils/identity.d.ts +1 -0
- package/bundle/utils/isEmpty.d.ts +1 -0
- package/bundle/utils/joinList.d.ts +1 -1
- package/bundle/utils/toLocalNumberFormat.d.ts +1 -0
- package/cosmos-static/icons/ArrowDownSolidIcon.svg +1 -0
- package/cosmos-static/icons/ArrowUpSolidIcon.svg +1 -0
- package/cosmos-static/icons/BagIcon.svg +1 -0
- package/cosmos-static/icons/BriefcaseIcon.svg +1 -0
- package/cosmos-static/icons/ClientIcon.svg +1 -0
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/dist/components/ApplicationForm/renderWedDataOrganization.js +1 -1
- package/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/dist/components/BaseTile/BaseTile.d.ts +12 -2
- package/dist/components/BaseTile/BaseTile.js +2 -1
- package/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/dist/components/Blocks.js +6 -4
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.js +0 -2
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/Calculator/CalculatorValueBlock.js +2 -2
- package/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/dist/components/Calculator/renderInitialFeeInput.js +3 -3
- package/dist/components/Calculator/renderInitialFeeInput.js.map +1 -1
- package/dist/components/Calculator/renderProposal.js +2 -2
- package/dist/components/Calculator/renderProposal.js.map +1 -1
- package/dist/components/Calculator/renderRealEstateValue.js +2 -2
- package/dist/components/Calculator/renderRealEstateValue.js.map +1 -1
- package/dist/components/Calculator/renderWantedSumInput.js +3 -3
- package/dist/components/Calculator/renderWantedSumInput.js.map +1 -1
- package/dist/components/CardTransfer/CardTransfer.js +10 -8
- package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
- package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/dist/components/ContentPage/ContentPage.page.json +0 -1
- package/dist/components/DepositFiltration/DepositFiltration.d.ts +6 -0
- package/dist/components/DepositFiltration/DepositFiltration.js +34 -0
- package/dist/components/DepositFiltration/DepositFiltration.js.map +1 -0
- package/dist/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
- package/dist/{ui-kit/CurrencyInput/CurrencyInputProps.js → components/DepositFiltration/DepositFiltrationContent.js} +1 -1
- package/dist/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
- package/dist/components/Footer/Footer.mobile.js +3 -9
- package/dist/components/Footer/Footer.mobile.js.map +1 -1
- package/dist/components/Footer/HorizontalNavigation.mobile.js +2 -1
- package/dist/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
- package/dist/components/Footer/HorizontalNavigationLink.js +3 -1
- package/dist/components/Footer/HorizontalNavigationLink.js.map +1 -1
- package/dist/components/Footer/MediaButton.js +2 -8
- package/dist/components/Footer/MediaButton.js.map +1 -1
- package/dist/components/Footer/TextInformation.js +3 -1
- package/dist/components/Footer/TextInformation.js.map +1 -1
- package/dist/components/Footer/buttonStylesWithText.d.ts +2 -0
- package/dist/components/Footer/buttonStylesWithText.js +12 -0
- package/dist/components/Footer/buttonStylesWithText.js.map +1 -0
- package/dist/components/Footer/buttonStylesWithText.mobile.d.ts +2 -0
- package/dist/components/Footer/buttonStylesWithText.mobile.js +12 -0
- package/dist/components/Footer/buttonStylesWithText.mobile.js.map +1 -0
- package/dist/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
- package/dist/components/Footer/horizontalNavigationLinkStyles.js +4 -0
- package/dist/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
- package/dist/components/Footer/horizontalNavigationLinkStyles.mobile.d.ts +1 -0
- package/dist/components/Footer/horizontalNavigationLinkStyles.mobile.js +4 -0
- package/dist/components/Footer/horizontalNavigationLinkStyles.mobile.js.map +1 -0
- package/dist/components/Footer/textInformationTextSize.d.ts +1 -0
- package/dist/components/Footer/textInformationTextSize.js +4 -0
- package/dist/components/Footer/textInformationTextSize.js.map +1 -0
- package/dist/components/Footer/textInformationTextSize.mobile.d.ts +1 -0
- package/dist/components/Footer/textInformationTextSize.mobile.js +4 -0
- package/dist/components/Footer/textInformationTextSize.mobile.js.map +1 -0
- package/dist/components/Header/Header.mobile.js +2 -2
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js +2 -1
- package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
- package/dist/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
- package/dist/components/MortgageFiltration/MortgageFiltration.js +17 -0
- package/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
- package/dist/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
- package/dist/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
- package/dist/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
- package/dist/components/OfficeMap/OfficeMap.js +2 -2
- package/dist/components/OfficeMap/OfficeMap.js.map +1 -1
- package/dist/components/OfficeMap/useOfficeMap.d.ts +2 -0
- package/dist/components/OfficeMap/useOfficeMap.js +1 -2
- package/dist/components/OfficeMap/useOfficeMap.js.map +1 -1
- package/dist/components/PictureText/PictureText.js +2 -2
- package/dist/components/PictureText/PictureText.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +3 -8
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlockContent.d.ts +0 -13
- package/dist/components/ProductBlock/ProductBlockInner.js +4 -8
- package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/dist/components/ProductBlock/renderBackwardButton.js +7 -5
- package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/dist/components/ProductBlock/renderBenefit.d.ts +2 -2
- package/dist/components/ProductBlock/renderBenefit.js +1 -1
- package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +9 -18
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/RollupItem/RollupItem.js +19 -4
- package/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/dist/components/RollupItem/RollupItemContent.d.ts +2 -0
- package/dist/components/RollupItem/foldableSectionStyles.d.ts +1 -0
- package/dist/components/RollupItem/foldableSectionStyles.js +4 -0
- package/dist/components/RollupItem/foldableSectionStyles.js.map +1 -0
- package/dist/components/RollupItem/foldableSectionStyles.mobile.d.ts +1 -0
- package/dist/components/RollupItem/foldableSectionStyles.mobile.js +4 -0
- package/dist/components/RollupItem/foldableSectionStyles.mobile.js.map +1 -0
- package/dist/components/RollupItem/getIconName.d.ts +1 -0
- package/dist/components/RollupItem/getIconName.js +5 -0
- package/dist/components/RollupItem/getIconName.js.map +1 -0
- package/dist/components/RollupItem/getIconName.mobile.d.ts +1 -0
- package/dist/components/RollupItem/getIconName.mobile.js +5 -0
- package/dist/components/RollupItem/getIconName.mobile.js.map +1 -0
- package/dist/components/RollupItem/labelSize.d.ts +1 -0
- package/dist/components/RollupItem/labelSize.js +4 -0
- package/dist/components/RollupItem/labelSize.js.map +1 -0
- package/dist/components/RollupItem/labelSize.mobile.d.ts +1 -0
- package/dist/components/RollupItem/labelSize.mobile.js +4 -0
- package/dist/components/RollupItem/labelSize.mobile.js.map +1 -0
- package/dist/components/RollupItem/rollupIconVersion.d.ts +1 -0
- package/dist/components/RollupItem/rollupIconVersion.js +4 -0
- package/dist/components/RollupItem/rollupIconVersion.js.map +1 -0
- package/dist/components/RollupItem/rollupIconVersion.mobile.d.ts +1 -0
- package/dist/components/RollupItem/rollupIconVersion.mobile.js +4 -0
- package/dist/components/RollupItem/rollupIconVersion.mobile.js.map +1 -0
- package/dist/components/RollupItem/rollupItemStyles.d.ts +1 -0
- package/dist/components/RollupItem/rollupItemStyles.js +4 -0
- package/dist/components/RollupItem/rollupItemStyles.js.map +1 -0
- package/dist/components/RollupItem/rollupItemStyles.mobile.d.ts +1 -0
- package/dist/components/RollupItem/rollupItemStyles.mobile.js +4 -0
- package/dist/components/RollupItem/rollupItemStyles.mobile.js.map +1 -0
- package/dist/components/Tile/Tile.js +2 -2
- package/dist/components/Tile/Tile.js.map +1 -1
- package/dist/content-page-repository/transformContentPage.js +12 -4
- package/dist/content-page-repository/transformContentPage.js.map +1 -1
- package/dist/content-page-repository/transformDocumentLink.d.ts +3 -0
- package/dist/content-page-repository/transformDocumentLink.js +32 -0
- package/dist/content-page-repository/transformDocumentLink.js.map +1 -0
- package/dist/hooks/useForm.d.ts +8 -4
- package/dist/hooks/useForm.js +5 -3
- package/dist/hooks/useForm.js.map +1 -1
- package/dist/hooks/useNormalizedInput.d.ts +11 -0
- package/dist/hooks/useNormalizedInput.js +23 -0
- package/dist/hooks/useNormalizedInput.js.map +1 -0
- package/dist/hooks/useSWRResource.js +2 -1
- package/dist/hooks/useSWRResource.js.map +1 -1
- package/dist/icons/IconName.d.ts +12 -2
- package/dist/icons/IconName.js +11 -1
- package/dist/icons/IconName.js.map +1 -1
- package/dist/services/search/useSearch.js +3 -2
- package/dist/services/search/useSearch.js.map +1 -1
- package/dist/services/sitemap/SitemapData.d.ts +1 -1
- package/{lib/components/Filtration/FiltrationContent.d.ts → dist/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +36 -22
- package/dist/{components/Filtration/FiltrationContent.js → ui-kit/BaseFiltration/BaseFiltrationContent.js} +1 -1
- package/dist/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
- package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
- package/{mobile/dist/components/Filtration/FiltrationInner.js → dist/ui-kit/BaseFiltration/BaseFiltrationInner.js} +9 -9
- package/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
- package/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js +32 -0
- package/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
- package/dist/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
- package/dist/{components/Filtration/renderFormItem.js → ui-kit/BaseFiltration/renderFiltrationForm.js} +8 -7
- package/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
- package/dist/ui-kit/BenefitItem/BenefitItem.js +4 -5
- package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/dist/ui-kit/BlockWrapper.js +1 -1
- package/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/dist/ui-kit/Button/renderButtonsSection.js +1 -1
- package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/dist/ui-kit/ControlProps.d.ts +1 -1
- package/dist/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
- package/dist/ui-kit/CurrencyInput/CurrencyInput.js +3 -16
- package/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/dist/ui-kit/Foldable/DefaultFoldButton.js +1 -1
- package/dist/ui-kit/Icon/IconProps.d.ts +4 -0
- package/dist/ui-kit/Icon/RoundedIcon.d.ts +2 -0
- package/dist/ui-kit/Icon/RoundedIcon.js +13 -0
- package/dist/ui-kit/Icon/RoundedIcon.js.map +1 -0
- package/dist/ui-kit/Input/Input.d.ts +1 -1
- package/dist/ui-kit/Input/Input.js +3 -2
- package/dist/ui-kit/Input/Input.js.map +1 -1
- package/dist/ui-kit/Input/InputProps.d.ts +4 -5
- package/dist/ui-kit/InputRange/InputRange.js +9 -11
- package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/dist/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
- package/dist/ui-kit/LinkList/LinkList.d.ts +2 -0
- package/dist/ui-kit/LinkList/LinkList.js +12 -0
- package/dist/ui-kit/LinkList/LinkList.js.map +1 -0
- package/dist/ui-kit/LinkList/LinkListProps.d.ts +5 -0
- package/dist/{components/BaseTile/BaseTileProps.js → ui-kit/LinkList/LinkListProps.js} +1 -1
- package/dist/ui-kit/LinkList/LinkListProps.js.map +1 -0
- package/dist/ui-kit/LinkList/linkListStyles.d.ts +1 -0
- package/dist/ui-kit/LinkList/linkListStyles.js +4 -0
- package/dist/ui-kit/LinkList/linkListStyles.js.map +1 -0
- package/dist/ui-kit/LinkList/linkListStyles.mobile.d.ts +1 -0
- package/dist/ui-kit/LinkList/linkListStyles.mobile.js +4 -0
- package/dist/ui-kit/LinkList/linkListStyles.mobile.js.map +1 -0
- package/dist/ui-kit/List/List.js +2 -1
- package/dist/ui-kit/List/List.js.map +1 -1
- package/dist/ui-kit/List/ListItem.js +5 -4
- package/dist/ui-kit/List/ListItem.js.map +1 -1
- package/dist/ui-kit/List/ListProps.d.ts +0 -2
- package/dist/ui-kit/NumberInput/NumberInput.d.ts +8 -0
- package/dist/ui-kit/NumberInput/NumberInput.js +22 -0
- package/dist/ui-kit/NumberInput/NumberInput.js.map +1 -0
- package/dist/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
- package/dist/ui-kit/PhoneInput/PhoneInput.js +2 -2
- package/dist/ui-kit/PhoneInput/PhoneInput.js.map +1 -1
- package/dist/ui-kit/SearchBar/SearchBar.d.ts +5 -2
- package/dist/ui-kit/SearchBar/SearchBar.js +21 -2
- package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/dist/ui-kit/SearchDialog/SearchDialog.js +1 -1
- package/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/dist/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
- package/dist/ui-kit/SearchDialog/SearchInput.js +2 -2
- package/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
- package/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js +5 -3
- package/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
- package/dist/utils/identity.d.ts +1 -0
- package/dist/utils/identity.js +5 -0
- package/dist/utils/identity.js.map +1 -0
- package/dist/utils/isEmpty.d.ts +1 -0
- package/dist/utils/isEmpty.js +9 -0
- package/dist/utils/isEmpty.js.map +1 -0
- package/dist/utils/joinList.d.ts +1 -1
- package/dist/utils/joinList.js +1 -3
- package/dist/utils/joinList.js.map +1 -1
- package/dist/utils/toLocalNumberFormat.d.ts +1 -0
- package/dist/utils/toLocalNumberFormat.js +8 -0
- package/dist/utils/toLocalNumberFormat.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
- package/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
- package/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
- package/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/lib/components/ApplicationForm/renderWedDataOrganization.js +1 -1
- package/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/lib/components/BaseTile/BaseTile.d.ts +12 -2
- package/lib/components/BaseTile/BaseTile.js +2 -1
- package/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/lib/components/Blocks.js +6 -4
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.js +0 -2
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/Calculator/CalculatorValueBlock.js +2 -2
- package/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/lib/components/Calculator/renderInitialFeeInput.js +3 -3
- package/lib/components/Calculator/renderInitialFeeInput.js.map +1 -1
- package/lib/components/Calculator/renderProposal.js +2 -2
- package/lib/components/Calculator/renderProposal.js.map +1 -1
- package/lib/components/Calculator/renderRealEstateValue.js +2 -2
- package/lib/components/Calculator/renderRealEstateValue.js.map +1 -1
- package/lib/components/Calculator/renderWantedSumInput.js +3 -3
- package/lib/components/Calculator/renderWantedSumInput.js.map +1 -1
- package/lib/components/CardTransfer/CardTransfer.js +10 -8
- package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.d.ts +1 -0
- package/lib/components/CarouselCatalogCard/CarouselCatalogCard.fixture.d.ts +1 -0
- package/lib/components/CarouselEventCard/CarouselEventCard.fixture.d.ts +1 -0
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
- package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/lib/components/CarouselLinks/CarouselLinks.fixture.d.ts +1 -0
- package/lib/components/CarouselProductCard/CarouselProductCard.fixture.d.ts +1 -0
- package/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/lib/components/CarouselProgramsCard/CarouselProgramsCard.fixture.d.ts +1 -0
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
- package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
- package/lib/components/CarouselRichTextCard/CarouselRichTextCard.fixture.d.ts +1 -0
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.fixture.d.ts +1 -0
- package/lib/components/CarouselTariffsCard/CarouselTariffsCard.fixture.mobile.d.ts +1 -0
- package/lib/components/ContentPage/ContentPage.page.json +0 -1
- package/lib/components/DepositFiltration/DepositFiltration.d.ts +6 -0
- package/lib/components/DepositFiltration/DepositFiltration.js +32 -0
- package/lib/components/DepositFiltration/DepositFiltration.js.map +1 -0
- package/lib/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
- package/lib/components/DepositFiltration/DepositFiltrationContent.js +2 -0
- package/lib/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
- package/lib/components/Footer/Footer.mobile.js +3 -9
- package/lib/components/Footer/Footer.mobile.js.map +1 -1
- package/lib/components/Footer/HorizontalNavigation.mobile.js +2 -1
- package/lib/components/Footer/HorizontalNavigation.mobile.js.map +1 -1
- package/lib/components/Footer/HorizontalNavigationLink.js +3 -1
- package/lib/components/Footer/HorizontalNavigationLink.js.map +1 -1
- package/lib/components/Footer/MediaButton.js +1 -7
- package/lib/components/Footer/MediaButton.js.map +1 -1
- package/lib/components/Footer/TextInformation.js +3 -1
- package/lib/components/Footer/TextInformation.js.map +1 -1
- package/lib/components/Footer/buttonStylesWithText.d.ts +2 -0
- package/lib/components/Footer/buttonStylesWithText.js +9 -0
- package/lib/components/Footer/buttonStylesWithText.js.map +1 -0
- package/lib/components/Footer/buttonStylesWithText.mobile.d.ts +2 -0
- package/lib/components/Footer/buttonStylesWithText.mobile.js +9 -0
- package/lib/components/Footer/buttonStylesWithText.mobile.js.map +1 -0
- package/lib/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
- package/lib/components/Footer/horizontalNavigationLinkStyles.js +2 -0
- package/lib/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
- package/lib/components/Footer/horizontalNavigationLinkStyles.mobile.d.ts +1 -0
- package/lib/components/Footer/horizontalNavigationLinkStyles.mobile.js +2 -0
- package/lib/components/Footer/horizontalNavigationLinkStyles.mobile.js.map +1 -0
- package/lib/components/Footer/textInformationTextSize.d.ts +1 -0
- package/lib/components/Footer/textInformationTextSize.js +2 -0
- package/lib/components/Footer/textInformationTextSize.js.map +1 -0
- package/lib/components/Footer/textInformationTextSize.mobile.d.ts +1 -0
- package/lib/components/Footer/textInformationTextSize.mobile.js +2 -0
- package/lib/components/Footer/textInformationTextSize.mobile.js.map +1 -0
- package/lib/components/Header/Header.mobile.js +2 -2
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js +2 -1
- package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +1 -1
- package/lib/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
- package/lib/components/{Filtration/Filtration.fixture.d.ts → MortgageFiltration/MortgageFiltration.fixture.d.ts} +1 -0
- package/lib/components/MortgageFiltration/MortgageFiltration.js +15 -0
- package/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
- package/lib/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
- package/lib/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
- package/lib/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
- package/lib/components/OfficeMap/OfficeMap.js +2 -2
- package/lib/components/OfficeMap/OfficeMap.js.map +1 -1
- package/lib/components/OfficeMap/useOfficeMap.d.ts +2 -0
- package/lib/components/OfficeMap/useOfficeMap.js +1 -2
- package/lib/components/OfficeMap/useOfficeMap.js.map +1 -1
- package/lib/components/PictureText/PictureText.js +2 -2
- package/lib/components/PictureText/PictureText.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.js +3 -8
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlockContent.d.ts +0 -13
- package/lib/components/ProductBlock/ProductBlockInner.js +4 -8
- package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/lib/components/ProductBlock/renderBackwardButton.js +7 -5
- package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/lib/components/ProductBlock/renderBenefit.d.ts +2 -2
- package/lib/components/ProductBlock/renderBenefit.js +1 -1
- package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +10 -19
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/RollupItem/RollupItem.fixture.d.ts +1 -0
- package/lib/components/RollupItem/RollupItem.fixture.mobile.d.ts +2 -0
- package/lib/components/RollupItem/RollupItem.js +19 -4
- package/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/lib/components/RollupItem/RollupItemContent.d.ts +2 -0
- package/lib/components/RollupItem/foldableSectionStyles.d.ts +1 -0
- package/lib/components/RollupItem/foldableSectionStyles.js +2 -0
- package/lib/components/RollupItem/foldableSectionStyles.js.map +1 -0
- package/lib/components/RollupItem/foldableSectionStyles.mobile.d.ts +1 -0
- package/lib/components/RollupItem/foldableSectionStyles.mobile.js +2 -0
- package/lib/components/RollupItem/foldableSectionStyles.mobile.js.map +1 -0
- package/lib/components/RollupItem/getIconName.d.ts +1 -0
- package/lib/components/RollupItem/getIconName.js +2 -0
- package/lib/components/RollupItem/getIconName.js.map +1 -0
- package/lib/components/RollupItem/getIconName.mobile.d.ts +1 -0
- package/lib/components/RollupItem/getIconName.mobile.js +2 -0
- package/lib/components/RollupItem/getIconName.mobile.js.map +1 -0
- package/lib/components/RollupItem/labelSize.d.ts +1 -0
- package/lib/components/RollupItem/labelSize.js +2 -0
- package/lib/components/RollupItem/labelSize.js.map +1 -0
- package/lib/components/RollupItem/labelSize.mobile.d.ts +1 -0
- package/lib/components/RollupItem/labelSize.mobile.js +2 -0
- package/lib/components/RollupItem/labelSize.mobile.js.map +1 -0
- package/lib/components/RollupItem/rollupIconVersion.d.ts +1 -0
- package/lib/components/RollupItem/rollupIconVersion.js +2 -0
- package/lib/components/RollupItem/rollupIconVersion.js.map +1 -0
- package/lib/components/RollupItem/rollupIconVersion.mobile.d.ts +1 -0
- package/lib/components/RollupItem/rollupIconVersion.mobile.js +2 -0
- package/lib/components/RollupItem/rollupIconVersion.mobile.js.map +1 -0
- package/lib/components/RollupItem/rollupItemStyles.d.ts +1 -0
- package/lib/components/RollupItem/rollupItemStyles.js +2 -0
- package/lib/components/RollupItem/rollupItemStyles.js.map +1 -0
- package/lib/components/RollupItem/rollupItemStyles.mobile.d.ts +1 -0
- package/lib/components/RollupItem/rollupItemStyles.mobile.js +2 -0
- package/lib/components/RollupItem/rollupItemStyles.mobile.js.map +1 -0
- package/lib/components/SwipeListControlBlock/SwipeListControlBlock.fixture.d.ts +1 -0
- package/lib/components/Tile/Tile.js +2 -2
- package/lib/components/Tile/Tile.js.map +1 -1
- package/lib/components/VerticalLayout/VerticalLayout.fixture.d.ts +0 -2
- package/lib/components/VerticalLayout/VerticalLayout.fixture.mobile.d.ts +1 -0
- package/lib/components/Video/Video.fixture.d.ts +1 -0
- package/lib/content-page-repository/transformContentPage.js +12 -4
- package/lib/content-page-repository/transformContentPage.js.map +1 -1
- package/lib/content-page-repository/transformDocumentLink.d.ts +3 -0
- package/lib/content-page-repository/transformDocumentLink.js +26 -0
- package/lib/content-page-repository/transformDocumentLink.js.map +1 -0
- package/lib/hooks/useForm.d.ts +8 -4
- package/lib/hooks/useForm.js +5 -3
- package/lib/hooks/useForm.js.map +1 -1
- package/lib/hooks/useNormalizedInput.d.ts +11 -0
- package/lib/hooks/useNormalizedInput.js +20 -0
- package/lib/hooks/useNormalizedInput.js.map +1 -0
- package/lib/hooks/useSWRResource.js +2 -1
- package/lib/hooks/useSWRResource.js.map +1 -1
- package/lib/icons/IconName.d.ts +12 -2
- package/lib/icons/IconName.js +11 -1
- package/lib/icons/IconName.js.map +1 -1
- package/lib/services/search/useSearch.js +3 -2
- package/lib/services/search/useSearch.js.map +1 -1
- package/lib/services/sitemap/SitemapData.d.ts +1 -1
- package/{bundle/components/Filtration/FiltrationContent.d.ts → lib/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +36 -22
- package/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js +2 -0
- package/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
- package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
- package/lib/{components/Filtration/FiltrationInner.js → ui-kit/BaseFiltration/BaseFiltrationInner.js} +8 -8
- package/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
- package/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js +29 -0
- package/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
- package/lib/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
- package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +20 -0
- package/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
- package/lib/ui-kit/BenefitItem/BenefitItem.js +4 -5
- package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/lib/ui-kit/BlockWrapper.js +1 -1
- package/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/lib/ui-kit/Button/renderButtonsSection.js +1 -1
- package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/lib/ui-kit/ControlProps.d.ts +1 -1
- package/lib/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
- package/lib/ui-kit/CurrencyInput/CurrencyInput.js +3 -16
- package/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/lib/ui-kit/Foldable/DefaultFoldButton.js +1 -1
- package/lib/ui-kit/Heading/Heading.fixture.d.ts +1 -0
- package/lib/ui-kit/Heading/Heading.fixture.mobile.d.ts +1 -0
- package/lib/ui-kit/Icon/IconProps.d.ts +4 -0
- package/lib/ui-kit/Icon/RoundedIcon.d.ts +2 -0
- package/lib/ui-kit/Icon/RoundedIcon.js +11 -0
- package/lib/ui-kit/Icon/RoundedIcon.js.map +1 -0
- package/lib/ui-kit/Input/Input.d.ts +1 -1
- package/lib/ui-kit/Input/Input.js +3 -2
- package/lib/ui-kit/Input/Input.js.map +1 -1
- package/lib/ui-kit/Input/InputProps.d.ts +4 -5
- package/lib/ui-kit/InputRange/InputRange.js +10 -12
- package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/lib/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
- package/lib/ui-kit/LinkButton/LinkButton.fixture.d.ts +1 -0
- package/lib/ui-kit/LinkList/LinkList.d.ts +2 -0
- package/lib/ui-kit/LinkList/LinkList.fixture.d.ts +8 -0
- package/lib/ui-kit/LinkList/LinkList.js +10 -0
- package/lib/ui-kit/LinkList/LinkList.js.map +1 -0
- package/lib/ui-kit/LinkList/LinkListProps.d.ts +5 -0
- package/lib/ui-kit/LinkList/LinkListProps.js +2 -0
- package/lib/ui-kit/LinkList/LinkListProps.js.map +1 -0
- package/lib/ui-kit/LinkList/linkListStyles.d.ts +1 -0
- package/lib/ui-kit/LinkList/linkListStyles.js +2 -0
- package/lib/ui-kit/LinkList/linkListStyles.js.map +1 -0
- package/lib/ui-kit/LinkList/linkListStyles.mobile.d.ts +1 -0
- package/lib/ui-kit/LinkList/linkListStyles.mobile.js +2 -0
- package/lib/ui-kit/LinkList/linkListStyles.mobile.js.map +1 -0
- package/lib/ui-kit/List/List.js +2 -1
- package/lib/ui-kit/List/List.js.map +1 -1
- package/lib/ui-kit/List/ListItem.js +5 -4
- package/lib/ui-kit/List/ListItem.js.map +1 -1
- package/lib/ui-kit/List/ListProps.d.ts +0 -2
- package/lib/ui-kit/NumberInput/NumberInput.d.ts +8 -0
- package/lib/ui-kit/NumberInput/NumberInput.fixture.d.ts +7 -0
- package/lib/ui-kit/NumberInput/NumberInput.js +20 -0
- package/lib/ui-kit/NumberInput/NumberInput.js.map +1 -0
- package/lib/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
- package/lib/ui-kit/PhoneInput/PhoneInput.js +2 -2
- package/lib/ui-kit/PhoneInput/PhoneInput.js.map +1 -1
- package/lib/ui-kit/RichText/RichText.fixture.d.ts +1 -0
- package/lib/ui-kit/SearchBar/SearchBar.d.ts +5 -2
- package/lib/ui-kit/SearchBar/SearchBar.js +22 -3
- package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/lib/ui-kit/SearchDialog/SearchDialog.js +1 -1
- package/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/lib/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
- package/lib/ui-kit/SearchDialog/SearchInput.js +2 -2
- package/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
- package/lib/ui-kit/Select/Select.fixture.d.ts +1 -0
- package/lib/ui-kit/SlideCheckbox/SlideCheckbox.fixture.d.ts +1 -0
- package/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js +5 -3
- package/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
- package/lib/ui-kit/Tags/Tags.fixture.d.ts +1 -0
- package/lib/utils/identity.d.ts +1 -0
- package/lib/utils/identity.js +2 -0
- package/lib/utils/identity.js.map +1 -0
- package/lib/utils/isEmpty.d.ts +1 -0
- package/lib/utils/isEmpty.js +6 -0
- package/lib/utils/isEmpty.js.map +1 -0
- package/lib/utils/joinList.d.ts +1 -1
- package/lib/utils/joinList.js +1 -3
- package/lib/utils/joinList.js.map +1 -1
- package/lib/utils/toLocalNumberFormat.d.ts +1 -0
- package/lib/utils/toLocalNumberFormat.js +5 -0
- package/lib/utils/toLocalNumberFormat.js.map +1 -0
- package/mobile/bundle/bundle.umd.js +267 -242
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/BaseTile/BaseTile.d.ts +12 -2
- package/mobile/bundle/components/DepositFiltration/DepositFiltration.d.ts +6 -0
- package/mobile/bundle/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
- package/mobile/bundle/components/Footer/buttonStylesWithText.d.ts +2 -0
- package/mobile/bundle/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
- package/mobile/bundle/components/Footer/textInformationTextSize.d.ts +1 -0
- package/mobile/bundle/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
- package/mobile/bundle/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
- package/mobile/bundle/components/OfficeMap/useOfficeMap.d.ts +2 -0
- package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +0 -13
- package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/mobile/bundle/components/ProductBlock/renderBenefit.d.ts +2 -2
- package/mobile/bundle/components/RollupItem/RollupItemContent.d.ts +2 -0
- package/mobile/bundle/components/RollupItem/foldableSectionStyles.d.ts +1 -0
- package/mobile/bundle/components/RollupItem/getIconName.d.ts +1 -0
- package/mobile/bundle/components/RollupItem/labelSize.d.ts +1 -0
- package/mobile/bundle/components/RollupItem/rollupIconVersion.d.ts +1 -0
- package/mobile/bundle/components/RollupItem/rollupItemStyles.d.ts +1 -0
- package/mobile/bundle/content-page-repository/transformDocumentLink.d.ts +3 -0
- package/mobile/bundle/hooks/useForm.d.ts +8 -4
- package/mobile/bundle/hooks/useNormalizedInput.d.ts +11 -0
- package/mobile/bundle/icons/IconName.d.ts +12 -2
- package/mobile/bundle/services/sitemap/SitemapData.d.ts +1 -1
- package/mobile/bundle/{components/Filtration/FiltrationContent.d.ts → ui-kit/BaseFiltration/BaseFiltrationContent.d.ts} +36 -22
- package/mobile/bundle/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
- package/mobile/bundle/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
- package/mobile/bundle/ui-kit/ControlProps.d.ts +1 -1
- package/mobile/bundle/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
- package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +4 -0
- package/mobile/bundle/ui-kit/Icon/RoundedIcon.d.ts +2 -0
- package/mobile/bundle/ui-kit/Input/Input.d.ts +1 -1
- package/mobile/bundle/ui-kit/Input/InputProps.d.ts +4 -5
- package/mobile/bundle/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
- package/mobile/bundle/ui-kit/LinkList/LinkList.d.ts +2 -0
- package/mobile/bundle/ui-kit/LinkList/LinkListProps.d.ts +5 -0
- package/mobile/bundle/ui-kit/LinkList/linkListStyles.d.ts +1 -0
- package/mobile/bundle/ui-kit/List/ListProps.d.ts +0 -2
- package/mobile/bundle/ui-kit/NumberInput/NumberInput.d.ts +8 -0
- package/mobile/bundle/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
- package/mobile/bundle/ui-kit/SearchBar/SearchBar.d.ts +5 -2
- package/mobile/bundle/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
- package/mobile/bundle/utils/identity.d.ts +1 -0
- package/mobile/bundle/utils/isEmpty.d.ts +1 -0
- package/mobile/bundle/utils/joinList.d.ts +1 -1
- package/mobile/bundle/utils/toLocalNumberFormat.d.ts +1 -0
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/mobile/dist/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js +1 -1
- package/mobile/dist/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/mobile/dist/components/BaseTile/BaseTile.d.ts +12 -2
- package/mobile/dist/components/BaseTile/BaseTile.js +2 -1
- package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/dist/components/Blocks.js +0 -2
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/Calculator/CalculatorValueBlock.js +2 -2
- package/mobile/dist/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/mobile/dist/components/Calculator/renderInitialFeeInput.js +3 -3
- package/mobile/dist/components/Calculator/renderInitialFeeInput.js.map +1 -1
- package/mobile/dist/components/Calculator/renderProposal.js +2 -2
- package/mobile/dist/components/Calculator/renderProposal.js.map +1 -1
- package/mobile/dist/components/Calculator/renderRealEstateValue.js +2 -2
- package/mobile/dist/components/Calculator/renderRealEstateValue.js.map +1 -1
- package/mobile/dist/components/Calculator/renderWantedSumInput.js +3 -3
- package/mobile/dist/components/Calculator/renderWantedSumInput.js.map +1 -1
- package/mobile/dist/components/CardTransfer/CardTransfer.js +10 -8
- package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
- package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/dist/components/ContentPage/ContentPage.page.json +0 -1
- package/mobile/dist/components/DepositFiltration/DepositFiltration.d.ts +6 -0
- package/mobile/dist/components/DepositFiltration/DepositFiltration.js +34 -0
- package/mobile/dist/components/DepositFiltration/DepositFiltration.js.map +1 -0
- package/mobile/dist/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
- package/mobile/dist/components/DepositFiltration/DepositFiltrationContent.js +2 -0
- package/mobile/dist/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
- package/mobile/dist/components/Footer/Footer.js +3 -9
- package/mobile/dist/components/Footer/Footer.js.map +1 -1
- package/mobile/dist/components/Footer/HorizontalNavigation.js +2 -1
- package/mobile/dist/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/dist/components/Footer/HorizontalNavigationLink.js +3 -1
- package/mobile/dist/components/Footer/HorizontalNavigationLink.js.map +1 -1
- package/mobile/dist/components/Footer/MediaButton.js +2 -8
- package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
- package/mobile/dist/components/Footer/TextInformation.js +3 -3
- package/mobile/dist/components/Footer/TextInformation.js.map +1 -1
- package/mobile/dist/components/Footer/buttonStylesWithText.d.ts +2 -0
- package/mobile/dist/components/Footer/buttonStylesWithText.js +12 -0
- package/mobile/dist/components/Footer/buttonStylesWithText.js.map +1 -0
- package/mobile/dist/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
- package/mobile/dist/components/Footer/horizontalNavigationLinkStyles.js +4 -0
- package/mobile/dist/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
- package/mobile/dist/components/Footer/textInformationTextSize.d.ts +1 -0
- package/mobile/dist/components/Footer/textInformationTextSize.js +4 -0
- package/mobile/dist/components/Footer/textInformationTextSize.js.map +1 -0
- package/mobile/dist/components/Header/Header.js +2 -2
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js +2 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/dist/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
- package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js +17 -0
- package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
- package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
- package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
- package/mobile/dist/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
- package/mobile/dist/components/OfficeMap/OfficeMap.js +2 -2
- package/mobile/dist/components/OfficeMap/OfficeMap.js.map +1 -1
- package/mobile/dist/components/OfficeMap/useOfficeMap.d.ts +2 -0
- package/mobile/dist/components/OfficeMap/useOfficeMap.js +1 -2
- package/mobile/dist/components/OfficeMap/useOfficeMap.js.map +1 -1
- package/mobile/dist/components/PictureText/PictureText.js +2 -2
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.js +5 -4
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +0 -13
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js +6 -7
- package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js +7 -5
- package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/dist/components/ProductBlock/renderBenefit.d.ts +2 -2
- package/mobile/dist/components/ProductBlock/renderBenefit.js +1 -1
- package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
- package/mobile/dist/components/ProductGallery/ProductGallery.js +9 -18
- package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItem.js +18 -8
- package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/dist/components/RollupItem/RollupItemContent.d.ts +2 -0
- package/mobile/dist/components/RollupItem/foldableSectionStyles.d.ts +1 -0
- package/mobile/dist/components/RollupItem/foldableSectionStyles.js +4 -0
- package/mobile/dist/components/RollupItem/foldableSectionStyles.js.map +1 -0
- package/mobile/dist/components/RollupItem/getIconName.d.ts +1 -0
- package/mobile/dist/components/RollupItem/getIconName.js +5 -0
- package/mobile/dist/components/RollupItem/getIconName.js.map +1 -0
- package/mobile/dist/components/RollupItem/labelSize.d.ts +1 -0
- package/mobile/dist/components/RollupItem/labelSize.js +4 -0
- package/mobile/dist/components/RollupItem/labelSize.js.map +1 -0
- package/mobile/dist/components/RollupItem/rollupIconVersion.d.ts +1 -0
- package/mobile/dist/components/RollupItem/rollupIconVersion.js +4 -0
- package/mobile/dist/components/RollupItem/rollupIconVersion.js.map +1 -0
- package/mobile/dist/components/RollupItem/rollupItemStyles.d.ts +1 -0
- package/mobile/dist/components/RollupItem/rollupItemStyles.js +4 -0
- package/mobile/dist/components/RollupItem/rollupItemStyles.js.map +1 -0
- package/mobile/dist/components/Tile/Tile.js +2 -2
- package/mobile/dist/components/Tile/Tile.js.map +1 -1
- package/mobile/dist/content-page-repository/transformContentPage.js +12 -4
- package/mobile/dist/content-page-repository/transformContentPage.js.map +1 -1
- package/mobile/dist/content-page-repository/transformDocumentLink.d.ts +3 -0
- package/mobile/dist/content-page-repository/transformDocumentLink.js +32 -0
- package/mobile/dist/content-page-repository/transformDocumentLink.js.map +1 -0
- package/mobile/dist/hooks/useForm.d.ts +8 -4
- package/mobile/dist/hooks/useForm.js +5 -3
- package/mobile/dist/hooks/useForm.js.map +1 -1
- package/mobile/dist/hooks/useNormalizedInput.d.ts +11 -0
- package/mobile/dist/hooks/useNormalizedInput.js +23 -0
- package/mobile/dist/hooks/useNormalizedInput.js.map +1 -0
- package/mobile/dist/hooks/useSWRResource.js +2 -1
- package/mobile/dist/hooks/useSWRResource.js.map +1 -1
- package/mobile/dist/icons/IconName.d.ts +12 -2
- package/mobile/dist/icons/IconName.js +11 -1
- package/mobile/dist/icons/IconName.js.map +1 -1
- package/mobile/dist/services/search/useSearch.js +3 -2
- package/mobile/dist/services/search/useSearch.js.map +1 -1
- package/mobile/dist/services/sitemap/SitemapData.d.ts +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +102 -0
- package/{dist/components/LinkList/LinkListContent.js → mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.js} +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
- package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
- package/{dist/components/Filtration/FiltrationInner.js → mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js} +9 -9
- package/mobile/dist/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
- package/mobile/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js +32 -0
- package/mobile/dist/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
- package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
- package/mobile/dist/{components/Filtration/renderFormItem.js → ui-kit/BaseFiltration/renderFiltrationForm.js} +8 -7
- package/mobile/dist/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +4 -5
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/dist/ui-kit/BlockWrapper.js +1 -1
- package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js +1 -1
- package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/dist/ui-kit/ControlProps.d.ts +1 -1
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js +3 -16
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js +1 -1
- package/mobile/dist/ui-kit/Icon/IconProps.d.ts +4 -0
- package/mobile/dist/ui-kit/Icon/RoundedIcon.d.ts +2 -0
- package/mobile/dist/ui-kit/Icon/RoundedIcon.js +13 -0
- package/mobile/dist/ui-kit/Icon/RoundedIcon.js.map +1 -0
- package/mobile/dist/ui-kit/Input/Input.d.ts +1 -1
- package/mobile/dist/ui-kit/Input/Input.js +3 -2
- package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
- package/mobile/dist/ui-kit/Input/InputProps.d.ts +4 -5
- package/mobile/dist/ui-kit/InputRange/InputRange.js +9 -11
- package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/dist/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
- package/mobile/dist/ui-kit/LinkList/LinkList.d.ts +2 -0
- package/mobile/dist/ui-kit/LinkList/LinkList.js +12 -0
- package/mobile/dist/ui-kit/LinkList/LinkList.js.map +1 -0
- package/mobile/dist/ui-kit/LinkList/LinkListProps.d.ts +5 -0
- package/mobile/dist/{components/BaseTile/BaseTileProps.js → ui-kit/LinkList/LinkListProps.js} +1 -1
- package/mobile/dist/ui-kit/LinkList/LinkListProps.js.map +1 -0
- package/mobile/dist/ui-kit/LinkList/linkListStyles.d.ts +1 -0
- package/mobile/dist/ui-kit/LinkList/linkListStyles.js +4 -0
- package/mobile/dist/ui-kit/LinkList/linkListStyles.js.map +1 -0
- package/mobile/dist/ui-kit/List/List.js +2 -1
- package/mobile/dist/ui-kit/List/List.js.map +1 -1
- package/mobile/dist/ui-kit/List/ListItem.js +5 -4
- package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/dist/ui-kit/List/ListProps.d.ts +0 -2
- package/mobile/dist/ui-kit/NumberInput/NumberInput.d.ts +8 -0
- package/mobile/dist/ui-kit/NumberInput/NumberInput.js +22 -0
- package/mobile/dist/ui-kit/NumberInput/NumberInput.js.map +1 -0
- package/mobile/dist/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
- package/mobile/dist/ui-kit/PhoneInput/PhoneInput.js +2 -2
- package/mobile/dist/ui-kit/PhoneInput/PhoneInput.js.map +1 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBar.d.ts +5 -2
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js +21 -2
- package/mobile/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js +1 -1
- package/mobile/dist/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/mobile/dist/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
- package/mobile/dist/ui-kit/SearchDialog/SearchInput.js +2 -2
- package/mobile/dist/ui-kit/SearchDialog/SearchInput.js.map +1 -1
- package/mobile/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js +5 -3
- package/mobile/dist/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
- package/mobile/dist/utils/identity.d.ts +1 -0
- package/mobile/dist/utils/identity.js +5 -0
- package/mobile/dist/utils/identity.js.map +1 -0
- package/mobile/dist/utils/isEmpty.d.ts +1 -0
- package/mobile/dist/utils/isEmpty.js +9 -0
- package/mobile/dist/utils/isEmpty.js.map +1 -0
- package/mobile/dist/utils/joinList.d.ts +1 -1
- package/mobile/dist/utils/joinList.js +1 -3
- package/mobile/dist/utils/joinList.js.map +1 -1
- package/mobile/dist/utils/toLocalNumberFormat.d.ts +1 -0
- package/mobile/dist/utils/toLocalNumberFormat.js +8 -0
- package/mobile/dist/utils/toLocalNumberFormat.js.map +1 -0
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js +1 -1
- package/mobile/lib/components/ApplicationForm/ApplicationFormDeposit.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderAcquiringDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderBusinessCardDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderCreditDataOrganization.js.map +1 -1
- package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js +1 -1
- package/mobile/lib/components/ApplicationForm/renderWedDataOrganization.js.map +1 -1
- package/mobile/lib/components/BaseTile/BaseTile.d.ts +12 -2
- package/mobile/lib/components/BaseTile/BaseTile.js +2 -1
- package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
- package/mobile/lib/components/Blocks.js +0 -2
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/Calculator/CalculatorValueBlock.js +2 -2
- package/mobile/lib/components/Calculator/CalculatorValueBlock.js.map +1 -1
- package/mobile/lib/components/Calculator/renderInitialFeeInput.js +3 -3
- package/mobile/lib/components/Calculator/renderInitialFeeInput.js.map +1 -1
- package/mobile/lib/components/Calculator/renderProposal.js +2 -2
- package/mobile/lib/components/Calculator/renderProposal.js.map +1 -1
- package/mobile/lib/components/Calculator/renderRealEstateValue.js +2 -2
- package/mobile/lib/components/Calculator/renderRealEstateValue.js.map +1 -1
- package/mobile/lib/components/Calculator/renderWantedSumInput.js +3 -3
- package/mobile/lib/components/Calculator/renderWantedSumInput.js.map +1 -1
- package/mobile/lib/components/CardTransfer/CardTransfer.js +10 -8
- package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -9
- package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +1 -1
- package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
- package/mobile/lib/components/ContentPage/ContentPage.page.json +0 -1
- package/mobile/lib/components/DepositFiltration/DepositFiltration.d.ts +6 -0
- package/mobile/lib/components/DepositFiltration/DepositFiltration.js +32 -0
- package/mobile/lib/components/DepositFiltration/DepositFiltration.js.map +1 -0
- package/mobile/lib/components/DepositFiltration/DepositFiltrationContent.d.ts +32 -0
- package/mobile/lib/components/DepositFiltration/DepositFiltrationContent.js +2 -0
- package/mobile/lib/components/DepositFiltration/DepositFiltrationContent.js.map +1 -0
- package/mobile/lib/components/Footer/Footer.js +3 -9
- package/mobile/lib/components/Footer/Footer.js.map +1 -1
- package/mobile/lib/components/Footer/HorizontalNavigation.js +2 -1
- package/mobile/lib/components/Footer/HorizontalNavigation.js.map +1 -1
- package/mobile/lib/components/Footer/HorizontalNavigationLink.js +3 -1
- package/mobile/lib/components/Footer/HorizontalNavigationLink.js.map +1 -1
- package/mobile/lib/components/Footer/MediaButton.js +1 -7
- package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
- package/mobile/lib/components/Footer/TextInformation.js +3 -3
- package/mobile/lib/components/Footer/TextInformation.js.map +1 -1
- package/mobile/lib/components/Footer/buttonStylesWithText.d.ts +2 -0
- package/mobile/lib/components/Footer/buttonStylesWithText.js +9 -0
- package/mobile/lib/components/Footer/buttonStylesWithText.js.map +1 -0
- package/mobile/lib/components/Footer/horizontalNavigationLinkStyles.d.ts +1 -0
- package/mobile/lib/components/Footer/horizontalNavigationLinkStyles.js +2 -0
- package/mobile/lib/components/Footer/horizontalNavigationLinkStyles.js.map +1 -0
- package/mobile/lib/components/Footer/textInformationTextSize.d.ts +1 -0
- package/mobile/lib/components/Footer/textInformationTextSize.js +2 -0
- package/mobile/lib/components/Footer/textInformationTextSize.js.map +1 -0
- package/mobile/lib/components/Header/Header.js +2 -2
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -2
- package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js +2 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/lib/components/MortgageFiltration/MortgageFiltration.d.ts +6 -0
- package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js +15 -0
- package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -0
- package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.d.ts +18 -0
- package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.js +2 -0
- package/mobile/lib/components/MortgageFiltration/MortgageFiltrationContent.js.map +1 -0
- package/mobile/lib/components/OfficeMap/OfficeMap.js +2 -2
- package/mobile/lib/components/OfficeMap/OfficeMap.js.map +1 -1
- package/mobile/lib/components/OfficeMap/useOfficeMap.d.ts +2 -0
- package/mobile/lib/components/OfficeMap/useOfficeMap.js +1 -2
- package/mobile/lib/components/OfficeMap/useOfficeMap.js.map +1 -1
- package/mobile/lib/components/PictureText/PictureText.js +2 -2
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.js +6 -5
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +0 -13
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js +6 -7
- package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +1 -1
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js +7 -5
- package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
- package/mobile/lib/components/ProductBlock/renderBenefit.d.ts +2 -2
- package/mobile/lib/components/ProductBlock/renderBenefit.js +1 -1
- package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
- package/mobile/lib/components/ProductGallery/ProductGallery.js +10 -19
- package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItem.js +18 -8
- package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
- package/mobile/lib/components/RollupItem/RollupItemContent.d.ts +2 -0
- package/mobile/lib/components/RollupItem/foldableSectionStyles.d.ts +1 -0
- package/mobile/lib/components/RollupItem/foldableSectionStyles.js +2 -0
- package/mobile/lib/components/RollupItem/foldableSectionStyles.js.map +1 -0
- package/mobile/lib/components/RollupItem/getIconName.d.ts +1 -0
- package/mobile/lib/components/RollupItem/getIconName.js +2 -0
- package/mobile/lib/components/RollupItem/getIconName.js.map +1 -0
- package/mobile/lib/components/RollupItem/labelSize.d.ts +1 -0
- package/mobile/lib/components/RollupItem/labelSize.js +2 -0
- package/mobile/lib/components/RollupItem/labelSize.js.map +1 -0
- package/mobile/lib/components/RollupItem/rollupIconVersion.d.ts +1 -0
- package/mobile/lib/components/RollupItem/rollupIconVersion.js +2 -0
- package/mobile/lib/components/RollupItem/rollupIconVersion.js.map +1 -0
- package/mobile/lib/components/RollupItem/rollupItemStyles.d.ts +1 -0
- package/mobile/lib/components/RollupItem/rollupItemStyles.js +2 -0
- package/mobile/lib/components/RollupItem/rollupItemStyles.js.map +1 -0
- package/mobile/lib/components/Tile/Tile.js +2 -2
- package/mobile/lib/components/Tile/Tile.js.map +1 -1
- package/mobile/lib/content-page-repository/transformContentPage.js +12 -4
- package/mobile/lib/content-page-repository/transformContentPage.js.map +1 -1
- package/mobile/lib/content-page-repository/transformDocumentLink.d.ts +3 -0
- package/mobile/lib/content-page-repository/transformDocumentLink.js +26 -0
- package/mobile/lib/content-page-repository/transformDocumentLink.js.map +1 -0
- package/mobile/lib/hooks/useForm.d.ts +8 -4
- package/mobile/lib/hooks/useForm.js +5 -3
- package/mobile/lib/hooks/useForm.js.map +1 -1
- package/mobile/lib/hooks/useNormalizedInput.d.ts +11 -0
- package/mobile/lib/hooks/useNormalizedInput.js +20 -0
- package/mobile/lib/hooks/useNormalizedInput.js.map +1 -0
- package/mobile/lib/hooks/useSWRResource.js +2 -1
- package/mobile/lib/hooks/useSWRResource.js.map +1 -1
- package/mobile/lib/icons/IconName.d.ts +12 -2
- package/mobile/lib/icons/IconName.js +11 -1
- package/mobile/lib/icons/IconName.js.map +1 -1
- package/mobile/lib/services/search/useSearch.js +3 -2
- package/mobile/lib/services/search/useSearch.js.map +1 -1
- package/mobile/lib/services/sitemap/SitemapData.d.ts +1 -1
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.d.ts +102 -0
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js +2 -0
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationContent.js.map +1 -0
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.d.ts +7 -0
- package/mobile/lib/{components/Filtration/FiltrationInner.js → ui-kit/BaseFiltration/BaseFiltrationInner.js} +8 -8
- package/mobile/lib/ui-kit/BaseFiltration/BaseFiltrationInner.js.map +1 -0
- package/mobile/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js +29 -0
- package/mobile/lib/ui-kit/BaseFiltration/checkShouldRenderBlock.js.map +1 -0
- package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.d.ts +15 -0
- package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js +20 -0
- package/mobile/lib/ui-kit/BaseFiltration/renderFiltrationForm.js.map +1 -0
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +4 -5
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/lib/ui-kit/BlockWrapper.js +1 -1
- package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js +1 -1
- package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
- package/mobile/lib/ui-kit/ControlProps.d.ts +1 -1
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -2
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js +3 -16
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js +1 -1
- package/mobile/lib/ui-kit/Icon/IconProps.d.ts +4 -0
- package/mobile/lib/ui-kit/Icon/RoundedIcon.d.ts +2 -0
- package/mobile/lib/ui-kit/Icon/RoundedIcon.js +11 -0
- package/mobile/lib/ui-kit/Icon/RoundedIcon.js.map +1 -0
- package/mobile/lib/ui-kit/Input/Input.d.ts +1 -1
- package/mobile/lib/ui-kit/Input/Input.js +3 -2
- package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
- package/mobile/lib/ui-kit/Input/InputProps.d.ts +4 -5
- package/mobile/lib/ui-kit/InputRange/InputRange.js +10 -12
- package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
- package/mobile/lib/ui-kit/InputRange/InputRangeProps.d.ts +2 -4
- package/mobile/lib/ui-kit/LinkList/LinkList.d.ts +2 -0
- package/mobile/lib/ui-kit/LinkList/LinkList.js +10 -0
- package/mobile/lib/ui-kit/LinkList/LinkList.js.map +1 -0
- package/mobile/lib/ui-kit/LinkList/LinkListProps.d.ts +5 -0
- package/mobile/lib/ui-kit/LinkList/LinkListProps.js +2 -0
- package/mobile/lib/ui-kit/LinkList/LinkListProps.js.map +1 -0
- package/mobile/lib/ui-kit/LinkList/linkListStyles.d.ts +1 -0
- package/mobile/lib/ui-kit/LinkList/linkListStyles.js +2 -0
- package/mobile/lib/ui-kit/LinkList/linkListStyles.js.map +1 -0
- package/mobile/lib/ui-kit/List/List.js +2 -1
- package/mobile/lib/ui-kit/List/List.js.map +1 -1
- package/mobile/lib/ui-kit/List/ListItem.js +5 -4
- package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
- package/mobile/lib/ui-kit/List/ListProps.d.ts +0 -2
- package/mobile/lib/ui-kit/NumberInput/NumberInput.d.ts +8 -0
- package/mobile/lib/ui-kit/NumberInput/NumberInput.js +20 -0
- package/mobile/lib/ui-kit/NumberInput/NumberInput.js.map +1 -0
- package/mobile/lib/ui-kit/PhoneInput/PhoneInput.d.ts +1 -1
- package/mobile/lib/ui-kit/PhoneInput/PhoneInput.js +2 -2
- package/mobile/lib/ui-kit/PhoneInput/PhoneInput.js.map +1 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBar.d.ts +5 -2
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js +22 -3
- package/mobile/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
- package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js +1 -1
- package/mobile/lib/ui-kit/SearchDialog/SearchDialog.js.map +1 -1
- package/mobile/lib/ui-kit/SearchDialog/SearchInput.d.ts +0 -1
- package/mobile/lib/ui-kit/SearchDialog/SearchInput.js +2 -2
- package/mobile/lib/ui-kit/SearchDialog/SearchInput.js.map +1 -1
- package/mobile/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js +5 -3
- package/mobile/lib/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.js.map +1 -1
- package/mobile/lib/utils/identity.d.ts +1 -0
- package/mobile/lib/utils/identity.js +2 -0
- package/mobile/lib/utils/identity.js.map +1 -0
- package/mobile/lib/utils/isEmpty.d.ts +1 -0
- package/mobile/lib/utils/isEmpty.js +6 -0
- package/mobile/lib/utils/isEmpty.js.map +1 -0
- package/mobile/lib/utils/joinList.d.ts +1 -1
- package/mobile/lib/utils/joinList.js +1 -3
- package/mobile/lib/utils/joinList.js.map +1 -1
- package/mobile/lib/utils/toLocalNumberFormat.d.ts +1 -0
- package/mobile/lib/utils/toLocalNumberFormat.js +5 -0
- package/mobile/lib/utils/toLocalNumberFormat.js.map +1 -0
- package/mobile/src/components/ApplicationForm/ApplicationFormDeposit.tsx +2 -2
- package/mobile/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +4 -4
- package/mobile/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +4 -4
- package/mobile/src/components/ApplicationForm/renderCreditDataOrganization.tsx +6 -10
- package/mobile/src/components/ApplicationForm/renderWedDataOrganization.tsx +4 -4
- package/mobile/src/components/BaseTile/BaseTile.tsx +32 -9
- package/mobile/src/components/Blocks.ts +0 -2
- package/mobile/src/components/Calculator/CalculatorValueBlock.tsx +2 -2
- package/mobile/src/components/Calculator/renderInitialFeeInput.tsx +3 -3
- package/mobile/src/components/Calculator/renderProposal.tsx +2 -2
- package/mobile/src/components/Calculator/renderRealEstateValue.tsx +2 -2
- package/mobile/src/components/Calculator/renderWantedSumInput.tsx +3 -3
- package/mobile/src/components/CardTransfer/CardTransfer.tsx +16 -12
- package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +39 -40
- package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +4 -2
- package/mobile/src/components/ContentPage/ContentPage.page.json +0 -1
- package/mobile/src/components/DepositFiltration/DepositFiltration.example.json +61 -0
- package/mobile/src/components/DepositFiltration/DepositFiltration.tsx +66 -0
- package/mobile/src/components/DepositFiltration/DepositFiltrationContent.ts +39 -0
- package/mobile/src/components/Footer/Footer.tsx +21 -30
- package/mobile/src/components/Footer/HorizontalNavigation.tsx +4 -3
- package/mobile/src/components/Footer/HorizontalNavigationLink.tsx +3 -1
- package/mobile/src/components/Footer/MediaButton.tsx +1 -10
- package/mobile/src/components/Footer/TextInformation.tsx +17 -17
- package/mobile/src/components/Footer/buttonStylesWithText.ts +15 -0
- package/mobile/src/components/Footer/horizontalNavigationLinkStyles.ts +1 -0
- package/mobile/src/components/Footer/textInformationTextSize.ts +1 -0
- package/mobile/src/components/Header/Header.tsx +2 -2
- package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -6
- package/mobile/src/components/LinkDocs/LinkDocs.ui.json +9 -1
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +5 -1
- package/mobile/src/components/MortgageFiltration/MortgageFiltration.tsx +29 -0
- package/mobile/src/components/MortgageFiltration/MortgageFiltrationContent.ts +23 -0
- package/mobile/src/components/OfficeMap/OfficeMap.tsx +2 -2
- package/mobile/src/components/OfficeMap/useOfficeMap.ts +1 -3
- package/mobile/src/components/PictureText/PictureText.tsx +2 -2
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +16 -9
- package/mobile/src/components/ProductBlock/ProductBlockContent.ts +0 -13
- package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +43 -45
- package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +11 -14
- package/mobile/src/components/ProductBlock/renderBenefit.tsx +3 -12
- package/mobile/src/components/ProductGallery/ProductGallery.tsx +50 -73
- package/mobile/src/components/RollupItem/RollupItem.tsx +52 -38
- package/mobile/src/components/RollupItem/RollupItemContent.ts +2 -0
- package/mobile/src/components/RollupItem/foldableSectionStyles.ts +1 -0
- package/mobile/src/components/RollupItem/getIconName.tsx +2 -0
- package/mobile/src/components/RollupItem/labelSize.tsx +1 -0
- package/mobile/src/components/RollupItem/rollupIconVersion.tsx +1 -0
- package/mobile/src/components/RollupItem/rollupItemStyles.ts +1 -0
- package/mobile/src/components/Tile/Tile.tsx +2 -8
- package/mobile/src/content-page-repository/transformContentPage.ts +19 -7
- package/mobile/src/content-page-repository/transformDocumentLink.ts +37 -0
- package/mobile/src/hooks/useForm.ts +16 -8
- package/mobile/src/hooks/useNormalizedInput.ts +33 -0
- package/mobile/src/hooks/useSWRResource.ts +3 -1
- package/mobile/src/icons/ArrowDownSolidIcon.svg +1 -0
- package/mobile/src/icons/ArrowUpSolidIcon.svg +1 -0
- package/mobile/src/icons/BagIcon.svg +1 -0
- package/mobile/src/icons/BriefcaseIcon.svg +7 -0
- package/mobile/src/icons/ClientIcon.svg +1 -0
- package/mobile/src/icons/IconName.ts +5 -5
- package/mobile/src/services/search/useSearch.ts +3 -2
- package/mobile/src/services/sitemap/SitemapData.ts +1 -1
- package/mobile/src/{components/Filtration/FiltrationContent.ts → ui-kit/BaseFiltration/BaseFiltrationContent.ts} +38 -24
- package/mobile/src/{components/Filtration/FiltrationInner.tsx → ui-kit/BaseFiltration/BaseFiltrationInner.tsx} +9 -9
- package/mobile/src/ui-kit/BaseFiltration/checkShouldRenderBlock.ts +49 -0
- package/mobile/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +75 -0
- package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +17 -19
- package/mobile/src/ui-kit/BlockWrapper.tsx +1 -9
- package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
- package/mobile/src/ui-kit/ControlProps.ts +1 -1
- package/mobile/src/ui-kit/CurrencyInput/CurrencyInput.tsx +12 -38
- package/mobile/src/ui-kit/Foldable/DefaultFoldButton.tsx +1 -1
- package/mobile/src/ui-kit/Icon/IconProps.ts +5 -0
- package/mobile/src/ui-kit/Icon/RoundedIcon.tsx +16 -0
- package/mobile/src/ui-kit/Input/Input.tsx +33 -16
- package/mobile/src/ui-kit/Input/InputProps.ts +4 -5
- package/mobile/src/ui-kit/InputRange/InputRange.tsx +43 -49
- package/mobile/src/ui-kit/InputRange/InputRangeProps.ts +2 -4
- package/mobile/src/ui-kit/LinkList/LinkList.tsx +25 -0
- package/mobile/src/ui-kit/LinkList/LinkListProps.tsx +6 -0
- package/mobile/src/ui-kit/LinkList/linkListStyles.ts +1 -0
- package/mobile/src/ui-kit/List/List.tsx +10 -11
- package/mobile/src/ui-kit/List/ListItem.tsx +11 -7
- package/mobile/src/ui-kit/List/ListProps.ts +0 -2
- package/mobile/src/ui-kit/NumberInput/NumberInput.tsx +35 -0
- package/mobile/src/ui-kit/PhoneInput/PhoneInput.tsx +2 -3
- package/mobile/src/ui-kit/SearchBar/SearchBar.tsx +36 -4
- package/mobile/src/ui-kit/SearchDialog/SearchDialog.tsx +1 -1
- package/mobile/src/ui-kit/SearchDialog/SearchInput.tsx +1 -3
- package/mobile/src/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.tsx +9 -5
- package/mobile/src/utils/identity.ts +1 -0
- package/mobile/src/utils/isEmpty.ts +6 -0
- package/mobile/src/utils/joinList.ts +4 -4
- package/mobile/src/utils/toLocalNumberFormat.ts +7 -0
- package/package.json +3 -3
- package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +1 -0
- package/src/components/ApplicationForm/ApplicationFormDeposit.tsx +2 -2
- package/src/components/ApplicationForm/renderAcquiringDataOrganization.tsx +4 -4
- package/src/components/ApplicationForm/renderBusinessCardDataOrganization.tsx +4 -4
- package/src/components/ApplicationForm/renderCreditDataOrganization.tsx +6 -10
- package/src/components/ApplicationForm/renderWedDataOrganization.tsx +4 -4
- package/src/components/BaseTile/BaseTile.tsx +32 -9
- package/src/components/Blocks.mobile.ts +0 -2
- package/src/components/Blocks.ts +6 -4
- package/src/components/Bonus/Bonus.fixture.tsx +2 -1
- package/src/components/BusinessBlock/BusinessBlock.fixture.tsx +1 -0
- package/src/components/ButtonBlock/ButtonBlock.fixture.tsx +1 -0
- package/src/components/Calculator/Calculator.fixture.tsx +1 -1
- package/src/components/Calculator/CalculatorValueBlock.tsx +2 -2
- package/src/components/Calculator/renderInitialFeeInput.tsx +3 -3
- package/src/components/Calculator/renderProposal.tsx +2 -2
- package/src/components/Calculator/renderRealEstateValue.tsx +2 -2
- package/src/components/Calculator/renderWantedSumInput.tsx +3 -3
- package/src/components/CardTransfer/CardTransfer.fixture.tsx +1 -0
- package/src/components/CardTransfer/CardTransfer.tsx +16 -12
- package/src/components/Carousel/Carousel.fixture.mobile.tsx +2 -1
- package/src/components/Carousel/Carousel.fixture.tsx +2 -1
- package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.fixture.tsx +2 -0
- package/src/components/CarouselCard/CarouselCard.fixture.tsx +1 -0
- package/src/components/CarouselCatalogCard/CarouselCatalogCard.fixture.tsx +2 -0
- package/src/components/CarouselEventCard/CarouselEventCard.fixture.tsx +3 -1
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.fixture.tsx +2 -1
- package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +39 -40
- package/src/components/CarouselLinks/CarouselLinks.fixture.tsx +2 -0
- package/src/components/CarouselProductCard/CarouselProductCard.fixture.tsx +2 -0
- package/src/components/CarouselProductCard/CarouselProductCard.tsx +4 -2
- package/src/components/CarouselProgramsCard/CarouselProgramsCard.fixture.tsx +2 -0
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.mobile.tsx +2 -1
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.fixture.tsx +2 -1
- package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +1 -3
- package/src/components/CarouselRichTextCard/CarouselRichTextCard.fixture.tsx +2 -0
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.mobile.tsx +2 -0
- package/src/components/CarouselTariffsCard/CarouselTariffsCard.fixture.tsx +2 -0
- package/src/components/ComparisonTable/ComparisonTable.fixture.mobile.tsx +2 -1
- package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +2 -1
- package/src/components/ContactsBlock/ContactsBlock.fixture.tsx +2 -7
- package/src/components/ContentPage/ContentPage.page.json +0 -1
- package/src/components/DepositFiltration/DepositFiltration.example.json +61 -0
- package/src/components/DepositFiltration/DepositFiltration.fixture.tsx +190 -0
- package/src/components/DepositFiltration/DepositFiltration.tsx +66 -0
- package/src/components/DepositFiltration/DepositFiltrationContent.ts +39 -0
- package/src/components/ErrorBlock/ErrorBlock.fixture.tsx +2 -1
- package/src/components/ExchangeRateOffice/ExchangeRateOffice.fixture.tsx +1 -0
- package/src/components/Footer/Footer.fixture.mobile.tsx +1 -0
- package/src/components/Footer/Footer.fixture.tsx +1 -0
- package/src/components/Footer/Footer.mobile.tsx +21 -30
- package/src/components/Footer/HorizontalNavigation.mobile.tsx +4 -3
- package/src/components/Footer/HorizontalNavigationLink.tsx +3 -1
- package/src/components/Footer/MediaButton.tsx +1 -10
- package/src/components/Footer/TextInformation.tsx +5 -3
- package/src/components/Footer/buttonStylesWithText.mobile.ts +15 -0
- package/src/components/Footer/buttonStylesWithText.ts +15 -0
- package/src/components/Footer/horizontalNavigationLinkStyles.mobile.ts +1 -0
- package/src/components/Footer/horizontalNavigationLinkStyles.ts +1 -0
- package/src/components/Footer/textInformationTextSize.mobile.ts +1 -0
- package/src/components/Footer/textInformationTextSize.ts +1 -0
- package/src/components/Header/Header.fixture.mobile.tsx +1 -0
- package/src/components/Header/Header.fixture.tsx +1 -0
- package/src/components/Header/Header.mobile.tsx +2 -2
- package/src/components/Headline/Headline.fixture.mobile.tsx +2 -1
- package/src/components/Headline/Headline.fixture.tsx +2 -1
- package/src/components/HorizontalLayout/HorizontalLayout.fixture.tsx +2 -1
- package/src/components/ImgBlock/ImgBlock.fixture.mobile.tsx +2 -1
- package/src/components/ImgBlock/ImgBlock.fixture.tsx +2 -1
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.fixture.tsx +1 -0
- package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +2 -2
- package/src/components/InvestmentInfo/InvestmentInfo.fixture.tsx +1 -0
- package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -6
- package/src/components/LinkDocs/LinkDocs.fixture.mobile.tsx +1 -0
- package/src/components/LinkDocs/LinkDocs.fixture.tsx +1 -0
- package/src/components/LinkDocs/LinkDocs.ui.json +9 -1
- package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +2 -1
- package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +5 -1
- package/src/components/MobileAppTile/MobileAppTile.tsx +1 -1
- package/src/components/{Filtration/Filtration.fixture.tsx → MortgageFiltration/MortgageFiltration.fixture.tsx} +7 -5
- package/src/components/MortgageFiltration/MortgageFiltration.tsx +29 -0
- package/src/components/MortgageFiltration/MortgageFiltrationContent.ts +23 -0
- package/src/components/OfficeMap/OfficeMap.fixture.tsx +1 -0
- package/src/components/OfficeMap/OfficeMap.tsx +2 -2
- package/src/components/OfficeMap/useOfficeMap.ts +1 -3
- package/src/components/OfficeServicesBlock/OfficeServicesBlock.fixture.tsx +1 -0
- package/src/components/ParagraphBlock/ParagraphBlock.fixture.tsx +1 -0
- package/src/components/PictureText/PictureText.fixture.tsx +2 -1
- package/src/components/PictureText/PictureText.tsx +2 -2
- package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +2 -1
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +3 -3
- package/src/components/ProductBlock/ProductBlock.tsx +14 -31
- package/src/components/ProductBlock/ProductBlockContent.ts +0 -13
- package/src/components/ProductBlock/ProductBlockInner.tsx +29 -46
- package/src/components/ProductBlock/renderBackwardButton.tsx +11 -14
- package/src/components/ProductBlock/renderBenefit.tsx +3 -12
- package/src/components/ProductGallery/ProductGallery.fixture.tsx +2 -1
- package/src/components/ProductGallery/ProductGallery.tsx +50 -73
- package/src/components/ProductTile/ProductTile.fixture.tsx +2 -1
- package/src/components/PromoTile/PromoTile.fixture.tsx +1 -0
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +1 -0
- package/src/components/RichTextBlock/RichTextBlock.fixture.mobile.tsx +1 -0
- package/src/components/RichTextBlock/RichTextBlock.fixture.tsx +1 -0
- package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +24 -3
- package/src/components/RollupItem/RollupItem.fixture.tsx +2 -0
- package/src/components/RollupItem/RollupItem.tsx +73 -34
- package/src/components/RollupItem/RollupItemContent.ts +2 -0
- package/src/components/RollupItem/foldableSectionStyles.mobile.ts +1 -0
- package/src/components/RollupItem/foldableSectionStyles.ts +1 -0
- package/src/components/RollupItem/getIconName.mobile.tsx +2 -0
- package/src/components/RollupItem/getIconName.tsx +1 -0
- package/src/components/RollupItem/labelSize.mobile.tsx +1 -0
- package/src/components/RollupItem/labelSize.tsx +1 -0
- package/src/components/RollupItem/rollupIconVersion.mobile.tsx +1 -0
- package/src/components/RollupItem/rollupIconVersion.tsx +1 -0
- package/src/components/RollupItem/rollupItemStyles.mobile.ts +1 -0
- package/src/components/RollupItem/rollupItemStyles.ts +2 -0
- package/src/components/SafeDepositRental/SafeDepositRental.fixture.tsx +1 -0
- package/src/components/StepsBlock/StepsBlock.fixture.mobile.tsx +1 -0
- package/src/components/StepsBlock/StepsBlock.fixture.tsx +1 -0
- package/src/components/SwipeListControlBlock/SwipeListControlBlock.fixture.tsx +2 -0
- package/src/components/Tabs/Tabs.fixture.tsx +1 -0
- package/src/components/TariffsTable/TariffsTable.fixture.mobile.tsx +1 -0
- package/src/components/TariffsTable/TariffsTable.fixture.tsx +1 -0
- package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +2 -1
- package/src/components/TextBlock/TextBlock.fixture.tsx +2 -1
- package/src/components/Tile/Tile.fixture.tsx +2 -1
- package/src/components/Tile/Tile.tsx +2 -8
- package/src/components/VerticalLayout/VerticalLayout.fixture.mobile.tsx +71 -2
- package/src/components/VerticalLayout/VerticalLayout.fixture.tsx +3 -2
- package/src/components/Video/Video.fixture.tsx +2 -0
- package/src/content-page-repository/transformContentPage.ts +19 -7
- package/src/content-page-repository/transformDocumentLink.ts +37 -0
- package/src/hooks/useForm.ts +16 -8
- package/src/hooks/useNormalizedInput.ts +33 -0
- package/src/hooks/useSWRResource.ts +3 -1
- package/src/icons/ArrowDownSolidIcon.svg +1 -0
- package/src/icons/ArrowUpSolidIcon.svg +1 -0
- package/src/icons/BagIcon.svg +1 -0
- package/src/icons/BriefcaseIcon.svg +7 -0
- package/src/icons/ClientIcon.svg +1 -0
- package/src/icons/IconName.ts +19 -1
- package/src/services/search/useSearch.ts +3 -2
- package/src/services/sitemap/SitemapData.ts +1 -1
- package/src/{components/Filtration/FiltrationContent.ts → ui-kit/BaseFiltration/BaseFiltrationContent.ts} +38 -24
- package/src/{components/Filtration/FiltrationInner.tsx → ui-kit/BaseFiltration/BaseFiltrationInner.tsx} +9 -9
- package/src/ui-kit/BaseFiltration/checkShouldRenderBlock.ts +49 -0
- package/src/ui-kit/BaseFiltration/renderFiltrationForm.tsx +75 -0
- package/src/ui-kit/BenefitItem/BenefitItem.tsx +17 -19
- package/src/ui-kit/BlockWrapper.tsx +1 -9
- package/src/ui-kit/Button/Button.fixture.tsx +1 -0
- package/src/ui-kit/Button/renderButtonsSection.tsx +1 -1
- package/src/ui-kit/ControlProps.ts +1 -1
- package/src/ui-kit/CurrencyInput/CurrencyInput.tsx +12 -38
- package/src/ui-kit/Foldable/DefaultFoldButton.tsx +1 -1
- package/src/ui-kit/Heading/Heading.fixture.mobile.tsx +2 -0
- package/src/ui-kit/Heading/Heading.fixture.tsx +2 -0
- package/src/ui-kit/Icon/Icon.fixture.tsx +2 -1
- package/src/ui-kit/Icon/IconProps.ts +5 -0
- package/src/ui-kit/Icon/RoundedIcon.tsx +16 -0
- package/src/ui-kit/Input/Input.tsx +33 -16
- package/src/ui-kit/Input/InputProps.ts +4 -5
- package/src/ui-kit/InputRange/InputRange.tsx +43 -49
- package/src/ui-kit/InputRange/InputRangeProps.ts +2 -4
- package/src/ui-kit/LinkButton/LinkButton.fixture.tsx +2 -0
- package/{mobile/src/components/LinkList/linkListContentExample.ts → src/ui-kit/LinkList/LinkList.fixture.tsx} +13 -3
- package/src/ui-kit/LinkList/LinkList.tsx +25 -0
- package/src/ui-kit/LinkList/LinkListProps.tsx +6 -0
- package/src/ui-kit/LinkList/linkListStyles.mobile.ts +1 -0
- package/src/ui-kit/LinkList/linkListStyles.ts +1 -0
- package/src/ui-kit/List/List.fixture.tsx +1 -0
- package/src/ui-kit/List/List.tsx +10 -11
- package/src/ui-kit/List/ListItem.tsx +11 -7
- package/src/ui-kit/List/ListProps.ts +0 -2
- package/src/ui-kit/LocationDialog/LocationDialog.fixture.tsx +2 -1
- package/src/ui-kit/NumberInput/NumberInput.fixture.tsx +31 -0
- package/src/ui-kit/NumberInput/NumberInput.tsx +35 -0
- package/src/ui-kit/PhoneInput/PhoneInput.tsx +2 -3
- package/src/ui-kit/RadioButtonGroup/RadioButtonGroup.fixture.tsx +1 -0
- package/src/ui-kit/RichText/RichText.fixture.tsx +2 -0
- package/src/ui-kit/SearchBar/SearchBar.tsx +36 -2
- package/src/ui-kit/SearchDialog/SearchDialog.tsx +1 -1
- package/src/ui-kit/SearchDialog/SearchInput.tsx +1 -3
- package/src/ui-kit/Select/Select.fixture.tsx +2 -0
- package/src/ui-kit/SlideCheckbox/SlideCheckbox.fixture.tsx +2 -0
- package/src/ui-kit/SlideCheckboxGroup/SlideCheckboxGroup.tsx +9 -5
- package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +2 -1
- package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.tsx +2 -1
- package/src/ui-kit/Tags/Tags.fixture.tsx +2 -0
- package/src/utils/identity.ts +1 -0
- package/src/utils/isEmpty.ts +6 -0
- package/src/utils/joinList.ts +4 -4
- package/src/utils/toLocalNumberFormat.ts +7 -0
- package/tailwind.config.cjs +10 -5
- package/bundle/components/BaseTile/BaseTileProps.d.ts +0 -14
- package/bundle/components/Filtration/Filtration.d.ts +0 -6
- package/bundle/components/Filtration/FiltrationInner.d.ts +0 -7
- package/bundle/components/Filtration/renderFormItem.d.ts +0 -4
- package/bundle/components/Footer/TextInformation.mobile.d.ts +0 -2
- package/bundle/components/LinkList/LinkList.d.ts +0 -5
- package/bundle/components/LinkList/LinkListContent.d.ts +0 -9
- package/bundle/components/LinkList/linkListContentExample.d.ts +0 -2
- package/bundle/components/ProductBlock/ProductBlock.mobile.d.ts +0 -5
- package/bundle/components/ProductBlock/ProductBlockInner.mobile.d.ts +0 -4
- package/bundle/components/RollupItem/RollupItem.mobile.d.ts +0 -5
- package/bundle/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
- package/bundle/ui-kit/SearchBar/SearchBar.mobile.d.ts +0 -2
- package/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
- package/bundle/utils/addSpacesBetweenNumbers.d.ts +0 -1
- package/dist/components/BaseTile/BaseTileProps.d.ts +0 -14
- package/dist/components/BaseTile/BaseTileProps.js.map +0 -1
- package/dist/components/Filtration/Filtration.d.ts +0 -6
- package/dist/components/Filtration/Filtration.js +0 -18
- package/dist/components/Filtration/Filtration.js.map +0 -1
- package/dist/components/Filtration/FiltrationContent.js.map +0 -1
- package/dist/components/Filtration/FiltrationInner.d.ts +0 -7
- package/dist/components/Filtration/FiltrationInner.js.map +0 -1
- package/dist/components/Filtration/checkShouldRenderBlock.js +0 -11
- package/dist/components/Filtration/checkShouldRenderBlock.js.map +0 -1
- package/dist/components/Filtration/renderFormItem.d.ts +0 -4
- package/dist/components/Filtration/renderFormItem.js.map +0 -1
- package/dist/components/Footer/TextInformation.mobile.d.ts +0 -2
- package/dist/components/Footer/TextInformation.mobile.js +0 -9
- package/dist/components/Footer/TextInformation.mobile.js.map +0 -1
- package/dist/components/LinkList/LinkList.d.ts +0 -5
- package/dist/components/LinkList/LinkList.js +0 -13
- package/dist/components/LinkList/LinkList.js.map +0 -1
- package/dist/components/LinkList/LinkListContent.d.ts +0 -9
- package/dist/components/LinkList/LinkListContent.js.map +0 -1
- package/dist/components/LinkList/linkListContentExample.d.ts +0 -2
- package/dist/components/LinkList/linkListContentExample.js +0 -23
- package/dist/components/LinkList/linkListContentExample.js.map +0 -1
- package/dist/components/ProductBlock/ProductBlock.mobile.d.ts +0 -5
- package/dist/components/ProductBlock/ProductBlock.mobile.js +0 -11
- package/dist/components/ProductBlock/ProductBlock.mobile.js.map +0 -1
- package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +0 -4
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js +0 -18
- package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +0 -1
- package/dist/components/RollupItem/RollupItem.mobile.d.ts +0 -5
- package/dist/components/RollupItem/RollupItem.mobile.js +0 -30
- package/dist/components/RollupItem/RollupItem.mobile.js.map +0 -1
- package/dist/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
- package/dist/ui-kit/CurrencyInput/CurrencyInputProps.js.map +0 -1
- package/dist/ui-kit/SearchBar/SearchBar.mobile.d.ts +0 -2
- package/dist/ui-kit/SearchBar/SearchBar.mobile.js +0 -7
- package/dist/ui-kit/SearchBar/SearchBar.mobile.js.map +0 -1
- package/dist/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
- package/dist/ui-kit/SearchBar/SearchBarInner.js +0 -26
- package/dist/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
- package/dist/utils/addSpacesBetweenNumbers.d.ts +0 -1
- package/dist/utils/addSpacesBetweenNumbers.js +0 -5
- package/dist/utils/addSpacesBetweenNumbers.js.map +0 -1
- package/lib/components/BaseTile/BaseTileProps.d.ts +0 -14
- package/lib/components/BaseTile/BaseTileProps.js +0 -2
- package/lib/components/BaseTile/BaseTileProps.js.map +0 -1
- package/lib/components/Filtration/Filtration.d.ts +0 -6
- package/lib/components/Filtration/Filtration.js +0 -16
- package/lib/components/Filtration/Filtration.js.map +0 -1
- package/lib/components/Filtration/FiltrationContent.js +0 -2
- package/lib/components/Filtration/FiltrationContent.js.map +0 -1
- package/lib/components/Filtration/FiltrationInner.d.ts +0 -7
- package/lib/components/Filtration/FiltrationInner.js.map +0 -1
- package/lib/components/Filtration/checkShouldRenderBlock.js +0 -8
- package/lib/components/Filtration/checkShouldRenderBlock.js.map +0 -1
- package/lib/components/Filtration/renderFormItem.d.ts +0 -4
- package/lib/components/Filtration/renderFormItem.js +0 -19
- package/lib/components/Filtration/renderFormItem.js.map +0 -1
- package/lib/components/Footer/TextInformation.mobile.d.ts +0 -2
- package/lib/components/Footer/TextInformation.mobile.js +0 -7
- package/lib/components/Footer/TextInformation.mobile.js.map +0 -1
- package/lib/components/LinkList/LinkList.d.ts +0 -5
- package/lib/components/LinkList/LinkList.js +0 -11
- package/lib/components/LinkList/LinkList.js.map +0 -1
- package/lib/components/LinkList/LinkListContent.d.ts +0 -9
- package/lib/components/LinkList/LinkListContent.js +0 -2
- package/lib/components/LinkList/LinkListContent.js.map +0 -1
- package/lib/components/LinkList/linkListContentExample.d.ts +0 -2
- package/lib/components/LinkList/linkListContentExample.js +0 -21
- package/lib/components/LinkList/linkListContentExample.js.map +0 -1
- package/lib/components/ProductBlock/ProductBlock.mobile.d.ts +0 -5
- package/lib/components/ProductBlock/ProductBlock.mobile.js +0 -9
- package/lib/components/ProductBlock/ProductBlock.mobile.js.map +0 -1
- package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +0 -4
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js +0 -16
- package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +0 -1
- package/lib/components/RollupItem/RollupItem.mobile.d.ts +0 -5
- package/lib/components/RollupItem/RollupItem.mobile.js +0 -28
- package/lib/components/RollupItem/RollupItem.mobile.js.map +0 -1
- package/lib/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
- package/lib/ui-kit/CurrencyInput/CurrencyInputProps.js +0 -2
- package/lib/ui-kit/CurrencyInput/CurrencyInputProps.js.map +0 -1
- package/lib/ui-kit/SearchBar/SearchBar.mobile.d.ts +0 -2
- package/lib/ui-kit/SearchBar/SearchBar.mobile.js +0 -5
- package/lib/ui-kit/SearchBar/SearchBar.mobile.js.map +0 -1
- package/lib/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
- package/lib/ui-kit/SearchBar/SearchBarInner.js +0 -24
- package/lib/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
- package/lib/utils/addSpacesBetweenNumbers.d.ts +0 -1
- package/lib/utils/addSpacesBetweenNumbers.js +0 -2
- package/lib/utils/addSpacesBetweenNumbers.js.map +0 -1
- package/mobile/bundle/components/BaseTile/BaseTileProps.d.ts +0 -14
- package/mobile/bundle/components/Filtration/Filtration.d.ts +0 -6
- package/mobile/bundle/components/Filtration/FiltrationInner.d.ts +0 -7
- package/mobile/bundle/components/Filtration/renderFormItem.d.ts +0 -4
- package/mobile/bundle/components/LinkList/LinkList.d.ts +0 -5
- package/mobile/bundle/components/LinkList/LinkListContent.d.ts +0 -9
- package/mobile/bundle/components/LinkList/linkListContentExample.d.ts +0 -2
- package/mobile/bundle/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
- package/mobile/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
- package/mobile/bundle/utils/addSpacesBetweenNumbers.d.ts +0 -1
- package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +0 -14
- package/mobile/dist/components/BaseTile/BaseTileProps.js.map +0 -1
- package/mobile/dist/components/Filtration/Filtration.d.ts +0 -6
- package/mobile/dist/components/Filtration/Filtration.js +0 -18
- package/mobile/dist/components/Filtration/Filtration.js.map +0 -1
- package/mobile/dist/components/Filtration/FiltrationContent.d.ts +0 -88
- package/mobile/dist/components/Filtration/FiltrationContent.js +0 -2
- package/mobile/dist/components/Filtration/FiltrationContent.js.map +0 -1
- package/mobile/dist/components/Filtration/FiltrationInner.d.ts +0 -7
- package/mobile/dist/components/Filtration/FiltrationInner.js.map +0 -1
- package/mobile/dist/components/Filtration/checkShouldRenderBlock.js +0 -11
- package/mobile/dist/components/Filtration/checkShouldRenderBlock.js.map +0 -1
- package/mobile/dist/components/Filtration/renderFormItem.d.ts +0 -4
- package/mobile/dist/components/Filtration/renderFormItem.js.map +0 -1
- package/mobile/dist/components/LinkList/LinkList.d.ts +0 -5
- package/mobile/dist/components/LinkList/LinkList.js +0 -13
- package/mobile/dist/components/LinkList/LinkList.js.map +0 -1
- package/mobile/dist/components/LinkList/LinkListContent.d.ts +0 -9
- package/mobile/dist/components/LinkList/LinkListContent.js +0 -2
- package/mobile/dist/components/LinkList/LinkListContent.js.map +0 -1
- package/mobile/dist/components/LinkList/linkListContentExample.d.ts +0 -2
- package/mobile/dist/components/LinkList/linkListContentExample.js +0 -23
- package/mobile/dist/components/LinkList/linkListContentExample.js.map +0 -1
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInputProps.js +0 -2
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInputProps.js.map +0 -1
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js +0 -26
- package/mobile/dist/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
- package/mobile/dist/utils/addSpacesBetweenNumbers.d.ts +0 -1
- package/mobile/dist/utils/addSpacesBetweenNumbers.js +0 -5
- package/mobile/dist/utils/addSpacesBetweenNumbers.js.map +0 -1
- package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +0 -14
- package/mobile/lib/components/BaseTile/BaseTileProps.js +0 -2
- package/mobile/lib/components/BaseTile/BaseTileProps.js.map +0 -1
- package/mobile/lib/components/Filtration/Filtration.d.ts +0 -6
- package/mobile/lib/components/Filtration/Filtration.js +0 -16
- package/mobile/lib/components/Filtration/Filtration.js.map +0 -1
- package/mobile/lib/components/Filtration/FiltrationContent.d.ts +0 -88
- package/mobile/lib/components/Filtration/FiltrationContent.js +0 -2
- package/mobile/lib/components/Filtration/FiltrationContent.js.map +0 -1
- package/mobile/lib/components/Filtration/FiltrationInner.d.ts +0 -7
- package/mobile/lib/components/Filtration/FiltrationInner.js.map +0 -1
- package/mobile/lib/components/Filtration/checkShouldRenderBlock.js +0 -8
- package/mobile/lib/components/Filtration/checkShouldRenderBlock.js.map +0 -1
- package/mobile/lib/components/Filtration/renderFormItem.d.ts +0 -4
- package/mobile/lib/components/Filtration/renderFormItem.js +0 -19
- package/mobile/lib/components/Filtration/renderFormItem.js.map +0 -1
- package/mobile/lib/components/LinkList/LinkList.d.ts +0 -5
- package/mobile/lib/components/LinkList/LinkList.js +0 -11
- package/mobile/lib/components/LinkList/LinkList.js.map +0 -1
- package/mobile/lib/components/LinkList/LinkListContent.d.ts +0 -9
- package/mobile/lib/components/LinkList/LinkListContent.js +0 -2
- package/mobile/lib/components/LinkList/LinkListContent.js.map +0 -1
- package/mobile/lib/components/LinkList/linkListContentExample.d.ts +0 -2
- package/mobile/lib/components/LinkList/linkListContentExample.js +0 -21
- package/mobile/lib/components/LinkList/linkListContentExample.js.map +0 -1
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +0 -5
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInputProps.js +0 -2
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInputProps.js.map +0 -1
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.d.ts +0 -5
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js +0 -24
- package/mobile/lib/ui-kit/SearchBar/SearchBarInner.js.map +0 -1
- package/mobile/lib/utils/addSpacesBetweenNumbers.d.ts +0 -1
- package/mobile/lib/utils/addSpacesBetweenNumbers.js +0 -2
- package/mobile/lib/utils/addSpacesBetweenNumbers.js.map +0 -1
- package/mobile/src/components/BaseTile/BaseTileProps.ts +0 -15
- package/mobile/src/components/Filtration/Filtration.tsx +0 -38
- package/mobile/src/components/Filtration/checkShouldRenderBlock.ts +0 -18
- package/mobile/src/components/Filtration/renderFormItem.tsx +0 -36
- package/mobile/src/components/LinkList/LinkList.example.json +0 -23
- package/mobile/src/components/LinkList/LinkList.tsx +0 -29
- package/mobile/src/components/LinkList/LinkListContent.ts +0 -10
- package/mobile/src/ui-kit/CurrencyInput/CurrencyInputProps.ts +0 -6
- package/mobile/src/ui-kit/SearchBar/SearchBarInner.tsx +0 -41
- package/mobile/src/utils/addSpacesBetweenNumbers.ts +0 -2
- package/src/components/BaseTile/BaseTileProps.ts +0 -15
- package/src/components/Filtration/Filtration.tsx +0 -38
- package/src/components/Filtration/Filtration.ui.json +0 -1
- package/src/components/Filtration/checkShouldRenderBlock.ts +0 -18
- package/src/components/Filtration/renderFormItem.tsx +0 -36
- package/src/components/Footer/TextInformation.mobile.tsx +0 -22
- package/src/components/Gallery/Gallery.ui.json +0 -1
- package/src/components/LinkList/LinkList.example.json +0 -23
- package/src/components/LinkList/LinkList.fixture.tsx +0 -11
- package/src/components/LinkList/LinkList.tsx +0 -29
- package/src/components/LinkList/LinkList.ui.json +0 -1
- package/src/components/LinkList/LinkListContent.ts +0 -10
- package/src/components/LinkList/linkListContentExample.ts +0 -22
- package/src/components/MiniGallery/MiniGallery.ui.json +0 -1
- package/src/components/ProductBlock/ProductBlock.mobile.tsx +0 -17
- package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +0 -65
- package/src/components/RollupItem/RollupItem.mobile.tsx +0 -122
- package/src/ui-kit/CurrencyInput/CurrencyInputProps.ts +0 -6
- package/src/ui-kit/SearchBar/SearchBar.mobile.tsx +0 -6
- package/src/ui-kit/SearchBar/SearchBarInner.tsx +0 -41
- package/src/utils/addSpacesBetweenNumbers.ts +0 -2
- /package/bundle/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
- /package/dist/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
- /package/lib/components/{LinkList/LinkList.fixture.d.ts → DepositFiltration/DepositFiltration.fixture.d.ts} +0 -0
- /package/lib/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
- /package/mobile/bundle/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
- /package/mobile/dist/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
- /package/mobile/lib/{components/Filtration → ui-kit/BaseFiltration}/checkShouldRenderBlock.d.ts +0 -0
- /package/mobile/src/components/{Filtration/Filtration.ui.json → DepositFiltration/DepositFiltration.ui.json} +0 -0
- /package/mobile/src/components/{Filtration/Filtration.example.json → MortgageFiltration/MortgageFiltration.example.json} +0 -0
- /package/mobile/src/components/{Gallery/Gallery.ui.json → MortgageFiltration/MortgageFiltration.ui.json} +0 -0
- /package/{mobile/src/components/LinkList/LinkList.ui.json → src/components/DepositFiltration/DepositFiltration.ui.json} +0 -0
- /package/src/components/{Filtration/Filtration.example.json → MortgageFiltration/MortgageFiltration.example.json} +0 -0
- /package/{mobile/src/components/MiniGallery/MiniGallery.ui.json → src/components/MortgageFiltration/MortgageFiltration.ui.json} +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},x=(...e)=>e.flatMap((e=>e)).filter(Boolean).join(" "),f=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),y=[];function v(e,t,{className:n,...i}={}){const{key:r,blockDecorator:l=f,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:x("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 $={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","":""},R=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:x(A(Boolean(t&&n)),$[t],h?"hidden":"",e),...t&&n?{"data-ver":t}:{},...a?.anchor?{id:a.anchor,ref:m}:{},role:o,children:c})})),A=e=>e?"group":"",M=e=>({height:"calc(100vh - 242px)",minHeight:`${e||866}px`}),j=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})})),L=["min-w-[100%]","min-w-[50%]","min-w-[33.33%]","min-w-[25%]"],P=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([]),f=l(((e,t)=>{const n=[...b.current||[]];n[e]=t,b.current=n,h&&h(n),p&&p(B(n))}),[h,p]),y=i>0?r*Number(i)-1:0,v="vertical-list"===o,N="horizontal-list"===o,w={...N?O(a,y):{},...v?M(d):{},gap:`${r}px`};return u("div",{className:x("box-border overflow-auto no-scrollbar",o,e),style:w,ref:t,children:(k=(e,t)=>u(j,{className:x(c,i?L[i-1]:"",v?"h-full":""),style:N?O(a/4):{},activeIndex:n,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})),O=(e,t=0)=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e+t}px`}),B=e=>e.map(((e,t)=>[e,t])).filter((([e])=>e&&e.intersectionRatio>=.9)).map((([,e])=>e)),D={"horizontal-list":"mx-auto mt-5 w-fit","vertical-list":"absolute flex-col justify-center h-full top-0 left-4"},z={"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:x("flex gap-2",D[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?z[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:x(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`:"100%"},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","":""},xe="bg-main-divider text-main-disabled",fe={primary:xe,secondary:xe,white:xe,link:"",transparent:"",gray:xe,"":""},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:x(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?fe[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}))),$e=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"})}))),Re=g((e=>u($e,{...e,ariaLabel:"Пролистать влево","data-block-control":"scroll-left"}))),Ae=g((e=>u($e,{...e,className:`${e.className||""} rotate-180`,ariaLabel:"Пролистать вправо","data-block-control":"scroll-right"}))),Me="absolute top-[calc(50%-24px)] z-40",je="absolute top-0 bottom-0 z-40 w-[84px] pointer-events-none",Le=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,f=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:[Pe(n,e),g?u(Re,{className:x(Me,t?"left-8":"left-0"),onClick:f}):null,b?u(Ae,{className:x(Me,t?"right-8":"right-0"),onClick:y}):null]})})),Pe=(e,t)=>e?p("div",{children:[t.canScrollLeft?u("div",{className:x(je,"left-0 bg-opacity-from-white")}):null,t.canScrollRight?u("div",{className:x(je,"right-0 bg-opacity-to-white")}):null]}):null,Oe=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,f]=i(Math.floor((n||0)/2)),y=l((()=>f((e=>e+1))),[]),N=l((()=>f((e=>e-1))),[]),[w,C]=W({itemCount:g,isCyclic:a}),[T]=C.visibleIndicesRange,S=h&&"CarouselBankHistoryCard"===h[0]?.type;return u(R,{className:x(Be(o),"group-data-secondary:bg-primary-main group-data-secondary:text-white",e),...m,children:p("div",{className:x(De(d),"relative max-w-full"),children:[u(P,{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(Le,{scroll:C,isBlur:r,arrowsPadded:s,onScrollLeft:N,onScrollRight:y,hasEdgeBlocks:S,activeIndex:b,itemCount:g}),c?ze(w,T,g):null]})})}));Oe.childrenTypes=["CarouselCard","CarouselBankHistoryCard","CarouselCatalogCard","CarouselInvestmentCard","CarouselProductCard","CarouselProgramsCard","CarouselRecommendationCard","CarouselTariffsCard","CarouselRichTextCard","CarouselInvestmentCard","CarouselEventCard"];const Be=e=>e?"p-default":"",De=e=>e?"flex justify-center":"",ze=(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:x("block",e),...t?l:{},children:r})})),Ee={L:"w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-4",M:"w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-3",S:"w-1 h-1 min-w-1 min-h-1 mr-2"},He=g((({className:e="",isDotted:t=!0,children:n,size:i="M"})=>p("div",{className:`font-sans flex items-baseline ${e}`,role:"listitem",children:[t?u("div",{children:u("div",{className:`rounded-full align-middle inline-block 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,itemClassName:i="",items:r,listItemSize:l="M"})=>r?.length?u("section",{className:`text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text ${Fe[l]} ${t?Ue[l]:""} ${e}`,role:"list",children:r.map(((e,t)=>u(He,{className:i,isDotted:n,size:l,children:e},String(t))))}):null)),Xe=[{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"}],We={default:"w-14 h-14",small:"w-12 h-12"},Ge=(e,t)=>e?"":`group/media flex items-center justify-center box-border ${We[t]}`,Ye=g((({buttonSize:e="default",rounded:t=!1,icon:n,...i})=>{const{href:r,version:l,text:a=""}=i,{iconMapped:s,label:o}=Xe.find((({origins:e})=>e.some((e=>r?.includes(e)))))||{},c=Ke(n)??s;return u(Se,{className:x(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",Ge(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(R,{className:x(m,e),version:o,isTheme:s,...c,children:[t?u(Ze,{className:x("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(R,{className:x("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:x("flex",i?"flex-col gap-2":"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(R,{className:x("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:"ХИТ"})]}),xt=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:x(e,"vertical-list"===s?"relative h-full":""),children:[u(P,{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]})})),ft=(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:ft(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(xt,{onVisibleIndicesChange:m,children:h}):h})),_t=new Map;function It(e,t,{fallback:n}={}){const l=a((()=>$t(e)),[e]),[s,o]=i(),[c,d]=i(),m=e=>{o(e),d(void 0)},h=e=>{o(void 0),d(e)};r((()=>{if(!l.every((e=>null===e)))try{const e=t(...l);"then"in e?(e=>{e.then((e=>_t.get(l)||e)).then(m).catch(h)})(e):m(e)}catch(e){h(e)}}),[t,...l]);const u=l[0],p=n&&"string"==typeof u&&n[u];return{data:!s&&p?p:s,error:c,mutate:()=>Promise.resolve(void 0),isValidating:!1}}function $t(e){return e?Array.isArray(e)?e:e instanceof Function?$t(e()):[e]:[e]}async function Rt(e,t){const n=await fetch(e,{...t,headers:{...t?.headers,"Content-Type":"application/json"}});return await n.json()}function At(e,t={}){const{data:n}=It(`/wcms-resources/${e}.json`,Rt,{fallback:t});return n||{}}const Mt=g((({className:e,onClick:t})=>u("button",{className:x("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 jt(e){throw new Error(e)}function Lt({onOpen:e,onClose:t}={}){r((()=>T.subscribe("dialog",(n=>{switch(n.type){case"open":e&&e(n);break;case"close":t&&t();break;default:jt(n)}}))),[e,t])}function Pt(e,...t){return e.map(((e,n)=>[e,...t.map((e=>e[n]))]))}const Ot=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 Bt=(e,t)=>(n,i)=>{for(const[r,l]of i)n.set(r,e(n.get(r)||t,l));return n},Dt=e=>e.toLowerCase().split(/[^0-9a-zа-я-]+/).filter((e=>e.length>=3&&!/[0-9a-z]/.test(e))),zt=e=>t=>e.map((([e,n])=>[Ot(t)(e),n])).filter((([e])=>e>=.8)).map((([e,t])=>Et(t,e))).reduce(Bt(Math.max,0),new Map),Vt=e=>t=>{return Pt(t,t.map((({title:e})=>e)).map((e=>t=>{const n=Dt(t||"");return n.length?((e=[])=>e.reduce(((e,t)=>e+t),0))(e.map((e=>F(n.map(Ot(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},Et=(e,t)=>new Map(e.map((e=>[e,t]))),Ht=({basePathList:e=["/"],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}=It(o,Ft),[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=Dt(e);if(!r.length)return[];const l=Object.entries(i),a=[...r.map(zt(l)).reduce(Bt(((e,t)=>e+t),0),new Map).entries()].filter((([,e])=>e>=.799*r.length)).map((([e])=>n[e]));return Vt(r)(a)})(l)))}),[c,l]),[d,{value:l,onChange:s}]},Ft=async(...e)=>(await Promise.allSettled(e.map((e=>async function(e,t){try{return e?await Rt(e,t):null}catch(e){console.error(e)}return null}(q(e,"/","search.index.json")))))).map((e=>"fulfilled"===e.status?e.value:{})),Ut=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:x("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(Mt,{className:"absolute top-10 -right-12",onClick:l}),n]}),i]})}):null)));function Jt(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 Xt(e,t=!1){const[n,{setTrue:r,setFalse:a}]=Jt(t),[o,c]=i({id:e}),d=s(n);d.current||=n;Lt({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 Wt=g((({className:e,topItems:t})=>{const n=ge({isRemote:!0});return u("div",{className:x("flex items-start justify-between",e),children:t?.map(n).map(Gt)})})),Gt=(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(Yt,{...e,basePath:o(r),index:t},String(t))))]},String(t))},Yt=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:x("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}`})})),Kt=g((({className:e,isMobile:t,value:n,autoFocus:i,onChange:r,onFocus:a})=>{const s=l((e=>{r&&r(e.target?.value||"")}),[r]);return p("div",{className:x("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:x("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",t?"":"h-full"),value:n,type:"text",name:"search-bar-input",placeholder:"Поиск по сайту",autoFocus:i,onChange:s,onFocus:a})]})})),Qt="search";g((({topItems:e})=>{const t=Xt(Qt),n=e?.map((e=>e.href||"/")),[i,l]=Ht({basePathList:n,initialQuery:t.message,wasOpened:t.wasOpened}),s=a((()=>qt(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(Ut,{...t,head:u(Kt,{className:"my-5",autoFocus:!0,...l}),children:u(Wt,{topItems:s})})}));const qt=e=>t=>e?.length&&t?.length?Pt(e,t).map((([e,t])=>({...e,items:t?.map((({title:e,uri:t})=>({text:e,href:q("/",t)})))}))):[];const Zt=g((({className:e,isMobile:t})=>{const[n,r]=i(""),a=l((()=>r("")),[]);Lt({onClose:a});const{open:s}=ue(Qt),o=l((e=>{r(e),en(e)&&s(e)}),[]);return p("div",{className:e,children:[u(Kt,{isMobile:t,value:n,onChange:o}),t?u(Mt,{className:"absolute top-2 right-3",onClick:a}):null]})})),en=e=>e&&e.length>=3,tn=g((e=>u(Zt,{...e,isMobile:!0}))),nn=g((({className:e="",documents:t,...n})=>u(R,{className:`mt-2.5 ${e}`,...n,children:u("ul",{className:"flex flex-col text-s text-secondary-text p-0",children:t?.length?rn(t):null})}))),rn=e=>e.map(((e,t)=>{const{text:n,...i}=e;return u("li",{className:"mb-4 list-none",children:u("a",{className:"hover:text-primary-main",role:"link",...i,children:n||null})},`list_item_${String(t)}`)})),ln={"bg-white":"color",transparent:"white"},an={"bg-white":"text-primary-main",transparent:"text-white"},sn=(e,t,n)=>u(he,t?.src?{image:t,className:an[e],width:n?.width,height:n?.height,pathPrefix:"/wcms-resources/"}:{image:{icon:t?.icon||"LogoIcon",iconVersion:ln[e]},className:an[e],width:n?.width,height:n?.height}),on={"bg-white":"text-primary-text",transparent:"text-white"},cn=(e,t,n)=>u("span",{className:`${on[t]} ml-2.5 font-medium ${n||""}`,children:e||"Россельхозбанк"}),dn=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:[sn(e,r?.image,{width:"34",height:"34"}),l?cn(t||r?.title,e,"text-s"):null]}))),mn=g((({className:e="",title:t="Мобильное приложение",description:n,href:i="#"})=>u("div",{className:`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 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(dn,{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}))),hn=g((({className:e="",label:t,icon:n,dataTheme:i="",disabled:r=!1,onClick:l})=>p("button",{className:x("flex justify-center w-full px-0 py-5 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]}))),un=g((({className:e="",label:t="Развернуть",isExpanded:n,isFoldButtonOnTop:i=!0,version:r="primary",...l})=>u(R,{className:x("border-b border-solid border-main-divider w-full",e),tag:"div",version:"transparent",...l,children:u(lt,{isFoldButtonOnTop:i,unfoldedByDefault:n,renderFoldableSection:({isUnfolded:e})=>u(at,{className:"flex flex-wrap group-last:last:pb-0 gap-5 [&>*]:p-0",isUnfolded:e,children:k(l)}),renderFoldButton:({isUnfolded:e,onToggle:n})=>pn({version:r,label:t,isUnfolded:e,onToggle:n})})})));un.childrenTypes={exclude:["RollupItem"]};const pn=({version:e,label:t,isUnfolded:n,onToggle:i,className:r="",primaryIcon:l})=>{const a=t||(n?"Скрыть":"Развернуть");return"primary"===e?gn({label:a,icon:n?"MinusIcon":"PlusIcon",onToggle:i,className:r,primaryIcon:l}):u(hn,{label:a,icon:n?"ArrowUpIcon":"ArrowDownIcon",onClick:i})},gn=({label:e,icon:t,primaryIcon:n,onToggle:i})=>p("button",{className:"border-none bg-transparent flex justify-between text-left w-full text-primary-text group cursor-pointer py-3.5 px-0",onClick:i,children:[p("div",{className:"flex group-hover:text-primary-main",children:[n?u(he,{image:n,className:"mr-3 flex-shrink-0",width:"24",height:"24"}):null,u(mt,{size:"text-m-title-xs",font:"font-medium",children:e})]}),u(he,{className:"flex-shrink-0",image:{icon:t},width:"24",height:"24"})]}),bn=g((({className:e="",items:t,hasButton:n})=>p("div",{className:e,children:[t?.length?t.map(xn):null,n?u(Se,{version:"primary",className:"mb-6 w-full",href:"https://www.rshb.ru/feedback/question/",target:"_blank",ariaLabel:"Обратная связь",text:"Обратная связь"}):null]}))),xn=(e,t)=>{const{type:n,text:i,description:r}=e;return p("div",{className:"mb-4",children:[u("div",{children:fn(n,i)}),u("div",{className:"mt-1 text-s-light text-secondary-text",children:r})]},String(t))},fn=(e,t="")=>{switch(e){case"tel":return u("a",{className:"text-h6 text-primary-text hover:text-primary-main no-underline",href:`tel:${yn(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})}},yn=e=>e.replaceAll(/\D/g,""),vn=g((({className:e="",index:t,text:n,...i})=>{const r=ge(),{href:l,target:a,onClick:s}=r(i);return u("a",{className:`text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:l,target:a,onClick:s,children:n||`Документ ${t}`})})),Nn=g((({title:e,links:t,className:n=""})=>p("div",{className:n,children:[u("span",{className:"text-primary-text text-s font-medium",children:e}),t?.length?u("div",{className:"flex flex-col gap-2 pt-3",children:t.map(((e,t)=>u(vn,{index:t,className:"text-s",...e},String(t))))}):null]}))),wn=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}`})})),kn=g((({className:e="",links:t})=>p("div",{className:e,children:[u("div",{className:"py-6",children:u("span",{className:"text-xs-light text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?u("div",{className:"flex flex-col justify-start items-start gap-2",children:t.map(((e,t)=>u(wn,{index:t,...e},String(t))))}):null]}))),Cn=g((({className:e="",...t})=>{const n=t.options?.page?.fallback,i=At(d.SITEMAP||"sitemap",n),{documents:r,relatedEnterprises:l,contacts:a,socialMedia:s,horizontalNavigationTitle:o}=At(d.FOOTER||"footer",n);return p(R,{tag:"footer",className:`px-4 py-[26px] ${e}`,...t,children:[u(bn,{className:"overflow-hidden",items:a,hasButton:!0}),u("div",{className:"m-0 p-0",children:i.topItems?.map(((e,t)=>u(un,{label:e?.text,children:u(nn,{documents:e.items})},String(t))))}),u("div",{className:"mt-4",children:i?.dispositions?.map(Tn)}),u(mn,{title:"Мобильное приложение",description:"Загрузить для IOS и Android",...t}),u(tn,{className:"grow"}),u(Qe,{className:"pt-6 pb-6",media:s}),u(Nn,{title:o,links:l}),u(kn,{links:r})]})})),Tn=(e,t)=>{const{icon:n,href:i,text:r}=e;return p(Se,{version:"link",href:i,className:"flex text-s mb-4 w-6",children:[n?u(he,{className:"pr-1",image:n,width:"24",height:"24"}):null,u("span",{className:"pl-2.5 font-medium text-primary-text",children:r})]},`footer-${t}`)},Sn=e=>({href:t})=>Q(Y(t)?e.href:e.pathname).startsWith(Q(t)),_n=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:x("relative inline-block bg-transparent text-center no-underline",e),href:a,target:s,"data-item-name":n,onClick:c,children:[u("span",{className:In(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]})})),In=(e=!1)=>x("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"),$n=864e5;function Rn(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<$n?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 It(e,i)}const An=()=>{const e=globalThis.localStorage?.getItem("location");try{return e?JSON.parse(e):null}catch(e){return null}},Mn=g((({burgerSubMenu:e,onClick:t,defaultLocation:n="",children:a})=>{const[s]=function(e="Москва"){const t=An(),[n,a]=i(t?.region??{name:e}),{data:s}=Rn("/api/v1/region",Rt);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(jn)}),u(tn,{className:"grow"})]})})),jn=(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}`)},Ln=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(dn,{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:"Войти"})]}))),Pn={"bg-white":"primary",transparent:"transparent"},On=g((({bgColor:e="bg-white",version:t=Pn[e],...n})=>{const r=G(),a=n.options?.page?.fallback,{topItems:s,dispositions:o,defaultLocation:c,logo:m}=At(d.SITEMAP||"sitemap",a),h=s?.find((e=>Sn(d.BASE_PATH?{pathname:d.BASE_PATH}:e))(r)),g=h?.items,b=(e=>(t=[])=>{const n=t?.filter(Sn(e));return n?.length?H((e=>e.href?.length||0))(n):void 0})(r)(g),[x,f]=i(!1),y=l((()=>f((e=>!e))),[]);return p(R,{tag:"header",version:t,...n,children:[p("div",{className:"container px-4 py-0 box-border",children:[u(Ln,{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(_n,{className:"mr-8 whitespace-nowrap text-s",active:e===b,...e},String(t))))})})]}),x?u(Mn,{onClick:y,burgerSubMenu:o,defaultLocation:c,children:u("div",{className:"list-none m-0 p-0",children:s?.map(((e,t)=>u(un,{label:e.text,children:u(nn,{documents:e.items})},String(t))))})}):null]})})),Bn=g((e=>{const{className:t,image:n,...i}=e;return u(R,{className:t,...i,children:u(he,{image:n})})})),Dn=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&&zn(Vn(r.href),i)})]}):null]})})),zn=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),Vn=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},En=g((({className:e="",title:t,description:n,icon:i={icon:"DocDownloadIcon",iconVersion:"black"},documents:r,align:l,...a})=>p(R,{className:x("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(Dn,{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]}))),Hn=e=>{const t="col-span-",n=e?.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function Fn(e=""){const t=Hn(e);return t<=4?"S":t<=8?"M":"L"}function Un(e=""){const t=Hn(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function Jn(e=""){const t=Hn(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const Xn=g((({className:e,title:t,description:n="Блок в разработке...",...i})=>p(R,{className:x("p-9 box-border",e,Jn(e),Un(e)),...i,children:[u(nt,{className:"!p-0 max-w-[600px]",title:t,description:n,headlineVersion:Fn(e)}),u("figure",{className:"m-0 min-w-[80%]",children:Wn()})]}))),Wn=(e=3)=>Yn(100,e).map((e=>Math.floor(e))).map(Gn),Gn=(e,t)=>u("div",{style:{width:`${e||100}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),Yn=(e,t)=>[e].concat(t>0?Yn(e/1.618,t-1):[]),Kn=g((({className:e="",title:t="",buttons:n,image:i,children:r})=>p("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,children:[t,p("div",{className:"flex grow w-full justify-between",children:[p("div",{className:"flex flex-col justify-between w-full",children:[u("div",{className:"h-full",children:r}),n?u("div",{className:"mt-auto pt-8",children:n}):null]}),i]})]}))),Qn=g((e=>{const{className:t="",icon:n,label:i,description:r,version:l="primary",benefitsVersion:a="normal"}=e;return p("div",{className:`flex gap-5 ${r?"items-start":"items-center"} ${t}`,children:[n?u("div",{className:qn(l,a),children:u(he,{className:"w-6 h-6",image:{...n,iconVersion:n.iconVersion||a}})}):null,p("div",{className:"gap-0.5",children:[i?u("div",{className:"text-h6 text-primary-text group-data-secondary:text-white",children:i}):null,r?u("div",{className:"text-m-light text-secondary-text group-data-secondary:text-white",children:r}):null]})]})}));function qn(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 Zn=(e="primary",t="normal")=>({icon:n,label:i,description:r},l)=>u(Qn,{icon:n,label:i,description:r,version:e,benefitsVersion:t},String(l)),ei=g((({className:e="",headlineVersion:t="L",benefits:n,benefitsVersion:i="normal",buttons:r,image:l,items:a,isDotted:s=!0,label:o,title:c,description:d,...m})=>p(R,{className:`w-full ${e}`,...m,children:[p("div",{children:[o?ni(o):null,u(nt,{className:"!p-0 max-w-[600px]",title:c,description:d,headlineVersion:t,align:"text-left"}),p(Kn,{buttons:ot(r,{className:"mt-5",isVertical:!0}),children:[n?.filter((e=>e.label))?.length?u("div",{className:"mt-3",children:n.map(Zn("primary",i))}):null,a?.length?u(Je,{className:"mt-3 text-m",items:a,isDotted:s}):null]})]}),ti(l)]})));function ti(e){return e?.src?u(he,{imageClassName:"mt-5 mx-auto block",image:{className:"block",...e}}):null}const ni=e=>u("div",{className:"w-fit px-2.5 py-1.5 mb-5 rounded-md border-2 border-solid border-secondary-hover",children:u(mt,{color:"text-primary-main group-data-secondary:text-white/80",children:e})}),ii=g((e=>{const{className:t="",...n}=e;return u(R,{className:`px-4 py-6 ${t}`,...n,children:u(ei,{...e})})})),ri=g((e=>{const{__html:t="",richVersion:n=""}=e;return u("div",{className:x(n,"md-container"),dangerouslySetInnerHTML:{__html:t}})})),li=g((e=>{const{__html:t,richVersion:n,...i}=e;return u(R,{...i,children:u(ri,{__html:t,richVersion:n})})})),ai={normal:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",small:"h-12 w-12 min-w-12 min-h-12"},si={normal:"min-h-[70px]",small:"min-h-12"},oi={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"},ci=g((({className:e="",title:t,description:n,showLines:i=!0,steps:r,size:l="normal",version:a="primary",...s})=>p(R,{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 ${oi.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(di(l,a,i))})}):null]}))),di=(e,t,n)=>(i,r,l)=>{const{type:a}=i;if("default"!==a&&"rte"!==a)return null;switch(a){case"default":return mi(e,t,n)(i,r,l);case"rte":return u(ri,{__html:i.__html});default:jt(i)}},mi=(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:[hi(e,t)(i,r),a?null:u("div",{className:`min-h-8 h-full w-0.5 ${n?oi.iconConnector:""} ${s}`})]}),p("div",{className:`flex flex-col justify-center h-fit ${si[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 ${oi.description} text-left`,children:i.description}):null]})]})},String(r))},hi=(e,t)=>(n,i)=>{const r="normal"===e?"38":"27",l="secondary"===t?"white":"color";return u("div",{className:`${ai[e]} ${oi.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},ui={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]})},pi=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]}))),gi=g((({tile:e,...t})=>p("div",{className:"rounded-md border-gray h-full box-border border p-4",children:[u(pi,{...e?.header}),e?.data?.length?e.data.map(((e,n)=>p("div",{children:[n>0?u("div",{className:"h-5"}):null,bi(e,t)]},String(n)))):null]})));function bi(e,t){if(!e||!e.tableCellType||!(e.tableCellType in ui))return null;const n=ui[e.tableCellType];return u(n,{displayTable:()=>null,isVisible:!0,...e,...t})}const xi=g((({tiles:e,...t})=>e?.length?u(xt,{...t,children:e.map(((e,n)=>u(gi,{tile:e,...t},String(n))))}):null)),fi=g((({tiles:e,...t})=>e?.length?u("div",{className:"flex flex-col gap-3.5",children:e.map(((e,n)=>u(gi,{tile:e,...t},String(n))))}):null)),yi=g((({className:e,title:t,description:n,tariffsColumns:i,rowHeaders:r,orientation:l="vertical",...a})=>{const s=vi(i),o=Ni(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?fi:xi,{tiles:o,...a})]})})),vi=e=>e?.[0]?.data?e[0].data:[],Ni=(e,t)=>e?.map(((e,n)=>({header:e,data:t?.[n]||[{}]}))),wi=g((({className:e="",title:t,description:n,iconVersion:i,image:r,__html:l,items:a=[],...s})=>p(R,{className:x("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:ki()}):null,"big"===i?Ci(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?Ti(n):null,a?.length?Si(a,!0):null,l?u(ri,{__html:l}):null]})]}))),ki=()=>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"}),Ci=e=>e?.src?u(he,{className:"h-fit",image:e}):null,Ti=e=>u(et,{size:"text-s",color:"text-secondary-text group-data-secondary:text-white",children:e}),Si=(e,t)=>u("ul",{className:x("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}`)))}),_i={XXL:"gap-12",XL:"gap-10",L:"gap-8",M:"gap-4",S:"gap-2",XS:"gap-1","":""},Ii={stretch:"items-stretch",left:"items-start",center:"items-center",right:"items-end"},$i=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(R,{className:x("relative","flex flex-col [&>*]:max-w-full",i?"p-default":"",_i[t],n&&Ii[n],e),version:l,isTheme:a,...s,children:k({...s,renderProps:(e,t)=>v(e,t,{className:o})})})}));$i.childrenTypes=[];const Ri={Carousel:Oe,CarouselTariffsCard:ut,ComparisonTable:Tt,Footer:Cn,Header:On,Headline:nt,ImgBlock:Bn,LinkDocs:En,LinkList:nn,MobileAppTile:mn,Placeholder:Xn,ProductBlock:ii,StepsBlock:ci,TariffsTable:yi,TextBlock:wi,RichTextBlock:li,RollupItem:un,VerticalLayout:$i,CarouselRecommendationCard:it};const Ai=["Header","Footer"],Mi=([,{target:e}])=>Math.abs(e.getBoundingClientRect().top);function ji(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])=>!Ai.includes(e.type||""))).filter((([,{intersectionRatio:e}])=>e>.01)),[n]=t.length>0?U(Mi)(t):[];return n}([...t.current||[]]):void 0)}),100);return e.addEventListener("scroll",n),()=>{n.dispose(),e.removeEventListener("scroll",n)}}),[e])}const Li="cookieClose",Pi=g((({termLink:e,personalDataPolicyLink:t})=>{const{isOpened:n,onClose:i}=Xt("cookie",!globalThis.localStorage?.getItem(Li)),r=l((()=>{globalThis.localStorage?.setItem(Li,"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:x(Oi(e?.href)),...e,children:"cookie"}),"(файлы с данными о прошлых посещениях сайта) для персонализации сервисов и удобства пользователей. Вы можете запретить сохранение cookie в настройках своего браузера.",u(Ve,{isRemote:!0,className:x(Oi(t?.href)),...t,children:"Обработка Ваших персональных данных"}),"производится в соответствии с требованиями Федерального закона от 27.07.2006 № 152-Ф3 «О персональных данных»."]})}),u("div",{className:"w-24 flex justify-end",children:u(Mt,{className:"bg-main-gray rounded-md",onClick:r})})]})}):null})),Oi=e=>["inline mx-1",e?"text-green-dark":""],Bi=h();const Di=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:zi()}))),zi=()=>{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"})]})},Vi=g((({className:e=""})=>{const t=function(e){const[t,n]=i(0);return r((()=>{(async()=>{const[t]=await Bi.getLikeCount(e);n(t?.value||0)})()}),[e]),{likeCount:t,like:l((async()=>{n(await Bi.like(e))}),[e]),dislike:l((async()=>{n(await Bi.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(Di,{onClick:pe(t.like),ariaLabel:"Поставить отметку «лайк»"}),u(Di,{onClick:pe(t.dislike),className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),u("span",{className:"select-none",children:t.likeCount})]})})),Ei=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};ji();const[m,{setTrue:h,setFalse:g}]=Jt();return Lt({onOpen:h,onClose:g}),p("section",{className:x("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(Vi,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto"})}):null,u(Pi,{termLink:{href:"/pd-policy#cookie",target:"_blank"},personalDataPolicyLink:{href:"/pd-policy",target:"_blank"}})]})}));Ei.childrenTypes=[],Ei.slots=()=>["header","footer"];e.Blocks=Ri,e.ContentPage=Ei,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=function(e){return t=>t.reduce(((t,n,i)=>t.length?t.concat({...e,key:i},n):[n]),[])},e.packageVersion="0.10.9",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 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`:"100%"},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-5 sm:py-4",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-2.5",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 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:"sm:-order-1 md:-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-[800px]",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.0",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,2 +1,12 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
1
|
+
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
+
import type { VNode } from '../../model/VNode';
|
|
3
|
+
interface BaseTileProps extends UniBlockProps {
|
|
4
|
+
title?: VNode;
|
|
5
|
+
insetTitle?: VNode;
|
|
6
|
+
leftImage?: VNode;
|
|
7
|
+
rightImage?: VNode;
|
|
8
|
+
backImage?: VNode;
|
|
9
|
+
buttons?: VNode;
|
|
10
|
+
}
|
|
11
|
+
export declare const BaseTile: import("@redneckz/uni-jsx").UNIComponent<BaseTileProps, any, any>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { JSXBlock, UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
+
import type { DepositFiltrationContent } from './DepositFiltrationContent';
|
|
3
|
+
interface DepositFiltrationProps extends DepositFiltrationContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const DepositFiltration: JSXBlock<DepositFiltrationProps>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { BaseFiltrationInnerContent, NumberRange, NumberValue, StringArray } from '../../ui-kit/BaseFiltration/BaseFiltrationContent';
|
|
2
|
+
export declare type DepositFiltrationSchema = {
|
|
3
|
+
/** @title Валюта */
|
|
4
|
+
currency?: StringArray;
|
|
5
|
+
/** @title Опции */
|
|
6
|
+
options?: StringArray;
|
|
7
|
+
/** @title Выплата процентов */
|
|
8
|
+
percents?: StringArray;
|
|
9
|
+
/** @hidden */
|
|
10
|
+
sum?: NumberValue;
|
|
11
|
+
/** @hidden */
|
|
12
|
+
period?: NumberRange;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* @title Подборщик вкладов
|
|
16
|
+
*/
|
|
17
|
+
export interface DepositFiltrationContent extends BaseFiltrationInnerContent {
|
|
18
|
+
/** @title Параметры фильтрации */
|
|
19
|
+
filtrationSchema?: DepositFiltrationSchema;
|
|
20
|
+
/** @title Поле ввода суммы */
|
|
21
|
+
sumInput?: {
|
|
22
|
+
/** @title Лейбл */
|
|
23
|
+
title?: string;
|
|
24
|
+
};
|
|
25
|
+
/** @title Поле ввода срока */
|
|
26
|
+
periodInput?: {
|
|
27
|
+
/** @title Лейбл */
|
|
28
|
+
title?: string;
|
|
29
|
+
min?: number;
|
|
30
|
+
max?: number;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const horizontalNavigationLinkStyles = "";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const textInformationTextSize = "text-s";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { JSXBlock, UniBlockProps } from '../../model/JSXBlock';
|
|
2
|
+
import type { MortgageFiltrationContent } from './MortgageFiltrationContent';
|
|
3
|
+
interface MortgageFiltrationProps extends MortgageFiltrationContent, UniBlockProps {
|
|
4
|
+
}
|
|
5
|
+
export declare const MortgageFiltration: JSXBlock<MortgageFiltrationProps>;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { BaseFiltrationInnerContent, StringArray } from '../../ui-kit/BaseFiltration/BaseFiltrationContent';
|
|
2
|
+
export declare type MortgageFiltrationSchema = {
|
|
3
|
+
/** @title Тип недвижимости */
|
|
4
|
+
propertyType?: StringArray;
|
|
5
|
+
/** @title Этап строительства */
|
|
6
|
+
stage?: StringArray;
|
|
7
|
+
/** @title Категории */
|
|
8
|
+
categories?: StringArray;
|
|
9
|
+
/** @title Дополнительно */
|
|
10
|
+
extraOptions?: StringArray;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* @title Подборщик ипотек
|
|
14
|
+
*/
|
|
15
|
+
export interface MortgageFiltrationContent extends BaseFiltrationInnerContent {
|
|
16
|
+
/** @title Параметры фильтрации */
|
|
17
|
+
filtrationSchema?: MortgageFiltrationSchema;
|
|
18
|
+
}
|
|
@@ -2,18 +2,12 @@ import type { BulletsProps } from '../../model/Bullets';
|
|
|
2
2
|
import type { HeadlineProps } from '../../model/HeadlineType';
|
|
3
3
|
import type { IconVersion } from '../../model/IconVersion';
|
|
4
4
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
5
|
-
import type { LinkProps } from '../../model/LinkProps';
|
|
6
5
|
import type { BenefitItemProps } from '../../ui-kit/BenefitItem/BenefitItemProps';
|
|
7
6
|
import type { BackwardButtonProps, ButtonContent } from '../../ui-kit/Button/ButtonProps';
|
|
8
7
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
9
8
|
import type { ListContent } from '../../ui-kit/List/ListContent';
|
|
10
9
|
import type { RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
11
10
|
export declare type ProductBlockInnerContent = HeadlineProps & RichTextProps & ListContent & ButtonContent & ImageContent & BulletsProps & {
|
|
12
|
-
/**
|
|
13
|
-
* @title Количество преимуществ в строке
|
|
14
|
-
* @enumNames ["2", "3"]
|
|
15
|
-
*/
|
|
16
|
-
benefitsCountOfRow?: 2 | 3;
|
|
17
11
|
/**
|
|
18
12
|
* @title Список преимуществ
|
|
19
13
|
* @minItems 2
|
|
@@ -23,11 +17,6 @@ export declare type ProductBlockInnerContent = HeadlineProps & RichTextProps & L
|
|
|
23
17
|
benefitsVersion?: IconVersion;
|
|
24
18
|
/** @title Лейбл (моб.) */
|
|
25
19
|
label?: string;
|
|
26
|
-
/**
|
|
27
|
-
* @title Стиль для текстовой части
|
|
28
|
-
* @hidden
|
|
29
|
-
*/
|
|
30
|
-
textBlockClassName?: string;
|
|
31
20
|
/** @title Картинка справа/текст слева */
|
|
32
21
|
directionRight?: boolean;
|
|
33
22
|
};
|
|
@@ -35,8 +24,6 @@ export declare type ProductBlockInnerContent = HeadlineProps & RichTextProps & L
|
|
|
35
24
|
* @title Продуктовый блок
|
|
36
25
|
*/
|
|
37
26
|
export declare type ProductBlockContent = UniBlockContent & ProductBlockInnerContent & {
|
|
38
|
-
/** @title Хлебные крошки */
|
|
39
|
-
breadcrumbs?: LinkProps[];
|
|
40
27
|
/** @title Кнопка возврата */
|
|
41
28
|
backwardButton?: BackwardButtonProps;
|
|
42
29
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { ButtonVersion } from '../../model/ButtonVersion';
|
|
3
3
|
import type { BackwardButtonProps } from '../../ui-kit/Button/ButtonProps';
|
|
4
|
-
export declare function renderBackwardButton(
|
|
4
|
+
export declare function renderBackwardButton({ text, href, target, icon }: BackwardButtonProps, version: ButtonVersion): JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { BlockVersion } from '../../model/BlockVersion';
|
|
3
|
-
import type { BenefitItemProps } from '../../ui-kit/BenefitItem/BenefitItemProps';
|
|
4
3
|
import type { IconVersion } from '../../model/IconVersion';
|
|
5
|
-
|
|
4
|
+
import type { BenefitItemProps } from '../../ui-kit/BenefitItem/BenefitItemProps';
|
|
5
|
+
export declare const renderBenefit: (version?: BlockVersion, benefitsVersion?: IconVersion) => (props: BenefitItemProps, i: number) => JSX.Element;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { LabelProps } from '../../model/HeadlineType';
|
|
2
2
|
import type { UniBlockContent } from '../../model/JSXBlock';
|
|
3
|
+
import type { IconProps } from '../../ui-kit/Icon/IconProps';
|
|
3
4
|
/**
|
|
4
5
|
* @title Сворачивающаяся секция
|
|
5
6
|
*/
|
|
@@ -8,4 +9,5 @@ export declare type RollupItemContent = UniBlockContent & LabelProps & {
|
|
|
8
9
|
isExpanded?: boolean;
|
|
9
10
|
/** @title Кнопка сверху */
|
|
10
11
|
isFoldButtonOnTop?: boolean;
|
|
12
|
+
labelIcon?: IconProps;
|
|
11
13
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const foldableSectionStyles = "flex flex-wrap group-last:last:pb-0";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getIconName: (isUnfolded?: boolean) => "ArrowDownSolidIcon" | "ArrowUpSolidIcon";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const labelSize = "text-l";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const rollupIconVersion = "normal";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const rollupItemStyles = "";
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
+
import { ControlProps } from '../ui-kit/ControlProps';
|
|
1
2
|
import type { PreventableEvent } from '../ui-kit/PreventableEvent';
|
|
2
|
-
export interface FieldProps<V> {
|
|
3
|
-
value?: V;
|
|
3
|
+
export interface FieldProps<V> extends ControlProps<V> {
|
|
4
4
|
isDirty?: boolean;
|
|
5
|
-
onChange?: (value: V) => void;
|
|
6
5
|
}
|
|
7
|
-
|
|
6
|
+
declare type Options<In, Out> = {
|
|
7
|
+
parse?: (_: In) => Out;
|
|
8
|
+
format?: (_: Out) => In;
|
|
9
|
+
};
|
|
10
|
+
export declare type FormFieldRegisterer<FormState> = <N extends keyof FormState, V = FormState[N]>(fieldName: N, options?: Options<V, FormState[N]>) => FieldProps<V extends undefined ? FormState[N] : V>;
|
|
8
11
|
export declare const useForm: <FormState extends Record<string, any>>(initialState: FormState, onSubmit?: ((_: FormState) => void) | undefined) => [FormState, {
|
|
9
12
|
isDirty: boolean;
|
|
10
13
|
field: FormFieldRegisterer<FormState>;
|
|
11
14
|
reset: () => void;
|
|
12
15
|
onSubmit: (e: PreventableEvent) => void;
|
|
13
16
|
}];
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { InputProps } from '../ui-kit/Input/InputProps';
|
|
2
|
+
interface UseNormalizedInputOptions<V, R> {
|
|
3
|
+
normalize: (v: V | undefined) => V;
|
|
4
|
+
format?: (v: V | undefined) => R;
|
|
5
|
+
}
|
|
6
|
+
export declare const useNormalizedInput: <V, P extends InputProps<V>, R = V>(props: P, { normalize, format }: UseNormalizedInputOptions<V, R>) => {
|
|
7
|
+
value: R;
|
|
8
|
+
onFocus: (e: any) => void;
|
|
9
|
+
onBlur: () => void;
|
|
10
|
+
};
|
|
11
|
+
export {};
|