@redneckz/wildless-cms-uni-blocks 0.2.116 → 0.3.2

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 (1167) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +356 -286
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/dist/components/Accordion/Accordion.js +1 -1
  5. package/dist/components/Accordion/Accordion.js.map +1 -1
  6. package/dist/components/Accordion/Accordion.mobile.js +1 -1
  7. package/dist/components/Accordion/Accordion.mobile.js.map +1 -1
  8. package/dist/components/Accordion/AccordionBlocks.d.ts +4 -0
  9. package/dist/components/Accordion/AccordionBlocks.js +8 -0
  10. package/dist/components/Accordion/AccordionBlocks.js.map +1 -1
  11. package/dist/components/Accordion/AccordionContent.d.ts +30 -18
  12. package/dist/components/Accordion/AccordionItem.js +1 -1
  13. package/dist/components/Accordion/AccordionItem.js.map +1 -1
  14. package/dist/components/Accordion/AccordionItem.mobile.js +1 -1
  15. package/dist/components/Accordion/AccordionItem.mobile.js.map +1 -1
  16. package/dist/components/BaseTile/BaseTile.js +2 -5
  17. package/dist/components/BaseTile/BaseTile.js.map +1 -1
  18. package/dist/components/BaseTile/BaseTileProps.d.ts +3 -6
  19. package/dist/components/BaseTile/getTileHeadingType.d.ts +1 -0
  20. package/dist/components/BaseTile/{getHeadingType.js → getTileHeadingType.js} +4 -4
  21. package/dist/components/BaseTile/getTileHeadingType.js.map +1 -0
  22. package/dist/components/BaseTile/getTileMinHeight.d.ts +1 -0
  23. package/dist/components/BaseTile/getTileMinHeight.js +17 -0
  24. package/dist/components/BaseTile/getTileMinHeight.js.map +1 -0
  25. package/dist/components/BaseTile/getTileRightPadding.d.ts +1 -0
  26. package/dist/components/BaseTile/getTileRightPadding.js +17 -0
  27. package/dist/components/BaseTile/getTileRightPadding.js.map +1 -0
  28. package/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  29. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  30. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +6 -4
  31. package/dist/components/ComparisonTable/ComparisonTable.js +1 -1
  32. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  33. package/dist/components/ComparisonTable/HeaderCell.js +2 -2
  34. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  35. package/dist/components/ContentPage/ContentPage.js +2 -4
  36. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  37. package/dist/components/ContentPage/isBlockInRegistry.d.ts +2 -0
  38. package/dist/components/ContentPage/isBlockInRegistry.js +7 -0
  39. package/dist/components/ContentPage/isBlockInRegistry.js.map +1 -0
  40. package/dist/components/ContentPage/normalizeBlock.d.ts +8 -0
  41. package/dist/components/ContentPage/normalizeBlock.js +9 -0
  42. package/dist/components/ContentPage/normalizeBlock.js.map +1 -0
  43. package/dist/components/ContentPage/normalizeBlock.mobile.d.ts +2 -0
  44. package/dist/components/ContentPage/normalizeBlock.mobile.js +8 -0
  45. package/dist/components/ContentPage/normalizeBlock.mobile.js.map +1 -0
  46. package/dist/components/ContentPage/normalizePage.d.ts +2 -0
  47. package/dist/components/ContentPage/normalizePage.js +28 -0
  48. package/dist/components/ContentPage/normalizePage.js.map +1 -0
  49. package/dist/components/ContentPage/normalizePage.mobile.d.ts +2 -0
  50. package/dist/components/ContentPage/normalizePage.mobile.js +30 -0
  51. package/dist/components/ContentPage/normalizePage.mobile.js.map +1 -0
  52. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +12 -6
  53. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  54. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -4
  55. package/dist/components/Gallery/Gallery.mobile.js +18 -7
  56. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  57. package/dist/components/Gallery/GalleryCardInner.js +4 -4
  58. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  59. package/dist/components/Gallery/GalleryContainer.js +4 -5
  60. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  61. package/dist/components/Gallery/GalleryContent.d.ts +8 -3
  62. package/dist/components/Gallery/GalleryInner.js +1 -1
  63. package/dist/components/Gallery/GalleryInner.js.map +1 -1
  64. package/dist/components/Gallery/constants.js +2 -2
  65. package/dist/components/Gallery/constants.js.map +1 -1
  66. package/dist/components/Header/HeaderSecondaryMenu.js +1 -1
  67. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  68. package/dist/components/Headline/Headline.js +1 -1
  69. package/dist/components/Headline/Headline.js.map +1 -1
  70. package/dist/components/Headline/Headline.mobile.js +2 -2
  71. package/dist/components/Headline/Headline.mobile.js.map +1 -1
  72. package/dist/components/Headline/HeadlineContent.d.ts +6 -6
  73. package/dist/components/LinkDocs/LinkDocs.js +1 -1
  74. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  75. package/dist/components/LinkDocs/LinkDocs.mobile.js +3 -3
  76. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  77. package/dist/components/LinkDocs/LinkDocsContent.d.ts +1 -1
  78. package/dist/components/LinkDocs/LinkDocsList.d.ts +1 -1
  79. package/dist/components/LinkDocs/LinkDocsListItem.js +1 -1
  80. package/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  81. package/dist/components/LinkDocs/LinkDocsListItem.mobile.js +1 -1
  82. package/dist/components/LinkDocs/LinkDocsListItem.mobile.js.map +1 -1
  83. package/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  84. package/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  85. package/dist/components/LinkDocs/linkDocsContentExample.js +0 -1
  86. package/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -1
  87. package/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  88. package/dist/components/MobileAppTile/MobileAppTile.js +8 -3
  89. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  90. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +5 -11
  91. package/dist/components/PictureText/PictureText.js +4 -4
  92. package/dist/components/PictureText/PictureText.js.map +1 -1
  93. package/dist/components/PictureText/PictureTextContent.d.ts +4 -2
  94. package/dist/components/Placeholder/PlaceholderContent.d.ts +2 -3
  95. package/dist/components/ProductBlock/ProductBlockContent.d.ts +10 -4
  96. package/dist/components/ProductBlock/ProductBlockInner.d.ts +2 -2
  97. package/dist/components/ProductBlock/ProductBlockInner.js +7 -3
  98. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  99. package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +2 -3
  100. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +7 -3
  101. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  102. package/dist/components/ProductBlock/renderBenefit.js +1 -1
  103. package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  104. package/dist/components/ProductBlock/renderBenefit.mobile.js +1 -1
  105. package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  106. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  107. package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +3 -3
  108. package/dist/components/ProductGallery/ProductGalleryBlock.js +1 -1
  109. package/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  110. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +3 -3
  111. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js +1 -1
  112. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
  113. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  114. package/dist/components/ProductTile/ProductTile.js +14 -4
  115. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  116. package/dist/components/ProductTile/ProductTileContent.d.ts +10 -5
  117. package/dist/components/PromoTile/PromoTile.js +12 -3
  118. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  119. package/dist/components/PromoTile/PromoTileContent.d.ts +7 -3
  120. package/dist/components/StepsBlock/StepsBlock.js +1 -1
  121. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  122. package/dist/components/StepsBlock/StepsBlock.mobile.js +2 -2
  123. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  124. package/dist/components/TariffsTable/TariffsTable.js +1 -1
  125. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  126. package/dist/components/TariffsTable/TariffsTableCell.js +2 -2
  127. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  128. package/dist/components/TariffsTable/TariffsTableContent.d.ts +5 -11
  129. package/dist/components/TariffsTable/TariffsTableRow.js +1 -1
  130. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  131. package/dist/components/TextBlock/TextBlock.js +1 -1
  132. package/dist/components/TextBlock/TextBlock.js.map +1 -1
  133. package/dist/components/TextBlock/TextBlock.mobile.js +4 -7
  134. package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
  135. package/dist/components/TextBlock/TextBlockContent.d.ts +2 -1
  136. package/dist/components/Tile/Tile.js +10 -27
  137. package/dist/components/Tile/Tile.js.map +1 -1
  138. package/dist/components/Tile/TileContent.d.ts +9 -2
  139. package/dist/content-page-repository/ContentPageRepository.d.ts +0 -2
  140. package/dist/content-page-repository/ContentPageRepository.js +0 -10
  141. package/dist/content-page-repository/ContentPageRepository.js.map +1 -1
  142. package/dist/icons/IconName.d.ts +3 -2
  143. package/dist/icons/IconName.js +1 -0
  144. package/dist/icons/IconName.js.map +1 -1
  145. package/dist/index.d.ts +1 -1
  146. package/dist/index.js +3 -3
  147. package/dist/index.js.map +1 -1
  148. package/dist/model/ButtonVersion.d.ts +1 -1
  149. package/dist/types.d.ts +5 -5
  150. package/dist/ui-kit/BlockItem/BlockItem.d.ts +1 -1
  151. package/dist/ui-kit/BlockItem/BlockItem.js +8 -9
  152. package/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
  153. package/dist/ui-kit/BlockItem/BlockItemProps.d.ts +2 -2
  154. package/dist/ui-kit/Button/Button.d.ts +0 -2
  155. package/dist/ui-kit/Button/Button.js +24 -13
  156. package/dist/ui-kit/Button/Button.js.map +1 -1
  157. package/dist/ui-kit/Button/Button.mobile.d.ts +0 -2
  158. package/dist/ui-kit/Button/Button.mobile.js +6 -8
  159. package/dist/ui-kit/Button/Button.mobile.js.map +1 -1
  160. package/dist/ui-kit/Button/ButtonInner.d.ts +7 -0
  161. package/dist/ui-kit/Button/ButtonInner.js +16 -0
  162. package/dist/ui-kit/Button/ButtonInner.js.map +1 -0
  163. package/dist/ui-kit/Button/ButtonProps.d.ts +10 -0
  164. package/dist/ui-kit/Button/ButtonSection.d.ts +5 -0
  165. package/dist/ui-kit/Button/ButtonSection.js +18 -0
  166. package/dist/ui-kit/Button/ButtonSection.js.map +1 -0
  167. package/dist/ui-kit/Description/Description.d.ts +2 -0
  168. package/dist/ui-kit/Description/Description.js +9 -0
  169. package/dist/ui-kit/Description/Description.js.map +1 -0
  170. package/dist/ui-kit/Description/DescriptionProps.d.ts +7 -0
  171. package/dist/ui-kit/Description/DescriptionProps.js +2 -0
  172. package/dist/ui-kit/Description/DescriptionProps.js.map +1 -0
  173. package/dist/ui-kit/Heading/Heading.d.ts +4 -1
  174. package/dist/ui-kit/Heading/Heading.js +7 -4
  175. package/dist/ui-kit/Heading/Heading.js.map +1 -1
  176. package/dist/ui-kit/Heading/Heading.mobile.d.ts +4 -1
  177. package/dist/ui-kit/Heading/Heading.mobile.js +6 -3
  178. package/dist/ui-kit/Heading/Heading.mobile.js.map +1 -1
  179. package/{lib/ui-kit/Heading/HeadingProps.d.ts → dist/ui-kit/Heading/HeadingContent.d.ts} +6 -4
  180. package/dist/ui-kit/Heading/HeadingContent.js +2 -0
  181. package/dist/ui-kit/Heading/HeadingContent.js.map +1 -0
  182. package/dist/ui-kit/Icon/Icon.js +6 -2
  183. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  184. package/dist/ui-kit/Icon/IconProps.d.ts +6 -0
  185. package/dist/ui-kit/{Img.d.ts → Img/Img.d.ts} +1 -1
  186. package/dist/ui-kit/{Img.js → Img/Img.js} +0 -0
  187. package/dist/ui-kit/Img/Img.js.map +1 -0
  188. package/dist/ui-kit/{Img.mobile.d.ts → Img/Img.mobile.d.ts} +2 -5
  189. package/dist/ui-kit/{Img.mobile.js → Img/Img.mobile.js} +7 -4
  190. package/dist/ui-kit/Img/Img.mobile.js.map +1 -0
  191. package/dist/ui-kit/Img/ImgProps.d.ts +7 -0
  192. package/dist/ui-kit/{Heading/HeadingProps.js → Img/ImgProps.js} +1 -1
  193. package/dist/ui-kit/Img/ImgProps.js.map +1 -0
  194. package/dist/ui-kit/List/List.d.ts +2 -0
  195. package/dist/ui-kit/List/List.js +12 -0
  196. package/dist/ui-kit/List/List.js.map +1 -0
  197. package/dist/ui-kit/List/ListContent.d.ts +4 -0
  198. package/{mobile/dist/ui-kit/Heading/HeadingProps.js → dist/ui-kit/List/ListContent.js} +1 -1
  199. package/dist/ui-kit/List/ListContent.js.map +1 -0
  200. package/dist/ui-kit/List/ListItem.d.ts +11 -0
  201. package/dist/ui-kit/List/ListItem.js +23 -0
  202. package/dist/ui-kit/List/ListItem.js.map +1 -0
  203. package/dist/ui-kit/List/ListProps.d.ts +14 -0
  204. package/dist/ui-kit/List/ListProps.js +2 -0
  205. package/dist/ui-kit/List/ListProps.js.map +1 -0
  206. package/lib/common.css +1 -1
  207. package/lib/components/Accordion/Accordion.js +1 -1
  208. package/lib/components/Accordion/Accordion.js.map +1 -1
  209. package/lib/components/Accordion/Accordion.mobile.js +1 -1
  210. package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
  211. package/lib/components/Accordion/AccordionBlocks.d.ts +4 -0
  212. package/lib/components/Accordion/AccordionBlocks.js +8 -0
  213. package/lib/components/Accordion/AccordionBlocks.js.map +1 -1
  214. package/lib/components/Accordion/AccordionContent.d.ts +30 -18
  215. package/lib/components/Accordion/AccordionItem.js +1 -1
  216. package/lib/components/Accordion/AccordionItem.js.map +1 -1
  217. package/lib/components/Accordion/AccordionItem.mobile.js +1 -1
  218. package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
  219. package/lib/components/BaseTile/BaseTile.js +2 -5
  220. package/lib/components/BaseTile/BaseTile.js.map +1 -1
  221. package/lib/components/BaseTile/BaseTileProps.d.ts +3 -6
  222. package/lib/components/BaseTile/getTileHeadingType.d.ts +1 -0
  223. package/lib/components/BaseTile/{getHeadingType.js → getTileHeadingType.js} +2 -2
  224. package/lib/components/BaseTile/getTileHeadingType.js.map +1 -0
  225. package/lib/components/BaseTile/getTileMinHeight.d.ts +1 -0
  226. package/lib/components/BaseTile/getTileMinHeight.js +14 -0
  227. package/lib/components/BaseTile/getTileMinHeight.js.map +1 -0
  228. package/lib/components/BaseTile/getTileRightPadding.d.ts +1 -0
  229. package/lib/components/BaseTile/getTileRightPadding.js +14 -0
  230. package/lib/components/BaseTile/getTileRightPadding.js.map +1 -0
  231. package/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  232. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  233. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +6 -4
  234. package/lib/components/ComparisonTable/ComparisonTable.js +1 -1
  235. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  236. package/lib/components/ComparisonTable/HeaderCell.js +2 -2
  237. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  238. package/lib/components/ContentPage/ContentPage.js +2 -4
  239. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  240. package/lib/components/ContentPage/isBlockInRegistry.d.ts +2 -0
  241. package/lib/components/ContentPage/isBlockInRegistry.js +4 -0
  242. package/lib/components/ContentPage/isBlockInRegistry.js.map +1 -0
  243. package/lib/components/ContentPage/normalizeBlock.d.ts +8 -0
  244. package/lib/components/ContentPage/normalizeBlock.js +6 -0
  245. package/lib/components/ContentPage/normalizeBlock.js.map +1 -0
  246. package/lib/components/ContentPage/normalizeBlock.mobile.d.ts +2 -0
  247. package/lib/components/ContentPage/normalizeBlock.mobile.js +5 -0
  248. package/lib/components/ContentPage/normalizeBlock.mobile.js.map +1 -0
  249. package/lib/components/ContentPage/normalizePage.d.ts +2 -0
  250. package/lib/components/ContentPage/normalizePage.js +25 -0
  251. package/lib/components/ContentPage/normalizePage.js.map +1 -0
  252. package/lib/components/ContentPage/normalizePage.mobile.d.ts +2 -0
  253. package/lib/components/ContentPage/{toMobilePage.js → normalizePage.mobile.js} +11 -15
  254. package/lib/components/ContentPage/normalizePage.mobile.js.map +1 -0
  255. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +12 -6
  256. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  257. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -4
  258. package/lib/components/Gallery/Gallery.fixture.d.ts +2 -0
  259. package/lib/components/Gallery/Gallery.fixture.mobile.d.ts +5 -0
  260. package/lib/components/Gallery/Gallery.mobile.js +18 -7
  261. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  262. package/lib/components/Gallery/GalleryCardInner.js +4 -4
  263. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  264. package/lib/components/Gallery/GalleryContainer.js +5 -6
  265. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  266. package/lib/components/Gallery/GalleryContent.d.ts +8 -3
  267. package/lib/components/Gallery/GalleryInner.js +1 -1
  268. package/lib/components/Gallery/GalleryInner.js.map +1 -1
  269. package/lib/components/Gallery/constants.js +2 -2
  270. package/lib/components/Gallery/constants.js.map +1 -1
  271. package/lib/components/Header/HeaderSecondaryMenu.js +1 -1
  272. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  273. package/lib/components/Headline/Headline.js +1 -1
  274. package/lib/components/Headline/Headline.js.map +1 -1
  275. package/lib/components/Headline/Headline.mobile.js +2 -2
  276. package/lib/components/Headline/Headline.mobile.js.map +1 -1
  277. package/lib/components/Headline/HeadlineContent.d.ts +6 -6
  278. package/lib/components/LinkDocs/LinkDocs.js +1 -1
  279. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  280. package/lib/components/LinkDocs/LinkDocs.mobile.js +3 -3
  281. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -1
  282. package/lib/components/LinkDocs/LinkDocsContent.d.ts +1 -1
  283. package/lib/components/LinkDocs/LinkDocsList.d.ts +1 -1
  284. package/lib/components/LinkDocs/LinkDocsListItem.js +1 -1
  285. package/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  286. package/lib/components/LinkDocs/LinkDocsListItem.mobile.js +1 -1
  287. package/lib/components/LinkDocs/LinkDocsListItem.mobile.js.map +1 -1
  288. package/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  289. package/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  290. package/lib/components/LinkDocs/linkDocsContentExample.js +0 -1
  291. package/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -1
  292. package/lib/components/MiniGallery/MiniGallery.fixture.d.ts +2 -0
  293. package/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  294. package/lib/components/MobileAppTile/MobileAppTile.js +8 -3
  295. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  296. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +5 -11
  297. package/lib/components/PictureText/PictureText.js +4 -4
  298. package/lib/components/PictureText/PictureText.js.map +1 -1
  299. package/lib/components/PictureText/PictureTextContent.d.ts +4 -2
  300. package/lib/components/Placeholder/PlaceholderContent.d.ts +2 -3
  301. package/lib/components/ProductBlock/ProductBlockContent.d.ts +10 -4
  302. package/lib/components/ProductBlock/ProductBlockInner.d.ts +2 -2
  303. package/lib/components/ProductBlock/ProductBlockInner.js +7 -3
  304. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  305. package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +2 -3
  306. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +7 -3
  307. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  308. package/lib/components/ProductBlock/renderBenefit.js +1 -1
  309. package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  310. package/lib/components/ProductBlock/renderBenefit.mobile.js +1 -1
  311. package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  312. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  313. package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +3 -3
  314. package/lib/components/ProductGallery/ProductGalleryBlock.js +1 -1
  315. package/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  316. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +3 -3
  317. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js +1 -1
  318. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
  319. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  320. package/lib/components/ProductTile/ProductTile.fixture.d.ts +2 -0
  321. package/lib/components/ProductTile/ProductTile.js +14 -4
  322. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  323. package/lib/components/ProductTile/ProductTileContent.d.ts +10 -5
  324. package/lib/components/PromoTile/PromoTile.js +12 -3
  325. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  326. package/lib/components/PromoTile/PromoTileContent.d.ts +7 -3
  327. package/lib/components/StepsBlock/StepsBlock.js +1 -1
  328. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  329. package/lib/components/StepsBlock/StepsBlock.mobile.js +2 -2
  330. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  331. package/lib/components/TariffsTable/TariffsTable.js +1 -1
  332. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  333. package/lib/components/TariffsTable/TariffsTableCell.js +2 -2
  334. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  335. package/lib/components/TariffsTable/TariffsTableContent.d.ts +5 -11
  336. package/lib/components/TariffsTable/TariffsTableRow.js +1 -1
  337. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  338. package/lib/components/TextBlock/TextBlock.js +1 -1
  339. package/lib/components/TextBlock/TextBlock.js.map +1 -1
  340. package/lib/components/TextBlock/TextBlock.mobile.js +4 -7
  341. package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
  342. package/lib/components/TextBlock/TextBlockContent.d.ts +2 -1
  343. package/lib/components/Tile/Tile.fixture.d.ts +2 -0
  344. package/lib/components/Tile/Tile.js +11 -28
  345. package/lib/components/Tile/Tile.js.map +1 -1
  346. package/lib/components/Tile/TileContent.d.ts +9 -2
  347. package/lib/content-page-repository/ContentPageRepository.d.ts +0 -2
  348. package/lib/content-page-repository/ContentPageRepository.js +0 -10
  349. package/lib/content-page-repository/ContentPageRepository.js.map +1 -1
  350. package/lib/icons/IconName.d.ts +3 -2
  351. package/lib/icons/IconName.js +1 -0
  352. package/lib/icons/IconName.js.map +1 -1
  353. package/lib/index.d.ts +1 -1
  354. package/lib/index.js +1 -1
  355. package/lib/index.js.map +1 -1
  356. package/lib/model/ButtonVersion.d.ts +1 -1
  357. package/lib/types.d.ts +5 -5
  358. package/lib/ui-kit/BlockItem/BlockItem.d.ts +1 -1
  359. package/lib/ui-kit/BlockItem/BlockItem.js +8 -9
  360. package/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
  361. package/lib/ui-kit/BlockItem/BlockItemProps.d.ts +2 -2
  362. package/lib/ui-kit/Button/Button.d.ts +0 -2
  363. package/lib/ui-kit/Button/Button.js +23 -12
  364. package/lib/ui-kit/Button/Button.js.map +1 -1
  365. package/lib/ui-kit/Button/Button.mobile.d.ts +0 -2
  366. package/lib/ui-kit/Button/Button.mobile.js +6 -8
  367. package/lib/ui-kit/Button/Button.mobile.js.map +1 -1
  368. package/lib/ui-kit/Button/ButtonInner.d.ts +7 -0
  369. package/lib/ui-kit/Button/ButtonInner.js +14 -0
  370. package/lib/ui-kit/Button/ButtonInner.js.map +1 -0
  371. package/lib/ui-kit/Button/ButtonProps.d.ts +10 -0
  372. package/lib/ui-kit/Button/ButtonSection.d.ts +5 -0
  373. package/lib/ui-kit/Button/ButtonSection.js +16 -0
  374. package/lib/ui-kit/Button/ButtonSection.js.map +1 -0
  375. package/lib/ui-kit/Description/Description.d.ts +2 -0
  376. package/lib/ui-kit/Description/Description.js +7 -0
  377. package/lib/ui-kit/Description/Description.js.map +1 -0
  378. package/lib/ui-kit/Description/DescriptionProps.d.ts +7 -0
  379. package/lib/ui-kit/Description/DescriptionProps.js +2 -0
  380. package/lib/ui-kit/Description/DescriptionProps.js.map +1 -0
  381. package/lib/ui-kit/Heading/Heading.d.ts +4 -1
  382. package/lib/ui-kit/Heading/Heading.js +7 -4
  383. package/lib/ui-kit/Heading/Heading.js.map +1 -1
  384. package/lib/ui-kit/Heading/Heading.mobile.d.ts +4 -1
  385. package/lib/ui-kit/Heading/Heading.mobile.js +6 -3
  386. package/lib/ui-kit/Heading/Heading.mobile.js.map +1 -1
  387. package/{mobile/dist/ui-kit/Heading/HeadingProps.d.ts → lib/ui-kit/Heading/HeadingContent.d.ts} +6 -4
  388. package/lib/ui-kit/Heading/HeadingContent.js +2 -0
  389. package/lib/ui-kit/Heading/HeadingContent.js.map +1 -0
  390. package/lib/ui-kit/Icon/Icon.fixture.d.ts +2 -1
  391. package/lib/ui-kit/Icon/Icon.js +6 -2
  392. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  393. package/lib/ui-kit/Icon/IconProps.d.ts +6 -0
  394. package/{mobile/dist/ui-kit → lib/ui-kit/Img}/Img.d.ts +1 -1
  395. package/lib/ui-kit/{Img.js → Img/Img.js} +0 -0
  396. package/lib/ui-kit/Img/Img.js.map +1 -0
  397. package/lib/ui-kit/{Img.mobile.d.ts → Img/Img.mobile.d.ts} +2 -5
  398. package/lib/ui-kit/{Img.mobile.js → Img/Img.mobile.js} +7 -4
  399. package/lib/ui-kit/Img/Img.mobile.js.map +1 -0
  400. package/lib/ui-kit/Img/ImgProps.d.ts +7 -0
  401. package/lib/ui-kit/Img/ImgProps.js +2 -0
  402. package/lib/ui-kit/Img/ImgProps.js.map +1 -0
  403. package/lib/ui-kit/List/List.d.ts +2 -0
  404. package/lib/ui-kit/List/List.js +10 -0
  405. package/lib/ui-kit/List/List.js.map +1 -0
  406. package/lib/ui-kit/List/ListContent.d.ts +4 -0
  407. package/lib/ui-kit/List/ListContent.js +2 -0
  408. package/lib/ui-kit/List/ListContent.js.map +1 -0
  409. package/lib/ui-kit/List/ListItem.d.ts +11 -0
  410. package/lib/ui-kit/List/ListItem.js +21 -0
  411. package/lib/ui-kit/List/ListItem.js.map +1 -0
  412. package/lib/ui-kit/List/ListProps.d.ts +14 -0
  413. package/lib/ui-kit/List/ListProps.js +2 -0
  414. package/lib/ui-kit/List/ListProps.js.map +1 -0
  415. package/mobile/bundle/bundle.umd.js +346 -200
  416. package/mobile/bundle/bundle.umd.min.js +1 -1
  417. package/mobile/dist/components/Accordion/Accordion.js +1 -1
  418. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  419. package/mobile/dist/components/Accordion/AccordionBlocks.d.ts +4 -0
  420. package/mobile/dist/components/Accordion/AccordionBlocks.js +8 -0
  421. package/mobile/dist/components/Accordion/AccordionBlocks.js.map +1 -1
  422. package/mobile/dist/components/Accordion/AccordionContent.d.ts +30 -18
  423. package/mobile/dist/components/Accordion/AccordionItem.js +1 -1
  424. package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
  425. package/mobile/dist/components/BaseTile/BaseTile.js +2 -11
  426. package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
  427. package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +3 -6
  428. package/mobile/dist/components/BaseTile/getTileHeadingType.d.ts +1 -0
  429. package/mobile/dist/components/BaseTile/{getHeadingType.js → getTileHeadingType.js} +4 -4
  430. package/mobile/dist/components/BaseTile/getTileHeadingType.js.map +1 -0
  431. package/mobile/dist/components/BaseTile/getTileMinHeight.d.ts +1 -0
  432. package/mobile/dist/components/BaseTile/getTileMinHeight.js +17 -0
  433. package/mobile/dist/components/BaseTile/getTileMinHeight.js.map +1 -0
  434. package/mobile/dist/components/BaseTile/getTileRightPadding.d.ts +1 -0
  435. package/mobile/dist/components/BaseTile/getTileRightPadding.js +17 -0
  436. package/mobile/dist/components/BaseTile/getTileRightPadding.js.map +1 -0
  437. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +1 -1
  438. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  439. package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +6 -4
  440. package/mobile/dist/components/ComparisonTable/ComparisonTable.js +1 -1
  441. package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  442. package/mobile/dist/components/ComparisonTable/HeaderCell.js +2 -2
  443. package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  444. package/mobile/dist/components/ContentPage/ContentPage.js +2 -4
  445. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  446. package/mobile/dist/components/ContentPage/isBlockInRegistry.d.ts +2 -0
  447. package/mobile/dist/components/ContentPage/isBlockInRegistry.js +7 -0
  448. package/mobile/dist/components/ContentPage/isBlockInRegistry.js.map +1 -0
  449. package/mobile/dist/components/ContentPage/normalizeBlock.d.ts +2 -0
  450. package/mobile/dist/components/ContentPage/normalizeBlock.js +8 -0
  451. package/mobile/dist/components/ContentPage/normalizeBlock.js.map +1 -0
  452. package/mobile/dist/components/ContentPage/normalizePage.d.ts +2 -0
  453. package/mobile/dist/components/ContentPage/normalizePage.js +30 -0
  454. package/mobile/dist/components/ContentPage/normalizePage.js.map +1 -0
  455. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +12 -6
  456. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  457. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -4
  458. package/mobile/dist/components/Gallery/Gallery.js +18 -7
  459. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  460. package/mobile/dist/components/Gallery/GalleryCardInner.js +4 -4
  461. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  462. package/mobile/dist/components/Gallery/GalleryContainer.js +4 -5
  463. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  464. package/mobile/dist/components/Gallery/GalleryContent.d.ts +8 -3
  465. package/mobile/dist/components/Gallery/GalleryInner.js +1 -1
  466. package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
  467. package/mobile/dist/components/Gallery/constants.js +2 -2
  468. package/mobile/dist/components/Gallery/constants.js.map +1 -1
  469. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +1 -1
  470. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  471. package/mobile/dist/components/Headline/Headline.js +2 -2
  472. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  473. package/mobile/dist/components/Headline/HeadlineContent.d.ts +6 -6
  474. package/mobile/dist/components/LinkDocs/LinkDocs.js +3 -3
  475. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  476. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +1 -1
  477. package/mobile/dist/components/LinkDocs/LinkDocsList.d.ts +1 -1
  478. package/mobile/dist/components/LinkDocs/LinkDocsListItem.js +1 -1
  479. package/mobile/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  480. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  481. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  482. package/mobile/dist/components/LinkDocs/linkDocsContentExample.js +0 -1
  483. package/mobile/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -1
  484. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +5 -11
  485. package/mobile/dist/components/PictureText/PictureText.js +4 -4
  486. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  487. package/mobile/dist/components/PictureText/PictureTextContent.d.ts +4 -2
  488. package/mobile/dist/components/Placeholder/PlaceholderContent.d.ts +2 -3
  489. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +10 -4
  490. package/mobile/dist/components/ProductBlock/ProductBlockInner.d.ts +2 -3
  491. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +7 -3
  492. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  493. package/mobile/dist/components/ProductBlock/renderBenefit.js +1 -1
  494. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  495. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +3 -3
  496. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +1 -1
  497. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  498. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  499. package/mobile/dist/components/ProductTile/ProductTile.js +14 -4
  500. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  501. package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +10 -5
  502. package/mobile/dist/components/PromoTile/PromoTile.js +12 -3
  503. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  504. package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +7 -3
  505. package/mobile/dist/components/StepsBlock/StepsBlock.js +2 -2
  506. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  507. package/mobile/dist/components/TariffsTable/TariffsTable.js +1 -1
  508. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  509. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +2 -2
  510. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  511. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +5 -11
  512. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +1 -1
  513. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  514. package/mobile/dist/components/TextBlock/TextBlock.js +4 -7
  515. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  516. package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +2 -1
  517. package/mobile/dist/components/Tile/Tile.js +10 -27
  518. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  519. package/mobile/dist/components/Tile/TileContent.d.ts +9 -2
  520. package/mobile/dist/content-page-repository/ContentPageRepository.d.ts +0 -2
  521. package/mobile/dist/content-page-repository/ContentPageRepository.js +0 -10
  522. package/mobile/dist/content-page-repository/ContentPageRepository.js.map +1 -1
  523. package/mobile/dist/icons/IconName.d.ts +3 -2
  524. package/mobile/dist/icons/IconName.js +1 -0
  525. package/mobile/dist/icons/IconName.js.map +1 -1
  526. package/mobile/dist/index.d.ts +1 -1
  527. package/mobile/dist/index.js +3 -3
  528. package/mobile/dist/index.js.map +1 -1
  529. package/mobile/dist/model/ButtonVersion.d.ts +1 -1
  530. package/mobile/dist/types.d.ts +5 -5
  531. package/mobile/dist/ui-kit/BlockItem/BlockItem.d.ts +1 -1
  532. package/mobile/dist/ui-kit/BlockItem/BlockItem.js +8 -9
  533. package/mobile/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
  534. package/mobile/dist/ui-kit/BlockItem/BlockItemProps.d.ts +2 -2
  535. package/mobile/dist/ui-kit/Button/Button.d.ts +0 -2
  536. package/mobile/dist/ui-kit/Button/Button.js +6 -8
  537. package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
  538. package/mobile/dist/ui-kit/Button/ButtonInner.d.ts +7 -0
  539. package/mobile/dist/ui-kit/Button/ButtonInner.js +16 -0
  540. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -0
  541. package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +10 -0
  542. package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +5 -0
  543. package/mobile/dist/ui-kit/Button/ButtonSection.js +18 -0
  544. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -0
  545. package/mobile/dist/ui-kit/Description/Description.d.ts +2 -0
  546. package/mobile/dist/ui-kit/Description/Description.js +9 -0
  547. package/mobile/dist/ui-kit/Description/Description.js.map +1 -0
  548. package/mobile/dist/ui-kit/Description/DescriptionProps.d.ts +7 -0
  549. package/mobile/dist/ui-kit/Description/DescriptionProps.js +2 -0
  550. package/mobile/dist/ui-kit/Description/DescriptionProps.js.map +1 -0
  551. package/mobile/dist/ui-kit/Heading/Heading.d.ts +4 -1
  552. package/mobile/dist/ui-kit/Heading/Heading.js +6 -3
  553. package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -1
  554. package/{dist/ui-kit/Heading/HeadingProps.d.ts → mobile/dist/ui-kit/Heading/HeadingContent.d.ts} +6 -4
  555. package/mobile/dist/ui-kit/Heading/HeadingContent.js +2 -0
  556. package/mobile/dist/ui-kit/Heading/HeadingContent.js.map +1 -0
  557. package/mobile/dist/ui-kit/Icon/Icon.js +6 -2
  558. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  559. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +6 -0
  560. package/{lib/ui-kit → mobile/dist/ui-kit/Img}/Img.d.ts +2 -5
  561. package/mobile/dist/ui-kit/{Img.js → Img/Img.js} +7 -4
  562. package/mobile/dist/ui-kit/Img/Img.js.map +1 -0
  563. package/mobile/dist/ui-kit/Img/ImgProps.d.ts +7 -0
  564. package/mobile/dist/ui-kit/Img/ImgProps.js +2 -0
  565. package/mobile/dist/ui-kit/Img/ImgProps.js.map +1 -0
  566. package/mobile/dist/ui-kit/List/List.d.ts +2 -0
  567. package/mobile/dist/ui-kit/List/List.js +12 -0
  568. package/mobile/dist/ui-kit/List/List.js.map +1 -0
  569. package/mobile/dist/ui-kit/List/ListContent.d.ts +4 -0
  570. package/mobile/dist/ui-kit/List/ListContent.js +2 -0
  571. package/mobile/dist/ui-kit/List/ListContent.js.map +1 -0
  572. package/mobile/dist/ui-kit/List/ListItem.d.ts +11 -0
  573. package/mobile/dist/ui-kit/List/ListItem.js +23 -0
  574. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -0
  575. package/mobile/dist/ui-kit/List/ListProps.d.ts +14 -0
  576. package/mobile/dist/ui-kit/List/ListProps.js +2 -0
  577. package/mobile/dist/ui-kit/List/ListProps.js.map +1 -0
  578. package/mobile/lib/components/Accordion/Accordion.js +1 -1
  579. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  580. package/mobile/lib/components/Accordion/AccordionBlocks.d.ts +4 -0
  581. package/mobile/lib/components/Accordion/AccordionBlocks.js +8 -0
  582. package/mobile/lib/components/Accordion/AccordionBlocks.js.map +1 -1
  583. package/mobile/lib/components/Accordion/AccordionContent.d.ts +30 -18
  584. package/mobile/lib/components/Accordion/AccordionItem.js +1 -1
  585. package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
  586. package/mobile/lib/components/BaseTile/BaseTile.js +2 -11
  587. package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
  588. package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +3 -6
  589. package/mobile/lib/components/BaseTile/getTileHeadingType.d.ts +1 -0
  590. package/mobile/lib/components/BaseTile/{getHeadingType.js → getTileHeadingType.js} +2 -2
  591. package/mobile/lib/components/BaseTile/getTileHeadingType.js.map +1 -0
  592. package/mobile/lib/components/BaseTile/getTileMinHeight.d.ts +1 -0
  593. package/mobile/lib/components/BaseTile/getTileMinHeight.js +14 -0
  594. package/mobile/lib/components/BaseTile/getTileMinHeight.js.map +1 -0
  595. package/mobile/lib/components/BaseTile/getTileRightPadding.d.ts +1 -0
  596. package/mobile/lib/components/BaseTile/getTileRightPadding.js +14 -0
  597. package/mobile/lib/components/BaseTile/getTileRightPadding.js.map +1 -0
  598. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +1 -1
  599. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  600. package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +6 -4
  601. package/mobile/lib/components/ComparisonTable/ComparisonTable.js +1 -1
  602. package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  603. package/mobile/lib/components/ComparisonTable/HeaderCell.js +2 -2
  604. package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  605. package/mobile/lib/components/ContentPage/ContentPage.js +2 -4
  606. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  607. package/mobile/lib/components/ContentPage/isBlockInRegistry.d.ts +2 -0
  608. package/mobile/lib/components/ContentPage/isBlockInRegistry.js +4 -0
  609. package/mobile/lib/components/ContentPage/isBlockInRegistry.js.map +1 -0
  610. package/mobile/lib/components/ContentPage/normalizeBlock.d.ts +2 -0
  611. package/mobile/lib/components/ContentPage/normalizeBlock.js +5 -0
  612. package/mobile/lib/components/ContentPage/normalizeBlock.js.map +1 -0
  613. package/mobile/lib/components/ContentPage/normalizePage.d.ts +2 -0
  614. package/mobile/lib/components/ContentPage/{toMobilePage.js → normalizePage.js} +11 -15
  615. package/mobile/lib/components/ContentPage/normalizePage.js.map +1 -0
  616. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +12 -6
  617. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  618. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -4
  619. package/mobile/lib/components/Gallery/Gallery.js +18 -7
  620. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  621. package/mobile/lib/components/Gallery/GalleryCardInner.js +4 -4
  622. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  623. package/mobile/lib/components/Gallery/GalleryContainer.js +5 -6
  624. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  625. package/mobile/lib/components/Gallery/GalleryContent.d.ts +8 -3
  626. package/mobile/lib/components/Gallery/GalleryInner.js +1 -1
  627. package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
  628. package/mobile/lib/components/Gallery/constants.js +2 -2
  629. package/mobile/lib/components/Gallery/constants.js.map +1 -1
  630. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +1 -1
  631. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  632. package/mobile/lib/components/Headline/Headline.js +2 -2
  633. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  634. package/mobile/lib/components/Headline/HeadlineContent.d.ts +6 -6
  635. package/mobile/lib/components/LinkDocs/LinkDocs.js +3 -3
  636. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  637. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +1 -1
  638. package/mobile/lib/components/LinkDocs/LinkDocsList.d.ts +1 -1
  639. package/mobile/lib/components/LinkDocs/LinkDocsListItem.js +1 -1
  640. package/mobile/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  641. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +1 -1
  642. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +1 -1
  643. package/mobile/lib/components/LinkDocs/linkDocsContentExample.js +0 -1
  644. package/mobile/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -1
  645. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +5 -11
  646. package/mobile/lib/components/PictureText/PictureText.js +4 -4
  647. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  648. package/mobile/lib/components/PictureText/PictureTextContent.d.ts +4 -2
  649. package/mobile/lib/components/Placeholder/PlaceholderContent.d.ts +2 -3
  650. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +10 -4
  651. package/mobile/lib/components/ProductBlock/ProductBlockInner.d.ts +2 -3
  652. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +7 -3
  653. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  654. package/mobile/lib/components/ProductBlock/renderBenefit.js +1 -1
  655. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  656. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +3 -3
  657. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +1 -1
  658. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  659. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  660. package/mobile/lib/components/ProductTile/ProductTile.js +14 -4
  661. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  662. package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +10 -5
  663. package/mobile/lib/components/PromoTile/PromoTile.js +12 -3
  664. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  665. package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +7 -3
  666. package/mobile/lib/components/StepsBlock/StepsBlock.js +2 -2
  667. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  668. package/mobile/lib/components/TariffsTable/TariffsTable.js +1 -1
  669. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  670. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +2 -2
  671. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  672. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +5 -11
  673. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +1 -1
  674. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  675. package/mobile/lib/components/TextBlock/TextBlock.js +4 -7
  676. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  677. package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +2 -1
  678. package/mobile/lib/components/Tile/Tile.js +11 -28
  679. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  680. package/mobile/lib/components/Tile/TileContent.d.ts +9 -2
  681. package/mobile/lib/content-page-repository/ContentPageRepository.d.ts +0 -2
  682. package/mobile/lib/content-page-repository/ContentPageRepository.js +0 -10
  683. package/mobile/lib/content-page-repository/ContentPageRepository.js.map +1 -1
  684. package/mobile/lib/icons/IconName.d.ts +3 -2
  685. package/mobile/lib/icons/IconName.js +1 -0
  686. package/mobile/lib/icons/IconName.js.map +1 -1
  687. package/mobile/lib/index.d.ts +1 -1
  688. package/mobile/lib/index.js +1 -1
  689. package/mobile/lib/index.js.map +1 -1
  690. package/mobile/lib/model/ButtonVersion.d.ts +1 -1
  691. package/mobile/lib/types.d.ts +5 -5
  692. package/mobile/lib/ui-kit/BlockItem/BlockItem.d.ts +1 -1
  693. package/mobile/lib/ui-kit/BlockItem/BlockItem.js +8 -9
  694. package/mobile/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
  695. package/mobile/lib/ui-kit/BlockItem/BlockItemProps.d.ts +2 -2
  696. package/mobile/lib/ui-kit/Button/Button.d.ts +0 -2
  697. package/mobile/lib/ui-kit/Button/Button.js +6 -8
  698. package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
  699. package/mobile/lib/ui-kit/Button/ButtonInner.d.ts +7 -0
  700. package/mobile/lib/ui-kit/Button/ButtonInner.js +14 -0
  701. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -0
  702. package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +10 -0
  703. package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +5 -0
  704. package/mobile/lib/ui-kit/Button/ButtonSection.js +16 -0
  705. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -0
  706. package/mobile/lib/ui-kit/Description/Description.d.ts +2 -0
  707. package/mobile/lib/ui-kit/Description/Description.js +7 -0
  708. package/mobile/lib/ui-kit/Description/Description.js.map +1 -0
  709. package/mobile/lib/ui-kit/Description/DescriptionProps.d.ts +7 -0
  710. package/mobile/lib/ui-kit/Description/DescriptionProps.js +2 -0
  711. package/mobile/lib/ui-kit/Description/DescriptionProps.js.map +1 -0
  712. package/mobile/lib/ui-kit/Heading/Heading.d.ts +4 -1
  713. package/mobile/lib/ui-kit/Heading/Heading.js +6 -3
  714. package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -1
  715. package/mobile/lib/ui-kit/Heading/{HeadingProps.d.ts → HeadingContent.d.ts} +6 -4
  716. package/mobile/lib/ui-kit/Heading/HeadingContent.js +2 -0
  717. package/mobile/lib/ui-kit/Heading/HeadingContent.js.map +1 -0
  718. package/mobile/lib/ui-kit/Icon/Icon.js +6 -2
  719. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  720. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +6 -0
  721. package/mobile/lib/ui-kit/{Img.d.ts → Img/Img.d.ts} +2 -5
  722. package/mobile/lib/ui-kit/{Img.js → Img/Img.js} +7 -4
  723. package/mobile/lib/ui-kit/Img/Img.js.map +1 -0
  724. package/mobile/lib/ui-kit/Img/ImgProps.d.ts +7 -0
  725. package/mobile/lib/ui-kit/Img/ImgProps.js +2 -0
  726. package/mobile/lib/ui-kit/Img/ImgProps.js.map +1 -0
  727. package/mobile/lib/ui-kit/List/List.d.ts +2 -0
  728. package/mobile/lib/ui-kit/List/List.js +10 -0
  729. package/mobile/lib/ui-kit/List/List.js.map +1 -0
  730. package/mobile/lib/ui-kit/List/ListContent.d.ts +4 -0
  731. package/mobile/lib/ui-kit/List/ListContent.js +2 -0
  732. package/mobile/lib/ui-kit/List/ListContent.js.map +1 -0
  733. package/mobile/lib/ui-kit/List/ListItem.d.ts +11 -0
  734. package/mobile/lib/ui-kit/List/ListItem.js +21 -0
  735. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -0
  736. package/mobile/lib/ui-kit/List/ListProps.d.ts +14 -0
  737. package/mobile/lib/ui-kit/List/ListProps.js +2 -0
  738. package/mobile/lib/ui-kit/List/ListProps.js.map +1 -0
  739. package/mobile/src/components/Accordion/Accordion.tsx +1 -1
  740. package/mobile/src/components/Accordion/AccordionBlocks.tsx +8 -0
  741. package/mobile/src/components/Accordion/AccordionContent.ts +49 -21
  742. package/mobile/src/components/Accordion/AccordionItem.tsx +1 -1
  743. package/mobile/src/components/BaseTile/BaseTile.tsx +11 -41
  744. package/mobile/src/components/BaseTile/BaseTileProps.ts +5 -7
  745. package/{src/components/BaseTile/getHeadingType.ts → mobile/src/components/BaseTile/getTileHeadingType.ts} +1 -1
  746. package/mobile/src/components/BaseTile/getTileMinHeight.ts +12 -0
  747. package/mobile/src/components/BaseTile/getTileRightPadding.ts +12 -0
  748. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +3 -1
  749. package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +7 -4
  750. package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +5 -1
  751. package/mobile/src/components/ComparisonTable/HeaderCell.tsx +2 -2
  752. package/mobile/src/components/ContentPage/ContentPage.page.json +1620 -133
  753. package/mobile/src/components/ContentPage/ContentPage.tsx +2 -8
  754. package/mobile/src/components/ContentPage/isBlockInRegistry.ts +5 -0
  755. package/mobile/src/components/ContentPage/normalizeBlock.spec.ts +50 -0
  756. package/mobile/src/components/ContentPage/normalizeBlock.ts +6 -0
  757. package/mobile/src/components/ContentPage/{toMobilePage.ts → normalizePage.ts} +13 -14
  758. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +60 -36
  759. package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +3 -4
  760. package/mobile/src/components/Gallery/Gallery.tsx +57 -38
  761. package/mobile/src/components/Gallery/GalleryCardInner.tsx +8 -11
  762. package/mobile/src/components/Gallery/GalleryContainer.tsx +8 -9
  763. package/mobile/src/components/Gallery/GalleryContent.ts +9 -3
  764. package/mobile/src/components/Gallery/GalleryInner.tsx +1 -1
  765. package/mobile/src/components/Gallery/constants.ts +2 -2
  766. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +4 -4
  767. package/mobile/src/components/Headline/Headline.tsx +2 -2
  768. package/mobile/src/components/Headline/HeadlineContent.ts +11 -9
  769. package/mobile/src/components/LinkDocs/LinkDocs.tsx +10 -6
  770. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +1 -1
  771. package/mobile/src/components/LinkDocs/LinkDocsList.tsx +1 -1
  772. package/mobile/src/components/LinkDocs/LinkDocsListItem.tsx +1 -1
  773. package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +1 -1
  774. package/mobile/src/components/LinkDocs/LinkDocsVerticalList.tsx +1 -1
  775. package/mobile/src/components/LinkDocs/linkDocsContentExample.ts +0 -1
  776. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +11 -15
  777. package/mobile/src/components/PictureText/PictureText.tsx +4 -3
  778. package/mobile/src/components/PictureText/PictureTextContent.ts +5 -2
  779. package/mobile/src/components/Placeholder/PlaceholderContent.ts +3 -3
  780. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +21 -10
  781. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +26 -11
  782. package/mobile/src/components/ProductBlock/renderBenefit.tsx +1 -0
  783. package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +4 -4
  784. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
  785. package/mobile/src/components/ProductTile/ProductTile.tsx +63 -15
  786. package/mobile/src/components/ProductTile/ProductTileContent.ts +17 -9
  787. package/mobile/src/components/PromoTile/PromoTile.tsx +41 -14
  788. package/mobile/src/components/PromoTile/PromoTileContent.ts +11 -5
  789. package/mobile/src/components/StepsBlock/StepsBlock.tsx +2 -2
  790. package/mobile/src/components/TariffsTable/TariffsTable.tsx +5 -1
  791. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +3 -2
  792. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +5 -11
  793. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -0
  794. package/mobile/src/components/TextBlock/TextBlock.tsx +20 -16
  795. package/mobile/src/components/TextBlock/TextBlockContent.ts +4 -1
  796. package/mobile/src/components/Tile/Tile.tsx +46 -27
  797. package/mobile/src/components/Tile/TileContent.ts +13 -2
  798. package/mobile/src/content-page-repository/ContentPageRepository.ts +0 -12
  799. package/mobile/src/icons/ActualBalanceIcon.svg +0 -2
  800. package/mobile/src/icons/AtmIcon.svg +5 -5
  801. package/mobile/src/icons/BankIcon.svg +9 -9
  802. package/mobile/src/icons/BurgerIcon.svg +1 -1
  803. package/mobile/src/icons/BurgerIconWhite.svg +1 -1
  804. package/mobile/src/icons/Calendar2Icon.svg +1 -1
  805. package/mobile/src/icons/CalendarCircleIcon.svg +1 -1
  806. package/mobile/src/icons/CalendarIcon.svg +1 -1
  807. package/mobile/src/icons/CalendarTickIcon.svg +1 -1
  808. package/mobile/src/icons/CalendarWhiteIcon.svg +1 -1
  809. package/mobile/src/icons/CardIcon.svg +1 -1
  810. package/mobile/src/icons/CardPosIcon.svg +1 -1
  811. package/mobile/src/icons/CardTickIcon.svg +1 -1
  812. package/mobile/src/icons/CardWithGemIcon.svg +1 -1
  813. package/mobile/src/icons/ChartSquareIcon.svg +1 -1
  814. package/mobile/src/icons/ClockIcon.svg +0 -2
  815. package/mobile/src/icons/CloseIcon.svg +1 -1
  816. package/mobile/src/icons/ComfortableCompIcon.svg +0 -2
  817. package/mobile/src/icons/CreditCardsIcon.svg +1 -1
  818. package/mobile/src/icons/DiscountShapeIcon.svg +1 -1
  819. package/mobile/src/icons/DocIcon.svg +4 -4
  820. package/mobile/src/icons/DocIconMonoColor.svg +5 -0
  821. package/mobile/src/icons/DocumentTextIcon.svg +3 -3
  822. package/mobile/src/icons/DollarIcon.svg +1 -1
  823. package/mobile/src/icons/EarthIcon.svg +1 -1
  824. package/mobile/src/icons/EmptyWalletChangeIcon.svg +1 -1
  825. package/mobile/src/icons/EmptyWalletIcon.svg +1 -1
  826. package/mobile/src/icons/EmptyWalletWhiteIcon.svg +1 -1
  827. package/mobile/src/icons/EuroIcon.svg +1 -1
  828. package/mobile/src/icons/GeolocationIcon.svg +3 -3
  829. package/mobile/src/icons/GlobalIcon.svg +1 -1
  830. package/mobile/src/icons/IconName.ts +3 -3
  831. package/mobile/src/icons/InterestGrowthIcon.svg +1 -1
  832. package/mobile/src/icons/InterestIcon.svg +1 -1
  833. package/mobile/src/icons/JCBIcon.svg +1 -1
  834. package/mobile/src/icons/MasterCardIcon.svg +1 -1
  835. package/mobile/src/icons/MinusIcon.svg +1 -1
  836. package/mobile/src/icons/MirIcon.svg +1 -1
  837. package/mobile/src/icons/MoneyIcon.svg +1 -1
  838. package/mobile/src/icons/MoneyInsuranceIcon.svg +1 -1
  839. package/mobile/src/icons/MonitorMobileIcon.svg +1 -1
  840. package/mobile/src/icons/NewDocIcon.svg +0 -2
  841. package/mobile/src/icons/OfficeIcon.svg +1 -1
  842. package/mobile/src/icons/OkIcon.svg +1 -1
  843. package/mobile/src/icons/PassSendIcon.svg +0 -2
  844. package/mobile/src/icons/PercentageRoundIcon.svg +1 -1
  845. package/mobile/src/icons/PercentageSquareIcon.svg +1 -1
  846. package/mobile/src/icons/PercentageSquareWhiteIcon.svg +1 -1
  847. package/mobile/src/icons/PersonalCardIcon.svg +1 -1
  848. package/mobile/src/icons/PlusIcon.svg +1 -1
  849. package/mobile/src/icons/Profile2UserIcon.svg +1 -1
  850. package/mobile/src/icons/RoundRubleIcon.svg +1 -1
  851. package/mobile/src/icons/SafeIcon.svg +1 -1
  852. package/mobile/src/icons/ShieldTickIcon.svg +1 -1
  853. package/mobile/src/icons/SignDocsIcon.svg +0 -2
  854. package/mobile/src/icons/SmallClockIcon.svg +1 -1
  855. package/mobile/src/icons/TelegramIcon.svg +2 -1
  856. package/mobile/src/icons/UnionPayIcon.svg +1 -1
  857. package/mobile/src/icons/UserTickIcon.svg +1 -1
  858. package/mobile/src/icons/VKIcon.svg +2 -1
  859. package/mobile/src/icons/VisaIcon.svg +1 -1
  860. package/mobile/src/icons/WalletAdd2Icon.svg +1 -1
  861. package/mobile/src/icons/WalletAddIcon.svg +1 -1
  862. package/mobile/src/icons/WalletIcon.svg +1 -1
  863. package/mobile/src/icons/WalletWithMoneyIcon.svg +1 -1
  864. package/mobile/src/index.ts +1 -1
  865. package/mobile/src/model/ButtonVersion.ts +1 -1
  866. package/mobile/src/types.ts +6 -5
  867. package/mobile/src/ui-kit/BlockItem/BlockItem.tsx +11 -14
  868. package/mobile/src/ui-kit/BlockItem/BlockItemProps.ts +2 -2
  869. package/mobile/src/ui-kit/Button/Button.tsx +11 -24
  870. package/mobile/src/ui-kit/Button/ButtonInner.tsx +37 -0
  871. package/mobile/src/ui-kit/Button/ButtonProps.ts +11 -0
  872. package/mobile/src/ui-kit/Button/ButtonSection.tsx +34 -0
  873. package/mobile/src/ui-kit/Description/Description.tsx +8 -0
  874. package/mobile/src/ui-kit/Description/DescriptionProps.ts +8 -0
  875. package/mobile/src/ui-kit/Heading/Heading.tsx +14 -5
  876. package/mobile/src/ui-kit/Heading/{HeadingProps.ts → HeadingContent.ts} +7 -4
  877. package/mobile/src/ui-kit/Icon/Icon.tsx +16 -3
  878. package/mobile/src/ui-kit/Icon/IconProps.ts +7 -0
  879. package/mobile/src/ui-kit/{Img.tsx → Img/Img.tsx} +9 -10
  880. package/mobile/src/ui-kit/Img/ImgProps.ts +9 -0
  881. package/mobile/src/ui-kit/List/List.tsx +24 -0
  882. package/mobile/src/ui-kit/List/ListContent.ts +4 -0
  883. package/mobile/src/ui-kit/List/ListItem.tsx +43 -0
  884. package/mobile/src/ui-kit/List/ListProps.ts +16 -0
  885. package/package.json +4 -4
  886. package/src/components/Accordion/Accordion.fixture.mobile.tsx +8 -8
  887. package/src/components/Accordion/Accordion.fixture.tsx +52 -8
  888. package/src/components/Accordion/Accordion.mobile.tsx +1 -1
  889. package/src/components/Accordion/Accordion.tsx +1 -1
  890. package/src/components/Accordion/AccordionBlocks.tsx +8 -0
  891. package/src/components/Accordion/AccordionContent.ts +49 -21
  892. package/src/components/Accordion/AccordionItem.mobile.tsx +1 -1
  893. package/src/components/Accordion/AccordionItem.tsx +1 -1
  894. package/src/components/BaseTile/BaseTile.tsx +10 -36
  895. package/src/components/BaseTile/BaseTileProps.ts +5 -7
  896. package/{mobile/src/components/BaseTile/getHeadingType.ts → src/components/BaseTile/getTileHeadingType.ts} +1 -1
  897. package/src/components/BaseTile/getTileMinHeight.ts +12 -0
  898. package/src/components/BaseTile/getTileRightPadding.ts +12 -0
  899. package/src/components/BenefitsBlock/BenefitsBlock.tsx +3 -1
  900. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +7 -4
  901. package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +1 -0
  902. package/src/components/ComparisonTable/ComparisonTable.tsx +5 -1
  903. package/src/components/ComparisonTable/HeaderCell.tsx +2 -2
  904. package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +3 -3
  905. package/src/components/ContentPage/ContentPage.fixture.tsx +3 -2
  906. package/src/components/ContentPage/ContentPage.page.json +1 -1
  907. package/src/components/ContentPage/ContentPage.tsx +2 -8
  908. package/src/components/ContentPage/isBlockInRegistry.ts +5 -0
  909. package/src/components/ContentPage/normalizeBlock.mobile.spec.ts +71 -0
  910. package/src/components/ContentPage/normalizeBlock.mobile.ts +6 -0
  911. package/src/components/ContentPage/normalizeBlock.spec.ts +50 -0
  912. package/src/components/ContentPage/normalizeBlock.ts +7 -0
  913. package/src/components/ContentPage/{toMobilePage.ts → normalizePage.mobile.ts} +13 -14
  914. package/src/components/ContentPage/normalizePage.ts +35 -0
  915. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +60 -36
  916. package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +3 -4
  917. package/src/components/Gallery/Gallery.fixture.mobile.tsx +103 -0
  918. package/src/components/Gallery/Gallery.fixture.tsx +5 -4
  919. package/src/components/Gallery/Gallery.mobile.tsx +57 -38
  920. package/src/components/Gallery/GalleryCardInner.tsx +8 -11
  921. package/src/components/Gallery/GalleryContainer.tsx +8 -9
  922. package/src/components/Gallery/GalleryContent.ts +9 -3
  923. package/src/components/Gallery/GalleryInner.tsx +1 -1
  924. package/src/components/Gallery/constants.ts +2 -2
  925. package/src/components/Header/HeaderSecondaryMenu.tsx +4 -4
  926. package/src/components/Headline/Headline.mobile.tsx +2 -2
  927. package/src/components/Headline/Headline.tsx +3 -1
  928. package/src/components/Headline/HeadlineContent.ts +11 -9
  929. package/src/components/LinkDocs/LinkDocs.mobile.tsx +10 -6
  930. package/src/components/LinkDocs/LinkDocs.tsx +4 -4
  931. package/src/components/LinkDocs/LinkDocsContent.ts +1 -1
  932. package/src/components/LinkDocs/LinkDocsList.tsx +1 -1
  933. package/src/components/LinkDocs/LinkDocsListItem.mobile.tsx +1 -1
  934. package/src/components/LinkDocs/LinkDocsListItem.tsx +1 -1
  935. package/src/components/LinkDocs/LinkDocsListItemBase.tsx +1 -1
  936. package/src/components/LinkDocs/LinkDocsVerticalList.tsx +1 -1
  937. package/src/components/LinkDocs/linkDocsContentExample.ts +0 -1
  938. package/src/components/MiniGallery/MiniGallery.fixture.tsx +1 -1
  939. package/src/components/MobileAppTile/MobileAppTile.tsx +47 -20
  940. package/src/components/MobileAppTile/MobileAppTileContent.ts +11 -15
  941. package/src/components/PictureText/PictureText.tsx +4 -3
  942. package/src/components/PictureText/PictureTextContent.ts +5 -2
  943. package/src/components/Placeholder/PlaceholderContent.ts +3 -3
  944. package/src/components/ProductBlock/ProductBlock.fixture.tsx +3 -0
  945. package/src/components/ProductBlock/ProductBlockContent.ts +21 -10
  946. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +26 -11
  947. package/src/components/ProductBlock/ProductBlockInner.tsx +28 -12
  948. package/src/components/ProductBlock/renderBenefit.mobile.tsx +1 -0
  949. package/src/components/ProductBlock/renderBenefit.tsx +1 -0
  950. package/src/components/ProductGallery/ProductGallery.fixture.tsx +4 -0
  951. package/src/components/ProductGallery/ProductGallery.tsx +2 -2
  952. package/src/components/ProductGallery/ProductGalleryBlock.mobile.tsx +4 -4
  953. package/src/components/ProductGallery/ProductGalleryBlock.tsx +4 -4
  954. package/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
  955. package/src/components/ProductTile/ProductTile.fixture.tsx +28 -0
  956. package/src/components/ProductTile/ProductTile.tsx +63 -15
  957. package/src/components/ProductTile/ProductTileContent.ts +17 -9
  958. package/src/components/PromoTile/PromoTile.tsx +41 -14
  959. package/src/components/PromoTile/PromoTileContent.ts +11 -5
  960. package/src/components/StepsBlock/StepsBlock.mobile.tsx +2 -2
  961. package/src/components/StepsBlock/StepsBlock.tsx +1 -1
  962. package/src/components/TariffsTable/TariffsTable.tsx +5 -1
  963. package/src/components/TariffsTable/TariffsTableCell.tsx +3 -2
  964. package/src/components/TariffsTable/TariffsTableContent.ts +5 -11
  965. package/src/components/TariffsTable/TariffsTableRow.tsx +1 -0
  966. package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +28 -13
  967. package/src/components/TextBlock/TextBlock.mobile.tsx +20 -16
  968. package/src/components/TextBlock/TextBlock.tsx +1 -1
  969. package/src/components/TextBlock/TextBlockContent.ts +4 -1
  970. package/src/components/Tile/Tile.fixture.tsx +37 -23
  971. package/src/components/Tile/Tile.tsx +46 -27
  972. package/src/components/Tile/TileContent.ts +13 -2
  973. package/src/content-page-repository/ContentPageRepository.ts +0 -12
  974. package/src/icons/ActualBalanceIcon.svg +0 -2
  975. package/src/icons/AtmIcon.svg +5 -5
  976. package/src/icons/BankIcon.svg +9 -9
  977. package/src/icons/BurgerIcon.svg +1 -1
  978. package/src/icons/BurgerIconWhite.svg +1 -1
  979. package/src/icons/Calendar2Icon.svg +1 -1
  980. package/src/icons/CalendarCircleIcon.svg +1 -1
  981. package/src/icons/CalendarIcon.svg +1 -1
  982. package/src/icons/CalendarTickIcon.svg +1 -1
  983. package/src/icons/CalendarWhiteIcon.svg +1 -1
  984. package/src/icons/CardIcon.svg +1 -1
  985. package/src/icons/CardPosIcon.svg +1 -1
  986. package/src/icons/CardTickIcon.svg +1 -1
  987. package/src/icons/CardWithGemIcon.svg +1 -1
  988. package/src/icons/ChartSquareIcon.svg +1 -1
  989. package/src/icons/ClockIcon.svg +0 -2
  990. package/src/icons/CloseIcon.svg +1 -1
  991. package/src/icons/ComfortableCompIcon.svg +0 -2
  992. package/src/icons/CreditCardsIcon.svg +1 -1
  993. package/src/icons/DiscountShapeIcon.svg +1 -1
  994. package/src/icons/DocIcon.svg +4 -4
  995. package/src/icons/DocIconMonoColor.svg +5 -0
  996. package/src/icons/DocumentTextIcon.svg +3 -3
  997. package/src/icons/DollarIcon.svg +1 -1
  998. package/src/icons/EarthIcon.svg +1 -1
  999. package/src/icons/EmptyWalletChangeIcon.svg +1 -1
  1000. package/src/icons/EmptyWalletIcon.svg +1 -1
  1001. package/src/icons/EmptyWalletWhiteIcon.svg +1 -1
  1002. package/src/icons/EuroIcon.svg +1 -1
  1003. package/src/icons/GeolocationIcon.svg +3 -3
  1004. package/src/icons/GlobalIcon.svg +1 -1
  1005. package/src/icons/IconName.ts +3 -3
  1006. package/src/icons/InterestGrowthIcon.svg +1 -1
  1007. package/src/icons/InterestIcon.svg +1 -1
  1008. package/src/icons/JCBIcon.svg +1 -1
  1009. package/src/icons/MasterCardIcon.svg +1 -1
  1010. package/src/icons/MinusIcon.svg +1 -1
  1011. package/src/icons/MirIcon.svg +1 -1
  1012. package/src/icons/MoneyIcon.svg +1 -1
  1013. package/src/icons/MoneyInsuranceIcon.svg +1 -1
  1014. package/src/icons/MonitorMobileIcon.svg +1 -1
  1015. package/src/icons/NewDocIcon.svg +0 -2
  1016. package/src/icons/OfficeIcon.svg +1 -1
  1017. package/src/icons/OkIcon.svg +1 -1
  1018. package/src/icons/PassSendIcon.svg +0 -2
  1019. package/src/icons/PercentageRoundIcon.svg +1 -1
  1020. package/src/icons/PercentageSquareIcon.svg +1 -1
  1021. package/src/icons/PercentageSquareWhiteIcon.svg +1 -1
  1022. package/src/icons/PersonalCardIcon.svg +1 -1
  1023. package/src/icons/PlusIcon.svg +1 -1
  1024. package/src/icons/Profile2UserIcon.svg +1 -1
  1025. package/src/icons/RoundRubleIcon.svg +1 -1
  1026. package/src/icons/SafeIcon.svg +1 -1
  1027. package/src/icons/ShieldTickIcon.svg +1 -1
  1028. package/src/icons/SignDocsIcon.svg +0 -2
  1029. package/src/icons/SmallClockIcon.svg +1 -1
  1030. package/src/icons/TelegramIcon.svg +2 -1
  1031. package/src/icons/UnionPayIcon.svg +1 -1
  1032. package/src/icons/UserTickIcon.svg +1 -1
  1033. package/src/icons/VKIcon.svg +2 -1
  1034. package/src/icons/VisaIcon.svg +1 -1
  1035. package/src/icons/WalletAdd2Icon.svg +1 -1
  1036. package/src/icons/WalletAddIcon.svg +1 -1
  1037. package/src/icons/WalletIcon.svg +1 -1
  1038. package/src/icons/WalletWithMoneyIcon.svg +1 -1
  1039. package/src/index.ts +1 -1
  1040. package/src/model/ButtonVersion.ts +1 -1
  1041. package/src/types.ts +6 -5
  1042. package/src/ui-kit/BlockItem/BlockItem.tsx +11 -14
  1043. package/src/ui-kit/BlockItem/BlockItemProps.ts +2 -2
  1044. package/src/ui-kit/Button/Button.fixture.tsx +2 -2
  1045. package/src/ui-kit/Button/Button.mobile.tsx +11 -24
  1046. package/src/ui-kit/Button/Button.tsx +55 -51
  1047. package/src/ui-kit/Button/ButtonInner.tsx +37 -0
  1048. package/src/ui-kit/Button/ButtonProps.ts +11 -0
  1049. package/src/ui-kit/Button/ButtonSection.tsx +34 -0
  1050. package/src/ui-kit/Description/Description.tsx +8 -0
  1051. package/src/ui-kit/Description/DescriptionProps.ts +8 -0
  1052. package/src/ui-kit/Heading/Heading.fixture.mobile.tsx +7 -6
  1053. package/src/ui-kit/Heading/Heading.fixture.tsx +6 -6
  1054. package/src/ui-kit/Heading/Heading.mobile.tsx +14 -5
  1055. package/src/ui-kit/Heading/Heading.tsx +14 -5
  1056. package/src/ui-kit/Heading/{HeadingProps.ts → HeadingContent.ts} +7 -4
  1057. package/src/ui-kit/Icon/Icon.fixture.tsx +13 -2
  1058. package/src/ui-kit/Icon/Icon.tsx +16 -3
  1059. package/src/ui-kit/Icon/IconProps.ts +7 -0
  1060. package/src/ui-kit/{Img.mobile.tsx → Img/Img.mobile.tsx} +9 -10
  1061. package/src/ui-kit/{Img.tsx → Img/Img.tsx} +1 -1
  1062. package/src/ui-kit/Img/ImgProps.ts +9 -0
  1063. package/src/ui-kit/List/List.tsx +24 -0
  1064. package/src/ui-kit/List/ListContent.ts +4 -0
  1065. package/src/ui-kit/List/ListItem.tsx +43 -0
  1066. package/src/ui-kit/List/ListProps.ts +16 -0
  1067. package/dist/components/BaseTile/BaseTile.mobile.d.ts +0 -5
  1068. package/dist/components/BaseTile/BaseTile.mobile.js +0 -17
  1069. package/dist/components/BaseTile/BaseTile.mobile.js.map +0 -1
  1070. package/dist/components/BaseTile/BaseTileInner.d.ts +0 -5
  1071. package/dist/components/BaseTile/BaseTileInner.js +0 -14
  1072. package/dist/components/BaseTile/BaseTileInner.js.map +0 -1
  1073. package/dist/components/BaseTile/BaseTileInner.mobile.d.ts +0 -5
  1074. package/dist/components/BaseTile/BaseTileInner.mobile.js +0 -14
  1075. package/dist/components/BaseTile/BaseTileInner.mobile.js.map +0 -1
  1076. package/dist/components/BaseTile/getHeadingType.d.ts +0 -1
  1077. package/dist/components/BaseTile/getHeadingType.js.map +0 -1
  1078. package/dist/components/BaseTile/renderButton.d.ts +0 -2
  1079. package/dist/components/BaseTile/renderButton.js +0 -12
  1080. package/dist/components/BaseTile/renderButton.js.map +0 -1
  1081. package/dist/components/BaseTile/renderButton.mobile.d.ts +0 -2
  1082. package/dist/components/BaseTile/renderButton.mobile.js +0 -13
  1083. package/dist/components/BaseTile/renderButton.mobile.js.map +0 -1
  1084. package/dist/components/BaseTile/renderItems.d.ts +0 -2
  1085. package/dist/components/BaseTile/renderItems.js +0 -9
  1086. package/dist/components/BaseTile/renderItems.js.map +0 -1
  1087. package/dist/components/BaseTile/renderItems.mobile.d.ts +0 -2
  1088. package/dist/components/BaseTile/renderItems.mobile.js +0 -9
  1089. package/dist/components/BaseTile/renderItems.mobile.js.map +0 -1
  1090. package/dist/components/ContentPage/toMobilePage.d.ts +0 -2
  1091. package/dist/components/ContentPage/toMobilePage.js +0 -34
  1092. package/dist/components/ContentPage/toMobilePage.js.map +0 -1
  1093. package/dist/ui-kit/Heading/HeadingProps.js.map +0 -1
  1094. package/dist/ui-kit/Img.js.map +0 -1
  1095. package/dist/ui-kit/Img.mobile.js.map +0 -1
  1096. package/lib/components/BaseTile/BaseTile.mobile.d.ts +0 -5
  1097. package/lib/components/BaseTile/BaseTile.mobile.js +0 -15
  1098. package/lib/components/BaseTile/BaseTile.mobile.js.map +0 -1
  1099. package/lib/components/BaseTile/BaseTileInner.d.ts +0 -5
  1100. package/lib/components/BaseTile/BaseTileInner.js +0 -12
  1101. package/lib/components/BaseTile/BaseTileInner.js.map +0 -1
  1102. package/lib/components/BaseTile/BaseTileInner.mobile.d.ts +0 -5
  1103. package/lib/components/BaseTile/BaseTileInner.mobile.js +0 -12
  1104. package/lib/components/BaseTile/BaseTileInner.mobile.js.map +0 -1
  1105. package/lib/components/BaseTile/getHeadingType.d.ts +0 -1
  1106. package/lib/components/BaseTile/getHeadingType.js.map +0 -1
  1107. package/lib/components/BaseTile/renderButton.d.ts +0 -2
  1108. package/lib/components/BaseTile/renderButton.js +0 -9
  1109. package/lib/components/BaseTile/renderButton.js.map +0 -1
  1110. package/lib/components/BaseTile/renderButton.mobile.d.ts +0 -2
  1111. package/lib/components/BaseTile/renderButton.mobile.js +0 -10
  1112. package/lib/components/BaseTile/renderButton.mobile.js.map +0 -1
  1113. package/lib/components/BaseTile/renderItems.d.ts +0 -2
  1114. package/lib/components/BaseTile/renderItems.js +0 -6
  1115. package/lib/components/BaseTile/renderItems.js.map +0 -1
  1116. package/lib/components/BaseTile/renderItems.mobile.d.ts +0 -2
  1117. package/lib/components/BaseTile/renderItems.mobile.js +0 -6
  1118. package/lib/components/BaseTile/renderItems.mobile.js.map +0 -1
  1119. package/lib/components/ContentPage/toMobilePage.d.ts +0 -2
  1120. package/lib/components/ContentPage/toMobilePage.js.map +0 -1
  1121. package/lib/ui-kit/Heading/HeadingProps.js +0 -2
  1122. package/lib/ui-kit/Heading/HeadingProps.js.map +0 -1
  1123. package/lib/ui-kit/Img.js.map +0 -1
  1124. package/lib/ui-kit/Img.mobile.js.map +0 -1
  1125. package/mobile/dist/components/BaseTile/BaseTileInner.d.ts +0 -5
  1126. package/mobile/dist/components/BaseTile/BaseTileInner.js +0 -14
  1127. package/mobile/dist/components/BaseTile/BaseTileInner.js.map +0 -1
  1128. package/mobile/dist/components/BaseTile/getHeadingType.d.ts +0 -1
  1129. package/mobile/dist/components/BaseTile/getHeadingType.js.map +0 -1
  1130. package/mobile/dist/components/BaseTile/renderButton.d.ts +0 -2
  1131. package/mobile/dist/components/BaseTile/renderButton.js +0 -13
  1132. package/mobile/dist/components/BaseTile/renderButton.js.map +0 -1
  1133. package/mobile/dist/components/BaseTile/renderItems.d.ts +0 -2
  1134. package/mobile/dist/components/BaseTile/renderItems.js +0 -9
  1135. package/mobile/dist/components/BaseTile/renderItems.js.map +0 -1
  1136. package/mobile/dist/components/ContentPage/toMobilePage.d.ts +0 -2
  1137. package/mobile/dist/components/ContentPage/toMobilePage.js +0 -34
  1138. package/mobile/dist/components/ContentPage/toMobilePage.js.map +0 -1
  1139. package/mobile/dist/ui-kit/Heading/HeadingProps.js.map +0 -1
  1140. package/mobile/dist/ui-kit/Img.js.map +0 -1
  1141. package/mobile/lib/components/BaseTile/BaseTileInner.d.ts +0 -5
  1142. package/mobile/lib/components/BaseTile/BaseTileInner.js +0 -12
  1143. package/mobile/lib/components/BaseTile/BaseTileInner.js.map +0 -1
  1144. package/mobile/lib/components/BaseTile/getHeadingType.d.ts +0 -1
  1145. package/mobile/lib/components/BaseTile/getHeadingType.js.map +0 -1
  1146. package/mobile/lib/components/BaseTile/renderButton.d.ts +0 -2
  1147. package/mobile/lib/components/BaseTile/renderButton.js +0 -10
  1148. package/mobile/lib/components/BaseTile/renderButton.js.map +0 -1
  1149. package/mobile/lib/components/BaseTile/renderItems.d.ts +0 -2
  1150. package/mobile/lib/components/BaseTile/renderItems.js +0 -6
  1151. package/mobile/lib/components/BaseTile/renderItems.js.map +0 -1
  1152. package/mobile/lib/components/ContentPage/toMobilePage.d.ts +0 -2
  1153. package/mobile/lib/components/ContentPage/toMobilePage.js.map +0 -1
  1154. package/mobile/lib/ui-kit/Heading/HeadingProps.js +0 -2
  1155. package/mobile/lib/ui-kit/Heading/HeadingProps.js.map +0 -1
  1156. package/mobile/lib/ui-kit/Img.js.map +0 -1
  1157. package/mobile/src/components/BaseTile/BaseTileInner.tsx +0 -31
  1158. package/mobile/src/components/BaseTile/renderButton.tsx +0 -20
  1159. package/mobile/src/components/BaseTile/renderItems.tsx +0 -12
  1160. package/src/components/BaseTile/BaseTile.mobile.tsx +0 -52
  1161. package/src/components/BaseTile/BaseTileInner.mobile.tsx +0 -31
  1162. package/src/components/BaseTile/BaseTileInner.tsx +0 -37
  1163. package/src/components/BaseTile/renderButton.mobile.tsx +0 -20
  1164. package/src/components/BaseTile/renderButton.tsx +0 -17
  1165. package/src/components/BaseTile/renderItems.mobile.tsx +0 -12
  1166. package/src/components/BaseTile/renderItems.tsx +0 -12
  1167. package/src/components/ContentPage/ContentPage.page.mobile.json +0 -508
@@ -1 +1 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).UniMobileBlocks={})}(this,(function(e){"use strict";const t=(e,n)=>{t._jsx=e,t._jsxs=n||e};t.vue=e=>{t(((t,{children:n,dangerouslySetInnerHTML:r,...a}={})=>{const i=Object.assign({},a,r?{innerHTML:r.__html}:{});return e(t,i,"string"!=typeof t?()=>n:n)}))};const n=(...e)=>t._jsx(...e),r=(...e)=>t._jsxs(...e),a=e=>(e._tmpl||(e._tmpl=function(t,n){const{children:r,...a}=t||{},i=n?.slots?.default,l=r||i&&i();return e(Object.assign(a,l&&{children:l}),n)},e._tmpl.inheritAttrs=!1),e._tmpl);const i="likesToken";const l=new class{_={PROD_BRANCH:"master",FORCED_DRAFT_FLOW:!1};setup(e){this._=e}get TEST_BRANCH(){return this._.TEST_BRANCH}get RC_BRANCH(){return this._.RC_BRANCH}get PROD_BRANCH(){return this._.PROD_BRANCH}get FORCED_DRAFT_FLOW(){return this._.FORCED_DRAFT_FLOW}get ENABLE_ASSIST(){return this._.ENABLE_ASSIST}get SITEMAP(){return this._.SITEMAP}get CDN(){return this._.CDN}},s=a((({className:e="",name:t,alt:a=`Icon ${t}`,title:i=a,asSVG:s,...c})=>{const o=`${l.CDN||""}icons/${t}.svg`;return s?r("svg",{className:e,...c,"aria-hidden":"true",children:[i?n("title",{children:i}):null,a?n("desc",{children:a}):null,n("use",{href:`${o}#icon`,xlinkHref:`${o}#icon`})]}):n("img",{className:e,src:o,alt:a,title:i,...c,"aria-hidden":"true"})})),c=e=>{const t="col-span-",n=e.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12},o={h1:"text-m-title",h2:"text-m-title",h3:"text-m-title-md",h4:"text-m-title-xs",h5:"text-m-title-xs",h6:"text-m-title-xs"},d=a((e=>{const{className:t,type:r,text:a}=e;return n(r,{className:`font-sans font-medium ${o[r]} ${t||""}`,children:a})})),m=e=>e?.includes("//"),h=e=>(e||"").replace(/\/?\?.*/,""),u=e=>{if(!e||!m(e))return;const t=e,n=t.indexOf("//"),r=t.indexOf("/",n+"//".length);return-1!==r?t.substring(0,r):t};var x=Object.freeze({__proto__:null,isURL:m,withoutQuery:h,getOrigin:u});const p="/mobile",f=(e,t)=>{if(!e)return e;const n=u(t?.href);return n?e.replace(n,"")||"/":e},b=e=>e;function g({router:e,handlerDecorator:t=b},n){const r=((e,t)=>{if(!e)return e;const n=f(e,t)||"",r=t?.pathname.startsWith(p);return r&&!m(n)?`/mobile${n}`:n})(n.href,e);return{...n,href:r,ariaLabel:n.text,onClick:t((t=>{const a=r&&!m(r),i=!n.target||"_self"===n.target;a&&i&&(t.preventDefault(),e.push(r))}),n)}}const N=a((({className:e="",image:{size:t,...a}})=>{const i={width:t?.width?`${t?.width}px`:"100%",height:t?.height?`${t?.height}px`:"100%"};return r("picture",{className:e,children:[a.sources?.length?a.sources.map((({src:e,format:t},r)=>n("source",{srcSet:e,type:v(t)},`${r}_${e}`))):null,n("img",{src:a.src,className:`m-auto ${a.className||""}`,alt:a.alt||a.title,title:a.title,style:i,...t})]})}));function v(e){return e?`image/${String(e)}`:void 0}const y={primary:"text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active",secondary:"text-primary-main bg-secondary-light hover:bg-secondary-hover active:bg-secondary-active"},w={primary:"bg-secondary-dark text-secondary-text",secondary:"bg-secondary-light text-secondary-text"},k="w-full text-center font-sans select-none",$=a((({className:e,text:t,aboveText:r,appendLeft:a,href:i,target:l,onClick:s,children:c,disabled:o,rounded:d,version:m="none",ariaLabel:h,...u})=>{const x=c??n(S,{text:t,aboveText:r,appendLeft:a,rounded:d});return o?n("div",{role:"button","aria-disabled":"true","aria-label":h,tabIndex:"-1",className:`inline-block ${k} ${w[m]||""} ${d?"rounded-full":"rounded-md"} ${e||""}`,children:x}):n("a",{className:`${k} inline-block cursor-pointer no-underline ${y[m]||""} ${d?"rounded-full":"rounded-md"} ${e||""}`,href:i,target:l,onClick:s,"aria-label":h,role:i?"link":"button",...u,children:x})})),S=a((({text:e,aboveText:t,appendLeft:a,rounded:i})=>{const l=!e&&!t&&Boolean(a);return r("div",{className:`flex items-center justify-center ${l?"h-12 w-12":"px-9 gap-2 "+(t?"py-2":"py-3.5")} ${i?"rounded-full":""}`,children:[a||null,l?null:r("div",{children:[n("div",{className:"text-m-2xs text-left",children:t}),n("div",{className:"text-m-button font-medium text-left",children:e})]})]})})),C="first:mt-0 mt-3";const _={primary:"text-primary-text",secondary:""},D={primary:"bg-primary-main",secondary:"bg-white"},T=a((({className:e="",isDotted:t=!0,text:a,children:i,version:l="primary",white:s})=>r("div",{className:`font-sans flex items-baseline ${e}`,role:"listitem",children:[t&&n("div",{className:j(l,s)}),n("span",{className:s?"text-white":_[l],children:a||i})]}))),j=(e,t)=>`rounded-full inline-block mr-3 ${t?"bg-white":D[e]} ${"primary"===e?"w-2 h-2 min-w-2 min-h-2 mt-2":"w-[6px] h-[6px] min-w-[6px] min-h-[6px] mt-2.5"}`;function I(e=[],t){return n("section",{className:"mt-3",role:"list",children:e.map(((e,r)=>n(T,{className:"mt-1.5 first:mt-0",text:e,version:t},String(r))))})}const B=a((({context:e,description:t,children:a,buttons:i,image:l,items:c,version:o="primary"})=>{const d=e.useRouter(),{handlerDecorator:m}=e;return r("div",{children:[t&&n("div",{className:"font-normal text-base mt-3",children:t}),a,c?.length&&I(c,o),i?.length&&n("div",{className:"mt-[18px]",children:i.map(((e,t)=>function({icon:e,...t},r){if(t?.text)return n($,e?{className:C,appendLeft:n(s,{name:e,width:"24",height:"24"}),...t}:{className:C,...t},String(r))}(g({router:d,handlerDecorator:m},e),t)))}),l?.src&&n(N,{className:"mt-auto ml-7",image:l})]})}));function R(e=""){const t=c(e);return t<=4?"h4":t<=8?"h3":"h2"}const L={left:"items-start",center:"items-center",right:"items-end"},O=a((({className:e,context:t,title:a,headingType:i,description:l,children:s,buttons:c,image:o,items:m,version:h="primary",align:u="left"})=>r("div",{className:`font-sans flex flex-col grow h-full ${L[u]}`,children:[a&&n(d,{type:i||R(e),className:"font-medium m-0 whitespace-pre-wrap max-w-[600px] "+("primary"===h?"text-primary-text":""),text:a}),n(B,{context:t,buttons:c,image:o,children:s,description:l,items:m})]}))),A={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},M=a((e=>{const{children:t,className:r="",version:a="primary",role:i}=e;return n("section",{className:`font-sans p-9 box-border ${r||""} ${A[a]} ${V(r)} ${P(r)} `,role:i,children:n(O,{...e,children:t})})}));function V(e=""){const t=c(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}function P(e=""){const t=c(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}const H="https://www.cbr-xml-daily.ru/daily_json.js",Z=["USD","EUR"],E={USD:"DollarIcon",EUR:"EuroIcon"},F=[{text:"Все показатели",href:"https://cbr.ru/currency_base/daily/",version:"secondary"}],W=a((({className:e,context:t,title:a})=>{const{data:i}=t.useAsyncData(H,U);return n(M,{className:e,context:t,title:a||"Курсы обмена валют",buttons:F,children:r("table",{children:[n("thead",{children:r("tr",{children:[n(z,{children:"Валюта"}),n(z,{className:"pl-11",children:"Курс"})]})}),n("tbody",{children:Z.map((e=>{const t=(i?.Valute||{})[e]?.Value;return r("tr",{children:[n(G,{className:"pt-4",children:r("div",{className:"flex items-center",children:[n(s,{name:E[e],width:"24",height:"24"}),n("span",{className:"ml-2",children:e})]})}),n(G,{className:"pt-4 pl-11",children:K(t)})]},e)}))})]})})})),z=a((({className:e="",children:t})=>n("th",{className:`text-left font-normal text-sm text-secondary-text ${e}`,children:t}))),G=a((({className:e="",children:t})=>n("td",{className:`text-left font-normal text-base text-primary-text ${e}`,children:t})));async function U(){const e=await fetch(H);return await e.json()}const J=new Intl.NumberFormat("ru",{style:"currency",currency:"RUB"}),K=e=>e?J.format(e):"",Q=a((({bgColor:e="transparent",className:t="",title:a,description:i,image:l})=>r("section",{className:`px-4 py-6 ${e} ${t}`,children:[a&&n(d,{type:"h2",className:"text-primary-text",text:a}),i&&n("p",{className:"font-normal text-m-md "+(a?"mt-2.5":""),children:i}),l?.src&&n("div",{className:"mt-5 mx-auto flex justify-center",children:n(N,{image:l})})]}))),X=a((({className:e,iconClassName:t,textClassName:a,suffixClassName:i,doc:l,icon:c})=>{const{text:o,fileSize:d,...m}=l;return r("a",{className:e,role:"link",...m,children:[c?n(s,{className:t,name:c,width:"24px",height:"24px",asSVG:!0}):null,o?r("span",{className:a,children:[o,n("span",{className:i,children:m?.href&&Y(q(m.href),d)})]}):null]})})),Y=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),q=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},ee=a((({className:e="",doc:t,icon:r})=>n(X,{className:`flex h-full ${e}`,iconClassName:"mr-2.5 min-w-6 min-h-6",doc:t,icon:r}))),te=a((({hasBorder:e=!0,documents:t,icon:r})=>n("div",{className:"text-m-sm text-primary-main flex flex-col "+(e?"gap-3.5":"gap-2"),role:"list",children:t?.length?t.map(((t,a)=>n("div",{role:"listitem",children:n(ee,{className:e?"rounded-md border-main-stroke border p-4":"",doc:t,icon:r})},String(a)))):null}))),ne=a((({className:e="",children:t,...r})=>n("div",{className:`snap-center snap-always min-w-full ${e}`,role:"listitem",...r,children:t}))),re=e=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e}px`}),ae=a((({className:e="",children:t,activeIndex:r,onScroll:a,gap:i=14,padding:l=16})=>n("div",{className:`overflow-auto flex horizontal-list no-scrollbar ${e}`,style:{...re(l),gap:`${i}px`},role:"list",onScroll:a,children:t?.length?t?.map(((e,t)=>n(ne,{style:re(l/4),"aria-current":Boolean(r===t),children:e},String(t)))):n(ne,{children:t})}))),ie=a((({children:e,activeIndex:t,indexFraction:r,showDots:a})=>a&&e?.length?n("div",{className:"flex gap-2 mx-auto mt-[22px] w-fit",children:e?.map(((e,a)=>n("div",{className:"bg-primary-main opacity-30 w-1.5 h-1.5 min-w-1.5 min-h-1.5 rounded-full",style:le(a,t,r),"aria-hidden":!0},String(a))))}):null)),le=(e,t,n)=>{if(e<t||e>t+1)return null;const r=1-n;return e===t?{opacity:""+(.3+.7*r),width:6+16*r+"px"}:{opacity:""+(.3+.7*n),width:6+16*n+"px"}},se=a((({className:e,context:t,children:a,gap:i=14,padding:l=16,showDots:s=!0})=>{const[c,o]=t.useState(0),[d,m]=t.useState(0);return r("div",{className:e,children:[n(ae,{gap:i,padding:l,activeIndex:c,onScroll:e=>{const{scrollLeft:t,clientWidth:n,childElementCount:r,scrollWidth:a,children:s}=e.currentTarget,c=s[0].offsetWidth-l/2,d=(({gap:e,padding:t,clientWidth:n,scrollWidth:r,childElementCount:a,itemWidth:i})=>{const l=i+e,s=r-n,c=n-e-t,o=a-2,d=new Array(a).fill(0).map(((e,t)=>0===t||t===o?[t>0?s-c:0,t>0?s:c]:[(t-1)*l+c,t*l+c]));return d[a-1]=[s,r],d})({gap:i,padding:l,clientWidth:n,scrollWidth:a,childElementCount:r,itemWidth:c}),{index:h,fraction:u}=((e,t)=>{const n=t.findIndex((([t,n])=>t<=e&&e<n));if(n<0)return{index:n,fraction:0};const[r,a]=t[n];return{index:n,fraction:(e-r)/(a-r)}})(t,d);o(h),m(u)},children:a}),n(ie,{activeIndex:c,indexFraction:d,showDots:s,children:a})]})})),ce=a((({context:e,hasBorder:t=!0,documents:r,icon:a})=>n(se,{context:e,className:"text-m-sm text-primary-main",children:r?.length?r.map(((e,r)=>n(ee,{className:t?"rounded-md border-main-stroke border p-4":"",doc:e,icon:a},String(r)))):null}))),oe=a((({className:e="",context:t,title:a,subtitle:i,icon:l="DocIcon",documents:s,listMode:c="vertical",hasBorder:o=!0})=>r("section",{className:`py-6 px-4 bg-white ${e}`,children:[a?n(d,{type:"h2",className:"text-center "+(i?"mb-2":"mb-5"),text:a}):null,i?n("h3",{className:"mb-5 text-center text-m-base",children:i}):null,"vertical"===c?n(te,{hasBorder:o,documents:s,icon:l}):n(ce,{context:t,hasBorder:o,documents:s,icon:l})]}))),de=a((({className:e,title:t,image:a,benefits:i})=>r("section",{className:`relative font-sans text-primary-text bg-white p-14 ${e}`,children:[n(d,{type:"h2",className:"text-center",text:t}),r("div",{className:"flex justify-center mt-9",children:[a?.src&&n(N,{className:"mr-6",image:a}),i?.length?n("div",{className:"flex flex-col",children:i.map(me)}):null]})]})));function me(e,t){return r("div",{className:"flex flex-row mb-8",children:[e.icon&&n(s,{className:"w-[48px] h-[48px] bg-main rounded-full box-border p-[12px]",name:e.icon,width:"48",height:"48"}),r("div",{className:"flex gap-1 flex-col h-full ml-5 max-w-[490px]",children:[e.label&&n("div",{className:"font-medium text-primary-text text-xl m-0",children:e.label}),e.description&&n("div",{className:"font-normal text-sm text-secondary-text",children:e.description})]})]},String(t))}const he={primary:{background:"bg-white",icon:"bg-primary-main text-white",title:"text-primary-text",description:"text-secondary-text"},secondary:{background:"bg-primary-main",icon:"bg-white text-primary-main",title:"text-white",description:"text-white"},"secondary-light":{background:"bg-primary-main/10",icon:"bg-primary-main text-white",title:"text-primary-text",description:"text-secondary-text"}},ue=a((({title:e,description:t,blockVersion:a="primary",iconVersion:i,image:l,className:s="",items:c})=>{const o=he[a];return r("section",{className:`font-sans px-4 py-[18px] flex flex-col ${o.background} ${s}`,children:["small"===i?pe(o.icon):null,"big"===i?fe(l):null,r("div",{className:"py-0.5",children:[e?n("div",{className:`font-medium text-base mb-1 ${o.title}`,children:e}):null,t?n("div",{className:`text-sm ${o.description}`,children:t}):null,c?.length?xe(c):null]})]})}));function xe(e=[],t){return n("section",{className:"mt-1",role:"list",children:e.map(((e,r)=>n(T,{text:e,version:t},String(r))))})}function pe(e){return n("div",{className:"mb-3",children:n("div",{className:`rounded-full h-4 w-4 text-center text-xs ${e}`,children:"i"})})}function fe(e){return e?.src?n(N,{className:"pb-3 mr-auto",image:e}):null}const be={Headline:Q,LinkDocs:oe,TextBlock:ue,PictureText:de},ge=a((({blocks:e,context:t})=>n("div",{className:"transition-all duration-300 max-h-0 overflow-hidden group-last:last:pb-0 ",children:e?.length?e.map(Ne(t)):null}))),Ne=e=>(t,r)=>{const a=t?.accordionBlockType;if(!a||!(a in be))return null;return n("div",{className:"mb-5 last:mb-0 py-2.5",children:n(be[a],{context:e,...t,className:"!p-0"})},`block_${r}`)},ve=a((({label:e,blocks:t,bordered:a,context:i})=>{const{hasContent:l,icon:c,handleToggle:o}=(({context:e,blocks:t})=>{const[n,r]=e.useState(!1),a=t?.length;return{isActive:n,hasContent:a,icon:n?"MinusIcon":"PlusIcon",handleToggle:e=>{if(!a)return;r(!n);const t=(({target:e})=>"BUTTON"===e.tagName?e.nextSibling:e.parentNode.nextSibling)(e);t.style.maxHeight=t.style.maxHeight?null:`${t.scrollHeight}px`}}})({context:i,blocks:t});return r("li",{className:(a?"border p-4 rounded mb-4":"border-0 border-b last:border-b-0 py-[14px]")+" border-solid border-main-divider",children:[r("button",{className:"border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text\n "+(l?"group cursor-pointer":""),onClick:o,children:[n("span",{className:"text-m-title-xs pr-2.5 font-medium "+(l?"group-hover:text-primary-main":""),children:e}),l?n(s,{name:c,width:"24",height:"24"}):null]}),l?n(ge,{blocks:t,context:i}):null]})})),ye=a((({title:e,description:t,accordionItems:a,context:i,className:l="",bordered:s})=>r("section",{className:`py-6 font-sans bg-white text-primary-text ${s?"px-4":""} ${l}`,children:[e?n(d,{type:"h3",className:"mb-2 text-center",text:e}):null,t?n("div",{className:"mb-5 text-m-md text-center",children:t}):null,a?.length?n("ul",{className:"list-none m-0 p-0",children:a.map(((e,t)=>n(ve,{...e,context:i,bordered:s},`AccordionItem${t}`)))}):null]}))),we=a((({className:e,viewBox:t,fill:r="none",width:a,height:i,paths:l,...s})=>n("svg",{xmlns:"http://www.w3.org/2000/svg",className:e,viewBox:t,fill:r,width:a,height:i,children:l.map((({d:e,fill:t,...r},a)=>n("path",{d:e,fill:t||"currentColor",...s,...r},a)))}))),ke=["m13.72 25.51 4.42-4.33v-2.95l-4.42 4.32v2.96Zm0-10.98 4.42-4.35V7.41l-4.42 4.31v2.8Zm0 3.63 4.42-4.33v-2.78l-4.42 4.32v2.8ZM12.46 7.44l-.6-.56V0h-.66v6.22l-.58-.57V0h-.67v5l-.59-.58V0H8.7v6.56l4.44 4.33V0h-.67v7.44Zm1.26 14.35 4.42-4.33v-2.78L13.72 19v2.8Zm-5.03-.61 4.44 4.33v-2.96l-4.44-4.32v2.95Zm8.79-16.76-.59.58V0h-.66v5.66l-.6.56V0h-.66v6.87l-.58.57V0h-.67v10.9l4.42-4.34V0h-.66v4.42Zm-8.79 5.76 4.44 4.35v-2.8L8.69 7.4v2.77Zm0 3.65 4.44 4.33v-2.8l-4.44-4.3v2.77Zm0 3.63 4.44 4.33V19l-4.44-4.31v2.78Zm26.37 2.29H24.3a2.25 2.25 0 0 0 .36-1.22 2.32 2.32 0 0 0-2.33-2.31 2.32 2.32 0 0 0-2.31 2.31c0 .5.16.96.43 1.34a.74.74 0 0 0-.33.61c0 .26.14.49.33.62a2.32 2.32 0 0 0-.43 1.34 2.31 2.31 0 0 0 2.31 2.31 2.32 2.32 0 0 0 2.33-2.31c0-.45-.13-.87-.36-1.22h8.01v.49h-.8v.68h.8v.7h-.8v1.3h.8v-.58h1.17v.58h.79v-1.3h-.79v-.7h.79v-.68h-.79v-.5h1.58a.56.56 0 0 0 .56-.56v-.34a.57.57 0 0 0-.56-.56Zm-11.53 2.7a1.2 1.2 0 0 1-2.4 0c0-.24.08-.47.2-.66l.34-.56a.97.97 0 0 1-.34-.75c0-.3.13-.56.33-.74l-.32-.56a1.13 1.13 0 0 1-.2-.66 1.2 1.2 0 0 1 2.4 0c0 .49-.56 1.65-.56 1.65v.62c-.01.01.55 1.17.55 1.66ZM4.67 18.34v2.89c0 2.75 1.2 4.53 1.9 5.21l4.58 4.5c1.28 1.25 1.5 1.66 1.79 2.37v-3.2c0-2.84-1.44-3.94-2.19-4.67-1.73-1.68-2.89-2.8-3.82-3.73a8.98 8.98 0 0 1-2.26-3.37Zm6.08 14.24c-1.73-1.7-2.89-2.8-3.82-3.73a10 10 0 0 1-2.25-2.98v2.49a7.87 7.87 0 0 0 1.89 5.24l4.58 4.47c1.28 1.25 1.5 1.85 1.79 2.55v-3.37c0-2.85-1.45-3.95-2.19-4.67Z","M19.88 5.34c-.32 0-.64 0-.96.02V6.7a18.5 18.5 0 1 1 .95 36.94A18.5 18.5 0 0 1 1.35 25.17c0-5.67 2.55-10.73 6.58-14.13V9.32A19.78 19.78 0 0 0 0 25.17C0 36.12 8.9 45 19.88 45a19.85 19.85 0 0 0 19.86-19.83c0-10.95-8.9-19.83-19.87-19.83Z","M33.93 35.53c.3-.41.6-.85.87-1.3v-2.66h-.87v3.96Zm2.54-4.92c.12-.4.24-.78.34-1.16h-2.88v.7h.43c.77-.02 1.63-.03 2.11.46Zm-19.19-1.27h-.78v7.91h.78v-7.9Z","M14.7 27.83h2.58c.67 0 1.14.14 1.4.4.27.25.4.72.4 1.38v7.4c0 .66-.12 1.12-.4 1.38-.4.41-1.16.41-1.78.41l-.4-.01v3.5l.78.14v-2.88c1.2 0 1.97-.4 2.34-1.22v4.29h.26l.5-.01V29.74c0-.68.13-1.16.4-1.43.25-.27.72-.4 1.37-.4.67 0 1.65-.1 2.16.4.26.27.38.76.38 1.43v3.8h-1.77v-4.06h-.77v12.99c.26-.03.5-.07.77-.12V34.3h1.77v7.64c.36-.1.72-.21 1.08-.34v-7c0-.8.19-1.4 1-1.67l-.9-4.87h1.8l.3 5.31h.22l.3-5.31h1.88l-1.01 4.87c.84.3 1.01.81 1.01 1.66v4.53a16.63 16.63 0 0 0 1.5-1.27v-9.83h5.25l.1-.72H24.93l.17.89c-.38-.72-1.12-1.08-2.2-1.08h-.77c-1.3 0-2.1.52-2.4 1.55-.27-1.08-1.1-1.62-2.46-1.62h-3.36v14.52c.26.09.52.18.78.25V27.84Zm16.29 5.58-.85-.8.85-4.37v5.17Z","M27.66 40.79c.27-.14.55-.28.8-.43v-5.98h-.8v6.4Z"],$e={"bg-white":"text-primary-main",transparent:"text-white"},Se={"bg-white":"text-black",transparent:"text-white"},Ce=a((({className:e="",href:t,children:a,targetBlank:i,bgColor:l="bg-white",hideTitle:s})=>r("a",{className:`inline-flex items-center font-sans no-underline ${e}`,href:t||"https://rshb.ru/",target:i?"_blank":"_self","aria-label":"Россельхозбанк",children:[n(we,{className:`${$e[l]} w-10 h-[38px]`,viewBox:"0 0 40 45",paths:ke.map((e=>({d:e})))}),!s&&n("span",{className:`${Se[l]} text-sm font-medium ml-2.5`,children:a||"Россельхозбанк"})]}))),_e=a((({className:e,title:t="Мобильное приложение",description:a,href:i="#"})=>n("div",{className:`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light ${e||""}`,children:i?r("div",{className:"flex",children:[n("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-[50px] h-[50px]",children:n(Ce,{className:"w-[33px]",bgColor:"transparent",hideTitle:!0})}),r("a",{href:i,target:"_blank",className:"flex flex-col justify-center pl-3",children:[n("div",{className:"text-sm font-medium",children:t}),n("div",{className:"text-xs text-secondary-text",children:a})]})]}):null}))),De=a((({className:e,items:t,hasButton:a,context:i})=>{const l=i.useRouter(),{handlerDecorator:s}=i;return r("div",{className:`flex flex-col ${e||""}`,children:[t?.length?t.map(Te):null,a?n($,{version:"primary",className:"my-4",...g({router:l,handlerDecorator:s},{text:"Обратная связь",href:"/",target:"_blank"})}):null]})})),Te=(e,t)=>{const{type:a,text:i,description:l}=e;return r("div",{className:"mb-4",children:[n("div",{children:je(a,i)}),n("div",{className:"font-sans text-sm text-secondary-text",children:l})]},String(t))},je=(e,t="")=>{switch(e){case"tel":return n("a",{className:"font-sans font-medium text-xl text-primary-text no-underline",href:`tel:${Ie(t)}`,children:t});case"email":return n("a",{className:"font-sans font-medium text-xl text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return n("span",{children:t})}},Ie=e=>e.replaceAll(/\D/g,""),Be=a((({title:e,links:t,className:a="",context:i})=>{const l=i.useRouter(),{handlerDecorator:s}=i;return r("div",{className:a,children:[n("span",{className:"text-primary-text font-sans font-medium text-sm",children:e}),t?.length?n("div",{className:"flex flex-col gap-5 py-5",children:t.map(((e,t)=>n(Re,{index:t,...g({router:l,handlerDecorator:s},e)},String(t))))}):null]})})),Re=a((({className:e="",index:t,text:r,href:a,target:i,onClick:l})=>n("a",{className:`font-sans font-normal text-sm text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:a,target:i,onClick:l,children:r||`Документ ${t}`}))),Le=[{origins:["t.me","telegram.org"],icon:"TelegramIcon",label:"Телеграм",width:"20px",height:"16px"},{origins:["vk.com"],icon:"VKIcon",label:"ВКонтакте",width:"24px",height:"12px"},{origins:["ok.ru"],icon:"OkIcon",label:"Одноклассники",width:"12px",height:"20px"}],Oe=a((({href:e})=>{const{icon:t,width:r,height:a,label:i}=Le.find((({origins:t})=>t.some((t=>e?.includes(t)))))||{};return t?n("a",{className:"flex items-center justify-center border border-solid border-main-divider rounded-full no-underline outline-none w-[38px] h-[38px] hover:fill-primary-main",href:e,"aria-label":i,target:"_blank",rel:"noopener noreferrer",children:s&&n(s,{name:t,width:r,height:a,asSVG:!0,className:"block"})}):null})),Ae=a((({className:e,media:t,context:r})=>{const a=r.useRouter(),{handlerDecorator:i}=r;return n("div",{className:`flex gap-2 items-start justify-start pt-6 pb-6 ${e||""}`,children:t?.map(((e,t)=>n(Oe,{...g({router:a,handlerDecorator:i},e)},String(t))))})})),Me=a((({className:e,links:t,context:a})=>{const i=a.useRouter(),{handlerDecorator:l}=a;return r("div",{className:`${e||""}`,children:[n("div",{className:"pt-5 pb-[5px]",children:n("span",{className:"font-sans font-normal text-xs text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?n("div",{className:"flex flex-col justify-start items-start gap-5 pt-[5px]",children:t.map(((e,t)=>n(Ve,{index:t,...g({router:i,handlerDecorator:l},e)},String(t))))}):null]})})),Ve=a((({className:e,index:t,text:r,href:a,target:i,onClick:l})=>n("a",{className:`font-sans font-normal text-xs text-secondary-text visited:text-secondary-text hover:text-primary-text inline-block no-underline max-w-[292px] ${e||""}`,href:a,target:i,onClick:l,children:r||`Документ ${t}`}))),Pe=a((({className:e,context:t})=>{const{term:a,setTerm:i}=t.useSearch();return r("form",{className:`relative ${e||""}`,children:[r("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[n("div",{className:"w-[20px] h-[20px]",children:n(s,{name:"LoupeIcon",width:"24",height:"24"})}),!a&&n("label",{htmlFor:"search-bar-input",className:"font-sans font-normal text-sm text-secondary-text",children:"Поиск по сайту"})]}),n("input",{id:"search-bar-input",className:"h-12 pl-12 w-full peer font-sans font-normal text-base text-black border border-solid rounded h-full box-border outline-none pr-[6%] border-main-divider focus:border-primary-text",value:a,onChange:e=>i(e.target.value),type:"text",name:"search-bar-input"}),n($,{version:"primary",text:"Найти",className:"w-auto invisible peer-focus:visible absolute top-1 right-1",onClick:e=>{e.preventDefault(),console.log("click")},children:n("div",{className:"font-normal text-sm px-9 py-[9px]",children:"Найти"})})]})})),He=e=>e?.map((e=>({label:e.text||"",blocks:[{accordionBlockType:"LinkDocs",documents:e.items||[]}]}))),Ze=a((({className:e="",documents:t,relatedEnterprises:a,contacts:i,socialMedia:l,topItems:s,context:c,horizontalNavigationTitle:o,subMenu:d})=>{const m={context:c,accordionItems:He(s)};return r("footer",{className:`px-4 py-[26px] bg-white ${e}`,children:[n(De,{className:"overflow-hidden",items:i,context:c,hasButton:!0}),n(ye,{className:"p-0 pt-0 pb-0 mb-4",...m}),n("div",{children:d?.map(Ee)}),n(_e,{context:c,title:"Мобильное приложение",description:"Загрузить для IOS и Android"}),n(Pe,{context:c,className:"grow"}),n(Ae,{className:"pb-4",media:l,context:c}),n(Be,{title:o,links:a,context:c}),n(Me,{links:t,context:c})]})})),Ee=(e,t)=>{const{icon:a,href:i,text:l}=e;return r($,{href:i,className:"flex text-sm mb-4",children:[a?n(s,{className:"pr-1",name:a,width:"24",height:"24",asSVG:!0}):null,n("span",{className:"pl-0.5 font-medium",children:l})]},`footer-${t}`)},Fe=(e,t,n=((e,t)=>t.startsWith(e)))=>n(h(e),(e=>(e||"").replace(p,""))(h(m(e)?t.href:t.pathname))),We=e=>t=>Fe(t.href,e),ze=e=>t=>t.items?.some(We(e))||Fe(t.href,e)||((e,t)=>u(e)===u(t.href))(t.href,e),Ge=e=>t=>e?.href===t?.href,Ue=(e,t)=>{return(r=e,a=t,(r||[]).map((e=>a?.find(Ge(e))||e))).concat((n=e,(t||[]).filter((e=>!n?.find(Ge(e))))));var n,r,a};async function Je(){const e=await fetch(Ke());return await e.json()}function Ke(){return`/wcms-resources/${l.SITEMAP||"sitemap"}.json`}const Qe="absolute left-0 -bottom-3 w-full h-[2px]",Xe=a((({className:e,text:t,href:a,target:i,active:l,onClick:s,children:c,bgColor:o="bg-white"})=>r("a",{className:`relative inline-block bg-transparent text-center no-underline ${e||""}`,href:a,target:i,onClick:s,children:[n("span",{className:Ye(o,l),children:t||c}),l?n("div",{className:qe(o,l)}):null]}))),Ye=(e,t)=>{let n="text-white";return"bg-white"===e&&(n=t?"text-primary-main":"text-secondary-text hover:text-primary-main"),`${n} font-sans font-normal text-sm`},qe=(e,t)=>t?`${"bg-white"===e?"bg-primary-main":e} ${Qe}`:Qe,et=a((({context:e,burgerSubMenu:t,onClick:a,defaultLocation:i="",children:l})=>{const[c,o]=e.useGeolocation(i);return r("div",{className:"absolute top-0 left-0 w-full h-full bg-white p-4",children:[n("button",{className:"absolute top-4 right-4",onClick:a,children:n(s,{name:"CloseIcon",width:"24",height:"24",asSVG:!0})}),r($,{onClick:o,className:"flex items-center text-sm text-secondary-text mb-4",children:[n(s,{name:"GeolocationIcon",width:"24",height:"24",className:"box-border mr-2",asSVG:!0}),c]}),l,n("div",{className:"mb-7",children:t?.map(tt)}),n(Pe,{context:e,className:"grow"})]})})),tt=(e,t)=>{const{icon:a,href:i,text:l}=e;return r($,{href:i,className:"flex text-sm mb-4",children:[a?n(s,{className:"pr-1",name:a,width:"24",height:"24",asSVG:!0}):null,n("span",{className:"pl-0.5 font-medium",children:l})]},`headerSubMenu-${t}`)},nt=a((({onClick:e,bgColor:t})=>r("div",{className:"flex items-center justify-between border-0 border-b border-main-divider h-[50px]",children:[r("div",{className:"flex items-center",children:[n("button",{className:"pr-4",onClick:e,"aria-label":"Открыть меню",children:n(s,{name:"bg-white"===t?"BurgerIcon":"BurgerIconWhite",width:"24",height:"24",asSVG:!0})}),n(Ce,{bgColor:t})]}),n("button",{className:("bg-white"===t?"text-primary-main":"text-white")+" text-sm",children:"Войти"})]}))),rt=a((({className:e="",defaultLocation:t,bgColor:a="bg-white",context:i,topItems:l,burgerSubMenu:s})=>{const c=i.useRouter(),o=function(e){const{data:t}=e(Ke(),Je);return t||{}}(i.useAsyncData),{handlerDecorator:d}=i,m=Ue(o.topItems,l).find(ze(c))?.items,h=(e=>(t=[])=>{const n=t?.filter(We(e));var r;return n?.length?(r=e=>e.href?.length||0,e=>e.reduceRight(((e,t)=>r(e)>r(t)?e:t)))(n):null})(c)(m),[u,x]=i.useState(!1),p=()=>x(!u);return r("header",{className:`${a} ${e}`,children:[r("div",{className:"container px-4 py-0",children:[n(nt,{onClick:p,bgColor:a}),n("nav",{className:"flex items-center m-0 p-0 overflow-y-hidden w-full h-[50px]",children:n("div",{className:"flex",children:m?.map(((e,t)=>at({...g({router:c,handlerDecorator:d},e),active:e===h,bgColor:a},t)))})})]}),u?n(et,{context:i,onClick:p,burgerSubMenu:s,defaultLocation:t,children:n(ye,{context:i,accordionItems:He(l),className:"p-0 pt-0 pb-0 mb-4"})}):null]})})),at=(e,t)=>n(Xe,{className:"mr-8 whitespace-nowrap text-sm",...e},String(t)),it=a((({className:e="",context:t,title:r})=>n(M,{className:`pr-0 min-h-0 ${e}`,context:t,title:r,description:"Блок в разработке...",children:n("figure",{className:"m-0",children:lt()})}))),lt=(e=3)=>ct(100,e).map((e=>Math.floor(e))).map(st),st=(e=100,t)=>n("div",{style:{width:`${e}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),ct=(e,t)=>[e].concat(t>0?ct(e/1.618,t-1):[]),ot={primary:"text-primary-text",secondary:"text-white"},dt={primary:"text-secondary-text",secondary:"text-white"};const mt=a((({className:e,context:t,title:a,headingType:i,description:l,benefits:c,buttons:o,image:d,items:m,version:h="primary"})=>r("div",{className:`${e||""}`,children:[n("div",{children:n(O,{context:t,title:a,headingType:i||"h2",description:l,items:m,buttons:o,children:c?.length?n("div",{className:"mt-[19px]",children:c.map(((e,t)=>function(e,t,a){return r("div",{className:"flex gap-3 items-center mb-2.5 last:mb-0",children:[e.icon&&n(s,{className:"w-[25px] h-[25px] rounded-full box-border",name:e.icon,width:"24",height:"24"}),n("div",{className:`font-medium text-m-base m-0 ${ot[a]}`,children:e.label}),e.description&&n("div",{className:`font-normal text-m-sm ${dt[a]}`,children:e.description})]},String(t))}(e,t,h)))}):null})}),d?.src&&n("div",{className:"mt-5",children:n(N,{image:{className:"block",...d}})})]}))),ht=a((e=>{const{className:t}=e;return n("section",{className:`font-sans bg-white px-4 py-6 ${t||""}`,children:n(mt,{...e})})})),ut=a((({block:e,headingType:t,context:r})=>n("section",{className:"flex grow-0 shrink-0 basis-full px-4 py-6",role:"listitem",children:n("div",{className:"flex grow",children:n(mt,{context:r,headingType:t,...e})})}))),xt=a((({className:e,context:t,duration:a=0,slides:i=[]})=>{const l=i.map((e=>e.productBlock)),[s,c]=t.useState(0);return r("section",{className:`font-sans bg-white overflow-hidden w-100 ${e||""}`,children:[n("div",{className:"flex duration-1000",style:{transform:`translateX(-${s}00%)`},role:"list",children:l.map(((e,r)=>n(ut,{block:e,context:t},String(r))))}),n("div",{className:"flex px-4 py-6",children:i.map(((e,t)=>function({slide:e,i:t,activeSlideIndex:r,onClick:a,duration:i}){const l=t===r?"animate-slide bg-primary-main":"bg-main-divider";return n("button",{type:"button",onClick:a,"aria-label":e?.title,className:"relative overflow-hidden border-0 bg-inherit cursor-pointer pl-0 mr-1.5 pt-4 pb-5 last:mr-0 grow basis-0",children:n("div",{className:`absolute bottom-0 left-0 w-full h-[3px] ${l}`,style:{animationDuration:`${i}s`,animationFillMode:"forwards"}})},String(t))}({slide:e.productBlock,i:t,activeSlideIndex:s,onClick:()=>c(t),duration:a})))})]})}));const pt=a((({className:e,title:t,description:a,steps:i,size:l="normal"})=>r("section",{className:`box-border font-sans text-primary-text bg-white px-4 py-6 flex flex-col ${e||""}`,children:[t&&n(d,{type:"h3",className:"text-center",text:t}),a&&n("p",{className:`text-m-md text-center ${t&&"mt-2"}`,children:a}),i?.length?n("div",{className:"box-border py-0.5 mb-0.5 mt-5",children:n("div",{className:"flex flex-col justify-between gap-x-[101px]",children:i.map(((e,t)=>ft({step:e,size:l,i:t,length:i.length})))})}):null]}))),ft=e=>{const{step:t,size:a,i:i,length:l}=e,s=l-1===i,c="normal"===a?"ml-[34px]":"ml-[24px]";return n("div",{children:r("div",{className:"flex flex-row text-center relative",children:[r("div",{children:[bt(t,a,i),!s&&n("div",{className:`min-h-8 h-full w-[2px] bg-secondary-light ${c}`})]}),r("div",{className:"flex flex-col justify-center relative",children:[t.label&&n("div",{className:"font-medium text-m-title-xs m-0 text-left",children:t.label}),t.description&&n("div",{className:"font-normal text-sm text-secondary-text text-left "+(t.label?"mt-1":""),children:t.description})]})]},String(i))},String(i))},bt=(e,t,r)=>{const a="normal"===t?"38":"27";return n("div",{className:`${"normal"===t?"h-[70px] w-[70px] min-w-[70px] min-h-[70px]":"h-[50px] w-[50px] min-w-[50px] min-h-[50px]"} bg-secondary-light rounded-full z-10 mr-3 flex justify-center content-center`,children:n("span",{className:`font-medium text-secondary-text self-center ${"normal"===t?"text-m-title":"text-m-title-xs"}`,children:e.icon&&n(s,{name:e.icon,width:a,height:a})||r+1})})},gt={ExchangeRateTile:W,Footer:Ze,Header:rt,Headline:Q,LinkDocs:oe,Placeholder:it,ProductBlock:ht,ProductGallery:xt,TextBlock:ue,StepsBlock:pt},Nt=a((({className:e,onClick:t,ariaLabel:r})=>n("button",{type:"button",className:`border-0 w-[36px] bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":r,children:vt()}))),vt=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[n("path",{...e,strokeMiterlimit:"10",d:"M21.48 11.95c.5-1.4-.4-2.6-1.9-2.6h-4c-.6 0-1.1-.5-1-1.2l.5-3.2c.2-.9-.4-1.9-1.3-2.2-.8-.3-1.8.1-2.2.7l-4.1 6.1M7.48 18.35l3.1 2.4c.4.4 1.3.6 1.9.6h3.8c1.2 0 2.5-.9 2.8-2.1l1.24-3.77"}),n("path",{...e,d:"M2.38 18.35v-9.8c0-1.4.6-1.9 2-1.9h1c1.4 0 2 .5 2 1.9v9.8c0 1.4-.6 1.9-2 1.9h-1c-1.4 0-2-.5-2-1.9Z"})]})},yt=a((({className:e,context:t})=>{const a=t.useLikeService();return r("div",{className:`border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${e||""}`,children:[n(Nt,{onClick:a.like,ariaLabel:"Поставить отметку «лайк»"}),n(Nt,{onClick:a.dislike,className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),n("span",{className:"select-none",children:a.likeCount})]})})),wt=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),kt=a((({className:e,context:t,blocksRegistry:a,data:{style:i,blocks:l,slots:s={},likeControl:c,colorPalette:o="pc"},blockDecorator:d=wt})=>{const{header:m}=s;return r("section",{className:`relative ${St(i)} ${e||""}`,"data-theme":o,children:[m?.blocks?.length?n("div",{className:`${St(m?.style)}`,children:m.blocks.map(((e,n)=>$t({block:e,blockDecorator:d,blocksRegistry:a,context:t},n)))}):null,l?.length?n("div",{className:"container grid grid-cols-12 gap-1",children:l.map(((e,n)=>$t({block:e,blockDecorator:d,blocksRegistry:a,context:t},n)))}):null,c&&n("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:n(yt,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto",context:t})})]})}));function $t({block:e,blockDecorator:t,blocksRegistry:r,context:a},i){const{type:l}=e;l in r||console.warn(`No block with "${l}" is registered`);const s=r[l]||it;return t({blockClassName:St(e.style),block:e,render:e=>{const{version:c,content:o,blocks:d}=e.block;return n(s,{className:e.blockClassName,version:c,context:a,...o,children:d?.length?d.map(((e,n)=>$t({block:e,blockDecorator:t,blocksRegistry:r,context:a},n))):null},`${l}-${i}`)}},`block-${i}`)}function St(e){return e?e.join(" "):""}const Ct=a((({HeadComponent:e,data:t,children:a})=>{const{title:i,description:l,keywords:s,robots:c,og:o}=t;return r(e,{children:[n("title",{children:i}),n("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),l&&n("meta",{name:"description",content:l}),s&&n("meta",{name:"keywords",content:s.join(",")}),c&&n("meta",{name:"robots",content:c.join(",")}),o?Object.entries(o).map((([e,t])=>n("meta",{name:`og:${e}`,content:t},e))):null,a]})}));function _t(e){return e?.filter((({mobile:e})=>!e?.hidden)).map(Dt)}function Dt(e){const{mobile:t}=e;return t?{...e,style:t.style?.length?t.style:e.style}:e}e.Blocks=gt,e.ContentPage=kt,e.ContentPageHead=Ct,e.DaDataAPI=function(e=""){return{getFetcherAddress:async function(){if(!("geolocation"in navigator))return null;try{const t=await(async()=>new Promise((e=>navigator.geolocation.getCurrentPosition((({coords:t})=>e(t))))))(),n=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await n.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}},e.Header=rt,e.Icon=s,e.LikeAPI=function(e,t=""){async function n(){try{const e=JSON.parse(globalThis.localStorage.getItem(i)||"");if(e?.token)return e}catch(e){}try{const e=await fetch(`${t}/assist/v1/public/auth`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({prefix:"guest"})}),{token:n,name:r}=await e.json();return globalThis.localStorage.setItem(i,JSON.stringify({token:n,name:r})),{token:n,name:r}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...r){if(!r.length)return[];const{token:a}=await n();try{const n=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:a},body:JSON.stringify({node_ids:r})}),{likes:i}=await n.json();return i||[]}catch(e){return console.error(e),[]}},like:async function(r){if(!r)return 0;const{token:a,name:i}=await n();try{const n=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:a,UserID:i},body:JSON.stringify({node_id:r,user_name:i})}),{likes:l}=await n.json();return l||0}catch(e){return console.error(e),0}},dislike:async function(r){if(!r)return 0;const{token:a,name:i}=await n();try{const n=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:a,UserID:i},body:JSON.stringify({node_id:r,user_name:i})}),{likes:l}=await n.json();return l||0}catch(e){return console.error(e),0}}}},e.joinList=function(e){return t=>t.reduce(((t,n,r)=>t.length?t.concat({...e,key:r},n):[n]),[])},e.projectSettings=l,e.setup=t,e.toMobilePage=function(e){const{blocks:t,slots:n}=e;return{...e,blocks:_t(t),slots:n&&Object.keys(n).reduce(((e,t)=>({...e,[t]:{...n[t],blocks:_t(n[t].blocks)}})),{})}},e.url=x,Object.defineProperty(e,"__esModule",{value:!0})}));
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).UniMobileBlocks={})}(this,(function(e){"use strict";const t=(e,n)=>{t._jsx=e,t._jsxs=n||e};t.vue=e=>{t(((t,{children:n,dangerouslySetInnerHTML:r,...a}={})=>{const i=Object.assign({},a,r?{innerHTML:r.__html}:{});return e(t,i,"string"!=typeof t?()=>n:n)}))};const n=(...e)=>t._jsx(...e),r=(...e)=>t._jsxs(...e),a=e=>(e._tmpl||(e._tmpl=function(t,n){const{children:r,...a}=t||{},i=n?.slots?.default,l=r||i&&i();return e(Object.assign(a,l&&{children:l}),n)},e._tmpl.inheritAttrs=!1),e._tmpl);const i="likesToken";const l=e=>e?.includes("//"),s=e=>(e||"").replace(/\/?\?.*/,""),c=e=>{if(!e||!l(e))return;const t=e,n=t.indexOf("//"),r=t.indexOf("/",n+"//".length);return-1!==r?t.substring(0,r):t};var o=Object.freeze({__proto__:null,isURL:l,withoutQuery:s,getOrigin:c});const m="/mobile",d=(e,t)=>{if(!e)return e;const n=c(t?.href);return n?e.replace(n,"")||"/":e},h=e=>e;function x({router:e,handlerDecorator:t=h},n){const r=((e,t)=>{if(!e)return e;const n=d(e,t)||"",r=t?.pathname.startsWith(m);return r&&!l(n)?`/mobile${n}`:n})(n.href,e);return{...n,href:r,ariaLabel:n.text,onClick:t((t=>{const a=r&&!l(r),i=!n.target||"_self"===n.target;a&&i&&(t.preventDefault(),e.push(r))}),n)}}const u=new class{_={PROD_BRANCH:"master",FORCED_DRAFT_FLOW:!1};setup(e){this._=e}get TEST_BRANCH(){return this._.TEST_BRANCH}get RC_BRANCH(){return this._.RC_BRANCH}get PROD_BRANCH(){return this._.PROD_BRANCH}get FORCED_DRAFT_FLOW(){return this._.FORCED_DRAFT_FLOW}get ENABLE_ASSIST(){return this._.ENABLE_ASSIST}get SITEMAP(){return this._.SITEMAP}get CDN(){return this._.CDN}},p={none:"",primary:"text-primary-main"},f=a((({className:e="",name:t,alt:a=`Icon ${t}`,title:i=a,asSVG:l,color:s="primary",...c})=>{const o=`${u.CDN||""}icons/${t}.svg`;return l?r("svg",{className:`${p[s]} ${e}`,...c,"aria-hidden":"true",children:[i?n("title",{children:i}):null,a?n("desc",{children:a}):null,n("use",{href:`${o}#icon`,xlinkHref:`${o}#icon`})]}):n("img",{className:e,src:o,alt:a,title:i,...c,"aria-hidden":"true"})})),g=a((({text:e,aboveText:t,appendLeft:a,rounded:i,version:l})=>{const s=!e&&!t&&Boolean(a);return function({buttonInnerClasses:e,appendLeft:t,withoutText:a,aboveText:i,text:l}){return r("div",{className:e,children:[t||null,a?null:r("div",{children:[n("div",{className:"text-m-2xs text-left",children:i}),n("div",{className:"text-m-button font-medium text-left",children:l})]})]})}({buttonInnerClasses:"link"!==l?`flex items-center justify-center\n ${s?"h-12 w-12":"px-8 gap-2 "+(t?"py-2":"py-3.5")} ${i?"rounded-full":""}`:null,appendLeft:a,withoutText:s,aboveText:t,text:e})}));const b={primary:"text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active",secondary:"text-primary-main bg-secondary-light hover:bg-secondary-hover active:bg-secondary-active",link:"text-primary-main"},N={primary:"bg-secondary-dark text-secondary-text",secondary:"bg-secondary-light text-secondary-text",link:""},v="w-full text-center font-sans select-none",y=a((({className:e,text:t,aboveText:r,appendLeft:a,href:i,target:l,onClick:s,children:c,disabled:o,rounded:m,version:d="primary",ariaLabel:h,...x})=>{const u=c??n(g,{text:t,aboveText:r,appendLeft:a,rounded:m,version:d});return o?n("div",{role:"button","aria-disabled":"true","aria-label":h,tabIndex:"-1",className:`inline-block ${v} ${N[d]||""} ${m?"rounded-full":"rounded-md"} ${e||""}`,children:u}):n("a",{className:`${v} inline-block cursor-pointer no-underline ${b[d]||""} ${m?"rounded-full":"rounded-md"} ${e||""}`,href:i,target:l,onClick:s,"aria-label":h,role:i?"link":"button",...x,children:u})})),w=a((({context:e,className:t="",buttons:r})=>{const{handlerDecorator:a}=e,i=e.useRouter();return r?.length?n("div",{className:`${t}`,children:r.map(((e,t)=>function({icon:e,...t},r){if(!t?.text)return;return n(y,e?{appendLeft:n(f,{name:e,width:"24",height:"24",asSVG:!0}),...t}:{...t},String(r))}(x({router:i,handlerDecorator:a},e),t)))}):null}));const k={h1:"text-m-title",h2:"text-m-title",h3:"text-m-title-md",h4:"text-m-title-xs",h5:"text-m-title-xs",h6:"text-m-title-xs"},$=a((e=>{const{className:t,headingType:r,title:a}=e;if(!r)return;return n(r,{className:`font-sans font-medium ${k[r]} ${t||""}`,children:a})})),S=a((({className:e="",title:t,children:a,buttons:i,image:l})=>r("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,children:[t,r("div",{className:"flex grow w-full justify-between",children:[r("div",{className:"flex flex-col justify-between",children:[n("div",{children:a}),n("div",{children:i})]}),l]})]}))),C=e=>{const t="col-span-",n=e.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function T(e=""){const t=C(e);return t<=4?"h4":t<=8?"h3":"h2"}function _(e=""){const t=C(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function D(e=""){const t=C(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const j="https://www.cbr-xml-daily.ru/daily_json.js",I=["USD","EUR"],L={USD:"DollarIcon",EUR:"EuroIcon"},B=[{text:"Все показатели",href:"https://cbr.ru/currency_base/daily/",version:"secondary"}],R=a((({className:e="",context:t,title:a="Курсы обмена валют"})=>{const{data:i}=t.useAsyncData(j,A);return n("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${D(e)} ${_(e)} `,children:n(S,{context:t,title:a&&n($,{headingType:T(e),title:a,className:"whitespace-pre-wrap max-w-[600px]"}),buttons:B?.length?n(w,{context:t,buttons:B,className:"flex mt-9 gap-3"}):null,children:r("table",{children:[n("thead",{children:r("tr",{children:[n(V,{children:"Валюта"}),n(V,{className:"pl-11",children:"Курс"})]})}),n("tbody",{children:I.map(Z(i))})]})})})})),V=a((({className:e="",children:t})=>n("th",{className:`text-left font-normal text-sm text-secondary-text ${e}`,children:t}))),O=a((({className:e="",children:t})=>n("td",{className:`text-left font-normal text-base text-primary-text ${e}`,children:t})));async function A(){const e=await fetch(j);return await e.json()}const M=new Intl.NumberFormat("ru",{style:"currency",currency:"RUB"}),P=e=>e?M.format(e):"",Z=e=>t=>{const a=(e?.Valute||{})[t]?.Value;return r("tr",{children:[n(O,{className:"pt-4",children:r("div",{className:"flex items-center",children:[n(f,{name:L[t],width:"24",height:"24"}),n("span",{className:"ml-2",children:t})]})}),n(O,{className:"pt-4 pl-11",children:P(a)})]},t)},H=a((({className:e="",image:t})=>{if(!t)return null;const a={width:t.size?.width?`${t.size?.width}px`:"100%",height:t.size?.height?`${t.size?.height}px`:"100%"};return r("picture",{className:e,children:[t.sources?.length?t.sources.map((({src:e,format:t},r)=>n("source",{srcSet:e,type:E(t)},`${r}_${e}`))):null,n("img",{src:t.src,className:`m-auto ${t.className||""}`,alt:t.alt||t.title,title:t.title,style:a,...t.size})]})}));function E(e){return e?`image/${String(e)}`:void 0}const z=a((({bgColor:e="transparent",className:t="",title:a,description:i,image:l})=>r("section",{className:`px-4 py-6 ${e} ${t}`,children:[a&&n($,{headingType:"h2",className:"text-primary-text",title:a}),i&&n("p",{className:"font-normal text-m-md "+(a?"mt-2.5":""),children:i}),l?.src&&n("div",{className:"mt-5 mx-auto flex justify-center",children:n(H,{image:l})})]}))),G=a((({className:e="",children:t,...r})=>n("div",{className:`snap-center snap-always min-w-full ${e}`,role:"listitem",...r,children:t}))),W=e=>({marginLeft:-e+"px",marginRight:-e+"px",paddingLeft:`${e}px`,paddingRight:`${e}px`}),F=a((({className:e="",children:t,activeIndex:r,onScroll:a,gap:i=14,padding:l=16})=>n("div",{className:`overflow-auto flex horizontal-list no-scrollbar ${e}`,style:{...W(l),gap:`${i}px`},role:"list",onScroll:a,children:t?.length?t?.map(((e,t)=>n(G,{style:W(l/4),"aria-current":Boolean(r===t),children:e},String(t)))):n(G,{children:t})}))),U=a((({children:e,activeIndex:t,indexFraction:r,showDots:a})=>a&&e?.length?n("div",{className:"flex gap-2 mx-auto mt-[22px] w-fit",children:e?.map(((e,a)=>n("div",{className:"bg-primary-main opacity-30 w-1.5 h-1.5 min-w-1.5 min-h-1.5 rounded-full",style:J(a,t,r),"aria-hidden":!0},String(a))))}):null)),J=(e,t,n)=>{if(e<t||e>t+1)return null;const r=1-n;return e===t?{opacity:""+(.3+.7*r),width:6+16*r+"px"}:{opacity:""+(.3+.7*n),width:6+16*n+"px"}},X=a((({className:e,context:t,children:a,gap:i=14,padding:l=16,showDots:s=!0})=>{const[c,o]=t.useState(0),[m,d]=t.useState(0);return r("div",{className:e,children:[n(F,{gap:i,padding:l,activeIndex:c,onScroll:e=>{const{scrollLeft:t,clientWidth:n,childElementCount:r,scrollWidth:a,children:s}=e.currentTarget,c=s[0].offsetWidth-l/2,m=(({gap:e,padding:t,clientWidth:n,scrollWidth:r,childElementCount:a,itemWidth:i})=>{const l=i+e,s=r-n,c=n-e-t,o=a-2,m=new Array(a).fill(0).map(((e,t)=>0===t||t===o?[t>0?s-c:0,t>0?s:c]:[(t-1)*l+c,t*l+c]));return m[a-1]=[s,r],m})({gap:i,padding:l,clientWidth:n,scrollWidth:a,childElementCount:r,itemWidth:c}),{index:h,fraction:x}=((e,t)=>{const n=t.findIndex((([t,n])=>t<=e&&e<n));if(n<0)return{index:n,fraction:0};const[r,a]=t[n];return{index:n,fraction:(e-r)/(a-r)}})(t,m);o(h),d(x)},children:a}),n(U,{activeIndex:c,indexFraction:m,showDots:s,children:a})]})})),K=a((({className:e,iconClassName:t,textClassName:a,suffixClassName:i,doc:l,icon:s})=>{const{text:c,fileSize:o,...m}=l;return r("a",{className:e,role:"link",...m,children:[s?n(f,{className:t,name:s,width:"24px",height:"24px",asSVG:!0}):null,c?r("span",{className:a,children:[c,n("span",{className:i,children:m?.href&&Q(Y(m.href),o)})]}):null]})})),Q=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),Y=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},q=a((({className:e="",doc:t,icon:r})=>n(K,{className:`flex h-full ${e}`,iconClassName:"mr-3 min-w-6 min-h-6",doc:t,icon:r}))),ee=a((({context:e,hasBorder:t=!0,documents:r,icon:a})=>n(X,{context:e,className:"text-m-sm text-primary-main",children:r?.length?r.map(((e,r)=>n(q,{className:t?"rounded-md border-main-stroke border p-4":"",doc:e,icon:a},String(r)))):null}))),te=a((({hasBorder:e=!0,documents:t,icon:r})=>n("div",{className:"text-m-sm text-primary-main flex flex-col "+(e?"gap-3.5":"gap-2"),role:"list",children:t?.length?t.map(((t,a)=>n("div",{role:"listitem",children:n(q,{className:e?"rounded-md border-main-stroke border p-4":"",doc:t,icon:r})},String(a)))):null}))),ne=a((({className:e="",context:t,title:a,subtitle:i,icon:l="DocIconMonoColor",documents:s,listMode:c="vertical",hasBorder:o=!0})=>r("section",{className:`font-sans py-6 px-4 bg-white ${e}`,children:[a?n($,{headingType:"h2",className:"text-center "+(i?"mb-2":"mb-5"),title:a}):null,i?n("h3",{className:"mb-5 text-center text-m-md",children:i}):null,"vertical"===c?n(te,{hasBorder:o,documents:s,icon:l}):n(ee,{context:t,hasBorder:o,documents:s,icon:l})]}))),re=a((({className:e="",title:t,image:a,benefits:i})=>r("section",{className:`relative font-sans text-primary-text bg-white p-14 ${e}`,children:[n($,{headingType:"h2",className:"text-center",title:t}),r("div",{className:"flex justify-center mt-9",children:[a?.src&&n(H,{className:"mr-6",image:a}),i?.length?n("div",{className:"flex flex-col",children:i.map(ae)}):null]})]})));function ae(e,t){return r("div",{className:"flex flex-row mb-8",children:[e.icon&&n(f,{className:"w-[48px] h-[48px] bg-main rounded-full box-border p-[12px]",name:e.icon,width:"48",height:"48",asSVG:!0}),r("div",{className:"flex gap-1 flex-col h-full ml-5 max-w-[490px]",children:[e.label&&n("div",{className:"font-medium text-primary-text text-xl m-0",children:e.label}),e.description&&n("div",{className:"font-normal text-sm text-secondary-text",children:e.description})]})]},String(t))}const ie={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text"},le={primary:"bg-primary-main",secondary:"bg-white",gray:"bg-secondary-text"},se=a((({className:e="",isDotted:t=!0,children:a,version:i="primary"})=>r("div",{className:`font-sans flex items-center ${e}`,role:"listitem",children:[t&&n("div",{className:ce(i)}),n("span",{className:ie[i],children:a})]}))),ce=e=>`rounded-full inline-block mr-3 ${le[e]} ${"gray"===e?"w-[6px] h-[6px] min-w-[6px] min-h-[6px]":"w-2 h-2 min-w-2 min-h-2"}`,oe=a((e=>{const{className:t="",itemClassName:r,isDotted:a,items:i,version:l}=e;return n("section",{className:`${t}`,role:"list",children:i?.length?i.map(((e,t)=>n(se,{className:r,isDotted:a,version:l,children:e},String(t)))):null})})),me={primary:{background:"bg-white",icon:"bg-primary-main text-white",title:"text-primary-text",description:"text-secondary-text"},secondary:{background:"bg-primary-main",icon:"bg-white text-primary-main",title:"text-white",description:"text-white"},"secondary-light":{background:"bg-primary-main/10",icon:"bg-primary-main text-white",title:"text-primary-text",description:"text-secondary-text"}},de=a((({title:e,description:t,blockVersion:a="primary",iconVersion:i,image:l,className:s="",items:c,isDotted:o=!0})=>{const m=me[a];return r("section",{className:`font-sans px-4 py-[18px] flex flex-col ${m.background} ${s}`,children:["small"===i?he(m.icon):null,"big"===i?xe(l):null,r("div",{className:"py-0.5",children:[e?n("div",{className:`font-medium text-base mb-1 ${m.title}`,children:e}):null,t?n("div",{className:`text-sm ${m.description}`,children:t}):null,c?.length?n(oe,{items:c,isDotted:o,version:"gray",className:"mt-1 text-m-sm text-secondary-text"}):null]})]})}));function he(e){return n("div",{className:"mb-3",children:n("div",{className:`rounded-full h-4 w-4 text-center text-xs ${e}`,children:"i"})})}function xe(e){return e?.src?n(H,{className:"pb-3 mr-auto",image:e}):null}const ue=a((e=>{const{className:t,description:r}=e;return n("div",{className:`font-normal text-base ${t||""}`,children:r})})),pe={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},fe=a((e=>{const{context:t,title:a,description:i,items:l,children:s,buttons:c,image:o,className:m="",version:d="primary",role:h}=e;return n("section",{className:`font-sans p-9 box-border ${m} ${pe[d]} ${D(m)} ${_(m)} `,role:h,children:r(S,{context:t,title:a&&n($,{headingType:T(m),title:a,className:"whitespace-pre-wrap max-w-[600px] "+("primary"===d?"text-primary-text":"")}),buttons:c?.length?n(w,{context:t,buttons:c,className:"flex mt-9 gap-3"}):null,image:o?.src&&n(H,{className:"mt-auto ml-7",image:o}),children:[i&&n(ue,{className:"mt-4 max-w-[600px]",description:i}),s,l?.length?n(oe,{items:l}):null]})})})),ge={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},be=a((({context:e,className:t="",title:a,description:i,benefits:l,buttons:s,image:c,version:o="primary"})=>n("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${t} ${ge[o]} ${D(t)} ${_(t)} `,children:r(S,{context:e,title:a&&n($,{headingType:T(t),title:a,className:"whitespace-pre-wrap max-w-[600px]"}),buttons:s?.length?n(w,{context:e,buttons:s,className:"flex mt-9 gap-3"}):null,image:c?.src&&n(H,{className:"mt-auto ml-7",image:c}),children:[i&&n(ue,{className:"mt-4 max-w-[600px]",description:i}),r("div",{className:"flex mt-5 mb-1",children:[l?.length?n("div",{className:"mr-8",children:l.map(Ne)}):null,l?.length?n("div",{className:"pt-1",children:l.map(((e,t)=>function(e,t,r="primary"){return n("div",{className:`text-sm ${t?"mt-4":""} ${{primary:"text-secondary-text",secondary:"text-white"}[r]}`,children:e.description},String(t))}(e,t,o)))}):null]})]})})));function Ne(e,t){return n("div",{className:"text-xl font-medium "+(t?"mt-2.5":""),children:e.label},String(t))}const ve={primary:"bg-white",secondary:"bg-primary-main text-white"},ye=a((({context:e,title:t,description:a,cards:i=[],className:l,isScroll:s=!0})=>r("section",{className:`relative font-sans text-primary-text bg-white px-4 py-6 overflow-hidden ${l}`,children:[r("div",{className:"flex flex-col items-center mb-5",children:[n($,{headingType:"h2",className:"text-center",title:t}),a?n("div",{className:"font-normal text-m-md max-w-[600px] mt-2",children:a}):null]}),we(s,i,e)]})));function we(e,t,r){return e?n(X,{context:r,children:t?.map(ke)}):n("div",{className:"grid gap-[14px]",children:t?.map(ke)})}function ke(e,t){return r("div",{className:`box-border horizontal-list-item border-solid border rounded-md border-main-stroke p-4 flex flex-col\n ${ve[e.version??"primary"]}`,role:"listitem",children:[r("div",{children:[e.image?.src?n("div",{className:"flex justify-center",children:n(H,{className:"mb-6",image:e.image})}):null,e.title?n("h4",{className:"font-medium text-m-title-xs m-0",children:e.title}):null,e.description?$e(e):null,e.items?.length?(a=e.items,n("section",{className:"mt-3",children:a.map((e=>r("div",{children:[n("span",{className:"text-m-md font-medium",children:e.title}),n("span",{className:"text-m-sm text-secondary-text pl-2",children:e.text})]})))})):null]}),e?.button?.href?n(y,{className:"mt-3",...e.button}):null]},t);var a}function $e(e){return n("div",{className:"text-secondary-text mt-2 "+("secondary"===e.version?"text-white opacity-80":""),children:e.description})}const Se=a((({className:e,viewBox:t,fill:r="none",width:a,height:i,paths:l,...s})=>n("svg",{xmlns:"http://www.w3.org/2000/svg",className:e,viewBox:t,fill:r,width:a,height:i,children:l.map((({d:e,fill:t,...r},a)=>n("path",{d:e,fill:t||"currentColor",...s,...r},a)))}))),Ce=[{d:"m9 12 4-4-4-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",fill:"none"},{d:"M2 9a1 1 0 0 1 0-2v2Zm6-2a1 1 0 0 1 0 2V7ZM2 7h6v2H2V7Z"}],Te=a((({className:e,disabled:t,...r})=>n(y,{rounded:!0,className:`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 ${t?"bg-secondary-light text-secondary-text":"bg-white text-primary-text hover:text-primary-main"} ${e||""}`,disabled:t,...r,children:n(Se,{paths:Ce,viewBox:"0 0 16 16",fill:"none",width:"16",height:"16"})}))),_e={primary:"bg-white text-secondary-text",secondary:"bg-primary-main text-white"},De={normal:3,mini:4},je={normal:"min-w-[364px] w-[364px]",mini:"min-w-[260px] w-[260px]"},Ie={normal:380,mini:276},Le={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text"},Be={primary:"bg-primary-main",secondary:"bg-white",gray:"bg-secondary-text"},Re=a((({className:e="",isDotted:t=!0,text:a,children:i,version:l="primary"})=>r("div",{className:`font-sans flex items-center ${e}`,role:"listitem",children:[t&&n("div",{className:Ve(l)}),n("span",{className:Le[l],children:a||i})]}))),Ve=e=>`rounded-full inline-block mr-3 ${Be[e]} ${"gray"===e?"w-[6px] h-[6px] min-w-[6px] min-h-[6px]":"w-2 h-2 min-w-2 min-h-2"}`,Oe=a((({title:e,description:t,image:a,items:i,button:l,version:s})=>r("div",{children:[r("div",{children:[a?.src?n("div",{className:"flex justify-center",children:n(H,{className:"mb-6",image:a})}):null,e&&Ae(e,t,i),t?n("div",{className:"font-normal text-sm mt-2",children:t}):null,i?.length?n("section",{className:"max-w-[308px] mt-2",role:"list",children:i.filter((e=>e.text)).map(((e,t)=>function(e,t,r){return n(Re,{version:r??"primary",children:n("span",{className:"text-sm",children:e})},String(t))}(e.text,t,s)))}):null]}),l?.text&&n(y,{className:"mt-6",...l})]})));function Ae(e,t,r){return n("div",{className:"font-medium text-xl m-0 "+(t||r?.length?"":"text-center"),children:e})}const Me=a((({context:e,title:t,description:a,cards:i=[],version:l="normal",activeCardIndex:s})=>r("div",{children:[n("div",{className:"absolute top-0 left-0 bottom-0 w-[84px] bg-gradient-to-r from-white to-transparent"}),r("div",{className:"flex flex-col items-center mb-8",children:[t?n($,{headingType:"h2",className:"text-center",title:t}):null,a?n("div",{className:"font-normal text-base max-w-[600px] mt-2.5",children:a}):null]}),n("div",{className:`flex ${i?.length<=De[l]?"justify-center":""} duration-1000`,style:{transform:`translateX(-${s*Ie[l]}px)`},role:"list",children:i?.map(((t,r)=>function({card:e,version:t},r){return n("section",{className:`box-border border-solid border rounded-md border-main-divider p-7 mx-2 flex flex-col justify-between\n items-stretch ${je[t]} ${_e[e.version??"primary"]} w-full col-span-4`,role:"listitem",children:n(Oe,{...e})},String(r))}({card:t,version:l,context:e},r)))})]})));const Pe=a((({context:e,cards:t=[],className:a="",version:i="normal",...l})=>{const[s,c]=e.useState(0),o=t?.length>De[i],m=o&&t?.length-s>De[i],d=o&&s>0;return r("section",{className:`relative font-sans text-primary-text bg-white p-[50px] overflow-hidden ${a}`,children:[n(Me,{context:e,cards:t,version:i,activeCardIndex:s,...l}),d&&n(Te,{className:"absolute top-1/2 left-8 rotate-180",onClick:()=>c(s-1),ariaLabel:"Пролистать влево"}),m&&n(Te,{className:"absolute top-1/2 right-1 z-10",onClick:()=>c(s+1),ariaLabel:"Пролистать вправо"}),n("div",{className:"absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white"})]})})),Ze=a((e=>n(Pe,{...e,version:"mini"}))),He={Headline:z,LinkDocs:ne,TextBlock:de,PictureText:re,Tile:fe,ProductTile:be,Gallery:ye,MiniGallery:Ze},Ee=a((({blocks:e,context:t})=>n("div",{className:"transition-all duration-300 max-h-0 overflow-hidden group-last:last:pb-0 ",children:e?.length?e.map(ze(t)):null}))),ze=e=>(t,r)=>{const a=t?.accordionBlockType;if(!a||!(a in He))return null;return n("div",{className:"mb-5 last:mb-0 py-2.5",children:n(He[a],{context:e,...t,className:"!p-0"})},`block_${r}`)},Ge=a((({label:e,blocks:t,bordered:a,context:i})=>{const{hasContent:l,icon:s,handleToggle:c}=(({context:e,blocks:t})=>{const[n,r]=e.useState(!1),a=t?.length;return{isActive:n,hasContent:a,icon:n?"MinusIcon":"PlusIcon",handleToggle:e=>{if(!a)return;r(!n);const t=(({target:e})=>"BUTTON"===e.tagName?e.nextSibling:e.parentNode.nextSibling)(e);t.style.maxHeight=t.style.maxHeight?null:`${t.scrollHeight}px`}}})({context:i,blocks:t});return r("li",{className:(a?"border p-4 rounded mb-4":"border-0 border-b last:border-b-0 py-[14px]")+" border-solid border-main-divider",children:[r("button",{className:"border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text\n "+(l?"group cursor-pointer":""),onClick:c,children:[n("span",{className:"text-m-title-xs pr-2.5 font-medium "+(l?"group-hover:text-primary-main":""),children:e}),l?n(f,{name:s,width:"24",height:"24",asSVG:!0}):null]}),l?n(Ee,{blocks:t,context:i}):null]})})),We=a((({title:e,description:t,accordionItems:a,context:i,className:l="",bordered:s})=>r("section",{className:`py-6 font-sans bg-white text-primary-text ${s?"px-4":""} ${l}`,children:[e?n($,{headingType:"h3",className:"mb-2 text-center",title:e}):null,t?n("div",{className:"mb-5 text-m-md text-center",children:t}):null,a?.length?n("ul",{className:"list-none m-0 p-0",children:a.map(((e,t)=>n(Ge,{...e,context:i,bordered:s},`AccordionItem${t}`)))}):null]}))),Fe=["m13.72 25.51 4.42-4.33v-2.95l-4.42 4.32v2.96Zm0-10.98 4.42-4.35V7.41l-4.42 4.31v2.8Zm0 3.63 4.42-4.33v-2.78l-4.42 4.32v2.8ZM12.46 7.44l-.6-.56V0h-.66v6.22l-.58-.57V0h-.67v5l-.59-.58V0H8.7v6.56l4.44 4.33V0h-.67v7.44Zm1.26 14.35 4.42-4.33v-2.78L13.72 19v2.8Zm-5.03-.61 4.44 4.33v-2.96l-4.44-4.32v2.95Zm8.79-16.76-.59.58V0h-.66v5.66l-.6.56V0h-.66v6.87l-.58.57V0h-.67v10.9l4.42-4.34V0h-.66v4.42Zm-8.79 5.76 4.44 4.35v-2.8L8.69 7.4v2.77Zm0 3.65 4.44 4.33v-2.8l-4.44-4.3v2.77Zm0 3.63 4.44 4.33V19l-4.44-4.31v2.78Zm26.37 2.29H24.3a2.25 2.25 0 0 0 .36-1.22 2.32 2.32 0 0 0-2.33-2.31 2.32 2.32 0 0 0-2.31 2.31c0 .5.16.96.43 1.34a.74.74 0 0 0-.33.61c0 .26.14.49.33.62a2.32 2.32 0 0 0-.43 1.34 2.31 2.31 0 0 0 2.31 2.31 2.32 2.32 0 0 0 2.33-2.31c0-.45-.13-.87-.36-1.22h8.01v.49h-.8v.68h.8v.7h-.8v1.3h.8v-.58h1.17v.58h.79v-1.3h-.79v-.7h.79v-.68h-.79v-.5h1.58a.56.56 0 0 0 .56-.56v-.34a.57.57 0 0 0-.56-.56Zm-11.53 2.7a1.2 1.2 0 0 1-2.4 0c0-.24.08-.47.2-.66l.34-.56a.97.97 0 0 1-.34-.75c0-.3.13-.56.33-.74l-.32-.56a1.13 1.13 0 0 1-.2-.66 1.2 1.2 0 0 1 2.4 0c0 .49-.56 1.65-.56 1.65v.62c-.01.01.55 1.17.55 1.66ZM4.67 18.34v2.89c0 2.75 1.2 4.53 1.9 5.21l4.58 4.5c1.28 1.25 1.5 1.66 1.79 2.37v-3.2c0-2.84-1.44-3.94-2.19-4.67-1.73-1.68-2.89-2.8-3.82-3.73a8.98 8.98 0 0 1-2.26-3.37Zm6.08 14.24c-1.73-1.7-2.89-2.8-3.82-3.73a10 10 0 0 1-2.25-2.98v2.49a7.87 7.87 0 0 0 1.89 5.24l4.58 4.47c1.28 1.25 1.5 1.85 1.79 2.55v-3.37c0-2.85-1.45-3.95-2.19-4.67Z","M19.88 5.34c-.32 0-.64 0-.96.02V6.7a18.5 18.5 0 1 1 .95 36.94A18.5 18.5 0 0 1 1.35 25.17c0-5.67 2.55-10.73 6.58-14.13V9.32A19.78 19.78 0 0 0 0 25.17C0 36.12 8.9 45 19.88 45a19.85 19.85 0 0 0 19.86-19.83c0-10.95-8.9-19.83-19.87-19.83Z","M33.93 35.53c.3-.41.6-.85.87-1.3v-2.66h-.87v3.96Zm2.54-4.92c.12-.4.24-.78.34-1.16h-2.88v.7h.43c.77-.02 1.63-.03 2.11.46Zm-19.19-1.27h-.78v7.91h.78v-7.9Z","M14.7 27.83h2.58c.67 0 1.14.14 1.4.4.27.25.4.72.4 1.38v7.4c0 .66-.12 1.12-.4 1.38-.4.41-1.16.41-1.78.41l-.4-.01v3.5l.78.14v-2.88c1.2 0 1.97-.4 2.34-1.22v4.29h.26l.5-.01V29.74c0-.68.13-1.16.4-1.43.25-.27.72-.4 1.37-.4.67 0 1.65-.1 2.16.4.26.27.38.76.38 1.43v3.8h-1.77v-4.06h-.77v12.99c.26-.03.5-.07.77-.12V34.3h1.77v7.64c.36-.1.72-.21 1.08-.34v-7c0-.8.19-1.4 1-1.67l-.9-4.87h1.8l.3 5.31h.22l.3-5.31h1.88l-1.01 4.87c.84.3 1.01.81 1.01 1.66v4.53a16.63 16.63 0 0 0 1.5-1.27v-9.83h5.25l.1-.72H24.93l.17.89c-.38-.72-1.12-1.08-2.2-1.08h-.77c-1.3 0-2.1.52-2.4 1.55-.27-1.08-1.1-1.62-2.46-1.62h-3.36v14.52c.26.09.52.18.78.25V27.84Zm16.29 5.58-.85-.8.85-4.37v5.17Z","M27.66 40.79c.27-.14.55-.28.8-.43v-5.98h-.8v6.4Z"],Ue={"bg-white":"text-primary-main",transparent:"text-white"},Je={"bg-white":"text-black",transparent:"text-white"},Xe=a((({className:e="",href:t,children:a,targetBlank:i,bgColor:l="bg-white",hideTitle:s})=>r("a",{className:`inline-flex items-center font-sans no-underline ${e}`,href:t||"https://rshb.ru/",target:i?"_blank":"_self","aria-label":"Россельхозбанк",children:[n(Se,{className:`${Ue[l]} w-10 h-[38px]`,viewBox:"0 0 40 45",paths:Fe.map((e=>({d:e})))}),!s&&n("span",{className:`${Je[l]} text-sm font-medium ml-2.5`,children:a||"Россельхозбанк"})]}))),Ke=a((({className:e,title:t="Мобильное приложение",description:a,href:i="#"})=>n("div",{className:`col-span-12 rounded-md cursor-pointer p-4 mt-6 mb-6 bg-secondary-light ${e||""}`,children:i?r("div",{className:"flex",children:[n("div",{className:"flex justify-center align-middle rounded-md bg-primary-main w-[50px] h-[50px]",children:n(Xe,{className:"w-[33px]",bgColor:"transparent",hideTitle:!0})}),r("a",{href:i,target:"_blank",className:"flex flex-col justify-center pl-3",children:[n("div",{className:"text-sm font-medium",children:t}),n("div",{className:"text-xs text-secondary-text",children:a})]})]}):null}))),Qe=a((({className:e,items:t,hasButton:a,context:i})=>{const l=i.useRouter(),{handlerDecorator:s}=i;return r("div",{className:`flex flex-col ${e||""}`,children:[t?.length?t.map(Ye):null,a?n(y,{version:"primary",className:"my-4",...x({router:l,handlerDecorator:s},{text:"Обратная связь",href:"/",target:"_blank"})}):null]})})),Ye=(e,t)=>{const{type:a,text:i,description:l}=e;return r("div",{className:"mb-4",children:[n("div",{children:qe(a,i)}),n("div",{className:"font-sans text-sm text-secondary-text",children:l})]},String(t))},qe=(e,t="")=>{switch(e){case"tel":return n("a",{className:"font-sans font-medium text-xl text-primary-text no-underline",href:`tel:${et(t)}`,children:t});case"email":return n("a",{className:"font-sans font-medium text-xl text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return n("span",{children:t})}},et=e=>e.replaceAll(/\D/g,""),tt=a((({title:e,links:t,className:a="",context:i})=>{const l=i.useRouter(),{handlerDecorator:s}=i;return r("div",{className:a,children:[n("span",{className:"text-primary-text font-sans font-medium text-sm",children:e}),t?.length?n("div",{className:"flex flex-col gap-5 py-5",children:t.map(((e,t)=>n(nt,{index:t,...x({router:l,handlerDecorator:s},e)},String(t))))}):null]})})),nt=a((({className:e="",index:t,text:r,href:a,target:i,onClick:l})=>n("a",{className:`font-sans font-normal text-sm text-secondary-text hover:text-primary-main inline-block no-underline ${e}`,href:a,target:i,onClick:l,children:r||`Документ ${t}`}))),rt=[{origins:["t.me","telegram.org"],icon:"TelegramIcon",label:"Телеграм",width:"20px",height:"16px"},{origins:["vk.com"],icon:"VKIcon",label:"ВКонтакте",width:"24px",height:"12px"},{origins:["ok.ru"],icon:"OkIcon",label:"Одноклассники",width:"12px",height:"20px"}],at=a((({href:e})=>{const{icon:t,width:r,height:a,label:i}=rt.find((({origins:t})=>t.some((t=>e?.includes(t)))))||{};return t?n("a",{className:"flex items-center justify-center border border-solid border-main-divider rounded-full no-underline outline-none w-[38px] h-[38px] hover:fill-primary-main",href:e,"aria-label":i,target:"_blank",rel:"noopener noreferrer",children:f&&n(f,{name:t,width:r,height:a,asSVG:!0,className:"block"})}):null})),it=a((({className:e,media:t,context:r})=>{const a=r.useRouter(),{handlerDecorator:i}=r;return n("div",{className:`flex gap-2 items-start justify-start pt-6 pb-6 ${e||""}`,children:t?.map(((e,t)=>n(at,{...x({router:a,handlerDecorator:i},e)},String(t))))})})),lt=a((({className:e,links:t,context:a})=>{const i=a.useRouter(),{handlerDecorator:l}=a;return r("div",{className:`${e||""}`,children:[n("div",{className:"pt-5 pb-[5px]",children:n("span",{className:"font-sans font-normal text-xs text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?n("div",{className:"flex flex-col justify-start items-start gap-5 pt-[5px]",children:t.map(((e,t)=>n(st,{index:t,...x({router:i,handlerDecorator:l},e)},String(t))))}):null]})})),st=a((({className:e,index:t,text:r,href:a,target:i,onClick:l})=>n("a",{className:`font-sans font-normal text-xs text-secondary-text visited:text-secondary-text hover:text-primary-text inline-block no-underline max-w-[292px] ${e||""}`,href:a,target:i,onClick:l,children:r||`Документ ${t}`}))),ct=a((({className:e,context:t})=>{const{term:a,setTerm:i}=t.useSearch();return r("form",{className:`relative ${e||""}`,children:[r("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[n("div",{className:"w-[20px] h-[20px]",children:n(f,{name:"LoupeIcon",width:"24",height:"24"})}),!a&&n("label",{htmlFor:"search-bar-input",className:"font-sans font-normal text-sm text-secondary-text",children:"Поиск по сайту"})]}),n("input",{id:"search-bar-input",className:"h-12 pl-12 w-full peer font-sans font-normal text-base text-black border border-solid rounded h-full box-border outline-none pr-[6%] border-main-divider focus:border-primary-text",value:a,onChange:e=>i(e.target.value),type:"text",name:"search-bar-input"}),n(y,{version:"primary",text:"Найти",className:"w-auto invisible peer-focus:visible absolute top-1 right-1",onClick:e=>{e.preventDefault(),console.log("click")},children:n("div",{className:"font-normal text-sm px-9 py-[9px]",children:"Найти"})})]})})),ot=e=>e?.map((e=>({label:e.text||"",blocks:[{accordionBlockType:"LinkDocs",documents:e.items||[]}]}))),mt=a((({className:e="",documents:t,relatedEnterprises:a,contacts:i,socialMedia:l,topItems:s,context:c,horizontalNavigationTitle:o,subMenu:m})=>{const d={context:c,accordionItems:ot(s)};return r("footer",{className:`px-4 py-[26px] bg-white ${e}`,children:[n(Qe,{className:"overflow-hidden",items:i,context:c,hasButton:!0}),n(We,{className:"p-0 pt-0 pb-0 mb-4",...d}),n("div",{children:m?.map(dt)}),n(Ke,{context:c,title:"Мобильное приложение",description:"Загрузить для IOS и Android"}),n(ct,{context:c,className:"grow"}),n(it,{className:"pb-4",media:l,context:c}),n(tt,{title:o,links:a,context:c}),n(lt,{links:t,context:c})]})})),dt=(e,t)=>{const{icon:a,href:i,text:l}=e;return r(y,{href:i,className:"flex text-sm mb-4",children:[a?n(f,{className:"pr-1",name:a,width:"24",height:"24",asSVG:!0}):null,n("span",{className:"pl-0.5 font-medium",children:l})]},`footer-${t}`)},ht=(e,t,n=((e,t)=>t.startsWith(e)))=>n(s(e),(e=>(e||"").replace(m,""))(s(l(e)?t.href:t.pathname))),xt=e=>t=>ht(t.href,e),ut=e=>t=>t.items?.some(xt(e))||ht(t.href,e)||((e,t)=>c(e)===c(t.href))(t.href,e),pt=e=>t=>e?.href===t?.href,ft=(e,t)=>{return(r=e,a=t,(r||[]).map((e=>a?.find(pt(e))||e))).concat((n=e,(t||[]).filter((e=>!n?.find(pt(e))))));var n,r,a};async function gt(){const e=await fetch(bt());return await e.json()}function bt(){return`/wcms-resources/${u.SITEMAP||"sitemap"}.json`}const Nt="absolute left-0 -bottom-3 w-full h-[2px]",vt=a((({className:e,text:t,href:a,target:i,active:l,onClick:s,children:c,bgColor:o="bg-white"})=>r("a",{className:`relative inline-block bg-transparent text-center no-underline ${e||""}`,href:a,target:i,onClick:s,children:[n("span",{className:yt(o,l),children:t||c}),l?n("div",{className:wt(o,l)}):null]}))),yt=(e,t)=>{let n="text-white";return"bg-white"===e&&(n=t?"text-primary-main":"text-secondary-text hover:text-primary-main"),`${n} font-sans font-normal text-sm`},wt=(e,t)=>t?`${"bg-white"===e?"bg-primary-main":e} ${Nt}`:Nt,kt=a((({context:e,burgerSubMenu:t,onClick:a,defaultLocation:i="",children:l})=>{const[s,c]=e.useGeolocation(i);return r("div",{className:"absolute top-0 left-0 w-full h-full bg-white p-4",children:[n("button",{className:"absolute top-4 right-4",onClick:a,children:n(f,{name:"CloseIcon",width:"24",height:"24",asSVG:!0})}),r(y,{onClick:c,className:"flex items-center text-sm text-secondary-text mb-4",children:[n(f,{name:"GeolocationIcon",width:"24",height:"24",className:"box-border mr-2",asSVG:!0}),s]}),l,n("div",{className:"mb-7",children:t?.map($t)}),n(ct,{context:e,className:"grow"})]})})),$t=(e,t)=>{const{icon:a,href:i,text:l}=e;return r(y,{href:i,className:"flex text-sm mb-4",children:[a?n(f,{className:"pr-1",name:a,width:"24",height:"24",asSVG:!0}):null,n("span",{className:"pl-0.5 font-medium",children:l})]},`headerSubMenu-${t}`)},St=a((({onClick:e,bgColor:t})=>r("div",{className:"flex items-center justify-between border-0 border-b border-main-divider h-[50px]",children:[r("div",{className:"flex items-center",children:[n("button",{className:"pr-4",onClick:e,"aria-label":"Открыть меню",children:n(f,{name:"bg-white"===t?"BurgerIcon":"BurgerIconWhite",width:"24",height:"24",asSVG:!0})}),n(Xe,{bgColor:t})]}),n("button",{className:("bg-white"===t?"text-primary-main":"text-white")+" text-sm",children:"Войти"})]}))),Ct=a((({className:e="",defaultLocation:t,bgColor:a="bg-white",context:i,topItems:l,burgerSubMenu:s})=>{const c=i.useRouter(),o=function(e){const{data:t}=e(bt(),gt);return t||{}}(i.useAsyncData),{handlerDecorator:m}=i,d=ft(o.topItems,l).find(ut(c))?.items,h=(e=>(t=[])=>{const n=t?.filter(xt(e));var r;return n?.length?(r=e=>e.href?.length||0,e=>e.reduceRight(((e,t)=>r(e)>r(t)?e:t)))(n):null})(c)(d),[u,p]=i.useState(!1),f=()=>p(!u);return r("header",{className:`${a} ${e}`,children:[r("div",{className:"container px-4 py-0",children:[n(St,{onClick:f,bgColor:a}),n("nav",{className:"flex items-center m-0 p-0 overflow-y-hidden w-full h-[50px]",children:n("div",{className:"flex",children:d?.map(((e,t)=>Tt({...x({router:c,handlerDecorator:m},e),active:e===h,bgColor:a},t)))})})]}),u?n(kt,{context:i,onClick:f,burgerSubMenu:s,defaultLocation:t,children:n(We,{context:i,accordionItems:ot(l),className:"p-0 pt-0 pb-0 mb-4"})}):null]})})),Tt=(e,t)=>n(vt,{className:"mr-8 whitespace-nowrap text-sm",...e},String(t)),_t=a((({className:e="",context:t,title:r})=>n(fe,{className:`pr-0 min-h-0 ${e}`,context:t,title:r,description:"Блок в разработке...",children:n("figure",{className:"m-0",children:Dt()})}))),Dt=(e=3)=>It(100,e).map((e=>Math.floor(e))).map(jt),jt=(e=100,t)=>n("div",{style:{width:`${e}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),It=(e,t)=>[e].concat(t>0?It(e/1.618,t-1):[]),Lt={primary:"text-primary-text",secondary:"text-white"},Bt={primary:"text-secondary-text",secondary:"text-white"};const Rt=a((({className:e="",context:t,title:a,headingType:i="h2",description:l,benefits:s,buttons:c,image:o,items:m,version:d="primary"})=>r("div",{className:`${e}`,children:[n("div",{children:r(S,{context:t,title:a&&n($,{headingType:i,title:a,className:"whitespace-pre-wrap max-w-[600px]"}),buttons:c?.length?n(w,{context:t,buttons:c,className:"flex mt-9 gap-3"}):null,children:[l&&n(ue,{description:l}),s?.length?n("div",{className:"mt-[19px]",children:s.map(((e,t)=>function(e,t,a){return r("div",{className:"flex gap-3 items-center mb-2.5 last:mb-0",children:[e.icon&&n(f,{className:"w-[25px] h-[25px] rounded-full box-border",name:e.icon,width:"24",height:"24",asSVG:!0}),n("div",{className:`font-medium text-m-base m-0 ${Lt[a]}`,children:e.label}),e.description&&n("div",{className:`font-normal text-m-sm ${Bt[a]}`,children:e.description})]},String(t))}(e,t,d)))}):null,m?.length?n(oe,{items:m}):null]})}),o?.src&&n("div",{className:"mt-5",children:n(H,{image:{className:"block",...o}})})]}))),Vt=a((e=>{const{className:t}=e;return n("section",{className:`font-sans bg-white px-4 py-6 ${t||""}`,children:n(Rt,{...e})})})),Ot=a((({block:e,headingType:t,context:r})=>n("section",{className:"flex grow-0 shrink-0 basis-full px-4 py-6",role:"listitem",children:n("div",{className:"flex grow",children:n(Rt,{context:r,headingType:t||"h2",...e})})}))),At=a((({className:e,context:t,duration:a=0,slides:i=[]})=>{const l=i.map((e=>e.productBlock)),[s,c]=t.useState(0);return r("section",{className:`font-sans bg-white overflow-hidden w-100 ${e||""}`,children:[n("div",{className:"flex duration-1000",style:{transform:`translateX(-${s}00%)`},role:"list",children:l.map(((e,r)=>n(Ot,{block:e,context:t},String(r))))}),n("div",{className:"flex px-4 py-6",children:i.map(((e,t)=>function({slide:e,i:t,activeSlideIndex:r,onClick:a,duration:i}){const l=t===r?"animate-slide bg-primary-main":"bg-main-divider";return n("button",{type:"button",onClick:a,"aria-label":e?.title,className:"relative overflow-hidden border-0 bg-inherit cursor-pointer pl-0 mr-1.5 pt-4 pb-5 last:mr-0 grow basis-0",children:n("div",{className:`absolute bottom-0 left-0 w-full h-[3px] ${l}`,style:{animationDuration:`${i}s`,animationFillMode:"forwards"}})},String(t))}({slide:e.productBlock,i:t,activeSlideIndex:s,onClick:()=>c(t),duration:a})))})]})}));const Mt=a((({className:e,title:t,description:a,steps:i,size:l="normal"})=>r("section",{className:`box-border font-sans text-primary-text bg-white px-4 py-6 flex flex-col ${e||""}`,children:[t&&n($,{headingType:"h3",className:"text-center",title:t}),a&&n("p",{className:`text-m-md text-center ${t&&"mt-2"}`,children:a}),i?.length?n("div",{className:"box-border py-0.5 mb-0.5 mt-5",children:n("div",{className:"flex flex-col justify-between gap-x-[101px]",children:i.map(((e,t)=>Pt({step:e,size:l,i:t,length:i.length})))})}):null]}))),Pt=e=>{const{step:t,size:a,i:i,length:l}=e,s=l-1===i,c="normal"===a?"ml-[34px]":"ml-[24px]";return n("div",{children:r("div",{className:"flex flex-row text-center relative",children:[r("div",{children:[Zt(t,a,i),!s&&n("div",{className:`min-h-8 h-full w-[2px] bg-secondary-light ${c}`})]}),r("div",{className:"flex flex-col justify-center relative",children:[t.label&&n("div",{className:"font-medium text-m-title-xs m-0 text-left",children:t.label}),t.description&&n("div",{className:"font-normal text-sm text-secondary-text text-left "+(t.label?"mt-1":""),children:t.description})]})]},String(i))},String(i))},Zt=(e,t,r)=>{const a="normal"===t?"38":"27";return n("div",{className:`${"normal"===t?"h-[70px] w-[70px] min-w-[70px] min-h-[70px]":"h-[50px] w-[50px] min-w-[50px] min-h-[50px]"} bg-secondary-light rounded-full z-10 mr-3 flex justify-center content-center`,children:n("span",{className:`font-medium text-secondary-text self-center ${"normal"===t?"text-m-title":"text-m-title-xs"}`,children:e.icon&&n(f,{name:e.icon,width:a,height:a,asSVG:!0})||r+1})})},Ht={ExchangeRateTile:R,Footer:mt,Header:Ct,Headline:z,LinkDocs:ne,Placeholder:_t,ProductBlock:Vt,ProductGallery:At,TextBlock:de,StepsBlock:Mt},Et=a((({className:e,onClick:t,ariaLabel:r})=>n("button",{type:"button",className:`border-0 w-[36px] bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":r,children:zt()}))),zt=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[n("path",{...e,strokeMiterlimit:"10",d:"M21.48 11.95c.5-1.4-.4-2.6-1.9-2.6h-4c-.6 0-1.1-.5-1-1.2l.5-3.2c.2-.9-.4-1.9-1.3-2.2-.8-.3-1.8.1-2.2.7l-4.1 6.1M7.48 18.35l3.1 2.4c.4.4 1.3.6 1.9.6h3.8c1.2 0 2.5-.9 2.8-2.1l1.24-3.77"}),n("path",{...e,d:"M2.38 18.35v-9.8c0-1.4.6-1.9 2-1.9h1c1.4 0 2 .5 2 1.9v9.8c0 1.4-.6 1.9-2 1.9h-1c-1.4 0-2-.5-2-1.9Z"})]})},Gt=a((({className:e,context:t})=>{const a=t.useLikeService();return r("div",{className:`border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${e||""}`,children:[n(Et,{onClick:a.like,ariaLabel:"Поставить отметку «лайк»"}),n(Et,{onClick:a.dislike,className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),n("span",{className:"select-none",children:a.likeCount})]})})),Wt=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),Ft=a((({className:e,context:t,blocksRegistry:a,data:{style:i,blocks:l,slots:s={},likeControl:c,colorPalette:o="pc"},blockDecorator:m=Wt})=>{const{header:d}=s;return r("section",{className:`relative ${Jt(i)} ${e||""}`,"data-theme":o,children:[d?.blocks?.length?n("div",{className:`${Jt(d?.style)}`,children:d.blocks.map(((e,n)=>Ut({block:e,blockDecorator:m,blocksRegistry:a,context:t},n)))}):null,l?.length?n("div",{className:"container grid grid-cols-12 gap-1",children:l.map(((e,n)=>Ut({block:e,blockDecorator:m,blocksRegistry:a,context:t},n)))}):null,c&&n("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:n(Gt,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto",context:t})})]})}));function Ut({block:e,blockDecorator:t,blocksRegistry:r,context:a},i){const{type:l}=e;l in r||console.warn(`No block with "${l}" is registered`);const s=r[l]||_t;return t({blockClassName:Jt(e.style),block:e,render:e=>{const{version:t,content:r}=e.block;return n(s,{className:e.blockClassName,version:t,context:a,...r},`${l}-${i}`)}},`block-${i}`)}function Jt(e){return e?e.join(" "):""}const Xt=a((({HeadComponent:e,data:t,children:a})=>{const{title:i,description:l,keywords:s,robots:c,og:o}=t;return r(e,{children:[n("title",{children:i}),n("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),l&&n("meta",{name:"description",content:l}),s&&n("meta",{name:"keywords",content:s.join(",")}),c&&n("meta",{name:"robots",content:c.join(",")}),o?Object.entries(o).map((([e,t])=>n("meta",{name:`og:${e}`,content:t},e))):null,a]})}));function Kt(e){const{mobile:t,...n}=e;return t?{...n,...t,content:{...n.content,...t.content}}:e}function Qt(e){return e?.filter((e=>function(e,t){return e.type in t}(e,Ht)&&!e.mobile?.hidden)).map(Kt)}e.Blocks=Ht,e.ContentPage=Ft,e.ContentPageHead=Xt,e.DaDataAPI=function(e=""){return{getFetcherAddress:async function(){if(!("geolocation"in navigator))return null;try{const t=await(async()=>new Promise((e=>navigator.geolocation.getCurrentPosition((({coords:t})=>e(t))))))(),n=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await n.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}},e.Header=Ct,e.Icon=f,e.LikeAPI=function(e,t=""){async function n(){try{const e=JSON.parse(globalThis.localStorage.getItem(i)||"");if(e?.token)return e}catch(e){}try{const e=await fetch(`${t}/assist/v1/public/auth`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({prefix:"guest"})}),{token:n,name:r}=await e.json();return globalThis.localStorage.setItem(i,JSON.stringify({token:n,name:r})),{token:n,name:r}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...r){if(!r.length)return[];const{token:a}=await n();try{const n=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:a},body:JSON.stringify({node_ids:r})}),{likes:i}=await n.json();return i||[]}catch(e){return console.error(e),[]}},like:async function(r){if(!r)return 0;const{token:a,name:i}=await n();try{const n=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:a,UserID:i},body:JSON.stringify({node_id:r,user_name:i})}),{likes:l}=await n.json();return l||0}catch(e){return console.error(e),0}},dislike:async function(r){if(!r)return 0;const{token:a,name:i}=await n();try{const n=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:a,UserID:i},body:JSON.stringify({node_id:r,user_name:i})}),{likes:l}=await n.json();return l||0}catch(e){return console.error(e),0}}}},e.joinList=function(e){return t=>t.reduce(((t,n,r)=>t.length?t.concat({...e,key:r},n):[n]),[])},e.normalizePage=function(e){if(!e)return;const{blocks:t,slots:n}=e;return{...e,blocks:Qt(t),slots:n&&Object.keys(n).reduce(((e,t)=>({...e,[t]:{...n[t],blocks:Qt(n[t].blocks)}})),{})}},e.projectSettings=u,e.setup=t,e.url=o,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -5,6 +5,6 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const Heading_1 = require("../../ui-kit/Heading/Heading");
6
6
  const AccordionItem_1 = require("./AccordionItem");
7
7
  exports.Accordion = (0, uni_jsx_1.JSX)(({ title, description, accordionItems, context, className = '', bordered }) => {
8
- return ((0, jsx_runtime_1.jsxs)("section", { className: `py-6 font-sans bg-white text-primary-text ${bordered ? 'px-4' : ''} ${className}`, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { type: "h3", className: "mb-2 text-center", text: title }) : null, description ? (0, jsx_runtime_1.jsx)("div", { className: "mb-5 text-m-md text-center", children: description }) : null, accordionItems?.length ? ((0, jsx_runtime_1.jsx)("ul", { className: "list-none m-0 p-0", children: accordionItems.map((item, i) => ((0, jsx_runtime_1.jsx)(AccordionItem_1.AccordionItem, { ...item, context: context, bordered: bordered }, `AccordionItem${i}`))) })) : null] }));
8
+ return ((0, jsx_runtime_1.jsxs)("section", { className: `py-6 font-sans bg-white text-primary-text ${bordered ? 'px-4' : ''} ${className}`, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", className: "mb-2 text-center", title: title }) : null, description ? (0, jsx_runtime_1.jsx)("div", { className: "mb-5 text-m-md text-center", children: description }) : null, accordionItems?.length ? ((0, jsx_runtime_1.jsx)("ul", { className: "list-none m-0 p-0", children: accordionItems.map((item, i) => ((0, jsx_runtime_1.jsx)(AccordionItem_1.AccordionItem, { ...item, context: context, bordered: bordered }, `AccordionItem${i}`))) })) : null] }));
9
9
  });
10
10
  //# sourceMappingURL=Accordion.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Accordion.js","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,0DAAuD;AAEvD,mDAAgD;AAInC,QAAA,SAAS,GAAG,IAAA,aAAG,EAC1B,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC5E,OAAO,CACL,qCACE,SAAS,EAAE,6CACT,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EACtB,IAAI,SAAS,EAAE,aAEd,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,IAAI,EAAC,IAAI,EAAC,SAAS,EAAC,kBAAkB,EAAC,IAAI,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC9E,WAAW,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,4BAA4B,YAAE,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,EACpF,cAAc,EAAE,MAAM,CAAC,CAAC,CAAC,CACxB,+BAAI,SAAS,EAAC,mBAAmB,YAC9B,cAAc,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAC/B,uBAAC,6BAAa,OAER,IAAI,EACR,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,IAHb,gBAAgB,CAAC,EAAE,CAIxB,CACH,CAAC,GACC,CACN,CAAC,CAAC,CAAC,IAAI,IACA,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"Accordion.js","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,0DAAuD;AAEvD,mDAAgD;AAInC,QAAA,SAAS,GAAG,IAAA,aAAG,EAC1B,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE;IAC5E,OAAO,CACL,qCACE,SAAS,EAAE,6CACT,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EACtB,IAAI,SAAS,EAAE,aAEd,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,kBAAkB,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACtF,WAAW,CAAC,CAAC,CAAC,gCAAK,SAAS,EAAC,4BAA4B,YAAE,WAAW,GAAO,CAAC,CAAC,CAAC,IAAI,EACpF,cAAc,EAAE,MAAM,CAAC,CAAC,CAAC,CACxB,+BAAI,SAAS,EAAC,mBAAmB,YAC9B,cAAc,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CAC/B,uBAAC,6BAAa,OAER,IAAI,EACR,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,IAHb,gBAAgB,CAAC,EAAE,CAIxB,CACH,CAAC,GACC,CACN,CAAC,CAAC,CAAC,IAAI,IACA,CACX,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -3,4 +3,8 @@ export declare const AccordionBlocks: {
3
3
  LinkDocs: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("../LinkDocs/LinkDocs").LinkDocsProps, any>, context?: any) => any;
4
4
  TextBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("../TextBlock/TextBlock").TextBlockProps, any>, context?: any) => any;
5
5
  PictureText: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("../PictureText/PictureText").PictureTextProps, any>, context?: any) => any;
6
+ Tile: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("../Tile/Tile").TileProps, any>, context?: any) => any;
7
+ ProductTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("../ProductTile/ProductTile").ProductTileProps, any>, context?: any) => any;
8
+ Gallery: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("../Gallery/GalleryProps").GalleryProps, any>, context?: any) => any;
9
+ MiniGallery: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("../MiniGallery/MiniGallery").MiniGalleryProps, any>, context?: any) => any;
6
10
  };
@@ -4,10 +4,18 @@ const Headline_1 = require("../Headline/Headline");
4
4
  const LinkDocs_1 = require("../LinkDocs/LinkDocs");
5
5
  const PictureText_1 = require("../PictureText/PictureText");
6
6
  const TextBlock_1 = require("../TextBlock/TextBlock");
7
+ const Tile_1 = require("../Tile/Tile");
8
+ const ProductTile_1 = require("../ProductTile/ProductTile");
9
+ const Gallery_1 = require("../Gallery/Gallery");
10
+ const MiniGallery_1 = require("../MiniGallery/MiniGallery");
7
11
  exports.AccordionBlocks = {
8
12
  Headline: Headline_1.Headline,
9
13
  LinkDocs: LinkDocs_1.LinkDocs,
10
14
  TextBlock: TextBlock_1.TextBlock,
11
15
  PictureText: PictureText_1.PictureText,
16
+ Tile: Tile_1.Tile,
17
+ ProductTile: ProductTile_1.ProductTile,
18
+ Gallery: Gallery_1.Gallery,
19
+ MiniGallery: MiniGallery_1.MiniGallery,
12
20
  };
13
21
  //# sourceMappingURL=AccordionBlocks.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AccordionBlocks.js","sourceRoot":"","sources":["../../../src/components/Accordion/AccordionBlocks.tsx"],"names":[],"mappings":";;AAAA,mDAAgD;AAChD,mDAAgD;AAChD,4DAAyD;AACzD,sDAAmD;AAEtC,QAAA,eAAe,GAAG;IAC7B,QAAQ,EAAR,mBAAQ;IACR,QAAQ,EAAR,mBAAQ;IACR,SAAS,EAAT,qBAAS;IACT,WAAW,EAAX,yBAAW;CACZ,CAAC"}
1
+ {"version":3,"file":"AccordionBlocks.js","sourceRoot":"","sources":["../../../src/components/Accordion/AccordionBlocks.tsx"],"names":[],"mappings":";;AAAA,mDAAgD;AAChD,mDAAgD;AAChD,4DAAyD;AACzD,sDAAmD;AACnD,uCAAoC;AACpC,4DAAyD;AACzD,gDAA6C;AAC7C,4DAAyD;AAE5C,QAAA,eAAe,GAAG;IAC7B,QAAQ,EAAR,mBAAQ;IACR,QAAQ,EAAR,mBAAQ;IACR,SAAS,EAAT,qBAAS;IACT,WAAW,EAAX,yBAAW;IACX,IAAI,EAAJ,WAAI;IACJ,WAAW,EAAX,yBAAW;IACX,OAAO,EAAP,iBAAO;IACP,WAAW,EAAX,yBAAW;CACZ,CAAC"}
@@ -1,39 +1,50 @@
1
+ import type { GalleryContent } from '../Gallery/GalleryContent';
1
2
  import type { HeadlineContent } from '../Headline/HeadlineContent';
2
3
  import type { LinkDocsContent } from '../LinkDocs/LinkDocsContent';
4
+ import type { MiniGalleryContent } from '../MiniGallery/MiniGalleryContent';
3
5
  import type { PictureTextContent } from '../PictureText/PictureTextContent';
6
+ import type { ProductTileContent } from '../ProductTile/ProductTileContent';
4
7
  import type { TextBlockContent } from '../TextBlock/TextBlockContent';
8
+ import type { TileContent } from '../Tile/TileContent';
5
9
  /**
6
10
  * @title Тип блока
7
11
  */
8
- export declare type AccordionTypeBlock = 'Headline' | 'LinkDocs' | 'TextBlock' | 'PictureText';
12
+ export declare type AccordionBlockType = 'Headline' | 'LinkDocs' | 'TextBlock' | 'PictureText' | 'Tile' | 'ProductTile' | 'Gallery' | 'MiniGallery';
13
+ interface AccordionBlockDef {
14
+ accordionBlockType: AccordionBlockType;
15
+ }
9
16
  /**
10
17
  * @title Заголовок
11
18
  */
12
- export interface HeadlineAccordionBlock extends HeadlineContent {
13
- /** @default Headline */
14
- accordionBlockType: AccordionTypeBlock;
15
- }
19
+ export declare type HeadlineAccordionBlockDef = HeadlineContent & AccordionBlockDef;
16
20
  /**
17
21
  * @title Список документов
18
22
  */
19
- export interface LinkDocsAccordionBlock extends LinkDocsContent {
20
- /** @default LinkDocs */
21
- accordionBlockType: AccordionTypeBlock;
22
- }
23
+ export declare type LinkDocsAccordionBlockDef = LinkDocsContent & AccordionBlockDef;
23
24
  /**
24
25
  * @title Текстовый блок
25
26
  */
26
- export interface TextBlockAccordionBlock extends TextBlockContent {
27
- /** @default TextBlock */
28
- accordionBlockType: AccordionTypeBlock;
29
- }
27
+ export declare type TextBlockAccordionBlockDef = TextBlockContent & AccordionBlockDef;
30
28
  /**
31
29
  * @title Картинка с текстом
32
30
  */
33
- export interface PictureTextAccordionBlock extends PictureTextContent {
34
- /** @default PictureText */
35
- accordionBlockType: AccordionTypeBlock;
36
- }
31
+ export declare type PictureTextAccordionBlockDef = PictureTextContent & AccordionBlockDef;
32
+ /**
33
+ * @title Плитка
34
+ */
35
+ export declare type TileAccordionBlockDef = TileContent & AccordionBlockDef;
36
+ /**
37
+ * @title Продуктовая плитка
38
+ */
39
+ export declare type ProductTileAccordionBlockDef = ProductTileContent & AccordionBlockDef;
40
+ /**
41
+ * @title Галлерея
42
+ */
43
+ export declare type GalleryAccordionBlockDef = GalleryContent & AccordionBlockDef;
44
+ /**
45
+ * @title Мини-галлерея
46
+ */
47
+ export declare type MiniGalleryAccordionBlockDef = MiniGalleryContent & AccordionBlockDef;
37
48
  /**
38
49
  * @title Выберите блок
39
50
  */
@@ -41,7 +52,7 @@ export declare type EmptyOption = null;
41
52
  /**
42
53
  * @title Содержимое аккордеона
43
54
  */
44
- export declare type AccordionBlockProps = EmptyOption | HeadlineAccordionBlock | LinkDocsAccordionBlock | TextBlockAccordionBlock | PictureTextAccordionBlock;
55
+ export declare type AccordionBlockProps = EmptyOption | HeadlineAccordionBlockDef | LinkDocsAccordionBlockDef | TextBlockAccordionBlockDef | PictureTextAccordionBlockDef | TileAccordionBlockDef | ProductTileAccordionBlockDef | GalleryAccordionBlockDef | MiniGalleryAccordionBlockDef;
45
56
  /**
46
57
  * @title Элемент списка
47
58
  */
@@ -75,3 +86,4 @@ export interface AccordionContent {
75
86
  */
76
87
  bordered?: boolean;
77
88
  }
89
+ export {};
@@ -11,6 +11,6 @@ exports.AccordionItem = (0, uni_jsx_1.JSX)(({ label, blocks, bordered, context }
11
11
  blocks,
12
12
  });
13
13
  return ((0, jsx_runtime_1.jsxs)("li", { className: `${bordered ? 'border p-4 rounded mb-4' : 'border-0 border-b last:border-b-0 py-[14px]'} border-solid border-main-divider`, children: [(0, jsx_runtime_1.jsxs)("button", { className: `border-none bg-transparent flex justify-between text-left w-full font-sans text-primary-text
14
- ${hasContent ? 'group cursor-pointer' : ''}`, onClick: handleToggle, children: [(0, jsx_runtime_1.jsx)("span", { className: `text-m-title-xs pr-2.5 font-medium ${hasContent ? 'group-hover:text-primary-main' : ''}`, children: label }), hasContent ? (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: icon, width: "24", height: "24" }) : null] }), hasContent ? (0, jsx_runtime_1.jsx)(AccordionItemInner_1.AccordionItemInner, { blocks: blocks, context: context }) : null] }));
14
+ ${hasContent ? 'group cursor-pointer' : ''}`, onClick: handleToggle, children: [(0, jsx_runtime_1.jsx)("span", { className: `text-m-title-xs pr-2.5 font-medium ${hasContent ? 'group-hover:text-primary-main' : ''}`, children: label }), hasContent ? (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: icon, width: "24", height: "24", asSVG: true }) : null] }), hasContent ? (0, jsx_runtime_1.jsx)(AccordionItemInner_1.AccordionItemInner, { blocks: blocks, context: context }) : null] }));
15
15
  });
16
16
  //# sourceMappingURL=AccordionItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AccordionItem.js","sourceRoot":"","sources":["../../../src/components/Accordion/AccordionItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,iDAA8C;AAE9C,6DAA0D;AAC1D,6DAA0D;AAI7C,QAAA,aAAa,GAAG,IAAA,aAAG,EAAqB,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;IAC5F,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,IAAA,iCAAe,EAAC;QACzD,OAAO;QACP,MAAM;KACP,CAAC,CAAC;IAEH,OAAO,CACL,gCACE,SAAS,EAAE,GACT,QAAQ,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC,CAAC,6CACzC,mCAAmC,aAEnC,oCACE,SAAS,EAAE;UACT,UAAU,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE,EAAE,EAC5C,OAAO,EAAE,YAAY,aAErB,iCACE,SAAS,EAAE,sCACT,UAAU,CAAC,CAAC,CAAC,+BAA+B,CAAC,CAAC,CAAC,EACjD,EAAE,YAED,KAAK,GACD,EACN,UAAU,CAAC,CAAC,CAAC,uBAAC,WAAI,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,IACzD,EACR,UAAU,CAAC,CAAC,CAAC,uBAAC,uCAAkB,IAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAI,CAAC,CAAC,CAAC,IAAI,IAC1E,CACN,CAAC;AACJ,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"AccordionItem.js","sourceRoot":"","sources":["../../../src/components/Accordion/AccordionItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,iDAA8C;AAE9C,6DAA0D;AAC1D,6DAA0D;AAI7C,QAAA,aAAa,GAAG,IAAA,aAAG,EAAqB,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,EAAE,EAAE;IAC5F,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,IAAA,iCAAe,EAAC;QACzD,OAAO;QACP,MAAM;KACP,CAAC,CAAC;IAEH,OAAO,CACL,gCACE,SAAS,EAAE,GACT,QAAQ,CAAC,CAAC,CAAC,yBAAyB,CAAC,CAAC,CAAC,6CACzC,mCAAmC,aAEnC,oCACE,SAAS,EAAE;UACT,UAAU,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE,EAAE,EAC5C,OAAO,EAAE,YAAY,aAErB,iCACE,SAAS,EAAE,sCACT,UAAU,CAAC,CAAC,CAAC,+BAA+B,CAAC,CAAC,CAAC,EACjD,EAAE,YAED,KAAK,GACD,EACN,UAAU,CAAC,CAAC,CAAC,uBAAC,WAAI,IAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,EAAC,KAAK,SAAG,CAAC,CAAC,CAAC,IAAI,IAC/D,EACR,UAAU,CAAC,CAAC,CAAC,uBAAC,uCAAkB,IAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAI,CAAC,CAAC,CAAC,IAAI,IAC1E,CACN,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -2,16 +2,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.BaseTile = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- const Heading_1 = require("../../ui-kit/Heading/Heading");
6
- const BaseTileInner_1 = require("./BaseTileInner");
7
- const getHeadingType_1 = require("./getHeadingType");
8
- const alignBlock = {
9
- left: 'items-start',
10
- center: 'items-center',
11
- right: 'items-end',
12
- };
13
- const TITLE_CLASSES = 'font-medium m-0 whitespace-pre-wrap max-w-[600px]';
14
- exports.BaseTile = (0, uni_jsx_1.JSX)(({ className, context, title, headingType, description, children, buttons, image, items, version = 'primary', align = 'left', }) => {
15
- return ((0, jsx_runtime_1.jsxs)("div", { className: `font-sans flex flex-col grow h-full ${alignBlock[align]}`, children: [title && ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { type: headingType || (0, getHeadingType_1.getHeadingType)(className), className: `${TITLE_CLASSES} ${version === 'primary' ? 'text-primary-text' : ''}`, text: title })), (0, jsx_runtime_1.jsx)(BaseTileInner_1.BaseTileInner, { context: context, buttons: buttons, image: image, children: children, description: description, items: items })] }));
5
+ exports.BaseTile = (0, uni_jsx_1.JSX)(({ className = '', title, children, buttons, image }) => {
6
+ return ((0, jsx_runtime_1.jsxs)("div", { className: `font-sans flex flex-col grow h-full items-start ${className}`, children: [title, (0, jsx_runtime_1.jsxs)("div", { className: `flex grow w-full justify-between`, children: [(0, jsx_runtime_1.jsxs)("div", { className: `flex flex-col justify-between`, children: [(0, jsx_runtime_1.jsx)("div", { children: children }), (0, jsx_runtime_1.jsx)("div", { children: buttons })] }), image] })] }));
16
7
  });
17
8
  //# sourceMappingURL=BaseTile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BaseTile.js","sourceRoot":"","sources":["../../../src/components/BaseTile/BaseTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,0DAAuD;AACvD,mDAAgD;AAEhD,qDAAkD;AAElD,MAAM,UAAU,GAA8B;IAC5C,IAAI,EAAE,aAAa;IACnB,MAAM,EAAE,cAAc;IACtB,KAAK,EAAE,WAAW;CACnB,CAAC;AAIF,MAAM,aAAa,GAAG,mDAAmD,CAAC;AAE7D,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EACC,SAAS,EACT,OAAO,EACP,KAAK,EACL,WAAW,EACX,WAAW,EACX,QAAQ,EACR,OAAO,EACP,KAAK,EACL,KAAK,EACL,OAAO,GAAG,SAAS,EACnB,KAAK,GAAG,MAAM,GACf,EAAE,EAAE;IACH,OAAO,CACL,iCAAK,SAAS,EAAE,uCAAuC,UAAU,CAAC,KAAK,CAAC,EAAE,aACvE,KAAK,IAAI,CACR,uBAAC,iBAAO,IACN,IAAI,EAAE,WAAW,IAAI,IAAA,+BAAc,EAAC,SAAS,CAAC,EAC9C,SAAS,EAAE,GAAG,aAAa,IAAI,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,EAAE,EACjF,IAAI,EAAE,KAAK,GACX,CACH,EACD,uBAAC,6BAAa,IACZ,OAAO,EAAE,OAAO,EAChB,OAAO,EAAE,OAAO,EAChB,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,QAAQ,EAClB,WAAW,EAAE,WAAW,EACxB,KAAK,EAAE,KAAK,GACZ,IACE,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"BaseTile.js","sourceRoot":"","sources":["../../../src/components/BaseTile/BaseTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAM3B,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,EAAE;IACtD,OAAO,CACL,iCAAK,SAAS,EAAE,mDAAmD,SAAS,EAAE,aAC3E,KAAK,EACN,iCAAK,SAAS,EAAE,kCAAkC,aAChD,iCAAK,SAAS,EAAE,+BAA+B,aAC7C,0CAAM,QAAQ,GAAO,EACrB,0CAAM,OAAO,GAAO,IAChB,EACL,KAAK,IACF,IACF,CACP,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,8 +1,7 @@
1
1
  import type { BlockVersion } from '../../model/BlockVersion';
2
2
  import type { Picture } from '../../model/Picture';
3
3
  import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
4
- import type { HeadingType } from '../../ui-kit/Heading/HeadingProps';
5
- import type { IconName } from '../../ui-kit/Icon/IconProps';
4
+ import type { HeadingType } from '../../ui-kit/Heading/HeadingContent';
6
5
  /**
7
6
  * @title Выравнивание
8
7
  * @enumNames [
@@ -12,9 +11,6 @@ import type { IconName } from '../../ui-kit/Icon/IconProps';
12
11
  * ]
13
12
  */
14
13
  export declare type AlignType = 'left' | 'center' | 'right';
15
- export interface BaseTileIconButton extends ButtonWithIconProps {
16
- icon?: IconName;
17
- }
18
14
  /**
19
15
  * @title Общий компонент плиток
20
16
  */
@@ -35,11 +31,12 @@ export interface BaseTileMainProps {
35
31
  image?: Picture;
36
32
  /** @title Список */
37
33
  items?: string[];
34
+ list?: string;
38
35
  /**
39
36
  * @title Кнопки
40
37
  * @maxItems 4
41
38
  */
42
- buttons?: BaseTileIconButton[];
39
+ buttons?: ButtonWithIconProps[];
43
40
  version?: BlockVersion;
44
41
  align?: AlignType;
45
42
  }
@@ -0,0 +1 @@
1
+ export declare function getTileHeadingType(className?: string): "h2" | "h3" | "h4";
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
- exports.getHeadingType = void 0;
2
+ exports.getTileHeadingType = void 0;
3
3
  const getColSpan_1 = require("../../utils/getColSpan");
4
- function getHeadingType(className = '') {
4
+ function getTileHeadingType(className = '') {
5
5
  const colSpan = (0, getColSpan_1.getColSpan)(className);
6
6
  if (colSpan <= 4) {
7
7
  return 'h4';
@@ -13,5 +13,5 @@ function getHeadingType(className = '') {
13
13
  return 'h2';
14
14
  }
15
15
  }
16
- exports.getHeadingType = getHeadingType;
17
- //# sourceMappingURL=getHeadingType.js.map
16
+ exports.getTileHeadingType = getTileHeadingType;
17
+ //# sourceMappingURL=getTileHeadingType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTileHeadingType.js","sourceRoot":"","sources":["../../../src/components/BaseTile/getTileHeadingType.ts"],"names":[],"mappings":";;AAAA,uDAAoD;AAEpD,SAAgB,kBAAkB,CAAC,SAAS,GAAG,EAAE;IAC/C,MAAM,OAAO,GAAG,IAAA,uBAAU,EAAC,SAAS,CAAC,CAAC;IACtC,IAAI,OAAO,IAAI,CAAC,EAAE;QAChB,OAAO,IAAI,CAAC;KACb;SAAM,IAAI,OAAO,IAAI,CAAC,EAAE;QACvB,OAAO,IAAI,CAAC;KACb;SAAM;QACL,OAAO,IAAI,CAAC;KACb;AACH,CAAC;AATD,gDASC"}
@@ -0,0 +1 @@
1
+ export declare function getTileMinHeight(className?: string): "min-h-[300px]" | "min-h-[320px]" | "min-h-[360px]";
@@ -0,0 +1,17 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.getTileMinHeight = void 0;
3
+ const getColSpan_1 = require("../../utils/getColSpan");
4
+ function getTileMinHeight(className = '') {
5
+ const colSpan = (0, getColSpan_1.getColSpan)(className);
6
+ if (colSpan <= 6) {
7
+ return 'min-h-[300px]';
8
+ }
9
+ else if (colSpan <= 8) {
10
+ return 'min-h-[320px]';
11
+ }
12
+ else {
13
+ return 'min-h-[360px]';
14
+ }
15
+ }
16
+ exports.getTileMinHeight = getTileMinHeight;
17
+ //# sourceMappingURL=getTileMinHeight.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTileMinHeight.js","sourceRoot":"","sources":["../../../src/components/BaseTile/getTileMinHeight.ts"],"names":[],"mappings":";;AAAA,uDAAoD;AAEpD,SAAgB,gBAAgB,CAAC,SAAS,GAAG,EAAE;IAC7C,MAAM,OAAO,GAAG,IAAA,uBAAU,EAAC,SAAS,CAAC,CAAC;IACtC,IAAI,OAAO,IAAI,CAAC,EAAE;QAChB,OAAO,eAAe,CAAC;KACxB;SAAM,IAAI,OAAO,IAAI,CAAC,EAAE;QACvB,OAAO,eAAe,CAAC;KACxB;SAAM;QACL,OAAO,eAAe,CAAC;KACxB;AACH,CAAC;AATD,4CASC"}
@@ -0,0 +1 @@
1
+ export declare function getTileRightPadding(className?: string): "pr-9" | "pr-[4.75rem]" | "pr-[9.4rem]";
@@ -0,0 +1,17 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.getTileRightPadding = void 0;
3
+ const getColSpan_1 = require("../../utils/getColSpan");
4
+ function getTileRightPadding(className = '') {
5
+ const colSpan = (0, getColSpan_1.getColSpan)(className);
6
+ if (colSpan <= 6) {
7
+ return 'pr-9';
8
+ }
9
+ else if (colSpan <= 8) {
10
+ return 'pr-[4.75rem]';
11
+ }
12
+ else {
13
+ return 'pr-[9.4rem]';
14
+ }
15
+ }
16
+ exports.getTileRightPadding = getTileRightPadding;
17
+ //# sourceMappingURL=getTileRightPadding.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTileRightPadding.js","sourceRoot":"","sources":["../../../src/components/BaseTile/getTileRightPadding.ts"],"names":[],"mappings":";;AAAA,uDAAoD;AAEpD,SAAgB,mBAAmB,CAAC,SAAS,GAAG,EAAE;IAChD,MAAM,OAAO,GAAG,IAAA,uBAAU,EAAC,SAAS,CAAC,CAAC;IACtC,IAAI,OAAO,IAAI,CAAC,EAAE;QAChB,OAAO,MAAM,CAAC;KACf;SAAM,IAAI,OAAO,IAAI,CAAC,EAAE;QACvB,OAAO,cAAc,CAAC;KACvB;SAAM;QACL,OAAO,aAAa,CAAC;KACtB;AACH,CAAC;AATD,kDASC"}
@@ -5,7 +5,7 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const Heading_1 = require("../../ui-kit/Heading/Heading");
6
6
  const Icon_1 = require("../../ui-kit/Icon/Icon");
7
7
  exports.BenefitsBlock = (0, uni_jsx_1.JSX)(({ className, title, benefits }) => {
8
- return ((0, jsx_runtime_1.jsxs)("section", { className: `font-sans text-primary-text bg-white p-12 pb-2 flex flex-col items-center ${className || ''}`, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { type: "h2", className: "max-w-[47rem] text-center", text: title }) : null, benefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "grid grid-cols-2 gap-5 mt-9", children: benefits.map(renderStep) })) : null] }));
8
+ return ((0, jsx_runtime_1.jsxs)("section", { className: `font-sans text-primary-text bg-white p-12 pb-2 flex flex-col items-center ${className || ''}`, children: [title ? ((0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h2", className: "max-w-[47rem] text-center", title: title })) : null, benefits?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "grid grid-cols-2 gap-5 mt-9", children: benefits.map(renderStep) })) : null] }));
9
9
  });
10
10
  const renderStep = (benefit, i) => {
11
11
  return ((0, jsx_runtime_1.jsxs)("div", { className: "flex items-center p-10 gap-5 max-w-[580px]", children: [benefit.icon && ((0, jsx_runtime_1.jsx)(Icon_1.Icon, { className: "h-[70px] w-[70px] min-w-[70px] min-h-[70px]", name: benefit.icon, width: "70", height: "70" })), (0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("h3", { className: "font-medium text-xl m-0", children: benefit.label }), benefit.description && ((0, jsx_runtime_1.jsx)("div", { className: "font-normal text-sm mt-2", children: benefit.description }))] })] }, String(i)));
@@ -1 +1 @@
1
- {"version":3,"file":"BenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/BenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,0DAAuD;AACvD,iDAA8C;AAKjC,QAAA,aAAa,GAAG,IAAA,aAAG,EAAqB,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACtF,OAAO,CACL,qCACE,SAAS,EAAE,6EACT,SAAS,IAAI,EACf,EAAE,aAED,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,IAAI,EAAC,IAAI,EAAC,SAAS,EAAC,2BAA2B,EAAC,IAAI,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EACvF,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAClB,gCAAK,SAAS,EAAC,6BAA6B,YAAE,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,GAAO,CAC9E,CAAC,CAAC,CAAC,IAAI,IACA,CACX,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,CAAC,OAAgB,EAAE,CAAS,EAAE,EAAE;IACjD,OAAO,CACL,iCAAqB,SAAS,EAAC,4CAA4C,aACxE,OAAO,CAAC,IAAI,IAAI,CACf,uBAAC,WAAI,IACH,SAAS,EAAC,6CAA6C,EACvD,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,CACH,EACD,4CACE,+BAAI,SAAS,EAAC,yBAAyB,YAAE,OAAO,CAAC,KAAK,GAAM,EAC3D,OAAO,CAAC,WAAW,IAAI,CACtB,gCAAK,SAAS,EAAC,0BAA0B,YAAE,OAAO,CAAC,WAAW,GAAO,CACtE,IACG,KAdE,MAAM,CAAC,CAAC,CAAC,CAeb,CACP,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"file":"BenefitsBlock.js","sourceRoot":"","sources":["../../../src/components/BenefitsBlock/BenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,0DAAuD;AACvD,iDAA8C;AAKjC,QAAA,aAAa,GAAG,IAAA,aAAG,EAAqB,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACtF,OAAO,CACL,qCACE,SAAS,EAAE,6EACT,SAAS,IAAI,EACf,EAAE,aAED,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,2BAA2B,EAAC,KAAK,EAAE,KAAK,GAAI,CACjF,CAAC,CAAC,CAAC,IAAI,EACP,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAClB,gCAAK,SAAS,EAAC,6BAA6B,YAAE,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,GAAO,CAC9E,CAAC,CAAC,CAAC,IAAI,IACA,CACX,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,CAAC,OAAgB,EAAE,CAAS,EAAE,EAAE;IACjD,OAAO,CACL,iCAAqB,SAAS,EAAC,4CAA4C,aACxE,OAAO,CAAC,IAAI,IAAI,CACf,uBAAC,WAAI,IACH,SAAS,EAAC,6CAA6C,EACvD,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,CACH,EACD,4CACE,+BAAI,SAAS,EAAC,yBAAyB,YAAE,OAAO,CAAC,KAAK,GAAM,EAC3D,OAAO,CAAC,WAAW,IAAI,CACtB,gCAAK,SAAS,EAAC,0BAA0B,YAAE,OAAO,CAAC,WAAW,GAAO,CACtE,IACG,KAdE,MAAM,CAAC,CAAC,CAAC,CAeb,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -1,12 +1,14 @@
1
1
  import type { IconName } from '../../ui-kit/Icon/IconProps';
2
- /**
3
- * @title Преимущество
4
- */
5
- export interface Benefit {
2
+ export interface TextBenefit {
6
3
  /** @title Название */
7
4
  label?: string;
8
5
  /** @title Описание */
9
6
  description?: string;
7
+ }
8
+ /**
9
+ * @title Преимущество
10
+ */
11
+ export interface Benefit extends TextBenefit {
10
12
  icon?: IconName;
11
13
  }
12
14
  /**
@@ -31,6 +31,6 @@ exports.ComparisonTable = (0, uni_jsx_1.JSX)(({ className, context, title, rowHe
31
31
  setActiveCardIndex,
32
32
  });
33
33
  const showToggle = () => setIsShowAllRow(!isShowAllRow);
34
- return ((0, jsx_runtime_1.jsxs)("section", { className: `bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${className || ''}`, children: [(0, jsx_runtime_1.jsx)(Heading_1.Heading, { type: "h2", className: "max-w-[47rem] text-center mb-9 mx-auto", text: title }), (0, jsx_runtime_1.jsxs)("div", { role: "table", children: [colHeaders?.length ? ((0, jsx_runtime_1.jsxs)(TableRowContainer_1.TableRowContainer, { children: [(0, jsx_runtime_1.jsx)("div", { className: constants_1.FIRST_CELL_CLASSES, role: "columnheader", scope: "col" }), (0, jsx_runtime_1.jsx)(TableCarouselContainer_1.TableCarouselContainer, { activeCardIndex: activeCardIndex, columnWidth: constants_1.COLUMN_WIDTH, children: colHeaders.map((header, i) => ((0, jsx_runtime_1.jsx)(HeaderCell_1.HeaderCell, { ...header, link: header.link && (0, useLink_1.useLink)({ router, handlerDecorator }, header.link) }, String(i)))) })] })) : null, rowData?.length ? ((0, jsx_runtime_1.jsxs)("div", { className: "relative", children: [rowData.map((row, i, { length }) => ((0, jsx_runtime_1.jsx)(TableRow_1.TableRow, { row: row, isFirstRow: i === 0, isLastRow: i + 1 === length, activeCardIndex: activeCardIndex, isColoredFirstColumn: isColoredFirstColumn }, String(i)))), isScrollAvailable ? ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsxs)("div", { className: "absolute top-7 right-7 z-10", children: [(0, jsx_runtime_1.jsx)(ArrowButton_1.ArrowButton, { onClick: nextClick, disabled: !showNextButton, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E" }), (0, jsx_runtime_1.jsx)(ArrowButton_1.ArrowButton, { className: "mt-4 rotate-180", onClick: prevClick, disabled: !showPrevButton, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E" })] }) })) : null] })) : null] }), isScrollAvailable ? ((0, jsx_runtime_1.jsx)("div", { className: "absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white" })) : null, visibleRowLength ? ((0, jsx_runtime_1.jsx)("div", { className: "pr-[50px]", children: (0, jsx_runtime_1.jsxs)("div", { className: "flex w-full", children: [(0, jsx_runtime_1.jsx)("div", { className: constants_1.FIRST_CELL_CLASSES }), (0, jsx_runtime_1.jsx)("button", { onClick: showToggle, className: "mt-5 flex-1 border-main-stroke border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main", children: (0, jsx_runtime_1.jsx)("div", { className: "font-sans font-medium text-xs py-[11px]", children: !isShowAllRow ? 'Показать все параметры' : 'Скрыть' }) })] }) })) : null] }));
34
+ return ((0, jsx_runtime_1.jsxs)("section", { className: `bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${className || ''}`, children: [(0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h2", className: "max-w-[47rem] text-center mb-9 mx-auto", title: title }), (0, jsx_runtime_1.jsxs)("div", { role: "table", children: [colHeaders?.length ? ((0, jsx_runtime_1.jsxs)(TableRowContainer_1.TableRowContainer, { children: [(0, jsx_runtime_1.jsx)("div", { className: constants_1.FIRST_CELL_CLASSES, role: "columnheader", scope: "col" }), (0, jsx_runtime_1.jsx)(TableCarouselContainer_1.TableCarouselContainer, { activeCardIndex: activeCardIndex, columnWidth: constants_1.COLUMN_WIDTH, children: colHeaders.map((header, i) => ((0, jsx_runtime_1.jsx)(HeaderCell_1.HeaderCell, { ...header, link: header.link && (0, useLink_1.useLink)({ router, handlerDecorator }, header.link) }, String(i)))) })] })) : null, rowData?.length ? ((0, jsx_runtime_1.jsxs)("div", { className: "relative", children: [rowData.map((row, i, { length }) => ((0, jsx_runtime_1.jsx)(TableRow_1.TableRow, { row: row, isFirstRow: i === 0, isLastRow: i + 1 === length, activeCardIndex: activeCardIndex, isColoredFirstColumn: isColoredFirstColumn }, String(i)))), isScrollAvailable ? ((0, jsx_runtime_1.jsx)("div", { children: (0, jsx_runtime_1.jsxs)("div", { className: "absolute top-7 right-7 z-10", children: [(0, jsx_runtime_1.jsx)(ArrowButton_1.ArrowButton, { onClick: nextClick, disabled: !showNextButton, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E" }), (0, jsx_runtime_1.jsx)(ArrowButton_1.ArrowButton, { className: "mt-4 rotate-180", onClick: prevClick, disabled: !showPrevButton, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E" })] }) })) : null] })) : null] }), isScrollAvailable ? ((0, jsx_runtime_1.jsx)("div", { className: "absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white" })) : null, visibleRowLength ? ((0, jsx_runtime_1.jsx)("div", { className: "pr-[50px]", children: (0, jsx_runtime_1.jsxs)("div", { className: "flex w-full", children: [(0, jsx_runtime_1.jsx)("div", { className: constants_1.FIRST_CELL_CLASSES }), (0, jsx_runtime_1.jsx)("button", { onClick: showToggle, className: "mt-5 flex-1 border-main-stroke border-solid border text-primary-text bg-white hover:border-primary-main hover:text-primary-main", children: (0, jsx_runtime_1.jsx)("div", { className: "font-sans font-medium text-xs py-[11px]", children: !isShowAllRow ? 'Показать все параметры' : 'Скрыть' }) })] }) })) : null] }));
35
35
  });
36
36
  //# sourceMappingURL=ComparisonTable.js.map