@redneckz/wildless-cms-uni-blocks 0.11.2 → 0.12.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 (1635) hide show
  1. package/bin/migration-scripts/0.11.1.js +34 -0
  2. package/bin/migration-scripts/0.12.3.js +22 -0
  3. package/bundle/blocks.schema.json +1 -1
  4. package/bundle/bundle.umd.js +231 -282
  5. package/bundle/bundle.umd.min.js +1 -1
  6. package/bundle/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
  7. package/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
  8. package/bundle/components/CarouselCard/CarouselCard.d.ts +1 -1
  9. package/bundle/components/CarouselCard/getCardWidth.d.ts +1 -0
  10. package/bundle/components/CarouselCard/titleSize.d.ts +1 -0
  11. package/bundle/components/CarouselCard/titleSize.mobile.d.ts +1 -0
  12. package/bundle/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
  13. package/bundle/components/Footer/Contacts.d.ts +2 -2
  14. package/bundle/components/Footer/FooterContent.d.ts +9 -1
  15. package/bundle/components/Footer/FooterDataProps.d.ts +2 -2
  16. package/bundle/components/Headline/HeadlineContent.d.ts +0 -2
  17. package/bundle/components/MobileAppTile/renderDescription.d.ts +2 -0
  18. package/bundle/components/MobileAppTile/renderList.d.ts +2 -0
  19. package/bundle/components/PictureText/PictureTextContent.d.ts +2 -6
  20. package/bundle/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
  21. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -22
  22. package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  23. package/bundle/components/PromoTile/PromoTileContent.d.ts +2 -3
  24. package/bundle/components/RollupItem/RollupItemContent.d.ts +4 -2
  25. package/bundle/components/RollupItem/renderRoundedIcon.d.ts +3 -0
  26. package/bundle/components/RollupItem/renderRoundedIcon.mobile.d.ts +4 -0
  27. package/bundle/components/Tile/TileContent.d.ts +2 -13
  28. package/bundle/model/Align.d.ts +5 -0
  29. package/bundle/model/AlignText.d.ts +3 -0
  30. package/bundle/model/AlignType.d.ts +2 -0
  31. package/bundle/model/HeadlineType.d.ts +8 -1
  32. package/bundle/model/JSXBlock.d.ts +12 -5
  33. package/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
  34. package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
  35. package/bundle/{components → ui-kit}/BaseTile/BaseTile.d.ts +2 -0
  36. package/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
  37. package/bundle/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
  38. package/bundle/ui-kit/BenefitItem/borderRadius.mobile.d.ts +1 -0
  39. package/bundle/ui-kit/BenefitItem/labelSize.d.ts +1 -0
  40. package/bundle/ui-kit/BenefitItem/labelSize.mobile.d.ts +1 -0
  41. package/bundle/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
  42. package/bundle/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
  43. package/bundle/ui-kit/BenefitsList/renderBenefit.d.ts +4 -0
  44. package/bundle/ui-kit/Icon/IconProps.d.ts +8 -3
  45. package/bundle/ui-kit/Icon/RoundedIcon.d.ts +5 -1
  46. package/bundle/ui-kit/Img/Img.d.ts +2 -1
  47. package/bundle/ui-kit/Img/ImgProps.d.ts +0 -1
  48. package/bundle/ui-kit/List/ListContent.d.ts +6 -0
  49. package/bundle/ui-kit/List/ListItem.d.ts +1 -1
  50. package/bundle/ui-kit/List/ListProps.d.ts +0 -6
  51. package/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
  52. package/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
  53. package/bundle/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
  54. package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
  55. package/bundle/ui-kit/Tags/Tags.d.ts +2 -2
  56. package/bundle/utils/avg.d.ts +1 -0
  57. package/bundle/utils/deviation.d.ts +1 -0
  58. package/dist/components/ApplicationForm/ApplicationForm.js +1 -2
  59. package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  60. package/dist/components/ApplicationForm/ResponseNotification.js +1 -1
  61. package/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
  62. package/dist/components/BenefitsBlock/BenefitsBlock.js +3 -2
  63. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  64. package/dist/components/Blocks.js +2 -2
  65. package/dist/components/Blocks.js.map +1 -1
  66. package/dist/components/Blocks.mobile.js +6 -0
  67. package/dist/components/Blocks.mobile.js.map +1 -1
  68. package/dist/components/Bonus/Bonus.js +2 -2
  69. package/dist/components/Bonus/Bonus.js.map +1 -1
  70. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  71. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  72. package/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  73. package/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  74. package/dist/components/BusinessBlock/BusinessCard.js +1 -1
  75. package/dist/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
  76. package/dist/components/ButtonsBlock/ButtonsBlock.js +9 -0
  77. package/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
  78. package/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
  79. package/dist/components/ButtonsBlock/ButtonsBlockContent.js +2 -0
  80. package/dist/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
  81. package/dist/components/Calculator/Calculator.js +1 -1
  82. package/dist/components/Calculator/Calculator.js.map +1 -1
  83. package/dist/components/CardTransfer/CardTransfer.js +1 -1
  84. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  85. package/dist/components/Carousel/Carousel.js +1 -1
  86. package/dist/components/Carousel/Carousel.js.map +1 -1
  87. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  88. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  89. package/dist/components/CarouselCard/CarouselCard.d.ts +1 -1
  90. package/dist/components/CarouselCard/CarouselCard.js +9 -7
  91. package/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  92. package/dist/components/CarouselCard/getCardWidth.d.ts +1 -0
  93. package/dist/components/CarouselCard/getCardWidth.js +18 -0
  94. package/dist/components/CarouselCard/getCardWidth.js.map +1 -0
  95. package/dist/components/CarouselCard/titleSize.d.ts +1 -0
  96. package/dist/components/CarouselCard/titleSize.js +4 -0
  97. package/dist/components/CarouselCard/titleSize.js.map +1 -0
  98. package/dist/components/CarouselCard/titleSize.mobile.d.ts +1 -0
  99. package/dist/components/CarouselCard/titleSize.mobile.js +4 -0
  100. package/dist/components/CarouselCard/titleSize.mobile.js.map +1 -0
  101. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -1
  102. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  103. package/dist/components/CarouselEventCard/CarouselEventCard.js +1 -1
  104. package/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  105. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -2
  106. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  107. package/dist/components/CarouselLinks/CarouselLinks.js +3 -4
  108. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  109. package/dist/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
  110. package/dist/components/CarouselProductCard/CarouselProductCard.js +6 -6
  111. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  112. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  113. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  114. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  115. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  116. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -1
  117. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
  118. package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
  119. package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  120. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
  121. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  122. package/dist/components/ComparisonTable/ComparisonTable.js +2 -1
  123. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  124. package/dist/components/ContactsBlock/ContactsBlock.js +3 -2
  125. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  126. package/dist/components/DepositFiltration/DepositFiltration.js +1 -1
  127. package/dist/components/DepositFiltration/DepositFiltration.js.map +1 -1
  128. package/dist/components/ErrorBlock/ErrorBlock.js +1 -1
  129. package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  130. package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +2 -2
  131. package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
  132. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  133. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  134. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +3 -2
  135. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  136. package/dist/components/Footer/Contacts.d.ts +2 -2
  137. package/dist/components/Footer/Contacts.js +4 -5
  138. package/dist/components/Footer/Contacts.js.map +1 -1
  139. package/dist/components/Footer/Footer.js +1 -1
  140. package/dist/components/Footer/Footer.js.map +1 -1
  141. package/dist/components/Footer/Footer.mobile.js +2 -3
  142. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  143. package/dist/components/Footer/FooterContent.d.ts +9 -1
  144. package/dist/components/Footer/FooterDataProps.d.ts +2 -2
  145. package/dist/components/GracePeriod/GracePeriod.js +1 -1
  146. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  147. package/dist/components/Header/Header.js +1 -1
  148. package/dist/components/Header/Header.js.map +1 -1
  149. package/dist/components/Header/Header.mobile.js +1 -1
  150. package/dist/components/Header/Header.mobile.js.map +1 -1
  151. package/dist/components/Headline/Headline.js +2 -3
  152. package/dist/components/Headline/Headline.js.map +1 -1
  153. package/dist/components/Headline/HeadlineContent.d.ts +0 -2
  154. package/dist/components/Headline/headlineVersionStyles.js +9 -9
  155. package/dist/components/Headline/headlineVersionStyles.js.map +1 -1
  156. package/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
  157. package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  158. package/dist/components/ImgBlock/ImgBlock.js +1 -1
  159. package/dist/components/ImgBlock/ImgBlock.js.map +1 -1
  160. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
  161. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  162. package/dist/components/InvestmentInfo/InvestmentInfo.js +3 -3
  163. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  164. package/dist/components/LinkDocs/LinkDocs.js +1 -1
  165. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  166. package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -2
  167. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  168. package/dist/components/MobileAppTile/MobileAppTile.js +6 -12
  169. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  170. package/dist/components/MobileAppTile/renderButtonSection.d.ts +0 -0
  171. package/dist/components/MobileAppTile/renderButtonSection.js +1 -0
  172. package/dist/components/MobileAppTile/renderButtonSection.js.map +1 -0
  173. package/dist/components/MobileAppTile/renderDescription.d.ts +2 -0
  174. package/dist/components/MobileAppTile/renderDescription.js +7 -0
  175. package/dist/components/MobileAppTile/renderDescription.js.map +1 -0
  176. package/dist/components/MobileAppTile/renderList.d.ts +2 -0
  177. package/dist/components/MobileAppTile/renderList.js +9 -0
  178. package/dist/components/MobileAppTile/renderList.js.map +1 -0
  179. package/dist/components/MortgageFiltration/MortgageFiltration.js +1 -1
  180. package/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
  181. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
  182. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  183. package/dist/components/ParagraphBlock/ParagraphBlock.js +1 -1
  184. package/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  185. package/dist/components/PictureText/PictureText.js +3 -14
  186. package/dist/components/PictureText/PictureText.js.map +1 -1
  187. package/dist/components/PictureText/PictureTextContent.d.ts +2 -6
  188. package/dist/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
  189. package/dist/components/PictureText/renderInsuranceSumMonth.js +9 -0
  190. package/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
  191. package/dist/components/Placeholder/Placeholder.js +1 -6
  192. package/dist/components/Placeholder/Placeholder.js.map +1 -1
  193. package/dist/components/ProductBlock/ProductBlock.js +3 -3
  194. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  195. package/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -22
  196. package/dist/components/ProductGallery/ProductGallery.js +2 -2
  197. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  198. package/dist/components/ProductGallery/ProductGallery.mobile.js +5 -6
  199. package/dist/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
  200. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  201. package/dist/components/ProductTile/ProductTile.js +1 -2
  202. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  203. package/dist/components/PromoTile/PromoTile.js +2 -5
  204. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  205. package/dist/components/PromoTile/PromoTileContent.d.ts +2 -3
  206. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  207. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  208. package/dist/components/RichTextBlock/RichTextBlock.js +1 -1
  209. package/dist/components/RichTextBlock/RichTextBlock.js.map +1 -1
  210. package/dist/components/RollupItem/RollupItem.js +14 -9
  211. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  212. package/dist/components/RollupItem/RollupItemContent.d.ts +4 -2
  213. package/dist/components/RollupItem/renderRoundedIcon.d.ts +3 -0
  214. package/dist/components/RollupItem/renderRoundedIcon.js +6 -0
  215. package/dist/components/RollupItem/renderRoundedIcon.js.map +1 -0
  216. package/dist/components/RollupItem/renderRoundedIcon.mobile.d.ts +4 -0
  217. package/dist/components/RollupItem/renderRoundedIcon.mobile.js +7 -0
  218. package/dist/components/RollupItem/renderRoundedIcon.mobile.js.map +1 -0
  219. package/dist/components/SafeDepositRental/SafeDepositRental.js +2 -2
  220. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  221. package/dist/components/StepsBlock/StepsBlock.js +1 -1
  222. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  223. package/dist/components/StepsBlock/StepsBlock.mobile.js +1 -1
  224. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  225. package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +1 -3
  226. package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
  227. package/dist/components/Tabs/Tabs.js +1 -1
  228. package/dist/components/Tabs/Tabs.js.map +1 -1
  229. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +3 -6
  230. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  231. package/dist/components/TariffsTable/TableTileHeader.js +2 -2
  232. package/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  233. package/dist/components/TariffsTable/TariffsTable.js +2 -1
  234. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  235. package/dist/components/TariffsTable/TariffsTable.mobile.js +3 -3
  236. package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  237. package/dist/components/TariffsTable/TariffsTableHorizontal.js +1 -1
  238. package/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  239. package/dist/components/TariffsTable/TariffsTableTileCell.js +2 -2
  240. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  241. package/dist/components/TextBlock/TextBlock.js +1 -3
  242. package/dist/components/TextBlock/TextBlock.js.map +1 -1
  243. package/dist/components/Tile/Tile.js +2 -14
  244. package/dist/components/Tile/Tile.js.map +1 -1
  245. package/dist/components/Tile/TileContent.d.ts +2 -13
  246. package/dist/components/VerticalLayout/VerticalLayout.js +1 -1
  247. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  248. package/dist/components/Video/Video.js +1 -2
  249. package/dist/components/Video/Video.js.map +1 -1
  250. package/dist/content-page-repository/transformDocumentLink.js +1 -1
  251. package/dist/content-page-repository/transformDocumentLink.js.map +1 -1
  252. package/dist/content-page-repository/transformImg.js +1 -1
  253. package/dist/content-page-repository/transformImg.js.map +1 -1
  254. package/dist/model/Align.d.ts +5 -0
  255. package/dist/{ui-kit/BenefitItem/BenefitItemProps.js → model/Align.js} +1 -1
  256. package/dist/model/Align.js.map +1 -0
  257. package/dist/model/AlignText.d.ts +3 -0
  258. package/dist/model/AlignText.js +3 -0
  259. package/dist/model/AlignText.js.map +1 -1
  260. package/dist/model/AlignType.d.ts +2 -0
  261. package/dist/model/HeadlineType.d.ts +8 -1
  262. package/dist/model/JSXBlock.d.ts +12 -5
  263. package/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
  264. package/dist/ui-kit/BaseProductTile/BaseProductTile.js +18 -0
  265. package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -0
  266. package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
  267. package/dist/ui-kit/{SwipeListControl/SwipeListControlProps.js → BaseProductTile/BaseProductTileContent.js} +1 -1
  268. package/dist/ui-kit/BaseProductTile/BaseProductTileContent.js.map +1 -0
  269. package/{lib/components → dist/ui-kit}/BaseTile/BaseTile.d.ts +2 -0
  270. package/dist/ui-kit/BaseTile/BaseTile.js +13 -0
  271. package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -0
  272. package/dist/ui-kit/BaseTile/getTileRightPadding.js.map +1 -0
  273. package/dist/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
  274. package/dist/ui-kit/BenefitItem/BenefitItem.js +7 -10
  275. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  276. package/dist/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
  277. package/dist/{components/ButtonBlock/ButtonBlockContent.js → ui-kit/BenefitItem/BenefitItemContent.js} +1 -1
  278. package/dist/ui-kit/BenefitItem/BenefitItemContent.js.map +1 -0
  279. package/dist/ui-kit/BenefitItem/borderRadius.mobile.d.ts +1 -0
  280. package/dist/ui-kit/BenefitItem/borderRadius.mobile.js +4 -0
  281. package/dist/ui-kit/BenefitItem/borderRadius.mobile.js.map +1 -0
  282. package/dist/ui-kit/BenefitItem/labelSize.d.ts +1 -0
  283. package/dist/ui-kit/BenefitItem/labelSize.js +4 -0
  284. package/dist/ui-kit/BenefitItem/labelSize.js.map +1 -0
  285. package/dist/ui-kit/BenefitItem/labelSize.mobile.d.ts +1 -0
  286. package/dist/ui-kit/BenefitItem/labelSize.mobile.js +4 -0
  287. package/dist/ui-kit/BenefitItem/labelSize.mobile.js.map +1 -0
  288. package/dist/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
  289. package/dist/ui-kit/BenefitsList/BenefitsList.js +14 -0
  290. package/dist/ui-kit/BenefitsList/BenefitsList.js.map +1 -0
  291. package/dist/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
  292. package/dist/ui-kit/BenefitsList/BenefitsListContent.js +2 -0
  293. package/dist/ui-kit/BenefitsList/BenefitsListContent.js.map +1 -0
  294. package/dist/ui-kit/BenefitsList/renderBenefit.d.ts +4 -0
  295. package/dist/ui-kit/BenefitsList/renderBenefit.js +13 -0
  296. package/dist/ui-kit/BenefitsList/renderBenefit.js.map +1 -0
  297. package/dist/ui-kit/BlockWrapper.js +3 -3
  298. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  299. package/dist/ui-kit/Button/ButtonInner.js +1 -1
  300. package/dist/ui-kit/Button/renderButtonsSection.js +2 -2
  301. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  302. package/dist/ui-kit/Heading/Heading.js +2 -1
  303. package/dist/ui-kit/Heading/Heading.js.map +1 -1
  304. package/dist/ui-kit/Icon/IconProps.d.ts +8 -3
  305. package/dist/ui-kit/Icon/RoundedIcon.d.ts +5 -1
  306. package/dist/ui-kit/Icon/RoundedIcon.js +6 -2
  307. package/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
  308. package/dist/ui-kit/Img/Img.d.ts +2 -1
  309. package/dist/ui-kit/Img/Img.js +10 -2
  310. package/dist/ui-kit/Img/Img.js.map +1 -1
  311. package/dist/ui-kit/Img/ImgAsPicture.js +6 -12
  312. package/dist/ui-kit/Img/ImgAsPicture.js.map +1 -1
  313. package/dist/ui-kit/Img/ImgProps.d.ts +0 -1
  314. package/dist/ui-kit/List/List.js.map +1 -1
  315. package/dist/ui-kit/List/ListContent.d.ts +6 -0
  316. package/dist/ui-kit/List/ListItem.d.ts +1 -1
  317. package/dist/ui-kit/List/ListProps.d.ts +0 -6
  318. package/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
  319. package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  320. package/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
  321. package/dist/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
  322. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  323. package/dist/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
  324. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
  325. package/dist/ui-kit/Tags/Tags.d.ts +2 -2
  326. package/dist/ui-kit/Tags/Tags.js +4 -5
  327. package/dist/ui-kit/Tags/Tags.js.map +1 -1
  328. package/dist/utils/avg.d.ts +1 -0
  329. package/dist/utils/avg.js +6 -0
  330. package/dist/utils/avg.js.map +1 -0
  331. package/dist/utils/deviation.d.ts +1 -0
  332. package/dist/utils/deviation.js +6 -0
  333. package/dist/utils/deviation.js.map +1 -0
  334. package/lib/common.css +1 -1
  335. package/lib/components/ApplicationForm/ApplicationForm.js +1 -2
  336. package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  337. package/lib/components/ApplicationForm/ResponseNotification.js +1 -1
  338. package/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
  339. package/lib/components/BenefitsBlock/BenefitsBlock.js +3 -2
  340. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  341. package/lib/components/Blocks.js +2 -2
  342. package/lib/components/Blocks.js.map +1 -1
  343. package/lib/components/Blocks.mobile.js +6 -0
  344. package/lib/components/Blocks.mobile.js.map +1 -1
  345. package/lib/components/Bonus/Bonus.js +2 -2
  346. package/lib/components/Bonus/Bonus.js.map +1 -1
  347. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  348. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  349. package/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  350. package/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  351. package/lib/components/BusinessBlock/BusinessCard.js +1 -1
  352. package/lib/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
  353. package/lib/components/ButtonsBlock/ButtonsBlock.fixture.mobile.d.ts +6 -0
  354. package/lib/components/{ButtonBlock/ButtonBlock.js → ButtonsBlock/ButtonsBlock.js} +2 -2
  355. package/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
  356. package/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
  357. package/lib/components/ButtonsBlock/ButtonsBlockContent.js +2 -0
  358. package/lib/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
  359. package/lib/components/Calculator/Calculator.js +1 -1
  360. package/lib/components/Calculator/Calculator.js.map +1 -1
  361. package/lib/components/CardTransfer/CardTransfer.fixture.mobile.d.ts +6 -0
  362. package/lib/components/CardTransfer/CardTransfer.js +1 -1
  363. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  364. package/lib/components/Carousel/Carousel.js +1 -1
  365. package/lib/components/Carousel/Carousel.js.map +1 -1
  366. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  367. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  368. package/lib/components/CarouselCard/CarouselCard.d.ts +1 -1
  369. package/lib/components/CarouselCard/CarouselCard.fixture.mobile.d.ts +8 -0
  370. package/lib/components/CarouselCard/CarouselCard.js +9 -7
  371. package/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  372. package/lib/components/CarouselCard/getCardWidth.d.ts +1 -0
  373. package/lib/components/CarouselCard/getCardWidth.js +15 -0
  374. package/lib/components/CarouselCard/getCardWidth.js.map +1 -0
  375. package/lib/components/CarouselCard/titleSize.d.ts +1 -0
  376. package/lib/components/CarouselCard/titleSize.js +2 -0
  377. package/lib/components/CarouselCard/titleSize.js.map +1 -0
  378. package/lib/components/CarouselCard/titleSize.mobile.d.ts +1 -0
  379. package/lib/components/CarouselCard/titleSize.mobile.js +2 -0
  380. package/lib/components/CarouselCard/titleSize.mobile.js.map +1 -0
  381. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -1
  382. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  383. package/lib/components/CarouselEventCard/CarouselEventCard.js +1 -1
  384. package/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  385. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -2
  386. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  387. package/lib/components/CarouselLinks/CarouselLinks.js +3 -4
  388. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  389. package/lib/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
  390. package/lib/components/CarouselProductCard/CarouselProductCard.js +6 -6
  391. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  392. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  393. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  394. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  395. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  396. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -1
  397. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
  398. package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
  399. package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  400. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
  401. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  402. package/lib/components/ComparisonTable/ComparisonTable.js +2 -1
  403. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  404. package/lib/components/ContactsBlock/ContactsBlock.js +3 -2
  405. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  406. package/lib/components/DepositFiltration/DepositFiltration.js +1 -1
  407. package/lib/components/DepositFiltration/DepositFiltration.js.map +1 -1
  408. package/lib/components/ErrorBlock/ErrorBlock.js +1 -1
  409. package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  410. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +2 -2
  411. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
  412. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  413. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  414. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +3 -2
  415. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  416. package/lib/components/Footer/Contacts.d.ts +2 -2
  417. package/lib/components/Footer/Contacts.js +4 -5
  418. package/lib/components/Footer/Contacts.js.map +1 -1
  419. package/lib/components/Footer/Footer.js +1 -1
  420. package/lib/components/Footer/Footer.js.map +1 -1
  421. package/lib/components/Footer/Footer.mobile.js +2 -3
  422. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  423. package/lib/components/Footer/FooterContent.d.ts +9 -1
  424. package/lib/components/Footer/FooterDataProps.d.ts +2 -2
  425. package/lib/components/GracePeriod/GracePeriod.js +1 -1
  426. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  427. package/lib/components/Header/Header.js +1 -1
  428. package/lib/components/Header/Header.js.map +1 -1
  429. package/lib/components/Header/Header.mobile.js +1 -1
  430. package/lib/components/Header/Header.mobile.js.map +1 -1
  431. package/lib/components/Headline/Headline.js +2 -3
  432. package/lib/components/Headline/Headline.js.map +1 -1
  433. package/lib/components/Headline/HeadlineContent.d.ts +0 -2
  434. package/lib/components/Headline/headlineVersionStyles.js +9 -9
  435. package/lib/components/Headline/headlineVersionStyles.js.map +1 -1
  436. package/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
  437. package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  438. package/lib/components/ImgBlock/ImgBlock.js +1 -1
  439. package/lib/components/ImgBlock/ImgBlock.js.map +1 -1
  440. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
  441. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  442. package/lib/components/InvestmentInfo/InvestmentInfo.js +3 -3
  443. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  444. package/lib/components/LinkDocs/LinkDocs.js +1 -1
  445. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  446. package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -2
  447. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  448. package/lib/components/MobileAppTile/MobileAppTile.fixture.mobile.d.ts +1 -0
  449. package/lib/components/MobileAppTile/MobileAppTile.js +6 -12
  450. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  451. package/lib/components/MobileAppTile/renderButtonSection.d.ts +0 -0
  452. package/lib/components/MobileAppTile/renderButtonSection.js +1 -0
  453. package/lib/components/MobileAppTile/renderButtonSection.js.map +1 -0
  454. package/lib/components/MobileAppTile/renderDescription.d.ts +1 -0
  455. package/lib/components/MobileAppTile/renderDescription.js +4 -0
  456. package/lib/components/MobileAppTile/renderDescription.js.map +1 -0
  457. package/lib/components/MobileAppTile/renderList.d.ts +1 -0
  458. package/lib/components/MobileAppTile/renderList.js +6 -0
  459. package/lib/components/MobileAppTile/renderList.js.map +1 -0
  460. package/lib/components/MortgageFiltration/MortgageFiltration.js +1 -1
  461. package/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
  462. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
  463. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  464. package/lib/components/ParagraphBlock/ParagraphBlock.js +1 -1
  465. package/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  466. package/lib/components/PictureText/PictureText.fixture.mobile.d.ts +14 -0
  467. package/lib/components/PictureText/PictureText.js +4 -15
  468. package/lib/components/PictureText/PictureText.js.map +1 -1
  469. package/lib/components/PictureText/PictureTextContent.d.ts +2 -6
  470. package/lib/components/PictureText/renderInsuranceSumMonth.d.ts +1 -0
  471. package/lib/components/PictureText/renderInsuranceSumMonth.js +6 -0
  472. package/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
  473. package/lib/components/Placeholder/Placeholder.js +1 -6
  474. package/lib/components/Placeholder/Placeholder.js.map +1 -1
  475. package/lib/components/ProductBlock/ProductBlock.js +3 -3
  476. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  477. package/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -22
  478. package/lib/components/ProductGallery/ProductGallery.js +2 -2
  479. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  480. package/lib/components/ProductGallery/ProductGallery.mobile.js +5 -6
  481. package/lib/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
  482. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  483. package/lib/components/ProductTile/ProductTile.js +1 -2
  484. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  485. package/lib/components/PromoTile/PromoTile.js +2 -5
  486. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  487. package/lib/components/PromoTile/PromoTileContent.d.ts +2 -3
  488. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  489. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  490. package/lib/components/RichTextBlock/RichTextBlock.js +1 -1
  491. package/lib/components/RichTextBlock/RichTextBlock.js.map +1 -1
  492. package/lib/components/RollupItem/RollupItem.fixture.mobile.d.ts +1 -0
  493. package/lib/components/RollupItem/RollupItem.js +14 -9
  494. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  495. package/lib/components/RollupItem/RollupItemContent.d.ts +4 -2
  496. package/lib/components/RollupItem/renderRoundedIcon.d.ts +3 -0
  497. package/lib/components/RollupItem/renderRoundedIcon.js +3 -0
  498. package/lib/components/RollupItem/renderRoundedIcon.js.map +1 -0
  499. package/lib/components/RollupItem/renderRoundedIcon.mobile.d.ts +3 -0
  500. package/lib/components/RollupItem/renderRoundedIcon.mobile.js +4 -0
  501. package/lib/components/RollupItem/renderRoundedIcon.mobile.js.map +1 -0
  502. package/lib/components/SafeDepositRental/SafeDepositRental.js +2 -2
  503. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  504. package/lib/components/StepsBlock/StepsBlock.js +1 -1
  505. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  506. package/lib/components/StepsBlock/StepsBlock.mobile.js +1 -1
  507. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  508. package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +1 -3
  509. package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
  510. package/lib/components/Tabs/Tabs.js +1 -1
  511. package/lib/components/Tabs/Tabs.js.map +1 -1
  512. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +3 -6
  513. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  514. package/lib/components/TariffsTable/TableTileHeader.js +2 -2
  515. package/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  516. package/lib/components/TariffsTable/TariffsTable.js +2 -1
  517. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  518. package/lib/components/TariffsTable/TariffsTable.mobile.js +3 -3
  519. package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  520. package/lib/components/TariffsTable/TariffsTableHorizontal.js +1 -1
  521. package/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  522. package/lib/components/TariffsTable/TariffsTableTileCell.js +2 -2
  523. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  524. package/lib/components/TextBlock/TextBlock.js +1 -3
  525. package/lib/components/TextBlock/TextBlock.js.map +1 -1
  526. package/lib/components/Tile/Tile.js +3 -15
  527. package/lib/components/Tile/Tile.js.map +1 -1
  528. package/lib/components/Tile/TileContent.d.ts +2 -13
  529. package/lib/components/VerticalLayout/VerticalLayout.js +1 -1
  530. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  531. package/lib/components/Video/Video.js +1 -2
  532. package/lib/components/Video/Video.js.map +1 -1
  533. package/lib/content-page-repository/transformDocumentLink.js +1 -1
  534. package/lib/content-page-repository/transformDocumentLink.js.map +1 -1
  535. package/lib/content-page-repository/transformImg.js +1 -1
  536. package/lib/content-page-repository/transformImg.js.map +1 -1
  537. package/lib/model/Align.d.ts +5 -0
  538. package/lib/model/Align.js +2 -0
  539. package/lib/model/Align.js.map +1 -0
  540. package/lib/model/AlignText.d.ts +3 -0
  541. package/lib/model/AlignText.js +3 -0
  542. package/lib/model/AlignText.js.map +1 -1
  543. package/lib/model/AlignType.d.ts +2 -0
  544. package/lib/model/HeadlineType.d.ts +8 -1
  545. package/lib/model/JSXBlock.d.ts +12 -5
  546. package/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
  547. package/lib/ui-kit/BaseProductTile/BaseProductTile.js +16 -0
  548. package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -0
  549. package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
  550. package/lib/ui-kit/BaseProductTile/BaseProductTileContent.js +2 -0
  551. package/lib/ui-kit/BaseProductTile/BaseProductTileContent.js.map +1 -0
  552. package/{mobile/bundle/components → lib/ui-kit}/BaseTile/BaseTile.d.ts +2 -0
  553. package/lib/ui-kit/BaseTile/BaseTile.js +11 -0
  554. package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -0
  555. package/lib/ui-kit/BaseTile/getTileRightPadding.js.map +1 -0
  556. package/lib/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
  557. package/lib/ui-kit/BenefitItem/BenefitItem.js +7 -10
  558. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  559. package/lib/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
  560. package/lib/ui-kit/BenefitItem/BenefitItemContent.js +2 -0
  561. package/lib/ui-kit/BenefitItem/BenefitItemContent.js.map +1 -0
  562. package/lib/ui-kit/BenefitItem/borderRadius.mobile.d.ts +1 -0
  563. package/lib/ui-kit/BenefitItem/borderRadius.mobile.js +2 -0
  564. package/lib/ui-kit/BenefitItem/borderRadius.mobile.js.map +1 -0
  565. package/lib/ui-kit/BenefitItem/labelSize.d.ts +1 -0
  566. package/lib/ui-kit/BenefitItem/labelSize.js +2 -0
  567. package/lib/ui-kit/BenefitItem/labelSize.js.map +1 -0
  568. package/lib/ui-kit/BenefitItem/labelSize.mobile.d.ts +1 -0
  569. package/lib/ui-kit/BenefitItem/labelSize.mobile.js +2 -0
  570. package/lib/ui-kit/BenefitItem/labelSize.mobile.js.map +1 -0
  571. package/lib/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
  572. package/lib/ui-kit/BenefitsList/BenefitsList.js +12 -0
  573. package/lib/ui-kit/BenefitsList/BenefitsList.js.map +1 -0
  574. package/lib/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
  575. package/lib/ui-kit/BenefitsList/BenefitsListContent.js +2 -0
  576. package/lib/ui-kit/BenefitsList/BenefitsListContent.js.map +1 -0
  577. package/lib/ui-kit/BenefitsList/renderBenefit.d.ts +3 -0
  578. package/lib/ui-kit/BenefitsList/renderBenefit.js +10 -0
  579. package/lib/ui-kit/BenefitsList/renderBenefit.js.map +1 -0
  580. package/lib/ui-kit/BlockWrapper.js +3 -3
  581. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  582. package/lib/ui-kit/Button/ButtonInner.js +1 -1
  583. package/lib/ui-kit/Button/renderButtonsSection.js +2 -2
  584. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  585. package/lib/ui-kit/Heading/Heading.js +2 -1
  586. package/lib/ui-kit/Heading/Heading.js.map +1 -1
  587. package/lib/ui-kit/Icon/IconProps.d.ts +8 -3
  588. package/lib/ui-kit/Icon/RoundedIcon.d.ts +5 -1
  589. package/lib/ui-kit/Icon/RoundedIcon.js +6 -2
  590. package/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
  591. package/lib/ui-kit/Img/Img.d.ts +2 -1
  592. package/lib/ui-kit/Img/Img.js +10 -1
  593. package/lib/ui-kit/Img/Img.js.map +1 -1
  594. package/lib/ui-kit/Img/ImgAsPicture.js +6 -12
  595. package/lib/ui-kit/Img/ImgAsPicture.js.map +1 -1
  596. package/lib/ui-kit/Img/ImgProps.d.ts +0 -1
  597. package/lib/ui-kit/List/List.js.map +1 -1
  598. package/lib/ui-kit/List/ListContent.d.ts +6 -0
  599. package/lib/ui-kit/List/ListItem.d.ts +1 -1
  600. package/lib/ui-kit/List/ListProps.d.ts +0 -6
  601. package/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
  602. package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  603. package/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
  604. package/lib/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
  605. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  606. package/lib/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
  607. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
  608. package/lib/ui-kit/Tags/Tags.d.ts +2 -2
  609. package/lib/ui-kit/Tags/Tags.js +4 -5
  610. package/lib/ui-kit/Tags/Tags.js.map +1 -1
  611. package/lib/utils/avg.d.ts +1 -0
  612. package/lib/utils/avg.js +3 -0
  613. package/lib/utils/avg.js.map +1 -0
  614. package/lib/utils/deviation.d.ts +1 -0
  615. package/lib/utils/deviation.js +3 -0
  616. package/lib/utils/deviation.js.map +1 -0
  617. package/mobile/bundle/bundle.umd.js +603 -496
  618. package/mobile/bundle/bundle.umd.min.js +1 -1
  619. package/mobile/bundle/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
  620. package/mobile/bundle/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
  621. package/mobile/bundle/components/CarouselCard/CarouselCard.d.ts +1 -1
  622. package/mobile/bundle/components/CarouselCard/getCardWidth.d.ts +1 -0
  623. package/mobile/bundle/components/CarouselCard/titleSize.d.ts +1 -0
  624. package/mobile/bundle/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
  625. package/mobile/bundle/components/Footer/Contacts.d.ts +2 -2
  626. package/mobile/bundle/components/Footer/FooterContent.d.ts +9 -1
  627. package/mobile/bundle/components/Footer/FooterDataProps.d.ts +2 -2
  628. package/mobile/bundle/components/Headline/HeadlineContent.d.ts +0 -2
  629. package/mobile/bundle/components/MobileAppTile/renderDescription.d.ts +2 -0
  630. package/mobile/bundle/components/MobileAppTile/renderList.d.ts +2 -0
  631. package/mobile/bundle/components/PictureText/PictureTextContent.d.ts +2 -6
  632. package/mobile/bundle/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
  633. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -22
  634. package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  635. package/mobile/bundle/components/PromoTile/PromoTileContent.d.ts +2 -3
  636. package/mobile/bundle/components/RollupItem/RollupItemContent.d.ts +4 -2
  637. package/mobile/bundle/components/RollupItem/renderRoundedIcon.d.ts +4 -0
  638. package/mobile/bundle/components/Tile/TileContent.d.ts +2 -13
  639. package/mobile/bundle/model/Align.d.ts +5 -0
  640. package/mobile/bundle/model/AlignText.d.ts +3 -0
  641. package/mobile/bundle/model/AlignType.d.ts +2 -0
  642. package/mobile/bundle/model/HeadlineType.d.ts +8 -1
  643. package/mobile/bundle/model/JSXBlock.d.ts +12 -5
  644. package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
  645. package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
  646. package/{dist/components → mobile/bundle/ui-kit}/BaseTile/BaseTile.d.ts +2 -0
  647. package/mobile/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
  648. package/mobile/bundle/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
  649. package/mobile/bundle/ui-kit/BenefitItem/labelSize.d.ts +1 -0
  650. package/mobile/bundle/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
  651. package/mobile/bundle/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
  652. package/mobile/bundle/ui-kit/BenefitsList/renderBenefit.d.ts +4 -0
  653. package/mobile/bundle/ui-kit/Icon/IconProps.d.ts +8 -3
  654. package/mobile/bundle/ui-kit/Icon/RoundedIcon.d.ts +5 -1
  655. package/mobile/bundle/ui-kit/Img/ImgProps.d.ts +0 -1
  656. package/mobile/bundle/ui-kit/List/ListContent.d.ts +6 -0
  657. package/mobile/bundle/ui-kit/List/ListItem.d.ts +1 -1
  658. package/mobile/bundle/ui-kit/List/ListProps.d.ts +0 -6
  659. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
  660. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
  661. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
  662. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
  663. package/mobile/bundle/ui-kit/Tags/Tags.d.ts +2 -2
  664. package/mobile/bundle/utils/avg.d.ts +1 -0
  665. package/mobile/bundle/utils/deviation.d.ts +1 -0
  666. package/mobile/dist/components/ApplicationForm/ApplicationForm.js +1 -2
  667. package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  668. package/mobile/dist/components/ApplicationForm/ResponseNotification.js +1 -1
  669. package/mobile/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
  670. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +3 -2
  671. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  672. package/mobile/dist/components/Blocks.js +6 -0
  673. package/mobile/dist/components/Blocks.js.map +1 -1
  674. package/mobile/dist/components/Bonus/Bonus.js +2 -2
  675. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  676. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  677. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  678. package/mobile/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  679. package/mobile/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  680. package/mobile/dist/components/BusinessBlock/BusinessCard.js +1 -1
  681. package/mobile/dist/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
  682. package/mobile/dist/components/ButtonsBlock/ButtonsBlock.js +9 -0
  683. package/mobile/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
  684. package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
  685. package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.js +2 -0
  686. package/mobile/dist/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
  687. package/mobile/dist/components/Calculator/Calculator.js +1 -1
  688. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  689. package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
  690. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  691. package/mobile/dist/components/Carousel/Carousel.js +1 -1
  692. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  693. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  694. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  695. package/mobile/dist/components/CarouselCard/CarouselCard.d.ts +1 -1
  696. package/mobile/dist/components/CarouselCard/CarouselCard.js +9 -7
  697. package/mobile/dist/components/CarouselCard/CarouselCard.js.map +1 -1
  698. package/mobile/dist/components/CarouselCard/getCardWidth.d.ts +1 -0
  699. package/mobile/dist/components/CarouselCard/getCardWidth.js +18 -0
  700. package/mobile/dist/components/CarouselCard/getCardWidth.js.map +1 -0
  701. package/mobile/dist/components/CarouselCard/titleSize.d.ts +1 -0
  702. package/mobile/dist/components/CarouselCard/titleSize.js +4 -0
  703. package/mobile/dist/components/CarouselCard/titleSize.js.map +1 -0
  704. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -1
  705. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  706. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js +1 -1
  707. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  708. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -2
  709. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  710. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +3 -4
  711. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  712. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
  713. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +6 -6
  714. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  715. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  716. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  717. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  718. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  719. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
  720. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  721. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
  722. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  723. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +3 -2
  724. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  725. package/mobile/dist/components/DepositFiltration/DepositFiltration.js +1 -1
  726. package/mobile/dist/components/DepositFiltration/DepositFiltration.js.map +1 -1
  727. package/mobile/dist/components/ErrorBlock/ErrorBlock.js +1 -1
  728. package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  729. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +2 -2
  730. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
  731. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  732. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  733. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +3 -2
  734. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  735. package/mobile/dist/components/Footer/Contacts.d.ts +2 -2
  736. package/mobile/dist/components/Footer/Contacts.js +4 -5
  737. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  738. package/mobile/dist/components/Footer/Footer.js +2 -3
  739. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  740. package/mobile/dist/components/Footer/FooterContent.d.ts +9 -1
  741. package/mobile/dist/components/Footer/FooterDataProps.d.ts +2 -2
  742. package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -1
  743. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  744. package/mobile/dist/components/Header/Header.js +1 -1
  745. package/mobile/dist/components/Header/Header.js.map +1 -1
  746. package/mobile/dist/components/Headline/Headline.js +2 -3
  747. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  748. package/mobile/dist/components/Headline/HeadlineContent.d.ts +0 -2
  749. package/mobile/dist/components/Headline/headlineVersionStyles.js +9 -9
  750. package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -1
  751. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
  752. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  753. package/mobile/dist/components/ImgBlock/ImgBlock.js +1 -1
  754. package/mobile/dist/components/ImgBlock/ImgBlock.js.map +1 -1
  755. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
  756. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  757. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +3 -3
  758. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  759. package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -2
  760. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  761. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +11 -3
  762. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  763. package/mobile/dist/components/MobileAppTile/renderButtonSection.d.ts +0 -0
  764. package/mobile/dist/components/MobileAppTile/renderButtonSection.js +1 -0
  765. package/mobile/dist/components/MobileAppTile/renderButtonSection.js.map +1 -0
  766. package/mobile/dist/components/MobileAppTile/renderDescription.d.ts +2 -0
  767. package/mobile/dist/components/MobileAppTile/renderDescription.js +7 -0
  768. package/mobile/dist/components/MobileAppTile/renderDescription.js.map +1 -0
  769. package/mobile/dist/components/MobileAppTile/renderList.d.ts +2 -0
  770. package/mobile/dist/components/MobileAppTile/renderList.js +9 -0
  771. package/mobile/dist/components/MobileAppTile/renderList.js.map +1 -0
  772. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js +1 -1
  773. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
  774. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
  775. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  776. package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js +1 -1
  777. package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  778. package/mobile/dist/components/PictureText/PictureText.js +3 -14
  779. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  780. package/mobile/dist/components/PictureText/PictureTextContent.d.ts +2 -6
  781. package/mobile/dist/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
  782. package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js +9 -0
  783. package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
  784. package/mobile/dist/components/Placeholder/Placeholder.js +1 -6
  785. package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
  786. package/mobile/dist/components/ProductBlock/ProductBlock.js +3 -3
  787. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  788. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -22
  789. package/mobile/dist/components/ProductGallery/ProductGallery.js +5 -6
  790. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  791. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  792. package/mobile/dist/components/ProductTile/ProductTile.js +1 -2
  793. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  794. package/mobile/dist/components/PromoTile/PromoTile.js +2 -5
  795. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  796. package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +2 -3
  797. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  798. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  799. package/mobile/dist/components/RichTextBlock/RichTextBlock.js +1 -1
  800. package/mobile/dist/components/RichTextBlock/RichTextBlock.js.map +1 -1
  801. package/mobile/dist/components/RollupItem/RollupItem.js +14 -9
  802. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  803. package/mobile/dist/components/RollupItem/RollupItemContent.d.ts +4 -2
  804. package/mobile/dist/components/RollupItem/renderRoundedIcon.d.ts +4 -0
  805. package/mobile/dist/components/RollupItem/renderRoundedIcon.js +7 -0
  806. package/mobile/dist/components/RollupItem/renderRoundedIcon.js.map +1 -0
  807. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +2 -2
  808. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  809. package/mobile/dist/components/StepsBlock/StepsBlock.js +1 -1
  810. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  811. package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +1 -3
  812. package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
  813. package/mobile/dist/components/Tabs/Tabs.js +1 -1
  814. package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
  815. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +3 -6
  816. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  817. package/mobile/dist/components/TariffsTable/TableTileHeader.js +2 -2
  818. package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  819. package/mobile/dist/components/TariffsTable/TariffsTable.js +3 -3
  820. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  821. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js +1 -1
  822. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  823. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +2 -2
  824. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  825. package/mobile/dist/components/TextBlock/TextBlock.js +1 -3
  826. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  827. package/mobile/dist/components/Tile/Tile.js +2 -14
  828. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  829. package/mobile/dist/components/Tile/TileContent.d.ts +2 -13
  830. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +1 -1
  831. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  832. package/mobile/dist/components/Video/Video.js +1 -2
  833. package/mobile/dist/components/Video/Video.js.map +1 -1
  834. package/mobile/dist/content-page-repository/transformDocumentLink.js +1 -1
  835. package/mobile/dist/content-page-repository/transformDocumentLink.js.map +1 -1
  836. package/mobile/dist/content-page-repository/transformImg.js +1 -1
  837. package/mobile/dist/content-page-repository/transformImg.js.map +1 -1
  838. package/mobile/dist/model/Align.d.ts +5 -0
  839. package/mobile/dist/{ui-kit/BenefitItem/BenefitItemProps.js → model/Align.js} +1 -1
  840. package/mobile/dist/model/Align.js.map +1 -0
  841. package/mobile/dist/model/AlignText.d.ts +3 -0
  842. package/mobile/dist/model/AlignText.js +3 -0
  843. package/mobile/dist/model/AlignText.js.map +1 -1
  844. package/mobile/dist/model/AlignType.d.ts +2 -0
  845. package/mobile/dist/model/HeadlineType.d.ts +8 -1
  846. package/mobile/dist/model/JSXBlock.d.ts +12 -5
  847. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
  848. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +18 -0
  849. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -0
  850. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
  851. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.js +2 -0
  852. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.js.map +1 -0
  853. package/mobile/dist/ui-kit/BaseTile/BaseTile.d.ts +14 -0
  854. package/mobile/dist/ui-kit/BaseTile/BaseTile.js +13 -0
  855. package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -0
  856. package/mobile/dist/ui-kit/BaseTile/getTileRightPadding.js.map +1 -0
  857. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
  858. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +7 -10
  859. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  860. package/mobile/dist/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
  861. package/mobile/dist/{components/ButtonBlock/ButtonBlockContent.js → ui-kit/BenefitItem/BenefitItemContent.js} +1 -1
  862. package/mobile/dist/ui-kit/BenefitItem/BenefitItemContent.js.map +1 -0
  863. package/mobile/dist/ui-kit/BenefitItem/labelSize.d.ts +1 -0
  864. package/mobile/dist/ui-kit/BenefitItem/labelSize.js +4 -0
  865. package/mobile/dist/ui-kit/BenefitItem/labelSize.js.map +1 -0
  866. package/mobile/dist/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
  867. package/mobile/dist/ui-kit/BenefitsList/BenefitsList.js +14 -0
  868. package/mobile/dist/ui-kit/BenefitsList/BenefitsList.js.map +1 -0
  869. package/mobile/dist/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
  870. package/mobile/dist/ui-kit/BenefitsList/BenefitsListContent.js +2 -0
  871. package/mobile/dist/ui-kit/BenefitsList/BenefitsListContent.js.map +1 -0
  872. package/mobile/dist/ui-kit/BenefitsList/renderBenefit.d.ts +4 -0
  873. package/mobile/dist/ui-kit/BenefitsList/renderBenefit.js +13 -0
  874. package/mobile/dist/ui-kit/BenefitsList/renderBenefit.js.map +1 -0
  875. package/mobile/dist/ui-kit/BlockWrapper.js +3 -3
  876. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  877. package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
  878. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +2 -2
  879. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  880. package/mobile/dist/ui-kit/Heading/Heading.js +2 -1
  881. package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -1
  882. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +8 -3
  883. package/mobile/dist/ui-kit/Icon/RoundedIcon.d.ts +5 -1
  884. package/mobile/dist/ui-kit/Icon/RoundedIcon.js +6 -2
  885. package/mobile/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
  886. package/mobile/dist/ui-kit/Img/Img.js +8 -2
  887. package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
  888. package/mobile/dist/ui-kit/Img/ImgAsPicture.js +6 -12
  889. package/mobile/dist/ui-kit/Img/ImgAsPicture.js.map +1 -1
  890. package/mobile/dist/ui-kit/Img/ImgProps.d.ts +0 -1
  891. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  892. package/mobile/dist/ui-kit/List/ListContent.d.ts +6 -0
  893. package/mobile/dist/ui-kit/List/ListItem.d.ts +1 -1
  894. package/mobile/dist/ui-kit/List/ListProps.d.ts +0 -6
  895. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
  896. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  897. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
  898. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
  899. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  900. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
  901. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
  902. package/mobile/dist/ui-kit/Tags/Tags.d.ts +2 -2
  903. package/mobile/dist/ui-kit/Tags/Tags.js +4 -5
  904. package/mobile/dist/ui-kit/Tags/Tags.js.map +1 -1
  905. package/mobile/dist/utils/avg.d.ts +1 -0
  906. package/mobile/dist/utils/avg.js +6 -0
  907. package/mobile/dist/utils/avg.js.map +1 -0
  908. package/mobile/dist/utils/deviation.d.ts +1 -0
  909. package/mobile/dist/utils/deviation.js +6 -0
  910. package/mobile/dist/utils/deviation.js.map +1 -0
  911. package/mobile/lib/common.css +1 -1
  912. package/mobile/lib/components/ApplicationForm/ApplicationForm.js +1 -2
  913. package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  914. package/mobile/lib/components/ApplicationForm/ResponseNotification.js +1 -1
  915. package/mobile/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
  916. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +3 -2
  917. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  918. package/mobile/lib/components/Blocks.js +6 -0
  919. package/mobile/lib/components/Blocks.js.map +1 -1
  920. package/mobile/lib/components/Bonus/Bonus.js +2 -2
  921. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  922. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  923. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  924. package/mobile/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  925. package/mobile/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  926. package/mobile/lib/components/BusinessBlock/BusinessCard.js +1 -1
  927. package/mobile/lib/components/ButtonsBlock/ButtonsBlock.d.ts +6 -0
  928. package/mobile/lib/components/{ButtonBlock/ButtonBlock.js → ButtonsBlock/ButtonsBlock.js} +2 -2
  929. package/mobile/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -0
  930. package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.d.ts +8 -0
  931. package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.js +2 -0
  932. package/mobile/lib/components/ButtonsBlock/ButtonsBlockContent.js.map +1 -0
  933. package/mobile/lib/components/Calculator/Calculator.js +1 -1
  934. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  935. package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
  936. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  937. package/mobile/lib/components/Carousel/Carousel.js +1 -1
  938. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  939. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  940. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  941. package/mobile/lib/components/CarouselCard/CarouselCard.d.ts +1 -1
  942. package/mobile/lib/components/CarouselCard/CarouselCard.js +9 -7
  943. package/mobile/lib/components/CarouselCard/CarouselCard.js.map +1 -1
  944. package/mobile/lib/components/CarouselCard/getCardWidth.d.ts +1 -0
  945. package/mobile/lib/components/CarouselCard/getCardWidth.js +15 -0
  946. package/mobile/lib/components/CarouselCard/getCardWidth.js.map +1 -0
  947. package/mobile/lib/components/CarouselCard/titleSize.d.ts +1 -0
  948. package/mobile/lib/components/CarouselCard/titleSize.js +2 -0
  949. package/mobile/lib/components/CarouselCard/titleSize.js.map +1 -0
  950. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -1
  951. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  952. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js +1 -1
  953. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  954. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -2
  955. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  956. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +3 -4
  957. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  958. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
  959. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +6 -6
  960. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  961. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  962. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  963. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  964. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  965. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
  966. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  967. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
  968. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  969. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +3 -2
  970. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  971. package/mobile/lib/components/DepositFiltration/DepositFiltration.js +1 -1
  972. package/mobile/lib/components/DepositFiltration/DepositFiltration.js.map +1 -1
  973. package/mobile/lib/components/ErrorBlock/ErrorBlock.js +1 -1
  974. package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  975. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +2 -2
  976. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
  977. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  978. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  979. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +3 -2
  980. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  981. package/mobile/lib/components/Footer/Contacts.d.ts +2 -2
  982. package/mobile/lib/components/Footer/Contacts.js +4 -5
  983. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  984. package/mobile/lib/components/Footer/Footer.js +2 -3
  985. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  986. package/mobile/lib/components/Footer/FooterContent.d.ts +9 -1
  987. package/mobile/lib/components/Footer/FooterDataProps.d.ts +2 -2
  988. package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -1
  989. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  990. package/mobile/lib/components/Header/Header.js +1 -1
  991. package/mobile/lib/components/Header/Header.js.map +1 -1
  992. package/mobile/lib/components/Headline/Headline.js +2 -3
  993. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  994. package/mobile/lib/components/Headline/HeadlineContent.d.ts +0 -2
  995. package/mobile/lib/components/Headline/headlineVersionStyles.js +9 -9
  996. package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -1
  997. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
  998. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  999. package/mobile/lib/components/ImgBlock/ImgBlock.js +1 -1
  1000. package/mobile/lib/components/ImgBlock/ImgBlock.js.map +1 -1
  1001. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
  1002. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  1003. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +3 -3
  1004. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  1005. package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -2
  1006. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  1007. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +11 -3
  1008. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  1009. package/mobile/lib/components/MobileAppTile/renderButtonSection.d.ts +0 -0
  1010. package/mobile/lib/components/MobileAppTile/renderButtonSection.js +1 -0
  1011. package/mobile/lib/components/MobileAppTile/renderButtonSection.js.map +1 -0
  1012. package/mobile/lib/components/MobileAppTile/renderDescription.d.ts +2 -0
  1013. package/mobile/lib/components/MobileAppTile/renderDescription.js +4 -0
  1014. package/mobile/lib/components/MobileAppTile/renderDescription.js.map +1 -0
  1015. package/mobile/lib/components/MobileAppTile/renderList.d.ts +2 -0
  1016. package/mobile/lib/components/MobileAppTile/renderList.js +6 -0
  1017. package/mobile/lib/components/MobileAppTile/renderList.js.map +1 -0
  1018. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js +1 -1
  1019. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
  1020. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
  1021. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  1022. package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js +1 -1
  1023. package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  1024. package/mobile/lib/components/PictureText/PictureText.js +4 -15
  1025. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  1026. package/mobile/lib/components/PictureText/PictureTextContent.d.ts +2 -6
  1027. package/mobile/lib/components/PictureText/renderInsuranceSumMonth.d.ts +2 -0
  1028. package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js +6 -0
  1029. package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -0
  1030. package/mobile/lib/components/Placeholder/Placeholder.js +1 -6
  1031. package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
  1032. package/mobile/lib/components/ProductBlock/ProductBlock.js +3 -3
  1033. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  1034. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -22
  1035. package/mobile/lib/components/ProductGallery/ProductGallery.js +5 -6
  1036. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  1037. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  1038. package/mobile/lib/components/ProductTile/ProductTile.js +1 -2
  1039. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  1040. package/mobile/lib/components/PromoTile/PromoTile.js +2 -5
  1041. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  1042. package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +2 -3
  1043. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  1044. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  1045. package/mobile/lib/components/RichTextBlock/RichTextBlock.js +1 -1
  1046. package/mobile/lib/components/RichTextBlock/RichTextBlock.js.map +1 -1
  1047. package/mobile/lib/components/RollupItem/RollupItem.js +14 -9
  1048. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  1049. package/mobile/lib/components/RollupItem/RollupItemContent.d.ts +4 -2
  1050. package/mobile/lib/components/RollupItem/renderRoundedIcon.d.ts +4 -0
  1051. package/mobile/lib/components/RollupItem/renderRoundedIcon.js +4 -0
  1052. package/mobile/lib/components/RollupItem/renderRoundedIcon.js.map +1 -0
  1053. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +2 -2
  1054. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  1055. package/mobile/lib/components/StepsBlock/StepsBlock.js +1 -1
  1056. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  1057. package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +1 -3
  1058. package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
  1059. package/mobile/lib/components/Tabs/Tabs.js +1 -1
  1060. package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
  1061. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +3 -6
  1062. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  1063. package/mobile/lib/components/TariffsTable/TableTileHeader.js +2 -2
  1064. package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  1065. package/mobile/lib/components/TariffsTable/TariffsTable.js +3 -3
  1066. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  1067. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js +1 -1
  1068. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  1069. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +2 -2
  1070. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  1071. package/mobile/lib/components/TextBlock/TextBlock.js +1 -3
  1072. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  1073. package/mobile/lib/components/Tile/Tile.js +3 -15
  1074. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  1075. package/mobile/lib/components/Tile/TileContent.d.ts +2 -13
  1076. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +1 -1
  1077. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  1078. package/mobile/lib/components/Video/Video.js +1 -2
  1079. package/mobile/lib/components/Video/Video.js.map +1 -1
  1080. package/mobile/lib/content-page-repository/transformDocumentLink.js +1 -1
  1081. package/mobile/lib/content-page-repository/transformDocumentLink.js.map +1 -1
  1082. package/mobile/lib/content-page-repository/transformImg.js +1 -1
  1083. package/mobile/lib/content-page-repository/transformImg.js.map +1 -1
  1084. package/mobile/lib/model/Align.d.ts +5 -0
  1085. package/mobile/lib/model/Align.js +2 -0
  1086. package/mobile/lib/model/Align.js.map +1 -0
  1087. package/mobile/lib/model/AlignText.d.ts +3 -0
  1088. package/mobile/lib/model/AlignText.js +3 -0
  1089. package/mobile/lib/model/AlignText.js.map +1 -1
  1090. package/mobile/lib/model/AlignType.d.ts +2 -0
  1091. package/mobile/lib/model/HeadlineType.d.ts +8 -1
  1092. package/mobile/lib/model/JSXBlock.d.ts +12 -5
  1093. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
  1094. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +16 -0
  1095. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -0
  1096. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
  1097. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.js +2 -0
  1098. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.js.map +1 -0
  1099. package/mobile/lib/ui-kit/BaseTile/BaseTile.d.ts +14 -0
  1100. package/mobile/lib/ui-kit/BaseTile/BaseTile.js +11 -0
  1101. package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -0
  1102. package/mobile/lib/ui-kit/BaseTile/getTileRightPadding.js.map +1 -0
  1103. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
  1104. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +7 -10
  1105. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  1106. package/mobile/lib/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
  1107. package/mobile/lib/ui-kit/BenefitItem/BenefitItemContent.js +2 -0
  1108. package/mobile/lib/ui-kit/BenefitItem/BenefitItemContent.js.map +1 -0
  1109. package/mobile/lib/ui-kit/BenefitItem/labelSize.d.ts +1 -0
  1110. package/mobile/lib/ui-kit/BenefitItem/labelSize.js +2 -0
  1111. package/mobile/lib/ui-kit/BenefitItem/labelSize.js.map +1 -0
  1112. package/mobile/lib/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
  1113. package/mobile/lib/ui-kit/BenefitsList/BenefitsList.js +12 -0
  1114. package/mobile/lib/ui-kit/BenefitsList/BenefitsList.js.map +1 -0
  1115. package/mobile/lib/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
  1116. package/mobile/lib/ui-kit/BenefitsList/BenefitsListContent.js +2 -0
  1117. package/mobile/lib/ui-kit/BenefitsList/BenefitsListContent.js.map +1 -0
  1118. package/mobile/lib/ui-kit/BenefitsList/renderBenefit.d.ts +4 -0
  1119. package/mobile/lib/ui-kit/BenefitsList/renderBenefit.js +10 -0
  1120. package/mobile/lib/ui-kit/BenefitsList/renderBenefit.js.map +1 -0
  1121. package/mobile/lib/ui-kit/BlockWrapper.js +3 -3
  1122. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  1123. package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
  1124. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +2 -2
  1125. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  1126. package/mobile/lib/ui-kit/Heading/Heading.js +2 -1
  1127. package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -1
  1128. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +8 -3
  1129. package/mobile/lib/ui-kit/Icon/RoundedIcon.d.ts +5 -1
  1130. package/mobile/lib/ui-kit/Icon/RoundedIcon.js +6 -2
  1131. package/mobile/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
  1132. package/mobile/lib/ui-kit/Img/Img.js +8 -2
  1133. package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
  1134. package/mobile/lib/ui-kit/Img/ImgAsPicture.js +6 -12
  1135. package/mobile/lib/ui-kit/Img/ImgAsPicture.js.map +1 -1
  1136. package/mobile/lib/ui-kit/Img/ImgProps.d.ts +0 -1
  1137. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  1138. package/mobile/lib/ui-kit/List/ListContent.d.ts +6 -0
  1139. package/mobile/lib/ui-kit/List/ListItem.d.ts +1 -1
  1140. package/mobile/lib/ui-kit/List/ListProps.d.ts +0 -6
  1141. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
  1142. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  1143. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
  1144. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
  1145. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  1146. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
  1147. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
  1148. package/mobile/lib/ui-kit/Tags/Tags.d.ts +2 -2
  1149. package/mobile/lib/ui-kit/Tags/Tags.js +4 -5
  1150. package/mobile/lib/ui-kit/Tags/Tags.js.map +1 -1
  1151. package/mobile/lib/utils/avg.d.ts +1 -0
  1152. package/mobile/lib/utils/avg.js +3 -0
  1153. package/mobile/lib/utils/avg.js.map +1 -0
  1154. package/mobile/lib/utils/deviation.d.ts +1 -0
  1155. package/mobile/lib/utils/deviation.js +3 -0
  1156. package/mobile/lib/utils/deviation.js.map +1 -0
  1157. package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +1 -2
  1158. package/mobile/src/components/ApplicationForm/ResponseNotification.tsx +1 -1
  1159. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +7 -2
  1160. package/mobile/src/components/Blocks.ts +6 -0
  1161. package/mobile/src/components/Bonus/Bonus.tsx +2 -2
  1162. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -1
  1163. package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +8 -10
  1164. package/mobile/src/components/BusinessBlock/BusinessCard.tsx +1 -1
  1165. package/mobile/src/components/ButtonsBlock/ButtonsBlock.example.json +14 -0
  1166. package/mobile/src/components/{ButtonBlock/ButtonBlock.tsx → ButtonsBlock/ButtonsBlock.tsx} +5 -5
  1167. package/mobile/src/components/ButtonsBlock/ButtonsBlock.ui.json +14 -0
  1168. package/mobile/src/components/ButtonsBlock/ButtonsBlockContent.ts +9 -0
  1169. package/mobile/src/components/Calculator/Calculator.tsx +2 -1
  1170. package/mobile/src/components/CardTransfer/CardTransfer.tsx +14 -4
  1171. package/mobile/src/components/Carousel/Carousel.tsx +1 -8
  1172. package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
  1173. package/mobile/src/components/CarouselCard/CarouselCard.tsx +16 -12
  1174. package/mobile/src/components/CarouselCard/getCardWidth.tsx +16 -0
  1175. package/mobile/src/components/CarouselCard/titleSize.tsx +1 -0
  1176. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +5 -1
  1177. package/mobile/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -1
  1178. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +9 -4
  1179. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +24 -24
  1180. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +11 -11
  1181. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +5 -1
  1182. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +2 -1
  1183. package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +1 -1
  1184. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -5
  1185. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +9 -3
  1186. package/mobile/src/components/DepositFiltration/DepositFiltration.example.json +1 -1
  1187. package/mobile/src/components/DepositFiltration/DepositFiltration.tsx +6 -1
  1188. package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +2 -5
  1189. package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +4 -7
  1190. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +1 -1
  1191. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +8 -8
  1192. package/mobile/src/components/Footer/Contacts.tsx +20 -12
  1193. package/mobile/src/components/Footer/Footer.tsx +2 -3
  1194. package/mobile/src/components/Footer/FooterContent.ts +10 -1
  1195. package/mobile/src/components/Footer/FooterDataProps.ts +2 -2
  1196. package/mobile/src/components/GracePeriod/GracePeriod.tsx +1 -1
  1197. package/mobile/src/components/Header/Header.tsx +2 -2
  1198. package/mobile/src/components/Headline/Headline.tsx +7 -7
  1199. package/mobile/src/components/Headline/HeadlineContent.ts +2 -4
  1200. package/mobile/src/components/Headline/headlineVersionStyles.ts +9 -9
  1201. package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +2 -7
  1202. package/mobile/src/components/ImgBlock/ImgBlock.tsx +1 -1
  1203. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +3 -1
  1204. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +6 -6
  1205. package/mobile/src/components/LinkDocs/LinkDocs.tsx +1 -3
  1206. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +56 -20
  1207. package/mobile/src/components/MobileAppTile/renderButtonSection.tsx +0 -0
  1208. package/mobile/src/components/MobileAppTile/renderDescription.tsx +10 -0
  1209. package/mobile/src/components/MobileAppTile/renderList.tsx +11 -0
  1210. package/mobile/src/components/MortgageFiltration/MortgageFiltration.example.json +1 -1
  1211. package/mobile/src/components/MortgageFiltration/MortgageFiltration.tsx +6 -1
  1212. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +2 -1
  1213. package/mobile/src/components/ParagraphBlock/ParagraphBlock.tsx +1 -1
  1214. package/mobile/src/components/PictureText/PictureText.tsx +14 -49
  1215. package/mobile/src/components/PictureText/PictureTextContent.ts +2 -8
  1216. package/mobile/src/components/PictureText/renderInsuranceSumMonth.tsx +21 -0
  1217. package/mobile/src/components/Placeholder/Placeholder.tsx +13 -24
  1218. package/mobile/src/components/ProductBlock/ProductBlock.tsx +4 -3
  1219. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +3 -28
  1220. package/mobile/src/components/ProductGallery/ProductGallery.tsx +19 -26
  1221. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
  1222. package/mobile/src/components/ProductTile/ProductTile.tsx +1 -3
  1223. package/mobile/src/components/PromoTile/PromoTile.tsx +10 -23
  1224. package/mobile/src/components/PromoTile/PromoTileContent.ts +2 -3
  1225. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +1 -5
  1226. package/mobile/src/components/RichTextBlock/RichTextBlock.tsx +1 -1
  1227. package/mobile/src/components/RollupItem/RollupItem.tsx +27 -19
  1228. package/mobile/src/components/RollupItem/RollupItem.ui.json +7 -1
  1229. package/mobile/src/components/RollupItem/RollupItemContent.ts +4 -2
  1230. package/mobile/src/components/RollupItem/renderRoundedIcon.tsx +7 -0
  1231. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
  1232. package/mobile/src/components/StepsBlock/StepsBlock.tsx +2 -1
  1233. package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +7 -9
  1234. package/mobile/src/components/Tabs/Tabs.tsx +1 -0
  1235. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +8 -12
  1236. package/mobile/src/components/TariffsTable/TableTileHeader.tsx +3 -3
  1237. package/mobile/src/components/TariffsTable/TariffsTable.tsx +11 -7
  1238. package/mobile/src/components/TariffsTable/TariffsTableHorizontal.tsx +1 -1
  1239. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +3 -4
  1240. package/mobile/src/components/TextBlock/TextBlock.tsx +23 -28
  1241. package/mobile/src/components/Tile/Tile.tsx +10 -64
  1242. package/mobile/src/components/Tile/TileContent.ts +2 -20
  1243. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +1 -1
  1244. package/mobile/src/components/Video/Video.tsx +2 -3
  1245. package/mobile/src/content-page-repository/transformDocumentLink.ts +1 -1
  1246. package/mobile/src/content-page-repository/transformImg.ts +1 -1
  1247. package/mobile/src/model/Align.ts +5 -0
  1248. package/mobile/src/model/AlignText.ts +3 -0
  1249. package/mobile/src/model/AlignType.ts +2 -0
  1250. package/mobile/src/model/HeadlineType.ts +11 -1
  1251. package/mobile/src/model/JSXBlock.ts +13 -5
  1252. package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +68 -0
  1253. package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +30 -0
  1254. package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +72 -0
  1255. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +22 -18
  1256. package/mobile/src/ui-kit/BenefitItem/BenefitItemContent.ts +19 -0
  1257. package/mobile/src/ui-kit/BenefitItem/labelSize.tsx +1 -0
  1258. package/mobile/src/ui-kit/BenefitsList/BenefitsList.tsx +35 -0
  1259. package/mobile/src/ui-kit/BenefitsList/BenefitsListContent.ts +15 -0
  1260. package/mobile/src/ui-kit/BenefitsList/renderBenefit.tsx +14 -0
  1261. package/mobile/src/ui-kit/BlockWrapper.tsx +17 -5
  1262. package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1263. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +9 -3
  1264. package/mobile/src/ui-kit/Heading/Heading.tsx +4 -1
  1265. package/mobile/src/ui-kit/Icon/IconProps.ts +9 -4
  1266. package/mobile/src/ui-kit/Icon/RoundedIcon.tsx +19 -7
  1267. package/mobile/src/ui-kit/Img/Img.tsx +26 -2
  1268. package/mobile/src/ui-kit/Img/ImgAsPicture.tsx +17 -30
  1269. package/mobile/src/ui-kit/Img/ImgProps.ts +0 -1
  1270. package/mobile/src/ui-kit/List/List.tsx +2 -1
  1271. package/mobile/src/ui-kit/List/ListContent.ts +7 -0
  1272. package/mobile/src/ui-kit/List/ListItem.tsx +1 -1
  1273. package/mobile/src/ui-kit/List/ListProps.ts +0 -7
  1274. package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +4 -2
  1275. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +12 -3
  1276. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlContent.ts +20 -7
  1277. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
  1278. package/mobile/src/ui-kit/Tags/Tags.tsx +15 -13
  1279. package/mobile/src/utils/avg.ts +3 -0
  1280. package/mobile/src/utils/deviation.ts +4 -0
  1281. package/package.json +1 -1
  1282. package/src/components/ApplicationForm/ApplicationForm.tsx +1 -2
  1283. package/src/components/ApplicationForm/ResponseNotification.tsx +1 -1
  1284. package/src/components/BenefitsBlock/BenefitsBlock.tsx +7 -2
  1285. package/src/components/Blocks.mobile.ts +6 -0
  1286. package/src/components/Blocks.ts +2 -2
  1287. package/src/components/Bonus/Bonus.tsx +2 -2
  1288. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -1
  1289. package/src/components/BusinessBlock/BusinessBlock.tsx +8 -10
  1290. package/src/components/BusinessBlock/BusinessCard.tsx +1 -1
  1291. package/src/components/ButtonsBlock/ButtonsBlock.example.json +14 -0
  1292. package/src/components/ButtonsBlock/ButtonsBlock.fixture.mobile.tsx +26 -0
  1293. package/src/components/ButtonsBlock/ButtonsBlock.fixture.tsx +26 -0
  1294. package/src/components/{ButtonBlock/ButtonBlock.tsx → ButtonsBlock/ButtonsBlock.tsx} +5 -5
  1295. package/src/components/ButtonsBlock/ButtonsBlock.ui.json +14 -0
  1296. package/src/components/ButtonsBlock/ButtonsBlockContent.ts +9 -0
  1297. package/src/components/Calculator/Calculator.tsx +2 -1
  1298. package/src/components/CardTransfer/CardTransfer.fixture.mobile.tsx +18 -0
  1299. package/src/components/CardTransfer/CardTransfer.tsx +14 -4
  1300. package/src/components/Carousel/Carousel.tsx +1 -8
  1301. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
  1302. package/src/components/CarouselCard/CarouselCard.fixture.mobile.tsx +28 -0
  1303. package/src/components/CarouselCard/CarouselCard.tsx +16 -12
  1304. package/src/components/CarouselCard/getCardWidth.tsx +16 -0
  1305. package/src/components/CarouselCard/titleSize.mobile.tsx +1 -0
  1306. package/src/components/CarouselCard/titleSize.tsx +1 -0
  1307. package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +5 -1
  1308. package/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -1
  1309. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +9 -4
  1310. package/src/components/CarouselLinks/CarouselLinks.tsx +24 -24
  1311. package/src/components/CarouselProductCard/CarouselProductCard.tsx +11 -11
  1312. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +5 -1
  1313. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.tsx +2 -1
  1314. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +2 -1
  1315. package/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +1 -1
  1316. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -5
  1317. package/src/components/ComparisonTable/ComparisonTable.tsx +6 -1
  1318. package/src/components/ContactsBlock/ContactsBlock.tsx +9 -3
  1319. package/src/components/DepositFiltration/DepositFiltration.example.json +1 -1
  1320. package/src/components/DepositFiltration/DepositFiltration.fixture.tsx +1 -1
  1321. package/src/components/DepositFiltration/DepositFiltration.tsx +6 -1
  1322. package/src/components/ErrorBlock/ErrorBlock.tsx +2 -5
  1323. package/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +4 -7
  1324. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +1 -1
  1325. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +8 -8
  1326. package/src/components/Footer/Contacts.tsx +20 -12
  1327. package/src/components/Footer/Footer.mobile.tsx +2 -3
  1328. package/src/components/Footer/Footer.tsx +2 -2
  1329. package/src/components/Footer/FooterContent.ts +10 -1
  1330. package/src/components/Footer/FooterDataProps.ts +2 -2
  1331. package/src/components/GracePeriod/GracePeriod.tsx +1 -1
  1332. package/src/components/Header/Header.mobile.tsx +2 -2
  1333. package/src/components/Header/Header.tsx +1 -0
  1334. package/src/components/Headline/Headline.tsx +7 -7
  1335. package/src/components/Headline/HeadlineContent.ts +2 -4
  1336. package/src/components/Headline/headlineVersionStyles.ts +9 -9
  1337. package/src/components/HorizontalLayout/HorizontalLayout.tsx +2 -7
  1338. package/src/components/ImgBlock/ImgBlock.tsx +1 -1
  1339. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +3 -1
  1340. package/src/components/InvestmentInfo/InvestmentInfo.tsx +6 -6
  1341. package/src/components/LinkDocs/LinkDocs.mobile.tsx +1 -3
  1342. package/src/components/LinkDocs/LinkDocs.tsx +1 -1
  1343. package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +73 -2
  1344. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +2 -2
  1345. package/src/components/MobileAppTile/MobileAppTile.tsx +23 -41
  1346. package/src/components/MobileAppTile/renderButtonSection.tsx +0 -0
  1347. package/src/components/MobileAppTile/renderDescription.tsx +10 -0
  1348. package/src/components/MobileAppTile/renderList.tsx +11 -0
  1349. package/src/components/MortgageFiltration/MortgageFiltration.example.json +1 -1
  1350. package/src/components/MortgageFiltration/MortgageFiltration.fixture.tsx +1 -1
  1351. package/src/components/MortgageFiltration/MortgageFiltration.tsx +6 -1
  1352. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +2 -1
  1353. package/src/components/ParagraphBlock/ParagraphBlock.tsx +1 -1
  1354. package/src/components/PictureText/PictureText.fixture.mobile.tsx +122 -0
  1355. package/src/components/PictureText/PictureText.tsx +14 -49
  1356. package/src/components/PictureText/PictureTextContent.ts +2 -8
  1357. package/src/components/PictureText/renderInsuranceSumMonth.tsx +21 -0
  1358. package/src/components/Placeholder/Placeholder.tsx +13 -24
  1359. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +5 -2
  1360. package/src/components/ProductBlock/ProductBlock.fixture.tsx +6 -3
  1361. package/src/components/ProductBlock/ProductBlock.tsx +4 -3
  1362. package/src/components/ProductBlock/ProductBlockContent.ts +3 -28
  1363. package/src/components/ProductGallery/ProductGallery.mobile.tsx +19 -26
  1364. package/src/components/ProductGallery/ProductGallery.tsx +8 -4
  1365. package/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
  1366. package/src/components/ProductTile/ProductTile.tsx +1 -3
  1367. package/src/components/PromoTile/PromoTile.tsx +10 -23
  1368. package/src/components/PromoTile/PromoTileContent.ts +2 -3
  1369. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +1 -5
  1370. package/src/components/RichTextBlock/RichTextBlock.tsx +1 -1
  1371. package/src/components/RollupItem/RollupItem.fixture.mobile.tsx +15 -0
  1372. package/src/components/RollupItem/RollupItem.tsx +27 -19
  1373. package/src/components/RollupItem/RollupItem.ui.json +7 -1
  1374. package/src/components/RollupItem/RollupItemContent.ts +4 -2
  1375. package/src/components/RollupItem/renderRoundedIcon.mobile.tsx +7 -0
  1376. package/src/components/RollupItem/renderRoundedIcon.tsx +5 -0
  1377. package/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
  1378. package/src/components/StepsBlock/StepsBlock.mobile.tsx +2 -1
  1379. package/src/components/StepsBlock/StepsBlock.tsx +2 -6
  1380. package/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +7 -9
  1381. package/src/components/Tabs/Tabs.tsx +1 -0
  1382. package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +8 -12
  1383. package/src/components/TariffsTable/TableTileHeader.tsx +3 -3
  1384. package/src/components/TariffsTable/TariffsTable.mobile.tsx +11 -7
  1385. package/src/components/TariffsTable/TariffsTable.tsx +3 -1
  1386. package/src/components/TariffsTable/TariffsTableHorizontal.tsx +1 -1
  1387. package/src/components/TariffsTable/TariffsTableTileCell.tsx +3 -4
  1388. package/src/components/TextBlock/TextBlock.tsx +23 -28
  1389. package/src/components/Tile/Tile.fixture.tsx +1 -6
  1390. package/src/components/Tile/Tile.tsx +10 -64
  1391. package/src/components/Tile/TileContent.ts +2 -20
  1392. package/src/components/VerticalLayout/VerticalLayout.tsx +1 -1
  1393. package/src/components/Video/Video.tsx +2 -3
  1394. package/src/content-page-repository/transformDocumentLink.ts +1 -1
  1395. package/src/content-page-repository/transformImg.ts +1 -1
  1396. package/src/icons/IconName.ts +5 -381
  1397. package/src/model/Align.ts +5 -0
  1398. package/src/model/AlignText.ts +3 -0
  1399. package/src/model/AlignType.ts +2 -0
  1400. package/src/model/HeadlineType.ts +11 -1
  1401. package/src/model/JSXBlock.ts +13 -5
  1402. package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +68 -0
  1403. package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +30 -0
  1404. package/src/ui-kit/BaseTile/BaseTile.tsx +72 -0
  1405. package/src/ui-kit/BenefitItem/BenefitItem.tsx +22 -18
  1406. package/src/ui-kit/BenefitItem/BenefitItemContent.ts +19 -0
  1407. package/src/ui-kit/BenefitItem/borderRadius.mobile.tsx +1 -0
  1408. package/src/ui-kit/BenefitItem/labelSize.mobile.tsx +1 -0
  1409. package/src/ui-kit/BenefitItem/labelSize.tsx +1 -0
  1410. package/src/ui-kit/BenefitsList/BenefitsList.tsx +35 -0
  1411. package/src/ui-kit/BenefitsList/BenefitsListContent.ts +15 -0
  1412. package/src/ui-kit/BenefitsList/renderBenefit.tsx +14 -0
  1413. package/src/ui-kit/BlockWrapper.tsx +17 -5
  1414. package/src/ui-kit/Button/Button.fixture.tsx +1 -1
  1415. package/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1416. package/src/ui-kit/Button/renderButtonsSection.tsx +9 -3
  1417. package/src/ui-kit/Heading/Heading.tsx +4 -1
  1418. package/src/ui-kit/Icon/IconProps.ts +9 -4
  1419. package/src/ui-kit/Icon/RoundedIcon.tsx +19 -7
  1420. package/src/ui-kit/Img/Img.tsx +29 -1
  1421. package/src/ui-kit/Img/ImgAsPicture.tsx +17 -30
  1422. package/src/ui-kit/Img/ImgProps.ts +0 -1
  1423. package/src/ui-kit/List/List.tsx +2 -1
  1424. package/src/ui-kit/List/ListContent.ts +7 -0
  1425. package/src/ui-kit/List/ListItem.tsx +1 -1
  1426. package/src/ui-kit/List/ListProps.ts +0 -7
  1427. package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +4 -2
  1428. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +12 -3
  1429. package/src/ui-kit/SwipeListControl/SwipeListControlContent.ts +20 -7
  1430. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
  1431. package/src/ui-kit/Tags/Tags.tsx +15 -13
  1432. package/src/utils/avg.ts +3 -0
  1433. package/src/utils/deviation.ts +4 -0
  1434. package/tailwind.config.cjs +19 -12
  1435. package/bundle/components/BaseTile/getTileHeadingType.d.ts +0 -1
  1436. package/bundle/components/BaseTile/getTileMinHeight.d.ts +0 -1
  1437. package/bundle/components/ButtonBlock/ButtonBlock.d.ts +0 -6
  1438. package/bundle/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
  1439. package/bundle/components/MobileAppTile/MobileAppTile.mobile.d.ts +0 -5
  1440. package/bundle/components/PictureText/renderBenefit.d.ts +0 -4
  1441. package/bundle/components/ProductBlock/ProductBlockInner.d.ts +0 -4
  1442. package/bundle/components/ProductBlock/renderBenefit.d.ts +0 -5
  1443. package/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
  1444. package/bundle/ui-kit/Img/Img.mobile.d.ts +0 -2
  1445. package/bundle/ui-kit/Img/ImgInner.d.ts +0 -2
  1446. package/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
  1447. package/dist/components/BaseTile/BaseTile.js +0 -8
  1448. package/dist/components/BaseTile/BaseTile.js.map +0 -1
  1449. package/dist/components/BaseTile/getTileHeadingType.d.ts +0 -1
  1450. package/dist/components/BaseTile/getTileHeadingType.js +0 -17
  1451. package/dist/components/BaseTile/getTileHeadingType.js.map +0 -1
  1452. package/dist/components/BaseTile/getTileMinHeight.d.ts +0 -1
  1453. package/dist/components/BaseTile/getTileMinHeight.js +0 -17
  1454. package/dist/components/BaseTile/getTileMinHeight.js.map +0 -1
  1455. package/dist/components/BaseTile/getTileRightPadding.js.map +0 -1
  1456. package/dist/components/ButtonBlock/ButtonBlock.d.ts +0 -6
  1457. package/dist/components/ButtonBlock/ButtonBlock.js +0 -9
  1458. package/dist/components/ButtonBlock/ButtonBlock.js.map +0 -1
  1459. package/dist/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
  1460. package/dist/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
  1461. package/dist/components/MobileAppTile/MobileAppTile.mobile.d.ts +0 -5
  1462. package/dist/components/MobileAppTile/MobileAppTile.mobile.js +0 -10
  1463. package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +0 -1
  1464. package/dist/components/PictureText/renderBenefit.d.ts +0 -4
  1465. package/dist/components/PictureText/renderBenefit.js +0 -26
  1466. package/dist/components/PictureText/renderBenefit.js.map +0 -1
  1467. package/dist/components/ProductBlock/ProductBlockInner.d.ts +0 -4
  1468. package/dist/components/ProductBlock/ProductBlockInner.js +0 -17
  1469. package/dist/components/ProductBlock/ProductBlockInner.js.map +0 -1
  1470. package/dist/components/ProductBlock/renderBenefit.d.ts +0 -5
  1471. package/dist/components/ProductBlock/renderBenefit.js +0 -7
  1472. package/dist/components/ProductBlock/renderBenefit.js.map +0 -1
  1473. package/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
  1474. package/dist/ui-kit/BenefitItem/BenefitItemProps.js.map +0 -1
  1475. package/dist/ui-kit/Img/Img.mobile.d.ts +0 -2
  1476. package/dist/ui-kit/Img/Img.mobile.js +0 -7
  1477. package/dist/ui-kit/Img/Img.mobile.js.map +0 -1
  1478. package/dist/ui-kit/Img/ImgInner.d.ts +0 -2
  1479. package/dist/ui-kit/Img/ImgInner.js +0 -13
  1480. package/dist/ui-kit/Img/ImgInner.js.map +0 -1
  1481. package/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
  1482. package/dist/ui-kit/SwipeListControl/SwipeListControlProps.js.map +0 -1
  1483. package/lib/components/BaseTile/BaseTile.js +0 -6
  1484. package/lib/components/BaseTile/BaseTile.js.map +0 -1
  1485. package/lib/components/BaseTile/getTileHeadingType.d.ts +0 -1
  1486. package/lib/components/BaseTile/getTileHeadingType.js +0 -14
  1487. package/lib/components/BaseTile/getTileHeadingType.js.map +0 -1
  1488. package/lib/components/BaseTile/getTileMinHeight.d.ts +0 -1
  1489. package/lib/components/BaseTile/getTileMinHeight.js +0 -14
  1490. package/lib/components/BaseTile/getTileMinHeight.js.map +0 -1
  1491. package/lib/components/BaseTile/getTileRightPadding.js.map +0 -1
  1492. package/lib/components/ButtonBlock/ButtonBlock.d.ts +0 -6
  1493. package/lib/components/ButtonBlock/ButtonBlock.js.map +0 -1
  1494. package/lib/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
  1495. package/lib/components/ButtonBlock/ButtonBlockContent.js +0 -2
  1496. package/lib/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
  1497. package/lib/components/MobileAppTile/MobileAppTile.mobile.d.ts +0 -5
  1498. package/lib/components/MobileAppTile/MobileAppTile.mobile.js +0 -8
  1499. package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +0 -1
  1500. package/lib/components/PictureText/renderBenefit.d.ts +0 -4
  1501. package/lib/components/PictureText/renderBenefit.js +0 -23
  1502. package/lib/components/PictureText/renderBenefit.js.map +0 -1
  1503. package/lib/components/ProductBlock/ProductBlockInner.d.ts +0 -4
  1504. package/lib/components/ProductBlock/ProductBlockInner.js +0 -15
  1505. package/lib/components/ProductBlock/ProductBlockInner.js.map +0 -1
  1506. package/lib/components/ProductBlock/renderBenefit.d.ts +0 -4
  1507. package/lib/components/ProductBlock/renderBenefit.js +0 -4
  1508. package/lib/components/ProductBlock/renderBenefit.js.map +0 -1
  1509. package/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
  1510. package/lib/ui-kit/BenefitItem/BenefitItemProps.js +0 -2
  1511. package/lib/ui-kit/BenefitItem/BenefitItemProps.js.map +0 -1
  1512. package/lib/ui-kit/Img/Img.mobile.d.ts +0 -2
  1513. package/lib/ui-kit/Img/Img.mobile.js +0 -5
  1514. package/lib/ui-kit/Img/Img.mobile.js.map +0 -1
  1515. package/lib/ui-kit/Img/ImgInner.d.ts +0 -2
  1516. package/lib/ui-kit/Img/ImgInner.js +0 -11
  1517. package/lib/ui-kit/Img/ImgInner.js.map +0 -1
  1518. package/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
  1519. package/lib/ui-kit/SwipeListControl/SwipeListControlProps.js +0 -2
  1520. package/lib/ui-kit/SwipeListControl/SwipeListControlProps.js.map +0 -1
  1521. package/mobile/bundle/components/BaseTile/getTileHeadingType.d.ts +0 -1
  1522. package/mobile/bundle/components/BaseTile/getTileMinHeight.d.ts +0 -1
  1523. package/mobile/bundle/components/ButtonBlock/ButtonBlock.d.ts +0 -6
  1524. package/mobile/bundle/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
  1525. package/mobile/bundle/components/PictureText/renderBenefit.d.ts +0 -4
  1526. package/mobile/bundle/components/ProductBlock/ProductBlockInner.d.ts +0 -4
  1527. package/mobile/bundle/components/ProductBlock/renderBenefit.d.ts +0 -5
  1528. package/mobile/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
  1529. package/mobile/bundle/ui-kit/Img/ImgInner.d.ts +0 -2
  1530. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
  1531. package/mobile/dist/components/BaseTile/BaseTile.d.ts +0 -12
  1532. package/mobile/dist/components/BaseTile/BaseTile.js +0 -8
  1533. package/mobile/dist/components/BaseTile/BaseTile.js.map +0 -1
  1534. package/mobile/dist/components/BaseTile/getTileHeadingType.d.ts +0 -1
  1535. package/mobile/dist/components/BaseTile/getTileHeadingType.js +0 -17
  1536. package/mobile/dist/components/BaseTile/getTileHeadingType.js.map +0 -1
  1537. package/mobile/dist/components/BaseTile/getTileMinHeight.d.ts +0 -1
  1538. package/mobile/dist/components/BaseTile/getTileMinHeight.js +0 -17
  1539. package/mobile/dist/components/BaseTile/getTileMinHeight.js.map +0 -1
  1540. package/mobile/dist/components/BaseTile/getTileRightPadding.js.map +0 -1
  1541. package/mobile/dist/components/ButtonBlock/ButtonBlock.d.ts +0 -6
  1542. package/mobile/dist/components/ButtonBlock/ButtonBlock.js +0 -9
  1543. package/mobile/dist/components/ButtonBlock/ButtonBlock.js.map +0 -1
  1544. package/mobile/dist/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
  1545. package/mobile/dist/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
  1546. package/mobile/dist/components/PictureText/renderBenefit.d.ts +0 -4
  1547. package/mobile/dist/components/PictureText/renderBenefit.js +0 -26
  1548. package/mobile/dist/components/PictureText/renderBenefit.js.map +0 -1
  1549. package/mobile/dist/components/ProductBlock/ProductBlockInner.d.ts +0 -4
  1550. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +0 -17
  1551. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +0 -1
  1552. package/mobile/dist/components/ProductBlock/renderBenefit.d.ts +0 -5
  1553. package/mobile/dist/components/ProductBlock/renderBenefit.js +0 -7
  1554. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +0 -1
  1555. package/mobile/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
  1556. package/mobile/dist/ui-kit/BenefitItem/BenefitItemProps.js.map +0 -1
  1557. package/mobile/dist/ui-kit/Img/ImgInner.d.ts +0 -2
  1558. package/mobile/dist/ui-kit/Img/ImgInner.js +0 -13
  1559. package/mobile/dist/ui-kit/Img/ImgInner.js.map +0 -1
  1560. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
  1561. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.js +0 -2
  1562. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.js.map +0 -1
  1563. package/mobile/lib/components/BaseTile/BaseTile.d.ts +0 -12
  1564. package/mobile/lib/components/BaseTile/BaseTile.js +0 -6
  1565. package/mobile/lib/components/BaseTile/BaseTile.js.map +0 -1
  1566. package/mobile/lib/components/BaseTile/getTileHeadingType.d.ts +0 -1
  1567. package/mobile/lib/components/BaseTile/getTileHeadingType.js +0 -14
  1568. package/mobile/lib/components/BaseTile/getTileHeadingType.js.map +0 -1
  1569. package/mobile/lib/components/BaseTile/getTileMinHeight.d.ts +0 -1
  1570. package/mobile/lib/components/BaseTile/getTileMinHeight.js +0 -14
  1571. package/mobile/lib/components/BaseTile/getTileMinHeight.js.map +0 -1
  1572. package/mobile/lib/components/BaseTile/getTileRightPadding.js.map +0 -1
  1573. package/mobile/lib/components/ButtonBlock/ButtonBlock.d.ts +0 -6
  1574. package/mobile/lib/components/ButtonBlock/ButtonBlock.js.map +0 -1
  1575. package/mobile/lib/components/ButtonBlock/ButtonBlockContent.d.ts +0 -8
  1576. package/mobile/lib/components/ButtonBlock/ButtonBlockContent.js +0 -2
  1577. package/mobile/lib/components/ButtonBlock/ButtonBlockContent.js.map +0 -1
  1578. package/mobile/lib/components/PictureText/renderBenefit.d.ts +0 -4
  1579. package/mobile/lib/components/PictureText/renderBenefit.js +0 -23
  1580. package/mobile/lib/components/PictureText/renderBenefit.js.map +0 -1
  1581. package/mobile/lib/components/ProductBlock/ProductBlockInner.d.ts +0 -4
  1582. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +0 -15
  1583. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +0 -1
  1584. package/mobile/lib/components/ProductBlock/renderBenefit.d.ts +0 -5
  1585. package/mobile/lib/components/ProductBlock/renderBenefit.js +0 -4
  1586. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +0 -1
  1587. package/mobile/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
  1588. package/mobile/lib/ui-kit/BenefitItem/BenefitItemProps.js +0 -2
  1589. package/mobile/lib/ui-kit/BenefitItem/BenefitItemProps.js.map +0 -1
  1590. package/mobile/lib/ui-kit/Img/ImgInner.d.ts +0 -2
  1591. package/mobile/lib/ui-kit/Img/ImgInner.js +0 -11
  1592. package/mobile/lib/ui-kit/Img/ImgInner.js.map +0 -1
  1593. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
  1594. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.js +0 -2
  1595. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.js.map +0 -1
  1596. package/mobile/src/components/BaseTile/BaseTile.tsx +0 -43
  1597. package/mobile/src/components/BaseTile/getTileHeadingType.ts +0 -12
  1598. package/mobile/src/components/BaseTile/getTileMinHeight.ts +0 -12
  1599. package/mobile/src/components/ButtonBlock/ButtonBlock.example.json +0 -12
  1600. package/mobile/src/components/ButtonBlock/ButtonBlock.ui.json +0 -12
  1601. package/mobile/src/components/ButtonBlock/ButtonBlockContent.ts +0 -9
  1602. package/mobile/src/components/PictureText/renderBenefit.tsx +0 -34
  1603. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +0 -63
  1604. package/mobile/src/components/ProductBlock/renderBenefit.tsx +0 -9
  1605. package/mobile/src/ui-kit/BenefitItem/BenefitItemProps.ts +0 -38
  1606. package/mobile/src/ui-kit/Img/ImgInner.tsx +0 -30
  1607. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +0 -31
  1608. package/src/components/BaseTile/BaseTile.tsx +0 -43
  1609. package/src/components/BaseTile/getTileHeadingType.ts +0 -12
  1610. package/src/components/BaseTile/getTileMinHeight.ts +0 -12
  1611. package/src/components/ButtonBlock/ButtonBlock.example.json +0 -12
  1612. package/src/components/ButtonBlock/ButtonBlock.fixture.tsx +0 -19
  1613. package/src/components/ButtonBlock/ButtonBlock.ui.json +0 -12
  1614. package/src/components/ButtonBlock/ButtonBlockContent.ts +0 -9
  1615. package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +0 -33
  1616. package/src/components/PictureText/renderBenefit.tsx +0 -34
  1617. package/src/components/ProductBlock/ProductBlockInner.tsx +0 -63
  1618. package/src/components/ProductBlock/renderBenefit.tsx +0 -9
  1619. package/src/ui-kit/BenefitItem/BenefitItemProps.ts +0 -38
  1620. package/src/ui-kit/Img/Img.mobile.tsx +0 -5
  1621. package/src/ui-kit/Img/ImgInner.tsx +0 -30
  1622. package/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +0 -31
  1623. /package/bundle/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
  1624. /package/dist/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
  1625. /package/dist/{components → ui-kit}/BaseTile/getTileRightPadding.js +0 -0
  1626. /package/lib/components/{ButtonBlock/ButtonBlock.fixture.d.ts → ButtonsBlock/ButtonsBlock.fixture.d.ts} +0 -0
  1627. /package/lib/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
  1628. /package/lib/{components → ui-kit}/BaseTile/getTileRightPadding.js +0 -0
  1629. /package/mobile/bundle/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
  1630. /package/mobile/dist/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
  1631. /package/mobile/dist/{components → ui-kit}/BaseTile/getTileRightPadding.js +0 -0
  1632. /package/mobile/lib/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
  1633. /package/mobile/lib/{components → ui-kit}/BaseTile/getTileRightPadding.js +0 -0
  1634. /package/mobile/src/{components → ui-kit}/BaseTile/getTileRightPadding.ts +0 -0
  1635. /package/src/{components → ui-kit}/BaseTile/getTileRightPadding.ts +0 -0
@@ -337,16 +337,16 @@
337
337
  transparent: 'bg-transparent text-primary-text',
338
338
  '': '',
339
339
  };
340
- const BlockWrapper = JSX(({ className, version = 'primary', isTheme = true, block, tag = 'section', role, children }) => {
340
+ const BlockWrapper = JSX(({ className, version = 'primary', isTheme = true, defaultPadding = 'p-m', padding, block, tag = 'section', role, children, }) => {
341
341
  const Tag = tag;
342
342
  const ref = useBlockIntersectionObserver(block);
343
343
  const [isHidden, setHidden] = useState(false);
344
344
  useEffect(() => defaultEventBus.subscribe('tab', (event) => {
345
345
  setHidden(Boolean(event.label && block?.labels?.length && !block.labels.includes(event.label)));
346
346
  }), [block]);
347
- return (jsx(Tag, { className: style(groupStyle(Boolean(version && isTheme)), blockStyles[version], isHidden ? 'hidden' : '', className), ...(version && isTheme ? { 'data-ver': version } : {}), ...(block?.anchor ? { id: block.anchor, ref } : {}), role: role, children: children }));
347
+ const isGroup = version && isTheme;
348
+ return (jsx(Tag, { className: style('font-sans', isGroup ? 'group' : '', blockStyles[version], isHidden ? 'hidden' : '', padding || defaultPadding, className), ...(isGroup ? { 'data-ver': version } : {}), ...(block?.anchor ? { id: block.anchor, ref } : {}), role: role, children: children }));
348
349
  });
349
- const groupStyle = (isGroup) => (isGroup ? 'group' : '');
350
350
 
351
351
  const headingTag = (tag) => tag;
352
352
 
@@ -361,7 +361,7 @@
361
361
  };
362
362
  const Heading = JSX(({ className = '', headingType = 'h3', as = 'h3', title, children }) => {
363
363
  const Tag = headingTag(as);
364
- return (jsx(Tag, { className: `font-sans m-0 ${styles$4[headingType]} ${className}`, children: title || children }));
364
+ return (jsx(Tag, { className: style('font-sans m-0', styles$4[headingType], className), children: title || children }));
365
365
  });
366
366
 
367
367
  const identity = (_) => _;
@@ -626,7 +626,7 @@
626
626
  if (version === 'link') {
627
627
  return '';
628
628
  }
629
- const withTextStyle = `${aboveText ? 'py-2.5 px-7' : 'py-4 px-4'}`;
629
+ const withTextStyle = `${aboveText ? 'py-2.5 px-9' : 'py-4 px-9'}`;
630
630
  return [
631
631
  'group/btn items-center justify-center',
632
632
  isWithText(props) ? withTextStyle : 'h-12 w-12',
@@ -1044,39 +1044,32 @@
1044
1044
  });
1045
1045
 
1046
1046
  const sourcesComparator = (a, b) => a?.media && b?.media ? a.media - b.media : 0;
1047
- const ImgAsPicture = JSX(({ className = '', image, imageClassName = '', isMobile = false, pathPrefix }) => {
1047
+ const ImgAsPicture = JSX(({ className = '', image, imageClassName = '', pathPrefix }) => {
1048
1048
  const router = useRouter();
1049
- const pictureStyles = isMobile ? 'flex' : 'flex-none';
1050
- return (jsxs("picture", { className: `${pictureStyles} ${className}`, children: [image?.sources?.length
1049
+ return (jsxs("picture", { className: className, children: [image?.sources?.length
1051
1050
  ? image.sources
1052
1051
  .filter((_) => _?.src)
1053
1052
  .sort(sourcesComparator)
1054
1053
  .map(({ src, format, media }, index) => (jsx("source", { srcSet: adjustSrc(router, pathPrefix)(src), type: formatToMimeType(format), media: media ? `(max-width: ${media}px)` : '', ...image.size }, `${index}_${src}`)))
1055
1054
  : null, image?.src
1056
- ? renderImg({ ...image, src: adjustSrc(router, pathPrefix)(image.src) }, imageClassName, isMobile)
1055
+ ? renderImg({ ...image, src: adjustSrc(router, pathPrefix)(image.src) }, imageClassName)
1057
1056
  : null] }));
1058
1057
  });
1059
- const renderImg = (image, imageClassName = '', isMobile = false) => {
1060
- const style = {
1058
+ const renderImg = (image, imageClassName = '') => (jsx("img", { src: image.src, className: style('object-contain', imageClassName), alt: image.alt || image.title, title: image.title || '', style: {
1061
1059
  width: image.size?.width ? `${image.size?.width}px` : '100%',
1062
1060
  height: image.size?.height ? `${image.size?.height}px` : 'auto',
1063
- };
1064
- const title = image.title || '';
1065
- const alt = image.alt || image.title;
1066
- const imgStyle = isMobile ? 'm-auto' : 'm-0';
1067
- return (jsx("img", { src: image.src, className: `${imgStyle} ${imageClassName}`, alt: alt, title: title, style: style, ...image.size }));
1068
- };
1061
+ }, ...image.size }));
1069
1062
  const adjustSrc = (router, pathPrefix) => (src) => src && !isURL(src) ? adjustHref(router)(joinPath(pathPrefix, src)) : src;
1070
1063
  const formatToMimeType = (format) => format ? `image/${String(format)}` : undefined;
1071
1064
 
1072
- const ImgInner = JSX(({ className = '', image, imageClassName = '', isMobile, pathPrefix, ...iconProps }) => {
1065
+ const Img = JSX(({ className = '', image, imageClassName = '', pathPrefix, ...iconProps }) => {
1073
1066
  if (!image?.src && !image?.icon) {
1074
1067
  return null;
1075
1068
  }
1076
- return image.icon ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: image?.iconVersion, name: image.icon, ...iconProps })) : (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image, isMobile: isMobile, pathPrefix: pathPrefix }));
1069
+ return image.icon ? (jsx(Icon, { className: className, imageClassName: imageClassName, iconVersion: image?.iconVersion, name: image.icon, ...iconProps })) : (jsx(ImgAsPicture, { className: className, imageClassName: imageClassName, image: image, pathPrefix: pathPrefix }));
1077
1070
  });
1078
1071
 
1079
- const renderContacts = () => (jsxs("div", { className: "flex", children: [jsxs("a", { className: "flex items-center text-primary-text no-underline mr-6", href: `tel:8 (800) 200-78-70`, "aria-label": "8 (800) 200-78-70", children: [jsx(ImgInner, { image: { icon: 'PhoneIcon' }, width: "24", height: "24", className: "mr-3" }), jsx("span", { children: "8 (800) 200-78-70" })] }), jsxs("a", { className: "flex items-center text-primary-text no-underline", "aria-label": "ved@rshb.ru", href: `mailto:ved@rshb.ru`, children: [jsx(ImgInner, { image: { icon: 'MailIcon' }, width: "24", height: "24", className: "mr-3" }), jsx("span", { children: "ved@rshb.ru" })] })] }));
1072
+ const renderContacts = () => (jsxs("div", { className: "flex", children: [jsxs("a", { className: "flex items-center text-primary-text no-underline mr-6", href: `tel:8 (800) 200-78-70`, "aria-label": "8 (800) 200-78-70", children: [jsx(Img, { image: { icon: 'PhoneIcon' }, width: "24", height: "24", className: "mr-3" }), jsx("span", { children: "8 (800) 200-78-70" })] }), jsxs("a", { className: "flex items-center text-primary-text no-underline", "aria-label": "ved@rshb.ru", href: `mailto:ved@rshb.ru`, children: [jsx(Img, { image: { icon: 'MailIcon' }, width: "24", height: "24", className: "mr-3" }), jsx("span", { children: "ved@rshb.ru" })] })] }));
1080
1073
 
1081
1074
  const SVG = JSX(({ className, viewBox, fill = 'none', width, height, paths, ...commonOptions }) => {
1082
1075
  return (jsx("svg", { xmlns: "http://www.w3.org/2000/svg", className: className, viewBox: viewBox, fill: fill, width: width, height: height, children: paths.map(({ d, fill: pathFill, ...options }, i) => (jsx("path", { d: d, fill: pathFill || 'currentColor', ...commonOptions, ...options }, i))) }));
@@ -1146,8 +1139,8 @@
1146
1139
 
1147
1140
  const ResponseNotification = JSX(({ responseType }) => {
1148
1141
  const responseOK = responseType === 'OK';
1149
- const backgroundColor = responseOK ? 'bg-responce-ok' : 'bg-responce-fail';
1150
- return (jsxs("div", { className: `flex items-center mt-5 p-5 rounded-md ${backgroundColor}`, children: [responseOK ? (jsx(ImgInner, { image: { icon: 'ResponceOKIcon' }, width: "42", height: "42", className: "mr-4" })) : (jsx(ImgInner, { image: { icon: 'ResponceFailIcon' }, width: "37", height: "34", className: "mr-4" })), jsxs("div", { children: [jsx(Heading, { headingType: "h6", title: responseOK ? 'Ваша заявка отправлена' : 'Не удалось отправить заявку', className: "mb-1" }), jsx(Text, { size: "text-l-light", color: "text-secondary-text", children: responseOK ? 'Совсем скоро мы с вами свяжемся' : 'Пожалуйста, повторите позднее' })] })] }));
1142
+ const backgroundColor = responseOK ? 'bg-ok' : 'bg-fail';
1143
+ return (jsxs("div", { className: `flex items-center mt-5 p-5 rounded-md ${backgroundColor}`, children: [responseOK ? (jsx(Img, { image: { icon: 'ResponceOKIcon' }, width: "42", height: "42", className: "mr-4" })) : (jsx(Img, { image: { icon: 'ResponceFailIcon' }, width: "37", height: "34", className: "mr-4" })), jsxs("div", { children: [jsx(Heading, { headingType: "h6", title: responseOK ? 'Ваша заявка отправлена' : 'Не удалось отправить заявку', className: "mb-1" }), jsx(Text, { size: "text-l-light", color: "text-secondary-text", children: responseOK ? 'Совсем скоро мы с вами свяжемся' : 'Пожалуйста, повторите позднее' })] })] }));
1151
1144
  });
1152
1145
 
1153
1146
  const COMPONENTS_MAP = {
@@ -1166,13 +1159,13 @@
1166
1159
  setResponseType(status);
1167
1160
  return status;
1168
1161
  }, []);
1169
- return (jsx(BlockWrapper, { className: style('font-sans bg-white p-default pb-9', className), ...rest, children: jsxs("div", { className: "container max-w-[978px]", children: [title ? jsx(Heading, { headingType: "h3", title: title, className: "text-center mb-8" }) : null, COMPONENTS_MAP[typeForm]({ button, link, onSubmit: handleSubmit }), responseType ? jsx(ResponseNotification, { responseType: responseType }) : null] }) }));
1162
+ return (jsx(BlockWrapper, { className: className, defaultPadding: "p-default", ...rest, children: jsxs("div", { className: "container max-w-[978px]", children: [title ? jsx(Heading, { headingType: "h3", title: title, className: "text-center mb-8" }) : null, COMPONENTS_MAP[typeForm]({ button, link, onSubmit: handleSubmit }), responseType ? jsx(ResponseNotification, { responseType: responseType }) : null] }) }));
1170
1163
  });
1171
1164
 
1172
- const BenefitsBlock = JSX(({ className = '', title, benefitList, ...rest }) => (jsxs(BlockWrapper, { className: `p-default 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$1) })) : null] })));
1165
+ const BenefitsBlock = JSX(({ className = '', title, benefitList, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col items-center', className), defaultPadding: "p-default", ...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$1) })) : null] })));
1173
1166
  const renderStep$1 = (benefit, i) => {
1174
1167
  const description = benefit.description;
1175
- 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 })) : null, benefit?.icon?.src ? jsx(ImgInner, { image: benefit.icon }) : null, jsxs("div", { className: "ml-5 h-full", children: [benefit?.label ? jsx(Heading, { headingType: "h6", children: benefit.label }) : null, renderDescription$4(description)] })] }, String(i)));
1168
+ return (jsxs("div", { className: "flex items-center basis-1/2 max-w-[500px] mb-14", children: [benefit?.icon?.icon ? (jsx(Img, { className: "w-12 h-12 min-w-12 p-3 rounded-icon bg-main-divider text-primary-main group-data-secondary:bg-white/30 group-data-secondary:text-black", image: benefit.icon })) : null, benefit?.icon?.src ? jsx(Img, { image: benefit.icon }) : null, jsxs("div", { className: "ml-5 h-full", children: [benefit?.label ? jsx(Heading, { headingType: "h6", children: benefit.label }) : null, renderDescription$4(description)] })] }, String(i)));
1176
1169
  };
1177
1170
  const renderDescription$4 = (description) => {
1178
1171
  const benefitType = description?.benefitType || null;
@@ -1186,46 +1179,46 @@
1186
1179
  return description?.items && description.items.length > 0 ? (jsx("ul", { className: listStyleType, children: description.items.map((_, i) => (jsx("li", { children: _ }, `benefitListItem-${i}`))) })) : null;
1187
1180
  };
1188
1181
 
1189
- const renderButtonsSection = (buttons, { className = '', buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? (jsx("div", { className: style('flex', isVertical ? 'flex-col gap-2' : 'flex-wrap gap-4', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
1182
+ const renderButtonsSection = (buttons, { className, buttonClassName, isVertical } = {}) => buttons?.length && buttons.some((_) => _?.text || _?.icon?.icon) ? (jsx("div", { className: style('flex', isVertical ? 'flex-col gap-xs justify-items-stretch' : 'flex-wrap gap-s', className), children: buttons.map(renderButton(buttonClassName)) })) : null;
1190
1183
  const renderButton = (buttonClassName = '') => (button, index) => {
1191
1184
  const { text, icon, iconRight, version, ...rest } = button || {};
1192
1185
  const iconVersionDefault = version === 'secondary' ? 'color' : 'white';
1193
1186
  const iconVersion = icon?.iconVersion ? icon?.iconVersion : iconVersionDefault;
1194
- return text || icon?.icon ? (jsx(Button, { className: buttonClassName, appendLeft: renderButtonIcon({ ...icon, iconVersion }), appendRight: renderButtonIcon({ ...iconRight, iconVersion }), version: version, text: text, ...rest }, index ? String(index) : '')) : null;
1187
+ return text || icon?.icon ? (jsx(Button, { className: style('basis-full sm:basis-auto', buttonClassName), appendLeft: renderButtonIcon({ ...icon, iconVersion }), appendRight: renderButtonIcon({ ...iconRight, iconVersion }), version: version, text: text, ...rest }, index ? String(index) : '')) : null;
1195
1188
  };
1196
1189
  const DEFAULT_ICON_W = 24;
1197
- const renderButtonIcon = (icon) => icon?.icon || icon?.src ? (jsx(ImgInner, { image: icon, width: String(icon?.size?.width || DEFAULT_ICON_W), height: String(DEFAULT_ICON_W) })) : null;
1190
+ const renderButtonIcon = (icon) => icon?.icon || icon?.src ? (jsx(Img, { image: icon, width: String(icon?.size?.width || DEFAULT_ICON_W), height: String(DEFAULT_ICON_W) })) : null;
1198
1191
 
1199
1192
  const headlineVersionStyles = {
1200
1193
  XXL: {
1201
1194
  title: { headingType: 'h0', as: 'h1' },
1202
1195
  descriptionSize: 'text-h5',
1203
- descriptionStyle: 'mt-headline-xxl',
1196
+ descriptionStyle: 'mt-m',
1204
1197
  },
1205
1198
  XL: {
1206
1199
  title: { headingType: 'h1', as: 'h1' },
1207
1200
  descriptionSize: 'text-xl-light',
1208
- descriptionStyle: 'mt-headline-l',
1201
+ descriptionStyle: 'mt-s',
1209
1202
  },
1210
1203
  L: {
1211
1204
  title: { headingType: 'h2', as: 'h2' },
1212
1205
  descriptionSize: 'text-xl-light',
1213
- descriptionStyle: 'mt-headline-l',
1206
+ descriptionStyle: 'mt-s',
1214
1207
  },
1215
1208
  M: {
1216
- title: { headingType: 'h3', as: 'h3' },
1209
+ title: { headingType: 'h3', as: 'h2' },
1217
1210
  descriptionSize: 'text-xl-light',
1218
- descriptionStyle: 'mt-headline-m',
1211
+ descriptionStyle: 'mt-text',
1219
1212
  },
1220
1213
  S: {
1221
- title: { headingType: 'h4', as: 'h4' },
1214
+ title: { headingType: 'h4', as: 'h2' },
1222
1215
  descriptionSize: 'text-xl-light',
1223
- descriptionStyle: 'mt-headline-s',
1216
+ descriptionStyle: 'mt-xs',
1224
1217
  },
1225
1218
  XS: {
1226
- title: { headingType: 'h5', as: 'h5' },
1219
+ title: { headingType: 'h5', as: 'h2' },
1227
1220
  descriptionSize: 'text-l-light',
1228
- descriptionStyle: 'mt-headline-s',
1221
+ descriptionStyle: 'mt-xs',
1229
1222
  },
1230
1223
  };
1231
1224
  // TODO Move to Gallery and rename
@@ -1240,16 +1233,15 @@
1240
1233
  XS: 'text-xs-light',
1241
1234
  };
1242
1235
 
1243
- const Headline = JSX(({ className, title, description, headlineVersion = 'XL', align = 'text-center', as, isPadding = true, isTheme = false, version = '', ...rest }) => {
1236
+ const Headline = JSX(({ className, version = '', headlineVersion = 'XL', title, description, align = 'text-center', as, isPadding = true, isTheme = false, ...rest }) => {
1244
1237
  const versionStyle = headlineVersionStyles[headlineVersion];
1245
- const paddingStyle = isPadding ? 'p-default' : '';
1246
1238
  const descriptionStyle = { marginTop: versionStyle.descriptionStyle };
1247
- return (jsxs(BlockWrapper, { className: style(paddingStyle, className), version: version, isTheme: isTheme, ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-pre-wrap', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { size: versionStyle.descriptionSize, align: align, ...descriptionStyle, children: description })) : null] }));
1239
+ return (jsxs(BlockWrapper, { className: className, defaultPadding: isPadding ? 'p-default' : '', version: version, isTheme: isTheme, ...rest, children: [title ? (jsx(Heading, { className: style('whitespace-pre-wrap', align), ...versionStyle?.title, as: as || versionStyle?.title.as, title: title })) : null, description ? (jsx(Paragraph, { size: versionStyle.descriptionSize, align: align, ...descriptionStyle, children: description })) : null] }));
1248
1240
  });
1249
1241
 
1250
1242
  const Bonus = JSX((props) => {
1251
1243
  const { className = '', title, description, bonusItems, ...rest } = props;
1252
- return (jsx(BlockWrapper, { className: `p-default 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
1244
+ return (jsx(BlockWrapper, { className: className, defaultPadding: "p-default", ...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
1253
1245
  ? bonusItems.map((_, i) => (jsxs("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: [_?.title ? jsx(Text, { size: "text-h4", children: _.title }) : null, _?.description ? (jsx("div", { className: "mt-2", children: jsx(Paragraph, { size: "text-xl", font: "font-light", children: _.description }) })) : null, jsxs("div", { className: "flex justify-between items-end mt-3", children: [renderButtonsSection(_?.buttons), _.bonusItemContent?.bonusType
1254
1246
  ? renderBonusItemContent(_.bonusItemContent)
1255
1247
  : null] })] }, String(i))))
@@ -1259,17 +1251,20 @@
1259
1251
  ? renderBonusCount(bonusItemContent)
1260
1252
  : renderBonusImage(bonusItemContent) }));
1261
1253
  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] }));
1262
- const renderBonusImage = (_) => _.image ? jsx(ImgInner, { className: `w-12 h-12 min-w-12 p-3 rounded-full`, image: _.image }) : null;
1254
+ const renderBonusImage = (_) => _.image ? jsx(Img, { className: `w-12 h-12 min-w-12 p-3 rounded-icon`, image: _.image }) : null;
1263
1255
 
1256
+ /**
1257
+ * @deprecated
1258
+ */
1264
1259
  const AlignText = {
1265
1260
  left: 'text-left',
1266
1261
  center: 'text-center',
1267
1262
  right: 'text-right',
1268
1263
  };
1269
1264
 
1270
- const BonusBenefitsBlock = JSX(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => (jsxs(BlockWrapper, { className: `font-sans text-primary-text bg-white p-default 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] })));
1265
+ const BonusBenefitsBlock = JSX(({ bonusBenefits, cardTextAlign = 'center', className = '', columnsCount = '4', subtitle, title, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col text-center', className), defaultPadding: "p-default", ...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] })));
1271
1266
  const renderBonusBenefit = ({ icon, title, description }, i) => {
1272
- return (jsxs("div", { className: style('flex flex-col items-center text-h6', !description && !title ? 'justify-center' : ''), children: [title ? jsx("span", { children: title }) : null, icon ? jsx(ImgInner, { image: icon, height: "180", className: "w-auto" }) : null, description ? jsx("span", { children: description }) : null] }, String(i)));
1267
+ return (jsxs("div", { className: style('flex flex-col items-center text-h6', !description && !title ? 'justify-center' : ''), children: [title ? jsx("span", { children: title }) : null, icon ? jsx(Img, { image: icon, height: "180", className: "w-auto" }) : null, description ? jsx("span", { children: description }) : null] }, String(i)));
1273
1268
  };
1274
1269
  const getElementsColsValue = (colValue) => {
1275
1270
  switch (colValue) {
@@ -1286,16 +1281,16 @@
1286
1281
 
1287
1282
  const BusinessCard = JSX((props) => {
1288
1283
  const { title, image, cardItems, button } = props;
1289
- 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 }) : 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' })] }));
1284
+ return (jsxs("div", { className: "border-gray border p-9 w-1/2", children: [image ? (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(Img, { className: "mb-5", image: image }) : null, image?.icon ? jsx(Img, { image: image }) : 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' })] }));
1290
1285
  });
1291
1286
  const renderItem = (item, key) => {
1292
1287
  const { icon, text } = item;
1293
- 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" })) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null, jsx("span", { className: "text-xl-light", children: text })] }, key));
1288
+ return (jsxs("li", { className: "flex items-center gap-3.5 mb-3 last:mb-0", children: [icon?.icon ? (jsx(Img, { image: icon, className: "w-12 h-12 min-w-12 p-3 rounded-icon bg-main-divider" })) : null, icon?.src ? jsx(Img, { image: icon }) : null, jsx("span", { className: "text-xl-light", children: text })] }, key));
1294
1289
  };
1295
1290
 
1296
- const BusinessBlock = JSX(({ className = '', title, cards, ...rest }) => (jsxs(BlockWrapper, { className: `p-default 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 })] })));
1291
+ const BusinessBlock = JSX(({ className, title, cards, ...rest }) => (jsxs(BlockWrapper, { className: className, defaultPadding: "p-default", ...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 })] })));
1297
1292
 
1298
- const ButtonBlock = JSX(({ button, className, ...rest }) => (jsx(BlockWrapper, { className: style('!bg-transparent', className), ...rest, children: renderButtonsSection([button]) })));
1293
+ const ButtonsBlock = JSX(({ buttons, className, ...rest }) => (jsx(BlockWrapper, { className: style('!bg-transparent', className), defaultPadding: "p-0", ...rest, children: renderButtonsSection(buttons) })));
1299
1294
 
1300
1295
  const useCarouselControls = (props) => {
1301
1296
  const { itemCount, visibleItemCount } = props;
@@ -1322,7 +1317,7 @@
1322
1317
 
1323
1318
  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
1324
1319
  ? 'bg-secondary-light text-secondary-text'
1325
- : '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" }) })));
1320
+ : 'bg-white text-primary-text hover:text-primary-main'} ${className || ''}`, disabled: disabled, ...rest, children: jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, imageClassName: "group-hover/btn:text-primary-main", width: "16", height: "16" }) })));
1326
1321
  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" })));
1327
1322
  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" })));
1328
1323
 
@@ -1869,7 +1864,7 @@
1869
1864
  itemCount: calculatorTabs?.length,
1870
1865
  visibleItemCount: COLUMNS_FOR_SCROLL,
1871
1866
  });
1872
- return (jsxs(BlockWrapper, { className: style('box-border overflow-hidden relative w-100', className), ...rest, children: [jsxs("div", { className: "bg-white", children: [tabsNav.length > 1
1867
+ return (jsxs(BlockWrapper, { className: style('box-border overflow-hidden relative', className), defaultPadding: "p-0", ...rest, children: [jsxs("div", { className: "bg-white", children: [tabsNav.length > 1
1873
1868
  ? renderTabs$1({ activeIndex, tabsNav, slideIndexShift, onClick: handleSlideIndexShift })
1874
1869
  : null, renderArrows({
1875
1870
  ...controls,
@@ -1888,7 +1883,7 @@
1888
1883
  const iconClassName = isActive ? '' : `text-primary-main`;
1889
1884
  const iconVersion = tab?.icon?.iconVersion;
1890
1885
  const activeIconStyle = isActive ? 'white' : 'normal';
1891
- return (jsxs("button", { type: "button", onClick: onClick, "aria-label": tab?.title, className: style('box-border relative border border-gray cursor-pointer text-left border-b-0 flex hover:h-[88px]', btnClassName), children: [jsx(ImgInner, { className: `h-6 w-6 min-w-6 min-h-6 mr-4 ${iconClassName}`, image: {
1886
+ return (jsxs("button", { type: "button", onClick: onClick, "aria-label": tab?.title, className: style('box-border relative border border-gray cursor-pointer text-left border-b-0 flex hover:h-[88px]', btnClassName), children: [jsx(Img, { className: `h-6 w-6 min-w-6 min-h-6 mr-4 ${iconClassName}`, image: {
1892
1887
  ...tab?.icon,
1893
1888
  iconVersion: iconVersion ?? activeIconStyle,
1894
1889
  }, width: "24", height: "24" }), jsxs("div", { className: "border-0", children: [jsx("div", { className: btnTitleClassName, children: tab?.title }), jsx("div", { className: btnDescClassName, children: tab.description })] })] }, String(i)));
@@ -1933,7 +1928,7 @@
1933
1928
  ? getDisabledButtonClasses({ version: button?.version })
1934
1929
  : getRegularButtonClasses({ className: 'text-white', version: button?.version });
1935
1930
  const link = useLink();
1936
- return (jsxs(BlockWrapper, { className: style('p-default 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, valid: !isDisabled, placeholder: placeholder, label: label, ...field(AMOUNT_KEY, { parse: Number, format: String }) }), button?.text ? (jsx("button", { type: "submit", className: style('w-full p-4 mt-6', buttonStyle), disabled: isDisabled, ...link(button), children: button.text })) : null] })] }));
1931
+ return (jsxs(BlockWrapper, { className: style('flex flex-col items-center', className), defaultPadding: "p-default", ...rest, children: [title ? (jsx(Heading, { className: "pb-5 xl:pb-9 self-start xl:self-center", headingType: "h2", title: title })) : null, jsxs("form", { className: "w-full xl:max-w-[468px]", method: "POST", action: FORM_URL, children: [jsx(CurrencyInput, { name: AMOUNT_KEY, valid: !isDisabled, placeholder: placeholder, label: label, ...field(AMOUNT_KEY, { parse: Number, format: String }) }), button?.text ? (jsx("button", { type: "submit", className: style('w-full p-4 mt-5 xl:mt-6', buttonStyle), disabled: isDisabled, ...link(button), children: button.text })) : null] })] }));
1937
1932
  });
1938
1933
 
1939
1934
  const defaultBlockDecorator = ({ blockClassName, block, render }) => render({ blockClassName, block });
@@ -2169,7 +2164,7 @@
2169
2164
  });
2170
2165
  const [dotsActiveIndex] = scroll.visibleIndicesRange;
2171
2166
  const isBankHistoryCarousel = childBlocks && childBlocks[0]?.type === 'CarouselBankHistoryCard';
2172
- return (jsx(BlockWrapper, { className: style(getPaddingStyle$1(isPadding), 'group-data-secondary:bg-primary-main group-data-secondary:text-white', className), ...rest, children: jsxs("div", { className: style(getAlignStyle(isAlignCenter), 'relative max-w-full'), children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: ITEMS_GAP, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: renderChildren({
2167
+ return (jsx(BlockWrapper, { className: className, defaultPadding: getPaddingStyle$1(isPadding), ...rest, children: jsxs("div", { className: style(getAlignStyle(isAlignCenter), 'relative max-w-full'), children: [jsx(SwipeListContainer, { containerRef: containerRef, visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: ITEMS_GAP, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: renderChildren({
2173
2168
  ...rest,
2174
2169
  renderProps: isBankHistoryCarousel
2175
2170
  ? (block, options) => renderBlock$1(block, options, {
@@ -2199,7 +2194,7 @@
2199
2194
  const CarouselBankHistoryCard = JSX(({ title, description, blocksLength = 0, activeIndex, options }) => {
2200
2195
  const orderNumber = Number(options?.key?.split('-').slice(-1)[0]) || 0;
2201
2196
  const isActive = orderNumber === activeIndex;
2202
- return (jsx(BlockWrapper, { className: "flex h-[485px]", children: isActive ? (jsx("div", { className: "relative flex items-center w-full", children: jsx(Headline, { headlineVersion: "M", title: title, description: description, align: "text-left", className: style('absolute z-10 h-[385px] w-[440px] p-8 text-white shadow-dark-blue', getActiveBlockPosition(orderNumber, blocksLength), getBackgroundColor(orderNumber)) }) })) : (jsx("div", { className: "flex w-full items-center justify-center", children: jsx("div", { className: style('flex justify-center items-center h-[300px] w-[340px] font-mohave text-title-large tracking-[-0.03em]', getBackgroundColor(orderNumber)), children: jsx("span", { className: getTextColor(orderNumber), children: title }) }) })) }));
2197
+ return (jsx(BlockWrapper, { className: "flex h-[485px]", defaultPadding: "p-0", children: isActive ? (jsx("div", { className: "relative flex items-center w-full", children: jsx(Headline, { headlineVersion: "M", title: title, description: description, align: "text-left", className: style('absolute z-10 h-[385px] w-[440px] p-8 text-white shadow-dark-blue', getActiveBlockPosition(orderNumber, blocksLength), getBackgroundColor(orderNumber)) }) })) : (jsx("div", { className: "flex w-full items-center justify-center", children: jsx("div", { className: style('flex justify-center items-center h-[300px] w-[340px] font-mohave text-title-large tracking-[-0.03em]', getBackgroundColor(orderNumber)), children: jsx("span", { className: getTextColor(orderNumber), children: title }) }) })) }));
2203
2198
  });
2204
2199
  const getBackgroundColor = (orderNumber) => {
2205
2200
  const division = orderNumber % 3;
@@ -2237,18 +2232,39 @@
2237
2232
  }
2238
2233
  };
2239
2234
 
2240
- const BLOCK_CLASSES = 'absolute border border-solid border-gray w-full h-full';
2235
+ const getColSpan = (className) => {
2236
+ const colSpanPrefix = 'col-span-';
2237
+ const colSpanStr = className?.split(/\s+/).find((_) => _.startsWith(colSpanPrefix));
2238
+ return colSpanStr ? parseInt(colSpanStr.substring(colSpanPrefix.length), 10) : 12;
2239
+ };
2240
+
2241
2241
  const CARD_WIDTH_MAP = {
2242
2242
  normal: 'min-w-[970px]',
2243
2243
  small: 'min-w-[355px]',
2244
2244
  };
2245
- const CarouselCard = JSX(({ className = '', button, description, title, carouselVersion = 'normal', version = '' }) => (jsx("section", { className: `flex pb-9 pl-12 border-box h-full ${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 h-full 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", version: version }), renderButtonsSection([button], { className: 'mt-14' })] })] }) })));
2245
+ function getCardWidth(className = '', carouselVersion = 'normal') {
2246
+ const colSpan = getColSpan(className);
2247
+ if (colSpan <= 4) {
2248
+ return 'w-[375px]';
2249
+ }
2250
+ else {
2251
+ return CARD_WIDTH_MAP[carouselVersion];
2252
+ }
2253
+ }
2254
+
2255
+ const titleSize = 'L';
2256
+
2257
+ const BLOCK_CLASSES = 'absolute border border-solid border-gray w-full h-full sm:hidden';
2258
+ const CarouselCard = JSX(({ className = '', button, description, title, carouselVersion = 'normal', version = '' }) => (jsx("section", { className: style('flex pb-9 pl-12 sm:p-5 border-box h-full sm:max-w-[375px]', getCardWidth(className, 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 h-full bg-white z-10 p-10 border border-solid border-green-light", children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: titleSize, align: "text-left", version: version }), renderButtonsSection([button], {
2259
+ className: 'mt-14 sm:justify-center',
2260
+ isVertical: true,
2261
+ })] })] }) })));
2246
2262
 
2247
2263
  const cardStyleMap = {
2248
2264
  black: 'bg-black',
2249
2265
  white: 'bg-white',
2250
2266
  };
2251
- const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors, ...rest }) => (jsxs(BlockWrapper, { className: `border box-border border-gray p-7 min-w-[392px] h-full flex flex-col justify-left ${className}`, ...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-secondary-text", children: [jsx("div", { className: "mr-1.5", children: jsx(Text, { size: "text-s", align: "text-left", font: "font-light", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430:" }) }), colors.map(renderColorOption)] })) : null, price ? (jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null, renderButtonsSection([button], { buttonClassName: 'mt-5 w-full' })] })));
2267
+ const CarouselCatalogCard = JSX(({ className = '', title, description, image, price, button, colors, ...rest }) => (jsxs(BlockWrapper, { className: style('border box-border border-gray min-w-[392px] h-full flex flex-col justify-left', className), ...rest, children: [image?.src ? jsx(Img, { className: "mb-5 flex justify-center", image: image }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left mb-1.5", title: title })) : null, description ? (jsx("div", { className: "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-secondary-text", children: [jsx("div", { className: "mr-1.5", children: jsx(Text, { size: "text-s", align: "text-left", font: "font-light", children: "\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u044B\u0435 \u0446\u0432\u0435\u0442\u0430:" }) }), colors.map(renderColorOption)] })) : null, price ? (jsxs(Text, { size: "text-h3", align: "text-left", children: [price, "\u00A0\u20BD"] })) : null, renderButtonsSection([button], { buttonClassName: 'mt-5 w-full' })] })));
2252
2268
  const renderColorOption = (color, i) => (jsx("div", { role: "figure", className: `w-6 h-6 ml-3 border border-solid border-main-divider rounded-full ${cardStyleMap[color]}` }, String(i)));
2253
2269
 
2254
2270
  const LinkWrapper = JSX(({ className = '', href, target, isRemote = false, children }) => {
@@ -2259,18 +2275,23 @@
2259
2275
  });
2260
2276
 
2261
2277
  const CarouselEventCard = JSX(({ className = '', icon, title, description, href, target, ...rest }) => {
2262
- return (jsx(BlockWrapper, { className: style('w-[365px]', className), ...rest, children: jsxs(LinkWrapper, { className: "flex flex-col", href: href, target: target, children: [icon?.icon ? jsx(ImgInner, { image: icon }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left pt-3 mb-2", title: title })) : null, description ? (jsx("div", { className: "mb-4", children: jsx(Text, { font: "font-light", size: "text-m", color: "text-secondary-text", children: description }) })) : null] }) }));
2278
+ return (jsx(BlockWrapper, { className: style('w-[365px]', className), defaultPadding: "p-0", ...rest, children: jsxs(LinkWrapper, { className: "flex flex-col", href: href, target: target, children: [icon?.icon ? jsx(Img, { image: icon }) : null, icon?.src ? jsx(Img, { image: icon }) : null, title ? (jsx(Heading, { headingType: "h6", as: "h4", className: "text-left pt-3 mb-2", title: title })) : null, description ? (jsx("div", { className: "mb-4", children: jsx(Text, { font: "font-light", size: "text-m", color: "text-secondary-text", children: description }) })) : null] }) }));
2263
2279
  });
2264
2280
 
2265
- const BaseTile = JSX(({ className, title = '', insetTitle = '', buttons, leftImage, rightImage, backImage, children, }) => (jsxs("div", { className: style('relative flex flex-col font-sans', className), children: [backImage ? jsx("div", { className: "absolute bottom-0 right-0 z-0", children: backImage }) : null, title, jsxs("div", { className: "grow relative flex flex-wrap sm:flex-nowrap justify-between items-stretch gap-8", children: [renderImageContainer(leftImage), jsxs("div", { className: style('flex flex-col gap-8', leftImage ? '' : 'grow'), children: [insetTitle, jsx("div", { className: "grow", children: children }), buttons] }), renderImageContainer(rightImage, { className: '-order-1 sm:order-1' })] })] })));
2266
- const renderImageContainer = (image, { className } = {}) => image ? jsx("div", { className: style('flex-none', className), children: image }) : null;
2281
+ const imageAlignmentMap = {
2282
+ start: 'self-start',
2283
+ center: 'self-center',
2284
+ end: 'self-end',
2285
+ };
2286
+ const BaseTile = JSX(({ className, defaultPadding, padding, title = '', insetTitle = '', buttons, leftImage, rightImage, imageAlign, backImage, children, }) => (jsxs("div", { className: style('relative flex flex-col gap-lg font-sans overflow-hidden', padding || defaultPadding, className), children: [backImage ? jsx("div", { className: "absolute bottom-0 right-0 z-0", children: backImage }) : null, title ? jsx("div", { className: "relative", children: title }) : null, jsxs("div", { className: "grow relative flex flex-wrap sm:flex-nowrap justify-between items-stretch gap-lg", children: [renderImageContainer(leftImage, { imageAlign }), jsxs("div", { className: style('flex flex-col gap-lg max-w-[600px] xl:max-w-[728px]', leftImage ? '' : 'grow'), children: [insetTitle, jsx("div", { className: "grow", children: children }), buttons] }), renderImageContainer(rightImage, { className: '-order-1 sm:order-1', imageAlign })] })] })));
2287
+ const renderImageContainer = (image, { className, imageAlign }) => image ? (jsx("div", { className: style('flex-shrink-0', imageAlign && imageAlignmentMap[imageAlign], className), children: image })) : null;
2267
2288
 
2268
2289
  const getItemListFontSize = (colValue) => (colValue === 1 ? 'text-h6' : 'text-l');
2269
2290
  const cardColumnsModeStyleMap = {
2270
2291
  1: 'flex-col',
2271
2292
  2: 'gap-x-10 flex-wrap',
2272
2293
  };
2273
- const CarouselInvestmentCard = JSX(({ additionalDescription, cardsList = [], className = '', columnsMode = 1, description, image, title, ...rest }) => (jsx(BlockWrapper, { className: style('box-border text-left p-9 w-[697px]', 'border border-solid border-gray group-data-secondary:border-white/50', className), ...rest, children: jsxs(BaseTile, { title: title ? jsx(Heading, { headingType: "h4", as: "h3", className: "mb-3.5 z-10", title: title }) : null, backImage: image?.src ? jsx(ImgInner, { className: "m-0", image: image }) : null, 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: style('list-none m-0 p-0 flex gap-y-2', cardColumnsModeStyleMap[columnsMode]), children: renderCardList(cardsList, columnsMode) })) : null] }) })));
2294
+ const CarouselInvestmentCard = JSX(({ className, padding, additionalDescription, cardsList = [], columnsMode = 1, description, image, title, ...rest }) => (jsx(BlockWrapper, { className: style('box-border text-left w-[697px]', 'border border-solid border-gray group-data-secondary:border-white/50', className), defaultPadding: "p-0", ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-m", title: title ? jsx(Heading, { headingType: "h4", as: "h3", className: "mb-3.5 z-10", title: title }) : null, backImage: image?.src ? jsx(Img, { image: image }) : null, 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: style('list-none m-0 p-0 flex gap-y-2', cardColumnsModeStyleMap[columnsMode]), children: renderCardList(cardsList, columnsMode) })) : null] }) })));
2274
2295
  const renderCardList = (cardsList, columnsMode) => {
2275
2296
  const CARDS_COUNT_MAP = [4, 9];
2276
2297
  const visibleCardsList = cardsList.slice(0, CARDS_COUNT_MAP[columnsMode - 1]);
@@ -2284,16 +2305,14 @@
2284
2305
  const LinkButton = JSX(({ text, href = '', target = '', className = '' }) => {
2285
2306
  const link = useLink();
2286
2307
  const adjustedProps = link({ href, target });
2287
- return text ? (jsxs("div", { className: `relative group/link cursor-pointer w-[328px] h-[82px] ${className}`, children: [jsxs("a", { className: LINK_CLASS_NAME, role: "link", ...adjustedProps, 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" }) })] }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mx-1.5 mt-1.5` }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mt-3 mr-3` })] })) : null;
2308
+ return text ? (jsxs("div", { className: `relative group/link cursor-pointer w-[328px] h-[82px] ${className}`, children: [jsxs("a", { className: LINK_CLASS_NAME, role: "link", ...adjustedProps, children: [jsx("div", { className: "p-0.5", children: text }), jsx("div", { className: "w-6 h-6", children: jsx(Img, { 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" }) })] }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mx-1.5 mt-1.5` }), jsx("div", { className: `${LINK_BORDER_CLASS_NAME} mt-3 mr-3` })] })) : null;
2288
2309
  });
2289
2310
 
2290
2311
  const MAX_LINKS_COUNT = 10;
2291
- const CarouselLinks = JSX(({ className = '', additionalDescription, description, links, title, ...rest }) => {
2292
- return (jsxs(BlockWrapper, { className: `flex w-full p-10 overflow-hidden justify-between ${className}`, ...rest, children: [jsxs("div", { className: "flex flex-col max-w-96 pr-9 text-white text-xl-light", children: [jsx(Headline, { isPadding: false, title: title, description: description, as: "h1", align: "text-left" }), additionalDescription ? (jsx(Headline, { className: "pt-6", isPadding: false, description: additionalDescription, align: "text-left" })) : null] }), links?.length ? renderLinks(links) : null] }));
2293
- });
2312
+ const CarouselLinks = JSX(({ className, additionalDescription, description, links, title, ...rest }) => (jsxs(BlockWrapper, { className: style('flex w-full overflow-hidden justify-between', className), ...rest, children: [jsxs("div", { className: "flex flex-col max-w-96 pr-m text-white text-xl-light", children: [jsx(Headline, { isPadding: false, title: title, description: description, as: "h1", align: "text-left" }), additionalDescription ? (jsx(Headline, { className: "pt-s", description: additionalDescription, align: "text-left", isPadding: false })) : null] }), links?.length ? renderLinks(links) : null] })));
2294
2313
  const renderLinks = (links) => {
2295
2314
  const itemCount = Math.ceil(links.length / MAX_LINKS_COUNT);
2296
- return (jsx(Carousel, { className: "min-w-[832px] w-[832px]", isBlur: false, isCyclic: true, itemCount: itemCount, arrowsPadded: false, showDots: true, children: new Array(itemCount).fill(null).map((_, groupIndex) => (jsx("div", { className: "w-[672px] min-w-[672px] ml-10 mr-10 flex flex-wrap self-start", children: links
2315
+ return (jsx(Carousel, { className: "min-w-[832px] w-[832px]", version: "", isBlur: false, isCyclic: true, itemCount: itemCount, arrowsPadded: false, showDots: true, children: new Array(itemCount).fill(null).map((_, groupIndex) => (jsx("div", { className: "w-[672px] min-w-[672px] ml-10 mr-10 flex flex-wrap self-start", children: links
2297
2316
  .slice(groupIndex * MAX_LINKS_COUNT, (groupIndex + 1) * MAX_LINKS_COUNT)
2298
2317
  .map((link, index) => (jsx(LinkButton, { className: "m-1", ...link }, String(index)))) }, String(groupIndex)))) }));
2299
2318
  };
@@ -2318,19 +2337,19 @@
2318
2337
  const List = JSX(({ className, hasIndent, isDotted, items, listItemSize = 'M' }) => items?.length ? (jsx("section", { className: style('flex flex-col gap-2 text-left 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, { isDotted: isDotted, size: listItemSize, children: item }, String(i)))) })) : null);
2319
2338
 
2320
2339
  const CarouselProductCard = JSX(({ additionalDescription, align = 'text-center', button = {}, className = '', description, headlineSmallVersion = 'H6', href, icon, isDotted = true, isFullWidth = true, items = [], target, title, version = 'primary', ...rest }) => {
2321
- return (jsxs(BlockWrapper, { className: style('h-full flex flex-col justify-between min-w-[260px]', 'box-border border-solid border border-gray', align, className), version: version, ...rest, children: [jsxs(LinkWrapper, { className: "p-6", href: href, target: target, children: [renderImage$3(icon), renderCardTitle(headlineSmallVersion, title), renderDescription$3(description, title), renderItems(items, isDotted, version), renderAdditionalDescription$1(additionalDescription)] }), renderButtonsSection([button], {
2322
- className: style('p-6 pt-0', isFullWidth ? '' : 'self-center min-w-[158px]'),
2340
+ return (jsxs(BlockWrapper, { className: style('h-full flex flex-col justify-between min-w-[260px]', 'box-border border-solid border border-gray', align, className), defaultPadding: "p-0", version: version, ...rest, children: [jsxs(LinkWrapper, { className: "p-s", href: href, target: target, children: [renderImage$3(icon), renderCardTitle(headlineSmallVersion, title), renderDescription$3(description, title), renderItems(items, isDotted, version), renderAdditionalDescription$1(additionalDescription)] }), renderButtonsSection([button], {
2341
+ className: style('p-s pt-0', isFullWidth ? '' : 'self-center min-w-[158px]'),
2323
2342
  isVertical: isFullWidth,
2324
2343
  })] }));
2325
2344
  });
2326
- const renderImage$3 = (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 })) : null] }));
2345
+ const renderImage$3 = (image) => (jsxs("div", { className: "flex justify-center", children: [image?.src ? jsx(Img, { className: "mb-5", image: image }) : null, image?.icon ? jsx(Img, { className: `w-8 h-8 min-w-8 mb-5`, image: image }) : null] }));
2327
2346
  const renderCardTitle = (headlineSmallVersion, title) => title ? (jsx("div", { children: jsx(Text, { size: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title }) })) : null;
2328
2347
  const renderDescription$3 = (description, title) => description ? (jsx("div", { className: title ? 'mt-2' : '', children: jsx(Paragraph, { size: "text-l", children: description }) })) : null;
2329
2348
  const renderAdditionalDescription$1 = (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;
2330
2349
  const renderItems = (items, isDotted, version = 'primary') => items?.length ? (jsx(List, { className: style('max-w-[308px] mt-2 text-s', version === 'primary' ? '!text-secondary-text' : ''), items: items.filter((item) => item?.text).map((item) => item.text), isDotted: isDotted })) : null;
2331
2350
 
2332
2351
  const CarouselProgramsCard = JSX(({ className = '', title, icon, list = [], href, target, ...rest }) => {
2333
- return (jsx(BlockWrapper, { className: style('border border-gray', className), ...rest, children: jsxs(LinkWrapper, { className: "flex", href: href, target: target, children: [jsxs("div", { className: "w-[200px] min-w-[200px] self-center", children: [icon?.icon ? jsx(ImgInner, { image: icon }) : 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] })] }) }));
2352
+ return (jsx(BlockWrapper, { className: style('border border-gray', className), defaultPadding: "p-0", ...rest, children: jsxs(LinkWrapper, { className: "flex", href: href, target: target, children: [jsxs("div", { className: "w-[200px] min-w-[200px] self-center", children: [icon?.icon ? jsx(Img, { image: icon }) : null, icon?.src ? jsx(Img, { 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] })] }) }));
2334
2353
  });
2335
2354
  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)));
2336
2355
 
@@ -2378,7 +2397,7 @@
2378
2397
  const { href, version, text = '' } = rest;
2379
2398
  const { iconMapped, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
2380
2399
  const iconCustom = getFilteredIcon(icon) ?? iconMapped;
2381
- return (jsx(Button, { className: style(rounded ? 'rounded-full' : 'rounded-md', 'border border-solid hover:border-transparent', 'group-data-primary:border-main-divider', 'hover:bg-primary-main hover:text-black', 'group-data-secondary:bg-white border-main-divider group-data-secondary:hover:bg-secondary-hover', 'group-data-gray:border-green', buttonStylesWithText(text, buttonSize)), "aria-label": label, rel: "noopener noreferrer", target: "_blank", text: text, version: version, ...rest, children: iconCustom && !text ? (jsx(ImgInner, { image: iconCustom, imageClassName: "group-hover/media:text-white", width: "24", height: "24" })) : null }));
2400
+ return (jsx(Button, { className: style(rounded ? 'rounded-full' : 'rounded-md', 'border border-solid hover:border-transparent', 'group-data-primary:border-main-divider', 'hover:bg-primary-main hover:text-black', 'group-data-secondary:bg-white border-main-divider group-data-secondary:hover:bg-secondary-hover', 'group-data-gray:border-green', buttonStylesWithText(text, buttonSize)), "aria-label": label, rel: "noopener noreferrer", target: "_blank", text: text, version: version, ...rest, children: iconCustom && !text ? (jsx(Img, { image: iconCustom, imageClassName: "group-hover/media:text-white", width: "24", height: "24" })) : null }));
2382
2401
  });
2383
2402
  const getFilteredIcon = (icon) => (icon?.src || icon?.icon ? icon : undefined);
2384
2403
 
@@ -2387,16 +2406,16 @@
2387
2406
  const BORDER_STYLE = 'border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider';
2388
2407
 
2389
2408
  const CarouselRecommendationCard = JSX(({ className = '', description, href, icon, items = [], socialMedia = [], target, title, align = 'text-left', version = 'primary', ...rest }) => {
2390
- return (jsx(BlockWrapper, { className: style('relative p-7 min-w-[524px] min-h-[218px] h-full box-border group-data-gray:bg-main-divider/50', BORDER_STYLE, className), version: version, ...rest, children: jsxs(LinkWrapper, { href: href, target: target, children: [jsx(Headline, { className: "mb-4", title: title, description: description, headlineVersion: "S", isPadding: false, align: align }), jsxs("div", { className: "w-1/2 h-full flex flex-col flex-1 justify-end", children: [items.length ? jsx(List, { items: items, listItemSize: "S" }) : null, socialMedia.length ? jsx(SocialMedia, { className: "pt-10", media: socialMedia }) : null] }), renderIconBlock$2(icon)] }) }));
2409
+ return (jsx(BlockWrapper, { className: style('relative min-w-[524px] min-h-[218px] h-full box-border group-data-gray:bg-main-divider/50', BORDER_STYLE, className), defaultPadding: "p-s", version: version, ...rest, children: jsxs(LinkWrapper, { href: href, target: target, children: [jsx(Headline, { className: "mb-4", title: title, description: description, headlineVersion: "S", isPadding: false, align: align }), jsxs("div", { className: "w-1/2 h-full flex flex-col flex-1 justify-end", children: [items.length ? jsx(List, { items: items, listItemSize: "S" }) : null, socialMedia.length ? jsx(SocialMedia, { className: "pt-10", media: socialMedia }) : null] }), renderIconBlock$2(icon)] }) }));
2391
2410
  });
2392
- const renderIconBlock$2 = (icon) => (jsxs("div", { className: "absolute bottom-0 right-0", children: [icon?.icon ? jsx(ImgInner, { image: icon }) : null, icon?.src ? jsx(ImgInner, { image: icon }) : null] }));
2411
+ const renderIconBlock$2 = (icon) => (jsxs("div", { className: "absolute bottom-0 right-0", children: [icon?.icon ? jsx(Img, { image: icon }) : null, icon?.src ? jsx(Img, { image: icon }) : null] }));
2393
2412
 
2394
2413
  const RichText = JSX((props) => {
2395
2414
  const { __html = '', richVersion = '' } = props;
2396
2415
  return (jsx("div", { className: style(richVersion, 'md-container'), dangerouslySetInnerHTML: { __html } }));
2397
2416
  });
2398
2417
 
2399
- const CarouselRichTextCard = JSX(({ className = '', __html, richVersion = 'striped', ...rest }) => (jsx(BlockWrapper, { className: style('p-9 border border-gray h-full min-w-96', className), ...rest, children: jsx(RichText, { __html: __html, richVersion: richVersion }) })));
2418
+ const CarouselRichTextCard = JSX(({ className = '', __html, richVersion = 'striped', ...rest }) => (jsx(BlockWrapper, { className: style('border border-gray h-full min-w-96', className), ...rest, children: jsx(RichText, { __html: __html, richVersion: richVersion }) })));
2400
2419
 
2401
2420
  const Foldable = JSX(({ className = '', isFoldButtonOnTop = false, unfoldedByDefault = false, renderFoldableSection, renderFoldButton, }) => {
2402
2421
  const [isUnfolded, setIsUnfolded] = useState(unfoldedByDefault);
@@ -2434,9 +2453,9 @@
2434
2453
  const cellsNode = cardCells.map(renderCardInfo);
2435
2454
  const visibleCells = cellsNode.slice(0, VISIBLE_CELLS_COUNT);
2436
2455
  const hiddenCells = cellsNode.slice(VISIBLE_CELLS_COUNT);
2437
- return (jsxs(BlockWrapper, { className: style('relative border border-gray flex flex-col', getPaddingStyle(isHighlighting), className), ...rest, children: [isHighlighting ? renderHitIcon() : null, renderIconBlock$1(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] }));
2456
+ return (jsxs(BlockWrapper, { className: style('relative border border-gray flex flex-col', className), defaultPadding: getPaddingStyle(isHighlighting), ...rest, children: [isHighlighting ? renderHitIcon() : null, renderIconBlock$1(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] }));
2438
2457
  });
2439
- const renderIconBlock$1 = (icon) => (jsx("div", { className: "w-[267px] min-w-[267px] self-center", children: icon?.src || icon?.icon ? jsx(ImgInner, { image: icon }) : null }));
2458
+ const renderIconBlock$1 = (icon) => (jsx("div", { className: "w-[267px] min-w-[267px] self-center", children: icon?.src || icon?.icon ? jsx(Img, { image: icon }) : null }));
2440
2459
  const renderFoldButton$1 = ({ isUnfolded, onToggle }) => (jsxs("button", { className: "w-full cursor-pointer text-primary-main pt-5 flex justify-between items-center", onClick: onToggle, children: [jsx("div", { children: isUnfolded ? 'Скрыть' : 'Подробнее о тарифе' }), jsx(Icon, { className: "text-primary-text", name: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', width: "16", height: "16" })] }));
2441
2460
  const renderHitIcon = () => (jsxs("div", { className: "absolute -top-7 -right-4 h-[60px] w-[60px] bg-white flex flex-col items-center justify-center rounded-md shadow-[0_4px_25px_rgba(0,0,0,0.07)]", children: [jsx(Icon, { iconVersion: "black", name: "HeartIcon", width: "23", height: "22" }), jsx(Paragraph, { size: "text-s", font: "font-normal", align: "text-center", color: "text-primary-text", children: "\u0425\u0418\u0422" })] }));
2442
2461
 
@@ -2447,7 +2466,7 @@
2447
2466
  const COLS_LENGTH_FOR_SCROLL$1 = 3;
2448
2467
  const COLUMN_WIDTH$2 = 4 * 80 + 4 * 4; // w-80 + gap-4 = 336px
2449
2468
 
2450
- 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: icon, width: "63", height: "63" })), image?.src && jsx(ImgInner, { className: "mb-[18px]", image: image }), title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "text-center text-white", title: title })) : null, link?.text && (jsx("div", { className: "mt-auto w-full", children: jsx(Button, { href: link.href, target: link.target, className: "mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active", children: jsx("div", { className: "text-xs-light font-medium py-[11px]", children: link.text }) }) }))] })));
2469
+ 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(Img, { className: "h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4", image: icon, width: "63", height: "63" })), image?.src && jsx(Img, { className: "mb-[18px]", image: image }), title ? (jsx(Heading, { headingType: "h4", as: "h3", className: "text-center text-white", title: title })) : null, link?.text && (jsx("div", { className: "mt-auto w-full", children: jsx(Button, { href: link.href, target: link.target, className: "mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active", children: jsx("div", { className: "text-xs-light font-medium py-[11px]", children: link.text }) }) }))] })));
2451
2470
 
2452
2471
  const carouselContainerClassesMap = {
2453
2472
  comparison: 'flex gap-4 duration-1000',
@@ -2503,15 +2522,15 @@
2503
2522
  const ComparisonTable = JSX(({ className = '', title, rowHeaders, columns, visibleRowLength = 0, isColoredFirstColumn = false, ...rest }) => {
2504
2523
  const [isShowAllRow, setIsShowAllRow] = useState(!visibleRowLength);
2505
2524
  const handleToggle = useCallback(() => setIsShowAllRow((_) => !_), []);
2506
- 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
2525
+ return (jsxs(BlockWrapper, { className: style('overflow-hidden relative', className), defaultPadding: "p-default", ...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
2507
2526
  ? renderShowMoreToggleButton({ isShowAllRow, onClick: handleToggle })
2508
2527
  : null] }));
2509
2528
  });
2510
2529
  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 ? 'Показать все параметры' : 'Скрыть' }) })] }) }));
2511
2530
 
2512
- const ContactsBlock = JSX(({ className = '', contacts, info, version = 'secondary', ...rest }) => (jsxs(BlockWrapper, { className: `flex p-default ${className}`, version: version, ...rest, children: [info?.length ? renderBlocks(info) : null, contacts?.length ? renderBlocks(contacts) : null] })));
2531
+ const ContactsBlock = JSX(({ className, contacts, info, version = 'secondary', ...rest }) => (jsxs(BlockWrapper, { className: style('flex', className), defaultPadding: "p-default", version: version, ...rest, children: [info?.length ? renderBlocks(info) : null, contacts?.length ? renderBlocks(contacts) : null] })));
2513
2532
  const renderBlocks = (info) => (jsx("div", { className: "flex grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index })) }));
2514
- 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;
2533
+ 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?.href ? jsx(Button, { className: "mt-6", ...button }) : null] }, String(key)))) }, `col-${String(index)}`)) : null;
2515
2534
 
2516
2535
  const isEmpty = (v) => v === null ||
2517
2536
  v === undefined ||
@@ -2550,7 +2569,7 @@
2550
2569
  const DefaultFoldButton = JSX(({ className = '', label, icon, dataTheme = '', disabled = false, onClick }) => {
2551
2570
  return (jsxs("button", { className: style('flex justify-center w-full px-0 py-4 border border-transparent outline-none focus:border-primary-text', disabled
2552
2571
  ? 'bg-main-divider text-main-disabled hover:bg-main-divider'
2553
- : 'bg-primary-main text-white hover:bg-primary-hove', className), onClick: onClick, disabled: disabled, "data-theme": dataTheme, children: [jsx("span", { className: "text-h4 pr-3", children: label }), icon ? (jsx(ImgInner, { image: {
2572
+ : 'bg-primary-main text-white hover:bg-primary-hove', className), onClick: onClick, disabled: disabled, "data-theme": dataTheme, children: [jsx("span", { className: "text-h4 pr-3", children: label }), icon ? (jsx(Img, { image: {
2554
2573
  icon,
2555
2574
  iconVersion: 'white',
2556
2575
  }, className: "flex-shrink-0 my-auto", width: "20", height: "20" })) : null] }));
@@ -2626,14 +2645,14 @@
2626
2645
  parse: (min) => ({ min, max: maxValue }),
2627
2646
  format: ({ min }) => min,
2628
2647
  }) })] }));
2629
- return (jsxs(BlockWrapper, { className: style(className), version: "transparent", ...rest, children: [renderFiltrationForm({ field, reset, filtrationSchema, resetButton, children: Inputs }), jsx(BaseFiltrationInner, { filtrationState: filtrationState, ...rest })] }));
2648
+ return (jsxs(BlockWrapper, { className: style(className), defaultPadding: "p-0", version: "transparent", ...rest, children: [renderFiltrationForm({ field, reset, filtrationSchema, resetButton, children: Inputs }), jsx(BaseFiltrationInner, { filtrationState: filtrationState, ...rest })] }));
2630
2649
  });
2631
2650
  DepositFiltration.childrenTypes = ['ProductTile'];
2632
2651
  DepositFiltration.childSchema = (content) => content?.filtrationSchema || {};
2633
2652
 
2634
2653
  const renderErrorContent = (error) => {
2635
2654
  if (error?.errorContentType === 'Image' && error?.image) {
2636
- return jsx(ImgInner, { image: error.image });
2655
+ return jsx(Img, { image: error.image });
2637
2656
  }
2638
2657
  if (error?.errorContentType === 'Code' && error.code) {
2639
2658
  return jsx("div", { className: "font-mohave text-title-extra gradient-color-text", children: error.code });
@@ -2641,7 +2660,7 @@
2641
2660
  return null;
2642
2661
  };
2643
2662
  const getErrorBlockStyle = (text) => (text ? 'py-20 pt-3 pb-1' : 'mb-16 pb-2 mt-24 pt-3');
2644
- const ErrorBlock = JSX(({ className = '', title, subtitle, error, button, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col justify-center items-center', getErrorBlockStyle(button?.text), className), version: "transparent", ...rest, children: [jsx("div", { className: "flex justify-center py-20", children: renderErrorContent(error) }), title ? jsx(Heading, { headingType: "h1", className: "text-left mb-4", title: title }) : null, subtitle ? (jsx("div", { className: "font-sans text-xl-light mb-7 max-w-[613px] text-center", children: subtitle })) : null, button?.text ? (jsx(Button, { className: "py-4 px-9", version: button?.version, ...button, children: button.text })) : null] })));
2663
+ const ErrorBlock = JSX(({ className = '', title, subtitle, error, button, ...rest }) => (jsxs(BlockWrapper, { className: style('flex flex-col justify-center items-center', className), defaultPadding: getErrorBlockStyle(button?.text), version: "transparent", ...rest, children: [jsx("div", { className: "flex justify-center py-20", children: renderErrorContent(error) }), title ? jsx(Heading, { headingType: "h1", className: "text-left mb-4", title: title }) : null, subtitle ? (jsx("div", { className: "font-sans text-xl-light mb-7 max-w-[613px] text-center", children: subtitle })) : null, button?.text ? (jsx(Button, { className: "py-4 px-9", version: button?.version, ...button, children: button.text })) : null] })));
2645
2664
 
2646
2665
  var Currencies;
2647
2666
  (function (Currencies) {
@@ -2662,7 +2681,7 @@
2662
2681
  RUB: 'RoundRubleIcon',
2663
2682
  };
2664
2683
  const renderCurrencyRow$1 = ({ title, buyPrice, buyDifference, sellPrice, sellDifference, buyOfficeName, sellOfficeName, }) => {
2665
- return (jsxs("tr", { className: "pb-1 text-h6", children: [jsx("td", { className: "pt-4", children: jsxs("div", { className: "flex items-center", children: [title ? (jsx(ImgInner, { image: { icon: CURRENCY_ICONS_MAP$1[title] }, width: "24", height: "24" })) : null, jsx("span", { className: "ml-2", children: title })] }) }), renderCurrency(buyPrice, buyDifference), renderCurrency(sellPrice, sellDifference), renderOffice(buyPrice, buyOfficeName), renderOffice(sellPrice, sellOfficeName)] }, title));
2684
+ return (jsxs("tr", { className: "pb-1 text-h6", children: [jsx("td", { className: "pt-4", children: jsxs("div", { className: "flex items-center", children: [title ? (jsx(Img, { image: { icon: CURRENCY_ICONS_MAP$1[title] }, width: "24", height: "24" })) : null, jsx("span", { className: "ml-2", children: title })] }) }), renderCurrency(buyPrice, buyDifference), renderCurrency(sellPrice, sellDifference), renderOffice(buyPrice, buyOfficeName), renderOffice(sellPrice, sellOfficeName)] }, title));
2666
2685
  };
2667
2686
  const formatCurrency$1 = (value) => (value ? currencyNumberFormat$1.format(value) : '');
2668
2687
  const renderCurrency = (price, difference) => {
@@ -2680,9 +2699,9 @@
2680
2699
  return (jsx("th", { className: "pl-11", children: jsx(Text, { size: "text-m-light", align: "text-left", color: "text-secondary-text", children: title }) }));
2681
2700
  };
2682
2701
 
2683
- const ExchangeRateOffice = JSX(({ className = '', currencies = [], actuality = '', officeName = '', ...rest }) => {
2702
+ const ExchangeRateOffice = JSX(({ className, currencies = [], actuality = '', officeName = '', ...rest }) => {
2684
2703
  const fourRates = topNRates(currencies, 4);
2685
- return (jsxs(BlockWrapper, { className: style('font-sans text-primary-text py-10 bg-white', className), ...rest, children: [jsxs("div", { className: "flex flex-row flex-grow-0 justify-between mx-10 mb-8", children: [jsx(Heading, { headingType: "h4", title: 'Курс обмена валют в ' + officeName, className: "whitespace-pre-wrap text-h4 mb-5" }), jsx("div", { className: "pl-11", children: jsx(Text, { size: "text-m-light", align: "text-left", color: "text-secondary-text", children: actuality }) })] }), jsx("div", { className: "flex flex-row ml-8 mr-14 pt-4 text-left", children: fourRates.length > 0 ? (jsxs("table", { className: style('h-fit w-fit', className), children: [jsx("thead", { children: jsxs("tr", { children: [jsx("th", { children: jsx(Text, { size: "text-m-light", align: "text-left", color: "text-secondary-text", children: "\u0412\u0430\u043B\u044E\u0442\u0430" }) }), renderTableHeader('Купить'), renderTableHeader('Продать'), renderTableHeader('Лучшая покупка'), renderTableHeader('Лучшая продажа')] }) }), jsx("tbody", { children: fourRates.map((item) => renderCurrencyRow$1(item)) })] })) : null })] }));
2704
+ return (jsxs(BlockWrapper, { className: className, ...rest, children: [jsxs("div", { className: "flex flex-row flex-grow-0 justify-between mb-8", children: [jsx(Heading, { headingType: "h4", title: 'Курс обмена валют в ' + officeName, className: "whitespace-pre-wrap text-h4 mb-5" }), jsx("div", { className: "pl-11", children: jsx(Text, { size: "text-m-light", align: "text-left", color: "text-secondary-text", children: actuality }) })] }), jsx("div", { className: "flex flex-row pt-4 text-left", children: fourRates.length > 0 ? (jsxs("table", { className: style('h-fit w-fit', className), children: [jsx("thead", { children: jsxs("tr", { children: [jsx("th", { children: jsx(Text, { size: "text-m-light", align: "text-left", color: "text-secondary-text", children: "\u0412\u0430\u043B\u044E\u0442\u0430" }) }), renderTableHeader('Купить'), renderTableHeader('Продать'), renderTableHeader('Лучшая покупка'), renderTableHeader('Лучшая продажа')] }) }), jsx("tbody", { children: fourRates.map((item) => renderCurrencyRow$1(item)) })] })) : null })] }));
2686
2705
  });
2687
2706
  const topNRates = (rates, n) => rates.sort((a, b) => Number(a.id) - Number(b.id)).slice(0, n);
2688
2707
 
@@ -2708,10 +2727,10 @@
2708
2727
  const CurrencyTable = JSX(({ className, exchangeCurrencyItems }) => (jsxs("table", { className: `h-fit w-fit ${className}`, children: [jsx("thead", { children: jsxs("tr", { children: [jsx("th", { className: TABLE_HEAD_STYLE, children: "\u0412\u0430\u043B\u044E\u0442\u0430" }), jsx("th", { className: TABLE_HEAD_STYLE_WITH_PL, children: "\u041A\u0443\u043F\u0438\u0442\u044C" }), jsx("th", { className: TABLE_HEAD_STYLE_WITH_PL, children: "\u041F\u0440\u043E\u0434\u0430\u0442\u044C" })] }) }), jsx("tbody", { children: exchangeCurrencyItems.map(renderCurrencyRow) })] })));
2709
2728
  const renderCurrencyRow = (exchangeCurrencyItem) => {
2710
2729
  const currency = exchangeCurrencyItem?.currency?.currency;
2711
- return (jsxs("tr", { className: "pb-1 text-h6", children: [jsx("td", { className: "pt-4", children: jsxs("div", { className: "flex items-center", children: [currency ? (jsx(ImgInner, { image: { icon: CURRENCY_ICONS_MAP[currency] }, width: "24", height: "24" })) : null, jsx("span", { className: "ml-2", children: currency })] }) }), jsx("td", { className: "pt-4 pl-11", children: formatCurrency(exchangeCurrencyItem?.saleExchangeRate) }), jsx("td", { className: "pt-4 pl-11", children: formatCurrency(exchangeCurrencyItem?.buyExchangeRate) })] }, currency));
2730
+ return (jsxs("tr", { className: "pb-1 text-h6", children: [jsx("td", { className: "pt-4", children: jsxs("div", { className: "flex items-center", children: [currency ? (jsx(Img, { image: { icon: CURRENCY_ICONS_MAP[currency] }, width: "24", height: "24" })) : null, jsx("span", { className: "ml-2", children: currency })] }) }), jsx("td", { className: "pt-4 pl-11", children: formatCurrency(exchangeCurrencyItem?.saleExchangeRate) }), jsx("td", { className: "pt-4 pl-11", children: formatCurrency(exchangeCurrencyItem?.buyExchangeRate) })] }, currency));
2712
2731
  };
2713
2732
 
2714
- const CurrentLocation$1 = JSX(({ className = '', address }) => (jsxs("div", { className: `flex ${className}`, children: [jsx(ImgInner, { image: { icon: 'GpsIcon' }, width: "24", height: "24" }), jsxs("div", { className: "ml-3", children: [address ? jsx("p", { className: "text-primary-main m-0 mb-1 text-l", children: address }) : null, jsx("p", { className: "text-secondary-text m-0 text-m", children: "\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u043D\u043D\u043E\u0433\u043E \u043E\u0444\u0438\u0441\u0430" })] })] })));
2733
+ const CurrentLocation$1 = JSX(({ className = '', address }) => (jsxs("div", { className: `flex ${className}`, children: [jsx(Img, { image: { icon: 'GpsIcon' }, width: "24", height: "24" }), jsxs("div", { className: "ml-3", children: [address ? jsx("p", { className: "text-primary-main m-0 mb-1 text-l", children: address }) : null, jsx("p", { className: "text-secondary-text m-0 text-m", children: "\u041A\u0443\u0440\u0441 \u0443\u043A\u0430\u0437\u0430\u043D \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u043D\u043D\u043E\u0433\u043E \u043E\u0444\u0438\u0441\u0430" })] })] })));
2715
2734
 
2716
2735
  const roundTo = (value, precision = 2) => {
2717
2736
  const factor = 10 ** precision;
@@ -2773,7 +2792,7 @@
2773
2792
  setSelected: handleSelectBuy(calcState, handleSetCalcState, currencyRatesBuy),
2774
2793
  value: calcState.inputBuy,
2775
2794
  setValue: (value) => handleInputBuy(handleSetCalcState, currencyRatesBuy)(value, calcState.selectBuy, calcState.selectSell),
2776
- }), button?.text ? (jsx(Button, { className: "py-4 mr-1", version: button?.version, ...button, children: button.text })) : null] }));
2795
+ }), button?.text ? (jsx(Button, { className: "py-4", version: button?.version, ...button, children: button.text })) : null] }));
2777
2796
  });
2778
2797
  const handleSelectSell = (calcState, setCalcState, currencyRatesSell) => (value) => {
2779
2798
  setCalcState({ selectSell: value });
@@ -2854,7 +2873,7 @@
2854
2873
  currencyRatesBuy.unshift({ currency: { currency: Currency.RUB } });
2855
2874
  const currencyRatesSell = currencyRates.filter((_) => _.saleExchangeRate);
2856
2875
  currencyRatesSell.push({ currency: { currency: Currency.RUB } });
2857
- 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] }) }) }));
2876
+ return (jsx(BlockWrapper, { className: style('box-border min-h-80', className), ...rest, children: jsx(BaseTile, { className: "h-full", title: jsx(Heading, { headingType: "h4", title: title, className: "whitespace-pre-wrap" }), children: jsxs("div", { className: "flex gap-xxl", children: [jsxs("div", { children: [currencyRates ? (jsx(CurrencyTable, { className: "mb-xl", 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] }) }) }));
2858
2877
  });
2859
2878
  const getCurrencyRates = (currencies) => {
2860
2879
  return currencies?.filter((_) => _?.currency?.id === 1 || _?.currency?.id === 2) || [];
@@ -2877,7 +2896,7 @@
2877
2896
  transparent: 'text-white',
2878
2897
  };
2879
2898
  const renderImage$2 = (bgColor, image, size) => {
2880
- return image?.src ? (jsx(ImgInner, { image: image, className: SVG_COLOR[bgColor], width: size?.width, height: size?.height, pathPrefix: "/wcms-resources/" })) : (jsx(ImgInner, { image: {
2899
+ return image?.src ? (jsx(Img, { image: image, className: SVG_COLOR[bgColor], width: size?.width, height: size?.height, pathPrefix: "/wcms-resources/" })) : (jsx(Img, { image: {
2881
2900
  icon: image?.icon || 'LogoIcon',
2882
2901
  iconVersion: ICON_VERSION_MAP[bgColor],
2883
2902
  }, className: SVG_COLOR[bgColor], width: size?.width, height: size?.height }));
@@ -2895,7 +2914,7 @@
2895
2914
  return (jsxs("a", { className: `inline-flex items-center font-sans no-underline ${className}`, href: href || '/', target: targetBlank ? '_blank' : '_self', "aria-label": logo?.title || 'Россельхозбанк', children: [renderImage$2(bgColor, logo?.image, { width: '40', height: '45' }), showTitle ? renderTitle$2(children || logo?.title, bgColor) : null] }));
2896
2915
  });
2897
2916
 
2898
- const CloseButton = JSX(({ className, onClick }) => (jsx("button", { className: style('flex justify-center items-center w-12 h-12 p-1 bg-transparent border-none', className), onClick: onClick, title: "\u0417\u0430\u043A\u0440\u044B\u0442\u044C", children: jsx(ImgInner, { image: { icon: 'CloseIcon' }, width: "24", height: "24" }) })));
2917
+ const CloseButton = JSX(({ className, onClick }) => (jsx("button", { className: style('flex justify-center items-center w-12 h-12 p-1 bg-transparent border-none', className), onClick: onClick, title: "\u0417\u0430\u043A\u0440\u044B\u0442\u044C", children: jsx(Img, { image: { icon: 'CloseIcon' }, width: "24", height: "24" }) })));
2899
2918
 
2900
2919
  function assertUnreachable(x) {
2901
2920
  throw new Error(x);
@@ -3132,7 +3151,7 @@
3132
3151
  const handleChange = useCallback((ev) => {
3133
3152
  onChange && onChange(ev.target?.value || '');
3134
3153
  }, [onChange]);
3135
- return (jsxs("div", { className: style('font-sans relative', className), role: "form", children: [jsx("div", { className: "absolute h-full flex items-center pl-4 pointer-events-none", children: jsx(ImgInner, { image: { icon: 'LoupeIcon' }, width: "24", height: "24" }) }), jsx("input", { className: style('h-12 pl-12 w-full text-l text-black outline-none box-border', 'border border-solid rounded-md border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text'), value: value, type: "text", name: "search-bar-input", placeholder: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", autoFocus: autoFocus, onChange: handleChange, onFocus: onFocus })] }));
3154
+ return (jsxs("div", { className: style('font-sans relative', className), role: "form", children: [jsx("div", { className: "absolute h-full flex items-center pl-4 pointer-events-none", children: jsx(Img, { image: { icon: 'LoupeIcon' }, width: "24", height: "24" }) }), jsx("input", { className: style('h-12 pl-12 w-full text-l text-black outline-none box-border', 'border border-solid rounded-md border-gray hover:border-primary-hover active:border-primary-text focus:border-primary-text'), value: value, type: "text", name: "search-bar-input", placeholder: "\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u0441\u0430\u0439\u0442\u0443", autoFocus: autoFocus, onChange: handleChange, onFocus: onFocus })] }));
3136
3155
  });
3137
3156
 
3138
3157
  const SEARCH_DIALOG_ID = 'search';
@@ -3179,11 +3198,9 @@
3179
3198
  });
3180
3199
  const isQueryLongEnough = (_) => _ && _.length >= MIN_QUERY_LEN;
3181
3200
 
3182
- const Contacts = JSX(({ className = '', items, hasButton }) => (jsxs("div", { className: className, children: [items?.length ? items.map(renderContact) : null, hasButton ? (jsx(Button, { version: "primary", className: "mb-6 w-full", href: "https://www.rshb.ru/feedback/question/", target: "_blank", ariaLabel: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C", text: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C" })) : null] })));
3183
- const renderContact = (item, index) => {
3184
- const { type, text, description } = item;
3185
- return (jsxs("div", { className: "mb-4", children: [jsx("div", { children: renderText(type, text) }), jsx("div", { className: "mt-1 text-s-light text-secondary-text", children: description })] }, String(index)));
3186
- };
3201
+ const Contacts = JSX(({ className = '', items, hasButton }) => (jsxs("div", { className: className, children: [items?.length ? items.map(renderContactsGroup) : null, hasButton ? (jsx(Button, { version: "primary", className: "mb-6 w-full", href: "https://www.rshb.ru/feedback/question/", target: "_blank", ariaLabel: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C", text: "\u041E\u0431\u0440\u0430\u0442\u043D\u0430\u044F \u0441\u0432\u044F\u0437\u044C" })) : null] })));
3202
+ const renderContactsGroup = (item, i) => (jsxs("div", { className: "mb-6", children: [jsx("div", { className: "mb-4", children: jsx(Text, { size: "text-l", font: "font-medium", children: item?.title }) }), jsx("div", { children: item.items?.map(renderContact) })] }, String(i)));
3203
+ const renderContact = (item, index) => (jsxs("div", { className: "mb-4", children: [jsx("div", { children: renderText(item.type, item.text) }), jsx("div", { className: "mt-1 text-s-light text-secondary-text", children: item.description })] }, String(index)));
3187
3204
  const renderText = (type, text = '') => {
3188
3205
  switch (type) {
3189
3206
  case 'tel':
@@ -3223,10 +3240,10 @@
3223
3240
  const fallback = rest.options?.page?.fallback;
3224
3241
  const sitemap = useSWRResource(projectSettings.SITEMAP || 'sitemap', fallback);
3225
3242
  const { documents, relatedEnterprises, contacts, socialMedia, mobileApps, logo } = useSWRResource(projectSettings.FOOTER || 'footer', fallback);
3226
- 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: "flex-grow", topItems: sitemap?.topItems })] }), jsx(HorizontalNavigation, { className: "mt-[98px]", links: relatedEnterprises }), jsx(TextInformation, { links: documents })] }));
3243
+ return (jsxs(BlockWrapper, { tag: "footer", className: className, ...rest, children: [jsxs("div", { className: "flex items-stretch gap-[54px] pb-8 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: "flex-grow", topItems: sitemap?.topItems })] }), jsx(HorizontalNavigation, { className: "mt-[98px]", links: relatedEnterprises }), jsx(TextInformation, { links: documents })] }));
3227
3244
  });
3228
3245
 
3229
- const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (jsxs(BlockWrapper, { className: `p-default ${className}`, ...rest, children: [jsx(Headline, { className: "!p-0 mb-4", title: title, description: description, headlineVersion: "M" }), calendar ? renderCalendar(calendar) : null] })));
3246
+ const GracePeriod = JSX(({ className = '', title, description, calendar, ...rest }) => (jsxs(BlockWrapper, { className: className, defaultPadding: "p-default", ...rest, children: [jsx(Headline, { className: "!p-0 mb-4", title: title, description: description, headlineVersion: "M" }), calendar ? renderCalendar(calendar) : null] })));
3230
3247
  const renderCalendar = (calendar) => {
3231
3248
  const colCount = calendar.reduce((accumulator, currentValue) => currentValue?.month?.length ? accumulator + currentValue.month.length : accumulator, 0) || 1;
3232
3249
  const colSize = 100 / colCount;
@@ -3240,7 +3257,7 @@
3240
3257
  return (jsxs("div", { className: "w-full flex flex-col justify-center mt-13", children: [jsx("div", { className: "flex w-full mb-3 text-h6 text-center", children: mappedCalendar.map((_) => renderMonthNames(_, colSize)) }), jsx("div", { className: "flex w-full", children: mappedCalendar.map((_, ind) => (jsxs("div", { className: "pr-[11px] mr-3 border-r border-main-divider last:border-r-0 last:pr-0 last:mr-0", style: { flexBasis: _.flexBasis }, children: [jsx("div", { className: "flex", children: renderMonthImages(_) }), jsxs("div", { className: "text-s-light text-primary-text mt-3", children: [jsx("span", { children: _.text }), "\u2009", jsx("span", { className: "text-primary-main", children: _.greenText })] })] }, `monthItem-${ind}`))) })] }));
3241
3258
  };
3242
3259
  const renderMonthNames = (item, colSize) => item.month?.map((_, i) => (jsx("div", { style: { flexBasis: `${colSize}%` }, children: _.text }, `monthName-${i}`)));
3243
- const renderMonthImages = (item) => item.month?.map((_) => _.image?.src ? (jsx("div", { className: "h-[207px] border-r pr-3 mr-3 border-main-divider last:border-r-0 last:pr-0 last:mr-0", children: jsx(ImgInner, { image: _.image, className: "flex" }) }, `monthImage-${_.image.src}`)) : null);
3260
+ const renderMonthImages = (item) => item.month?.map((_) => _.image?.src ? (jsx("div", { className: "h-[207px] border-r pr-3 mr-3 border-main-divider last:border-r-0 last:pr-0 last:mr-0", children: jsx(Img, { image: _.image, className: "flex" }) }, `monthImage-${_.image.src}`)) : null);
3244
3261
 
3245
3262
  const STORAGE_DEFAULT_TTL = 86400000; // 24 * 60 * 60 * 1000
3246
3263
  function useCachedAsyncData(key, fetcher, storage = globalThis?.localStorage) {
@@ -3344,7 +3361,7 @@
3344
3361
  const ForeignOffice = JSX(({ icon, ...rest }) => {
3345
3362
  const link = useLink();
3346
3363
  const { text, target, href, onClick } = link(rest);
3347
- return (jsxs("div", { className: "flex gap-x-3", children: [icon ? jsx(ImgInner, { pathPrefix: "/wcms-resources/", image: icon }) : null, text ? (jsx("a", { className: "hover:text-primary-hover", href: href, target: target, onClick: onClick, children: text })) : null] }));
3364
+ return (jsxs("div", { className: "flex gap-x-3", children: [icon ? jsx(Img, { pathPrefix: "/wcms-resources/", image: icon }) : null, text ? (jsx("a", { className: "hover:text-primary-hover", href: href, target: target, onClick: onClick, children: text })) : null] }));
3348
3365
  });
3349
3366
 
3350
3367
  const TopItem = JSX(({ className = '', active, flat, children, ...rest }) => {
@@ -3365,7 +3382,7 @@
3365
3382
  };
3366
3383
  const HeaderSecondaryMenuButton = JSX(({ className, isRounded, buttonSize = 'default', isGrayBg = false, disabled, ariaLabel, image, onClick, }) => (jsx("button", { className: style('group/btn border-0 flex shrink-0 items-center', isGrayBg ? 'p-3 rounded-full' : 'p-0 bg-inherit', isGrayBg && !isRounded ? 'bg-main-divider' : '', isRounded
3367
3384
  ? 'w-8 h-8 text-secondary-light hover:text-secondary-hove'
3368
- : `${BUTTON_SIZE_STYLE[buttonSize]} text-primary-text hover:text-primary-main`, 'group-data-transparent:text-white', className), type: "button", disabled: disabled, "aria-label": ariaLabel, onClick: onClick, children: jsx(ImgInner, { image: image, className: style('h-full', isRounded ? 'bg-main-divider/20 rounded-full' : ''), imageClassName: "group-hover/btn:text-primary-hover group-hover/btn:invert-0" }) })));
3385
+ : `${BUTTON_SIZE_STYLE[buttonSize]} text-primary-text hover:text-primary-main`, 'group-data-transparent:text-white', className), type: "button", disabled: disabled, "aria-label": ariaLabel, onClick: onClick, children: jsx(Img, { image: image, className: style('h-full', isRounded ? 'bg-main-divider/20 rounded-full' : ''), imageClassName: "group-hover/btn:text-primary-hover group-hover/btn:invert-0" }) })));
3369
3386
 
3370
3387
  const HeaderSecondaryMenu = JSX(({ className, version, locationName: location, officesLink }) => {
3371
3388
  const iconVersion = version === 'transparent' ? 'white' : 'black';
@@ -3505,7 +3522,7 @@
3505
3522
  const { topItems, logo, defaultLocation, foreignOffices, officesLink, internetBankUrl } = useSWRResource(projectSettings.SITEMAP || 'sitemap', rest.options?.page?.fallback);
3506
3523
  const activeTopItem = topItems?.find(isTopItemActive(router));
3507
3524
  const [location, onChangeLocation] = useLocation(defaultLocation);
3508
- return (jsxs(BlockWrapper, { tag: "header", className: style('pt-6 px-20', showSubMenu && activeTopItem?.items?.length ? 'pb-4' : 'pb-5', className), 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 }), topItems?.map((_, i) => (jsx(TopItem, { active: _ === activeTopItem, ..._ }, String(i)))), jsx(HeaderSecondaryMenu, { version: version, className: "ml-auto", locationName: location.name, officesLink: officesLink })] }), jsx("div", { className: style('mt-6 h-px bg-main-divider', version === 'transparent' ? 'opacity-30' : '') }), showSubMenu && activeTopItem?.items?.length ? (jsx(HeaderSubMenu, { subItems: activeTopItem.items, version: version, internetBankUrl: internetBankUrl })) : null] }), jsx(SearchDialog, { topItems: topItems }), jsx(LocationDialog, { currentLocation: location, foreignOffices: foreignOffices, onChangeLocation: onChangeLocation })] }));
3525
+ return (jsxs(BlockWrapper, { tag: "header", className: style('pt-6 px-20', showSubMenu && activeTopItem?.items?.length ? 'pb-4' : 'pb-5', className), defaultPadding: "", 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 }), topItems?.map((_, i) => (jsx(TopItem, { active: _ === activeTopItem, ..._ }, String(i)))), jsx(HeaderSecondaryMenu, { version: version, className: "ml-auto", locationName: location.name, officesLink: officesLink })] }), jsx("div", { className: style('mt-6 h-px bg-main-divider', version === 'transparent' ? 'opacity-30' : '') }), showSubMenu && activeTopItem?.items?.length ? (jsx(HeaderSubMenu, { subItems: activeTopItem.items, version: version, internetBankUrl: internetBankUrl })) : null] }), jsx(SearchDialog, { topItems: topItems }), jsx(LocationDialog, { currentLocation: location, foreignOffices: foreignOffices, onChangeLocation: onChangeLocation })] }));
3509
3526
  });
3510
3527
 
3511
3528
  const gapStyles = {
@@ -3518,14 +3535,14 @@
3518
3535
  '': '',
3519
3536
  };
3520
3537
 
3521
- const HorizontalLayout = JSX(({ className = '', gap = 'XS', isPadding = false, version = 'transparent', isTheme = false, ...rest }) => (jsx(BlockWrapper, { className: style('relative', 'grid grid-cols-12', isPadding ? 'p-default' : '', gapStyles[gap], className), version: version, isTheme: isTheme, ...rest, children: renderChildren(rest) })));
3538
+ const HorizontalLayout = JSX(({ className = '', gap = 'XS', isPadding = false, version = 'transparent', isTheme = false, ...rest }) => (jsx(BlockWrapper, { className: style('relative', 'grid grid-cols-12', gapStyles[gap], className), defaultPadding: isPadding ? 'p-default' : '', version: version, isTheme: isTheme, ...rest, children: renderChildren(rest) })));
3522
3539
  HorizontalLayout.childrenTypes = {
3523
3540
  exclude: ['HorizontalLayout'],
3524
3541
  };
3525
3542
 
3526
3543
  const ImgBlock = JSX((props) => {
3527
3544
  const { className, image, ...rest } = props;
3528
- return (jsx(BlockWrapper, { className: className, ...rest, children: jsx(ImgInner, { image: image }) }));
3545
+ return (jsx(BlockWrapper, { className: className, defaultPadding: "p-0", ...rest, children: jsx(Img, { image: image }) }));
3529
3546
  });
3530
3547
 
3531
3548
  const InsuranceAmountBlockInner = JSX(({ className = '', cards = [], button }) => {
@@ -3566,19 +3583,19 @@
3566
3583
  const btnClassName = isActive
3567
3584
  ? 'shadow-dark-blue border-primary-main'
3568
3585
  : `ease-in duration-300 border-gray`;
3569
- return (jsxs("button", { type: "button", onClick: onClick, className: `p-[30px] min-w-[460px] flex items-center bg-white border-solid border relative ${btnClassName}`, children: [slide?.icon ? (jsx(ImgInner, { className: "p-5 rounded-full bg-secondary-light mr-[30px]", image: slide.icon, width: "108", height: "108" })) : null, jsxs("div", { className: "flex gap-3.5", children: [slide?.sum ? renderValueBlock$1('страховая сумма', slide.sum) : null, slide?.fee ? renderValueBlock$1('страховой взнос', slide.fee) : null] }), renderDoneIcon(isActive)] }, String(i)));
3586
+ return (jsxs("button", { type: "button", onClick: onClick, className: `p-[30px] min-w-[460px] flex items-center bg-white border-solid border relative ${btnClassName}`, children: [slide?.icon ? (jsx(Img, { className: "p-5 rounded-full bg-secondary-light mr-[30px]", image: slide.icon, width: "108", height: "108" })) : null, jsxs("div", { className: "flex gap-3.5", children: [slide?.sum ? renderValueBlock$1('страховая сумма', slide.sum) : null, slide?.fee ? renderValueBlock$1('страховой взнос', slide.fee) : null] }), renderDoneIcon(isActive)] }, String(i)));
3570
3587
  }
3571
3588
  function renderValueBlock$1(title, sum) {
3572
3589
  return (jsxs("div", { className: "flex flex-col text-left whitespace-pre", children: [jsxs("span", { className: "text-h6", children: [toLocalNumberFormat(2)(sum), " \u20BD"] }), jsx("span", { className: "text-secondary-text text-l mt-1", children: title })] }));
3573
3590
  }
3574
3591
  function renderDoneIcon(isActive) {
3575
- return isActive ? (jsx(ImgInner, { className: `h-6 w-6 min-w-6 min-h-6 absolute right-4 top-4`, image: { icon: 'DoneIcon' }, width: "24", height: "24" })) : null;
3592
+ return isActive ? (jsx(Img, { className: `h-6 w-6 min-w-6 min-h-6 absolute right-4 top-4`, image: { icon: 'DoneIcon' }, width: "24", height: "24" })) : null;
3576
3593
  }
3577
3594
 
3578
3595
  const InsuranceAmountBlock = JSX(({ className = '', title, insuranceTabs = [], button, ...rest }) => {
3579
3596
  const [activeSlideIndex, setActiveSlideIndex] = useState(0);
3580
3597
  const handleActiveSlideIndex = useCallback((_) => setActiveSlideIndex(_), []);
3581
- 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({
3598
+ return (jsxs(BlockWrapper, { className: style('box-border overflow-hidden relative px-0', className), defaultPadding: "p-default", ...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({
3582
3599
  title: item?.title,
3583
3600
  i,
3584
3601
  isActive: Boolean(i === activeSlideIndex),
@@ -3616,11 +3633,11 @@
3616
3633
  };
3617
3634
  const InvestmentInfo = JSX((props) => {
3618
3635
  const { className = '', items, isDotted, investmentZeroColumn, investmentColumns, ...rest } = props;
3619
- const colums = investmentColumns ? [...investmentColumns] : [];
3636
+ const columns = investmentColumns ? [...investmentColumns] : [];
3620
3637
  if (investmentZeroColumn) {
3621
- colums.unshift(investmentZeroColumn);
3638
+ columns.unshift(investmentZeroColumn);
3622
3639
  }
3623
- 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 max-w-[657px]", items: items, isDotted: isDotted, listItemSize: "M" })) : null] }) }));
3640
+ return (jsx(BlockWrapper, { className: className, ...rest, children: jsxs("div", { className: "container text-m-light", children: [columns?.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" }))(columns.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: columns.map(renderInvestmentColumnTitle) })] })) : null, items?.length ? (jsx(List, { className: "mt-9 max-w-[657px]", items: items, isDotted: isDotted, listItemSize: "M" })) : null] }) }));
3624
3641
  });
3625
3642
  const renderInvestmentColumn = (column, i, arr) => {
3626
3643
  const isSecondColumn = i === 1;
@@ -3665,43 +3682,23 @@
3665
3682
  double: 'flex-wrap',
3666
3683
  single: 'flex-col',
3667
3684
  };
3668
- const LinkDocs = JSX(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => (jsxs(BlockWrapper, { className: style('p-default', className), ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, align: align, headlineVersion: "M", as: "h2" }), documents?.length ? (jsx("div", { className: style('mt-8 flex gap-6', linkColumnsModeStyleMap[columnsMode]), role: "list", children: documents.map((doc, i) => (jsx("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: jsx(LinkDocsListItem, { doc: doc, icon: icon ? (jsx(ImgInner, { className: "min-w-6 min-h-6", image: icon, width: "24", height: "24" })) : null }) }, String(i)))) })) : null] })));
3685
+ const LinkDocs = JSX(({ className = '', title, description, align = 'text-center', documents, icon = { icon: 'DocIcon' }, columnsMode = 'double', ...rest }) => (jsxs(BlockWrapper, { className: className, defaultPadding: "p-default", ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, align: align, headlineVersion: "M", as: "h2" }), documents?.length ? (jsx("div", { className: style('mt-8 flex gap-6', linkColumnsModeStyleMap[columnsMode]), role: "list", children: documents.map((doc, i) => (jsx("div", { className: columnsMode === 'double' ? 'basis-[calc(50%-20px)]' : '', role: "listitem", children: jsx(LinkDocsListItem, { doc: doc, icon: icon ? (jsx(Img, { className: "min-w-6 min-h-6", image: icon, width: "24", height: "24" })) : null }) }, String(i)))) })) : null] })));
3669
3686
 
3670
- const getColSpan = (className) => {
3671
- const colSpanPrefix = 'col-span-';
3672
- const colSpanStr = className?.split(/\s+/).find((_) => _.startsWith(colSpanPrefix));
3673
- return colSpanStr ? parseInt(colSpanStr.substring(colSpanPrefix.length), 10) : 12;
3674
- };
3687
+ const renderDescription$2 = (description) => description ? (jsx("div", { className: "mb-5 pt-0.5 sm:mb-0 sm:pt-0", children: jsx(Text, { size: "text-xl", "font-weight": "light", children: description }) })) : null;
3675
3688
 
3676
- function getTileMinHeight(className = '') {
3677
- const colSpan = getColSpan(className);
3678
- if (colSpan <= 6) {
3679
- return 'min-h-[300px]';
3680
- }
3681
- else if (colSpan <= 8) {
3682
- return 'min-h-[320px]';
3683
- }
3684
- else {
3685
- return 'min-h-[360px]';
3686
- }
3687
- }
3689
+ const renderList$1 = (items) => {
3690
+ return items?.length ? (jsx(List, { items: items, className: "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" }));
3691
+ };
3688
3692
 
3689
- const MobileAppTile = JSX(({ className = '', title = 'Мобильное приложение', qr, buttons, version = 'primary', items, image, headingType = 'h4', alignTitle = 'left', description, ...rest }) => {
3693
+ const MobileAppTile = JSX(({ className, padding, alignTitle = 'left', buttons = [], description, headingType = 'h4', image, items, qr, title = 'Мобильное приложение', version = 'primary', ...rest }) => {
3690
3694
  const containerStyle = version === 'secondary' ? 'p-3.5 min-w-[120px]' : 'min-w-[92px]';
3691
- return (jsxs(BlockWrapper, { className: `flex justify-between p-default 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, {
3692
- className: 'mt-8',
3693
- buttonClassName: 'min-w-[168px]',
3694
- }), 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(items)] })] }), image?.src ? (jsx("div", { className: "absolute right-0 bottom-0", children: jsx(ImgInner, { image: image }) })) : null] }));
3695
+ return (jsx(BlockWrapper, { className: style('min-h-80', className), defaultPadding: "p-0", version: version, ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-default", title: title ? (jsx(Heading, { headingType: headingType, title: title, className: style('whitespace-pre-wrap', AlignText[alignTitle]) })) : null, backImage: image?.src ? jsx(Img, { image: image }) : null, buttons: renderButtonsSection(buttons, { isVertical: buttons.length > 3 }), children: [renderDescription$2(description), jsxs("div", { className: "flex flex-1 gap-s items-center", children: [qr?.src ? (jsx("div", { className: style('flex justify-center bg-white rounded-md', containerStyle), children: jsx(Img, { className: "w-fit", image: qr }) })) : null, renderList$1(items)] })] }) }));
3695
3696
  });
3696
- const renderList$1 = (items) => {
3697
- return items?.length ? (jsx(List, { items: items, listItemSize: "S" })) : (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" }));
3698
- };
3699
- const renderDescription$2 = (description) => description ? jsx("p", { className: "text-xl-light mb-5 pt-0.5", children: description }) : null;
3700
3697
 
3701
3698
  const initialFiltrationState = {};
3702
3699
  const MortgageFiltration = JSX(({ className, filtrationSchema = {}, resetButton, ...rest }) => {
3703
3700
  const [filtrationState, { field, reset }] = useForm(initialFiltrationState);
3704
- return (jsxs(BlockWrapper, { className: style(className), version: "transparent", ...rest, children: [renderFiltrationForm({ field, reset, filtrationSchema, resetButton }), jsx(BaseFiltrationInner, { filtrationState: filtrationState, ...rest })] }));
3701
+ return (jsxs(BlockWrapper, { className: style(className), defaultPadding: "p-0", version: "transparent", ...rest, children: [renderFiltrationForm({ field, reset, filtrationSchema, resetButton }), jsx(BaseFiltrationInner, { filtrationState: filtrationState, ...rest })] }));
3705
3702
  });
3706
3703
  MortgageFiltration.childrenTypes = ['ProductTile'];
3707
3704
  MortgageFiltration.childSchema = (content) => content?.filtrationSchema || {};
@@ -4059,114 +4056,78 @@
4059
4056
  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", 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) })] })] }));
4060
4057
  });
4061
4058
 
4062
- 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] })));
4063
- 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", image: itemList.icon })) : null, itemList.label ? jsx("span", { className: "text-l-light", children: itemList.label }) : null] }, `list_item_${String(i)}`));
4059
+ const OfficeServicesBlock = JSX(({ className = '', title, servicesList, ...rest }) => (jsxs(BlockWrapper, { className: style('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] })));
4060
+ const renderListItems = (itemList, i) => (jsxs("li", { className: "flex mb-5 last:mb-0 list-none", children: [itemList.icon ? (jsx(Img, { className: "mr-3 min-w-6 min-h-6 w-6 h-6", width: "24", height: "24", image: itemList.icon })) : null, itemList.label ? jsx("span", { className: "text-l-light", children: itemList.label }) : null] }, `list_item_${String(i)}`));
4064
4061
 
4065
- const ParagraphBlock = JSX(({ text, size, align, font, children, ...rest }) => (jsx(BlockWrapper, { ...rest, children: jsx(Paragraph, { size: size, align: align, font: font, children: text || children }) })));
4062
+ const ParagraphBlock = JSX(({ text, size, align, font, children, ...rest }) => (jsx(BlockWrapper, { defaultPadding: "p-0", ...rest, children: jsx(Paragraph, { size: size, align: align, font: font, children: text || children }) })));
4066
4063
 
4067
- const BenefitItem = JSX(({ className, icon, label, description, version = 'primary', benefitsVersion = 'normal' }) => (jsxs("div", { className: style('flex gap-5', description ? 'items-start' : 'items-center', className), children: [icon ? (jsx("div", { className: getBenefitIconBgStyle(version, benefitsVersion), children: jsx(ImgInner, { className: "w-6 h-6", image: { ...icon, iconVersion: icon.iconVersion || benefitsVersion } }) })) : null, jsxs("div", { children: [label ? (jsx(Text, { size: "text-h6", color: "text-primary-text group-data-secondary:text-white", children: label })) : null, description ? (jsx(Paragraph, { size: "text-m-light", color: "text-secondary-text group-data-secondary:text-white", children: description })) : null] })] })));
4068
- function getBenefitIconBgStyle(version, benefitsVersion) {
4069
- let bgColorStyle = 'bg-primary-main text-black';
4070
- if (version === 'secondary') {
4071
- bgColorStyle = 'bg-white/30 text-black';
4072
- }
4073
- else if (benefitsVersion === 'normal') {
4074
- bgColorStyle = 'bg-secondary-light text-primary-main';
4075
- }
4076
- return `w-12 h-12 min-w-12 rounded-full p-2.5 box-border flex items-center justify-center ${bgColorStyle}`;
4064
+ const avg = (items = []) => (items?.length ? sum(items) / items.length : 0);
4065
+
4066
+ const deviation = (items) => items?.length ? Math.sqrt(Math.abs(avg(items.map((_) => _ ** 2)) - avg(items) ** 2)) : 0;
4067
+
4068
+ const labelSize$1 = 'text-h6';
4069
+
4070
+ const BenefitItem = JSX(({ className, icon, label, description, benefitsVersion = 'normal' }) => (jsxs("div", { className: style('flex gap-s', description ? 'items-start' : 'items-center', className), children: [icon ? (jsx("div", { className: getBenefitIconBgStyle(benefitsVersion), children: jsx(Img, { className: "w-6 h-6", image: { ...icon, iconVersion: icon.iconVersion || benefitsVersion } }) })) : null, jsxs("div", { className: "gap-0.5", children: [label ? (jsx(Text, { color: "text-primary-text group-data-secondary:text-white", size: labelSize$1, children: label })) : null, description ? (jsx(Paragraph, { font: "font-light", size: "text-m", color: "text-secondary-text group-data-secondary:text-white", children: description })) : null] })] })));
4071
+ function getBenefitIconBgStyle(benefitsVersion) {
4072
+ const bgColorStyle = benefitsVersion === 'normal'
4073
+ ? 'bg-secondary-light text-primary-main'
4074
+ : 'bg-primary-main text-black group-data-secondary:bg-white/30 group-data-secondary:text-black';
4075
+ return style('w-12 h-12 min-w-12 p-2.5 box-border flex items-center justify-center rounded-icon', bgColorStyle);
4077
4076
  }
4078
4077
 
4079
- // TODO: Create universal function for this case
4080
- const renderBenefit$2 =
4081
- // Linter doesn't understand that switch processes all cases
4082
- // eslint-disable-next-line consistent-return
4083
- (version) => (benefit, i) => {
4084
- const { type } = benefit;
4085
- if (!(type === 'default' || type === 'rte')) {
4086
- return null;
4087
- }
4088
- switch (type) {
4089
- case 'default':
4090
- return (jsx(BenefitItem, { icon: benefit.icon, label: benefit.label, description: benefit.description, version: version }, String(i)));
4091
- case 'rte':
4092
- return jsx(RichText, { __html: benefit.__html });
4093
- default:
4094
- assertUnreachable(benefit);
4078
+ const renderBenefit$1 = (benefitsVersion) => ({ type, ...benefit }, i) => {
4079
+ if (type === 'rte' && '__html' in benefit) {
4080
+ return jsx(RichText, { __html: benefit.__html });
4095
4081
  }
4082
+ return jsx(BenefitItem, { benefitsVersion: benefitsVersion, ...benefit }, String(i));
4096
4083
  };
4097
4084
 
4098
- 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))] })] })] })));
4099
- function renderInsuranceSumMonth(sum, monthLimit) {
4100
- 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
4101
- ? renderValueBlock('Ежемесячный лимит:', monthLimit, Boolean(sum))
4102
- : null] })) : null;
4103
- }
4104
- function renderValueBlock(title, sum = 0, isAnotherBlock = false) {
4105
- const widthStyle = isAnotherBlock ? 'w-fit' : 'w-full';
4106
- return (jsxs("div", { className: `flex justify-between items-center gap-2 w-full whitespace-pre ${widthStyle}`, children: [jsx("span", { className: "text-secondary-text text-l-light", children: title }), jsxs("span", { className: "text-primary-main text-h6", children: [toLocalNumberFormat(2)(sum), " \u20BD"] })] }));
4107
- }
4085
+ const MAX_BENEFITS_LEN_DEVIATION = 16;
4086
+ const benefitLength = (_) => _.type === 'rte'
4087
+ ? _.__html?.length || 0
4088
+ : Math.max(_.label?.length || 0, _.description?.length || 0);
4089
+ const isDistortedBenefits = (benefits) => deviation(benefits.map(benefitLength)) > MAX_BENEFITS_LEN_DEVIATION;
4090
+ const BenefitsList = JSX(({ className, benefitsVersion = 'normal', benefits }) => benefits?.length ? (jsx("div", { className: style('flex gap-x-m gap-y-s', isDistortedBenefits(benefits) ? 'flex-col' : 'flex-wrap', className), children: benefits.map(renderBenefit$1(benefitsVersion)) })) : null);
4108
4091
 
4109
- function getTileHeadingType(className = '') {
4110
- const colSpan = getColSpan(className);
4111
- if (colSpan <= 4) {
4112
- return 'S';
4113
- }
4114
- else if (colSpan <= 8) {
4115
- return 'M';
4116
- }
4117
- else {
4118
- return 'L';
4119
- }
4120
- }
4092
+ const Tags = JSX(({ className, tags }) => tags?.length ? (jsx("div", { className: style('flex flex-wrap gap-xs', className), role: "list", children: tags.map(renderTag) })) : null);
4093
+ const renderTag = (tag, key) => (jsx("div", { className: "py-2 px-2.5 border-solid border rounded-md border-gray", role: "listitem", children: jsx(Text, { size: "text-m-light", children: tag }) }, String(key)));
4121
4094
 
4122
- function getTileRightPadding(className = '') {
4123
- const colSpan = getColSpan(className);
4124
- if (colSpan <= 6) {
4125
- return 'pr-9';
4126
- }
4127
- else if (colSpan <= 8) {
4128
- return 'pr-[4.75rem]';
4129
- }
4130
- else {
4131
- return 'pr-[9.4rem]';
4132
- }
4133
- }
4095
+ const BaseProductTile = JSX(({ className, title, description, headlineVersion = 'L', align = 'text-left', isInsetTitle = true, benefits, benefitsVersion, __html, items, isDotted = true, listItemSize, tags, buttons, image, imageOptions: { imageAlign, directionRight = true } = {}, children, }) => {
4096
+ const img = image?.src ? jsx(Img, { image: image }) : null;
4097
+ const headline = (jsx(Headline, { title: title, description: description, headlineVersion: headlineVersion, align: align, isPadding: false }));
4098
+ return (jsx(BaseTile, { className: className, ...(isInsetTitle ? { insetTitle: headline } : { title: headline }), ...(directionRight ? { rightImage: img } : { leftImage: img }), imageAlign: imageAlign, buttons: renderButtonsSection(buttons), children: jsxs("div", { className: "flex flex-col gap-m", children: [jsx(BenefitsList, { benefitsVersion: benefitsVersion, benefits: benefits }), __html ? jsx(RichText, { __html: __html }) : null, items?.length ? (jsx(List, { items: items, isDotted: isDotted, listItemSize: listItemSize })) : null, children, tags?.length ? jsx(Tags, { tags: tags }) : null] }) }));
4099
+ });
4100
+
4101
+ const renderInsuranceSumMonth = (sum, monthLimit) => sum || monthLimit ? (jsxs("div", { className: "flex flex-wrap xl:flex-nowrap xl:bg-main-divider xl:rounded-md p-xs gap-m", children: [Number(sum) > 0 ? renderValueBlock('Страховая сумма:', sum) : null, Number(monthLimit) > 0 ? renderValueBlock('Ежемесячный лимит:', monthLimit) : null] })) : null;
4102
+ const renderValueBlock = (title, value = 0) => (jsxs("div", { className: "basis-full flex flex-col-reverse sm:flex-row sm:justify-between items-baseline whitespace-pre", children: [jsx(Text, { font: "font-light", size: "text-l", children: title }), jsxs(Text, { size: "text-h6", color: "text-primary-text", children: [toLocalNumberFormat(2)(value), " \u20BD"] })] }));
4103
+
4104
+ const PictureText = JSX(({ className, headlineVersion = 'M', align = 'text-center', sum, monthLimit, ...rest }) => (jsx(BlockWrapper, { className: className, defaultPadding: "p-default", ...rest, children: jsx(BaseProductTile, { className: "h-full", headlineVersion: headlineVersion, align: align, isInsetTitle: false, ...rest, imageOptions: { directionRight: false, imageAlign: 'center', ...rest.imageOptions }, children: renderInsuranceSumMonth(Number(sum), Number(monthLimit)) }) })));
4134
4105
 
4135
4106
  const GOLDEN_RATIO = 1.618;
4136
- const Placeholder = JSX(({ className, title, description = 'Блок в разработке...', ...rest }) => {
4137
- 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() })] }));
4138
- });
4107
+ const Placeholder = JSX(({ className, title, description = 'Блок в разработке...', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border', className), ...rest, children: [jsx(Headline, { className: "max-w-[600px]", title: title, description: description, headlineVersion: "L", align: "text-left", isPadding: false }), jsx("figure", { className: "m-0 mt-m min-w-[80%]", children: renderShimmer() })] })));
4139
4108
  const renderShimmer = (size = 3) => goldenSequence(100, size)
4140
4109
  .map((_) => Math.floor(_))
4141
4110
  .map(renderShimmerItem);
4142
4111
  const renderShimmerItem = (width, index) => (jsx("div", { style: { width: `${width || 100}%` }, className: "h-4 mt-2 bg-secondary-light" }, String(index)));
4143
4112
  const goldenSequence = (first, size) => [first].concat(size > 0 ? goldenSequence(first / GOLDEN_RATIO, size - 1) : []);
4144
4113
 
4145
- const renderBenefit$1 = (version = 'primary', benefitsVersion = 'normal') => (props, i) => jsx(BenefitItem, { version: version, benefitsVersion: benefitsVersion, ...props }, String(i));
4146
-
4147
- const ProductBlockInner = JSX(({ className, version = 'primary', headlineVersion = 'L', title, description, benefits, benefitsVersion, items, isDotted = true, __html, buttons, image, directionRight = true, }) => {
4148
- const benefitsWithLabel = benefits?.filter((_) => _.label);
4149
- const img = image?.src ? jsx(ImgInner, { className: "mt-[-50px]", image: image }) : null;
4150
- return (jsxs(BaseTile, { className: className, insetTitle: jsx(Headline, { className: "max-w-[600px] xl:max-w-[728px]", title: title, description: description, headlineVersion: headlineVersion, align: "text-left", isPadding: false }), ...(directionRight ? { rightImage: img } : { leftImage: img }), buttons: renderButtonsSection(buttons), children: [benefitsWithLabel?.length ? (jsx("div", { className: "flex flex-wrap gap-6", children: benefitsWithLabel.map(renderBenefit$1(version, benefitsVersion)) })) : null, __html ? (jsx("div", { className: "mt-5", children: jsx(RichText, { __html: __html }) })) : null, items?.length ? jsx(List, { className: "mt-5", items: items, isDotted: isDotted }) : null] }));
4151
- });
4152
-
4153
4114
  function renderBackwardButton({ text, href, target, icon }, version) {
4154
4115
  const iconVersion = version === 'primary' ? 'white' : 'black';
4155
4116
  const commonProps = { text, href, target, ariaLabel: text };
4156
- return (jsxs("div", { className: "flex items-center gap-3", children: [jsx(Button, { className: "w-12 h-12 min-h-12 min-w-12 flex items-center justify-center", version: version, rounded: true, ...commonProps, children: jsx(ImgInner, { className: "w-4 h-4", image: {
4117
+ return (jsxs("div", { className: "flex items-center gap-3", children: [jsx(Button, { className: "w-12 h-12 min-h-12 min-w-12 flex items-center justify-center", version: version, rounded: true, ...commonProps, children: jsx(Img, { className: "w-4 h-4", image: {
4157
4118
  ...icon,
4158
4119
  icon: icon?.icon || 'ArrowLeftIcon',
4159
4120
  iconVersion: icon?.iconVersion || iconVersion,
4160
4121
  } }) }), jsx(Button, { version: "link", ...commonProps })] }));
4161
4122
  }
4162
4123
 
4163
- const ProductBlock = JSX(({ className, backwardButton, ...rest }) => (jsxs(BlockWrapper, { className: style('overflow-hidden p-default flex flex-col gap-10 box-border', className), ...rest, children: [backwardButton?.text
4124
+ const ProductBlock = JSX(({ className, backwardButton, ...rest }) => (jsxs(BlockWrapper, { className: style('overflow-hidden flex flex-col gap-lg box-border', className), defaultPadding: "p-default", ...rest, children: [backwardButton?.text
4164
4125
  ? renderBackwardButton(backwardButton, !rest.version || rest.version === 'primary' ? 'primary' : 'white')
4165
- : null, jsx(ProductBlockInner, { className: "grow", ...rest })] })));
4126
+ : null, jsx(BaseProductTile, { className: "grow h-full", ...rest })] })));
4166
4127
 
4167
4128
  const ProductGallery = JSX(({ className = '', slides = [], ...rest }) => {
4168
4129
  const [activeSlideIndex, setActiveSlideIndex] = useState(0);
4169
- return (jsxs(BlockWrapper, { className: style('box-border py-default overflow-hidden', className), ...rest, children: [jsx("div", { className: "flex duration-1000", style: { transform: `translateX(-${activeSlideIndex * 100}%)` }, role: "list", children: slides.map(({ productBlock }, i) => (jsx("div", { className: "box-border grow-0 shrink-0 basis-full", role: "listitem", children: jsx(ProductBlockInner, { className: "pl-default h-full", headlineVersion: "XXL", ...productBlock, ...rest }) }, String(i)))) }), jsx("div", { className: "h-28 px-6 mt-6 -mb-6 flex items-center gap-2 box-border", children: slides.map(renderNavButton({ activeSlideIndex, onClick: setActiveSlideIndex })) })] }));
4130
+ return (jsxs(BlockWrapper, { className: style('box-border overflow-hidden', className), defaultPadding: "py-default", ...rest, children: [jsx("div", { className: "flex duration-1000", style: { transform: `translateX(-${activeSlideIndex * 100}%)` }, role: "list", children: slides.map(({ productBlock }, i) => (jsx("div", { className: "box-border grow-0 shrink-0 basis-full", role: "listitem", children: jsx(BaseProductTile, { className: "pl-default h-full", headlineVersion: "XXL", ...productBlock, ...rest }) }, String(i)))) }), jsx("div", { className: "h-28 px-xs mt-m -mb-m flex gap-xs box-border", children: slides.map(renderNavButton({ activeSlideIndex, onClick: setActiveSlideIndex })) })] }));
4170
4131
  });
4171
4132
  const renderNavButton = ({ activeSlideIndex, onClick }) => ({ nav }, i) => {
4172
4133
  const isActive = i === activeSlideIndex;
@@ -4217,10 +4178,10 @@
4217
4178
  if (!image?.src) {
4218
4179
  return null;
4219
4180
  }
4220
- return (jsx(ImgInner, { className: style('absolute', directionRight ? 'right-0' : 'left-0', 'bottom-0'), image: image }));
4181
+ return (jsx(Img, { className: style('absolute', directionRight ? 'right-0' : 'left-0', 'bottom-0'), image: image }));
4221
4182
  }
4222
4183
 
4223
- const ProductTile = JSX(({ className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, directionRight = true, ...rest }) => (jsxs(BlockWrapper, { className: style('overflow-hidden p-9 box-border relative min-h-[364px] flex flex-col justify-between', getTileRightPadding(className), className), ...rest, children: [jsxs("div", { className: style('flex flex-col', directionRight ? '' : '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, {
4184
+ const ProductTile = JSX(({ className = '', title, headlineVersion = 'S', description, additionalDescription, benefits = [], buttons, image, directionRight = true, ...rest }) => (jsxs(BlockWrapper, { className: style('overflow-hidden box-border relative min-h-[364px] flex flex-col justify-between', className), ...rest, children: [jsxs("div", { className: style('flex flex-col', directionRight ? '' : '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, {
4224
4185
  className: style('mt-5 text-l', directionRight ? '' : 'justify-end'),
4225
4186
  }), renderImage$1(image, directionRight)] })));
4226
4187
  function renderBenefits(benefits, image) {
@@ -4232,7 +4193,7 @@
4232
4193
  return (jsx("div", { className: style('z-10 grid grid-cols-[max-content_1fr] auto-rows-auto gap-x-6 gap-y-2.5 items-baseline', benefitsWidth), children: benefits.length ? benefits.map(renderBenefit) : null }));
4233
4194
  }
4234
4195
 
4235
- 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 })] }) }) })));
4196
+ const PromoTile = JSX(({ className, title = 'Акции и спецпредложения', description, headlineVersion = 'S', date, buttons = [], ...rest }) => (jsx(BlockWrapper, { className: style('box-border', className), ...rest, children: jsxs(BaseTile, { className: "h-full", title: title ? (jsx(Headline, { title: title, headlineVersion: headlineVersion, align: "text-left", isPadding: false })) : null, buttons: renderButtonsSection(buttons), children: [date ? jsx("div", { className: "text-s mb-2", children: formatDate(date) }) : null, jsx("div", { className: "text-l", children: description })] }) })));
4236
4197
  function formatDate(date) {
4237
4198
  const dateObj = new Date(date);
4238
4199
  const dateFormat = {
@@ -4243,68 +4204,58 @@
4243
4204
  return dateObj.toLocaleString('ru-RU', dateFormat).replace('г.', '');
4244
4205
  }
4245
4206
 
4246
- const RepresentativeOfficeInfo = JSX(({ address, email, telephone, button, className = '', __html, icon, title, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border text-left p-9', className), version: version, ...rest, children: [jsxs("div", { className: "w-full flex justify-between", children: [title ? jsx(Heading, { headingType: "h4", as: "h3", className: "mb-6", title: title }) : null, renderIconBlock(icon)] }), jsxs("div", { className: "w-full", children: [__html ? renderDescriptionBlock(__html) : null, renderBlock('Адрес', address, 'GeolocationIcon'), renderBlock('Телефон', telephone, 'PhoneIcon'), renderBlock('E-mail', email, 'MailIcon'), button?.text
4207
+ const RepresentativeOfficeInfo = JSX(({ address, email, telephone, button, className = '', __html, icon, title, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: style('box-border text-left', className), version: version, ...rest, children: [jsxs("div", { className: "w-full flex justify-between", children: [title ? jsx(Heading, { headingType: "h4", as: "h3", className: "mb-6", title: title }) : null, renderIconBlock(icon)] }), jsxs("div", { className: "w-full", children: [__html ? renderDescriptionBlock(__html) : null, renderBlock('Адрес', address, 'GeolocationIcon'), renderBlock('Телефон', telephone, 'PhoneIcon'), renderBlock('E-mail', email, 'MailIcon'), button?.text
4247
4208
  ? renderButtonsSection([button], {
4248
4209
  className: 'mb-6',
4249
4210
  })
4250
4211
  : null] })] })));
4251
- const renderIconBlock = (icon) => (jsxs("div", { className: "self-end", children: [icon?.src ? jsx(ImgInner, { image: icon }) : null, icon?.icon ? jsx(ImgInner, { image: icon }) : null] }));
4212
+ const renderIconBlock = (icon) => (jsxs("div", { className: "self-end", children: [icon?.src ? jsx(Img, { image: icon }) : null, icon?.icon ? jsx(Img, { image: icon }) : null] }));
4252
4213
  const renderDescriptionBlock = (__html) => (jsx("div", { className: "border-b border-main-divider pb-5 my-5", children: jsx(RichText, { __html: __html }) }));
4253
4214
  const renderBlock = (blockName, data, iconName) => (jsxs("div", { className: "flex mb-4", children: [jsx(Icon, { className: "pr-4", iconVersion: "black", name: iconName, width: "24", height: "24" }), jsxs("div", { className: "flex flex-col first:pb-1", children: [jsx(Text, { size: "text-m-light", children: blockName }), data ? (jsx(Text, { size: "text-h6", color: "text-green", children: data })) : null] })] }));
4254
4215
 
4255
4216
  const RichTextBlock = JSX((props) => {
4256
4217
  const { __html, richVersion, ...rest } = props;
4257
- return (jsx(BlockWrapper, { ...rest, children: jsx(RichText, { __html: __html, richVersion: richVersion }) }));
4218
+ return (jsx(BlockWrapper, { defaultPadding: "p-0", ...rest, children: jsx(RichText, { __html: __html, richVersion: richVersion }) }));
4258
4219
  });
4259
4220
 
4260
- const iconBgStyles = {
4261
- primary: 'bg-main-divider',
4262
- secondary: 'bg-white/30',
4263
- 'secondary-light': 'bg-secondary-light',
4264
- };
4265
- const RoundedIcon = JSX(({ iconBgVersion = 'primary', ...rest }) => (jsx("div", { className: style('rounded-icon p-2.5 mr-3', iconBgStyles[iconBgVersion]), children: jsx(Icon, { ...rest }) })));
4266
-
4267
4221
  const foldableSectionStyles = 'grid grid-cols-12 [&>*]:pb-4';
4268
4222
 
4269
4223
  const getIconName = (isUnfolded) => (isUnfolded ? 'MinusIcon' : 'PlusIcon');
4270
4224
 
4271
4225
  const labelSize = 'text-h6';
4272
4226
 
4227
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
4228
+ const renderRoundedIcon = (_icon, _iconBgVersion) => null;
4229
+
4273
4230
  const rollupIconVersion = 'color';
4274
4231
 
4275
4232
  const rollupItemStyles = 'border-0 border-b border-solid border-main-divider last:border-b-0';
4276
4233
 
4277
- const RollupItem = JSX(({ className = '', label = 'Развернуть', labelIcon, isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => {
4278
- return (jsx(BlockWrapper, { className: style('w-full', rollupItemStyles, className), tag: "div", version: "transparent", ...rest, children: jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { className: style('gap-5 [&>*]:p-0', foldableSectionStyles), isUnfolded: isUnfolded, children: renderChildren(rest) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({ version, label, labelIcon, isUnfolded, onToggle }) }) }));
4234
+ const RollupItem = JSX(({ className = '', label = 'Развернуть', labelIcon, labelIconBgVersion, isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => {
4235
+ return (jsx(BlockWrapper, { className: style('w-full', rollupItemStyles, className), defaultPadding: "p-0", tag: "div", version: "transparent", ...rest, children: jsx(Foldable, { isFoldButtonOnTop: isFoldButtonOnTop, unfoldedByDefault: isExpanded, renderFoldableSection: ({ isUnfolded }) => (jsx(FoldableSection, { className: style('gap-5 [&>*]:p-0', foldableSectionStyles), isUnfolded: isUnfolded, children: renderChildren(rest) })), renderFoldButton: ({ isUnfolded, onToggle }) => renderFoldButton({
4236
+ version,
4237
+ label,
4238
+ labelIcon,
4239
+ labelIconBgVersion,
4240
+ isUnfolded,
4241
+ onToggle,
4242
+ }) }) }));
4279
4243
  });
4280
4244
  RollupItem.childrenTypes = {
4281
4245
  exclude: ['RollupItem'],
4282
4246
  };
4283
- const renderFoldButton = ({ version, label: defaultLabel, labelIcon, isUnfolded, onToggle, }) => {
4247
+ const renderFoldButton = ({ version, label: defaultLabel, labelIcon, labelIconBgVersion, isUnfolded, onToggle, }) => {
4284
4248
  const label = defaultLabel || (isUnfolded ? 'Скрыть' : 'Развернуть');
4285
4249
  return version === 'primary' ? (renderPrimaryFoldButton({
4286
4250
  label,
4287
4251
  labelIcon,
4252
+ labelIconBgVersion,
4288
4253
  icon: getIconName(isUnfolded),
4289
4254
  onToggle,
4290
4255
  })) : (jsx(DefaultFoldButton, { label: label, icon: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', onClick: onToggle }));
4291
4256
  };
4292
- const renderPrimaryFoldButton = ({ label, icon, onToggle, labelIcon }) => {
4293
- const iconWidth = String(labelIcon?.size?.width || 24);
4294
- const iconHeight = String(labelIcon?.size?.height || 24);
4295
- const iconName = labelIcon?.icon;
4296
- return (jsxs("button", { className: style('border-none bg-transparent px-0 flex justify-between items-center w-full cursor-pointer group/button', iconName ? 'py-2' : 'py-5'), onClick: onToggle, children: [jsxs("div", { className: "flex items-center group-hover/button:text-primary-main", children: [iconName ? (jsx(RoundedIcon, { name: iconName, width: iconWidth, height: iconHeight, iconVersion: labelIcon?.iconVersion })) : null, label ? (jsx(Text, { size: labelSize, font: "font-normal", children: label })) : null] }), icon ? jsx(Icon, { name: icon, iconVersion: rollupIconVersion, width: "24", height: "24" }) : null] }));
4297
- };
4298
-
4299
- const SAFEBOXES_URL = '/api/v1/safeboxes';
4300
- const EMPTY_VALUE = [];
4301
- function useSafeBoxes(regionCode) {
4302
- const { data } = useAsyncData(regionCode ? `${SAFEBOXES_URL}?regionCode=${regionCode}` : null, fetchSafeBoxes);
4303
- return data || EMPTY_VALUE;
4304
- }
4305
- const fetchSafeBoxes = async (url) => {
4306
- const result = await fetchJSON(url, { method: 'GET' });
4307
- return result || EMPTY_VALUE;
4257
+ const renderPrimaryFoldButton = ({ label, labelIconBgVersion, icon, onToggle, labelIcon, }) => {
4258
+ return (jsxs("button", { className: style('border-none bg-transparent px-0 flex justify-between items-center w-full group/button', labelIcon?.icon ? 'py-2' : 'py-5'), onClick: onToggle, children: [jsxs("div", { className: "flex items-center group-hover/button:text-primary-main", children: [renderRoundedIcon(), label ? (jsx(Text, { size: labelSize, font: "font-normal", children: label })) : null] }), icon ? jsx(Icon, { name: icon, iconVersion: rollupIconVersion, width: "24", height: "24" }) : null] }));
4308
4259
  };
4309
4260
 
4310
4261
  const WrapperSelect = JSX(({ data, fieldLabel, fieldValue, selected, placeholder = '', setSelected, label }) => {
@@ -4346,7 +4297,7 @@
4346
4297
 
4347
4298
  const SafeDepositRentalTotal = JSX(({ days, tariffs = [] }) => {
4348
4299
  const price = calculatePrice(days, tariffs);
4349
- return (jsxs("div", { className: "flex flex-col justify-between", children: [jsxs("div", { className: "flex", children: [renderTotal('Аренда за', days, 'mr-11'), renderTotal('Цена', price + ' ₽')] }), jsxs("div", { className: "bg-primary-main px-10 pt-10 pb-4 text-center", children: [jsx(ImgInner, { image: { icon: 'PackA4Icon' }, width: "290", height: "257" }), jsxs("span", { className: "text-s-light text-white opacity-80 mt-2 inline-block", children: ["\u041D\u0430 \u0440\u0438\u0441\u0443\u043D\u043A\u0438 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0430 \u043F\u0430\u0447\u043A\u0430", jsx("br", {}), " \u043B\u0438\u0441\u0442\u043E\u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0430 \u04104"] })] })] }));
4300
+ return (jsxs("div", { className: "flex flex-col justify-between", children: [jsxs("div", { className: "flex", children: [renderTotal('Аренда за', days, 'mr-11'), renderTotal('Цена', price + ' ₽')] }), jsxs("div", { className: "bg-primary-main px-10 pt-10 pb-4 text-center", children: [jsx(Img, { image: { icon: 'PackA4Icon' }, width: "290", height: "257" }), jsxs("span", { className: "text-s-light text-white opacity-80 mt-2 inline-block", children: ["\u041D\u0430 \u0440\u0438\u0441\u0443\u043D\u043A\u0438 \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0430 \u043F\u0430\u0447\u043A\u0430", jsx("br", {}), " \u043B\u0438\u0441\u0442\u043E\u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0430 \u04104"] })] })] }));
4350
4301
  });
4351
4302
  const renderTotal = (label, total, className = '') => {
4352
4303
  return (jsxs("div", { className: className, children: [jsx("div", { className: "text-m-light text-secondary-text mb-1", children: label }), jsx("span", { className: "text-h3 text-primary-text", children: total })] }));
@@ -4402,6 +4353,17 @@
4402
4353
  const getCaseVolume = (caseVolumes, selectedCaseVolume) => caseVolumes?.find((_) => _.volume === selectedCaseVolume);
4403
4354
  const getTariffs = (safeBoxCases, selectedBoxSize) => safeBoxCases?.find((_) => _.safeBoxCasesSize === selectedBoxSize)?.tariffs;
4404
4355
 
4356
+ const SAFEBOXES_URL = '/api/v1/safeboxes';
4357
+ const EMPTY_VALUE = [];
4358
+ function useSafeBoxes(regionCode) {
4359
+ const { data } = useAsyncData(regionCode ? `${SAFEBOXES_URL}?regionCode=${regionCode}` : null, fetchSafeBoxes);
4360
+ return data || EMPTY_VALUE;
4361
+ }
4362
+ const fetchSafeBoxes = async (url) => {
4363
+ const result = await fetchJSON(url, { method: 'GET' });
4364
+ return result || EMPTY_VALUE;
4365
+ };
4366
+
4405
4367
  const DEFAULT_DAYS = 26;
4406
4368
  const SafeDepositRental = JSX(({ title, footnote, className = '', ...rest }) => {
4407
4369
  const [showMap, setShowMap] = useState(false);
@@ -4418,7 +4380,7 @@
4418
4380
  const branches = useSafeBoxes(selectedRegion);
4419
4381
  const handleChangeSafeDepositState = useCallback((state) => setStateDepositState((oldState) => ({ ...oldState, ...state })), [setStateDepositState]);
4420
4382
  const points = getCoordinates(getBranch(branches, safeDepositState.selectedBranch) || branches);
4421
- 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] }));
4383
+ return (jsxs(BlockWrapper, { className: className, defaultPadding: "", ...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] }));
4422
4384
  });
4423
4385
  const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
4424
4386
 
@@ -4461,13 +4423,13 @@
4461
4423
  const lineOpacity = getLineOpacity(showLines);
4462
4424
  const paddingX = getPaddingX(steps.length);
4463
4425
  const isMainButton = Boolean(buttons?.every((b) => b?.text));
4464
- return (jsxs(BlockWrapper, { className: style('box-border py-12', shortGaps ? 'px-20' : 'px-[70px]', 'flex flex-col items-center overflow-hidden', className), version: version, ...rest, children: [title ? (jsx(Heading, { headingType: "h4", className: "max-w-[752px] text-center mb-9", title: title })) : null, steps?.length ? (jsxs("div", { className: "box-border", children: [jsx("div", { className: style('flex items-center', paddingX), children: joinList(jsx("div", { className: style('h-0.5 w-full bg-secondary-light flex-1', lineOpacity) }))(steps.map(renderStepIcon(styleMap, size, stepVersion))) }), jsx("div", { className: style('flex justify-between mt-4', shortGaps ? 'gap-x-3' : 'gap-x-[101px]'), children: steps.map(renderStep({ styleMap, isMainButton, version })) })] })) : null, renderButtonsSection(buttons, { className: 'mt-8' })] }));
4426
+ return (jsxs(BlockWrapper, { className: style('box-border flex flex-col items-center overflow-hidden', className), defaultPadding: "p-default", version: version, ...rest, children: [title ? (jsx(Heading, { headingType: "h4", className: "max-w-[752px] text-center mb-9", title: title })) : null, steps?.length ? (jsxs("div", { className: "box-border", children: [jsx("div", { className: style('flex items-center', paddingX), children: joinList(jsx("div", { className: style('h-0.5 w-full bg-secondary-light flex-1', lineOpacity) }))(steps.map(renderStepIcon(styleMap, size, stepVersion))) }), jsx("div", { className: style('flex justify-between mt-4', shortGaps ? 'gap-x-3' : 'gap-x-[101px]'), children: steps.map(renderStep({ styleMap, isMainButton, version })) })] })) : null, renderButtonsSection(buttons, { className: 'mt-8' })] }));
4465
4427
  });
4466
4428
  const renderStepIcon = (styleMap, size, stepVersion) => ({ icon }, i) => {
4467
4429
  const styleStepIconSize = size === 'normal' ? 'h-[100px] w-[100px]' : 'h-[63px] w-[63px]';
4468
4430
  const stepVersionIconTextStyles = stepVersion === 'secondary' ? 'group-data-primary:text-white' : 'text-secondary-text';
4469
4431
  const iconVersion = stepVersion === 'secondary' ? 'white' : 'color';
4470
- return (jsx(BlockWrapper, { className: `${styleStepIconSize} flex justify-center items-center text-center rounded-full p-[26px] box-border z-10`, version: stepVersion, children: checkCanRenderIcon(icon) ? (jsx(ImgInner, { image: { ...icon, iconVersion: icon.iconVersion || iconVersion }, width: "48", height: "48" })) : (jsx("span", { className: style('text-h4', stepVersion === 'transparent' ? styleMap.iconText : stepVersionIconTextStyles), children: i + 1 })) }, String(i)));
4432
+ return (jsx(BlockWrapper, { className: `${styleStepIconSize} flex justify-center items-center text-center rounded-full p-[26px] box-border z-10`, version: stepVersion, children: checkCanRenderIcon(icon) ? (jsx(Img, { image: { ...icon, iconVersion: icon.iconVersion || iconVersion }, width: "48", height: "48" })) : (jsx("span", { className: style('text-h4', stepVersion === 'transparent' ? styleMap.iconText : stepVersionIconTextStyles), children: i + 1 })) }, String(i)));
4471
4433
  };
4472
4434
 
4473
4435
  const DEFAULT_GAP = 14;
@@ -4477,7 +4439,7 @@
4477
4439
  and get rid of a clipping effect caused by overflow: hidden.
4478
4440
  */
4479
4441
  const DEFAULT_PADDING = 16;
4480
- const SwipeListControl = JSX(({ className = '', gap = DEFAULT_GAP, padding = DEFAULT_PADDING, showDots = true, minHeight, children, onVisibleIndicesChange, listType = 'horizontal-list', version, }) => {
4442
+ const SwipeListControl = JSX(({ className, version, gap = DEFAULT_GAP, padding = DEFAULT_PADDING, showDots = true, minHeight, children, onVisibleIndicesChange, listType = 'horizontal-list', }) => {
4481
4443
  const itemCount = Array.isArray(children) ? children.length : 0;
4482
4444
  const [containerRef, scroll] = useSwipeListScroll({
4483
4445
  itemCount,
@@ -4487,9 +4449,7 @@
4487
4449
  return (jsxs("div", { className: style(className, listType === 'vertical-list' ? 'relative h-full' : ''), children: [jsx(SwipeListContainer, { containerRef: containerRef, activeIndex: activeIndex, visibleItemCount: 1, gap: gap, padding: padding, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, listType: listType, minHeight: minHeight, children: children }), showDots ? (jsx(SwipeListControlDots, { containerRef: containerRef, activeIndex: activeIndex, dotCount: itemCount, listType: listType, version: version })) : null] }));
4488
4450
  });
4489
4451
 
4490
- const SwipeListControlBlock = JSX(({ listType, showDots, options, version, ...rest }) => {
4491
- return (jsx(BlockWrapper, { version: version, ...rest, children: jsx(SwipeListControl, { listType: listType, showDots: showDots, version: version, children: renderChildren({ ...rest, options }) }) }));
4492
- });
4452
+ const SwipeListControlBlock = JSX(({ listType, showDots, options, version, ...rest }) => (jsx(BlockWrapper, { version: version, defaultPadding: "p-0", ...rest, children: jsx(SwipeListControl, { listType: listType, showDots: showDots, version: version, children: renderChildren({ ...rest, options }) }) })));
4493
4453
  SwipeListControlBlock.childrenTypes = {
4494
4454
  exclude: ['SwipeListControlBlock'],
4495
4455
  };
@@ -4653,7 +4613,7 @@
4653
4613
  fireTabEvent(selectedTab);
4654
4614
  setCurrentTab(selectedTab);
4655
4615
  }, []);
4656
- return (jsx(BlockWrapper, { className: `relative box-border flex gap-x-1 w-full ${isSticky ? 'sticky top-1 z-20' : ''} ${className}`, role: "tablist", ...rest, children: renderTabs({ tabs, onClick: handleClick, currentTab, ...rest }) }));
4616
+ return (jsx(BlockWrapper, { className: `relative box-border flex gap-x-1 w-full ${isSticky ? 'sticky top-1 z-20' : ''} ${className}`, defaultPadding: "p-0", role: "tablist", ...rest, children: renderTabs({ tabs, onClick: handleClick, currentTab, ...rest }) }));
4657
4617
  });
4658
4618
  const renderTabs = ({ tabsMode, tabs, ...rest }) => {
4659
4619
  switch (tabsMode) {
@@ -4689,7 +4649,7 @@
4689
4649
  const labelClassName = `text-h6 m-0 ${description ? 'mb-1' : ''}`;
4690
4650
  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] }));
4691
4651
  };
4692
- const renderImgCellData = ({ image }) => (image?.src ? jsx(ImgInner, { image: image }) : null);
4652
+ const renderImgCellData = ({ image }) => (image?.src ? jsx(Img, { image: image }) : null);
4693
4653
  const renderListCellData = ({ isDotted, ...rest }) => (jsx(List, { className: "flex flex-col justify-between items-start text-h6", isDotted: isDotted ?? true, ...rest }));
4694
4654
  const renderTableCellData = JSX(({ isVisible, displayTable, dataUrl, pdfUrl, isOpen }) => isVisible ? (jsx(TableInnerButton, { isOpen: isOpen, onClick: () => {
4695
4655
  displayTable({ dataUrl, pdfUrl });
@@ -4785,7 +4745,7 @@
4785
4745
  const toggleTables = useCallback((key) => setHiddenTables((oldState) => ({ ...oldState, [key]: !oldState[key] })), []);
4786
4746
  return (jsx("div", { children: items.map((_, tableIdx) => {
4787
4747
  const key = `activeTabIdx:${activeTabIndex}-tableIdx:${tableIdx}`;
4788
- return (jsxs("div", { className: "w-full", children: [jsxs("div", { className: "flex p-4 bg-gray text-xl-light text-center justify-center cursor-pointer relative", onClick: () => toggleTables(key), children: [_.title, jsx(ImgInner, { image: { icon: hiddenTables[key] ? 'PlusIcon' : 'MinusIcon' }, className: "absolute right-[22px]", width: "24", height: "24" })] }), jsx("div", { className: `w-full pl-2 overflow-hidden transition-height duration-500 ease-in-out ${hiddenTables[key] ? 'h-0' : ''}`, children: jsx("div", { className: "relative", children: jsx(InnerTableBodyItem, { rows: _.rowsData }) }) })] }, key));
4748
+ return (jsxs("div", { className: "w-full", children: [jsxs("div", { className: "flex p-4 bg-gray text-xl-light text-center justify-center cursor-pointer relative", onClick: () => toggleTables(key), children: [_.title, jsx(Img, { image: { icon: hiddenTables[key] ? 'PlusIcon' : 'MinusIcon' }, className: "absolute right-[22px]", width: "24", height: "24" })] }), jsx("div", { className: `w-full pl-2 overflow-hidden transition-height duration-500 ease-in-out ${hiddenTables[key] ? 'h-0' : ''}`, children: jsx("div", { className: "relative", children: jsx(InnerTableBodyItem, { rows: _.rowsData }) }) })] }, key));
4789
4749
  }) }));
4790
4750
  });
4791
4751
 
@@ -4821,7 +4781,7 @@
4821
4781
  const [openTableInnerIdx, setOpenTableInnerIdx] = useState(undefined);
4822
4782
  const handleOpenTableInnerIdx = useCallback((_) => setOpenTableInnerIdx(_), []);
4823
4783
  const onHideContentClick = () => setTableInner(undefined);
4824
- return (jsxs(TariffsTableRowContainer, { onHideContentClick: onHideContentClick, tableInner: tableInner, ...rest, children: [jsx("div", { className: `text-s py-5 ${FIRST_CELL_CLASSES} ${DIVIDER_CLASSES}`, children: jsxs("div", { className: "flex items-center text-primary-text", role: "cell", children: [header?.icon ? (jsx(ImgInner, { className: "mr-3.5 max-w-6", image: header.icon, width: "24", height: "24" })) : null, header?.title ? jsx("div", { className: "text-m-light", children: header?.title }) : null] }) }), data?.length ? (jsx(TableCarouselContainer, { activeIndex: activeIndex, columnWidth: COLUMN_WIDTH$1, version: "tariff", children: data.map((cells, i) => (jsx(TariffsTableCell, { cells: cells, rowIdx: rowIdx, cellIdx: i, setTableInner: handleSetTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: handleOpenTableInnerIdx, ...rest }, String(i)))) })) : null] }));
4784
+ return (jsxs(TariffsTableRowContainer, { onHideContentClick: onHideContentClick, tableInner: tableInner, ...rest, children: [jsx("div", { className: `text-s py-5 ${FIRST_CELL_CLASSES} ${DIVIDER_CLASSES}`, children: jsxs("div", { className: "flex items-center text-primary-text", role: "cell", children: [header?.icon ? (jsx(Img, { className: "mr-3.5 max-w-6", image: header.icon, width: "24", height: "24" })) : null, header?.title ? jsx("div", { className: "text-m-light", children: header?.title }) : null] }) }), data?.length ? (jsx(TableCarouselContainer, { activeIndex: activeIndex, columnWidth: COLUMN_WIDTH$1, version: "tariff", children: data.map((cells, i) => (jsx(TariffsTableCell, { cells: cells, rowIdx: rowIdx, cellIdx: i, setTableInner: handleSetTableInner, tableInner: tableInner, openTableInnerIdx: openTableInnerIdx, setOpenTableInnerIdx: handleOpenTableInnerIdx, ...rest }, String(i)))) })) : null] }));
4825
4785
  });
4826
4786
 
4827
4787
  const TariffsTable = JSX(({ className = '', title, description, rowHeaders, tariffsColumns: columns, hiddenRowsNum = 0, ...rest }) => {
@@ -4837,7 +4797,7 @@
4837
4797
  });
4838
4798
  const rows = (rowData || []).map((row, i) => (jsx(TariffsTableRow, { row: row, activeIndex: activeIndex, rowIdx: i, ...rest }, String(i))));
4839
4799
  const [visibleRows, hiddenRows] = hiddenRowsNum > 0 ? [rows.slice(0, -hiddenRowsNum), rows.slice(-hiddenRowsNum)] : [rows, []];
4840
- return (jsxs(BlockWrapper, { className: `p-default overflow-hidden relative ${itemCount > 1 ? 'pr-0' : ''} ${className}`, ...rest, children: [renderTitle({ 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 }))] }));
4800
+ return (jsxs(BlockWrapper, { className: style('overflow-hidden relative', className), defaultPadding: style('p-default', itemCount > 1 ? 'pr-0' : ''), ...rest, children: [renderTitle({ 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 }))] }));
4841
4801
  });
4842
4802
  function renderTitle({ title, description }) {
4843
4803
  return title ? (jsx(Heading, { headingType: "h3", className: `text-center ${description ? 'mb-2.5' : 'mb-8'}`, title: title })) : null;
@@ -4854,27 +4814,16 @@
4854
4814
  })] }), isScrollAvailable ? (jsx("div", { className: "absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white" })) : null] }));
4855
4815
  });
4856
4816
 
4857
- const TextBlock = JSX(({ className = '', title, description, iconVersion, image, __html, items = [], ...rest }) => {
4858
- return (jsxs(BlockWrapper, { className: style('px-9 py-4 flex gap-3 bg-white group-data-secondary:bg-primary-main/10', className), ...rest, children: [iconVersion === 'small' ? jsx("div", { className: "mt-1", children: renderIcon() }) : null, iconVersion === 'big' ? renderImage(image) : null, jsxs("div", { className: "flex flex-col w-fit gap-3", children: [title ? (jsx(Text, { size: "text-l", font: "font-medium", color: "text-primary-text group-data-secondary:text-white", children: title })) : null, description ? renderDescription(description) : null, items?.length ? renderList(items, true) : null, __html ? jsx(RichText, { __html: __html }) : null] })] }));
4859
- });
4817
+ const TextBlock = JSX(({ className = '', title, description, iconVersion, image, __html, items = [], ...rest }) => (jsxs(BlockWrapper, { className: style('flex gap-3 bg-white group-data-secondary:bg-primary-main/10', className), ...rest, children: [iconVersion === 'small' ? jsx("div", { className: "mt-1", children: renderIcon() }) : null, iconVersion === 'big' ? renderImage(image) : null, jsxs("div", { className: "flex flex-col w-fit gap-3", children: [title ? (jsx(Text, { size: "text-l", font: "font-medium", color: "text-primary-text group-data-secondary:text-white", children: title })) : null, description ? renderDescription(description) : null, items?.length ? renderList(items, true) : null, __html ? jsx(RichText, { __html: __html }) : null] })] })));
4860
4818
  const renderIcon = () => (jsx("div", { className: `rounded-full h-4 w-4 text-center text-xs-light bg-primary-main text-white group-data-secondary:bg-white group-data-secondary:text-primary-main`, children: "i" }));
4861
- const renderImage = (image) => image?.src ? jsx(ImgInner, { className: "h-fit", image: image }) : null;
4819
+ const renderImage = (image) => image?.src ? jsx(Img, { className: "h-fit", image: image }) : null;
4862
4820
  const renderDescription = (description) => (jsx(Paragraph, { size: "text-s", color: "text-secondary-text group-data-secondary:text-white", children: description }));
4863
4821
  const renderList = (items, bullets) => {
4864
4822
  const listStyle = bullets ? 'list-disc pl-6' : '';
4865
4823
  return (jsx("ul", { className: style('text-secondary-text group-data-secondary:text-white/80', listStyle), children: items.map((_, i) => (jsx("li", { children: jsx(Text, { size: "text-s", font: "font-light", children: _ }) }, `listItem-${i}`))) }));
4866
4824
  };
4867
4825
 
4868
- const Tags = JSX((props) => {
4869
- const { tags, className = '' } = props;
4870
- return tags?.length ? (jsx("div", { className: `flex flex-wrap gap-2 ${className}`, children: tags.map(renderTag) })) : null;
4871
- });
4872
- 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)));
4873
-
4874
- const Tile = JSX(({ title, headingType = 'h3', __html, items, buttons, image, isDotted = true, listItemSize = 'M', className = '', tags, children, directionRight = true, ...rest }) => (jsxs(BlockWrapper, { className: style('flex grow justify-between items-stretch h-full p-9 pr-3 box-border', getTileRightPadding(className), getTileMinHeight(className), className), ...rest, children: [image?.src ? (jsx(ImgInner, { className: style('mt-auto ml-7', directionRight ? 'order-2' : ''), image: image })) : null, jsx(BaseTile, { title: title ? (jsx(Heading, { headingType: headingType, as: "h2", title: title, className: `whitespace-pre-wrap max-w-[600px]` })) : null, buttons: renderButtonsSection(buttons, {
4875
- className: 'mt-8',
4876
- buttonClassName: 'min-w-[158px]',
4877
- }), children: jsxs("div", { children: [__html ? (jsx("div", { className: "max-w-[600px] mt-2.5", children: jsx(RichText, { __html: __html }) })) : null, children, jsx(List, { className: "mt-2.5", items: items, isDotted: isDotted, listItemSize: listItemSize }), tags?.length ? jsx(Tags, { tags: tags, className: "mt-5" }) : null] }) })] })));
4826
+ const Tile = JSX(({ className, headlineVersion = 'S', listItemSize = 'M', ...rest }) => (jsx(BlockWrapper, { className: className, ...rest, children: jsx(BaseProductTile, { className: "h-full", headlineVersion: headlineVersion, listItemSize: listItemSize, ...rest, imageOptions: { imageAlign: 'end', ...rest.imageOptions } }) })));
4878
4827
 
4879
4828
  const alignStyle = {
4880
4829
  stretch: 'items-stretch',
@@ -4884,7 +4833,7 @@
4884
4833
  };
4885
4834
  const VerticalLayout = JSX(({ className = '', gap = '', align = 'stretch', isPadding = false, isInnerPadding = true, version = 'transparent', isTheme = false, ...rest }) => {
4886
4835
  const innerPaddingStyle = isInnerPadding ? '' : '!p-0';
4887
- return (jsx(BlockWrapper, { className: style('relative', 'flex flex-col [&>*]:max-w-full', isPadding ? 'p-default' : '', gapStyles[gap], align && alignStyle[align], className), version: version, isTheme: isTheme, ...rest, children: renderChildren({
4836
+ return (jsx(BlockWrapper, { className: style('relative', 'flex flex-col [&>*]:max-w-full', gapStyles[gap], align && alignStyle[align], className), defaultPadding: isPadding ? 'p-default' : '', version: version, isTheme: isTheme, ...rest, children: renderChildren({
4888
4837
  ...rest,
4889
4838
  renderProps: (block, options) => renderBlock$1(block, options, { className: innerPaddingStyle }),
4890
4839
  }) }));
@@ -4896,7 +4845,7 @@
4896
4845
 
4897
4846
  const Video = JSX(({ className, title, url, previewImg, ...rest }) => {
4898
4847
  const router = useRouter();
4899
- return (jsxs(BlockWrapper, { className: style(getPaddings(className), className), ...rest, children: [jsx(Headline, { title: title, headlineVersion: "M" }), url ? (jsx("video", { className: "m-auto w-full object-fill", preload: "metadata", poster: adjustHref(router)(previewImg?.src), style: { maxHeight: 524 }, controls: true, children: jsx("source", { src: adjustHref(router)(url) }) })) : null] }));
4848
+ return (jsxs(BlockWrapper, { className: className, defaultPadding: getPaddings(className), ...rest, children: [jsx(Headline, { title: title, headlineVersion: "M" }), url ? (jsx("video", { className: "m-auto w-full object-fill", preload: "metadata", poster: adjustHref(router)(previewImg?.src), style: { maxHeight: 524 }, controls: true, children: jsx("source", { src: adjustHref(router)(url) }) })) : null] }));
4900
4849
  });
4901
4850
 
4902
4851
  const Blocks = {
@@ -4905,7 +4854,7 @@
4905
4854
  Bonus,
4906
4855
  BonusBenefitsBlock,
4907
4856
  BusinessBlock,
4908
- ButtonBlock,
4857
+ ButtonsBlock,
4909
4858
  Calculator,
4910
4859
  CardTransfer,
4911
4860
  Carousel,
@@ -5100,7 +5049,7 @@
5100
5049
  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" }) }));
5101
5050
  }
5102
5051
 
5103
- const packageVersion = "0.11.2";
5052
+ const packageVersion = "0.12.3";
5104
5053
 
5105
5054
  exports.Blocks = Blocks;
5106
5055
  exports.ContentPage = ContentPage;