@redneckz/wildless-cms-uni-blocks 0.5.11 → 0.5.13

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.
Files changed (1888) hide show
  1. package/bundle/EventBus/EventBus.d.ts +10 -0
  2. package/bundle/EventBus/EventMap.d.ts +7 -0
  3. package/bundle/ProjectSettings.d.ts +24 -0
  4. package/bundle/api/DaDataAPI.d.ts +15 -0
  5. package/bundle/api/LikeAPI.d.ts +9 -0
  6. package/bundle/blocks.schema.json +1 -1
  7. package/bundle/bundle.umd.js +457 -596
  8. package/bundle/bundle.umd.min.js +1 -1
  9. package/bundle/components/Accordion/Accordion.d.ts +5 -0
  10. package/bundle/components/Accordion/Accordion.mobile.d.ts +5 -0
  11. package/bundle/components/Accordion/AccordionContent.d.ts +45 -0
  12. package/bundle/components/Accordion/AccordionItem.d.ts +2 -0
  13. package/bundle/components/Accordion/AccordionItem.mobile.d.ts +2 -0
  14. package/bundle/components/Accordion/AccordionItemProps.d.ts +5 -0
  15. package/bundle/components/Accordion/AccordionItemsList.d.ts +1 -0
  16. package/bundle/components/BaseTile/BaseTile.d.ts +5 -0
  17. package/bundle/components/BaseTile/BaseTileProps.d.ts +15 -0
  18. package/bundle/components/BaseTile/getTileHeadingType.d.ts +1 -0
  19. package/bundle/components/BaseTile/getTileMinHeight.d.ts +1 -0
  20. package/bundle/components/BaseTile/getTileRightPadding.d.ts +1 -0
  21. package/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +5 -0
  22. package/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +52 -0
  23. package/bundle/components/Blocks.d.ts +37 -0
  24. package/bundle/components/Blocks.mobile.d.ts +17 -0
  25. package/bundle/components/Bonus/Bonus.d.ts +5 -0
  26. package/bundle/components/Bonus/BonusContent.d.ts +45 -0
  27. package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +5 -0
  28. package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +15 -0
  29. package/bundle/components/BonusBenefitsBlock/getElementsColsValue.d.ts +1 -0
  30. package/bundle/components/Calculator/BonusCalculatorForm.d.ts +5 -0
  31. package/bundle/components/Calculator/Calculator.d.ts +5 -0
  32. package/bundle/components/Calculator/CalculatorContent.d.ts +129 -0
  33. package/bundle/components/Calculator/CalculatorValueBlock.d.ts +8 -0
  34. package/bundle/components/Calculator/CreditCalculatorForm.d.ts +7 -0
  35. package/bundle/components/Calculator/DepositCalculatorForm.d.ts +5 -0
  36. package/bundle/components/Calculator/EmbeddableCalcBlocks.d.ts +9 -0
  37. package/bundle/components/Calculator/Rate.d.ts +7 -0
  38. package/bundle/components/Calculator/constants.d.ts +16 -0
  39. package/bundle/components/Calculator/getBonus.d.ts +2 -0
  40. package/bundle/components/Calculator/getCreditRate.d.ts +7 -0
  41. package/bundle/components/Calculator/getDefaultMonths.d.ts +1 -0
  42. package/bundle/components/Calculator/getDefaultSum.d.ts +1 -0
  43. package/bundle/components/Calculator/getMonthlyPayment.d.ts +6 -0
  44. package/bundle/components/Calculator/renderButtonSection.d.ts +2 -0
  45. package/bundle/components/Calculator/renderCalculatorBlock.d.ts +3 -0
  46. package/bundle/components/Calculator/renderFootnote.d.ts +2 -0
  47. package/bundle/components/Calculator/renderInitialFeeInput.d.ts +6 -0
  48. package/bundle/components/Calculator/renderMonthsInput.d.ts +8 -0
  49. package/bundle/components/Calculator/renderPaymentTypeSelector.d.ts +6 -0
  50. package/bundle/components/Calculator/renderProposal.d.ts +2 -0
  51. package/bundle/components/Calculator/renderProposalMortgage.d.ts +8 -0
  52. package/bundle/components/Calculator/renderRealEstateValue.d.ts +6 -0
  53. package/bundle/components/Calculator/renderWantedSumInput.d.ts +11 -0
  54. package/bundle/components/Calculator/useBonusCalculatorParams.d.ts +36 -0
  55. package/bundle/components/Calculator/useCalculatorParams.d.ts +1 -0
  56. package/bundle/components/Calculator/useCreditCalculatorParams.d.ts +27 -0
  57. package/bundle/components/CardTransfer/CardTransfer.d.ts +5 -0
  58. package/bundle/components/CardTransfer/CardTransferContent.d.ts +10 -0
  59. package/bundle/components/Catalog/Catalog.d.ts +5 -0
  60. package/bundle/components/Catalog/CatalogCard.d.ts +7 -0
  61. package/bundle/components/Catalog/CatalogContent.d.ts +25 -0
  62. package/bundle/components/ComparisonTable/ComparisonTable.d.ts +5 -0
  63. package/bundle/components/ComparisonTable/ComparisonTable.mobile.d.ts +5 -0
  64. package/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +12 -0
  65. package/bundle/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +10 -0
  66. package/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +50 -0
  67. package/bundle/components/ComparisonTable/ComparisonTableRows.d.ts +13 -0
  68. package/bundle/components/ComparisonTable/HeaderCell.d.ts +10 -0
  69. package/bundle/components/ComparisonTable/HeaderCell.mobile.d.ts +11 -0
  70. package/bundle/components/ComparisonTable/TableCarouselContainer.d.ts +7 -0
  71. package/bundle/components/ComparisonTable/TableCell.d.ts +9 -0
  72. package/bundle/components/ComparisonTable/TableCell.mobile.d.ts +9 -0
  73. package/bundle/components/ComparisonTable/TableColumn.d.ts +15 -0
  74. package/bundle/components/ComparisonTable/TableRow.d.ts +14 -0
  75. package/bundle/components/ComparisonTable/TableRowContainer.d.ts +1 -0
  76. package/bundle/components/ComparisonTable/constants.d.ts +6 -0
  77. package/bundle/components/ContentPage/ContentPage.d.ts +10 -0
  78. package/bundle/components/ContentPage/ContentPageContext.d.ts +17 -0
  79. package/bundle/components/ContentPage/ContentPageHead.d.ts +7 -0
  80. package/bundle/components/ContentPage/computeAPIFallback.d.ts +5 -0
  81. package/bundle/components/ContentPage/filterBlocks.d.ts +12 -0
  82. package/bundle/components/ContentPage/filterBlocks.mobile.d.ts +12 -0
  83. package/bundle/components/ContentPage/normalizeBlock.d.ts +11 -0
  84. package/bundle/components/ContentPage/normalizeBlock.mobile.d.ts +2 -0
  85. package/bundle/components/ContentPage/normalizePage.d.ts +3 -0
  86. package/bundle/components/ContentPage/renderBlock.d.ts +13 -0
  87. package/bundle/components/ErrorBlock/ErrorBlock.d.ts +5 -0
  88. package/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +48 -0
  89. package/bundle/components/ExchangeRateTile/CurrencyProps.d.ts +5 -0
  90. package/bundle/components/ExchangeRateTile/CurrencyTable.d.ts +7 -0
  91. package/bundle/components/ExchangeRateTile/CurrentLocation.d.ts +7 -0
  92. package/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +21 -0
  93. package/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
  94. package/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +8 -0
  95. package/bundle/components/ExchangeRateTile/calculateResult.d.ts +2 -0
  96. package/bundle/components/ExchangeRateTile/callbackCurrencySelect.d.ts +8 -0
  97. package/bundle/components/ExchangeRateTile/formatCurrency.d.ts +1 -0
  98. package/bundle/components/ExchangeRateTile/renderInput.d.ts +13 -0
  99. package/bundle/components/Footer/Contacts.d.ts +7 -0
  100. package/bundle/components/Footer/Footer.d.ts +5 -0
  101. package/bundle/components/Footer/Footer.mobile.d.ts +5 -0
  102. package/bundle/components/Footer/FooterContent.d.ts +44 -0
  103. package/bundle/components/Footer/FooterLink.d.ts +5 -0
  104. package/bundle/components/Footer/HorizontalNavigation.d.ts +6 -0
  105. package/bundle/components/Footer/HorizontalNavigation.mobile.d.ts +6 -0
  106. package/bundle/components/Footer/HorizontalNavigationLink.d.ts +8 -0
  107. package/bundle/components/Footer/MediaButton.d.ts +7 -0
  108. package/bundle/components/Footer/Sitemap.d.ts +8 -0
  109. package/bundle/components/Footer/SocialMedia.d.ts +8 -0
  110. package/bundle/components/Footer/SocialMedia.mobile.d.ts +8 -0
  111. package/bundle/components/Footer/TextInformation.d.ts +2 -0
  112. package/bundle/components/Footer/TextInformation.mobile.d.ts +2 -0
  113. package/bundle/components/Footer/TextInformationLink.d.ts +8 -0
  114. package/bundle/components/Gallery/Gallery.d.ts +2 -0
  115. package/bundle/components/Gallery/Gallery.mobile.d.ts +2 -0
  116. package/bundle/components/Gallery/GalleryCardInner.d.ts +2 -0
  117. package/bundle/components/Gallery/GalleryContainer.d.ts +13 -0
  118. package/bundle/components/Gallery/GalleryContent.d.ts +64 -0
  119. package/bundle/components/Gallery/GalleryInner.d.ts +7 -0
  120. package/bundle/components/Gallery/GalleryProps.d.ts +4 -0
  121. package/bundle/components/Gallery/constants.d.ts +4 -0
  122. package/bundle/components/GracePeriod/GracePeriod.d.ts +5 -0
  123. package/bundle/components/GracePeriod/GracePeriodContent.d.ts +32 -0
  124. package/bundle/components/Header/DropdownMenu.d.ts +14 -0
  125. package/bundle/components/Header/Header.d.ts +5 -0
  126. package/bundle/components/Header/Header.fallback.d.ts +2 -0
  127. package/bundle/components/Header/Header.mobile.d.ts +5 -0
  128. package/bundle/components/Header/HeaderBurger.d.ts +11 -0
  129. package/bundle/components/Header/HeaderContent.d.ts +41 -0
  130. package/bundle/components/Header/HeaderSecondaryMenu.d.ts +10 -0
  131. package/bundle/components/Header/HeaderSecondaryMenuButton.d.ts +6 -0
  132. package/bundle/components/Header/HeaderSubMenu.d.ts +9 -0
  133. package/bundle/components/Header/HeaderTop.d.ts +6 -0
  134. package/bundle/components/Headline/Headline.d.ts +5 -0
  135. package/bundle/components/Headline/Headline.mobile.d.ts +5 -0
  136. package/bundle/components/Headline/HeadlineContent.d.ts +15 -0
  137. package/bundle/components/Headline/constants.d.ts +20 -0
  138. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +5 -0
  139. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +30 -0
  140. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +7 -0
  141. package/bundle/components/InvestmentInfo/InvestmentInfo.d.ts +5 -0
  142. package/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +49 -0
  143. package/bundle/components/LikeControl/LikeControl.d.ts +2 -0
  144. package/bundle/components/LinkDocs/LinkDocs.d.ts +5 -0
  145. package/bundle/components/LinkDocs/LinkDocs.mobile.d.ts +5 -0
  146. package/bundle/components/LinkDocs/LinkDocsContent.d.ts +43 -0
  147. package/bundle/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
  148. package/bundle/components/LinkDocs/LinkDocsList.d.ts +9 -0
  149. package/bundle/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
  150. package/bundle/components/LinkDocs/LinkDocsListItem.mobile.d.ts +2 -0
  151. package/bundle/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
  152. package/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
  153. package/bundle/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
  154. package/bundle/components/LinkList/LinkList.d.ts +5 -0
  155. package/bundle/components/LinkList/LinkListContent.d.ts +8 -0
  156. package/bundle/components/LinkList/linkListContentExample.d.ts +2 -0
  157. package/bundle/components/MiniGallery/MiniGallery.d.ts +5 -0
  158. package/bundle/components/MiniGallery/MiniGalleryContent.d.ts +12 -0
  159. package/bundle/components/MobileAppTile/MobileAppTile.d.ts +5 -0
  160. package/bundle/components/MobileAppTile/MobileAppTile.mobile.d.ts +5 -0
  161. package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +31 -0
  162. package/bundle/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +5 -0
  163. package/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +10 -0
  164. package/bundle/components/OtherProducts/OtherProducts.d.ts +5 -0
  165. package/bundle/components/OtherProducts/OtherProductsContent.d.ts +25 -0
  166. package/bundle/components/OtherProducts/OtherProductsItem.d.ts +6 -0
  167. package/bundle/components/PictureText/PictureText.d.ts +5 -0
  168. package/bundle/components/PictureText/PictureTextContent.d.ts +34 -0
  169. package/bundle/components/Placeholder/Placeholder.d.ts +6 -0
  170. package/bundle/components/Placeholder/PlaceholderContent.d.ts +5 -0
  171. package/bundle/components/ProductBlock/ProductBlock.d.ts +5 -0
  172. package/bundle/components/ProductBlock/ProductBlock.mobile.d.ts +5 -0
  173. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +54 -0
  174. package/bundle/components/ProductBlock/ProductBlockInner.d.ts +4 -0
  175. package/bundle/components/ProductBlock/ProductBlockInner.mobile.d.ts +4 -0
  176. package/bundle/components/ProductBlock/renderBackwardButton.d.ts +4 -0
  177. package/bundle/components/ProductBlock/renderBenefit.d.ts +5 -0
  178. package/bundle/components/ProductGallery/ProductGallery.d.ts +5 -0
  179. package/bundle/components/ProductGallery/ProductGallery.mobile.d.ts +5 -0
  180. package/bundle/components/ProductGallery/ProductGalleryBlock.d.ts +8 -0
  181. package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +29 -0
  182. package/bundle/components/ProductTile/ProductTile.d.ts +5 -0
  183. package/bundle/components/ProductTile/ProductTileContent.d.ts +33 -0
  184. package/bundle/components/PromoTile/PromoTile.d.ts +5 -0
  185. package/bundle/components/PromoTile/PromoTileContent.d.ts +12 -0
  186. package/bundle/components/Recommendation/Recommendation.d.ts +5 -0
  187. package/bundle/components/Recommendation/RecommendationCard.d.ts +7 -0
  188. package/bundle/components/Recommendation/RecommendationContent.d.ts +43 -0
  189. package/bundle/components/SafeDepositRental/RegionsAndBranches.d.ts +12 -0
  190. package/bundle/components/SafeDepositRental/RenderRadioButtons.d.ts +2 -0
  191. package/bundle/components/SafeDepositRental/RentalPeriod.d.ts +6 -0
  192. package/bundle/components/SafeDepositRental/SafeBoxCases.d.ts +11 -0
  193. package/bundle/components/SafeDepositRental/SafeDepositRental.d.ts +5 -0
  194. package/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +9 -0
  195. package/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +12 -0
  196. package/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +11 -0
  197. package/bundle/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +6 -0
  198. package/bundle/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +8 -0
  199. package/bundle/components/SafeDepositRental/WrapperSelect.d.ts +11 -0
  200. package/bundle/components/SafeDepositRental/YandexMap.d.ts +5 -0
  201. package/bundle/components/SafeDepositRental/renderClusterer.d.ts +2 -0
  202. package/bundle/components/SafeDepositRental/useGetRegions.d.ts +6 -0
  203. package/bundle/components/SafeDepositRental/useYandexMaps.d.ts +2 -0
  204. package/bundle/components/SafeDepositRental/utils.d.ts +3 -0
  205. package/bundle/components/StepsBlock/StepsBlock.d.ts +5 -0
  206. package/bundle/components/StepsBlock/StepsBlock.mobile.d.ts +5 -0
  207. package/bundle/components/StepsBlock/StepsBlockContent.d.ts +43 -0
  208. package/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +11 -0
  209. package/bundle/components/StepsBlock/renderItems.d.ts +8 -0
  210. package/bundle/components/StepsBlock/renderStepContent.d.ts +14 -0
  211. package/bundle/components/Tabs/Tabs.d.ts +13 -0
  212. package/bundle/components/Tabs/TabsContent.d.ts +36 -0
  213. package/bundle/components/Tabs/renderGroupTab.d.ts +4 -0
  214. package/bundle/components/Tabs/renderLinkTab.d.ts +9 -0
  215. package/bundle/components/Tabs/renderTab.d.ts +12 -0
  216. package/bundle/components/Tabs/tabItemClasses.d.ts +6 -0
  217. package/bundle/components/TariffsTable/EmbeddableCellData.d.ts +14 -0
  218. package/bundle/components/TariffsTable/EmbeddableCellData.mobile.d.ts +12 -0
  219. package/bundle/components/TariffsTable/TableTileHeader.d.ts +2 -0
  220. package/bundle/components/TariffsTable/TariffsTable.d.ts +5 -0
  221. package/bundle/components/TariffsTable/TariffsTable.mobile.d.ts +5 -0
  222. package/bundle/components/TariffsTable/TariffsTableCell.d.ts +9 -0
  223. package/bundle/components/TariffsTable/TariffsTableContent.d.ts +95 -0
  224. package/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +6 -0
  225. package/bundle/components/TariffsTable/TariffsTableRow.d.ts +9 -0
  226. package/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +7 -0
  227. package/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +8 -0
  228. package/bundle/components/TariffsTable/TariffsTableVertical.d.ts +6 -0
  229. package/bundle/components/TariffsTable/constants.d.ts +4 -0
  230. package/bundle/components/TariffsTable/dataFixture.d.ts +5 -0
  231. package/bundle/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
  232. package/bundle/components/TextBlock/TextBlock.d.ts +5 -0
  233. package/bundle/components/TextBlock/TextBlock.mobile.d.ts +5 -0
  234. package/bundle/components/TextBlock/TextBlockContent.d.ts +22 -0
  235. package/bundle/components/Tile/Tile.d.ts +6 -0
  236. package/bundle/components/Tile/TileContent.d.ts +34 -0
  237. package/bundle/content-page-repository/ContentPageRepository.d.ts +11 -0
  238. package/bundle/content-page-repository/TransformationOptions.d.ts +4 -0
  239. package/bundle/content-page-repository/index.d.ts +2 -0
  240. package/bundle/content-page-repository/mapJSON.d.ts +1 -0
  241. package/bundle/content-page-repository/transformContentPage.d.ts +3 -0
  242. package/bundle/content-page-repository/transformImg.d.ts +11 -0
  243. package/bundle/content-page-repository/transformMarkdown.d.ts +1 -0
  244. package/bundle/content-page-repository/transformPicture.d.ts +3 -0
  245. package/bundle/content-page-repository/transformSrc.d.ts +3 -0
  246. package/bundle/hooks/useExchangeRates.d.ts +2 -0
  247. package/bundle/hooks/useExternalNS.d.ts +2 -0
  248. package/bundle/hooks/useGeolocation.d.ts +1 -0
  249. package/bundle/hooks/useLikeService.d.ts +5 -0
  250. package/bundle/hooks/useLink.d.ts +18 -0
  251. package/bundle/hooks/useOutsideClick.d.ts +5 -0
  252. package/{mobile/dist/hooks/useFetchSafeBoxes.d.ts → bundle/hooks/useSafeBoxes.d.ts} +1 -3
  253. package/bundle/hooks/useSearch.d.ts +4 -0
  254. package/bundle/hooks/useTableArrowScrollControl.d.ts +7 -0
  255. package/bundle/hooks/useTariffsInnerTableData.d.ts +1 -0
  256. package/bundle/icons/IconName.d.ts +194 -0
  257. package/bundle/index.d.ts +9 -0
  258. package/bundle/model/AlignType.d.ts +9 -0
  259. package/bundle/model/BgColorVersion.d.ts +8 -0
  260. package/bundle/model/BlockDecorator.d.ts +15 -0
  261. package/bundle/model/BlockVersion.d.ts +11 -0
  262. package/bundle/model/BlocksRegistry.d.ts +8 -0
  263. package/bundle/model/ButtonVersion.d.ts +6 -0
  264. package/bundle/model/ContentPageDef.d.ts +52 -0
  265. package/bundle/model/EmptyOptionType.d.ts +4 -0
  266. package/bundle/model/Fallback.d.ts +5 -0
  267. package/bundle/model/Footnote.d.ts +4 -0
  268. package/bundle/model/GalleryVersion.d.ts +1 -0
  269. package/bundle/model/HeadlineType.d.ts +29 -0
  270. package/bundle/model/IconVersion.d.ts +9 -0
  271. package/bundle/model/ImageSize.d.ts +6 -0
  272. package/bundle/model/InputTypes.d.ts +1 -0
  273. package/bundle/model/LinkProps.d.ts +24 -0
  274. package/bundle/model/ListOrientation.d.ts +8 -0
  275. package/bundle/model/Picture.d.ts +59 -0
  276. package/bundle/model/ProductColorVersion.d.ts +4 -0
  277. package/bundle/model/SitemapProps.d.ts +24 -0
  278. package/bundle/model/SizeVersion.d.ts +8 -0
  279. package/bundle/model/TableVersion.d.ts +1 -0
  280. package/bundle/model/VNode.d.ts +1 -0
  281. package/bundle/react/setup-fixture.d.ts +4 -0
  282. package/bundle/services/sitemap/SitemapProps.d.ts +24 -0
  283. package/bundle/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
  284. package/bundle/services/sitemap/findActiveSubItem.d.ts +3 -0
  285. package/bundle/services/sitemap/isHrefActive.d.ts +4 -0
  286. package/bundle/services/sitemap/isSubItemActive.d.ts +3 -0
  287. package/bundle/services/sitemap/isTopItemActive.d.ts +3 -0
  288. package/bundle/services/sitemap/mergeTopItems.d.ts +2 -0
  289. package/bundle/services/sitemap/useSitemap.d.ts +3 -0
  290. package/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +4 -0
  291. package/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +20 -0
  292. package/bundle/ui-kit/BlockWrapper.d.ts +7 -0
  293. package/bundle/ui-kit/BlocksList/BlocksListProps.d.ts +96 -0
  294. package/bundle/ui-kit/BlocksList/EmbeddableBlocks.d.ts +12 -0
  295. package/bundle/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +8 -0
  296. package/bundle/ui-kit/BlocksList/renderBlocksList.d.ts +9 -0
  297. package/bundle/ui-kit/Breadcrumb.d.ts +6 -0
  298. package/bundle/ui-kit/Button/ArrowButton.d.ts +2 -0
  299. package/bundle/ui-kit/Button/Button.d.ts +2 -0
  300. package/bundle/ui-kit/Button/Button.mobile.d.ts +2 -0
  301. package/bundle/ui-kit/Button/ButtonInner.d.ts +7 -0
  302. package/bundle/ui-kit/Button/ButtonProps.d.ts +54 -0
  303. package/bundle/ui-kit/Button/ButtonSection.d.ts +5 -0
  304. package/bundle/ui-kit/Button/GetButtonClassParams.d.ts +6 -0
  305. package/bundle/ui-kit/Button/LikeButton.d.ts +6 -0
  306. package/bundle/ui-kit/Button/buttonClassNameConstants.d.ts +5 -0
  307. package/bundle/ui-kit/Button/getDisabledButtonClasses.d.ts +2 -0
  308. package/bundle/ui-kit/Button/getRegularButtonClasses.d.ts +2 -0
  309. package/bundle/ui-kit/Button/renderArrows.d.ts +9 -0
  310. package/bundle/ui-kit/Checkbox/Checkbox.d.ts +2 -0
  311. package/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +7 -0
  312. package/bundle/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -0
  313. package/bundle/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +5 -0
  314. package/bundle/ui-kit/CurrencyInput/adjustValue .d.ts +3 -0
  315. package/bundle/ui-kit/Description/Description.d.ts +5 -0
  316. package/bundle/ui-kit/Foldable/DefaultFoldButton.d.ts +14 -0
  317. package/bundle/ui-kit/Foldable/Foldable.d.ts +9 -0
  318. package/bundle/ui-kit/Foldable/FoldablePartProps.d.ts +4 -0
  319. package/bundle/ui-kit/Foldable/FoldableSection.d.ts +5 -0
  320. package/bundle/ui-kit/HeaderItem/HeaderItem.d.ts +2 -0
  321. package/bundle/ui-kit/HeaderItem/HeaderItem.mobile.d.ts +3 -0
  322. package/bundle/ui-kit/Heading/Heading.d.ts +2 -0
  323. package/bundle/ui-kit/Heading/Heading.mobile.d.ts +2 -0
  324. package/bundle/ui-kit/Heading/HeadingProps.d.ts +23 -0
  325. package/bundle/ui-kit/Icon/Icon.d.ts +2 -0
  326. package/bundle/ui-kit/Icon/IconProps.d.ts +21 -0
  327. package/bundle/ui-kit/Img/Img.d.ts +1 -0
  328. package/bundle/ui-kit/Img/Img.mobile.d.ts +2 -0
  329. package/bundle/ui-kit/Img/ImgAsPicture.d.ts +4 -0
  330. package/bundle/ui-kit/Img/ImgInner.d.ts +2 -0
  331. package/bundle/ui-kit/Img/ImgProps.d.ts +11 -0
  332. package/bundle/ui-kit/Img/getIconVersion.d.ts +1 -0
  333. package/bundle/ui-kit/InnerTable/InnerTable.d.ts +5 -0
  334. package/bundle/ui-kit/InnerTable/InnerTableBody.d.ts +7 -0
  335. package/bundle/ui-kit/InnerTable/InnerTableBodyItem.d.ts +6 -0
  336. package/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +6 -0
  337. package/bundle/ui-kit/InnerTable/InnerTableHeader.d.ts +7 -0
  338. package/bundle/ui-kit/InnerTable/InnerTableProps.d.ts +24 -0
  339. package/bundle/ui-kit/Input/Input.d.ts +2 -0
  340. package/bundle/ui-kit/Input/InputProps.d.ts +16 -0
  341. package/bundle/ui-kit/InputRange/InputRange.d.ts +2 -0
  342. package/bundle/ui-kit/InputRange/InputRangeProps.d.ts +11 -0
  343. package/bundle/ui-kit/IntersectionObserverTag.d.ts +11 -0
  344. package/bundle/ui-kit/List/List.d.ts +2 -0
  345. package/bundle/ui-kit/List/ListContent.d.ts +4 -0
  346. package/bundle/ui-kit/List/ListItem.d.ts +12 -0
  347. package/bundle/ui-kit/List/ListProps.d.ts +26 -0
  348. package/bundle/ui-kit/Logo/Logo.d.ts +13 -0
  349. package/bundle/ui-kit/Logo/Logo.mobile.d.ts +8 -0
  350. package/bundle/ui-kit/Radio/Radio.d.ts +2 -0
  351. package/bundle/ui-kit/Radio/RadioProps.d.ts +9 -0
  352. package/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +12 -0
  353. package/bundle/ui-kit/SVG.d.ts +19 -0
  354. package/bundle/ui-kit/SearchBar/SearchBar.d.ts +2 -0
  355. package/bundle/ui-kit/SearchBar/SearchBar.mobile.d.ts +2 -0
  356. package/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +5 -0
  357. package/bundle/ui-kit/Select/Select.d.ts +14 -0
  358. package/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  359. package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
  360. package/bundle/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
  361. package/bundle/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
  362. package/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +18 -0
  363. package/bundle/ui-kit/SwipeListControl/constants.d.ts +2 -0
  364. package/bundle/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
  365. package/bundle/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +4 -0
  366. package/bundle/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
  367. package/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +2 -0
  368. package/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +7 -0
  369. package/bundle/ui-kit/TopItem/TopItem.d.ts +14 -0
  370. package/bundle/utils/addSpacesBetweenNumbers.d.ts +1 -0
  371. package/bundle/utils/adjustHref.d.ts +4 -0
  372. package/bundle/utils/assertUnreachable.d.ts +1 -0
  373. package/bundle/utils/changeHashOnObserve.d.ts +9 -0
  374. package/bundle/utils/checkIsIconRenderable.d.ts +2 -0
  375. package/bundle/utils/clamp.d.ts +1 -0
  376. package/bundle/utils/fetchJSON.d.ts +2 -0
  377. package/bundle/utils/getColSpan.d.ts +1 -0
  378. package/bundle/utils/getCurrentDate.d.ts +1 -0
  379. package/bundle/utils/getGeolocation.d.ts +1 -0
  380. package/bundle/utils/getSanitizedValue.d.ts +1 -0
  381. package/bundle/utils/isPictureSizeEmpty.d.ts +2 -0
  382. package/bundle/utils/joinList.d.ts +1 -0
  383. package/bundle/utils/maxBy.d.ts +2 -0
  384. package/bundle/utils/roundTo.d.ts +1 -0
  385. package/bundle/utils/style2className.d.ts +1 -0
  386. package/bundle/utils/tableFunc.d.ts +2 -0
  387. package/bundle/utils/url.d.ts +5 -0
  388. package/bundle/utils/withoutMobilePath.d.ts +2 -0
  389. package/dist/components/Accordion/Accordion.js +3 -1
  390. package/dist/components/Accordion/Accordion.js.map +1 -1
  391. package/dist/components/Accordion/Accordion.mobile.js +5 -2
  392. package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
  393. package/dist/components/Accordion/AccordionContent.d.ts +9 -7
  394. package/dist/components/Accordion/AccordionItem.d.ts +1 -4
  395. package/dist/components/Accordion/AccordionItem.js +5 -11
  396. package/dist/components/Accordion/AccordionItem.js.map +1 -1
  397. package/dist/components/Accordion/AccordionItem.mobile.d.ts +1 -4
  398. package/dist/components/Accordion/AccordionItem.mobile.js +7 -8
  399. package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
  400. package/dist/components/Accordion/AccordionItemProps.d.ts +5 -0
  401. package/dist/components/Accordion/AccordionItemProps.js +2 -0
  402. package/dist/components/Accordion/AccordionItemProps.js.map +1 -0
  403. package/dist/components/Accordion/AccordionItemsList.d.ts +1 -0
  404. package/dist/components/Accordion/AccordionItemsList.js +6 -0
  405. package/dist/components/Accordion/AccordionItemsList.js.map +1 -0
  406. package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  407. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  408. package/dist/components/Blocks.d.ts +1 -0
  409. package/dist/components/Blocks.js +2 -0
  410. package/dist/components/Blocks.js.map +1 -1
  411. package/dist/components/Blocks.mobile.d.ts +0 -1
  412. package/dist/components/Blocks.mobile.js +0 -2
  413. package/dist/components/Blocks.mobile.js.map +1 -1
  414. package/dist/components/Calculator/CalculatorContent.d.ts +1 -1
  415. package/dist/components/CardTransfer/CardTransfer.js +3 -2
  416. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  417. package/dist/components/Catalog/Catalog.js +1 -1
  418. package/dist/components/Catalog/Catalog.js.map +1 -1
  419. package/dist/components/Catalog/CatalogCard.js +1 -23
  420. package/dist/components/Catalog/CatalogCard.js.map +1 -1
  421. package/dist/components/ComparisonTable/ComparisonTable.js +1 -1
  422. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  423. package/dist/components/ComparisonTable/ComparisonTable.mobile.js +13 -48
  424. package/dist/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  425. package/dist/components/ComparisonTable/TableCell.d.ts +1 -1
  426. package/dist/components/ComparisonTable/TableCell.js.map +1 -1
  427. package/dist/components/ComparisonTable/TableColumn.d.ts +5 -8
  428. package/dist/components/ComparisonTable/TableColumn.js +2 -8
  429. package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  430. package/dist/components/ContentPage/ContentPageContext.d.ts +0 -11
  431. package/dist/components/ContentPage/filterBlocks.js +1 -2
  432. package/dist/components/ContentPage/filterBlocks.js.map +1 -1
  433. package/dist/components/ContentPage/filterBlocks.mobile.js +1 -3
  434. package/dist/components/ContentPage/filterBlocks.mobile.js.map +1 -1
  435. package/dist/components/ContentPage/renderBlock.js +1 -1
  436. package/dist/components/ContentPage/renderBlock.js.map +1 -1
  437. package/dist/components/ErrorBlock/ErrorBlock.js +1 -1
  438. package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  439. package/dist/components/ExchangeRateTile/renderInput.js +1 -1
  440. package/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
  441. package/dist/components/Footer/Contacts.js +1 -1
  442. package/dist/components/Footer/Contacts.js.map +1 -1
  443. package/dist/components/Footer/Footer.mobile.js +8 -7
  444. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  445. package/dist/components/Footer/FooterContent.d.ts +5 -9
  446. package/dist/components/Gallery/Gallery.mobile.js +7 -3
  447. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  448. package/dist/components/Gallery/GalleryCardInner.js +14 -17
  449. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  450. package/dist/components/Gallery/GalleryContainer.js +2 -2
  451. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  452. package/dist/components/Gallery/GalleryContent.d.ts +11 -3
  453. package/dist/components/Header/Header.mobile.js +5 -5
  454. package/dist/components/Header/Header.mobile.js.map +1 -1
  455. package/dist/components/Header/HeaderSubMenu.js +3 -2
  456. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  457. package/dist/components/Headline/constants.d.ts +2 -1
  458. package/dist/components/Headline/constants.js +10 -1
  459. package/dist/components/Headline/constants.js.map +1 -1
  460. package/dist/components/InvestmentInfo/InvestmentInfo.d.ts +5 -0
  461. package/dist/components/InvestmentInfo/InvestmentInfo.js +49 -0
  462. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -0
  463. package/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +49 -0
  464. package/dist/components/InvestmentInfo/InvestmentInfoContent.js +2 -0
  465. package/dist/components/InvestmentInfo/InvestmentInfoContent.js.map +1 -0
  466. package/dist/components/MiniGallery/MiniGalleryContent.d.ts +1 -0
  467. package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  468. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  469. package/dist/components/OtherProducts/OtherProductsItem.js +5 -5
  470. package/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
  471. package/dist/components/ProductGallery/ProductGallery.js +2 -2
  472. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  473. package/dist/components/ProductTile/ProductTile.js +1 -1
  474. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  475. package/dist/components/Recommendation/RecommendationContent.d.ts +5 -0
  476. package/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
  477. package/dist/components/SafeDepositRental/SafeBoxCases.d.ts +1 -1
  478. package/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  479. package/dist/components/SafeDepositRental/SafeDepositRental.js +17 -3
  480. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  481. package/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +7 -4
  482. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js +3 -5
  483. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  484. package/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +7 -3
  485. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +7 -28
  486. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  487. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +1 -1
  488. package/dist/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -2
  489. package/dist/components/SafeDepositRental/utils.d.ts +1 -1
  490. package/dist/components/StepsBlock/StepsBlock.js +5 -6
  491. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  492. package/dist/components/StepsBlock/StepsBlockContent.d.ts +9 -2
  493. package/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
  494. package/dist/components/StepsBlock/StepsBlockStyleMaps.js +4 -2
  495. package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  496. package/dist/components/StepsBlock/renderItems.d.ts +8 -0
  497. package/dist/components/StepsBlock/renderItems.js +10 -0
  498. package/dist/components/StepsBlock/renderItems.js.map +1 -0
  499. package/dist/components/StepsBlock/renderStepContent.d.ts +14 -0
  500. package/dist/components/StepsBlock/renderStepContent.js +20 -0
  501. package/dist/components/StepsBlock/renderStepContent.js.map +1 -0
  502. package/dist/components/TariffsTable/EmbeddableCellData.js +4 -5
  503. package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  504. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +1 -2
  505. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  506. package/dist/components/TariffsTable/TariffsTable.js +11 -2
  507. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  508. package/dist/components/TariffsTable/TariffsTableCell.js +1 -1
  509. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  510. package/dist/components/TariffsTable/TariffsTableRow.js +1 -2
  511. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  512. package/dist/components/TariffsTable/dataFixture.js +4 -2
  513. package/dist/components/TariffsTable/dataFixture.js.map +1 -1
  514. package/dist/components/TariffsTable/utils/getButtonAriaLabel.d.ts +1 -1
  515. package/dist/components/TariffsTable/utils/getButtonAriaLabel.js +1 -2
  516. package/dist/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -1
  517. package/dist/components/Tile/Tile.js +2 -3
  518. package/dist/components/Tile/Tile.js.map +1 -1
  519. package/dist/hooks/useOutsideClick.d.ts +5 -0
  520. package/dist/hooks/useOutsideClick.js +21 -0
  521. package/dist/hooks/useOutsideClick.js.map +1 -0
  522. package/dist/hooks/{useFetchSafeBoxes.d.ts → useSafeBoxes.d.ts} +1 -3
  523. package/{mobile/dist/hooks/useFetchSafeBoxes.js → dist/hooks/useSafeBoxes.js} +9 -10
  524. package/dist/hooks/useSafeBoxes.js.map +1 -0
  525. package/dist/icons/IconName.d.ts +1 -92
  526. package/dist/icons/IconName.js +4 -4
  527. package/dist/icons/IconName.js.map +1 -1
  528. package/dist/model/BlockDecorator.d.ts +1 -0
  529. package/dist/model/BlockDecorator.js +2 -1
  530. package/dist/model/BlockDecorator.js.map +1 -1
  531. package/dist/model/BlocksRegistry.d.ts +4 -1
  532. package/dist/model/HeadlineType.d.ts +8 -0
  533. package/dist/model/Picture.d.ts +1 -0
  534. package/dist/react/setup-fixture.js +0 -2
  535. package/dist/react/setup-fixture.js.map +1 -1
  536. package/dist/ui-kit/BenefitItem/BenefitItem.js +3 -1
  537. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  538. package/dist/ui-kit/BlockWrapper.d.ts +0 -3
  539. package/dist/ui-kit/BlockWrapper.js +5 -5
  540. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  541. package/dist/ui-kit/BlocksList/renderBlocksList.d.ts +1 -1
  542. package/dist/ui-kit/BlocksList/renderBlocksList.js +1 -1
  543. package/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  544. package/dist/ui-kit/Button/Button.js +6 -10
  545. package/dist/ui-kit/Button/Button.js.map +1 -1
  546. package/dist/ui-kit/Button/Button.mobile.js +1 -1
  547. package/dist/ui-kit/Button/Button.mobile.js.map +1 -1
  548. package/dist/ui-kit/Button/ButtonInner.js +3 -2
  549. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  550. package/dist/ui-kit/Button/ButtonProps.d.ts +1 -7
  551. package/dist/ui-kit/Button/ButtonSection.js +5 -10
  552. package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  553. package/dist/ui-kit/Button/buttonClassNameConstants.d.ts +1 -0
  554. package/dist/ui-kit/Button/buttonClassNameConstants.js +7 -1
  555. package/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  556. package/dist/ui-kit/CurrencyInput/CurrencyInput.js +7 -1
  557. package/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  558. package/dist/ui-kit/CurrencyInput/adjustValue .d.ts +2 -0
  559. package/dist/ui-kit/CurrencyInput/adjustValue .js +11 -2
  560. package/dist/ui-kit/CurrencyInput/adjustValue .js.map +1 -1
  561. package/dist/ui-kit/Foldable/DefaultFoldButton.d.ts +14 -0
  562. package/dist/ui-kit/Foldable/DefaultFoldButton.js +16 -0
  563. package/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -0
  564. package/dist/ui-kit/Foldable/Foldable.d.ts +5 -18
  565. package/dist/ui-kit/Foldable/Foldable.js +9 -17
  566. package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  567. package/dist/ui-kit/Foldable/FoldablePartProps.d.ts +4 -0
  568. package/dist/ui-kit/Foldable/FoldablePartProps.js +2 -0
  569. package/dist/ui-kit/Foldable/FoldablePartProps.js.map +1 -0
  570. package/dist/ui-kit/Foldable/FoldableSection.d.ts +5 -0
  571. package/dist/ui-kit/Foldable/FoldableSection.js +17 -0
  572. package/dist/ui-kit/Foldable/FoldableSection.js.map +1 -0
  573. package/dist/ui-kit/Icon/Icon.js +4 -5
  574. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  575. package/dist/ui-kit/Icon/IconProps.d.ts +0 -1
  576. package/dist/ui-kit/Img/Img.d.ts +1 -2
  577. package/dist/ui-kit/Img/Img.js +2 -6
  578. package/dist/ui-kit/Img/Img.js.map +1 -1
  579. package/dist/ui-kit/Img/Img.mobile.js +1 -3
  580. package/dist/ui-kit/Img/Img.mobile.js.map +1 -1
  581. package/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
  582. package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  583. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js +6 -2
  584. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  585. package/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
  586. package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  587. package/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  588. package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  589. package/dist/ui-kit/Input/Input.js +12 -3
  590. package/dist/ui-kit/Input/Input.js.map +1 -1
  591. package/dist/ui-kit/Input/InputProps.d.ts +2 -0
  592. package/dist/ui-kit/InputRange/InputRange.js +2 -2
  593. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  594. package/dist/ui-kit/IntersectionObserverTag.d.ts +11 -0
  595. package/dist/ui-kit/IntersectionObserverTag.js +22 -0
  596. package/dist/ui-kit/IntersectionObserverTag.js.map +1 -0
  597. package/dist/ui-kit/List/List.js +13 -8
  598. package/dist/ui-kit/List/List.js.map +1 -1
  599. package/dist/ui-kit/List/ListItem.d.ts +2 -2
  600. package/dist/ui-kit/List/ListItem.js +8 -23
  601. package/dist/ui-kit/List/ListItem.js.map +1 -1
  602. package/dist/ui-kit/List/ListProps.d.ts +5 -3
  603. package/dist/ui-kit/Radio/Radio.js +1 -1
  604. package/dist/ui-kit/Radio/Radio.js.map +1 -1
  605. package/dist/ui-kit/Select/Select.js +4 -1
  606. package/dist/ui-kit/Select/Select.js.map +1 -1
  607. package/dist/utils/getSanitizedValue.d.ts +1 -0
  608. package/dist/utils/getSanitizedValue.js +5 -0
  609. package/dist/utils/getSanitizedValue.js.map +1 -0
  610. package/lib/common.css +1 -1
  611. package/lib/components/Accordion/Accordion.js +3 -1
  612. package/lib/components/Accordion/Accordion.js.map +1 -1
  613. package/lib/components/Accordion/Accordion.mobile.js +5 -2
  614. package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
  615. package/lib/components/Accordion/AccordionContent.d.ts +9 -7
  616. package/lib/components/Accordion/AccordionItem.d.ts +1 -4
  617. package/lib/components/Accordion/AccordionItem.js +5 -11
  618. package/lib/components/Accordion/AccordionItem.js.map +1 -1
  619. package/lib/components/Accordion/AccordionItem.mobile.d.ts +1 -4
  620. package/lib/components/Accordion/AccordionItem.mobile.js +7 -8
  621. package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
  622. package/lib/components/Accordion/AccordionItemProps.d.ts +5 -0
  623. package/lib/components/Accordion/AccordionItemProps.js +2 -0
  624. package/lib/components/Accordion/AccordionItemProps.js.map +1 -0
  625. package/lib/components/Accordion/AccordionItemsList.d.ts +1 -0
  626. package/lib/components/Accordion/AccordionItemsList.js +4 -0
  627. package/lib/components/Accordion/AccordionItemsList.js.map +1 -0
  628. package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  629. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  630. package/lib/components/Blocks.d.ts +1 -0
  631. package/lib/components/Blocks.js +2 -0
  632. package/lib/components/Blocks.js.map +1 -1
  633. package/lib/components/Blocks.mobile.d.ts +0 -1
  634. package/lib/components/Blocks.mobile.js +0 -2
  635. package/lib/components/Blocks.mobile.js.map +1 -1
  636. package/lib/components/Calculator/CalculatorContent.d.ts +1 -1
  637. package/lib/components/CardTransfer/CardTransfer.js +3 -2
  638. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  639. package/lib/components/Catalog/Catalog.js +1 -1
  640. package/lib/components/Catalog/Catalog.js.map +1 -1
  641. package/lib/components/Catalog/CatalogCard.js +1 -23
  642. package/lib/components/Catalog/CatalogCard.js.map +1 -1
  643. package/lib/components/ComparisonTable/ComparisonTable.js +1 -1
  644. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  645. package/lib/components/ComparisonTable/ComparisonTable.mobile.js +14 -49
  646. package/lib/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  647. package/lib/components/ComparisonTable/TableCell.d.ts +1 -1
  648. package/lib/components/ComparisonTable/TableCell.js.map +1 -1
  649. package/lib/components/ComparisonTable/TableColumn.d.ts +5 -8
  650. package/lib/components/ComparisonTable/TableColumn.js +2 -8
  651. package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  652. package/lib/components/ContentPage/ContentPageContext.d.ts +0 -11
  653. package/lib/components/ContentPage/filterBlocks.js +1 -2
  654. package/lib/components/ContentPage/filterBlocks.js.map +1 -1
  655. package/lib/components/ContentPage/filterBlocks.mobile.js +1 -3
  656. package/lib/components/ContentPage/filterBlocks.mobile.js.map +1 -1
  657. package/lib/components/ContentPage/renderBlock.js +2 -2
  658. package/lib/components/ContentPage/renderBlock.js.map +1 -1
  659. package/lib/components/ErrorBlock/ErrorBlock.js +1 -1
  660. package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  661. package/lib/components/ExchangeRateTile/renderInput.js +1 -1
  662. package/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
  663. package/lib/components/Footer/Contacts.js +1 -1
  664. package/lib/components/Footer/Contacts.js.map +1 -1
  665. package/lib/components/Footer/Footer.mobile.js +8 -7
  666. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  667. package/lib/components/Footer/FooterContent.d.ts +5 -9
  668. package/lib/components/Gallery/Gallery.mobile.js +7 -3
  669. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  670. package/lib/components/Gallery/GalleryCardInner.js +15 -18
  671. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  672. package/lib/components/Gallery/GalleryContainer.js +2 -2
  673. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  674. package/lib/components/Gallery/GalleryContent.d.ts +11 -3
  675. package/lib/components/Header/Header.mobile.js +5 -5
  676. package/lib/components/Header/Header.mobile.js.map +1 -1
  677. package/lib/components/Header/HeaderSubMenu.js +2 -1
  678. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  679. package/lib/components/Headline/constants.d.ts +2 -1
  680. package/lib/components/Headline/constants.js +9 -0
  681. package/lib/components/Headline/constants.js.map +1 -1
  682. package/lib/components/InvestmentInfo/InvestmentInfo.d.ts +5 -0
  683. package/lib/components/InvestmentInfo/InvestmentInfo.fixture.d.ts +7 -0
  684. package/lib/components/InvestmentInfo/InvestmentInfo.js +47 -0
  685. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -0
  686. package/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +49 -0
  687. package/lib/components/InvestmentInfo/InvestmentInfoContent.js +2 -0
  688. package/lib/components/InvestmentInfo/InvestmentInfoContent.js.map +1 -0
  689. package/lib/components/MiniGallery/MiniGallery.fixture.d.ts +1 -0
  690. package/lib/components/MiniGallery/MiniGalleryContent.d.ts +1 -0
  691. package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  692. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  693. package/lib/components/OtherProducts/OtherProductsItem.js +5 -5
  694. package/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
  695. package/lib/components/ProductGallery/ProductGallery.js +2 -2
  696. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  697. package/lib/components/ProductTile/ProductTile.js +1 -1
  698. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  699. package/lib/components/Recommendation/RecommendationContent.d.ts +5 -0
  700. package/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
  701. package/lib/components/SafeDepositRental/SafeBoxCases.d.ts +1 -1
  702. package/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  703. package/lib/components/SafeDepositRental/SafeDepositRental.js +18 -4
  704. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  705. package/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +7 -4
  706. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +3 -5
  707. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  708. package/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +7 -3
  709. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +9 -30
  710. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  711. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +1 -1
  712. package/lib/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -2
  713. package/lib/components/SafeDepositRental/utils.d.ts +1 -1
  714. package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +2 -0
  715. package/lib/components/StepsBlock/StepsBlock.js +5 -6
  716. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  717. package/lib/components/StepsBlock/StepsBlockContent.d.ts +9 -2
  718. package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
  719. package/lib/components/StepsBlock/StepsBlockStyleMaps.js +4 -2
  720. package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  721. package/lib/components/StepsBlock/renderItems.d.ts +8 -0
  722. package/lib/components/StepsBlock/renderItems.js +7 -0
  723. package/lib/components/StepsBlock/renderItems.js.map +1 -0
  724. package/lib/components/StepsBlock/renderStepContent.d.ts +14 -0
  725. package/lib/components/StepsBlock/renderStepContent.js +17 -0
  726. package/lib/components/StepsBlock/renderStepContent.js.map +1 -0
  727. package/lib/components/TariffsTable/EmbeddableCellData.js +4 -5
  728. package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  729. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +1 -2
  730. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  731. package/lib/components/TariffsTable/TariffsTable.js +11 -2
  732. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  733. package/lib/components/TariffsTable/TariffsTableCell.js +1 -1
  734. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  735. package/lib/components/TariffsTable/TariffsTableRow.js +1 -2
  736. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  737. package/lib/components/TariffsTable/dataFixture.js +4 -2
  738. package/lib/components/TariffsTable/dataFixture.js.map +1 -1
  739. package/lib/components/TariffsTable/utils/getButtonAriaLabel.d.ts +1 -1
  740. package/lib/components/TariffsTable/utils/getButtonAriaLabel.js +1 -2
  741. package/lib/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -1
  742. package/lib/components/Tile/Tile.js +2 -3
  743. package/lib/components/Tile/Tile.js.map +1 -1
  744. package/lib/hooks/useOutsideClick.d.ts +5 -0
  745. package/lib/hooks/useOutsideClick.js +18 -0
  746. package/lib/hooks/useOutsideClick.js.map +1 -0
  747. package/lib/hooks/{useFetchSafeBoxes.d.ts → useSafeBoxes.d.ts} +1 -3
  748. package/lib/hooks/{useFetchSafeBoxes.js → useSafeBoxes.js} +7 -8
  749. package/lib/hooks/useSafeBoxes.js.map +1 -0
  750. package/lib/icons/IconName.d.ts +1 -92
  751. package/lib/icons/IconName.js +3 -3
  752. package/lib/icons/IconName.js.map +1 -1
  753. package/lib/model/BlockDecorator.d.ts +1 -0
  754. package/lib/model/BlockDecorator.js +1 -0
  755. package/lib/model/BlockDecorator.js.map +1 -1
  756. package/lib/model/BlocksRegistry.d.ts +4 -1
  757. package/lib/model/HeadlineType.d.ts +8 -0
  758. package/lib/model/Picture.d.ts +1 -0
  759. package/lib/react/setup-fixture.js +0 -2
  760. package/lib/react/setup-fixture.js.map +1 -1
  761. package/lib/ui-kit/BenefitItem/BenefitItem.js +3 -1
  762. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  763. package/lib/ui-kit/BlockWrapper.d.ts +0 -3
  764. package/lib/ui-kit/BlockWrapper.js +4 -4
  765. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  766. package/lib/ui-kit/BlocksList/renderBlocksList.d.ts +1 -1
  767. package/lib/ui-kit/BlocksList/renderBlocksList.js +1 -1
  768. package/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  769. package/lib/ui-kit/Button/Button.js +6 -10
  770. package/lib/ui-kit/Button/Button.js.map +1 -1
  771. package/lib/ui-kit/Button/Button.mobile.js +1 -1
  772. package/lib/ui-kit/Button/Button.mobile.js.map +1 -1
  773. package/lib/ui-kit/Button/ButtonInner.js +3 -2
  774. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  775. package/lib/ui-kit/Button/ButtonProps.d.ts +1 -7
  776. package/lib/ui-kit/Button/ButtonSection.js +5 -10
  777. package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  778. package/lib/ui-kit/Button/buttonClassNameConstants.d.ts +1 -0
  779. package/lib/ui-kit/Button/buttonClassNameConstants.js +6 -0
  780. package/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  781. package/lib/ui-kit/CurrencyInput/CurrencyInput.js +8 -2
  782. package/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  783. package/lib/ui-kit/CurrencyInput/adjustValue .d.ts +2 -0
  784. package/lib/ui-kit/CurrencyInput/adjustValue .js +9 -2
  785. package/lib/ui-kit/CurrencyInput/adjustValue .js.map +1 -1
  786. package/lib/ui-kit/Foldable/DefaultFoldButton.d.ts +14 -0
  787. package/lib/ui-kit/Foldable/DefaultFoldButton.js +13 -0
  788. package/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -0
  789. package/lib/ui-kit/Foldable/Foldable.d.ts +5 -18
  790. package/lib/ui-kit/Foldable/Foldable.js +10 -18
  791. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  792. package/lib/ui-kit/Foldable/FoldablePartProps.d.ts +4 -0
  793. package/lib/ui-kit/Foldable/FoldablePartProps.js +2 -0
  794. package/lib/ui-kit/Foldable/FoldablePartProps.js.map +1 -0
  795. package/lib/ui-kit/Foldable/FoldableSection.d.ts +5 -0
  796. package/lib/ui-kit/Foldable/FoldableSection.js +15 -0
  797. package/lib/ui-kit/Foldable/FoldableSection.js.map +1 -0
  798. package/lib/ui-kit/Icon/Icon.js +4 -5
  799. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  800. package/lib/ui-kit/Icon/IconProps.d.ts +0 -1
  801. package/lib/ui-kit/Img/Img.d.ts +1 -2
  802. package/lib/ui-kit/Img/Img.js +1 -6
  803. package/lib/ui-kit/Img/Img.js.map +1 -1
  804. package/lib/ui-kit/Img/Img.mobile.js +1 -3
  805. package/lib/ui-kit/Img/Img.mobile.js.map +1 -1
  806. package/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
  807. package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  808. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js +6 -2
  809. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  810. package/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
  811. package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  812. package/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  813. package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  814. package/lib/ui-kit/Input/Input.js +12 -3
  815. package/lib/ui-kit/Input/Input.js.map +1 -1
  816. package/lib/ui-kit/Input/InputProps.d.ts +2 -0
  817. package/lib/ui-kit/InputRange/InputRange.js +2 -2
  818. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  819. package/lib/ui-kit/IntersectionObserverTag.d.ts +11 -0
  820. package/lib/ui-kit/IntersectionObserverTag.js +20 -0
  821. package/lib/ui-kit/IntersectionObserverTag.js.map +1 -0
  822. package/lib/ui-kit/List/List.fixture.d.ts +0 -4
  823. package/lib/ui-kit/List/List.js +13 -8
  824. package/lib/ui-kit/List/List.js.map +1 -1
  825. package/lib/ui-kit/List/ListItem.d.ts +2 -2
  826. package/lib/ui-kit/List/ListItem.js +7 -21
  827. package/lib/ui-kit/List/ListItem.js.map +1 -1
  828. package/lib/ui-kit/List/ListProps.d.ts +5 -3
  829. package/lib/ui-kit/Radio/Radio.js +1 -1
  830. package/lib/ui-kit/Radio/Radio.js.map +1 -1
  831. package/lib/ui-kit/Select/Select.js +5 -2
  832. package/lib/ui-kit/Select/Select.js.map +1 -1
  833. package/lib/utils/getSanitizedValue.d.ts +1 -0
  834. package/lib/utils/getSanitizedValue.js +2 -0
  835. package/lib/utils/getSanitizedValue.js.map +1 -0
  836. package/mobile/bundle/EventBus/EventBus.d.ts +10 -0
  837. package/mobile/bundle/EventBus/EventMap.d.ts +7 -0
  838. package/mobile/bundle/ProjectSettings.d.ts +24 -0
  839. package/mobile/bundle/api/DaDataAPI.d.ts +15 -0
  840. package/mobile/bundle/api/LikeAPI.d.ts +9 -0
  841. package/mobile/bundle/bundle.umd.js +157 -625
  842. package/mobile/bundle/bundle.umd.min.js +1 -1
  843. package/mobile/bundle/components/Accordion/Accordion.d.ts +5 -0
  844. package/mobile/bundle/components/Accordion/AccordionContent.d.ts +45 -0
  845. package/mobile/bundle/components/Accordion/AccordionItem.d.ts +2 -0
  846. package/mobile/bundle/components/Accordion/AccordionItemProps.d.ts +5 -0
  847. package/mobile/bundle/components/Accordion/AccordionItemsList.d.ts +1 -0
  848. package/mobile/bundle/components/BaseTile/BaseTile.d.ts +5 -0
  849. package/mobile/bundle/components/BaseTile/BaseTileProps.d.ts +15 -0
  850. package/mobile/bundle/components/BaseTile/getTileHeadingType.d.ts +1 -0
  851. package/mobile/bundle/components/BaseTile/getTileMinHeight.d.ts +1 -0
  852. package/mobile/bundle/components/BaseTile/getTileRightPadding.d.ts +1 -0
  853. package/mobile/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +5 -0
  854. package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +52 -0
  855. package/mobile/bundle/components/Blocks.d.ts +17 -0
  856. package/mobile/bundle/components/Bonus/Bonus.d.ts +5 -0
  857. package/mobile/bundle/components/Bonus/BonusContent.d.ts +45 -0
  858. package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +5 -0
  859. package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +15 -0
  860. package/mobile/bundle/components/BonusBenefitsBlock/getElementsColsValue.d.ts +1 -0
  861. package/mobile/bundle/components/Calculator/BonusCalculatorForm.d.ts +5 -0
  862. package/mobile/bundle/components/Calculator/Calculator.d.ts +5 -0
  863. package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +129 -0
  864. package/mobile/bundle/components/Calculator/CalculatorValueBlock.d.ts +8 -0
  865. package/mobile/bundle/components/Calculator/CreditCalculatorForm.d.ts +7 -0
  866. package/mobile/bundle/components/Calculator/DepositCalculatorForm.d.ts +5 -0
  867. package/mobile/bundle/components/Calculator/EmbeddableCalcBlocks.d.ts +9 -0
  868. package/mobile/bundle/components/Calculator/Rate.d.ts +7 -0
  869. package/mobile/bundle/components/Calculator/constants.d.ts +16 -0
  870. package/mobile/bundle/components/Calculator/getBonus.d.ts +2 -0
  871. package/mobile/bundle/components/Calculator/getCreditRate.d.ts +7 -0
  872. package/mobile/bundle/components/Calculator/getDefaultMonths.d.ts +1 -0
  873. package/mobile/bundle/components/Calculator/getDefaultSum.d.ts +1 -0
  874. package/mobile/bundle/components/Calculator/getMonthlyPayment.d.ts +6 -0
  875. package/mobile/bundle/components/Calculator/renderButtonSection.d.ts +2 -0
  876. package/mobile/bundle/components/Calculator/renderCalculatorBlock.d.ts +3 -0
  877. package/mobile/bundle/components/Calculator/renderFootnote.d.ts +2 -0
  878. package/mobile/bundle/components/Calculator/renderInitialFeeInput.d.ts +6 -0
  879. package/mobile/bundle/components/Calculator/renderMonthsInput.d.ts +8 -0
  880. package/mobile/bundle/components/Calculator/renderPaymentTypeSelector.d.ts +6 -0
  881. package/mobile/bundle/components/Calculator/renderProposal.d.ts +2 -0
  882. package/mobile/bundle/components/Calculator/renderProposalMortgage.d.ts +8 -0
  883. package/mobile/bundle/components/Calculator/renderRealEstateValue.d.ts +6 -0
  884. package/mobile/bundle/components/Calculator/renderWantedSumInput.d.ts +11 -0
  885. package/mobile/bundle/components/Calculator/useBonusCalculatorParams.d.ts +36 -0
  886. package/mobile/bundle/components/Calculator/useCalculatorParams.d.ts +1 -0
  887. package/mobile/bundle/components/Calculator/useCreditCalculatorParams.d.ts +27 -0
  888. package/mobile/bundle/components/CardTransfer/CardTransfer.d.ts +5 -0
  889. package/mobile/bundle/components/CardTransfer/CardTransferContent.d.ts +10 -0
  890. package/mobile/bundle/components/Catalog/Catalog.d.ts +5 -0
  891. package/mobile/bundle/components/Catalog/CatalogCard.d.ts +7 -0
  892. package/mobile/bundle/components/Catalog/CatalogContent.d.ts +25 -0
  893. package/mobile/bundle/components/ComparisonTable/ComparisonTable.d.ts +5 -0
  894. package/mobile/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +12 -0
  895. package/mobile/bundle/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +10 -0
  896. package/mobile/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +50 -0
  897. package/mobile/bundle/components/ComparisonTable/ComparisonTableRows.d.ts +13 -0
  898. package/mobile/bundle/components/ComparisonTable/HeaderCell.d.ts +11 -0
  899. package/mobile/bundle/components/ComparisonTable/TableCarouselContainer.d.ts +7 -0
  900. package/mobile/bundle/components/ComparisonTable/TableCell.d.ts +9 -0
  901. package/mobile/bundle/components/ComparisonTable/TableColumn.d.ts +15 -0
  902. package/mobile/bundle/components/ComparisonTable/TableRow.d.ts +14 -0
  903. package/mobile/bundle/components/ComparisonTable/TableRowContainer.d.ts +1 -0
  904. package/mobile/bundle/components/ComparisonTable/constants.d.ts +6 -0
  905. package/mobile/bundle/components/ContentPage/ContentPage.d.ts +10 -0
  906. package/mobile/bundle/components/ContentPage/ContentPageContext.d.ts +17 -0
  907. package/mobile/bundle/components/ContentPage/ContentPageHead.d.ts +7 -0
  908. package/mobile/bundle/components/ContentPage/computeAPIFallback.d.ts +5 -0
  909. package/mobile/bundle/components/ContentPage/filterBlocks.d.ts +3 -0
  910. package/mobile/bundle/components/ContentPage/normalizeBlock.d.ts +2 -0
  911. package/mobile/bundle/components/ContentPage/normalizePage.d.ts +3 -0
  912. package/mobile/bundle/components/ContentPage/renderBlock.d.ts +13 -0
  913. package/mobile/bundle/components/ErrorBlock/ErrorBlock.d.ts +5 -0
  914. package/mobile/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +48 -0
  915. package/mobile/bundle/components/ExchangeRateTile/CurrencyProps.d.ts +5 -0
  916. package/mobile/bundle/components/ExchangeRateTile/CurrencyTable.d.ts +7 -0
  917. package/mobile/bundle/components/ExchangeRateTile/CurrentLocation.d.ts +7 -0
  918. package/mobile/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +21 -0
  919. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
  920. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +8 -0
  921. package/mobile/bundle/components/ExchangeRateTile/calculateResult.d.ts +2 -0
  922. package/mobile/bundle/components/ExchangeRateTile/callbackCurrencySelect.d.ts +8 -0
  923. package/mobile/bundle/components/ExchangeRateTile/formatCurrency.d.ts +1 -0
  924. package/mobile/bundle/components/ExchangeRateTile/renderInput.d.ts +13 -0
  925. package/mobile/bundle/components/Footer/Contacts.d.ts +7 -0
  926. package/mobile/bundle/components/Footer/Footer.d.ts +5 -0
  927. package/mobile/bundle/components/Footer/FooterContent.d.ts +44 -0
  928. package/mobile/bundle/components/Footer/FooterLink.d.ts +5 -0
  929. package/mobile/bundle/components/Footer/HorizontalNavigation.d.ts +6 -0
  930. package/mobile/bundle/components/Footer/HorizontalNavigationLink.d.ts +8 -0
  931. package/mobile/bundle/components/Footer/MediaButton.d.ts +7 -0
  932. package/mobile/bundle/components/Footer/Sitemap.d.ts +8 -0
  933. package/mobile/bundle/components/Footer/SocialMedia.d.ts +8 -0
  934. package/mobile/bundle/components/Footer/TextInformation.d.ts +2 -0
  935. package/mobile/bundle/components/Footer/TextInformationLink.d.ts +8 -0
  936. package/mobile/bundle/components/Gallery/Gallery.d.ts +2 -0
  937. package/mobile/bundle/components/Gallery/GalleryCardInner.d.ts +2 -0
  938. package/mobile/bundle/components/Gallery/GalleryContainer.d.ts +13 -0
  939. package/mobile/bundle/components/Gallery/GalleryContent.d.ts +64 -0
  940. package/mobile/bundle/components/Gallery/GalleryInner.d.ts +7 -0
  941. package/mobile/bundle/components/Gallery/GalleryProps.d.ts +4 -0
  942. package/mobile/bundle/components/Gallery/constants.d.ts +4 -0
  943. package/mobile/bundle/components/GracePeriod/GracePeriod.d.ts +5 -0
  944. package/mobile/bundle/components/GracePeriod/GracePeriodContent.d.ts +32 -0
  945. package/mobile/bundle/components/Header/DropdownMenu.d.ts +14 -0
  946. package/mobile/bundle/components/Header/Header.d.ts +5 -0
  947. package/mobile/bundle/components/Header/Header.fallback.d.ts +2 -0
  948. package/mobile/bundle/components/Header/HeaderBurger.d.ts +11 -0
  949. package/mobile/bundle/components/Header/HeaderContent.d.ts +41 -0
  950. package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +10 -0
  951. package/mobile/bundle/components/Header/HeaderSecondaryMenuButton.d.ts +6 -0
  952. package/mobile/bundle/components/Header/HeaderSubMenu.d.ts +9 -0
  953. package/mobile/bundle/components/Header/HeaderTop.d.ts +6 -0
  954. package/mobile/bundle/components/Headline/Headline.d.ts +5 -0
  955. package/mobile/bundle/components/Headline/HeadlineContent.d.ts +15 -0
  956. package/mobile/bundle/components/Headline/constants.d.ts +20 -0
  957. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +5 -0
  958. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +30 -0
  959. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +7 -0
  960. package/mobile/bundle/components/InvestmentInfo/InvestmentInfo.d.ts +5 -0
  961. package/mobile/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +49 -0
  962. package/mobile/bundle/components/LikeControl/LikeControl.d.ts +2 -0
  963. package/mobile/bundle/components/LinkDocs/LinkDocs.d.ts +5 -0
  964. package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +43 -0
  965. package/mobile/bundle/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
  966. package/mobile/bundle/components/LinkDocs/LinkDocsList.d.ts +9 -0
  967. package/mobile/bundle/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
  968. package/mobile/bundle/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
  969. package/mobile/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
  970. package/mobile/bundle/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
  971. package/mobile/bundle/components/LinkList/LinkList.d.ts +5 -0
  972. package/mobile/bundle/components/LinkList/LinkListContent.d.ts +8 -0
  973. package/mobile/bundle/components/LinkList/linkListContentExample.d.ts +2 -0
  974. package/mobile/bundle/components/MiniGallery/MiniGallery.d.ts +5 -0
  975. package/mobile/bundle/components/MiniGallery/MiniGalleryContent.d.ts +12 -0
  976. package/mobile/bundle/components/MobileAppTile/MobileAppTile.d.ts +5 -0
  977. package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +31 -0
  978. package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +5 -0
  979. package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +10 -0
  980. package/mobile/bundle/components/OtherProducts/OtherProducts.d.ts +5 -0
  981. package/mobile/bundle/components/OtherProducts/OtherProductsContent.d.ts +25 -0
  982. package/mobile/bundle/components/OtherProducts/OtherProductsItem.d.ts +6 -0
  983. package/mobile/bundle/components/PictureText/PictureText.d.ts +5 -0
  984. package/mobile/bundle/components/PictureText/PictureTextContent.d.ts +34 -0
  985. package/mobile/bundle/components/Placeholder/Placeholder.d.ts +6 -0
  986. package/mobile/bundle/components/Placeholder/PlaceholderContent.d.ts +5 -0
  987. package/mobile/bundle/components/ProductBlock/ProductBlock.d.ts +5 -0
  988. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +54 -0
  989. package/mobile/bundle/components/ProductBlock/ProductBlockInner.d.ts +4 -0
  990. package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +4 -0
  991. package/mobile/bundle/components/ProductBlock/renderBenefit.d.ts +5 -0
  992. package/mobile/bundle/components/ProductGallery/ProductGallery.d.ts +5 -0
  993. package/mobile/bundle/components/ProductGallery/ProductGalleryBlock.d.ts +8 -0
  994. package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +29 -0
  995. package/mobile/bundle/components/ProductTile/ProductTile.d.ts +5 -0
  996. package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +33 -0
  997. package/mobile/bundle/components/PromoTile/PromoTile.d.ts +5 -0
  998. package/mobile/bundle/components/PromoTile/PromoTileContent.d.ts +12 -0
  999. package/mobile/bundle/components/Recommendation/Recommendation.d.ts +5 -0
  1000. package/mobile/bundle/components/Recommendation/RecommendationCard.d.ts +7 -0
  1001. package/mobile/bundle/components/Recommendation/RecommendationContent.d.ts +43 -0
  1002. package/mobile/bundle/components/SafeDepositRental/RegionsAndBranches.d.ts +12 -0
  1003. package/mobile/bundle/components/SafeDepositRental/RenderRadioButtons.d.ts +2 -0
  1004. package/mobile/bundle/components/SafeDepositRental/RentalPeriod.d.ts +6 -0
  1005. package/mobile/bundle/components/SafeDepositRental/SafeBoxCases.d.ts +11 -0
  1006. package/mobile/bundle/components/SafeDepositRental/SafeDepositRental.d.ts +5 -0
  1007. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +9 -0
  1008. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +12 -0
  1009. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +11 -0
  1010. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +6 -0
  1011. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +8 -0
  1012. package/mobile/bundle/components/SafeDepositRental/WrapperSelect.d.ts +11 -0
  1013. package/mobile/bundle/components/SafeDepositRental/YandexMap.d.ts +5 -0
  1014. package/mobile/bundle/components/SafeDepositRental/renderClusterer.d.ts +2 -0
  1015. package/mobile/bundle/components/SafeDepositRental/useGetRegions.d.ts +6 -0
  1016. package/mobile/bundle/components/SafeDepositRental/useYandexMaps.d.ts +2 -0
  1017. package/mobile/bundle/components/SafeDepositRental/utils.d.ts +3 -0
  1018. package/mobile/bundle/components/StepsBlock/StepsBlock.d.ts +5 -0
  1019. package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +43 -0
  1020. package/mobile/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +11 -0
  1021. package/mobile/bundle/components/StepsBlock/renderItems.d.ts +8 -0
  1022. package/mobile/bundle/components/StepsBlock/renderStepContent.d.ts +14 -0
  1023. package/mobile/bundle/components/Tabs/Tabs.d.ts +13 -0
  1024. package/mobile/bundle/components/Tabs/TabsContent.d.ts +36 -0
  1025. package/mobile/bundle/components/Tabs/renderGroupTab.d.ts +4 -0
  1026. package/mobile/bundle/components/Tabs/renderLinkTab.d.ts +9 -0
  1027. package/mobile/bundle/components/Tabs/renderTab.d.ts +12 -0
  1028. package/mobile/bundle/components/Tabs/tabItemClasses.d.ts +6 -0
  1029. package/mobile/bundle/components/TariffsTable/EmbeddableCellData.d.ts +12 -0
  1030. package/mobile/bundle/components/TariffsTable/TableTileHeader.d.ts +2 -0
  1031. package/mobile/bundle/components/TariffsTable/TariffsTable.d.ts +5 -0
  1032. package/mobile/bundle/components/TariffsTable/TariffsTableCell.d.ts +9 -0
  1033. package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +95 -0
  1034. package/mobile/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +6 -0
  1035. package/mobile/bundle/components/TariffsTable/TariffsTableRow.d.ts +9 -0
  1036. package/mobile/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +7 -0
  1037. package/mobile/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +8 -0
  1038. package/mobile/bundle/components/TariffsTable/TariffsTableVertical.d.ts +6 -0
  1039. package/mobile/bundle/components/TariffsTable/constants.d.ts +4 -0
  1040. package/mobile/bundle/components/TariffsTable/dataFixture.d.ts +5 -0
  1041. package/mobile/bundle/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
  1042. package/mobile/bundle/components/TextBlock/TextBlock.d.ts +5 -0
  1043. package/mobile/bundle/components/TextBlock/TextBlockContent.d.ts +22 -0
  1044. package/mobile/bundle/components/Tile/Tile.d.ts +6 -0
  1045. package/mobile/bundle/components/Tile/TileContent.d.ts +34 -0
  1046. package/mobile/bundle/content-page-repository/ContentPageRepository.d.ts +11 -0
  1047. package/mobile/bundle/content-page-repository/TransformationOptions.d.ts +4 -0
  1048. package/mobile/bundle/content-page-repository/index.d.ts +2 -0
  1049. package/mobile/bundle/content-page-repository/mapJSON.d.ts +1 -0
  1050. package/mobile/bundle/content-page-repository/transformContentPage.d.ts +3 -0
  1051. package/mobile/bundle/content-page-repository/transformImg.d.ts +11 -0
  1052. package/mobile/bundle/content-page-repository/transformMarkdown.d.ts +1 -0
  1053. package/mobile/bundle/content-page-repository/transformPicture.d.ts +3 -0
  1054. package/mobile/bundle/content-page-repository/transformSrc.d.ts +3 -0
  1055. package/mobile/bundle/hooks/useExchangeRates.d.ts +2 -0
  1056. package/mobile/bundle/hooks/useExternalNS.d.ts +2 -0
  1057. package/mobile/bundle/hooks/useGeolocation.d.ts +1 -0
  1058. package/mobile/bundle/hooks/useLikeService.d.ts +5 -0
  1059. package/mobile/bundle/hooks/useLink.d.ts +18 -0
  1060. package/mobile/bundle/hooks/useOutsideClick.d.ts +5 -0
  1061. package/mobile/{lib/hooks/useFetchSafeBoxes.d.ts → bundle/hooks/useSafeBoxes.d.ts} +1 -3
  1062. package/mobile/bundle/hooks/useSearch.d.ts +4 -0
  1063. package/mobile/bundle/hooks/useTableArrowScrollControl.d.ts +7 -0
  1064. package/mobile/bundle/hooks/useTariffsInnerTableData.d.ts +1 -0
  1065. package/mobile/bundle/icons/IconName.d.ts +194 -0
  1066. package/mobile/bundle/index.d.ts +9 -0
  1067. package/mobile/bundle/model/AlignType.d.ts +9 -0
  1068. package/mobile/bundle/model/BgColorVersion.d.ts +8 -0
  1069. package/mobile/bundle/model/BlockDecorator.d.ts +15 -0
  1070. package/mobile/bundle/model/BlockVersion.d.ts +11 -0
  1071. package/mobile/bundle/model/BlocksRegistry.d.ts +8 -0
  1072. package/mobile/bundle/model/ButtonVersion.d.ts +6 -0
  1073. package/mobile/bundle/model/ContentPageDef.d.ts +52 -0
  1074. package/mobile/bundle/model/EmptyOptionType.d.ts +4 -0
  1075. package/mobile/bundle/model/Fallback.d.ts +5 -0
  1076. package/mobile/bundle/model/Footnote.d.ts +4 -0
  1077. package/mobile/bundle/model/GalleryVersion.d.ts +1 -0
  1078. package/mobile/bundle/model/HeadlineType.d.ts +29 -0
  1079. package/mobile/bundle/model/IconVersion.d.ts +9 -0
  1080. package/mobile/bundle/model/ImageSize.d.ts +6 -0
  1081. package/mobile/bundle/model/InputTypes.d.ts +1 -0
  1082. package/mobile/bundle/model/LinkProps.d.ts +24 -0
  1083. package/mobile/bundle/model/ListOrientation.d.ts +8 -0
  1084. package/mobile/bundle/model/Picture.d.ts +59 -0
  1085. package/mobile/bundle/model/ProductColorVersion.d.ts +4 -0
  1086. package/mobile/bundle/model/SitemapProps.d.ts +24 -0
  1087. package/mobile/bundle/model/SizeVersion.d.ts +8 -0
  1088. package/mobile/bundle/model/TableVersion.d.ts +1 -0
  1089. package/mobile/bundle/model/VNode.d.ts +1 -0
  1090. package/mobile/bundle/react/setup-fixture.d.ts +4 -0
  1091. package/mobile/bundle/services/sitemap/SitemapProps.d.ts +24 -0
  1092. package/mobile/bundle/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
  1093. package/mobile/bundle/services/sitemap/findActiveSubItem.d.ts +3 -0
  1094. package/mobile/bundle/services/sitemap/isHrefActive.d.ts +4 -0
  1095. package/mobile/bundle/services/sitemap/isSubItemActive.d.ts +3 -0
  1096. package/mobile/bundle/services/sitemap/isTopItemActive.d.ts +3 -0
  1097. package/mobile/bundle/services/sitemap/mergeTopItems.d.ts +2 -0
  1098. package/mobile/bundle/services/sitemap/useSitemap.d.ts +3 -0
  1099. package/mobile/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +4 -0
  1100. package/mobile/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +20 -0
  1101. package/mobile/bundle/ui-kit/BlockWrapper.d.ts +7 -0
  1102. package/mobile/bundle/ui-kit/BlocksList/BlocksListProps.d.ts +96 -0
  1103. package/mobile/bundle/ui-kit/BlocksList/EmbeddableBlocks.d.ts +8 -0
  1104. package/mobile/bundle/ui-kit/BlocksList/renderBlocksList.d.ts +9 -0
  1105. package/mobile/bundle/ui-kit/Breadcrumb.d.ts +6 -0
  1106. package/mobile/bundle/ui-kit/Button/ArrowButton.d.ts +2 -0
  1107. package/mobile/bundle/ui-kit/Button/Button.d.ts +2 -0
  1108. package/mobile/bundle/ui-kit/Button/ButtonInner.d.ts +7 -0
  1109. package/mobile/bundle/ui-kit/Button/ButtonProps.d.ts +54 -0
  1110. package/mobile/bundle/ui-kit/Button/ButtonSection.d.ts +5 -0
  1111. package/mobile/bundle/ui-kit/Button/GetButtonClassParams.d.ts +6 -0
  1112. package/mobile/bundle/ui-kit/Button/LikeButton.d.ts +6 -0
  1113. package/mobile/bundle/ui-kit/Button/buttonClassNameConstants.d.ts +5 -0
  1114. package/mobile/bundle/ui-kit/Button/getDisabledButtonClasses.d.ts +2 -0
  1115. package/mobile/bundle/ui-kit/Button/getRegularButtonClasses.d.ts +2 -0
  1116. package/mobile/bundle/ui-kit/Button/renderArrows.d.ts +9 -0
  1117. package/mobile/bundle/ui-kit/Checkbox/Checkbox.d.ts +2 -0
  1118. package/mobile/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +7 -0
  1119. package/mobile/bundle/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -0
  1120. package/mobile/bundle/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +5 -0
  1121. package/mobile/bundle/ui-kit/CurrencyInput/adjustValue .d.ts +3 -0
  1122. package/mobile/bundle/ui-kit/Description/Description.d.ts +5 -0
  1123. package/mobile/bundle/ui-kit/Foldable/DefaultFoldButton.d.ts +14 -0
  1124. package/mobile/bundle/ui-kit/Foldable/Foldable.d.ts +9 -0
  1125. package/mobile/bundle/ui-kit/Foldable/FoldablePartProps.d.ts +4 -0
  1126. package/mobile/bundle/ui-kit/Foldable/FoldableSection.d.ts +5 -0
  1127. package/mobile/bundle/ui-kit/HeaderItem/HeaderItem.d.ts +3 -0
  1128. package/mobile/bundle/ui-kit/Heading/Heading.d.ts +2 -0
  1129. package/mobile/bundle/ui-kit/Heading/HeadingProps.d.ts +23 -0
  1130. package/mobile/bundle/ui-kit/Icon/Icon.d.ts +2 -0
  1131. package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +21 -0
  1132. package/mobile/bundle/ui-kit/Img/Img.d.ts +2 -0
  1133. package/mobile/bundle/ui-kit/Img/ImgAsPicture.d.ts +4 -0
  1134. package/mobile/bundle/ui-kit/Img/ImgInner.d.ts +2 -0
  1135. package/mobile/bundle/ui-kit/Img/ImgProps.d.ts +11 -0
  1136. package/mobile/bundle/ui-kit/Img/getIconVersion.d.ts +1 -0
  1137. package/mobile/bundle/ui-kit/InnerTable/InnerTable.d.ts +5 -0
  1138. package/mobile/bundle/ui-kit/InnerTable/InnerTableBody.d.ts +7 -0
  1139. package/mobile/bundle/ui-kit/InnerTable/InnerTableBodyItem.d.ts +6 -0
  1140. package/mobile/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +6 -0
  1141. package/mobile/bundle/ui-kit/InnerTable/InnerTableHeader.d.ts +7 -0
  1142. package/mobile/bundle/ui-kit/InnerTable/InnerTableProps.d.ts +24 -0
  1143. package/mobile/bundle/ui-kit/Input/Input.d.ts +2 -0
  1144. package/mobile/bundle/ui-kit/Input/InputProps.d.ts +16 -0
  1145. package/mobile/bundle/ui-kit/InputRange/InputRange.d.ts +2 -0
  1146. package/mobile/bundle/ui-kit/InputRange/InputRangeProps.d.ts +11 -0
  1147. package/mobile/bundle/ui-kit/IntersectionObserverTag.d.ts +11 -0
  1148. package/mobile/bundle/ui-kit/List/List.d.ts +2 -0
  1149. package/mobile/bundle/ui-kit/List/ListContent.d.ts +4 -0
  1150. package/mobile/bundle/ui-kit/List/ListItem.d.ts +12 -0
  1151. package/mobile/bundle/ui-kit/List/ListProps.d.ts +26 -0
  1152. package/mobile/bundle/ui-kit/Logo/Logo.d.ts +8 -0
  1153. package/mobile/bundle/ui-kit/Radio/Radio.d.ts +2 -0
  1154. package/mobile/bundle/ui-kit/Radio/RadioProps.d.ts +9 -0
  1155. package/mobile/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +12 -0
  1156. package/mobile/bundle/ui-kit/SVG.d.ts +19 -0
  1157. package/mobile/bundle/ui-kit/SearchBar/SearchBar.d.ts +2 -0
  1158. package/mobile/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +5 -0
  1159. package/mobile/bundle/ui-kit/Select/Select.d.ts +14 -0
  1160. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  1161. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
  1162. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
  1163. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
  1164. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +18 -0
  1165. package/mobile/bundle/ui-kit/SwipeListControl/constants.d.ts +2 -0
  1166. package/mobile/bundle/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
  1167. package/mobile/bundle/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +4 -0
  1168. package/mobile/bundle/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
  1169. package/mobile/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +2 -0
  1170. package/mobile/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +7 -0
  1171. package/mobile/bundle/ui-kit/TopItem/TopItem.d.ts +14 -0
  1172. package/mobile/bundle/utils/addSpacesBetweenNumbers.d.ts +1 -0
  1173. package/mobile/bundle/utils/adjustHref.d.ts +4 -0
  1174. package/mobile/bundle/utils/assertUnreachable.d.ts +1 -0
  1175. package/mobile/bundle/utils/changeHashOnObserve.d.ts +9 -0
  1176. package/mobile/bundle/utils/checkIsIconRenderable.d.ts +2 -0
  1177. package/mobile/bundle/utils/clamp.d.ts +1 -0
  1178. package/mobile/bundle/utils/fetchJSON.d.ts +2 -0
  1179. package/mobile/bundle/utils/getColSpan.d.ts +1 -0
  1180. package/mobile/bundle/utils/getCurrentDate.d.ts +1 -0
  1181. package/mobile/bundle/utils/getGeolocation.d.ts +1 -0
  1182. package/mobile/bundle/utils/getSanitizedValue.d.ts +1 -0
  1183. package/mobile/bundle/utils/isPictureSizeEmpty.d.ts +2 -0
  1184. package/mobile/bundle/utils/joinList.d.ts +1 -0
  1185. package/mobile/bundle/utils/maxBy.d.ts +2 -0
  1186. package/mobile/bundle/utils/roundTo.d.ts +1 -0
  1187. package/mobile/bundle/utils/style2className.d.ts +1 -0
  1188. package/mobile/bundle/utils/tableFunc.d.ts +2 -0
  1189. package/mobile/bundle/utils/url.d.ts +5 -0
  1190. package/mobile/bundle/utils/withoutMobilePath.d.ts +2 -0
  1191. package/mobile/dist/components/Accordion/Accordion.js +5 -2
  1192. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  1193. package/mobile/dist/components/Accordion/AccordionContent.d.ts +9 -7
  1194. package/mobile/dist/components/Accordion/AccordionItem.d.ts +1 -4
  1195. package/mobile/dist/components/Accordion/AccordionItem.js +7 -8
  1196. package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
  1197. package/mobile/dist/components/Accordion/AccordionItemProps.d.ts +5 -0
  1198. package/mobile/dist/components/Accordion/AccordionItemProps.js +2 -0
  1199. package/mobile/dist/components/Accordion/AccordionItemProps.js.map +1 -0
  1200. package/mobile/dist/components/Accordion/AccordionItemsList.d.ts +1 -0
  1201. package/mobile/dist/components/Accordion/AccordionItemsList.js +6 -0
  1202. package/mobile/dist/components/Accordion/AccordionItemsList.js.map +1 -0
  1203. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  1204. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  1205. package/mobile/dist/components/Blocks.d.ts +0 -1
  1206. package/mobile/dist/components/Blocks.js +0 -2
  1207. package/mobile/dist/components/Blocks.js.map +1 -1
  1208. package/mobile/dist/components/Calculator/CalculatorContent.d.ts +1 -1
  1209. package/mobile/dist/components/CardTransfer/CardTransfer.js +3 -2
  1210. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  1211. package/mobile/dist/components/Catalog/Catalog.js +1 -1
  1212. package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
  1213. package/mobile/dist/components/Catalog/CatalogCard.js +1 -23
  1214. package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
  1215. package/mobile/dist/components/ComparisonTable/ComparisonTable.js +13 -48
  1216. package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  1217. package/mobile/dist/components/ComparisonTable/TableColumn.d.ts +5 -8
  1218. package/mobile/dist/components/ComparisonTable/TableColumn.js +2 -8
  1219. package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  1220. package/mobile/dist/components/ContentPage/ContentPageContext.d.ts +0 -11
  1221. package/mobile/dist/components/ContentPage/filterBlocks.js +1 -3
  1222. package/mobile/dist/components/ContentPage/filterBlocks.js.map +1 -1
  1223. package/mobile/dist/components/ContentPage/renderBlock.js +1 -1
  1224. package/mobile/dist/components/ContentPage/renderBlock.js.map +1 -1
  1225. package/mobile/dist/components/ErrorBlock/ErrorBlock.js +1 -1
  1226. package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  1227. package/mobile/dist/components/ExchangeRateTile/renderInput.js +1 -1
  1228. package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
  1229. package/mobile/dist/components/Footer/Contacts.js +1 -1
  1230. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  1231. package/mobile/dist/components/Footer/Footer.js +8 -7
  1232. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  1233. package/mobile/dist/components/Footer/FooterContent.d.ts +5 -9
  1234. package/mobile/dist/components/Gallery/Gallery.js +7 -3
  1235. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  1236. package/mobile/dist/components/Gallery/GalleryCardInner.js +14 -17
  1237. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  1238. package/mobile/dist/components/Gallery/GalleryContainer.js +2 -2
  1239. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  1240. package/mobile/dist/components/Gallery/GalleryContent.d.ts +11 -3
  1241. package/mobile/dist/components/Header/Header.js +5 -5
  1242. package/mobile/dist/components/Header/Header.js.map +1 -1
  1243. package/mobile/dist/components/Header/HeaderSubMenu.js +3 -2
  1244. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  1245. package/mobile/dist/components/Headline/constants.d.ts +2 -1
  1246. package/mobile/dist/components/Headline/constants.js +10 -1
  1247. package/mobile/dist/components/Headline/constants.js.map +1 -1
  1248. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.d.ts +5 -0
  1249. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +49 -0
  1250. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -0
  1251. package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +49 -0
  1252. package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.js +2 -0
  1253. package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.js.map +1 -0
  1254. package/mobile/dist/components/MiniGallery/MiniGalleryContent.d.ts +1 -0
  1255. package/mobile/dist/components/OtherProducts/OtherProductsItem.js +5 -5
  1256. package/mobile/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
  1257. package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
  1258. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  1259. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +5 -0
  1260. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
  1261. package/mobile/dist/components/SafeDepositRental/SafeBoxCases.d.ts +1 -1
  1262. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  1263. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +17 -3
  1264. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  1265. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +7 -4
  1266. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js +3 -5
  1267. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  1268. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +7 -3
  1269. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +7 -28
  1270. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  1271. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +1 -1
  1272. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -2
  1273. package/mobile/dist/components/SafeDepositRental/utils.d.ts +1 -1
  1274. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +9 -2
  1275. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
  1276. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js +4 -2
  1277. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  1278. package/mobile/dist/components/StepsBlock/renderItems.d.ts +8 -0
  1279. package/mobile/dist/components/StepsBlock/renderItems.js +10 -0
  1280. package/mobile/dist/components/StepsBlock/renderItems.js.map +1 -0
  1281. package/mobile/dist/components/StepsBlock/renderStepContent.d.ts +14 -0
  1282. package/mobile/dist/components/StepsBlock/renderStepContent.js +20 -0
  1283. package/mobile/dist/components/StepsBlock/renderStepContent.js.map +1 -0
  1284. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +1 -2
  1285. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  1286. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +1 -1
  1287. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  1288. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +1 -2
  1289. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  1290. package/mobile/dist/components/TariffsTable/dataFixture.js +4 -2
  1291. package/mobile/dist/components/TariffsTable/dataFixture.js.map +1 -1
  1292. package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.d.ts +1 -1
  1293. package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.js +1 -2
  1294. package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -1
  1295. package/mobile/dist/components/Tile/Tile.js +2 -3
  1296. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  1297. package/mobile/dist/hooks/useOutsideClick.d.ts +5 -0
  1298. package/mobile/dist/hooks/useOutsideClick.js +21 -0
  1299. package/mobile/dist/hooks/useOutsideClick.js.map +1 -0
  1300. package/mobile/dist/hooks/useSafeBoxes.d.ts +20 -0
  1301. package/{dist/hooks/useFetchSafeBoxes.js → mobile/dist/hooks/useSafeBoxes.js} +9 -10
  1302. package/mobile/dist/hooks/useSafeBoxes.js.map +1 -0
  1303. package/mobile/dist/icons/IconName.d.ts +1 -92
  1304. package/mobile/dist/icons/IconName.js +4 -4
  1305. package/mobile/dist/icons/IconName.js.map +1 -1
  1306. package/mobile/dist/model/BlockDecorator.d.ts +1 -0
  1307. package/mobile/dist/model/BlockDecorator.js +2 -1
  1308. package/mobile/dist/model/BlockDecorator.js.map +1 -1
  1309. package/mobile/dist/model/BlocksRegistry.d.ts +4 -1
  1310. package/mobile/dist/model/HeadlineType.d.ts +8 -0
  1311. package/mobile/dist/model/Picture.d.ts +1 -0
  1312. package/mobile/dist/react/setup-fixture.js +0 -2
  1313. package/mobile/dist/react/setup-fixture.js.map +1 -1
  1314. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +3 -1
  1315. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  1316. package/mobile/dist/ui-kit/BlockWrapper.d.ts +0 -3
  1317. package/mobile/dist/ui-kit/BlockWrapper.js +5 -5
  1318. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  1319. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.d.ts +1 -1
  1320. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js +1 -1
  1321. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  1322. package/mobile/dist/ui-kit/Button/Button.js +1 -1
  1323. package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
  1324. package/mobile/dist/ui-kit/Button/ButtonInner.js +3 -2
  1325. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  1326. package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +1 -7
  1327. package/mobile/dist/ui-kit/Button/ButtonSection.js +5 -10
  1328. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  1329. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.d.ts +1 -0
  1330. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js +7 -1
  1331. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  1332. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js +7 -1
  1333. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  1334. package/mobile/dist/ui-kit/CurrencyInput/adjustValue .d.ts +2 -0
  1335. package/mobile/dist/ui-kit/CurrencyInput/adjustValue .js +11 -2
  1336. package/mobile/dist/ui-kit/CurrencyInput/adjustValue .js.map +1 -1
  1337. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.d.ts +14 -0
  1338. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js +16 -0
  1339. package/mobile/dist/ui-kit/Foldable/DefaultFoldButton.js.map +1 -0
  1340. package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +5 -18
  1341. package/mobile/dist/ui-kit/Foldable/Foldable.js +9 -17
  1342. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  1343. package/mobile/dist/ui-kit/Foldable/FoldablePartProps.d.ts +4 -0
  1344. package/mobile/dist/ui-kit/Foldable/FoldablePartProps.js +2 -0
  1345. package/mobile/dist/ui-kit/Foldable/FoldablePartProps.js.map +1 -0
  1346. package/mobile/dist/ui-kit/Foldable/FoldableSection.d.ts +5 -0
  1347. package/mobile/dist/ui-kit/Foldable/FoldableSection.js +17 -0
  1348. package/mobile/dist/ui-kit/Foldable/FoldableSection.js.map +1 -0
  1349. package/mobile/dist/ui-kit/Icon/Icon.js +4 -5
  1350. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  1351. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +0 -1
  1352. package/mobile/dist/ui-kit/Img/Img.js +1 -3
  1353. package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
  1354. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
  1355. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  1356. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js +6 -2
  1357. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  1358. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
  1359. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  1360. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  1361. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  1362. package/mobile/dist/ui-kit/Input/Input.js +12 -3
  1363. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  1364. package/mobile/dist/ui-kit/Input/InputProps.d.ts +2 -0
  1365. package/mobile/dist/ui-kit/InputRange/InputRange.js +2 -2
  1366. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  1367. package/mobile/dist/ui-kit/IntersectionObserverTag.d.ts +11 -0
  1368. package/mobile/dist/ui-kit/IntersectionObserverTag.js +22 -0
  1369. package/mobile/dist/ui-kit/IntersectionObserverTag.js.map +1 -0
  1370. package/mobile/dist/ui-kit/List/List.js +13 -8
  1371. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  1372. package/mobile/dist/ui-kit/List/ListItem.d.ts +2 -2
  1373. package/mobile/dist/ui-kit/List/ListItem.js +8 -23
  1374. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  1375. package/mobile/dist/ui-kit/List/ListProps.d.ts +5 -3
  1376. package/mobile/dist/ui-kit/Radio/Radio.js +1 -1
  1377. package/mobile/dist/ui-kit/Radio/Radio.js.map +1 -1
  1378. package/mobile/dist/ui-kit/Select/Select.js +4 -1
  1379. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  1380. package/mobile/dist/utils/getSanitizedValue.d.ts +1 -0
  1381. package/mobile/dist/utils/getSanitizedValue.js +5 -0
  1382. package/mobile/dist/utils/getSanitizedValue.js.map +1 -0
  1383. package/mobile/lib/components/Accordion/Accordion.js +5 -2
  1384. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  1385. package/mobile/lib/components/Accordion/AccordionContent.d.ts +9 -7
  1386. package/mobile/lib/components/Accordion/AccordionItem.d.ts +1 -4
  1387. package/mobile/lib/components/Accordion/AccordionItem.js +7 -8
  1388. package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
  1389. package/mobile/lib/components/Accordion/AccordionItemProps.d.ts +5 -0
  1390. package/mobile/lib/components/Accordion/AccordionItemProps.js +2 -0
  1391. package/mobile/lib/components/Accordion/AccordionItemProps.js.map +1 -0
  1392. package/mobile/lib/components/Accordion/AccordionItemsList.d.ts +1 -0
  1393. package/mobile/lib/components/Accordion/AccordionItemsList.js +4 -0
  1394. package/mobile/lib/components/Accordion/AccordionItemsList.js.map +1 -0
  1395. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  1396. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  1397. package/mobile/lib/components/Blocks.d.ts +0 -1
  1398. package/mobile/lib/components/Blocks.js +0 -2
  1399. package/mobile/lib/components/Blocks.js.map +1 -1
  1400. package/mobile/lib/components/Calculator/CalculatorContent.d.ts +1 -1
  1401. package/mobile/lib/components/CardTransfer/CardTransfer.js +3 -2
  1402. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  1403. package/mobile/lib/components/Catalog/Catalog.js +1 -1
  1404. package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
  1405. package/mobile/lib/components/Catalog/CatalogCard.js +1 -23
  1406. package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
  1407. package/mobile/lib/components/ComparisonTable/ComparisonTable.js +14 -49
  1408. package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  1409. package/mobile/lib/components/ComparisonTable/TableColumn.d.ts +5 -8
  1410. package/mobile/lib/components/ComparisonTable/TableColumn.js +2 -8
  1411. package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  1412. package/mobile/lib/components/ContentPage/ContentPageContext.d.ts +0 -11
  1413. package/mobile/lib/components/ContentPage/filterBlocks.js +1 -3
  1414. package/mobile/lib/components/ContentPage/filterBlocks.js.map +1 -1
  1415. package/mobile/lib/components/ContentPage/renderBlock.js +2 -2
  1416. package/mobile/lib/components/ContentPage/renderBlock.js.map +1 -1
  1417. package/mobile/lib/components/ErrorBlock/ErrorBlock.js +1 -1
  1418. package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  1419. package/mobile/lib/components/ExchangeRateTile/renderInput.js +1 -1
  1420. package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
  1421. package/mobile/lib/components/Footer/Contacts.js +1 -1
  1422. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  1423. package/mobile/lib/components/Footer/Footer.js +8 -7
  1424. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  1425. package/mobile/lib/components/Footer/FooterContent.d.ts +5 -9
  1426. package/mobile/lib/components/Gallery/Gallery.js +7 -3
  1427. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  1428. package/mobile/lib/components/Gallery/GalleryCardInner.js +15 -18
  1429. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  1430. package/mobile/lib/components/Gallery/GalleryContainer.js +2 -2
  1431. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  1432. package/mobile/lib/components/Gallery/GalleryContent.d.ts +11 -3
  1433. package/mobile/lib/components/Header/Header.js +5 -5
  1434. package/mobile/lib/components/Header/Header.js.map +1 -1
  1435. package/mobile/lib/components/Header/HeaderSubMenu.js +2 -1
  1436. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  1437. package/mobile/lib/components/Headline/constants.d.ts +2 -1
  1438. package/mobile/lib/components/Headline/constants.js +9 -0
  1439. package/mobile/lib/components/Headline/constants.js.map +1 -1
  1440. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.d.ts +5 -0
  1441. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +47 -0
  1442. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -0
  1443. package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +49 -0
  1444. package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.js +2 -0
  1445. package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.js.map +1 -0
  1446. package/mobile/lib/components/MiniGallery/MiniGalleryContent.d.ts +1 -0
  1447. package/mobile/lib/components/OtherProducts/OtherProductsItem.js +5 -5
  1448. package/mobile/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
  1449. package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
  1450. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  1451. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +5 -0
  1452. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
  1453. package/mobile/lib/components/SafeDepositRental/SafeBoxCases.d.ts +1 -1
  1454. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  1455. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +18 -4
  1456. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  1457. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +7 -4
  1458. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js +3 -5
  1459. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  1460. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +7 -3
  1461. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +9 -30
  1462. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  1463. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +1 -1
  1464. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -2
  1465. package/mobile/lib/components/SafeDepositRental/utils.d.ts +1 -1
  1466. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +9 -2
  1467. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
  1468. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js +4 -2
  1469. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  1470. package/mobile/lib/components/StepsBlock/renderItems.d.ts +8 -0
  1471. package/mobile/lib/components/StepsBlock/renderItems.js +7 -0
  1472. package/mobile/lib/components/StepsBlock/renderItems.js.map +1 -0
  1473. package/mobile/lib/components/StepsBlock/renderStepContent.d.ts +14 -0
  1474. package/mobile/lib/components/StepsBlock/renderStepContent.js +17 -0
  1475. package/mobile/lib/components/StepsBlock/renderStepContent.js.map +1 -0
  1476. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +1 -2
  1477. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  1478. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +1 -1
  1479. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  1480. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +1 -2
  1481. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  1482. package/mobile/lib/components/TariffsTable/dataFixture.js +4 -2
  1483. package/mobile/lib/components/TariffsTable/dataFixture.js.map +1 -1
  1484. package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.d.ts +1 -1
  1485. package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.js +1 -2
  1486. package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -1
  1487. package/mobile/lib/components/Tile/Tile.js +2 -3
  1488. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  1489. package/mobile/lib/hooks/useOutsideClick.d.ts +5 -0
  1490. package/mobile/lib/hooks/useOutsideClick.js +18 -0
  1491. package/mobile/lib/hooks/useOutsideClick.js.map +1 -0
  1492. package/mobile/lib/hooks/useSafeBoxes.d.ts +20 -0
  1493. package/mobile/lib/hooks/{useFetchSafeBoxes.js → useSafeBoxes.js} +7 -8
  1494. package/mobile/lib/hooks/useSafeBoxes.js.map +1 -0
  1495. package/mobile/lib/icons/IconName.d.ts +1 -92
  1496. package/mobile/lib/icons/IconName.js +3 -3
  1497. package/mobile/lib/icons/IconName.js.map +1 -1
  1498. package/mobile/lib/model/BlockDecorator.d.ts +1 -0
  1499. package/mobile/lib/model/BlockDecorator.js +1 -0
  1500. package/mobile/lib/model/BlockDecorator.js.map +1 -1
  1501. package/mobile/lib/model/BlocksRegistry.d.ts +4 -1
  1502. package/mobile/lib/model/HeadlineType.d.ts +8 -0
  1503. package/mobile/lib/model/Picture.d.ts +1 -0
  1504. package/mobile/lib/react/setup-fixture.js +0 -2
  1505. package/mobile/lib/react/setup-fixture.js.map +1 -1
  1506. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +3 -1
  1507. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  1508. package/mobile/lib/ui-kit/BlockWrapper.d.ts +0 -3
  1509. package/mobile/lib/ui-kit/BlockWrapper.js +4 -4
  1510. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  1511. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.d.ts +1 -1
  1512. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js +1 -1
  1513. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  1514. package/mobile/lib/ui-kit/Button/Button.js +1 -1
  1515. package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
  1516. package/mobile/lib/ui-kit/Button/ButtonInner.js +3 -2
  1517. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  1518. package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +1 -7
  1519. package/mobile/lib/ui-kit/Button/ButtonSection.js +5 -10
  1520. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  1521. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.d.ts +1 -0
  1522. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js +6 -0
  1523. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  1524. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js +8 -2
  1525. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  1526. package/mobile/lib/ui-kit/CurrencyInput/adjustValue .d.ts +2 -0
  1527. package/mobile/lib/ui-kit/CurrencyInput/adjustValue .js +9 -2
  1528. package/mobile/lib/ui-kit/CurrencyInput/adjustValue .js.map +1 -1
  1529. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.d.ts +14 -0
  1530. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js +13 -0
  1531. package/mobile/lib/ui-kit/Foldable/DefaultFoldButton.js.map +1 -0
  1532. package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +5 -18
  1533. package/mobile/lib/ui-kit/Foldable/Foldable.js +10 -18
  1534. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  1535. package/mobile/lib/ui-kit/Foldable/FoldablePartProps.d.ts +4 -0
  1536. package/mobile/lib/ui-kit/Foldable/FoldablePartProps.js +2 -0
  1537. package/mobile/lib/ui-kit/Foldable/FoldablePartProps.js.map +1 -0
  1538. package/mobile/lib/ui-kit/Foldable/FoldableSection.d.ts +5 -0
  1539. package/mobile/lib/ui-kit/Foldable/FoldableSection.js +15 -0
  1540. package/mobile/lib/ui-kit/Foldable/FoldableSection.js.map +1 -0
  1541. package/mobile/lib/ui-kit/Icon/Icon.js +4 -5
  1542. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  1543. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +0 -1
  1544. package/mobile/lib/ui-kit/Img/Img.js +1 -3
  1545. package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
  1546. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
  1547. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  1548. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js +6 -2
  1549. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  1550. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
  1551. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  1552. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  1553. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  1554. package/mobile/lib/ui-kit/Input/Input.js +12 -3
  1555. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  1556. package/mobile/lib/ui-kit/Input/InputProps.d.ts +2 -0
  1557. package/mobile/lib/ui-kit/InputRange/InputRange.js +2 -2
  1558. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  1559. package/mobile/lib/ui-kit/IntersectionObserverTag.d.ts +11 -0
  1560. package/mobile/lib/ui-kit/IntersectionObserverTag.js +20 -0
  1561. package/mobile/lib/ui-kit/IntersectionObserverTag.js.map +1 -0
  1562. package/mobile/lib/ui-kit/List/List.js +13 -8
  1563. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  1564. package/mobile/lib/ui-kit/List/ListItem.d.ts +2 -2
  1565. package/mobile/lib/ui-kit/List/ListItem.js +7 -21
  1566. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  1567. package/mobile/lib/ui-kit/List/ListProps.d.ts +5 -3
  1568. package/mobile/lib/ui-kit/Radio/Radio.js +1 -1
  1569. package/mobile/lib/ui-kit/Radio/Radio.js.map +1 -1
  1570. package/mobile/lib/ui-kit/Select/Select.js +5 -2
  1571. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  1572. package/mobile/lib/utils/getSanitizedValue.d.ts +1 -0
  1573. package/mobile/lib/utils/getSanitizedValue.js +2 -0
  1574. package/mobile/lib/utils/getSanitizedValue.js.map +1 -0
  1575. package/mobile/src/common.css +11 -3
  1576. package/mobile/src/components/Accordion/Accordion.tsx +17 -7
  1577. package/mobile/src/components/Accordion/AccordionContent.ts +10 -7
  1578. package/mobile/src/components/Accordion/AccordionItem.tsx +61 -33
  1579. package/mobile/src/components/Accordion/AccordionItemProps.ts +6 -0
  1580. package/mobile/src/components/Accordion/AccordionItemsList.tsx +5 -0
  1581. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  1582. package/mobile/src/components/Blocks.ts +0 -2
  1583. package/mobile/src/components/Calculator/CalculatorContent.ts +1 -1
  1584. package/mobile/src/components/CardTransfer/CardTransfer.tsx +3 -1
  1585. package/mobile/src/components/Catalog/Catalog.tsx +2 -2
  1586. package/mobile/src/components/Catalog/CatalogCard.tsx +1 -35
  1587. package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +49 -120
  1588. package/mobile/src/components/ComparisonTable/TableColumn.tsx +25 -27
  1589. package/mobile/src/components/ContentPage/ContentPageContext.tsx +0 -14
  1590. package/mobile/src/components/ContentPage/filterBlocks.ts +1 -3
  1591. package/mobile/src/components/ContentPage/renderBlock.tsx +2 -2
  1592. package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +1 -3
  1593. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.ui.json +8 -1
  1594. package/mobile/src/components/ExchangeRateTile/renderInput.tsx +1 -1
  1595. package/mobile/src/components/Footer/Contacts.tsx +1 -0
  1596. package/mobile/src/components/Footer/Footer.tsx +15 -13
  1597. package/mobile/src/components/Footer/FooterContent.ts +5 -10
  1598. package/mobile/src/components/Gallery/Gallery.tsx +15 -5
  1599. package/mobile/src/components/Gallery/GalleryCardInner.tsx +60 -44
  1600. package/mobile/src/components/Gallery/GalleryContainer.tsx +10 -2
  1601. package/mobile/src/components/Gallery/GalleryContent.ts +11 -3
  1602. package/mobile/src/components/GracePeriod/GracePeriod.ui.json +5 -0
  1603. package/mobile/src/components/Header/Header.tsx +16 -11
  1604. package/mobile/src/components/Header/HeaderSubMenu.tsx +2 -1
  1605. package/mobile/src/components/Headline/constants.ts +11 -1
  1606. package/mobile/src/components/InvestmentInfo/InvestmentInfo.example.json +48 -0
  1607. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +149 -0
  1608. package/mobile/src/components/InvestmentInfo/InvestmentInfo.ui.json +16 -0
  1609. package/mobile/src/components/InvestmentInfo/InvestmentInfoContent.ts +55 -0
  1610. package/mobile/src/components/MiniGallery/MiniGalleryContent.ts +1 -0
  1611. package/mobile/src/components/OtherProducts/OtherProductsItem.tsx +26 -14
  1612. package/mobile/src/components/ProductTile/ProductTile.tsx +3 -3
  1613. package/mobile/src/components/Recommendation/RecommendationContent.ts +5 -0
  1614. package/mobile/src/components/SafeDepositRental/RegionsAndBranches.tsx +1 -1
  1615. package/mobile/src/components/SafeDepositRental/SafeBoxCases.tsx +1 -1
  1616. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +34 -7
  1617. package/mobile/src/components/SafeDepositRental/SafeDepositRental.ui.json +8 -1
  1618. package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +13 -21
  1619. package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +21 -49
  1620. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
  1621. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTypes.ts +0 -3
  1622. package/mobile/src/components/SafeDepositRental/utils.ts +1 -1
  1623. package/mobile/src/components/StepsBlock/StepsBlock.ui.json +8 -0
  1624. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +9 -2
  1625. package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +5 -2
  1626. package/mobile/src/components/StepsBlock/renderItems.tsx +26 -0
  1627. package/mobile/src/components/StepsBlock/renderStepContent.tsx +63 -0
  1628. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +4 -8
  1629. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
  1630. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -4
  1631. package/mobile/src/components/TariffsTable/{dataFixture.ts → dataFixture.tsx} +3 -2
  1632. package/mobile/src/components/TariffsTable/utils/getButtonAriaLabel.ts +1 -3
  1633. package/mobile/src/components/Tile/Tile.tsx +3 -5
  1634. package/mobile/src/hooks/useOutsideClick.ts +25 -0
  1635. package/mobile/src/hooks/{useFetchSafeBoxes.ts → useSafeBoxes.ts} +7 -8
  1636. package/mobile/src/icons/IconName.ts +3 -3
  1637. package/mobile/src/model/BlockDecorator.ts +2 -0
  1638. package/mobile/src/model/BlocksRegistry.ts +4 -1
  1639. package/mobile/src/model/HeadlineType.ts +10 -0
  1640. package/mobile/src/model/Picture.ts +1 -0
  1641. package/mobile/src/react/setup-fixture.ts +0 -2
  1642. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -5
  1643. package/mobile/src/ui-kit/BlockWrapper.tsx +5 -9
  1644. package/mobile/src/ui-kit/BlocksList/renderBlocksList.tsx +1 -1
  1645. package/mobile/src/ui-kit/Button/Button.tsx +1 -1
  1646. package/mobile/src/ui-kit/Button/ButtonInner.tsx +4 -3
  1647. package/mobile/src/ui-kit/Button/ButtonProps.ts +1 -7
  1648. package/mobile/src/ui-kit/Button/ButtonSection.tsx +19 -41
  1649. package/mobile/src/ui-kit/Button/buttonClassNameConstants.ts +7 -0
  1650. package/mobile/src/ui-kit/CurrencyInput/CurrencyInput.tsx +19 -3
  1651. package/mobile/src/ui-kit/CurrencyInput/adjustValue .ts +13 -2
  1652. package/mobile/src/ui-kit/Foldable/DefaultFoldButton.tsx +52 -0
  1653. package/mobile/src/ui-kit/Foldable/Foldable.tsx +26 -78
  1654. package/mobile/src/ui-kit/Foldable/FoldablePartProps.ts +4 -0
  1655. package/mobile/src/ui-kit/Foldable/FoldableSection.tsx +30 -0
  1656. package/mobile/src/ui-kit/Icon/Icon.tsx +5 -6
  1657. package/mobile/src/ui-kit/Icon/IconProps.ts +0 -1
  1658. package/mobile/src/ui-kit/Img/Img.tsx +1 -13
  1659. package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  1660. package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +14 -5
  1661. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1662. package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +4 -3
  1663. package/mobile/src/ui-kit/Input/Input.tsx +18 -2
  1664. package/mobile/src/ui-kit/Input/InputProps.ts +2 -0
  1665. package/mobile/src/ui-kit/InputRange/InputRange.tsx +2 -3
  1666. package/mobile/src/ui-kit/IntersectionObserverTag.tsx +49 -0
  1667. package/mobile/src/ui-kit/List/List.tsx +29 -18
  1668. package/mobile/src/ui-kit/List/ListItem.tsx +14 -26
  1669. package/mobile/src/ui-kit/List/ListProps.ts +5 -3
  1670. package/mobile/src/ui-kit/Radio/Radio.tsx +3 -2
  1671. package/mobile/src/ui-kit/Select/Select.tsx +8 -3
  1672. package/mobile/src/utils/getSanitizedValue.ts +1 -0
  1673. package/package.json +3 -3
  1674. package/src/common.css +11 -3
  1675. package/src/components/Accordion/Accordion.mobile.tsx +17 -7
  1676. package/src/components/Accordion/Accordion.tsx +12 -3
  1677. package/src/components/Accordion/AccordionContent.ts +10 -7
  1678. package/src/components/Accordion/AccordionItem.mobile.tsx +61 -33
  1679. package/src/components/Accordion/AccordionItem.tsx +45 -33
  1680. package/src/components/Accordion/AccordionItemProps.ts +6 -0
  1681. package/src/components/Accordion/AccordionItemsList.tsx +5 -0
  1682. package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +4 -4
  1683. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  1684. package/src/components/Blocks.mobile.ts +0 -2
  1685. package/src/components/Blocks.ts +2 -0
  1686. package/src/components/Calculator/CalculatorContent.ts +1 -1
  1687. package/src/components/CardTransfer/CardTransfer.tsx +3 -1
  1688. package/src/components/Catalog/Catalog.fixture.tsx +10 -3
  1689. package/src/components/Catalog/Catalog.tsx +2 -2
  1690. package/src/components/Catalog/CatalogCard.tsx +1 -35
  1691. package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +49 -120
  1692. package/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
  1693. package/src/components/ComparisonTable/TableCell.tsx +2 -2
  1694. package/src/components/ComparisonTable/TableColumn.tsx +25 -27
  1695. package/src/components/ContentPage/ContentPageContext.tsx +0 -14
  1696. package/src/components/ContentPage/filterBlocks.mobile.ts +1 -3
  1697. package/src/components/ContentPage/filterBlocks.ts +1 -2
  1698. package/src/components/ContentPage/renderBlock.tsx +2 -2
  1699. package/src/components/ErrorBlock/ErrorBlock.tsx +1 -3
  1700. package/src/components/ExchangeRateTile/ExchangeRateTile.ui.json +8 -1
  1701. package/src/components/ExchangeRateTile/renderInput.tsx +1 -1
  1702. package/src/components/Footer/Contacts.tsx +1 -0
  1703. package/src/components/Footer/Footer.mobile.tsx +15 -13
  1704. package/src/components/Footer/FooterContent.ts +5 -10
  1705. package/src/components/Gallery/Gallery.fixture.tsx +2 -2
  1706. package/src/components/Gallery/Gallery.mobile.tsx +15 -5
  1707. package/src/components/Gallery/GalleryCardInner.tsx +60 -44
  1708. package/src/components/Gallery/GalleryContainer.tsx +10 -2
  1709. package/src/components/Gallery/GalleryContent.ts +11 -3
  1710. package/src/components/GracePeriod/GracePeriod.ui.json +5 -0
  1711. package/src/components/Header/Header.mobile.tsx +16 -11
  1712. package/src/components/Header/HeaderSubMenu.tsx +2 -1
  1713. package/src/components/Headline/constants.ts +11 -1
  1714. package/src/components/InvestmentInfo/InvestmentInfo.example.json +48 -0
  1715. package/src/components/InvestmentInfo/InvestmentInfo.fixture.tsx +107 -0
  1716. package/src/components/InvestmentInfo/InvestmentInfo.tsx +149 -0
  1717. package/src/components/InvestmentInfo/InvestmentInfo.ui.json +16 -0
  1718. package/src/components/InvestmentInfo/InvestmentInfoContent.ts +55 -0
  1719. package/src/components/MiniGallery/MiniGallery.fixture.tsx +45 -0
  1720. package/src/components/MiniGallery/MiniGalleryContent.ts +1 -0
  1721. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +14 -4
  1722. package/src/components/MobileAppTile/MobileAppTile.tsx +3 -6
  1723. package/src/components/OtherProducts/OtherProductsItem.tsx +26 -14
  1724. package/src/components/ProductGallery/ProductGallery.tsx +2 -2
  1725. package/src/components/ProductTile/ProductTile.tsx +3 -3
  1726. package/src/components/Recommendation/RecommendationContent.ts +5 -0
  1727. package/src/components/SafeDepositRental/RegionsAndBranches.tsx +1 -1
  1728. package/src/components/SafeDepositRental/SafeBoxCases.tsx +1 -1
  1729. package/src/components/SafeDepositRental/SafeDepositRental.tsx +34 -7
  1730. package/src/components/SafeDepositRental/SafeDepositRental.ui.json +8 -1
  1731. package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +13 -21
  1732. package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +21 -49
  1733. package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
  1734. package/src/components/SafeDepositRental/SafeDepositRentalTypes.ts +0 -3
  1735. package/src/components/SafeDepositRental/utils.ts +1 -1
  1736. package/src/components/StepsBlock/StepsBlock.fixture.tsx +48 -6
  1737. package/src/components/StepsBlock/StepsBlock.tsx +8 -49
  1738. package/src/components/StepsBlock/StepsBlock.ui.json +8 -0
  1739. package/src/components/StepsBlock/StepsBlockContent.ts +9 -2
  1740. package/src/components/StepsBlock/StepsBlockStyleMaps.ts +5 -2
  1741. package/src/components/StepsBlock/renderItems.tsx +26 -0
  1742. package/src/components/StepsBlock/renderStepContent.tsx +63 -0
  1743. package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +4 -8
  1744. package/src/components/TariffsTable/EmbeddableCellData.tsx +5 -10
  1745. package/src/components/TariffsTable/TariffsTable.tsx +32 -25
  1746. package/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
  1747. package/src/components/TariffsTable/TariffsTableRow.tsx +1 -4
  1748. package/src/components/TariffsTable/{dataFixture.ts → dataFixture.tsx} +3 -2
  1749. package/src/components/TariffsTable/utils/getButtonAriaLabel.ts +1 -3
  1750. package/src/components/Tile/Tile.tsx +3 -5
  1751. package/src/hooks/useOutsideClick.ts +25 -0
  1752. package/src/hooks/{useFetchSafeBoxes.ts → useSafeBoxes.ts} +7 -8
  1753. package/src/icons/IconName.ts +34 -92
  1754. package/src/model/BlockDecorator.ts +2 -0
  1755. package/src/model/BlocksRegistry.ts +4 -1
  1756. package/src/model/HeadlineType.ts +10 -0
  1757. package/src/model/Picture.ts +1 -0
  1758. package/src/react/setup-fixture.ts +0 -2
  1759. package/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -5
  1760. package/src/ui-kit/BlockWrapper.tsx +5 -9
  1761. package/src/ui-kit/BlocksList/renderBlocksList.tsx +1 -1
  1762. package/src/ui-kit/Button/Button.mobile.tsx +1 -1
  1763. package/src/ui-kit/Button/Button.tsx +55 -27
  1764. package/src/ui-kit/Button/ButtonInner.tsx +4 -3
  1765. package/src/ui-kit/Button/ButtonProps.ts +1 -7
  1766. package/src/ui-kit/Button/ButtonSection.tsx +19 -41
  1767. package/src/ui-kit/Button/buttonClassNameConstants.ts +7 -0
  1768. package/src/ui-kit/CurrencyInput/CurrencyInput.tsx +19 -3
  1769. package/src/ui-kit/CurrencyInput/adjustValue .ts +13 -2
  1770. package/src/ui-kit/Foldable/DefaultFoldButton.tsx +52 -0
  1771. package/src/ui-kit/Foldable/Foldable.tsx +26 -78
  1772. package/src/ui-kit/Foldable/FoldablePartProps.ts +4 -0
  1773. package/src/ui-kit/Foldable/FoldableSection.tsx +30 -0
  1774. package/src/ui-kit/Icon/Icon.tsx +5 -6
  1775. package/src/ui-kit/Icon/IconProps.ts +0 -1
  1776. package/src/ui-kit/Img/Img.mobile.tsx +1 -13
  1777. package/src/ui-kit/Img/Img.tsx +1 -17
  1778. package/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  1779. package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +14 -5
  1780. package/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1781. package/src/ui-kit/InnerTable/InnerTableHeader.tsx +4 -3
  1782. package/src/ui-kit/Input/Input.tsx +18 -2
  1783. package/src/ui-kit/Input/InputProps.ts +2 -0
  1784. package/src/ui-kit/InputRange/InputRange.tsx +2 -3
  1785. package/src/ui-kit/IntersectionObserverTag.tsx +49 -0
  1786. package/src/ui-kit/List/List.fixture.tsx +1 -21
  1787. package/src/ui-kit/List/List.tsx +29 -18
  1788. package/src/ui-kit/List/ListItem.tsx +14 -26
  1789. package/src/ui-kit/List/ListProps.ts +5 -3
  1790. package/src/ui-kit/Radio/Radio.tsx +3 -2
  1791. package/src/ui-kit/Select/Select.tsx +8 -3
  1792. package/src/utils/getSanitizedValue.ts +1 -0
  1793. package/tailwind.config.cjs +6 -1
  1794. package/dist/components/Accordion/AccordionItemInner.d.ts +0 -2
  1795. package/dist/components/Accordion/AccordionItemInner.js +0 -9
  1796. package/dist/components/Accordion/AccordionItemInner.js.map +0 -1
  1797. package/dist/components/Accordion/AccordionItemInner.mobile.d.ts +0 -2
  1798. package/dist/components/Accordion/AccordionItemInner.mobile.js +0 -9
  1799. package/dist/components/Accordion/AccordionItemInner.mobile.js.map +0 -1
  1800. package/dist/components/Accordion/useActiveHandler.d.ts +0 -7
  1801. package/dist/components/Accordion/useActiveHandler.js +0 -22
  1802. package/dist/components/Accordion/useActiveHandler.js.map +0 -1
  1803. package/dist/components/ContentPage/isBlockInRegistry.d.ts +0 -2
  1804. package/dist/components/ContentPage/isBlockInRegistry.js +0 -7
  1805. package/dist/components/ContentPage/isBlockInRegistry.js.map +0 -1
  1806. package/dist/hooks/useFetchSafeBoxes.js.map +0 -1
  1807. package/dist/react/IntersectionObserverTag.d.ts +0 -2
  1808. package/dist/react/IntersectionObserverTag.js +0 -43
  1809. package/dist/react/IntersectionObserverTag.js.map +0 -1
  1810. package/dist/ui-kit/Foldable/useActiveHandler.d.ts +0 -9
  1811. package/dist/ui-kit/Foldable/useActiveHandler.js +0 -23
  1812. package/dist/ui-kit/Foldable/useActiveHandler.js.map +0 -1
  1813. package/dist/utils/getAccordionItems.d.ts +0 -1
  1814. package/dist/utils/getAccordionItems.js +0 -13
  1815. package/dist/utils/getAccordionItems.js.map +0 -1
  1816. package/lib/components/Accordion/AccordionItemInner.d.ts +0 -2
  1817. package/lib/components/Accordion/AccordionItemInner.js +0 -7
  1818. package/lib/components/Accordion/AccordionItemInner.js.map +0 -1
  1819. package/lib/components/Accordion/AccordionItemInner.mobile.d.ts +0 -2
  1820. package/lib/components/Accordion/AccordionItemInner.mobile.js +0 -7
  1821. package/lib/components/Accordion/AccordionItemInner.mobile.js.map +0 -1
  1822. package/lib/components/Accordion/useActiveHandler.d.ts +0 -7
  1823. package/lib/components/Accordion/useActiveHandler.js +0 -19
  1824. package/lib/components/Accordion/useActiveHandler.js.map +0 -1
  1825. package/lib/components/ContentPage/isBlockInRegistry.d.ts +0 -2
  1826. package/lib/components/ContentPage/isBlockInRegistry.js +0 -4
  1827. package/lib/components/ContentPage/isBlockInRegistry.js.map +0 -1
  1828. package/lib/hooks/useFetchSafeBoxes.js.map +0 -1
  1829. package/lib/react/IntersectionObserverTag.d.ts +0 -2
  1830. package/lib/react/IntersectionObserverTag.js +0 -17
  1831. package/lib/react/IntersectionObserverTag.js.map +0 -1
  1832. package/lib/ui-kit/Foldable/useActiveHandler.d.ts +0 -9
  1833. package/lib/ui-kit/Foldable/useActiveHandler.js +0 -20
  1834. package/lib/ui-kit/Foldable/useActiveHandler.js.map +0 -1
  1835. package/lib/utils/getAccordionItems.d.ts +0 -1
  1836. package/lib/utils/getAccordionItems.js +0 -10
  1837. package/lib/utils/getAccordionItems.js.map +0 -1
  1838. package/mobile/dist/components/Accordion/AccordionItemInner.d.ts +0 -2
  1839. package/mobile/dist/components/Accordion/AccordionItemInner.js +0 -9
  1840. package/mobile/dist/components/Accordion/AccordionItemInner.js.map +0 -1
  1841. package/mobile/dist/components/Accordion/useActiveHandler.d.ts +0 -7
  1842. package/mobile/dist/components/Accordion/useActiveHandler.js +0 -22
  1843. package/mobile/dist/components/Accordion/useActiveHandler.js.map +0 -1
  1844. package/mobile/dist/components/ContentPage/isBlockInRegistry.d.ts +0 -2
  1845. package/mobile/dist/components/ContentPage/isBlockInRegistry.js +0 -7
  1846. package/mobile/dist/components/ContentPage/isBlockInRegistry.js.map +0 -1
  1847. package/mobile/dist/hooks/useFetchSafeBoxes.js.map +0 -1
  1848. package/mobile/dist/react/IntersectionObserverTag.d.ts +0 -2
  1849. package/mobile/dist/react/IntersectionObserverTag.js +0 -43
  1850. package/mobile/dist/react/IntersectionObserverTag.js.map +0 -1
  1851. package/mobile/dist/ui-kit/Foldable/useActiveHandler.d.ts +0 -9
  1852. package/mobile/dist/ui-kit/Foldable/useActiveHandler.js +0 -23
  1853. package/mobile/dist/ui-kit/Foldable/useActiveHandler.js.map +0 -1
  1854. package/mobile/dist/utils/getAccordionItems.d.ts +0 -1
  1855. package/mobile/dist/utils/getAccordionItems.js +0 -13
  1856. package/mobile/dist/utils/getAccordionItems.js.map +0 -1
  1857. package/mobile/lib/components/Accordion/AccordionItemInner.d.ts +0 -2
  1858. package/mobile/lib/components/Accordion/AccordionItemInner.js +0 -7
  1859. package/mobile/lib/components/Accordion/AccordionItemInner.js.map +0 -1
  1860. package/mobile/lib/components/Accordion/useActiveHandler.d.ts +0 -7
  1861. package/mobile/lib/components/Accordion/useActiveHandler.js +0 -19
  1862. package/mobile/lib/components/Accordion/useActiveHandler.js.map +0 -1
  1863. package/mobile/lib/components/ContentPage/isBlockInRegistry.d.ts +0 -2
  1864. package/mobile/lib/components/ContentPage/isBlockInRegistry.js +0 -4
  1865. package/mobile/lib/components/ContentPage/isBlockInRegistry.js.map +0 -1
  1866. package/mobile/lib/hooks/useFetchSafeBoxes.js.map +0 -1
  1867. package/mobile/lib/react/IntersectionObserverTag.d.ts +0 -2
  1868. package/mobile/lib/react/IntersectionObserverTag.js +0 -17
  1869. package/mobile/lib/react/IntersectionObserverTag.js.map +0 -1
  1870. package/mobile/lib/ui-kit/Foldable/useActiveHandler.d.ts +0 -9
  1871. package/mobile/lib/ui-kit/Foldable/useActiveHandler.js +0 -20
  1872. package/mobile/lib/ui-kit/Foldable/useActiveHandler.js.map +0 -1
  1873. package/mobile/lib/utils/getAccordionItems.d.ts +0 -1
  1874. package/mobile/lib/utils/getAccordionItems.js +0 -10
  1875. package/mobile/lib/utils/getAccordionItems.js.map +0 -1
  1876. package/mobile/src/components/Accordion/AccordionItemInner.tsx +0 -11
  1877. package/mobile/src/components/Accordion/useActiveHandler.ts +0 -25
  1878. package/mobile/src/components/ContentPage/isBlockInRegistry.ts +0 -5
  1879. package/mobile/src/react/IntersectionObserverTag.tsx +0 -33
  1880. package/mobile/src/ui-kit/Foldable/useActiveHandler.ts +0 -33
  1881. package/mobile/src/utils/getAccordionItems.ts +0 -10
  1882. package/src/components/Accordion/AccordionItemInner.mobile.tsx +0 -11
  1883. package/src/components/Accordion/AccordionItemInner.tsx +0 -11
  1884. package/src/components/Accordion/useActiveHandler.ts +0 -25
  1885. package/src/components/ContentPage/isBlockInRegistry.ts +0 -5
  1886. package/src/react/IntersectionObserverTag.tsx +0 -33
  1887. package/src/ui-kit/Foldable/useActiveHandler.ts +0 -33
  1888. package/src/utils/getAccordionItems.ts +0 -10
@@ -228,6 +228,10 @@
228
228
  return JSXTmpl;
229
229
  };
230
230
 
231
+ function style2className(style) {
232
+ return style ? style.filter(Boolean).join(' ') : '';
233
+ }
234
+
231
235
  class EventBus {
232
236
  static inst = new EventBus();
233
237
  subscribers = {};
@@ -272,15 +276,31 @@
272
276
  }
273
277
  };
274
278
 
279
+ const IntersectionObserverTag = JSX((props) => {
280
+ const { tag = 'section', observerCallback, observerOptions, className = '', anchor = null, children, } = props;
281
+ const intersectionObserver = useRef(null);
282
+ const ref = useCallback((element) => {
283
+ if (!element) {
284
+ return;
285
+ }
286
+ if (intersectionObserver.current) {
287
+ intersectionObserver.current.disconnect();
288
+ }
289
+ intersectionObserver.current = new IntersectionObserver(observerCallback, observerOptions);
290
+ intersectionObserver.current.observe(element);
291
+ }, [observerCallback, observerOptions]);
292
+ const Tag = tag;
293
+ return (jsx(Tag, { ref: ref, className: className, id: anchor, children: children }));
294
+ });
295
+
275
296
  const THRESHOLD_ACCURACY = 100; // Decimals number (100 is for two decimals number, 0.**)
276
297
  const THRESHOLD_ARRAY_LENGTH = 18;
277
298
  const THRESHOLD_ARRAY_START_VALUE = (THRESHOLD_ACCURACY - THRESHOLD_ARRAY_LENGTH) / THRESHOLD_ACCURACY;
278
- const BlockWrapper = JSX(({ anchor, className, context, children, tag = 'section', labels }) => {
299
+ const BlockWrapper = JSX(({ anchor, className, children, tag = 'section', labels }) => {
279
300
  const Tag = tag;
280
- const { IntersectionObserverTag } = context;
281
301
  const [shouldRenderBlock, setShouldRenderBlock] = useState(true);
282
302
  const anchorClickRef = useRef({});
283
- const observerCallback = useMemo(() => changeHashOnObserve({ anchor, anchorClickRef }), [anchor, anchorClickRef]);
303
+ const observerCallback = useMemo(() => changeHashOnObserve({ anchor, anchorClickRef }), [anchor]);
284
304
  useEffect(() => {
285
305
  const anchorClickCleanup = EventBus.inst.subscribe('anchorClick', (e) => {
286
306
  anchorClickRef.current = e;
@@ -298,7 +318,7 @@
298
318
  anchorClickCleanup();
299
319
  tabCleanup();
300
320
  };
301
- }, [anchorClickRef]);
321
+ }, []);
302
322
  if (!shouldRenderBlock) {
303
323
  return null;
304
324
  }
@@ -316,6 +336,11 @@
316
336
  }
317
337
  }
318
338
 
339
+ const Description = JSX((props) => {
340
+ const { className = '', description } = props;
341
+ return jsx("div", { className: `${className}`, children: description });
342
+ });
343
+
319
344
  const HEADING_STYLE_MAP = {
320
345
  h0: 'text-h0',
321
346
  h1: 'text-h1',
@@ -330,220 +355,98 @@
330
355
  return (jsx(Tag, { className: `font-sans m-0 ${HEADING_STYLE_MAP[headingType]} ${className}`, children: title }));
331
356
  });
332
357
 
333
- // Generated. Do not touch
334
- /* eslint-disable max-len, max-lines */
335
- const IconInverseMap = {
336
- ActualBalanceIcon: false, AirPlaneIcon: false, AppleIcon: true, ArrowDownIcon: true, ArrowLeftIcon: true, ArrowUpIcon: true, AtmIcon: true, BankIcon: true, BuildingIcon: true, BurgerIcon: true, Calendar2Icon: true, CalendarCircleIcon: true, CalendarIcon: true, CalendarTickIcon: true, Car2Icon: true, CardIcon: true, CardPosIcon: true, CardTickIcon: true, CardWithGemIcon: false, CarIcon: false, ChartSquareIcon: true, CinemaIcon: false, ClockIcon: false, CloseIcon: true, ComfortableCompIcon: false, CreditCardsIcon: false, DiscountShapeIcon: true, DocDownloadIcon: true, DocIcon: true, DocIconMonoColor: true, DocsIcon: false, DocumentTextIcon: true, DollarIcon: false, DoneIcon: false, DoneSimpleIcon: true, EarthIcon: false, EmptyWalletChangeIcon: true, EmptyWalletIcon: true, EuroIcon: false, GeolocationIcon: true, GlassIcon: false, GlobalIcon: true, GpsIcon: true, GridIcon: true, InterestGrowthIcon: false, InterestIcon: true, JCBIcon: false, LogoIcon: true, LoupeIcon: true, MapMarkerClusterIcon: false, MapMarkerSingleIcon: false, MasterCardIcon: false, MinusIcon: true, MirIcon: false, MoneyIcon: true, MoneyInsuranceIcon: false, MoneysIcon: true, MonitorMobileIcon: true, NewDocIcon: false, OfficeIcon: false, OkIcon: true, PackA4Icon: false, PassSendIcon: false, PercentageRoundIcon: true, PercentageSquareIcon: true, PersonalCardIcon: true, PlayMarketIcon: true, PlusIcon: true, PowerIcon: false, Profile2UserIcon: true, ProfileIcon: true, PumpkinIcon: false, RoundRubleIcon: true, SafeIcon: true, ShieldTickIcon: true, SignDocsIcon: false, SmallClockIcon: true, SoundIcon: false, StrongBoxIcon: true, TelegramIcon: true, UnionPayIcon: false, UserSquareIcon: true, UserTickIcon: true, VisaIcon: false, VKIcon: true, WalletAdd2Icon: true, WalletAddIcon: true, WalletIcon: true, WalletWithMoneyIcon: true, WateringCanIcon: false
337
- };
338
- var IconMap;
339
- (function (IconMap) {
340
- IconMap["ActualBalanceIcon"] = "ActualBalanceIcon";
341
- IconMap["AirPlaneIcon"] = "AirPlaneIcon";
342
- IconMap["AppleIcon"] = "AppleIcon";
343
- IconMap["ArrowDownIcon"] = "ArrowDownIcon";
344
- IconMap["ArrowLeftIcon"] = "ArrowLeftIcon";
345
- IconMap["ArrowUpIcon"] = "ArrowUpIcon";
346
- IconMap["AtmIcon"] = "AtmIcon";
347
- IconMap["BankIcon"] = "BankIcon";
348
- IconMap["BuildingIcon"] = "BuildingIcon";
349
- IconMap["BurgerIcon"] = "BurgerIcon";
350
- IconMap["Calendar2Icon"] = "Calendar2Icon";
351
- IconMap["CalendarCircleIcon"] = "CalendarCircleIcon";
352
- IconMap["CalendarIcon"] = "CalendarIcon";
353
- IconMap["CalendarTickIcon"] = "CalendarTickIcon";
354
- IconMap["Car2Icon"] = "Car2Icon";
355
- IconMap["CardIcon"] = "CardIcon";
356
- IconMap["CardPosIcon"] = "CardPosIcon";
357
- IconMap["CardTickIcon"] = "CardTickIcon";
358
- IconMap["CardWithGemIcon"] = "CardWithGemIcon";
359
- IconMap["CarIcon"] = "CarIcon";
360
- IconMap["ChartSquareIcon"] = "ChartSquareIcon";
361
- IconMap["CinemaIcon"] = "CinemaIcon";
362
- IconMap["ClockIcon"] = "ClockIcon";
363
- IconMap["CloseIcon"] = "CloseIcon";
364
- IconMap["ComfortableCompIcon"] = "ComfortableCompIcon";
365
- IconMap["CreditCardsIcon"] = "CreditCardsIcon";
366
- IconMap["DiscountShapeIcon"] = "DiscountShapeIcon";
367
- IconMap["DocDownloadIcon"] = "DocDownloadIcon";
368
- IconMap["DocIcon"] = "DocIcon";
369
- IconMap["DocIconMonoColor"] = "DocIconMonoColor";
370
- IconMap["DocsIcon"] = "DocsIcon";
371
- IconMap["DocumentTextIcon"] = "DocumentTextIcon";
372
- IconMap["DollarIcon"] = "DollarIcon";
373
- IconMap["DoneIcon"] = "DoneIcon";
374
- IconMap["DoneSimpleIcon"] = "DoneSimpleIcon";
375
- IconMap["EarthIcon"] = "EarthIcon";
376
- IconMap["EmptyWalletChangeIcon"] = "EmptyWalletChangeIcon";
377
- IconMap["EmptyWalletIcon"] = "EmptyWalletIcon";
378
- IconMap["EuroIcon"] = "EuroIcon";
379
- IconMap["GeolocationIcon"] = "GeolocationIcon";
380
- IconMap["GlassIcon"] = "GlassIcon";
381
- IconMap["GlobalIcon"] = "GlobalIcon";
382
- IconMap["GpsIcon"] = "GpsIcon";
383
- IconMap["GridIcon"] = "GridIcon";
384
- IconMap["InterestGrowthIcon"] = "InterestGrowthIcon";
385
- IconMap["InterestIcon"] = "InterestIcon";
386
- IconMap["JCBIcon"] = "JCBIcon";
387
- IconMap["LogoIcon"] = "LogoIcon";
388
- IconMap["LoupeIcon"] = "LoupeIcon";
389
- IconMap["MapMarkerClusterIcon"] = "MapMarkerClusterIcon";
390
- IconMap["MapMarkerSingleIcon"] = "MapMarkerSingleIcon";
391
- IconMap["MasterCardIcon"] = "MasterCardIcon";
392
- IconMap["MinusIcon"] = "MinusIcon";
393
- IconMap["MirIcon"] = "MirIcon";
394
- IconMap["MoneyIcon"] = "MoneyIcon";
395
- IconMap["MoneyInsuranceIcon"] = "MoneyInsuranceIcon";
396
- IconMap["MoneysIcon"] = "MoneysIcon";
397
- IconMap["MonitorMobileIcon"] = "MonitorMobileIcon";
398
- IconMap["NewDocIcon"] = "NewDocIcon";
399
- IconMap["OfficeIcon"] = "OfficeIcon";
400
- IconMap["OkIcon"] = "OkIcon";
401
- IconMap["PackA4Icon"] = "PackA4Icon";
402
- IconMap["PassSendIcon"] = "PassSendIcon";
403
- IconMap["PercentageRoundIcon"] = "PercentageRoundIcon";
404
- IconMap["PercentageSquareIcon"] = "PercentageSquareIcon";
405
- IconMap["PersonalCardIcon"] = "PersonalCardIcon";
406
- IconMap["PlayMarketIcon"] = "PlayMarketIcon";
407
- IconMap["PlusIcon"] = "PlusIcon";
408
- IconMap["PowerIcon"] = "PowerIcon";
409
- IconMap["Profile2UserIcon"] = "Profile2UserIcon";
410
- IconMap["ProfileIcon"] = "ProfileIcon";
411
- IconMap["PumpkinIcon"] = "PumpkinIcon";
412
- IconMap["RoundRubleIcon"] = "RoundRubleIcon";
413
- IconMap["SafeIcon"] = "SafeIcon";
414
- IconMap["ShieldTickIcon"] = "ShieldTickIcon";
415
- IconMap["SignDocsIcon"] = "SignDocsIcon";
416
- IconMap["SmallClockIcon"] = "SmallClockIcon";
417
- IconMap["SoundIcon"] = "SoundIcon";
418
- IconMap["StrongBoxIcon"] = "StrongBoxIcon";
419
- IconMap["TelegramIcon"] = "TelegramIcon";
420
- IconMap["UnionPayIcon"] = "UnionPayIcon";
421
- IconMap["UserSquareIcon"] = "UserSquareIcon";
422
- IconMap["UserTickIcon"] = "UserTickIcon";
423
- IconMap["VisaIcon"] = "VisaIcon";
424
- IconMap["VKIcon"] = "VKIcon";
425
- IconMap["WalletAdd2Icon"] = "WalletAdd2Icon";
426
- IconMap["WalletAddIcon"] = "WalletAddIcon";
427
- IconMap["WalletIcon"] = "WalletIcon";
428
- IconMap["WalletWithMoneyIcon"] = "WalletWithMoneyIcon";
429
- IconMap["WateringCanIcon"] = "WateringCanIcon";
430
- })(IconMap || (IconMap = {}));
431
- var IconTitleMap;
432
- (function (IconTitleMap) {
433
- IconTitleMap["ActualBalanceIcon"] = "\u0414\u0435\u043D\u044C\u0433\u0438";
434
- IconTitleMap["AirPlaneIcon"] = "\u0421\u0430\u043C\u043E\u043B\u0451\u0442";
435
- IconTitleMap["AppleIcon"] = "\u041B\u043E\u0433\u043E \u00ABApple\u00BB";
436
- IconTitleMap["ArrowDownIcon"] = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430 '\u0412\u043D\u0438\u0437'";
437
- IconTitleMap["ArrowLeftIcon"] = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430";
438
- IconTitleMap["ArrowUpIcon"] = "\u0421\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u0432\u0435\u0440\u0445";
439
- IconTitleMap["AtmIcon"] = "\u0411\u0430\u043D\u043A\u043E\u043C\u0430\u0442";
440
- IconTitleMap["BankIcon"] = "\u0411\u0430\u043D\u043A";
441
- IconTitleMap["BuildingIcon"] = "\u0417\u0434\u0430\u043D\u0438\u0435 \u0441 \u0434\u0435\u0440\u0435\u0432\u043E\u043C";
442
- IconTitleMap["BurgerIcon"] = "\u0411\u0443\u0440\u0433\u0435\u0440";
443
- IconTitleMap["Calendar2Icon"] = "\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C 2";
444
- IconTitleMap["CalendarCircleIcon"] = "\u0421\u043A\u0440\u0443\u0433\u043B\u0451\u043D\u043D\u044B\u0439 \u043A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C";
445
- IconTitleMap["CalendarIcon"] = "\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C";
446
- IconTitleMap["CalendarTickIcon"] = "\u041A\u0430\u043B\u0435\u043D\u0434\u0430\u0440\u044C \u0441 \u0433\u0430\u043B\u043E\u0447\u043A\u043E\u0439";
447
- IconTitleMap["Car2Icon"] = "\u041C\u0430\u0448\u0438\u043D\u04302";
448
- IconTitleMap["CardIcon"] = "\u041A\u0440\u0435\u0434. \u043A\u0430\u0440\u0442\u0430";
449
- IconTitleMap["CardPosIcon"] = "\u041A\u0440\u0435\u0434. \u043A\u0430\u0440\u0442\u0430 \u043F\u043E\u0434 \u043D\u0430\u043A\u043B\u043E\u043D\u043E\u043C";
450
- IconTitleMap["CardTickIcon"] = "\u041A\u0440\u0435\u0434. \u043A\u0430\u0440\u0442\u0430 \u0441 \u0433\u0430\u043B\u043E\u0447\u043A\u043E\u0439";
451
- IconTitleMap["CardWithGemIcon"] = "\u041A\u0430\u0440\u0442\u0430 \u0441 \u0434\u0440\u0430\u0433\u043E\u0446\u0435\u043D\u043D\u043E\u0441\u0442\u044F\u043C\u0438";
452
- IconTitleMap["CarIcon"] = "\u041C\u0430\u0448\u0438\u043D\u0430";
453
- IconTitleMap["ChartSquareIcon"] = "\u0414\u0435\u043D\u044C\u0433\u0438 \u0432\u043D\u0443\u0442\u0440\u0438 \u043A\u043E\u0448\u0435\u043B\u044C\u043A\u0430";
454
- IconTitleMap["CinemaIcon"] = "\u041A\u0438\u043D\u043E\u0442\u0435\u0430\u0442\u0440";
455
- IconTitleMap["ClockIcon"] = "\u0427\u0430\u0441\u044B";
456
- IconTitleMap["CloseIcon"] = "\u041A\u0440\u0435\u0441\u0442\u0438\u043A";
457
- IconTitleMap["ComfortableCompIcon"] = "\u041A\u0440\u0435\u0441\u043B\u043E";
458
- IconTitleMap["CreditCardsIcon"] = "\u041A\u0440\u0435\u0434\u0438\u0442\u043D\u044B\u0435 \u043A\u0430\u0440\u0442\u044B";
459
- IconTitleMap["DiscountShapeIcon"] = "\u0421\u043A\u0438\u0434\u043A\u0430";
460
- IconTitleMap["DocDownloadIcon"] = "\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442";
461
- IconTitleMap["DocIcon"] = "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442";
462
- IconTitleMap["DocIconMonoColor"] = "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442 (\u043E\u0434\u043D\u043E\u0446\u0432\u0435\u0442\u043D\u044B\u0439)";
463
- IconTitleMap["DocsIcon"] = "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B";
464
- IconTitleMap["DocumentTextIcon"] = "\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0441 \u0442\u0435\u043A\u0441\u0442\u043E\u043C";
465
- IconTitleMap["DollarIcon"] = "\u0414\u043E\u043B\u043B\u0430\u0440";
466
- IconTitleMap["DoneIcon"] = "\u0417\u0435\u043B\u0451\u043D\u0430\u044F '\u0433\u0430\u043B\u043E\u0447\u043A\u0430' \u0432 \u043A\u0440\u0443\u0433\u0435";
467
- IconTitleMap["DoneSimpleIcon"] = "\u0417\u0435\u043B\u0451\u043D\u0430\u044F '\u0433\u0430\u043B\u043E\u0447\u043A\u0430'";
468
- IconTitleMap["EarthIcon"] = "\u0417\u0435\u043C\u043B\u044F";
469
- IconTitleMap["EmptyWalletChangeIcon"] = "\u041F\u0443\u0441\u0442\u043E\u0439 \u043A\u043E\u0448\u0435\u043B\u0451\u043A \u0441 \u0432\u043E\u0437\u0432\u0440\u0430\u0442\u043E\u043C";
470
- IconTitleMap["EmptyWalletIcon"] = "\u041F\u0443\u0441\u0442\u043E\u0439 \u043A\u043E\u0448\u0435\u043B\u0451\u043A";
471
- IconTitleMap["EuroIcon"] = "\u0415\u0432\u0440\u043E";
472
- IconTitleMap["GeolocationIcon"] = "\u0413\u0435\u043E\u043B\u043E\u043A\u0430\u0446\u0438\u044F";
473
- IconTitleMap["GlassIcon"] = "\u0417\u0435\u0440\u043A\u0430\u043B\u043E";
474
- IconTitleMap["GlobalIcon"] = "\u0413\u043B\u043E\u0431\u0443\u0441";
475
- IconTitleMap["GpsIcon"] = "Gps";
476
- IconTitleMap["GridIcon"] = "\u0421\u0435\u0442\u043A\u0430 (\u0431\u0435\u043B\u0430\u044F)";
477
- IconTitleMap["InterestGrowthIcon"] = "\u0414\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0430 \u0440\u043E\u0441\u0442\u0430";
478
- IconTitleMap["InterestIcon"] = "\u0421\u043A\u0438\u0434\u043A\u0430";
479
- IconTitleMap["JCBIcon"] = "JCB";
480
- IconTitleMap["LogoIcon"] = "Logo";
481
- IconTitleMap["LoupeIcon"] = "\u041B\u0443\u043F\u0430";
482
- IconTitleMap["MapMarkerClusterIcon"] = "\u041C\u0430\u0440\u043A\u0435\u0440 \u043A\u0430\u0440\u0442\u044B";
483
- IconTitleMap["MapMarkerSingleIcon"] = "\u041C\u0430\u0440\u043A\u0435\u0440 \u043A\u0430\u0440\u0442\u044B \u0420\u0421\u0425\u0411";
484
- IconTitleMap["MasterCardIcon"] = "MasterCard";
485
- IconTitleMap["MinusIcon"] = "\u041C\u0438\u043D\u0443\u0441";
486
- IconTitleMap["MirIcon"] = "\u041C\u0418\u0420";
487
- IconTitleMap["MoneyIcon"] = "\u0414\u0435\u043D\u044C\u0433\u0438";
488
- IconTitleMap["MoneyInsuranceIcon"] = "\u0414\u0435\u043D\u0435\u0436\u043D\u043E\u0435 \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u043D\u0438\u0435";
489
- IconTitleMap["MoneysIcon"] = "\u041A\u0443\u043F\u044E\u0440\u044B";
490
- IconTitleMap["MonitorMobileIcon"] = "\u041C\u043E\u043D\u0438\u0442\u043E\u0440 \u0438 \u043C\u043E\u0431\u0438\u043B\u044C\u043D\u044B\u0439";
491
- IconTitleMap["NewDocIcon"] = "\u041D\u043E\u0432\u044B\u0439 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442";
492
- IconTitleMap["OfficeIcon"] = "\u041E\u0444\u0438\u0441";
493
- IconTitleMap["OkIcon"] = "\u041B\u043E\u0433\u043E \u00AB\u041E\u0434\u043D\u043E\u043A\u043B\u0430\u0441\u0441\u043D\u0438\u043A\u0438\u00BB";
494
- IconTitleMap["PackA4Icon"] = "\u041F\u0430\u0447\u043A\u0430 \u0431\u0443\u043C\u0430\u0433\u0438 \u04104";
495
- IconTitleMap["PassSendIcon"] = "\u0411\u0438\u0437\u043D\u0435\u0441";
496
- IconTitleMap["PercentageRoundIcon"] = "\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u044B (\u043A\u0440\u0443\u0433.)";
497
- IconTitleMap["PercentageSquareIcon"] = "\u041F\u0440\u043E\u0446\u0435\u043D\u0442\u044B";
498
- IconTitleMap["PersonalCardIcon"] = "\u041F\u0435\u0440\u0441\u043E\u043D\u0430\u043B\u044C\u043D\u0430\u044F \u043A\u0430\u0440\u0442\u0430";
499
- IconTitleMap["PlayMarketIcon"] = "\u041B\u043E\u0433\u043E \u00ABPlayMarket\u00BB";
500
- IconTitleMap["PlusIcon"] = "\u041F\u043B\u044E\u0441";
501
- IconTitleMap["PowerIcon"] = "\u0429\u0438\u0442";
502
- IconTitleMap["Profile2UserIcon"] = "\u041F\u0440\u043E\u0444\u0438\u043B\u044C, 2 \u043F\u0435\u0440\u0441\u043E\u043D\u044B";
503
- IconTitleMap["ProfileIcon"] = "\u041F\u0440\u043E\u0444\u0438\u043B\u044C";
504
- IconTitleMap["PumpkinIcon"] = "\u0422\u044B\u043A\u0432\u0430";
505
- IconTitleMap["RoundRubleIcon"] = "\u0420\u0443\u0431\u043B\u044C (\u043A\u0440\u0443\u0433.)";
506
- IconTitleMap["SafeIcon"] = "\u0421\u0435\u0439\u0444";
507
- IconTitleMap["ShieldTickIcon"] = "\u0411\u0435\u0437\u043E\u043F\u0430\u0441\u043D\u043E\u0441\u0442\u044C";
508
- IconTitleMap["SignDocsIcon"] = "\u041F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u043D\u044B\u0435 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B";
509
- IconTitleMap["SmallClockIcon"] = "\u041C\u0430\u043B\u0435\u043D\u044C\u043A\u0438\u0435 \u0447\u0430\u0441\u044B";
510
- IconTitleMap["SoundIcon"] = "\u0417\u0432\u0443\u043A";
511
- IconTitleMap["StrongBoxIcon"] = "\u042F\u0449\u0438\u043A \u0441 \u0437\u0430\u043C\u043E\u0447\u043D\u043E\u0439 \u0441\u043A\u0432\u0430\u0436\u0438\u043D\u043E\u0439";
512
- IconTitleMap["TelegramIcon"] = "\u041B\u043E\u0433\u043E \u00ABTelegram\u00BB";
513
- IconTitleMap["UnionPayIcon"] = "UnionPay";
514
- IconTitleMap["UserSquareIcon"] = "\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C \u0432 \u0440\u0430\u043C\u043A\u0435";
515
- IconTitleMap["UserTickIcon"] = "\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C";
516
- IconTitleMap["VisaIcon"] = "Visa";
517
- IconTitleMap["VKIcon"] = "\u041B\u043E\u0433\u043E \u00ABVK\u00BB";
518
- IconTitleMap["WalletAdd2Icon"] = "\u041F\u043E\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u0435 \u043A\u0430\u0440\u0442\u044B";
519
- IconTitleMap["WalletAddIcon"] = "\u041A\u043E\u0448\u0435\u043B\u0451\u043A \u0441 \u043F\u043B\u044E\u0441\u043E\u043C";
520
- IconTitleMap["WalletIcon"] = "\u041A\u043E\u0448\u0435\u043B\u0451\u043A";
521
- IconTitleMap["WalletWithMoneyIcon"] = "\u041A\u043E\u0448\u0435\u043B\u0451\u043A \u0441 \u0434\u0435\u043D\u044C\u0433\u0430\u043C\u0438";
522
- IconTitleMap["WateringCanIcon"] = "\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043F\u0440\u043E\u0434\u0443\u043A\u0442";
523
- })(IconTitleMap || (IconTitleMap = {}));
358
+ const ALIGN_TEXT = {
359
+ left: 'text-left',
360
+ center: 'text-center',
361
+ right: 'text-right',
362
+ };
363
+ const HEADLINE_BLOCK_STYLE_MAPS = {
364
+ transparent: {
365
+ background: 'bg-transparent',
366
+ text: 'text-primary-text',
367
+ description: 'text-primary-text',
368
+ },
369
+ primary: {
370
+ background: 'bg-white',
371
+ text: 'text-primary-text',
372
+ description: 'text-primary-text',
373
+ },
374
+ secondary: {
375
+ background: 'bg-primary-main',
376
+ text: 'text-white',
377
+ description: 'text-white/80',
378
+ },
379
+ };
380
+ const HEADLINE_VERSION = {
381
+ XXL: {
382
+ descriptionFont: 'text-h5',
383
+ gap: 'gap-[18px]',
384
+ headingType: 'h0',
385
+ as: 'h1',
386
+ },
387
+ XL: {
388
+ descriptionFont: 'text-xl-light',
389
+ gap: 'gap-4',
390
+ headingType: 'h1',
391
+ as: 'h1',
392
+ },
393
+ L: {
394
+ descriptionFont: 'text-xl-light',
395
+ gap: 'gap-4',
396
+ headingType: 'h2',
397
+ as: 'h2',
398
+ },
399
+ M: {
400
+ descriptionFont: 'text-xl-light',
401
+ gap: 'gap-3',
402
+ headingType: 'h3',
403
+ as: 'h3',
404
+ },
405
+ S: {
406
+ descriptionFont: 'text-xl-light',
407
+ gap: 'gap-2',
408
+ headingType: 'h4',
409
+ as: 'h4',
410
+ },
411
+ };
412
+ const HEADLINE_SMALL_VERSION = {
413
+ XL_L: 'text-xl-light',
414
+ XL_R: 'text-xl',
415
+ L_L: 'text-l-light',
416
+ L_R: 'text-l',
417
+ M: 'text-m-light',
418
+ S: 'text-s-light',
419
+ XS: 'text-xs-light',
420
+ };
421
+
422
+ const Headline = JSX(({ bgColorHeadline = 'transparent', align = 'center', className = '', title, description, headlineVersion = 'XL', as, ...rest }) => {
423
+ const STYLE_MAPS = HEADLINE_BLOCK_STYLE_MAPS[bgColorHeadline];
424
+ const SIZE_MAPS = HEADLINE_VERSION[headlineVersion];
425
+ return (jsxs(BlockWrapper, { className: `font-sans flex flex-col p-[50px] ${SIZE_MAPS.gap} ${STYLE_MAPS.background} ${className}`, ...rest, children: [title ? (jsx(Heading, { headingType: SIZE_MAPS?.headingType, as: as || SIZE_MAPS?.as, className: `whitespace-pre-wrap ${STYLE_MAPS.text} ${ALIGN_TEXT[align]}`, title: title })) : null, description ? (jsx(Description, { className: `${SIZE_MAPS.descriptionFont} ${STYLE_MAPS.text} ${ALIGN_TEXT[align]}`, description: description })) : null] }));
426
+ });
524
427
 
525
428
  const svgUseStyleMap = {
526
429
  normal: 'text-primary-main',
527
430
  black: 'text-black',
528
431
  white: 'text-black',
529
432
  };
530
- const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${IconTitleMap[name] || name}`, title = alt, iconVersion = 'normal', asSVG, ...imgProps }) => {
433
+ const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${name}`, title = alt, iconVersion = 'normal', asSVG, ...imgProps }) => {
531
434
  const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
532
- if (asSVG && IconInverseMap[name]) {
435
+ if (asSVG) {
533
436
  return (jsx(Background, { className: className, children: jsxs("svg", { className: [
534
437
  getSvgSize(className, imgProps.width),
535
438
  svgUseStyleMap[iconVersion],
536
439
  imageClassName,
537
- getInvertStyle(name, iconVersion),
440
+ getInvertStyle(iconVersion),
538
441
  ].join(' '), ...imgProps, "aria-hidden": "true", children: [title ? jsx("title", { children: title }) : null, alt ? jsx("desc", { children: alt }) : null, jsx("use", { href: `${href}#icon`, xlinkHref: `${href}#icon` })] }) }));
539
442
  }
540
443
  return (jsx("img", { className: className, src: href, alt: alt, title: title, ...imgProps, "aria-hidden": "true" }));
541
444
  });
542
- const getInvertStyle = (name, iconVersion) => iconVersion === 'white' && IconInverseMap[name] ? 'invert' : '';
445
+ const getInvertStyle = (iconVersion) => iconVersion === 'white' ? 'invert' : '';
543
446
  const getSvgSize = (className, width) => width ? `width: ${width}px ` : 'w-full h-full';
544
447
  const Background = JSX(({ className, children }) => className ? jsx("div", { className: className, children: children }) : children);
545
448
 
546
- function getIconVersion(image) {
449
+ function getIconVersion$1(image) {
547
450
  return typeof image === 'string' ? 'normal' : image.iconVersion || 'normal';
548
451
  }
549
452
 
@@ -585,88 +488,14 @@
585
488
  // backwards compatibility with existing icons in usage
586
489
  const icon = typeof image === 'string' ? image : image.icon;
587
490
  if (icon || icon === '') {
588
- return icon.length ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: getIconVersion(image), name: icon, ...iconProps })) : null;
491
+ return icon.length ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: getIconVersion$1(image), name: icon, ...iconProps })) : null;
589
492
  }
590
493
  return (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image, isMobile: isMobile }));
591
494
  });
592
495
 
593
- const Img = JSX(({ className = '', imageClassName, image, ...iconProps }) => {
594
- return (jsx(ImgInner, { className: className, imageClassName: imageClassName, image: image, ...iconProps }));
595
- });
596
-
597
- function style2className(style) {
598
- return style ? style.filter(Boolean).join(' ') : '';
599
- }
600
-
601
- const Description = JSX((props) => {
602
- const { className = '', description } = props;
603
- return jsx("div", { className: `${className}`, children: description });
604
- });
605
-
606
- const ALIGN_TEXT = {
607
- left: 'text-left',
608
- center: 'text-center',
609
- right: 'text-right',
610
- };
611
- const HEADLINE_BLOCK_STYLE_MAPS = {
612
- transparent: {
613
- background: 'bg-transparent',
614
- text: 'text-primary-text',
615
- description: 'text-primary-text',
616
- },
617
- primary: {
618
- background: 'bg-white',
619
- text: 'text-primary-text',
620
- description: 'text-primary-text',
621
- },
622
- secondary: {
623
- background: 'bg-primary-main',
624
- text: 'text-white',
625
- description: 'text-white/80',
626
- },
627
- };
628
- const HEADLINE_VERSION = {
629
- XXL: {
630
- descriptionFont: 'text-h5',
631
- gap: 'gap-[18px]',
632
- headingType: 'h0',
633
- as: 'h1',
634
- },
635
- XL: {
636
- descriptionFont: 'text-xl-light',
637
- gap: 'gap-4',
638
- headingType: 'h1',
639
- as: 'h1',
640
- },
641
- L: {
642
- descriptionFont: 'text-xl-light',
643
- gap: 'gap-4',
644
- headingType: 'h2',
645
- as: 'h2',
646
- },
647
- M: {
648
- descriptionFont: 'text-xl-light',
649
- gap: 'gap-3',
650
- headingType: 'h3',
651
- as: 'h3',
652
- },
653
- S: {
654
- descriptionFont: 'text-xl-light',
655
- gap: 'gap-2',
656
- headingType: 'h4',
657
- as: 'h4',
658
- },
659
- };
660
-
661
- const Headline = JSX(({ bgColorHeadline = 'transparent', align = 'center', className = '', title, description, headlineVersion = 'XL', as, ...rest }) => {
662
- const STYLE_MAPS = HEADLINE_BLOCK_STYLE_MAPS[bgColorHeadline];
663
- const SIZE_MAPS = HEADLINE_VERSION[headlineVersion];
664
- return (jsxs(BlockWrapper, { className: `font-sans flex flex-col p-[50px] ${SIZE_MAPS.gap} ${STYLE_MAPS.background} ${className}`, ...rest, children: [title ? (jsx(Heading, { headingType: SIZE_MAPS?.headingType, as: as || SIZE_MAPS?.as, className: `whitespace-pre-wrap ${STYLE_MAPS.text} ${ALIGN_TEXT[align]}`, title: title })) : null, description ? (jsx(Description, { className: `${SIZE_MAPS.descriptionFont} ${STYLE_MAPS.text} ${ALIGN_TEXT[align]}`, description: description })) : null] }));
665
- });
666
-
667
496
  const LinkDocsListItemBase = JSX(({ className, iconClassName, textClassName, suffixClassName, doc, icon }) => {
668
497
  const { text, fileSize, ...linkProps } = doc;
669
- return (jsxs("a", { className: className, role: "link", ...linkProps, children: [icon ? (jsx(Img, { className: iconClassName, image: icon, width: "24px", height: "24px", asSVG: true })) : null, text ? (jsxs("span", { className: textClassName, children: [text, jsx("span", { className: suffixClassName, children: linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize) })] })) : null] }));
498
+ return (jsxs("a", { className: className, role: "link", ...linkProps, children: [icon ? (jsx(ImgInner, { className: iconClassName, image: icon, width: "24px", height: "24px", asSVG: true })) : null, text ? (jsxs("span", { className: textClassName, children: [text, jsx("span", { className: suffixClassName, children: linkProps?.href && formatSuffix(getExtFromHref(linkProps.href), fileSize) })] })) : null] }));
670
499
  });
671
500
  const formatSuffix = (ext, fileSize) => {
672
501
  const prefix = ext || fileSize ? ',' : '';
@@ -713,7 +542,8 @@
713
542
  const { className = '', icon, label, description, version = 'primary', benefitsVersion = 'normal', } = props;
714
543
  const isIconWhite = benefitsVersion === 'white' || version === 'secondary';
715
544
  const listItemAlign = description ? 'items-start' : 'items-center';
716
- return (jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (jsx("div", { className: renderBenefitIconBgStyle(version, benefitsVersion), children: jsx(Img, { className: "w-6 h-6", image: { ...icon, iconVersion: isIconWhite ? 'white' : 'normal' }, asSVG: true }) })) : null, jsxs("div", { className: "gap-0.5", children: [label ? jsx("div", { className: `text-h6 ${titleStyleMap[version]}`, children: label }) : null, description ? (jsx("div", { className: `text-m-light ${descStyleMap[version]}`, children: description })) : null] })] }));
545
+ const iconVersion = getIconVersion(icon, isIconWhite);
546
+ return (jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (jsx("div", { className: renderBenefitIconBgStyle(version, benefitsVersion), children: jsx(ImgInner, { className: "w-6 h-6", image: { ...icon, iconVersion }, asSVG: true }) })) : null, jsxs("div", { className: "gap-0.5", children: [label ? jsx("div", { className: `text-h6 ${titleStyleMap[version]}`, children: label }) : null, description ? (jsx("div", { className: `text-m-light ${descStyleMap[version]}`, children: description })) : null] })] }));
717
547
  });
718
548
  function renderBenefitIconBgStyle(version, benefitsVersion) {
719
549
  let bgColorStyle = 'bg-primary-main text-black';
@@ -725,11 +555,12 @@
725
555
  }
726
556
  return `w-[50px] h-[50px] min-w-[50px] rounded-full p-2.5 box-border flex items-center justify-center ${bgColorStyle}`;
727
557
  }
558
+ const getIconVersion = (icon, isIconWhite) => icon?.iconVersion || isIconWhite ? 'white' : 'normal';
728
559
 
729
560
  const addSpacesBetweenNumbers = (number) => new Intl.NumberFormat('ru-RU', { maximumSignificantDigits: 3 }).format(number);
730
561
 
731
562
  const PictureText = JSX(({ className = '', context, title, description, image, benefits, version = 'primary', sum, monthLimit, directionRight = false, ...rest }) => {
732
- return (jsxs(BlockWrapper, { className: `relative font-sans py-12 px-24 ${VersionStyleMap[version]} ${className}`, context: context, ...rest, children: [jsx(Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: "M", bgColorHeadline: version, align: "center" }), jsxs("div", { className: 'flex justify-center gap-[122px] mt-[30px]', children: [image?.src ? jsx(Img, { className: directionRight ? 'order-2' : '', image: image }) : null, jsxs("div", { className: "w-[558px] m-auto", children: [benefits?.length ? (jsx("div", { className: "flex flex-col gap-4", children: benefits.map(renderBenefit$2(version)) })) : null, renderInsuranceSumMonth(sum, monthLimit)] })] })] }));
563
+ return (jsxs(BlockWrapper, { className: `relative font-sans py-12 px-24 ${VersionStyleMap[version]} ${className}`, context: context, ...rest, children: [jsx(Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: "M", bgColorHeadline: version, align: "center" }), jsxs("div", { className: 'flex justify-center gap-[122px] mt-[30px]', children: [image?.src ? jsx(ImgInner, { className: directionRight ? 'order-2' : '', image: image }) : null, jsxs("div", { className: "w-[558px] m-auto", children: [benefits?.length ? (jsx("div", { className: "flex flex-col gap-4", children: benefits.map(renderBenefit$2(version)) })) : null, renderInsuranceSumMonth(sum, monthLimit)] })] })] }));
733
564
  });
734
565
  const renderBenefit$2 = (version) => (benefit, i) => (jsx(BenefitItem, { icon: benefit.icon, label: benefit.label, description: benefit.description, version: version }, String(i)));
735
566
  function renderInsuranceSumMonth(sum, monthLimit) {
@@ -822,9 +653,30 @@
822
653
  return (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: i }, el) : [el]), []);
823
654
  }
824
655
 
656
+ const buttonStyleMap = {
657
+ primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
658
+ secondary: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
659
+ white: 'text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main',
660
+ link: '',
661
+ };
662
+ const DisabledStyle = 'bg-main-divider text-main-disabled';
663
+ const buttonDisabledStyleMap = {
664
+ primary: DisabledStyle,
665
+ secondary: DisabledStyle,
666
+ white: DisabledStyle,
667
+ link: '',
668
+ };
669
+ const buttonStyle = 'text-center font-sans select-none';
670
+ const iconStyleMap = {
671
+ primary: 'group-hover:brightness-0 group-hover:invert',
672
+ secondary: 'group-hover:brightness-0 group-hover:invert',
673
+ white: 'group-hover:brightness-0 group-hover:invert',
674
+ link: '',
675
+ };
676
+
825
677
  const ButtonInner = JSX((props) => {
826
- const { text, aboveText, appendLeft, appendRight } = props;
827
- return (jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? appendLeft : null, isWithText(props) ? (jsxs("div", { children: [jsx("div", { className: "text-xs-light text-left", children: aboveText }), jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-0.5' : 'text-l'}`, children: text })] })) : null, appendRight ? appendRight : null] }));
678
+ const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
679
+ return (jsxs("div", { className: getButtonStyle(props), children: [appendLeft ? jsx("div", { className: iconStyleMap[version], children: appendLeft }) : null, isWithText(props) ? (jsxs("div", { children: [jsx("div", { className: "text-xs-light text-left", children: aboveText }), jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-0.5' : 'text-l'}`, children: text })] })) : null, appendRight ? jsx("div", { className: iconStyleMap[version], children: appendRight }) : null] }));
828
680
  });
829
681
  const getButtonStyle = (props) => {
830
682
  const { className = '', version, aboveText, rounded } = props;
@@ -841,47 +693,28 @@
841
693
  };
842
694
  const isWithText = ({ text, aboveText, appendLeft }) => Boolean(text || aboveText || !appendLeft);
843
695
 
844
- const buttonStyleMap = {
845
- primary: 'text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active',
846
- secondary: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
847
- white: 'text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main',
848
- link: '',
849
- };
850
- const DisabledStyle = 'bg-main-divider text-main-disabled';
851
- const buttonDisabledStyleMap = {
852
- primary: DisabledStyle,
853
- secondary: DisabledStyle,
854
- white: DisabledStyle,
855
- link: '',
856
- };
857
- const buttonStyle = 'text-center font-sans select-none';
858
-
859
- const getRegularButtonClasses = ({ className, rounded, version, }) => [
696
+ const getDisabledButtonClasses = ({ className, rounded, version, }) => [
697
+ 'inline-block',
860
698
  buttonStyle,
861
- 'border border-transparent inline-block cursor-pointer no-underline focus:border-primary-focus focus:border',
862
- version ? buttonStyleMap[version] : '',
699
+ version ? buttonDisabledStyleMap[version] : '',
863
700
  rounded ? 'rounded-full' : 'rounded-md',
864
701
  className,
865
702
  ].join(' ');
866
703
 
867
- const getDisabledButtonClasses = ({ className, rounded, version, }) => [
868
- 'inline-block',
704
+ const getRegularButtonClasses = ({ className, rounded, version, }) => [
869
705
  buttonStyle,
870
- version ? buttonDisabledStyleMap[version] : '',
706
+ 'border border-transparent inline-block cursor-pointer no-underline focus:border-primary-focus focus:border',
707
+ version ? buttonStyleMap[version] : '',
871
708
  rounded ? 'rounded-full' : 'rounded-md',
872
709
  className,
873
710
  ].join(' ');
874
711
 
875
- const Button = JSX((props) => {
876
- const { text, aboveText, appendLeft, appendRight, children, disabled, rounded, ...rest } = props;
877
- // its non valid HTML attribute. Must be excluded from "rest"
878
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
879
- const { asSVG, iconRight, icon, ...usedProps } = rest;
880
- const buttonInner = children ?? (jsx(ButtonInner, { text: text, aboveText: aboveText, appendLeft: appendLeft, appendRight: appendRight, rounded: rounded }));
881
- return disabled ? (jsx(DisabledButton, { rounded: rounded, ...usedProps, children: buttonInner })) : (jsx(RegularButton, { rounded: rounded, ...usedProps, children: buttonInner }));
712
+ const Button = JSX(({ aboveText, appendLeft, appendRight, ariaLabel, children, className, disabled, href, onClick, rel, rounded, target, text, version, }) => {
713
+ const buttonInner = children ?? (jsx(ButtonInner, { aboveText: aboveText, appendLeft: appendLeft, appendRight: appendRight, rounded: rounded, text: text, version: version }));
714
+ return disabled ? (jsx(DisabledButton, { ariaLabel: ariaLabel, className: className, rounded: rounded, version: version, children: buttonInner })) : (jsx(RegularButton, { ariaLabel: ariaLabel, className: className, href: href, onClick: onClick, rel: rel, rounded: rounded, target: target, version: version, children: buttonInner }));
882
715
  });
883
- const RegularButton = JSX(({ className = '', ariaLabel, version, rounded, href, target, children, onClick, ...rest }) => {
884
- return (jsx("a", { className: getRegularButtonClasses({ className, version, rounded }), href: href, target: target, onClick: onClick, "aria-label": ariaLabel, role: href ? 'link' : 'button', ...rest, children: children }));
716
+ const RegularButton = JSX(({ className = '', ariaLabel, version, rounded, href, target, children, onClick, rel }) => {
717
+ return (jsx("a", { className: getRegularButtonClasses({ className, version, rounded }), href: href, target: target, onClick: onClick, "aria-label": ariaLabel, role: href ? 'link' : 'button', rel: rel, children: children }));
885
718
  });
886
719
  const DisabledButton = JSX(({ className, children, ariaLabel, version, rounded }) => {
887
720
  return (jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: -1, className: getDisabledButtonClasses({ className, rounded, version }), children: children }));
@@ -890,61 +723,48 @@
890
723
  const ButtonSection = JSX(({ context, className = '', buttons }) => {
891
724
  const { handlerDecorator } = context;
892
725
  const router = context.useRouter();
893
- return buttons && buttons?.length ? (jsx("div", { className: className, children: buttons.map((button, index) => renderButton$2(useLink({ router, handlerDecorator }, button), index)) })) : null;
726
+ return buttons && buttons?.length ? (jsx("div", { className: className, children: buttons.map((button, index) => (jsx(ButtonSectionItem, { button: button, handlerDecorator: handlerDecorator, router: router }, String(index)))) })) : null;
727
+ });
728
+ const ButtonSectionItem = JSX(({ router, handlerDecorator, button }) => {
729
+ const buttonProps = useLink({ router, handlerDecorator }, button);
730
+ return jsx(Button, { ...button, ...buttonProps });
894
731
  });
895
- function renderButton$2({ icon, iconRight, version = 'primary', ...button }, i) {
896
- if (!button?.text) {
897
- return null;
898
- }
899
- const imgStyle = version === 'primary' ? 'group-hover:text-black' : 'group-hover:text-white';
900
- const iconVersion = version === 'secondary' ? 'normal' : 'white';
901
- return icon ? (jsx(Button, { appendLeft: jsx(Img, { imageClassName: imgStyle, image: { ...icon, iconVersion: iconVersion }, width: "24", height: "24", asSVG: true }), appendRight: jsx(Img, { imageClassName: imgStyle, image: { ...iconRight, iconVersion: iconVersion }, width: "24", height: "24", asSVG: true }), version: version, ...button }, String(i))) : (jsx(Button, { version: version, ...button }, String(i)));
902
- }
903
732
 
904
- const LIST_STYLE_CLASSES = {
905
- primary: 'rounded-full inline-block mr-3 mt-2',
906
- secondary: 'rounded-full inline-block mr-3 mt-2',
907
- gray: 'rounded-full inline-block mr-3 mt-2',
908
- tile: 'rounded-full inline-block mr-4 mt-3',
909
- 'tile-white': 'rounded-full inline-block mr-4 mt-3',
910
- };
911
733
  const LIST_DOT_STYLE_MAP = {
912
734
  primary: 'bg-primary-text',
913
735
  secondary: 'bg-white',
914
736
  gray: 'bg-secondary-text',
915
- tile: 'bg-black',
916
- 'tile-white': 'bg-white',
917
- };
918
- const ListItem = JSX(({ className = '', isDotted = true, children, version = 'primary' }) => {
919
- return (jsxs("div", { className: `font-sans flex items-start ${className}`, role: "listitem", children: [isDotted ? jsx("div", { className: getListStyle(version) }) : null, jsx("span", { children: children })] }));
920
- });
921
- const getListStyle = (version) => {
922
- const size = {
923
- primary: 'w-2 h-2 min-w-2 min-h-2',
924
- secondary: 'w-2 h-2 min-w-2 min-h-2',
925
- gray: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5',
926
- tile: 'w-[7px] h-[7px] min-w-[7px] min-h-[7px]',
927
- 'tile-white': 'w-[7px] h-[7px] min-w-[7px] min-h-[7px]',
928
- };
929
- return `${LIST_STYLE_CLASSES[version]} ${LIST_DOT_STYLE_MAP[version]} ${size[version]}`;
930
737
  };
738
+ const DOT_SIZE_MAP = {
739
+ L: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-4 mt-3',
740
+ M: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-3 mt-3',
741
+ S: 'w-1 h-1 min-w-1 min-h-1 mr-2 mt-2.5',
742
+ };
743
+ const ListItem = JSX(({ className = '', isDotted = true, children, version = 'primary', size = 'M' }) => {
744
+ return (jsxs("div", { className: `font-sans flex items-start ${className}`, role: "listitem", children: [isDotted ? (jsx("div", { className: `rounded-full inline-block ${LIST_DOT_STYLE_MAP[version]} ${DOT_SIZE_MAP[size]}` })) : null, jsx("span", { children: children })] }));
745
+ });
931
746
 
932
747
  const TEXT_STYLE_MAP = {
933
748
  primary: 'text-primary-text',
934
749
  secondary: 'text-white',
935
750
  gray: 'text-secondary-text',
936
- tile: 'text-primary-text',
937
- 'tile-white': 'text-white',
938
751
  };
939
752
  const TEXT_SIZE_MAP = {
940
- M: 'text-xl-light',
941
- L: 'text-h5-light',
753
+ S: 'text-l-light',
754
+ M: 'text-h6',
755
+ L: 'text-h5',
756
+ };
757
+ const ITEM_INDENT_MAP = {
758
+ S: 'ml-2',
759
+ M: 'ml-3',
760
+ L: 'ml-4',
942
761
  };
943
762
  const List = JSX((props) => {
944
- const { className = '', itemClassName, isDotted, items, listItemSize = 'M', version = 'primary', } = props;
945
- return (jsx("section", { className: `${TEXT_STYLE_MAP[version]} ${TEXT_SIZE_MAP[listItemSize]} ${className}`, role: "list", children: items?.length
946
- ? items.map((_, i) => (jsx(ListItem, { className: itemClassName, isDotted: isDotted, version: version, children: _ }, String(i))))
947
- : null }));
763
+ const { className = '', hasIndent, isDotted, itemClassName = '', items, listItemSize = 'M', version = 'primary', } = props;
764
+ if (!items?.length) {
765
+ return null;
766
+ }
767
+ return (jsx("section", { className: `${TEXT_STYLE_MAP[version]} ${TEXT_SIZE_MAP[listItemSize]} ${className} ${hasIndent ? ITEM_INDENT_MAP[listItemSize] : ''}`, role: "list", children: items.map((item, i) => (jsx(ListItem, { className: `${itemClassName} mb-1.5`, isDotted: isDotted, version: version, size: listItemSize, children: item }, String(i)))) }));
948
768
  });
949
769
 
950
770
  const BaseTile = JSX(({ className = '', title = '', children, buttons, image }) => {
@@ -956,7 +776,7 @@
956
776
  };
957
777
 
958
778
  const ProductBlockInner = JSX(({ className = '', context, title, headlineVersion = 'L', description, benefits, benefitsVersion = 'normal', buttons, image, items, version = 'primary', isDotted = true, textBlockClassName = '', }) => {
959
- return (jsxs("div", { className: `flex grow justify-between items-stretch h-full ${className}`, children: [jsxs("div", { className: `flex flex-col ${textBlockClassName}`, children: [jsx(Headline, { context: context, title: title, description: description, className: `!p-0 max-w-[600px]`, bgColorHeadline: version, headlineVersion: headlineVersion, align: "left" }), jsxs(BaseTile, { context: context, buttons: getButtons(context, buttons), children: [benefits?.filter((_) => _.label)?.length ? (jsx("div", { className: "flex gap-6 mt-6", children: benefits.map(renderBenefit$1(version, benefitsVersion)) })) : null, items?.length ? (jsx(List, { className: "mt-5 text-h6", items: items, itemClassName: "mb-[7px]", version: version, isDotted: isDotted })) : null] })] }), image?.src && jsx(Img, { className: "mt-[-50px]", image: image })] }));
779
+ return (jsxs("div", { className: `flex grow justify-between items-stretch h-full ${className}`, children: [jsxs("div", { className: `flex flex-col ${textBlockClassName}`, children: [jsx(Headline, { context: context, title: title, description: description, className: `!p-0 max-w-[600px]`, bgColorHeadline: version, headlineVersion: headlineVersion, align: "left" }), jsxs(BaseTile, { context: context, buttons: getButtons(context, buttons), children: [benefits?.filter((_) => _.label)?.length ? (jsx("div", { className: "flex gap-6 mt-6", children: benefits.map(renderBenefit$1(version, benefitsVersion)) })) : null, items?.length ? (jsx(List, { className: "mt-5 text-h6", items: items, itemClassName: "mb-[7px]", version: version, isDotted: isDotted })) : null] })] }), image?.src && jsx(ImgInner, { className: "mt-[-50px]", image: image })] }));
960
780
  });
961
781
  const getButtons = (context, buttons) => {
962
782
  return buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex gap-4" })) : null;
@@ -966,7 +786,7 @@
966
786
  const { text, href, target, onClick } = button;
967
787
  const iconVersion = version === 'primary' ? 'white' : 'black';
968
788
  const backwardIcon = button?.icon || { icon: 'ArrowLeftIcon' };
969
- return (jsxs("div", { className: `flex items-center cursor-pointer ${className}`, onClick: onClick, children: [jsx(Button, { version: version, rounded: true, className: "w-12 h-12 min-h-12 min-w-12 flex items-center justify-center mr-3", ariaLabel: text, href: href, target: target, children: jsx(Img, { className: "w-4 h-4", image: { ...backwardIcon, iconVersion }, asSVG: true }) }), text ? jsx("span", { className: "text-m", children: text }) : null] }));
789
+ return (jsxs("div", { className: `flex items-center cursor-pointer ${className}`, onClick: onClick, children: [jsx(Button, { version: version, rounded: true, className: "w-12 h-12 min-h-12 min-w-12 flex items-center justify-center mr-3", ariaLabel: text, href: href, target: target, children: jsx(ImgInner, { className: "w-4 h-4", image: { ...backwardIcon, iconVersion }, asSVG: true }) }), text ? jsx("span", { className: "text-m", children: text }) : null] }));
970
790
  }
971
791
 
972
792
  const breadcrumbsStyleMap = {
@@ -1004,13 +824,13 @@
1004
824
  };
1005
825
  const TextBlock = JSX(({ title, description, blockVersion = 'primary', iconVersion, image, className, ...rest }) => {
1006
826
  const textBlockStyleMap = textBlockStyleMaps[blockVersion];
1007
- return (jsxs(BlockWrapper, { className: `font-sans px-9 py-4 flex ${textBlockStyleMap.background} ${className || ''}`, ...rest, children: [iconVersion === 'small' ? renderIcon(textBlockStyleMap.icon) : null, iconVersion === 'big' ? renderImage(image) : null, jsxs("div", { className: "py-0.5", children: [title ? (jsx("div", { className: `text-l font-medium mb-1 ${textBlockStyleMap.title}`, children: title })) : null, description ? (jsx("div", { className: `text-s ${textBlockStyleMap.description}`, children: description })) : null] })] }));
827
+ return (jsxs(BlockWrapper, { className: `font-sans px-9 py-4 flex ${textBlockStyleMap.background} ${className || ''}`, ...rest, children: [iconVersion === 'small' ? renderIcon(textBlockStyleMap.icon) : null, iconVersion === 'big' ? renderImage$1(image) : null, jsxs("div", { className: "py-0.5", children: [title ? (jsx("div", { className: `text-l font-medium mb-1 ${textBlockStyleMap.title}`, children: title })) : null, description ? (jsx("div", { className: `text-s ${textBlockStyleMap.description}`, children: description })) : null] })] }));
1008
828
  });
1009
829
  function renderIcon(className) {
1010
830
  return (jsx("div", { className: "pt-1.5 pl-1 pr-4", children: jsx("div", { className: `rounded-full h-4 w-4 text-center text-xs-light ${className}`, children: "i" }) }));
1011
831
  }
1012
- function renderImage(image) {
1013
- return image?.src ? jsx(Img, { className: "pt-0.5 pr-3", image: image }) : null;
832
+ function renderImage$1(image) {
833
+ return image?.src ? jsx(ImgInner, { className: "pt-0.5 pr-3", image: image }) : null;
1014
834
  }
1015
835
 
1016
836
  const getColSpan = (className) => {
@@ -1048,18 +868,17 @@
1048
868
  const Tile = JSX((props) => {
1049
869
  const { context, title, headingType = 'h3', description, items, children, buttons, image, isDotted = true, listItemSize = 'M', className = '', version = 'primary', ...rest } = props;
1050
870
  const headingClassName = version === 'primary' ? 'text-primary-text' : '';
1051
- return (jsx(BlockWrapper, { context: context, className: `overflow-hidden font-sans p-9 pr-3 box-border ${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: jsxs(BaseTile, { context: context, title: title ? (jsx(Heading, { headingType: headingType, as: "h2", title: title, className: `whitespace-pre-wrap max-w-[600px] ${headingClassName}` })) : null, buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons.map((button) => ({ ...button, className: 'w-[158px]' })), className: "flex mt-8 gap-3" })) : null, image: image?.src ? jsx(Img, { className: "mt-auto ml-7", image: image }) : null, children: [description ? (jsx(Description, { className: "max-w-[600px] text-xl-light mt-2", description: description })) : null, children, renderList$1(items, { version, isDotted, listItemSize })] }) }));
871
+ return (jsx(BlockWrapper, { context: context, className: `overflow-hidden font-sans p-9 pr-3 box-border ${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: jsxs(BaseTile, { context: context, title: title ? (jsx(Heading, { headingType: headingType, as: "h2", title: title, className: `whitespace-pre-wrap max-w-[600px] ${headingClassName}` })) : null, buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons.map((button) => ({ ...button, className: 'w-[158px]' })), className: "flex mt-8 gap-3" })) : null, image: image?.src ? jsx(ImgInner, { className: "mt-auto ml-7", image: image }) : null, children: [description ? (jsx(Description, { className: "max-w-[600px] text-xl-light mt-2.5", description: description })) : null, children, renderList$1(items, { version, isDotted, listItemSize })] }) }));
1052
872
  });
1053
873
  function renderList$1(items, { version, isDotted, listItemSize }) {
1054
- const listVersion = version === 'primary' ? 'tile' : 'tile-white';
1055
- return items?.length ? (jsx(List, { items: items, isDotted: isDotted, className: "mt-3", listItemSize: listItemSize, itemClassName: "mb-1.5", version: listVersion })) : null;
874
+ return items?.length ? (jsx(List, { items: items, isDotted: isDotted, className: "mt-2.5", listItemSize: listItemSize, itemClassName: "mb-1.5", version: version })) : null;
1056
875
  }
1057
876
 
1058
877
  const ProductTile = JSX(({ context, className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, version = 'primary', ...rest }) => {
1059
878
  return (jsxs(BlockWrapper, { context: context, className: `overflow-hidden font-sans p-9 box-border relative justify-between grid min-h-[364px]
1060
879
  ${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)}`, ...rest, children: [jsx(Headline, { context: context, className: `!p-0 !bg-transparent z-10 ${title || description ? 'mb-3.5' : ''}`, as: "h2", title: title, description: description, headlineVersion: headlineVersion, bgColorHeadline: version, align: "left" }), renderBenefits$1(benefits, version, image), additionalDescription
1061
- ? renderAdditionalDescription(additionalDescription, image, version)
1062
- : null, buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex self-end mt-5 gap-4 z-10 text-l" })) : null, image?.src ? jsx(Img, { className: "absolute right-0 bottom-0", image: image }) : null] }));
880
+ ? renderAdditionalDescription$1(additionalDescription, image, version)
881
+ : null, buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttons, className: "flex self-end mt-5 gap-4 z-10 text-l" })) : null, image?.src ? jsx(ImgInner, { className: "absolute right-0 bottom-0", image: image }) : null] }));
1063
882
  });
1064
883
  function renderBenefits$1(benefits, version, image) {
1065
884
  // picture width = 242px. Text can overlay picture 20px deep. Outer paddings_x = 36px. 242-36-20 = 186px
@@ -1080,7 +899,7 @@
1080
899
  ];
1081
900
  };
1082
901
  }
1083
- function renderAdditionalDescription(additionalDescription, image, version = 'primary') {
902
+ function renderAdditionalDescription$1(additionalDescription, image, version = 'primary') {
1084
903
  const descStyleMap = {
1085
904
  primary: 'text-secondary-text',
1086
905
  secondary: 'text-white',
@@ -1092,7 +911,7 @@
1092
911
 
1093
912
  const ArrowButton = JSX(({ className, disabled, ...rest }) => (jsx(Button, { rounded: true, className: `group 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 ${disabled
1094
913
  ? 'bg-secondary-light text-secondary-text'
1095
- : 'bg-white text-primary-text hover:text-primary-main'} ${className || ''}`, disabled: disabled, ...rest, children: jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, imageClassName: "group-hover:text-primary-main", width: "16", height: "16", asSVG: true }) })));
914
+ : 'bg-white text-primary-text hover:text-primary-main'} ${className || ''}`, disabled: disabled, ...rest, children: jsx(ImgInner, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, imageClassName: "group-hover:text-primary-main", width: "16", height: "16", asSVG: true }) })));
1096
915
 
1097
916
  function renderArrows({ handler, isShown, btnClass, className = '', isDisabled = false, }) {
1098
917
  return (jsxs("div", { children: [isShown[0] || isDisabled ? (jsx(ArrowButton, { className: `absolute z-10 ${btnClass[0]} ${className}`, onClick: handler[0], ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E", "data-block-control": "scroll-left", disabled: !isShown[0] })) : null, isShown[1] || isDisabled ? (jsx(ArrowButton, { className: `absolute z-10 rotate-180 ${btnClass[1]} ${className}`, onClick: handler[1], ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E", "data-block-control": "scroll-right", disabled: !isShown[1] })) : null] }));
@@ -1111,27 +930,23 @@
1111
930
  mini: 276,
1112
931
  };
1113
932
 
1114
- const GalleryCardInner = JSX(({ title, description, image, items, button, version, isDotted = true }) => {
1115
- const titleStyleClasses = getTitleStyle(version);
1116
- return (jsxs("div", { className: "h-full flex flex-col justify-between text-center", children: [jsxs("div", { children: [image?.src ? (jsx("div", { className: "flex justify-center", children: jsx(Img, { className: "mb-6", image: image }) })) : null, title ? renderCardTitle(title, titleStyleClasses) : null, description ? jsx("div", { className: `text-m${title ? 'mt-2' : ''}`, children: description }) : null, items?.length ? renderItems(items, isDotted, version) : null] }), button?.text ? renderButton$1(button) : null] }));
933
+ const ALIGN_TITLE$1 = {
934
+ left: 'text-left',
935
+ center: 'text-center',
936
+ right: 'text-right',
937
+ };
938
+ const GalleryCardInner = JSX(({ title, headlineSmallVersion = 'XL_L', description, additionalDescription, image, items, button, version, isDotted = true, align = 'center', }) => {
939
+ return (jsxs("div", { className: `h-full flex flex-col justify-between ${ALIGN_TITLE$1[align]}`, children: [jsxs("div", { className: "flex flex-col h-full", children: [renderImage(image), renderCardTitle(headlineSmallVersion, title), renderDescription$2(description, title), renderAdditionalDescription(additionalDescription), items?.length ? renderItems$1(items, isDotted, version) : null] }), button ? renderButton(button) : null] }));
1117
940
  });
1118
- function renderButton$1(button) {
1119
- return (jsx(Button, { className: "mt-6 w-full", appendLeft: button.icon && jsx(Img, { image: button.icon, width: "24px", height: "24px", asSVG: true }), ...button }));
1120
- }
1121
- function renderCardTitle(title, className) {
1122
- return jsx("div", { className: `text-xl-light m-0 ${className}`, children: title });
1123
- }
1124
- function renderItems(items, isDotted, version = 'primary') {
1125
- return (jsx(List, { className: `max-w-[308px] mt-2 text-s ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "mt-1 text-left first:mt-0", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted, version: version }));
1126
- }
1127
- function getTitleStyle(version) {
1128
- return `text-xl-light m-0
1129
- ${version !== 'secondary' ? 'text-primary-text' : ''}
1130
- `;
1131
- }
941
+ const renderImage = (image) => image?.src ? (jsx("div", { className: "flex justify-center", children: jsx(ImgInner, { className: "mb-6", image: image }) })) : null;
942
+ const renderCardTitle = (headlineSmallVersion, title) => title ? jsx("div", { className: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title }) : null;
943
+ const renderDescription$2 = (description, title) => description ? jsx("div", { className: `text-base ${title ? 'mt-2' : ''}`, children: description }) : null;
944
+ const renderAdditionalDescription = (additionalDescription) => additionalDescription ? (jsx("div", { className: "text-m-light text-secondary-text mt-auto", children: additionalDescription })) : null;
945
+ const renderButton = (button) => (jsx(Button, { className: "mt-6 w-full", ...button }));
946
+ const renderItems$1 = (items, isDotted, version = 'primary') => (jsx(List, { className: `max-w-[308px] mt-2 text-s ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "mt-1 text-left first:mt-0", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted, version: version }));
1132
947
 
1133
- const GalleryContainer = JSX(({ context, title, description, cards = [], version = 'normal', activeCardIndex }) => {
1134
- return (jsxs("div", { children: [jsx("div", { className: "absolute top-0 left-0 bottom-0 w-[84px] bg-gradient-to-r from-white to-transparent" }), jsx(Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: "L", align: "center" }), jsx("div", { className: `flex mt-8 ${cards?.length <= galleryLengthForScrollMap[version] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeCardIndex * cardWidthMap[version]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, version, context }, i)) })] }));
948
+ const GalleryContainer = JSX(({ context, title, headlineVersion = 'L', description, cards = [], version = 'normal', activeCardIndex, }) => {
949
+ return (jsxs("div", { children: [jsx("div", { className: "absolute top-0 left-0 bottom-0 w-[84px] bg-gradient-to-r from-white to-transparent" }), jsx(Headline, { context: context, className: "!p-0", title: title, description: description, headlineVersion: headlineVersion, align: "center" }), jsx("div", { className: `flex mt-8 ${cards?.length <= galleryLengthForScrollMap[version] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeCardIndex * cardWidthMap[version]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, version, context }, i)) })] }));
1135
950
  });
1136
951
  function renderCard({ card, version }, i) {
1137
952
  return (jsx("section", { className: `box-border border-solid border border-main-stroke p-6 mx-2 flex flex-col justify-between
@@ -1181,7 +996,7 @@
1181
996
  LinkList,
1182
997
  };
1183
998
 
1184
- const renderBlocksList$1 = ({ blocks, context, className = '' }) => blocks?.length ? blocks.map(renderBlock$1({ context, className })) : null;
999
+ const renderBlocksList$1 = ({ blocks, context, className = '' }) => blocks?.length ? blocks.map(renderBlock$1({ context, className })) : [];
1185
1000
  const renderBlock$1 = ({ context, className }) => (block, i) => {
1186
1001
  if (!block) {
1187
1002
  return null;
@@ -1195,45 +1010,41 @@
1195
1010
  return (jsx(EmbeddedBlock, { className: `${className} ${classNameBlock}`, context: context, ...rest }, `block_${i}`));
1196
1011
  };
1197
1012
 
1198
- const AccordionItemInner = JSX(({ blocks, context }) => {
1199
- return (jsx("div", { className: "grid grid-cols-12 transition-all duration-300 max-h-0 overflow-hidden", children: renderBlocksList$1({ context, blocks, className: '!p-0 mb-3.5' }) }));
1013
+ const Foldable = JSX(({ isFoldButtonOnTop = false, unfoldedByDefault = false, renderFoldableSection, renderFoldButton, }) => {
1014
+ const [isUnfolded, setIsUnfolded] = useState(unfoldedByDefault);
1015
+ const onToggle = useCallback(() => {
1016
+ setIsUnfolded((_) => !_);
1017
+ }, []);
1018
+ const sectionNode = renderFoldableSection({ isUnfolded, onToggle });
1019
+ const buttonNode = renderFoldButton ? renderFoldButton({ isUnfolded, onToggle }) : null;
1020
+ return isFoldButtonOnTop ? (jsxs("div", { children: [buttonNode, sectionNode] })) : (jsxs("div", { children: [sectionNode, buttonNode] }));
1200
1021
  });
1201
1022
 
1202
- const useActiveHandler$1 = ({ blocks, initialState = false }) => {
1203
- const [isActive, setIsActive] = useState(initialState);
1204
- const hasContent = blocks?.length;
1205
- const icon = isActive ? 'MinusIcon' : 'PlusIcon';
1206
- const handleToggle = (e) => {
1207
- const currentTarget = e.currentTarget;
1208
- if (!currentTarget) {
1209
- return;
1023
+ const FoldableSection = JSX(({ className = '', isUnfolded, children }) => {
1024
+ const containerRef = useRef(null);
1025
+ useEffect(() => {
1026
+ if (containerRef.current) {
1027
+ containerRef.current.style.maxHeight = isUnfolded
1028
+ ? `${containerRef.current.scrollHeight}px`
1029
+ : '';
1210
1030
  }
1211
- setIsActive(!isActive);
1212
- const contentBlock = currentTarget.nextSibling;
1213
- contentBlock.style.maxHeight = contentBlock.style.maxHeight
1214
- ? ''
1215
- : `${contentBlock.scrollHeight}px`;
1216
- };
1217
- return { isActive, hasContent, icon, handleToggle };
1218
- };
1219
-
1220
- const AccordionItem = JSX(({ label, isExpanded, blocks, context }) => {
1221
- const { isActive, hasContent, icon, handleToggle } = useActiveHandler$1({
1222
- blocks,
1223
- initialState: isExpanded,
1224
- });
1225
- return (jsxs("li", { className: "border-0 border-b border-solid border-main-divider last:border-b-0", children: [jsxs("button", { className: `border-none bg-transparent px-0 pt-5 pb-3.5 flex justify-between text-left w-full
1226
- font-sans text-h6 ${hasContent ? 'group cursor-pointer' : ''}
1227
- `, onClick: handleToggle, children: [jsx("span", { className: `text-xl font-medium pr-2.5`, children: label }), hasContent ? (jsx(Img, { image: icon, className: "text-primary-main flex-shrink-0", width: "24", height: "24", asSVG: true })) : null] }), hasContent ? (jsx(AccordionItemInner, { isExpanded: isActive, blocks: blocks, context: context })) : null] }));
1031
+ }, [isUnfolded]);
1032
+ return (jsx("div", { ref: containerRef, className: `transition-max-h duration-300 overflow-hidden max-h-0 ${className}`, children: children }));
1228
1033
  });
1229
1034
 
1035
+ const icons$1 = ['PlusIcon', 'MinusIcon'];
1036
+ const AccordionItem = JSX(({ label = '', children, hasContent = true }) => (jsx("li", { className: "border-0 border-b border-solid border-main-divider last:border-b-0", children: jsx(Foldable, { isFoldButtonOnTop: true, renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { className: "grid grid-cols-12", isUnfolded: isUnfolded, children: children })), renderFoldButton: ({ isUnfolded, onToggle }) => (jsx(FoldButton, { label: label, icon: icons$1[Number(isUnfolded)], hasContent: hasContent, onClick: onToggle })) }) })));
1037
+ const FoldButton = JSX(({ label, icon, hasContent, onClick }) => (jsxs("button", { className: `border-none bg-transparent px-0 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 group cursor-pointer ${hasContent ? 'group cursor-pointer' : ''}`, onClick: onClick, children: [jsx("span", { className: `text-xl font-medium pr-2.5`, children: label }), hasContent ? (jsx(ImgInner, { image: icon, className: "text-primary-main flex-shrink-0", width: "24", height: "24", asSVG: true })) : null] })));
1038
+
1039
+ const AccordionItemsList = JSX(({ children }) => (jsx("ul", { className: "list-none m-0 p-0", children: children })));
1040
+
1230
1041
  const ALIGN_TITLE = {
1231
1042
  left: 'text-left',
1232
1043
  center: 'text-center',
1233
1044
  right: 'text-right',
1234
1045
  };
1235
1046
  const Accordion = JSX(({ title, description, accordionItems, context, className = '', accordionAlignTitle = 'center', ...rest }) => {
1236
- return (jsxs(BlockWrapper, { context: context, className: `p-[50px] mb-1 last:mb-0 font-sans bg-white text-primary-text ${className}`, ...rest, children: [title ? (jsx(Heading, { headingType: "h3", as: "h2", className: `mb-2.5 ${ALIGN_TITLE[accordionAlignTitle]}`, title: title })) : null, description ? jsx("div", { className: "mb-2.5 text-l", children: description }) : null, accordionItems?.length ? (jsx("ul", { className: "list-none m-0 p-0", children: accordionItems.map((item, i) => (jsx(AccordionItem, { ...item, context: context }, `AccordionItem${i}`))) })) : null] }));
1047
+ return (jsxs(BlockWrapper, { context: context, className: `p-[50px] mb-1 last:mb-0 font-sans bg-white text-primary-text ${className}`, ...rest, children: [title ? (jsx(Heading, { headingType: "h3", as: "h2", className: `mb-2.5 ${ALIGN_TITLE[accordionAlignTitle]}`, title: title })) : null, description ? jsx("div", { className: "mb-2.5 text-l", children: description }) : null, accordionItems?.length ? (jsx(AccordionItemsList, { children: accordionItems.map((item, i) => (jsx(AccordionItem, { context: context, hasContent: Boolean(item.blocks?.length), ...item, children: renderBlocksList$1({ blocks: item.blocks, context, className: '!p-0 mb-5' }) }, `AccordionItem${i}`))) })) : null] }));
1237
1048
  });
1238
1049
 
1239
1050
  const benefitsBlockStyleMap = {
@@ -1259,7 +1070,7 @@
1259
1070
  return (jsx("div", { className: "flex flex-wrap w-full justify-center gap-x-20 mt-8", children: benefitList.map(renderStep(benefitsBlockVersion)) }));
1260
1071
  };
1261
1072
  const setIconVersion = (benefitIcon, benefitsBlockVersion) => {
1262
- if (!benefitIcon.icon) {
1073
+ if (!benefitIcon.icon || benefitIcon?.iconVersion) {
1263
1074
  return benefitIcon;
1264
1075
  }
1265
1076
  benefitIcon.iconVersion = benefitsBlockVersion === 'secondary' ? 'white' : 'normal';
@@ -1267,9 +1078,9 @@
1267
1078
  };
1268
1079
  const renderStep = (benefitsBlockVersion) => (benefit, i) => {
1269
1080
  const description = (benefit?.description || undefined);
1270
- return (jsxs("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? (jsx(Img, { className: `w-[50px] h-[50px] min-w-[50px] p-3 rounded-full ${benefitsIconStyleMap[benefitsBlockVersion]}`, image: setIconVersion(benefit.icon, benefitsBlockVersion), asSVG: true })) : null, benefit?.icon?.src ? jsx(Img, { image: benefit.icon }) : null, jsxs("div", { className: "ml-5", children: [benefit?.label ? (jsx("h3", { className: `text-h6 m-0 ${benefitsTextStyleMap[benefitsBlockVersion]}`, children: benefit.label })) : null, renderDescription(description, benefitsBlockVersion)] })] }, String(i)));
1081
+ return (jsxs("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? (jsx(ImgInner, { className: `w-[50px] h-[50px] min-w-[50px] p-3 rounded-full ${benefitsIconStyleMap[benefitsBlockVersion]}`, image: setIconVersion(benefit.icon, benefitsBlockVersion), asSVG: true })) : null, benefit?.icon?.src ? jsx(ImgInner, { image: benefit.icon }) : null, jsxs("div", { className: "ml-5", children: [benefit?.label ? (jsx("h3", { className: `text-h6 m-0 ${benefitsTextStyleMap[benefitsBlockVersion]}`, children: benefit.label })) : null, renderDescription$1(description, benefitsBlockVersion)] })] }, String(i)));
1271
1082
  };
1272
- const renderDescription = (description, benefitsBlockVersion) => {
1083
+ const renderDescription$1 = (description, benefitsBlockVersion) => {
1273
1084
  const benefitType = description ? description?.benefitType : null;
1274
1085
  if (!benefitType) {
1275
1086
  return null;
@@ -1298,7 +1109,7 @@
1298
1109
  ? renderBonusCount(bonusItemContent)
1299
1110
  : renderBonusImage(bonusItemContent) }));
1300
1111
  const renderBonusCount = (_) => (jsxs("div", { className: "relative -bottom-3 h-auto flex items-end mt-14 shrink-0", children: [_.bonusCount ? (jsx("span", { className: "font-mohave -tracking-[5px] text-title-extra bg-clip-text text-transparent bg-green-to-yellow -mb-7", children: _.bonusCount })) : null, _.bonusName ? (jsx("span", { className: "text-h2 bg-clip-text text-transparent bg-green-to-yellow", children: _.bonusName })) : null] }));
1301
- const renderBonusImage = (_) => _.image ? (jsx(Img, { className: `w-[50px] h-[50px] min-w-[50px] p-3 rounded-full`, image: _.image })) : null;
1112
+ const renderBonusImage = (_) => _.image ? (jsx(ImgInner, { className: `w-[50px] h-[50px] min-w-[50px] p-3 rounded-full`, image: _.image })) : null;
1302
1113
 
1303
1114
  function getElementsColsValue(className = '') {
1304
1115
  const colSpan = getColSpan(className);
@@ -1315,7 +1126,7 @@
1315
1126
 
1316
1127
  const BonusBenefitsBlock = JSX(({ context, className = '', title, subtitle, bonusBenefits, ...rest }) => (jsxs(BlockWrapper, { className: `font-sans text-primary-text bg-white p-[50px] flex flex-col text-center ${className}`, context: context, ...rest, children: [jsx(Headline, { context: context, className: "!p-0", title: title, description: subtitle, headlineVersion: "M", align: "center" }), bonusBenefits?.length ? (jsx("div", { className: `grid gap-1 mt-8 ${getElementsColsValue(className)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] })));
1317
1128
  const renderBonusBenefit = (bonusBenefit, i) => {
1318
- return (jsxs("div", { className: "flex flex-col items-center max-w-[292px]", children: [bonusBenefit?.icon ? (jsx(Img, { className: "h-[160px] w-[180px] min-w-[180px] min-h-[160px]", image: bonusBenefit.icon, width: "180", height: "160" })) : null, jsx("div", { children: bonusBenefit?.label ? jsx("span", { className: "text-h6 m-0", children: bonusBenefit.label }) : null })] }, String(i)));
1129
+ return (jsxs("div", { className: "flex flex-col items-center max-w-[292px]", children: [bonusBenefit?.icon ? (jsx(ImgInner, { className: "h-[160px] w-[180px] min-w-[180px] min-h-[160px]", image: bonusBenefit.icon, width: "180", height: "160" })) : null, jsx("div", { children: bonusBenefit?.label ? jsx("span", { className: "text-h6 m-0", children: bonusBenefit.label }) : null })] }, String(i)));
1319
1130
  };
1320
1131
 
1321
1132
  const CalculatorValueBlock = JSX(({ title, value, postfix = '', prefix, className = '' }) => {
@@ -1369,14 +1180,15 @@
1369
1180
 
1370
1181
  const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
1371
1182
 
1183
+ const getSanitizedValue = (_) => _.split(/\s+/).join('');
1184
+
1372
1185
  const DISABLED_INPUT_CLASSES = 'disabled:border-main-stroke disabled:bg-main-divider';
1373
1186
  const InputRange = JSX(({ className, title, items = [], min = 1, max = 100, step = 1, value = min, disabled = false, onChange, }) => {
1374
- const getSanitizedValue = (_) => Number(_.replace(/\D/g, ''));
1375
1187
  const handleChange = (e) => {
1376
1188
  if (!onChange) {
1377
1189
  return;
1378
1190
  }
1379
- onChange(clamp(getSanitizedValue(e.target.value), min, max));
1191
+ onChange(clamp(Number(getSanitizedValue(e.target.value)), min, max));
1380
1192
  };
1381
1193
  const inputStyle = {
1382
1194
  backgroundSize: `${(((value - min) * 100) / (max - min)).toFixed(2)}% 100%`,
@@ -1411,7 +1223,7 @@
1411
1223
  };
1412
1224
 
1413
1225
  const consistentDataMap = new Map();
1414
- function useAsyncData$1(key, fetcher, { fallback } = {}) {
1226
+ function useAsyncData(key, fetcher, { fallback } = {}) {
1415
1227
  const args = useMemo(() => keyToArgs(key), [key]);
1416
1228
  const [data, setData] = useState();
1417
1229
  const [error, setError] = useState();
@@ -1470,9 +1282,6 @@
1470
1282
  }
1471
1283
  }
1472
1284
 
1473
- let impl = useAsyncData$1;
1474
- const useAsyncData = (...args) => impl(...args);
1475
-
1476
1285
  async function fetchJSON(url, options) {
1477
1286
  try {
1478
1287
  return await fetchJSONUnsafe(url, options);
@@ -1723,7 +1532,7 @@
1723
1532
  : `text-m-light text-secondary-text`;
1724
1533
  const iconClassName = isActiveBtn ? '' : `text-primary-main`;
1725
1534
  return (jsxs("button", { type: "button", onClick: onClick, "aria-label": tab?.title, className: `box-border relative border border-main-stroke cursor-pointer text-left border-b-0 flex hover:h-[88px]
1726
- ${btnClassName}`, children: [jsx(Img, { className: `h-6 w-6 min-w-6 min-h-6 mr-4 ${iconClassName}`, image: { ...tab?.icon, iconVersion: isActiveBtn ? 'white' : 'normal' }, width: "24", height: "24", asSVG: true }), jsxs("div", { className: "border-0", children: [jsx("div", { className: `${btnTitleClassName}`, children: tab?.title }), jsx("div", { className: `${btnDescClassName}`, children: tab.description })] })] }, String(i)));
1535
+ ${btnClassName}`, children: [jsx(ImgInner, { className: `h-6 w-6 min-w-6 min-h-6 mr-4 ${iconClassName}`, image: { ...tab?.icon, iconVersion: isActiveBtn ? 'white' : 'normal' }, width: "24", height: "24", asSVG: true }), jsxs("div", { className: "border-0", children: [jsx("div", { className: `${btnTitleClassName}`, children: tab?.title }), jsx("div", { className: `${btnDescClassName}`, children: tab.description })] })] }, String(i)));
1727
1536
  }
1728
1537
  function renderTabs({ tabsShift, tabsNav, activeSlideIndex, setActiveSlideIndex }) {
1729
1538
  return (jsxs("div", { children: [jsx("div", { style: { transform: `translateX(-${tabsShift * 388}px)` }, className: "flex flex-col justify-end items-center h-[126px] pt-9 box-border duration-1000", children: jsx("div", { className: "w-full flex flex-nowrap items-end gap-2", children: tabsNav.map((tab, i) => renderNavButton$2({
@@ -1734,7 +1543,13 @@
1734
1543
  })) }) }), jsx("div", { className: "w-full h-2 bg-primary-main" })] }));
1735
1544
  }
1736
1545
 
1737
- const adjustValue = (val) => onlyOneDot(setZeroStart(replaceCommaToDot(val)));
1546
+ const adjustValue = (val) => onlyOneDot(setZeroStart(replaceCommaToDot(getSanitizedValue(val))));
1547
+ const localNumberFormat = (val) => new Intl.NumberFormat('ru-RU', {
1548
+ minimumFractionDigits: 0,
1549
+ maximumFractionDigits: 2,
1550
+ })
1551
+ .format(Number(getSanitizedValue(val)))
1552
+ .replace(',', '.');
1738
1553
  const onlyOneDot = (val) => {
1739
1554
  const matches = val.match(/\./g) || [];
1740
1555
  return matches.length > 1 ? val.slice(0, val.lastIndexOf('.')) : val;
@@ -1746,14 +1561,23 @@
1746
1561
  };
1747
1562
  const replaceCommaToDot = (val) => String(val.replace(',', '.').replace(/[^.\d]/g, ''));
1748
1563
 
1749
- const Input = JSX(({ className = '', inputClassName = '', id, name, type = 'text', label, value = '', children, onChange, ...inputProps }) => {
1564
+ const Input = JSX(({ className = '', inputClassName = '', id, name, type = 'text', label, value = '', valid = true, children, onChange, onBlur, ...inputProps }) => {
1750
1565
  const handleChange = useCallback((e) => {
1751
1566
  const validInputValue = e.target.validity.valid ? e.target.value : value;
1752
1567
  onChange(validInputValue);
1753
1568
  }, [onChange]);
1569
+ const handleBlur = useCallback((e) => {
1570
+ if (!onBlur) {
1571
+ return;
1572
+ }
1573
+ const validInputValue = e.target.validity.valid ? e.target.value : value;
1574
+ onBlur(validInputValue);
1575
+ }, [onBlur]);
1754
1576
  const paddingStyle = children ? 'pr-8' : '';
1755
- return (jsxs("div", { className: `relative ${className}`, children: [label ? jsx("label", { className: "block text-m-light mb-2", children: label }) : null, jsx("input", { className: `w-full border rounded-md border-main-stroke hover:border-primary-hover active:border-primary-text
1756
- focus:border-primary-text text-primary-text outline-none p-4 ${paddingStyle} ${inputClassName}`, id: id, name: name || id, type: type, value: value, onChange: handleChange, ...inputProps }), children] }));
1577
+ const validStyle = valid
1578
+ ? 'border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text'
1579
+ : 'border-error';
1580
+ return (jsxs("div", { className: `relative ${className}`, children: [label ? jsx("label", { className: "block text-m-light mb-2", children: label }) : null, jsx("input", { className: `w-full border rounded-md text-primary-text outline-none p-4 ${paddingStyle} ${validStyle} ${inputClassName}`, id: id, name: name || id, type: type, value: value, onChange: handleChange, onBlur: handleBlur, ...inputProps }), children] }));
1757
1581
  });
1758
1582
 
1759
1583
  const CurrencyInput = JSX(({ className = '', onChange, minValue = 0, maxValue = 300000, ...inputProps }) => {
@@ -1765,7 +1589,13 @@
1765
1589
  const clampVal = getClampValue(adjustedVal, clamp(Number(adjustedVal), minValue, maxValue));
1766
1590
  onChange(String(clampVal));
1767
1591
  }, [onChange]);
1768
- return (jsx(Input, { className: className, inputClassName: "w-full", onChange: handleChange, ...inputProps, children: jsx("span", { className: "text-xl-light absolute right-4 bottom-4", children: "\u20BD" }) }));
1592
+ const handleBlur = useCallback((inputValue) => {
1593
+ if (!onChange) {
1594
+ return;
1595
+ }
1596
+ onChange(localNumberFormat(inputValue));
1597
+ }, [onChange]);
1598
+ return (jsx(Input, { className: className, inputClassName: "w-full", onChange: handleChange, onBlur: handleBlur, ...inputProps, children: jsx("span", { className: "text-xl-light absolute right-4 bottom-4", children: "\u20BD" }) }));
1769
1599
  });
1770
1600
  const getClampValue = (val, clampVal) => Number(val) === clampVal ? val : String(clampVal);
1771
1601
 
@@ -1778,43 +1608,21 @@
1778
1608
  const router = context.useRouter();
1779
1609
  const { handlerDecorator } = context;
1780
1610
  const [value, setValue] = useState('');
1781
- const isDisabled = !Number(value);
1611
+ const isDisabled = !Number(getSanitizedValue(value));
1782
1612
  const buttonStyle = isDisabled
1783
1613
  ? getDisabledButtonClasses({ version: button?.version })
1784
1614
  : getRegularButtonClasses({ className: 'text-white', version: button?.version });
1785
- return (jsxs(BlockWrapper, { className: `p-[50px] flex flex-col items-center font-sans bg-white ${className}`, context: context, ...rest, children: [title ? jsx(Heading, { className: "max-w-[684px] pb-9", headingType: "h2", title: title }) : null, jsxs("form", { className: "w-[468px]", method: "POST", action: FORM_URL, children: [jsx(CurrencyInput, { name: AMOUNT_KEY, value: value, onChange: setValue, placeholder: placeholder, label: label }), button?.text ? (jsx("button", { type: "submit", className: `w-full p-4 mt-6 ${buttonStyle} `, disabled: isDisabled, ...useLink({ router, handlerDecorator }, button), children: button.text })) : null] })] }));
1615
+ return (jsxs(BlockWrapper, { className: `p-[50px] flex flex-col items-center font-sans bg-white ${className}`, context: context, ...rest, children: [title ? jsx(Heading, { className: "max-w-[684px] pb-9", headingType: "h2", title: title }) : null, jsxs("form", { className: "w-[468px]", method: "POST", action: FORM_URL, children: [jsx(CurrencyInput, { name: AMOUNT_KEY, value: value, onChange: setValue, valid: value === '' || !isDisabled, placeholder: placeholder, label: label }), button?.text ? (jsx("button", { type: "submit", className: `w-full p-4 mt-6 ${buttonStyle} `, disabled: isDisabled, ...useLink({ router, handlerDecorator }, button), children: button.text })) : null] })] }));
1786
1616
  });
1787
1617
 
1788
- const iconVersionMap = {
1789
- default: 'normal',
1790
- primary: 'white',
1791
- secondary: 'black',
1792
- };
1793
1618
  const cardStyleMap = {
1794
1619
  black: 'bg-black',
1795
1620
  white: 'bg-white',
1796
1621
  };
1797
1622
  const CatalogCard = JSX(({ className = '', title, description, image, price, button, colors }) => {
1798
- return (jsxs("section", { className: `border border-solid box-border border-main-stroke p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? jsx(Img, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? jsx("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-m-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? jsxs("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, button ? renderButton(button) : null] }));
1623
+ return (jsxs("section", { className: `border border-solid box-border border-main-stroke p-[30px] min-w-[402px] flex flex-col justify-left ${className}`, role: "listitem", children: [image?.src ? jsx(ImgInner, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? jsx("div", { className: "text-m-light text-left mb-4", children: description }) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-m-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }), colors.map(renderColorOption)] })) : null, price ? jsxs("div", { className: "text-h3 text-left", children: [price, "\u00A0\u20BD"] }) : null, button ? jsx(Button, { className: "mt-5 w-full", ...button }) : null] }));
1799
1624
  });
1800
1625
  const renderColorOption = (color, i) => (jsx("span", { className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap[color]}` }, String(i)));
1801
- const renderButton = (button) => {
1802
- const { icon, iconRight, ...other } = button;
1803
- if (!button?.text) {
1804
- return null;
1805
- }
1806
- const iconVersion = iconVersionMap[button?.version || 'default'];
1807
- const leftIcon = renderButtonIcon({ ...icon, iconVersion });
1808
- const rightIcon = renderButtonIcon({ ...iconRight, iconVersion });
1809
- return (jsx(Button, { className: "mt-5 w-full", appendLeft: leftIcon, appendRight: rightIcon, ...other }));
1810
- };
1811
- const renderButtonIcon = (buttonIcon) => {
1812
- if (!buttonIcon || (!buttonIcon?.icon && !buttonIcon?.src)) {
1813
- return null;
1814
- }
1815
- const iconWidth = buttonIcon?.size?.width ? `${buttonIcon.size.width}` : '24';
1816
- return jsx(Img, { image: buttonIcon, width: iconWidth, height: "24", asSVG: true });
1817
- };
1818
1626
 
1819
1627
  const BLUR_BLOCK_CLASSES$1 = 'absolute top-0 bottom-0 w-[84px]';
1820
1628
  const CARD_FULL_VIEW_COUNT$1 = 3;
@@ -1825,7 +1633,7 @@
1825
1633
  cardsCount: cards.length,
1826
1634
  activeCardIndex,
1827
1635
  setActiveCardIndex,
1828
- }), jsx("div", { className: `${BLUR_BLOCK_CLASSES$1} left-0 ${'bg-opacity-from-white'}` }), jsx("div", { className: `${BLUR_BLOCK_CLASSES$1} right-0 ${'bg-opacity-to-white'}` })] }));
1636
+ }), jsx("div", { className: `${BLUR_BLOCK_CLASSES$1} left-0 bg-opacity-from-white` }), jsx("div", { className: `${BLUR_BLOCK_CLASSES$1} right-0 bg-opacity-to-white` })] }));
1829
1637
  });
1830
1638
  const renderCatalogCard = (context) => (card, i) => {
1831
1639
  return jsx(CatalogCard, { context: context, ...card }, String(i));
@@ -1860,7 +1668,7 @@
1860
1668
  const COLS_LENGTH_FOR_SCROLL$1 = 2;
1861
1669
  const COLUMN_WIDTH$2 = 4 * 80 + 4 * 4; // w-80 + gap-4 = 336px
1862
1670
 
1863
- const HeaderCell = JSX(({ icon, image, title, link }) => (jsxs("div", { className: `w-80 box-border flex flex-col items-center rounded-t-md border-b-0 px-7 pt-7 pb-[46px] ${BORDER_CLASSES$1} ${GRADIENT}`, role: "columnheader", children: [icon && !image?.src && (jsx(Img, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", image: icon, width: "63", height: "63" })), image?.src && jsx(Img, { className: "mb-[18px]", image: image }), title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "text-center text-white", title: title })) : null, link?.text && (jsx("div", { className: "mt-auto w-full", children: jsx(Button, { href: link.href, target: link.target, className: "mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active", children: jsx("div", { className: "text-xs-light font-medium py-[11px]", children: link.text }) }) }))] })));
1671
+ const HeaderCell = JSX(({ icon, image, title, link }) => (jsxs("div", { className: `w-80 box-border flex flex-col items-center rounded-t-md border-b-0 px-7 pt-7 pb-[46px] ${BORDER_CLASSES$1} ${GRADIENT}`, role: "columnheader", children: [icon && !image?.src && (jsx(ImgInner, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", image: icon, width: "63", height: "63" })), image?.src && jsx(ImgInner, { className: "mb-[18px]", image: image }), title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "text-center text-white", title: title })) : null, link?.text && (jsx("div", { className: "mt-auto w-full", children: jsx(Button, { href: link.href, target: link.target, className: "mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active", children: jsx("div", { className: "text-xs-light font-medium py-[11px]", children: link.text }) }) }))] })));
1864
1672
 
1865
1673
  const carouselContainerClassesMap = {
1866
1674
  comparison: 'flex gap-4 duration-1000',
@@ -1930,12 +1738,12 @@
1930
1738
  : null] }));
1931
1739
  });
1932
1740
  const renderShowMoreToggleButton = ({ isShowAllRow, onClick, }) => {
1933
- return (jsx("div", { className: "pr-[50px]", children: jsxs("div", { className: "flex w-full", children: [jsx("div", { className: FIRST_CELL_CLASSES$1 }), jsx("button", { onClick: onClick, className: "mt-5 flex-1 border-main-stroke border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main", children: jsx("div", { className: "font-sans text-xs-light font-medium py-[11px]", children: !isShowAllRow ? 'Показать все параметры' : 'Скрыть' }) })] }) }));
1741
+ return (jsx("div", { className: "pr-[50px]", children: jsxs("div", { className: "flex w-full", children: [jsx("div", { className: FIRST_CELL_CLASSES$1 }), jsx("button", { onClick: onClick, className: "mt-5 flex-1 border-main-stroke border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main", children: jsx("div", { className: "font-sans text-xs-light font-medium py-3", children: !isShowAllRow ? 'Показать все параметры' : 'Скрыть' }) })] }) }));
1934
1742
  };
1935
1743
 
1936
1744
  const renderErrorContent = (error) => {
1937
1745
  if (error?.errorContentType === 'Image' && error?.image) {
1938
- return jsx(Img, { image: error.image });
1746
+ return jsx(ImgInner, { image: error.image });
1939
1747
  }
1940
1748
  if (error?.errorContentType === 'Code' && error.code) {
1941
1749
  return jsx("div", { className: "font-mohave text-title-extra gradient-color-text", children: error.code });
@@ -1945,7 +1753,7 @@
1945
1753
  const ErrorBlock = JSX(({ context, className = '', title, subtitle, error, button }) => {
1946
1754
  const { useRouter, handlerDecorator } = context;
1947
1755
  const router = useRouter();
1948
- return (jsxs("section", { className: `flex flex-col justify-center items-center mt-12 ${className}`, role: "listitem", children: [jsx("div", { className: "flex justify-center py-20", children: renderErrorContent(error) }), title ? jsx(Heading, { headingType: "h1", className: "text-left mb-4", title: title }) : null, subtitle ? (jsx("div", { className: "font-sans text-xl-light text-left mb-7 max-w-[613px] text-center", children: subtitle })) : null, button?.text ? (jsx(Button, { className: "py-4 px-9", version: button?.version, ...useLink({ router, handlerDecorator }, button), children: button.text })) : null] }));
1756
+ return (jsxs("section", { className: `flex flex-col justify-center items-center mt-12 ${className}`, role: "listitem", children: [jsx("div", { className: "flex justify-center py-20", children: renderErrorContent(error) }), title ? jsx(Heading, { headingType: "h1", className: "text-left mb-4", title: title }) : null, subtitle ? (jsx("div", { className: "font-sans text-xl-light mb-7 max-w-[613px] text-center", children: subtitle })) : null, button?.text ? (jsx(Button, { className: "py-4 px-9", version: button?.version, ...useLink({ router, handlerDecorator }, button), children: button.text })) : null] }));
1949
1757
  });
1950
1758
 
1951
1759
  const roundTo = (value, precision = 2) => {
@@ -2027,14 +1835,33 @@
2027
1835
  });
2028
1836
  const renderCurrencyRow = (exchangeCurrencyItem) => {
2029
1837
  const code = exchangeCurrencyItem?.code;
2030
- return (jsxs("tr", { className: "pb-1 text-h6", children: [jsx("td", { className: "pt-4", children: jsxs("div", { className: "flex items-center", children: [code ? jsx(Img, { image: { icon: CURRENCY_ICONS_MAP[code] }, width: "24", height: "24" }) : null, jsx("span", { className: "ml-2", children: code })] }) }), jsx("td", { className: "pt-4 pl-11", children: formatCurrency(exchangeCurrencyItem?.sell) }), jsx("td", { className: "pt-4 pl-11", children: formatCurrency(exchangeCurrencyItem?.buy) })] }, code));
1838
+ return (jsxs("tr", { className: "pb-1 text-h6", children: [jsx("td", { className: "pt-4", children: jsxs("div", { className: "flex items-center", children: [code ? jsx(ImgInner, { image: { icon: CURRENCY_ICONS_MAP[code] }, width: "24", height: "24" }) : null, jsx("span", { className: "ml-2", children: code })] }) }), jsx("td", { className: "pt-4 pl-11", children: formatCurrency(exchangeCurrencyItem?.sell) }), jsx("td", { className: "pt-4 pl-11", children: formatCurrency(exchangeCurrencyItem?.buy) })] }, code));
2031
1839
  };
2032
1840
 
2033
- const CurrentLocation = JSX(({ className = '', address, distance }) => (jsxs("div", { className: `flex ${className}`, children: [jsx(Img, { image: { icon: 'GpsIcon' }, width: "24", height: "24", asSVG: true }), jsxs("div", { className: "ml-3", children: [address ? jsx("p", { className: "text-primary-main m-0 mb-1 text-l", children: address }) : null, distance ? (jsxs("p", { className: "text-secondary-text m-0 text-m-light", children: ["\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0431\u043B\u0438\u0436\u0430\u0439\u0448\u0435\u0433\u043E \u043E\u0444\u0438\u0441\u0430 - ", distance] })) : null] })] })));
1841
+ const CurrentLocation = JSX(({ className = '', address, distance }) => (jsxs("div", { className: `flex ${className}`, children: [jsx(ImgInner, { image: { icon: 'GpsIcon' }, width: "24", height: "24", asSVG: true }), jsxs("div", { className: "ml-3", children: [address ? jsx("p", { className: "text-primary-main m-0 mb-1 text-l", children: address }) : null, distance ? (jsxs("p", { className: "text-secondary-text m-0 text-m-light", children: ["\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0431\u043B\u0438\u0436\u0430\u0439\u0448\u0435\u0433\u043E \u043E\u0444\u0438\u0441\u0430 - ", distance] })) : null] })] })));
1842
+
1843
+ function useOutsideClick(wrapperRef, setIsOpen) {
1844
+ useEffect(() => {
1845
+ function handleClickOutside(event) {
1846
+ if (wrapperRef &&
1847
+ wrapperRef.current &&
1848
+ event.target instanceof HTMLElement &&
1849
+ !wrapperRef.current.contains(event.target)) {
1850
+ setIsOpen(false);
1851
+ }
1852
+ }
1853
+ document.addEventListener('click', handleClickOutside);
1854
+ return () => {
1855
+ document.removeEventListener('click', handleClickOutside);
1856
+ };
1857
+ }, []);
1858
+ }
2034
1859
 
2035
1860
  const Select = JSX(({ className = '', isBorder = true, label, options = [], value, onChange, placeholder = '' }) => {
2036
1861
  const [selectedItem, setSelectedItem] = useState(options[0] || { key: '', text: '' });
2037
1862
  const [isOpen, setIsOpen] = useState(false);
1863
+ const wrapperRef = useRef(null);
1864
+ useOutsideClick(wrapperRef, setIsOpen);
2038
1865
  const choiceOption = (option) => {
2039
1866
  setSelectedItem(option);
2040
1867
  setIsOpen(false);
@@ -2044,7 +1871,7 @@
2044
1871
  useEffect(() => {
2045
1872
  setSelectedItem(value || { key: '', text: '' });
2046
1873
  }, [value]);
2047
- return (jsxs("div", { className: `${className}`, children: [label ? jsx("span", { className: "mb-2 flex", children: label }) : null, jsxs("div", { className: `relative ${isOpen ? 'z-20' : 'z-10'}`, children: [jsxs("div", { className: `text-m-light flex justify-between items-center mb-0.5 text-primary-text cursor-pointer
1874
+ return (jsxs("div", { className: `${className}`, ref: wrapperRef, children: [label ? jsx("span", { className: "mb-2 flex", children: label }) : null, jsxs("div", { className: `relative ${isOpen ? 'z-20' : 'z-10'}`, children: [jsxs("div", { className: `text-l flex justify-between items-center mb-0.5 text-primary-text cursor-pointer
2048
1875
  ${getBorderStyle(isBorder)}`, onClick: () => setIsOpen(!isOpen), children: [jsx("p", { className: "p-4 pr-8 h-[56px] overflow-hidden text-ellipsis whitespace-nowrap", children: selectedItem?.text || placeholder }), jsx(Icon, { name: "ArrowUpIcon", width: "16", height: "16", className: `absolute right-3 ${isOpen ? '' : 'rotate-180'}` })] }), options?.length ? (jsx("div", { className: `h-0 ${renderOptionsStyle(isOpen)}`, children: jsx("div", { className: `bg-white text-l max-h-[256px] overflow-y-auto overflow-x-hidden rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]`, children: options.map(renderOption(choiceOption, isOpen, isSelected)) }) })) : null] })] }));
2049
1876
  });
2050
1877
  const renderOptionsStyle = (isOpen) => (isOpen ? '' : 'overflow-hidden');
@@ -2059,7 +1886,7 @@
2059
1886
  const { placeholder, rates, selected, value, setValue, setSelected } = props;
2060
1887
  const ratesOptions = rates.map((_) => ({ key: _.code ?? '', text: _.code ?? '' }));
2061
1888
  const selectedValue = { key: selected, text: selected };
2062
- return (jsxs("div", { className: "relative flex", children: [jsx(Input, { className: "shrink-0 h-14 pl-4 pt-4 pb-4 text-l w-full appearance-none mr-[-90px]", placeholder: placeholder, type: "text", value: value, onChange: setValue }), ratesOptions.length ? (jsx(Select, { isBorder: false, onChange: (_) => setSelected(_.key), options: ratesOptions, value: selectedValue })) : null] }));
1889
+ return (jsxs("div", { className: "relative flex", children: [jsx(Input, { className: "shrink-0 text-l w-full appearance-none mr-[-90px]", placeholder: placeholder, type: "text", value: value, onChange: setValue }), ratesOptions.length ? (jsx(Select, { isBorder: false, onChange: (_) => setSelected(_.key), options: ratesOptions, value: selectedValue })) : null] }));
2063
1890
  }
2064
1891
 
2065
1892
  const calculateResult = (value, rate, precision) => {
@@ -2179,9 +2006,9 @@
2179
2006
  transparent: 'text-white',
2180
2007
  };
2181
2008
  const Logo = JSX(({ className = '', href, logo, children = logo?.title, targetBlank, bgColor = 'bg-white', showTitle = true, }) => {
2182
- return (jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || '/', target: targetBlank ? '_blank' : '_self', "aria-label": logo?.title || 'Россельхозбанк', children: [logo?.image?.src ? (jsx(Img, { image: logo.image, className: SVG_COLOR[bgColor], width: "40", height: "45", asSVG: true })) : (jsx(Img, { image: { icon: 'LogoIcon', iconVersion: ICON_VERSION_MAP[bgColor] }, className: `${SVG_COLOR[bgColor]} w-10`, width: "40", height: "45", asSVG: true })), showTitle ? renderTitle$1(children, bgColor, logo?.title) : null] }));
2009
+ return (jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || '/', target: targetBlank ? '_blank' : '_self', "aria-label": logo?.title || 'Россельхозбанк', children: [logo?.image?.src ? (jsx(ImgInner, { image: logo.image, className: SVG_COLOR[bgColor], width: "40", height: "45", asSVG: true })) : (jsx(ImgInner, { image: { icon: 'LogoIcon', iconVersion: ICON_VERSION_MAP[bgColor] }, className: `${SVG_COLOR[bgColor]} w-10`, width: "40", height: "45", asSVG: true })), showTitle ? renderTitle$2(children, bgColor, logo?.title) : null] }));
2183
2010
  });
2184
- const renderTitle$1 = (children, bgColor, title) => {
2011
+ const renderTitle$2 = (children, bgColor, title) => {
2185
2012
  const text = children || title || 'Россельхозбанк';
2186
2013
  return jsx("span", { className: `${TEXT_COLOR[bgColor]} font-medium ml-2.5`, children: text });
2187
2014
  };
@@ -2200,11 +2027,11 @@
2200
2027
  const SearchBarLabelClassName = isMobile ? 'text-s' : 'text-l-light';
2201
2028
  const SearchBarInputClassName = isMobile ? ' placeholder-transparent' : 'h-full';
2202
2029
  const inputPlaceholder = isMobile ? 'some search' : undefined;
2203
- return (jsxs("form", { className: `font-sans relative ${className}`, children: [jsxs("div", { className: "absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none", children: [jsx("div", { className: LoupeIconClassName, children: jsx(Img, { image: "LoupeIcon", width: "24", height: "24" }) }), term ? null : (jsx("label", { htmlFor: "search-bar-input", className: `text-secondary-text ${SearchBarLabelClassName}`, children: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443" }))] }), jsx("input", { id: "search-bar-input", className: `h-12 pl-12 w-full peer text-l text-black border border-solid rounded-md box-border
2030
+ return (jsxs("form", { className: `font-sans relative ${className}`, children: [jsxs("div", { className: "absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none", children: [jsx("div", { className: LoupeIconClassName, children: jsx(ImgInner, { image: "LoupeIcon", width: "24", height: "24" }) }), term ? null : (jsx("label", { htmlFor: "search-bar-input", className: `text-secondary-text ${SearchBarLabelClassName}`, children: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443" }))] }), jsx("input", { id: "search-bar-input", className: `h-12 pl-12 w-full peer text-l text-black border border-solid rounded-md box-border
2204
2031
  outline-none pr-[6%] border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text ${SearchBarInputClassName}`, value: term, onChange: (e) => setTerm(e.target.value), type: "text", name: "search-bar-input", placeholder: inputPlaceholder }), isMobile ? (jsx("button", { className: "visible peer-placeholder-shown:invisible absolute top-2 right-3 w-6 h-6 p-1 bg-transparent cursor-pointer border-none", onClick: (e) => {
2205
2032
  e.preventDefault();
2206
2033
  setTerm('');
2207
- }, children: jsx(Img, { image: "CloseIcon", width: "24", height: "24" }) })) : (jsx(Button, { version: "primary", text: "\u041D\u0430\u0439\u0442\u0438", className: "invisible peer-focus:visible absolute top-[3px] right-1", onClick: (ev) => {
2034
+ }, children: jsx(ImgInner, { image: "CloseIcon", width: "24", height: "24" }) })) : (jsx(Button, { version: "primary", text: "\u041D\u0430\u0439\u0442\u0438", className: "invisible peer-focus:visible absolute top-[3px] right-1", onClick: (ev) => {
2208
2035
  ev?.preventDefault();
2209
2036
  console.log('click');
2210
2037
  }, children: jsx("div", { className: "text-s px-9 py-2.5", children: "\u041D\u0430\u0439\u0442\u0438" }) }))] }));
@@ -2221,7 +2048,7 @@
2221
2048
  text: 'Обратная связь',
2222
2049
  href: '/',
2223
2050
  target: '_blank',
2224
- }) })) : null] }));
2051
+ }), ariaLabel: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C" })) : null] }));
2225
2052
  });
2226
2053
  const renderContact = (item, index) => {
2227
2054
  const { type, text, description } = item;
@@ -2308,7 +2135,7 @@
2308
2135
  ? 'bg-white hover:bg-secondary-hover'
2309
2136
  : 'border-solid border-[1px] border-main-divider hover:border-transparent hover:bg-primary-main';
2310
2137
  const isPrimary = version === 'primary';
2311
- return (jsx("a", { className: `flex items-center justify-center rounded-md w-14 h-14 group box-border ${classes} ${isPrimary ? 'hover:text-black' : ''}`, href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", children: icon ? (jsx(Img, { image: icon, imageClassName: "group-hover:text-white", width: "24", height: "24", asSVG: true })) : null }));
2138
+ return (jsx("a", { className: `flex items-center justify-center rounded-md w-14 h-14 group box-border ${classes} ${isPrimary ? 'hover:text-black' : ''}`, href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", children: icon ? (jsx(ImgInner, { image: icon, imageClassName: "group-hover:text-white", width: "24", height: "24", asSVG: true })) : null }));
2312
2139
  });
2313
2140
 
2314
2141
  const SocialMedia = JSX(({ className = '', media, version, context, children }) => {
@@ -2346,7 +2173,7 @@
2346
2173
  return (jsxs("div", { className: "w-full flex flex-col justify-center mt-13", children: [jsx("div", { className: "flex w-full mb-3 text-h6 text-center", children: mappedCalendar.map((_) => renderMonthNames(_, colSize)) }), jsx("div", { className: "flex w-full", children: mappedCalendar.map((_, ind) => (jsxs("div", { className: "pr-[11px] mr-3 border-r border-main-divider last:border-r-0 last:pr-0 last:mr-0", style: { flexBasis: _.flexBasis }, children: [jsx("div", { className: "flex", children: renderMonthImages(_) }), jsxs("div", { className: "text-s-light text-primary-text mt-3", children: [jsx("span", { children: _.text }), "\u2009", jsx("span", { className: "text-primary-main", children: _.greenText })] })] }, `monthItem-${ind}`))) })] }));
2347
2174
  };
2348
2175
  const renderMonthNames = (item, colSize) => item.month?.map((_, i) => (jsx("div", { style: { flexBasis: `${colSize}%` }, children: _.name }, `monthName-${i}`)));
2349
- const renderMonthImages = (item) => item.month?.map((_) => _.image?.src ? (jsx("div", { className: "h-[207px] border-r-[1px] pr-3 mr-3 border-main-divider last:border-r-0 last:pr-0 last:mr-0", children: jsx(Img, { image: _.image, className: "flex" }) }, `monthImage-${_.image.src}`)) : null);
2176
+ const renderMonthImages = (item) => item.month?.map((_) => _.image?.src ? (jsx("div", { className: "h-[207px] border-r-[1px] pr-3 mr-3 border-main-divider last:border-r-0 last:pr-0 last:mr-0", children: jsx(ImgInner, { image: _.image, className: "flex" }) }, `monthImage-${_.image.src}`)) : null);
2350
2177
 
2351
2178
  const checkIsHrefSameOrigin = (href, router) => getOrigin(href) === getOrigin(router.href);
2352
2179
 
@@ -2410,7 +2237,7 @@
2410
2237
  };
2411
2238
  const HeaderSecondaryMenu = JSX(({ className, defaultLocation = '', bgColor = 'bg-white' }) => {
2412
2239
  const [city, getCity] = useGeolocation(defaultLocation);
2413
- return (jsxs("div", { className: `flex items-center ${className || ''}`, children: [jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: city, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: getCity, bgColor: bgColor }), jsx(TopItem, { className: "mr-7", flat: true, href: "#", text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B", ariaLabel: "\u0421\u043F\u0438\u0441\u043E\u043A \u0432\u0441\u0435\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043E\u0444\u0438\u0441\u043E\u0432 \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u043E\u0432", bgColor: bgColor }), jsx(HeaderSecondaryMenuButton, { className: `mr-5 group ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: jsx(Img, { image: { icon: 'LoupeIcon', iconVersion: LINKS_ICON_VERSION_MAP[bgColor] }, className: "h-full pointer-events-none", imageClassName: "group-hover:text-primary-hover group-hover:invert-0 pointer-events-none", asSVG: true }) }), jsx(HeaderSecondaryMenuButton, { className: `${LINKS_COLORS_MAP[bgColor]} group min-w-[32px] min-h-[32px]`, ariaLabel: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0441\u044B\u043B\u043A\u0438", children: jsx(Img, { image: { icon: 'GridIcon', iconVersion: LINKS_ICON_VERSION_MAP[bgColor] }, className: "h-full bg-main-divider/20 rounded-full pointer-events-none", imageClassName: "group-hover:text-primary-hover group-hover:invert-0", asSVG: true }) })] }));
2240
+ return (jsxs("div", { className: `flex items-center ${className || ''}`, children: [jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: city, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: getCity, bgColor: bgColor }), jsx(TopItem, { className: "mr-7", flat: true, href: "#", text: "\u041E\u0444\u0438\u0441\u044B \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u044B", ariaLabel: "\u0421\u043F\u0438\u0441\u043E\u043A \u0432\u0441\u0435\u0445 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0445 \u043E\u0444\u0438\u0441\u043E\u0432 \u0438 \u0431\u0430\u043D\u043A\u043E\u043C\u0430\u0442\u043E\u0432", bgColor: bgColor }), jsx(HeaderSecondaryMenuButton, { className: `mr-5 group ${COLORS_MAP[bgColor]}`, ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: jsx(ImgInner, { image: { icon: 'LoupeIcon', iconVersion: LINKS_ICON_VERSION_MAP[bgColor] }, className: "h-full pointer-events-none", imageClassName: "group-hover:text-primary-hover group-hover:invert-0 pointer-events-none", asSVG: true }) }), jsx(HeaderSecondaryMenuButton, { className: `${LINKS_COLORS_MAP[bgColor]} group min-w-[32px] min-h-[32px]`, ariaLabel: "\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0435 \u0441\u0441\u044B\u043B\u043A\u0438", children: jsx(ImgInner, { image: { icon: 'GridIcon', iconVersion: LINKS_ICON_VERSION_MAP[bgColor] }, className: "h-full bg-main-divider/20 rounded-full pointer-events-none", imageClassName: "group-hover:text-primary-hover group-hover:invert-0", asSVG: true }) })] }));
2414
2241
  });
2415
2242
 
2416
2243
  const maxBy = (discriminator) => (list) => list.reduceRight((a, b) => (discriminator(a) > discriminator(b) ? a : b));
@@ -2458,7 +2285,7 @@
2458
2285
  const HeaderSubMenu = JSX(({ context, subItems = [], bgColor }) => {
2459
2286
  const [menuVisible, setMenuVisible] = useState(false);
2460
2287
  const router = context.useRouter();
2461
- const { handlerDecorator, IntersectionObserverTag } = context;
2288
+ const { handlerDecorator } = context;
2462
2289
  const [visibleItemsCount, setVisibleItemsCount] = useState(subItems.length);
2463
2290
  const dropDownMenuItems = subItems.slice(visibleItemsCount);
2464
2291
  const activeSubItem = findActiveSubItem(router)(subItems);
@@ -2537,13 +2364,13 @@
2537
2364
  const btnClassName = isActiveBtn
2538
2365
  ? 'shadow-dark-blue/42 border-primary-main'
2539
2366
  : `ease-in duration-300 border-main-stroke`;
2540
- return (jsxs("button", { type: "button", onClick: onClick, className: `p-[30px] min-w-[460px] flex items-center bg-white border-solid border relative ${btnClassName}`, children: [slide?.icon ? (jsx(Img, { className: "p-5 rounded-full bg-secondary-light mr-[30px]", image: slide.icon, width: "108", height: "108" })) : null, jsxs("div", { className: "flex gap-3.5", children: [slide?.sum ? renderValueBlock('страховая сумма', slide.sum) : null, slide?.fee ? renderValueBlock('страховой взнос', slide.fee) : null] }), renderDoneIcon(isActiveBtn)] }, String(i)));
2367
+ return (jsxs("button", { type: "button", onClick: onClick, className: `p-[30px] min-w-[460px] flex items-center bg-white border-solid border relative ${btnClassName}`, children: [slide?.icon ? (jsx(ImgInner, { className: "p-5 rounded-full bg-secondary-light mr-[30px]", image: slide.icon, width: "108", height: "108" })) : null, jsxs("div", { className: "flex gap-3.5", children: [slide?.sum ? renderValueBlock('страховая сумма', slide.sum) : null, slide?.fee ? renderValueBlock('страховой взнос', slide.fee) : null] }), renderDoneIcon(isActiveBtn)] }, String(i)));
2541
2368
  }
2542
2369
  function renderValueBlock(title, sum) {
2543
2370
  return (jsxs("div", { className: "flex flex-col text-left whitespace-pre", children: [jsxs("span", { className: "text-h6", children: [addSpacesBetweenNumbers(sum), " \u20BD"] }), jsx("span", { className: "text-secondary-text text-l mt-1", children: title })] }));
2544
2371
  }
2545
2372
  function renderDoneIcon(isActive) {
2546
- return isActive ? (jsx(Img, { className: `h-6 w-6 min-w-6 min-h-6 absolute right-4 top-4`, image: "DoneIcon", width: "24", height: "24" })) : null;
2373
+ return isActive ? (jsx(ImgInner, { className: `h-6 w-6 min-w-6 min-h-6 absolute right-4 top-4`, image: "DoneIcon", width: "24", height: "24" })) : null;
2547
2374
  }
2548
2375
 
2549
2376
  const InsuranceAmountBlock = JSX(({ className = '', context, title, insuranceTabs = [], button, ...rest }) => {
@@ -2574,6 +2401,48 @@
2574
2401
  return (jsx("button", { type: "button", onClick: onClick, "aria-label": title, className: `box-border px-4 py-3 text-m-light ${btnClassName}`, children: title }, String(i)));
2575
2402
  }
2576
2403
 
2404
+ const investmentCellColorMap = {
2405
+ yellow: 'bg-yellow',
2406
+ green: 'bg-green',
2407
+ 'green-light': 'bg-green-light',
2408
+ 'green-dark': 'bg-green-dark',
2409
+ };
2410
+ const investmentCellSizeMap = {
2411
+ XS: 'h-[40px]',
2412
+ S: 'h-[68px]',
2413
+ M: 'h-[102px]',
2414
+ L: 'h-[136px]',
2415
+ XL: 'h-[204px]',
2416
+ };
2417
+ const InvestmentInfo = JSX((props) => {
2418
+ const { context, className = '', items, isDotted, investmentZeroColumn, investmentColumns, ...rest } = props;
2419
+ const colums = investmentColumns ? [...investmentColumns] : [];
2420
+ if (investmentZeroColumn) {
2421
+ colums.unshift(investmentZeroColumn);
2422
+ }
2423
+ return (jsx(BlockWrapper, { className: `font-sans bg-white p-9 pb-9 ${className}`, context: context, ...rest, children: jsxs("div", { className: "container text-m-light", children: [colums?.length ? (jsxs("div", { children: [jsxs("div", { className: "flex items-end px-9 text-white", children: [joinList(jsx("div", { className: "w-px h-4 bg-main-stroke" }))(colums.map(renderInvestmentColumn)), jsx("div", { className: "w-px h-4 bg-main-stroke" })] }), jsx("div", { className: "border-t border-main-stroke -mt-2 mx-9" }), jsx("div", { className: "flex justify-between mt-3 -mx-10", children: colums.map(renderInvestmentColumnTitle) })] })) : null, items?.length ? (jsx(List, { className: "mt-9 text-h6", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] }) }));
2424
+ });
2425
+ const renderInvestmentColumn = (column, i, arr) => {
2426
+ const isSecondColumn = i === 1;
2427
+ const isLastColumn = i === arr.length - 1;
2428
+ return (jsx("div", { className: `${getColumnClasses(isSecondColumn, isLastColumn, column.cells)}`, children: column.cells?.length ? (jsx("div", { className: `w-full ${isLastColumn ? 'border-4 border-green-more-dark p-1' : ''}`, children: column.cells.map(renderInvestmentCell) })) : null }, `column_${i}`));
2429
+ };
2430
+ const getColumnClasses = (isSecondColumn, isLastColumn, cells = []) => [
2431
+ cells.length ? 'flex-1' : 'flex-0',
2432
+ cells.length && !isSecondColumn && !isLastColumn ? 'pl-2.5' : '',
2433
+ cells.length && !isLastColumn ? 'pr-2.5 pb-8' : 'pb-6',
2434
+ ].join(' ');
2435
+ const renderInvestmentCell = (cell, i) => {
2436
+ const cellSize = cell.cellSize || 'XS';
2437
+ const cellColor = cell.cellColor || 'green';
2438
+ return cell.text ? (jsx("div", { className: `flex-1 flex items-center justify-center relative py-2 ${investmentCellSizeMap[cellSize]} ${investmentCellColorMap[cellColor]} ${cellSize === 'XS' ? 'px-3' : 'px-11'}`, children: jsx("div", { className: "text-center", children: cell.text }) }, `cell_${i}`)) : null;
2439
+ };
2440
+ const renderInvestmentColumnTitle = (column, i, arr) => {
2441
+ const isFirstColumn = i === 0;
2442
+ const isLastColumn = i === arr.length - 1;
2443
+ return (jsx("div", { className: `flex-1 max-w-[180px] text-center px-2 ${isFirstColumn ? 'pl-9' : ''} ${isLastColumn ? 'pr-9' : ' '}`, children: column.title }, `title_${i}`));
2444
+ };
2445
+
2577
2446
  const MobileAppTile = JSX(({ className = '', context, title = 'Мобильное приложение', qr, buttons, version = 'primary', items, image, headingType = 'h4', ...rest }) => {
2578
2447
  const textColorClass = version === 'primary' ? 'text-primary-text' : '';
2579
2448
  const containerStyle = version === 'secondary' ? 'p-3.5 min-w-[120px]' : 'min-w-[92px]';
@@ -2582,61 +2451,34 @@
2582
2451
  ${getTileMinHeight(className)}
2583
2452
  ${VersionStyleMap[version]}
2584
2453
  ${className}`, ...rest, children: [jsx(BaseTile, { context: context, className: "z-10", title: title ? (jsx(Heading, { headingType: headingType, as: "h3", title: title, className: `whitespace-pre-wrap max-w-[509px] mb-6
2585
- ${textColorClass}` })) : null, buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttonsWithClass, className: "flex gap-4" })) : null, children: jsxs("div", { className: "flex flex-1 items-center", children: [qr?.src ? (jsx("div", { className: `flex justify-center mr-5 bg-white rounded-md ${containerStyle}`, children: jsx(Img, { className: "w-fit", image: qr, alt: "QR-\u043A\u043E\u0434" }) })) : null, renderList(version, items)] }) }), image?.src ? (jsx("div", { className: "absolute right-0 bottom-0", children: jsx(Img, { image: image }) })) : null] }));
2454
+ ${textColorClass}` })) : null, buttons: buttons?.length ? (jsx(ButtonSection, { context: context, buttons: buttonsWithClass, className: "flex gap-4" })) : null, children: jsxs("div", { className: "flex flex-1 items-center", children: [qr?.src ? (jsx("div", { className: `flex justify-center mr-5 bg-white rounded-md ${containerStyle}`, children: jsx(ImgInner, { className: "w-fit", image: qr, alt: "QR-\u043A\u043E\u0434" }) })) : null, renderList(version, items)] }) }), image?.src ? (jsx("div", { className: "absolute right-0 bottom-0", children: jsx(ImgInner, { image: image }) })) : null] }));
2586
2455
  });
2587
2456
  const renderList = (version, items) => {
2588
- return items?.length ? (jsx(List, { items: items, itemClassName: "text-l-light mb-2 last:mb-0", version: version === 'primary' ? 'tile' : 'tile-white' })) : (jsx("span", { className: "text-m-light text-secondary-text", children: "\u041D\u0430\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u0430\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430 \u043D\u0430 QR-\u043A\u043E\u0434 \u0438 \u0441\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }));
2457
+ return items?.length ? (jsx(List, { items: items, itemClassName: "text-l-light mb-2 last:mb-0", version: version })) : (jsx("span", { className: "text-m-light text-secondary-text", children: "\u041D\u0430\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u0430\u043C\u0435\u0440\u0443 \u0442\u0435\u043B\u0435\u0444\u043E\u043D\u0430 \u043D\u0430 QR-\u043A\u043E\u0434 \u0438 \u0441\u043A\u0430\u0447\u0430\u0439\u0442\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" }));
2589
2458
  };
2590
2459
 
2591
2460
  const OfficeServicesBlock = JSX(({ className = '', context, title, servicesList, anchor = '', ...rest }) => {
2592
2461
  return (jsxs(BlockWrapper, { context: context, id: anchor, className: `font-sans bg-white p-8 flex flex-col ${className}`, ...rest, children: [title ? jsx(Heading, { headingType: "h5", className: "mb-5", title: title }) : null, servicesList?.length ? servicesList.map(renderListItems) : null] }));
2593
2462
  });
2594
- const renderListItems = (itemList, i) => (jsxs("li", { className: "flex mb-5 last:mb-0 list-none", children: [itemList.icon ? (jsx(Img, { className: "mr-3 min-w-6 min-h-6 w-6 h-6", width: "24", height: "24", asSVG: true, image: itemList.icon })) : null, itemList.label ? jsx("span", { className: "text-l-light", children: itemList.label }) : null] }, `list_item_${String(i)}`));
2463
+ const renderListItems = (itemList, i) => (jsxs("li", { className: "flex mb-5 last:mb-0 list-none", children: [itemList.icon ? (jsx(ImgInner, { className: "mr-3 min-w-6 min-h-6 w-6 h-6", width: "24", height: "24", asSVG: true, image: itemList.icon })) : null, itemList.label ? jsx("span", { className: "text-l-light", children: itemList.label }) : null] }, `list_item_${String(i)}`));
2595
2464
 
2596
- const foldableBlockClassNames = 'transition-all duration-300 max-h-0 overflow-hidden';
2597
- const useActiveHandler = ({ initialState = false }) => {
2598
- const [isActive, setIsActive] = useState(initialState);
2599
- const icon = isActive ? 'ArrowUpIcon' : 'ArrowDownIcon';
2600
- const handleToggle = (e) => {
2601
- const currentTarget = e.currentTarget;
2602
- if (!currentTarget) {
2603
- return;
2604
- }
2605
- setIsActive(!isActive);
2606
- const wrapperBlock = currentTarget.previousSibling;
2607
- const contentBlock = wrapperBlock.getElementsByClassName(foldableBlockClassNames)[0];
2608
- contentBlock.style.maxHeight = contentBlock.style.maxHeight
2609
- ? ''
2610
- : `${contentBlock.scrollHeight}px`;
2611
- };
2612
- return { icon, handleToggle, isActive };
2465
+ const DefaultFoldButton = JSX(({ className, label, icon, dataTheme = '', onClick }) => (jsxs("button", { className: `border-none bg-primary-main hover:bg-primary-hover px-0 py-5 mb-[1px] w-full font-sans text-white flex justify-center cursor-pointer ${className || ''}`, "data-theme": dataTheme, onClick: onClick, children: [jsx("span", { className: "text-h4 pr-3", children: label }), icon ? (jsx(ImgInner, { image: {
2466
+ icon,
2467
+ iconVersion: 'white',
2468
+ }, className: "flex-shrink-0 my-auto", width: "20", height: "20", asSVG: true })) : null] })));
2469
+ const renderDefaultFoldButton = ({ isUnfolded, onToggle }) => {
2470
+ const labels = ['Развернуть', 'Скрыть'];
2471
+ const icons = ['ArrowDownIcon', 'ArrowUpIcon'];
2472
+ return (jsx(DefaultFoldButton, { icon: icons[Number(isUnfolded)], label: labels[Number(isUnfolded)], onClick: onToggle }));
2613
2473
  };
2614
2474
 
2615
- const Foldable = JSX(({ blocks = [], hiddenBlocksNum = 0, foldButtonClasses, foldButtonLabel, foldButtonDataTheme, isUnfolded, containerClasses, render = (_) => _, }) => {
2616
- const blocksToHide = clamp(hiddenBlocksNum, 0, blocks.length);
2617
- const { icon, handleToggle, isActive } = useActiveHandler({
2618
- initialState: isUnfolded,
2619
- });
2620
- const buttonClassName = foldButtonClasses ||
2621
- 'border-none bg-primary-main hover:bg-primary-hover focus:bg-primary-main active:bg-primary-active px-0 py-5 mb-[1px] w-full font-sans text-white text-h4 flex justify-center cursor-pointer';
2622
- const getFoldButtonLabel = isActive ? 'Скрыть' : foldButtonLabel;
2623
- return blocks ? (jsxs("div", { children: [renderBlocks(blocks, render, { blocksToHide, isActive, containerClasses }), hiddenBlocksNum ? (jsxs("button", { className: buttonClassName, "data-theme": foldButtonDataTheme, onClick: handleToggle, children: [jsx("span", { className: "pr-3", children: getFoldButtonLabel }), icon ? (jsx(Icon, { className: "my-auto", name: icon, iconVersion: "white", width: "20", height: "20", asSVG: true })) : null] })) : null] })) : null;
2624
- });
2625
- const renderBlocks = (blocks, render, { blocksToHide, isActive, containerClasses = '' }) => {
2626
- const visibleBlocks = blocks.slice(0, blocks.length - blocksToHide);
2627
- const hiddenBlocks = blocksToHide > 0 ? blocks.slice(-blocksToHide) : [];
2628
- return render(jsxs("div", { children: [visibleBlocks, jsx("div", { className: `${foldableBlockClassNames} ${containerClasses}`, children: hiddenBlocks })] }), isActive);
2629
- };
2630
-
2631
- const OtherProductsItem = JSX(({ label, blocks, context, dataTheme, isUnfolded }) => {
2475
+ const icons = ['ArrowDownIcon', 'ArrowUpIcon'];
2476
+ const OtherProductsItem = JSX(({ label = '', blocks, context, dataTheme, isUnfolded: unfoldedByDefault }) => {
2632
2477
  const foldableBlocks = renderBlocksList$1({
2633
2478
  context,
2634
2479
  blocks,
2635
2480
  });
2636
- return (jsx("div", { className: "border-0 border-b border-solid border-main-divider", children: blocks?.length ? (jsx(Foldable, { foldButtonDataTheme: dataTheme, hiddenBlocksNum: blocks?.length, blocks: foldableBlocks, isUnfolded: isUnfolded, context: context, foldButtonLabel: label, containerClasses: "grid grid-cols-12 gap-1 border-box", render: (children) => jsx(Wrapper$1, { children: children }) })) : null }));
2637
- });
2638
- const Wrapper$1 = JSX(({ children }) => {
2639
- return jsx("div", { className: "box-border", children: children });
2481
+ return (jsx("div", { className: "\u02DDborder-0 border-b border-solid border-main-divider", children: blocks?.length ? (jsx(Foldable, { unfoldedByDefault: unfoldedByDefault, renderFoldableSection: ({ isUnfolded }) => (jsx("div", { className: "box-border", children: jsx(FoldableSection, { className: "grid grid-cols-12 gap-1 border-box", isUnfolded: isUnfolded, children: foldableBlocks }) })), renderFoldButton: ({ isUnfolded, onToggle }) => (jsx(DefaultFoldButton, { label: label, icon: icons[Number(isUnfolded)], dataTheme: dataTheme, onClick: onToggle })) })) : null }));
2640
2482
  });
2641
2483
 
2642
2484
  const OtherProducts = JSX(({ blockItems, colorPalette, context, className = '', ...rest }) => {
@@ -2691,14 +2533,14 @@
2691
2533
  function renderNavButton({ slide, i, activeSlideIndex, onClick, version }) {
2692
2534
  const isActiveBtn = i === activeSlideIndex;
2693
2535
  const btnClassName = isActiveBtn
2694
- ? 'bg-white shadow-dark-blue/42 min-w-[354px] border-none p-6'
2536
+ ? 'bg-white shadow-dark-blue/42 min-w-[350px] border-none p-6'
2695
2537
  : `min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur
2696
2538
  ${VersionStyleMap[version]}`;
2697
2539
  const btnTitleClassName = isActiveBtn
2698
2540
  ? 'text-primary-text !text-h6 p-2'
2699
2541
  : `text-l pb-1 ${productBlockStyleMap[version].title}`;
2700
2542
  const btnDescClassName = isActiveBtn
2701
- ? 'text-secondary-text text-l-light mt-2.5'
2543
+ ? 'text-secondary-text text-l-light'
2702
2544
  : `text-m-light ${productBlockStyleMap[version].text}`;
2703
2545
  const additionalBorder = version === 'secondary' ? 'border-white/50' : 'border-black/50';
2704
2546
  return (jsx("button", { type: "button", onClick: onClick, "aria-label": slide?.title, className: `box-border relative overflow-hidden border border-white/50 cursor-pointer text-left mx-1 grow basis-0
@@ -2721,7 +2563,7 @@
2721
2563
 
2722
2564
  const RecommendationCard = JSX(({ context, className = '', title, description, items, image, version, socialMedia }) => {
2723
2565
  const tileTitle = title ? (jsx(Heading, { headingType: "h5", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
2724
- const tileImage = image?.src ? (jsx(Img, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
2566
+ const tileImage = image?.src ? (jsx(ImgInner, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
2725
2567
  return (jsx("section", { className: `relative overflow-hidden text-left border border-solid box-border p-7 min-w-[524px] min-h-[218px] ${className}`, role: "listitem", children: jsx(BaseTile, { context: context, className: "flex justify-between", title: tileTitle, image: tileImage, children: jsxs("div", { className: "h-full flex flex-col justify-between", children: [description ? jsx(Description, { className: "mb-2", description: description }) : null, items?.length ? (jsx(List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items, version: version })) : null, socialMedia ? (jsx(SocialMedia, { className: "pt-10 pb-0", media: socialMedia, version: version, context: context })) : null] }) }) }));
2726
2568
  });
2727
2569
 
@@ -2758,15 +2600,14 @@
2758
2600
  };
2759
2601
 
2760
2602
  const SAFEBOXES_URL = '/api/v1/safeboxes';
2761
- function useFetchSafeBoxes(regionCode) {
2603
+ const EMPTY_VALUE = [];
2604
+ function useSafeBoxes(regionCode) {
2762
2605
  const { data } = useAsyncData(regionCode ? `${SAFEBOXES_URL}?regionCode=${regionCode}` : null, fetchSafeBoxes);
2763
- return data || [];
2606
+ return data || EMPTY_VALUE;
2764
2607
  }
2765
- const fetchSafeBoxes = (url) => {
2766
- if (!url) {
2767
- return {};
2768
- }
2769
- return fetchJSON(url, { method: 'GET' });
2608
+ const fetchSafeBoxes = async (url) => {
2609
+ const result = await fetchJSON(url, { method: 'GET' });
2610
+ return result || EMPTY_VALUE;
2770
2611
  };
2771
2612
 
2772
2613
  const WrapperSelect = JSX(({ data, fieldLabel, fieldValue, selected, placeholder = '', setSelected, label }) => {
@@ -2781,7 +2622,7 @@
2781
2622
  return (jsxs("div", { className: "flex justify-between gap-4 mb-6", children: [jsx("div", { className: "max-w-[396px] w-1/2", children: jsx(WrapperSelect, { data: regions, fieldValue: "code", fieldLabel: "name", selected: selectedRegion, setSelected: onSelectedRegion, label: "\u0420\u0435\u0433\u0438\u043E\u043D" }) }), jsx("div", { className: "max-w-[396px] w-1/2", children: jsx(WrapperSelect, { data: branches, fieldValue: "branchCode", fieldLabel: "address", selected: selectedBranch, setSelected: onSelectedBranch, label: "\u041E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043E\u0442\u0434\u0435\u043B\u0435\u043D\u0438\u0435" }) })] }));
2782
2623
  });
2783
2624
 
2784
- const Radio = JSX(({ name, text, value, checked, onChange, className }) => (jsx("div", { className: className, children: jsxs("label", { className: "flex items-center relative cursor-pointer", children: [jsx("input", { className: "appearance-none flex justify-center items-center shrink-0 w-5 h-5 border-2 border-primary-main\n rounded-full cursor-pointer after:block after:w-2.5 after:h-2.5 after:rounded-full checked:after:bg-primary-main", type: "radio", value: value, name: name, checked: checked, onChange: onChange }), text ? jsx("span", { className: "font-sans ml-3 cursor-pointer", children: text }) : null] }) })));
2625
+ const Radio = JSX(({ name, text, value, checked, onChange, className }) => (jsx("div", { className: className, children: jsxs("label", { className: "flex items-center relative cursor-pointer", children: [jsx("input", { className: "appearance-none flex justify-center items-center shrink-0 w-5 h-5 border border-gray hover:border-checkbox-hover\n checked:border-2 checked:!border-primary-main focus:checked:border-primary-main focus:border-primary-text active:border-primary-text\n after:block after:w-2.5 after:h-2.5 after:rounded-full checked:after:bg-primary-main outline-none rounded-full cursor-pointer", type: "radio", value: value, name: name, checked: checked, onChange: onChange }), text ? jsx("span", { className: "font-sans ml-3 cursor-pointer", children: text }) : null] }) })));
2785
2626
 
2786
2627
  const RenderRadioButtons = JSX(() => {
2787
2628
  const [selectedOption, setSelectedOption] = useState('option2');
@@ -2798,23 +2639,11 @@
2798
2639
  return (jsxs("div", { className: "flex justify-between mb-6", children: [jsx("div", { className: "mr-4 w-full", children: jsx(WrapperSelect, { data: caseVolumes, fieldLabel: "volume", selected: selectedCaseVolume, setSelected: onSelectedCaseVolume, label: "\u0420\u0430\u0437\u043C\u0435\u0440", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0440\u0430\u0437\u043C\u0435\u0440" }) }), jsx("div", { className: "w-full", children: jsx(WrapperSelect, { data: safeBoxCases, fieldLabel: "safeBoxCasesSize", selected: selectedBoxSize, setSelected: onSelectedBoxSize, label: "\u041F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u044B \u044F\u0447\u0435\u0439\u043A\u0438, \u043C\u043C (\u0412\u0445\u0428\u0445\u0414)", placeholder: "\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u044F\u0447\u0435\u0439\u043A\u0438" }) })] }));
2799
2640
  });
2800
2641
 
2801
- const getCoordinates = (data) => {
2802
- if (Array.isArray(data)) {
2803
- return data.map((_) => _.gpsLatitude && _.gpsLongitude ? [_.gpsLatitude, _.gpsLongitude] : []);
2804
- }
2805
- if (data?.gpsLatitude && data?.gpsLongitude) {
2806
- return [[data.gpsLatitude, data.gpsLongitude]];
2807
- }
2808
- return [];
2809
- };
2810
- const getBranch = (branches, selectedBranch) => branches.find((_) => _.branchCode === selectedBranch);
2811
-
2812
- const SafeDepositRentalFields = JSX(({ regions, selectedRegion, branches, selectedBranch, days, selectedCaseVolume, selectedBoxSize, safeBoxCases, caseVolumes, setPoints, onChange, toggleShowMap, }) => {
2813
- return (jsxs("div", { className: "flex-1 mr-9", children: [jsx(RegionsAndBranches, { regions: regions, selectedRegion: selectedRegion, onSelectedRegion: (value) => onChange({ selectedRegion: value }), branches: branches, selectedBranch: selectedBranch, onSelectedBranch: onSelectedBranch(onChange, setPoints, branches) }), jsx(RentalPeriod, { days: days, setDays: (value) => onChange({ days: value }) }), jsx(SafeBoxCases, { caseVolumes: caseVolumes, selectedCaseVolume: selectedCaseVolume, onSelectedCaseVolume: onSelectedCaseVolume(onChange), safeBoxCases: safeBoxCases, selectedBoxSize: selectedBoxSize, onSelectedBoxSize: (value) => onChange({ selectedBoxSize: value }) }), jsx("span", { className: "text-secondary-text text-l-light", children: "\u0422\u0438\u043F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u0430" }), jsxs("div", { className: "flex justify-between items-center mt-5", children: [jsx(RenderRadioButtons, {}), jsx(Button, { text: "\u041E\u0444\u0438\u0441\u044B \u043D\u0430 \u043A\u0430\u0440\u0442\u0435", version: "primary", onClick: toggleShowMap })] })] }));
2642
+ const SafeDepositRentalFields = JSX(({ regions, selectedRegion, branches, selectedBranch, days, selectedCaseVolume, selectedBoxSize, safeBoxCases, caseVolumes, onChange, onShowMapToggle, }) => {
2643
+ return (jsxs("div", { className: "flex-1 mr-9", children: [jsx(RegionsAndBranches, { regions: regions, selectedRegion: selectedRegion, onSelectedRegion: (value) => onChange({ selectedRegion: value }), branches: branches, selectedBranch: selectedBranch, onSelectedBranch: onSelectedBranch(onChange) }), jsx(RentalPeriod, { days: days, setDays: (value) => onChange({ days: value }) }), jsx(SafeBoxCases, { caseVolumes: caseVolumes, selectedCaseVolume: selectedCaseVolume, onSelectedCaseVolume: onSelectedCaseVolume(onChange), safeBoxCases: safeBoxCases, selectedBoxSize: selectedBoxSize, onSelectedBoxSize: (value) => onChange({ selectedBoxSize: value }) }), jsx("span", { className: "text-secondary-text text-l-light", children: "\u0422\u0438\u043F \u0434\u043E\u0433\u043E\u0432\u043E\u0440\u0430" }), jsxs("div", { className: "flex justify-between items-center mt-5", children: [jsx(RenderRadioButtons, {}), jsx(Button, { text: "\u041E\u0444\u0438\u0441\u044B \u043D\u0430 \u043A\u0430\u0440\u0442\u0435", version: "primary", onClick: onShowMapToggle })] })] }));
2814
2644
  });
2815
- const onSelectedBranch = (onChange, setPoints, branches) => (value) => {
2645
+ const onSelectedBranch = (onChange) => (value) => {
2816
2646
  onChange({ selectedBranch: value, selectedCaseVolume: '', selectedBoxSize: '' });
2817
- setPoints(getCoordinates(value ? getBranch(branches, value) : branches));
2818
2647
  };
2819
2648
  const onSelectedCaseVolume = (onChange) => (value) => {
2820
2649
  onChange({ selectedCaseVolume: value, selectedBoxSize: '' });
@@ -2822,7 +2651,7 @@
2822
2651
 
2823
2652
  const SafeDepositRentalTotal = JSX(({ days, tariffs = [] }) => {
2824
2653
  const price = calculatePrice(days, tariffs);
2825
- return (jsxs("div", { className: "flex flex-col justify-between", children: [jsxs("div", { className: "flex", children: [renderTotal('Аренда за', days, 'mr-11'), renderTotal('Цена', price + ' ₽')] }), jsxs("div", { className: "bg-primary-main px-10 pt-10 pb-4 text-center", children: [jsx(Img, { image: { icon: 'PackA4Icon' }, width: "290", height: "257", asSVG: true }), jsxs("span", { className: "text-s-light text-white opacity-80 mt-2 inline-block", children: ["\u041D\u0430 \u0440\u0438\u0441\u0443\u043D\u043A\u0438 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0430 \u043F\u0430\u0447\u043A\u0430", jsx("br", {}), " \u043B\u0438\u0441\u0442\u043E\u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0430 \u04104"] })] })] }));
2654
+ return (jsxs("div", { className: "flex flex-col justify-between", children: [jsxs("div", { className: "flex", children: [renderTotal('Аренда за', days, 'mr-11'), renderTotal('Цена', price + ' ₽')] }), jsxs("div", { className: "bg-primary-main px-10 pt-10 pb-4 text-center", children: [jsx(ImgInner, { image: { icon: 'PackA4Icon' }, width: "290", height: "257", asSVG: true }), jsxs("span", { className: "text-s-light text-white opacity-80 mt-2 inline-block", children: ["\u041D\u0430 \u0440\u0438\u0441\u0443\u043D\u043A\u0438 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0430 \u043F\u0430\u0447\u043A\u0430", jsx("br", {}), " \u043B\u0438\u0441\u0442\u043E\u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0430 \u04104"] })] })] }));
2826
2655
  });
2827
2656
  const renderTotal = (label, total, className = '') => {
2828
2657
  return (jsxs("div", { className: className, children: [jsx("div", { className: "text-m-light text-secondary-text mb-1", children: label }), jsx("span", { className: "text-h3 text-primary-text", children: total })] }));
@@ -2848,41 +2677,32 @@
2848
2677
  return tariffType;
2849
2678
  };
2850
2679
 
2851
- const DEFAULT_DAYS = 26;
2680
+ const getCoordinates = (data) => {
2681
+ if (Array.isArray(data)) {
2682
+ return data.map((_) => _.gpsLatitude && _.gpsLongitude ? [_.gpsLatitude, _.gpsLongitude] : []);
2683
+ }
2684
+ if (data?.gpsLatitude && data?.gpsLongitude) {
2685
+ return [[data.gpsLatitude, data.gpsLongitude]];
2686
+ }
2687
+ return [];
2688
+ };
2689
+ const getBranch = (branches, selectedBranch) => branches.find((_) => _.branchCode === selectedBranch);
2690
+
2852
2691
  const SafeDepositRentalForm = JSX((props) => {
2853
- const [safeDepositState, setStateDepositState] = useState({
2854
- selectedRegion: '',
2855
- selectedBranch: '',
2856
- selectedCaseVolume: '',
2857
- selectedBoxSize: '',
2858
- days: DEFAULT_DAYS,
2859
- branches: [],
2860
- });
2861
- const resultBranches = useFetchSafeBoxes(safeDepositState.selectedRegion);
2862
- const handleChangeSafeDepositState = (state) => setStateDepositState((oldState) => ({ ...oldState, ...state }));
2863
- useEffect(() => handleChangeSafeDepositState({
2864
- selectedRegion: getInitialValueSelectedRegion(props.regions),
2865
- }), [props.regions]);
2866
- useEffect(() => {
2867
- if (Array.isArray(resultBranches) && resultBranches.length) {
2868
- handleChangeSafeDepositState({ branches: resultBranches });
2869
- props.setPoints(getCoordinates(resultBranches));
2870
- }
2871
- }, [resultBranches]);
2692
+ const { regions, data, branches, onChange, onShowMapToggle } = props;
2872
2693
  useEffect(() => {
2873
- handleChangeSafeDepositState({
2694
+ onChange({
2874
2695
  selectedBranch: '',
2875
2696
  selectedCaseVolume: '',
2876
2697
  selectedBoxSize: '',
2877
2698
  });
2878
- }, [safeDepositState.selectedRegion]);
2879
- const branch = getBranch(safeDepositState.branches, safeDepositState.selectedBranch);
2699
+ }, [data.selectedRegion, onChange]);
2700
+ const branch = getBranch(branches, data.selectedBranch);
2880
2701
  const caseVolumes = getCaseVolumes(branch?.safeBoxCaseVolumes);
2881
- const safeBoxCases = getCaseVolume(branch?.safeBoxCaseVolumes, safeDepositState.selectedCaseVolume)?.safeBoxCases;
2882
- const tariffs = getTariffs(safeBoxCases, safeDepositState.selectedBoxSize);
2883
- return (jsxs("div", { className: "flex justify-between align-top mb-6", children: [jsx(SafeDepositRentalFields, { ...safeDepositState, ...props, caseVolumes: caseVolumes, safeBoxCases: safeBoxCases, onChange: handleChangeSafeDepositState }), jsx(SafeDepositRentalTotal, { days: safeDepositState.days, tariffs: tariffs })] }));
2702
+ const safeBoxCases = getCaseVolume(branch?.safeBoxCaseVolumes, data.selectedCaseVolume)?.safeBoxCases;
2703
+ const tariffs = getTariffs(safeBoxCases, data.selectedBoxSize);
2704
+ return (jsxs("div", { className: "flex justify-between align-top mb-6", children: [jsx(SafeDepositRentalFields, { ...data, regions: regions, onShowMapToggle: onShowMapToggle, branches: branches, caseVolumes: caseVolumes, safeBoxCases: safeBoxCases, onChange: onChange }), jsx(SafeDepositRentalTotal, { days: data.days, tariffs: tariffs })] }));
2884
2705
  });
2885
- const getInitialValueSelectedRegion = (regions) => regions?.length && regions[0]?.code ? regions[0].code : '';
2886
2706
  const getCaseVolumes = (safeBoxCaseVolumes) => safeBoxCaseVolumes?.length ? safeBoxCaseVolumes?.filter((_) => _?.safeBoxCases?.length) : [];
2887
2707
  const getCaseVolume = (caseVolumes, selectedCaseVolume) => caseVolumes?.find((_) => _.volume === selectedCaseVolume);
2888
2708
  const getTariffs = (safeBoxCases, selectedBoxSize) => safeBoxCases?.find((_) => _.safeBoxCasesSize === selectedBoxSize)?.tariffs;
@@ -2989,15 +2809,27 @@
2989
2809
  return (jsxs("div", { className: "pt-12 mt-1 bg-white", children: [jsx(Heading, { title: "\u041E\u0444\u0438\u0441\u044B \u043D\u0430 \u043A\u0430\u0440\u0442\u0435", headingType: "h3", className: "mb-8 text-center" }), jsx("div", { id: "map", className: "h-[640px]" })] }));
2990
2810
  });
2991
2811
 
2812
+ const DEFAULT_DAYS = 26;
2992
2813
  const SafeDepositRental = JSX(({ title, footnote, context, className = '', ...rest }) => {
2993
- const [points, setPoints] = useState([]);
2994
2814
  const [showMap, setShowMap] = useState(false);
2815
+ const [safeDepositState, setStateDepositState] = useState({
2816
+ selectedRegion: '',
2817
+ selectedBranch: '',
2818
+ selectedCaseVolume: '',
2819
+ selectedBoxSize: '',
2820
+ days: DEFAULT_DAYS,
2821
+ });
2995
2822
  const regions = useGetRegions();
2996
- const toggleShowMap = () => {
2823
+ const selectedRegion = normalizeSelectedRegion(safeDepositState.selectedRegion, regions);
2824
+ const branches = useSafeBoxes(selectedRegion);
2825
+ const handleChangeSafeDepositState = useCallback((state) => setStateDepositState((oldState) => ({ ...oldState, ...state })), [setStateDepositState]);
2826
+ const onShowMapToggle = () => {
2997
2827
  setShowMap(!showMap);
2998
2828
  };
2999
- return (jsxs(BlockWrapper, { context: context, className: className, ...rest, children: [jsxs("div", { className: "font-sans bg-white px-8 py-12", children: [title ? (jsx(Heading, { title: title, headingType: "h3", as: "h2", className: "mb-2.5 text-center" })) : null, jsx(SafeDepositRentalForm, { regions: regions, setPoints: setPoints, toggleShowMap: toggleShowMap }), footnote ? jsx("p", { className: "text-s-light text-secondary-text", children: footnote }) : null] }), points.length && showMap ? jsx(YandexMap, { points: points }) : null] }));
2829
+ const points = getCoordinates(getBranch(branches, safeDepositState.selectedBranch) || branches);
2830
+ return (jsxs(BlockWrapper, { context: context, className: className, ...rest, children: [jsxs("div", { className: "font-sans bg-white px-8 py-12", children: [title ? (jsx(Heading, { title: title, headingType: "h3", as: "h2", className: "mb-2.5 text-center" })) : null, jsx(SafeDepositRentalForm, { regions: regions, branches: branches, data: { ...safeDepositState, selectedRegion }, onShowMapToggle: onShowMapToggle, onChange: handleChangeSafeDepositState }), footnote ? jsx("p", { className: "text-s-light text-secondary-text", children: footnote }) : null] }), points.length && showMap ? jsx(YandexMap, { points: points }) : null] }));
3000
2831
  });
2832
+ const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
3001
2833
 
3002
2834
  const checkIsIconRenderable = (icon) => Boolean(icon?.icon || icon?.src);
3003
2835
 
@@ -3005,22 +2837,43 @@
3005
2837
  primary: {
3006
2838
  background: 'bg-white',
3007
2839
  title: 'text-primary-text',
3008
- description: 'text-secondary-text',
2840
+ description: '!text-secondary-text text-l-light',
3009
2841
  iconText: 'text-secondary-text',
3010
2842
  iconBackground: 'bg-main-divider',
3011
2843
  iconConnector: 'bg-secondary-light',
2844
+ dot: 'bg-secondary-text',
3012
2845
  },
3013
2846
  secondary: {
3014
2847
  background: 'bg-primary-main',
3015
2848
  title: 'text-white',
3016
- description: 'text-white/80',
2849
+ description: '!text-white/80 text-l-light',
3017
2850
  iconText: 'text-white',
3018
2851
  iconBackground: 'bg-white/30',
3019
2852
  iconConnector: 'bg-white',
2853
+ dot: 'bg-white/80',
3020
2854
  },
3021
2855
  };
3022
2856
 
2857
+ const renderItems = ({ items, isDotted = true, version = 'primary', className = '', }) => {
2858
+ const listVersion = version === 'primary' ? 'gray' : version;
2859
+ return items ? (jsx(List, { className: `mt-4 ${className}`, version: listVersion, items: items, listItemSize: "S", isDotted: isDotted })) : null;
2860
+ };
2861
+
2862
+ const renderStepContent = ({ styleMap, isMainButton, version, router, handlerDecorator, }) => (step, i, { length }) => {
2863
+ const { label, description, button, items, isDotted } = step;
2864
+ const additionalMarginClass = `${button?.text ? 'mb-8' : ''} ${step?.label ? 'mt-2' : 'mt-4'}`;
2865
+ const widthContainer = length < 5 ? 'w-[276px]' : 'w-[210px]';
2866
+ return (jsxs("div", { className: `flex flex-col items-center text-center relative
2867
+ whitespace-pre-line overflow-hidden ${widthContainer}`, children: [renderStepLabel(label), renderStepDescription({
2868
+ description,
2869
+ className: `${styleMap.description} ${additionalMarginClass}`,
2870
+ }), renderItems({ items, isDotted, version, className: styleMap.description }), button?.text && !isMainButton ? (jsx(Button, { className: "box-border py-3 h-12 w-full max-w-[240px] mt-auto", ...useLink({ router, handlerDecorator }, button), version: version, children: button.text })) : null] }, String(i)));
2871
+ };
2872
+ const renderStepLabel = (label) => label ? jsx("div", { className: "text-x6 m-0 mt-4", children: label }) : null;
2873
+ const renderStepDescription = ({ description, className = '', }) => (description ? jsx("div", { className: className, children: description }) : null);
2874
+
3023
2875
  const getLineOpacity = (showLines) => (showLines ? '' : 'opacity-0');
2876
+ const getPaddingX = (steps) => (steps < 5 ? 'px-[88px]' : 'px-[55px]');
3024
2877
  const StepsBlock = JSX(({ className = '', showLines = true, steps = [], button, version = 'primary', context, ...rest }) => {
3025
2878
  const router = context.useRouter();
3026
2879
  const { handlerDecorator } = context;
@@ -3029,6 +2882,7 @@
3029
2882
  const shortGaps = steps.length > 3;
3030
2883
  const lineOpacity = getLineOpacity(showLines);
3031
2884
  const titleMargin = title ? 'mt-9' : '';
2885
+ const paddingX = getPaddingX(steps.length);
3032
2886
  return (jsxs(BlockWrapper, { className: [
3033
2887
  'box-border font-sans text-primary-text bg-white',
3034
2888
  shortGaps ? 'px-20' : 'px-[70px]',
@@ -3036,7 +2890,7 @@
3036
2890
  styleMap.background,
3037
2891
  styleMap.title,
3038
2892
  className,
3039
- ].join(' '), context: context, ...rest, children: [title ? (jsx(Heading, { headingType: "h2", className: "max-w-[752px] text-center", title: title })) : null, steps?.length ? (jsxs("div", { className: `box-border ${titleMargin}`, children: [jsx("div", { className: "flex items-center px-[88px]", children: joinList(jsx("div", { className: `h-0.5 w-full bg-secondary-light ${lineOpacity}` }))(steps.map(renderStepIcon(styleMap))) }), jsx("div", { className: `flex justify-between ${shortGaps ? 'gap-x-3' : 'gap-x-[101px]'}`, children: steps.map(renderStepTitle({
2893
+ ].join(' '), context: context, ...rest, children: [title ? (jsx(Heading, { headingType: "h3", className: "max-w-[752px] text-center", title: title })) : null, steps?.length ? (jsxs("div", { className: `box-border ${titleMargin}`, children: [jsx("div", { className: `flex items-center ${paddingX}`, children: joinList(jsx("div", { className: `h-0.5 w-full bg-secondary-light ${lineOpacity}` }))(steps.map(renderStepIcon(styleMap))) }), jsx("div", { className: `flex justify-between ${shortGaps ? 'gap-x-3' : 'gap-x-[101px]'}`, children: steps.map(renderStepContent({
3040
2894
  styleMap,
3041
2895
  isMainButton: Boolean(button?.text),
3042
2896
  version,
@@ -3046,11 +2900,7 @@
3046
2900
  });
3047
2901
  const renderStepIcon = (styleMap) => ({ icon }, i) => {
3048
2902
  return (jsx("div", { className: "flex flex-col items-center text-center", children: jsx("div", { className: `h-[100px] w-[100px] min-w-[100px] min-h-[100px] rounded-full p-[26px] box-border z-10 flex justify-center items-center
3049
- ${styleMap.iconBackground} ${styleMap.title}`, children: checkIsIconRenderable(icon) ? (jsx(Img, { image: icon, width: "48", height: "48", asSVG: true })) : (jsx("span", { className: `text-h4 ${styleMap.iconText}`, children: i + 1 })) }) }, String(i)));
3050
- };
3051
- const renderStepTitle = ({ styleMap, isMainButton, version, router, handlerDecorator, }) => (step, i) => {
3052
- const additionalMarginClass = step?.label ? 'mt-2' : 'mt-4';
3053
- return (jsxs("div", { className: "flex flex-col items-center justify-between text-center relative w-[276px]\n whitespace-pre-line overflow-hidden", children: [step?.label ? jsx("div", { className: "text-xl m-0 mt-4", children: step.label }) : null, step?.description ? (jsx("div", { className: `text-l-light ${styleMap.description} ${additionalMarginClass}`, children: step.description })) : null, step.button?.text && !isMainButton ? (jsx(Button, { className: "box-border mt-8 py-3 h-12 w-full max-w-[240px]", ...useLink({ router, handlerDecorator }, step.button), version: version, children: step.button.text })) : null] }, String(i)));
2903
+ ${styleMap.iconBackground} ${styleMap.title}`, children: checkIsIconRenderable(icon) ? (jsx(ImgInner, { image: icon, width: "48", height: "48", asSVG: true })) : (jsx("span", { className: `text-h4 ${styleMap.iconText}`, children: i + 1 })) }) }, String(i)));
3054
2904
  };
3055
2905
 
3056
2906
  function assertUnreachable(x) {
@@ -3072,9 +2922,9 @@
3072
2922
  const count = tab.ref
3073
2923
  ? page?.blocks?.filter((block) => block?.labels?.includes(tab.ref)).length
3074
2924
  : page?.blocks?.length;
3075
- return (jsx("div", { className: `${LINK_CLASSES} ${active ? ACTIVE_LINK_CLASSES : INACTIVE_LINK_CLASSES}`, role: "tab", "aria-selected": active, onClick: () => onClick(tab), children: jsxs("div", { className: "flex flex-1 items-center justify-center", children: [tab?.title ? renderTitle(tab.title, active) : null, showCounter && count ? renderCount(count, active) : null] }) }, String(i)));
2925
+ return (jsx("div", { className: `${LINK_CLASSES} ${active ? ACTIVE_LINK_CLASSES : INACTIVE_LINK_CLASSES}`, role: "tab", "aria-selected": active, onClick: () => onClick(tab), children: jsxs("div", { className: "flex flex-1 items-center justify-center", children: [tab?.title ? renderTitle$1(tab.title, active) : null, showCounter && count ? renderCount(count, active) : null] }) }, String(i)));
3076
2926
  };
3077
- const renderTitle = (title, active) => (jsx("h3", { className: `${TEXT_CLASSES} ${active ? ACTIVE_TEXT_CLASSES : INACTIVE_TEXT_CLASSES}`, children: title }));
2927
+ const renderTitle$1 = (title, active) => (jsx("h3", { className: `${TEXT_CLASSES} ${active ? ACTIVE_TEXT_CLASSES : INACTIVE_TEXT_CLASSES}`, children: title }));
3078
2928
  const renderCount = (count, active) => (jsx("div", { className: `${BADGE_CLASSES} ${active ? ACTIVE_BADGE_CLASSES : INACTIVE_BADGE_CLASSES}`, children: count }));
3079
2929
 
3080
2930
  const renderLinkTab = ({ text, currentTab, onClick, href, target = '_self', i, }) => {
@@ -3151,18 +3001,16 @@
3151
3001
  const handleClick = () => {
3152
3002
  EventBus.inst.fire('tariffInnerTable', { dataUrl, pdfUrl, rowIdx, cellIdx, fieldIdx });
3153
3003
  };
3154
- return (jsxs(Button, { version: "primary", onClick: handleClick, className: "w-full flex items-center justify-center rounded-none py-5 ", children: [jsx("div", { className: "text-h4", children: isOpen ? 'Скрыть' : 'Показать ставки по вкладу' }), jsx(Icon, { name: isOpen ? 'ArrowUpIcon' : 'ArrowDownIcon', className: "ml-3", iconVersion: "white", width: "20", height: "20", asSVG: true })] }));
3004
+ return (jsxs(Button, { version: "primary", onClick: handleClick, className: "w-full flex items-center justify-center rounded-none py-5", children: [jsx("div", { className: "text-h4", children: isOpen ? 'Скрыть' : 'Показать ставки по вкладу' }), jsx(Icon, { name: isOpen ? 'ArrowUpIcon' : 'ArrowDownIcon', className: "ml-3", iconVersion: "white", width: "20", height: "20", asSVG: true })] }));
3155
3005
  });
3156
3006
 
3157
- const getButtonAriaLabel = (icon) => icon?.alt || icon?.title || IconTitleMap[icon?.icon ? icon.icon : ''];
3158
-
3159
- const renderButtonsCellData = ({ buttons }) => buttons && buttons?.length ? (jsx("div", { children: buttons.map(({ icon, rounded, ...buttonProps }, idx) => (jsx(Button, { className: `${idx > 0 && rounded ? 'ml-3' : ''} w-12 h-12`, ariaLabel: getButtonAriaLabel(icon), rounded: rounded, appendLeft: icon?.src || icon?.icon ? jsx(Img, { image: icon, width: "24px", height: "24px", asSVG: true }) : null, ...buttonProps }, String(idx)))) })) : null;
3007
+ const renderButtonsCellData = ({ buttons }) => buttons && buttons?.length ? (jsx("div", { children: buttons.map(({ rounded, ...buttonProps }, idx) => (jsx(Button, { className: `${idx > 0 && rounded ? 'ml-3' : ''} w-12 h-12`, rounded: rounded, ...buttonProps }, String(idx)))) })) : null;
3160
3008
  const renderLabelDescriptionCellData = ({ label, description }) => {
3161
- const labelClassName = `text-h6 font-medium m-0 ${description ? 'mb-1' : ''}`;
3162
- return (jsxs("div", { children: [label ? jsx("div", { className: labelClassName, children: label }) : null, description ? jsx("div", { className: "text-s text-secondary-text", children: description }) : null] }));
3009
+ const labelClassName = `text-h6 m-0 ${description ? 'mb-1' : ''}`;
3010
+ return (jsxs("div", { children: [label ? jsx("div", { className: labelClassName, children: label }) : null, description ? jsx("div", { className: "text-secondary-text text-l-light", children: description }) : null] }));
3163
3011
  };
3164
- const renderImgCellData = ({ image }) => (image?.src ? jsx(Img, { image: image }) : null);
3165
- const renderListCellData = ({ isDotted, ...rest }) => (jsx(List, { className: "flex flex-col justify-between items-start text-sm", version: "gray", isDotted: isDotted ?? true, ...rest }));
3012
+ const renderImgCellData = ({ image }) => (image?.src ? jsx(ImgInner, { image: image }) : null);
3013
+ const renderListCellData = ({ isDotted, ...rest }) => (jsx(List, { className: "flex flex-col justify-between items-start text-h6", version: "primary", isDotted: isDotted ?? true, ...rest }));
3166
3014
  const renderTableCellData = JSX((props) => {
3167
3015
  const [showBtn, setShowBtn] = useState(true);
3168
3016
  console.log(props);
@@ -3186,7 +3034,7 @@
3186
3034
  return (jsx("div", { className: cellWrapperClasses, role: "cell", children: cells.map(renderCellInner(rowIdx, context, cellIdx)) }));
3187
3035
  });
3188
3036
  const renderCellInner = (rowIdx, context, cellIdx) => (cell, i) => {
3189
- return (jsxs("div", { className: cell?.tableCellType === 'Table' ? 'mx-0.5' : `first:pt-5 last:pb-5 pl-10`, children: [i > 0 ? jsx("div", { className: "h-5" }) : null, renderCell(cell, context, { rowIdx, cellIdx, fieldIdx: i })] }, String(i)));
3037
+ return (jsxs("div", { className: cell?.tableCellType === 'Table' ? 'ml-10' : `first:pt-5 last:pb-5 pl-10`, children: [i > 0 ? jsx("div", { className: "h-5" }) : null, renderCell(cell, context, { rowIdx, cellIdx, fieldIdx: i })] }, String(i)));
3190
3038
  };
3191
3039
  const renderCell = (cell, context, indexes) => {
3192
3040
  if (!cell) {
@@ -3233,11 +3081,15 @@
3233
3081
  }
3234
3082
  const [headerColumn, ...columns] = rowData;
3235
3083
  const transform = [...Array(activeColumnIndex).keys()].reduce((res, i) => (columns?.[i]?.cols?.length ?? 1) * COLUMN_WIDTH + res, 0);
3236
- return (jsxs("div", { className: "flex border-main-divider border border-t-0 border-x-0 border-solid", children: [jsx("div", { className: "text-xl-light min-w-[214px] w-[214px] pt-6 pb-5", children: headerColumn.data }), jsx("div", { className: "flex flex-grow overflow-hidden", children: jsx("div", { className: "flex duration-1000 text-center", style: {
3084
+ const columnsClassName = [
3085
+ 'flex duration-1000 text-center',
3086
+ rowIdx !== 0 ? 'font-normal' : 'font-light',
3087
+ ].join(' ');
3088
+ return (jsxs("div", { className: "flex border-main-divider border border-t-0 border-x-0 border-solid", children: [headerColumn?.data ? (jsx("div", { className: `text-xl-light w-[214px] pb-5 ${rowIdx === 0 ? 'pt-8' : 'pt-6'}`, children: headerColumn.data })) : null, jsx("div", { className: "flex flex-grow overflow-hidden", children: jsx("div", { className: columnsClassName, style: {
3237
3089
  transform: `translateX(-${transform}px)`,
3238
3090
  }, children: columns?.map((_, i) => (jsxs("div", { className: "flex flex-col flex-grow justify-center pt-6 pb-5 odd:bg-main-divider", children: [_?.data ? jsx("div", { className: "text-xl-light mb-3", children: _.data }) : null, _?.cols ? renderCols(_.cols, activeColumnIndex) : null] }, `row${i}`))) }) })] }, String(rowIdx)));
3239
3091
  };
3240
- const renderCols = (cols, rowIndex) => cols ? (jsx("div", { className: `flex text-xl-light ${rowIndex === 0 ? 'text-secondary-text' : ''}`, children: cols.map((data, i) => (jsx("div", { className: "w-[76px] mx-8", children: data }, String(i)))) })) : null;
3092
+ const renderCols = (cols, rowIndex) => cols?.length > 0 ? (jsx("div", { className: `flex ${rowIndex} ${rowIndex === 0 ? 'text-secondary-text' : ''} last:mr-3`, children: cols.map((data, i) => (jsx("div", { className: `w-[76px] text-h6 mr-5 first:ml-8`, children: data }, String(i)))) })) : null;
3241
3093
 
3242
3094
  const InnerTableBody = JSX(({ context, activeTabIndex, items }) => {
3243
3095
  const [hiddenTables, setHiddenTables] = useState({});
@@ -3246,11 +3098,11 @@
3246
3098
  };
3247
3099
  return (jsx("div", { children: items.map((_, tableIdx) => {
3248
3100
  const key = `activeTabIdx:${activeTabIndex}-tableIdx:${tableIdx}`;
3249
- return (jsxs("div", { className: "w-full", children: [jsxs("div", { className: "flex p-4 bg-main-stroke text-xl-light text-center justify-center cursor-pointer relative", onClick: () => toggleTable(key), children: [_.title, jsx(Img, { image: hiddenTables[key] ? 'PlusIcon' : 'MinusIcon', className: "absolute right-[22px]", width: "24", height: "24" })] }), jsx("div", { className: `w-full pl-2 overflow-hidden transition-height duration-500 ease-in-out ${hiddenTables[key] ? 'h-0' : 'h-[243px]'}`, children: jsx("div", { className: "relative", children: jsx(InnerTableBodyItem, { context: context, rows: _.rowsData }) }) })] }, key));
3101
+ return (jsxs("div", { className: "w-full", children: [jsxs("div", { className: "flex p-4 bg-main-stroke text-xl-light text-center justify-center cursor-pointer relative", onClick: () => toggleTable(key), children: [_.title, jsx(ImgInner, { image: hiddenTables[key] ? 'PlusIcon' : 'MinusIcon', className: "absolute right-[22px]", width: "24", height: "24" })] }), jsx("div", { className: `w-full pl-2 overflow-hidden transition-height duration-500 ease-in-out ${hiddenTables[key] ? 'h-0' : ''}`, children: jsx("div", { className: "relative", children: jsx(InnerTableBodyItem, { context: context, rows: _.rowsData }) }) })] }, key));
3250
3102
  }) }));
3251
3103
  });
3252
3104
 
3253
- const InnerTableHeader = JSX(({ currencies, linkToPDF, activeTabIndex, setActiveTabIndex }) => (jsxs("div", { className: "flex justify-between w-full pt-2.5 pb-3", children: [currencies && currencies.length > 1 ? (jsx("div", { className: "flex bg-secondary-light p-1 rounded-md", children: currencies.map((currency, idx) => (jsx("div", { className: `rounded-md text-xl-light px-4 py-3 cursor-pointer ${idx === activeTabIndex ? 'bg-primary-main text-white' : 'text-secondary-text'}`, onClick: () => setActiveTabIndex(idx), children: currency || idx + 1 }, currency))) })) : null, linkToPDF ? (jsxs(Button, { href: linkToPDF, version: "secondary", className: "flex justify-center items-center text-l-light text-primary-main px-8", children: [jsx(Img, { image: "DocDownloadIcon", className: "mr-[10px]", width: "24", height: "24", asSVG: true }), jsx("span", { children: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432 PDF" })] })) : null] })));
3105
+ const InnerTableHeader = JSX(({ currencies, linkToPDF, activeTabIndex, setActiveTabIndex }) => (jsxs("div", { className: "flex justify-between w-full pt-2.5 pb-3", children: [currencies && currencies.length > 1 ? (jsx("div", { className: "flex bg-secondary-light p-1.5 rounded-md", children: currencies.map((currency, idx) => (jsx("div", { className: `rounded-md text-xl-light px-4 py-3 cursor-pointer ${idx === activeTabIndex ? 'bg-primary-main text-white' : 'text-secondary-text'}`, onClick: () => setActiveTabIndex(idx), children: currency || idx + 1 }, currency))) })) : null, linkToPDF ? (jsxs(Button, { href: linkToPDF, version: "secondary", className: "flex justify-center items-center text-l-light text-primary-main px-8 max-h-14", target: "_blank", children: [jsx(ImgInner, { image: "DocDownloadIcon", className: "mr-2.5", width: "20", height: "20", asSVG: true }), jsx("span", { children: "\u0421\u043A\u0430\u0447\u0430\u0442\u044C \u0432 PDF" })] })) : null] })));
3254
3106
 
3255
3107
  const InnerTable = JSX(({ context, dataUrl, pdfUrl }) => {
3256
3108
  const { tableData } = useTariffsInnerTableData(dataUrl);
@@ -3269,7 +3121,7 @@
3269
3121
  });
3270
3122
 
3271
3123
  const TariffsTableRow = JSX(({ row: { header, data }, activeCardIndex, isLastRow, context, rowIdx }) => {
3272
- return (jsxs(TariffsTableRowContainer, { context: context, rowIdx: rowIdx, children: [jsx("div", { className: `text-s py-5 ${FIRST_CELL_CLASSES} ${DIVIDER_CLASSES} ${!isLastRow ? 'border-solid' : ''}`, children: jsxs("div", { className: "flex items-center text-primary-text", role: "cell", children: [header?.icon ? (jsx(Img, { className: "mr-[14px] max-w-6 max-h-6", image: header.icon, width: "24px", height: "24px", asSVG: true })) : null, header?.title ? (jsx(Heading, { headingType: header?.headingType || 'h6', as: "h6", title: header?.title })) : null] }) }), data?.length ? (jsx(TableCarouselContainer, { activeCardIndex: activeCardIndex, columnWidth: COLUMN_WIDTH$1, version: "tariff", children: data.map((cells, i) => (jsx(TariffsTableCell, { cells: cells, isLastRow: isLastRow, rowIdx: rowIdx, cellIdx: i, context: context }, String(i)))) })) : null] }));
3124
+ return (jsxs(TariffsTableRowContainer, { context: context, rowIdx: rowIdx, children: [jsx("div", { className: `text-s py-5 ${FIRST_CELL_CLASSES} ${DIVIDER_CLASSES} ${!isLastRow ? 'border-solid' : ''}`, children: jsxs("div", { className: "flex items-center text-primary-text", role: "cell", children: [header?.icon ? (jsx(ImgInner, { className: "mr-[14px] max-w-6 max-h-6", image: header.icon, width: "24px", height: "24px", asSVG: true })) : null, header?.title ? jsx("div", { className: "text-m-light", children: header?.title }) : null] }) }), data?.length ? (jsx(TableCarouselContainer, { activeCardIndex: activeCardIndex, columnWidth: COLUMN_WIDTH$1, version: "tariff", children: data.map((cells, i) => (jsx(TariffsTableCell, { cells: cells, isLastRow: isLastRow, rowIdx: rowIdx, cellIdx: i, context: context }, String(i)))) })) : null] }));
3273
3125
  });
3274
3126
 
3275
3127
  const TariffsTable = JSX(({ className = '', context, title, description, rowHeaders, tariffsColumns: columns, hiddenRowsNum = 0, ...rest }) => {
@@ -3286,9 +3138,16 @@
3286
3138
  activeCardIndex,
3287
3139
  setActiveCardIndex,
3288
3140
  });
3289
- const foldableBlocks = rowData?.map((row, i, { length }) => (jsx(TariffsTableRow, { context: context, row: row, isLastRow: i + 1 === length, activeCardIndex: activeCardIndex, rowIdx: i }, String(i))));
3290
- return (jsxs(BlockWrapper, { className: `bg-white font-sans p-[50px] overflow-hidden text-primary-text relative ${columnsLength > 1 ? 'pr-0' : ''} ${className}`, context: context, ...rest, children: [title ? (jsx(Heading, { headingType: "h2", className: `text-center ${description ? 'mb-2.5' : 'mb-9'}`, title: title })) : null, description ? jsx("div", { className: "mb-9 text-center text-l", children: description }) : null, rowData?.length ? (jsx(Foldable, { blocks: foldableBlocks, hiddenBlocksNum: hiddenRowsNum, context: context, render: (children) => (jsx(Wrapper, { tableArrowScrollControlProps: tableArrowScrollControlProps, children: children })), foldButtonLabel: "\u0420\u0430\u0437\u0432\u0435\u0440\u043D\u0443\u0442\u044C" })) : null] }));
3141
+ const rows = (rowData || []).map((row, i, { length }) => (jsx(TariffsTableRow, { context: context, row: row, isLastRow: i + 1 === length, activeCardIndex: activeCardIndex, rowIdx: i }, String(i))));
3142
+ const [visibleRows, hiddenRows] = hiddenRowsNum > 0 ? [rows.slice(0, -hiddenRowsNum), rows.slice(-hiddenRowsNum)] : [rows, []];
3143
+ return (jsxs(BlockWrapper, { className: `bg-white font-sans p-[50px] overflow-hidden text-primary-text relative ${columnsLength > 1 ? 'pr-0' : ''} ${className}`, context: context, ...rest, children: [renderTitle({ title, description }), renderDescription(description), hiddenRowsNum > 0 ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs(Wrapper, { tableArrowScrollControlProps: tableArrowScrollControlProps, children: [visibleRows, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] })), renderFoldButton: renderDefaultFoldButton })) : (jsx(Wrapper, { tableArrowScrollControlProps: tableArrowScrollControlProps, children: rows }))] }));
3291
3144
  });
3145
+ function renderTitle({ title, description }) {
3146
+ return title ? (jsx(Heading, { headingType: "h3", className: `text-center ${description ? 'mb-2.5' : 'mb-8'}`, title: title })) : null;
3147
+ }
3148
+ function renderDescription(description) {
3149
+ return description ? jsx("div", { className: "mb-9 text-center text-l", children: description }) : null;
3150
+ }
3292
3151
  const Wrapper = JSX(({ children, tableArrowScrollControlProps }) => {
3293
3152
  const { isScrollAvailable } = tableArrowScrollControlProps;
3294
3153
  return (jsxs("div", { role: "table", children: [jsxs("div", { className: "relative", children: [children, jsx(TableArrowScrollControl, { ...tableArrowScrollControlProps })] }), isScrollAvailable ? (jsx("div", { className: "absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white" })) : null] }));
@@ -3309,6 +3168,7 @@
3309
3168
  Header,
3310
3169
  Headline,
3311
3170
  InsuranceAmountBlock,
3171
+ InvestmentInfo,
3312
3172
  LinkDocs,
3313
3173
  MiniGallery,
3314
3174
  MobileAppTile,
@@ -3374,8 +3234,9 @@
3374
3234
  });
3375
3235
 
3376
3236
  const DEFAULT_SLOT_NAME = null;
3237
+ const DEFAULT_ANCESTORS = [DEFAULT_SLOT_NAME];
3377
3238
 
3378
- function renderBlock(block, options, ancestors = [DEFAULT_SLOT_NAME]) {
3239
+ function renderBlock(block, options, ancestors = DEFAULT_ANCESTORS) {
3379
3240
  const { key, page, blockDecorator, blocksRegistry, context } = options;
3380
3241
  const { type } = block;
3381
3242
  if (!(type && type in blocksRegistry)) {