@redneckz/wildless-cms-uni-blocks 0.11.3 → 0.12.4

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 (1455) hide show
  1. package/bin/migration-scripts/0.12.3.js +22 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +184 -255
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
  6. package/bundle/components/Headline/HeadlineContent.d.ts +0 -2
  7. package/bundle/components/MobileAppTile/renderDescription.d.ts +2 -0
  8. package/bundle/components/MobileAppTile/renderList.d.ts +2 -0
  9. package/bundle/components/PictureText/PictureTextContent.d.ts +2 -6
  10. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -22
  11. package/bundle/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  12. package/bundle/components/PromoTile/PromoTileContent.d.ts +2 -3
  13. package/bundle/components/RollupItem/renderRoundedIcon.d.ts +1 -1
  14. package/bundle/components/Tile/TileContent.d.ts +2 -13
  15. package/bundle/model/Align.d.ts +5 -0
  16. package/bundle/model/AlignText.d.ts +3 -0
  17. package/bundle/model/AlignType.d.ts +2 -0
  18. package/bundle/model/HeadlineType.d.ts +8 -1
  19. package/bundle/model/JSXBlock.d.ts +12 -5
  20. package/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
  21. package/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
  22. package/bundle/{components → ui-kit}/BaseTile/BaseTile.d.ts +2 -0
  23. package/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
  24. package/bundle/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
  25. package/bundle/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
  26. package/bundle/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
  27. package/bundle/ui-kit/BenefitsList/renderBenefit.d.ts +4 -0
  28. package/bundle/ui-kit/Icon/RoundedIcon.d.ts +1 -1
  29. package/bundle/ui-kit/Img/Img.d.ts +2 -1
  30. package/bundle/ui-kit/Img/ImgProps.d.ts +0 -1
  31. package/bundle/ui-kit/List/ListContent.d.ts +6 -0
  32. package/bundle/ui-kit/List/ListItem.d.ts +1 -1
  33. package/bundle/ui-kit/List/ListProps.d.ts +0 -6
  34. package/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
  35. package/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
  36. package/bundle/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
  37. package/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
  38. package/bundle/ui-kit/Tags/Tags.d.ts +2 -2
  39. package/bundle/utils/avg.d.ts +1 -0
  40. package/bundle/utils/deviation.d.ts +1 -0
  41. package/dist/components/ApplicationForm/ApplicationForm.js +1 -2
  42. package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  43. package/dist/components/ApplicationForm/ResponseNotification.js +1 -1
  44. package/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
  45. package/dist/components/BenefitsBlock/BenefitsBlock.js +2 -1
  46. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  47. package/dist/components/Bonus/Bonus.js +1 -1
  48. package/dist/components/Bonus/Bonus.js.map +1 -1
  49. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  50. package/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  51. package/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  52. package/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  53. package/dist/components/ButtonsBlock/ButtonsBlock.js +1 -1
  54. package/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -1
  55. package/dist/components/Calculator/Calculator.js +1 -1
  56. package/dist/components/Calculator/Calculator.js.map +1 -1
  57. package/dist/components/CardTransfer/CardTransfer.js +1 -1
  58. package/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  59. package/dist/components/Carousel/Carousel.js +1 -1
  60. package/dist/components/Carousel/Carousel.js.map +1 -1
  61. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  62. package/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  63. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -1
  64. package/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  65. package/dist/components/CarouselEventCard/CarouselEventCard.js +1 -1
  66. package/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  67. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -2
  68. package/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  69. package/dist/components/CarouselLinks/CarouselLinks.js +3 -4
  70. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  71. package/dist/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
  72. package/dist/components/CarouselProductCard/CarouselProductCard.js +5 -5
  73. package/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  74. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  75. package/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  76. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  77. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  78. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -1
  79. package/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
  80. package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
  81. package/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  82. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
  83. package/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  84. package/dist/components/ComparisonTable/ComparisonTable.js +2 -1
  85. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  86. package/dist/components/ContactsBlock/ContactsBlock.js +3 -2
  87. package/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  88. package/dist/components/DepositFiltration/DepositFiltration.js +1 -1
  89. package/dist/components/DepositFiltration/DepositFiltration.js.map +1 -1
  90. package/dist/components/ErrorBlock/ErrorBlock.js +1 -1
  91. package/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  92. package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +2 -2
  93. package/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
  94. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  95. package/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  96. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +3 -2
  97. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  98. package/dist/components/Footer/Footer.js +1 -1
  99. package/dist/components/Footer/Footer.js.map +1 -1
  100. package/dist/components/Footer/Footer.mobile.js +2 -3
  101. package/dist/components/Footer/Footer.mobile.js.map +1 -1
  102. package/dist/components/GracePeriod/GracePeriod.js +1 -1
  103. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  104. package/dist/components/Header/Header.js +1 -1
  105. package/dist/components/Header/Header.js.map +1 -1
  106. package/dist/components/Header/Header.mobile.js +1 -1
  107. package/dist/components/Header/Header.mobile.js.map +1 -1
  108. package/dist/components/Headline/Headline.js +2 -3
  109. package/dist/components/Headline/Headline.js.map +1 -1
  110. package/dist/components/Headline/HeadlineContent.d.ts +0 -2
  111. package/dist/components/Headline/headlineVersionStyles.js +9 -9
  112. package/dist/components/Headline/headlineVersionStyles.js.map +1 -1
  113. package/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
  114. package/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  115. package/dist/components/ImgBlock/ImgBlock.js +1 -1
  116. package/dist/components/ImgBlock/ImgBlock.js.map +1 -1
  117. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
  118. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  119. package/dist/components/InvestmentInfo/InvestmentInfo.js +3 -3
  120. package/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  121. package/dist/components/LinkDocs/LinkDocs.js +1 -1
  122. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  123. package/dist/components/LinkDocs/LinkDocs.mobile.js +1 -2
  124. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  125. package/dist/components/MobileAppTile/MobileAppTile.js +6 -12
  126. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  127. package/dist/components/MobileAppTile/renderButtonSection.d.ts +0 -0
  128. package/dist/components/MobileAppTile/renderButtonSection.js +1 -0
  129. package/dist/components/MobileAppTile/renderButtonSection.js.map +1 -0
  130. package/dist/components/MobileAppTile/renderDescription.d.ts +2 -0
  131. package/dist/components/MobileAppTile/renderDescription.js +7 -0
  132. package/dist/components/MobileAppTile/renderDescription.js.map +1 -0
  133. package/dist/components/MobileAppTile/renderList.d.ts +2 -0
  134. package/dist/components/MobileAppTile/renderList.js +9 -0
  135. package/dist/components/MobileAppTile/renderList.js.map +1 -0
  136. package/dist/components/MortgageFiltration/MortgageFiltration.js +1 -1
  137. package/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
  138. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
  139. package/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  140. package/dist/components/ParagraphBlock/ParagraphBlock.js +1 -1
  141. package/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  142. package/dist/components/PictureText/PictureText.js +2 -7
  143. package/dist/components/PictureText/PictureText.js.map +1 -1
  144. package/dist/components/PictureText/PictureTextContent.d.ts +2 -6
  145. package/dist/components/PictureText/renderInsuranceSumMonth.js +2 -8
  146. package/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
  147. package/dist/components/Placeholder/Placeholder.js +1 -6
  148. package/dist/components/Placeholder/Placeholder.js.map +1 -1
  149. package/dist/components/ProductBlock/ProductBlock.js +3 -3
  150. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  151. package/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -22
  152. package/dist/components/ProductGallery/ProductGallery.js +2 -2
  153. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  154. package/dist/components/ProductGallery/ProductGallery.mobile.js +5 -6
  155. package/dist/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
  156. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  157. package/dist/components/ProductTile/ProductTile.js +1 -2
  158. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  159. package/dist/components/PromoTile/PromoTile.js +2 -5
  160. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  161. package/dist/components/PromoTile/PromoTileContent.d.ts +2 -3
  162. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  163. package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  164. package/dist/components/RichTextBlock/RichTextBlock.js +1 -1
  165. package/dist/components/RichTextBlock/RichTextBlock.js.map +1 -1
  166. package/dist/components/RollupItem/RollupItem.js +3 -3
  167. package/dist/components/RollupItem/RollupItem.js.map +1 -1
  168. package/dist/components/RollupItem/renderRoundedIcon.d.ts +1 -1
  169. package/dist/components/RollupItem/renderRoundedIcon.js +2 -1
  170. package/dist/components/RollupItem/renderRoundedIcon.js.map +1 -1
  171. package/dist/components/SafeDepositRental/SafeDepositRental.js +2 -2
  172. package/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  173. package/dist/components/StepsBlock/StepsBlock.js +1 -1
  174. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  175. package/dist/components/StepsBlock/StepsBlock.mobile.js +1 -1
  176. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  177. package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +1 -3
  178. package/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
  179. package/dist/components/Tabs/Tabs.js +1 -1
  180. package/dist/components/Tabs/Tabs.js.map +1 -1
  181. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js +3 -6
  182. package/dist/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  183. package/dist/components/TariffsTable/TableTileHeader.js +2 -2
  184. package/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  185. package/dist/components/TariffsTable/TariffsTable.js +2 -1
  186. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  187. package/dist/components/TariffsTable/TariffsTable.mobile.js +3 -3
  188. package/dist/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  189. package/dist/components/TariffsTable/TariffsTableHorizontal.js +1 -1
  190. package/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  191. package/dist/components/TariffsTable/TariffsTableTileCell.js +2 -2
  192. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  193. package/dist/components/TextBlock/TextBlock.js +1 -3
  194. package/dist/components/TextBlock/TextBlock.js.map +1 -1
  195. package/dist/components/Tile/Tile.js +2 -14
  196. package/dist/components/Tile/Tile.js.map +1 -1
  197. package/dist/components/Tile/TileContent.d.ts +2 -13
  198. package/dist/components/VerticalLayout/VerticalLayout.js +1 -1
  199. package/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  200. package/dist/components/Video/Video.js +1 -2
  201. package/dist/components/Video/Video.js.map +1 -1
  202. package/dist/content-page-repository/transformDocumentLink.js +1 -1
  203. package/dist/content-page-repository/transformDocumentLink.js.map +1 -1
  204. package/dist/content-page-repository/transformImg.js +1 -1
  205. package/dist/content-page-repository/transformImg.js.map +1 -1
  206. package/dist/model/Align.d.ts +5 -0
  207. package/dist/{ui-kit/BenefitItem/BenefitItemProps.js → model/Align.js} +1 -1
  208. package/dist/model/Align.js.map +1 -0
  209. package/dist/model/AlignText.d.ts +3 -0
  210. package/dist/model/AlignText.js +3 -0
  211. package/dist/model/AlignText.js.map +1 -1
  212. package/dist/model/AlignType.d.ts +2 -0
  213. package/dist/model/HeadlineType.d.ts +8 -1
  214. package/dist/model/JSXBlock.d.ts +12 -5
  215. package/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
  216. package/dist/ui-kit/BaseProductTile/BaseProductTile.js +18 -0
  217. package/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -0
  218. package/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
  219. package/dist/ui-kit/BaseProductTile/BaseProductTileContent.js +2 -0
  220. package/dist/ui-kit/BaseProductTile/BaseProductTileContent.js.map +1 -0
  221. package/{lib/components → dist/ui-kit}/BaseTile/BaseTile.d.ts +2 -0
  222. package/dist/ui-kit/BaseTile/BaseTile.js +13 -0
  223. package/dist/ui-kit/BaseTile/BaseTile.js.map +1 -0
  224. package/dist/ui-kit/BaseTile/getTileRightPadding.js.map +1 -0
  225. package/dist/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
  226. package/dist/ui-kit/BenefitItem/BenefitItem.js +3 -7
  227. package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  228. package/dist/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
  229. package/{mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.js → dist/ui-kit/BenefitItem/BenefitItemContent.js} +1 -1
  230. package/dist/ui-kit/BenefitItem/BenefitItemContent.js.map +1 -0
  231. package/dist/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
  232. package/dist/ui-kit/BenefitsList/BenefitsList.js +14 -0
  233. package/dist/ui-kit/BenefitsList/BenefitsList.js.map +1 -0
  234. package/dist/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
  235. package/dist/ui-kit/{SwipeListControl/SwipeListControlProps.js → BenefitsList/BenefitsListContent.js} +1 -1
  236. package/dist/ui-kit/BenefitsList/BenefitsListContent.js.map +1 -0
  237. package/dist/ui-kit/BenefitsList/renderBenefit.d.ts +4 -0
  238. package/dist/ui-kit/BenefitsList/renderBenefit.js +13 -0
  239. package/dist/ui-kit/BenefitsList/renderBenefit.js.map +1 -0
  240. package/dist/ui-kit/BlockWrapper.js +3 -3
  241. package/dist/ui-kit/BlockWrapper.js.map +1 -1
  242. package/dist/ui-kit/Button/ButtonInner.js +1 -1
  243. package/dist/ui-kit/Button/renderButtonsSection.js +1 -1
  244. package/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  245. package/dist/ui-kit/Heading/Heading.js +2 -1
  246. package/dist/ui-kit/Heading/Heading.js.map +1 -1
  247. package/dist/ui-kit/Icon/RoundedIcon.d.ts +1 -1
  248. package/dist/ui-kit/Icon/RoundedIcon.js +2 -2
  249. package/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
  250. package/dist/ui-kit/Img/Img.d.ts +2 -1
  251. package/dist/ui-kit/Img/Img.js +10 -2
  252. package/dist/ui-kit/Img/Img.js.map +1 -1
  253. package/dist/ui-kit/Img/ImgAsPicture.js +6 -12
  254. package/dist/ui-kit/Img/ImgAsPicture.js.map +1 -1
  255. package/dist/ui-kit/Img/ImgProps.d.ts +0 -1
  256. package/dist/ui-kit/List/List.js.map +1 -1
  257. package/dist/ui-kit/List/ListContent.d.ts +6 -0
  258. package/dist/ui-kit/List/ListItem.d.ts +1 -1
  259. package/dist/ui-kit/List/ListProps.d.ts +0 -6
  260. package/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
  261. package/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  262. package/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
  263. package/dist/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
  264. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  265. package/dist/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
  266. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
  267. package/dist/ui-kit/Tags/Tags.d.ts +2 -2
  268. package/dist/ui-kit/Tags/Tags.js +4 -5
  269. package/dist/ui-kit/Tags/Tags.js.map +1 -1
  270. package/dist/utils/avg.d.ts +1 -0
  271. package/dist/utils/avg.js +6 -0
  272. package/dist/utils/avg.js.map +1 -0
  273. package/dist/utils/deviation.d.ts +1 -0
  274. package/dist/utils/deviation.js +6 -0
  275. package/dist/utils/deviation.js.map +1 -0
  276. package/lib/common.css +1 -1
  277. package/lib/components/ApplicationForm/ApplicationForm.js +1 -2
  278. package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  279. package/lib/components/ApplicationForm/ResponseNotification.js +1 -1
  280. package/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
  281. package/lib/components/BenefitsBlock/BenefitsBlock.js +2 -1
  282. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  283. package/lib/components/Bonus/Bonus.js +1 -1
  284. package/lib/components/Bonus/Bonus.js.map +1 -1
  285. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  286. package/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  287. package/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  288. package/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  289. package/lib/components/ButtonsBlock/ButtonsBlock.js +1 -1
  290. package/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -1
  291. package/lib/components/Calculator/Calculator.js +1 -1
  292. package/lib/components/Calculator/Calculator.js.map +1 -1
  293. package/lib/components/CardTransfer/CardTransfer.js +1 -1
  294. package/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  295. package/lib/components/Carousel/Carousel.js +1 -1
  296. package/lib/components/Carousel/Carousel.js.map +1 -1
  297. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  298. package/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  299. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -1
  300. package/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  301. package/lib/components/CarouselEventCard/CarouselEventCard.js +1 -1
  302. package/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  303. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -2
  304. package/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  305. package/lib/components/CarouselLinks/CarouselLinks.js +3 -4
  306. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  307. package/lib/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
  308. package/lib/components/CarouselProductCard/CarouselProductCard.js +5 -5
  309. package/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  310. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  311. package/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  312. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  313. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  314. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js +1 -1
  315. package/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.js.map +1 -1
  316. package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
  317. package/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  318. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
  319. package/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  320. package/lib/components/ComparisonTable/ComparisonTable.js +2 -1
  321. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  322. package/lib/components/ContactsBlock/ContactsBlock.js +3 -2
  323. package/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  324. package/lib/components/DepositFiltration/DepositFiltration.js +1 -1
  325. package/lib/components/DepositFiltration/DepositFiltration.js.map +1 -1
  326. package/lib/components/ErrorBlock/ErrorBlock.js +1 -1
  327. package/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  328. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +2 -2
  329. package/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
  330. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  331. package/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  332. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +3 -2
  333. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  334. package/lib/components/Footer/Footer.js +1 -1
  335. package/lib/components/Footer/Footer.js.map +1 -1
  336. package/lib/components/Footer/Footer.mobile.js +2 -3
  337. package/lib/components/Footer/Footer.mobile.js.map +1 -1
  338. package/lib/components/GracePeriod/GracePeriod.js +1 -1
  339. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  340. package/lib/components/Header/Header.js +1 -1
  341. package/lib/components/Header/Header.js.map +1 -1
  342. package/lib/components/Header/Header.mobile.js +1 -1
  343. package/lib/components/Header/Header.mobile.js.map +1 -1
  344. package/lib/components/Headline/Headline.js +2 -3
  345. package/lib/components/Headline/Headline.js.map +1 -1
  346. package/lib/components/Headline/HeadlineContent.d.ts +0 -2
  347. package/lib/components/Headline/headlineVersionStyles.js +9 -9
  348. package/lib/components/Headline/headlineVersionStyles.js.map +1 -1
  349. package/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
  350. package/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  351. package/lib/components/ImgBlock/ImgBlock.js +1 -1
  352. package/lib/components/ImgBlock/ImgBlock.js.map +1 -1
  353. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
  354. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  355. package/lib/components/InvestmentInfo/InvestmentInfo.js +3 -3
  356. package/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  357. package/lib/components/LinkDocs/LinkDocs.js +1 -1
  358. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  359. package/lib/components/LinkDocs/LinkDocs.mobile.js +1 -2
  360. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  361. package/lib/components/MobileAppTile/MobileAppTile.fixture.mobile.d.ts +1 -0
  362. package/lib/components/MobileAppTile/MobileAppTile.js +6 -12
  363. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  364. package/lib/components/MobileAppTile/renderButtonSection.d.ts +0 -0
  365. package/lib/components/MobileAppTile/renderButtonSection.js +1 -0
  366. package/lib/components/MobileAppTile/renderButtonSection.js.map +1 -0
  367. package/lib/components/MobileAppTile/renderDescription.d.ts +1 -0
  368. package/lib/components/MobileAppTile/renderDescription.js +4 -0
  369. package/lib/components/MobileAppTile/renderDescription.js.map +1 -0
  370. package/lib/components/MobileAppTile/renderList.d.ts +1 -0
  371. package/lib/components/MobileAppTile/renderList.js +6 -0
  372. package/lib/components/MobileAppTile/renderList.js.map +1 -0
  373. package/lib/components/MortgageFiltration/MortgageFiltration.js +1 -1
  374. package/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
  375. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
  376. package/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  377. package/lib/components/ParagraphBlock/ParagraphBlock.js +1 -1
  378. package/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  379. package/lib/components/PictureText/PictureText.js +3 -8
  380. package/lib/components/PictureText/PictureText.js.map +1 -1
  381. package/lib/components/PictureText/PictureTextContent.d.ts +2 -6
  382. package/lib/components/PictureText/renderInsuranceSumMonth.js +2 -8
  383. package/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
  384. package/lib/components/Placeholder/Placeholder.js +1 -6
  385. package/lib/components/Placeholder/Placeholder.js.map +1 -1
  386. package/lib/components/ProductBlock/ProductBlock.js +3 -3
  387. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  388. package/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -22
  389. package/lib/components/ProductGallery/ProductGallery.js +2 -2
  390. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  391. package/lib/components/ProductGallery/ProductGallery.mobile.js +5 -6
  392. package/lib/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
  393. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  394. package/lib/components/ProductTile/ProductTile.js +1 -2
  395. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  396. package/lib/components/PromoTile/PromoTile.js +2 -5
  397. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  398. package/lib/components/PromoTile/PromoTileContent.d.ts +2 -3
  399. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  400. package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  401. package/lib/components/RichTextBlock/RichTextBlock.js +1 -1
  402. package/lib/components/RichTextBlock/RichTextBlock.js.map +1 -1
  403. package/lib/components/RollupItem/RollupItem.js +3 -3
  404. package/lib/components/RollupItem/RollupItem.js.map +1 -1
  405. package/lib/components/RollupItem/renderRoundedIcon.d.ts +1 -1
  406. package/lib/components/RollupItem/renderRoundedIcon.js +2 -1
  407. package/lib/components/RollupItem/renderRoundedIcon.js.map +1 -1
  408. package/lib/components/SafeDepositRental/SafeDepositRental.js +2 -2
  409. package/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  410. package/lib/components/StepsBlock/StepsBlock.js +1 -1
  411. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  412. package/lib/components/StepsBlock/StepsBlock.mobile.js +1 -1
  413. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  414. package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +1 -3
  415. package/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
  416. package/lib/components/Tabs/Tabs.js +1 -1
  417. package/lib/components/Tabs/Tabs.js.map +1 -1
  418. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js +3 -6
  419. package/lib/components/TariffsTable/EmbeddableCellData.mobile.js.map +1 -1
  420. package/lib/components/TariffsTable/TableTileHeader.js +2 -2
  421. package/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  422. package/lib/components/TariffsTable/TariffsTable.js +2 -1
  423. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  424. package/lib/components/TariffsTable/TariffsTable.mobile.js +3 -3
  425. package/lib/components/TariffsTable/TariffsTable.mobile.js.map +1 -1
  426. package/lib/components/TariffsTable/TariffsTableHorizontal.js +1 -1
  427. package/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  428. package/lib/components/TariffsTable/TariffsTableTileCell.js +2 -2
  429. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  430. package/lib/components/TextBlock/TextBlock.js +1 -3
  431. package/lib/components/TextBlock/TextBlock.js.map +1 -1
  432. package/lib/components/Tile/Tile.js +3 -15
  433. package/lib/components/Tile/Tile.js.map +1 -1
  434. package/lib/components/Tile/TileContent.d.ts +2 -13
  435. package/lib/components/VerticalLayout/VerticalLayout.js +1 -1
  436. package/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  437. package/lib/components/Video/Video.js +1 -2
  438. package/lib/components/Video/Video.js.map +1 -1
  439. package/lib/content-page-repository/transformDocumentLink.js +1 -1
  440. package/lib/content-page-repository/transformDocumentLink.js.map +1 -1
  441. package/lib/content-page-repository/transformImg.js +1 -1
  442. package/lib/content-page-repository/transformImg.js.map +1 -1
  443. package/lib/model/Align.d.ts +5 -0
  444. package/lib/model/Align.js +2 -0
  445. package/lib/model/Align.js.map +1 -0
  446. package/lib/model/AlignText.d.ts +3 -0
  447. package/lib/model/AlignText.js +3 -0
  448. package/lib/model/AlignText.js.map +1 -1
  449. package/lib/model/AlignType.d.ts +2 -0
  450. package/lib/model/HeadlineType.d.ts +8 -1
  451. package/lib/model/JSXBlock.d.ts +12 -5
  452. package/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
  453. package/lib/ui-kit/BaseProductTile/BaseProductTile.js +16 -0
  454. package/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -0
  455. package/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
  456. package/lib/ui-kit/BaseProductTile/BaseProductTileContent.js +2 -0
  457. package/lib/ui-kit/BaseProductTile/BaseProductTileContent.js.map +1 -0
  458. package/{mobile/bundle/components → lib/ui-kit}/BaseTile/BaseTile.d.ts +2 -0
  459. package/lib/ui-kit/BaseTile/BaseTile.js +11 -0
  460. package/lib/ui-kit/BaseTile/BaseTile.js.map +1 -0
  461. package/lib/ui-kit/BaseTile/getTileRightPadding.js.map +1 -0
  462. package/lib/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
  463. package/lib/ui-kit/BenefitItem/BenefitItem.js +3 -7
  464. package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  465. package/lib/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
  466. package/lib/ui-kit/BenefitItem/BenefitItemContent.js +2 -0
  467. package/lib/ui-kit/BenefitItem/BenefitItemContent.js.map +1 -0
  468. package/lib/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
  469. package/lib/ui-kit/BenefitsList/BenefitsList.js +12 -0
  470. package/lib/ui-kit/BenefitsList/BenefitsList.js.map +1 -0
  471. package/lib/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
  472. package/lib/ui-kit/BenefitsList/BenefitsListContent.js +2 -0
  473. package/lib/ui-kit/BenefitsList/BenefitsListContent.js.map +1 -0
  474. package/lib/ui-kit/BenefitsList/renderBenefit.d.ts +3 -0
  475. package/lib/ui-kit/BenefitsList/renderBenefit.js +10 -0
  476. package/lib/ui-kit/BenefitsList/renderBenefit.js.map +1 -0
  477. package/lib/ui-kit/BlockWrapper.js +3 -3
  478. package/lib/ui-kit/BlockWrapper.js.map +1 -1
  479. package/lib/ui-kit/Button/ButtonInner.js +1 -1
  480. package/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  481. package/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  482. package/lib/ui-kit/Heading/Heading.js +2 -1
  483. package/lib/ui-kit/Heading/Heading.js.map +1 -1
  484. package/lib/ui-kit/Icon/RoundedIcon.d.ts +1 -1
  485. package/lib/ui-kit/Icon/RoundedIcon.js +2 -2
  486. package/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
  487. package/lib/ui-kit/Img/Img.d.ts +2 -1
  488. package/lib/ui-kit/Img/Img.js +10 -1
  489. package/lib/ui-kit/Img/Img.js.map +1 -1
  490. package/lib/ui-kit/Img/ImgAsPicture.js +6 -12
  491. package/lib/ui-kit/Img/ImgAsPicture.js.map +1 -1
  492. package/lib/ui-kit/Img/ImgProps.d.ts +0 -1
  493. package/lib/ui-kit/List/List.js.map +1 -1
  494. package/lib/ui-kit/List/ListContent.d.ts +6 -0
  495. package/lib/ui-kit/List/ListItem.d.ts +1 -1
  496. package/lib/ui-kit/List/ListProps.d.ts +0 -6
  497. package/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
  498. package/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  499. package/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
  500. package/lib/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
  501. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  502. package/lib/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
  503. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
  504. package/lib/ui-kit/Tags/Tags.d.ts +2 -2
  505. package/lib/ui-kit/Tags/Tags.js +4 -5
  506. package/lib/ui-kit/Tags/Tags.js.map +1 -1
  507. package/lib/utils/avg.d.ts +1 -0
  508. package/lib/utils/avg.js +3 -0
  509. package/lib/utils/avg.js.map +1 -0
  510. package/lib/utils/deviation.d.ts +1 -0
  511. package/lib/utils/deviation.js +3 -0
  512. package/lib/utils/deviation.js.map +1 -0
  513. package/mobile/bundle/bundle.umd.js +122 -179
  514. package/mobile/bundle/bundle.umd.min.js +1 -1
  515. package/mobile/bundle/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
  516. package/mobile/bundle/components/Headline/HeadlineContent.d.ts +0 -2
  517. package/mobile/bundle/components/MobileAppTile/renderDescription.d.ts +2 -0
  518. package/mobile/bundle/components/MobileAppTile/renderList.d.ts +2 -0
  519. package/mobile/bundle/components/PictureText/PictureTextContent.d.ts +2 -6
  520. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +3 -22
  521. package/mobile/bundle/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  522. package/mobile/bundle/components/PromoTile/PromoTileContent.d.ts +2 -3
  523. package/mobile/bundle/components/Tile/TileContent.d.ts +2 -13
  524. package/mobile/bundle/model/Align.d.ts +5 -0
  525. package/mobile/bundle/model/AlignText.d.ts +3 -0
  526. package/mobile/bundle/model/AlignType.d.ts +2 -0
  527. package/mobile/bundle/model/HeadlineType.d.ts +8 -1
  528. package/mobile/bundle/model/JSXBlock.d.ts +12 -5
  529. package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
  530. package/mobile/bundle/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
  531. package/{dist/components → mobile/bundle/ui-kit}/BaseTile/BaseTile.d.ts +2 -0
  532. package/mobile/bundle/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
  533. package/mobile/bundle/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
  534. package/mobile/bundle/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
  535. package/mobile/bundle/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
  536. package/mobile/bundle/ui-kit/BenefitsList/renderBenefit.d.ts +4 -0
  537. package/mobile/bundle/ui-kit/Icon/RoundedIcon.d.ts +1 -1
  538. package/mobile/bundle/ui-kit/Img/ImgProps.d.ts +0 -1
  539. package/mobile/bundle/ui-kit/List/ListContent.d.ts +6 -0
  540. package/mobile/bundle/ui-kit/List/ListItem.d.ts +1 -1
  541. package/mobile/bundle/ui-kit/List/ListProps.d.ts +0 -6
  542. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
  543. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
  544. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
  545. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
  546. package/mobile/bundle/ui-kit/Tags/Tags.d.ts +2 -2
  547. package/mobile/bundle/utils/avg.d.ts +1 -0
  548. package/mobile/bundle/utils/deviation.d.ts +1 -0
  549. package/mobile/dist/components/ApplicationForm/ApplicationForm.js +1 -2
  550. package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  551. package/mobile/dist/components/ApplicationForm/ResponseNotification.js +1 -1
  552. package/mobile/dist/components/ApplicationForm/ResponseNotification.js.map +1 -1
  553. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +2 -1
  554. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  555. package/mobile/dist/components/Bonus/Bonus.js +1 -1
  556. package/mobile/dist/components/Bonus/Bonus.js.map +1 -1
  557. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  558. package/mobile/dist/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  559. package/mobile/dist/components/BusinessBlock/BusinessBlock.js +1 -1
  560. package/mobile/dist/components/BusinessBlock/BusinessBlock.js.map +1 -1
  561. package/mobile/dist/components/ButtonsBlock/ButtonsBlock.js +1 -1
  562. package/mobile/dist/components/ButtonsBlock/ButtonsBlock.js.map +1 -1
  563. package/mobile/dist/components/Calculator/Calculator.js +1 -1
  564. package/mobile/dist/components/Calculator/Calculator.js.map +1 -1
  565. package/mobile/dist/components/CardTransfer/CardTransfer.js +1 -1
  566. package/mobile/dist/components/CardTransfer/CardTransfer.js.map +1 -1
  567. package/mobile/dist/components/Carousel/Carousel.js +1 -1
  568. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  569. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  570. package/mobile/dist/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  571. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -1
  572. package/mobile/dist/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  573. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js +1 -1
  574. package/mobile/dist/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  575. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -2
  576. package/mobile/dist/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  577. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +3 -4
  578. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  579. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
  580. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js +5 -5
  581. package/mobile/dist/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  582. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  583. package/mobile/dist/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  584. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  585. package/mobile/dist/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  586. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
  587. package/mobile/dist/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  588. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
  589. package/mobile/dist/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  590. package/mobile/dist/components/ContactsBlock/ContactsBlock.js +3 -2
  591. package/mobile/dist/components/ContactsBlock/ContactsBlock.js.map +1 -1
  592. package/mobile/dist/components/DepositFiltration/DepositFiltration.js +1 -1
  593. package/mobile/dist/components/DepositFiltration/DepositFiltration.js.map +1 -1
  594. package/mobile/dist/components/ErrorBlock/ErrorBlock.js +1 -1
  595. package/mobile/dist/components/ErrorBlock/ErrorBlock.js.map +1 -1
  596. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js +2 -2
  597. package/mobile/dist/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
  598. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  599. package/mobile/dist/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  600. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +3 -2
  601. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  602. package/mobile/dist/components/Footer/Footer.js +2 -3
  603. package/mobile/dist/components/Footer/Footer.js.map +1 -1
  604. package/mobile/dist/components/GracePeriod/GracePeriod.js +1 -1
  605. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  606. package/mobile/dist/components/Header/Header.js +1 -1
  607. package/mobile/dist/components/Header/Header.js.map +1 -1
  608. package/mobile/dist/components/Headline/Headline.js +2 -3
  609. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  610. package/mobile/dist/components/Headline/HeadlineContent.d.ts +0 -2
  611. package/mobile/dist/components/Headline/headlineVersionStyles.js +9 -9
  612. package/mobile/dist/components/Headline/headlineVersionStyles.js.map +1 -1
  613. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js +1 -1
  614. package/mobile/dist/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  615. package/mobile/dist/components/ImgBlock/ImgBlock.js +1 -1
  616. package/mobile/dist/components/ImgBlock/ImgBlock.js.map +1 -1
  617. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
  618. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  619. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +3 -3
  620. package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  621. package/mobile/dist/components/LinkDocs/LinkDocs.js +1 -2
  622. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  623. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +11 -3
  624. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  625. package/mobile/dist/components/MobileAppTile/renderButtonSection.d.ts +0 -0
  626. package/mobile/dist/components/MobileAppTile/renderButtonSection.js +1 -0
  627. package/mobile/dist/components/MobileAppTile/renderButtonSection.js.map +1 -0
  628. package/mobile/dist/components/MobileAppTile/renderDescription.d.ts +2 -0
  629. package/mobile/dist/components/MobileAppTile/renderDescription.js +7 -0
  630. package/mobile/dist/components/MobileAppTile/renderDescription.js.map +1 -0
  631. package/mobile/dist/components/MobileAppTile/renderList.d.ts +2 -0
  632. package/mobile/dist/components/MobileAppTile/renderList.js +9 -0
  633. package/mobile/dist/components/MobileAppTile/renderList.js.map +1 -0
  634. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js +1 -1
  635. package/mobile/dist/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
  636. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
  637. package/mobile/dist/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  638. package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js +1 -1
  639. package/mobile/dist/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  640. package/mobile/dist/components/PictureText/PictureText.js +2 -7
  641. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  642. package/mobile/dist/components/PictureText/PictureTextContent.d.ts +2 -6
  643. package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js +2 -8
  644. package/mobile/dist/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
  645. package/mobile/dist/components/Placeholder/Placeholder.js +1 -6
  646. package/mobile/dist/components/Placeholder/Placeholder.js.map +1 -1
  647. package/mobile/dist/components/ProductBlock/ProductBlock.js +3 -3
  648. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  649. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -22
  650. package/mobile/dist/components/ProductGallery/ProductGallery.js +5 -6
  651. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  652. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  653. package/mobile/dist/components/ProductTile/ProductTile.js +1 -2
  654. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  655. package/mobile/dist/components/PromoTile/PromoTile.js +2 -5
  656. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  657. package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +2 -3
  658. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  659. package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  660. package/mobile/dist/components/RichTextBlock/RichTextBlock.js +1 -1
  661. package/mobile/dist/components/RichTextBlock/RichTextBlock.js.map +1 -1
  662. package/mobile/dist/components/RollupItem/RollupItem.js +3 -3
  663. package/mobile/dist/components/RollupItem/RollupItem.js.map +1 -1
  664. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js +2 -2
  665. package/mobile/dist/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  666. package/mobile/dist/components/StepsBlock/StepsBlock.js +1 -1
  667. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  668. package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js +1 -3
  669. package/mobile/dist/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
  670. package/mobile/dist/components/Tabs/Tabs.js +1 -1
  671. package/mobile/dist/components/Tabs/Tabs.js.map +1 -1
  672. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js +3 -6
  673. package/mobile/dist/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  674. package/mobile/dist/components/TariffsTable/TableTileHeader.js +2 -2
  675. package/mobile/dist/components/TariffsTable/TableTileHeader.js.map +1 -1
  676. package/mobile/dist/components/TariffsTable/TariffsTable.js +3 -3
  677. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  678. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js +1 -1
  679. package/mobile/dist/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  680. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +2 -2
  681. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  682. package/mobile/dist/components/TextBlock/TextBlock.js +1 -3
  683. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  684. package/mobile/dist/components/Tile/Tile.js +2 -14
  685. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  686. package/mobile/dist/components/Tile/TileContent.d.ts +2 -13
  687. package/mobile/dist/components/VerticalLayout/VerticalLayout.js +1 -1
  688. package/mobile/dist/components/VerticalLayout/VerticalLayout.js.map +1 -1
  689. package/mobile/dist/components/Video/Video.js +1 -2
  690. package/mobile/dist/components/Video/Video.js.map +1 -1
  691. package/mobile/dist/content-page-repository/transformDocumentLink.js +1 -1
  692. package/mobile/dist/content-page-repository/transformDocumentLink.js.map +1 -1
  693. package/mobile/dist/content-page-repository/transformImg.js +1 -1
  694. package/mobile/dist/content-page-repository/transformImg.js.map +1 -1
  695. package/mobile/dist/model/Align.d.ts +5 -0
  696. package/mobile/dist/{ui-kit/BenefitItem/BenefitItemProps.js → model/Align.js} +1 -1
  697. package/mobile/dist/model/Align.js.map +1 -0
  698. package/mobile/dist/model/AlignText.d.ts +3 -0
  699. package/mobile/dist/model/AlignText.js +3 -0
  700. package/mobile/dist/model/AlignText.js.map +1 -1
  701. package/mobile/dist/model/AlignType.d.ts +2 -0
  702. package/mobile/dist/model/HeadlineType.d.ts +8 -1
  703. package/mobile/dist/model/JSXBlock.d.ts +12 -5
  704. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
  705. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js +18 -0
  706. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -0
  707. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
  708. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.js +2 -0
  709. package/mobile/dist/ui-kit/BaseProductTile/BaseProductTileContent.js.map +1 -0
  710. package/mobile/dist/ui-kit/BaseTile/BaseTile.d.ts +14 -0
  711. package/mobile/dist/ui-kit/BaseTile/BaseTile.js +13 -0
  712. package/mobile/dist/ui-kit/BaseTile/BaseTile.js.map +1 -0
  713. package/mobile/dist/ui-kit/BaseTile/getTileRightPadding.js.map +1 -0
  714. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
  715. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +3 -7
  716. package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  717. package/mobile/dist/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
  718. package/mobile/dist/ui-kit/BenefitItem/BenefitItemContent.js +2 -0
  719. package/mobile/dist/ui-kit/BenefitItem/BenefitItemContent.js.map +1 -0
  720. package/mobile/dist/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
  721. package/mobile/dist/ui-kit/BenefitsList/BenefitsList.js +14 -0
  722. package/mobile/dist/ui-kit/BenefitsList/BenefitsList.js.map +1 -0
  723. package/mobile/dist/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
  724. package/mobile/dist/ui-kit/BenefitsList/BenefitsListContent.js +2 -0
  725. package/mobile/dist/ui-kit/BenefitsList/BenefitsListContent.js.map +1 -0
  726. package/mobile/dist/ui-kit/BenefitsList/renderBenefit.d.ts +4 -0
  727. package/mobile/dist/ui-kit/BenefitsList/renderBenefit.js +13 -0
  728. package/mobile/dist/ui-kit/BenefitsList/renderBenefit.js.map +1 -0
  729. package/mobile/dist/ui-kit/BlockWrapper.js +3 -3
  730. package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
  731. package/mobile/dist/ui-kit/Button/ButtonInner.js +1 -1
  732. package/mobile/dist/ui-kit/Button/renderButtonsSection.js +1 -1
  733. package/mobile/dist/ui-kit/Button/renderButtonsSection.js.map +1 -1
  734. package/mobile/dist/ui-kit/Heading/Heading.js +2 -1
  735. package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -1
  736. package/mobile/dist/ui-kit/Icon/RoundedIcon.d.ts +1 -1
  737. package/mobile/dist/ui-kit/Icon/RoundedIcon.js +2 -2
  738. package/mobile/dist/ui-kit/Icon/RoundedIcon.js.map +1 -1
  739. package/mobile/dist/ui-kit/Img/Img.js +8 -2
  740. package/mobile/dist/ui-kit/Img/Img.js.map +1 -1
  741. package/mobile/dist/ui-kit/Img/ImgAsPicture.js +6 -12
  742. package/mobile/dist/ui-kit/Img/ImgAsPicture.js.map +1 -1
  743. package/mobile/dist/ui-kit/Img/ImgProps.d.ts +0 -1
  744. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  745. package/mobile/dist/ui-kit/List/ListContent.d.ts +6 -0
  746. package/mobile/dist/ui-kit/List/ListItem.d.ts +1 -1
  747. package/mobile/dist/ui-kit/List/ListProps.d.ts +0 -6
  748. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
  749. package/mobile/dist/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  750. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
  751. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
  752. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  753. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
  754. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
  755. package/mobile/dist/ui-kit/Tags/Tags.d.ts +2 -2
  756. package/mobile/dist/ui-kit/Tags/Tags.js +4 -5
  757. package/mobile/dist/ui-kit/Tags/Tags.js.map +1 -1
  758. package/mobile/dist/utils/avg.d.ts +1 -0
  759. package/mobile/dist/utils/avg.js +6 -0
  760. package/mobile/dist/utils/avg.js.map +1 -0
  761. package/mobile/dist/utils/deviation.d.ts +1 -0
  762. package/mobile/dist/utils/deviation.js +6 -0
  763. package/mobile/dist/utils/deviation.js.map +1 -0
  764. package/mobile/lib/common.css +1 -1
  765. package/mobile/lib/components/ApplicationForm/ApplicationForm.js +1 -2
  766. package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  767. package/mobile/lib/components/ApplicationForm/ResponseNotification.js +1 -1
  768. package/mobile/lib/components/ApplicationForm/ResponseNotification.js.map +1 -1
  769. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +2 -1
  770. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  771. package/mobile/lib/components/Bonus/Bonus.js +1 -1
  772. package/mobile/lib/components/Bonus/Bonus.js.map +1 -1
  773. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js +1 -1
  774. package/mobile/lib/components/BonusBenefitsBlock/BonusBenefitsBlock.js.map +1 -1
  775. package/mobile/lib/components/BusinessBlock/BusinessBlock.js +1 -1
  776. package/mobile/lib/components/BusinessBlock/BusinessBlock.js.map +1 -1
  777. package/mobile/lib/components/ButtonsBlock/ButtonsBlock.js +1 -1
  778. package/mobile/lib/components/ButtonsBlock/ButtonsBlock.js.map +1 -1
  779. package/mobile/lib/components/Calculator/Calculator.js +1 -1
  780. package/mobile/lib/components/Calculator/Calculator.js.map +1 -1
  781. package/mobile/lib/components/CardTransfer/CardTransfer.js +1 -1
  782. package/mobile/lib/components/CardTransfer/CardTransfer.js.map +1 -1
  783. package/mobile/lib/components/Carousel/Carousel.js +1 -1
  784. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  785. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js +1 -1
  786. package/mobile/lib/components/CarouselBankHistoryCard/CarouselBankHistoryCard.js.map +1 -1
  787. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js +2 -1
  788. package/mobile/lib/components/CarouselCatalogCard/CarouselCatalogCard.js.map +1 -1
  789. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js +1 -1
  790. package/mobile/lib/components/CarouselEventCard/CarouselEventCard.js.map +1 -1
  791. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js +2 -2
  792. package/mobile/lib/components/CarouselInvestmentCard/CarouselInvestmentCard.js.map +1 -1
  793. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +3 -4
  794. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  795. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.d.ts +1 -1
  796. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js +5 -5
  797. package/mobile/lib/components/CarouselProductCard/CarouselProductCard.js.map +1 -1
  798. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js +1 -1
  799. package/mobile/lib/components/CarouselProgramsCard/CarouselProgramsCard.js.map +1 -1
  800. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js +1 -1
  801. package/mobile/lib/components/CarouselRecommendationCard/CarouselRecommendationCard.js.map +1 -1
  802. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js +1 -1
  803. package/mobile/lib/components/CarouselRichTextCard/CarouselRichTextCard.js.map +1 -1
  804. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js +1 -1
  805. package/mobile/lib/components/CarouselTariffsCard/CarouselTariffsCard.js.map +1 -1
  806. package/mobile/lib/components/ContactsBlock/ContactsBlock.js +3 -2
  807. package/mobile/lib/components/ContactsBlock/ContactsBlock.js.map +1 -1
  808. package/mobile/lib/components/DepositFiltration/DepositFiltration.js +1 -1
  809. package/mobile/lib/components/DepositFiltration/DepositFiltration.js.map +1 -1
  810. package/mobile/lib/components/ErrorBlock/ErrorBlock.js +1 -1
  811. package/mobile/lib/components/ErrorBlock/ErrorBlock.js.map +1 -1
  812. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js +2 -2
  813. package/mobile/lib/components/ExchangeRateOffice/ExchangeRateOffice.js.map +1 -1
  814. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js +1 -1
  815. package/mobile/lib/components/ExchangeRateTile/ExchangeCurrencyCalculator.js.map +1 -1
  816. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +3 -2
  817. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  818. package/mobile/lib/components/Footer/Footer.js +2 -3
  819. package/mobile/lib/components/Footer/Footer.js.map +1 -1
  820. package/mobile/lib/components/GracePeriod/GracePeriod.js +1 -1
  821. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  822. package/mobile/lib/components/Header/Header.js +1 -1
  823. package/mobile/lib/components/Header/Header.js.map +1 -1
  824. package/mobile/lib/components/Headline/Headline.js +2 -3
  825. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  826. package/mobile/lib/components/Headline/HeadlineContent.d.ts +0 -2
  827. package/mobile/lib/components/Headline/headlineVersionStyles.js +9 -9
  828. package/mobile/lib/components/Headline/headlineVersionStyles.js.map +1 -1
  829. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js +1 -1
  830. package/mobile/lib/components/HorizontalLayout/HorizontalLayout.js.map +1 -1
  831. package/mobile/lib/components/ImgBlock/ImgBlock.js +1 -1
  832. package/mobile/lib/components/ImgBlock/ImgBlock.js.map +1 -1
  833. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js +2 -1
  834. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlock.js.map +1 -1
  835. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +3 -3
  836. package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +1 -1
  837. package/mobile/lib/components/LinkDocs/LinkDocs.js +1 -2
  838. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  839. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +11 -3
  840. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  841. package/mobile/lib/components/MobileAppTile/renderButtonSection.d.ts +0 -0
  842. package/mobile/lib/components/MobileAppTile/renderButtonSection.js +1 -0
  843. package/mobile/lib/components/MobileAppTile/renderButtonSection.js.map +1 -0
  844. package/mobile/lib/components/MobileAppTile/renderDescription.d.ts +2 -0
  845. package/mobile/lib/components/MobileAppTile/renderDescription.js +4 -0
  846. package/mobile/lib/components/MobileAppTile/renderDescription.js.map +1 -0
  847. package/mobile/lib/components/MobileAppTile/renderList.d.ts +2 -0
  848. package/mobile/lib/components/MobileAppTile/renderList.js +6 -0
  849. package/mobile/lib/components/MobileAppTile/renderList.js.map +1 -0
  850. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js +1 -1
  851. package/mobile/lib/components/MortgageFiltration/MortgageFiltration.js.map +1 -1
  852. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js +2 -1
  853. package/mobile/lib/components/OfficeServicesBlock/OfficeServicesBlock.js.map +1 -1
  854. package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js +1 -1
  855. package/mobile/lib/components/ParagraphBlock/ParagraphBlock.js.map +1 -1
  856. package/mobile/lib/components/PictureText/PictureText.js +3 -8
  857. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  858. package/mobile/lib/components/PictureText/PictureTextContent.d.ts +2 -6
  859. package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js +2 -8
  860. package/mobile/lib/components/PictureText/renderInsuranceSumMonth.js.map +1 -1
  861. package/mobile/lib/components/Placeholder/Placeholder.js +1 -6
  862. package/mobile/lib/components/Placeholder/Placeholder.js.map +1 -1
  863. package/mobile/lib/components/ProductBlock/ProductBlock.js +3 -3
  864. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  865. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -22
  866. package/mobile/lib/components/ProductGallery/ProductGallery.js +5 -6
  867. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  868. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  869. package/mobile/lib/components/ProductTile/ProductTile.js +1 -2
  870. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  871. package/mobile/lib/components/PromoTile/PromoTile.js +2 -5
  872. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  873. package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +2 -3
  874. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +1 -1
  875. package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +1 -1
  876. package/mobile/lib/components/RichTextBlock/RichTextBlock.js +1 -1
  877. package/mobile/lib/components/RichTextBlock/RichTextBlock.js.map +1 -1
  878. package/mobile/lib/components/RollupItem/RollupItem.js +3 -3
  879. package/mobile/lib/components/RollupItem/RollupItem.js.map +1 -1
  880. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js +2 -2
  881. package/mobile/lib/components/SafeDepositRental/SafeDepositRental.js.map +1 -1
  882. package/mobile/lib/components/StepsBlock/StepsBlock.js +1 -1
  883. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  884. package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js +1 -3
  885. package/mobile/lib/components/SwipeListControlBlock/SwipeListControlBlock.js.map +1 -1
  886. package/mobile/lib/components/Tabs/Tabs.js +1 -1
  887. package/mobile/lib/components/Tabs/Tabs.js.map +1 -1
  888. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js +3 -6
  889. package/mobile/lib/components/TariffsTable/EmbeddableCellData.js.map +1 -1
  890. package/mobile/lib/components/TariffsTable/TableTileHeader.js +2 -2
  891. package/mobile/lib/components/TariffsTable/TableTileHeader.js.map +1 -1
  892. package/mobile/lib/components/TariffsTable/TariffsTable.js +3 -3
  893. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  894. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js +1 -1
  895. package/mobile/lib/components/TariffsTable/TariffsTableHorizontal.js.map +1 -1
  896. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +2 -2
  897. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  898. package/mobile/lib/components/TextBlock/TextBlock.js +1 -3
  899. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  900. package/mobile/lib/components/Tile/Tile.js +3 -15
  901. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  902. package/mobile/lib/components/Tile/TileContent.d.ts +2 -13
  903. package/mobile/lib/components/VerticalLayout/VerticalLayout.js +1 -1
  904. package/mobile/lib/components/VerticalLayout/VerticalLayout.js.map +1 -1
  905. package/mobile/lib/components/Video/Video.js +1 -2
  906. package/mobile/lib/components/Video/Video.js.map +1 -1
  907. package/mobile/lib/content-page-repository/transformDocumentLink.js +1 -1
  908. package/mobile/lib/content-page-repository/transformDocumentLink.js.map +1 -1
  909. package/mobile/lib/content-page-repository/transformImg.js +1 -1
  910. package/mobile/lib/content-page-repository/transformImg.js.map +1 -1
  911. package/mobile/lib/model/Align.d.ts +5 -0
  912. package/mobile/lib/model/Align.js +2 -0
  913. package/mobile/lib/model/Align.js.map +1 -0
  914. package/mobile/lib/model/AlignText.d.ts +3 -0
  915. package/mobile/lib/model/AlignText.js +3 -0
  916. package/mobile/lib/model/AlignText.js.map +1 -1
  917. package/mobile/lib/model/AlignType.d.ts +2 -0
  918. package/mobile/lib/model/HeadlineType.d.ts +8 -1
  919. package/mobile/lib/model/JSXBlock.d.ts +12 -5
  920. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.d.ts +7 -0
  921. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js +16 -0
  922. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTile.js.map +1 -0
  923. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.d.ts +22 -0
  924. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.js +2 -0
  925. package/mobile/lib/ui-kit/BaseProductTile/BaseProductTileContent.js.map +1 -0
  926. package/mobile/lib/ui-kit/BaseTile/BaseTile.d.ts +14 -0
  927. package/mobile/lib/ui-kit/BaseTile/BaseTile.js +11 -0
  928. package/mobile/lib/ui-kit/BaseTile/BaseTile.js.map +1 -0
  929. package/mobile/lib/ui-kit/BaseTile/getTileRightPadding.js.map +1 -0
  930. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.d.ts +5 -2
  931. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +3 -7
  932. package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
  933. package/mobile/lib/ui-kit/BenefitItem/BenefitItemContent.d.ts +16 -0
  934. package/mobile/lib/ui-kit/BenefitItem/BenefitItemContent.js +2 -0
  935. package/mobile/lib/ui-kit/BenefitItem/BenefitItemContent.js.map +1 -0
  936. package/mobile/lib/ui-kit/BenefitsList/BenefitsList.d.ts +6 -0
  937. package/mobile/lib/ui-kit/BenefitsList/BenefitsList.js +12 -0
  938. package/mobile/lib/ui-kit/BenefitsList/BenefitsList.js.map +1 -0
  939. package/mobile/lib/ui-kit/BenefitsList/BenefitsListContent.d.ts +14 -0
  940. package/mobile/lib/ui-kit/BenefitsList/BenefitsListContent.js +2 -0
  941. package/mobile/lib/ui-kit/BenefitsList/BenefitsListContent.js.map +1 -0
  942. package/mobile/lib/ui-kit/BenefitsList/renderBenefit.d.ts +4 -0
  943. package/mobile/lib/ui-kit/BenefitsList/renderBenefit.js +10 -0
  944. package/mobile/lib/ui-kit/BenefitsList/renderBenefit.js.map +1 -0
  945. package/mobile/lib/ui-kit/BlockWrapper.js +3 -3
  946. package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
  947. package/mobile/lib/ui-kit/Button/ButtonInner.js +1 -1
  948. package/mobile/lib/ui-kit/Button/renderButtonsSection.js +1 -1
  949. package/mobile/lib/ui-kit/Button/renderButtonsSection.js.map +1 -1
  950. package/mobile/lib/ui-kit/Heading/Heading.js +2 -1
  951. package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -1
  952. package/mobile/lib/ui-kit/Icon/RoundedIcon.d.ts +1 -1
  953. package/mobile/lib/ui-kit/Icon/RoundedIcon.js +2 -2
  954. package/mobile/lib/ui-kit/Icon/RoundedIcon.js.map +1 -1
  955. package/mobile/lib/ui-kit/Img/Img.js +8 -2
  956. package/mobile/lib/ui-kit/Img/Img.js.map +1 -1
  957. package/mobile/lib/ui-kit/Img/ImgAsPicture.js +6 -12
  958. package/mobile/lib/ui-kit/Img/ImgAsPicture.js.map +1 -1
  959. package/mobile/lib/ui-kit/Img/ImgProps.d.ts +0 -1
  960. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  961. package/mobile/lib/ui-kit/List/ListContent.d.ts +6 -0
  962. package/mobile/lib/ui-kit/List/ListItem.d.ts +1 -1
  963. package/mobile/lib/ui-kit/List/ListProps.d.ts +0 -6
  964. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.d.ts +4 -2
  965. package/mobile/lib/ui-kit/SwipeListControl/SwipeListContainer.js.map +1 -1
  966. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +10 -1
  967. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +1 -1
  968. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  969. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlContent.d.ts +16 -4
  970. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +1 -1
  971. package/mobile/lib/ui-kit/Tags/Tags.d.ts +2 -2
  972. package/mobile/lib/ui-kit/Tags/Tags.js +4 -5
  973. package/mobile/lib/ui-kit/Tags/Tags.js.map +1 -1
  974. package/mobile/lib/utils/avg.d.ts +1 -0
  975. package/mobile/lib/utils/avg.js +3 -0
  976. package/mobile/lib/utils/avg.js.map +1 -0
  977. package/mobile/lib/utils/deviation.d.ts +1 -0
  978. package/mobile/lib/utils/deviation.js +3 -0
  979. package/mobile/lib/utils/deviation.js.map +1 -0
  980. package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +1 -2
  981. package/mobile/src/components/ApplicationForm/ResponseNotification.tsx +1 -1
  982. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +6 -1
  983. package/mobile/src/components/Bonus/Bonus.tsx +1 -1
  984. package/mobile/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -1
  985. package/mobile/src/components/BusinessBlock/BusinessBlock.tsx +8 -10
  986. package/mobile/src/components/ButtonsBlock/ButtonsBlock.tsx +1 -1
  987. package/mobile/src/components/Calculator/Calculator.tsx +2 -1
  988. package/mobile/src/components/CardTransfer/CardTransfer.tsx +5 -1
  989. package/mobile/src/components/Carousel/Carousel.tsx +1 -8
  990. package/mobile/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
  991. package/mobile/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +5 -1
  992. package/mobile/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -1
  993. package/mobile/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +9 -4
  994. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +24 -24
  995. package/mobile/src/components/CarouselProductCard/CarouselProductCard.tsx +10 -8
  996. package/mobile/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +5 -1
  997. package/mobile/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +2 -1
  998. package/mobile/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +1 -1
  999. package/mobile/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -5
  1000. package/mobile/src/components/ContactsBlock/ContactsBlock.tsx +9 -3
  1001. package/mobile/src/components/DepositFiltration/DepositFiltration.example.json +1 -1
  1002. package/mobile/src/components/DepositFiltration/DepositFiltration.tsx +6 -1
  1003. package/mobile/src/components/ErrorBlock/ErrorBlock.tsx +2 -5
  1004. package/mobile/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +4 -7
  1005. package/mobile/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +1 -1
  1006. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +8 -8
  1007. package/mobile/src/components/Footer/Footer.tsx +2 -3
  1008. package/mobile/src/components/GracePeriod/GracePeriod.tsx +1 -1
  1009. package/mobile/src/components/Header/Header.tsx +2 -2
  1010. package/mobile/src/components/Headline/Headline.tsx +7 -7
  1011. package/mobile/src/components/Headline/HeadlineContent.ts +2 -4
  1012. package/mobile/src/components/Headline/headlineVersionStyles.ts +9 -9
  1013. package/mobile/src/components/HorizontalLayout/HorizontalLayout.tsx +2 -7
  1014. package/mobile/src/components/ImgBlock/ImgBlock.tsx +1 -1
  1015. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +3 -1
  1016. package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +6 -6
  1017. package/mobile/src/components/LinkDocs/LinkDocs.tsx +1 -3
  1018. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +56 -20
  1019. package/mobile/src/components/MobileAppTile/renderButtonSection.tsx +0 -0
  1020. package/mobile/src/components/MobileAppTile/renderDescription.tsx +10 -0
  1021. package/mobile/src/components/MobileAppTile/renderList.tsx +11 -0
  1022. package/mobile/src/components/MortgageFiltration/MortgageFiltration.example.json +1 -1
  1023. package/mobile/src/components/MortgageFiltration/MortgageFiltration.tsx +6 -1
  1024. package/mobile/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +2 -1
  1025. package/mobile/src/components/ParagraphBlock/ParagraphBlock.tsx +1 -1
  1026. package/mobile/src/components/PictureText/PictureText.tsx +13 -34
  1027. package/mobile/src/components/PictureText/PictureTextContent.ts +2 -8
  1028. package/mobile/src/components/PictureText/renderInsuranceSumMonth.tsx +14 -21
  1029. package/mobile/src/components/Placeholder/Placeholder.tsx +13 -24
  1030. package/mobile/src/components/ProductBlock/ProductBlock.tsx +4 -3
  1031. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +3 -28
  1032. package/mobile/src/components/ProductGallery/ProductGallery.tsx +19 -26
  1033. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
  1034. package/mobile/src/components/ProductTile/ProductTile.tsx +1 -3
  1035. package/mobile/src/components/PromoTile/PromoTile.tsx +10 -23
  1036. package/mobile/src/components/PromoTile/PromoTileContent.ts +2 -3
  1037. package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +1 -5
  1038. package/mobile/src/components/RichTextBlock/RichTextBlock.tsx +1 -1
  1039. package/mobile/src/components/RollupItem/RollupItem.tsx +3 -2
  1040. package/mobile/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
  1041. package/mobile/src/components/StepsBlock/StepsBlock.tsx +2 -1
  1042. package/mobile/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +7 -9
  1043. package/mobile/src/components/Tabs/Tabs.tsx +1 -0
  1044. package/mobile/src/components/TariffsTable/EmbeddableCellData.tsx +8 -12
  1045. package/mobile/src/components/TariffsTable/TableTileHeader.tsx +3 -3
  1046. package/mobile/src/components/TariffsTable/TariffsTable.tsx +11 -7
  1047. package/mobile/src/components/TariffsTable/TariffsTableHorizontal.tsx +1 -1
  1048. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +3 -4
  1049. package/mobile/src/components/TextBlock/TextBlock.tsx +23 -28
  1050. package/mobile/src/components/Tile/Tile.tsx +10 -64
  1051. package/mobile/src/components/Tile/TileContent.ts +2 -20
  1052. package/mobile/src/components/VerticalLayout/VerticalLayout.tsx +1 -1
  1053. package/mobile/src/components/Video/Video.tsx +2 -3
  1054. package/mobile/src/content-page-repository/transformDocumentLink.ts +1 -1
  1055. package/mobile/src/content-page-repository/transformImg.ts +1 -1
  1056. package/mobile/src/model/Align.ts +5 -0
  1057. package/mobile/src/model/AlignText.ts +3 -0
  1058. package/mobile/src/model/AlignType.ts +2 -0
  1059. package/mobile/src/model/HeadlineType.ts +11 -1
  1060. package/mobile/src/model/JSXBlock.ts +13 -5
  1061. package/mobile/src/ui-kit/BaseProductTile/BaseProductTile.tsx +68 -0
  1062. package/mobile/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +30 -0
  1063. package/mobile/src/ui-kit/BaseTile/BaseTile.tsx +72 -0
  1064. package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +22 -22
  1065. package/mobile/src/ui-kit/BenefitItem/BenefitItemContent.ts +19 -0
  1066. package/mobile/src/ui-kit/BenefitsList/BenefitsList.tsx +35 -0
  1067. package/mobile/src/ui-kit/BenefitsList/BenefitsListContent.ts +15 -0
  1068. package/mobile/src/ui-kit/BenefitsList/renderBenefit.tsx +14 -0
  1069. package/mobile/src/ui-kit/BlockWrapper.tsx +17 -5
  1070. package/mobile/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1071. package/mobile/src/ui-kit/Button/renderButtonsSection.tsx +2 -2
  1072. package/mobile/src/ui-kit/Heading/Heading.tsx +4 -1
  1073. package/mobile/src/ui-kit/Icon/RoundedIcon.tsx +3 -3
  1074. package/mobile/src/ui-kit/Img/Img.tsx +26 -2
  1075. package/mobile/src/ui-kit/Img/ImgAsPicture.tsx +17 -30
  1076. package/mobile/src/ui-kit/Img/ImgProps.ts +0 -1
  1077. package/mobile/src/ui-kit/List/List.tsx +2 -1
  1078. package/mobile/src/ui-kit/List/ListContent.ts +7 -0
  1079. package/mobile/src/ui-kit/List/ListItem.tsx +1 -1
  1080. package/mobile/src/ui-kit/List/ListProps.ts +0 -7
  1081. package/mobile/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +4 -2
  1082. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +12 -3
  1083. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlContent.ts +20 -7
  1084. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
  1085. package/mobile/src/ui-kit/Tags/Tags.tsx +15 -13
  1086. package/mobile/src/utils/avg.ts +3 -0
  1087. package/mobile/src/utils/deviation.ts +4 -0
  1088. package/package.json +1 -1
  1089. package/src/components/ApplicationForm/ApplicationForm.tsx +1 -2
  1090. package/src/components/ApplicationForm/ResponseNotification.tsx +1 -1
  1091. package/src/components/BenefitsBlock/BenefitsBlock.tsx +6 -1
  1092. package/src/components/Bonus/Bonus.tsx +1 -1
  1093. package/src/components/BonusBenefitsBlock/BonusBenefitsBlock.tsx +2 -1
  1094. package/src/components/BusinessBlock/BusinessBlock.tsx +8 -10
  1095. package/src/components/ButtonsBlock/ButtonsBlock.tsx +1 -1
  1096. package/src/components/Calculator/Calculator.tsx +2 -1
  1097. package/src/components/CardTransfer/CardTransfer.tsx +5 -1
  1098. package/src/components/Carousel/Carousel.tsx +1 -8
  1099. package/src/components/CarouselBankHistoryCard/CarouselBankHistoryCard.tsx +1 -1
  1100. package/src/components/CarouselCatalogCard/CarouselCatalogCard.tsx +5 -1
  1101. package/src/components/CarouselEventCard/CarouselEventCard.tsx +1 -1
  1102. package/src/components/CarouselInvestmentCard/CarouselInvestmentCard.tsx +9 -4
  1103. package/src/components/CarouselLinks/CarouselLinks.tsx +24 -24
  1104. package/src/components/CarouselProductCard/CarouselProductCard.tsx +10 -8
  1105. package/src/components/CarouselProgramsCard/CarouselProgramsCard.tsx +5 -1
  1106. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.mobile.tsx +2 -1
  1107. package/src/components/CarouselRecommendationCard/CarouselRecommendationCard.tsx +2 -1
  1108. package/src/components/CarouselRichTextCard/CarouselRichTextCard.tsx +1 -1
  1109. package/src/components/CarouselTariffsCard/CarouselTariffsCard.tsx +2 -5
  1110. package/src/components/ComparisonTable/ComparisonTable.tsx +6 -1
  1111. package/src/components/ContactsBlock/ContactsBlock.tsx +9 -3
  1112. package/src/components/DepositFiltration/DepositFiltration.example.json +1 -1
  1113. package/src/components/DepositFiltration/DepositFiltration.fixture.tsx +1 -1
  1114. package/src/components/DepositFiltration/DepositFiltration.tsx +6 -1
  1115. package/src/components/ErrorBlock/ErrorBlock.tsx +2 -5
  1116. package/src/components/ExchangeRateOffice/ExchangeRateOffice.tsx +4 -7
  1117. package/src/components/ExchangeRateTile/ExchangeCurrencyCalculator.tsx +1 -1
  1118. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +8 -8
  1119. package/src/components/Footer/Footer.mobile.tsx +2 -3
  1120. package/src/components/Footer/Footer.tsx +2 -2
  1121. package/src/components/GracePeriod/GracePeriod.tsx +1 -1
  1122. package/src/components/Header/Header.mobile.tsx +2 -2
  1123. package/src/components/Header/Header.tsx +1 -0
  1124. package/src/components/Headline/Headline.tsx +7 -7
  1125. package/src/components/Headline/HeadlineContent.ts +2 -4
  1126. package/src/components/Headline/headlineVersionStyles.ts +9 -9
  1127. package/src/components/HorizontalLayout/HorizontalLayout.tsx +2 -7
  1128. package/src/components/ImgBlock/ImgBlock.tsx +1 -1
  1129. package/src/components/InsuranceAmountBlock/InsuranceAmountBlock.tsx +3 -1
  1130. package/src/components/InvestmentInfo/InvestmentInfo.tsx +6 -6
  1131. package/src/components/LinkDocs/LinkDocs.mobile.tsx +1 -3
  1132. package/src/components/LinkDocs/LinkDocs.tsx +1 -1
  1133. package/src/components/MobileAppTile/MobileAppTile.fixture.mobile.tsx +73 -2
  1134. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +2 -2
  1135. package/src/components/MobileAppTile/MobileAppTile.tsx +23 -41
  1136. package/src/components/MobileAppTile/renderButtonSection.tsx +0 -0
  1137. package/src/components/MobileAppTile/renderDescription.tsx +10 -0
  1138. package/src/components/MobileAppTile/renderList.tsx +11 -0
  1139. package/src/components/MortgageFiltration/MortgageFiltration.example.json +1 -1
  1140. package/src/components/MortgageFiltration/MortgageFiltration.fixture.tsx +1 -1
  1141. package/src/components/MortgageFiltration/MortgageFiltration.tsx +6 -1
  1142. package/src/components/OfficeServicesBlock/OfficeServicesBlock.tsx +2 -1
  1143. package/src/components/ParagraphBlock/ParagraphBlock.tsx +1 -1
  1144. package/src/components/PictureText/PictureText.tsx +13 -34
  1145. package/src/components/PictureText/PictureTextContent.ts +2 -8
  1146. package/src/components/PictureText/renderInsuranceSumMonth.tsx +14 -21
  1147. package/src/components/Placeholder/Placeholder.tsx +13 -24
  1148. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +5 -2
  1149. package/src/components/ProductBlock/ProductBlock.fixture.tsx +6 -3
  1150. package/src/components/ProductBlock/ProductBlock.tsx +4 -3
  1151. package/src/components/ProductBlock/ProductBlockContent.ts +3 -28
  1152. package/src/components/ProductGallery/ProductGallery.mobile.tsx +19 -26
  1153. package/src/components/ProductGallery/ProductGallery.tsx +8 -4
  1154. package/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
  1155. package/src/components/ProductTile/ProductTile.tsx +1 -3
  1156. package/src/components/PromoTile/PromoTile.tsx +10 -23
  1157. package/src/components/PromoTile/PromoTileContent.ts +2 -3
  1158. package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +1 -5
  1159. package/src/components/RichTextBlock/RichTextBlock.tsx +1 -1
  1160. package/src/components/RollupItem/RollupItem.tsx +3 -2
  1161. package/src/components/RollupItem/renderRoundedIcon.tsx +2 -1
  1162. package/src/components/SafeDepositRental/SafeDepositRental.tsx +2 -2
  1163. package/src/components/StepsBlock/StepsBlock.mobile.tsx +2 -1
  1164. package/src/components/StepsBlock/StepsBlock.tsx +2 -6
  1165. package/src/components/SwipeListControlBlock/SwipeListControlBlock.tsx +7 -9
  1166. package/src/components/Tabs/Tabs.tsx +1 -0
  1167. package/src/components/TariffsTable/EmbeddableCellData.mobile.tsx +8 -12
  1168. package/src/components/TariffsTable/TableTileHeader.tsx +3 -3
  1169. package/src/components/TariffsTable/TariffsTable.mobile.tsx +11 -7
  1170. package/src/components/TariffsTable/TariffsTable.tsx +3 -1
  1171. package/src/components/TariffsTable/TariffsTableHorizontal.tsx +1 -1
  1172. package/src/components/TariffsTable/TariffsTableTileCell.tsx +3 -4
  1173. package/src/components/TextBlock/TextBlock.tsx +23 -28
  1174. package/src/components/Tile/Tile.fixture.tsx +1 -6
  1175. package/src/components/Tile/Tile.tsx +10 -64
  1176. package/src/components/Tile/TileContent.ts +2 -20
  1177. package/src/components/VerticalLayout/VerticalLayout.tsx +1 -1
  1178. package/src/components/Video/Video.tsx +2 -3
  1179. package/src/content-page-repository/transformDocumentLink.ts +1 -1
  1180. package/src/content-page-repository/transformImg.ts +1 -1
  1181. package/src/icons/IconName.ts +5 -381
  1182. package/src/model/Align.ts +5 -0
  1183. package/src/model/AlignText.ts +3 -0
  1184. package/src/model/AlignType.ts +2 -0
  1185. package/src/model/HeadlineType.ts +11 -1
  1186. package/src/model/JSXBlock.ts +13 -5
  1187. package/src/ui-kit/BaseProductTile/BaseProductTile.tsx +68 -0
  1188. package/src/ui-kit/BaseProductTile/BaseProductTileContent.ts +30 -0
  1189. package/src/ui-kit/BaseTile/BaseTile.tsx +72 -0
  1190. package/src/ui-kit/BenefitItem/BenefitItem.tsx +22 -22
  1191. package/src/ui-kit/BenefitItem/BenefitItemContent.ts +19 -0
  1192. package/src/ui-kit/BenefitsList/BenefitsList.tsx +35 -0
  1193. package/src/ui-kit/BenefitsList/BenefitsListContent.ts +15 -0
  1194. package/src/ui-kit/BenefitsList/renderBenefit.tsx +14 -0
  1195. package/src/ui-kit/BlockWrapper.tsx +17 -5
  1196. package/src/ui-kit/Button/Button.fixture.tsx +1 -1
  1197. package/src/ui-kit/Button/ButtonInner.tsx +1 -1
  1198. package/src/ui-kit/Button/renderButtonsSection.tsx +2 -2
  1199. package/src/ui-kit/Heading/Heading.tsx +4 -1
  1200. package/src/ui-kit/Icon/RoundedIcon.tsx +3 -3
  1201. package/src/ui-kit/Img/Img.tsx +29 -1
  1202. package/src/ui-kit/Img/ImgAsPicture.tsx +17 -30
  1203. package/src/ui-kit/Img/ImgProps.ts +0 -1
  1204. package/src/ui-kit/List/List.tsx +2 -1
  1205. package/src/ui-kit/List/ListContent.ts +7 -0
  1206. package/src/ui-kit/List/ListItem.tsx +1 -1
  1207. package/src/ui-kit/List/ListProps.ts +0 -7
  1208. package/src/ui-kit/SwipeListControl/SwipeListContainer.tsx +4 -2
  1209. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +12 -3
  1210. package/src/ui-kit/SwipeListControl/SwipeListControlContent.ts +20 -7
  1211. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +1 -1
  1212. package/src/ui-kit/Tags/Tags.tsx +15 -13
  1213. package/src/utils/avg.ts +3 -0
  1214. package/src/utils/deviation.ts +4 -0
  1215. package/tailwind.config.cjs +32 -12
  1216. package/bundle/components/BaseTile/getTileHeadingType.d.ts +0 -1
  1217. package/bundle/components/BaseTile/getTileMinHeight.d.ts +0 -1
  1218. package/bundle/components/MobileAppTile/MobileAppTile.mobile.d.ts +0 -5
  1219. package/bundle/components/PictureText/positionStyle.d.ts +0 -1
  1220. package/bundle/components/PictureText/positionStyle.mobile.d.ts +0 -1
  1221. package/bundle/components/PictureText/renderBenefit.d.ts +0 -4
  1222. package/bundle/components/PictureText/styleInsuranceSum.d.ts +0 -1
  1223. package/bundle/components/PictureText/styleInsuranceSum.mobile.d.ts +0 -1
  1224. package/bundle/components/PictureText/styleValueBlock.d.ts +0 -2
  1225. package/bundle/components/PictureText/styleValueBlock.mobile.d.ts +0 -2
  1226. package/bundle/components/ProductBlock/ProductBlockInner.d.ts +0 -4
  1227. package/bundle/components/ProductBlock/renderBenefit.d.ts +0 -5
  1228. package/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
  1229. package/bundle/ui-kit/Img/Img.mobile.d.ts +0 -2
  1230. package/bundle/ui-kit/Img/ImgInner.d.ts +0 -2
  1231. package/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
  1232. package/dist/components/BaseTile/BaseTile.js +0 -8
  1233. package/dist/components/BaseTile/BaseTile.js.map +0 -1
  1234. package/dist/components/BaseTile/getTileHeadingType.d.ts +0 -1
  1235. package/dist/components/BaseTile/getTileHeadingType.js +0 -17
  1236. package/dist/components/BaseTile/getTileHeadingType.js.map +0 -1
  1237. package/dist/components/BaseTile/getTileMinHeight.d.ts +0 -1
  1238. package/dist/components/BaseTile/getTileMinHeight.js +0 -17
  1239. package/dist/components/BaseTile/getTileMinHeight.js.map +0 -1
  1240. package/dist/components/BaseTile/getTileRightPadding.js.map +0 -1
  1241. package/dist/components/MobileAppTile/MobileAppTile.mobile.d.ts +0 -5
  1242. package/dist/components/MobileAppTile/MobileAppTile.mobile.js +0 -10
  1243. package/dist/components/MobileAppTile/MobileAppTile.mobile.js.map +0 -1
  1244. package/dist/components/PictureText/positionStyle.d.ts +0 -1
  1245. package/dist/components/PictureText/positionStyle.js +0 -4
  1246. package/dist/components/PictureText/positionStyle.js.map +0 -1
  1247. package/dist/components/PictureText/positionStyle.mobile.d.ts +0 -1
  1248. package/dist/components/PictureText/positionStyle.mobile.js +0 -4
  1249. package/dist/components/PictureText/positionStyle.mobile.js.map +0 -1
  1250. package/dist/components/PictureText/renderBenefit.d.ts +0 -4
  1251. package/dist/components/PictureText/renderBenefit.js +0 -26
  1252. package/dist/components/PictureText/renderBenefit.js.map +0 -1
  1253. package/dist/components/PictureText/styleInsuranceSum.d.ts +0 -1
  1254. package/dist/components/PictureText/styleInsuranceSum.js +0 -4
  1255. package/dist/components/PictureText/styleInsuranceSum.js.map +0 -1
  1256. package/dist/components/PictureText/styleInsuranceSum.mobile.d.ts +0 -1
  1257. package/dist/components/PictureText/styleInsuranceSum.mobile.js +0 -4
  1258. package/dist/components/PictureText/styleInsuranceSum.mobile.js.map +0 -1
  1259. package/dist/components/PictureText/styleValueBlock.d.ts +0 -2
  1260. package/dist/components/PictureText/styleValueBlock.js +0 -5
  1261. package/dist/components/PictureText/styleValueBlock.js.map +0 -1
  1262. package/dist/components/PictureText/styleValueBlock.mobile.d.ts +0 -2
  1263. package/dist/components/PictureText/styleValueBlock.mobile.js +0 -5
  1264. package/dist/components/PictureText/styleValueBlock.mobile.js.map +0 -1
  1265. package/dist/components/ProductBlock/ProductBlockInner.d.ts +0 -4
  1266. package/dist/components/ProductBlock/ProductBlockInner.js +0 -17
  1267. package/dist/components/ProductBlock/ProductBlockInner.js.map +0 -1
  1268. package/dist/components/ProductBlock/renderBenefit.d.ts +0 -5
  1269. package/dist/components/ProductBlock/renderBenefit.js +0 -7
  1270. package/dist/components/ProductBlock/renderBenefit.js.map +0 -1
  1271. package/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
  1272. package/dist/ui-kit/BenefitItem/BenefitItemProps.js.map +0 -1
  1273. package/dist/ui-kit/Img/Img.mobile.d.ts +0 -2
  1274. package/dist/ui-kit/Img/Img.mobile.js +0 -7
  1275. package/dist/ui-kit/Img/Img.mobile.js.map +0 -1
  1276. package/dist/ui-kit/Img/ImgInner.d.ts +0 -2
  1277. package/dist/ui-kit/Img/ImgInner.js +0 -13
  1278. package/dist/ui-kit/Img/ImgInner.js.map +0 -1
  1279. package/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
  1280. package/dist/ui-kit/SwipeListControl/SwipeListControlProps.js.map +0 -1
  1281. package/lib/components/BaseTile/BaseTile.js +0 -6
  1282. package/lib/components/BaseTile/BaseTile.js.map +0 -1
  1283. package/lib/components/BaseTile/getTileHeadingType.d.ts +0 -1
  1284. package/lib/components/BaseTile/getTileHeadingType.js +0 -14
  1285. package/lib/components/BaseTile/getTileHeadingType.js.map +0 -1
  1286. package/lib/components/BaseTile/getTileMinHeight.d.ts +0 -1
  1287. package/lib/components/BaseTile/getTileMinHeight.js +0 -14
  1288. package/lib/components/BaseTile/getTileMinHeight.js.map +0 -1
  1289. package/lib/components/BaseTile/getTileRightPadding.js.map +0 -1
  1290. package/lib/components/MobileAppTile/MobileAppTile.mobile.d.ts +0 -5
  1291. package/lib/components/MobileAppTile/MobileAppTile.mobile.js +0 -8
  1292. package/lib/components/MobileAppTile/MobileAppTile.mobile.js.map +0 -1
  1293. package/lib/components/PictureText/positionStyle.d.ts +0 -1
  1294. package/lib/components/PictureText/positionStyle.js +0 -2
  1295. package/lib/components/PictureText/positionStyle.js.map +0 -1
  1296. package/lib/components/PictureText/positionStyle.mobile.d.ts +0 -1
  1297. package/lib/components/PictureText/positionStyle.mobile.js +0 -2
  1298. package/lib/components/PictureText/positionStyle.mobile.js.map +0 -1
  1299. package/lib/components/PictureText/renderBenefit.d.ts +0 -3
  1300. package/lib/components/PictureText/renderBenefit.js +0 -23
  1301. package/lib/components/PictureText/renderBenefit.js.map +0 -1
  1302. package/lib/components/PictureText/styleInsuranceSum.d.ts +0 -1
  1303. package/lib/components/PictureText/styleInsuranceSum.js +0 -2
  1304. package/lib/components/PictureText/styleInsuranceSum.js.map +0 -1
  1305. package/lib/components/PictureText/styleInsuranceSum.mobile.d.ts +0 -1
  1306. package/lib/components/PictureText/styleInsuranceSum.mobile.js +0 -2
  1307. package/lib/components/PictureText/styleInsuranceSum.mobile.js.map +0 -1
  1308. package/lib/components/PictureText/styleValueBlock.d.ts +0 -2
  1309. package/lib/components/PictureText/styleValueBlock.js +0 -3
  1310. package/lib/components/PictureText/styleValueBlock.js.map +0 -1
  1311. package/lib/components/PictureText/styleValueBlock.mobile.d.ts +0 -2
  1312. package/lib/components/PictureText/styleValueBlock.mobile.js +0 -3
  1313. package/lib/components/PictureText/styleValueBlock.mobile.js.map +0 -1
  1314. package/lib/components/ProductBlock/ProductBlockInner.d.ts +0 -4
  1315. package/lib/components/ProductBlock/ProductBlockInner.js +0 -15
  1316. package/lib/components/ProductBlock/ProductBlockInner.js.map +0 -1
  1317. package/lib/components/ProductBlock/renderBenefit.d.ts +0 -4
  1318. package/lib/components/ProductBlock/renderBenefit.js +0 -4
  1319. package/lib/components/ProductBlock/renderBenefit.js.map +0 -1
  1320. package/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
  1321. package/lib/ui-kit/BenefitItem/BenefitItemProps.js +0 -2
  1322. package/lib/ui-kit/BenefitItem/BenefitItemProps.js.map +0 -1
  1323. package/lib/ui-kit/Img/Img.mobile.d.ts +0 -2
  1324. package/lib/ui-kit/Img/Img.mobile.js +0 -5
  1325. package/lib/ui-kit/Img/Img.mobile.js.map +0 -1
  1326. package/lib/ui-kit/Img/ImgInner.d.ts +0 -2
  1327. package/lib/ui-kit/Img/ImgInner.js +0 -11
  1328. package/lib/ui-kit/Img/ImgInner.js.map +0 -1
  1329. package/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
  1330. package/lib/ui-kit/SwipeListControl/SwipeListControlProps.js +0 -2
  1331. package/lib/ui-kit/SwipeListControl/SwipeListControlProps.js.map +0 -1
  1332. package/mobile/bundle/components/BaseTile/getTileHeadingType.d.ts +0 -1
  1333. package/mobile/bundle/components/BaseTile/getTileMinHeight.d.ts +0 -1
  1334. package/mobile/bundle/components/PictureText/positionStyle.d.ts +0 -1
  1335. package/mobile/bundle/components/PictureText/renderBenefit.d.ts +0 -4
  1336. package/mobile/bundle/components/PictureText/styleInsuranceSum.d.ts +0 -1
  1337. package/mobile/bundle/components/PictureText/styleValueBlock.d.ts +0 -2
  1338. package/mobile/bundle/components/ProductBlock/ProductBlockInner.d.ts +0 -4
  1339. package/mobile/bundle/components/ProductBlock/renderBenefit.d.ts +0 -5
  1340. package/mobile/bundle/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
  1341. package/mobile/bundle/ui-kit/Img/ImgInner.d.ts +0 -2
  1342. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
  1343. package/mobile/dist/components/BaseTile/BaseTile.d.ts +0 -12
  1344. package/mobile/dist/components/BaseTile/BaseTile.js +0 -8
  1345. package/mobile/dist/components/BaseTile/BaseTile.js.map +0 -1
  1346. package/mobile/dist/components/BaseTile/getTileHeadingType.d.ts +0 -1
  1347. package/mobile/dist/components/BaseTile/getTileHeadingType.js +0 -17
  1348. package/mobile/dist/components/BaseTile/getTileHeadingType.js.map +0 -1
  1349. package/mobile/dist/components/BaseTile/getTileMinHeight.d.ts +0 -1
  1350. package/mobile/dist/components/BaseTile/getTileMinHeight.js +0 -17
  1351. package/mobile/dist/components/BaseTile/getTileMinHeight.js.map +0 -1
  1352. package/mobile/dist/components/BaseTile/getTileRightPadding.js.map +0 -1
  1353. package/mobile/dist/components/PictureText/positionStyle.d.ts +0 -1
  1354. package/mobile/dist/components/PictureText/positionStyle.js +0 -4
  1355. package/mobile/dist/components/PictureText/positionStyle.js.map +0 -1
  1356. package/mobile/dist/components/PictureText/renderBenefit.d.ts +0 -4
  1357. package/mobile/dist/components/PictureText/renderBenefit.js +0 -26
  1358. package/mobile/dist/components/PictureText/renderBenefit.js.map +0 -1
  1359. package/mobile/dist/components/PictureText/styleInsuranceSum.d.ts +0 -1
  1360. package/mobile/dist/components/PictureText/styleInsuranceSum.js +0 -4
  1361. package/mobile/dist/components/PictureText/styleInsuranceSum.js.map +0 -1
  1362. package/mobile/dist/components/PictureText/styleValueBlock.d.ts +0 -2
  1363. package/mobile/dist/components/PictureText/styleValueBlock.js +0 -5
  1364. package/mobile/dist/components/PictureText/styleValueBlock.js.map +0 -1
  1365. package/mobile/dist/components/ProductBlock/ProductBlockInner.d.ts +0 -4
  1366. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +0 -17
  1367. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +0 -1
  1368. package/mobile/dist/components/ProductBlock/renderBenefit.d.ts +0 -5
  1369. package/mobile/dist/components/ProductBlock/renderBenefit.js +0 -7
  1370. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +0 -1
  1371. package/mobile/dist/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
  1372. package/mobile/dist/ui-kit/BenefitItem/BenefitItemProps.js.map +0 -1
  1373. package/mobile/dist/ui-kit/Img/ImgInner.d.ts +0 -2
  1374. package/mobile/dist/ui-kit/Img/ImgInner.js +0 -13
  1375. package/mobile/dist/ui-kit/Img/ImgInner.js.map +0 -1
  1376. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
  1377. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.js.map +0 -1
  1378. package/mobile/lib/components/BaseTile/BaseTile.d.ts +0 -12
  1379. package/mobile/lib/components/BaseTile/BaseTile.js +0 -6
  1380. package/mobile/lib/components/BaseTile/BaseTile.js.map +0 -1
  1381. package/mobile/lib/components/BaseTile/getTileHeadingType.d.ts +0 -1
  1382. package/mobile/lib/components/BaseTile/getTileHeadingType.js +0 -14
  1383. package/mobile/lib/components/BaseTile/getTileHeadingType.js.map +0 -1
  1384. package/mobile/lib/components/BaseTile/getTileMinHeight.d.ts +0 -1
  1385. package/mobile/lib/components/BaseTile/getTileMinHeight.js +0 -14
  1386. package/mobile/lib/components/BaseTile/getTileMinHeight.js.map +0 -1
  1387. package/mobile/lib/components/BaseTile/getTileRightPadding.js.map +0 -1
  1388. package/mobile/lib/components/PictureText/positionStyle.d.ts +0 -1
  1389. package/mobile/lib/components/PictureText/positionStyle.js +0 -2
  1390. package/mobile/lib/components/PictureText/positionStyle.js.map +0 -1
  1391. package/mobile/lib/components/PictureText/renderBenefit.d.ts +0 -4
  1392. package/mobile/lib/components/PictureText/renderBenefit.js +0 -23
  1393. package/mobile/lib/components/PictureText/renderBenefit.js.map +0 -1
  1394. package/mobile/lib/components/PictureText/styleInsuranceSum.d.ts +0 -1
  1395. package/mobile/lib/components/PictureText/styleInsuranceSum.js +0 -2
  1396. package/mobile/lib/components/PictureText/styleInsuranceSum.js.map +0 -1
  1397. package/mobile/lib/components/PictureText/styleValueBlock.d.ts +0 -2
  1398. package/mobile/lib/components/PictureText/styleValueBlock.js +0 -3
  1399. package/mobile/lib/components/PictureText/styleValueBlock.js.map +0 -1
  1400. package/mobile/lib/components/ProductBlock/ProductBlockInner.d.ts +0 -4
  1401. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +0 -15
  1402. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +0 -1
  1403. package/mobile/lib/components/ProductBlock/renderBenefit.d.ts +0 -5
  1404. package/mobile/lib/components/ProductBlock/renderBenefit.js +0 -4
  1405. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +0 -1
  1406. package/mobile/lib/ui-kit/BenefitItem/BenefitItemProps.d.ts +0 -34
  1407. package/mobile/lib/ui-kit/BenefitItem/BenefitItemProps.js +0 -2
  1408. package/mobile/lib/ui-kit/BenefitItem/BenefitItemProps.js.map +0 -1
  1409. package/mobile/lib/ui-kit/Img/ImgInner.d.ts +0 -2
  1410. package/mobile/lib/ui-kit/Img/ImgInner.js +0 -11
  1411. package/mobile/lib/ui-kit/Img/ImgInner.js.map +0 -1
  1412. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +0 -27
  1413. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.js +0 -2
  1414. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.js.map +0 -1
  1415. package/mobile/src/components/BaseTile/BaseTile.tsx +0 -43
  1416. package/mobile/src/components/BaseTile/getTileHeadingType.ts +0 -12
  1417. package/mobile/src/components/BaseTile/getTileMinHeight.ts +0 -12
  1418. package/mobile/src/components/PictureText/positionStyle.tsx +0 -1
  1419. package/mobile/src/components/PictureText/renderBenefit.tsx +0 -34
  1420. package/mobile/src/components/PictureText/styleInsuranceSum.tsx +0 -1
  1421. package/mobile/src/components/PictureText/styleValueBlock.tsx +0 -2
  1422. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +0 -63
  1423. package/mobile/src/components/ProductBlock/renderBenefit.tsx +0 -9
  1424. package/mobile/src/ui-kit/BenefitItem/BenefitItemProps.ts +0 -38
  1425. package/mobile/src/ui-kit/Img/ImgInner.tsx +0 -30
  1426. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +0 -31
  1427. package/src/components/BaseTile/BaseTile.tsx +0 -43
  1428. package/src/components/BaseTile/getTileHeadingType.ts +0 -12
  1429. package/src/components/BaseTile/getTileMinHeight.ts +0 -12
  1430. package/src/components/MobileAppTile/MobileAppTile.mobile.tsx +0 -33
  1431. package/src/components/PictureText/positionStyle.mobile.tsx +0 -1
  1432. package/src/components/PictureText/positionStyle.tsx +0 -1
  1433. package/src/components/PictureText/renderBenefit.tsx +0 -34
  1434. package/src/components/PictureText/styleInsuranceSum.mobile.tsx +0 -1
  1435. package/src/components/PictureText/styleInsuranceSum.tsx +0 -1
  1436. package/src/components/PictureText/styleValueBlock.mobile.tsx +0 -2
  1437. package/src/components/PictureText/styleValueBlock.tsx +0 -2
  1438. package/src/components/ProductBlock/ProductBlockInner.tsx +0 -63
  1439. package/src/components/ProductBlock/renderBenefit.tsx +0 -9
  1440. package/src/ui-kit/BenefitItem/BenefitItemProps.ts +0 -38
  1441. package/src/ui-kit/Img/Img.mobile.tsx +0 -5
  1442. package/src/ui-kit/Img/ImgInner.tsx +0 -30
  1443. package/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +0 -31
  1444. /package/bundle/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
  1445. /package/dist/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
  1446. /package/dist/{components → ui-kit}/BaseTile/getTileRightPadding.js +0 -0
  1447. /package/lib/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
  1448. /package/lib/{components → ui-kit}/BaseTile/getTileRightPadding.js +0 -0
  1449. /package/mobile/bundle/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
  1450. /package/mobile/dist/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
  1451. /package/mobile/dist/{components → ui-kit}/BaseTile/getTileRightPadding.js +0 -0
  1452. /package/mobile/lib/{components → ui-kit}/BaseTile/getTileRightPadding.d.ts +0 -0
  1453. /package/mobile/lib/{components → ui-kit}/BaseTile/getTileRightPadding.js +0 -0
  1454. /package/mobile/src/{components → ui-kit}/BaseTile/getTileRightPadding.ts +0 -0
  1455. /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-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(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,7 +1179,7 @@
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 justify-items-stretch' : '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';
@@ -1194,38 +1187,38 @@
1194
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-icon`, 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-icon 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 ButtonsBlock = JSX(({ buttons, className, ...rest }) => (jsx(BlockWrapper, { className: style('!bg-transparent', className), ...rest, children: renderButtonsSection(buttons) })));
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: "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] })] }));
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;
@@ -2269,7 +2264,7 @@
2269
2264
  black: 'bg-black',
2270
2265
  white: 'bg-white',
2271
2266
  };
2272
- 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' })] })));
2273
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)));
2274
2269
 
2275
2270
  const LinkWrapper = JSX(({ className = '', href, target, isRemote = false, children }) => {
@@ -2280,18 +2275,23 @@
2280
2275
  });
2281
2276
 
2282
2277
  const CarouselEventCard = JSX(({ className = '', icon, title, description, href, target, ...rest }) => {
2283
- 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] }) }));
2284
2279
  });
2285
2280
 
2286
- 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' })] })] })));
2287
- 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;
2288
2288
 
2289
2289
  const getItemListFontSize = (colValue) => (colValue === 1 ? 'text-h6' : 'text-l');
2290
2290
  const cardColumnsModeStyleMap = {
2291
2291
  1: 'flex-col',
2292
2292
  2: 'gap-x-10 flex-wrap',
2293
2293
  };
2294
- 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] }) })));
2295
2295
  const renderCardList = (cardsList, columnsMode) => {
2296
2296
  const CARDS_COUNT_MAP = [4, 9];
2297
2297
  const visibleCardsList = cardsList.slice(0, CARDS_COUNT_MAP[columnsMode - 1]);
@@ -2305,16 +2305,14 @@
2305
2305
  const LinkButton = JSX(({ text, href = '', target = '', className = '' }) => {
2306
2306
  const link = useLink();
2307
2307
  const adjustedProps = link({ href, target });
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(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;
2309
2309
  });
2310
2310
 
2311
2311
  const MAX_LINKS_COUNT = 10;
2312
- const CarouselLinks = JSX(({ className = '', additionalDescription, description, links, title, ...rest }) => {
2313
- 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] }));
2314
- });
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] })));
2315
2313
  const renderLinks = (links) => {
2316
2314
  const itemCount = Math.ceil(links.length / MAX_LINKS_COUNT);
2317
- 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
2318
2316
  .slice(groupIndex * MAX_LINKS_COUNT, (groupIndex + 1) * MAX_LINKS_COUNT)
2319
2317
  .map((link, index) => (jsx(LinkButton, { className: "m-1", ...link }, String(index)))) }, String(groupIndex)))) }));
2320
2318
  };
@@ -2339,19 +2337,19 @@
2339
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);
2340
2338
 
2341
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 }) => {
2342
- 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], {
2343
- 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]'),
2344
2342
  isVertical: isFullWidth,
2345
2343
  })] }));
2346
2344
  });
2347
- 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-8 h-8 min-w-8 mb-5`, 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] }));
2348
2346
  const renderCardTitle = (headlineSmallVersion, title) => title ? (jsx("div", { children: jsx(Text, { size: HEADLINE_SMALL_VERSION[headlineSmallVersion], children: title }) })) : null;
2349
2347
  const renderDescription$3 = (description, title) => description ? (jsx("div", { className: title ? 'mt-2' : '', children: jsx(Paragraph, { size: "text-l", children: description }) })) : null;
2350
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;
2351
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;
2352
2350
 
2353
2351
  const CarouselProgramsCard = JSX(({ className = '', title, icon, list = [], href, target, ...rest }) => {
2354
- 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] })] }) }));
2355
2353
  });
2356
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)));
2357
2355
 
@@ -2399,7 +2397,7 @@
2399
2397
  const { href, version, text = '' } = rest;
2400
2398
  const { iconMapped, label } = ICONS_MAP.find(({ origins }) => origins.some((_) => href?.includes(_))) || {};
2401
2399
  const iconCustom = getFilteredIcon(icon) ?? iconMapped;
2402
- 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 }));
2403
2401
  });
2404
2402
  const getFilteredIcon = (icon) => (icon?.src || icon?.icon ? icon : undefined);
2405
2403
 
@@ -2408,16 +2406,16 @@
2408
2406
  const BORDER_STYLE = 'border border-solid border-gray group-data-secondary:border-white/50 group-data-gray:border-main-divider';
2409
2407
 
2410
2408
  const CarouselRecommendationCard = JSX(({ className = '', description, href, icon, items = [], socialMedia = [], target, title, align = 'text-left', version = 'primary', ...rest }) => {
2411
- 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)] }) }));
2412
2410
  });
2413
- 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] }));
2414
2412
 
2415
2413
  const RichText = JSX((props) => {
2416
2414
  const { __html = '', richVersion = '' } = props;
2417
2415
  return (jsx("div", { className: style(richVersion, 'md-container'), dangerouslySetInnerHTML: { __html } }));
2418
2416
  });
2419
2417
 
2420
- 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 }) })));
2421
2419
 
2422
2420
  const Foldable = JSX(({ className = '', isFoldButtonOnTop = false, unfoldedByDefault = false, renderFoldableSection, renderFoldButton, }) => {
2423
2421
  const [isUnfolded, setIsUnfolded] = useState(unfoldedByDefault);
@@ -2455,9 +2453,9 @@
2455
2453
  const cellsNode = cardCells.map(renderCardInfo);
2456
2454
  const visibleCells = cellsNode.slice(0, VISIBLE_CELLS_COUNT);
2457
2455
  const hiddenCells = cellsNode.slice(VISIBLE_CELLS_COUNT);
2458
- 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] }));
2459
2457
  });
2460
- 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 }));
2461
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" })] }));
2462
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" })] }));
2463
2461
 
@@ -2468,7 +2466,7 @@
2468
2466
  const COLS_LENGTH_FOR_SCROLL$1 = 3;
2469
2467
  const COLUMN_WIDTH$2 = 4 * 80 + 4 * 4; // w-80 + gap-4 = 336px
2470
2468
 
2471
- 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 }) }) }))] })));
2472
2470
 
2473
2471
  const carouselContainerClassesMap = {
2474
2472
  comparison: 'flex gap-4 duration-1000',
@@ -2524,15 +2522,15 @@
2524
2522
  const ComparisonTable = JSX(({ className = '', title, rowHeaders, columns, visibleRowLength = 0, isColoredFirstColumn = false, ...rest }) => {
2525
2523
  const [isShowAllRow, setIsShowAllRow] = useState(!visibleRowLength);
2526
2524
  const handleToggle = useCallback(() => setIsShowAllRow((_) => !_), []);
2527
- 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
2528
2526
  ? renderShowMoreToggleButton({ isShowAllRow, onClick: handleToggle })
2529
2527
  : null] }));
2530
2528
  });
2531
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 ? 'Показать все параметры' : 'Скрыть' }) })] }) }));
2532
2530
 
2533
- 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] })));
2534
2532
  const renderBlocks = (info) => (jsx("div", { className: "flex grow basis-0", children: info.map((column, index) => renderBlocksColumn({ column, index })) }));
2535
- 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;
2536
2534
 
2537
2535
  const isEmpty = (v) => v === null ||
2538
2536
  v === undefined ||
@@ -2571,7 +2569,7 @@
2571
2569
  const DefaultFoldButton = JSX(({ className = '', label, icon, dataTheme = '', disabled = false, onClick }) => {
2572
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
2573
2571
  ? 'bg-main-divider text-main-disabled hover:bg-main-divider'
2574
- : '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: {
2575
2573
  icon,
2576
2574
  iconVersion: 'white',
2577
2575
  }, className: "flex-shrink-0 my-auto", width: "20", height: "20" })) : null] }));
@@ -2647,14 +2645,14 @@
2647
2645
  parse: (min) => ({ min, max: maxValue }),
2648
2646
  format: ({ min }) => min,
2649
2647
  }) })] }));
2650
- 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 })] }));
2651
2649
  });
2652
2650
  DepositFiltration.childrenTypes = ['ProductTile'];
2653
2651
  DepositFiltration.childSchema = (content) => content?.filtrationSchema || {};
2654
2652
 
2655
2653
  const renderErrorContent = (error) => {
2656
2654
  if (error?.errorContentType === 'Image' && error?.image) {
2657
- return jsx(ImgInner, { image: error.image });
2655
+ return jsx(Img, { image: error.image });
2658
2656
  }
2659
2657
  if (error?.errorContentType === 'Code' && error.code) {
2660
2658
  return jsx("div", { className: "font-mohave text-title-extra gradient-color-text", children: error.code });
@@ -2662,7 +2660,7 @@
2662
2660
  return null;
2663
2661
  };
2664
2662
  const getErrorBlockStyle = (text) => (text ? 'py-20 pt-3 pb-1' : 'mb-16 pb-2 mt-24 pt-3');
2665
- 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] })));
2666
2664
 
2667
2665
  var Currencies;
2668
2666
  (function (Currencies) {
@@ -2683,7 +2681,7 @@
2683
2681
  RUB: 'RoundRubleIcon',
2684
2682
  };
2685
2683
  const renderCurrencyRow$1 = ({ title, buyPrice, buyDifference, sellPrice, sellDifference, buyOfficeName, sellOfficeName, }) => {
2686
- 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));
2687
2685
  };
2688
2686
  const formatCurrency$1 = (value) => (value ? currencyNumberFormat$1.format(value) : '');
2689
2687
  const renderCurrency = (price, difference) => {
@@ -2701,9 +2699,9 @@
2701
2699
  return (jsx("th", { className: "pl-11", children: jsx(Text, { size: "text-m-light", align: "text-left", color: "text-secondary-text", children: title }) }));
2702
2700
  };
2703
2701
 
2704
- const ExchangeRateOffice = JSX(({ className = '', currencies = [], actuality = '', officeName = '', ...rest }) => {
2702
+ const ExchangeRateOffice = JSX(({ className, currencies = [], actuality = '', officeName = '', ...rest }) => {
2705
2703
  const fourRates = topNRates(currencies, 4);
2706
- 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 })] }));
2707
2705
  });
2708
2706
  const topNRates = (rates, n) => rates.sort((a, b) => Number(a.id) - Number(b.id)).slice(0, n);
2709
2707
 
@@ -2729,10 +2727,10 @@
2729
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) })] })));
2730
2728
  const renderCurrencyRow = (exchangeCurrencyItem) => {
2731
2729
  const currency = exchangeCurrencyItem?.currency?.currency;
2732
- 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));
2733
2731
  };
2734
2732
 
2735
- 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" })] })] })));
2736
2734
 
2737
2735
  const roundTo = (value, precision = 2) => {
2738
2736
  const factor = 10 ** precision;
@@ -2794,7 +2792,7 @@
2794
2792
  setSelected: handleSelectBuy(calcState, handleSetCalcState, currencyRatesBuy),
2795
2793
  value: calcState.inputBuy,
2796
2794
  setValue: (value) => handleInputBuy(handleSetCalcState, currencyRatesBuy)(value, calcState.selectBuy, calcState.selectSell),
2797
- }), 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] }));
2798
2796
  });
2799
2797
  const handleSelectSell = (calcState, setCalcState, currencyRatesSell) => (value) => {
2800
2798
  setCalcState({ selectSell: value });
@@ -2875,7 +2873,7 @@
2875
2873
  currencyRatesBuy.unshift({ currency: { currency: Currency.RUB } });
2876
2874
  const currencyRatesSell = currencyRates.filter((_) => _.saleExchangeRate);
2877
2875
  currencyRatesSell.push({ currency: { currency: Currency.RUB } });
2878
- 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] }) }) }));
2879
2877
  });
2880
2878
  const getCurrencyRates = (currencies) => {
2881
2879
  return currencies?.filter((_) => _?.currency?.id === 1 || _?.currency?.id === 2) || [];
@@ -2898,7 +2896,7 @@
2898
2896
  transparent: 'text-white',
2899
2897
  };
2900
2898
  const renderImage$2 = (bgColor, image, size) => {
2901
- 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: {
2902
2900
  icon: image?.icon || 'LogoIcon',
2903
2901
  iconVersion: ICON_VERSION_MAP[bgColor],
2904
2902
  }, className: SVG_COLOR[bgColor], width: size?.width, height: size?.height }));
@@ -2916,7 +2914,7 @@
2916
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] }));
2917
2915
  });
2918
2916
 
2919
- 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" }) })));
2920
2918
 
2921
2919
  function assertUnreachable(x) {
2922
2920
  throw new Error(x);
@@ -3153,7 +3151,7 @@
3153
3151
  const handleChange = useCallback((ev) => {
3154
3152
  onChange && onChange(ev.target?.value || '');
3155
3153
  }, [onChange]);
3156
- 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 })] }));
3157
3155
  });
3158
3156
 
3159
3157
  const SEARCH_DIALOG_ID = 'search';
@@ -3242,10 +3240,10 @@
3242
3240
  const fallback = rest.options?.page?.fallback;
3243
3241
  const sitemap = useSWRResource(projectSettings.SITEMAP || 'sitemap', fallback);
3244
3242
  const { documents, relatedEnterprises, contacts, socialMedia, mobileApps, logo } = useSWRResource(projectSettings.FOOTER || 'footer', fallback);
3245
- 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 })] }));
3246
3244
  });
3247
3245
 
3248
- 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] })));
3249
3247
  const renderCalendar = (calendar) => {
3250
3248
  const colCount = calendar.reduce((accumulator, currentValue) => currentValue?.month?.length ? accumulator + currentValue.month.length : accumulator, 0) || 1;
3251
3249
  const colSize = 100 / colCount;
@@ -3259,7 +3257,7 @@
3259
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}`))) })] }));
3260
3258
  };
3261
3259
  const renderMonthNames = (item, colSize) => item.month?.map((_, i) => (jsx("div", { style: { flexBasis: `${colSize}%` }, children: _.text }, `monthName-${i}`)));
3262
- 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);
3263
3261
 
3264
3262
  const STORAGE_DEFAULT_TTL = 86400000; // 24 * 60 * 60 * 1000
3265
3263
  function useCachedAsyncData(key, fetcher, storage = globalThis?.localStorage) {
@@ -3363,7 +3361,7 @@
3363
3361
  const ForeignOffice = JSX(({ icon, ...rest }) => {
3364
3362
  const link = useLink();
3365
3363
  const { text, target, href, onClick } = link(rest);
3366
- 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] }));
3367
3365
  });
3368
3366
 
3369
3367
  const TopItem = JSX(({ className = '', active, flat, children, ...rest }) => {
@@ -3384,7 +3382,7 @@
3384
3382
  };
3385
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
3386
3384
  ? 'w-8 h-8 text-secondary-light hover:text-secondary-hove'
3387
- : `${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" }) })));
3388
3386
 
3389
3387
  const HeaderSecondaryMenu = JSX(({ className, version, locationName: location, officesLink }) => {
3390
3388
  const iconVersion = version === 'transparent' ? 'white' : 'black';
@@ -3524,7 +3522,7 @@
3524
3522
  const { topItems, logo, defaultLocation, foreignOffices, officesLink, internetBankUrl } = useSWRResource(projectSettings.SITEMAP || 'sitemap', rest.options?.page?.fallback);
3525
3523
  const activeTopItem = topItems?.find(isTopItemActive(router));
3526
3524
  const [location, onChangeLocation] = useLocation(defaultLocation);
3527
- 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 })] }));
3528
3526
  });
3529
3527
 
3530
3528
  const gapStyles = {
@@ -3537,14 +3535,14 @@
3537
3535
  '': '',
3538
3536
  };
3539
3537
 
3540
- 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) })));
3541
3539
  HorizontalLayout.childrenTypes = {
3542
3540
  exclude: ['HorizontalLayout'],
3543
3541
  };
3544
3542
 
3545
3543
  const ImgBlock = JSX((props) => {
3546
3544
  const { className, image, ...rest } = props;
3547
- 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 }) }));
3548
3546
  });
3549
3547
 
3550
3548
  const InsuranceAmountBlockInner = JSX(({ className = '', cards = [], button }) => {
@@ -3585,19 +3583,19 @@
3585
3583
  const btnClassName = isActive
3586
3584
  ? 'shadow-dark-blue border-primary-main'
3587
3585
  : `ease-in duration-300 border-gray`;
3588
- 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)));
3589
3587
  }
3590
3588
  function renderValueBlock$1(title, sum) {
3591
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 })] }));
3592
3590
  }
3593
3591
  function renderDoneIcon(isActive) {
3594
- 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;
3595
3593
  }
3596
3594
 
3597
3595
  const InsuranceAmountBlock = JSX(({ className = '', title, insuranceTabs = [], button, ...rest }) => {
3598
3596
  const [activeSlideIndex, setActiveSlideIndex] = useState(0);
3599
3597
  const handleActiveSlideIndex = useCallback((_) => setActiveSlideIndex(_), []);
3600
- 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({
3601
3599
  title: item?.title,
3602
3600
  i,
3603
3601
  isActive: Boolean(i === activeSlideIndex),
@@ -3635,11 +3633,11 @@
3635
3633
  };
3636
3634
  const InvestmentInfo = JSX((props) => {
3637
3635
  const { className = '', items, isDotted, investmentZeroColumn, investmentColumns, ...rest } = props;
3638
- const colums = investmentColumns ? [...investmentColumns] : [];
3636
+ const columns = investmentColumns ? [...investmentColumns] : [];
3639
3637
  if (investmentZeroColumn) {
3640
- colums.unshift(investmentZeroColumn);
3638
+ columns.unshift(investmentZeroColumn);
3641
3639
  }
3642
- 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] }) }));
3643
3641
  });
3644
3642
  const renderInvestmentColumn = (column, i, arr) => {
3645
3643
  const isSecondColumn = i === 1;
@@ -3684,37 +3682,23 @@
3684
3682
  double: 'flex-wrap',
3685
3683
  single: 'flex-col',
3686
3684
  };
3687
- 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] })));
3688
3686
 
3689
- function getTileMinHeight(className = '') {
3690
- const colSpan = getColSpan(className);
3691
- if (colSpan <= 6) {
3692
- return 'min-h-[300px]';
3693
- }
3694
- else if (colSpan <= 8) {
3695
- return 'min-h-[320px]';
3696
- }
3697
- else {
3698
- return 'min-h-[360px]';
3699
- }
3700
- }
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;
3701
3688
 
3702
- const MobileAppTile = JSX(({ className = '', title = 'Мобильное приложение', qr, buttons, version = 'primary', items, image, headingType = 'h4', alignTitle = 'left', description, ...rest }) => {
3703
- const containerStyle = version === 'secondary' ? 'p-3.5 min-w-[120px]' : 'min-w-[92px]';
3704
- 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, {
3705
- className: 'mt-8',
3706
- buttonClassName: 'min-w-[168px]',
3707
- }), 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] }));
3708
- });
3709
3689
  const renderList$1 = (items) => {
3710
- 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" }));
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" }));
3711
3691
  };
3712
- const renderDescription$2 = (description) => description ? jsx("p", { className: "text-xl-light mb-5 pt-0.5", children: description }) : null;
3692
+
3693
+ const MobileAppTile = JSX(({ className, padding, alignTitle = 'left', buttons = [], description, headingType = 'h4', image, items, qr, title = 'Мобильное приложение', version = 'primary', ...rest }) => {
3694
+ const containerStyle = version === 'secondary' ? 'p-3.5 min-w-[120px]' : 'min-w-[92px]';
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)] })] }) }));
3696
+ });
3713
3697
 
3714
3698
  const initialFiltrationState = {};
3715
3699
  const MortgageFiltration = JSX(({ className, filtrationSchema = {}, resetButton, ...rest }) => {
3716
3700
  const [filtrationState, { field, reset }] = useForm(initialFiltrationState);
3717
- 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 })] }));
3718
3702
  });
3719
3703
  MortgageFiltration.childrenTypes = ['ProductTile'];
3720
3704
  MortgageFiltration.childSchema = (content) => content?.filtrationSchema || {};
@@ -4072,18 +4056,18 @@
4072
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) })] })] }));
4073
4057
  });
4074
4058
 
4075
- 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] })));
4076
- 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)}`));
4061
+
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 }) })));
4063
+
4064
+ const avg = (items = []) => (items?.length ? sum(items) / items.length : 0);
4077
4065
 
4078
- const ParagraphBlock = JSX(({ text, size, align, font, children, ...rest }) => (jsx(BlockWrapper, { ...rest, children: jsx(Paragraph, { size: size, align: align, font: font, children: text || children }) })));
4066
+ const deviation = (items) => items?.length ? Math.sqrt(Math.abs(avg(items.map((_) => _ ** 2)) - avg(items) ** 2)) : 0;
4079
4067
 
4080
4068
  const labelSize$1 = 'text-h6';
4081
4069
 
4082
- const BenefitItem = JSX((props) => {
4083
- const { className = '', icon, label, description, benefitsVersion = 'normal' } = props;
4084
- const listItemAlign = description ? 'items-start' : 'items-center';
4085
- return (jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (jsx("div", { className: getBenefitIconBgStyle(benefitsVersion), children: jsx(ImgInner, { 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] })] }));
4086
- });
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] })] })));
4087
4071
  function getBenefitIconBgStyle(benefitsVersion) {
4088
4072
  const bgColorStyle = benefitsVersion === 'normal'
4089
4073
  ? 'bg-secondary-light text-primary-main'
@@ -4091,102 +4075,59 @@
4091
4075
  return style('w-12 h-12 min-w-12 p-2.5 box-border flex items-center justify-center rounded-icon', bgColorStyle);
4092
4076
  }
4093
4077
 
4094
- // TODO: Create universal function for this case
4095
- const renderBenefit$2 =
4096
- // Linter doesn't understand that switch processes all cases
4097
- // eslint-disable-next-line consistent-return
4098
- (version) => (benefit, i) => {
4099
- const { type } = benefit;
4100
- if (!(type === 'default' || type === 'rte')) {
4101
- return null;
4102
- }
4103
- switch (type) {
4104
- case 'default':
4105
- return (jsx(BenefitItem, { icon: benefit.icon, label: benefit.label, description: benefit.description, version: version }, String(i)));
4106
- case 'rte':
4107
- return jsx(RichText, { __html: benefit.__html });
4108
- default:
4109
- assertUnreachable(benefit);
4078
+ const renderBenefit$1 = (benefitsVersion) => ({ type, ...benefit }, i) => {
4079
+ if (type === 'rte' && '__html' in benefit) {
4080
+ return jsx(RichText, { __html: benefit.__html });
4110
4081
  }
4082
+ return jsx(BenefitItem, { benefitsVersion: benefitsVersion, ...benefit }, String(i));
4111
4083
  };
4112
4084
 
4113
- const positionStyle = 'justify-center items-center gap-32';
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);
4114
4091
 
4115
- const styleInsuranceSum = 'bg-main-divider rounded-md px-5 py-4 gap-6';
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)));
4116
4094
 
4117
- const styleValueBlock = 'justify-between items-center gap-2';
4118
- const styleValueBlockText = 'text-primary-main';
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
+ });
4119
4100
 
4120
- const renderInsuranceSumMonth = (sum = 0, monthLimit = 0) => sum || monthLimit ? (jsxs("div", { className: style('flex mt-6', styleInsuranceSum), children: [sum > 0 ? renderValueBlock('Страховая сумма:', sum, Boolean(monthLimit)) : null, monthLimit > 0 ? renderValueBlock('Ежемесячный лимит:', monthLimit, Boolean(sum)) : null] })) : null;
4121
- const renderValueBlock = (title, sum = 0, isAnotherBlock = false) => {
4122
- const widthStyle = isAnotherBlock ? 'w-fit' : 'w-full';
4123
- return (jsxs("div", { className: style(`flex w-full whitespace-pre`, styleValueBlock, widthStyle), children: [jsx(Text, { font: "font-light", size: "text-l", children: title }), jsxs(Text, { size: "text-h6", color: styleValueBlockText, children: [toLocalNumberFormat(2)(sum), " \u20BD"] })] }));
4124
- };
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"] })] }));
4125
4103
 
4126
- const PictureText = JSX(({ className = '', title, description, image, benefits, sum, monthLimit, directionRight = false, version = 'primary', ...rest }) => (jsxs(BlockWrapper, { className: style('relative p-default', className), version: version, ...rest, children: [jsx(Headline, { className: "!p-0", title: title, description: description, headlineVersion: "M" // TODO: Сверить с макетом после влития мобильных правок Headline (DRAFT)
4127
- , align: "text-left" }), jsxs("div", { className: style('flex mt-6', positionStyle), children: [image?.src ? jsx(ImgInner, { className: directionRight ? 'order-2' : '', image: image }) : null, jsxs("div", { children: [benefits?.length ? (jsx("div", { className: "flex flex-col gap-4", children: benefits.map(renderBenefit$2(version)) })) : null, renderInsuranceSumMonth(Number(sum), Number(monthLimit))] })] })] })));
4128
-
4129
- function getTileHeadingType(className = '') {
4130
- const colSpan = getColSpan(className);
4131
- if (colSpan <= 4) {
4132
- return 'S';
4133
- }
4134
- else if (colSpan <= 8) {
4135
- return 'M';
4136
- }
4137
- else {
4138
- return 'L';
4139
- }
4140
- }
4141
-
4142
- function getTileRightPadding(className = '') {
4143
- const colSpan = getColSpan(className);
4144
- if (colSpan <= 6) {
4145
- return 'pr-9';
4146
- }
4147
- else if (colSpan <= 8) {
4148
- return 'pr-[4.75rem]';
4149
- }
4150
- else {
4151
- return 'pr-[9.4rem]';
4152
- }
4153
- }
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)) }) })));
4154
4105
 
4155
4106
  const GOLDEN_RATIO = 1.618;
4156
- const Placeholder = JSX(({ className, title, description = 'Блок в разработке...', ...rest }) => {
4157
- 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() })] }));
4158
- });
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() })] })));
4159
4108
  const renderShimmer = (size = 3) => goldenSequence(100, size)
4160
4109
  .map((_) => Math.floor(_))
4161
4110
  .map(renderShimmerItem);
4162
4111
  const renderShimmerItem = (width, index) => (jsx("div", { style: { width: `${width || 100}%` }, className: "h-4 mt-2 bg-secondary-light" }, String(index)));
4163
4112
  const goldenSequence = (first, size) => [first].concat(size > 0 ? goldenSequence(first / GOLDEN_RATIO, size - 1) : []);
4164
4113
 
4165
- const renderBenefit$1 = (version = 'primary', benefitsVersion = 'normal') => (props, i) => jsx(BenefitItem, { version: version, benefitsVersion: benefitsVersion, ...props }, String(i));
4166
-
4167
- const ProductBlockInner = JSX(({ className, version = 'primary', headlineVersion = 'L', title, description, benefits, benefitsVersion, items, isDotted = true, __html, buttons, image, directionRight = true, }) => {
4168
- const benefitsWithLabel = benefits?.filter((_) => _.label);
4169
- const img = image?.src ? jsx(ImgInner, { className: "mt-[-50px]", image: image }) : null;
4170
- 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] }));
4171
- });
4172
-
4173
4114
  function renderBackwardButton({ text, href, target, icon }, version) {
4174
4115
  const iconVersion = version === 'primary' ? 'white' : 'black';
4175
4116
  const commonProps = { text, href, target, ariaLabel: text };
4176
- 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: {
4177
4118
  ...icon,
4178
4119
  icon: icon?.icon || 'ArrowLeftIcon',
4179
4120
  iconVersion: icon?.iconVersion || iconVersion,
4180
4121
  } }) }), jsx(Button, { version: "link", ...commonProps })] }));
4181
4122
  }
4182
4123
 
4183
- 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
4184
4125
  ? renderBackwardButton(backwardButton, !rest.version || rest.version === 'primary' ? 'primary' : 'white')
4185
- : null, jsx(ProductBlockInner, { className: "grow", ...rest })] })));
4126
+ : null, jsx(BaseProductTile, { className: "grow h-full", ...rest })] })));
4186
4127
 
4187
4128
  const ProductGallery = JSX(({ className = '', slides = [], ...rest }) => {
4188
4129
  const [activeSlideIndex, setActiveSlideIndex] = useState(0);
4189
- 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 })) })] }));
4190
4131
  });
4191
4132
  const renderNavButton = ({ activeSlideIndex, onClick }) => ({ nav }, i) => {
4192
4133
  const isActive = i === activeSlideIndex;
@@ -4237,10 +4178,10 @@
4237
4178
  if (!image?.src) {
4238
4179
  return null;
4239
4180
  }
4240
- 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 }));
4241
4182
  }
4242
4183
 
4243
- 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, {
4244
4185
  className: style('mt-5 text-l', directionRight ? '' : 'justify-end'),
4245
4186
  }), renderImage$1(image, directionRight)] })));
4246
4187
  function renderBenefits(benefits, image) {
@@ -4252,7 +4193,7 @@
4252
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 }));
4253
4194
  }
4254
4195
 
4255
- 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 })] }) })));
4256
4197
  function formatDate(date) {
4257
4198
  const dateObj = new Date(date);
4258
4199
  const dateFormat = {
@@ -4263,34 +4204,35 @@
4263
4204
  return dateObj.toLocaleString('ru-RU', dateFormat).replace('г.', '');
4264
4205
  }
4265
4206
 
4266
- 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
4267
4208
  ? renderButtonsSection([button], {
4268
4209
  className: 'mb-6',
4269
4210
  })
4270
4211
  : null] })] })));
4271
- 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] }));
4272
4213
  const renderDescriptionBlock = (__html) => (jsx("div", { className: "border-b border-main-divider pb-5 my-5", children: jsx(RichText, { __html: __html }) }));
4273
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] })] }));
4274
4215
 
4275
4216
  const RichTextBlock = JSX((props) => {
4276
4217
  const { __html, richVersion, ...rest } = props;
4277
- 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 }) }));
4278
4219
  });
4279
4220
 
4280
- const renderRoundedIcon = (icon, iconBgVersion) => null;
4281
-
4282
4221
  const foldableSectionStyles = 'grid grid-cols-12 [&>*]:pb-4';
4283
4222
 
4284
4223
  const getIconName = (isUnfolded) => (isUnfolded ? 'MinusIcon' : 'PlusIcon');
4285
4224
 
4286
4225
  const labelSize = 'text-h6';
4287
4226
 
4227
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
4228
+ const renderRoundedIcon = (_icon, _iconBgVersion) => null;
4229
+
4288
4230
  const rollupIconVersion = 'color';
4289
4231
 
4290
4232
  const rollupItemStyles = 'border-0 border-b border-solid border-main-divider last:border-b-0';
4291
4233
 
4292
4234
  const RollupItem = JSX(({ className = '', label = 'Развернуть', labelIcon, labelIconBgVersion, isExpanded, isFoldButtonOnTop = true, version = 'primary', ...rest }) => {
4293
- 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({
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({
4294
4236
  version,
4295
4237
  label,
4296
4238
  labelIcon,
@@ -4313,18 +4255,7 @@
4313
4255
  })) : (jsx(DefaultFoldButton, { label: label, icon: isUnfolded ? 'ArrowUpIcon' : 'ArrowDownIcon', onClick: onToggle }));
4314
4256
  };
4315
4257
  const renderPrimaryFoldButton = ({ label, labelIconBgVersion, icon, onToggle, labelIcon, }) => {
4316
- return (jsxs("button", { className: style('border-none bg-transparent px-0 flex justify-between items-center w-full cursor-pointer 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] }));
4317
- };
4318
-
4319
- const SAFEBOXES_URL = '/api/v1/safeboxes';
4320
- const EMPTY_VALUE = [];
4321
- function useSafeBoxes(regionCode) {
4322
- const { data } = useAsyncData(regionCode ? `${SAFEBOXES_URL}?regionCode=${regionCode}` : null, fetchSafeBoxes);
4323
- return data || EMPTY_VALUE;
4324
- }
4325
- const fetchSafeBoxes = async (url) => {
4326
- const result = await fetchJSON(url, { method: 'GET' });
4327
- return result || EMPTY_VALUE;
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] }));
4328
4259
  };
4329
4260
 
4330
4261
  const WrapperSelect = JSX(({ data, fieldLabel, fieldValue, selected, placeholder = '', setSelected, label }) => {
@@ -4366,7 +4297,7 @@
4366
4297
 
4367
4298
  const SafeDepositRentalTotal = JSX(({ days, tariffs = [] }) => {
4368
4299
  const price = calculatePrice(days, tariffs);
4369
- 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"] })] })] }));
4370
4301
  });
4371
4302
  const renderTotal = (label, total, className = '') => {
4372
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 })] }));
@@ -4422,6 +4353,17 @@
4422
4353
  const getCaseVolume = (caseVolumes, selectedCaseVolume) => caseVolumes?.find((_) => _.volume === selectedCaseVolume);
4423
4354
  const getTariffs = (safeBoxCases, selectedBoxSize) => safeBoxCases?.find((_) => _.safeBoxCasesSize === selectedBoxSize)?.tariffs;
4424
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
+
4425
4367
  const DEFAULT_DAYS = 26;
4426
4368
  const SafeDepositRental = JSX(({ title, footnote, className = '', ...rest }) => {
4427
4369
  const [showMap, setShowMap] = useState(false);
@@ -4438,7 +4380,7 @@
4438
4380
  const branches = useSafeBoxes(selectedRegion);
4439
4381
  const handleChangeSafeDepositState = useCallback((state) => setStateDepositState((oldState) => ({ ...oldState, ...state })), [setStateDepositState]);
4440
4382
  const points = getCoordinates(getBranch(branches, safeDepositState.selectedBranch) || branches);
4441
- 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] }));
4442
4384
  });
4443
4385
  const normalizeSelectedRegion = (selectedRegion, regions) => !selectedRegion && regions?.length && regions[0]?.code ? regions[0].code : selectedRegion;
4444
4386
 
@@ -4481,13 +4423,13 @@
4481
4423
  const lineOpacity = getLineOpacity(showLines);
4482
4424
  const paddingX = getPaddingX(steps.length);
4483
4425
  const isMainButton = Boolean(buttons?.every((b) => b?.text));
4484
- 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' })] }));
4485
4427
  });
4486
4428
  const renderStepIcon = (styleMap, size, stepVersion) => ({ icon }, i) => {
4487
4429
  const styleStepIconSize = size === 'normal' ? 'h-[100px] w-[100px]' : 'h-[63px] w-[63px]';
4488
4430
  const stepVersionIconTextStyles = stepVersion === 'secondary' ? 'group-data-primary:text-white' : 'text-secondary-text';
4489
4431
  const iconVersion = stepVersion === 'secondary' ? 'white' : 'color';
4490
- 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)));
4491
4433
  };
4492
4434
 
4493
4435
  const DEFAULT_GAP = 14;
@@ -4497,7 +4439,7 @@
4497
4439
  and get rid of a clipping effect caused by overflow: hidden.
4498
4440
  */
4499
4441
  const DEFAULT_PADDING = 16;
4500
- 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', }) => {
4501
4443
  const itemCount = Array.isArray(children) ? children.length : 0;
4502
4444
  const [containerRef, scroll] = useSwipeListScroll({
4503
4445
  itemCount,
@@ -4507,9 +4449,7 @@
4507
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] }));
4508
4450
  });
4509
4451
 
4510
- const SwipeListControlBlock = JSX(({ listType, showDots, options, version, ...rest }) => {
4511
- return (jsx(BlockWrapper, { version: version, ...rest, children: jsx(SwipeListControl, { listType: listType, showDots: showDots, version: version, children: renderChildren({ ...rest, options }) }) }));
4512
- });
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 }) }) })));
4513
4453
  SwipeListControlBlock.childrenTypes = {
4514
4454
  exclude: ['SwipeListControlBlock'],
4515
4455
  };
@@ -4673,7 +4613,7 @@
4673
4613
  fireTabEvent(selectedTab);
4674
4614
  setCurrentTab(selectedTab);
4675
4615
  }, []);
4676
- 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 }) }));
4677
4617
  });
4678
4618
  const renderTabs = ({ tabsMode, tabs, ...rest }) => {
4679
4619
  switch (tabsMode) {
@@ -4709,7 +4649,7 @@
4709
4649
  const labelClassName = `text-h6 m-0 ${description ? 'mb-1' : ''}`;
4710
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] }));
4711
4651
  };
4712
- const renderImgCellData = ({ image }) => (image?.src ? jsx(ImgInner, { image: image }) : null);
4652
+ const renderImgCellData = ({ image }) => (image?.src ? jsx(Img, { image: image }) : null);
4713
4653
  const renderListCellData = ({ isDotted, ...rest }) => (jsx(List, { className: "flex flex-col justify-between items-start text-h6", isDotted: isDotted ?? true, ...rest }));
4714
4654
  const renderTableCellData = JSX(({ isVisible, displayTable, dataUrl, pdfUrl, isOpen }) => isVisible ? (jsx(TableInnerButton, { isOpen: isOpen, onClick: () => {
4715
4655
  displayTable({ dataUrl, pdfUrl });
@@ -4805,7 +4745,7 @@
4805
4745
  const toggleTables = useCallback((key) => setHiddenTables((oldState) => ({ ...oldState, [key]: !oldState[key] })), []);
4806
4746
  return (jsx("div", { children: items.map((_, tableIdx) => {
4807
4747
  const key = `activeTabIdx:${activeTabIndex}-tableIdx:${tableIdx}`;
4808
- 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));
4809
4749
  }) }));
4810
4750
  });
4811
4751
 
@@ -4841,7 +4781,7 @@
4841
4781
  const [openTableInnerIdx, setOpenTableInnerIdx] = useState(undefined);
4842
4782
  const handleOpenTableInnerIdx = useCallback((_) => setOpenTableInnerIdx(_), []);
4843
4783
  const onHideContentClick = () => setTableInner(undefined);
4844
- 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] }));
4845
4785
  });
4846
4786
 
4847
4787
  const TariffsTable = JSX(({ className = '', title, description, rowHeaders, tariffsColumns: columns, hiddenRowsNum = 0, ...rest }) => {
@@ -4857,7 +4797,7 @@
4857
4797
  });
4858
4798
  const rows = (rowData || []).map((row, i) => (jsx(TariffsTableRow, { row: row, activeIndex: activeIndex, rowIdx: i, ...rest }, String(i))));
4859
4799
  const [visibleRows, hiddenRows] = hiddenRowsNum > 0 ? [rows.slice(0, -hiddenRowsNum), rows.slice(-hiddenRowsNum)] : [rows, []];
4860
- 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 }))] }));
4861
4801
  });
4862
4802
  function renderTitle({ title, description }) {
4863
4803
  return title ? (jsx(Heading, { headingType: "h3", className: `text-center ${description ? 'mb-2.5' : 'mb-8'}`, title: title })) : null;
@@ -4874,27 +4814,16 @@
4874
4814
  })] }), isScrollAvailable ? (jsx("div", { className: "absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white" })) : null] }));
4875
4815
  });
4876
4816
 
4877
- const TextBlock = JSX(({ className = '', title, description, iconVersion, image, __html, items = [], ...rest }) => {
4878
- 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] })] }));
4879
- });
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] })] })));
4880
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" }));
4881
- 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;
4882
4820
  const renderDescription = (description) => (jsx(Paragraph, { size: "text-s", color: "text-secondary-text group-data-secondary:text-white", children: description }));
4883
4821
  const renderList = (items, bullets) => {
4884
4822
  const listStyle = bullets ? 'list-disc pl-6' : '';
4885
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}`))) }));
4886
4824
  };
4887
4825
 
4888
- const Tags = JSX((props) => {
4889
- const { tags, className = '' } = props;
4890
- return tags?.length ? (jsx("div", { className: `flex flex-wrap gap-2 ${className}`, children: tags.map(renderTag) })) : null;
4891
- });
4892
- 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)));
4893
-
4894
- 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, {
4895
- className: 'mt-8',
4896
- buttonClassName: 'min-w-[158px]',
4897
- }), 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 } }) })));
4898
4827
 
4899
4828
  const alignStyle = {
4900
4829
  stretch: 'items-stretch',
@@ -4904,7 +4833,7 @@
4904
4833
  };
4905
4834
  const VerticalLayout = JSX(({ className = '', gap = '', align = 'stretch', isPadding = false, isInnerPadding = true, version = 'transparent', isTheme = false, ...rest }) => {
4906
4835
  const innerPaddingStyle = isInnerPadding ? '' : '!p-0';
4907
- 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({
4908
4837
  ...rest,
4909
4838
  renderProps: (block, options) => renderBlock$1(block, options, { className: innerPaddingStyle }),
4910
4839
  }) }));
@@ -4916,7 +4845,7 @@
4916
4845
 
4917
4846
  const Video = JSX(({ className, title, url, previewImg, ...rest }) => {
4918
4847
  const router = useRouter();
4919
- 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] }));
4920
4849
  });
4921
4850
 
4922
4851
  const Blocks = {
@@ -5120,7 +5049,7 @@
5120
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" }) }));
5121
5050
  }
5122
5051
 
5123
- const packageVersion = "0.11.3";
5052
+ const packageVersion = "0.12.4";
5124
5053
 
5125
5054
  exports.Blocks = Blocks;
5126
5055
  exports.ContentPage = ContentPage;