@redneckz/wildless-cms-uni-blocks 0.7.1 → 0.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1501) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +290 -491
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/BaseTile/BaseTile.d.ts +1 -4
  5. package/bundle/components/BaseTile/BaseTileProps.d.ts +3 -4
  6. package/bundle/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  7. package/bundle/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  8. package/bundle/components/Carousel/CarouselContent.d.ts +2 -0
  9. package/bundle/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  10. package/bundle/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  11. package/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  12. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  13. package/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  14. package/bundle/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  15. package/bundle/components/Footer/MediaButton.d.ts +2 -2
  16. package/bundle/components/Footer/SocialMedia.d.ts +1 -3
  17. package/bundle/components/Footer/SocialMedia.mobile.d.ts +0 -2
  18. package/bundle/components/Gallery/GalleryContainer.d.ts +1 -1
  19. package/bundle/components/Gallery/GalleryInner.d.ts +1 -1
  20. package/bundle/components/Header/DropdownMenu.d.ts +0 -2
  21. package/bundle/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  22. package/bundle/components/Header/HeaderSubMenu.d.ts +0 -2
  23. package/bundle/components/Header/HeaderSubMenuItem.d.ts +0 -2
  24. package/bundle/components/Headline/HeadlineContent.d.ts +0 -2
  25. package/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  26. package/bundle/components/HorizontalLayout/gapStyles.d.ts +2 -0
  27. package/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  28. package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  29. package/bundle/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  30. package/bundle/components/ProductTile/renderBenefit.d.ts +1 -2
  31. package/bundle/components/Recommendation/RecommendationCard.d.ts +2 -4
  32. package/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  33. package/bundle/components/Tabs/tabItemClasses.d.ts +2 -2
  34. package/bundle/components/TariffsTable/EmbeddableCellData.d.ts +1 -1
  35. package/bundle/components/Tile/Tile.d.ts +0 -1
  36. package/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  37. package/bundle/components/Video/getPaddings.d.ts +1 -1
  38. package/bundle/icons/IconName.d.ts +6 -4
  39. package/bundle/model/BlockVersion.d.ts +6 -20
  40. package/bundle/model/ButtonVersion.d.ts +3 -3
  41. package/bundle/model/JSXBlock.d.ts +2 -0
  42. package/bundle/ui-kit/BlockWrapper.d.ts +2 -0
  43. package/bundle/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  44. package/bundle/ui-kit/Foldable/Foldable.d.ts +1 -0
  45. package/bundle/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  46. package/bundle/ui-kit/List/ListItem.d.ts +1 -2
  47. package/bundle/ui-kit/List/ListProps.d.ts +0 -6
  48. package/bundle/ui-kit/Text/TextProps.d.ts +2 -1
  49. package/bundle/ui-kit/TopItem/TopItem.d.ts +0 -2
  50. package/bundle/utils/getColSpan.d.ts +1 -1
  51. package/bundle/utils/style.d.ts +3 -1
  52. package/cosmos-static/icons/YoutubeIcon.svg +1 -0
  53. package/dist/BlockRenderer/renderBlock.js +4 -3
  54. package/dist/BlockRenderer/renderBlock.js.map +1 -1
  55. package/dist/components/Accordion/Accordion.js +1 -1
  56. package/dist/components/Accordion/Accordion.js.map +1 -1
  57. package/dist/components/Accordion/Accordion.mobile.js +1 -1
  58. package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
  59. package/dist/components/AccordionItem/AccordionItem.js +1 -1
  60. package/dist/components/AccordionItem/AccordionItem.js.map +1 -1
  61. package/dist/components/BaseTile/BaseTile.d.ts +1 -4
  62. package/dist/components/BaseTile/BaseTile.js.map +1 -1
  63. package/dist/components/BaseTile/BaseTileProps.d.ts +3 -4
  64. package/dist/components/BenefitsBlock/BenefitsBlock.js +5 -19
  65. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  66. package/dist/components/Bonus/Bonus.js +5 -7
  67. package/dist/components/Bonus/Bonus.js.map +1 -1
  68. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  69. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  70. package/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  71. package/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  72. package/dist/components/BusinessBlock/BusinessCard.js +2 -2
  73. package/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  74. package/dist/components/ButtonBlock/ButtonBlock.js +2 -5
  75. package/dist/components/ButtonBlock/ButtonBlock.js.map +1 -1
  76. package/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  77. package/dist/components/Calculator/BonusCalculatorForm.js +2 -2
  78. package/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  79. package/dist/components/Calculator/Calculator.js +1 -1
  80. package/dist/components/Calculator/Calculator.js.map +1 -1
  81. package/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  82. package/dist/components/Calculator/CreditCalculatorForm.js +2 -2
  83. package/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  84. package/dist/components/Calculator/DepositCalculatorForm.js +2 -2
  85. package/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  86. package/dist/components/CardTransfer/CardTransfer.js +1 -1
  87. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  88. package/dist/components/Carousel/Carousel.js +5 -3
  89. package/dist/components/Carousel/Carousel.js.map +1 -1
  90. package/dist/components/Carousel/CarouselContent.d.ts +2 -0
  91. package/dist/components/CarouselCard/CarouselCard.js +2 -2
  92. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  93. package/dist/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  94. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  95. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
  96. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  97. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
  98. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  99. package/dist/components/CarouselLinks/CarouselLinks.js +3 -3
  100. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  101. package/dist/components/CarouselProductCard/CarouselProductCard.js +8 -19
  102. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  103. package/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  104. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  105. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  106. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  107. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
  108. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  109. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  110. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  111. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +3 -4
  112. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  113. package/dist/components/Catalog/Catalog.js +1 -1
  114. package/dist/components/Catalog/Catalog.js.map +1 -1
  115. package/dist/components/Catalog/CatalogCard.js +2 -2
  116. package/dist/components/Catalog/CatalogCard.js.map +1 -1
  117. package/dist/components/ComparisonTable/ComparisonTable.js +1 -1
  118. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  119. package/dist/components/ContactsBlock/ContactsBlock.js +3 -4
  120. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  121. package/dist/components/ContentPage/ContentPage.js +2 -2
  122. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  123. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  124. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  125. package/dist/components/Footer/Footer.js +2 -2
  126. package/dist/components/Footer/Footer.js.map +1 -1
  127. package/dist/components/Footer/MediaButton.d.ts +2 -2
  128. package/dist/components/Footer/MediaButton.js +12 -13
  129. package/dist/components/Footer/MediaButton.js.map +1 -1
  130. package/dist/components/Footer/SocialMedia.d.ts +1 -3
  131. package/dist/components/Footer/SocialMedia.js +1 -1
  132. package/dist/components/Footer/SocialMedia.js.map +1 -1
  133. package/dist/components/Footer/SocialMedia.mobile.d.ts +0 -2
  134. package/dist/components/Footer/SocialMedia.mobile.js +1 -1
  135. package/dist/components/Footer/SocialMedia.mobile.js.map +1 -1
  136. package/dist/components/Gallery/Gallery.js +1 -1
  137. package/dist/components/Gallery/Gallery.js.map +1 -1
  138. package/dist/components/Gallery/Gallery.mobile.js +6 -7
  139. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  140. package/dist/components/Gallery/GalleryCardInner.js +8 -11
  141. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  142. package/dist/components/Gallery/GalleryContainer.d.ts +1 -1
  143. package/dist/components/Gallery/GalleryContainer.js +5 -4
  144. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  145. package/dist/components/Gallery/GalleryInner.d.ts +1 -1
  146. package/dist/components/Gallery/GalleryInner.js +5 -5
  147. package/dist/components/Gallery/GalleryInner.js.map +1 -1
  148. package/dist/components/GracePeriod/GracePeriod.js +1 -1
  149. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  150. package/dist/components/Header/DropdownMenu.d.ts +0 -2
  151. package/dist/components/Header/DropdownMenu.js +4 -7
  152. package/dist/components/Header/DropdownMenu.js.map +1 -1
  153. package/dist/components/Header/Header.js +6 -6
  154. package/dist/components/Header/Header.js.map +1 -1
  155. package/dist/components/Header/Header.mobile.js +7 -2
  156. package/dist/components/Header/Header.mobile.js.map +1 -1
  157. package/dist/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  158. package/dist/components/Header/HeaderSecondaryMenu.js +7 -18
  159. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  160. package/dist/components/Header/HeaderSubMenu.d.ts +0 -2
  161. package/dist/components/Header/HeaderSubMenu.js +2 -2
  162. package/dist/components/Header/HeaderSubMenu.js.map +1 -1
  163. package/dist/components/Header/HeaderSubMenuItem.d.ts +0 -2
  164. package/dist/components/Header/HeaderSubMenuItem.js +2 -2
  165. package/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  166. package/dist/components/Header/HeaderTop.js +1 -1
  167. package/dist/components/Header/HeaderTop.js.map +1 -1
  168. package/dist/components/Headline/Headline.js +4 -5
  169. package/dist/components/Headline/Headline.js.map +1 -1
  170. package/dist/components/Headline/HeadlineContent.d.ts +0 -2
  171. package/dist/components/HorizontalLayout/HorizontalLayout.js +3 -13
  172. package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  173. package/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  174. package/dist/components/HorizontalLayout/gapStyles.d.ts +2 -0
  175. package/dist/components/HorizontalLayout/gapStyles.js +12 -0
  176. package/dist/components/HorizontalLayout/gapStyles.js.map +1 -0
  177. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  178. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  179. package/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  180. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  181. package/dist/components/LinkDocs/LinkDocs.js +2 -1
  182. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  183. package/dist/components/LinkDocs/LinkDocs.mobile.js +3 -1
  184. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  185. package/dist/components/LinkDocs/LinkDocsList.js +1 -1
  186. package/dist/components/LinkDocs/LinkDocsList.js.map +1 -1
  187. package/dist/components/LinkDocs/LinkDocsListItem.js +1 -1
  188. package/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  189. package/dist/components/LinkList/LinkList.js +1 -1
  190. package/dist/components/LinkList/LinkList.js.map +1 -1
  191. package/dist/components/MiniGallery/MiniGallery.js +1 -1
  192. package/dist/components/MiniGallery/MiniGallery.js.map +1 -1
  193. package/dist/components/MobileAppTile/MobileAppTile.js +7 -11
  194. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  195. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  196. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  197. package/dist/components/ParagraphBlock/ParagraphBlock.js +1 -4
  198. package/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  199. package/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  200. package/dist/components/PictureText/PictureText.js +1 -2
  201. package/dist/components/PictureText/PictureText.js.map +1 -1
  202. package/dist/components/Placeholder/Placeholder.js +2 -1
  203. package/dist/components/Placeholder/Placeholder.js.map +1 -1
  204. package/dist/components/ProductBlock/ProductBlock.js +3 -7
  205. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  206. package/dist/components/ProductBlock/ProductBlock.mobile.js +3 -3
  207. package/dist/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  208. package/dist/components/ProductBlock/ProductBlockInner.js +4 -3
  209. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  210. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +5 -9
  211. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  212. package/dist/components/ProductGallery/ProductGallery.js +7 -20
  213. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  214. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  215. package/dist/components/ProductTile/ProductTile.js +5 -6
  216. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  217. package/dist/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  218. package/dist/components/ProductTile/renderAdditionalDescription.js +2 -6
  219. package/dist/components/ProductTile/renderAdditionalDescription.js.map +1 -1
  220. package/dist/components/ProductTile/renderBenefit.d.ts +1 -2
  221. package/dist/components/ProductTile/renderBenefit.js +2 -6
  222. package/dist/components/ProductTile/renderBenefit.js.map +1 -1
  223. package/dist/components/PromoTile/PromoTile.js +3 -3
  224. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  225. package/dist/components/Recommendation/Recommendation.js +2 -4
  226. package/dist/components/Recommendation/Recommendation.js.map +1 -1
  227. package/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
  228. package/dist/components/Recommendation/RecommendationCard.js +4 -3
  229. package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  230. package/dist/components/RollupItem/RollupItem.js +7 -15
  231. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  232. package/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
  233. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  234. package/dist/components/StepsBlock/StepsBlock.js +3 -6
  235. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  236. package/dist/components/StepsBlock/StepsBlock.mobile.js +4 -4
  237. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  238. package/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  239. package/dist/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
  240. package/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  241. package/dist/components/StepsBlock/renderStepContent.js +2 -7
  242. package/dist/components/StepsBlock/renderStepContent.js.map +1 -1
  243. package/dist/components/Tabs/renderGroupTab.js +1 -1
  244. package/dist/components/Tabs/renderGroupTab.js.map +1 -1
  245. package/dist/components/Tabs/tabItemClasses.d.ts +2 -2
  246. package/dist/components/Tabs/tabItemClasses.js +2 -2
  247. package/dist/components/Tabs/tabItemClasses.js.map +1 -1
  248. package/dist/components/TariffsTable/EmbeddableCellData.d.ts +1 -1
  249. package/dist/components/TariffsTable/EmbeddableCellData.js +5 -6
  250. package/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  251. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +6 -7
  252. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  253. package/dist/components/TariffsTable/TariffsTable.js +1 -1
  254. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  255. package/dist/components/TextBlock/TextBlock.mobile.js +1 -2
  256. package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
  257. package/dist/components/Tile/Tile.d.ts +0 -1
  258. package/dist/components/Tile/Tile.js +5 -10
  259. package/dist/components/Tile/Tile.js.map +1 -1
  260. package/dist/components/VerticalLayout/VerticalLayout.js +4 -15
  261. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  262. package/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  263. package/dist/components/Video/Video.js +2 -4
  264. package/dist/components/Video/Video.js.map +1 -1
  265. package/dist/components/Video/getPaddings.d.ts +1 -1
  266. package/dist/components/Video/getPaddings.js.map +1 -1
  267. package/dist/icons/IconName.d.ts +6 -4
  268. package/dist/icons/IconName.js +2 -0
  269. package/dist/icons/IconName.js.map +1 -1
  270. package/dist/model/BlockVersion.d.ts +6 -20
  271. package/dist/model/BlockVersion.js +0 -33
  272. package/dist/model/BlockVersion.js.map +1 -1
  273. package/dist/model/ButtonVersion.d.ts +3 -3
  274. package/dist/model/JSXBlock.d.ts +2 -0
  275. package/dist/ui-kit/BenefitItem/BenefitItem.js +1 -9
  276. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  277. package/dist/ui-kit/BlockWrapper.d.ts +2 -0
  278. package/dist/ui-kit/BlockWrapper.js +11 -3
  279. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  280. package/dist/ui-kit/Button/ArrowButton.js +2 -2
  281. package/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  282. package/dist/ui-kit/Button/ButtonInner.js +1 -1
  283. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  284. package/dist/ui-kit/Button/buttonClassNameConstants.js +9 -3
  285. package/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  286. package/dist/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  287. package/dist/ui-kit/Button/renderButtonsSection.js +16 -0
  288. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -0
  289. package/dist/ui-kit/Checkbox/Checkbox.js +1 -1
  290. package/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  291. package/dist/ui-kit/Foldable/Foldable.d.ts +1 -0
  292. package/dist/ui-kit/Foldable/Foldable.js +2 -2
  293. package/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  294. package/dist/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  295. package/dist/ui-kit/HeaderItem/HeaderItem.js +5 -17
  296. package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  297. package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js +8 -17
  298. package/dist/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -1
  299. package/dist/ui-kit/Heading/Heading.js +2 -5
  300. package/dist/ui-kit/Heading/Heading.js.map +1 -1
  301. package/dist/ui-kit/Icon/Icon.js +3 -8
  302. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  303. package/dist/ui-kit/LinkButton/LinkButton.js +2 -2
  304. package/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
  305. package/dist/ui-kit/List/List.js +1 -12
  306. package/dist/ui-kit/List/List.js.map +1 -1
  307. package/dist/ui-kit/List/ListItem.d.ts +1 -2
  308. package/dist/ui-kit/List/ListItem.js +1 -8
  309. package/dist/ui-kit/List/ListItem.js.map +1 -1
  310. package/dist/ui-kit/List/ListProps.d.ts +0 -6
  311. package/dist/ui-kit/Location/Location.js +1 -1
  312. package/dist/ui-kit/Location/Location.js.map +1 -1
  313. package/dist/ui-kit/Paragraph/Paragraph.js +1 -1
  314. package/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
  315. package/dist/ui-kit/SwipeListControl/SwipeListContainer.js +8 -3
  316. package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  317. package/dist/ui-kit/Text/Text.js +1 -1
  318. package/dist/ui-kit/Text/Text.js.map +1 -1
  319. package/dist/ui-kit/Text/TextProps.d.ts +2 -1
  320. package/dist/ui-kit/TopItem/TopItem.d.ts +0 -2
  321. package/dist/ui-kit/TopItem/TopItem.js +9 -18
  322. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  323. package/dist/utils/getColSpan.d.ts +1 -1
  324. package/dist/utils/getColSpan.js +1 -1
  325. package/dist/utils/getColSpan.js.map +1 -1
  326. package/dist/utils/style.d.ts +3 -1
  327. package/dist/utils/style.js +4 -1
  328. package/dist/utils/style.js.map +1 -1
  329. package/lib/BlockRenderer/renderBlock.js +4 -3
  330. package/lib/BlockRenderer/renderBlock.js.map +1 -1
  331. package/lib/common.css +1 -1
  332. package/lib/components/Accordion/Accordion.js +1 -1
  333. package/lib/components/Accordion/Accordion.js.map +1 -1
  334. package/lib/components/Accordion/Accordion.mobile.js +1 -1
  335. package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
  336. package/lib/components/AccordionItem/AccordionItem.js +1 -1
  337. package/lib/components/AccordionItem/AccordionItem.js.map +1 -1
  338. package/lib/components/BaseTile/BaseTile.d.ts +1 -4
  339. package/lib/components/BaseTile/BaseTile.js.map +1 -1
  340. package/lib/components/BaseTile/BaseTileProps.d.ts +3 -4
  341. package/lib/components/BenefitsBlock/BenefitsBlock.js +5 -19
  342. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  343. package/lib/components/Bonus/Bonus.js +5 -7
  344. package/lib/components/Bonus/Bonus.js.map +1 -1
  345. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  346. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  347. package/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  348. package/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  349. package/lib/components/BusinessBlock/BusinessCard.js +2 -2
  350. package/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  351. package/lib/components/ButtonBlock/ButtonBlock.js +2 -5
  352. package/lib/components/ButtonBlock/ButtonBlock.js.map +1 -1
  353. package/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  354. package/lib/components/Calculator/BonusCalculatorForm.js +2 -2
  355. package/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  356. package/lib/components/Calculator/Calculator.js +1 -1
  357. package/lib/components/Calculator/Calculator.js.map +1 -1
  358. package/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  359. package/lib/components/Calculator/CreditCalculatorForm.js +2 -2
  360. package/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  361. package/lib/components/Calculator/DepositCalculatorForm.js +2 -2
  362. package/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  363. package/lib/components/CardTransfer/CardTransfer.js +1 -1
  364. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  365. package/lib/components/Carousel/Carousel.js +5 -3
  366. package/lib/components/Carousel/Carousel.js.map +1 -1
  367. package/lib/components/Carousel/CarouselContent.d.ts +2 -0
  368. package/lib/components/CarouselCard/CarouselCard.js +2 -2
  369. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  370. package/lib/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  371. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  372. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
  373. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  374. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
  375. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  376. package/lib/components/CarouselLinks/CarouselLinks.js +3 -3
  377. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  378. package/lib/components/CarouselProductCard/CarouselProductCard.js +8 -19
  379. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  380. package/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  381. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  382. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  383. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  384. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
  385. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  386. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  387. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  388. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +3 -4
  389. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  390. package/lib/components/Catalog/Catalog.js +1 -1
  391. package/lib/components/Catalog/Catalog.js.map +1 -1
  392. package/lib/components/Catalog/CatalogCard.js +2 -2
  393. package/lib/components/Catalog/CatalogCard.js.map +1 -1
  394. package/lib/components/ComparisonTable/ComparisonTable.js +1 -1
  395. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  396. package/lib/components/ContactsBlock/ContactsBlock.js +3 -4
  397. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  398. package/lib/components/ContentPage/ContentPage.js +2 -2
  399. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  400. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  401. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  402. package/lib/components/Footer/Footer.js +2 -2
  403. package/lib/components/Footer/Footer.js.map +1 -1
  404. package/lib/components/Footer/MediaButton.d.ts +2 -2
  405. package/lib/components/Footer/MediaButton.js +12 -13
  406. package/lib/components/Footer/MediaButton.js.map +1 -1
  407. package/lib/components/Footer/SocialMedia.d.ts +1 -3
  408. package/lib/components/Footer/SocialMedia.js +1 -1
  409. package/lib/components/Footer/SocialMedia.js.map +1 -1
  410. package/lib/components/Footer/SocialMedia.mobile.d.ts +0 -2
  411. package/lib/components/Footer/SocialMedia.mobile.js +1 -1
  412. package/lib/components/Footer/SocialMedia.mobile.js.map +1 -1
  413. package/lib/components/Gallery/Gallery.js +1 -1
  414. package/lib/components/Gallery/Gallery.js.map +1 -1
  415. package/lib/components/Gallery/Gallery.mobile.js +6 -7
  416. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  417. package/lib/components/Gallery/GalleryCardInner.js +8 -11
  418. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  419. package/lib/components/Gallery/GalleryContainer.d.ts +1 -1
  420. package/lib/components/Gallery/GalleryContainer.js +5 -4
  421. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  422. package/lib/components/Gallery/GalleryInner.d.ts +1 -1
  423. package/lib/components/Gallery/GalleryInner.js +5 -5
  424. package/lib/components/Gallery/GalleryInner.js.map +1 -1
  425. package/lib/components/GracePeriod/GracePeriod.js +1 -1
  426. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  427. package/lib/components/Header/DropdownMenu.d.ts +0 -2
  428. package/lib/components/Header/DropdownMenu.js +4 -7
  429. package/lib/components/Header/DropdownMenu.js.map +1 -1
  430. package/lib/components/Header/Header.js +6 -6
  431. package/lib/components/Header/Header.js.map +1 -1
  432. package/lib/components/Header/Header.mobile.js +7 -2
  433. package/lib/components/Header/Header.mobile.js.map +1 -1
  434. package/lib/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  435. package/lib/components/Header/HeaderSecondaryMenu.js +8 -19
  436. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  437. package/lib/components/Header/HeaderSubMenu.d.ts +0 -2
  438. package/lib/components/Header/HeaderSubMenu.js +2 -2
  439. package/lib/components/Header/HeaderSubMenu.js.map +1 -1
  440. package/lib/components/Header/HeaderSubMenuItem.d.ts +0 -2
  441. package/lib/components/Header/HeaderSubMenuItem.js +2 -2
  442. package/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  443. package/lib/components/Header/HeaderTop.js +1 -1
  444. package/lib/components/Header/HeaderTop.js.map +1 -1
  445. package/lib/components/Headline/Headline.fixture.d.ts +0 -2
  446. package/lib/components/Headline/Headline.js +4 -5
  447. package/lib/components/Headline/Headline.js.map +1 -1
  448. package/lib/components/Headline/HeadlineContent.d.ts +0 -2
  449. package/lib/components/HorizontalLayout/HorizontalLayout.js +3 -13
  450. package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  451. package/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  452. package/lib/components/HorizontalLayout/gapStyles.d.ts +2 -0
  453. package/lib/components/HorizontalLayout/gapStyles.js +10 -0
  454. package/lib/components/HorizontalLayout/gapStyles.js.map +1 -0
  455. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  456. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  457. package/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  458. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  459. package/lib/components/LinkDocs/LinkDocs.js +2 -1
  460. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  461. package/lib/components/LinkDocs/LinkDocs.mobile.js +3 -1
  462. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  463. package/lib/components/LinkDocs/LinkDocsList.js +1 -1
  464. package/lib/components/LinkDocs/LinkDocsList.js.map +1 -1
  465. package/lib/components/LinkDocs/LinkDocsListItem.js +1 -1
  466. package/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  467. package/lib/components/LinkList/LinkList.js +1 -1
  468. package/lib/components/LinkList/LinkList.js.map +1 -1
  469. package/lib/components/MiniGallery/MiniGallery.js +1 -1
  470. package/lib/components/MiniGallery/MiniGallery.js.map +1 -1
  471. package/lib/components/MobileAppTile/MobileAppTile.js +7 -11
  472. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  473. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  474. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  475. package/lib/components/ParagraphBlock/ParagraphBlock.js +1 -4
  476. package/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  477. package/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  478. package/lib/components/PictureText/PictureText.js +1 -2
  479. package/lib/components/PictureText/PictureText.js.map +1 -1
  480. package/lib/components/Placeholder/Placeholder.js +2 -1
  481. package/lib/components/Placeholder/Placeholder.js.map +1 -1
  482. package/lib/components/ProductBlock/ProductBlock.js +3 -7
  483. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  484. package/lib/components/ProductBlock/ProductBlock.mobile.js +3 -3
  485. package/lib/components/ProductBlock/ProductBlock.mobile.js.map +1 -1
  486. package/lib/components/ProductBlock/ProductBlockInner.js +4 -3
  487. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  488. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +5 -9
  489. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  490. package/lib/components/ProductGallery/ProductGallery.js +7 -20
  491. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  492. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  493. package/lib/components/ProductTile/ProductTile.js +5 -6
  494. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  495. package/lib/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  496. package/lib/components/ProductTile/renderAdditionalDescription.js +2 -6
  497. package/lib/components/ProductTile/renderAdditionalDescription.js.map +1 -1
  498. package/lib/components/ProductTile/renderBenefit.d.ts +1 -2
  499. package/lib/components/ProductTile/renderBenefit.js +2 -6
  500. package/lib/components/ProductTile/renderBenefit.js.map +1 -1
  501. package/lib/components/PromoTile/PromoTile.js +3 -3
  502. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  503. package/lib/components/Recommendation/Recommendation.js +2 -4
  504. package/lib/components/Recommendation/Recommendation.js.map +1 -1
  505. package/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
  506. package/lib/components/Recommendation/RecommendationCard.js +4 -3
  507. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  508. package/lib/components/RollupItem/RollupItem.js +7 -15
  509. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  510. package/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  511. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  512. package/lib/components/StepsBlock/StepsBlock.js +3 -6
  513. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  514. package/lib/components/StepsBlock/StepsBlock.mobile.js +4 -4
  515. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  516. package/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  517. package/lib/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
  518. package/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  519. package/lib/components/StepsBlock/renderStepContent.js +3 -8
  520. package/lib/components/StepsBlock/renderStepContent.js.map +1 -1
  521. package/lib/components/Tabs/renderGroupTab.js +1 -1
  522. package/lib/components/Tabs/renderGroupTab.js.map +1 -1
  523. package/lib/components/Tabs/tabItemClasses.d.ts +2 -2
  524. package/lib/components/Tabs/tabItemClasses.js +2 -2
  525. package/lib/components/Tabs/tabItemClasses.js.map +1 -1
  526. package/lib/components/TariffsTable/EmbeddableCellData.d.ts +1 -1
  527. package/lib/components/TariffsTable/EmbeddableCellData.js +6 -7
  528. package/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  529. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +6 -7
  530. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  531. package/lib/components/TariffsTable/TariffsTable.js +1 -1
  532. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  533. package/lib/components/TextBlock/TextBlock.mobile.js +1 -2
  534. package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
  535. package/lib/components/Tile/Tile.d.ts +0 -1
  536. package/lib/components/Tile/Tile.js +5 -10
  537. package/lib/components/Tile/Tile.js.map +1 -1
  538. package/lib/components/VerticalLayout/VerticalLayout.js +4 -15
  539. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  540. package/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  541. package/lib/components/Video/Video.js +2 -4
  542. package/lib/components/Video/Video.js.map +1 -1
  543. package/lib/components/Video/getPaddings.d.ts +1 -1
  544. package/lib/components/Video/getPaddings.js.map +1 -1
  545. package/lib/icons/IconName.d.ts +6 -4
  546. package/lib/icons/IconName.js +2 -0
  547. package/lib/icons/IconName.js.map +1 -1
  548. package/lib/model/BlockVersion.d.ts +6 -20
  549. package/lib/model/BlockVersion.js +1 -32
  550. package/lib/model/BlockVersion.js.map +1 -1
  551. package/lib/model/ButtonVersion.d.ts +3 -3
  552. package/lib/model/JSXBlock.d.ts +2 -0
  553. package/lib/ui-kit/BenefitItem/BenefitItem.js +1 -9
  554. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  555. package/lib/ui-kit/BlockWrapper.d.ts +2 -0
  556. package/lib/ui-kit/BlockWrapper.js +10 -2
  557. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  558. package/lib/ui-kit/Button/ArrowButton.js +2 -2
  559. package/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  560. package/lib/ui-kit/Button/ButtonInner.js +1 -1
  561. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  562. package/lib/ui-kit/Button/buttonClassNameConstants.js +9 -3
  563. package/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  564. package/lib/ui-kit/Button/renderButtonsSection.d.ts +8 -0
  565. package/lib/ui-kit/Button/renderButtonsSection.js +13 -0
  566. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -0
  567. package/lib/ui-kit/Checkbox/Checkbox.js +1 -1
  568. package/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  569. package/lib/ui-kit/Foldable/Foldable.d.ts +1 -0
  570. package/lib/ui-kit/Foldable/Foldable.js +2 -2
  571. package/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  572. package/lib/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  573. package/lib/ui-kit/HeaderItem/HeaderItem.js +5 -17
  574. package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  575. package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js +8 -17
  576. package/lib/ui-kit/HeaderItem/HeaderItem.mobile.js.map +1 -1
  577. package/lib/ui-kit/Heading/Heading.js +2 -5
  578. package/lib/ui-kit/Heading/Heading.js.map +1 -1
  579. package/lib/ui-kit/Icon/Icon.js +3 -8
  580. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  581. package/lib/ui-kit/LinkButton/LinkButton.js +2 -2
  582. package/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
  583. package/lib/ui-kit/List/List.fixture.d.ts +0 -2
  584. package/lib/ui-kit/List/List.js +1 -12
  585. package/lib/ui-kit/List/List.js.map +1 -1
  586. package/lib/ui-kit/List/ListItem.d.ts +1 -2
  587. package/lib/ui-kit/List/ListItem.js +1 -8
  588. package/lib/ui-kit/List/ListItem.js.map +1 -1
  589. package/lib/ui-kit/List/ListProps.d.ts +0 -6
  590. package/lib/ui-kit/Location/Location.js +1 -1
  591. package/lib/ui-kit/Location/Location.js.map +1 -1
  592. package/lib/ui-kit/Paragraph/Paragraph.js +1 -1
  593. package/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
  594. package/lib/ui-kit/SwipeListControl/SwipeListContainer.js +8 -3
  595. package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  596. package/lib/ui-kit/SwipeListControl/SwipeListControl.fixture.d.ts +12 -0
  597. package/lib/ui-kit/Text/Text.js +1 -1
  598. package/lib/ui-kit/Text/Text.js.map +1 -1
  599. package/lib/ui-kit/Text/TextProps.d.ts +2 -1
  600. package/lib/ui-kit/TopItem/TopItem.d.ts +0 -2
  601. package/lib/ui-kit/TopItem/TopItem.js +9 -18
  602. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  603. package/lib/utils/getColSpan.d.ts +1 -1
  604. package/lib/utils/getColSpan.js +1 -1
  605. package/lib/utils/getColSpan.js.map +1 -1
  606. package/lib/utils/style.d.ts +3 -1
  607. package/lib/utils/style.js +4 -1
  608. package/lib/utils/style.js.map +1 -1
  609. package/mobile/bundle/bundle.umd.js +155 -164
  610. package/mobile/bundle/bundle.umd.min.js +1 -1
  611. package/mobile/bundle/components/BaseTile/BaseTile.d.ts +1 -4
  612. package/mobile/bundle/components/BaseTile/BaseTileProps.d.ts +3 -4
  613. package/mobile/bundle/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  614. package/mobile/bundle/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  615. package/mobile/bundle/components/Carousel/CarouselContent.d.ts +2 -0
  616. package/mobile/bundle/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  617. package/mobile/bundle/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  618. package/mobile/bundle/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  619. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  620. package/mobile/bundle/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  621. package/mobile/bundle/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  622. package/mobile/bundle/components/Footer/MediaButton.d.ts +2 -2
  623. package/mobile/bundle/components/Footer/SocialMedia.d.ts +0 -2
  624. package/mobile/bundle/components/Gallery/GalleryContainer.d.ts +1 -1
  625. package/mobile/bundle/components/Gallery/GalleryInner.d.ts +1 -1
  626. package/mobile/bundle/components/Header/DropdownMenu.d.ts +0 -2
  627. package/mobile/bundle/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  628. package/mobile/bundle/components/Header/HeaderSubMenu.d.ts +0 -2
  629. package/mobile/bundle/components/Header/HeaderSubMenuItem.d.ts +0 -2
  630. package/mobile/bundle/components/Headline/HeadlineContent.d.ts +0 -2
  631. package/mobile/bundle/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  632. package/mobile/bundle/components/HorizontalLayout/gapStyles.d.ts +2 -0
  633. package/mobile/bundle/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  634. package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  635. package/mobile/bundle/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  636. package/mobile/bundle/components/ProductTile/renderBenefit.d.ts +1 -2
  637. package/mobile/bundle/components/Recommendation/RecommendationCard.d.ts +2 -4
  638. package/mobile/bundle/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  639. package/mobile/bundle/components/Tabs/tabItemClasses.d.ts +2 -2
  640. package/mobile/bundle/components/Tile/Tile.d.ts +0 -1
  641. package/mobile/bundle/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  642. package/mobile/bundle/components/Video/getPaddings.d.ts +1 -1
  643. package/mobile/bundle/icons/IconName.d.ts +6 -4
  644. package/mobile/bundle/model/BlockVersion.d.ts +6 -20
  645. package/mobile/bundle/model/ButtonVersion.d.ts +3 -3
  646. package/mobile/bundle/model/JSXBlock.d.ts +2 -0
  647. package/mobile/bundle/ui-kit/BlockWrapper.d.ts +2 -0
  648. package/mobile/bundle/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  649. package/mobile/bundle/ui-kit/Foldable/Foldable.d.ts +1 -0
  650. package/mobile/bundle/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  651. package/mobile/bundle/ui-kit/List/ListItem.d.ts +1 -2
  652. package/mobile/bundle/ui-kit/List/ListProps.d.ts +0 -6
  653. package/mobile/bundle/ui-kit/Text/TextProps.d.ts +2 -1
  654. package/mobile/bundle/ui-kit/TopItem/TopItem.d.ts +0 -2
  655. package/mobile/bundle/utils/getColSpan.d.ts +1 -1
  656. package/mobile/bundle/utils/style.d.ts +3 -1
  657. package/mobile/dist/BlockRenderer/renderBlock.js +4 -3
  658. package/mobile/dist/BlockRenderer/renderBlock.js.map +1 -1
  659. package/mobile/dist/components/Accordion/Accordion.js +1 -1
  660. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  661. package/mobile/dist/components/BaseTile/BaseTile.d.ts +1 -4
  662. package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
  663. package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +3 -4
  664. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +5 -19
  665. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  666. package/mobile/dist/components/Bonus/Bonus.js +5 -7
  667. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  668. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  669. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  670. package/mobile/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  671. package/mobile/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  672. package/mobile/dist/components/BusinessBlock/BusinessCard.js +2 -2
  673. package/mobile/dist/components/BusinessBlock/BusinessCard.js.map +1 -1
  674. package/mobile/dist/components/ButtonBlock/ButtonBlock.js +2 -5
  675. package/mobile/dist/components/ButtonBlock/ButtonBlock.js.map +1 -1
  676. package/mobile/dist/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  677. package/mobile/dist/components/Calculator/BonusCalculatorForm.js +2 -2
  678. package/mobile/dist/components/Calculator/BonusCalculatorForm.js.map +1 -1
  679. package/mobile/dist/components/Calculator/Calculator.js +1 -1
  680. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  681. package/mobile/dist/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  682. package/mobile/dist/components/Calculator/CreditCalculatorForm.js +2 -2
  683. package/mobile/dist/components/Calculator/CreditCalculatorForm.js.map +1 -1
  684. package/mobile/dist/components/Calculator/DepositCalculatorForm.js +2 -2
  685. package/mobile/dist/components/Calculator/DepositCalculatorForm.js.map +1 -1
  686. package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
  687. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  688. package/mobile/dist/components/Carousel/Carousel.js +5 -3
  689. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  690. package/mobile/dist/components/Carousel/CarouselContent.d.ts +2 -0
  691. package/mobile/dist/components/CarouselCard/CarouselCard.js +2 -2
  692. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  693. package/mobile/dist/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  694. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  695. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
  696. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  697. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
  698. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  699. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +3 -3
  700. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  701. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +8 -19
  702. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  703. package/mobile/dist/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  704. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  705. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  706. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  707. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
  708. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  709. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  710. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  711. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +3 -4
  712. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  713. package/mobile/dist/components/Catalog/Catalog.js +1 -1
  714. package/mobile/dist/components/Catalog/Catalog.js.map +1 -1
  715. package/mobile/dist/components/Catalog/CatalogCard.js +2 -2
  716. package/mobile/dist/components/Catalog/CatalogCard.js.map +1 -1
  717. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +3 -4
  718. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  719. package/mobile/dist/components/ContentPage/ContentPage.js +2 -2
  720. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  721. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  722. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  723. package/mobile/dist/components/Footer/MediaButton.d.ts +2 -2
  724. package/mobile/dist/components/Footer/MediaButton.js +12 -13
  725. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  726. package/mobile/dist/components/Footer/SocialMedia.d.ts +0 -2
  727. package/mobile/dist/components/Footer/SocialMedia.js +1 -1
  728. package/mobile/dist/components/Footer/SocialMedia.js.map +1 -1
  729. package/mobile/dist/components/Gallery/Gallery.js +6 -7
  730. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  731. package/mobile/dist/components/Gallery/GalleryCardInner.js +8 -11
  732. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  733. package/mobile/dist/components/Gallery/GalleryContainer.d.ts +1 -1
  734. package/mobile/dist/components/Gallery/GalleryContainer.js +5 -4
  735. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  736. package/mobile/dist/components/Gallery/GalleryInner.d.ts +1 -1
  737. package/mobile/dist/components/Gallery/GalleryInner.js +5 -5
  738. package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
  739. package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -1
  740. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  741. package/mobile/dist/components/Header/DropdownMenu.d.ts +0 -2
  742. package/mobile/dist/components/Header/DropdownMenu.js +4 -7
  743. package/mobile/dist/components/Header/DropdownMenu.js.map +1 -1
  744. package/mobile/dist/components/Header/Header.js +7 -2
  745. package/mobile/dist/components/Header/Header.js.map +1 -1
  746. package/mobile/dist/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  747. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +7 -18
  748. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  749. package/mobile/dist/components/Header/HeaderSubMenu.d.ts +0 -2
  750. package/mobile/dist/components/Header/HeaderSubMenu.js +2 -2
  751. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -1
  752. package/mobile/dist/components/Header/HeaderSubMenuItem.d.ts +0 -2
  753. package/mobile/dist/components/Header/HeaderSubMenuItem.js +2 -2
  754. package/mobile/dist/components/Header/HeaderSubMenuItem.js.map +1 -1
  755. package/mobile/dist/components/Header/HeaderTop.js +1 -1
  756. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  757. package/mobile/dist/components/Headline/Headline.js +6 -5
  758. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  759. package/mobile/dist/components/Headline/HeadlineContent.d.ts +0 -2
  760. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +3 -13
  761. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  762. package/mobile/dist/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  763. package/mobile/dist/components/HorizontalLayout/gapStyles.d.ts +2 -0
  764. package/mobile/dist/components/HorizontalLayout/gapStyles.js +12 -0
  765. package/mobile/dist/components/HorizontalLayout/gapStyles.js.map +1 -0
  766. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  767. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  768. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +1 -1
  769. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  770. package/mobile/dist/components/LinkDocs/LinkDocs.js +3 -1
  771. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  772. package/mobile/dist/components/LinkDocs/LinkDocsList.js +1 -1
  773. package/mobile/dist/components/LinkDocs/LinkDocsList.js.map +1 -1
  774. package/mobile/dist/components/LinkList/LinkList.js +1 -1
  775. package/mobile/dist/components/LinkList/LinkList.js.map +1 -1
  776. package/mobile/dist/components/MiniGallery/MiniGallery.js +1 -1
  777. package/mobile/dist/components/MiniGallery/MiniGallery.js.map +1 -1
  778. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  779. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  780. package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js +1 -4
  781. package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  782. package/mobile/dist/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  783. package/mobile/dist/components/PictureText/PictureText.js +1 -2
  784. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  785. package/mobile/dist/components/Placeholder/Placeholder.js +2 -1
  786. package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
  787. package/mobile/dist/components/ProductBlock/ProductBlock.js +3 -3
  788. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  789. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +5 -9
  790. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  791. package/mobile/dist/components/ProductGallery/ProductGallery.js +7 -20
  792. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  793. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  794. package/mobile/dist/components/ProductTile/ProductTile.js +5 -6
  795. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  796. package/mobile/dist/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  797. package/mobile/dist/components/ProductTile/renderAdditionalDescription.js +2 -6
  798. package/mobile/dist/components/ProductTile/renderAdditionalDescription.js.map +1 -1
  799. package/mobile/dist/components/ProductTile/renderBenefit.d.ts +1 -2
  800. package/mobile/dist/components/ProductTile/renderBenefit.js +2 -6
  801. package/mobile/dist/components/ProductTile/renderBenefit.js.map +1 -1
  802. package/mobile/dist/components/PromoTile/PromoTile.js +3 -3
  803. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  804. package/mobile/dist/components/Recommendation/Recommendation.js +2 -4
  805. package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
  806. package/mobile/dist/components/Recommendation/RecommendationCard.d.ts +2 -4
  807. package/mobile/dist/components/Recommendation/RecommendationCard.js +4 -3
  808. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  809. package/mobile/dist/components/RollupItem/RollupItem.js +7 -15
  810. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  811. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +1 -1
  812. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  813. package/mobile/dist/components/StepsBlock/StepsBlock.js +4 -4
  814. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  815. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  816. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
  817. package/mobile/dist/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  818. package/mobile/dist/components/StepsBlock/renderStepContent.js +2 -7
  819. package/mobile/dist/components/StepsBlock/renderStepContent.js.map +1 -1
  820. package/mobile/dist/components/Tabs/renderGroupTab.js +1 -1
  821. package/mobile/dist/components/Tabs/renderGroupTab.js.map +1 -1
  822. package/mobile/dist/components/Tabs/tabItemClasses.d.ts +2 -2
  823. package/mobile/dist/components/Tabs/tabItemClasses.js +2 -2
  824. package/mobile/dist/components/Tabs/tabItemClasses.js.map +1 -1
  825. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +6 -7
  826. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  827. package/mobile/dist/components/TextBlock/TextBlock.js +1 -2
  828. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  829. package/mobile/dist/components/Tile/Tile.d.ts +0 -1
  830. package/mobile/dist/components/Tile/Tile.js +5 -10
  831. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  832. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +4 -15
  833. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  834. package/mobile/dist/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  835. package/mobile/dist/components/Video/Video.js +2 -4
  836. package/mobile/dist/components/Video/Video.js.map +1 -1
  837. package/mobile/dist/components/Video/getPaddings.d.ts +1 -1
  838. package/mobile/dist/components/Video/getPaddings.js.map +1 -1
  839. package/mobile/dist/icons/IconName.d.ts +6 -4
  840. package/mobile/dist/icons/IconName.js +2 -0
  841. package/mobile/dist/icons/IconName.js.map +1 -1
  842. package/mobile/dist/model/BlockVersion.d.ts +6 -20
  843. package/mobile/dist/model/BlockVersion.js +0 -33
  844. package/mobile/dist/model/BlockVersion.js.map +1 -1
  845. package/mobile/dist/model/ButtonVersion.d.ts +3 -3
  846. package/mobile/dist/model/JSXBlock.d.ts +2 -0
  847. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +1 -9
  848. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  849. package/mobile/dist/ui-kit/BlockWrapper.d.ts +2 -0
  850. package/mobile/dist/ui-kit/BlockWrapper.js +11 -3
  851. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  852. package/mobile/dist/ui-kit/Button/ArrowButton.js +2 -2
  853. package/mobile/dist/ui-kit/Button/ArrowButton.js.map +1 -1
  854. package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
  855. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  856. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js +9 -3
  857. package/mobile/dist/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  858. package/mobile/dist/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  859. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +16 -0
  860. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -0
  861. package/mobile/dist/ui-kit/Checkbox/Checkbox.js +1 -1
  862. package/mobile/dist/ui-kit/Checkbox/Checkbox.js.map +1 -1
  863. package/mobile/dist/ui-kit/Foldable/Foldable.d.ts +1 -0
  864. package/mobile/dist/ui-kit/Foldable/Foldable.js +2 -2
  865. package/mobile/dist/ui-kit/Foldable/Foldable.js.map +1 -1
  866. package/mobile/dist/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  867. package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js +8 -17
  868. package/mobile/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  869. package/mobile/dist/ui-kit/Icon/Icon.js +3 -8
  870. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  871. package/mobile/dist/ui-kit/LinkButton/LinkButton.js +2 -2
  872. package/mobile/dist/ui-kit/LinkButton/LinkButton.js.map +1 -1
  873. package/mobile/dist/ui-kit/List/List.js +1 -12
  874. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  875. package/mobile/dist/ui-kit/List/ListItem.d.ts +1 -2
  876. package/mobile/dist/ui-kit/List/ListItem.js +1 -8
  877. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  878. package/mobile/dist/ui-kit/List/ListProps.d.ts +0 -6
  879. package/mobile/dist/ui-kit/Location/Location.js +1 -1
  880. package/mobile/dist/ui-kit/Location/Location.js.map +1 -1
  881. package/mobile/dist/ui-kit/Paragraph/Paragraph.js +1 -1
  882. package/mobile/dist/ui-kit/Paragraph/Paragraph.js.map +1 -1
  883. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js +8 -3
  884. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  885. package/mobile/dist/ui-kit/Text/Text.js +1 -1
  886. package/mobile/dist/ui-kit/Text/Text.js.map +1 -1
  887. package/mobile/dist/ui-kit/Text/TextProps.d.ts +2 -1
  888. package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +0 -2
  889. package/mobile/dist/ui-kit/TopItem/TopItem.js +9 -18
  890. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  891. package/mobile/dist/utils/getColSpan.d.ts +1 -1
  892. package/mobile/dist/utils/getColSpan.js +1 -1
  893. package/mobile/dist/utils/getColSpan.js.map +1 -1
  894. package/mobile/dist/utils/style.d.ts +3 -1
  895. package/mobile/dist/utils/style.js +4 -1
  896. package/mobile/dist/utils/style.js.map +1 -1
  897. package/mobile/lib/BlockRenderer/renderBlock.js +4 -3
  898. package/mobile/lib/BlockRenderer/renderBlock.js.map +1 -1
  899. package/mobile/lib/components/Accordion/Accordion.js +1 -1
  900. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  901. package/mobile/lib/components/BaseTile/BaseTile.d.ts +1 -4
  902. package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
  903. package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +3 -4
  904. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +5 -19
  905. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  906. package/mobile/lib/components/Bonus/Bonus.js +5 -7
  907. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  908. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  909. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  910. package/mobile/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  911. package/mobile/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  912. package/mobile/lib/components/BusinessBlock/BusinessCard.js +2 -2
  913. package/mobile/lib/components/BusinessBlock/BusinessCard.js.map +1 -1
  914. package/mobile/lib/components/ButtonBlock/ButtonBlock.js +2 -5
  915. package/mobile/lib/components/ButtonBlock/ButtonBlock.js.map +1 -1
  916. package/mobile/lib/components/Calculator/BonusCalculatorForm.d.ts +1 -1
  917. package/mobile/lib/components/Calculator/BonusCalculatorForm.js +2 -2
  918. package/mobile/lib/components/Calculator/BonusCalculatorForm.js.map +1 -1
  919. package/mobile/lib/components/Calculator/Calculator.js +1 -1
  920. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  921. package/mobile/lib/components/Calculator/CreditCalculatorForm.d.ts +1 -1
  922. package/mobile/lib/components/Calculator/CreditCalculatorForm.js +2 -2
  923. package/mobile/lib/components/Calculator/CreditCalculatorForm.js.map +1 -1
  924. package/mobile/lib/components/Calculator/DepositCalculatorForm.js +2 -2
  925. package/mobile/lib/components/Calculator/DepositCalculatorForm.js.map +1 -1
  926. package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
  927. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  928. package/mobile/lib/components/Carousel/Carousel.js +5 -3
  929. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  930. package/mobile/lib/components/Carousel/CarouselContent.d.ts +2 -0
  931. package/mobile/lib/components/CarouselCard/CarouselCard.js +2 -2
  932. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  933. package/mobile/lib/components/CarouselCard/CarouselCardContent.d.ts +1 -1
  934. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.d.ts +2 -4
  935. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +3 -3
  936. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  937. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +6 -9
  938. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  939. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +3 -3
  940. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  941. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +8 -19
  942. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  943. package/mobile/lib/components/CarouselProductCard/CarouselProductCardContent.d.ts +3 -3
  944. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -2
  945. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  946. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.d.ts +1 -1
  947. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +7 -11
  948. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  949. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCardContent.d.ts +0 -2
  950. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.d.ts +1 -1
  951. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +3 -4
  952. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  953. package/mobile/lib/components/Catalog/Catalog.js +1 -1
  954. package/mobile/lib/components/Catalog/Catalog.js.map +1 -1
  955. package/mobile/lib/components/Catalog/CatalogCard.js +2 -2
  956. package/mobile/lib/components/Catalog/CatalogCard.js.map +1 -1
  957. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +3 -4
  958. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  959. package/mobile/lib/components/ContentPage/ContentPage.js +2 -2
  960. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  961. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +1 -1
  962. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  963. package/mobile/lib/components/Footer/MediaButton.d.ts +2 -2
  964. package/mobile/lib/components/Footer/MediaButton.js +12 -13
  965. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  966. package/mobile/lib/components/Footer/SocialMedia.d.ts +0 -2
  967. package/mobile/lib/components/Footer/SocialMedia.js +1 -1
  968. package/mobile/lib/components/Footer/SocialMedia.js.map +1 -1
  969. package/mobile/lib/components/Gallery/Gallery.js +6 -7
  970. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  971. package/mobile/lib/components/Gallery/GalleryCardInner.js +8 -11
  972. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  973. package/mobile/lib/components/Gallery/GalleryContainer.d.ts +1 -1
  974. package/mobile/lib/components/Gallery/GalleryContainer.js +5 -4
  975. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  976. package/mobile/lib/components/Gallery/GalleryInner.d.ts +1 -1
  977. package/mobile/lib/components/Gallery/GalleryInner.js +5 -5
  978. package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
  979. package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -1
  980. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  981. package/mobile/lib/components/Header/DropdownMenu.d.ts +0 -2
  982. package/mobile/lib/components/Header/DropdownMenu.js +4 -7
  983. package/mobile/lib/components/Header/DropdownMenu.js.map +1 -1
  984. package/mobile/lib/components/Header/Header.js +7 -2
  985. package/mobile/lib/components/Header/Header.js.map +1 -1
  986. package/mobile/lib/components/Header/HeaderSecondaryMenu.d.ts +2 -2
  987. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +8 -19
  988. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  989. package/mobile/lib/components/Header/HeaderSubMenu.d.ts +0 -2
  990. package/mobile/lib/components/Header/HeaderSubMenu.js +2 -2
  991. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -1
  992. package/mobile/lib/components/Header/HeaderSubMenuItem.d.ts +0 -2
  993. package/mobile/lib/components/Header/HeaderSubMenuItem.js +2 -2
  994. package/mobile/lib/components/Header/HeaderSubMenuItem.js.map +1 -1
  995. package/mobile/lib/components/Header/HeaderTop.js +1 -1
  996. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  997. package/mobile/lib/components/Headline/Headline.js +6 -5
  998. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  999. package/mobile/lib/components/Headline/HeadlineContent.d.ts +0 -2
  1000. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +3 -13
  1001. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  1002. package/mobile/lib/components/HorizontalLayout/HorizontalLayoutContent.d.ts +0 -2
  1003. package/mobile/lib/components/HorizontalLayout/gapStyles.d.ts +2 -0
  1004. package/mobile/lib/components/HorizontalLayout/gapStyles.js +10 -0
  1005. package/mobile/lib/components/HorizontalLayout/gapStyles.js.map +1 -0
  1006. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +1 -1
  1007. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  1008. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +1 -1
  1009. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  1010. package/mobile/lib/components/LinkDocs/LinkDocs.js +3 -1
  1011. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  1012. package/mobile/lib/components/LinkDocs/LinkDocsList.js +1 -1
  1013. package/mobile/lib/components/LinkDocs/LinkDocsList.js.map +1 -1
  1014. package/mobile/lib/components/LinkList/LinkList.js +1 -1
  1015. package/mobile/lib/components/LinkList/LinkList.js.map +1 -1
  1016. package/mobile/lib/components/MiniGallery/MiniGallery.js +1 -1
  1017. package/mobile/lib/components/MiniGallery/MiniGallery.js.map +1 -1
  1018. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +1 -1
  1019. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  1020. package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js +1 -4
  1021. package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  1022. package/mobile/lib/components/ParagraphBlock/ParagraphBlockContent.d.ts +5 -2
  1023. package/mobile/lib/components/PictureText/PictureText.js +1 -2
  1024. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  1025. package/mobile/lib/components/Placeholder/Placeholder.js +2 -1
  1026. package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
  1027. package/mobile/lib/components/ProductBlock/ProductBlock.js +3 -3
  1028. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  1029. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +5 -9
  1030. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  1031. package/mobile/lib/components/ProductGallery/ProductGallery.js +7 -20
  1032. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  1033. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +1 -0
  1034. package/mobile/lib/components/ProductTile/ProductTile.js +5 -6
  1035. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  1036. package/mobile/lib/components/ProductTile/renderAdditionalDescription.d.ts +1 -2
  1037. package/mobile/lib/components/ProductTile/renderAdditionalDescription.js +2 -6
  1038. package/mobile/lib/components/ProductTile/renderAdditionalDescription.js.map +1 -1
  1039. package/mobile/lib/components/ProductTile/renderBenefit.d.ts +1 -2
  1040. package/mobile/lib/components/ProductTile/renderBenefit.js +2 -6
  1041. package/mobile/lib/components/ProductTile/renderBenefit.js.map +1 -1
  1042. package/mobile/lib/components/PromoTile/PromoTile.js +3 -3
  1043. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  1044. package/mobile/lib/components/Recommendation/Recommendation.js +2 -4
  1045. package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
  1046. package/mobile/lib/components/Recommendation/RecommendationCard.d.ts +2 -4
  1047. package/mobile/lib/components/Recommendation/RecommendationCard.js +4 -3
  1048. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  1049. package/mobile/lib/components/RollupItem/RollupItem.js +7 -15
  1050. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  1051. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +1 -1
  1052. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  1053. package/mobile/lib/components/StepsBlock/StepsBlock.js +4 -4
  1054. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  1055. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.d.ts +0 -2
  1056. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js +23 -4
  1057. package/mobile/lib/components/StepsBlock/StepsBlockStyleMaps.js.map +1 -1
  1058. package/mobile/lib/components/StepsBlock/renderStepContent.js +3 -8
  1059. package/mobile/lib/components/StepsBlock/renderStepContent.js.map +1 -1
  1060. package/mobile/lib/components/Tabs/renderGroupTab.js +1 -1
  1061. package/mobile/lib/components/Tabs/renderGroupTab.js.map +1 -1
  1062. package/mobile/lib/components/Tabs/tabItemClasses.d.ts +2 -2
  1063. package/mobile/lib/components/Tabs/tabItemClasses.js +2 -2
  1064. package/mobile/lib/components/Tabs/tabItemClasses.js.map +1 -1
  1065. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +6 -7
  1066. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  1067. package/mobile/lib/components/TextBlock/TextBlock.js +1 -2
  1068. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  1069. package/mobile/lib/components/Tile/Tile.d.ts +0 -1
  1070. package/mobile/lib/components/Tile/Tile.js +5 -10
  1071. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  1072. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +4 -15
  1073. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  1074. package/mobile/lib/components/VerticalLayout/VerticalLayoutContent.d.ts +3 -7
  1075. package/mobile/lib/components/Video/Video.js +2 -4
  1076. package/mobile/lib/components/Video/Video.js.map +1 -1
  1077. package/mobile/lib/components/Video/getPaddings.d.ts +1 -1
  1078. package/mobile/lib/components/Video/getPaddings.js.map +1 -1
  1079. package/mobile/lib/icons/IconName.d.ts +6 -4
  1080. package/mobile/lib/icons/IconName.js +2 -0
  1081. package/mobile/lib/icons/IconName.js.map +1 -1
  1082. package/mobile/lib/model/BlockVersion.d.ts +6 -20
  1083. package/mobile/lib/model/BlockVersion.js +1 -32
  1084. package/mobile/lib/model/BlockVersion.js.map +1 -1
  1085. package/mobile/lib/model/ButtonVersion.d.ts +3 -3
  1086. package/mobile/lib/model/JSXBlock.d.ts +2 -0
  1087. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +1 -9
  1088. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  1089. package/mobile/lib/ui-kit/BlockWrapper.d.ts +2 -0
  1090. package/mobile/lib/ui-kit/BlockWrapper.js +10 -2
  1091. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  1092. package/mobile/lib/ui-kit/Button/ArrowButton.js +2 -2
  1093. package/mobile/lib/ui-kit/Button/ArrowButton.js.map +1 -1
  1094. package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
  1095. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  1096. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js +9 -3
  1097. package/mobile/lib/ui-kit/Button/buttonClassNameConstants.js.map +1 -1
  1098. package/mobile/lib/ui-kit/Button/renderButtonsSection.d.ts +9 -0
  1099. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +13 -0
  1100. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -0
  1101. package/mobile/lib/ui-kit/Checkbox/Checkbox.js +1 -1
  1102. package/mobile/lib/ui-kit/Checkbox/Checkbox.js.map +1 -1
  1103. package/mobile/lib/ui-kit/Foldable/Foldable.d.ts +1 -0
  1104. package/mobile/lib/ui-kit/Foldable/Foldable.js +2 -2
  1105. package/mobile/lib/ui-kit/Foldable/Foldable.js.map +1 -1
  1106. package/mobile/lib/ui-kit/Foldable/FoldablePartProps.d.ts +1 -1
  1107. package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js +8 -17
  1108. package/mobile/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  1109. package/mobile/lib/ui-kit/Icon/Icon.js +3 -8
  1110. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  1111. package/mobile/lib/ui-kit/LinkButton/LinkButton.js +2 -2
  1112. package/mobile/lib/ui-kit/LinkButton/LinkButton.js.map +1 -1
  1113. package/mobile/lib/ui-kit/List/List.js +1 -12
  1114. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  1115. package/mobile/lib/ui-kit/List/ListItem.d.ts +1 -2
  1116. package/mobile/lib/ui-kit/List/ListItem.js +1 -8
  1117. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  1118. package/mobile/lib/ui-kit/List/ListProps.d.ts +0 -6
  1119. package/mobile/lib/ui-kit/Location/Location.js +1 -1
  1120. package/mobile/lib/ui-kit/Location/Location.js.map +1 -1
  1121. package/mobile/lib/ui-kit/Paragraph/Paragraph.js +1 -1
  1122. package/mobile/lib/ui-kit/Paragraph/Paragraph.js.map +1 -1
  1123. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js +8 -3
  1124. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  1125. package/mobile/lib/ui-kit/Text/Text.js +1 -1
  1126. package/mobile/lib/ui-kit/Text/Text.js.map +1 -1
  1127. package/mobile/lib/ui-kit/Text/TextProps.d.ts +2 -1
  1128. package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +0 -2
  1129. package/mobile/lib/ui-kit/TopItem/TopItem.js +9 -18
  1130. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  1131. package/mobile/lib/utils/getColSpan.d.ts +1 -1
  1132. package/mobile/lib/utils/getColSpan.js +1 -1
  1133. package/mobile/lib/utils/getColSpan.js.map +1 -1
  1134. package/mobile/lib/utils/style.d.ts +3 -1
  1135. package/mobile/lib/utils/style.js +4 -1
  1136. package/mobile/lib/utils/style.js.map +1 -1
  1137. package/mobile/src/BlockRenderer/renderBlock.tsx +8 -3
  1138. package/mobile/src/components/Accordion/Accordion.tsx +1 -1
  1139. package/mobile/src/components/BaseTile/BaseTile.tsx +1 -5
  1140. package/mobile/src/components/BaseTile/BaseTileProps.ts +3 -4
  1141. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +18 -40
  1142. package/mobile/src/components/Bonus/Bonus.tsx +19 -27
  1143. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -7
  1144. package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
  1145. package/mobile/src/components/BusinessBlock/BusinessCard.tsx +2 -2
  1146. package/mobile/src/components/ButtonBlock/ButtonBlock.tsx +4 -10
  1147. package/mobile/src/components/Calculator/BonusCalculatorForm.tsx +3 -3
  1148. package/mobile/src/components/Calculator/Calculator.tsx +1 -4
  1149. package/mobile/src/components/Calculator/CreditCalculatorForm.tsx +3 -3
  1150. package/mobile/src/components/Calculator/DepositCalculatorForm.tsx +2 -2
  1151. package/mobile/src/components/CardTransfer/CardTransfer.tsx +1 -4
  1152. package/mobile/src/components/Carousel/Carousel.example.json +2 -1
  1153. package/mobile/src/components/Carousel/Carousel.tsx +14 -3
  1154. package/mobile/src/components/Carousel/CarouselContent.ts +2 -0
  1155. package/mobile/src/components/CarouselCard/CarouselCard.tsx +6 -4
  1156. package/mobile/src/components/CarouselCard/CarouselCardContent.ts +1 -1
  1157. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +10 -12
  1158. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +8 -15
  1159. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +14 -5
  1160. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +26 -31
  1161. package/mobile/src/components/CarouselProductCard/CarouselProductCardContent.ts +3 -3
  1162. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +2 -6
  1163. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +14 -25
  1164. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +0 -2
  1165. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +13 -12
  1166. package/mobile/src/components/Catalog/Catalog.tsx +1 -4
  1167. package/mobile/src/components/Catalog/CatalogCard.tsx +2 -2
  1168. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +9 -9
  1169. package/mobile/src/components/ContentPage/ContentPage.tsx +2 -5
  1170. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -4
  1171. package/mobile/src/components/Footer/MediaButton.tsx +27 -25
  1172. package/mobile/src/components/Footer/SocialMedia.tsx +2 -4
  1173. package/mobile/src/components/Gallery/Gallery.tsx +23 -24
  1174. package/mobile/src/components/Gallery/GalleryCardInner.tsx +21 -26
  1175. package/mobile/src/components/Gallery/GalleryContainer.tsx +22 -10
  1176. package/mobile/src/components/Gallery/GalleryInner.tsx +12 -7
  1177. package/mobile/src/components/GracePeriod/GracePeriod.tsx +2 -8
  1178. package/mobile/src/components/Header/DropdownMenu.tsx +41 -47
  1179. package/mobile/src/components/Header/Header.tsx +57 -48
  1180. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +16 -35
  1181. package/mobile/src/components/Header/HeaderSubMenu.tsx +1 -5
  1182. package/mobile/src/components/Header/HeaderSubMenuItem.tsx +2 -4
  1183. package/mobile/src/components/Header/HeaderTop.tsx +2 -5
  1184. package/mobile/src/components/Headline/Headline.tsx +28 -16
  1185. package/mobile/src/components/Headline/HeadlineContent.ts +0 -2
  1186. package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +11 -28
  1187. package/mobile/src/components/HorizontalLayout/HorizontalLayoutContent.ts +0 -3
  1188. package/mobile/src/components/HorizontalLayout/gapStyles.ts +11 -0
  1189. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
  1190. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
  1191. package/mobile/src/components/LinkDocs/LinkDocs.tsx +8 -5
  1192. package/mobile/src/components/LinkDocs/LinkDocsList.tsx +1 -1
  1193. package/mobile/src/components/LinkList/LinkList.tsx +1 -1
  1194. package/mobile/src/components/MiniGallery/MiniGallery.tsx +1 -1
  1195. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -1
  1196. package/mobile/src/components/ParagraphBlock/ParagraphBlock.tsx +7 -9
  1197. package/mobile/src/components/ParagraphBlock/ParagraphBlockContent.ts +5 -2
  1198. package/mobile/src/components/PictureText/PictureText.tsx +3 -14
  1199. package/mobile/src/components/Placeholder/Placeholder.tsx +6 -3
  1200. package/mobile/src/components/ProductBlock/ProductBlock.tsx +4 -4
  1201. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +30 -41
  1202. package/mobile/src/components/ProductGallery/ProductGallery.tsx +10 -31
  1203. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +1 -0
  1204. package/mobile/src/components/ProductTile/ProductTile.tsx +14 -17
  1205. package/mobile/src/components/ProductTile/renderAdditionalDescription.tsx +2 -13
  1206. package/mobile/src/components/ProductTile/renderBenefit.tsx +6 -9
  1207. package/mobile/src/components/PromoTile/PromoTile.tsx +12 -13
  1208. package/mobile/src/components/Recommendation/Recommendation.tsx +3 -4
  1209. package/mobile/src/components/Recommendation/RecommendationCard.tsx +12 -14
  1210. package/mobile/src/components/RollupItem/RollupItem.tsx +36 -41
  1211. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  1212. package/mobile/src/components/StepsBlock/StepsBlock.tsx +10 -9
  1213. package/mobile/src/components/StepsBlock/StepsBlockStyleMaps.ts +23 -6
  1214. package/mobile/src/components/StepsBlock/renderStepContent.tsx +9 -8
  1215. package/mobile/src/components/Tabs/renderGroupTab.tsx +2 -1
  1216. package/mobile/src/components/Tabs/tabItemClasses.ts +2 -2
  1217. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +6 -13
  1218. package/mobile/src/components/TextBlock/TextBlock.tsx +1 -7
  1219. package/mobile/src/components/Tile/Tile.tsx +22 -42
  1220. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +8 -12
  1221. package/mobile/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -8
  1222. package/mobile/src/components/Video/Video.tsx +17 -20
  1223. package/mobile/src/components/Video/getPaddings.ts +1 -1
  1224. package/mobile/src/icons/IconName.ts +4 -4
  1225. package/mobile/src/icons/YoutubeIcon.svg +3 -0
  1226. package/mobile/src/model/BlockVersion.ts +11 -53
  1227. package/mobile/src/model/ButtonVersion.ts +3 -3
  1228. package/mobile/src/model/JSXBlock.ts +2 -0
  1229. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +6 -12
  1230. package/mobile/src/ui-kit/BlockWrapper.tsx +17 -2
  1231. package/mobile/src/ui-kit/Button/ArrowButton.tsx +2 -2
  1232. package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1233. package/mobile/src/ui-kit/Button/buttonClassNameConstants.ts +9 -3
  1234. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +52 -0
  1235. package/mobile/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
  1236. package/mobile/src/ui-kit/Foldable/Foldable.tsx +4 -2
  1237. package/mobile/src/ui-kit/Foldable/FoldablePartProps.ts +1 -1
  1238. package/mobile/src/ui-kit/HeaderItem/HeaderItem.tsx +20 -22
  1239. package/mobile/src/ui-kit/Icon/Icon.tsx +6 -9
  1240. package/mobile/src/ui-kit/LinkButton/LinkButton.tsx +4 -4
  1241. package/mobile/src/ui-kit/List/List.tsx +23 -43
  1242. package/mobile/src/ui-kit/List/ListItem.tsx +13 -22
  1243. package/mobile/src/ui-kit/List/ListProps.ts +0 -7
  1244. package/mobile/src/ui-kit/Location/Location.tsx +1 -1
  1245. package/mobile/src/ui-kit/Paragraph/Paragraph.tsx +2 -2
  1246. package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +9 -4
  1247. package/mobile/src/ui-kit/Text/Text.tsx +2 -4
  1248. package/mobile/src/ui-kit/Text/TextProps.ts +5 -2
  1249. package/mobile/src/ui-kit/TopItem/TopItem.tsx +21 -27
  1250. package/mobile/src/utils/getColSpan.ts +2 -2
  1251. package/mobile/src/utils/style.ts +7 -2
  1252. package/package.json +1 -1
  1253. package/src/BlockRenderer/renderBlock.tsx +8 -3
  1254. package/src/components/Accordion/Accordion.mobile.tsx +1 -1
  1255. package/src/components/Accordion/Accordion.tsx +1 -4
  1256. package/src/components/AccordionItem/AccordionItem.tsx +1 -1
  1257. package/src/components/BaseTile/BaseTile.tsx +1 -5
  1258. package/src/components/BaseTile/BaseTileProps.ts +3 -4
  1259. package/src/components/BenefitsBlock/BenefitsBlock.tsx +18 -40
  1260. package/src/components/Bonus/Bonus.tsx +19 -27
  1261. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +1 -7
  1262. package/src/components/BusinessBlock/BusinessBlock.tsx +1 -1
  1263. package/src/components/BusinessBlock/BusinessCard.tsx +2 -2
  1264. package/src/components/ButtonBlock/ButtonBlock.tsx +4 -10
  1265. package/src/components/Calculator/BonusCalculatorForm.tsx +3 -3
  1266. package/src/components/Calculator/Calculator.tsx +1 -4
  1267. package/src/components/Calculator/CreditCalculatorForm.tsx +3 -3
  1268. package/src/components/Calculator/DepositCalculatorForm.tsx +2 -2
  1269. package/src/components/CardTransfer/CardTransfer.tsx +1 -4
  1270. package/src/components/Carousel/Carousel.example.json +2 -1
  1271. package/src/components/Carousel/Carousel.fixture.tsx +20 -28
  1272. package/src/components/Carousel/Carousel.tsx +14 -3
  1273. package/src/components/Carousel/CarouselContent.ts +2 -0
  1274. package/src/components/CarouselCard/CarouselCard.fixture.tsx +3 -3
  1275. package/src/components/CarouselCard/CarouselCard.tsx +6 -4
  1276. package/src/components/CarouselCard/CarouselCardContent.ts +1 -1
  1277. package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +10 -12
  1278. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +8 -15
  1279. package/src/components/CarouselLinks/CarouselLinks.tsx +14 -5
  1280. package/src/components/CarouselProductCard/CarouselProductCard.tsx +26 -31
  1281. package/src/components/CarouselProductCard/CarouselProductCardContent.ts +3 -3
  1282. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +2 -6
  1283. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +14 -25
  1284. package/src/components/CarouselRecommendationCard/CarouselRecommendationCardContent.ts +0 -2
  1285. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +13 -12
  1286. package/src/components/Catalog/Catalog.tsx +1 -4
  1287. package/src/components/Catalog/CatalogCard.tsx +2 -2
  1288. package/src/components/ComparisonTable/ComparisonTable.tsx +1 -4
  1289. package/src/components/ContactsBlock/ContactsBlock.tsx +9 -9
  1290. package/src/components/ContentPage/ContentPage.tsx +2 -5
  1291. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +1 -4
  1292. package/src/components/Footer/Footer.tsx +2 -2
  1293. package/src/components/Footer/MediaButton.tsx +27 -25
  1294. package/src/components/Footer/SocialMedia.mobile.tsx +2 -4
  1295. package/src/components/Footer/SocialMedia.tsx +4 -12
  1296. package/src/components/Gallery/Gallery.fixture.tsx +1 -1
  1297. package/src/components/Gallery/Gallery.mobile.tsx +23 -24
  1298. package/src/components/Gallery/Gallery.tsx +3 -1
  1299. package/src/components/Gallery/GalleryCardInner.tsx +21 -26
  1300. package/src/components/Gallery/GalleryContainer.tsx +22 -10
  1301. package/src/components/Gallery/GalleryInner.tsx +12 -7
  1302. package/src/components/GracePeriod/GracePeriod.tsx +2 -8
  1303. package/src/components/Header/DropdownMenu.tsx +41 -47
  1304. package/src/components/Header/Header.mobile.tsx +57 -48
  1305. package/src/components/Header/Header.tsx +21 -17
  1306. package/src/components/Header/HeaderSecondaryMenu.tsx +16 -35
  1307. package/src/components/Header/HeaderSubMenu.tsx +1 -5
  1308. package/src/components/Header/HeaderSubMenuItem.tsx +2 -4
  1309. package/src/components/Header/HeaderTop.tsx +2 -5
  1310. package/src/components/Headline/Headline.fixture.tsx +40 -43
  1311. package/src/components/Headline/Headline.tsx +11 -11
  1312. package/src/components/Headline/HeadlineContent.ts +0 -2
  1313. package/src/components/HorizontalLayout/HorizontalLayout.fixture.tsx +0 -1
  1314. package/src/components/HorizontalLayout/HorizontalLayout.tsx +11 -28
  1315. package/src/components/HorizontalLayout/HorizontalLayoutContent.ts +0 -3
  1316. package/src/components/HorizontalLayout/gapStyles.ts +11 -0
  1317. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +1 -1
  1318. package/src/components/InvestmentInfo/InvestmentInfo.tsx +1 -1
  1319. package/src/components/LinkDocs/LinkDocs.mobile.tsx +8 -5
  1320. package/src/components/LinkDocs/LinkDocs.tsx +2 -2
  1321. package/src/components/LinkDocs/LinkDocsList.tsx +1 -1
  1322. package/src/components/LinkDocs/LinkDocsListItem.tsx +1 -1
  1323. package/src/components/LinkList/LinkList.tsx +1 -1
  1324. package/src/components/MiniGallery/MiniGallery.tsx +1 -1
  1325. package/src/components/MobileAppTile/MobileAppTile.tsx +13 -19
  1326. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +1 -1
  1327. package/src/components/ParagraphBlock/ParagraphBlock.fixture.tsx +2 -7
  1328. package/src/components/ParagraphBlock/ParagraphBlock.tsx +7 -9
  1329. package/src/components/ParagraphBlock/ParagraphBlockContent.ts +5 -2
  1330. package/src/components/PictureText/PictureText.tsx +3 -14
  1331. package/src/components/Placeholder/Placeholder.tsx +6 -3
  1332. package/src/components/ProductBlock/ProductBlock.mobile.tsx +4 -4
  1333. package/src/components/ProductBlock/ProductBlock.tsx +5 -13
  1334. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +30 -41
  1335. package/src/components/ProductBlock/ProductBlockInner.tsx +6 -15
  1336. package/src/components/ProductGallery/ProductGallery.tsx +10 -31
  1337. package/src/components/ProductGallery/ProductGalleryContent.ts +1 -0
  1338. package/src/components/ProductTile/ProductTile.tsx +14 -17
  1339. package/src/components/ProductTile/renderAdditionalDescription.tsx +2 -13
  1340. package/src/components/ProductTile/renderBenefit.tsx +6 -9
  1341. package/src/components/PromoTile/PromoTile.tsx +12 -13
  1342. package/src/components/Recommendation/Recommendation.tsx +3 -4
  1343. package/src/components/Recommendation/RecommendationCard.tsx +12 -14
  1344. package/src/components/RollupItem/RollupItem.tsx +36 -41
  1345. package/src/components/SafeDepositRental/SafeDepositRental.tsx +1 -1
  1346. package/src/components/StepsBlock/StepsBlock.mobile.tsx +10 -9
  1347. package/src/components/StepsBlock/StepsBlock.tsx +3 -5
  1348. package/src/components/StepsBlock/StepsBlockStyleMaps.ts +23 -6
  1349. package/src/components/StepsBlock/renderStepContent.tsx +9 -8
  1350. package/src/components/SwipeListControlBlock/SwipeListControlBlock.fixture.tsx +1 -1
  1351. package/src/components/Tabs/renderGroupTab.tsx +2 -1
  1352. package/src/components/Tabs/tabItemClasses.ts +2 -2
  1353. package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +6 -13
  1354. package/src/components/TariffsTable/EmbeddableCellData.tsx +8 -13
  1355. package/src/components/TariffsTable/TariffsTable.tsx +1 -3
  1356. package/src/components/TextBlock/TextBlock.mobile.tsx +1 -7
  1357. package/src/components/Tile/Tile.tsx +22 -42
  1358. package/src/components/VerticalLayout/VerticalLayout.tsx +8 -12
  1359. package/src/components/VerticalLayout/VerticalLayoutContent.ts +3 -8
  1360. package/src/components/Video/Video.tsx +17 -20
  1361. package/src/components/Video/getPaddings.ts +1 -1
  1362. package/src/icons/IconName.ts +5 -2
  1363. package/src/icons/YoutubeIcon.svg +3 -0
  1364. package/src/model/BlockVersion.ts +11 -53
  1365. package/src/model/ButtonVersion.ts +3 -3
  1366. package/src/model/JSXBlock.ts +2 -0
  1367. package/src/ui-kit/BenefitItem/BenefitItem.tsx +6 -12
  1368. package/src/ui-kit/BlockWrapper.tsx +17 -2
  1369. package/src/ui-kit/Button/ArrowButton.tsx +2 -2
  1370. package/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1371. package/src/ui-kit/Button/buttonClassNameConstants.ts +9 -3
  1372. package/src/ui-kit/Button/renderButtonsSection.tsx +52 -0
  1373. package/src/ui-kit/Checkbox/Checkbox.tsx +2 -2
  1374. package/src/ui-kit/Foldable/Foldable.tsx +4 -2
  1375. package/src/ui-kit/Foldable/FoldablePartProps.ts +1 -1
  1376. package/src/ui-kit/HeaderItem/HeaderItem.mobile.tsx +20 -22
  1377. package/src/ui-kit/HeaderItem/HeaderItem.tsx +15 -22
  1378. package/src/ui-kit/Heading/Heading.tsx +6 -8
  1379. package/src/ui-kit/Icon/Icon.tsx +6 -9
  1380. package/src/ui-kit/LinkButton/LinkButton.tsx +4 -4
  1381. package/src/ui-kit/List/List.fixture.tsx +4 -14
  1382. package/src/ui-kit/List/List.tsx +23 -43
  1383. package/src/ui-kit/List/ListItem.tsx +13 -22
  1384. package/src/ui-kit/List/ListProps.ts +0 -7
  1385. package/src/ui-kit/Location/Location.tsx +1 -1
  1386. package/src/ui-kit/Paragraph/Paragraph.tsx +2 -2
  1387. package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +9 -4
  1388. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +2 -2
  1389. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.tsx +53 -0
  1390. package/src/ui-kit/Text/Text.tsx +2 -4
  1391. package/src/ui-kit/Text/TextProps.ts +5 -2
  1392. package/src/ui-kit/TopItem/TopItem.tsx +21 -27
  1393. package/src/utils/getColSpan.ts +2 -2
  1394. package/src/utils/style.ts +7 -2
  1395. package/tailwind.config.cjs +6 -0
  1396. package/bundle/components/Calculator/renderButtonSection.d.ts +0 -3
  1397. package/bundle/components/Headline/Headline.mobile.d.ts +0 -5
  1398. package/bundle/components/Headline/headlineStyles.d.ts +0 -7
  1399. package/bundle/components/StepsBlock/renderItems.d.ts +0 -8
  1400. package/bundle/model/BorderVersion.d.ts +0 -6
  1401. package/bundle/ui-kit/Button/ButtonSection.d.ts +0 -13
  1402. package/bundle/utils/style2className.d.ts +0 -1
  1403. package/dist/components/Calculator/renderButtonSection.d.ts +0 -3
  1404. package/dist/components/Calculator/renderButtonSection.js +0 -9
  1405. package/dist/components/Calculator/renderButtonSection.js.map +0 -1
  1406. package/dist/components/Headline/Headline.mobile.d.ts +0 -5
  1407. package/dist/components/Headline/Headline.mobile.js +0 -13
  1408. package/dist/components/Headline/Headline.mobile.js.map +0 -1
  1409. package/dist/components/Headline/headlineStyles.d.ts +0 -7
  1410. package/dist/components/Headline/headlineStyles.js +0 -18
  1411. package/dist/components/Headline/headlineStyles.js.map +0 -1
  1412. package/dist/components/StepsBlock/renderItems.d.ts +0 -8
  1413. package/dist/components/StepsBlock/renderItems.js +0 -7
  1414. package/dist/components/StepsBlock/renderItems.js.map +0 -1
  1415. package/dist/model/BorderVersion.d.ts +0 -6
  1416. package/dist/model/BorderVersion.js +0 -7
  1417. package/dist/model/BorderVersion.js.map +0 -1
  1418. package/dist/ui-kit/Button/ButtonSection.d.ts +0 -13
  1419. package/dist/ui-kit/Button/ButtonSection.js +0 -23
  1420. package/dist/ui-kit/Button/ButtonSection.js.map +0 -1
  1421. package/dist/utils/style2className.d.ts +0 -1
  1422. package/dist/utils/style2className.js +0 -7
  1423. package/dist/utils/style2className.js.map +0 -1
  1424. package/lib/components/Calculator/renderButtonSection.d.ts +0 -3
  1425. package/lib/components/Calculator/renderButtonSection.js +0 -6
  1426. package/lib/components/Calculator/renderButtonSection.js.map +0 -1
  1427. package/lib/components/Headline/Headline.fixture.mobile.d.ts +0 -20
  1428. package/lib/components/Headline/Headline.mobile.d.ts +0 -5
  1429. package/lib/components/Headline/Headline.mobile.js +0 -11
  1430. package/lib/components/Headline/Headline.mobile.js.map +0 -1
  1431. package/lib/components/Headline/headlineStyles.d.ts +0 -7
  1432. package/lib/components/Headline/headlineStyles.js +0 -16
  1433. package/lib/components/Headline/headlineStyles.js.map +0 -1
  1434. package/lib/components/StepsBlock/renderItems.d.ts +0 -8
  1435. package/lib/components/StepsBlock/renderItems.js +0 -4
  1436. package/lib/components/StepsBlock/renderItems.js.map +0 -1
  1437. package/lib/model/BorderVersion.d.ts +0 -6
  1438. package/lib/model/BorderVersion.js +0 -5
  1439. package/lib/model/BorderVersion.js.map +0 -1
  1440. package/lib/ui-kit/Button/ButtonSection.d.ts +0 -13
  1441. package/lib/ui-kit/Button/ButtonSection.js +0 -20
  1442. package/lib/ui-kit/Button/ButtonSection.js.map +0 -1
  1443. package/lib/utils/style2className.d.ts +0 -1
  1444. package/lib/utils/style2className.js +0 -4
  1445. package/lib/utils/style2className.js.map +0 -1
  1446. package/mobile/bundle/components/Calculator/renderButtonSection.d.ts +0 -3
  1447. package/mobile/bundle/components/Headline/headlineStyles.d.ts +0 -7
  1448. package/mobile/bundle/components/StepsBlock/renderItems.d.ts +0 -8
  1449. package/mobile/bundle/model/BorderVersion.d.ts +0 -6
  1450. package/mobile/bundle/ui-kit/Button/ButtonSection.d.ts +0 -13
  1451. package/mobile/bundle/utils/style2className.d.ts +0 -1
  1452. package/mobile/dist/components/Calculator/renderButtonSection.d.ts +0 -3
  1453. package/mobile/dist/components/Calculator/renderButtonSection.js +0 -9
  1454. package/mobile/dist/components/Calculator/renderButtonSection.js.map +0 -1
  1455. package/mobile/dist/components/Headline/headlineStyles.d.ts +0 -7
  1456. package/mobile/dist/components/Headline/headlineStyles.js +0 -18
  1457. package/mobile/dist/components/Headline/headlineStyles.js.map +0 -1
  1458. package/mobile/dist/components/StepsBlock/renderItems.d.ts +0 -8
  1459. package/mobile/dist/components/StepsBlock/renderItems.js +0 -7
  1460. package/mobile/dist/components/StepsBlock/renderItems.js.map +0 -1
  1461. package/mobile/dist/model/BorderVersion.d.ts +0 -6
  1462. package/mobile/dist/model/BorderVersion.js +0 -7
  1463. package/mobile/dist/model/BorderVersion.js.map +0 -1
  1464. package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +0 -13
  1465. package/mobile/dist/ui-kit/Button/ButtonSection.js +0 -23
  1466. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +0 -1
  1467. package/mobile/dist/utils/style2className.d.ts +0 -1
  1468. package/mobile/dist/utils/style2className.js +0 -7
  1469. package/mobile/dist/utils/style2className.js.map +0 -1
  1470. package/mobile/lib/components/Calculator/renderButtonSection.d.ts +0 -3
  1471. package/mobile/lib/components/Calculator/renderButtonSection.js +0 -6
  1472. package/mobile/lib/components/Calculator/renderButtonSection.js.map +0 -1
  1473. package/mobile/lib/components/Headline/headlineStyles.d.ts +0 -7
  1474. package/mobile/lib/components/Headline/headlineStyles.js +0 -16
  1475. package/mobile/lib/components/Headline/headlineStyles.js.map +0 -1
  1476. package/mobile/lib/components/StepsBlock/renderItems.d.ts +0 -8
  1477. package/mobile/lib/components/StepsBlock/renderItems.js +0 -4
  1478. package/mobile/lib/components/StepsBlock/renderItems.js.map +0 -1
  1479. package/mobile/lib/model/BorderVersion.d.ts +0 -6
  1480. package/mobile/lib/model/BorderVersion.js +0 -5
  1481. package/mobile/lib/model/BorderVersion.js.map +0 -1
  1482. package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +0 -13
  1483. package/mobile/lib/ui-kit/Button/ButtonSection.js +0 -20
  1484. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +0 -1
  1485. package/mobile/lib/utils/style2className.d.ts +0 -1
  1486. package/mobile/lib/utils/style2className.js +0 -4
  1487. package/mobile/lib/utils/style2className.js.map +0 -1
  1488. package/mobile/src/components/Calculator/renderButtonSection.tsx +0 -8
  1489. package/mobile/src/components/Headline/headlineStyles.ts +0 -25
  1490. package/mobile/src/components/StepsBlock/renderItems.tsx +0 -23
  1491. package/mobile/src/model/BorderVersion.ts +0 -10
  1492. package/mobile/src/ui-kit/Button/ButtonSection.tsx +0 -51
  1493. package/mobile/src/utils/style2className.ts +0 -3
  1494. package/src/components/Calculator/renderButtonSection.tsx +0 -8
  1495. package/src/components/Headline/Headline.fixture.mobile.tsx +0 -128
  1496. package/src/components/Headline/Headline.mobile.tsx +0 -40
  1497. package/src/components/Headline/headlineStyles.ts +0 -25
  1498. package/src/components/StepsBlock/renderItems.tsx +0 -23
  1499. package/src/model/BorderVersion.ts +0 -10
  1500. package/src/ui-kit/Button/ButtonSection.tsx +0 -51
  1501. package/src/utils/style2className.ts +0 -3
@@ -238,14 +238,15 @@
238
238
 
239
239
  const DEFAULT_SLOT_NAME = null;
240
240
 
241
- function style2className(style) {
242
- return style ? style.filter(Boolean).join(' ') : '';
243
- }
241
+ const style = (...atoms) => atoms
242
+ .flatMap((_) => _)
243
+ .filter(Boolean)
244
+ .join(' ');
244
245
 
245
246
  const defaultBlockDecorator = ({ blockClassName, block, render }) => render({ blockClassName, block });
246
247
 
247
248
  const DEFAULT_ANCESTORS = [];
248
- const DEFAULT_STYLE = ['col-span-12'];
249
+ const defaultStyle = 'col-span-12';
249
250
  function renderBlock(block, options) {
250
251
  const { key, blockDecorator = defaultBlockDecorator, blocksRegistry = {}, ancestors = DEFAULT_ANCESTORS, className = '', } = options;
251
252
  const { type } = block;
@@ -254,7 +255,8 @@
254
255
  }
255
256
  const BlockComponent = type && blocksRegistry[type];
256
257
  return blockDecorator({
257
- blockClassName: `scroll-mt-12 ${className} ${style2className(block.style || DEFAULT_STYLE)}`,
258
+ blockClassName: style('scroll-mt-12', // TODO scroll-mt-12 ? here?
259
+ className, block.style || defaultStyle),
258
260
  block,
259
261
  ancestors,
260
262
  // Adjusted by decorator block and blockClassName
@@ -393,7 +395,14 @@
393
395
  return ref;
394
396
  }
395
397
 
396
- const BlockWrapper = JSX(({ className = '', block, tag = 'section', role, children }) => {
398
+ const blockStyles = {
399
+ primary: 'bg-white text-primary-text',
400
+ secondary: 'bg-primary-main text-white',
401
+ gray: 'bg-main-divider text-primary-text',
402
+ transparent: 'bg-transparent text-primary-text',
403
+ '': '',
404
+ };
405
+ const BlockWrapper = JSX(({ className = '', version = 'primary', block, tag = 'section', role, children }) => {
397
406
  const Tag = tag;
398
407
  const ref = useBlockIntersectionObserver(block);
399
408
  const [isVisible, setVisible] = useState(true);
@@ -406,10 +415,10 @@
406
415
  setVisible(true);
407
416
  }
408
417
  }), [block]);
409
- return isVisible ? (jsx(Tag, { className: className, role: role, ...(block?.anchor ? { id: block.anchor, ref } : {}), children: children })) : null;
418
+ return isVisible ? (jsx(Tag, { className: style('group', blockStyles[version], className), ...(version ? { 'data-ver': version } : {}), ...(block?.anchor ? { id: block.anchor, ref } : {}), role: role, children: children })) : null;
410
419
  });
411
420
 
412
- const HEADING_STYLE_MAP = {
421
+ const styles$4 = {
413
422
  h0: 'text-h0',
414
423
  h1: 'text-h1',
415
424
  h2: 'text-h2',
@@ -418,26 +427,23 @@
418
427
  h5: 'text-h5',
419
428
  h6: 'text-h6', // 20
420
429
  };
421
- const Heading = JSX((props) => {
422
- const { className = '', headingType = 'h3', title, as: Tag = 'h3' } = props;
423
- return (jsx(Tag, { className: `font-sans m-0 ${HEADING_STYLE_MAP[headingType]} ${className}`, children: title }));
424
- });
430
+ const Heading = JSX(({ className = '', headingType = 'h3', as: Tag = 'h3', title, children }) => (jsx(Tag, { className: `font-sans m-0 ${styles$4[headingType]} ${className}`, children: title || children })));
425
431
 
426
- const Paragraph = JSX(({ size, color, align, font, children }) => (jsx("p", { className: ['font-sans', size, color, align, font].filter(Boolean).join(' '), children: children })));
432
+ const Paragraph = JSX(({ children, ...style }) => (jsx("p", { className: ['font-sans', ...Object.values(style)].join(' '), children: children })));
427
433
 
428
434
  const AccordionItemsList = JSX(({ children }) => (jsx("ul", { className: "list-none m-0 p-0", children: children })));
429
435
 
430
- const Accordion = JSX(({ className = '', title, accordionAlignTitle = 'center', description, ...rest }) => (jsxs(BlockWrapper, { className: `p-12 mb-1 last:mb-0 bg-white text-primary-text ${className}`, ...rest, children: [title ? (jsx(Heading, { headingType: "h3", as: "h2", className: `mb-2.5 ${AlignText[accordionAlignTitle]}`, title: title })) : null, description ? (jsx("div", { className: "mb-2.5", children: jsx(Paragraph, { size: "text-l", children: description }) })) : null, jsx(AccordionItemsList, { children: renderChildren(rest) })] })));
436
+ const Accordion = JSX(({ className = '', title, accordionAlignTitle = 'center', description, ...rest }) => (jsxs(BlockWrapper, { className: `p-12 mb-1 last:mb-0 ${className}`, ...rest, children: [title ? (jsx(Heading, { headingType: "h3", as: "h2", className: `mb-2.5 ${AlignText[accordionAlignTitle]}`, title: title })) : null, description ? (jsx("div", { className: "mb-2.5", children: jsx(Paragraph, { size: "text-l", children: description }) })) : null, jsx(AccordionItemsList, { children: renderChildren(rest) })] })));
431
437
  Accordion.childrenTypes = ['AccordionItem'];
432
438
 
433
- const Foldable = JSX(({ isFoldButtonOnTop = false, unfoldedByDefault = false, renderFoldableSection, renderFoldButton, }) => {
439
+ const Foldable = JSX(({ className = '', isFoldButtonOnTop = false, unfoldedByDefault = false, renderFoldableSection, renderFoldButton, }) => {
434
440
  const [isUnfolded, setIsUnfolded] = useState(unfoldedByDefault);
435
441
  const onToggle = useCallback(() => {
436
442
  setIsUnfolded((_) => !_);
437
443
  }, []);
438
444
  const sectionNode = renderFoldableSection({ isUnfolded, onToggle });
439
445
  const buttonNode = renderFoldButton ? renderFoldButton({ isUnfolded, onToggle }) : null;
440
- return isFoldButtonOnTop ? (jsxs("div", { children: [buttonNode, sectionNode] })) : (jsxs("div", { children: [sectionNode, buttonNode] }));
446
+ return isFoldButtonOnTop ? (jsxs("div", { className: className, children: [buttonNode, sectionNode] })) : (jsxs("div", { className: className, children: [sectionNode, buttonNode] }));
441
447
  });
442
448
 
443
449
  const FoldableSection = JSX(({ className = '', isUnfolded, children }) => {
@@ -461,17 +467,11 @@
461
467
  const Icon = JSX(({ className = '', imageClassName = '', name = '', alt = `Иконка ${name}`, title = alt, iconVersion = 'color', asSVG, ...imgProps }) => {
462
468
  const href = `${projectSettings.CDN || ''}icons/${name}.svg`;
463
469
  if (asSVG && iconVersion !== 'normal') {
464
- return (jsx(Background, { className: className, children: jsxs("svg", { className: [
465
- getSvgSize(className, imgProps.width),
466
- svgUseStyleMap[iconVersion],
467
- imageClassName,
468
- getInvertStyle(iconVersion),
469
- ].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` })] }) }));
470
+ return (jsx(Background, { className: className, children: jsxs("svg", { className: style(getSvgSize(imgProps.width), svgUseStyleMap[iconVersion], iconVersion === 'white' ? 'invert' : '', imageClassName), ...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` })] }) }));
470
471
  }
471
472
  return (jsx("img", { className: className, src: href, alt: alt, title: title, ...imgProps, "aria-hidden": "true" }));
472
473
  });
473
- const getInvertStyle = (iconVersion) => iconVersion === 'white' ? 'invert' : '';
474
- const getSvgSize = (className, width) => width ? `width: ${width}px ` : 'w-full h-full';
474
+ const getSvgSize = (width) => (width ? '' : 'w-full h-full');
475
475
  const Background = JSX(({ className, children }) => className ? jsx("div", { className: className, children: children }) : children);
476
476
 
477
477
  const sourcesComparator = (a, b) => {
@@ -518,66 +518,21 @@
518
518
  return image.icon ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: image?.iconVersion || 'normal', name: image.icon, ...iconProps })) : (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image, isMobile: isMobile, pathPrefix: pathPrefix }));
519
519
  });
520
520
 
521
- const Text = JSX(({ size, color, align, font, children }) => (jsx("span", { className: ['font-sans', size, color, align, font].filter(Boolean).join(' '), children: children })));
521
+ const Text = JSX(({ children, ...style }) => (jsx("span", { className: ['font-sans', ...Object.values(style)].join(' '), children: children })));
522
522
 
523
523
  const icons$1 = ['PlusIcon', 'MinusIcon'];
524
- const AccordionItem = JSX(({ className = '', label = '', isExpanded, ...rest }) => (jsx("li", { className: `border-0 border-b border-solid border-main-divider last:border-b-0 ${className}`, children: jsx(Foldable, { isFoldButtonOnTop: true, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { className: "grid grid-cols-12 gap-5 [&>*]:p-0", isUnfolded: isUnfolded, children: renderChildren(rest) })), renderFoldButton: ({ isUnfolded, onToggle }) => (jsx(FoldButton$1, { label: label, icon: icons$1[Number(isUnfolded)], onClick: onToggle })) }) })));
524
+ const AccordionItem = JSX(({ className = '', label = '', isExpanded, ...rest }) => (jsx("li", { className: `border-0 border-b border-solid border-main-divider last:border-b-0 ${className}`, children: jsx(Foldable, { isFoldButtonOnTop: true, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { className: "grid grid-cols-12 gap-5 [&>*]:p-0", isUnfolded: isUnfolded, children: renderChildren(rest) })), renderFoldButton: ({ isUnfolded, onToggle }) => (jsx(FoldButton, { label: label, icon: icons$1[Number(isUnfolded)], onClick: onToggle })) }) })));
525
525
  AccordionItem.childrenTypes = [];
526
- const FoldButton$1 = JSX(({ label, icon, 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", onClick: onClick, children: [jsx(Text, { size: "text-xl", font: "font-medium", children: label }), jsx(ImgInner, { image: { icon }, className: "text-primary-main flex-shrink-0", width: "24", height: "24", asSVG: true })] })));
527
-
528
- const VersionStyleMap = {
529
- primary: 'bg-white text-primary-text',
530
- secondary: 'bg-primary-main text-white',
531
- };
532
- const VersionAdditionalStyleMap = {
533
- primary: 'text-secondary-text',
534
- secondary: 'text-white',
535
- };
536
- const VersionWithGrayStyleMap = {
537
- primary: 'bg-white text-primary-text',
538
- secondary: 'bg-primary-main text-white',
539
- gray: 'bg-main-divider text-primary-text',
540
- };
541
- const GapStyleMap = {
542
- XXL: 'gap-12',
543
- XL: 'gap-10',
544
- L: 'gap-8',
545
- M: 'gap-4',
546
- S: 'gap-2',
547
- XS: 'gap-1',
548
- '': '',
549
- };
550
- const LayoutBackgroundStyleMap = {
551
- transparent: '',
552
- primary: 'bg-white',
553
- secondary: 'bg-primary-main',
554
- };
526
+ const FoldButton = JSX(({ label, icon, 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 cursor-pointer", onClick: onClick, children: [jsx(Text, { size: "text-xl", font: "font-medium", children: label }), jsx(ImgInner, { image: { icon }, className: "text-primary-main flex-shrink-0", width: "24", height: "24", asSVG: true })] })));
555
527
 
556
- const getIconWithVersion = (icon, version = 'primary') => ({
557
- ...icon,
558
- iconVersion: icon?.iconVersion ?? (version === 'secondary' ? 'white' : 'color'),
559
- });
560
-
561
- const benefitsTextStyleMap = {
562
- primary: '',
563
- secondary: 'text-white',
564
- };
565
- const benefitsDescriptionStyleMap = {
566
- primary: 'text-secondary-text',
567
- secondary: 'text-white opacity-80',
568
- };
569
- const benefitsIconStyleMap = {
570
- primary: 'bg-main-divider text-primary-main',
571
- secondary: 'bg-white/30 text-black',
572
- };
573
- const BenefitsBlock = JSX(({ className = '', title, benefitList, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: `font-sans text-primary-text p-12 flex flex-col items-center ${className} ${VersionStyleMap[version]}`, ...rest, children: [title ? (jsx(Heading, { headingType: "h3", as: "h2", className: `max-w-[47rem] text-center ${benefitsTextStyleMap[version]}`, title: title })) : null, benefitList?.length ? (jsx("div", { className: "flex flex-wrap w-full justify-center gap-x-20 mt-8", children: benefitList.map(renderStep(version)) })) : null] })));
574
- const renderStep = (version) => (benefit, i) => {
528
+ const BenefitsBlock = JSX(({ className = '', title, benefitList, ...rest }) => (jsxs(BlockWrapper, { className: `p-12 flex flex-col items-center ${className}`, ...rest, children: [title ? (jsx(Heading, { headingType: "h3", as: "h2", className: "max-w-[47rem] text-center", title: title })) : null, benefitList?.length ? (jsx("div", { className: "flex flex-wrap w-full justify-center gap-x-20 mt-8", children: benefitList.map(renderStep) })) : null] })));
529
+ const renderStep = (benefit, i) => {
575
530
  const description = benefit.description;
576
- return (jsxs("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? (jsx(ImgInner, { className: `w-12 h-12 min-w-12 p-3 rounded-full ${benefitsIconStyleMap[version]}`, image: getIconWithVersion(benefit.icon, version), 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[version]}`, children: benefit.label })) : null, renderDescription$5(description, version)] })] }, String(i)));
531
+ return (jsxs("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? (jsx(ImgInner, { className: "w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider text-primary-main group-data-secondary:bg-white/30 group-data-secondary:text-black", image: benefit.icon, asSVG: true })) : null, benefit?.icon?.src ? jsx(ImgInner, { image: benefit.icon }) : null, jsxs("div", { className: "ml-5", children: [benefit?.label ? jsx(Heading, { headingType: "h6", children: benefit.label }) : null, renderDescription$5(description)] })] }, String(i)));
577
532
  };
578
- const renderDescription$5 = (description, version) => {
533
+ const renderDescription$5 = (description) => {
579
534
  const benefitType = description?.benefitType || null;
580
- return description && benefitType ? (jsx("div", { className: `text-l-light mt-2 ${benefitsDescriptionStyleMap[version]}`, children: benefitType === 'list'
535
+ return description && benefitType ? (jsx("div", { className: "mt-2 text-l-light text-secondary-text group-data-secondary:text-white/80", children: benefitType === 'list'
581
536
  ? renderListBenefit(description)
582
537
  : renderTextBenefit(description) })) : null;
583
538
  };
@@ -697,6 +652,8 @@
697
652
  secondary: 'text-primary-main bg-main-divider hover:text-white hover:bg-primary-hover active:bg-primary-active',
698
653
  white: 'text-primary-main bg-white hover:text-white hover:bg-primary-hover active:bg-white active:text-primary-main',
699
654
  link: '',
655
+ transparent: '',
656
+ '': '',
700
657
  };
701
658
  const DisabledStyle = 'bg-main-divider text-main-disabled';
702
659
  const buttonDisabledStyleMap = {
@@ -704,13 +661,17 @@
704
661
  secondary: DisabledStyle,
705
662
  white: DisabledStyle,
706
663
  link: '',
664
+ transparent: '',
665
+ '': '',
707
666
  };
708
667
  const buttonStyle = 'text-center font-sans select-none';
709
668
  const iconStyleMap = {
710
- primary: 'group-hover:brightness-0 group-hover:invert',
711
- secondary: 'group-hover:brightness-0 group-hover:invert',
712
- white: 'group-hover:brightness-0 group-hover:invert',
669
+ primary: 'group-hover/btn:brightness-0 group-hover/btn:invert',
670
+ secondary: 'group-hover/btn:brightness-0 group-hover/btn:invert',
671
+ white: 'group-hover/btn:brightness-0 group-hover/btn:invert',
713
672
  link: '',
673
+ transparent: '',
674
+ '': '',
714
675
  };
715
676
 
716
677
  const ButtonInner = JSX((props) => {
@@ -724,7 +685,7 @@
724
685
  }
725
686
  const withTextStyle = `gap-2 ${aboveText ? 'py-2.5 px-7' : 'py-4 px-4'}`;
726
687
  return [
727
- 'group flex items-center justify-center',
688
+ 'group/btn flex items-center justify-center',
728
689
  isWithText(props) ? withTextStyle : 'h-12 w-12',
729
690
  rounded ? 'rounded-full' : '',
730
691
  ].join(' ');
@@ -756,37 +717,14 @@
756
717
  const RegularButton = JSX(({ className = '', href, rel, target, ariaLabel, version, rounded, onClick, children }) => (jsx("a", { className: getRegularButtonClasses({ className, version, rounded }), href: href, rel: rel, target: target, "aria-label": ariaLabel, role: href ? 'link' : 'button', onClick: onClick, children: children })));
757
718
  const DisabledButton = JSX(({ className, ariaLabel, version, rounded, children }) => (jsx("div", { role: "button", "aria-disabled": "true", "aria-label": ariaLabel, tabIndex: -1, className: getDisabledButtonClasses({ className, rounded, version }), children: children })));
758
719
 
759
- const ButtonSection = JSX(({ className = '', buttons }) => buttons && buttons?.length ? (jsx("div", { className: className, children: buttons.map((button, index) => renderButton({ button, index })) })) : null);
760
- function renderButton({ button, buttonClassName, index }) {
761
- const { icon, iconRight, version, text, ...rest } = button;
720
+ const renderButtonsSection = (buttons, { className = '', buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text) ? (jsx("div", { className: style('flex', isVertical ? 'flex-col gap-2' : 'gap-4', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
721
+ const renderButton = (buttonClassName = '') => (button, index) => {
722
+ const { text, icon, iconRight, version, ...rest } = button || {};
762
723
  const iconVersion = version === 'secondary' ? 'color' : 'white';
763
- const leftIcon = renderButtonIcon({ ...icon, iconVersion: iconVersion });
764
- const rightIcon = renderButtonIcon({ ...iconRight, iconVersion: iconVersion });
765
- return text ? (jsx(Button, { className: buttonClassName, appendLeft: leftIcon, appendRight: rightIcon, version: version, text: text, ...rest }, index ? String(index) : '')) : null;
766
- }
767
- const renderButtonIcon = (icon) => {
768
- if (!icon?.icon && !icon?.src) {
769
- return null;
770
- }
771
- const iconWidth = icon?.size?.width ? `${icon.size.width}` : '24';
772
- return jsx(ImgInner, { image: icon, width: iconWidth, height: "24", asSVG: true });
773
- };
774
-
775
- const headlineStyles = {
776
- transparent: {
777
- wrapper: 'bg-transparent',
778
- titleColor: 'text-primary-text',
779
- },
780
- primary: {
781
- wrapper: 'bg-white',
782
- titleColor: 'text-primary-text',
783
- },
784
- secondary: {
785
- wrapper: 'bg-primary-main',
786
- titleColor: 'text-white',
787
- descriptionColor: 'text-white/80',
788
- },
724
+ return text ? (jsx(Button, { className: buttonClassName, appendLeft: renderButtonIcon({ ...icon, iconVersion }), appendRight: renderButtonIcon({ ...iconRight, iconVersion }), version: version, text: text, ...rest }, index ? String(index) : '')) : null;
789
725
  };
726
+ const DEFAULT_ICON_W = 24;
727
+ const renderButtonIcon = (icon) => icon?.icon || icon?.src ? (jsx(ImgInner, { image: icon, width: String(icon?.size?.width || DEFAULT_ICON_W), height: String(DEFAULT_ICON_W), asSVG: true })) : null;
790
728
 
791
729
  const headlineVersionStyles = {
792
730
  XXL: {
@@ -832,20 +770,17 @@
832
770
  XS: 'text-xs-light',
833
771
  };
834
772
 
835
- const Headline = JSX(({ className = '', title, description, headlineVersion = 'XL', bgColorHeadline = 'transparent', align = 'text-center', as, ...rest }) => {
836
- const style = headlineStyles[bgColorHeadline];
837
- const specificStyle = headlineVersionStyles[headlineVersion];
838
- return (jsxs(BlockWrapper, { className: `flex flex-col p-12 ${specificStyle.wrapper} ${style.wrapper} ${className}`, ...rest, children: [title ? (jsx(Heading, { className: `whitespace-pre-wrap ${style.titleColor} ${align}`, ...specificStyle?.title, as: as || specificStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { color: style.descriptionColor || style.titleColor, size: specificStyle.descriptionSize, align: align, children: description })) : null] }));
773
+ const Headline = JSX(({ className, title, description, headlineVersion = 'XL', align = 'text-center', as, version = '', ...rest }) => {
774
+ const versionStyle = headlineVersionStyles[headlineVersion];
775
+ return (jsxs(BlockWrapper, { className: style('flex flex-col p-12', versionStyle.wrapper, className), version: version, ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-pre-wrap', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { color: "group-data-secondary:text-white/80", size: versionStyle.descriptionSize, align: align, children: description })) : null] }));
839
776
  });
840
777
 
841
778
  const Bonus = JSX((props) => {
842
779
  const { className = '', title, description, bonusItems, ...rest } = props;
843
- return (jsx(BlockWrapper, { className: `font-sans bg-white p-12 pb-9 ${className}`, ...rest, children: jsxs("div", { className: "container", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", ...rest }), jsx("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems?.length
844
- ? bonusItems.map((_, i) => {
845
- return (jsx("div", { className: "flex-grow w-[49%] border border-gray p-9 mb-3 mx-2 even:mr-0 odd:ml-0 last:odd:mx-0", children: jsxs("div", { className: "flex justify-between w-full", children: [jsxs("div", { className: "flex flex-col justify-between mr-4", children: [jsxs("div", { children: [jsx("div", { className: "text-h4", children: _.title }), jsx("div", { className: "text-xl-light mt-2 max-w-[488px]", children: _.description })] }), _?.buttons?.length ? jsx(ButtonSection, { buttons: _?.buttons }) : null] }), _.bonusItemContent?.bonusType
846
- ? renderBonusItemContent(_.bonusItemContent)
847
- : null] }) }, String(i)));
848
- })
780
+ return (jsx(BlockWrapper, { className: `p-12 pb-9 ${className}`, ...rest, children: jsxs("div", { className: "container", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M" }), jsx("div", { className: "flex flex-wrap w-full mt-9", children: bonusItems?.length
781
+ ? bonusItems.map((_, i) => (jsx("div", { className: "flex-grow w-[49%] border border-gray p-9 mb-3 mx-2 even:mr-0 odd:ml-0 last:odd:mx-0", children: jsxs("div", { className: "flex justify-between w-full", children: [jsxs("div", { className: "flex flex-col justify-between mr-4", children: [jsxs("div", { children: [jsx("div", { className: "text-h4", children: _.title }), jsx("div", { className: "text-xl-light mt-2 max-w-[488px]", children: _.description })] }), renderButtonsSection(_?.buttons)] }), _.bonusItemContent?.bonusType
782
+ ? renderBonusItemContent(_.bonusItemContent)
783
+ : null] }) }, String(i))))
849
784
  : null })] }) }));
850
785
  });
851
786
  const renderBonusItemContent = (bonusItemContent) => (jsx("div", { children: bonusItemContent.bonusType === 'count'
@@ -854,7 +789,7 @@
854
789
  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] }));
855
790
  const renderBonusImage = (_) => _.image ? jsx(ImgInner, { className: `w-12 h-12 min-w-12 p-3 rounded-full`, image: _.image }) : null;
856
791
 
857
- const BonusBenefitsBlock = JSX(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => (jsxs(BlockWrapper, { className: `font-sans text-primary-text bg-white p-12 flex flex-col text-center ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0 mb-8", title: title, description: subtitle, headlineVersion: "M", ...rest }), bonusBenefits?.length ? (jsx("div", { className: `grid gap-1 ${AlignText[cardTextAlign]} ${getElementsColsValue(columnsCount)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] })));
792
+ const BonusBenefitsBlock = JSX(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => (jsxs(BlockWrapper, { className: `font-sans text-primary-text bg-white p-12 flex flex-col text-center ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0 mb-8", title: title, description: subtitle, headlineVersion: "M" }), bonusBenefits?.length ? (jsx("div", { className: `grid gap-1 ${AlignText[cardTextAlign]} ${getElementsColsValue(columnsCount)}`, children: bonusBenefits.map(renderBonusBenefit) })) : null] })));
858
793
  const renderBonusBenefit = ({ icon, label, description }, i) => {
859
794
  return (jsxs("div", { className: "flex flex-col items-center text-h6", children: [description ? jsx("span", { children: description }) : null, icon ? jsx(ImgInner, { image: icon, height: "180", width: "auto", className: "h-[180px] w-auto" }) : null, jsx("div", { children: label ? jsx("span", { children: label }) : null })] }, String(i)));
860
795
  };
@@ -873,19 +808,16 @@
873
808
 
874
809
  const BusinessCard = JSX((props) => {
875
810
  const { title, image, cardItems, button } = props;
876
- return (jsxs("div", { className: "border-gray border p-9 w-1/2", children: [image ? (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? jsx(ImgInner, { image: image, asSVG: true }) : null] })) : null, title ? jsx(Heading, { headingType: "h4", title: title, className: "mb-6" }) : null, cardItems?.length ? jsx("ul", { children: cardItems.map((_, i) => renderItem(_, String(i))) }) : null, button?.text ? renderButton({ button, buttonClassName: 'mt-6' }) : null] }));
811
+ return (jsxs("div", { className: "border-gray border p-9 w-1/2", children: [image ? (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? jsx(ImgInner, { image: image, asSVG: true }) : null] })) : null, title ? jsx(Heading, { headingType: "h4", title: title, className: "mb-6" }) : null, cardItems?.length ? jsx("ul", { children: cardItems.map((_, i) => renderItem(_, String(i))) }) : null, renderButtonsSection([button], { buttonClassName: 'mt-6' })] }));
877
812
  });
878
813
  const renderItem = (item, key) => {
879
814
  const { icon, text } = item;
880
815
  return (jsxs("li", { className: "flex items-center gap-3.5 mb-3 last:mb-0", children: [icon?.icon ? (jsx(ImgInner, { image: icon, className: "w-12 h-12 min-w-12 p-3 rounded-full bg-main-divider", asSVG: true })) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null, jsx("span", { className: "text-xl-light", children: text })] }, key));
881
816
  };
882
817
 
883
- const BusinessBlock = JSX(({ className = '', title, cards, ...rest }) => (jsxs(BlockWrapper, { className: `font-sans bg-white p-12 pb-9 ${className}`, ...rest, children: [jsx(Heading, { headingType: "h3", title: title, className: "text-center mb-8" }), jsx("div", { className: "flex gap-5", children: cards?.length ? cards.map((_, i) => jsx(BusinessCard, { ..._ }, String(i))) : null })] })));
818
+ const BusinessBlock = JSX(({ className = '', title, cards, ...rest }) => (jsxs(BlockWrapper, { className: `p-12 pb-9 ${className}`, ...rest, children: [jsx(Heading, { headingType: "h3", title: title, className: "text-center mb-8" }), jsx("div", { className: "flex gap-5", children: cards?.length ? cards.map((_, i) => jsx(BusinessCard, { ..._ }, String(i))) : null })] })));
884
819
 
885
- const ButtonBlock = JSX((props) => {
886
- const { className, button, ...rest } = props;
887
- return (jsx(BlockWrapper, { className: className, ...rest, children: button ? renderButton({ button }) : null }));
888
- });
820
+ const ButtonBlock = JSX(({ button, ...rest }) => (jsx(BlockWrapper, { ...rest, children: renderButtonsSection([button]) })));
889
821
 
890
822
  const useCarouselControls = (props) => {
891
823
  const { itemCount, visibleItemCount, isCyclic } = props;
@@ -918,9 +850,9 @@
918
850
  return false;
919
851
  }
920
852
 
921
- 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
853
+ const ArrowButton = JSX(({ className, disabled, ...rest }) => (jsx(Button, { rounded: true, className: `group/btn shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${disabled
922
854
  ? 'bg-secondary-light text-secondary-text'
923
- : '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 }) })));
855
+ : '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/btn:text-primary-main", width: "16", height: "16", asSVG: true }) })));
924
856
  const ScrollLeftButton = JSX((props) => (jsx(ArrowButton, { ...props, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E", "data-block-control": "scroll-left" })));
925
857
  const ScrollRightButton = JSX((props) => (jsx(ArrowButton, { ...props, className: `${props.className || ''} rotate-180`, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E", "data-block-control": "scroll-right" })));
926
858
 
@@ -981,10 +913,6 @@
981
913
 
982
914
  const Rate = JSX(({ rate, title = 'Ставка', unit, rateBlockClassName }) => (jsxs("div", { children: [jsx("div", { className: "text-l-light text-secondary-text", children: title }), jsxs("div", { className: "flex justify-start", children: [jsx("span", { className: `block gradient-color-text font-mohave text-title-huge pr-6 -mt-4 ${rateBlockClassName}`, children: String(rate).replace('.', ',') }), unit ? jsx("span", { className: "gradient-color-text text-[65px] leading-[75px]", children: unit }) : ''] })] })));
983
915
 
984
- function renderButtonSection(buttons) {
985
- return buttons?.length ? (jsx(ButtonSection, { buttons: buttons, className: "flex flex-col mt-7 gap-2" })) : null;
986
- }
987
-
988
916
  const renderFootnote = (text) => text ? jsx("p", { className: "text-s-light text-secondary-text mt-7", children: text }) : null;
989
917
 
990
918
  const clamp = (value, min, max) => Math.max(min, Math.min(value, max));
@@ -1152,7 +1080,7 @@
1152
1080
  moneyValue: restExpenseValue,
1153
1081
  step: 500,
1154
1082
  isShowItems: false,
1155
- }, handleRestExpenseValue)] }), jsx("div", { children: monthBonus >= 0 ? (jsx(Rate, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u043C\u0435\u0441\u044F\u0446", rate: monthBonus, rateBlockClassName: "tracking-[-14px]" })) : null }), jsxs("div", { className: "w-full max-w-[350px]", children: [yearBonus >= 0 ? jsx(CalculatorValueBlock, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u0433\u043E\u0434", value: yearBonus }) : null, renderButtonSection(buttons), renderFootnote(footnote)] })] }));
1083
+ }, handleRestExpenseValue)] }), jsx("div", { children: monthBonus >= 0 ? (jsx(Rate, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u043C\u0435\u0441\u044F\u0446", rate: monthBonus, rateBlockClassName: "tracking-[-14px]" })) : null }), jsxs("div", { className: "w-full max-w-[350px]", children: [yearBonus >= 0 ? jsx(CalculatorValueBlock, { title: "\u0411\u0430\u043B\u043B\u043E\u0432 \u0437\u0430 \u0433\u043E\u0434", value: yearBonus }) : null, renderButtonsSection(buttons, { className: 'mt-7', isVertical: true }), renderFootnote(footnote)] })] }));
1156
1084
  });
1157
1085
 
1158
1086
  const SVG = JSX(({ className, viewBox, fill = 'none', width, height, paths, ...commonOptions }) => {
@@ -1168,7 +1096,7 @@
1168
1096
  },
1169
1097
  ];
1170
1098
  const Checkbox = JSX(({ className, text, checked, isRadio, onChange }) => {
1171
- return (jsx("div", { className: className, children: jsxs("label", { className: "flex items-center relative cursor-pointer group", children: [jsx("input", { className: `peer appearance-none w-5 h-5 border-solid cursor-pointer group-hover:border-primary-hover
1099
+ return (jsx("div", { className: className, children: jsxs("label", { className: "flex items-center relative cursor-pointer group/box", children: [jsx("input", { className: `peer appearance-none w-5 h-5 border-solid cursor-pointer group-hover/box:border-primary-hover
1172
1100
  ${isRadio ? 'rounded-full border-2' : 'rounded checked:bg-primary-main border'}
1173
1101
  ${checked ? 'border-black' : 'border-gray'}
1174
1102
  checked:border-primary-main m-0`, type: "checkbox", onChange: (e) => onChange && onChange(e.target.checked), checked: checked }), isRadio ? (jsx("div", { className: "left-1 w-3 h-3 rounded-full bg-primary-main hidden absolute peer-checked:block" })) : (jsx(SVG, { paths: CHECK_PATHS, className: "hidden absolute left-1 ml-px peer-checked:block", width: "11", height: "9", fill: "white", viewBox: "0 0 11 9" })), text ? jsx("span", { className: "font-sans ml-3 text-l-light", children: text }) : null] }) }));
@@ -1250,7 +1178,7 @@
1250
1178
  monthsValue,
1251
1179
  };
1252
1180
  const calculatorParams = useCreditCalculatorParams(userInputParams, sourceBookDir);
1253
- return (jsxs("section", { className: className, children: [jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, handleMoneyValue), renderMonthsInput('Срок кредита, месяцев', calculatorParams, handleMonthsValue), jsxs("div", { className: "mt-7", children: [jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", checked: isSalaryClient, onChange: toggleIsSalaryClient }), jsx(Checkbox, { className: "mt-3", text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", checked: isStateEmployee, onChange: toggleIsStateEmployee }), jsx(Checkbox, { className: "mt-3", text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", checked: isInsurance, onChange: toggleIsInsurance })] })] }), jsx(Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.finalRate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), jsxs("div", { className: "w-full max-w-[350px]", children: [jsx(CalculatorValueBlock, { title: isAnnuity ? 'Ежемесячный платеж' : 'Платёж в первый месяц', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), jsx(RadioButtonGroup, { items: paymentTypeItems, checkedItem: isAnnuity ? ANNUITY : DIFFERENTIAL, onChange: (text) => toggleIsAnnuity(text === ANNUITY) }), renderButtonSection(buttons), renderFootnote(footnote)] })] }));
1181
+ return (jsxs("section", { className: className, children: [jsxs("div", { className: "w-[468px]", children: [renderWantedSumInput('Сумма кредита, ₽', { ...calculatorParams, step: 500 }, handleMoneyValue), renderMonthsInput('Срок кредита, месяцев', calculatorParams, handleMonthsValue), jsxs("div", { className: "mt-7", children: [jsx(Checkbox, { text: "\u041F\u043E\u043B\u0443\u0447\u0430\u044E \u0437\u0430\u0440\u043F\u043B\u0430\u0442\u0443 \u043D\u0430 \u0441\u0447\u0451\u0442 \u0432 \u0420\u043E\u0441\u0441\u0435\u043B\u044C\u0445\u043E\u0437\u0431\u0430\u043D\u043A\u0435", checked: isSalaryClient, onChange: toggleIsSalaryClient }), jsx(Checkbox, { className: "mt-3", text: "\u0420\u0430\u0431\u043E\u0442\u0430\u044E \u0432 \u0431\u044E\u0434\u0436\u0435\u0442\u043D\u043E\u0439 \u043E\u0440\u0433\u0430\u043D\u0438\u0437\u0430\u0446\u0438\u0438", checked: isStateEmployee, onChange: toggleIsStateEmployee }), jsx(Checkbox, { className: "mt-3", text: "\u041A\u043E\u043C\u043F\u043B\u0435\u043A\u0441\u043D\u0430\u044F \u0441\u0442\u0440\u0430\u0445\u043E\u0432\u0430\u044F \u0437\u0430\u0449\u0438\u0442\u0430", checked: isInsurance, onChange: toggleIsInsurance })] })] }), jsx(Rate, { title: "\u0421\u0442\u0430\u0432\u043A\u0430", rate: calculatorParams.finalRate, rateBlockClassName: "tracking-[-25px]", unit: "%" }), jsxs("div", { className: "w-full max-w-[350px]", children: [jsx(CalculatorValueBlock, { title: isAnnuity ? 'Ежемесячный платеж' : 'Платёж в первый месяц', value: calculatorParams.monthlyPayment, postfix: "\u20BD" }), jsx(RadioButtonGroup, { items: paymentTypeItems, checkedItem: isAnnuity ? ANNUITY : DIFFERENTIAL, onChange: (text) => toggleIsAnnuity(text === ANNUITY) }), renderButtonsSection(buttons, { className: 'mt-7', isVertical: true }), renderFootnote(footnote)] })] }));
1254
1182
  });
1255
1183
 
1256
1184
  const useDepositCalculatorParams = (userInputParams, sourceBookDir) => {
@@ -1305,7 +1233,7 @@
1305
1233
  ...calculatorParams,
1306
1234
  }, handleMoneyValue), renderMonthsInput('Срок вклада, месяцев', {
1307
1235
  ...calculatorParams,
1308
- }, handleMonthsValue)] }), jsx(Rate, { rate: rate || 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), jsxs("div", { className: "w-full max-w-[350px]", children: [income ? (jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" })) : null, finalSum ? (jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" })) : null, jsx(RadioButtonGroup, { items: depositTypeItems, checkedItem: isMonthlyInterestPayment ? EVERY_MONTH : AT_END_TERM, onChange: (text) => toggleIsMonthlyInterestPayment(text === EVERY_MONTH) }), renderButtonSection(buttons), renderFootnote(footnote)] })] }));
1236
+ }, handleMonthsValue)] }), jsx(Rate, { rate: rate || 1, rateBlockClassName: "tracking-[-25px]", unit: "%" }), jsxs("div", { className: "w-full max-w-[350px]", children: [income ? (jsx(CalculatorValueBlock, { title: "\u0414\u043E\u0445\u043E\u0434 \u043F\u043E \u0432\u043A\u043B\u0430\u0434\u0443", value: income, postfix: "\u20BD", prefix: "+" })) : null, finalSum ? (jsx(CalculatorValueBlock, { title: "\u0421\u0443\u043C\u043C\u0430 \u0432 \u043A\u043E\u043D\u0446\u0435 \u0441\u0440\u043E\u043A\u0430", value: finalSum, postfix: "\u20BD" })) : null, jsx(RadioButtonGroup, { items: depositTypeItems, checkedItem: isMonthlyInterestPayment ? EVERY_MONTH : AT_END_TERM, onChange: (text) => toggleIsMonthlyInterestPayment(text === EVERY_MONTH) }), renderButtonsSection(buttons, { className: 'mt-7', isVertical: true }), renderFootnote(footnote)] })] }));
1309
1237
  });
1310
1238
 
1311
1239
  const EmbeddableCalcBlocks = {
@@ -1333,7 +1261,7 @@
1333
1261
  itemCount: calculatorTabs?.length,
1334
1262
  visibleItemCount: COLUMNS_FOR_SCROLL,
1335
1263
  });
1336
- return (jsxs(BlockWrapper, { className: `box-border overflow-hidden relative font-sans w-100 text-primary-text bg-white ${className}`, ...rest, children: [jsxs("div", { className: "bg-white", children: [tabsNav.length > 1
1264
+ return (jsxs(BlockWrapper, { className: `box-border overflow-hidden relative w-100 ${className}`, ...rest, children: [jsxs("div", { className: "bg-white", children: [tabsNav.length > 1
1337
1265
  ? renderTabs({ activeIndex, tabsNav, slideIndexShift, onClick: handleSlideIndexShift })
1338
1266
  : null, renderArrows({
1339
1267
  ...controls,
@@ -1437,7 +1365,7 @@
1437
1365
  ? getDisabledButtonClasses({ version: button?.version })
1438
1366
  : getRegularButtonClasses({ className: 'text-white', version: button?.version });
1439
1367
  const link = useLink();
1440
- return (jsxs(BlockWrapper, { className: `p-12 flex flex-col items-center font-sans bg-white ${className}`, ...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: handleChange, valid: value === '' || !isDisabled, placeholder: placeholder, label: label }), button?.text ? (jsx("button", { type: "submit", className: `w-full p-4 mt-6 ${buttonStyle} `, disabled: isDisabled, ...link(button), children: button.text })) : null] })] }));
1368
+ return (jsxs(BlockWrapper, { className: `p-12 flex flex-col items-center ${className}`, ...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: handleChange, valid: value === '' || !isDisabled, placeholder: placeholder, label: label }), button?.text ? (jsx("button", { type: "submit", className: `w-full p-4 mt-6 ${buttonStyle} `, disabled: isDisabled, ...link(button), children: button.text })) : null] })] }));
1441
1369
  });
1442
1370
 
1443
1371
  const mapChildren = (mapper) => (children) => {
@@ -1447,8 +1375,6 @@
1447
1375
  return Array.isArray(children) ? children.map(mapper) : mapper(children, 0);
1448
1376
  };
1449
1377
 
1450
- const style = (...atoms) => atoms.filter(Boolean).join(' ');
1451
-
1452
1378
  const SwipeListItem = JSX(({ className = '', style, idx, activeIndex, observerOptions, children, onIntersection }) => {
1453
1379
  const observerCallback = useCallback((entries) => {
1454
1380
  if (entries.length && onIntersection) {
@@ -1474,15 +1400,17 @@
1474
1400
  onVisibleIndicesChange && onVisibleIndicesChange(getVisibleIndices(itemsVisibilityList));
1475
1401
  }, [onVisibleItemsChange, onVisibleIndicesChange]);
1476
1402
  const additionPadding = visibleItemCount > 0 ? gap * Number(visibleItemCount) - 1 : 0;
1403
+ const isVerticalList = listType === 'vertical-list';
1477
1404
  const isHorizontalList = listType === 'horizontal-list';
1478
1405
  const containerStyle = {
1479
- ...(isHorizontalList ? getContainerStyle(padding, additionPadding) : {}),
1406
+ ...(isHorizontalList ? getContainerOffset(padding, additionPadding) : {}),
1407
+ ...(isVerticalList ? getContainerHeight(containerRef) : {}),
1480
1408
  gap: `${gap}px`,
1481
1409
  };
1482
- return (jsx("div", { className: style('box-border overflow-auto no-scrollbar', listType, className), style: containerStyle, role: "list", ref: containerRef, children: mapChildren((child, idx) => (jsx(SwipeListItem, { className: style(snapAlign, visibleItemCount ? childStyleMap[visibleItemCount - 1] : '', listType === 'vertical-list' ? 'h-full' : ''), style: isHorizontalList ? getContainerStyle(padding / 4) : {}, activeIndex: activeIndex, idx: idx, observerOptions: observerOptions, onIntersection: handleIntersection, children: child }, String(idx))))(children) }));
1410
+ return (jsx("div", { className: style('box-border overflow-auto no-scrollbar', listType, className), style: containerStyle, role: "list", ref: containerRef, children: mapChildren((child, idx) => (jsx(SwipeListItem, { className: style(snapAlign, visibleItemCount ? childStyleMap[visibleItemCount - 1] : ''), style: isHorizontalList ? getContainerOffset(padding / 4) : {}, activeIndex: activeIndex, idx: idx, observerOptions: observerOptions, onIntersection: handleIntersection, children: child }, String(idx))))(children) }));
1483
1411
  });
1484
1412
  // Styles used to compensate outer container padding to get rid of clipping effect
1485
- const getContainerStyle = (padding, additionalPadding = 0) => ({
1413
+ const getContainerOffset = (padding, additionalPadding = 0) => ({
1486
1414
  marginLeft: `${-padding}px`,
1487
1415
  marginRight: `${-padding}px`,
1488
1416
  paddingLeft: `${padding}px`,
@@ -1492,6 +1420,9 @@
1492
1420
  .map((_, i) => [_, i])
1493
1421
  .filter(([_]) => _ && _.intersectionRatio >= 0.9)
1494
1422
  .map(([, i]) => i);
1423
+ const getContainerHeight = (ref) => ({
1424
+ height: ref?.current?.firstElementChild?.clientHeight || 0,
1425
+ });
1495
1426
 
1496
1427
  const areArraysEqual = (as, bs) => as === bs || Boolean(as && bs && as?.length === bs?.length && as.every((_, i) => _ === bs[i]));
1497
1428
 
@@ -1561,16 +1492,16 @@
1561
1492
  };
1562
1493
 
1563
1494
  const ITEMS_GAP = 4;
1564
- const blurBaseStyle = 'absolute top-0 bottom-0 z-50 w-[84px]';
1495
+ const blurBaseStyle = 'absolute top-0 bottom-0 z-50 w-[84px] pointer-events-none';
1565
1496
  const scrollButtonStyle = 'absolute top-[calc(50%-12px)] z-50';
1566
- const Carousel = JSX(({ className = '', itemCount, visibleItemCount, isBlur = true, isCyclic = false, ...rest }) => {
1497
+ const Carousel = JSX(({ className = '', itemCount, visibleItemCount, isBlur = true, isCyclic = false, isPadding = true, ...rest }) => {
1567
1498
  const { blocks: childBlocks } = rest.block || {};
1568
1499
  const count = itemCount || childBlocks?.length || 0;
1569
1500
  const [containerRef, scroll] = useSwipeListScroll({
1570
1501
  itemCount: count,
1571
1502
  isCyclic,
1572
1503
  });
1573
- return (jsx(BlockWrapper, { className: `font-sans p-12 ${className}`, ...rest, children: jsxs("div", { className: "relative max-w-full", children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: ITEMS_GAP, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: renderChildren(rest) }), (scroll.canScrollLeft || scroll.canScrollRight) && isBlur ? (jsxs("div", { children: [jsx("div", { className: `${blurBaseStyle} left-0 bg-opacity-from-white` }), jsx("div", { className: `${blurBaseStyle} right-0 bg-opacity-to-white` })] })) : null, renderScrollButtons(scroll)] }) }));
1504
+ return (jsx(BlockWrapper, { className: style(getPaddingStyle(isPadding), className), ...rest, children: jsxs("div", { className: "relative max-w-full", children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: ITEMS_GAP, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: renderChildren(rest) }), (scroll.canScrollLeft || scroll.canScrollRight) && isBlur ? (jsxs("div", { children: [jsx("div", { className: `${blurBaseStyle} left-0 bg-opacity-from-white` }), jsx("div", { className: `${blurBaseStyle} right-0 bg-opacity-to-white` })] })) : null, renderScrollButtons(scroll)] }) }));
1574
1505
  });
1575
1506
  Carousel.childrenTypes = [
1576
1507
  'CarouselCard',
@@ -1583,42 +1514,37 @@
1583
1514
  'CarouselInvestmentCard',
1584
1515
  ];
1585
1516
  const renderScrollButtons = ({ scrollLeft, scrollRight, canScrollLeft, canScrollRight, }) => (jsxs("div", { children: [canScrollLeft ? (jsx(ScrollLeftButton, { className: `${scrollButtonStyle} left-8`, onClick: scrollLeft })) : null, canScrollRight ? (jsx(ScrollRightButton, { className: `${scrollButtonStyle} right-8`, onClick: scrollRight })) : null] }));
1517
+ const getPaddingStyle = (isPadding) => (isPadding ? 'p-12' : '');
1586
1518
 
1587
1519
  const BLOCK_CLASSES = 'absolute border border-solid border-gray w-full h-full';
1588
1520
  const CARD_WIDTH_MAP = {
1589
1521
  normal: 'min-w-[970px]',
1590
1522
  mini: 'min-w-[355px]',
1591
1523
  };
1592
- const CarouselCard = JSX(({ className = '', button, description, title, version = 'normal' }) => (jsx("section", { className: `flex pb-9 pl-12 border-box ${CARD_WIDTH_MAP[version]} ${className}`, children: jsxs("div", { className: "relative w-full", children: [jsx("div", { className: `${BLOCK_CLASSES} z-10 top-9 right-12 bg-green-dark` }), jsx("div", { className: `${BLOCK_CLASSES} z-10 top-6 right-8 bg-green` }), jsx("div", { className: `${BLOCK_CLASSES} z-10 top-3 right-4 bg-green-light` }), jsxs("div", { className: "relative bg-white z-10 p-10 border border-solid border-green-light", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "L", align: "text-left" }), button ? jsx("div", { className: "mt-14", children: renderButton({ button }) }) : null] })] }) })));
1524
+ const CarouselCard = JSX(({ className = '', button, description, title, carouselVersion = 'normal' }) => (jsx("section", { className: `flex pb-9 pl-12 border-box ${CARD_WIDTH_MAP[carouselVersion]} ${className}`, children: jsxs("div", { className: "relative w-full", children: [jsx("div", { className: `${BLOCK_CLASSES} z-10 top-9 right-12 bg-green-dark` }), jsx("div", { className: `${BLOCK_CLASSES} z-10 top-6 right-8 bg-green` }), jsx("div", { className: `${BLOCK_CLASSES} z-10 top-3 right-4 bg-green-light` }), jsxs("div", { className: "relative bg-white z-10 p-10 border border-solid border-green-light", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "L", align: "text-left" }), renderButtonsSection([button], { className: 'mt-14' })] })] }) })));
1593
1525
 
1594
1526
  const cardStyleMap$2 = {
1595
1527
  black: 'bg-black',
1596
1528
  white: 'bg-white',
1597
1529
  };
1598
- const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors, version = 'primary' }) => (jsxs("section", { className: `border box-border border-gray p-7 min-w-[392px] flex flex-col justify-left ${VersionStyleMap[version]} ${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: "mb-4", children: jsx(Paragraph, { size: "text-m", align: "text-left", font: "font-light", children: description }) })) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: jsx(Text, { children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }) }), colors.map(renderColorOption$1)] })) : null, price ? (jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null, button ? renderButton({ button, buttonClassName: 'mt-5 w-full' }) : null] })));
1530
+ const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors, ...rest }) => (jsxs(BlockWrapper, { className: `border box-border border-gray p-7 min-w-[392px] flex flex-col justify-left ${className}`, role: "listitem", ...rest, 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: "mb-4", children: jsx(Paragraph, { size: "text-m", align: "text-left", font: "font-light", children: description }) })) : null, colors?.length ? (jsxs("div", { className: "flex mb-4 text-s-light text-secondary-text", children: [jsx("div", { className: "mr-1.5", children: jsx(Text, { children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430: " }) }), colors.map(renderColorOption$1)] })) : null, price ? (jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null, renderButtonsSection([button], { buttonClassName: 'mt-5 w-full' })] })));
1599
1531
  const renderColorOption$1 = (color, i) => (jsx("span", { className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap$2[color]}` }, String(i)));
1600
1532
 
1601
- const BorderVersionStyleMap = {
1602
- primary: 'border-gray',
1603
- secondary: 'border-white/50',
1604
- };
1605
-
1606
1533
  const BaseTile = JSX(({ className = '', title = '', buttons, image, children }) => (jsxs("div", { className: `font-sans flex flex-col grow h-full items-start ${className}`, children: [title, jsxs("div", { className: "flex grow w-full justify-between", children: [jsxs("div", { className: "flex flex-col justify-between w-full", children: [jsx("div", { className: "h-full", children: children }), buttons ? jsx("div", { className: "mt-auto pt-8", children: buttons }) : null] }), image] })] })));
1607
1534
 
1608
1535
  const getItemListFontSize = (colValue) => (colValue === 1 ? 'text-h6' : 'text-l');
1609
1536
  const cardColumnsModeStyleMap = {
1610
- 1: 'flex gap-y-2 flex-col',
1611
- 2: 'flex gap-y-2 gap-x-10 flex-wrap',
1537
+ 1: 'flex-col',
1538
+ 2: 'gap-x-10 flex-wrap',
1612
1539
  };
1613
- const CarouselInvestmentCard = JSX(({ additionalDescription, cardsList = [], className = '', columnsMode = 1, description, image, title, version = 'primary', ...rest }) => {
1540
+ const CarouselInvestmentCard = JSX(({ additionalDescription, cardsList = [], className = '', columnsMode = 1, description, image, title, ...rest }) => {
1614
1541
  const tileTitle = title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
1615
1542
  const tileImage = image?.src ? (jsx(ImgInner, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
1616
1543
  return (jsx(BlockWrapper, { className: [
1617
- 'relative text-left border border-solid box-border p-9 w-[697px]',
1618
- VersionStyleMap[version],
1619
- BorderVersionStyleMap[version],
1544
+ 'relative box-border text-left p-9 w-[697px]',
1545
+ 'border border-solid border-gray group-data-secondary:border-white/50',
1620
1546
  className,
1621
- ].join(' '), ...rest, children: jsxs(BaseTile, { title: tileTitle, image: tileImage, children: [jsxs("div", { className: "flex justify-between mb-4", children: [description ? (jsx("div", { className: "w-1/3", children: jsx(Text, { size: "text-h6", children: description }) })) : null, additionalDescription ? (jsx(Text, { size: "text-m", font: "font-light", color: VersionAdditionalStyleMap[version], children: additionalDescription })) : null] }), cardsList.length ? (jsx("ul", { className: `list-none m-0 p-0 ${cardColumnsModeStyleMap[columnsMode]}`, children: renderCardList(cardsList, columnsMode) })) : null] }) }));
1547
+ ].join(' '), ...rest, children: jsxs(BaseTile, { title: tileTitle, image: tileImage, children: [jsxs("div", { className: "flex justify-between mb-4", children: [description ? (jsx("div", { className: "w-1/3", children: jsx(Text, { size: "text-h6", children: description }) })) : null, additionalDescription ? (jsx(Text, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription })) : null] }), cardsList.length ? (jsx("ul", { className: `list-none m-0 p-0 flex gap-y-2 ${cardColumnsModeStyleMap[columnsMode]}`, children: renderCardList(cardsList, columnsMode) })) : null] }) }));
1622
1548
  });
1623
1549
  const renderCardList = (cardsList, columnsMode) => {
1624
1550
  const CARDS_COUNT_MAP = [4, 9];
@@ -1628,45 +1554,33 @@
1628
1554
 
1629
1555
  const LINK_CLASS_NAME = `absolute border border-primary-main ml-3 px-6 py-5
1630
1556
  text-l-light bg-white text-primary-text flex w-[316px]
1631
- justify-between items-center group-hover:text-primary-main z-10`;
1557
+ justify-between items-center group-hover/link:text-primary-main z-10`;
1632
1558
  const LINK_BORDER_CLASS_NAME = 'bg-transparent border-white border h-[70px] absolute w-[316px] top-0';
1633
1559
  const LinkButton = JSX(({ text, href = '', target = '', className = '' }) => {
1634
1560
  if (!text) {
1635
1561
  return null;
1636
1562
  }
1637
- return (jsxs("div", { className: `relative group cursor-pointer w-[328px] h-[82px] ${className}`, children: [jsxs("a", { className: LINK_CLASS_NAME, role: "link", href: href, target: target, children: [jsx("div", { className: "p-0.5", children: text }), jsx("div", { className: "w-6 h-6", children: jsx(ImgInner, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border brightness-0 group-hover:brightness-100", image: { icon: 'ArrowRightIcon', iconVersion: 'black' }, imageClassName: "group-hover:text-primary-main", width: "24", height: "24", asSVG: true }) })] }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mx-1.5 mt-1.5` }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mt-3 mr-3` })] }));
1563
+ return (jsxs("div", { className: `relative group/link cursor-pointer w-[328px] h-[82px] ${className}`, children: [jsxs("a", { className: LINK_CLASS_NAME, role: "link", href: href, target: target, children: [jsx("div", { className: "p-0.5", children: text }), jsx("div", { className: "w-6 h-6", children: jsx(ImgInner, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border brightness-0 group-hover/link:brightness-100", image: { icon: 'ArrowRightIcon', iconVersion: 'black' }, imageClassName: "group-hover/link:text-primary-main", width: "24", height: "24", asSVG: true }) })] }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mx-1.5 mt-1.5` }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mt-3 mr-3` })] }));
1638
1564
  });
1639
1565
 
1640
1566
  const MAX_LINKS_COUNT = 12;
1641
- const CarouselLinks = JSX(({ className = '', additionalDescription, description, links, title, ...rest }) => {
1642
- return (jsxs(BlockWrapper, { className: `bg-primary-main flex w-full p-10 overflow-hidden justify-between font-sans ${className}`, ...rest, children: [jsxs("div", { className: "flex flex-col max-w-96 pr-9 text-white text-xl-light", children: [jsx(Headline, { title: title, as: "h1", description: description, align: "text-left", className: "p-0", bgColorHeadline: "secondary" }), additionalDescription ? (jsx("div", { className: "pt-6", children: jsx(Paragraph, { children: additionalDescription }) })) : null] }), links?.length ? renderLinks(links) : null] }));
1567
+ const CarouselLinks = JSX(({ className = '', additionalDescription, description, links, title, version = 'secondary', ...rest }) => {
1568
+ return (jsxs(BlockWrapper, { className: `flex w-full p-10 overflow-hidden justify-between ${className}`, version: version, ...rest, children: [jsxs("div", { className: "flex flex-col max-w-96 pr-9 text-white text-xl-light", children: [jsx(Headline, { className: "p-0", title: title, description: description, as: "h1", align: "text-left" }), additionalDescription ? (jsx("div", { className: "pt-6", children: jsx(Paragraph, { children: additionalDescription }) })) : null] }), links?.length ? renderLinks(links) : null] }));
1643
1569
  });
1644
1570
  const renderLinks = (links) => {
1645
1571
  const itemCount = Math.ceil(links.length / MAX_LINKS_COUNT);
1646
- return (jsx(Carousel, { className: "min-w-[832px] w-[832px]", isBlur: false, isCyclic: true, itemCount: itemCount, children: new Array(itemCount).fill(null).map((_, groupIndex) => (jsx("div", { className: "w-[672px] min-w-[672px] ml-20 mr-20 flex flex-wrap self-start", children: links
1572
+ return (jsx(Carousel, { version: "", className: "min-w-[832px] w-[832px]", isBlur: false, isCyclic: true, itemCount: itemCount, children: new Array(itemCount).fill(null).map((_, groupIndex) => (jsx("div", { className: "w-[672px] min-w-[672px] ml-20 mr-20 flex flex-wrap self-start", children: links
1647
1573
  .slice(groupIndex * MAX_LINKS_COUNT, (groupIndex + 1) * MAX_LINKS_COUNT)
1648
1574
  .map((link, index) => (jsx(LinkButton, { className: "m-1", ...link }, String(index)))) }, String(groupIndex)))) }));
1649
1575
  };
1650
1576
 
1651
- const LIST_DOT_STYLE_MAP = {
1652
- primary: 'bg-primary-text',
1653
- secondary: 'bg-white',
1654
- gray: 'bg-secondary-text',
1655
- };
1656
1577
  const DOT_SIZE_MAP = {
1657
1578
  L: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-4',
1658
1579
  M: 'w-1.5 h-1.5 min-w-1.5 min-h-1.5 mr-3',
1659
1580
  S: 'w-1 h-1 min-w-1 min-h-1 mr-2',
1660
1581
  };
1661
- const ListItem = JSX(({ className = '', isDotted = true, children, version = 'primary', size = 'M' }) => {
1662
- return (jsxs("div", { className: `font-sans flex items-baseline ${className}`, role: "listitem", children: [isDotted ? (jsx("div", { children: jsx("div", { className: `rounded-full align-middle inline-block ${LIST_DOT_STYLE_MAP[version]} ${DOT_SIZE_MAP[size]}` }) })) : null, jsx("span", { children: children })] }));
1663
- });
1582
+ const ListItem = JSX(({ className = '', isDotted = true, children, size = 'M' }) => (jsxs("div", { className: `font-sans flex items-baseline ${className}`, role: "listitem", children: [isDotted ? (jsx("div", { children: jsx("div", { className: `rounded-full align-middle inline-block bg-primary-text group-data-secondary:bg-white ${DOT_SIZE_MAP[size]}` }) })) : null, jsx("span", { children: children })] })));
1664
1583
 
1665
- const TEXT_STYLE_MAP = {
1666
- primary: 'text-primary-text',
1667
- secondary: 'text-white',
1668
- gray: 'text-secondary-text',
1669
- };
1670
1584
  const TEXT_SIZE_MAP = {
1671
1585
  S: 'text-l-light',
1672
1586
  M: 'text-h6',
@@ -1677,35 +1591,24 @@
1677
1591
  M: 'ml-3',
1678
1592
  L: 'ml-4',
1679
1593
  };
1680
- const List = JSX((props) => {
1681
- const { className = '', hasIndent, isDotted, itemClassName = '', items, listItemSize = 'M', version = 'primary', } = props;
1682
- if (!items?.length) {
1683
- return null;
1684
- }
1685
- 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)))) }));
1686
- });
1594
+ const List = JSX(({ className = '', hasIndent, isDotted, itemClassName = '', items, listItemSize = 'M' }) => items?.length ? (jsx("section", { className: `text-primary-text group-data-secondary:text-white group-data-gray:text-secondary-text ${TEXT_SIZE_MAP[listItemSize]} ${hasIndent ? ITEM_INDENT_MAP[listItemSize] : ''} ${className}`, role: "list", children: items.map((item, i) => (jsx(ListItem, { className: `${itemClassName} mb-1.5`, isDotted: isDotted, size: listItemSize, children: item }, String(i)))) })) : null);
1687
1595
 
1688
- const descriptionStyleMap = {
1689
- primary: 'text-secondary-text',
1690
- secondary: 'text-white/80',
1691
- };
1692
- const BORDER_STYLE = 'box-border border-solid border border-gray ';
1693
- const CarouselProductCard = JSX(({ title, headlineSmallVersion = 'H6', description, additionalDescription, icon, items = [], button = {}, version = 'primary', isDotted = true, align = 'center', }) => {
1694
- return (jsxs("section", { className: [
1695
- 'flex flex-col justify-between items-stretch min-w-[260px] h-full w-full p-6',
1696
- BORDER_STYLE,
1697
- AlignText[align],
1698
- VersionStyleMap[version],
1699
- ].join(' '), role: "listitem", children: [jsxs("div", { className: "flex flex-col h-full", children: [renderImage$4(icon, version), renderCardTitle$1(headlineSmallVersion, title), renderDescription$4(description, title), renderItems$2(items, isDotted, version), renderAdditionalDescription$2(additionalDescription, version)] }), renderButton({ button, buttonClassName: 'mt-6' })] }));
1596
+ const CarouselProductCard = JSX(({ className = '', title, headlineSmallVersion = 'H6', description, additionalDescription, icon, items = [], button = {}, version = 'primary', isDotted = true, align = 'text-center', ...rest }) => {
1597
+ return (jsxs(BlockWrapper, { className: style('flex flex-col justify-between items-stretch min-w-[260px] h-full w-full p-6', 'box-border border-solid border border-gray', align, className), role: "listitem", version: version, ...rest, children: [jsxs("div", { className: "flex flex-col h-full", children: [renderImage$4(icon), renderCardTitle$1(headlineSmallVersion, title), renderDescription$4(description, title), renderItems$1(items, isDotted, version), renderAdditionalDescription$2(additionalDescription)] }), renderButtonsSection([button], { buttonClassName: 'mt-6 w-full' })] }));
1700
1598
  });
1701
- const renderImage$4 = (image, version) => (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? (jsx(ImgInner, { className: `w-[32px] h-[32px] min-w-[32px] mb-5 rounded-full`, image: getIconWithVersion(image, version), asSVG: true })) : null] }));
1599
+ const renderImage$4 = (image) => (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? (jsx(ImgInner, { className: `w-[32px] h-[32px] min-w-[32px] mb-5 rounded-full`, image: image, asSVG: true })) : null] }));
1702
1600
  const renderCardTitle$1 = (headlineSmallVersion, title) => title ? jsx(Text, { size: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title }) : null;
1703
1601
  const renderDescription$4 = (description, title) => description ? (jsx("div", { className: title ? 'mt-2' : '', children: jsx(Paragraph, { size: "text-l", children: description }) })) : null;
1704
- const renderAdditionalDescription$2 = (additionalDescription, version = 'primary') => additionalDescription ? (jsx("div", { className: "mt-auto", children: jsx(Text, { size: "text-m", font: "font-light", color: descriptionStyleMap[version], children: additionalDescription }) })) : null;
1705
- const renderItems$2 = (items, isDotted, version = 'primary') => items?.length ? (jsx(List, { className: `max-w-[308px] mt-2 text-s ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted, version: version })) : null;
1602
+ const renderAdditionalDescription$2 = (additionalDescription) => additionalDescription ? (jsx("div", { className: "mt-auto", children: jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text group-data-secondary:text-white/80", children: additionalDescription }) })) : null;
1603
+ const renderItems$1 = (items, isDotted, version = 'primary') => items?.length ? (jsx(List, { className: `max-w-[308px] mt-2 text-s ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted })) : null;
1604
+
1605
+ const getIconWithVersion = (icon, version = 'primary') => ({
1606
+ ...icon,
1607
+ iconVersion: icon?.iconVersion ?? (version === 'secondary' ? 'white' : 'color'),
1608
+ });
1706
1609
 
1707
- const CarouselProgramsCard = JSX(({ className = '', title, icon, list = [], version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: `font-sans border border-gray flex min-w-[536px] ${VersionStyleMap[version]} ${className}`, ...rest, children: [jsxs("div", { className: "w-[200px] min-w-[200px] self-center", children: [icon?.icon ? jsx(ImgInner, { image: getIconWithVersion(icon), asSVG: true }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null] }), jsxs("div", { className: "p-8 pl-3 w-full", children: [title ? jsx(Heading, { className: " mb-3.5", headingType: "h5", title: title }) : null, list.length ? jsx("div", { className: "flex flex-col gap-3", children: list?.map(renderList$2) }) : null] })] })));
1708
- const renderList$2 = (_, i) => (jsxs("div", { className: "break-words", children: [_.title ? jsx("div", { className: `text-h6`, children: _.title }) : null, _.description ? jsx("span", { className: "text-l-light mt-1", children: _.description }) : null] }, String(i)));
1610
+ const CarouselProgramsCard = JSX(({ className = '', title, icon, list = [], ...rest }) => (jsxs(BlockWrapper, { className: `border border-gray flex min-w-[536px] ${className}`, ...rest, children: [jsxs("div", { className: "w-[200px] min-w-[200px] self-center", children: [icon?.icon ? jsx(ImgInner, { image: getIconWithVersion(icon), asSVG: true }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null] }), jsxs("div", { className: "p-8 pl-3 w-full", children: [title ? jsx(Heading, { className: " mb-3.5", headingType: "h5", title: title }) : null, list.length ? jsx("div", { className: "flex flex-col gap-3", children: list?.map(renderList$1) }) : null] })] })));
1611
+ const renderList$1 = (_, i) => (jsxs("div", { className: "break-words", children: [_.title ? jsx("div", { className: `text-h6`, children: _.title }) : null, _.description ? jsx("span", { className: "text-l-light mt-1", children: _.description }) : null] }, String(i)));
1709
1612
 
1710
1613
  const ICONS_MAP = [
1711
1614
  {
@@ -1733,46 +1636,39 @@
1733
1636
  icon: { icon: 'PlayMarketIcon' },
1734
1637
  label: 'Google Play',
1735
1638
  },
1639
+ {
1640
+ origins: ['youtube.com'],
1641
+ icon: { icon: 'YoutubeIcon' },
1642
+ label: 'Youtube',
1643
+ },
1736
1644
  ];
1737
- const BUTTON_SIZE = {
1738
- default: ' w-14 h-14',
1739
- small: ' w-12 h-12',
1645
+ const buttonSizeStyles = {
1646
+ default: 'w-14 h-14',
1647
+ small: 'w-12 h-12',
1740
1648
  };
1741
- const MediaButton = JSX(({ version = 'primary', isRounded = false, buttonSize = 'default', ...rest }) => {
1649
+ const MediaButton = JSX(({ isRounded = false, buttonSize = 'default', iconVersion = 'color', ...rest }) => {
1742
1650
  const link = useLink();
1743
1651
  const { href, onClick } = link(rest);
1744
1652
  const { icon, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
1745
- if (!icon) {
1746
- return null;
1747
- }
1748
- const classes = version === 'secondary'
1749
- ? 'bg-white hover:bg-secondary-hover'
1750
- : 'border-solid border border-main-divider hover:border-transparent hover:bg-primary-main';
1751
- const isPrimary = version === 'primary' ? 'hover:text-black' : '';
1752
- const rounded = isRounded ? 'rounded-full' : 'rounded-md';
1753
- return (jsx("a", { className: `flex items-center justify-center group box-border ${classes} ${rounded} ${isPrimary} ${BUTTON_SIZE[buttonSize]}`, href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", onClick: onClick, children: icon ? (jsx(ImgInner, { image: getIconWithVersion(icon), imageClassName: "group-hover:text-white", width: "24", height: "24", asSVG: true })) : null }));
1653
+ const iconWithVersion = icon ? { ...getIconWithVersion(icon), iconVersion } : null;
1654
+ return icon ? (jsx("a", { className: style('group/media flex items-center justify-center box-border', buttonSizeStyles[buttonSize], isRounded ? 'rounded-full' : 'rounded-md', 'border-solid border border-main-divider hover:border-transparent', 'hover:bg-primary-main hover:text-black', 'group-data-secondary:bg-white group-data-secondary:hover:bg-secondary-hover'), href: href, "aria-label": label, target: "_blank", rel: "noopener noreferrer", onClick: onClick, children: iconWithVersion ? (jsx(ImgInner, { image: iconWithVersion, imageClassName: "group-hover/media:text-white", width: "24", height: "24", asSVG: true })) : null })) : null;
1754
1655
  });
1755
1656
 
1756
- const SocialMedia = JSX(({ className = '', media, version, isRounded = false, buttonSize, children }) => (jsxs("div", { className: "font-sans", children: [jsx("div", { className: `flex gap-2.5 ${className}`, children: media?.map((_, index) => (jsx(MediaButton, { version: version, isRounded: isRounded, buttonSize: buttonSize, ..._ }, String(index)))) }), jsx("span", { className: "text-s-light text-secondary-text", children: children })] })));
1657
+ const SocialMedia = JSX(({ className = '', media, isRounded = false, buttonSize, children }) => (jsxs("div", { className: "font-sans", children: [jsx("div", { className: `flex gap-2.5 ${className}`, children: media?.map((_, index) => (jsx(MediaButton, { isRounded: isRounded, buttonSize: buttonSize, ..._ }, String(index)))) }), jsx("span", { className: "text-s-light text-secondary-text", children: children })] })));
1757
1658
 
1758
- const CarouselRecommendationCard = JSX(({ button, className = '', description, image, items = [], socialMedia = [], title, version = 'primary', ...rest }) => {
1659
+ const CarouselRecommendationCard = JSX(({ button, className = '', description, image, items = [], socialMedia = [], title, ...rest }) => {
1759
1660
  const tileTitle = title ? (jsx(Heading, { headingType: "h5", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
1760
1661
  const tileImage = image?.src ? (jsx(ImgInner, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
1761
- return (jsx(BlockWrapper, { className: `relative text-left border border-solid box-border p-7 min-w-[524px]
1762
- ${BorderVersionStyleMap[getOmitVersion(version)]}
1763
- ${VersionWithGrayStyleMap[version]}
1764
- ${className}`, ...rest, children: jsx(BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: jsxs("div", { className: "h-full flex flex-col justify-between", children: [description ? jsx("span", { className: "mb-2", children: 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.length ? (jsx(SocialMedia, { className: "pt-10 pb-0", media: socialMedia, version: getOmitVersion(version) })) : null, button?.text ? jsx("div", { className: "pt-2 mt-16", children: renderButton({ button }) }) : null] }) }) }));
1662
+ const BORDER_STYLE = 'border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider';
1663
+ return (jsx(BlockWrapper, { className: style('relative p-7 min-w-[524px] text-left box-border group-data-gray:bg-main-divider/50', BORDER_STYLE, className), ...rest, children: jsx(BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: jsxs("div", { className: "h-full flex flex-col justify-between", children: [description ? jsx("span", { className: "mb-2", children: description }) : null, items.length ? (jsx(List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items })) : null, socialMedia.length ? jsx(SocialMedia, { className: "pt-10 pb-0", media: socialMedia }) : null, renderButtonsSection([button], { className: 'pt-2 mt-16' })] }) }) }));
1765
1664
  });
1766
- const getOmitVersion = (version) => version === 'gray' ? 'primary' : version;
1767
1665
 
1768
1666
  const VISIBLE_CELLS_COUNT = 1;
1769
1667
  const CarouselTariffsCard = JSX(({ className = '', title, icon, isHighlighting, button, cardCells = [], ...rest }) => {
1770
1668
  const cellsNode = cardCells.map(renderCardInfo);
1771
1669
  const visibleCells = cellsNode.slice(0, VISIBLE_CELLS_COUNT);
1772
1670
  const hiddenCells = cellsNode.slice(VISIBLE_CELLS_COUNT);
1773
- return (jsxs(BlockWrapper, { className: `font-sans relative bg-white border border-gray min-w-[322px] p-8 flex flex-col
1774
- ${getHitStyle(isHighlighting)}
1775
- ${className}`, ...rest, children: [isHighlighting ? renderHitIcon() : null, renderIconBlock(icon), title ? (jsx(Heading, { className: "text-primary-text text-center pt-2", headingType: "h5", title: title })) : null, button ? jsx(Button, { className: "w-full mt-4", ...button }) : null, cardCells.length ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs("div", { children: [visibleCells, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenCells })] })), renderFoldButton: cardCells.length > 1 ? renderFoldButton$1 : null })) : null] }));
1671
+ return (jsxs(BlockWrapper, { className: style('relative border border-gray min-w-[322px] p-8 flex flex-col', getHitStyle(isHighlighting), className), ...rest, children: [isHighlighting ? renderHitIcon() : null, renderIconBlock(icon), title ? jsx(Heading, { className: "text-center pt-2", headingType: "h5", title: title }) : null, button ? jsx(Button, { className: "w-full mt-4", ...button }) : null, cardCells.length ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs("div", { children: [visibleCells, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenCells })] })), renderFoldButton: cardCells.length > 1 ? renderFoldButton$1 : null })) : null] }));
1776
1672
  });
1777
1673
  const renderIconBlock = (icon) => (jsxs("div", { className: "w-[267px] min-w-[267px] self-center", children: [icon?.src ? jsx(ImgInner, { image: icon }) : null, icon?.icon ? jsx(ImgInner, { image: getIconWithVersion(icon), asSVG: true }) : null] }));
1778
1674
  const getHitStyle = (isHighlighting) => isHighlighting ? 'mt-9 pt-[70px]' : 'mt-[70px] pt-7';
@@ -1784,7 +1680,7 @@
1784
1680
  black: 'bg-black',
1785
1681
  white: 'bg-white',
1786
1682
  };
1787
- const CatalogCard = JSX(({ className = '', title, description, image, price, button, colors }) => (jsxs("section", { className: `border border-solid box-border border-gray 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-s-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, buttonClassName: 'mt-5 w-full' }) : null] })));
1683
+ const CatalogCard = JSX(({ className = '', title, description, image, price, button, colors }) => (jsxs("section", { className: `border border-solid box-border border-gray 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-s-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, renderButtonsSection([button], { buttonClassName: 'mt-5 w-full' })] })));
1788
1684
  const renderColorOption = (color, i) => (jsx("span", { className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap$1[color]}` }, String(i)));
1789
1685
 
1790
1686
  const BLUR_BLOCK_CLASSES$1 = 'absolute top-0 bottom-0 w-[84px]';
@@ -1795,7 +1691,7 @@
1795
1691
  itemCount: cards?.length,
1796
1692
  visibleItemCount: CARD_VIEW_COUNT$1,
1797
1693
  });
1798
- return (jsxs(BlockWrapper, { className: `bg-white relative font-sans p-12 overflow-hidden text-center ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", ...rest }), jsx("div", { className: "flex duration-1000 gap-3.5 mt-8", style: { transform: `translateX(-${activeIndex * CARD_SHIFT$1}px)` }, role: "list", children: cards?.length ? cards.map((card, i) => jsx(CatalogCard, { ...card }, String(i))) : null }), renderArrows({
1694
+ return (jsxs(BlockWrapper, { className: `p-12 overflow-hidden text-center ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", ...rest }), jsx("div", { className: "flex duration-1000 gap-3.5 mt-8", style: { transform: `translateX(-${activeIndex * CARD_SHIFT$1}px)` }, role: "list", children: cards?.length ? cards.map((card, i) => jsx(CatalogCard, { ...card }, String(i))) : null }), renderArrows({
1799
1695
  ...controls,
1800
1696
  btnClass: ['left-8', 'right-8'],
1801
1697
  className: 'top-1/2 z-10 mt-6',
@@ -1803,13 +1699,13 @@
1803
1699
  });
1804
1700
 
1805
1701
  const GRADIENT = 'bg-gradient-to-r from-main-gradient-start to-main-gradient-end';
1806
- const BORDER_CLASSES$1 = 'border-gray border-solid border';
1702
+ const BORDER_CLASSES = 'border-gray border-solid border';
1807
1703
  const DIVIDER_CLASSES$1 = 'border-main-divider border border-t-0 border-x-0';
1808
1704
  const FIRST_CELL_CLASSES$1 = 'w-[200px] mr-6';
1809
1705
  const COLS_LENGTH_FOR_SCROLL$1 = 3;
1810
1706
  const COLUMN_WIDTH$2 = 4 * 80 + 4 * 4; // w-80 + gap-4 = 336px
1811
1707
 
1812
- 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: getIconWithVersion(icon), width: "63", height: "63", asSVG: true })), 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 }) }) }))] })));
1708
+ 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} ${GRADIENT}`, role: "columnheader", children: [icon && !image?.src && (jsx(ImgInner, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", image: getIconWithVersion(icon), width: "63", height: "63", asSVG: true })), 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 }) }) }))] })));
1813
1709
 
1814
1710
  const carouselContainerClassesMap = {
1815
1711
  comparison: 'flex gap-4 duration-1000',
@@ -1822,7 +1718,7 @@
1822
1718
  const ComparisonTableColumnHeaders = JSX(({ colHeaders, activeIndex }) => (jsxs(TableRowContainer, { children: [jsx("div", { className: FIRST_CELL_CLASSES$1, role: "columnheader" }), jsx(TableCarouselContainer, { activeIndex: activeIndex, columnWidth: COLUMN_WIDTH$2, children: colHeaders.map((header, i) => (jsx(HeaderCell, { ...header }, String(i)))) })] })));
1823
1719
 
1824
1720
  const TableCell = JSX(({ cell, isFirstRow, isLastRow, isFillGradient }) => {
1825
- const cellWrapperClasses = `w-80 box-border flex flex-col ${BORDER_CLASSES$1} ${!isLastRow ? 'border-y-0' : 'border-t-0 rounded-b-md'} ${isFillGradient ? GRADIENT : ''}`;
1721
+ const cellWrapperClasses = `w-80 box-border flex flex-col ${BORDER_CLASSES} ${!isLastRow ? 'border-y-0' : 'border-t-0 rounded-b-md'} ${isFillGradient ? GRADIENT : ''}`;
1826
1722
  const cellClasses = `mx-7 h-full ${DIVIDER_CLASSES$1} ${isFillGradient && isFirstRow ? 'border-t' : ''} ${!isLastRow ? 'border-solid' : 'border-b-0'}`;
1827
1723
  return (jsx("div", { className: cellWrapperClasses, role: "cell", children: jsx("div", { className: cellClasses, children: cell.map((item, i) => renderCellInner$1(item, i, isFillGradient)) }) }));
1828
1724
  });
@@ -1865,15 +1761,15 @@
1865
1761
  const ComparisonTable = JSX(({ className = '', title, rowHeaders, columns, visibleRowLength = 0, isColoredFirstColumn = false, ...rest }) => {
1866
1762
  const [isShowAllRow, setIsShowAllRow] = useState(!visibleRowLength);
1867
1763
  const handleToggle = useCallback(() => setIsShowAllRow((_) => !_), []);
1868
- return (jsxs(BlockWrapper, { className: `bg-white font-sans py-12 pl-12 overflow-hidden text-primary-text relative ${className}`, ...rest, children: [jsx(Heading, { headingType: "h2", className: "max-w-[47rem] text-center mb-9 mx-auto", title: title }), jsx(ComparisonTableBody, { columns: columns, rowHeaders: rowHeaders, isShowAllRow: isShowAllRow, isColoredFirstColumn: isColoredFirstColumn, visibleRowLength: visibleRowLength }), visibleRowLength
1764
+ return (jsxs(BlockWrapper, { className: `py-12 pl-12 overflow-hidden relative ${className}`, ...rest, children: [jsx(Heading, { headingType: "h2", className: "max-w-[47rem] text-center mb-9 mx-auto", title: title }), jsx(ComparisonTableBody, { columns: columns, rowHeaders: rowHeaders, isShowAllRow: isShowAllRow, isColoredFirstColumn: isColoredFirstColumn, visibleRowLength: visibleRowLength }), visibleRowLength
1869
1765
  ? renderShowMoreToggleButton({ isShowAllRow, onClick: handleToggle })
1870
1766
  : null] }));
1871
1767
  });
1872
1768
  const renderShowMoreToggleButton = ({ isShowAllRow, onClick, }) => (jsx("div", { className: "pr-12", 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-gray 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 ? 'Показать все параметры' : 'Скрыть' }) })] }) }));
1873
1769
 
1874
- const ContactsBlock = JSX(({ className = '', contacts, info, version = 'secondary', ...rest }) => (jsxs(BlockWrapper, { className: `${VersionStyleMap[version]} flex p-12 ${className}`, ...rest, children: [info?.length ? renderBlocks(info, version) : null, contacts?.length ? renderBlocks(contacts, version) : null] })));
1875
- const renderBlocks = (info, version) => (jsx("div", { className: "flex grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index, version })) }));
1876
- const renderBlocksColumn = ({ column, index, version }) => column ? (jsx("div", { className: "flex flex-col grow basis-0 pr-11 last:pr-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => (jsxs("div", { className: "mt-6 first:mt-0", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "XS", align: "text-left", bgColorHeadline: version }), additionalDescription ? (jsx("div", { className: "mt-1.5 opacity-80", children: jsx(Paragraph, { size: "text-m-light", children: additionalDescription }) })) : null, button ? jsx(Button, { className: "mt-6", ...button }) : null] }, String(key)))) }, `col-${String(index)}`)) : null;
1770
+ const ContactsBlock = JSX(({ className = '', contacts, info, version = 'secondary', ...rest }) => (jsxs(BlockWrapper, { className: `flex p-12 ${className}`, version: version, ...rest, children: [info?.length ? renderBlocks(info) : null, contacts?.length ? renderBlocks(contacts) : null] })));
1771
+ const renderBlocks = (info) => (jsx("div", { className: "flex grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index })) }));
1772
+ const renderBlocksColumn = ({ column, index }) => column ? (jsx("div", { className: "flex flex-col grow basis-0 pr-11 last:pr-0", children: column.map(({ title = '', description, additionalDescription, button }, key) => (jsxs("div", { className: "mt-6 first:mt-0", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "XS", align: "text-left" }), additionalDescription ? (jsx("div", { className: "mt-1.5 opacity-80", children: jsx(Paragraph, { size: "text-m", font: "font-light", children: additionalDescription }) })) : null, button ? jsx(Button, { className: "mt-6", ...button }) : null] }, String(key)))) }, `col-${String(index)}`)) : null;
1877
1773
 
1878
1774
  const renderErrorContent = (error) => {
1879
1775
  if (error?.errorContentType === 'Image' && error?.image) {
@@ -1975,7 +1871,7 @@
1975
1871
  setSelectedItem(value || { key: '', text: '' });
1976
1872
  }, [value]);
1977
1873
  return (jsxs("div", { className: `${className}`, ref: wrapperRef, children: [label ? jsx("span", { className: "mb-2 flex text-primary-text", 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
1978
- ${getBorderStyle(isBorder)}`, onClick: () => setIsOpen(!isOpen), children: [jsx("p", { className: "p-4 pr-8 h-14 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-64 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] })] }));
1874
+ ${getBorderStyle$1(isBorder)}`, onClick: () => setIsOpen(!isOpen), children: [jsx("p", { className: "p-4 pr-8 h-14 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-64 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] })] }));
1979
1875
  });
1980
1876
  const renderOptionsStyle = (isOpen) => (isOpen ? '' : 'overflow-hidden');
1981
1877
  const renderOption = (choiceOption, isOpen, isSelected) => (option, i) => {
@@ -1983,7 +1879,7 @@
1983
1879
  choiceOption(option);
1984
1880
  }, className: "flex px-4 py-3 cursor-pointer hover:bg-main-divider pr-11 relative", children: [jsx("span", { className: "min-h-6", children: option.text }), jsx(Icon, { name: "DoneSimpleIcon", width: "16", height: "16", className: ['absolute right-4 pt-0.5', isSelected(option) && isOpen ? '' : 'hidden'].join(' ') })] }, String(i)));
1985
1881
  };
1986
- const getBorderStyle = (isBorder) => isBorder ? 'border border-gray rounded-md hover:border-primary-hover' : '';
1882
+ const getBorderStyle$1 = (isBorder) => isBorder ? 'border border-gray rounded-md hover:border-primary-hover' : '';
1987
1883
 
1988
1884
  function renderInput(props) {
1989
1885
  const { placeholder, rates, selected, value, setValue, setSelected } = props;
@@ -2098,7 +1994,7 @@
2098
1994
  currencyRatesBuy.unshift({ currency: { currency: Currency.RUB } });
2099
1995
  const currencyRatesSell = currencyRates.filter((_) => _.saleExchangeRate);
2100
1996
  currencyRatesSell.push({ currency: { currency: Currency.RUB } });
2101
- return (jsx(BlockWrapper, { className: `bg-white text-primary-text font-sans p-9 box-border min-h-80 ${className}`, ...rest, children: jsx(BaseTile, { title: jsx(Heading, { headingType: "h4", title: title, className: "whitespace-pre-wrap text-h4 mb-5" }), children: jsxs("div", { className: "flex", children: [jsxs("div", { className: "mr-14 pt-4", children: [currencyRates ? (jsx(CurrencyTable, { className: "mb-[30px]", exchangeCurrencyItems: currencyRates })) : null, jsx(CurrentLocation$1, { address: exchangeRates?.address })] }), currencyRates.length && currencyRatesBuy.length && currencyRatesSell.length ? (jsx(ExchangeCurrencyCalculator, { className: "grow", currencyRatesBuy: currencyRatesBuy, currencyRatesSell: currencyRatesSell, button: button })) : null] }) }) }));
1997
+ return (jsx(BlockWrapper, { className: `p-9 box-border min-h-80 ${className}`, ...rest, children: jsx(BaseTile, { title: jsx(Heading, { headingType: "h4", title: title, className: "whitespace-pre-wrap text-h4 mb-5" }), children: jsxs("div", { className: "flex", children: [jsxs("div", { className: "mr-14 pt-4", children: [currencyRates ? (jsx(CurrencyTable, { className: "mb-[30px]", exchangeCurrencyItems: currencyRates })) : null, jsx(CurrentLocation$1, { address: exchangeRates?.address })] }), currencyRates.length && currencyRatesBuy.length && currencyRatesSell.length ? (jsx(ExchangeCurrencyCalculator, { className: "grow", currencyRatesBuy: currencyRatesBuy, currencyRatesSell: currencyRatesSell, button: button })) : null] }) }) }));
2102
1998
  });
2103
1999
  const getCurrencyRates = (currencies) => {
2104
2000
  return currencies?.filter((_) => _?.currency?.id === 1 || _?.currency?.id === 2) || [];
@@ -2221,10 +2117,10 @@
2221
2117
  const TextInformation = JSX(({ className = '', links }) => (jsxs("div", { className: className, children: [jsx("div", { className: "pt-5", children: jsx("span", { className: "text-xs-light text-secondary-text", children: `\u00a9\u00A02000-${new Date().getFullYear()}\u00A0АО \u00ABРоссельхозбанк\u00BB Генеральная лицензия Банка России \u2116\u00A03349 от\u00A012.08.2015\u00A0г.` }) }), links?.length ? (jsx("div", { className: "flex justify-start items-start gap-5 pt-2.5", children: links.map((_, i) => (jsx(TextInformationLink, { index: i, ..._ }, String(i)))) })) : null] })));
2222
2118
 
2223
2119
  const LEFT_COL_WIDTH_FULL_HD = 'w-[204px]';
2224
- const Footer = JSX(({ className, ...rest }) => {
2120
+ const Footer = JSX(({ className = '', ...rest }) => {
2225
2121
  const fallback = rest.options?.page?.fallback;
2226
2122
  const { documents, relatedEnterprises, contacts, socialMedia, mobileApps, topItems, logo } = useSWRResource(projectSettings.FOOTER || 'footer', fallback);
2227
- return (jsxs(BlockWrapper, { tag: "footer", className: `p-9 bg-white font-sans ${className || ''}`, ...rest, children: [jsxs("div", { className: "flex items-stretch gap-[54px] pb-[30px] xl:gap-8", children: [jsx(Logo, { className: LEFT_COL_WIDTH_FULL_HD, logo: logo }), jsx(SearchBar$1, { className: "grow" })] }), jsxs("div", { className: "flex items-stretch gap-[54px] xl:gap-8", children: [jsxs("div", { className: `${LEFT_COL_WIDTH_FULL_HD} flex flex-col shrink-0 overflow-hidden`, children: [jsx(Contacts, { items: contacts, hasButton: true }), jsx(SocialMedia, { media: socialMedia, children: "\u0421\u043E\u0446\u0441\u0435\u0442\u0438" }), jsx(SocialMedia, { className: "mt-6", media: mobileApps, children: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" })] }), jsx(Sitemap, { className: "pt-[3px]", items: topItems, fallback: fallback })] }), jsx(HorizontalNavigation, { className: "mt-[98px]", links: relatedEnterprises }), jsx(TextInformation, { links: documents })] }));
2123
+ return (jsxs(BlockWrapper, { tag: "footer", className: `p-9 ${className}`, ...rest, children: [jsxs("div", { className: "flex items-stretch gap-[54px] pb-[30px] xl:gap-8", children: [jsx(Logo, { className: LEFT_COL_WIDTH_FULL_HD, logo: logo }), jsx(SearchBar$1, { className: "grow" })] }), jsxs("div", { className: "flex items-stretch gap-[54px] xl:gap-8", children: [jsxs("div", { className: `${LEFT_COL_WIDTH_FULL_HD} flex flex-col shrink-0 overflow-hidden`, children: [jsx(Contacts, { items: contacts, hasButton: true }), jsx(SocialMedia, { media: socialMedia, children: "\u0421\u043E\u0446\u0441\u0435\u0442\u0438" }), jsx(SocialMedia, { className: "mt-6", media: mobileApps, children: "\u041C\u043E\u0431\u0438\u043B\u044C\u043D\u043E\u0435 \u043F\u0440\u0438\u043B\u043E\u0436\u0435\u043D\u0438\u0435" })] }), jsx(Sitemap, { className: "pt-[3px]", items: topItems, fallback: fallback })] }), jsx(HorizontalNavigation, { className: "mt-[98px]", links: relatedEnterprises }), jsx(TextInformation, { links: documents })] }));
2228
2124
  });
2229
2125
 
2230
2126
  const galleryLengthForScrollMap = {
@@ -2240,40 +2136,38 @@
2240
2136
  mini: 276,
2241
2137
  };
2242
2138
 
2243
- const GalleryCardInner = JSX(({ title, headlineSmallVersion = 'H6', description, additionalDescription, icon, items, button, version, isFullWidth = true, isDotted = true, align = 'center', }) => (jsxs("div", { className: `h-full flex flex-col justify-between ${AlignText[align]}`, children: [jsxs("div", { className: "flex flex-col h-full", children: [renderImage$2(icon, version), renderCardTitle(headlineSmallVersion, title), renderDescription$3(description, title), items?.length ? renderItems$1(items, isDotted, version) : null, renderAdditionalDescription$1(additionalDescription, version)] }), button?.text
2244
- ? renderButton({
2245
- button,
2246
- buttonClassName: `mt-6 ${isFullWidth ? '' : 'self-center'}`,
2247
- })
2248
- : null] })));
2249
- const renderImage$2 = (image, version) => (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? (jsx(ImgInner, { className: `w-8 h-8 min-w-8 mb-5 rounded-full`, image: getIconWithVersion(image, version), asSVG: true })) : null] }));
2139
+ const GalleryCardInner = JSX(({ title, headlineSmallVersion = 'H6', description, additionalDescription, icon, items, button, isFullWidth = true, isDotted = true, align = 'center', ...rest }) => (jsxs(BlockWrapper, { className: `h-full flex flex-col justify-between ${AlignText[align]}`, tag: "div", ...rest, children: [jsxs("div", { className: "flex flex-col h-full", children: [renderImage$2(icon), renderCardTitle(headlineSmallVersion, title), renderDescription$3(description, title), items?.length ? renderItems(items, isDotted) : null, renderAdditionalDescription$1(additionalDescription)] }), renderButtonsSection([button], {
2140
+ buttonClassName: `mt-6 ${isFullWidth ? 'w-full' : 'self-center'}`,
2141
+ })] })));
2142
+ const renderImage$2 = (image) => (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(ImgInner, { className: "mb-5", image: image }) : null, image?.icon ? (jsx(ImgInner, { className: `w-8 h-8 min-w-8 mb-5 rounded-full`, image: getIconWithVersion(image), asSVG: true })) : null] }));
2250
2143
  const renderCardTitle = (headlineSmallVersion, title) => title ? jsx("div", { className: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title }) : null;
2251
2144
  const renderDescription$3 = (description, title) => description ? jsx("div", { className: `text-l ${title ? 'mt-2' : ''}`, children: description }) : null;
2252
- const renderAdditionalDescription$1 = (additionalDescription, version) => additionalDescription ? (jsx("div", { className: `text-m-light mt-auto ${VersionAdditionalStyleMap[version ?? 'primary']}`, children: additionalDescription })) : null;
2253
- const renderItems$1 = (items, isDotted, version = 'primary') => (jsx(List, { className: `max-w-[308px] mt-2 text-s ${version === 'primary' ? '!text-secondary-text' : ''}`, itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted, version: version }));
2145
+ const renderAdditionalDescription$1 = (additionalDescription) => additionalDescription ? (jsx("div", { className: `text-m-light mt-auto group-data-primary:text-secondary-text`, children: additionalDescription })) : null;
2146
+ const renderItems = (items, isDotted) => (jsx(List, { className: "max-w-[308px] mt-2 text-s group-data-primary:text-secondary-text", itemClassName: "text-left", items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted }));
2254
2147
 
2255
- const GalleryContainer = JSX(({ headlineVersion = 'M', cards = [], version = 'normal', activeIndex, ...rest }) => (jsxs("div", { children: [jsx(Headline, { ...rest, className: "!p-0", headlineVersion: headlineVersion }), jsx("div", { className: `flex mt-8 ${cards?.length <= galleryLengthForScrollMap[version] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeIndex * cardWidthMap[version]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, version }, i)) })] })));
2256
- function renderCard({ card, version }, i) {
2148
+ const GalleryContainer = JSX(({ headlineVersion = 'M', cards = [], galleryVersion = 'normal', activeIndex, title, description, }) => (jsxs("div", { children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: headlineVersion }), jsx("div", { className: `flex mt-8 ${cards?.length <= galleryLengthForScrollMap[galleryVersion] ? 'justify-center' : ''} duration-1000`, style: { transform: `translateX(-${activeIndex * cardWidthMap[galleryVersion]}px)` }, role: "list", children: cards?.map((card, i) => renderCard({ card, galleryVersion }, i)) })] })));
2149
+ function renderCard({ card, galleryVersion }, i) {
2257
2150
  return (jsx("section", { className: `box-border border-solid border border-gray p-6 mx-2 flex flex-col justify-between
2258
- items-stretch ${cardStyleMap[version]} ${VersionStyleMap[card.version ?? 'primary']} w-full col-span-4`, role: "listitem", children: jsx(GalleryCardInner, { ...card }) }, String(i)));
2151
+ items-stretch ${cardStyleMap[galleryVersion]} ${blockStyles[card.version ?? 'primary'] // TODO Replace with direct BlockWrapper usage
2152
+ } w-full col-span-4`, role: "listitem", children: jsx(GalleryCardInner, { ...card }) }, String(i)));
2259
2153
  }
2260
2154
 
2261
- const GalleryInner = JSX(({ cards = [], className = '', version = 'normal', button, ...rest }) => {
2155
+ const GalleryInner = JSX(({ cards = [], className = '', galleryVersion = 'normal', button, ...rest }) => {
2262
2156
  const [activeIndex, controls] = useCarouselControls({
2263
2157
  itemCount: cards?.length,
2264
- visibleItemCount: galleryLengthForScrollMap[version],
2158
+ visibleItemCount: galleryLengthForScrollMap[galleryVersion],
2265
2159
  });
2266
2160
  const { isScrollAvailable } = controls;
2267
- return (jsxs(BlockWrapper, { className: `relative font-sans text-primary-text bg-white p-[42px] overflow-hidden flex flex-col ${className}`, ...rest, children: [jsx(GalleryContainer, { cards: cards, version: version, activeIndex: activeIndex, ...rest }), renderArrows({
2161
+ return (jsxs(BlockWrapper, { className: `relative p-[42px] overflow-hidden flex flex-col ${className}`, ...rest, children: [jsx(GalleryContainer, { cards: cards, galleryVersion: galleryVersion, activeIndex: activeIndex, ...rest }), renderArrows({
2268
2162
  ...controls,
2269
2163
  btnClass: ['left-8', 'right-8'],
2270
2164
  className: 'top-1/2',
2271
- }), isScrollAvailable ? (jsxs("div", { children: [jsx("div", { className: "absolute top-0 left-0 bottom-0 w-[82px] bg-opacity-from-white" }), jsx("div", { className: "absolute top-0 right-0 bottom-0 w-[82px] bg-opacity-to-white" })] })) : null, button ? renderButton({ button, buttonClassName: 'mt-8 mx-auto' }) : null] }));
2165
+ }), isScrollAvailable ? (jsxs("div", { children: [jsx("div", { className: "absolute top-0 left-0 bottom-0 w-[82px] bg-opacity-from-white" }), jsx("div", { className: "absolute top-0 right-0 bottom-0 w-[82px] bg-opacity-to-white" })] })) : null, renderButtonsSection([button], { className: 'mt-8 mx-auto' })] }));
2272
2166
  });
2273
2167
 
2274
- const Gallery = JSX((props) => jsx(GalleryInner, { ...props, version: "normal" }));
2168
+ const Gallery = JSX((props) => (jsx(GalleryInner, { ...props, galleryVersion: "normal" })));
2275
2169
 
2276
- const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (jsxs(BlockWrapper, { className: `font-sans bg-white p-12 ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0 mb-4", title: title, description: description, headlineVersion: "M", ...rest }), calendar ? renderCalendar(calendar) : null] })));
2170
+ const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (jsxs(BlockWrapper, { className: `p-12 ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0 mb-4", title: title, description: description, headlineVersion: "M" }), calendar ? renderCalendar(calendar) : null] })));
2277
2171
  const renderCalendar = (calendar) => {
2278
2172
  const colCount = calendar.reduce((accumulator, currentValue) => currentValue?.month?.length ? accumulator + currentValue.month.length : accumulator, 0) || 1;
2279
2173
  const colSize = 100 / colCount;
@@ -2307,27 +2201,17 @@
2307
2201
  checkIsHrefSameOrigin(topItem.href, router) ||
2308
2202
  Boolean(projectSettings.BASE_PATH?.startsWith(topItem.href || '/'));
2309
2203
 
2310
- const TEXT_CLASSES$2 = 'font-sans text-s-light';
2311
- const LINK_CLASSES$1 = 'inline-block border border-solid bg-transparent text-center no-underline';
2312
- const TopItem = JSX(({ className = '', active, flat, ariaLabel, bgColor = 'bg-white', children, ...rest }) => {
2204
+ const TopItem = JSX(({ className = '', active, flat, ariaLabel, children, ...rest }) => {
2313
2205
  const link = useLink();
2314
2206
  const { href, target, text, onClick } = link(rest);
2315
- return (jsx("a", { className: `${getLinkClasses(bgColor, active, flat)} ${className}`, href: href, target: target, onClick: onClick, rel: "noopener noreferrer", "aria-label": ariaLabel, children: jsx("span", { className: getTextClasses$1(bgColor, active, flat), children: text || children }) }));
2207
+ return (jsx("a", { className: `${getLinkStyle(active, flat)} ${className}`, href: href, target: target, onClick: onClick, rel: "noopener noreferrer", "aria-label": ariaLabel, children: jsx("span", { className: getTextStyle$1(active, flat), children: text || children }) }));
2316
2208
  });
2317
- const getLinkClasses = (bgColor, active = false, flat = false) => {
2318
- let classes = 'border-transparent';
2319
- if (active) {
2320
- classes = `rounded-md ${bgColor === 'bg-white' ? 'border-primary-main' : 'border-white'}`;
2321
- }
2322
- return `${classes} ${LINK_CLASSES$1} ${flat ? '' : 'px-4 py-2'}`;
2323
- };
2324
- const getTextClasses$1 = (bgColor, active = false, flat = false) => {
2325
- if (bgColor === 'transparent') {
2326
- return `text-white hover:text-primary-hover ${TEXT_CLASSES$2}`;
2327
- }
2328
- const nonActiveAtoms = `${flat ? 'text-primary-text' : 'text-secondary-text'} hover:text-primary-main`;
2329
- return `${active ? 'text-primary-main' : nonActiveAtoms} ${TEXT_CLASSES$2}`;
2330
- };
2209
+ const getLinkStyle = (active = false, flat = false) => style('inline-block border border-solid bg-transparent text-center no-underline', active
2210
+ ? 'rounded-md border-primary-main group-data-transparent:border-white'
2211
+ : 'border-transparent', flat ? '' : 'px-4 py-2');
2212
+ const getTextStyle$1 = (active = false, flat = false) => style('font-sans text-s-light', active
2213
+ ? 'text-primary-main'
2214
+ : style(flat ? 'text-primary-text' : 'text-secondary-text', 'hover:text-primary-main'), 'group-data-transparent:text-white group-data-transparent:hover:text-primary-hover');
2331
2215
 
2332
2216
  const STORAGE_DEFAULT_TTL = 86400000; // 24 * 60 * 60 * 1000
2333
2217
  function useCachedAsyncData(key, fetcher, storage = globalThis?.localStorage) {
@@ -2421,7 +2305,7 @@
2421
2305
  onChangeLocation && onChangeLocation(region);
2422
2306
  close && close();
2423
2307
  }, children: region.name || '' }) }, region.id));
2424
- const ForeignOffices = JSX(({ foreignOffices }) => foreignOffices?.length ? (jsxs("div", { className: "border-t border-main-divider mt-7 pt-7", children: [jsx("div", { className: "mb-4", children: jsx(Text, { size: "text-m-light", color: "text-secondary-text", children: "\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430 \u0437\u0430 \u0440\u0443\u0431\u0435\u0436\u043E\u043C:" }) }), jsx("div", { className: "flex gap-10", children: foreignOffices.map((office, i) => (jsx(ForeignOffice, { ...office }, String(i)))) })] })) : null);
2308
+ const ForeignOffices = JSX(({ foreignOffices }) => foreignOffices?.length ? (jsxs("div", { className: "border-t border-main-divider mt-7 pt-7", children: [jsx("div", { className: "mb-4", children: jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: "\u041F\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0435\u043B\u044C\u0441\u0442\u0432\u0430 \u0437\u0430 \u0440\u0443\u0431\u0435\u0436\u043E\u043C:" }) }), jsx("div", { className: "flex gap-10", children: foreignOffices.map((office, i) => (jsx(ForeignOffice, { ...office }, String(i)))) })] })) : null);
2425
2309
  const ForeignOffice = JSX(({ icon, ...rest }) => {
2426
2310
  const link = useLink();
2427
2311
  const { text, target, href, onClick } = link(rest);
@@ -2430,28 +2314,17 @@
2430
2314
 
2431
2315
  const HeaderSecondaryMenuButton = JSX(({ className = '', children, ariaLabel }) => (jsx("button", { type: "button", className: `border-0 p-0 w-6 h-6 flex items-center bg-inherit cursor-pointer ${className}`, disabled: true, "aria-label": ariaLabel, children: children })));
2432
2316
 
2433
- const COLORS_MAP = {
2434
- 'bg-white': 'text-primary-text hover:text-primary-main',
2435
- transparent: 'text-white',
2436
- };
2437
- const LINKS_COLORS_MAP = {
2438
- 'bg-white': 'text-secondary-light hover:text-secondary-hover',
2439
- transparent: 'text-white',
2440
- };
2441
- const LINKS_ICON_VERSION_MAP = {
2442
- 'bg-white': 'black',
2443
- transparent: 'white',
2444
- };
2445
- const HeaderSecondaryMenu = JSX(({ className, officesLink, defaultLocation = 'Москва', foreignOffices, bgColor = 'bg-white', }) => {
2317
+ const HeaderSecondaryMenu = JSX(({ version, className, officesLink, defaultLocation = 'Москва', foreignOffices }) => {
2446
2318
  const [isShowLocationModal, setShowLocationModal] = useState(false);
2447
2319
  const [location, onChangeLocation] = useLocation(defaultLocation);
2448
- const showLocationModal = () => {
2320
+ const showLocationModal = useCallback(() => {
2449
2321
  setShowLocationModal(true);
2450
- };
2451
- const hideLocationModal = () => {
2322
+ }, []);
2323
+ const hideLocationModal = useCallback(() => {
2452
2324
  setShowLocationModal(false);
2453
- };
2454
- return (jsxs("div", { className: `flex items-center ${className || ''}`, children: [jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: location.name, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: showLocationModal, bgColor: bgColor }), officesLink ? (jsx(TopItem, { className: "mr-7", flat: true, href: officesLink, 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 })) : null, 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-8 min-h-8`, 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 }) }), isShowLocationModal ? (jsx(Location, { currentLocation: location, foreignOffices: foreignOffices, onChangeLocation: onChangeLocation, close: hideLocationModal })) : null] }));
2325
+ }, []);
2326
+ const iconVersion = version === 'transparent' ? 'white' : 'black';
2327
+ return (jsxs("div", { className: `flex items-center ${className || ''}`, children: [jsx(TopItem, { className: "mr-5", flat: true, href: "#", text: location.name, ariaLabel: "\u041C\u0435\u0441\u0442\u043E\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435", onClick: showLocationModal }), officesLink ? (jsx(TopItem, { className: "mr-7", flat: true, href: officesLink, 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" })) : null, jsx(HeaderSecondaryMenuButton, { className: "mr-5 group/btn text-primary-text hover:text-primary-main group-data-transparent:text-white", ariaLabel: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", children: jsx(ImgInner, { image: { icon: 'LoupeIcon', iconVersion }, className: "h-full pointer-events-none", imageClassName: "group-hover/btn:text-primary-hover group-hover/btn:invert-0 pointer-events-none", asSVG: true }) }), jsx(HeaderSecondaryMenuButton, { className: "group/btn min-w-8 min-h-8 text-secondary-light hover:text-secondary-hover group-data-transparent:text-white", 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 }, className: "h-full bg-main-divider/20 rounded-full pointer-events-none", imageClassName: "group-hover/btn:text-primary-hover group-hover/btn:invert-0", asSVG: true }) }), isShowLocationModal ? (jsx(Location, { currentLocation: location, foreignOffices: foreignOffices, onChangeLocation: onChangeLocation, close: hideLocationModal })) : null] }));
2455
2328
  });
2456
2329
 
2457
2330
  const findActiveSubItem = (router) => (items = []) => {
@@ -2461,42 +2334,26 @@
2461
2334
  : undefined;
2462
2335
  };
2463
2336
 
2464
- const DOT_BG_COLORS_MAP = {
2465
- 'bg-white': 'bg-primary-text',
2466
- transparent: 'bg-white',
2467
- };
2468
- const DropdownMenu = JSX(({ className = '', items, activeItem, bgColor }) => {
2337
+ const DropdownMenu = JSX(({ className = '', items, activeItem }) => {
2469
2338
  const link = useLink();
2470
2339
  const [visible, setVisible] = useState(false);
2471
2340
  const handleToggle = useCallback(() => setVisible((_) => !_), []);
2472
2341
  const handleClickOutside = useCallback(() => setVisible(false), []);
2473
2342
  const ref = useOutsideClick(handleClickOutside);
2474
- return (jsxs("div", { className: `${visible ? 'bg-white rounded-md shadow-blue-gray' : ''} ${className}`, ref: ref, children: [jsx("button", { className: "flex justify-between items-center cursor-pointer h-6 ml-6", "aria-label": `${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`, onClick: handleToggle, children: Array(3).fill(bgColor).map(renderDot) }), jsx("div", { className: `flex flex-col rounded-md bg-white p-6 pb-2 ${visible ? '' : 'hidden'}`, "aria-hidden": !visible, children: items?.map((item, i) => (jsx("a", { className: `text-l-light pb-4 hover:text-primary-main ${item === activeItem ? 'text-primary-main' : ''}`, ...link(item), children: item.text }, item.href || String(i)))) })] }));
2343
+ return (jsxs("div", { className: `${visible ? 'bg-white rounded-md shadow-blue-gray' : ''} ${className}`, ref: ref, children: [jsx("button", { className: "group/btn flex justify-between items-center h-6 ml-6", "aria-label": `${visible ? 'Скрыть другие разделы' : 'Показать другие разделы'}`, onClick: handleToggle, children: Array(3)
2344
+ .fill(null)
2345
+ .map((_, i) => (jsx("div", { className: "w-[3px] h-[3px] rounded mr-1 bg-primary-text group-hover/btn:bg-primary-hover group-data-transparent:bg-white" }, String(i)))) }), jsx("div", { className: `flex flex-col rounded-md bg-white p-6 pb-2 ${visible ? '' : 'hidden'}`, "aria-hidden": !visible, children: items?.map((item, i) => (jsx("a", { className: `text-l-light pb-4 hover:text-primary-main ${item === activeItem ? 'text-primary-main' : ''}`, ...link(item), children: item.text }, item.href || String(i)))) })] }));
2475
2346
  });
2476
- const renderDot = (bgColor, i) => (jsx("div", { className: `w-[3px] h-[3px] rounded mr-1 ${DOT_BG_COLORS_MAP[bgColor]}` }, String(i)));
2477
2347
 
2478
- const TEXT_CLASSES$1 = 'font-sans text-l-light';
2479
- const BORDER_CLASSES = 'absolute left-0 -bottom-3 w-full h-0.5';
2480
- const HeaderItem = JSX(({ className = '', active, bgColor = 'bg-white', dataItemName, children, ...rest }) => {
2348
+ const HeaderItem = JSX(({ className = '', active, dataItemName, children, ...rest }) => {
2481
2349
  const link = useLink();
2482
2350
  const { href, target, text, onClick } = link(rest);
2483
- return (jsxs("a", { className: `relative inline-block bg-transparent text-center no-underline ${className}`, href: href, target: target, "data-item-name": dataItemName, onClick: onClick, children: [jsx("span", { className: getTextClasses(bgColor, active), children: text || children }), active ? jsx("div", { className: getBorderClasses(bgColor, active) }) : null] }));
2351
+ return (jsxs("a", { className: `relative inline-block bg-transparent text-center no-underline ${className}`, href: href, target: target, "data-item-name": dataItemName, onClick: onClick, children: [jsx("span", { className: getTextStyle(active), children: text || children }), active ? jsx("div", { className: getBorderStyle(active) }) : null] }));
2484
2352
  });
2485
- const getTextClasses = (bgColor, active = false) => {
2486
- let classes = 'text-white';
2487
- if (bgColor === 'bg-white') {
2488
- classes = active ? 'text-primary-main' : 'text-primary-text hover:text-primary-main';
2489
- }
2490
- return `${classes} ${TEXT_CLASSES$1}`;
2491
- };
2492
- const getBorderClasses = (bgColor, active = false) => {
2493
- if (!active) {
2494
- return BORDER_CLASSES;
2495
- }
2496
- return `${bgColor === 'bg-white' ? 'bg-primary-main' : bgColor} ${BORDER_CLASSES}`;
2497
- };
2353
+ const getTextStyle = (active = false) => style('font-sans text-l-light', active ? 'text-primary-main' : 'text-primary-text hover:text-primary-main', 'group-data-transparent:text-white group-data-transparent:hover:text-primary-hover');
2354
+ const getBorderStyle = (active = false) => style('absolute left-0 -bottom-3 w-full h-0.5', active ? 'bg-primary-main group-data-transparent:bg-transparent' : '');
2498
2355
 
2499
- const HeaderSubMenuItem = JSX(({ className, active, bgColor, observerOptions, onVisibilityChange, children, ...linkProps }) => {
2356
+ const HeaderSubMenuItem = JSX(({ className, active, observerOptions, onVisibilityChange, children, ...linkProps }) => {
2500
2357
  const observerCallback = useCallback((entries) => {
2501
2358
  if (!entries.length || !onVisibilityChange) {
2502
2359
  return;
@@ -2506,10 +2363,10 @@
2506
2363
  onVisibilityChange(entry.isIntersecting);
2507
2364
  }, [onVisibilityChange]);
2508
2365
  const ref = useIntersectionObserver(observerCallback, observerOptions);
2509
- return (jsx("span", { ref: ref, children: jsx(HeaderItem, { className: className, active: active, bgColor: bgColor, ...linkProps, children: children }) }));
2366
+ return (jsx("span", { ref: ref, children: jsx(HeaderItem, { className: className, active: active, ...linkProps, children: children }) }));
2510
2367
  });
2511
2368
 
2512
- const HeaderSubMenu = JSX(({ subItems = [], bgColor }) => {
2369
+ const HeaderSubMenu = JSX(({ subItems = [] }) => {
2513
2370
  const router = useRouter();
2514
2371
  const activeSubItem = findActiveSubItem(router)(subItems);
2515
2372
  const [visibleItemsCount, setVisibleItemsCount] = useState(subItems.length);
@@ -2521,35 +2378,34 @@
2521
2378
  ? handleIntersectionActivation(index)
2522
2379
  : handleIntersectionDeactivation(index));
2523
2380
  }), [subItems]);
2524
- return (jsxs("nav", { className: "relative mt-6", children: [jsx("div", { ref: subItemsListRef, className: "overflow-hidden whitespace-nowrap mr-52 pb-3", children: subItems.map((_, i) => (jsx(HeaderSubMenuItem, { className: `mr-8 ${visibleItemsCount - 1 < i ? 'invisible' : ''}`, active: _ === activeSubItem, bgColor: bgColor, observerOptions: observerOptions, onVisibilityChange: subItemsVisibilityHandlers[i], ..._ }, String(i)))) }), dropDownMenuItems.length ? (jsx(DropdownMenu, { className: "absolute w-52 -top-4 right-0 pt-4 z-40", items: dropDownMenuItems, activeItem: activeSubItem, bgColor: bgColor })) : null] }));
2381
+ return (jsxs("nav", { className: "relative mt-6", children: [jsx("div", { ref: subItemsListRef, className: "overflow-hidden whitespace-nowrap mr-52 pb-3", children: subItems.map((_, i) => (jsx(HeaderSubMenuItem, { className: `mr-8 ${visibleItemsCount - 1 < i ? 'invisible' : ''}`, active: _ === activeSubItem, observerOptions: observerOptions, onVisibilityChange: subItemsVisibilityHandlers[i], ..._ }, String(i)))) }), dropDownMenuItems.length ? (jsx(DropdownMenu, { className: "absolute w-52 -top-4 right-0 pt-4 z-40", items: dropDownMenuItems, activeItem: activeSubItem })) : null] }));
2525
2382
  });
2526
2383
  const handleIntersectionActivation = (index) => (prev) => Math.max(prev, index + 1);
2527
2384
  const handleIntersectionDeactivation = (index) => (prev) => Math.min(prev, index);
2528
2385
 
2529
- const BORDER_COLORS = {
2530
- 'bg-white': 'bg-main-divider',
2531
- transparent: 'bg-main-divider opacity-30',
2386
+ const BG_COLOR_TO_BLOCK_VERSION = {
2387
+ 'bg-white': 'primary',
2388
+ transparent: 'transparent',
2532
2389
  };
2533
- const Header = JSX(({ bgColor = 'bg-white', className = '', showSubMenu = true, ...rest }) => {
2390
+ const Header = JSX(({ bgColor = 'bg-white', className = '', showSubMenu = true, version = BG_COLOR_TO_BLOCK_VERSION[bgColor], ...rest }) => {
2534
2391
  const router = useRouter();
2535
2392
  const { topItems, logo, defaultLocation, foreignOffices, officesLink } = useSWRResource(projectSettings.SITEMAP || 'sitemap', rest.options?.page?.fallback);
2536
2393
  const activeTopItem = topItems?.find(isTopItemActive(router));
2537
- const topMenu = topItems?.map((_, i) => (jsx(TopItem, { active: _ === activeTopItem, "aria-label": _.text, bgColor: bgColor, ..._ }, String(i))));
2538
- return (jsx(BlockWrapper, { tag: "header", className: `pt-6 px-20 ${bgColor} ${className} ${showSubMenu && activeTopItem?.items?.length ? 'pb-4' : 'pb-5'}`, ...rest, children: jsxs("div", { className: "container", children: [jsxs("div", { className: "flex items-center", children: [jsx(Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topMenu, jsx(HeaderSecondaryMenu, { className: "ml-auto", foreignOffices: foreignOffices, defaultLocation: defaultLocation, officesLink: officesLink, bgColor: bgColor })] }), jsx("div", { className: `mt-6 h-px ${BORDER_COLORS[bgColor]}` }), showSubMenu && activeTopItem?.items?.length ? (jsx(HeaderSubMenu, { subItems: activeTopItem.items, bgColor: bgColor })) : null] }) }));
2394
+ const topMenu = topItems?.map((_, i) => (jsx(TopItem, { active: _ === activeTopItem, "aria-label": _.text, ..._ }, String(i))));
2395
+ return (jsx(BlockWrapper, { tag: "header", className: `pt-6 px-20 ${className} ${showSubMenu && activeTopItem?.items?.length ? 'pb-4' : 'pb-5'}`, version: version, ...rest, children: jsxs("div", { className: "container", children: [jsxs("div", { className: "flex items-center", children: [jsx(Logo, { className: "mr-8", bgColor: bgColor, logo: logo }), topMenu, jsx(HeaderSecondaryMenu, { version: version, className: "ml-auto", foreignOffices: foreignOffices, defaultLocation: defaultLocation, officesLink: officesLink })] }), jsx("div", { className: `mt-6 h-px bg-main-divider${version === 'transparent' ? ' opacity-30' : ''}` }), showSubMenu && activeTopItem?.items?.length ? (jsx(HeaderSubMenu, { subItems: activeTopItem.items })) : null] }) }));
2539
2396
  });
2540
2397
 
2541
- const HorizontalLayout = JSX(({ className = '', gap = 'XS', isPadding = false, version = 'transparent', options, ...rest }) => {
2542
- const paddingStyle = isPadding ? 'p-12' : '';
2543
- return (jsx(BlockWrapper, { className: [
2544
- 'grid grid-cols-12',
2545
- paddingStyle,
2546
- GapStyleMap[gap],
2547
- LayoutBackgroundStyleMap[version],
2548
- className,
2549
- ]
2550
- .filter(Boolean)
2551
- .join(' '), ...rest, children: renderChildren({ ...rest, options: options }) }));
2552
- });
2398
+ const gapStyles = {
2399
+ XXL: 'gap-12',
2400
+ XL: 'gap-10',
2401
+ L: 'gap-8',
2402
+ M: 'gap-4',
2403
+ S: 'gap-2',
2404
+ XS: 'gap-1',
2405
+ '': '',
2406
+ };
2407
+
2408
+ const HorizontalLayout = JSX(({ className = '', gap = 'XS', isPadding = false, version = 'transparent', ...rest }) => (jsx(BlockWrapper, { className: style('grid grid-cols-12', isPadding ? 'p-12' : '', gapStyles[gap], className), version: version, ...rest, children: renderChildren(rest) })));
2553
2409
  HorizontalLayout.childrenTypes = {
2554
2410
  exclude: ['HorizontalLayout'],
2555
2411
  };
@@ -2609,7 +2465,7 @@
2609
2465
  const InsuranceAmountBlock = JSX(({ className = '', title, insuranceTabs = [], button, ...rest }) => {
2610
2466
  const [activeSlideIndex, setActiveSlideIndex] = useState(0);
2611
2467
  const handleActiveSlideIndex = useCallback((_) => setActiveSlideIndex(_), []);
2612
- return (jsxs(BlockWrapper, { className: `box-border py-12 overflow-hidden relative font-sans w-100 bg-white ${className}`, ...rest, children: [title ? jsx(Heading, { className: "text-center mb-8", title: title, headingType: "h3" }) : null, insuranceTabs?.length > 1 ? (jsx("div", { className: "p-1.5 bg-secondary-light w-fit mx-auto mb-7 rounded-md", children: insuranceTabs.map((item, i) => renderNavButton$1({
2468
+ return (jsxs(BlockWrapper, { className: `box-border py-12 overflow-hidden relative w-100 ${className}`, ...rest, children: [title ? jsx(Heading, { className: "text-center mb-8", title: title, headingType: "h3" }) : null, insuranceTabs?.length > 1 ? (jsx("div", { className: "p-1.5 bg-secondary-light w-fit mx-auto mb-7 rounded-md", children: insuranceTabs.map((item, i) => renderNavButton$1({
2613
2469
  title: item?.title,
2614
2470
  i,
2615
2471
  isActive: Boolean(i === activeSlideIndex),
@@ -2653,7 +2509,7 @@
2653
2509
  if (investmentZeroColumn) {
2654
2510
  colums.unshift(investmentZeroColumn);
2655
2511
  }
2656
- return (jsx(BlockWrapper, { className: `font-sans bg-white px-9 py-12 ${className}`, ...rest, children: jsxs("div", { className: "container text-m-light", children: [colums?.length ? (jsxs("div", { children: [jsxs("div", { className: "flex items-end relative pl-9 pr-5 text-white", children: [joinList(jsx("div", { className: "w-px h-4 bg-gray" }))(colums.map(renderInvestmentColumn)), jsx("div", { className: "absolute right-[30px] w-px h-4 bg-gray" })] }), jsx("div", { className: "border-t border-gray -mt-2 ml-9 mr-8" }), jsx("div", { className: "flex justify-between text-primary-text mt-3 -mx-10", children: colums.map(renderInvestmentColumnTitle) })] })) : null, items?.length ? (jsx(List, { className: "mt-9 text-l-light max-w-[657px]", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] }) }));
2512
+ return (jsx(BlockWrapper, { className: `px-9 py-12 ${className}`, ...rest, children: jsxs("div", { className: "container text-m-light", children: [colums?.length ? (jsxs("div", { children: [jsxs("div", { className: "flex items-end relative pl-9 pr-5 text-white", children: [joinList(jsx("div", { className: "w-px h-4 bg-gray" }))(colums.map(renderInvestmentColumn)), jsx("div", { className: "absolute right-[30px] w-px h-4 bg-gray" })] }), jsx("div", { className: "border-t border-gray -mt-2 ml-9 mr-8" }), jsx("div", { className: "flex justify-between text-primary-text mt-3 -mx-10", children: colums.map(renderInvestmentColumnTitle) })] })) : null, items?.length ? (jsx(List, { className: "mt-9 text-l-light max-w-[657px]", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] }) }));
2657
2513
  });
2658
2514
  const renderInvestmentColumn = (column, i, arr) => {
2659
2515
  const isSecondColumn = i === 1;
@@ -2694,23 +2550,23 @@
2694
2550
  return index !== -1 ? href.substring(index + 1) : '';
2695
2551
  };
2696
2552
 
2697
- const LinkDocsListItem = JSX(({ className = '', doc, icon }) => (jsx(LinkDocsListItemBase, { className: `flex h-full box-border ${className}`, iconClassName: "mr-2.5 min-w-6 min-h-6", textClassName: "self-center text-l-light", suffixClassName: "text-secondary-text group-hover:text-primary-main", doc: doc, icon: icon })));
2553
+ const LinkDocsListItem = JSX(({ className = '', doc, icon }) => (jsx(LinkDocsListItemBase, { className: `flex h-full box-border ${className}`, iconClassName: "mr-2.5 min-w-6 min-h-6", textClassName: "self-center text-l-light", suffixClassName: "text-secondary-text group-hover/item:text-primary-main", doc: doc, icon: icon })));
2698
2554
 
2699
2555
  const LinkDocsList = JSX(({ className, documents, columnsMode = 'double', icon }) => {
2700
- return documents?.length ? (jsx("div", { className: className, role: "list", children: documents.map((doc, i) => (jsx("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: jsx(LinkDocsListItem, { className: "group flex align-middle h-fit w-fit text-primary-text no-underline hover:text-primary-main", doc: doc, icon: icon }) }, String(i)))) })) : null;
2556
+ return documents?.length ? (jsx("div", { className: className, role: "list", children: documents.map((doc, i) => (jsx("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: jsx(LinkDocsListItem, { className: "group/item flex align-middle h-fit w-fit text-primary-text no-underline hover:text-primary-main", doc: doc, icon: icon }) }, String(i)))) })) : null;
2701
2557
  });
2702
2558
 
2703
2559
  const linkColumnsModeStyleMap = {
2704
2560
  double: 'flex gap-x-5 gap-y-[26px] flex-wrap',
2705
2561
  single: 'flex gap-3.5 flex-col',
2706
2562
  };
2707
- const LinkDocs = JSX(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => (jsxs(BlockWrapper, { className: `font-sans text-primary-text p-12 bg-white ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, align: align, headlineVersion: "M", as: "h2", ...rest }), jsx(LinkDocsList, { className: `mt-8 ${linkColumnsModeStyleMap[columnsMode]}`, columnsMode: columnsMode, documents: documents, icon: icon })] })));
2563
+ const LinkDocs = JSX(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => (jsxs(BlockWrapper, { className: style('p-12', className), ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, align: align, headlineVersion: "M", as: "h2" }), jsx(LinkDocsList, { className: `mt-8 ${linkColumnsModeStyleMap[columnsMode]}`, columnsMode: columnsMode, documents: documents, icon: icon })] })));
2708
2564
 
2709
- const MiniGallery = JSX((props) => (jsx(GalleryInner, { ...props, version: "mini" })));
2565
+ const MiniGallery = JSX((props) => (jsx(GalleryInner, { ...props, galleryVersion: "mini" })));
2710
2566
 
2711
2567
  const getColSpan = (className) => {
2712
2568
  const colSpanPrefix = 'col-span-';
2713
- const colSpanStr = className.split(/\s+/).find((_) => _.startsWith(colSpanPrefix));
2569
+ const colSpanStr = className?.split(/\s+/).find((_) => _.startsWith(colSpanPrefix));
2714
2570
  return colSpanStr ? parseInt(colSpanStr.substring(colSpanPrefix.length), 10) : 12;
2715
2571
  };
2716
2572
 
@@ -2728,17 +2584,14 @@
2728
2584
  }
2729
2585
 
2730
2586
  const MobileAppTile = JSX(({ className = '', title = 'Мобильное приложение', qr, buttons, version = 'primary', items, image, headingType = 'h4', alignTitle = 'left', description, ...rest }) => {
2731
- const textColorClass = version === 'primary' ? 'text-primary-text' : '';
2732
2587
  const containerStyle = version === 'secondary' ? 'p-3.5 min-w-[120px]' : 'min-w-[92px]';
2733
- const buttonsWithClass = buttons?.map((_) => ({ ..._, className: 'min-w-[168px]' }));
2734
- return (jsxs(BlockWrapper, { className: `flex justify-between font-sans p-12 box-border relative min-h-80
2735
- ${getTileMinHeight(className)}
2736
- ${VersionStyleMap[version]}
2737
- ${className}`, ...rest, children: [jsxs(BaseTile, { className: "z-10", title: title ? (jsx(Heading, { headingType: headingType, as: "h3", title: title, className: `whitespace-pre-wrap mb-7 w-full
2738
- ${textColorClass} ${AlignText[alignTitle]}` })) : null, buttons: buttons?.length ? (jsx(ButtonSection, { buttons: buttonsWithClass, className: "flex gap-4 mt-8", ...rest })) : null, children: [renderDescription$2(description), jsxs("div", { className: "flex flex-1 items-center mb-3", children: [qr?.src ? (jsx("div", { className: `flex justify-center mr-5 bg-white rounded-md ${containerStyle}`, children: jsx(ImgInner, { className: "w-fit", image: qr }) })) : null, renderList$1(version, items)] })] }), image?.src ? (jsx("div", { className: "absolute right-0 bottom-0", children: jsx(ImgInner, { image: image }) })) : null] }));
2588
+ return (jsxs(BlockWrapper, { className: `flex justify-between p-12 box-border relative min-h-80 ${getTileMinHeight(className)} ${className}`, version: version, ...rest, children: [jsxs(BaseTile, { className: "z-10", title: title ? (jsx(Heading, { headingType: headingType, as: "h3", title: title, className: `whitespace-pre-wrap mb-7 w-full ${AlignText[alignTitle]}` })) : null, buttons: renderButtonsSection(buttons, {
2589
+ className: 'mt-8',
2590
+ buttonClassName: 'min-w-[168px]',
2591
+ }), children: [renderDescription$2(description), jsxs("div", { className: "flex flex-1 items-center mb-3", children: [qr?.src ? (jsx("div", { className: `flex justify-center mr-5 bg-white rounded-md ${containerStyle}`, children: jsx(ImgInner, { className: "w-fit", image: qr }) })) : null, renderList(items)] })] }), image?.src ? (jsx("div", { className: "absolute right-0 bottom-0", children: jsx(ImgInner, { image: image }) })) : null] }));
2739
2592
  });
2740
- const renderList$1 = (version, items) => {
2741
- 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" }));
2593
+ const renderList = (items) => {
2594
+ return items?.length ? (jsx(List, { items: items, itemClassName: "text-l-light mb-2 last:mb-0" })) : (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" }));
2742
2595
  };
2743
2596
  const renderDescription$2 = (description) => description ? jsx("p", { className: "text-xl-light mb-5 pt-0.5", children: description }) : null;
2744
2597
 
@@ -3144,7 +2997,7 @@
3144
2997
  return (jsxs("div", { className: `flex flex-col font-sans bg-white w-full ${className}`, children: [jsxs("div", { className: "flex flex-col px-12 pt-12", children: [jsxs("div", { className: "flex justify-between", children: [jsx("div", { className: "text-h2", children: name }), renderCurrentDaySchedule(currentWeekDay)] }), jsxs("div", { className: "flex text-l-light pt-4", children: [jsx(Icon, { name: "GeolocationIcon", width: "24", height: "24", asSVG: true, className: "pr-1" }), address] }), jsx("div", { className: "flex pt-4", children: nearbyOffices.map(renderNearbyOffice) })] }), jsxs("div", { className: "flex justify-between pt-8", children: [jsx("div", { className: "flex-grow h-full w-full overflow-hidden", children: point ? jsx(YandexMap, { points: [point], className: "h-full" }) : null }), jsx("div", { className: "w-[434px] min-w-[434px] pl-9 pr-12 pb-14 flex flex-col", children: workScheduleWeek.map(renderDay) })] })] }));
3145
2998
  });
3146
2999
 
3147
- const OfficeServicesBlock = JSX(({ className = '', title, servicesList, ...rest }) => (jsxs(BlockWrapper, { 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 ? (jsx("ul", { className: "list-none m-0 p-0", children: servicesList.map(renderListItems) })) : null] })));
3000
+ const OfficeServicesBlock = JSX(({ className = '', title, servicesList, ...rest }) => (jsxs(BlockWrapper, { className: `p-8 flex flex-col ${className}`, ...rest, children: [title ? jsx(Heading, { headingType: "h5", className: "mb-5", title: title }) : null, servicesList?.length ? (jsx("ul", { className: "list-none m-0 p-0", children: servicesList.map(renderListItems) })) : null] })));
3148
3001
  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: getIconWithVersion(itemList.icon) })) : null, itemList.label ? jsx("span", { className: "text-l-light", children: itemList.label }) : null] }, `list_item_${String(i)}`));
3149
3002
 
3150
3003
  const OtherProducts = JSX(({ className = '', ...rest }) => (jsx(BlockWrapper, { className: `font-sans text-primary-text ${className}`, ...rest, children: renderChildren(rest) })));
@@ -3185,24 +3038,13 @@
3185
3038
  });
3186
3039
  OtherProductsItem.childrenTypes = []; // All types of blocks are suitable
3187
3040
 
3188
- const ParagraphBlock = JSX((props) => {
3189
- const { className, text, size, color, align, font, ...rest } = props;
3190
- return (jsx(BlockWrapper, { className: className, ...rest, children: jsx(Paragraph, { size: size, color: color, align: align, font: font, children: text }) }));
3191
- });
3041
+ const ParagraphBlock = JSX(({ text, size, align, font, children, ...rest }) => (jsx(BlockWrapper, { ...rest, children: jsx(Paragraph, { size: size, align: align, font: font, children: text || children }) })));
3192
3042
 
3193
- const titleStyleMap = {
3194
- primary: 'text-primary-text',
3195
- secondary: 'text-white',
3196
- };
3197
- const descStyleMap = {
3198
- primary: 'text-secondary-text',
3199
- secondary: 'text-white',
3200
- };
3201
3043
  const BenefitItem = JSX((props) => {
3202
3044
  const { className = '', icon, label, description, version = 'primary', benefitsVersion = 'normal', } = props;
3203
3045
  const listItemAlign = description ? 'items-start' : 'items-center';
3204
3046
  const calcVersion = benefitsVersion === 'white' ? 'secondary' : 'primary';
3205
- return (jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (jsx("div", { className: getBenefitIconBgStyle(version, benefitsVersion), children: jsx(ImgInner, { className: "w-6 h-6", image: getIconWithVersion(icon, calcVersion), 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] })] }));
3047
+ return (jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (jsx("div", { className: getBenefitIconBgStyle(version, benefitsVersion), children: jsx(ImgInner, { className: "w-6 h-6", image: getIconWithVersion(icon, calcVersion), asSVG: true }) })) : null, jsxs("div", { className: "gap-0.5", children: [label ? (jsx("div", { className: "text-h6 text-primary-text group-data-secondary:text-white", children: label })) : null, description ? (jsx("div", { className: "text-m-light text-secondary-text group-data-secondary:text-white", children: description })) : null] })] }));
3206
3048
  });
3207
3049
  function getBenefitIconBgStyle(version, benefitsVersion) {
3208
3050
  let bgColorStyle = 'bg-primary-main text-black';
@@ -3215,7 +3057,7 @@
3215
3057
  return `w-12 h-12 min-w-12 rounded-full p-2.5 box-border flex items-center justify-center ${bgColorStyle}`;
3216
3058
  }
3217
3059
 
3218
- const PictureText = JSX(({ className = '', title, description, image, benefits, version = 'primary', sum, monthLimit, directionRight = false, ...rest }) => (jsxs(BlockWrapper, { className: `relative font-sans py-12 px-24 ${VersionStyleMap[version]} ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M", bgColorHeadline: version, ...rest }), 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(Number(sum), Number(monthLimit))] })] })] })));
3060
+ const PictureText = JSX(({ className = '', title, description, image, benefits, sum, monthLimit, directionRight = false, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: `relative py-12 px-24 ${className}`, version: version, ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M" }), 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(Number(sum), Number(monthLimit))] })] })] })));
3219
3061
  const renderBenefit$2 = (version) => (benefit, i) => (jsx(BenefitItem, { icon: benefit.icon, label: benefit.label, description: benefit.description, version: version }, String(i)));
3220
3062
  function renderInsuranceSumMonth(sum, monthLimit) {
3221
3063
  return sum || monthLimit ? (jsxs("div", { className: "bg-main-divider rounded-md flex mt-7 gap-6 px-5 py-4", children: [Number(sum) > 0 ? renderValueBlock('Страховая сумма:', sum, Boolean(monthLimit)) : null, Number(monthLimit) > 0
@@ -3255,7 +3097,7 @@
3255
3097
 
3256
3098
  const GOLDEN_RATIO = 1.618;
3257
3099
  const Placeholder = JSX(({ className, title, description = 'Блок в разработке...', ...rest }) => {
3258
- return (jsxs(BlockWrapper, { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: [jsx(Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: getTileHeadingType(className), ...rest }), jsx("figure", { className: "m-0 min-w-[80%]", children: renderShimmer() })] }));
3100
+ return (jsxs(BlockWrapper, { className: style('p-9 box-border', className, getTileRightPadding(className), getTileMinHeight(className)), ...rest, children: [jsx(Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: getTileHeadingType(className) }), jsx("figure", { className: "m-0 min-w-[80%]", children: renderShimmer() })] }));
3259
3101
  });
3260
3102
  const renderShimmer = (size = 3) => goldenSequence(100, size)
3261
3103
  .map((_) => Math.floor(_))
@@ -3271,10 +3113,10 @@
3271
3113
 
3272
3114
  const renderBenefit$1 = (version = 'primary', benefitsVersion = 'normal') => ({ icon, label, description }, i) => (jsx(BenefitItem, { icon: icon, label: label, description: description, version: version, benefitsVersion: benefitsVersion }, String(i)));
3273
3115
 
3274
- const ProductBlockInner = JSX(({ className = '', title, headlineVersion = 'L', description, benefitsCountOfRow = 3, benefits, benefitsVersion, buttons, footnote, image, items, version = 'primary', isDotted = true, textBlockClassName = '', ...rest }) => {
3116
+ const ProductBlockInner = JSX(({ className = '', title, headlineVersion = 'L', description, benefitsCountOfRow = 3, benefits, benefitsVersion, buttons, footnote, image, items, version = 'primary', isDotted = true, textBlockClassName = '', }) => {
3275
3117
  const benefitsCount = benefits?.filter((_) => _.label)?.length;
3276
3118
  const benefitsContainerStyles = getBenefitsContainerStyles(benefitsCountOfRow);
3277
- return (jsxs("div", { className: `flex grow justify-between items-stretch h-full ${className}`, children: [jsxs("div", { className: `flex flex-col ${textBlockClassName}`, children: [jsx(Headline, { title: title, description: description, className: `!p-0 max-w-[600px]`, bgColorHeadline: version, headlineVersion: headlineVersion, align: "text-left", ...rest }), jsxs("div", { className: "flex flex-col justify-between h-full", children: [jsxs(BaseTile, { buttons: buttons?.length ? (jsx(ButtonSection, { buttons: buttons, className: "flex gap-4", ...rest })) : null, children: [benefitsCount ? (jsx("div", { className: benefitsContainerStyles, 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] }), footnote ? jsx("p", { className: "text-m-light pt-12", children: footnote }) : null] })] }), image?.src && jsx(ImgInner, { className: "mt-[-50px]", image: image })] }));
3119
+ return (jsxs("div", { className: style('flex grow justify-between items-stretch h-full', className), children: [jsxs("div", { className: style('flex flex-col', textBlockClassName), children: [jsx(Headline, { className: "!p-0 max-w-[600px]", title: title, description: description, headlineVersion: headlineVersion, align: "text-left" }), jsxs("div", { className: "flex flex-col justify-between h-full", children: [jsxs(BaseTile, { buttons: renderButtonsSection(buttons), children: [benefitsCount ? (jsx("div", { className: benefitsContainerStyles, children: benefits.map(renderBenefit$1(version, benefitsVersion)) })) : null, items?.length ? (jsx(List, { className: "mt-5 text-h6", items: items, itemClassName: "mb-[7px]", isDotted: isDotted })) : null] }), footnote ? jsx("p", { className: "text-m-light pt-12", children: footnote }) : null] })] }), image?.src && jsx(ImgInner, { className: "mt-[-50px]", image: image })] }));
3278
3120
  });
3279
3121
  const getBenefitsContainerStyles = (benefitsCountOfRow = 2) => `gap-6 mt-6 ${benefitsCountOfRow > 2
3280
3122
  ? 'inline-grid grid-cols-[auto_auto_auto]'
@@ -3288,68 +3130,50 @@
3288
3130
  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: backwardIcon.iconVersion || iconVersion }, asSVG: true }) }), text ? jsx("span", { className: "text-m", children: text }) : null] }));
3289
3131
  }
3290
3132
 
3291
- const breadcrumbsStyleMap = {
3292
- primary: 'text-secondary-text',
3293
- secondary: 'text-white/80',
3294
- };
3133
+ const breadcrumbStyle = 'text-secondary-text group-data-secondary:text-white/80';
3295
3134
  const ProductBlock = JSX((props) => {
3296
3135
  const { className = '', breadcrumbs, backwardButton, version = 'primary', ...rest } = props;
3297
3136
  const buttonVersion = version === 'primary' ? version : 'white';
3298
- return (jsxs(BlockWrapper, { className: `font-sans overflow-hidden p-12 flex flex-col box-border min-h-[454px] ${VersionStyleMap[version]} ${className}`, ...rest, children: [backwardButton?.text
3137
+ return (jsxs(BlockWrapper, { className: `overflow-hidden p-12 flex flex-col box-border min-h-[454px] ${className}`, version: version, ...rest, children: [backwardButton?.text
3299
3138
  ? renderBackwardButton(backwardButton, buttonVersion, 'mb-10 -mt-2.5')
3300
- : null, breadcrumbs?.length ? (jsx("div", { className: "text-xs-light mb-6", children: joinList(jsx("span", { className: `mx-2 ${breadcrumbsStyleMap[version]}`, children: "/" }))(breadcrumbs.map((breadcrumb, i) => (jsx(Breadcrumb, { className: breadcrumbsStyleMap[version], ...breadcrumb }, String(i))))) })) : null, jsx(ProductBlockInner, { version: version, ...rest })] }));
3139
+ : null, breadcrumbs?.length ? (jsx("div", { className: "text-xs-light mb-6", children: joinList(jsx("span", { className: `mx-2 ${breadcrumbStyle}`, children: "/" }))(breadcrumbs.map((breadcrumb, i) => (jsx(Breadcrumb, { className: breadcrumbStyle, ...breadcrumb }, String(i))))) })) : null, jsx(ProductBlockInner, { version: version, ...rest })] }));
3301
3140
  });
3302
3141
 
3303
- const productBlockStyleMap = {
3304
- primary: { title: 'text-secondary-text', text: 'text-secondary-text' },
3305
- secondary: { title: 'text-white', text: 'text-white/80' },
3306
- };
3307
3142
  const ProductGallery = JSX(({ className = '', slides = [], version = 'primary', ...rest }) => {
3308
3143
  const galleryNav = slides.map((s) => s.nav);
3309
3144
  const galleryBlocks = slides.map((s) => s.productBlock);
3310
3145
  const [activeSlideIndex, setActiveSlideIndex] = useState(0);
3311
3146
  const handleActiveSlideIndex = useCallback((_) => setActiveSlideIndex(_), []);
3312
- return (jsxs(BlockWrapper, { className: `box-border pt-12 overflow-hidden relative font-sans w-100 mb-6 ${className}
3313
- ${VersionStyleMap[version]}`, ...rest, children: [jsx("div", { className: "flex duration-1000 pb-14", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((_, i) => renderProductBlock({ ..._, ...rest, version }, i)) }), jsx("div", { className: "flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border h-28", children: galleryNav.map((slide, i) => renderNavButton({
3147
+ return (jsxs(BlockWrapper, { className: `box-border pt-12 overflow-hidden relative w-100 mb-6 ${className}`, version: version, ...rest, children: [jsx("div", { className: "flex duration-1000 pb-14", style: { transform: `translateX(-${activeSlideIndex}00%)` }, role: "list", children: galleryBlocks.map((_, i) => renderProductBlock({ ..._, ...rest, version }, i)) }), jsx("div", { className: "flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border h-28", children: galleryNav.map((slide, i) => renderNavButton({
3314
3148
  slide,
3315
3149
  i,
3316
3150
  isActive: Boolean(i === activeSlideIndex),
3317
3151
  onClick: () => handleActiveSlideIndex(i),
3318
- version,
3319
3152
  })) })] }));
3320
3153
  });
3321
3154
  function renderProductBlock(block, i) {
3322
- const { version } = block;
3323
- const additionalClass = version ? productBlockStyleMap[version].title : '';
3324
- return (jsx("section", { className: "box-border relative flex grow-0 shrink-0 basis-full", role: "listitem", children: jsx("div", { className: "flex grow", children: jsx(ProductBlockInner, { className: `pl-12 z-10 ${additionalClass}`, textBlockClassName: "mb-[154px]", headlineVersion: "XXL", ...block }) }) }, String(i)));
3155
+ return (jsx("section", { className: "box-border relative flex grow-0 shrink-0 basis-full", role: "listitem", children: jsx("div", { className: "flex grow", children: jsx(ProductBlockInner, { className: "pl-12 z-10 text-secondary-text group-data-secondary:text-white", textBlockClassName: "mb-[154px]", headlineVersion: "XXL", ...block }) }) }, String(i)));
3325
3156
  }
3326
- function renderNavButton({ slide, i, isActive, onClick, version }) {
3157
+ function renderNavButton({ slide, i, isActive, onClick }) {
3327
3158
  const btnClassName = isActive
3328
3159
  ? 'bg-white shadow-dark-blue min-w-[350px] border-none p-6'
3329
- : `min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur
3330
- ${VersionStyleMap[version]}`;
3160
+ : 'min-w-[290px] hover:py-[26px] hover:py-[26px] ease-in duration-300 bg-white/10 px-6 py-5 backdrop-blur';
3331
3161
  const btnTitleClassName = isActive
3332
3162
  ? 'text-primary-text !text-h6 p-2'
3333
- : `text-l pb-1 ${productBlockStyleMap[version].title}`;
3163
+ : 'text-l pb-1 text-secondary-text group-data-secondary:text-white';
3334
3164
  const btnDescClassName = isActive
3335
3165
  ? 'text-secondary-text text-l-light'
3336
- : `text-m-light ${productBlockStyleMap[version].text}`;
3337
- 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
3338
- ${btnClassName} ${BorderVersionStyleMap[version]}
3339
- `, children: jsxs("div", { className: "border-0 px-6", children: [jsx("div", { className: `last:pb-0 ${btnTitleClassName}`, children: slide?.title }), jsx("div", { className: `text-secondary-text ${btnDescClassName}`, children: slide?.description })] }) }, String(i)));
3166
+ : 'text-m-light text-secondary-text group-data-secondary:text-white/80';
3167
+ return (jsx("button", { type: "button", onClick: onClick, "aria-label": slide?.title, className: `relative box-border overflow-hidden cursor-pointer text-left mx-1 grow basis-0 border border-gray group-data-secondary:border-white/50 ${btnClassName}`, children: jsxs("div", { className: "border-0 px-6", children: [jsx("div", { className: `last:pb-0 ${btnTitleClassName}`, children: slide?.title }), jsx("div", { className: `text-secondary-text ${btnDescClassName}`, children: slide?.description })] }) }, String(i)));
3340
3168
  }
3341
3169
 
3342
- const DESCRIPTION_STYLE_MAP = {
3343
- primary: 'text-secondary-text',
3344
- secondary: 'text-white',
3345
- };
3346
- function renderAdditionalDescription(additionalDescription, image, version = 'primary') {
3170
+ function renderAdditionalDescription(additionalDescription, image) {
3347
3171
  if (!additionalDescription) {
3348
3172
  return null;
3349
3173
  }
3350
3174
  // picture width = 242px. Text can overlay picture 20px deep. Outer paddings_x = 36px. 242-36-20 = 186px
3351
3175
  const descriptionWidth = image?.src ? 'max-w-[calc(100%-186px)]' : '100%';
3352
- return (jsx("div", { className: `mt-2.5 z-10 ${descriptionWidth}`, children: jsx(Paragraph, { size: "text-m", font: "font-light", color: DESCRIPTION_STYLE_MAP[version], children: additionalDescription }) }));
3176
+ return (jsx("div", { className: `mt-2.5 z-10 ${descriptionWidth}`, children: jsx(Paragraph, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: additionalDescription }) }));
3353
3177
  }
3354
3178
 
3355
3179
  const RichText = JSX((props) => {
@@ -3361,11 +3185,7 @@
3361
3185
  throw new Error(x);
3362
3186
  }
3363
3187
 
3364
- const LABEL_STYLE_MAP = {
3365
- primary: 'text-secondary-text',
3366
- secondary: 'text-white',
3367
- };
3368
- const renderBenefit = (version = 'primary') =>
3188
+ const renderBenefit =
3369
3189
  // Linter doesn't understand that switch processes all cases
3370
3190
  // eslint-disable-next-line consistent-return
3371
3191
  (benefit, i) => {
@@ -3377,7 +3197,7 @@
3377
3197
  case 'default':
3378
3198
  return [
3379
3199
  jsx(Text, { size: "text-h6", children: benefit.label }, `label-${i}`),
3380
- jsx(Text, { size: "text-m-light", color: LABEL_STYLE_MAP[version], children: benefit.description }, `desc-${i}`),
3200
+ jsx(Text, { size: "text-m", font: "font-light", color: "group-data-primary:text-secondary-text", children: benefit.description }, `desc-${i}`),
3381
3201
  ];
3382
3202
  case 'rte':
3383
3203
  return jsx(RichText, { __html: benefit.__html });
@@ -3393,19 +3213,18 @@
3393
3213
  return (jsx(ImgInner, { className: `absolute ${isImageOnRightSide ? 'right-0' : 'left-0'} bottom-0`, image: image }));
3394
3214
  }
3395
3215
 
3396
- const ProductTile = JSX(({ className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, isImageOnRightSide = true, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: `overflow-hidden font-sans p-9 box-border relative min-h-[364px]
3397
- ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${className}`, ...rest, children: [jsxs("div", { className: `flex flex-col ${isImageOnRightSide ? '' : 'items-end'}`, children: [jsx(Headline, { className: `!p-0 !bg-transparent z-10 ${title || description ? 'mb-3.5' : ''}`, as: "h2", title: title, description: description, headlineVersion: headlineVersion, bgColorHeadline: version, align: "text-left", ...rest }), renderBenefits(benefits, version, image), renderAdditionalDescription(additionalDescription, image), buttons?.length ? (jsx(ButtonSection, { buttons: buttons, className: "mt-5 gap-4 z-10 text-l" })) : null] }), renderImage$1(image, isImageOnRightSide)] })));
3398
- function renderBenefits(benefits, version, image) {
3216
+ const ProductTile = JSX(({ className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, isImageOnRightSide = true, ...rest }) => (jsxs(BlockWrapper, { className: style('overflow-hidden p-9 box-border relative min-h-[364px]', getTileRightPadding(className), className), ...rest, children: [jsxs("div", { className: style('flex flex-col', isImageOnRightSide ? '' : 'items-end'), children: [jsx(Headline, { className: style('!p-0 !bg-transparent z-10', title || description ? 'mb-3.5' : ''), title: title, description: description, headlineVersion: headlineVersion, as: "h2", align: "text-left" }), renderBenefits(benefits, image), renderAdditionalDescription(additionalDescription, image), renderButtonsSection(buttons, { className: 'mt-5 z-10 text-l' })] }), renderImage$1(image, isImageOnRightSide)] })));
3217
+ function renderBenefits(benefits, image) {
3399
3218
  if (!benefits.length) {
3400
3219
  return null;
3401
3220
  }
3402
3221
  // picture width = 242px. Text can overlay picture 20px deep. Outer paddings_x = 36px. 242-36-20 = 186px
3403
3222
  const benefitsWidth = image?.src ? 'max-w-[calc(100%-186px)]' : '100%';
3404
3223
  return (jsx("div", { className: `z-10 grid grid-cols-[max-content_1fr] auto-rows-auto gap-x-6 gap-y-2.5 items-baseline
3405
- ${benefitsWidth}`, children: benefits.length ? benefits.map(renderBenefit(version)) : null }));
3224
+ ${benefitsWidth}`, children: benefits.length ? benefits.map(renderBenefit) : null }));
3406
3225
  }
3407
3226
 
3408
- const PromoTile = JSX(({ className = '', title = 'Акции и спецпредложения', date, description, buttons = [], version = 'primary', ...rest }) => (jsx(BlockWrapper, { className: `bg-white text-primary-text font-sans p-9 box-border ${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: jsx(BaseTile, { title: title ? (jsx(Headline, { title: title, className: `!p-0 max-w-[600px]`, headlineVersion: getTileHeadingType(className), bgColorHeadline: version, align: "text-left", as: "h2", ...rest })) : null, buttons: buttons?.length ? jsx(ButtonSection, { buttons: buttons, className: "flex gap-3" }) : null, children: jsxs("div", { className: "mt-1.5", children: [date ? jsx("div", { className: "text-s mb-2", children: formatDate(date) }) : null, jsx("div", { className: "text-l", children: description })] }) }) })));
3227
+ const PromoTile = JSX(({ className = '', title = 'Акции и спецпредложения', date, description, as, buttons = [], ...rest }) => (jsx(BlockWrapper, { className: style('p-9 box-border', className, getTileRightPadding(className), getTileMinHeight(className)), ...rest, children: jsx(BaseTile, { title: title ? (jsx(Headline, { className: "!p-0 max-w-[600px]", title: title, headlineVersion: getTileHeadingType(className), align: "text-left", as: as || 'h2' })) : null, buttons: renderButtonsSection(buttons), children: jsxs("div", { className: "mt-1.5", children: [date ? jsx("div", { className: "text-s mb-2", children: formatDate(date) }) : null, jsx("div", { className: "text-l", children: description })] }) }) })));
3409
3228
  function formatDate(date) {
3410
3229
  const dateObj = new Date(date);
3411
3230
  const dateFormat = {
@@ -3416,10 +3235,10 @@
3416
3235
  return dateObj.toLocaleString('ru-RU', dateFormat).replace('г.', '');
3417
3236
  }
3418
3237
 
3419
- const RecommendationCard = JSX(({ className = '', title, description, items, image, version, socialMedia, button }) => {
3238
+ const RecommendationCard = JSX(({ className = '', title, description, items, image, socialMedia, button, ...rest }) => {
3420
3239
  const tileTitle = title ? (jsx(Heading, { headingType: "h5", as: "h3", className: "mb-3.5 z-10", title: title })) : null;
3421
3240
  const tileImage = image?.src ? (jsx(ImgInner, { className: "absolute bottom-0 right-0 m-0", image: image })) : null;
3422
- 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, { className: "flex justify-between", title: tileTitle, image: tileImage, children: jsxs("div", { className: "h-full flex flex-col justify-between", children: [description ? jsx("span", { className: "mb-2", children: 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 })) : null, button?.text ? (jsx("div", { className: "pt-2", children: renderButton({ button, buttonClassName: 'mt-16 px-5' }) })) : null] }) }) }));
3241
+ return (jsx(BlockWrapper, { className: `relative overflow-hidden text-left border border-solid box-border p-7 min-w-[524px] min-h-[218px] ${className}`, role: "listitem", ...rest, children: jsx(BaseTile, { className: "flex justify-between", title: tileTitle, image: tileImage, children: jsxs("div", { className: "h-full flex flex-col justify-between", children: [description ? jsx("span", { className: "mb-2", children: description }) : null, items?.length ? (jsx(List, { className: "text-xl-light flex flex-col flex-1 gap-2 max-w-[236px]", items: items })) : null, socialMedia ? jsx(SocialMedia, { className: "pt-10 pb-0", media: socialMedia }) : null, button?.text ? (jsx("div", { className: "pt-2", children: renderButtonsSection([button], { buttonClassName: 'mt-16 px-5' }) })) : null] }) }) }));
3423
3242
  });
3424
3243
 
3425
3244
  const BLUR_BLOCK_CLASSES = 'absolute top-0 bottom-0 w-[84px]';
@@ -3430,8 +3249,8 @@
3430
3249
  itemCount: recommendations.length,
3431
3250
  visibleItemCount: CARD_VIEW_COUNT,
3432
3251
  });
3433
- return (jsxs(BlockWrapper, { className: `relative font-sans p-9 overflow-hidden text-center ${VersionStyleMap[version]} ${className}`, ...rest, children: [title ? jsx(Heading, { headingType: "h3", className: "mb-6", title: title }) : null, jsxs("div", { children: [jsx("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeIndex * CARD_SHIFT}px)` }, role: "list", children: recommendations.length
3434
- ? recommendations.map((card, i) => (jsx(RecommendationCard, { version: version, className: BorderVersionStyleMap[version], ...card }, String(i))))
3252
+ return (jsxs(BlockWrapper, { className: `relative font-sans p-9 overflow-hidden text-center ${className}`, version: version, ...rest, children: [title ? jsx(Heading, { headingType: "h3", className: "mb-6", title: title }) : null, jsxs("div", { children: [jsx("div", { className: "flex duration-1000 gap-3.5", style: { transform: `translateX(-${activeIndex * CARD_SHIFT}px)` }, role: "list", children: recommendations.length
3253
+ ? recommendations.map((card, i) => (jsx(RecommendationCard, { version: version, className: "border-gray group-data-secondary:border-white/50", ...card }, String(i))))
3435
3254
  : null }), renderArrows({
3436
3255
  ...controls,
3437
3256
  btnClass: ['left-8', 'right-8'],
@@ -3444,24 +3263,15 @@
3444
3263
  return (jsx(BlockWrapper, { ...rest, children: jsx(RichText, { __html: __html }) }));
3445
3264
  });
3446
3265
 
3447
- const RollupItem = JSX(({ className = '', label = 'Развернуть', isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => (jsx("div", { className: `border-b border-solid border-main-divider w-full ${className}`, children: jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (jsx("div", { className: "box-border", children: jsx(FoldableSection, { className: `grid grid-cols-12 gap-1 border-box`, isUnfolded: isUnfolded, children: renderChildren(rest) }) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({ isUnfolded, onToggle, label, version }) }) })));
3266
+ const RollupItem = JSX(({ className = '', label = 'Развернуть', isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => (jsx(BlockWrapper, { className: `border-b border-solid border-main-divider w-full ${className}`, tag: "div", ...rest, children: jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (jsx("div", { className: "box-border", children: jsx(FoldableSection, { className: `grid grid-cols-12 gap-1 border-box`, isUnfolded: isUnfolded, children: renderChildren(rest) }) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({ version, label, isUnfolded, onToggle }) }) })));
3448
3267
  RollupItem.childrenTypes = {
3449
- exclude: [
3450
- 'RollupItem',
3451
- 'Accordion',
3452
- 'AccordionItem',
3453
- 'OtherProducts',
3454
- 'OtherProductsItem',
3455
- 'VerticalLayout',
3456
- ],
3268
+ exclude: ['RollupItem', 'Accordion', 'AccordionItem', 'OtherProducts', 'OtherProductsItem'],
3457
3269
  };
3458
- const renderFoldButton = ({ isUnfolded, onToggle, label, version }) => {
3459
- const iconsPrimary = ['PlusIcon', 'MinusIcon'];
3460
- const iconsSecondary = ['ArrowDownIcon', 'ArrowUpIcon'];
3461
- const labels = label ? [label, label] : ['Развернуть', 'Скрыть'];
3462
- return version === 'primary' ? (jsx(FoldButton, { icon: iconsPrimary[Number(isUnfolded)], label: labels[Number(isUnfolded)], onClick: onToggle })) : (jsx(DefaultFoldButton, { icon: iconsSecondary[Number(isUnfolded)], label: labels[Number(isUnfolded)], onClick: onToggle }));
3270
+ const renderFoldButton = ({ version, label: defaultLabel, isUnfolded, onToggle, }) => {
3271
+ const label = defaultLabel || (isUnfolded ? 'Скрыть' : 'Развернуть');
3272
+ return version === 'primary' ? (renderPrimaryFoldButton({ label, icon: isUnfolded ? 'MinusIcon' : 'PlusIcon', onToggle })) : (jsx(DefaultFoldButton, { label: label, icon: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', onClick: onToggle }));
3463
3273
  };
3464
- const FoldButton = JSX(({ label, icon, onClick }) => (jsxs("button", { className: "border-none bg-transparent px-9 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 group cursor-pointer", onClick: onClick, children: [jsx("span", { className: "text-xl font-medium pr-2.5", children: label }), icon ? jsx(ImgInner, { image: getIconWithVersion({ icon }), width: "24", height: "24", asSVG: true }) : null] })));
3274
+ const renderPrimaryFoldButton = ({ label, icon, onToggle }) => (jsxs("button", { className: "border-none bg-transparent px-9 pt-5 pb-3.5 flex justify-between text-left w-full font-sans text-h6 cursor-pointer", onClick: onToggle, children: [jsx("span", { className: "text-xl font-medium pr-2.5", children: label }), icon ? jsx(ImgInner, { image: getIconWithVersion({ icon }), width: "24", height: "24", asSVG: true }) : null] }));
3465
3275
 
3466
3276
  const SAFEBOXES_URL = '/api/v1/safeboxes';
3467
3277
  const EMPTY_VALUE = [];
@@ -3591,26 +3401,19 @@
3591
3401
  const branches = useSafeBoxes(selectedRegion);
3592
3402
  const handleChangeSafeDepositState = useCallback((state) => setStateDepositState((oldState) => ({ ...oldState, ...state })), [setStateDepositState]);
3593
3403
  const points = getCoordinates(getBranch(branches, safeDepositState.selectedBranch) || branches);
3594
- return (jsxs(BlockWrapper, { 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: "text-primary-text mb-2.5 text-center" })) : null, jsx(SafeDepositRentalForm, { regions: regions, branches: branches, data: { ...safeDepositState, selectedRegion }, onClick: handleShowMap, onChange: handleChangeSafeDepositState }), footnote ? jsx("p", { className: "text-s-light text-secondary-text", children: footnote }) : null] }), points.length && showMap ? jsx(YandexMap, { points: points, className: "h-[640px]" }) : null] }));
3404
+ return (jsxs(BlockWrapper, { className: className, ...rest, children: [jsxs("div", { className: "px-8 py-12", children: [title ? (jsx(Heading, { title: title, headingType: "h3", as: "h2", className: "text-primary-text mb-2.5 text-center" })) : null, jsx(SafeDepositRentalForm, { regions: regions, branches: branches, data: { ...safeDepositState, selectedRegion }, onClick: handleShowMap, onChange: handleChangeSafeDepositState }), footnote ? jsx("p", { className: "text-s-light text-secondary-text", children: footnote }) : null] }), points.length && showMap ? jsx(YandexMap, { points: points, className: "h-[640px]" }) : null] }));
3595
3405
  });
3596
3406
  const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
3597
3407
 
3598
3408
  const checkIsIconRenderable = (icon) => Boolean(icon?.icon || icon?.src);
3599
3409
 
3600
- const renderItems = ({ items, isDotted = true, version = 'primary', className = '', }) => items ? (jsx(List, { className: className, version: version, items: items, listItemSize: "M", isDotted: isDotted })) : null;
3601
-
3602
3410
  const renderStepContent = ({ styleMap, isMainButton, version, }) => (step, i, { length }) => {
3603
3411
  const { label, description, button, items, isDotted } = step;
3604
3412
  const contentMarginClass = label && (description || items) ? 'mt-2' : '';
3605
3413
  return (jsxs("div", { className: `relative flex flex-col items-center text-center whitespace-pre-line overflow-hidden ${getContainerWidth(length)}`, children: [jsxs("div", { className: `${button?.text ? 'mb-8' : ''} text-center`, children: [renderStepLabel(label), jsxs("div", { className: `${contentMarginClass} flex flex-col items-center`, children: [renderStepDescription({
3606
3414
  description,
3607
3415
  className: styleMap.description,
3608
- }), renderItems({
3609
- items,
3610
- isDotted,
3611
- version,
3612
- className: getItemsClasses({ className: 'text-left', description, styleMap }),
3613
- })] })] }), button?.text && !isMainButton ? (jsx(Button, { className: "box-border py-3 h-12 w-full max-w-[240px] mt-auto", version: version, ...button, children: button?.text })) : null] }, String(i)));
3416
+ }), jsx(List, { className: getItemsClasses({ className: 'text-left', description, styleMap }), items: items, listItemSize: "M", isDotted: isDotted })] })] }), button?.text && !isMainButton ? (jsx(Button, { className: "box-border py-3 h-12 w-full max-w-[240px] mt-auto", version: version, ...button, children: button?.text })) : null] }, String(i)));
3614
3417
  };
3615
3418
  const renderStepLabel = (label) => label ? jsx("div", { className: "text-h6", children: label }) : null;
3616
3419
  const renderStepDescription = ({ description, className = '', }) => (description ? jsx("div", { className: className, children: description }) : null);
@@ -3619,8 +3422,6 @@
3619
3422
 
3620
3423
  const STEPS_BLOCK_STYLE_MAPS = {
3621
3424
  primary: {
3622
- background: 'bg-white',
3623
- title: 'text-primary-text',
3624
3425
  description: '!text-secondary-text text-l-light',
3625
3426
  iconText: 'text-secondary-text',
3626
3427
  iconBackground: 'bg-main-divider',
@@ -3628,8 +3429,29 @@
3628
3429
  dot: 'bg-secondary-text',
3629
3430
  },
3630
3431
  secondary: {
3631
- background: 'bg-primary-main',
3632
- title: 'text-white',
3432
+ description: '!text-white/80 text-l-light',
3433
+ iconText: 'text-white',
3434
+ iconBackground: 'bg-white/30',
3435
+ iconConnector: 'bg-white',
3436
+ dot: 'bg-white/80',
3437
+ },
3438
+ gray: {
3439
+ // TODO Replace this Map with group-data-*
3440
+ description: '!text-white/80 text-l-light',
3441
+ iconText: 'text-white',
3442
+ iconBackground: 'bg-white/30',
3443
+ iconConnector: 'bg-white',
3444
+ dot: 'bg-white/80',
3445
+ },
3446
+ transparent: {
3447
+ description: '!text-white/80 text-l-light',
3448
+ iconText: 'text-white',
3449
+ iconBackground: 'bg-white/30',
3450
+ iconConnector: 'bg-white',
3451
+ dot: 'bg-white/80',
3452
+ },
3453
+ '': {
3454
+ // TODO Replace this Map with group-data-*
3633
3455
  description: '!text-white/80 text-l-light',
3634
3456
  iconText: 'text-white',
3635
3457
  iconBackground: 'bg-white/30',
@@ -3648,16 +3470,13 @@
3648
3470
  const titleMargin = title ? 'mt-9' : '';
3649
3471
  const paddingX = getPaddingX(steps.length);
3650
3472
  return (jsxs(BlockWrapper, { className: [
3651
- 'box-border py-12 font-sans',
3473
+ 'box-border py-12',
3652
3474
  shortGaps ? 'px-20' : 'px-[70px]',
3653
3475
  'flex flex-col items-center overflow-hidden',
3654
- styleMap.background,
3655
- styleMap.title,
3656
3476
  className,
3657
- ].join(' '), ...rest, children: [title ? (jsx(Heading, { headingType: "h3", className: "max-w-[752px] text-center", title: title })) : null, steps?.length ? (jsxs("div", { className: `box-border ${titleMargin}`, children: [jsx("div", { className: `flex items-center ${paddingX}`, children: joinList(jsx("div", { className: `h-0.5 w-full bg-secondary-light ${lineOpacity}` }))(steps.map(renderStepIcon(styleMap, version))) }), jsx("div", { className: `flex justify-between mt-4 ${shortGaps ? 'gap-x-3' : 'gap-x-[101px]'}`, children: steps.map(renderStepContent({ styleMap, isMainButton: Boolean(button?.text), version })) })] })) : null, button?.text ? jsx(Button, { className: "mt-8 min-w-60", version: "primary", ...button }) : null] }));
3477
+ ].join(' '), version: version, ...rest, children: [title ? (jsx(Heading, { headingType: "h3", className: "max-w-[752px] text-center", title: title })) : null, steps?.length ? (jsxs("div", { className: `box-border ${titleMargin}`, children: [jsx("div", { className: `flex items-center ${paddingX}`, children: joinList(jsx("div", { className: `h-0.5 w-full bg-secondary-light ${lineOpacity}` }))(steps.map(renderStepIcon(styleMap, version))) }), jsx("div", { className: `flex justify-between mt-4 ${shortGaps ? 'gap-x-3' : 'gap-x-[101px]'}`, children: steps.map(renderStepContent({ styleMap, isMainButton: Boolean(button?.text), version })) })] })) : null, button?.text ? jsx(Button, { className: "mt-8 min-w-60", version: "primary", ...button }) : null] }));
3658
3478
  });
3659
- const renderStepIcon = (styleMap, version) => ({ icon }, i) => (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
3660
- ${styleMap.iconBackground} ${styleMap.title}`, children: checkIsIconRenderable(icon) ? (jsx(ImgInner, { image: getIconWithVersion(icon || {}, version), width: "48", height: "48", asSVG: true })) : (jsx("span", { className: `text-h4 ${styleMap.iconText}`, children: i + 1 })) }) }, String(i)));
3479
+ const renderStepIcon = (styleMap, version) => ({ icon }, i) => (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 ${styleMap.iconBackground}`, children: checkIsIconRenderable(icon) ? (jsx(ImgInner, { image: getIconWithVersion(icon || {}, version), width: "48", height: "48", asSVG: true })) : (jsx("span", { className: `text-h4 ${styleMap.iconText}`, children: i + 1 })) }) }, String(i)));
3661
3480
 
3662
3481
  const containerStyles = {
3663
3482
  'horizontal-list': 'mx-auto mt-5 w-fit',
@@ -3707,10 +3526,10 @@
3707
3526
 
3708
3527
  const LINK_CLASSES = 'h-12 flex-1 flex items-center justify-center cursor-pointer';
3709
3528
  const ACTIVE_LINK_CLASSES = 'bg-primary-main';
3710
- const INACTIVE_LINK_CLASSES = 'group bg-white';
3529
+ const INACTIVE_LINK_CLASSES = 'group/btn bg-white';
3711
3530
  const TEXT_CLASSES = 'font-sans text-m';
3712
3531
  const ACTIVE_TEXT_CLASSES = 'text-white';
3713
- const INACTIVE_TEXT_CLASSES = 'text-secondary-text group-hover:text-primary-main';
3532
+ const INACTIVE_TEXT_CLASSES = 'text-secondary-text group-hover/btn:text-primary-main';
3714
3533
 
3715
3534
  const LinkTab = JSX((props) => {
3716
3535
  const { tab, currentTab } = props;
@@ -3722,7 +3541,7 @@
3722
3541
 
3723
3542
  const BADGE_CLASSES = 'min-w-[22px] h-[22px] rounded-full text-xs ml-2 flex justify-center items-center';
3724
3543
  const ACTIVE_BADGE_CLASSES = 'bg-white/30 text-white';
3725
- const INACTIVE_BADGE_CLASSES = 'bg-main-divider text-secondary-text group-hover:text-primary-main';
3544
+ const INACTIVE_BADGE_CLASSES = 'bg-main-divider text-secondary-text group-hover/btn:text-primary-main';
3726
3545
  const renderGroupTab = ({ page, currentTab, showCounter, onClick }) => (tab, i) => {
3727
3546
  const active = currentTab === tab;
3728
3547
  const count = tab.ref && page?.blocks
@@ -3783,16 +3602,15 @@
3783
3602
  return (jsxs(Button, { version: "primary", onClick: onClick, 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 })] }));
3784
3603
  });
3785
3604
 
3786
- const renderButtonsCellData = ({ buttons }) => buttons && buttons?.length ? (jsx("div", { children: buttons.map(({ rounded, ...buttonProps }, idx) => renderButton({
3787
- button: { rounded, ...buttonProps },
3788
- buttonClassName: `${idx > 0 && rounded ? 'ml-3' : ''} w-12 h-12`,
3789
- })) })) : null;
3605
+ const renderButtonsCellData = ({ buttons }) => renderButtonsSection(buttons, {
3606
+ buttonClassName: 'w-12 h-12',
3607
+ });
3790
3608
  const renderLabelDescriptionCellData = ({ label, description }) => {
3791
3609
  const labelClassName = `text-h6 m-0 ${description ? 'mb-1' : ''}`;
3792
3610
  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] }));
3793
3611
  };
3794
3612
  const renderImgCellData = ({ image }) => (image?.src ? jsx(ImgInner, { image: image }) : null);
3795
- const renderListCellData = ({ isDotted, ...rest }) => (jsx(List, { className: "flex flex-col justify-between items-start text-h6", version: "primary", isDotted: isDotted ?? true, ...rest }));
3613
+ const renderListCellData = ({ isDotted, ...rest }) => (jsx(List, { className: "flex flex-col justify-between items-start text-h6", isDotted: isDotted ?? true, ...rest }));
3796
3614
  const renderTableCellData = JSX(({ isVisible, displayTable, dataUrl, pdfUrl, isOpen }) => isVisible ? (jsx(TableInnerButton, { isOpen: isOpen, onClick: () => {
3797
3615
  displayTable({ dataUrl, pdfUrl });
3798
3616
  } })) : null);
@@ -3939,7 +3757,7 @@
3939
3757
  });
3940
3758
  const rows = (rowData || []).map((row, i) => (jsx(TariffsTableRow, { row: row, activeIndex: activeIndex, rowIdx: i, ...rest }, String(i))));
3941
3759
  const [visibleRows, hiddenRows] = hiddenRowsNum > 0 ? [rows.slice(0, -hiddenRowsNum), rows.slice(-hiddenRowsNum)] : [rows, []];
3942
- return (jsxs(BlockWrapper, { className: `bg-white font-sans p-12 overflow-hidden text-primary-text relative ${itemCount > 1 ? 'pr-0' : ''} ${className}`, ...rest, children: [renderTitle$1({ title, description }), renderDescription$1(description), hiddenRowsNum > 0 ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs(Wrapper, { controls: controls, children: [visibleRows, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] })), renderFoldButton: renderDefaultFoldButton })) : (jsx(Wrapper, { controls: controls, children: rows }))] }));
3760
+ return (jsxs(BlockWrapper, { className: `p-12 overflow-hidden relative ${itemCount > 1 ? 'pr-0' : ''} ${className}`, ...rest, children: [renderTitle$1({ title, description }), renderDescription$1(description), hiddenRowsNum > 0 ? (jsx(Foldable, { renderFoldableSection: ({ isUnfolded }) => (jsxs(Wrapper, { controls: controls, children: [visibleRows, jsx(FoldableSection, { isUnfolded: isUnfolded, children: hiddenRows })] })), renderFoldButton: renderDefaultFoldButton })) : (jsx(Wrapper, { controls: controls, children: rows }))] }));
3943
3761
  });
3944
3762
  function renderTitle$1({ title, description }) {
3945
3763
  return title ? (jsx(Heading, { headingType: "h3", className: `text-center ${description ? 'mb-2.5' : 'mb-8'}`, title: title })) : null;
@@ -3976,14 +3794,10 @@
3976
3794
  });
3977
3795
  const renderTag = (tag, key) => (jsx("span", { className: "text-m-light py-2 px-2.5 border-solid border rounded-md border-gray", children: tag }, String(key)));
3978
3796
 
3979
- const Tile = JSX((props) => {
3980
- const { title, headingType = 'h3', description, items, buttons, image, isDotted = true, listItemSize = 'M', className = '', version = 'primary', tags, children, ...rest } = props;
3981
- const headingClassName = version === 'primary' ? 'text-primary-text' : '';
3982
- return (jsx(BlockWrapper, { className: `overflow-hidden font-sans p-9 pr-3 box-border ${className} ${VersionStyleMap[version]} ${getTileRightPadding(className)} ${getTileMinHeight(className)} `, ...rest, children: jsxs(BaseTile, { title: title ? (jsx(Heading, { headingType: headingType, as: "h2", title: title, className: `whitespace-pre-wrap max-w-[600px] ${headingClassName}` })) : null, buttons: buttons?.length ? (jsx(ButtonSection, { buttons: buttons.map((button) => ({ ...button, className: 'min-w-[158px]' })), className: "flex mt-8 gap-3", ...rest })) : null, image: image?.src ? jsx(ImgInner, { className: "mt-auto ml-7", image: image }) : null, children: [description ? (jsx("div", { className: "max-w-[600px] mt-2.5", children: jsx(Paragraph, { size: "text-xl-light", children: description }) })) : null, children, renderList({ version, isDotted, listItemSize }, items), tags?.length ? jsx(Tags, { tags: tags, className: "mt-5" }) : null] }) }));
3983
- });
3984
- function renderList({ version, isDotted, listItemSize }, items) {
3985
- return items?.length ? (jsx(List, { items: items, isDotted: isDotted, className: "mt-2.5", listItemSize: listItemSize, itemClassName: "mb-1.5", version: version })) : null;
3986
- }
3797
+ const Tile = JSX(({ title, headingType = 'h3', description, items, buttons, image, isDotted = true, listItemSize = 'M', className = '', tags, children, ...rest }) => (jsx(BlockWrapper, { className: `overflow-hidden p-9 pr-3 box-border ${getTileRightPadding(className)} ${getTileMinHeight(className)} ${className}`, ...rest, children: jsxs(BaseTile, { title: title ? (jsx(Heading, { headingType: headingType, as: "h2", title: title, className: `whitespace-pre-wrap max-w-[600px]` })) : null, buttons: renderButtonsSection(buttons, {
3798
+ className: 'mt-8',
3799
+ buttonClassName: 'min-w-[158px]',
3800
+ }), image: image?.src ? jsx(ImgInner, { className: "mt-auto ml-7", image: image }) : null, children: [description ? (jsx("div", { className: "max-w-[600px] mt-2.5", children: jsx(Paragraph, { size: "text-xl-light", children: description }) })) : null, children, jsx(List, { className: "mt-2.5", itemClassName: "mb-1.5", items: items, isDotted: isDotted, listItemSize: listItemSize }), tags?.length ? jsx(Tags, { tags: tags, className: "mt-5" }) : null] }) })));
3987
3801
 
3988
3802
  const alignStyle = {
3989
3803
  left: 'items-start',
@@ -3991,30 +3805,15 @@
3991
3805
  right: 'items-end',
3992
3806
  };
3993
3807
  const VerticalLayout = JSX(({ className = '', gap = '', align, isPadding = false, isInnerPadding = true, version = 'transparent', options, ...rest }) => {
3994
- const paddingStyle = isPadding ? 'p-12' : '';
3995
3808
  const innerPaddingStyle = isInnerPadding ? '' : '!p-0';
3996
- return (jsx(BlockWrapper, { className: [
3997
- 'flex flex-col [&>*]:max-w-full',
3998
- paddingStyle,
3999
- GapStyleMap[gap],
4000
- align && alignStyle[align],
4001
- LayoutBackgroundStyleMap[version],
4002
- className,
4003
- ]
4004
- .filter(Boolean)
4005
- .join(' '), ...rest, children: renderChildren({ ...rest, options: { ...options, className: innerPaddingStyle } }) }));
3809
+ return (jsx(BlockWrapper, { className: style('flex flex-col [&>*]:max-w-full', isPadding ? 'p-12' : '', gapStyles[gap], align && alignStyle[align], className), version: version, ...rest, children: renderChildren({ ...rest, options: { ...options, className: innerPaddingStyle } }) }));
4006
3810
  });
4007
- VerticalLayout.childrenTypes = {
4008
- exclude: ['VerticalLayout'],
4009
- };
3811
+ VerticalLayout.childrenTypes = [];
4010
3812
 
4011
3813
  const MIN_COL_SPAN = 10;
4012
3814
  const getPaddings = (className) => getColSpan(className) < MIN_COL_SPAN ? 'py-6 px-11' : 'py-12 px-32';
4013
3815
 
4014
- const Video = JSX((props) => {
4015
- const { title, src, previewImg, className = '', ...rest } = props;
4016
- return (jsxs(BlockWrapper, { className: `bg-white ${getPaddings(className)} ${className}`, ...rest, children: [jsx(Headline, { title: title, headlineVersion: "M" }), src ? (jsx("video", { className: "m-auto w-full object-fill", preload: "metadata", poster: previewImg?.src, style: { maxHeight: 524 }, controls: true, children: jsx("source", { src: src }) })) : null] }));
4017
- });
3816
+ const Video = JSX(({ className, title, src, previewImg, ...rest }) => (jsxs(BlockWrapper, { className: style(getPaddings(className), className), ...rest, children: [jsx(Headline, { title: title, headlineVersion: "M" }), src ? (jsx("video", { className: "m-auto w-full object-fill", preload: "metadata", poster: previewImg?.src, style: { maxHeight: 524 }, controls: true, children: jsx("source", { src: src }) })) : null] })));
4018
3817
 
4019
3818
  const Blocks = {
4020
3819
  Accordion,
@@ -4186,7 +3985,7 @@
4186
3985
  parent: data,
4187
3986
  };
4188
3987
  useBlockRouterProvider();
4189
- return (jsxs("section", { className: `relative ${style2className(pageStyle)} ${className}`, "data-theme": colorPalette, children: [slots?.header ? (jsx("div", { className: "mb-5 shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, {
3988
+ return (jsxs("section", { className: style('relative', pageStyle, className), "data-theme": colorPalette, children: [slots?.header ? (jsx("div", { className: "mb-5 shadow-[0_8px_32px_0px_#00000014]", children: renderBlocksList(slots?.header, {
4190
3989
  ...options,
4191
3990
  slotName: 'header',
4192
3991
  }) })) : null, jsxs("div", { className: "container grid grid-cols-12 gap-1", children: [renderBlocksList(blocks, options), slots?.footer
@@ -4202,7 +4001,7 @@
4202
4001
  return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto" }) }));
4203
4002
  }
4204
4003
 
4205
- const packageVersion = "0.7.1";
4004
+ const packageVersion = "0.7.3";
4206
4005
 
4207
4006
  exports.Blocks = Blocks;
4208
4007
  exports.ContentPage = ContentPage;