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

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 (1661) 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 +380 -575
  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 +43 -0
  12. package/bundle/components/Accordion/AccordionItem.d.ts +5 -0
  13. package/bundle/components/Accordion/AccordionItem.mobile.d.ts +5 -0
  14. package/bundle/components/BaseTile/BaseTile.d.ts +5 -0
  15. package/bundle/components/BaseTile/BaseTileProps.d.ts +15 -0
  16. package/bundle/components/BaseTile/getTileHeadingType.d.ts +1 -0
  17. package/bundle/components/BaseTile/getTileMinHeight.d.ts +1 -0
  18. package/bundle/components/BaseTile/getTileRightPadding.d.ts +1 -0
  19. package/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +5 -0
  20. package/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +52 -0
  21. package/bundle/components/Blocks.d.ts +36 -0
  22. package/bundle/components/Blocks.mobile.d.ts +17 -0
  23. package/bundle/components/Bonus/Bonus.d.ts +5 -0
  24. package/bundle/components/Bonus/BonusContent.d.ts +45 -0
  25. package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +5 -0
  26. package/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +15 -0
  27. package/bundle/components/BonusBenefitsBlock/getElementsColsValue.d.ts +1 -0
  28. package/bundle/components/Calculator/BonusCalculatorForm.d.ts +5 -0
  29. package/bundle/components/Calculator/Calculator.d.ts +5 -0
  30. package/bundle/components/Calculator/CalculatorContent.d.ts +129 -0
  31. package/bundle/components/Calculator/CalculatorValueBlock.d.ts +8 -0
  32. package/bundle/components/Calculator/CreditCalculatorForm.d.ts +7 -0
  33. package/bundle/components/Calculator/DepositCalculatorForm.d.ts +5 -0
  34. package/bundle/components/Calculator/EmbeddableCalcBlocks.d.ts +9 -0
  35. package/bundle/components/Calculator/Rate.d.ts +7 -0
  36. package/bundle/components/Calculator/constants.d.ts +16 -0
  37. package/bundle/components/Calculator/getBonus.d.ts +2 -0
  38. package/bundle/components/Calculator/getCreditRate.d.ts +7 -0
  39. package/bundle/components/Calculator/getDefaultMonths.d.ts +1 -0
  40. package/bundle/components/Calculator/getDefaultSum.d.ts +1 -0
  41. package/bundle/components/Calculator/getMonthlyPayment.d.ts +6 -0
  42. package/bundle/components/Calculator/renderButtonSection.d.ts +2 -0
  43. package/bundle/components/Calculator/renderCalculatorBlock.d.ts +3 -0
  44. package/bundle/components/Calculator/renderFootnote.d.ts +2 -0
  45. package/bundle/components/Calculator/renderInitialFeeInput.d.ts +6 -0
  46. package/bundle/components/Calculator/renderMonthsInput.d.ts +8 -0
  47. package/bundle/components/Calculator/renderPaymentTypeSelector.d.ts +6 -0
  48. package/bundle/components/Calculator/renderProposal.d.ts +2 -0
  49. package/bundle/components/Calculator/renderProposalMortgage.d.ts +8 -0
  50. package/bundle/components/Calculator/renderRealEstateValue.d.ts +6 -0
  51. package/bundle/components/Calculator/renderWantedSumInput.d.ts +11 -0
  52. package/bundle/components/Calculator/useBonusCalculatorParams.d.ts +36 -0
  53. package/bundle/components/Calculator/useCalculatorParams.d.ts +1 -0
  54. package/bundle/components/Calculator/useCreditCalculatorParams.d.ts +27 -0
  55. package/bundle/components/CardTransfer/CardTransfer.d.ts +5 -0
  56. package/bundle/components/CardTransfer/CardTransferContent.d.ts +10 -0
  57. package/bundle/components/Catalog/Catalog.d.ts +5 -0
  58. package/bundle/components/Catalog/CatalogCard.d.ts +7 -0
  59. package/bundle/components/Catalog/CatalogContent.d.ts +25 -0
  60. package/bundle/components/ComparisonTable/ComparisonTable.d.ts +5 -0
  61. package/bundle/components/ComparisonTable/ComparisonTable.mobile.d.ts +5 -0
  62. package/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +12 -0
  63. package/bundle/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +10 -0
  64. package/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +50 -0
  65. package/bundle/components/ComparisonTable/ComparisonTableRows.d.ts +13 -0
  66. package/bundle/components/ComparisonTable/HeaderCell.d.ts +10 -0
  67. package/bundle/components/ComparisonTable/HeaderCell.mobile.d.ts +11 -0
  68. package/bundle/components/ComparisonTable/TableCarouselContainer.d.ts +7 -0
  69. package/bundle/components/ComparisonTable/TableCell.d.ts +9 -0
  70. package/bundle/components/ComparisonTable/TableCell.mobile.d.ts +9 -0
  71. package/bundle/components/ComparisonTable/TableColumn.d.ts +15 -0
  72. package/bundle/components/ComparisonTable/TableRow.d.ts +14 -0
  73. package/bundle/components/ComparisonTable/TableRowContainer.d.ts +1 -0
  74. package/bundle/components/ComparisonTable/constants.d.ts +6 -0
  75. package/bundle/components/ContentPage/ContentPage.d.ts +10 -0
  76. package/bundle/components/ContentPage/ContentPageContext.d.ts +17 -0
  77. package/bundle/components/ContentPage/ContentPageHead.d.ts +7 -0
  78. package/bundle/components/ContentPage/computeAPIFallback.d.ts +5 -0
  79. package/bundle/components/ContentPage/filterBlocks.d.ts +12 -0
  80. package/bundle/components/ContentPage/filterBlocks.mobile.d.ts +12 -0
  81. package/bundle/components/ContentPage/isBlockInRegistry.d.ts +2 -0
  82. package/bundle/components/ContentPage/normalizeBlock.d.ts +11 -0
  83. package/bundle/components/ContentPage/normalizeBlock.mobile.d.ts +2 -0
  84. package/bundle/components/ContentPage/normalizePage.d.ts +3 -0
  85. package/bundle/components/ContentPage/renderBlock.d.ts +13 -0
  86. package/bundle/components/ErrorBlock/ErrorBlock.d.ts +5 -0
  87. package/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +48 -0
  88. package/bundle/components/ExchangeRateTile/CurrencyProps.d.ts +5 -0
  89. package/bundle/components/ExchangeRateTile/CurrencyTable.d.ts +7 -0
  90. package/bundle/components/ExchangeRateTile/CurrentLocation.d.ts +7 -0
  91. package/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +21 -0
  92. package/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
  93. package/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +8 -0
  94. package/bundle/components/ExchangeRateTile/calculateResult.d.ts +2 -0
  95. package/bundle/components/ExchangeRateTile/callbackCurrencySelect.d.ts +8 -0
  96. package/bundle/components/ExchangeRateTile/formatCurrency.d.ts +1 -0
  97. package/bundle/components/ExchangeRateTile/renderInput.d.ts +13 -0
  98. package/bundle/components/Footer/Contacts.d.ts +7 -0
  99. package/bundle/components/Footer/Footer.d.ts +5 -0
  100. package/bundle/components/Footer/Footer.mobile.d.ts +5 -0
  101. package/bundle/components/Footer/FooterContent.d.ts +44 -0
  102. package/bundle/components/Footer/FooterLink.d.ts +5 -0
  103. package/bundle/components/Footer/HorizontalNavigation.d.ts +6 -0
  104. package/bundle/components/Footer/HorizontalNavigation.mobile.d.ts +6 -0
  105. package/bundle/components/Footer/HorizontalNavigationLink.d.ts +8 -0
  106. package/bundle/components/Footer/MediaButton.d.ts +7 -0
  107. package/bundle/components/Footer/Sitemap.d.ts +8 -0
  108. package/bundle/components/Footer/SocialMedia.d.ts +8 -0
  109. package/bundle/components/Footer/SocialMedia.mobile.d.ts +8 -0
  110. package/bundle/components/Footer/TextInformation.d.ts +2 -0
  111. package/bundle/components/Footer/TextInformation.mobile.d.ts +2 -0
  112. package/bundle/components/Footer/TextInformationLink.d.ts +8 -0
  113. package/bundle/components/Gallery/Gallery.d.ts +2 -0
  114. package/bundle/components/Gallery/Gallery.mobile.d.ts +2 -0
  115. package/bundle/components/Gallery/GalleryCardInner.d.ts +2 -0
  116. package/bundle/components/Gallery/GalleryContainer.d.ts +13 -0
  117. package/bundle/components/Gallery/GalleryContent.d.ts +64 -0
  118. package/bundle/components/Gallery/GalleryInner.d.ts +7 -0
  119. package/bundle/components/Gallery/GalleryProps.d.ts +4 -0
  120. package/bundle/components/Gallery/constants.d.ts +4 -0
  121. package/bundle/components/GracePeriod/GracePeriod.d.ts +5 -0
  122. package/bundle/components/GracePeriod/GracePeriodContent.d.ts +32 -0
  123. package/bundle/components/Header/DropdownMenu.d.ts +14 -0
  124. package/bundle/components/Header/Header.d.ts +5 -0
  125. package/bundle/components/Header/Header.fallback.d.ts +2 -0
  126. package/bundle/components/Header/Header.mobile.d.ts +5 -0
  127. package/bundle/components/Header/HeaderBurger.d.ts +11 -0
  128. package/bundle/components/Header/HeaderContent.d.ts +41 -0
  129. package/bundle/components/Header/HeaderSecondaryMenu.d.ts +10 -0
  130. package/bundle/components/Header/HeaderSecondaryMenuButton.d.ts +6 -0
  131. package/bundle/components/Header/HeaderSubMenu.d.ts +9 -0
  132. package/bundle/components/Header/HeaderTop.d.ts +6 -0
  133. package/bundle/components/Headline/Headline.d.ts +5 -0
  134. package/bundle/components/Headline/Headline.mobile.d.ts +5 -0
  135. package/bundle/components/Headline/HeadlineContent.d.ts +15 -0
  136. package/bundle/components/Headline/constants.d.ts +20 -0
  137. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +5 -0
  138. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +30 -0
  139. package/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +7 -0
  140. package/bundle/components/LikeControl/LikeControl.d.ts +2 -0
  141. package/bundle/components/LinkDocs/LinkDocs.d.ts +5 -0
  142. package/bundle/components/LinkDocs/LinkDocs.mobile.d.ts +5 -0
  143. package/bundle/components/LinkDocs/LinkDocsContent.d.ts +43 -0
  144. package/bundle/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
  145. package/bundle/components/LinkDocs/LinkDocsList.d.ts +9 -0
  146. package/bundle/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
  147. package/bundle/components/LinkDocs/LinkDocsListItem.mobile.d.ts +2 -0
  148. package/bundle/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
  149. package/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
  150. package/bundle/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
  151. package/bundle/components/LinkList/LinkList.d.ts +5 -0
  152. package/bundle/components/LinkList/LinkListContent.d.ts +8 -0
  153. package/bundle/components/LinkList/linkListContentExample.d.ts +2 -0
  154. package/bundle/components/MiniGallery/MiniGallery.d.ts +5 -0
  155. package/bundle/components/MiniGallery/MiniGalleryContent.d.ts +12 -0
  156. package/bundle/components/MobileAppTile/MobileAppTile.d.ts +5 -0
  157. package/bundle/components/MobileAppTile/MobileAppTile.mobile.d.ts +5 -0
  158. package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +31 -0
  159. package/bundle/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +5 -0
  160. package/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +10 -0
  161. package/bundle/components/OtherProducts/OtherProducts.d.ts +5 -0
  162. package/bundle/components/OtherProducts/OtherProductsContent.d.ts +25 -0
  163. package/bundle/components/OtherProducts/OtherProductsItem.d.ts +6 -0
  164. package/bundle/components/PictureText/PictureText.d.ts +5 -0
  165. package/bundle/components/PictureText/PictureTextContent.d.ts +34 -0
  166. package/bundle/components/Placeholder/Placeholder.d.ts +6 -0
  167. package/bundle/components/Placeholder/PlaceholderContent.d.ts +5 -0
  168. package/bundle/components/ProductBlock/ProductBlock.d.ts +5 -0
  169. package/bundle/components/ProductBlock/ProductBlock.mobile.d.ts +5 -0
  170. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +54 -0
  171. package/bundle/components/ProductBlock/ProductBlockInner.d.ts +4 -0
  172. package/bundle/components/ProductBlock/ProductBlockInner.mobile.d.ts +4 -0
  173. package/bundle/components/ProductBlock/renderBackwardButton.d.ts +4 -0
  174. package/bundle/components/ProductBlock/renderBenefit.d.ts +5 -0
  175. package/bundle/components/ProductGallery/ProductGallery.d.ts +5 -0
  176. package/bundle/components/ProductGallery/ProductGallery.mobile.d.ts +5 -0
  177. package/bundle/components/ProductGallery/ProductGalleryBlock.d.ts +8 -0
  178. package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +29 -0
  179. package/bundle/components/ProductTile/ProductTile.d.ts +5 -0
  180. package/bundle/components/ProductTile/ProductTileContent.d.ts +33 -0
  181. package/bundle/components/PromoTile/PromoTile.d.ts +5 -0
  182. package/bundle/components/PromoTile/PromoTileContent.d.ts +12 -0
  183. package/bundle/components/Recommendation/Recommendation.d.ts +5 -0
  184. package/bundle/components/Recommendation/RecommendationCard.d.ts +7 -0
  185. package/bundle/components/Recommendation/RecommendationContent.d.ts +43 -0
  186. package/bundle/components/SafeDepositRental/RegionsAndBranches.d.ts +12 -0
  187. package/bundle/components/SafeDepositRental/RenderRadioButtons.d.ts +2 -0
  188. package/bundle/components/SafeDepositRental/RentalPeriod.d.ts +6 -0
  189. package/bundle/components/SafeDepositRental/SafeBoxCases.d.ts +11 -0
  190. package/bundle/components/SafeDepositRental/SafeDepositRental.d.ts +5 -0
  191. package/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +9 -0
  192. package/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +12 -0
  193. package/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +11 -0
  194. package/bundle/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +6 -0
  195. package/bundle/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +8 -0
  196. package/bundle/components/SafeDepositRental/WrapperSelect.d.ts +11 -0
  197. package/bundle/components/SafeDepositRental/YandexMap.d.ts +5 -0
  198. package/bundle/components/SafeDepositRental/renderClusterer.d.ts +2 -0
  199. package/bundle/components/SafeDepositRental/useGetRegions.d.ts +6 -0
  200. package/bundle/components/SafeDepositRental/useYandexMaps.d.ts +2 -0
  201. package/bundle/components/SafeDepositRental/utils.d.ts +3 -0
  202. package/bundle/components/StepsBlock/StepsBlock.d.ts +5 -0
  203. package/bundle/components/StepsBlock/StepsBlock.mobile.d.ts +5 -0
  204. package/bundle/components/StepsBlock/StepsBlockContent.d.ts +43 -0
  205. package/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +11 -0
  206. package/bundle/components/StepsBlock/renderItems.d.ts +3 -0
  207. package/bundle/components/Tabs/Tabs.d.ts +13 -0
  208. package/bundle/components/Tabs/TabsContent.d.ts +36 -0
  209. package/bundle/components/Tabs/renderGroupTab.d.ts +4 -0
  210. package/bundle/components/Tabs/renderLinkTab.d.ts +9 -0
  211. package/bundle/components/Tabs/renderTab.d.ts +12 -0
  212. package/bundle/components/Tabs/tabItemClasses.d.ts +6 -0
  213. package/bundle/components/TariffsTable/EmbeddableCellData.d.ts +14 -0
  214. package/bundle/components/TariffsTable/EmbeddableCellData.mobile.d.ts +12 -0
  215. package/bundle/components/TariffsTable/TableTileHeader.d.ts +2 -0
  216. package/bundle/components/TariffsTable/TariffsTable.d.ts +5 -0
  217. package/bundle/components/TariffsTable/TariffsTable.mobile.d.ts +5 -0
  218. package/bundle/components/TariffsTable/TariffsTableCell.d.ts +9 -0
  219. package/bundle/components/TariffsTable/TariffsTableContent.d.ts +95 -0
  220. package/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +6 -0
  221. package/bundle/components/TariffsTable/TariffsTableRow.d.ts +9 -0
  222. package/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +7 -0
  223. package/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +8 -0
  224. package/bundle/components/TariffsTable/TariffsTableVertical.d.ts +6 -0
  225. package/bundle/components/TariffsTable/constants.d.ts +4 -0
  226. package/bundle/components/TariffsTable/dataFixture.d.ts +5 -0
  227. package/bundle/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
  228. package/bundle/components/TextBlock/TextBlock.d.ts +5 -0
  229. package/bundle/components/TextBlock/TextBlock.mobile.d.ts +5 -0
  230. package/bundle/components/TextBlock/TextBlockContent.d.ts +22 -0
  231. package/bundle/components/Tile/Tile.d.ts +6 -0
  232. package/bundle/components/Tile/TileContent.d.ts +34 -0
  233. package/bundle/content-page-repository/ContentPageRepository.d.ts +11 -0
  234. package/bundle/content-page-repository/TransformationOptions.d.ts +4 -0
  235. package/bundle/content-page-repository/index.d.ts +2 -0
  236. package/bundle/content-page-repository/mapJSON.d.ts +1 -0
  237. package/bundle/content-page-repository/transformContentPage.d.ts +3 -0
  238. package/bundle/content-page-repository/transformImg.d.ts +11 -0
  239. package/bundle/content-page-repository/transformMarkdown.d.ts +1 -0
  240. package/bundle/content-page-repository/transformPicture.d.ts +3 -0
  241. package/bundle/content-page-repository/transformSrc.d.ts +3 -0
  242. package/bundle/hooks/useExchangeRates.d.ts +2 -0
  243. package/bundle/hooks/useExternalNS.d.ts +2 -0
  244. package/bundle/hooks/useGeolocation.d.ts +1 -0
  245. package/bundle/hooks/useLikeService.d.ts +5 -0
  246. package/bundle/hooks/useLink.d.ts +18 -0
  247. package/bundle/hooks/useOutsideClick.d.ts +5 -0
  248. package/{dist/hooks/useFetchSafeBoxes.d.ts → bundle/hooks/useSafeBoxes.d.ts} +1 -3
  249. package/bundle/hooks/useSearch.d.ts +4 -0
  250. package/bundle/hooks/useTableArrowScrollControl.d.ts +7 -0
  251. package/bundle/hooks/useTariffsInnerTableData.d.ts +1 -0
  252. package/bundle/icons/IconName.d.ts +194 -0
  253. package/bundle/index.d.ts +9 -0
  254. package/bundle/model/AlignType.d.ts +9 -0
  255. package/bundle/model/BgColorVersion.d.ts +8 -0
  256. package/bundle/model/BlockDecorator.d.ts +14 -0
  257. package/bundle/model/BlockVersion.d.ts +11 -0
  258. package/bundle/model/BlocksRegistry.d.ts +5 -0
  259. package/bundle/model/ButtonVersion.d.ts +6 -0
  260. package/bundle/model/ContentPageDef.d.ts +52 -0
  261. package/bundle/model/EmptyOptionType.d.ts +4 -0
  262. package/bundle/model/Fallback.d.ts +5 -0
  263. package/bundle/model/Footnote.d.ts +4 -0
  264. package/bundle/model/GalleryVersion.d.ts +1 -0
  265. package/bundle/model/HeadlineType.d.ts +29 -0
  266. package/bundle/model/IconVersion.d.ts +9 -0
  267. package/bundle/model/ImageSize.d.ts +6 -0
  268. package/bundle/model/InputTypes.d.ts +1 -0
  269. package/bundle/model/LinkProps.d.ts +24 -0
  270. package/bundle/model/ListOrientation.d.ts +8 -0
  271. package/bundle/model/Picture.d.ts +59 -0
  272. package/bundle/model/ProductColorVersion.d.ts +4 -0
  273. package/bundle/model/SitemapProps.d.ts +24 -0
  274. package/bundle/model/SizeVersion.d.ts +8 -0
  275. package/bundle/model/TableVersion.d.ts +1 -0
  276. package/bundle/model/VNode.d.ts +1 -0
  277. package/bundle/react/setup-fixture.d.ts +4 -0
  278. package/bundle/services/sitemap/SitemapProps.d.ts +24 -0
  279. package/bundle/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
  280. package/bundle/services/sitemap/findActiveSubItem.d.ts +3 -0
  281. package/bundle/services/sitemap/isHrefActive.d.ts +4 -0
  282. package/bundle/services/sitemap/isSubItemActive.d.ts +3 -0
  283. package/bundle/services/sitemap/isTopItemActive.d.ts +3 -0
  284. package/bundle/services/sitemap/mergeTopItems.d.ts +2 -0
  285. package/bundle/services/sitemap/useSitemap.d.ts +3 -0
  286. package/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +4 -0
  287. package/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +20 -0
  288. package/bundle/ui-kit/BlockWrapper.d.ts +7 -0
  289. package/bundle/ui-kit/BlocksList/BlocksListProps.d.ts +96 -0
  290. package/bundle/ui-kit/BlocksList/EmbeddableBlocks.d.ts +12 -0
  291. package/bundle/ui-kit/BlocksList/EmbeddableBlocks.mobile.d.ts +8 -0
  292. package/bundle/ui-kit/BlocksList/renderBlocksList.d.ts +9 -0
  293. package/bundle/ui-kit/Breadcrumb.d.ts +6 -0
  294. package/bundle/ui-kit/Button/ArrowButton.d.ts +2 -0
  295. package/bundle/ui-kit/Button/Button.d.ts +2 -0
  296. package/bundle/ui-kit/Button/Button.mobile.d.ts +2 -0
  297. package/bundle/ui-kit/Button/ButtonInner.d.ts +7 -0
  298. package/bundle/ui-kit/Button/ButtonProps.d.ts +54 -0
  299. package/bundle/ui-kit/Button/ButtonSection.d.ts +5 -0
  300. package/bundle/ui-kit/Button/GetButtonClassParams.d.ts +6 -0
  301. package/bundle/ui-kit/Button/LikeButton.d.ts +6 -0
  302. package/bundle/ui-kit/Button/buttonClassNameConstants.d.ts +5 -0
  303. package/bundle/ui-kit/Button/getDisabledButtonClasses.d.ts +2 -0
  304. package/bundle/ui-kit/Button/getRegularButtonClasses.d.ts +2 -0
  305. package/bundle/ui-kit/Button/renderArrows.d.ts +9 -0
  306. package/bundle/ui-kit/Checkbox/Checkbox.d.ts +2 -0
  307. package/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +7 -0
  308. package/bundle/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -0
  309. package/bundle/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +5 -0
  310. package/bundle/ui-kit/CurrencyInput/adjustValue .d.ts +3 -0
  311. package/bundle/ui-kit/Description/Description.d.ts +5 -0
  312. package/bundle/ui-kit/Foldable/DefaultButton.d.ts +2 -0
  313. package/bundle/ui-kit/Foldable/FoldButtonProps.d.ts +12 -0
  314. package/bundle/ui-kit/Foldable/Foldable.d.ts +16 -0
  315. package/bundle/ui-kit/HeaderItem/HeaderItem.d.ts +2 -0
  316. package/bundle/ui-kit/HeaderItem/HeaderItem.mobile.d.ts +3 -0
  317. package/bundle/ui-kit/Heading/Heading.d.ts +2 -0
  318. package/bundle/ui-kit/Heading/Heading.mobile.d.ts +2 -0
  319. package/bundle/ui-kit/Heading/HeadingProps.d.ts +23 -0
  320. package/bundle/ui-kit/Icon/Icon.d.ts +2 -0
  321. package/bundle/ui-kit/Icon/IconProps.d.ts +21 -0
  322. package/bundle/ui-kit/Img/Img.d.ts +1 -0
  323. package/bundle/ui-kit/Img/Img.mobile.d.ts +2 -0
  324. package/bundle/ui-kit/Img/ImgAsPicture.d.ts +4 -0
  325. package/bundle/ui-kit/Img/ImgInner.d.ts +2 -0
  326. package/bundle/ui-kit/Img/ImgProps.d.ts +11 -0
  327. package/bundle/ui-kit/Img/getIconVersion.d.ts +1 -0
  328. package/bundle/ui-kit/InnerTable/InnerTable.d.ts +5 -0
  329. package/bundle/ui-kit/InnerTable/InnerTableBody.d.ts +7 -0
  330. package/bundle/ui-kit/InnerTable/InnerTableBodyItem.d.ts +6 -0
  331. package/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +6 -0
  332. package/bundle/ui-kit/InnerTable/InnerTableHeader.d.ts +7 -0
  333. package/bundle/ui-kit/InnerTable/InnerTableProps.d.ts +24 -0
  334. package/bundle/ui-kit/Input/Input.d.ts +2 -0
  335. package/bundle/ui-kit/Input/InputProps.d.ts +16 -0
  336. package/bundle/ui-kit/InputRange/InputRange.d.ts +2 -0
  337. package/bundle/ui-kit/InputRange/InputRangeProps.d.ts +11 -0
  338. package/bundle/ui-kit/IntersectionObserverTag.d.ts +11 -0
  339. package/bundle/ui-kit/List/List.d.ts +2 -0
  340. package/bundle/ui-kit/List/ListContent.d.ts +4 -0
  341. package/bundle/ui-kit/List/ListItem.d.ts +12 -0
  342. package/bundle/ui-kit/List/ListProps.d.ts +26 -0
  343. package/bundle/ui-kit/Logo/Logo.d.ts +13 -0
  344. package/bundle/ui-kit/Logo/Logo.mobile.d.ts +8 -0
  345. package/bundle/ui-kit/Radio/Radio.d.ts +2 -0
  346. package/bundle/ui-kit/Radio/RadioProps.d.ts +9 -0
  347. package/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +12 -0
  348. package/bundle/ui-kit/SVG.d.ts +19 -0
  349. package/bundle/ui-kit/SearchBar/SearchBar.d.ts +2 -0
  350. package/bundle/ui-kit/SearchBar/SearchBar.mobile.d.ts +2 -0
  351. package/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +5 -0
  352. package/bundle/ui-kit/Select/Select.d.ts +14 -0
  353. package/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  354. package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
  355. package/bundle/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
  356. package/bundle/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
  357. package/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +18 -0
  358. package/bundle/ui-kit/SwipeListControl/constants.d.ts +2 -0
  359. package/bundle/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
  360. package/bundle/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +4 -0
  361. package/bundle/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
  362. package/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +2 -0
  363. package/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +7 -0
  364. package/bundle/ui-kit/TopItem/TopItem.d.ts +14 -0
  365. package/bundle/utils/addSpacesBetweenNumbers.d.ts +1 -0
  366. package/bundle/utils/adjustHref.d.ts +4 -0
  367. package/bundle/utils/assertUnreachable.d.ts +1 -0
  368. package/bundle/utils/changeHashOnObserve.d.ts +9 -0
  369. package/bundle/utils/checkIsIconRenderable.d.ts +2 -0
  370. package/bundle/utils/clamp.d.ts +1 -0
  371. package/bundle/utils/fetchJSON.d.ts +2 -0
  372. package/bundle/utils/getAccordionItems.d.ts +1 -0
  373. package/bundle/utils/getColSpan.d.ts +1 -0
  374. package/bundle/utils/getCurrentDate.d.ts +1 -0
  375. package/bundle/utils/getGeolocation.d.ts +1 -0
  376. package/bundle/utils/getSanitizedValue.d.ts +1 -0
  377. package/bundle/utils/isPictureSizeEmpty.d.ts +2 -0
  378. package/bundle/utils/joinList.d.ts +1 -0
  379. package/bundle/utils/maxBy.d.ts +2 -0
  380. package/bundle/utils/roundTo.d.ts +1 -0
  381. package/bundle/utils/style2className.d.ts +1 -0
  382. package/bundle/utils/tableFunc.d.ts +2 -0
  383. package/bundle/utils/url.d.ts +5 -0
  384. package/bundle/utils/withoutMobilePath.d.ts +2 -0
  385. package/dist/components/Accordion/AccordionItem.d.ts +1 -1
  386. package/dist/components/Accordion/AccordionItem.js +9 -10
  387. package/dist/components/Accordion/AccordionItem.js.map +1 -1
  388. package/dist/components/Accordion/AccordionItem.mobile.d.ts +1 -1
  389. package/dist/components/Accordion/AccordionItem.mobile.js +9 -7
  390. package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
  391. package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  392. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  393. package/dist/components/Blocks.mobile.d.ts +0 -1
  394. package/dist/components/Blocks.mobile.js +0 -2
  395. package/dist/components/Blocks.mobile.js.map +1 -1
  396. package/dist/components/Calculator/CalculatorContent.d.ts +1 -1
  397. package/dist/components/CardTransfer/CardTransfer.js +3 -2
  398. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  399. package/dist/components/Catalog/Catalog.js +1 -1
  400. package/dist/components/Catalog/Catalog.js.map +1 -1
  401. package/dist/components/Catalog/CatalogCard.js +1 -23
  402. package/dist/components/Catalog/CatalogCard.js.map +1 -1
  403. package/dist/components/ComparisonTable/ComparisonTable.js +1 -1
  404. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  405. package/dist/components/ComparisonTable/ComparisonTable.mobile.js +13 -48
  406. package/dist/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  407. package/dist/components/ComparisonTable/TableCell.d.ts +1 -1
  408. package/dist/components/ComparisonTable/TableCell.js.map +1 -1
  409. package/dist/components/ComparisonTable/TableColumn.d.ts +5 -8
  410. package/dist/components/ComparisonTable/TableColumn.js +2 -8
  411. package/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  412. package/dist/components/ContentPage/ContentPageContext.d.ts +0 -11
  413. package/dist/components/ErrorBlock/ErrorBlock.js +1 -1
  414. package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  415. package/dist/components/ExchangeRateTile/renderInput.js +1 -1
  416. package/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
  417. package/dist/components/Footer/Contacts.js +1 -1
  418. package/dist/components/Footer/Contacts.js.map +1 -1
  419. package/dist/components/Footer/FooterContent.d.ts +5 -9
  420. package/dist/components/Gallery/Gallery.mobile.js +7 -3
  421. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  422. package/dist/components/Gallery/GalleryCardInner.js +14 -17
  423. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  424. package/dist/components/Gallery/GalleryContainer.js +2 -2
  425. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  426. package/dist/components/Gallery/GalleryContent.d.ts +11 -3
  427. package/dist/components/Header/HeaderSubMenu.js +3 -2
  428. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  429. package/dist/components/Headline/constants.d.ts +2 -1
  430. package/dist/components/Headline/constants.js +10 -1
  431. package/dist/components/Headline/constants.js.map +1 -1
  432. package/dist/components/MiniGallery/MiniGalleryContent.d.ts +1 -0
  433. package/dist/components/MobileAppTile/MobileAppTile.js +1 -1
  434. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  435. package/dist/components/OtherProducts/OtherProductsItem.js +4 -2
  436. package/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
  437. package/dist/components/ProductGallery/ProductGallery.js +2 -2
  438. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  439. package/dist/components/ProductTile/ProductTile.js +1 -1
  440. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  441. package/dist/components/Recommendation/RecommendationContent.d.ts +5 -0
  442. package/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
  443. package/dist/components/SafeDepositRental/SafeBoxCases.d.ts +1 -1
  444. package/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  445. package/dist/components/SafeDepositRental/SafeDepositRental.js +17 -3
  446. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  447. package/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +7 -4
  448. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js +3 -5
  449. package/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  450. package/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +7 -3
  451. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js +7 -28
  452. package/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  453. package/dist/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +1 -1
  454. package/dist/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -2
  455. package/dist/components/SafeDepositRental/utils.d.ts +1 -1
  456. package/dist/components/StepsBlock/StepsBlock.js +9 -4
  457. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  458. package/dist/components/StepsBlock/StepsBlockContent.d.ts +9 -2
  459. package/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
  460. package/dist/components/StepsBlock/StepsBlockStyleMaps.js +2 -0
  461. package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  462. package/dist/components/StepsBlock/renderItems.d.ts +3 -0
  463. package/dist/components/StepsBlock/renderItems.js +6 -0
  464. package/dist/components/StepsBlock/renderItems.js.map +1 -0
  465. package/dist/components/TariffsTable/EmbeddableCellData.js +4 -5
  466. package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  467. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +1 -2
  468. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  469. package/dist/components/TariffsTable/TariffsTable.js +1 -1
  470. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  471. package/dist/components/TariffsTable/TariffsTableCell.js +1 -1
  472. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  473. package/dist/components/TariffsTable/TariffsTableRow.js +1 -2
  474. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  475. package/dist/components/TariffsTable/dataFixture.js +4 -2
  476. package/dist/components/TariffsTable/dataFixture.js.map +1 -1
  477. package/dist/components/TariffsTable/utils/getButtonAriaLabel.d.ts +1 -1
  478. package/dist/components/TariffsTable/utils/getButtonAriaLabel.js +1 -2
  479. package/dist/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -1
  480. package/dist/components/Tile/Tile.js +2 -3
  481. package/dist/components/Tile/Tile.js.map +1 -1
  482. package/dist/hooks/useOutsideClick.d.ts +5 -0
  483. package/dist/hooks/useOutsideClick.js +21 -0
  484. package/dist/hooks/useOutsideClick.js.map +1 -0
  485. package/{mobile/dist/hooks/useFetchSafeBoxes.d.ts → dist/hooks/useSafeBoxes.d.ts} +1 -3
  486. package/{mobile/dist/hooks/useFetchSafeBoxes.js → dist/hooks/useSafeBoxes.js} +9 -10
  487. package/dist/hooks/useSafeBoxes.js.map +1 -0
  488. package/dist/icons/IconName.d.ts +1 -92
  489. package/dist/icons/IconName.js +4 -4
  490. package/dist/icons/IconName.js.map +1 -1
  491. package/dist/model/HeadlineType.d.ts +8 -0
  492. package/dist/model/Picture.d.ts +1 -0
  493. package/dist/react/setup-fixture.js +0 -2
  494. package/dist/react/setup-fixture.js.map +1 -1
  495. package/dist/ui-kit/BenefitItem/BenefitItem.js +3 -1
  496. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  497. package/dist/ui-kit/BlockWrapper.d.ts +0 -3
  498. package/dist/ui-kit/BlockWrapper.js +5 -5
  499. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  500. package/dist/ui-kit/BlocksList/renderBlocksList.d.ts +1 -1
  501. package/dist/ui-kit/BlocksList/renderBlocksList.js +1 -1
  502. package/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  503. package/dist/ui-kit/Button/Button.js +6 -10
  504. package/dist/ui-kit/Button/Button.js.map +1 -1
  505. package/dist/ui-kit/Button/Button.mobile.js +1 -1
  506. package/dist/ui-kit/Button/Button.mobile.js.map +1 -1
  507. package/dist/ui-kit/Button/ButtonInner.js +3 -2
  508. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  509. package/dist/ui-kit/Button/ButtonProps.d.ts +1 -7
  510. package/dist/ui-kit/Button/ButtonSection.js +5 -10
  511. package/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  512. package/dist/ui-kit/Button/buttonClassNameConstants.d.ts +1 -0
  513. package/dist/ui-kit/Button/buttonClassNameConstants.js +7 -1
  514. package/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  515. package/dist/ui-kit/CurrencyInput/CurrencyInput.js +7 -1
  516. package/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  517. package/dist/ui-kit/CurrencyInput/adjustValue .d.ts +2 -0
  518. package/dist/ui-kit/CurrencyInput/adjustValue .js +11 -2
  519. package/dist/ui-kit/CurrencyInput/adjustValue .js.map +1 -1
  520. package/dist/ui-kit/Foldable/DefaultButton.d.ts +2 -0
  521. package/dist/ui-kit/Foldable/DefaultButton.js +12 -0
  522. package/dist/ui-kit/Foldable/DefaultButton.js.map +1 -0
  523. package/dist/ui-kit/Foldable/FoldButtonProps.d.ts +12 -0
  524. package/dist/ui-kit/Foldable/FoldButtonProps.js +2 -0
  525. package/dist/ui-kit/Foldable/FoldButtonProps.js.map +1 -0
  526. package/dist/ui-kit/Foldable/Foldable.d.ts +11 -17
  527. package/dist/ui-kit/Foldable/Foldable.js +22 -14
  528. package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  529. package/dist/ui-kit/Icon/Icon.js +4 -5
  530. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  531. package/dist/ui-kit/Icon/IconProps.d.ts +0 -1
  532. package/dist/ui-kit/Img/Img.d.ts +1 -2
  533. package/dist/ui-kit/Img/Img.js +2 -6
  534. package/dist/ui-kit/Img/Img.js.map +1 -1
  535. package/dist/ui-kit/Img/Img.mobile.js +1 -3
  536. package/dist/ui-kit/Img/Img.mobile.js.map +1 -1
  537. package/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
  538. package/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  539. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js +6 -2
  540. package/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  541. package/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
  542. package/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  543. package/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  544. package/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  545. package/dist/ui-kit/Input/Input.js +12 -3
  546. package/dist/ui-kit/Input/Input.js.map +1 -1
  547. package/dist/ui-kit/Input/InputProps.d.ts +2 -0
  548. package/dist/ui-kit/InputRange/InputRange.js +2 -2
  549. package/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  550. package/dist/ui-kit/IntersectionObserverTag.d.ts +11 -0
  551. package/dist/ui-kit/IntersectionObserverTag.js +22 -0
  552. package/dist/ui-kit/IntersectionObserverTag.js.map +1 -0
  553. package/dist/ui-kit/List/List.js +13 -8
  554. package/dist/ui-kit/List/List.js.map +1 -1
  555. package/dist/ui-kit/List/ListItem.d.ts +2 -2
  556. package/dist/ui-kit/List/ListItem.js +8 -23
  557. package/dist/ui-kit/List/ListItem.js.map +1 -1
  558. package/dist/ui-kit/List/ListProps.d.ts +5 -3
  559. package/dist/ui-kit/Radio/Radio.js +1 -1
  560. package/dist/ui-kit/Radio/Radio.js.map +1 -1
  561. package/dist/ui-kit/Select/Select.js +4 -1
  562. package/dist/ui-kit/Select/Select.js.map +1 -1
  563. package/dist/utils/getSanitizedValue.d.ts +1 -0
  564. package/dist/utils/getSanitizedValue.js +5 -0
  565. package/dist/utils/getSanitizedValue.js.map +1 -0
  566. package/lib/common.css +1 -1
  567. package/lib/components/Accordion/AccordionItem.d.ts +1 -1
  568. package/lib/components/Accordion/AccordionItem.js +9 -10
  569. package/lib/components/Accordion/AccordionItem.js.map +1 -1
  570. package/lib/components/Accordion/AccordionItem.mobile.d.ts +1 -1
  571. package/lib/components/Accordion/AccordionItem.mobile.js +9 -7
  572. package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
  573. package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  574. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  575. package/lib/components/Blocks.mobile.d.ts +0 -1
  576. package/lib/components/Blocks.mobile.js +0 -2
  577. package/lib/components/Blocks.mobile.js.map +1 -1
  578. package/lib/components/Calculator/CalculatorContent.d.ts +1 -1
  579. package/lib/components/CardTransfer/CardTransfer.js +3 -2
  580. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  581. package/lib/components/Catalog/Catalog.js +1 -1
  582. package/lib/components/Catalog/Catalog.js.map +1 -1
  583. package/lib/components/Catalog/CatalogCard.js +1 -23
  584. package/lib/components/Catalog/CatalogCard.js.map +1 -1
  585. package/lib/components/ComparisonTable/ComparisonTable.js +1 -1
  586. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  587. package/lib/components/ComparisonTable/ComparisonTable.mobile.js +14 -49
  588. package/lib/components/ComparisonTable/ComparisonTable.mobile.js.map +1 -1
  589. package/lib/components/ComparisonTable/TableCell.d.ts +1 -1
  590. package/lib/components/ComparisonTable/TableCell.js.map +1 -1
  591. package/lib/components/ComparisonTable/TableColumn.d.ts +5 -8
  592. package/lib/components/ComparisonTable/TableColumn.js +2 -8
  593. package/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  594. package/lib/components/ContentPage/ContentPageContext.d.ts +0 -11
  595. package/lib/components/ErrorBlock/ErrorBlock.js +1 -1
  596. package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  597. package/lib/components/ExchangeRateTile/renderInput.js +1 -1
  598. package/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
  599. package/lib/components/Footer/Contacts.js +1 -1
  600. package/lib/components/Footer/Contacts.js.map +1 -1
  601. package/lib/components/Footer/FooterContent.d.ts +5 -9
  602. package/lib/components/Gallery/Gallery.mobile.js +7 -3
  603. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  604. package/lib/components/Gallery/GalleryCardInner.js +15 -18
  605. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  606. package/lib/components/Gallery/GalleryContainer.js +2 -2
  607. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  608. package/lib/components/Gallery/GalleryContent.d.ts +11 -3
  609. package/lib/components/Header/HeaderSubMenu.js +2 -1
  610. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  611. package/lib/components/Headline/constants.d.ts +2 -1
  612. package/lib/components/Headline/constants.js +9 -0
  613. package/lib/components/Headline/constants.js.map +1 -1
  614. package/lib/components/MiniGallery/MiniGallery.fixture.d.ts +1 -0
  615. package/lib/components/MiniGallery/MiniGalleryContent.d.ts +1 -0
  616. package/lib/components/MobileAppTile/MobileAppTile.js +1 -1
  617. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  618. package/lib/components/OtherProducts/OtherProductsItem.js +4 -2
  619. package/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
  620. package/lib/components/ProductGallery/ProductGallery.js +2 -2
  621. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  622. package/lib/components/ProductTile/ProductTile.js +1 -1
  623. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  624. package/lib/components/Recommendation/RecommendationContent.d.ts +5 -0
  625. package/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
  626. package/lib/components/SafeDepositRental/SafeBoxCases.d.ts +1 -1
  627. package/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  628. package/lib/components/SafeDepositRental/SafeDepositRental.js +18 -4
  629. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  630. package/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +7 -4
  631. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js +3 -5
  632. package/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  633. package/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +7 -3
  634. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js +9 -30
  635. package/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  636. package/lib/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +1 -1
  637. package/lib/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -2
  638. package/lib/components/SafeDepositRental/utils.d.ts +1 -1
  639. package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +1 -0
  640. package/lib/components/StepsBlock/StepsBlock.js +9 -4
  641. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  642. package/lib/components/StepsBlock/StepsBlockContent.d.ts +9 -2
  643. package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
  644. package/lib/components/StepsBlock/StepsBlockStyleMaps.js +2 -0
  645. package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  646. package/lib/components/StepsBlock/renderItems.d.ts +3 -0
  647. package/lib/components/StepsBlock/renderItems.js +3 -0
  648. package/lib/components/StepsBlock/renderItems.js.map +1 -0
  649. package/lib/components/TariffsTable/EmbeddableCellData.js +4 -5
  650. package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  651. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +1 -2
  652. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  653. package/lib/components/TariffsTable/TariffsTable.js +1 -1
  654. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  655. package/lib/components/TariffsTable/TariffsTableCell.js +1 -1
  656. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  657. package/lib/components/TariffsTable/TariffsTableRow.js +1 -2
  658. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  659. package/lib/components/TariffsTable/dataFixture.js +4 -2
  660. package/lib/components/TariffsTable/dataFixture.js.map +1 -1
  661. package/lib/components/TariffsTable/utils/getButtonAriaLabel.d.ts +1 -1
  662. package/lib/components/TariffsTable/utils/getButtonAriaLabel.js +1 -2
  663. package/lib/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -1
  664. package/lib/components/Tile/Tile.js +2 -3
  665. package/lib/components/Tile/Tile.js.map +1 -1
  666. package/lib/hooks/useOutsideClick.d.ts +5 -0
  667. package/lib/hooks/useOutsideClick.js +18 -0
  668. package/lib/hooks/useOutsideClick.js.map +1 -0
  669. package/{mobile/lib/hooks/useFetchSafeBoxes.d.ts → lib/hooks/useSafeBoxes.d.ts} +1 -3
  670. package/lib/hooks/{useFetchSafeBoxes.js → useSafeBoxes.js} +7 -8
  671. package/lib/hooks/useSafeBoxes.js.map +1 -0
  672. package/lib/icons/IconName.d.ts +1 -92
  673. package/lib/icons/IconName.js +3 -3
  674. package/lib/icons/IconName.js.map +1 -1
  675. package/lib/model/HeadlineType.d.ts +8 -0
  676. package/lib/model/Picture.d.ts +1 -0
  677. package/lib/react/setup-fixture.js +0 -2
  678. package/lib/react/setup-fixture.js.map +1 -1
  679. package/lib/ui-kit/BenefitItem/BenefitItem.js +3 -1
  680. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  681. package/lib/ui-kit/BlockWrapper.d.ts +0 -3
  682. package/lib/ui-kit/BlockWrapper.js +4 -4
  683. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  684. package/lib/ui-kit/BlocksList/renderBlocksList.d.ts +1 -1
  685. package/lib/ui-kit/BlocksList/renderBlocksList.js +1 -1
  686. package/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  687. package/lib/ui-kit/Button/Button.js +6 -10
  688. package/lib/ui-kit/Button/Button.js.map +1 -1
  689. package/lib/ui-kit/Button/Button.mobile.js +1 -1
  690. package/lib/ui-kit/Button/Button.mobile.js.map +1 -1
  691. package/lib/ui-kit/Button/ButtonInner.js +3 -2
  692. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  693. package/lib/ui-kit/Button/ButtonProps.d.ts +1 -7
  694. package/lib/ui-kit/Button/ButtonSection.js +5 -10
  695. package/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  696. package/lib/ui-kit/Button/buttonClassNameConstants.d.ts +1 -0
  697. package/lib/ui-kit/Button/buttonClassNameConstants.js +6 -0
  698. package/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  699. package/lib/ui-kit/CurrencyInput/CurrencyInput.js +8 -2
  700. package/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  701. package/lib/ui-kit/CurrencyInput/adjustValue .d.ts +2 -0
  702. package/lib/ui-kit/CurrencyInput/adjustValue .js +9 -2
  703. package/lib/ui-kit/CurrencyInput/adjustValue .js.map +1 -1
  704. package/lib/ui-kit/Foldable/DefaultButton.d.ts +2 -0
  705. package/lib/ui-kit/Foldable/DefaultButton.js +10 -0
  706. package/lib/ui-kit/Foldable/DefaultButton.js.map +1 -0
  707. package/lib/ui-kit/Foldable/FoldButtonProps.d.ts +12 -0
  708. package/lib/ui-kit/Foldable/FoldButtonProps.js +2 -0
  709. package/lib/ui-kit/Foldable/FoldButtonProps.js.map +1 -0
  710. package/lib/ui-kit/Foldable/Foldable.d.ts +11 -17
  711. package/lib/ui-kit/Foldable/Foldable.js +22 -14
  712. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  713. package/lib/ui-kit/Icon/Icon.js +4 -5
  714. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  715. package/lib/ui-kit/Icon/IconProps.d.ts +0 -1
  716. package/lib/ui-kit/Img/Img.d.ts +1 -2
  717. package/lib/ui-kit/Img/Img.js +1 -6
  718. package/lib/ui-kit/Img/Img.js.map +1 -1
  719. package/lib/ui-kit/Img/Img.mobile.js +1 -3
  720. package/lib/ui-kit/Img/Img.mobile.js.map +1 -1
  721. package/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
  722. package/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  723. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js +6 -2
  724. package/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  725. package/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
  726. package/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  727. package/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  728. package/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  729. package/lib/ui-kit/Input/Input.js +12 -3
  730. package/lib/ui-kit/Input/Input.js.map +1 -1
  731. package/lib/ui-kit/Input/InputProps.d.ts +2 -0
  732. package/lib/ui-kit/InputRange/InputRange.js +2 -2
  733. package/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  734. package/lib/ui-kit/IntersectionObserverTag.d.ts +11 -0
  735. package/lib/ui-kit/IntersectionObserverTag.js +20 -0
  736. package/lib/ui-kit/IntersectionObserverTag.js.map +1 -0
  737. package/lib/ui-kit/List/List.fixture.d.ts +0 -4
  738. package/lib/ui-kit/List/List.js +13 -8
  739. package/lib/ui-kit/List/List.js.map +1 -1
  740. package/lib/ui-kit/List/ListItem.d.ts +2 -2
  741. package/lib/ui-kit/List/ListItem.js +7 -21
  742. package/lib/ui-kit/List/ListItem.js.map +1 -1
  743. package/lib/ui-kit/List/ListProps.d.ts +5 -3
  744. package/lib/ui-kit/Radio/Radio.js +1 -1
  745. package/lib/ui-kit/Radio/Radio.js.map +1 -1
  746. package/lib/ui-kit/Select/Select.js +5 -2
  747. package/lib/ui-kit/Select/Select.js.map +1 -1
  748. package/lib/utils/getSanitizedValue.d.ts +1 -0
  749. package/lib/utils/getSanitizedValue.js +2 -0
  750. package/lib/utils/getSanitizedValue.js.map +1 -0
  751. package/mobile/bundle/EventBus/EventBus.d.ts +10 -0
  752. package/mobile/bundle/EventBus/EventMap.d.ts +7 -0
  753. package/mobile/bundle/ProjectSettings.d.ts +24 -0
  754. package/mobile/bundle/api/DaDataAPI.d.ts +15 -0
  755. package/mobile/bundle/api/LikeAPI.d.ts +9 -0
  756. package/mobile/bundle/bundle.umd.js +202 -648
  757. package/mobile/bundle/bundle.umd.min.js +1 -1
  758. package/mobile/bundle/components/Accordion/Accordion.d.ts +5 -0
  759. package/mobile/bundle/components/Accordion/AccordionContent.d.ts +43 -0
  760. package/mobile/bundle/components/Accordion/AccordionItem.d.ts +5 -0
  761. package/mobile/bundle/components/BaseTile/BaseTile.d.ts +5 -0
  762. package/mobile/bundle/components/BaseTile/BaseTileProps.d.ts +15 -0
  763. package/mobile/bundle/components/BaseTile/getTileHeadingType.d.ts +1 -0
  764. package/mobile/bundle/components/BaseTile/getTileMinHeight.d.ts +1 -0
  765. package/mobile/bundle/components/BaseTile/getTileRightPadding.d.ts +1 -0
  766. package/mobile/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +5 -0
  767. package/mobile/bundle/components/BenefitsBlock/BenefitsBlockContent.d.ts +52 -0
  768. package/mobile/bundle/components/Blocks.d.ts +17 -0
  769. package/mobile/bundle/components/Bonus/Bonus.d.ts +5 -0
  770. package/mobile/bundle/components/Bonus/BonusContent.d.ts +45 -0
  771. package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlock.d.ts +5 -0
  772. package/mobile/bundle/components/BonusBenefitsBlock/BonusBenefitsBlockContent.d.ts +15 -0
  773. package/mobile/bundle/components/BonusBenefitsBlock/getElementsColsValue.d.ts +1 -0
  774. package/mobile/bundle/components/Calculator/BonusCalculatorForm.d.ts +5 -0
  775. package/mobile/bundle/components/Calculator/Calculator.d.ts +5 -0
  776. package/mobile/bundle/components/Calculator/CalculatorContent.d.ts +129 -0
  777. package/mobile/bundle/components/Calculator/CalculatorValueBlock.d.ts +8 -0
  778. package/mobile/bundle/components/Calculator/CreditCalculatorForm.d.ts +7 -0
  779. package/mobile/bundle/components/Calculator/DepositCalculatorForm.d.ts +5 -0
  780. package/mobile/bundle/components/Calculator/EmbeddableCalcBlocks.d.ts +9 -0
  781. package/mobile/bundle/components/Calculator/Rate.d.ts +7 -0
  782. package/mobile/bundle/components/Calculator/constants.d.ts +16 -0
  783. package/mobile/bundle/components/Calculator/getBonus.d.ts +2 -0
  784. package/mobile/bundle/components/Calculator/getCreditRate.d.ts +7 -0
  785. package/mobile/bundle/components/Calculator/getDefaultMonths.d.ts +1 -0
  786. package/mobile/bundle/components/Calculator/getDefaultSum.d.ts +1 -0
  787. package/mobile/bundle/components/Calculator/getMonthlyPayment.d.ts +6 -0
  788. package/mobile/bundle/components/Calculator/renderButtonSection.d.ts +2 -0
  789. package/mobile/bundle/components/Calculator/renderCalculatorBlock.d.ts +3 -0
  790. package/mobile/bundle/components/Calculator/renderFootnote.d.ts +2 -0
  791. package/mobile/bundle/components/Calculator/renderInitialFeeInput.d.ts +6 -0
  792. package/mobile/bundle/components/Calculator/renderMonthsInput.d.ts +8 -0
  793. package/mobile/bundle/components/Calculator/renderPaymentTypeSelector.d.ts +6 -0
  794. package/mobile/bundle/components/Calculator/renderProposal.d.ts +2 -0
  795. package/mobile/bundle/components/Calculator/renderProposalMortgage.d.ts +8 -0
  796. package/mobile/bundle/components/Calculator/renderRealEstateValue.d.ts +6 -0
  797. package/mobile/bundle/components/Calculator/renderWantedSumInput.d.ts +11 -0
  798. package/mobile/bundle/components/Calculator/useBonusCalculatorParams.d.ts +36 -0
  799. package/mobile/bundle/components/Calculator/useCalculatorParams.d.ts +1 -0
  800. package/mobile/bundle/components/Calculator/useCreditCalculatorParams.d.ts +27 -0
  801. package/mobile/bundle/components/CardTransfer/CardTransfer.d.ts +5 -0
  802. package/mobile/bundle/components/CardTransfer/CardTransferContent.d.ts +10 -0
  803. package/mobile/bundle/components/Catalog/Catalog.d.ts +5 -0
  804. package/mobile/bundle/components/Catalog/CatalogCard.d.ts +7 -0
  805. package/mobile/bundle/components/Catalog/CatalogContent.d.ts +25 -0
  806. package/mobile/bundle/components/ComparisonTable/ComparisonTable.d.ts +5 -0
  807. package/mobile/bundle/components/ComparisonTable/ComparisonTableBody.d.ts +12 -0
  808. package/mobile/bundle/components/ComparisonTable/ComparisonTableColumnHeaders.d.ts +10 -0
  809. package/mobile/bundle/components/ComparisonTable/ComparisonTableContent.d.ts +50 -0
  810. package/mobile/bundle/components/ComparisonTable/ComparisonTableRows.d.ts +13 -0
  811. package/mobile/bundle/components/ComparisonTable/HeaderCell.d.ts +11 -0
  812. package/mobile/bundle/components/ComparisonTable/TableCarouselContainer.d.ts +7 -0
  813. package/mobile/bundle/components/ComparisonTable/TableCell.d.ts +9 -0
  814. package/mobile/bundle/components/ComparisonTable/TableColumn.d.ts +15 -0
  815. package/mobile/bundle/components/ComparisonTable/TableRow.d.ts +14 -0
  816. package/mobile/bundle/components/ComparisonTable/TableRowContainer.d.ts +1 -0
  817. package/mobile/bundle/components/ComparisonTable/constants.d.ts +6 -0
  818. package/mobile/bundle/components/ContentPage/ContentPage.d.ts +10 -0
  819. package/mobile/bundle/components/ContentPage/ContentPageContext.d.ts +17 -0
  820. package/mobile/bundle/components/ContentPage/ContentPageHead.d.ts +7 -0
  821. package/mobile/bundle/components/ContentPage/computeAPIFallback.d.ts +5 -0
  822. package/mobile/bundle/components/ContentPage/filterBlocks.d.ts +3 -0
  823. package/mobile/bundle/components/ContentPage/isBlockInRegistry.d.ts +2 -0
  824. package/mobile/bundle/components/ContentPage/normalizeBlock.d.ts +2 -0
  825. package/mobile/bundle/components/ContentPage/normalizePage.d.ts +3 -0
  826. package/mobile/bundle/components/ContentPage/renderBlock.d.ts +13 -0
  827. package/mobile/bundle/components/ErrorBlock/ErrorBlock.d.ts +5 -0
  828. package/mobile/bundle/components/ErrorBlock/ErrorBlockContent.d.ts +48 -0
  829. package/mobile/bundle/components/ExchangeRateTile/CurrencyProps.d.ts +5 -0
  830. package/mobile/bundle/components/ExchangeRateTile/CurrencyTable.d.ts +7 -0
  831. package/mobile/bundle/components/ExchangeRateTile/CurrentLocation.d.ts +7 -0
  832. package/mobile/bundle/components/ExchangeRateTile/ExchangeCurrencyCalculator.d.ts +21 -0
  833. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTile.d.ts +5 -0
  834. package/mobile/bundle/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +8 -0
  835. package/mobile/bundle/components/ExchangeRateTile/calculateResult.d.ts +2 -0
  836. package/mobile/bundle/components/ExchangeRateTile/callbackCurrencySelect.d.ts +8 -0
  837. package/mobile/bundle/components/ExchangeRateTile/formatCurrency.d.ts +1 -0
  838. package/mobile/bundle/components/ExchangeRateTile/renderInput.d.ts +13 -0
  839. package/mobile/bundle/components/Footer/Contacts.d.ts +7 -0
  840. package/mobile/bundle/components/Footer/Footer.d.ts +5 -0
  841. package/mobile/bundle/components/Footer/FooterContent.d.ts +44 -0
  842. package/mobile/bundle/components/Footer/FooterLink.d.ts +5 -0
  843. package/mobile/bundle/components/Footer/HorizontalNavigation.d.ts +6 -0
  844. package/mobile/bundle/components/Footer/HorizontalNavigationLink.d.ts +8 -0
  845. package/mobile/bundle/components/Footer/MediaButton.d.ts +7 -0
  846. package/mobile/bundle/components/Footer/Sitemap.d.ts +8 -0
  847. package/mobile/bundle/components/Footer/SocialMedia.d.ts +8 -0
  848. package/mobile/bundle/components/Footer/TextInformation.d.ts +2 -0
  849. package/mobile/bundle/components/Footer/TextInformationLink.d.ts +8 -0
  850. package/mobile/bundle/components/Gallery/Gallery.d.ts +2 -0
  851. package/mobile/bundle/components/Gallery/GalleryCardInner.d.ts +2 -0
  852. package/mobile/bundle/components/Gallery/GalleryContainer.d.ts +13 -0
  853. package/mobile/bundle/components/Gallery/GalleryContent.d.ts +64 -0
  854. package/mobile/bundle/components/Gallery/GalleryInner.d.ts +7 -0
  855. package/mobile/bundle/components/Gallery/GalleryProps.d.ts +4 -0
  856. package/mobile/bundle/components/Gallery/constants.d.ts +4 -0
  857. package/mobile/bundle/components/GracePeriod/GracePeriod.d.ts +5 -0
  858. package/mobile/bundle/components/GracePeriod/GracePeriodContent.d.ts +32 -0
  859. package/mobile/bundle/components/Header/DropdownMenu.d.ts +14 -0
  860. package/mobile/bundle/components/Header/Header.d.ts +5 -0
  861. package/mobile/bundle/components/Header/Header.fallback.d.ts +2 -0
  862. package/mobile/bundle/components/Header/HeaderBurger.d.ts +11 -0
  863. package/mobile/bundle/components/Header/HeaderContent.d.ts +41 -0
  864. package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +10 -0
  865. package/mobile/bundle/components/Header/HeaderSecondaryMenuButton.d.ts +6 -0
  866. package/mobile/bundle/components/Header/HeaderSubMenu.d.ts +9 -0
  867. package/mobile/bundle/components/Header/HeaderTop.d.ts +6 -0
  868. package/mobile/bundle/components/Headline/Headline.d.ts +5 -0
  869. package/mobile/bundle/components/Headline/HeadlineContent.d.ts +15 -0
  870. package/mobile/bundle/components/Headline/constants.d.ts +20 -0
  871. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlock.d.ts +5 -0
  872. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockContent.d.ts +30 -0
  873. package/mobile/bundle/components/InsuranceAmountBlock/InsuranceAmountBlockInner.d.ts +7 -0
  874. package/mobile/bundle/components/LikeControl/LikeControl.d.ts +2 -0
  875. package/mobile/bundle/components/LinkDocs/LinkDocs.d.ts +5 -0
  876. package/mobile/bundle/components/LinkDocs/LinkDocsContent.d.ts +43 -0
  877. package/mobile/bundle/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
  878. package/mobile/bundle/components/LinkDocs/LinkDocsList.d.ts +9 -0
  879. package/mobile/bundle/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
  880. package/mobile/bundle/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
  881. package/mobile/bundle/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
  882. package/mobile/bundle/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
  883. package/mobile/bundle/components/LinkList/LinkList.d.ts +5 -0
  884. package/mobile/bundle/components/LinkList/LinkListContent.d.ts +8 -0
  885. package/mobile/bundle/components/LinkList/linkListContentExample.d.ts +2 -0
  886. package/mobile/bundle/components/MiniGallery/MiniGallery.d.ts +5 -0
  887. package/mobile/bundle/components/MiniGallery/MiniGalleryContent.d.ts +12 -0
  888. package/mobile/bundle/components/MobileAppTile/MobileAppTile.d.ts +5 -0
  889. package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +31 -0
  890. package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlock.d.ts +5 -0
  891. package/mobile/bundle/components/OfficeServicesBlock/OfficeServicesBlockContent.d.ts +10 -0
  892. package/mobile/bundle/components/OtherProducts/OtherProducts.d.ts +5 -0
  893. package/mobile/bundle/components/OtherProducts/OtherProductsContent.d.ts +25 -0
  894. package/mobile/bundle/components/OtherProducts/OtherProductsItem.d.ts +6 -0
  895. package/mobile/bundle/components/PictureText/PictureText.d.ts +5 -0
  896. package/mobile/bundle/components/PictureText/PictureTextContent.d.ts +34 -0
  897. package/mobile/bundle/components/Placeholder/Placeholder.d.ts +6 -0
  898. package/mobile/bundle/components/Placeholder/PlaceholderContent.d.ts +5 -0
  899. package/mobile/bundle/components/ProductBlock/ProductBlock.d.ts +5 -0
  900. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +54 -0
  901. package/mobile/bundle/components/ProductBlock/ProductBlockInner.d.ts +4 -0
  902. package/mobile/bundle/components/ProductBlock/renderBackwardButton.d.ts +4 -0
  903. package/mobile/bundle/components/ProductBlock/renderBenefit.d.ts +5 -0
  904. package/mobile/bundle/components/ProductGallery/ProductGallery.d.ts +5 -0
  905. package/mobile/bundle/components/ProductGallery/ProductGalleryBlock.d.ts +8 -0
  906. package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +29 -0
  907. package/mobile/bundle/components/ProductTile/ProductTile.d.ts +5 -0
  908. package/mobile/bundle/components/ProductTile/ProductTileContent.d.ts +33 -0
  909. package/mobile/bundle/components/PromoTile/PromoTile.d.ts +5 -0
  910. package/mobile/bundle/components/PromoTile/PromoTileContent.d.ts +12 -0
  911. package/mobile/bundle/components/Recommendation/Recommendation.d.ts +5 -0
  912. package/mobile/bundle/components/Recommendation/RecommendationCard.d.ts +7 -0
  913. package/mobile/bundle/components/Recommendation/RecommendationContent.d.ts +43 -0
  914. package/mobile/bundle/components/SafeDepositRental/RegionsAndBranches.d.ts +12 -0
  915. package/mobile/bundle/components/SafeDepositRental/RenderRadioButtons.d.ts +2 -0
  916. package/mobile/bundle/components/SafeDepositRental/RentalPeriod.d.ts +6 -0
  917. package/mobile/bundle/components/SafeDepositRental/SafeBoxCases.d.ts +11 -0
  918. package/mobile/bundle/components/SafeDepositRental/SafeDepositRental.d.ts +5 -0
  919. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalContent.d.ts +9 -0
  920. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalFields.d.ts +12 -0
  921. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalForm.d.ts +11 -0
  922. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +6 -0
  923. package/mobile/bundle/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +8 -0
  924. package/mobile/bundle/components/SafeDepositRental/WrapperSelect.d.ts +11 -0
  925. package/mobile/bundle/components/SafeDepositRental/YandexMap.d.ts +5 -0
  926. package/mobile/bundle/components/SafeDepositRental/renderClusterer.d.ts +2 -0
  927. package/mobile/bundle/components/SafeDepositRental/useGetRegions.d.ts +6 -0
  928. package/mobile/bundle/components/SafeDepositRental/useYandexMaps.d.ts +2 -0
  929. package/mobile/bundle/components/SafeDepositRental/utils.d.ts +3 -0
  930. package/mobile/bundle/components/StepsBlock/StepsBlock.d.ts +5 -0
  931. package/mobile/bundle/components/StepsBlock/StepsBlockContent.d.ts +43 -0
  932. package/mobile/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +11 -0
  933. package/mobile/bundle/components/StepsBlock/renderItems.d.ts +3 -0
  934. package/mobile/bundle/components/Tabs/Tabs.d.ts +13 -0
  935. package/mobile/bundle/components/Tabs/TabsContent.d.ts +36 -0
  936. package/mobile/bundle/components/Tabs/renderGroupTab.d.ts +4 -0
  937. package/mobile/bundle/components/Tabs/renderLinkTab.d.ts +9 -0
  938. package/mobile/bundle/components/Tabs/renderTab.d.ts +12 -0
  939. package/mobile/bundle/components/Tabs/tabItemClasses.d.ts +6 -0
  940. package/mobile/bundle/components/TariffsTable/EmbeddableCellData.d.ts +12 -0
  941. package/mobile/bundle/components/TariffsTable/TableTileHeader.d.ts +2 -0
  942. package/mobile/bundle/components/TariffsTable/TariffsTable.d.ts +5 -0
  943. package/mobile/bundle/components/TariffsTable/TariffsTableCell.d.ts +9 -0
  944. package/mobile/bundle/components/TariffsTable/TariffsTableContent.d.ts +95 -0
  945. package/mobile/bundle/components/TariffsTable/TariffsTableHorizontal.d.ts +6 -0
  946. package/mobile/bundle/components/TariffsTable/TariffsTableRow.d.ts +9 -0
  947. package/mobile/bundle/components/TariffsTable/TariffsTableRowContainer.d.ts +7 -0
  948. package/mobile/bundle/components/TariffsTable/TariffsTableTileCell.d.ts +8 -0
  949. package/mobile/bundle/components/TariffsTable/TariffsTableVertical.d.ts +6 -0
  950. package/mobile/bundle/components/TariffsTable/constants.d.ts +4 -0
  951. package/mobile/bundle/components/TariffsTable/dataFixture.d.ts +5 -0
  952. package/mobile/bundle/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
  953. package/mobile/bundle/components/TextBlock/TextBlock.d.ts +5 -0
  954. package/mobile/bundle/components/TextBlock/TextBlockContent.d.ts +22 -0
  955. package/mobile/bundle/components/Tile/Tile.d.ts +6 -0
  956. package/mobile/bundle/components/Tile/TileContent.d.ts +34 -0
  957. package/mobile/bundle/content-page-repository/ContentPageRepository.d.ts +11 -0
  958. package/mobile/bundle/content-page-repository/TransformationOptions.d.ts +4 -0
  959. package/mobile/bundle/content-page-repository/index.d.ts +2 -0
  960. package/mobile/bundle/content-page-repository/mapJSON.d.ts +1 -0
  961. package/mobile/bundle/content-page-repository/transformContentPage.d.ts +3 -0
  962. package/mobile/bundle/content-page-repository/transformImg.d.ts +11 -0
  963. package/mobile/bundle/content-page-repository/transformMarkdown.d.ts +1 -0
  964. package/mobile/bundle/content-page-repository/transformPicture.d.ts +3 -0
  965. package/mobile/bundle/content-page-repository/transformSrc.d.ts +3 -0
  966. package/mobile/bundle/hooks/useExchangeRates.d.ts +2 -0
  967. package/mobile/bundle/hooks/useExternalNS.d.ts +2 -0
  968. package/mobile/bundle/hooks/useGeolocation.d.ts +1 -0
  969. package/mobile/bundle/hooks/useLikeService.d.ts +5 -0
  970. package/mobile/bundle/hooks/useLink.d.ts +18 -0
  971. package/mobile/bundle/hooks/useOutsideClick.d.ts +5 -0
  972. package/{lib/hooks/useFetchSafeBoxes.d.ts → mobile/bundle/hooks/useSafeBoxes.d.ts} +1 -3
  973. package/mobile/bundle/hooks/useSearch.d.ts +4 -0
  974. package/mobile/bundle/hooks/useTableArrowScrollControl.d.ts +7 -0
  975. package/mobile/bundle/hooks/useTariffsInnerTableData.d.ts +1 -0
  976. package/mobile/bundle/icons/IconName.d.ts +194 -0
  977. package/mobile/bundle/index.d.ts +9 -0
  978. package/mobile/bundle/model/AlignType.d.ts +9 -0
  979. package/mobile/bundle/model/BgColorVersion.d.ts +8 -0
  980. package/mobile/bundle/model/BlockDecorator.d.ts +14 -0
  981. package/mobile/bundle/model/BlockVersion.d.ts +11 -0
  982. package/mobile/bundle/model/BlocksRegistry.d.ts +5 -0
  983. package/mobile/bundle/model/ButtonVersion.d.ts +6 -0
  984. package/mobile/bundle/model/ContentPageDef.d.ts +52 -0
  985. package/mobile/bundle/model/EmptyOptionType.d.ts +4 -0
  986. package/mobile/bundle/model/Fallback.d.ts +5 -0
  987. package/mobile/bundle/model/Footnote.d.ts +4 -0
  988. package/mobile/bundle/model/GalleryVersion.d.ts +1 -0
  989. package/mobile/bundle/model/HeadlineType.d.ts +29 -0
  990. package/mobile/bundle/model/IconVersion.d.ts +9 -0
  991. package/mobile/bundle/model/ImageSize.d.ts +6 -0
  992. package/mobile/bundle/model/InputTypes.d.ts +1 -0
  993. package/mobile/bundle/model/LinkProps.d.ts +24 -0
  994. package/mobile/bundle/model/ListOrientation.d.ts +8 -0
  995. package/mobile/bundle/model/Picture.d.ts +59 -0
  996. package/mobile/bundle/model/ProductColorVersion.d.ts +4 -0
  997. package/mobile/bundle/model/SitemapProps.d.ts +24 -0
  998. package/mobile/bundle/model/SizeVersion.d.ts +8 -0
  999. package/mobile/bundle/model/TableVersion.d.ts +1 -0
  1000. package/mobile/bundle/model/VNode.d.ts +1 -0
  1001. package/mobile/bundle/react/setup-fixture.d.ts +4 -0
  1002. package/mobile/bundle/services/sitemap/SitemapProps.d.ts +24 -0
  1003. package/mobile/bundle/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
  1004. package/mobile/bundle/services/sitemap/findActiveSubItem.d.ts +3 -0
  1005. package/mobile/bundle/services/sitemap/isHrefActive.d.ts +4 -0
  1006. package/mobile/bundle/services/sitemap/isSubItemActive.d.ts +3 -0
  1007. package/mobile/bundle/services/sitemap/isTopItemActive.d.ts +3 -0
  1008. package/mobile/bundle/services/sitemap/mergeTopItems.d.ts +2 -0
  1009. package/mobile/bundle/services/sitemap/useSitemap.d.ts +3 -0
  1010. package/mobile/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +4 -0
  1011. package/mobile/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +20 -0
  1012. package/mobile/bundle/ui-kit/BlockWrapper.d.ts +7 -0
  1013. package/mobile/bundle/ui-kit/BlocksList/BlocksListProps.d.ts +96 -0
  1014. package/mobile/bundle/ui-kit/BlocksList/EmbeddableBlocks.d.ts +8 -0
  1015. package/mobile/bundle/ui-kit/BlocksList/renderBlocksList.d.ts +9 -0
  1016. package/mobile/bundle/ui-kit/Breadcrumb.d.ts +6 -0
  1017. package/mobile/bundle/ui-kit/Button/ArrowButton.d.ts +2 -0
  1018. package/mobile/bundle/ui-kit/Button/Button.d.ts +2 -0
  1019. package/mobile/bundle/ui-kit/Button/ButtonInner.d.ts +7 -0
  1020. package/mobile/bundle/ui-kit/Button/ButtonProps.d.ts +54 -0
  1021. package/mobile/bundle/ui-kit/Button/ButtonSection.d.ts +5 -0
  1022. package/mobile/bundle/ui-kit/Button/GetButtonClassParams.d.ts +6 -0
  1023. package/mobile/bundle/ui-kit/Button/LikeButton.d.ts +6 -0
  1024. package/mobile/bundle/ui-kit/Button/buttonClassNameConstants.d.ts +5 -0
  1025. package/mobile/bundle/ui-kit/Button/getDisabledButtonClasses.d.ts +2 -0
  1026. package/mobile/bundle/ui-kit/Button/getRegularButtonClasses.d.ts +2 -0
  1027. package/mobile/bundle/ui-kit/Button/renderArrows.d.ts +9 -0
  1028. package/mobile/bundle/ui-kit/Checkbox/Checkbox.d.ts +2 -0
  1029. package/mobile/bundle/ui-kit/Checkbox/CheckboxProps.d.ts +7 -0
  1030. package/mobile/bundle/ui-kit/CurrencyInput/CurrencyInput.d.ts +2 -0
  1031. package/mobile/bundle/ui-kit/CurrencyInput/CurrencyInputProps.d.ts +5 -0
  1032. package/mobile/bundle/ui-kit/CurrencyInput/adjustValue .d.ts +3 -0
  1033. package/mobile/bundle/ui-kit/Description/Description.d.ts +5 -0
  1034. package/mobile/bundle/ui-kit/Foldable/DefaultButton.d.ts +2 -0
  1035. package/mobile/bundle/ui-kit/Foldable/FoldButtonProps.d.ts +12 -0
  1036. package/mobile/bundle/ui-kit/Foldable/Foldable.d.ts +16 -0
  1037. package/mobile/bundle/ui-kit/HeaderItem/HeaderItem.d.ts +3 -0
  1038. package/mobile/bundle/ui-kit/Heading/Heading.d.ts +2 -0
  1039. package/mobile/bundle/ui-kit/Heading/HeadingProps.d.ts +23 -0
  1040. package/mobile/bundle/ui-kit/Icon/Icon.d.ts +2 -0
  1041. package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +21 -0
  1042. package/mobile/bundle/ui-kit/Img/Img.d.ts +2 -0
  1043. package/mobile/bundle/ui-kit/Img/ImgAsPicture.d.ts +4 -0
  1044. package/mobile/bundle/ui-kit/Img/ImgInner.d.ts +2 -0
  1045. package/mobile/bundle/ui-kit/Img/ImgProps.d.ts +11 -0
  1046. package/mobile/bundle/ui-kit/Img/getIconVersion.d.ts +1 -0
  1047. package/mobile/bundle/ui-kit/InnerTable/InnerTable.d.ts +5 -0
  1048. package/mobile/bundle/ui-kit/InnerTable/InnerTableBody.d.ts +7 -0
  1049. package/mobile/bundle/ui-kit/InnerTable/InnerTableBodyItem.d.ts +6 -0
  1050. package/mobile/bundle/ui-kit/InnerTable/InnerTableButton.d.ts +6 -0
  1051. package/mobile/bundle/ui-kit/InnerTable/InnerTableHeader.d.ts +7 -0
  1052. package/mobile/bundle/ui-kit/InnerTable/InnerTableProps.d.ts +24 -0
  1053. package/mobile/bundle/ui-kit/Input/Input.d.ts +2 -0
  1054. package/mobile/bundle/ui-kit/Input/InputProps.d.ts +16 -0
  1055. package/mobile/bundle/ui-kit/InputRange/InputRange.d.ts +2 -0
  1056. package/mobile/bundle/ui-kit/InputRange/InputRangeProps.d.ts +11 -0
  1057. package/mobile/bundle/ui-kit/IntersectionObserverTag.d.ts +11 -0
  1058. package/mobile/bundle/ui-kit/List/List.d.ts +2 -0
  1059. package/mobile/bundle/ui-kit/List/ListContent.d.ts +4 -0
  1060. package/mobile/bundle/ui-kit/List/ListItem.d.ts +12 -0
  1061. package/mobile/bundle/ui-kit/List/ListProps.d.ts +26 -0
  1062. package/mobile/bundle/ui-kit/Logo/Logo.d.ts +8 -0
  1063. package/mobile/bundle/ui-kit/Radio/Radio.d.ts +2 -0
  1064. package/mobile/bundle/ui-kit/Radio/RadioProps.d.ts +9 -0
  1065. package/mobile/bundle/ui-kit/RadioButtonGroup/RadioButtonGroup.d.ts +12 -0
  1066. package/mobile/bundle/ui-kit/SVG.d.ts +19 -0
  1067. package/mobile/bundle/ui-kit/SearchBar/SearchBar.d.ts +2 -0
  1068. package/mobile/bundle/ui-kit/SearchBar/SearchBarInner.d.ts +5 -0
  1069. package/mobile/bundle/ui-kit/Select/Select.d.ts +14 -0
  1070. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  1071. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
  1072. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
  1073. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
  1074. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +18 -0
  1075. package/mobile/bundle/ui-kit/SwipeListControl/constants.d.ts +2 -0
  1076. package/mobile/bundle/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
  1077. package/mobile/bundle/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +4 -0
  1078. package/mobile/bundle/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
  1079. package/mobile/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControl.d.ts +2 -0
  1080. package/mobile/bundle/ui-kit/TableArrowScrollControl/TableArrowScrollControlProps.d.ts +7 -0
  1081. package/mobile/bundle/ui-kit/TopItem/TopItem.d.ts +14 -0
  1082. package/mobile/bundle/utils/addSpacesBetweenNumbers.d.ts +1 -0
  1083. package/mobile/bundle/utils/adjustHref.d.ts +4 -0
  1084. package/mobile/bundle/utils/assertUnreachable.d.ts +1 -0
  1085. package/mobile/bundle/utils/changeHashOnObserve.d.ts +9 -0
  1086. package/mobile/bundle/utils/checkIsIconRenderable.d.ts +2 -0
  1087. package/mobile/bundle/utils/clamp.d.ts +1 -0
  1088. package/mobile/bundle/utils/fetchJSON.d.ts +2 -0
  1089. package/mobile/bundle/utils/getAccordionItems.d.ts +1 -0
  1090. package/mobile/bundle/utils/getColSpan.d.ts +1 -0
  1091. package/mobile/bundle/utils/getCurrentDate.d.ts +1 -0
  1092. package/mobile/bundle/utils/getGeolocation.d.ts +1 -0
  1093. package/mobile/bundle/utils/getSanitizedValue.d.ts +1 -0
  1094. package/mobile/bundle/utils/isPictureSizeEmpty.d.ts +2 -0
  1095. package/mobile/bundle/utils/joinList.d.ts +1 -0
  1096. package/mobile/bundle/utils/maxBy.d.ts +2 -0
  1097. package/mobile/bundle/utils/roundTo.d.ts +1 -0
  1098. package/mobile/bundle/utils/style2className.d.ts +1 -0
  1099. package/mobile/bundle/utils/tableFunc.d.ts +2 -0
  1100. package/mobile/bundle/utils/url.d.ts +5 -0
  1101. package/mobile/bundle/utils/withoutMobilePath.d.ts +2 -0
  1102. package/mobile/dist/components/Accordion/AccordionItem.d.ts +1 -1
  1103. package/mobile/dist/components/Accordion/AccordionItem.js +9 -7
  1104. package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
  1105. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  1106. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  1107. package/mobile/dist/components/Blocks.d.ts +0 -1
  1108. package/mobile/dist/components/Blocks.js +0 -2
  1109. package/mobile/dist/components/Blocks.js.map +1 -1
  1110. package/mobile/dist/components/Calculator/CalculatorContent.d.ts +1 -1
  1111. package/mobile/dist/components/CardTransfer/CardTransfer.js +3 -2
  1112. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  1113. package/mobile/dist/components/Catalog/Catalog.js +1 -1
  1114. package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
  1115. package/mobile/dist/components/Catalog/CatalogCard.js +1 -23
  1116. package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
  1117. package/mobile/dist/components/ComparisonTable/ComparisonTable.js +13 -48
  1118. package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  1119. package/mobile/dist/components/ComparisonTable/TableColumn.d.ts +5 -8
  1120. package/mobile/dist/components/ComparisonTable/TableColumn.js +2 -8
  1121. package/mobile/dist/components/ComparisonTable/TableColumn.js.map +1 -1
  1122. package/mobile/dist/components/ContentPage/ContentPageContext.d.ts +0 -11
  1123. package/mobile/dist/components/ErrorBlock/ErrorBlock.js +1 -1
  1124. package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  1125. package/mobile/dist/components/ExchangeRateTile/renderInput.js +1 -1
  1126. package/mobile/dist/components/ExchangeRateTile/renderInput.js.map +1 -1
  1127. package/mobile/dist/components/Footer/Contacts.js +1 -1
  1128. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  1129. package/mobile/dist/components/Footer/FooterContent.d.ts +5 -9
  1130. package/mobile/dist/components/Gallery/Gallery.js +7 -3
  1131. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  1132. package/mobile/dist/components/Gallery/GalleryCardInner.js +14 -17
  1133. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  1134. package/mobile/dist/components/Gallery/GalleryContainer.js +2 -2
  1135. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  1136. package/mobile/dist/components/Gallery/GalleryContent.d.ts +11 -3
  1137. package/mobile/dist/components/Header/HeaderSubMenu.js +3 -2
  1138. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  1139. package/mobile/dist/components/Headline/constants.d.ts +2 -1
  1140. package/mobile/dist/components/Headline/constants.js +10 -1
  1141. package/mobile/dist/components/Headline/constants.js.map +1 -1
  1142. package/mobile/dist/components/MiniGallery/MiniGalleryContent.d.ts +1 -0
  1143. package/mobile/dist/components/OtherProducts/OtherProductsItem.js +4 -2
  1144. package/mobile/dist/components/OtherProducts/OtherProductsItem.js.map +1 -1
  1145. package/mobile/dist/components/ProductTile/ProductTile.js +1 -1
  1146. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  1147. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +5 -0
  1148. package/mobile/dist/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
  1149. package/mobile/dist/components/SafeDepositRental/SafeBoxCases.d.ts +1 -1
  1150. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  1151. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +17 -3
  1152. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  1153. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.d.ts +7 -4
  1154. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js +3 -5
  1155. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  1156. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.d.ts +7 -3
  1157. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js +7 -28
  1158. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  1159. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +1 -1
  1160. package/mobile/dist/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -2
  1161. package/mobile/dist/components/SafeDepositRental/utils.d.ts +1 -1
  1162. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +9 -2
  1163. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
  1164. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js +2 -0
  1165. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  1166. package/mobile/dist/components/StepsBlock/renderItems.d.ts +3 -0
  1167. package/mobile/dist/components/StepsBlock/renderItems.js +6 -0
  1168. package/mobile/dist/components/StepsBlock/renderItems.js.map +1 -0
  1169. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +1 -2
  1170. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  1171. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +1 -1
  1172. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  1173. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +1 -2
  1174. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  1175. package/mobile/dist/components/TariffsTable/dataFixture.js +4 -2
  1176. package/mobile/dist/components/TariffsTable/dataFixture.js.map +1 -1
  1177. package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.d.ts +1 -1
  1178. package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.js +1 -2
  1179. package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -1
  1180. package/mobile/dist/components/Tile/Tile.js +2 -3
  1181. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  1182. package/mobile/dist/hooks/useOutsideClick.d.ts +5 -0
  1183. package/mobile/dist/hooks/useOutsideClick.js +21 -0
  1184. package/mobile/dist/hooks/useOutsideClick.js.map +1 -0
  1185. package/mobile/dist/hooks/useSafeBoxes.d.ts +20 -0
  1186. package/{dist/hooks/useFetchSafeBoxes.js → mobile/dist/hooks/useSafeBoxes.js} +9 -10
  1187. package/mobile/dist/hooks/useSafeBoxes.js.map +1 -0
  1188. package/mobile/dist/icons/IconName.d.ts +1 -92
  1189. package/mobile/dist/icons/IconName.js +4 -4
  1190. package/mobile/dist/icons/IconName.js.map +1 -1
  1191. package/mobile/dist/model/HeadlineType.d.ts +8 -0
  1192. package/mobile/dist/model/Picture.d.ts +1 -0
  1193. package/mobile/dist/react/setup-fixture.js +0 -2
  1194. package/mobile/dist/react/setup-fixture.js.map +1 -1
  1195. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +3 -1
  1196. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  1197. package/mobile/dist/ui-kit/BlockWrapper.d.ts +0 -3
  1198. package/mobile/dist/ui-kit/BlockWrapper.js +5 -5
  1199. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  1200. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.d.ts +1 -1
  1201. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js +1 -1
  1202. package/mobile/dist/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  1203. package/mobile/dist/ui-kit/Button/Button.js +1 -1
  1204. package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
  1205. package/mobile/dist/ui-kit/Button/ButtonInner.js +3 -2
  1206. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  1207. package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +1 -7
  1208. package/mobile/dist/ui-kit/Button/ButtonSection.js +5 -10
  1209. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -1
  1210. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.d.ts +1 -0
  1211. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js +7 -1
  1212. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  1213. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js +7 -1
  1214. package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  1215. package/mobile/dist/ui-kit/CurrencyInput/adjustValue .d.ts +2 -0
  1216. package/mobile/dist/ui-kit/CurrencyInput/adjustValue .js +11 -2
  1217. package/mobile/dist/ui-kit/CurrencyInput/adjustValue .js.map +1 -1
  1218. package/mobile/dist/ui-kit/Foldable/DefaultButton.d.ts +2 -0
  1219. package/mobile/dist/ui-kit/Foldable/DefaultButton.js +12 -0
  1220. package/mobile/dist/ui-kit/Foldable/DefaultButton.js.map +1 -0
  1221. package/mobile/dist/ui-kit/Foldable/FoldButtonProps.d.ts +12 -0
  1222. package/mobile/dist/ui-kit/Foldable/FoldButtonProps.js +2 -0
  1223. package/mobile/dist/ui-kit/Foldable/FoldButtonProps.js.map +1 -0
  1224. package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +11 -17
  1225. package/mobile/dist/ui-kit/Foldable/Foldable.js +22 -14
  1226. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  1227. package/mobile/dist/ui-kit/Icon/Icon.js +4 -5
  1228. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  1229. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +0 -1
  1230. package/mobile/dist/ui-kit/Img/Img.js +1 -3
  1231. package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
  1232. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js +1 -1
  1233. package/mobile/dist/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  1234. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js +6 -2
  1235. package/mobile/dist/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  1236. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js +1 -1
  1237. package/mobile/dist/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  1238. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  1239. package/mobile/dist/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  1240. package/mobile/dist/ui-kit/Input/Input.js +12 -3
  1241. package/mobile/dist/ui-kit/Input/Input.js.map +1 -1
  1242. package/mobile/dist/ui-kit/Input/InputProps.d.ts +2 -0
  1243. package/mobile/dist/ui-kit/InputRange/InputRange.js +2 -2
  1244. package/mobile/dist/ui-kit/InputRange/InputRange.js.map +1 -1
  1245. package/mobile/dist/ui-kit/IntersectionObserverTag.d.ts +11 -0
  1246. package/mobile/dist/ui-kit/IntersectionObserverTag.js +22 -0
  1247. package/mobile/dist/ui-kit/IntersectionObserverTag.js.map +1 -0
  1248. package/mobile/dist/ui-kit/List/List.js +13 -8
  1249. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  1250. package/mobile/dist/ui-kit/List/ListItem.d.ts +2 -2
  1251. package/mobile/dist/ui-kit/List/ListItem.js +8 -23
  1252. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  1253. package/mobile/dist/ui-kit/List/ListProps.d.ts +5 -3
  1254. package/mobile/dist/ui-kit/Radio/Radio.js +1 -1
  1255. package/mobile/dist/ui-kit/Radio/Radio.js.map +1 -1
  1256. package/mobile/dist/ui-kit/Select/Select.js +4 -1
  1257. package/mobile/dist/ui-kit/Select/Select.js.map +1 -1
  1258. package/mobile/dist/utils/getSanitizedValue.d.ts +1 -0
  1259. package/mobile/dist/utils/getSanitizedValue.js +5 -0
  1260. package/mobile/dist/utils/getSanitizedValue.js.map +1 -0
  1261. package/mobile/lib/components/Accordion/AccordionItem.d.ts +1 -1
  1262. package/mobile/lib/components/Accordion/AccordionItem.js +9 -7
  1263. package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
  1264. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  1265. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  1266. package/mobile/lib/components/Blocks.d.ts +0 -1
  1267. package/mobile/lib/components/Blocks.js +0 -2
  1268. package/mobile/lib/components/Blocks.js.map +1 -1
  1269. package/mobile/lib/components/Calculator/CalculatorContent.d.ts +1 -1
  1270. package/mobile/lib/components/CardTransfer/CardTransfer.js +3 -2
  1271. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  1272. package/mobile/lib/components/Catalog/Catalog.js +1 -1
  1273. package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
  1274. package/mobile/lib/components/Catalog/CatalogCard.js +1 -23
  1275. package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
  1276. package/mobile/lib/components/ComparisonTable/ComparisonTable.js +14 -49
  1277. package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  1278. package/mobile/lib/components/ComparisonTable/TableColumn.d.ts +5 -8
  1279. package/mobile/lib/components/ComparisonTable/TableColumn.js +2 -8
  1280. package/mobile/lib/components/ComparisonTable/TableColumn.js.map +1 -1
  1281. package/mobile/lib/components/ContentPage/ContentPageContext.d.ts +0 -11
  1282. package/mobile/lib/components/ErrorBlock/ErrorBlock.js +1 -1
  1283. package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  1284. package/mobile/lib/components/ExchangeRateTile/renderInput.js +1 -1
  1285. package/mobile/lib/components/ExchangeRateTile/renderInput.js.map +1 -1
  1286. package/mobile/lib/components/Footer/Contacts.js +1 -1
  1287. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  1288. package/mobile/lib/components/Footer/FooterContent.d.ts +5 -9
  1289. package/mobile/lib/components/Gallery/Gallery.js +7 -3
  1290. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  1291. package/mobile/lib/components/Gallery/GalleryCardInner.js +15 -18
  1292. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  1293. package/mobile/lib/components/Gallery/GalleryContainer.js +2 -2
  1294. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  1295. package/mobile/lib/components/Gallery/GalleryContent.d.ts +11 -3
  1296. package/mobile/lib/components/Header/HeaderSubMenu.js +2 -1
  1297. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  1298. package/mobile/lib/components/Headline/constants.d.ts +2 -1
  1299. package/mobile/lib/components/Headline/constants.js +9 -0
  1300. package/mobile/lib/components/Headline/constants.js.map +1 -1
  1301. package/mobile/lib/components/MiniGallery/MiniGalleryContent.d.ts +1 -0
  1302. package/mobile/lib/components/OtherProducts/OtherProductsItem.js +4 -2
  1303. package/mobile/lib/components/OtherProducts/OtherProductsItem.js.map +1 -1
  1304. package/mobile/lib/components/ProductTile/ProductTile.js +1 -1
  1305. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  1306. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +5 -0
  1307. package/mobile/lib/components/SafeDepositRental/RegionsAndBranches.d.ts +1 -1
  1308. package/mobile/lib/components/SafeDepositRental/SafeBoxCases.d.ts +1 -1
  1309. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.d.ts +1 -1
  1310. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +18 -4
  1311. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  1312. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.d.ts +7 -4
  1313. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js +3 -5
  1314. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalFields.js.map +1 -1
  1315. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.d.ts +7 -3
  1316. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js +9 -30
  1317. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalForm.js.map +1 -1
  1318. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTotal.d.ts +1 -1
  1319. package/mobile/lib/components/SafeDepositRental/SafeDepositRentalTypes.d.ts +0 -2
  1320. package/mobile/lib/components/SafeDepositRental/utils.d.ts +1 -1
  1321. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +9 -2
  1322. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +1 -0
  1323. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js +2 -0
  1324. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  1325. package/mobile/lib/components/StepsBlock/renderItems.d.ts +3 -0
  1326. package/mobile/lib/components/StepsBlock/renderItems.js +3 -0
  1327. package/mobile/lib/components/StepsBlock/renderItems.js.map +1 -0
  1328. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +1 -2
  1329. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  1330. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +1 -1
  1331. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  1332. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +1 -2
  1333. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  1334. package/mobile/lib/components/TariffsTable/dataFixture.js +4 -2
  1335. package/mobile/lib/components/TariffsTable/dataFixture.js.map +1 -1
  1336. package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.d.ts +1 -1
  1337. package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.js +1 -2
  1338. package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -1
  1339. package/mobile/lib/components/Tile/Tile.js +2 -3
  1340. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  1341. package/mobile/lib/hooks/useOutsideClick.d.ts +5 -0
  1342. package/mobile/lib/hooks/useOutsideClick.js +18 -0
  1343. package/mobile/lib/hooks/useOutsideClick.js.map +1 -0
  1344. package/mobile/lib/hooks/useSafeBoxes.d.ts +20 -0
  1345. package/mobile/lib/hooks/{useFetchSafeBoxes.js → useSafeBoxes.js} +7 -8
  1346. package/mobile/lib/hooks/useSafeBoxes.js.map +1 -0
  1347. package/mobile/lib/icons/IconName.d.ts +1 -92
  1348. package/mobile/lib/icons/IconName.js +3 -3
  1349. package/mobile/lib/icons/IconName.js.map +1 -1
  1350. package/mobile/lib/model/HeadlineType.d.ts +8 -0
  1351. package/mobile/lib/model/Picture.d.ts +1 -0
  1352. package/mobile/lib/react/setup-fixture.js +0 -2
  1353. package/mobile/lib/react/setup-fixture.js.map +1 -1
  1354. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +3 -1
  1355. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  1356. package/mobile/lib/ui-kit/BlockWrapper.d.ts +0 -3
  1357. package/mobile/lib/ui-kit/BlockWrapper.js +4 -4
  1358. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  1359. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.d.ts +1 -1
  1360. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js +1 -1
  1361. package/mobile/lib/ui-kit/BlocksList/renderBlocksList.js.map +1 -1
  1362. package/mobile/lib/ui-kit/Button/Button.js +1 -1
  1363. package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
  1364. package/mobile/lib/ui-kit/Button/ButtonInner.js +3 -2
  1365. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  1366. package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +1 -7
  1367. package/mobile/lib/ui-kit/Button/ButtonSection.js +5 -10
  1368. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -1
  1369. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.d.ts +1 -0
  1370. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js +6 -0
  1371. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  1372. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js +8 -2
  1373. package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
  1374. package/mobile/lib/ui-kit/CurrencyInput/adjustValue .d.ts +2 -0
  1375. package/mobile/lib/ui-kit/CurrencyInput/adjustValue .js +9 -2
  1376. package/mobile/lib/ui-kit/CurrencyInput/adjustValue .js.map +1 -1
  1377. package/mobile/lib/ui-kit/Foldable/DefaultButton.d.ts +2 -0
  1378. package/mobile/lib/ui-kit/Foldable/DefaultButton.js +10 -0
  1379. package/mobile/lib/ui-kit/Foldable/DefaultButton.js.map +1 -0
  1380. package/mobile/lib/ui-kit/Foldable/FoldButtonProps.d.ts +12 -0
  1381. package/mobile/lib/ui-kit/Foldable/FoldButtonProps.js +2 -0
  1382. package/mobile/lib/ui-kit/Foldable/FoldButtonProps.js.map +1 -0
  1383. package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +11 -17
  1384. package/mobile/lib/ui-kit/Foldable/Foldable.js +22 -14
  1385. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  1386. package/mobile/lib/ui-kit/Icon/Icon.js +4 -5
  1387. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  1388. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +0 -1
  1389. package/mobile/lib/ui-kit/Img/Img.js +1 -3
  1390. package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
  1391. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js +1 -1
  1392. package/mobile/lib/ui-kit/InnerTable/InnerTableBody.js.map +1 -1
  1393. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js +6 -2
  1394. package/mobile/lib/ui-kit/InnerTable/InnerTableBodyItem.js.map +1 -1
  1395. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js +1 -1
  1396. package/mobile/lib/ui-kit/InnerTable/InnerTableButton.js.map +1 -1
  1397. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js +1 -1
  1398. package/mobile/lib/ui-kit/InnerTable/InnerTableHeader.js.map +1 -1
  1399. package/mobile/lib/ui-kit/Input/Input.js +12 -3
  1400. package/mobile/lib/ui-kit/Input/Input.js.map +1 -1
  1401. package/mobile/lib/ui-kit/Input/InputProps.d.ts +2 -0
  1402. package/mobile/lib/ui-kit/InputRange/InputRange.js +2 -2
  1403. package/mobile/lib/ui-kit/InputRange/InputRange.js.map +1 -1
  1404. package/mobile/lib/ui-kit/IntersectionObserverTag.d.ts +11 -0
  1405. package/mobile/lib/ui-kit/IntersectionObserverTag.js +20 -0
  1406. package/mobile/lib/ui-kit/IntersectionObserverTag.js.map +1 -0
  1407. package/mobile/lib/ui-kit/List/List.js +13 -8
  1408. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  1409. package/mobile/lib/ui-kit/List/ListItem.d.ts +2 -2
  1410. package/mobile/lib/ui-kit/List/ListItem.js +7 -21
  1411. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  1412. package/mobile/lib/ui-kit/List/ListProps.d.ts +5 -3
  1413. package/mobile/lib/ui-kit/Radio/Radio.js +1 -1
  1414. package/mobile/lib/ui-kit/Radio/Radio.js.map +1 -1
  1415. package/mobile/lib/ui-kit/Select/Select.js +5 -2
  1416. package/mobile/lib/ui-kit/Select/Select.js.map +1 -1
  1417. package/mobile/lib/utils/getSanitizedValue.d.ts +1 -0
  1418. package/mobile/lib/utils/getSanitizedValue.js +2 -0
  1419. package/mobile/lib/utils/getSanitizedValue.js.map +1 -0
  1420. package/mobile/src/components/Accordion/AccordionItem.tsx +50 -26
  1421. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  1422. package/mobile/src/components/Blocks.ts +0 -2
  1423. package/mobile/src/components/Calculator/CalculatorContent.ts +1 -1
  1424. package/mobile/src/components/CardTransfer/CardTransfer.tsx +3 -1
  1425. package/mobile/src/components/Catalog/Catalog.tsx +2 -2
  1426. package/mobile/src/components/Catalog/CatalogCard.tsx +1 -35
  1427. package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +49 -120
  1428. package/mobile/src/components/ComparisonTable/TableColumn.tsx +25 -27
  1429. package/mobile/src/components/ContentPage/ContentPageContext.tsx +0 -14
  1430. package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +1 -3
  1431. package/mobile/src/components/ExchangeRateTile/renderInput.tsx +1 -1
  1432. package/mobile/src/components/Footer/Contacts.tsx +1 -0
  1433. package/mobile/src/components/Footer/FooterContent.ts +5 -10
  1434. package/mobile/src/components/Gallery/Gallery.tsx +15 -5
  1435. package/mobile/src/components/Gallery/GalleryCardInner.tsx +60 -44
  1436. package/mobile/src/components/Gallery/GalleryContainer.tsx +10 -2
  1437. package/mobile/src/components/Gallery/GalleryContent.ts +11 -3
  1438. package/mobile/src/components/Header/HeaderSubMenu.tsx +2 -1
  1439. package/mobile/src/components/Headline/constants.ts +11 -1
  1440. package/mobile/src/components/MiniGallery/MiniGalleryContent.ts +1 -0
  1441. package/mobile/src/components/OtherProducts/OtherProductsItem.tsx +18 -9
  1442. package/mobile/src/components/ProductTile/ProductTile.tsx +3 -3
  1443. package/mobile/src/components/Recommendation/RecommendationContent.ts +5 -0
  1444. package/mobile/src/components/SafeDepositRental/RegionsAndBranches.tsx +1 -1
  1445. package/mobile/src/components/SafeDepositRental/SafeBoxCases.tsx +1 -1
  1446. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +34 -7
  1447. package/mobile/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +13 -21
  1448. package/mobile/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +21 -49
  1449. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
  1450. package/mobile/src/components/SafeDepositRental/SafeDepositRentalTypes.ts +0 -3
  1451. package/mobile/src/components/SafeDepositRental/utils.ts +1 -1
  1452. package/mobile/src/components/StepsBlock/StepsBlock.ui.json +8 -0
  1453. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +9 -2
  1454. package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +3 -0
  1455. package/mobile/src/components/StepsBlock/renderItems.tsx +17 -0
  1456. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +4 -8
  1457. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
  1458. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -4
  1459. package/mobile/src/components/TariffsTable/{dataFixture.ts → dataFixture.tsx} +3 -2
  1460. package/mobile/src/components/TariffsTable/utils/getButtonAriaLabel.ts +1 -3
  1461. package/mobile/src/components/Tile/Tile.tsx +3 -5
  1462. package/mobile/src/hooks/useOutsideClick.ts +25 -0
  1463. package/mobile/src/hooks/{useFetchSafeBoxes.ts → useSafeBoxes.ts} +7 -8
  1464. package/mobile/src/icons/IconName.ts +3 -3
  1465. package/mobile/src/model/HeadlineType.ts +10 -0
  1466. package/mobile/src/model/Picture.ts +1 -0
  1467. package/mobile/src/react/setup-fixture.ts +0 -2
  1468. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -5
  1469. package/mobile/src/ui-kit/BlockWrapper.tsx +5 -9
  1470. package/mobile/src/ui-kit/BlocksList/renderBlocksList.tsx +1 -1
  1471. package/mobile/src/ui-kit/Button/Button.tsx +1 -1
  1472. package/mobile/src/ui-kit/Button/ButtonInner.tsx +4 -3
  1473. package/mobile/src/ui-kit/Button/ButtonProps.ts +1 -7
  1474. package/mobile/src/ui-kit/Button/ButtonSection.tsx +19 -41
  1475. package/mobile/src/ui-kit/Button/buttonClassNameConstants.ts +7 -0
  1476. package/mobile/src/ui-kit/CurrencyInput/CurrencyInput.tsx +19 -3
  1477. package/mobile/src/ui-kit/CurrencyInput/adjustValue .ts +13 -2
  1478. package/mobile/src/ui-kit/Foldable/DefaultButton.tsx +27 -0
  1479. package/mobile/src/ui-kit/Foldable/FoldButtonProps.ts +13 -0
  1480. package/mobile/src/ui-kit/Foldable/Foldable.tsx +66 -70
  1481. package/mobile/src/ui-kit/Icon/Icon.tsx +5 -6
  1482. package/mobile/src/ui-kit/Icon/IconProps.ts +0 -1
  1483. package/mobile/src/ui-kit/Img/Img.tsx +1 -13
  1484. package/mobile/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  1485. package/mobile/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +14 -5
  1486. package/mobile/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1487. package/mobile/src/ui-kit/InnerTable/InnerTableHeader.tsx +4 -3
  1488. package/mobile/src/ui-kit/Input/Input.tsx +18 -2
  1489. package/mobile/src/ui-kit/Input/InputProps.ts +2 -0
  1490. package/mobile/src/ui-kit/InputRange/InputRange.tsx +2 -3
  1491. package/mobile/src/ui-kit/IntersectionObserverTag.tsx +49 -0
  1492. package/mobile/src/ui-kit/List/List.tsx +29 -18
  1493. package/mobile/src/ui-kit/List/ListItem.tsx +14 -26
  1494. package/mobile/src/ui-kit/List/ListProps.ts +5 -3
  1495. package/mobile/src/ui-kit/Radio/Radio.tsx +3 -2
  1496. package/mobile/src/ui-kit/Select/Select.tsx +8 -3
  1497. package/mobile/src/utils/getSanitizedValue.ts +1 -0
  1498. package/package.json +2 -2
  1499. package/src/components/Accordion/AccordionItem.mobile.tsx +50 -26
  1500. package/src/components/Accordion/AccordionItem.tsx +38 -27
  1501. package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +4 -4
  1502. package/src/components/BenefitsBlock/BenefitsBlock.tsx +1 -1
  1503. package/src/components/Blocks.mobile.ts +0 -2
  1504. package/src/components/Calculator/CalculatorContent.ts +1 -1
  1505. package/src/components/CardTransfer/CardTransfer.tsx +3 -1
  1506. package/src/components/Catalog/Catalog.fixture.tsx +10 -3
  1507. package/src/components/Catalog/Catalog.tsx +2 -2
  1508. package/src/components/Catalog/CatalogCard.tsx +1 -35
  1509. package/src/components/ComparisonTable/ComparisonTable.mobile.tsx +49 -120
  1510. package/src/components/ComparisonTable/ComparisonTable.tsx +1 -1
  1511. package/src/components/ComparisonTable/TableCell.tsx +2 -2
  1512. package/src/components/ComparisonTable/TableColumn.tsx +25 -27
  1513. package/src/components/ContentPage/ContentPageContext.tsx +0 -14
  1514. package/src/components/ErrorBlock/ErrorBlock.tsx +1 -3
  1515. package/src/components/ExchangeRateTile/renderInput.tsx +1 -1
  1516. package/src/components/Footer/Contacts.tsx +1 -0
  1517. package/src/components/Footer/FooterContent.ts +5 -10
  1518. package/src/components/Gallery/Gallery.fixture.tsx +2 -2
  1519. package/src/components/Gallery/Gallery.mobile.tsx +15 -5
  1520. package/src/components/Gallery/GalleryCardInner.tsx +60 -44
  1521. package/src/components/Gallery/GalleryContainer.tsx +10 -2
  1522. package/src/components/Gallery/GalleryContent.ts +11 -3
  1523. package/src/components/Header/HeaderSubMenu.tsx +2 -1
  1524. package/src/components/Headline/constants.ts +11 -1
  1525. package/src/components/MiniGallery/MiniGallery.fixture.tsx +45 -0
  1526. package/src/components/MiniGallery/MiniGalleryContent.ts +1 -0
  1527. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +14 -4
  1528. package/src/components/MobileAppTile/MobileAppTile.tsx +3 -6
  1529. package/src/components/OtherProducts/OtherProductsItem.tsx +18 -9
  1530. package/src/components/ProductGallery/ProductGallery.tsx +2 -2
  1531. package/src/components/ProductTile/ProductTile.tsx +3 -3
  1532. package/src/components/Recommendation/RecommendationContent.ts +5 -0
  1533. package/src/components/SafeDepositRental/RegionsAndBranches.tsx +1 -1
  1534. package/src/components/SafeDepositRental/SafeBoxCases.tsx +1 -1
  1535. package/src/components/SafeDepositRental/SafeDepositRental.tsx +34 -7
  1536. package/src/components/SafeDepositRental/SafeDepositRentalFields.tsx +13 -21
  1537. package/src/components/SafeDepositRental/SafeDepositRentalForm.tsx +21 -49
  1538. package/src/components/SafeDepositRental/SafeDepositRentalTotal.tsx +1 -1
  1539. package/src/components/SafeDepositRental/SafeDepositRentalTypes.ts +0 -3
  1540. package/src/components/SafeDepositRental/utils.ts +1 -1
  1541. package/src/components/StepsBlock/StepsBlock.fixture.tsx +31 -3
  1542. package/src/components/StepsBlock/StepsBlock.tsx +11 -6
  1543. package/src/components/StepsBlock/StepsBlock.ui.json +8 -0
  1544. package/src/components/StepsBlock/StepsBlockContent.ts +9 -2
  1545. package/src/components/StepsBlock/StepsBlockStyleMaps.ts +3 -0
  1546. package/src/components/StepsBlock/renderItems.tsx +17 -0
  1547. package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +4 -8
  1548. package/src/components/TariffsTable/EmbeddableCellData.tsx +5 -10
  1549. package/src/components/TariffsTable/TariffsTable.tsx +3 -5
  1550. package/src/components/TariffsTable/TariffsTableCell.tsx +1 -1
  1551. package/src/components/TariffsTable/TariffsTableRow.tsx +1 -4
  1552. package/src/components/TariffsTable/{dataFixture.ts → dataFixture.tsx} +3 -2
  1553. package/src/components/TariffsTable/utils/getButtonAriaLabel.ts +1 -3
  1554. package/src/components/Tile/Tile.tsx +3 -5
  1555. package/src/hooks/useOutsideClick.ts +25 -0
  1556. package/src/hooks/{useFetchSafeBoxes.ts → useSafeBoxes.ts} +7 -8
  1557. package/src/icons/IconName.ts +34 -92
  1558. package/src/model/HeadlineType.ts +10 -0
  1559. package/src/model/Picture.ts +1 -0
  1560. package/src/react/setup-fixture.ts +0 -2
  1561. package/src/ui-kit/BenefitItem/BenefitItem.tsx +5 -5
  1562. package/src/ui-kit/BlockWrapper.tsx +5 -9
  1563. package/src/ui-kit/BlocksList/renderBlocksList.tsx +1 -1
  1564. package/src/ui-kit/Button/Button.mobile.tsx +1 -1
  1565. package/src/ui-kit/Button/Button.tsx +55 -27
  1566. package/src/ui-kit/Button/ButtonInner.tsx +4 -3
  1567. package/src/ui-kit/Button/ButtonProps.ts +1 -7
  1568. package/src/ui-kit/Button/ButtonSection.tsx +19 -41
  1569. package/src/ui-kit/Button/buttonClassNameConstants.ts +7 -0
  1570. package/src/ui-kit/CurrencyInput/CurrencyInput.tsx +19 -3
  1571. package/src/ui-kit/CurrencyInput/adjustValue .ts +13 -2
  1572. package/src/ui-kit/Foldable/DefaultButton.tsx +27 -0
  1573. package/src/ui-kit/Foldable/FoldButtonProps.ts +13 -0
  1574. package/src/ui-kit/Foldable/Foldable.tsx +66 -70
  1575. package/src/ui-kit/Icon/Icon.tsx +5 -6
  1576. package/src/ui-kit/Icon/IconProps.ts +0 -1
  1577. package/src/ui-kit/Img/Img.mobile.tsx +1 -13
  1578. package/src/ui-kit/Img/Img.tsx +1 -17
  1579. package/src/ui-kit/InnerTable/InnerTableBody.tsx +1 -1
  1580. package/src/ui-kit/InnerTable/InnerTableBodyItem.tsx +14 -5
  1581. package/src/ui-kit/InnerTable/InnerTableButton.tsx +1 -1
  1582. package/src/ui-kit/InnerTable/InnerTableHeader.tsx +4 -3
  1583. package/src/ui-kit/Input/Input.tsx +18 -2
  1584. package/src/ui-kit/Input/InputProps.ts +2 -0
  1585. package/src/ui-kit/InputRange/InputRange.tsx +2 -3
  1586. package/src/ui-kit/IntersectionObserverTag.tsx +49 -0
  1587. package/src/ui-kit/List/List.fixture.tsx +1 -21
  1588. package/src/ui-kit/List/List.tsx +29 -18
  1589. package/src/ui-kit/List/ListItem.tsx +14 -26
  1590. package/src/ui-kit/List/ListProps.ts +5 -3
  1591. package/src/ui-kit/Radio/Radio.tsx +3 -2
  1592. package/src/ui-kit/Select/Select.tsx +8 -3
  1593. package/src/utils/getSanitizedValue.ts +1 -0
  1594. package/tailwind.config.cjs +1 -1
  1595. package/dist/components/Accordion/AccordionItemInner.d.ts +0 -2
  1596. package/dist/components/Accordion/AccordionItemInner.js +0 -9
  1597. package/dist/components/Accordion/AccordionItemInner.js.map +0 -1
  1598. package/dist/components/Accordion/AccordionItemInner.mobile.d.ts +0 -2
  1599. package/dist/components/Accordion/AccordionItemInner.mobile.js +0 -9
  1600. package/dist/components/Accordion/AccordionItemInner.mobile.js.map +0 -1
  1601. package/dist/components/Accordion/useActiveHandler.d.ts +0 -7
  1602. package/dist/components/Accordion/useActiveHandler.js +0 -22
  1603. package/dist/components/Accordion/useActiveHandler.js.map +0 -1
  1604. package/dist/hooks/useFetchSafeBoxes.js.map +0 -1
  1605. package/dist/react/IntersectionObserverTag.d.ts +0 -2
  1606. package/dist/react/IntersectionObserverTag.js +0 -43
  1607. package/dist/react/IntersectionObserverTag.js.map +0 -1
  1608. package/dist/ui-kit/Foldable/useActiveHandler.d.ts +0 -9
  1609. package/dist/ui-kit/Foldable/useActiveHandler.js +0 -23
  1610. package/dist/ui-kit/Foldable/useActiveHandler.js.map +0 -1
  1611. package/lib/components/Accordion/AccordionItemInner.d.ts +0 -2
  1612. package/lib/components/Accordion/AccordionItemInner.js +0 -7
  1613. package/lib/components/Accordion/AccordionItemInner.js.map +0 -1
  1614. package/lib/components/Accordion/AccordionItemInner.mobile.d.ts +0 -2
  1615. package/lib/components/Accordion/AccordionItemInner.mobile.js +0 -7
  1616. package/lib/components/Accordion/AccordionItemInner.mobile.js.map +0 -1
  1617. package/lib/components/Accordion/useActiveHandler.d.ts +0 -7
  1618. package/lib/components/Accordion/useActiveHandler.js +0 -19
  1619. package/lib/components/Accordion/useActiveHandler.js.map +0 -1
  1620. package/lib/hooks/useFetchSafeBoxes.js.map +0 -1
  1621. package/lib/react/IntersectionObserverTag.d.ts +0 -2
  1622. package/lib/react/IntersectionObserverTag.js +0 -17
  1623. package/lib/react/IntersectionObserverTag.js.map +0 -1
  1624. package/lib/ui-kit/Foldable/useActiveHandler.d.ts +0 -9
  1625. package/lib/ui-kit/Foldable/useActiveHandler.js +0 -20
  1626. package/lib/ui-kit/Foldable/useActiveHandler.js.map +0 -1
  1627. package/mobile/dist/components/Accordion/AccordionItemInner.d.ts +0 -2
  1628. package/mobile/dist/components/Accordion/AccordionItemInner.js +0 -9
  1629. package/mobile/dist/components/Accordion/AccordionItemInner.js.map +0 -1
  1630. package/mobile/dist/components/Accordion/useActiveHandler.d.ts +0 -7
  1631. package/mobile/dist/components/Accordion/useActiveHandler.js +0 -22
  1632. package/mobile/dist/components/Accordion/useActiveHandler.js.map +0 -1
  1633. package/mobile/dist/hooks/useFetchSafeBoxes.js.map +0 -1
  1634. package/mobile/dist/react/IntersectionObserverTag.d.ts +0 -2
  1635. package/mobile/dist/react/IntersectionObserverTag.js +0 -43
  1636. package/mobile/dist/react/IntersectionObserverTag.js.map +0 -1
  1637. package/mobile/dist/ui-kit/Foldable/useActiveHandler.d.ts +0 -9
  1638. package/mobile/dist/ui-kit/Foldable/useActiveHandler.js +0 -23
  1639. package/mobile/dist/ui-kit/Foldable/useActiveHandler.js.map +0 -1
  1640. package/mobile/lib/components/Accordion/AccordionItemInner.d.ts +0 -2
  1641. package/mobile/lib/components/Accordion/AccordionItemInner.js +0 -7
  1642. package/mobile/lib/components/Accordion/AccordionItemInner.js.map +0 -1
  1643. package/mobile/lib/components/Accordion/useActiveHandler.d.ts +0 -7
  1644. package/mobile/lib/components/Accordion/useActiveHandler.js +0 -19
  1645. package/mobile/lib/components/Accordion/useActiveHandler.js.map +0 -1
  1646. package/mobile/lib/hooks/useFetchSafeBoxes.js.map +0 -1
  1647. package/mobile/lib/react/IntersectionObserverTag.d.ts +0 -2
  1648. package/mobile/lib/react/IntersectionObserverTag.js +0 -17
  1649. package/mobile/lib/react/IntersectionObserverTag.js.map +0 -1
  1650. package/mobile/lib/ui-kit/Foldable/useActiveHandler.d.ts +0 -9
  1651. package/mobile/lib/ui-kit/Foldable/useActiveHandler.js +0 -20
  1652. package/mobile/lib/ui-kit/Foldable/useActiveHandler.js.map +0 -1
  1653. package/mobile/src/components/Accordion/AccordionItemInner.tsx +0 -11
  1654. package/mobile/src/components/Accordion/useActiveHandler.ts +0 -25
  1655. package/mobile/src/react/IntersectionObserverTag.tsx +0 -33
  1656. package/mobile/src/ui-kit/Foldable/useActiveHandler.ts +0 -33
  1657. package/src/components/Accordion/AccordionItemInner.mobile.tsx +0 -11
  1658. package/src/components/Accordion/AccordionItemInner.tsx +0 -11
  1659. package/src/components/Accordion/useActiveHandler.ts +0 -25
  1660. package/src/react/IntersectionObserverTag.tsx +0 -33
  1661. package/src/ui-kit/Foldable/useActiveHandler.ts +0 -33
@@ -272,15 +272,31 @@
272
272
  }
273
273
  };
274
274
 
275
+ const IntersectionObserverTag = JSX((props) => {
276
+ const { tag = 'section', observerCallback, observerOptions, className = '', anchor = null, children, } = props;
277
+ const intersectionObserver = useRef(null);
278
+ const ref = useCallback((element) => {
279
+ if (!element) {
280
+ return;
281
+ }
282
+ if (intersectionObserver.current) {
283
+ intersectionObserver.current.disconnect();
284
+ }
285
+ intersectionObserver.current = new IntersectionObserver(observerCallback, observerOptions);
286
+ intersectionObserver.current.observe(element);
287
+ }, [observerCallback, observerOptions]);
288
+ const Tag = tag;
289
+ return (jsx(Tag, { ref: ref, className: className, id: anchor, children: children }));
290
+ });
291
+
275
292
  const THRESHOLD_ACCURACY = 100; // Decimals number (100 is for two decimals number, 0.**)
276
293
  const THRESHOLD_ARRAY_LENGTH = 18;
277
294
  const THRESHOLD_ARRAY_START_VALUE = (THRESHOLD_ACCURACY - THRESHOLD_ARRAY_LENGTH) / THRESHOLD_ACCURACY;
278
- const BlockWrapper = JSX(({ anchor, className, context, children, tag = 'section', labels }) => {
295
+ const BlockWrapper = JSX(({ anchor, className, children, tag = 'section', labels }) => {
279
296
  const Tag = tag;
280
- const { IntersectionObserverTag } = context;
281
297
  const [shouldRenderBlock, setShouldRenderBlock] = useState(true);
282
298
  const anchorClickRef = useRef({});
283
- const observerCallback = useMemo(() => changeHashOnObserve({ anchor, anchorClickRef }), [anchor, anchorClickRef]);
299
+ const observerCallback = useMemo(() => changeHashOnObserve({ anchor, anchorClickRef }), [anchor]);
284
300
  useEffect(() => {
285
301
  const anchorClickCleanup = EventBus.inst.subscribe('anchorClick', (e) => {
286
302
  anchorClickRef.current = e;
@@ -298,7 +314,7 @@
298
314
  anchorClickCleanup();
299
315
  tabCleanup();
300
316
  };
301
- }, [anchorClickRef]);
317
+ }, []);
302
318
  if (!shouldRenderBlock) {
303
319
  return null;
304
320
  }
@@ -330,270 +346,6 @@
330
346
  return (jsx(Tag, { className: `font-sans m-0 ${HEADING_STYLE_MAP[headingType]} ${className}`, children: title }));
331
347
  });
332
348
 
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 = {}));
524
-
525
- const svgUseStyleMap = {
526
- normal: 'text-primary-main',
527
- black: 'text-black',
528
- white: 'text-black',
529
- };
530
- const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${IconTitleMap[name] || name}`, title = alt, iconVersion = 'normal', asSVG, ...imgProps }) => {
531
- const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
532
- if (asSVG && IconInverseMap[name]) {
533
- return (jsx(Background, { className: className, children: jsxs("svg", { className: [
534
- getSvgSize(className, imgProps.width),
535
- svgUseStyleMap[iconVersion],
536
- imageClassName,
537
- getInvertStyle(name, iconVersion),
538
- ].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
- }
540
- return (jsx("img", { className: className, src: href, alt: alt, title: title, ...imgProps, "aria-hidden": "true" }));
541
- });
542
- const getInvertStyle = (name, iconVersion) => iconVersion === 'white' && IconInverseMap[name] ? 'invert' : '';
543
- const getSvgSize = (className, width) => width ? `width: ${width}px ` : 'w-full h-full';
544
- const Background = JSX(({ className, children }) => className ? jsx("div", { className: className, children: children }) : children);
545
-
546
- function getIconVersion(image) {
547
- return typeof image === 'string' ? 'normal' : image.iconVersion || 'normal';
548
- }
549
-
550
- const sourcesComparator = (a, b) => {
551
- if (a.media && b.media) {
552
- return a.media - b.media;
553
- }
554
- return 0;
555
- };
556
- const ImgAsPicture = JSX(({ className = '', image, imageClassName = '', isMobile = false }) => {
557
- if (!image || (!image?.sources && !image?.src)) {
558
- return null;
559
- }
560
- const pictureStyles = isMobile ? 'flex' : 'flex-none';
561
- return (jsxs("picture", { className: `${pictureStyles} ${className}`, children: [image?.sources?.length
562
- ? image.sources
563
- .sort(sourcesComparator)
564
- .map(({ src, format, media }, index) => (jsx("source", { srcSet: src, type: formatToMimeType(format), media: media ? `(max-width: ${media}px)` : '', ...image.size }, `${index}_${src}`)))
565
- : null, renderImg(image, imageClassName, isMobile)] }));
566
- });
567
- const renderImg = (image, imageClassName = '', isMobile = false) => {
568
- const style = {
569
- width: image.size?.width ? `${image.size?.width}px` : '100%',
570
- height: image.size?.height ? `${image.size?.height}px` : '100%',
571
- };
572
- const title = image.title || '';
573
- const alt = image.alt || image.title;
574
- const imgStyle = isMobile ? 'm-auto' : 'm-0';
575
- return (jsx("img", { src: image.src, className: `${imgStyle} ${imageClassName}`, alt: alt, title: title, style: style, ...image.size }));
576
- };
577
- function formatToMimeType(format) {
578
- return format ? `image/${String(format)}` : undefined;
579
- }
580
-
581
- const ImgInner = JSX(({ className = '', image, imageClassName = '', isMobile, ...iconProps }) => {
582
- if (!image) {
583
- return null;
584
- }
585
- // backwards compatibility with existing icons in usage
586
- const icon = typeof image === 'string' ? image : image.icon;
587
- if (icon || icon === '') {
588
- return icon.length ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: getIconVersion(image), name: icon, ...iconProps })) : null;
589
- }
590
- return (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image, isMobile: isMobile }));
591
- });
592
-
593
- const Img = JSX(({ className = '', imageClassName, image, ...iconProps }) => {
594
- return (jsx(ImgInner, { className: className, imageClassName: imageClassName, image: image, ...iconProps }));
595
- });
596
-
597
349
  function style2className(style) {
598
350
  return style ? style.filter(Boolean).join(' ') : '';
599
351
  }
@@ -657,6 +409,15 @@
657
409
  as: 'h4',
658
410
  },
659
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
+ };
660
421
 
661
422
  const Headline = JSX(({ bgColorHeadline = 'transparent', align = 'center', className = '', title, description, headlineVersion = 'XL', as, ...rest }) => {
662
423
  const STYLE_MAPS = HEADLINE_BLOCK_STYLE_MAPS[bgColorHeadline];
@@ -664,9 +425,77 @@
664
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] }));
665
426
  });
666
427
 
428
+ const svgUseStyleMap = {
429
+ normal: 'text-primary-main',
430
+ black: 'text-black',
431
+ white: 'text-black',
432
+ };
433
+ const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${name}`, title = alt, iconVersion = 'normal', asSVG, ...imgProps }) => {
434
+ const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
435
+ if (asSVG) {
436
+ return (jsx(Background, { className: className, children: jsxs("svg", { className: [
437
+ getSvgSize(className, imgProps.width),
438
+ svgUseStyleMap[iconVersion],
439
+ imageClassName,
440
+ getInvertStyle(iconVersion),
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` })] }) }));
442
+ }
443
+ return (jsx("img", { className: className, src: href, alt: alt, title: title, ...imgProps, "aria-hidden": "true" }));
444
+ });
445
+ const getInvertStyle = (iconVersion) => iconVersion === 'white' ? 'invert' : '';
446
+ const getSvgSize = (className, width) => width ? `width: ${width}px ` : 'w-full h-full';
447
+ const Background = JSX(({ className, children }) => className ? jsx("div", { className: className, children: children }) : children);
448
+
449
+ function getIconVersion$1(image) {
450
+ return typeof image === 'string' ? 'normal' : image.iconVersion || 'normal';
451
+ }
452
+
453
+ const sourcesComparator = (a, b) => {
454
+ if (a.media && b.media) {
455
+ return a.media - b.media;
456
+ }
457
+ return 0;
458
+ };
459
+ const ImgAsPicture = JSX(({ className = '', image, imageClassName = '', isMobile = false }) => {
460
+ if (!image || (!image?.sources && !image?.src)) {
461
+ return null;
462
+ }
463
+ const pictureStyles = isMobile ? 'flex' : 'flex-none';
464
+ return (jsxs("picture", { className: `${pictureStyles} ${className}`, children: [image?.sources?.length
465
+ ? image.sources
466
+ .sort(sourcesComparator)
467
+ .map(({ src, format, media }, index) => (jsx("source", { srcSet: src, type: formatToMimeType(format), media: media ? `(max-width: ${media}px)` : '', ...image.size }, `${index}_${src}`)))
468
+ : null, renderImg(image, imageClassName, isMobile)] }));
469
+ });
470
+ const renderImg = (image, imageClassName = '', isMobile = false) => {
471
+ const style = {
472
+ width: image.size?.width ? `${image.size?.width}px` : '100%',
473
+ height: image.size?.height ? `${image.size?.height}px` : '100%',
474
+ };
475
+ const title = image.title || '';
476
+ const alt = image.alt || image.title;
477
+ const imgStyle = isMobile ? 'm-auto' : 'm-0';
478
+ return (jsx("img", { src: image.src, className: `${imgStyle} ${imageClassName}`, alt: alt, title: title, style: style, ...image.size }));
479
+ };
480
+ function formatToMimeType(format) {
481
+ return format ? `image/${String(format)}` : undefined;
482
+ }
483
+
484
+ const ImgInner = JSX(({ className = '', image, imageClassName = '', isMobile, ...iconProps }) => {
485
+ if (!image) {
486
+ return null;
487
+ }
488
+ // backwards compatibility with existing icons in usage
489
+ const icon = typeof image === 'string' ? image : image.icon;
490
+ if (icon || icon === '') {
491
+ return icon.length ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: getIconVersion$1(image), name: icon, ...iconProps })) : null;
492
+ }
493
+ return (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image, isMobile: isMobile }));
494
+ });
495
+
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$1(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$1 = (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,37 +1010,47 @@
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 clamp = (value, min, max) => Math.max(min, Math.min(value, max));
1014
+
1015
+ const DefaultButton = JSX(({ icon, label, dataTheme = '', onClick }) => {
1016
+ return (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", "data-theme": dataTheme, onClick: onClick, children: [jsx("span", { className: "text-h4 pr-3", children: label }), icon ? (jsx(ImgInner, { image: {
1017
+ icon,
1018
+ iconVersion: 'white',
1019
+ }, className: "flex-shrink-0 my-auto", width: "20", height: "20", asSVG: true })) : null] }));
1200
1020
  });
1201
1021
 
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;
1022
+ const Foldable = JSX(({ blocks = [], hiddenBlocksNum = 0, isFoldButtonOnTop = false, unfoldedByDefault = false, containerClassName = '', blockWrapper = (_) => _, renderFoldButton = renderDefaultFoldButton, }) => {
1023
+ const [isUnfolded, setIsUnfolded] = useState(unfoldedByDefault);
1024
+ const blocksToHide = clamp(hiddenBlocksNum, 0, blocks?.length);
1025
+ const visibleBlocks = blocks.slice(0, blocks.length - blocksToHide);
1026
+ const hiddenBlocks = blocksToHide > 0 ? blocks.slice(-blocksToHide) : [];
1027
+ const containerRef = useRef(null);
1028
+ const onToggle = () => {
1029
+ setIsUnfolded(!isUnfolded);
1030
+ if (containerRef.current) {
1031
+ containerRef.current.style.maxHeight = isUnfolded
1032
+ ? ''
1033
+ : `${containerRef.current.scrollHeight}px`;
1210
1034
  }
1211
- setIsActive(!isActive);
1212
- const contentBlock = currentTarget.nextSibling;
1213
- contentBlock.style.maxHeight = contentBlock.style.maxHeight
1214
- ? ''
1215
- : `${contentBlock.scrollHeight}px`;
1216
1035
  };
1217
- return { isActive, hasContent, icon, handleToggle };
1036
+ const buttonNode = hiddenBlocksNum ? renderFoldButton({ isUnfolded, onToggle }) : null;
1037
+ const blocksNode = blockWrapper(jsxs("div", { children: [visibleBlocks, jsx("div", { ref: containerRef, className: `transition-max-h duration-300 overflow-hidden max-h-0 ${containerClassName}`, children: hiddenBlocks })] }));
1038
+ return (jsx("div", { children: isFoldButtonOnTop ? (jsxs("div", { children: [buttonNode, blocksNode] })) : (jsxs("div", { children: [blocksNode, buttonNode] })) }));
1039
+ });
1040
+ const renderDefaultFoldButton = (props) => {
1041
+ const labels = ['Развернуть', 'Скрыть'];
1042
+ const icons = ['ArrowDownIcon', 'ArrowUpIcon'];
1043
+ return (jsx(DefaultButton, { icon: icons[Number(props.isUnfolded)], label: labels[Number(props.isUnfolded)], onClick: props.onToggle }));
1218
1044
  };
1219
1045
 
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] }));
1046
+ const icons$1 = ['PlusIcon', 'MinusIcon'];
1047
+ const AccordionItem = JSX(({ label = '', blocks, context }) => {
1048
+ const foldableBlocks = blocks
1049
+ ? renderBlocksList$1({ context, blocks, className: '!p-0 mb-5' })
1050
+ : [];
1051
+ return (jsx("li", { className: "border-0 border-b border-solid border-main-divider last:border-b-0", children: jsx(Foldable, { hiddenBlocksNum: foldableBlocks.length, blocks: foldableBlocks, isFoldButtonOnTop: true, containerClassName: "grid grid-cols-12", renderFoldButton: (props) => (jsx(FoldButton, { icon: icons$1[Number(props.isUnfolded)], label: label, hasContent: Boolean(blocks?.length), onClick: props.onToggle })) }) }));
1228
1052
  });
1053
+ const FoldButton = JSX(({ icon, label, 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] })));
1229
1054
 
1230
1055
  const ALIGN_TITLE = {
1231
1056
  left: 'text-left',
@@ -1259,7 +1084,7 @@
1259
1084
  return (jsx("div", { className: "flex flex-wrap w-full justify-center gap-x-20 mt-8", children: benefitList.map(renderStep(benefitsBlockVersion)) }));
1260
1085
  };
1261
1086
  const setIconVersion = (benefitIcon, benefitsBlockVersion) => {
1262
- if (!benefitIcon.icon) {
1087
+ if (!benefitIcon.icon || benefitIcon?.iconVersion) {
1263
1088
  return benefitIcon;
1264
1089
  }
1265
1090
  benefitIcon.iconVersion = benefitsBlockVersion === 'secondary' ? 'white' : 'normal';
@@ -1267,7 +1092,7 @@
1267
1092
  };
1268
1093
  const renderStep = (benefitsBlockVersion) => (benefit, i) => {
1269
1094
  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)));
1095
+ 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(description, benefitsBlockVersion)] })] }, String(i)));
1271
1096
  };
1272
1097
  const renderDescription = (description, benefitsBlockVersion) => {
1273
1098
  const benefitType = description ? description?.benefitType : null;
@@ -1298,7 +1123,7 @@
1298
1123
  ? renderBonusCount(bonusItemContent)
1299
1124
  : renderBonusImage(bonusItemContent) }));
1300
1125
  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;
1126
+ const renderBonusImage = (_) => _.image ? (jsx(ImgInner, { className: `w-[50px] h-[50px] min-w-[50px] p-3 rounded-full`, image: _.image })) : null;
1302
1127
 
1303
1128
  function getElementsColsValue(className = '') {
1304
1129
  const colSpan = getColSpan(className);
@@ -1315,7 +1140,7 @@
1315
1140
 
1316
1141
  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
1142
  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)));
1143
+ 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
1144
  };
1320
1145
 
1321
1146
  const CalculatorValueBlock = JSX(({ title, value, postfix = '', prefix, className = '' }) => {
@@ -1367,16 +1192,15 @@
1367
1192
 
1368
1193
  const renderFootnote = (text) => text ? jsx("p", { className: "text-s-light text-secondary-text mt-7", children: text }) : null;
1369
1194
 
1370
- const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
1195
+ const getSanitizedValue = (_) => _.split(/\s+/).join('');
1371
1196
 
1372
1197
  const DISABLED_INPUT_CLASSES = 'disabled:border-main-stroke disabled:bg-main-divider';
1373
1198
  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
1199
  const handleChange = (e) => {
1376
1200
  if (!onChange) {
1377
1201
  return;
1378
1202
  }
1379
- onChange(clamp(getSanitizedValue(e.target.value), min, max));
1203
+ onChange(clamp(Number(getSanitizedValue(e.target.value)), min, max));
1380
1204
  };
1381
1205
  const inputStyle = {
1382
1206
  backgroundSize: `${(((value - min) * 100) / (max - min)).toFixed(2)}% 100%`,
@@ -1411,7 +1235,7 @@
1411
1235
  };
1412
1236
 
1413
1237
  const consistentDataMap = new Map();
1414
- function useAsyncData$1(key, fetcher, { fallback } = {}) {
1238
+ function useAsyncData(key, fetcher, { fallback } = {}) {
1415
1239
  const args = useMemo(() => keyToArgs(key), [key]);
1416
1240
  const [data, setData] = useState();
1417
1241
  const [error, setError] = useState();
@@ -1470,9 +1294,6 @@
1470
1294
  }
1471
1295
  }
1472
1296
 
1473
- let impl = useAsyncData$1;
1474
- const useAsyncData = (...args) => impl(...args);
1475
-
1476
1297
  async function fetchJSON(url, options) {
1477
1298
  try {
1478
1299
  return await fetchJSONUnsafe(url, options);
@@ -1723,7 +1544,7 @@
1723
1544
  : `text-m-light text-secondary-text`;
1724
1545
  const iconClassName = isActiveBtn ? '' : `text-primary-main`;
1725
1546
  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)));
1547
+ ${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
1548
  }
1728
1549
  function renderTabs({ tabsShift, tabsNav, activeSlideIndex, setActiveSlideIndex }) {
1729
1550
  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 +1555,13 @@
1734
1555
  })) }) }), jsx("div", { className: "w-full h-2 bg-primary-main" })] }));
1735
1556
  }
1736
1557
 
1737
- const adjustValue = (val) => onlyOneDot(setZeroStart(replaceCommaToDot(val)));
1558
+ const adjustValue = (val) => onlyOneDot(setZeroStart(replaceCommaToDot(getSanitizedValue(val))));
1559
+ const localNumberFormat = (val) => new Intl.NumberFormat('ru-RU', {
1560
+ minimumFractionDigits: 0,
1561
+ maximumFractionDigits: 2,
1562
+ })
1563
+ .format(Number(getSanitizedValue(val)))
1564
+ .replace(',', '.');
1738
1565
  const onlyOneDot = (val) => {
1739
1566
  const matches = val.match(/\./g) || [];
1740
1567
  return matches.length > 1 ? val.slice(0, val.lastIndexOf('.')) : val;
@@ -1746,14 +1573,23 @@
1746
1573
  };
1747
1574
  const replaceCommaToDot = (val) => String(val.replace(',', '.').replace(/[^.\d]/g, ''));
1748
1575
 
1749
- const Input = JSX(({ className = '', inputClassName = '', id, name, type = 'text', label, value = '', children, onChange, ...inputProps }) => {
1576
+ const Input = JSX(({ className = '', inputClassName = '', id, name, type = 'text', label, value = '', valid = true, children, onChange, onBlur, ...inputProps }) => {
1750
1577
  const handleChange = useCallback((e) => {
1751
1578
  const validInputValue = e.target.validity.valid ? e.target.value : value;
1752
1579
  onChange(validInputValue);
1753
1580
  }, [onChange]);
1581
+ const handleBlur = useCallback((e) => {
1582
+ if (!onBlur) {
1583
+ return;
1584
+ }
1585
+ const validInputValue = e.target.validity.valid ? e.target.value : value;
1586
+ onBlur(validInputValue);
1587
+ }, [onBlur]);
1754
1588
  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] }));
1589
+ const validStyle = valid
1590
+ ? 'border-main-stroke hover:border-primary-hover active:border-primary-text focus:border-primary-text'
1591
+ : 'border-error';
1592
+ 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
1593
  });
1758
1594
 
1759
1595
  const CurrencyInput = JSX(({ className = '', onChange, minValue = 0, maxValue = 300000, ...inputProps }) => {
@@ -1765,7 +1601,13 @@
1765
1601
  const clampVal = getClampValue(adjustedVal, clamp(Number(adjustedVal), minValue, maxValue));
1766
1602
  onChange(String(clampVal));
1767
1603
  }, [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" }) }));
1604
+ const handleBlur = useCallback((inputValue) => {
1605
+ if (!onChange) {
1606
+ return;
1607
+ }
1608
+ onChange(localNumberFormat(inputValue));
1609
+ }, [onChange]);
1610
+ 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
1611
  });
1770
1612
  const getClampValue = (val, clampVal) => Number(val) === clampVal ? val : String(clampVal);
1771
1613
 
@@ -1778,43 +1620,21 @@
1778
1620
  const router = context.useRouter();
1779
1621
  const { handlerDecorator } = context;
1780
1622
  const [value, setValue] = useState('');
1781
- const isDisabled = !Number(value);
1623
+ const isDisabled = !Number(getSanitizedValue(value));
1782
1624
  const buttonStyle = isDisabled
1783
1625
  ? getDisabledButtonClasses({ version: button?.version })
1784
1626
  : 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] })] }));
1627
+ 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
1628
  });
1787
1629
 
1788
- const iconVersionMap = {
1789
- default: 'normal',
1790
- primary: 'white',
1791
- secondary: 'black',
1792
- };
1793
1630
  const cardStyleMap = {
1794
1631
  black: 'bg-black',
1795
1632
  white: 'bg-white',
1796
1633
  };
1797
1634
  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] }));
1635
+ 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
1636
  });
1800
1637
  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
1638
 
1819
1639
  const BLUR_BLOCK_CLASSES$1 = 'absolute top-0 bottom-0 w-[84px]';
1820
1640
  const CARD_FULL_VIEW_COUNT$1 = 3;
@@ -1825,7 +1645,7 @@
1825
1645
  cardsCount: cards.length,
1826
1646
  activeCardIndex,
1827
1647
  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'}` })] }));
1648
+ }), 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
1649
  });
1830
1650
  const renderCatalogCard = (context) => (card, i) => {
1831
1651
  return jsx(CatalogCard, { context: context, ...card }, String(i));
@@ -1860,7 +1680,7 @@
1860
1680
  const COLS_LENGTH_FOR_SCROLL$1 = 2;
1861
1681
  const COLUMN_WIDTH$2 = 4 * 80 + 4 * 4; // w-80 + gap-4 = 336px
1862
1682
 
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 }) }) }))] })));
1683
+ 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
1684
 
1865
1685
  const carouselContainerClassesMap = {
1866
1686
  comparison: 'flex gap-4 duration-1000',
@@ -1930,12 +1750,12 @@
1930
1750
  : null] }));
1931
1751
  });
1932
1752
  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 ? 'Показать все параметры' : 'Скрыть' }) })] }) }));
1753
+ 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
1754
  };
1935
1755
 
1936
1756
  const renderErrorContent = (error) => {
1937
1757
  if (error?.errorContentType === 'Image' && error?.image) {
1938
- return jsx(Img, { image: error.image });
1758
+ return jsx(ImgInner, { image: error.image });
1939
1759
  }
1940
1760
  if (error?.errorContentType === 'Code' && error.code) {
1941
1761
  return jsx("div", { className: "font-mohave text-title-extra gradient-color-text", children: error.code });
@@ -1945,7 +1765,7 @@
1945
1765
  const ErrorBlock = JSX(({ context, className = '', title, subtitle, error, button }) => {
1946
1766
  const { useRouter, handlerDecorator } = context;
1947
1767
  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] }));
1768
+ 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
1769
  });
1950
1770
 
1951
1771
  const roundTo = (value, precision = 2) => {
@@ -2027,14 +1847,33 @@
2027
1847
  });
2028
1848
  const renderCurrencyRow = (exchangeCurrencyItem) => {
2029
1849
  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));
1850
+ 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
1851
  };
2032
1852
 
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] })] })));
1853
+ 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] })] })));
1854
+
1855
+ function useOutsideClick(wrapperRef, setIsOpen) {
1856
+ useEffect(() => {
1857
+ function handleClickOutside(event) {
1858
+ if (wrapperRef &&
1859
+ wrapperRef.current &&
1860
+ event.target instanceof HTMLElement &&
1861
+ !wrapperRef.current.contains(event.target)) {
1862
+ setIsOpen(false);
1863
+ }
1864
+ }
1865
+ document.addEventListener('click', handleClickOutside);
1866
+ return () => {
1867
+ document.removeEventListener('click', handleClickOutside);
1868
+ };
1869
+ }, []);
1870
+ }
2034
1871
 
2035
1872
  const Select = JSX(({ className = '', isBorder = true, label, options = [], value, onChange, placeholder = '' }) => {
2036
1873
  const [selectedItem, setSelectedItem] = useState(options[0] || { key: '', text: '' });
2037
1874
  const [isOpen, setIsOpen] = useState(false);
1875
+ const wrapperRef = useRef(null);
1876
+ useOutsideClick(wrapperRef, setIsOpen);
2038
1877
  const choiceOption = (option) => {
2039
1878
  setSelectedItem(option);
2040
1879
  setIsOpen(false);
@@ -2044,7 +1883,7 @@
2044
1883
  useEffect(() => {
2045
1884
  setSelectedItem(value || { key: '', text: '' });
2046
1885
  }, [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
1886
+ 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
1887
  ${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
1888
  });
2050
1889
  const renderOptionsStyle = (isOpen) => (isOpen ? '' : 'overflow-hidden');
@@ -2059,7 +1898,7 @@
2059
1898
  const { placeholder, rates, selected, value, setValue, setSelected } = props;
2060
1899
  const ratesOptions = rates.map((_) => ({ key: _.code ?? '', text: _.code ?? '' }));
2061
1900
  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] }));
1901
+ 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
1902
  }
2064
1903
 
2065
1904
  const calculateResult = (value, rate, precision) => {
@@ -2179,7 +2018,7 @@
2179
2018
  transparent: 'text-white',
2180
2019
  };
2181
2020
  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] }));
2021
+ 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$1(children, bgColor, logo?.title) : null] }));
2183
2022
  });
2184
2023
  const renderTitle$1 = (children, bgColor, title) => {
2185
2024
  const text = children || title || 'Россельхозбанк';
@@ -2200,11 +2039,11 @@
2200
2039
  const SearchBarLabelClassName = isMobile ? 'text-s' : 'text-l-light';
2201
2040
  const SearchBarInputClassName = isMobile ? ' placeholder-transparent' : 'h-full';
2202
2041
  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
2042
+ 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
2043
  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
2044
  e.preventDefault();
2206
2045
  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) => {
2046
+ }, 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
2047
  ev?.preventDefault();
2209
2048
  console.log('click');
2210
2049
  }, children: jsx("div", { className: "text-s px-9 py-2.5", children: "\u041D\u0430\u0439\u0442\u0438" }) }))] }));
@@ -2221,7 +2060,7 @@
2221
2060
  text: 'Обратная связь',
2222
2061
  href: '/',
2223
2062
  target: '_blank',
2224
- }) })) : null] }));
2063
+ }), ariaLabel: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C" })) : null] }));
2225
2064
  });
2226
2065
  const renderContact = (item, index) => {
2227
2066
  const { type, text, description } = item;
@@ -2308,7 +2147,7 @@
2308
2147
  ? 'bg-white hover:bg-secondary-hover'
2309
2148
  : 'border-solid border-[1px] border-main-divider hover:border-transparent hover:bg-primary-main';
2310
2149
  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 }));
2150
+ 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
2151
  });
2313
2152
 
2314
2153
  const SocialMedia = JSX(({ className = '', media, version, context, children }) => {
@@ -2346,7 +2185,7 @@
2346
2185
  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
2186
  };
2348
2187
  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);
2188
+ 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
2189
 
2351
2190
  const checkIsHrefSameOrigin = (href, router) => getOrigin(href) === getOrigin(router.href);
2352
2191
 
@@ -2410,7 +2249,7 @@
2410
2249
  };
2411
2250
  const HeaderSecondaryMenu = JSX(({ className, defaultLocation = '', bgColor = 'bg-white' }) => {
2412
2251
  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 }) })] }));
2252
+ 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
2253
  });
2415
2254
 
2416
2255
  const maxBy = (discriminator) => (list) => list.reduceRight((a, b) => (discriminator(a) > discriminator(b) ? a : b));
@@ -2458,7 +2297,7 @@
2458
2297
  const HeaderSubMenu = JSX(({ context, subItems = [], bgColor }) => {
2459
2298
  const [menuVisible, setMenuVisible] = useState(false);
2460
2299
  const router = context.useRouter();
2461
- const { handlerDecorator, IntersectionObserverTag } = context;
2300
+ const { handlerDecorator } = context;
2462
2301
  const [visibleItemsCount, setVisibleItemsCount] = useState(subItems.length);
2463
2302
  const dropDownMenuItems = subItems.slice(visibleItemsCount);
2464
2303
  const activeSubItem = findActiveSubItem(router)(subItems);
@@ -2537,13 +2376,13 @@
2537
2376
  const btnClassName = isActiveBtn
2538
2377
  ? 'shadow-dark-blue/42 border-primary-main'
2539
2378
  : `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)));
2379
+ 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
2380
  }
2542
2381
  function renderValueBlock(title, sum) {
2543
2382
  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
2383
  }
2545
2384
  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;
2385
+ 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
2386
  }
2548
2387
 
2549
2388
  const InsuranceAmountBlock = JSX(({ className = '', context, title, insuranceTabs = [], button, ...rest }) => {
@@ -2582,58 +2421,24 @@
2582
2421
  ${getTileMinHeight(className)}
2583
2422
  ${VersionStyleMap[version]}
2584
2423
  ${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] }));
2424
+ ${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
2425
  });
2587
2426
  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" }));
2427
+ 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
2428
  };
2590
2429
 
2591
2430
  const OfficeServicesBlock = JSX(({ className = '', context, title, servicesList, anchor = '', ...rest }) => {
2592
2431
  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
2432
  });
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)}`));
2595
-
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 };
2613
- };
2614
-
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
- };
2433
+ 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)}`));
2630
2434
 
2631
- const OtherProductsItem = JSX(({ label, blocks, context, dataTheme, isUnfolded }) => {
2435
+ const icons = ['ArrowDownIcon', 'ArrowUpIcon'];
2436
+ const OtherProductsItem = JSX(({ label = '', blocks, context, dataTheme, isUnfolded }) => {
2632
2437
  const foldableBlocks = renderBlocksList$1({
2633
2438
  context,
2634
2439
  blocks,
2635
2440
  });
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 }));
2441
+ return (jsx("div", { className: "\u02DDborder-0 border-b border-solid border-main-divider", children: blocks?.length ? (jsx(Foldable, { blocks: foldableBlocks, hiddenBlocksNum: blocks?.length, unfoldedByDefault: isUnfolded, containerClassName: "grid grid-cols-12 gap-1 border-box", blockWrapper: (children) => jsx(Wrapper$1, { children: children }), renderFoldButton: (props) => (jsx(DefaultButton, { icon: icons[Number(props.isUnfolded)], label: label, dataTheme: dataTheme, onClick: props.onToggle })) })) : null }));
2637
2442
  });
2638
2443
  const Wrapper$1 = JSX(({ children }) => {
2639
2444
  return jsx("div", { className: "box-border", children: children });
@@ -2691,14 +2496,14 @@
2691
2496
  function renderNavButton({ slide, i, activeSlideIndex, onClick, version }) {
2692
2497
  const isActiveBtn = i === activeSlideIndex;
2693
2498
  const btnClassName = isActiveBtn
2694
- ? 'bg-white shadow-dark-blue/42 min-w-[354px] border-none p-6'
2499
+ ? 'bg-white shadow-dark-blue/42 min-w-[350px] border-none p-6'
2695
2500
  : `min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur
2696
2501
  ${VersionStyleMap[version]}`;
2697
2502
  const btnTitleClassName = isActiveBtn
2698
2503
  ? 'text-primary-text !text-h6 p-2'
2699
2504
  : `text-l pb-1 ${productBlockStyleMap[version].title}`;
2700
2505
  const btnDescClassName = isActiveBtn
2701
- ? 'text-secondary-text text-l-light mt-2.5'
2506
+ ? 'text-secondary-text text-l-light'
2702
2507
  : `text-m-light ${productBlockStyleMap[version].text}`;
2703
2508
  const additionalBorder = version === 'secondary' ? 'border-white/50' : 'border-black/50';
2704
2509
  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 +2526,7 @@
2721
2526
 
2722
2527
  const RecommendationCard = JSX(({ context, className = '', title, description, items, image, version, socialMedia }) => {
2723
2528
  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;
2529
+ const tileImage = image?.src ? (jsx(ImgInner, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
2725
2530
  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
2531
  });
2727
2532
 
@@ -2758,15 +2563,14 @@
2758
2563
  };
2759
2564
 
2760
2565
  const SAFEBOXES_URL = '/api/v1/safeboxes';
2761
- function useFetchSafeBoxes(regionCode) {
2566
+ const EMPTY_VALUE = [];
2567
+ function useSafeBoxes(regionCode) {
2762
2568
  const { data } = useAsyncData(regionCode ? `${SAFEBOXES_URL}?regionCode=${regionCode}` : null, fetchSafeBoxes);
2763
- return data || [];
2569
+ return data || EMPTY_VALUE;
2764
2570
  }
2765
- const fetchSafeBoxes = (url) => {
2766
- if (!url) {
2767
- return {};
2768
- }
2769
- return fetchJSON(url, { method: 'GET' });
2571
+ const fetchSafeBoxes = async (url) => {
2572
+ const result = await fetchJSON(url, { method: 'GET' });
2573
+ return result || EMPTY_VALUE;
2770
2574
  };
2771
2575
 
2772
2576
  const WrapperSelect = JSX(({ data, fieldLabel, fieldValue, selected, placeholder = '', setSelected, label }) => {
@@ -2781,7 +2585,7 @@
2781
2585
  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
2586
  });
2783
2587
 
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] }) })));
2588
+ 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
2589
 
2786
2590
  const RenderRadioButtons = JSX(() => {
2787
2591
  const [selectedOption, setSelectedOption] = useState('option2');
@@ -2798,23 +2602,11 @@
2798
2602
  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
2603
  });
2800
2604
 
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 })] })] }));
2605
+ const SafeDepositRentalFields = JSX(({ regions, selectedRegion, branches, selectedBranch, days, selectedCaseVolume, selectedBoxSize, safeBoxCases, caseVolumes, onChange, onShowMapToggle, }) => {
2606
+ 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
2607
  });
2815
- const onSelectedBranch = (onChange, setPoints, branches) => (value) => {
2608
+ const onSelectedBranch = (onChange) => (value) => {
2816
2609
  onChange({ selectedBranch: value, selectedCaseVolume: '', selectedBoxSize: '' });
2817
- setPoints(getCoordinates(value ? getBranch(branches, value) : branches));
2818
2610
  };
2819
2611
  const onSelectedCaseVolume = (onChange) => (value) => {
2820
2612
  onChange({ selectedCaseVolume: value, selectedBoxSize: '' });
@@ -2822,7 +2614,7 @@
2822
2614
 
2823
2615
  const SafeDepositRentalTotal = JSX(({ days, tariffs = [] }) => {
2824
2616
  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"] })] })] }));
2617
+ 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
2618
  });
2827
2619
  const renderTotal = (label, total, className = '') => {
2828
2620
  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 +2640,32 @@
2848
2640
  return tariffType;
2849
2641
  };
2850
2642
 
2851
- const DEFAULT_DAYS = 26;
2643
+ const getCoordinates = (data) => {
2644
+ if (Array.isArray(data)) {
2645
+ return data.map((_) => _.gpsLatitude && _.gpsLongitude ? [_.gpsLatitude, _.gpsLongitude] : []);
2646
+ }
2647
+ if (data?.gpsLatitude && data?.gpsLongitude) {
2648
+ return [[data.gpsLatitude, data.gpsLongitude]];
2649
+ }
2650
+ return [];
2651
+ };
2652
+ const getBranch = (branches, selectedBranch) => branches.find((_) => _.branchCode === selectedBranch);
2653
+
2852
2654
  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]);
2655
+ const { regions, data, branches, onChange, onShowMapToggle } = props;
2866
2656
  useEffect(() => {
2867
- if (Array.isArray(resultBranches) && resultBranches.length) {
2868
- handleChangeSafeDepositState({ branches: resultBranches });
2869
- props.setPoints(getCoordinates(resultBranches));
2870
- }
2871
- }, [resultBranches]);
2872
- useEffect(() => {
2873
- handleChangeSafeDepositState({
2657
+ onChange({
2874
2658
  selectedBranch: '',
2875
2659
  selectedCaseVolume: '',
2876
2660
  selectedBoxSize: '',
2877
2661
  });
2878
- }, [safeDepositState.selectedRegion]);
2879
- const branch = getBranch(safeDepositState.branches, safeDepositState.selectedBranch);
2662
+ }, [data.selectedRegion, onChange]);
2663
+ const branch = getBranch(branches, data.selectedBranch);
2880
2664
  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 })] }));
2665
+ const safeBoxCases = getCaseVolume(branch?.safeBoxCaseVolumes, data.selectedCaseVolume)?.safeBoxCases;
2666
+ const tariffs = getTariffs(safeBoxCases, data.selectedBoxSize);
2667
+ 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
2668
  });
2885
- const getInitialValueSelectedRegion = (regions) => regions?.length && regions[0]?.code ? regions[0].code : '';
2886
2669
  const getCaseVolumes = (safeBoxCaseVolumes) => safeBoxCaseVolumes?.length ? safeBoxCaseVolumes?.filter((_) => _?.safeBoxCases?.length) : [];
2887
2670
  const getCaseVolume = (caseVolumes, selectedCaseVolume) => caseVolumes?.find((_) => _.volume === selectedCaseVolume);
2888
2671
  const getTariffs = (safeBoxCases, selectedBoxSize) => safeBoxCases?.find((_) => _.safeBoxCasesSize === selectedBoxSize)?.tariffs;
@@ -2989,18 +2772,32 @@
2989
2772
  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
2773
  });
2991
2774
 
2775
+ const DEFAULT_DAYS = 26;
2992
2776
  const SafeDepositRental = JSX(({ title, footnote, context, className = '', ...rest }) => {
2993
- const [points, setPoints] = useState([]);
2994
2777
  const [showMap, setShowMap] = useState(false);
2778
+ const [safeDepositState, setStateDepositState] = useState({
2779
+ selectedRegion: '',
2780
+ selectedBranch: '',
2781
+ selectedCaseVolume: '',
2782
+ selectedBoxSize: '',
2783
+ days: DEFAULT_DAYS,
2784
+ });
2995
2785
  const regions = useGetRegions();
2996
- const toggleShowMap = () => {
2786
+ const selectedRegion = normalizeSelectedRegion(safeDepositState.selectedRegion, regions);
2787
+ const branches = useSafeBoxes(selectedRegion);
2788
+ const handleChangeSafeDepositState = useCallback((state) => setStateDepositState((oldState) => ({ ...oldState, ...state })), [setStateDepositState]);
2789
+ const onShowMapToggle = () => {
2997
2790
  setShowMap(!showMap);
2998
2791
  };
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] }));
2792
+ const points = getCoordinates(getBranch(branches, safeDepositState.selectedBranch) || branches);
2793
+ 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
2794
  });
2795
+ const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
3001
2796
 
3002
2797
  const checkIsIconRenderable = (icon) => Boolean(icon?.icon || icon?.src);
3003
2798
 
2799
+ const renderItems = (items, styleMap, isDotted = true) => items ? (jsx("div", { className: `mt-4 ${styleMap?.description}`, role: "list", children: items.map((_) => (jsxs("div", { className: "items-start mt-1 first:mt-0", role: "listitem", children: [isDotted ? (jsx("div", { className: `rounded-full inline-block mr-3 mb-1 w-1.5 h-1.5 min-w-1.5 min-h-1.5 ${styleMap?.dot}` })) : null, jsx("span", { children: _ })] }))) })) : null;
2800
+
3004
2801
  const STEPS_BLOCK_STYLE_MAPS = {
3005
2802
  primary: {
3006
2803
  background: 'bg-white',
@@ -3009,6 +2806,7 @@
3009
2806
  iconText: 'text-secondary-text',
3010
2807
  iconBackground: 'bg-main-divider',
3011
2808
  iconConnector: 'bg-secondary-light',
2809
+ dot: 'bg-secondary-text',
3012
2810
  },
3013
2811
  secondary: {
3014
2812
  background: 'bg-primary-main',
@@ -3017,10 +2815,12 @@
3017
2815
  iconText: 'text-white',
3018
2816
  iconBackground: 'bg-white/30',
3019
2817
  iconConnector: 'bg-white',
2818
+ dot: 'bg-white/80',
3020
2819
  },
3021
2820
  };
3022
2821
 
3023
2822
  const getLineOpacity = (showLines) => (showLines ? '' : 'opacity-0');
2823
+ const getPaddingX = (steps) => (steps < 5 ? 'px-[88px]' : 'px-[55px]');
3024
2824
  const StepsBlock = JSX(({ className = '', showLines = true, steps = [], button, version = 'primary', context, ...rest }) => {
3025
2825
  const router = context.useRouter();
3026
2826
  const { handlerDecorator } = context;
@@ -3029,6 +2829,7 @@
3029
2829
  const shortGaps = steps.length > 3;
3030
2830
  const lineOpacity = getLineOpacity(showLines);
3031
2831
  const titleMargin = title ? 'mt-9' : '';
2832
+ const paddingX = getPaddingX(steps.length);
3032
2833
  return (jsxs(BlockWrapper, { className: [
3033
2834
  'box-border font-sans text-primary-text bg-white',
3034
2835
  shortGaps ? 'px-20' : 'px-[70px]',
@@ -3036,7 +2837,7 @@
3036
2837
  styleMap.background,
3037
2838
  styleMap.title,
3038
2839
  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({
2840
+ ].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 ${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(renderStepTitle({
3040
2841
  styleMap,
3041
2842
  isMainButton: Boolean(button?.text),
3042
2843
  version,
@@ -3046,11 +2847,13 @@
3046
2847
  });
3047
2848
  const renderStepIcon = (styleMap) => ({ icon }, i) => {
3048
2849
  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)));
2850
+ ${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)));
3050
2851
  };
3051
- const renderStepTitle = ({ styleMap, isMainButton, version, router, handlerDecorator, }) => (step, i) => {
2852
+ const renderStepTitle = ({ styleMap, isMainButton, version, router, handlerDecorator, }) => (step, i, { length }) => {
3052
2853
  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)));
2854
+ const widthContainer = length < 5 ? 'w-[276px]' : 'w-[210px]';
2855
+ return (jsxs("div", { className: `flex flex-col items-center text-center relative
2856
+ whitespace-pre-line overflow-hidden ${widthContainer}`, 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, renderItems(step?.items, styleMap, step?.isDotted), 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)));
3054
2857
  };
3055
2858
 
3056
2859
  function assertUnreachable(x) {
@@ -3151,18 +2954,16 @@
3151
2954
  const handleClick = () => {
3152
2955
  EventBus.inst.fire('tariffInnerTable', { dataUrl, pdfUrl, rowIdx, cellIdx, fieldIdx });
3153
2956
  };
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 })] }));
2957
+ 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
2958
  });
3156
2959
 
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;
2960
+ 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
2961
  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] }));
2962
+ const labelClassName = `text-h6 m-0 ${description ? 'mb-1' : ''}`;
2963
+ 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
2964
  };
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 }));
2965
+ const renderImgCellData = ({ image }) => (image?.src ? jsx(ImgInner, { image: image }) : null);
2966
+ const renderListCellData = ({ isDotted, ...rest }) => (jsx(List, { className: "flex flex-col justify-between items-start text-h6", version: "primary", isDotted: isDotted ?? true, ...rest }));
3166
2967
  const renderTableCellData = JSX((props) => {
3167
2968
  const [showBtn, setShowBtn] = useState(true);
3168
2969
  console.log(props);
@@ -3186,7 +2987,7 @@
3186
2987
  return (jsx("div", { className: cellWrapperClasses, role: "cell", children: cells.map(renderCellInner(rowIdx, context, cellIdx)) }));
3187
2988
  });
3188
2989
  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)));
2990
+ 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
2991
  };
3191
2992
  const renderCell = (cell, context, indexes) => {
3192
2993
  if (!cell) {
@@ -3233,11 +3034,15 @@
3233
3034
  }
3234
3035
  const [headerColumn, ...columns] = rowData;
3235
3036
  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: {
3037
+ const columnsClassName = [
3038
+ 'flex duration-1000 text-center',
3039
+ rowIdx !== 0 ? 'font-normal' : 'font-light',
3040
+ ].join(' ');
3041
+ 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
3042
  transform: `translateX(-${transform}px)`,
3238
3043
  }, 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
3044
  };
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;
3045
+ 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
3046
 
3242
3047
  const InnerTableBody = JSX(({ context, activeTabIndex, items }) => {
3243
3048
  const [hiddenTables, setHiddenTables] = useState({});
@@ -3246,11 +3051,11 @@
3246
3051
  };
3247
3052
  return (jsx("div", { children: items.map((_, tableIdx) => {
3248
3053
  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));
3054
+ 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
3055
  }) }));
3251
3056
  });
3252
3057
 
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] })));
3058
+ 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
3059
 
3255
3060
  const InnerTable = JSX(({ context, dataUrl, pdfUrl }) => {
3256
3061
  const { tableData } = useTariffsInnerTableData(dataUrl);
@@ -3269,7 +3074,7 @@
3269
3074
  });
3270
3075
 
3271
3076
  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] }));
3077
+ 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
3078
  });
3274
3079
 
3275
3080
  const TariffsTable = JSX(({ className = '', context, title, description, rowHeaders, tariffsColumns: columns, hiddenRowsNum = 0, ...rest }) => {
@@ -3287,7 +3092,7 @@
3287
3092
  setActiveCardIndex,
3288
3093
  });
3289
3094
  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] }));
3095
+ 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: "h3", className: `text-center ${description ? 'mb-2.5' : 'mb-8'}`, title: title })) : null, description ? jsx("div", { className: "mb-9 text-center text-l", children: description }) : null, rowData?.length ? (jsx(Foldable, { blocks: foldableBlocks, hiddenBlocksNum: hiddenRowsNum, blockWrapper: (children) => (jsx(Wrapper, { tableArrowScrollControlProps: tableArrowScrollControlProps, children: children })) })) : null] }));
3291
3096
  });
3292
3097
  const Wrapper = JSX(({ children, tableArrowScrollControlProps }) => {
3293
3098
  const { isScrollAvailable } = tableArrowScrollControlProps;