@redneckz/wildless-cms-uni-blocks 0.2.115 → 0.3.1

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 (1512) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +398 -323
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/dist/components/Accordion/Accordion.js +2 -2
  5. package/dist/components/Accordion/Accordion.js.map +1 -1
  6. package/dist/components/Accordion/Accordion.mobile.js +2 -2
  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 -6
  17. package/dist/components/BaseTile/BaseTile.js.map +1 -1
  18. package/dist/components/BaseTile/BaseTileProps.d.ts +6 -11
  19. package/dist/components/BaseTile/getTileHeadingType.d.ts +1 -0
  20. package/dist/components/BaseTile/{getTitleSizeByClassName.js → getTileHeadingType.js} +7 -7
  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 +2 -2
  29. package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  30. package/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +6 -4
  31. package/dist/components/Blocks.mobile.d.ts +1 -0
  32. package/dist/components/Blocks.mobile.js +2 -0
  33. package/dist/components/Blocks.mobile.js.map +1 -1
  34. package/dist/components/ComparisonTable/ComparisonTable.js +2 -2
  35. package/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  36. package/dist/components/ComparisonTable/HeaderCell.js +3 -3
  37. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  38. package/dist/components/ContentPage/ContentPage.js +2 -4
  39. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  40. package/dist/components/ContentPage/isBlockInRegistry.d.ts +2 -0
  41. package/dist/components/ContentPage/isBlockInRegistry.js +7 -0
  42. package/dist/components/ContentPage/isBlockInRegistry.js.map +1 -0
  43. package/dist/components/ContentPage/normalizeBlock.d.ts +8 -0
  44. package/dist/components/ContentPage/normalizeBlock.js +9 -0
  45. package/dist/components/ContentPage/normalizeBlock.js.map +1 -0
  46. package/dist/components/ContentPage/normalizeBlock.mobile.d.ts +2 -0
  47. package/dist/components/ContentPage/normalizeBlock.mobile.js +8 -0
  48. package/dist/components/ContentPage/normalizeBlock.mobile.js.map +1 -0
  49. package/dist/components/ContentPage/normalizePage.d.ts +2 -0
  50. package/dist/components/ContentPage/normalizePage.js +28 -0
  51. package/dist/components/ContentPage/normalizePage.js.map +1 -0
  52. package/dist/components/ContentPage/normalizePage.mobile.d.ts +2 -0
  53. package/dist/components/ContentPage/normalizePage.mobile.js +30 -0
  54. package/dist/components/ContentPage/normalizePage.mobile.js.map +1 -0
  55. package/dist/components/ExchangeRateTile/ExchangeRateTile.js +12 -6
  56. package/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  57. package/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -4
  58. package/dist/components/Footer/MediaButton.js +2 -2
  59. package/dist/components/Footer/MediaButton.js.map +1 -1
  60. package/dist/components/Gallery/Gallery.mobile.js +19 -8
  61. package/dist/components/Gallery/Gallery.mobile.js.map +1 -1
  62. package/dist/components/Gallery/GalleryCardInner.js +2 -4
  63. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  64. package/dist/components/Gallery/GalleryContainer.js +5 -6
  65. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  66. package/dist/components/Gallery/GalleryContent.d.ts +8 -3
  67. package/dist/components/Gallery/GalleryInner.js +1 -1
  68. package/dist/components/Gallery/GalleryInner.js.map +1 -1
  69. package/dist/components/Gallery/constants.js +2 -2
  70. package/dist/components/Gallery/constants.js.map +1 -1
  71. package/dist/components/Header/HeaderSecondaryMenu.js +1 -1
  72. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  73. package/dist/components/Header/HeaderTop.js +1 -1
  74. package/dist/components/Header/HeaderTop.js.map +1 -1
  75. package/dist/components/Headline/Headline.js +2 -2
  76. package/dist/components/Headline/Headline.js.map +1 -1
  77. package/dist/components/Headline/Headline.mobile.js +3 -3
  78. package/dist/components/Headline/Headline.mobile.js.map +1 -1
  79. package/dist/components/Headline/HeadlineContent.d.ts +7 -3
  80. package/dist/components/LinkDocs/LinkDocs.js +6 -25
  81. package/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  82. package/dist/components/LinkDocs/LinkDocs.mobile.d.ts +5 -0
  83. package/dist/components/LinkDocs/LinkDocs.mobile.js +11 -0
  84. package/dist/components/LinkDocs/LinkDocs.mobile.js.map +1 -0
  85. package/dist/components/LinkDocs/LinkDocsContent.d.ts +27 -7
  86. package/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
  87. package/dist/components/LinkDocs/LinkDocsHorizontalList.js +12 -0
  88. package/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -0
  89. package/dist/components/LinkDocs/LinkDocsList.d.ts +9 -0
  90. package/dist/components/LinkDocs/LinkDocsList.js +9 -0
  91. package/dist/components/LinkDocs/LinkDocsList.js.map +1 -0
  92. package/dist/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
  93. package/dist/components/LinkDocs/LinkDocsListItem.js +7 -0
  94. package/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -0
  95. package/dist/components/LinkDocs/LinkDocsListItem.mobile.d.ts +2 -0
  96. package/dist/components/LinkDocs/LinkDocsListItem.mobile.js +7 -0
  97. package/dist/components/LinkDocs/LinkDocsListItem.mobile.js.map +1 -0
  98. package/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
  99. package/dist/components/LinkDocs/LinkDocsListItemBase.js +22 -0
  100. package/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -0
  101. package/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
  102. package/dist/components/LinkDocs/LinkDocsVerticalList.js +11 -0
  103. package/dist/components/LinkDocs/LinkDocsVerticalList.js.map +1 -0
  104. package/dist/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
  105. package/dist/components/LinkDocs/linkDocsContentExample.js +27 -0
  106. package/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -0
  107. package/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  108. package/dist/components/MobileAppTile/MobileAppTile.js +8 -3
  109. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  110. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +5 -3
  111. package/dist/components/PictureText/PictureText.js +5 -5
  112. package/dist/components/PictureText/PictureText.js.map +1 -1
  113. package/dist/components/PictureText/PictureTextContent.d.ts +4 -2
  114. package/dist/components/Placeholder/PlaceholderContent.d.ts +2 -3
  115. package/dist/components/ProductBlock/ProductBlockContent.d.ts +10 -11
  116. package/dist/components/ProductBlock/ProductBlockInner.d.ts +2 -3
  117. package/dist/components/ProductBlock/ProductBlockInner.js +7 -3
  118. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  119. package/dist/components/ProductBlock/ProductBlockInner.mobile.d.ts +2 -3
  120. package/dist/components/ProductBlock/ProductBlockInner.mobile.js +7 -3
  121. package/dist/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  122. package/dist/components/ProductBlock/renderBenefit.js +1 -1
  123. package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  124. package/dist/components/ProductBlock/renderBenefit.mobile.js +1 -1
  125. package/dist/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  126. package/dist/components/ProductGallery/ProductGallery.js +1 -1
  127. package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  128. package/dist/components/ProductGallery/ProductGallery.mobile.js +3 -2
  129. package/dist/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
  130. package/dist/components/ProductGallery/ProductGalleryBlock.d.ts +4 -4
  131. package/dist/components/ProductGallery/ProductGalleryBlock.js +2 -2
  132. package/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  133. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +4 -4
  134. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js +2 -2
  135. package/dist/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
  136. package/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  137. package/dist/components/ProductTile/ProductTile.js +14 -4
  138. package/dist/components/ProductTile/ProductTile.js.map +1 -1
  139. package/dist/components/ProductTile/ProductTileContent.d.ts +10 -5
  140. package/dist/components/PromoTile/PromoTile.js +12 -3
  141. package/dist/components/PromoTile/PromoTile.js.map +1 -1
  142. package/dist/components/PromoTile/PromoTileContent.d.ts +7 -3
  143. package/dist/components/StepsBlock/StepsBlock.js +2 -2
  144. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  145. package/dist/components/StepsBlock/StepsBlock.mobile.js +3 -3
  146. package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  147. package/dist/components/TariffsTable/TariffsTable.js +2 -2
  148. package/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  149. package/dist/components/TariffsTable/TariffsTableCell.js +3 -3
  150. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  151. package/dist/components/TariffsTable/TariffsTableContent.d.ts +5 -11
  152. package/dist/components/TariffsTable/TariffsTableRow.js +1 -1
  153. package/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  154. package/dist/components/TextBlock/TextBlock.js +1 -1
  155. package/dist/components/TextBlock/TextBlock.js.map +1 -1
  156. package/dist/components/TextBlock/TextBlock.mobile.js +4 -7
  157. package/dist/components/TextBlock/TextBlock.mobile.js.map +1 -1
  158. package/dist/components/TextBlock/TextBlockContent.d.ts +2 -1
  159. package/dist/components/Tile/Tile.js +10 -27
  160. package/dist/components/Tile/Tile.js.map +1 -1
  161. package/dist/components/Tile/TileContent.d.ts +9 -2
  162. package/dist/content-page-repository/ContentPageRepository.d.ts +0 -2
  163. package/dist/content-page-repository/ContentPageRepository.js +0 -10
  164. package/dist/content-page-repository/ContentPageRepository.js.map +1 -1
  165. package/dist/icons/IconName.d.ts +82 -0
  166. package/dist/icons/IconName.js +78 -0
  167. package/dist/icons/IconName.js.map +1 -0
  168. package/dist/index.d.ts +1 -1
  169. package/dist/index.js +3 -3
  170. package/dist/index.js.map +1 -1
  171. package/dist/model/ButtonVersion.d.ts +1 -1
  172. package/dist/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
  173. package/dist/services/sitemap/checkIsHrefSameOrigin.js +6 -0
  174. package/dist/services/sitemap/checkIsHrefSameOrigin.js.map +1 -0
  175. package/dist/services/sitemap/isTopItemActive.js +4 -1
  176. package/dist/services/sitemap/isTopItemActive.js.map +1 -1
  177. package/dist/setup-fixture.d.ts +3 -0
  178. package/dist/setup-fixture.js +72 -0
  179. package/dist/setup-fixture.js.map +1 -0
  180. package/dist/types.d.ts +5 -5
  181. package/dist/ui-kit/BlockItem/BlockItem.d.ts +1 -1
  182. package/dist/ui-kit/BlockItem/BlockItem.js +9 -10
  183. package/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
  184. package/dist/ui-kit/BlockItem/BlockItemProps.d.ts +2 -2
  185. package/dist/ui-kit/Button/Button.d.ts +0 -2
  186. package/dist/ui-kit/Button/Button.js +24 -13
  187. package/dist/ui-kit/Button/Button.js.map +1 -1
  188. package/dist/ui-kit/Button/Button.mobile.d.ts +0 -2
  189. package/dist/ui-kit/Button/Button.mobile.js +6 -8
  190. package/dist/ui-kit/Button/Button.mobile.js.map +1 -1
  191. package/dist/ui-kit/Button/ButtonInner.d.ts +7 -0
  192. package/dist/ui-kit/Button/ButtonInner.js +16 -0
  193. package/dist/ui-kit/Button/ButtonInner.js.map +1 -0
  194. package/dist/ui-kit/Button/ButtonProps.d.ts +10 -0
  195. package/dist/ui-kit/Button/ButtonSection.d.ts +5 -0
  196. package/dist/ui-kit/Button/ButtonSection.js +18 -0
  197. package/dist/ui-kit/Button/ButtonSection.js.map +1 -0
  198. package/dist/ui-kit/Description/Description.d.ts +2 -0
  199. package/dist/ui-kit/Description/Description.js +9 -0
  200. package/dist/ui-kit/Description/Description.js.map +1 -0
  201. package/dist/ui-kit/Description/DescriptionProps.d.ts +7 -0
  202. package/dist/ui-kit/Description/DescriptionProps.js +2 -0
  203. package/dist/ui-kit/Description/DescriptionProps.js.map +1 -0
  204. package/dist/ui-kit/Heading/Heading.d.ts +5 -0
  205. package/dist/ui-kit/Heading/Heading.js +21 -0
  206. package/dist/ui-kit/Heading/Heading.js.map +1 -0
  207. package/dist/ui-kit/Heading/Heading.mobile.d.ts +5 -0
  208. package/dist/ui-kit/Heading/Heading.mobile.js +21 -0
  209. package/dist/ui-kit/Heading/Heading.mobile.js.map +1 -0
  210. package/dist/ui-kit/Heading/HeadingContent.d.ts +15 -0
  211. package/dist/ui-kit/Heading/HeadingContent.js +2 -0
  212. package/dist/ui-kit/Heading/HeadingContent.js.map +1 -0
  213. package/dist/ui-kit/Icon/Icon.js +6 -2
  214. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  215. package/dist/ui-kit/Icon/IconProps.d.ts +6 -148
  216. package/dist/ui-kit/Icon/IconProps.js +0 -76
  217. package/dist/ui-kit/Icon/IconProps.js.map +1 -1
  218. package/{mobile/dist/ui-kit → dist/ui-kit/Img}/Img.d.ts +1 -1
  219. package/dist/ui-kit/{Img.js → Img/Img.js} +0 -0
  220. package/dist/ui-kit/Img/Img.js.map +1 -0
  221. package/dist/ui-kit/{Img.mobile.d.ts → Img/Img.mobile.d.ts} +2 -5
  222. package/dist/ui-kit/{Img.mobile.js → Img/Img.mobile.js} +7 -4
  223. package/dist/ui-kit/Img/Img.mobile.js.map +1 -0
  224. package/dist/ui-kit/Img/ImgProps.d.ts +7 -0
  225. package/dist/ui-kit/{Title/TitleProps.js → Img/ImgProps.js} +1 -1
  226. package/dist/ui-kit/Img/ImgProps.js.map +1 -0
  227. package/dist/ui-kit/List/List.d.ts +2 -0
  228. package/dist/ui-kit/List/List.js +12 -0
  229. package/dist/ui-kit/List/List.js.map +1 -0
  230. package/dist/ui-kit/List/ListContent.d.ts +4 -0
  231. package/dist/ui-kit/List/ListContent.js +2 -0
  232. package/dist/ui-kit/List/ListContent.js.map +1 -0
  233. package/dist/ui-kit/List/ListItem.d.ts +11 -0
  234. package/dist/ui-kit/List/ListItem.js +23 -0
  235. package/dist/ui-kit/List/ListItem.js.map +1 -0
  236. package/dist/ui-kit/List/ListProps.d.ts +14 -0
  237. package/{mobile/dist/ui-kit/Title/TitleProps.js → dist/ui-kit/List/ListProps.js} +1 -1
  238. package/dist/ui-kit/List/ListProps.js.map +1 -0
  239. package/dist/ui-kit/Logo/Logo.js +1 -1
  240. package/dist/ui-kit/Logo/Logo.js.map +1 -1
  241. package/dist/ui-kit/Logo/Logo.mobile.js +1 -1
  242. package/dist/ui-kit/Logo/Logo.mobile.js.map +1 -1
  243. package/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  244. package/dist/ui-kit/SwipeListControl/SwipeListControl.js +32 -0
  245. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -0
  246. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
  247. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +28 -0
  248. package/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -0
  249. package/dist/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
  250. package/dist/ui-kit/SwipeListControl/SwipeListControlItem.js +8 -0
  251. package/dist/ui-kit/SwipeListControl/SwipeListControlItem.js.map +1 -0
  252. package/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
  253. package/dist/ui-kit/SwipeListControl/SwipeListControlList.js +11 -0
  254. package/dist/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -0
  255. package/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +17 -0
  256. package/dist/ui-kit/SwipeListControl/SwipeListControlProps.js +2 -0
  257. package/dist/ui-kit/SwipeListControl/SwipeListControlProps.js.map +1 -0
  258. package/dist/ui-kit/SwipeListControl/constants.d.ts +2 -0
  259. package/dist/ui-kit/SwipeListControl/constants.js +12 -0
  260. package/dist/ui-kit/SwipeListControl/constants.js.map +1 -0
  261. package/dist/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
  262. package/dist/ui-kit/SwipeListControl/utils/getContainerStyle.js +13 -0
  263. package/dist/ui-kit/SwipeListControl/utils/getContainerStyle.js.map +1 -0
  264. package/dist/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +4 -0
  265. package/dist/ui-kit/SwipeListControl/utils/getIndexParts.js +18 -0
  266. package/dist/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -0
  267. package/dist/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
  268. package/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js +27 -0
  269. package/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -0
  270. package/lib/common.css +1 -1
  271. package/lib/components/Accordion/Accordion.js +2 -2
  272. package/lib/components/Accordion/Accordion.js.map +1 -1
  273. package/lib/components/Accordion/Accordion.mobile.js +2 -2
  274. package/lib/components/Accordion/Accordion.mobile.js.map +1 -1
  275. package/lib/components/Accordion/AccordionBlocks.d.ts +4 -0
  276. package/lib/components/Accordion/AccordionBlocks.js +8 -0
  277. package/lib/components/Accordion/AccordionBlocks.js.map +1 -1
  278. package/lib/components/Accordion/AccordionContent.d.ts +30 -18
  279. package/lib/components/Accordion/AccordionItem.js +1 -1
  280. package/lib/components/Accordion/AccordionItem.js.map +1 -1
  281. package/lib/components/Accordion/AccordionItem.mobile.js +1 -1
  282. package/lib/components/Accordion/AccordionItem.mobile.js.map +1 -1
  283. package/lib/components/BaseTile/BaseTile.js +2 -6
  284. package/lib/components/BaseTile/BaseTile.js.map +1 -1
  285. package/lib/components/BaseTile/BaseTileProps.d.ts +6 -11
  286. package/lib/components/BaseTile/getTileHeadingType.d.ts +1 -0
  287. package/lib/components/BaseTile/{getTitleSizeByClassName.js → getTileHeadingType.js} +5 -5
  288. package/lib/components/BaseTile/getTileHeadingType.js.map +1 -0
  289. package/lib/components/BaseTile/getTileMinHeight.d.ts +1 -0
  290. package/lib/components/BaseTile/getTileMinHeight.js +14 -0
  291. package/lib/components/BaseTile/getTileMinHeight.js.map +1 -0
  292. package/lib/components/BaseTile/getTileRightPadding.d.ts +1 -0
  293. package/lib/components/BaseTile/getTileRightPadding.js +14 -0
  294. package/lib/components/BaseTile/getTileRightPadding.js.map +1 -0
  295. package/lib/components/BenefitsBlock/BenefitsBlock.js +2 -2
  296. package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  297. package/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +6 -4
  298. package/lib/components/Blocks.mobile.d.ts +1 -0
  299. package/lib/components/Blocks.mobile.js +2 -0
  300. package/lib/components/Blocks.mobile.js.map +1 -1
  301. package/lib/components/ComparisonTable/ComparisonTable.js +2 -2
  302. package/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  303. package/lib/components/ComparisonTable/HeaderCell.js +3 -3
  304. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  305. package/lib/components/ContentPage/ContentPage.js +2 -4
  306. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  307. package/lib/components/ContentPage/isBlockInRegistry.d.ts +2 -0
  308. package/lib/components/ContentPage/isBlockInRegistry.js +4 -0
  309. package/lib/components/ContentPage/isBlockInRegistry.js.map +1 -0
  310. package/lib/components/ContentPage/normalizeBlock.d.ts +8 -0
  311. package/lib/components/ContentPage/normalizeBlock.js +6 -0
  312. package/lib/components/ContentPage/normalizeBlock.js.map +1 -0
  313. package/lib/components/ContentPage/normalizeBlock.mobile.d.ts +2 -0
  314. package/lib/components/ContentPage/normalizeBlock.mobile.js +5 -0
  315. package/lib/components/ContentPage/normalizeBlock.mobile.js.map +1 -0
  316. package/lib/components/ContentPage/normalizePage.d.ts +2 -0
  317. package/lib/components/ContentPage/normalizePage.js +25 -0
  318. package/lib/components/ContentPage/normalizePage.js.map +1 -0
  319. package/lib/components/ContentPage/normalizePage.mobile.d.ts +2 -0
  320. package/lib/components/ContentPage/{toMobilePage.js → normalizePage.mobile.js} +11 -15
  321. package/lib/components/ContentPage/normalizePage.mobile.js.map +1 -0
  322. package/lib/components/ExchangeRateTile/ExchangeRateTile.js +12 -6
  323. package/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  324. package/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -4
  325. package/lib/components/Footer/MediaButton.js +2 -2
  326. package/lib/components/Footer/MediaButton.js.map +1 -1
  327. package/lib/components/Gallery/Gallery.fixture.d.ts +2 -0
  328. package/lib/components/Gallery/Gallery.fixture.mobile.d.ts +5 -0
  329. package/lib/components/Gallery/Gallery.mobile.js +19 -8
  330. package/lib/components/Gallery/Gallery.mobile.js.map +1 -1
  331. package/lib/components/Gallery/GalleryCardInner.js +2 -4
  332. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  333. package/lib/components/Gallery/GalleryContainer.js +6 -7
  334. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  335. package/lib/components/Gallery/GalleryContent.d.ts +8 -3
  336. package/lib/components/Gallery/GalleryInner.js +1 -1
  337. package/lib/components/Gallery/GalleryInner.js.map +1 -1
  338. package/lib/components/Gallery/constants.js +2 -2
  339. package/lib/components/Gallery/constants.js.map +1 -1
  340. package/lib/components/Header/HeaderSecondaryMenu.js +1 -1
  341. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  342. package/lib/components/Header/HeaderTop.js +1 -1
  343. package/lib/components/Header/HeaderTop.js.map +1 -1
  344. package/lib/components/Headline/Headline.fixture.d.ts +0 -4
  345. package/lib/components/Headline/Headline.js +2 -2
  346. package/lib/components/Headline/Headline.js.map +1 -1
  347. package/lib/components/Headline/Headline.mobile.js +3 -3
  348. package/lib/components/Headline/Headline.mobile.js.map +1 -1
  349. package/lib/components/Headline/HeadlineContent.d.ts +7 -3
  350. package/lib/components/LinkDocs/LinkDocs.fixture.d.ts +2 -7
  351. package/lib/components/LinkDocs/LinkDocs.fixture.mobile.d.ts +6 -0
  352. package/lib/components/LinkDocs/LinkDocs.js +6 -25
  353. package/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  354. package/lib/components/LinkDocs/LinkDocs.mobile.d.ts +5 -0
  355. package/lib/components/LinkDocs/LinkDocs.mobile.js +9 -0
  356. package/lib/components/LinkDocs/LinkDocs.mobile.js.map +1 -0
  357. package/lib/components/LinkDocs/LinkDocsContent.d.ts +27 -7
  358. package/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
  359. package/lib/components/LinkDocs/LinkDocsHorizontalList.js +10 -0
  360. package/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -0
  361. package/lib/components/LinkDocs/LinkDocsList.d.ts +9 -0
  362. package/lib/components/LinkDocs/LinkDocsList.js +7 -0
  363. package/lib/components/LinkDocs/LinkDocsList.js.map +1 -0
  364. package/lib/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
  365. package/lib/components/LinkDocs/LinkDocsListItem.js +5 -0
  366. package/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -0
  367. package/lib/components/LinkDocs/LinkDocsListItem.mobile.d.ts +2 -0
  368. package/lib/components/LinkDocs/LinkDocsListItem.mobile.js +5 -0
  369. package/lib/components/LinkDocs/LinkDocsListItem.mobile.js.map +1 -0
  370. package/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
  371. package/lib/components/LinkDocs/LinkDocsListItemBase.js +20 -0
  372. package/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -0
  373. package/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
  374. package/lib/components/LinkDocs/LinkDocsVerticalList.js +9 -0
  375. package/lib/components/LinkDocs/LinkDocsVerticalList.js.map +1 -0
  376. package/lib/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
  377. package/lib/components/LinkDocs/linkDocsContentExample.js +25 -0
  378. package/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -0
  379. package/lib/components/MiniGallery/MiniGallery.fixture.d.ts +2 -0
  380. package/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  381. package/lib/components/MobileAppTile/MobileAppTile.js +8 -3
  382. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  383. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +5 -3
  384. package/lib/components/PictureText/PictureText.js +5 -5
  385. package/lib/components/PictureText/PictureText.js.map +1 -1
  386. package/lib/components/PictureText/PictureTextContent.d.ts +4 -2
  387. package/lib/components/Placeholder/PlaceholderContent.d.ts +2 -3
  388. package/lib/components/ProductBlock/ProductBlockContent.d.ts +10 -11
  389. package/lib/components/ProductBlock/ProductBlockInner.d.ts +2 -3
  390. package/lib/components/ProductBlock/ProductBlockInner.js +7 -3
  391. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  392. package/lib/components/ProductBlock/ProductBlockInner.mobile.d.ts +2 -3
  393. package/lib/components/ProductBlock/ProductBlockInner.mobile.js +7 -3
  394. package/lib/components/ProductBlock/ProductBlockInner.mobile.js.map +1 -1
  395. package/lib/components/ProductBlock/renderBenefit.js +1 -1
  396. package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  397. package/lib/components/ProductBlock/renderBenefit.mobile.js +1 -1
  398. package/lib/components/ProductBlock/renderBenefit.mobile.js.map +1 -1
  399. package/lib/components/ProductGallery/ProductGallery.js +1 -1
  400. package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  401. package/lib/components/ProductGallery/ProductGallery.mobile.js +3 -2
  402. package/lib/components/ProductGallery/ProductGallery.mobile.js.map +1 -1
  403. package/lib/components/ProductGallery/ProductGalleryBlock.d.ts +4 -4
  404. package/lib/components/ProductGallery/ProductGalleryBlock.js +2 -2
  405. package/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  406. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.d.ts +4 -4
  407. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js +2 -2
  408. package/lib/components/ProductGallery/ProductGalleryBlock.mobile.js.map +1 -1
  409. package/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  410. package/lib/components/ProductTile/ProductTile.fixture.d.ts +2 -0
  411. package/lib/components/ProductTile/ProductTile.js +14 -4
  412. package/lib/components/ProductTile/ProductTile.js.map +1 -1
  413. package/lib/components/ProductTile/ProductTileContent.d.ts +10 -5
  414. package/lib/components/PromoTile/PromoTile.js +12 -3
  415. package/lib/components/PromoTile/PromoTile.js.map +1 -1
  416. package/lib/components/PromoTile/PromoTileContent.d.ts +7 -3
  417. package/lib/components/StepsBlock/StepsBlock.js +2 -2
  418. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  419. package/lib/components/StepsBlock/StepsBlock.mobile.js +3 -3
  420. package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
  421. package/lib/components/TariffsTable/TariffsTable.js +2 -2
  422. package/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  423. package/lib/components/TariffsTable/TariffsTableCell.js +3 -3
  424. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  425. package/lib/components/TariffsTable/TariffsTableContent.d.ts +5 -11
  426. package/lib/components/TariffsTable/TariffsTableRow.js +1 -1
  427. package/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  428. package/lib/components/TextBlock/TextBlock.js +1 -1
  429. package/lib/components/TextBlock/TextBlock.js.map +1 -1
  430. package/lib/components/TextBlock/TextBlock.mobile.js +4 -7
  431. package/lib/components/TextBlock/TextBlock.mobile.js.map +1 -1
  432. package/lib/components/TextBlock/TextBlockContent.d.ts +2 -1
  433. package/lib/components/Tile/Tile.fixture.d.ts +2 -0
  434. package/lib/components/Tile/Tile.js +11 -28
  435. package/lib/components/Tile/Tile.js.map +1 -1
  436. package/lib/components/Tile/TileContent.d.ts +9 -2
  437. package/lib/content-page-repository/ContentPageRepository.d.ts +0 -2
  438. package/lib/content-page-repository/ContentPageRepository.js +0 -10
  439. package/lib/content-page-repository/ContentPageRepository.js.map +1 -1
  440. package/lib/icons/IconName.d.ts +82 -0
  441. package/lib/icons/IconName.js +76 -0
  442. package/lib/icons/IconName.js.map +1 -0
  443. package/lib/index.d.ts +1 -1
  444. package/lib/index.js +1 -1
  445. package/lib/index.js.map +1 -1
  446. package/lib/model/ButtonVersion.d.ts +1 -1
  447. package/lib/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
  448. package/lib/services/sitemap/checkIsHrefSameOrigin.js +3 -0
  449. package/lib/services/sitemap/checkIsHrefSameOrigin.js.map +1 -0
  450. package/lib/services/sitemap/isTopItemActive.js +4 -1
  451. package/lib/services/sitemap/isTopItemActive.js.map +1 -1
  452. package/lib/setup-fixture.js +70 -0
  453. package/lib/setup-fixture.js.map +1 -0
  454. package/lib/types.d.ts +5 -5
  455. package/lib/ui-kit/BlockItem/BlockItem.d.ts +1 -1
  456. package/lib/ui-kit/BlockItem/BlockItem.js +9 -10
  457. package/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
  458. package/lib/ui-kit/BlockItem/BlockItemProps.d.ts +2 -2
  459. package/lib/ui-kit/Button/Button.d.ts +0 -2
  460. package/lib/ui-kit/Button/Button.js +23 -12
  461. package/lib/ui-kit/Button/Button.js.map +1 -1
  462. package/lib/ui-kit/Button/Button.mobile.d.ts +0 -2
  463. package/lib/ui-kit/Button/Button.mobile.js +6 -8
  464. package/lib/ui-kit/Button/Button.mobile.js.map +1 -1
  465. package/lib/ui-kit/Button/ButtonInner.d.ts +7 -0
  466. package/lib/ui-kit/Button/ButtonInner.js +14 -0
  467. package/lib/ui-kit/Button/ButtonInner.js.map +1 -0
  468. package/lib/ui-kit/Button/ButtonProps.d.ts +10 -0
  469. package/lib/ui-kit/Button/ButtonSection.d.ts +5 -0
  470. package/lib/ui-kit/Button/ButtonSection.js +16 -0
  471. package/lib/ui-kit/Button/ButtonSection.js.map +1 -0
  472. package/lib/ui-kit/Description/Description.d.ts +2 -0
  473. package/lib/ui-kit/Description/Description.js +7 -0
  474. package/lib/ui-kit/Description/Description.js.map +1 -0
  475. package/lib/ui-kit/Description/DescriptionProps.d.ts +7 -0
  476. package/lib/ui-kit/Description/DescriptionProps.js +2 -0
  477. package/lib/ui-kit/Description/DescriptionProps.js.map +1 -0
  478. package/lib/ui-kit/Heading/Heading.d.ts +5 -0
  479. package/lib/ui-kit/Heading/Heading.fixture.d.ts +4 -0
  480. package/lib/ui-kit/Heading/Heading.fixture.mobile.d.ts +4 -0
  481. package/lib/ui-kit/Heading/Heading.js +19 -0
  482. package/lib/ui-kit/Heading/Heading.js.map +1 -0
  483. package/lib/ui-kit/Heading/Heading.mobile.d.ts +5 -0
  484. package/lib/ui-kit/Heading/Heading.mobile.js +19 -0
  485. package/lib/ui-kit/Heading/Heading.mobile.js.map +1 -0
  486. package/lib/ui-kit/Heading/HeadingContent.d.ts +15 -0
  487. package/lib/ui-kit/Heading/HeadingContent.js +2 -0
  488. package/lib/ui-kit/Heading/HeadingContent.js.map +1 -0
  489. package/lib/ui-kit/Icon/Icon.fixture.d.ts +2 -1
  490. package/lib/ui-kit/Icon/Icon.js +6 -2
  491. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  492. package/lib/ui-kit/Icon/IconProps.d.ts +6 -148
  493. package/lib/ui-kit/Icon/IconProps.js +1 -75
  494. package/lib/ui-kit/Icon/IconProps.js.map +1 -1
  495. package/lib/ui-kit/{Img.d.ts → Img/Img.d.ts} +1 -1
  496. package/lib/ui-kit/{Img.js → Img/Img.js} +0 -0
  497. package/lib/ui-kit/Img/Img.js.map +1 -0
  498. package/lib/ui-kit/{Img.mobile.d.ts → Img/Img.mobile.d.ts} +2 -5
  499. package/lib/ui-kit/{Img.mobile.js → Img/Img.mobile.js} +7 -4
  500. package/lib/ui-kit/Img/Img.mobile.js.map +1 -0
  501. package/lib/ui-kit/Img/ImgProps.d.ts +7 -0
  502. package/lib/ui-kit/Img/ImgProps.js +2 -0
  503. package/lib/ui-kit/Img/ImgProps.js.map +1 -0
  504. package/lib/ui-kit/List/List.d.ts +2 -0
  505. package/lib/ui-kit/List/List.js +10 -0
  506. package/lib/ui-kit/List/List.js.map +1 -0
  507. package/lib/ui-kit/List/ListContent.d.ts +4 -0
  508. package/lib/ui-kit/List/ListContent.js +2 -0
  509. package/lib/ui-kit/List/ListContent.js.map +1 -0
  510. package/lib/ui-kit/List/ListItem.d.ts +11 -0
  511. package/lib/ui-kit/List/ListItem.js +21 -0
  512. package/lib/ui-kit/List/ListItem.js.map +1 -0
  513. package/lib/ui-kit/List/ListProps.d.ts +14 -0
  514. package/lib/ui-kit/List/ListProps.js +2 -0
  515. package/lib/ui-kit/List/ListProps.js.map +1 -0
  516. package/lib/ui-kit/Logo/Logo.js +1 -1
  517. package/lib/ui-kit/Logo/Logo.js.map +1 -1
  518. package/lib/ui-kit/Logo/Logo.mobile.js +1 -1
  519. package/lib/ui-kit/Logo/Logo.mobile.js.map +1 -1
  520. package/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  521. package/lib/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.d.ts +4 -0
  522. package/lib/ui-kit/SwipeListControl/SwipeListControl.js +30 -0
  523. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -0
  524. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
  525. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +26 -0
  526. package/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -0
  527. package/lib/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
  528. package/lib/ui-kit/SwipeListControl/SwipeListControlItem.js +6 -0
  529. package/lib/ui-kit/SwipeListControl/SwipeListControlItem.js.map +1 -0
  530. package/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
  531. package/lib/ui-kit/SwipeListControl/SwipeListControlList.js +9 -0
  532. package/lib/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -0
  533. package/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +17 -0
  534. package/lib/ui-kit/SwipeListControl/SwipeListControlProps.js +2 -0
  535. package/lib/ui-kit/SwipeListControl/SwipeListControlProps.js.map +1 -0
  536. package/lib/ui-kit/SwipeListControl/constants.d.ts +2 -0
  537. package/lib/ui-kit/SwipeListControl/constants.js +10 -0
  538. package/lib/ui-kit/SwipeListControl/constants.js.map +1 -0
  539. package/lib/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
  540. package/lib/ui-kit/SwipeListControl/utils/getContainerStyle.js +10 -0
  541. package/lib/ui-kit/SwipeListControl/utils/getContainerStyle.js.map +1 -0
  542. package/lib/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +7 -0
  543. package/lib/ui-kit/SwipeListControl/utils/getIndexParts.js +15 -0
  544. package/lib/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -0
  545. package/lib/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
  546. package/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js +24 -0
  547. package/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -0
  548. package/mobile/bundle/bundle.umd.js +472 -209
  549. package/mobile/bundle/bundle.umd.min.js +1 -1
  550. package/mobile/dist/components/Accordion/Accordion.js +2 -2
  551. package/mobile/dist/components/Accordion/Accordion.js.map +1 -1
  552. package/mobile/dist/components/Accordion/AccordionBlocks.d.ts +4 -0
  553. package/mobile/dist/components/Accordion/AccordionBlocks.js +8 -0
  554. package/mobile/dist/components/Accordion/AccordionBlocks.js.map +1 -1
  555. package/mobile/dist/components/Accordion/AccordionContent.d.ts +30 -18
  556. package/mobile/dist/components/Accordion/AccordionItem.js +1 -1
  557. package/mobile/dist/components/Accordion/AccordionItem.js.map +1 -1
  558. package/mobile/dist/components/BaseTile/BaseTile.js +2 -11
  559. package/mobile/dist/components/BaseTile/BaseTile.js.map +1 -1
  560. package/mobile/dist/components/BaseTile/BaseTileProps.d.ts +6 -11
  561. package/mobile/dist/components/BaseTile/getTileHeadingType.d.ts +1 -0
  562. package/mobile/dist/components/BaseTile/{getTitleSizeByClassName.js → getTileHeadingType.js} +7 -7
  563. package/mobile/dist/components/BaseTile/getTileHeadingType.js.map +1 -0
  564. package/mobile/dist/components/BaseTile/getTileMinHeight.d.ts +1 -0
  565. package/mobile/dist/components/BaseTile/getTileMinHeight.js +17 -0
  566. package/mobile/dist/components/BaseTile/getTileMinHeight.js.map +1 -0
  567. package/mobile/dist/components/BaseTile/getTileRightPadding.d.ts +1 -0
  568. package/mobile/dist/components/BaseTile/getTileRightPadding.js +17 -0
  569. package/mobile/dist/components/BaseTile/getTileRightPadding.js.map +1 -0
  570. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +2 -2
  571. package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  572. package/mobile/dist/components/BenefitsBlock/BenefitsBlockContent.d.ts +6 -4
  573. package/mobile/dist/components/Blocks.d.ts +1 -0
  574. package/mobile/dist/components/Blocks.js +2 -0
  575. package/mobile/dist/components/Blocks.js.map +1 -1
  576. package/mobile/dist/components/ComparisonTable/ComparisonTable.js +2 -2
  577. package/mobile/dist/components/ComparisonTable/ComparisonTable.js.map +1 -1
  578. package/mobile/dist/components/ComparisonTable/HeaderCell.js +3 -3
  579. package/mobile/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  580. package/mobile/dist/components/ContentPage/ContentPage.js +2 -4
  581. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  582. package/mobile/dist/components/ContentPage/isBlockInRegistry.d.ts +2 -0
  583. package/mobile/dist/components/ContentPage/isBlockInRegistry.js +7 -0
  584. package/mobile/dist/components/ContentPage/isBlockInRegistry.js.map +1 -0
  585. package/mobile/dist/components/ContentPage/normalizeBlock.d.ts +2 -0
  586. package/mobile/dist/components/ContentPage/normalizeBlock.js +8 -0
  587. package/mobile/dist/components/ContentPage/normalizeBlock.js.map +1 -0
  588. package/mobile/dist/components/ContentPage/normalizePage.d.ts +2 -0
  589. package/mobile/dist/components/ContentPage/normalizePage.js +30 -0
  590. package/mobile/dist/components/ContentPage/normalizePage.js.map +1 -0
  591. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js +12 -6
  592. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  593. package/mobile/dist/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -4
  594. package/mobile/dist/components/Footer/MediaButton.js +2 -2
  595. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  596. package/mobile/dist/components/Gallery/Gallery.js +19 -8
  597. package/mobile/dist/components/Gallery/Gallery.js.map +1 -1
  598. package/mobile/dist/components/Gallery/GalleryCardInner.js +2 -4
  599. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  600. package/mobile/dist/components/Gallery/GalleryContainer.js +5 -6
  601. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  602. package/mobile/dist/components/Gallery/GalleryContent.d.ts +8 -3
  603. package/mobile/dist/components/Gallery/GalleryInner.js +1 -1
  604. package/mobile/dist/components/Gallery/GalleryInner.js.map +1 -1
  605. package/mobile/dist/components/Gallery/constants.js +2 -2
  606. package/mobile/dist/components/Gallery/constants.js.map +1 -1
  607. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +1 -1
  608. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  609. package/mobile/dist/components/Header/HeaderTop.js +1 -1
  610. package/mobile/dist/components/Header/HeaderTop.js.map +1 -1
  611. package/mobile/dist/components/Headline/Headline.js +3 -3
  612. package/mobile/dist/components/Headline/Headline.js.map +1 -1
  613. package/mobile/dist/components/Headline/HeadlineContent.d.ts +7 -3
  614. package/mobile/dist/components/LinkDocs/LinkDocs.js +5 -36
  615. package/mobile/dist/components/LinkDocs/LinkDocs.js.map +1 -1
  616. package/mobile/dist/components/LinkDocs/LinkDocsContent.d.ts +27 -7
  617. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
  618. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js +12 -0
  619. package/mobile/dist/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -0
  620. package/mobile/dist/components/LinkDocs/LinkDocsList.d.ts +9 -0
  621. package/mobile/dist/components/LinkDocs/LinkDocsList.js +9 -0
  622. package/mobile/dist/components/LinkDocs/LinkDocsList.js.map +1 -0
  623. package/mobile/dist/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
  624. package/mobile/dist/components/LinkDocs/LinkDocsListItem.js +7 -0
  625. package/mobile/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -0
  626. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
  627. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js +22 -0
  628. package/mobile/dist/components/LinkDocs/LinkDocsListItemBase.js.map +1 -0
  629. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
  630. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js +11 -0
  631. package/mobile/dist/components/LinkDocs/LinkDocsVerticalList.js.map +1 -0
  632. package/mobile/dist/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
  633. package/mobile/dist/components/LinkDocs/linkDocsContentExample.js +27 -0
  634. package/mobile/dist/components/LinkDocs/linkDocsContentExample.js.map +1 -0
  635. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +5 -3
  636. package/mobile/dist/components/PictureText/PictureText.js +5 -5
  637. package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
  638. package/mobile/dist/components/PictureText/PictureTextContent.d.ts +4 -2
  639. package/mobile/dist/components/Placeholder/PlaceholderContent.d.ts +2 -3
  640. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +10 -11
  641. package/mobile/dist/components/ProductBlock/ProductBlockInner.d.ts +2 -3
  642. package/mobile/dist/components/ProductBlock/ProductBlockInner.js +7 -3
  643. package/mobile/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  644. package/mobile/dist/components/ProductBlock/renderBenefit.js +1 -1
  645. package/mobile/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  646. package/mobile/dist/components/ProductGallery/ProductGallery.js +3 -2
  647. package/mobile/dist/components/ProductGallery/ProductGallery.js.map +1 -1
  648. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.d.ts +4 -4
  649. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js +2 -2
  650. package/mobile/dist/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  651. package/mobile/dist/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  652. package/mobile/dist/components/ProductTile/ProductTile.js +14 -4
  653. package/mobile/dist/components/ProductTile/ProductTile.js.map +1 -1
  654. package/mobile/dist/components/ProductTile/ProductTileContent.d.ts +10 -5
  655. package/mobile/dist/components/PromoTile/PromoTile.js +12 -3
  656. package/mobile/dist/components/PromoTile/PromoTile.js.map +1 -1
  657. package/mobile/dist/components/PromoTile/PromoTileContent.d.ts +7 -3
  658. package/mobile/dist/components/StepsBlock/StepsBlock.js +3 -3
  659. package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  660. package/mobile/dist/components/TariffsTable/TariffsTable.js +2 -2
  661. package/mobile/dist/components/TariffsTable/TariffsTable.js.map +1 -1
  662. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +3 -3
  663. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  664. package/mobile/dist/components/TariffsTable/TariffsTableContent.d.ts +5 -11
  665. package/mobile/dist/components/TariffsTable/TariffsTableRow.js +1 -1
  666. package/mobile/dist/components/TariffsTable/TariffsTableRow.js.map +1 -1
  667. package/mobile/dist/components/TextBlock/TextBlock.js +4 -7
  668. package/mobile/dist/components/TextBlock/TextBlock.js.map +1 -1
  669. package/mobile/dist/components/TextBlock/TextBlockContent.d.ts +2 -1
  670. package/mobile/dist/components/Tile/Tile.js +10 -27
  671. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  672. package/mobile/dist/components/Tile/TileContent.d.ts +9 -2
  673. package/mobile/dist/content-page-repository/ContentPageRepository.d.ts +0 -2
  674. package/mobile/dist/content-page-repository/ContentPageRepository.js +0 -10
  675. package/mobile/dist/content-page-repository/ContentPageRepository.js.map +1 -1
  676. package/mobile/dist/icons/IconName.d.ts +82 -0
  677. package/mobile/dist/icons/IconName.js +78 -0
  678. package/mobile/dist/icons/IconName.js.map +1 -0
  679. package/mobile/dist/index.d.ts +1 -1
  680. package/mobile/dist/index.js +3 -3
  681. package/mobile/dist/index.js.map +1 -1
  682. package/mobile/dist/model/ButtonVersion.d.ts +1 -1
  683. package/mobile/dist/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
  684. package/mobile/dist/services/sitemap/checkIsHrefSameOrigin.js +6 -0
  685. package/mobile/dist/services/sitemap/checkIsHrefSameOrigin.js.map +1 -0
  686. package/mobile/dist/services/sitemap/isTopItemActive.js +4 -1
  687. package/mobile/dist/services/sitemap/isTopItemActive.js.map +1 -1
  688. package/mobile/dist/setup-fixture.d.ts +3 -0
  689. package/mobile/dist/setup-fixture.js +72 -0
  690. package/mobile/dist/setup-fixture.js.map +1 -0
  691. package/mobile/dist/types.d.ts +5 -5
  692. package/mobile/dist/ui-kit/BlockItem/BlockItem.d.ts +1 -1
  693. package/mobile/dist/ui-kit/BlockItem/BlockItem.js +9 -10
  694. package/mobile/dist/ui-kit/BlockItem/BlockItem.js.map +1 -1
  695. package/mobile/dist/ui-kit/BlockItem/BlockItemProps.d.ts +2 -2
  696. package/mobile/dist/ui-kit/Button/Button.d.ts +0 -2
  697. package/mobile/dist/ui-kit/Button/Button.js +6 -8
  698. package/mobile/dist/ui-kit/Button/Button.js.map +1 -1
  699. package/mobile/dist/ui-kit/Button/ButtonInner.d.ts +7 -0
  700. package/mobile/dist/ui-kit/Button/ButtonInner.js +16 -0
  701. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -0
  702. package/mobile/dist/ui-kit/Button/ButtonProps.d.ts +10 -0
  703. package/mobile/dist/ui-kit/Button/ButtonSection.d.ts +5 -0
  704. package/mobile/dist/ui-kit/Button/ButtonSection.js +18 -0
  705. package/mobile/dist/ui-kit/Button/ButtonSection.js.map +1 -0
  706. package/mobile/dist/ui-kit/Description/Description.d.ts +2 -0
  707. package/mobile/dist/ui-kit/Description/Description.js +9 -0
  708. package/mobile/dist/ui-kit/Description/Description.js.map +1 -0
  709. package/mobile/dist/ui-kit/Description/DescriptionProps.d.ts +7 -0
  710. package/mobile/dist/ui-kit/Description/DescriptionProps.js +2 -0
  711. package/mobile/dist/ui-kit/Description/DescriptionProps.js.map +1 -0
  712. package/mobile/dist/ui-kit/Heading/Heading.d.ts +5 -0
  713. package/mobile/dist/ui-kit/Heading/Heading.js +21 -0
  714. package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -0
  715. package/mobile/dist/ui-kit/Heading/HeadingContent.d.ts +15 -0
  716. package/mobile/dist/ui-kit/Heading/HeadingContent.js +2 -0
  717. package/mobile/dist/ui-kit/Heading/HeadingContent.js.map +1 -0
  718. package/mobile/dist/ui-kit/Icon/Icon.js +6 -2
  719. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  720. package/mobile/dist/ui-kit/Icon/IconProps.d.ts +6 -148
  721. package/mobile/dist/ui-kit/Icon/IconProps.js +0 -76
  722. package/mobile/dist/ui-kit/Icon/IconProps.js.map +1 -1
  723. package/{dist/ui-kit → mobile/dist/ui-kit/Img}/Img.d.ts +2 -5
  724. package/mobile/dist/ui-kit/{Img.js → Img/Img.js} +7 -4
  725. package/mobile/dist/ui-kit/Img/Img.js.map +1 -0
  726. package/mobile/dist/ui-kit/Img/ImgProps.d.ts +7 -0
  727. package/mobile/dist/ui-kit/Img/ImgProps.js +2 -0
  728. package/mobile/dist/ui-kit/Img/ImgProps.js.map +1 -0
  729. package/mobile/dist/ui-kit/List/List.d.ts +2 -0
  730. package/mobile/dist/ui-kit/List/List.js +12 -0
  731. package/mobile/dist/ui-kit/List/List.js.map +1 -0
  732. package/mobile/dist/ui-kit/List/ListContent.d.ts +4 -0
  733. package/mobile/dist/ui-kit/List/ListContent.js +2 -0
  734. package/mobile/dist/ui-kit/List/ListContent.js.map +1 -0
  735. package/mobile/dist/ui-kit/List/ListItem.d.ts +11 -0
  736. package/mobile/dist/ui-kit/List/ListItem.js +23 -0
  737. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -0
  738. package/mobile/dist/ui-kit/List/ListProps.d.ts +14 -0
  739. package/mobile/dist/ui-kit/List/ListProps.js +2 -0
  740. package/mobile/dist/ui-kit/List/ListProps.js.map +1 -0
  741. package/mobile/dist/ui-kit/Logo/Logo.js +1 -1
  742. package/mobile/dist/ui-kit/Logo/Logo.js.map +1 -1
  743. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  744. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +32 -0
  745. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -0
  746. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
  747. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js +28 -0
  748. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -0
  749. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
  750. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlItem.js +8 -0
  751. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlItem.js.map +1 -0
  752. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
  753. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.js +11 -0
  754. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -0
  755. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +17 -0
  756. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.js +2 -0
  757. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControlProps.js.map +1 -0
  758. package/mobile/dist/ui-kit/SwipeListControl/constants.d.ts +2 -0
  759. package/mobile/dist/ui-kit/SwipeListControl/constants.js +12 -0
  760. package/mobile/dist/ui-kit/SwipeListControl/constants.js.map +1 -0
  761. package/mobile/dist/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
  762. package/mobile/dist/ui-kit/SwipeListControl/utils/getContainerStyle.js +13 -0
  763. package/mobile/dist/ui-kit/SwipeListControl/utils/getContainerStyle.js.map +1 -0
  764. package/mobile/dist/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +4 -0
  765. package/mobile/dist/ui-kit/SwipeListControl/utils/getIndexParts.js +18 -0
  766. package/mobile/dist/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -0
  767. package/mobile/dist/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
  768. package/mobile/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js +27 -0
  769. package/mobile/dist/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -0
  770. package/mobile/lib/components/Accordion/Accordion.js +2 -2
  771. package/mobile/lib/components/Accordion/Accordion.js.map +1 -1
  772. package/mobile/lib/components/Accordion/AccordionBlocks.d.ts +4 -0
  773. package/mobile/lib/components/Accordion/AccordionBlocks.js +8 -0
  774. package/mobile/lib/components/Accordion/AccordionBlocks.js.map +1 -1
  775. package/mobile/lib/components/Accordion/AccordionContent.d.ts +30 -18
  776. package/mobile/lib/components/Accordion/AccordionItem.js +1 -1
  777. package/mobile/lib/components/Accordion/AccordionItem.js.map +1 -1
  778. package/mobile/lib/components/BaseTile/BaseTile.js +2 -11
  779. package/mobile/lib/components/BaseTile/BaseTile.js.map +1 -1
  780. package/mobile/lib/components/BaseTile/BaseTileProps.d.ts +6 -11
  781. package/mobile/lib/components/BaseTile/getTileHeadingType.d.ts +1 -0
  782. package/mobile/lib/components/BaseTile/{getTitleSizeByClassName.js → getTileHeadingType.js} +5 -5
  783. package/mobile/lib/components/BaseTile/getTileHeadingType.js.map +1 -0
  784. package/mobile/lib/components/BaseTile/getTileMinHeight.d.ts +1 -0
  785. package/mobile/lib/components/BaseTile/getTileMinHeight.js +14 -0
  786. package/mobile/lib/components/BaseTile/getTileMinHeight.js.map +1 -0
  787. package/mobile/lib/components/BaseTile/getTileRightPadding.d.ts +1 -0
  788. package/mobile/lib/components/BaseTile/getTileRightPadding.js +14 -0
  789. package/mobile/lib/components/BaseTile/getTileRightPadding.js.map +1 -0
  790. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +2 -2
  791. package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
  792. package/mobile/lib/components/BenefitsBlock/BenefitsBlockContent.d.ts +6 -4
  793. package/mobile/lib/components/Blocks.d.ts +1 -0
  794. package/mobile/lib/components/Blocks.js +2 -0
  795. package/mobile/lib/components/Blocks.js.map +1 -1
  796. package/mobile/lib/components/ComparisonTable/ComparisonTable.js +2 -2
  797. package/mobile/lib/components/ComparisonTable/ComparisonTable.js.map +1 -1
  798. package/mobile/lib/components/ComparisonTable/HeaderCell.js +3 -3
  799. package/mobile/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  800. package/mobile/lib/components/ContentPage/ContentPage.js +2 -4
  801. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  802. package/mobile/lib/components/ContentPage/isBlockInRegistry.d.ts +2 -0
  803. package/mobile/lib/components/ContentPage/isBlockInRegistry.js +4 -0
  804. package/mobile/lib/components/ContentPage/isBlockInRegistry.js.map +1 -0
  805. package/mobile/lib/components/ContentPage/normalizeBlock.d.ts +2 -0
  806. package/mobile/lib/components/ContentPage/normalizeBlock.js +5 -0
  807. package/mobile/lib/components/ContentPage/normalizeBlock.js.map +1 -0
  808. package/mobile/lib/components/ContentPage/normalizePage.d.ts +2 -0
  809. package/mobile/lib/components/ContentPage/{toMobilePage.js → normalizePage.js} +11 -15
  810. package/mobile/lib/components/ContentPage/normalizePage.js.map +1 -0
  811. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js +12 -6
  812. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTile.js.map +1 -1
  813. package/mobile/lib/components/ExchangeRateTile/ExchangeRateTileContent.d.ts +2 -4
  814. package/mobile/lib/components/Footer/MediaButton.js +2 -2
  815. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  816. package/mobile/lib/components/Gallery/Gallery.js +19 -8
  817. package/mobile/lib/components/Gallery/Gallery.js.map +1 -1
  818. package/mobile/lib/components/Gallery/GalleryCardInner.js +2 -4
  819. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  820. package/mobile/lib/components/Gallery/GalleryContainer.js +6 -7
  821. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  822. package/mobile/lib/components/Gallery/GalleryContent.d.ts +8 -3
  823. package/mobile/lib/components/Gallery/GalleryInner.js +1 -1
  824. package/mobile/lib/components/Gallery/GalleryInner.js.map +1 -1
  825. package/mobile/lib/components/Gallery/constants.js +2 -2
  826. package/mobile/lib/components/Gallery/constants.js.map +1 -1
  827. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +1 -1
  828. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  829. package/mobile/lib/components/Header/HeaderTop.js +1 -1
  830. package/mobile/lib/components/Header/HeaderTop.js.map +1 -1
  831. package/mobile/lib/components/Headline/Headline.js +3 -3
  832. package/mobile/lib/components/Headline/Headline.js.map +1 -1
  833. package/mobile/lib/components/Headline/HeadlineContent.d.ts +7 -3
  834. package/mobile/lib/components/LinkDocs/LinkDocs.js +5 -36
  835. package/mobile/lib/components/LinkDocs/LinkDocs.js.map +1 -1
  836. package/mobile/lib/components/LinkDocs/LinkDocsContent.d.ts +27 -7
  837. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.d.ts +6 -0
  838. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js +10 -0
  839. package/mobile/lib/components/LinkDocs/LinkDocsHorizontalList.js.map +1 -0
  840. package/mobile/lib/components/LinkDocs/LinkDocsList.d.ts +9 -0
  841. package/mobile/lib/components/LinkDocs/LinkDocsList.js +7 -0
  842. package/mobile/lib/components/LinkDocs/LinkDocsList.js.map +1 -0
  843. package/mobile/lib/components/LinkDocs/LinkDocsListItem.d.ts +2 -0
  844. package/mobile/lib/components/LinkDocs/LinkDocsListItem.js +5 -0
  845. package/mobile/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -0
  846. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.d.ts +13 -0
  847. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js +20 -0
  848. package/mobile/lib/components/LinkDocs/LinkDocsListItemBase.js.map +1 -0
  849. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.d.ts +8 -0
  850. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js +9 -0
  851. package/mobile/lib/components/LinkDocs/LinkDocsVerticalList.js.map +1 -0
  852. package/mobile/lib/components/LinkDocs/linkDocsContentExample.d.ts +2 -0
  853. package/mobile/lib/components/LinkDocs/linkDocsContentExample.js +25 -0
  854. package/mobile/lib/components/LinkDocs/linkDocsContentExample.js.map +1 -0
  855. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +5 -3
  856. package/mobile/lib/components/PictureText/PictureText.js +5 -5
  857. package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
  858. package/mobile/lib/components/PictureText/PictureTextContent.d.ts +4 -2
  859. package/mobile/lib/components/Placeholder/PlaceholderContent.d.ts +2 -3
  860. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +10 -11
  861. package/mobile/lib/components/ProductBlock/ProductBlockInner.d.ts +2 -3
  862. package/mobile/lib/components/ProductBlock/ProductBlockInner.js +7 -3
  863. package/mobile/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  864. package/mobile/lib/components/ProductBlock/renderBenefit.js +1 -1
  865. package/mobile/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  866. package/mobile/lib/components/ProductGallery/ProductGallery.js +3 -2
  867. package/mobile/lib/components/ProductGallery/ProductGallery.js.map +1 -1
  868. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.d.ts +4 -4
  869. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js +2 -2
  870. package/mobile/lib/components/ProductGallery/ProductGalleryBlock.js.map +1 -1
  871. package/mobile/lib/components/ProductGallery/ProductGalleryContent.d.ts +2 -2
  872. package/mobile/lib/components/ProductTile/ProductTile.js +14 -4
  873. package/mobile/lib/components/ProductTile/ProductTile.js.map +1 -1
  874. package/mobile/lib/components/ProductTile/ProductTileContent.d.ts +10 -5
  875. package/mobile/lib/components/PromoTile/PromoTile.js +12 -3
  876. package/mobile/lib/components/PromoTile/PromoTile.js.map +1 -1
  877. package/mobile/lib/components/PromoTile/PromoTileContent.d.ts +7 -3
  878. package/mobile/lib/components/StepsBlock/StepsBlock.js +3 -3
  879. package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  880. package/mobile/lib/components/TariffsTable/TariffsTable.js +2 -2
  881. package/mobile/lib/components/TariffsTable/TariffsTable.js.map +1 -1
  882. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +3 -3
  883. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  884. package/mobile/lib/components/TariffsTable/TariffsTableContent.d.ts +5 -11
  885. package/mobile/lib/components/TariffsTable/TariffsTableRow.js +1 -1
  886. package/mobile/lib/components/TariffsTable/TariffsTableRow.js.map +1 -1
  887. package/mobile/lib/components/TextBlock/TextBlock.js +4 -7
  888. package/mobile/lib/components/TextBlock/TextBlock.js.map +1 -1
  889. package/mobile/lib/components/TextBlock/TextBlockContent.d.ts +2 -1
  890. package/mobile/lib/components/Tile/Tile.js +11 -28
  891. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  892. package/mobile/lib/components/Tile/TileContent.d.ts +9 -2
  893. package/mobile/lib/content-page-repository/ContentPageRepository.d.ts +0 -2
  894. package/mobile/lib/content-page-repository/ContentPageRepository.js +0 -10
  895. package/mobile/lib/content-page-repository/ContentPageRepository.js.map +1 -1
  896. package/mobile/lib/icons/IconName.d.ts +82 -0
  897. package/mobile/lib/icons/IconName.js +76 -0
  898. package/mobile/lib/icons/IconName.js.map +1 -0
  899. package/mobile/lib/index.d.ts +1 -1
  900. package/mobile/lib/index.js +1 -1
  901. package/mobile/lib/index.js.map +1 -1
  902. package/mobile/lib/model/ButtonVersion.d.ts +1 -1
  903. package/mobile/lib/services/sitemap/checkIsHrefSameOrigin.d.ts +4 -0
  904. package/mobile/lib/services/sitemap/checkIsHrefSameOrigin.js +3 -0
  905. package/mobile/lib/services/sitemap/checkIsHrefSameOrigin.js.map +1 -0
  906. package/mobile/lib/services/sitemap/isTopItemActive.js +4 -1
  907. package/mobile/lib/services/sitemap/isTopItemActive.js.map +1 -1
  908. package/mobile/lib/setup-fixture.d.ts +3 -0
  909. package/mobile/lib/setup-fixture.js +70 -0
  910. package/mobile/lib/setup-fixture.js.map +1 -0
  911. package/mobile/lib/types.d.ts +5 -5
  912. package/mobile/lib/ui-kit/BlockItem/BlockItem.d.ts +1 -1
  913. package/mobile/lib/ui-kit/BlockItem/BlockItem.js +9 -10
  914. package/mobile/lib/ui-kit/BlockItem/BlockItem.js.map +1 -1
  915. package/mobile/lib/ui-kit/BlockItem/BlockItemProps.d.ts +2 -2
  916. package/mobile/lib/ui-kit/Button/Button.d.ts +0 -2
  917. package/mobile/lib/ui-kit/Button/Button.js +6 -8
  918. package/mobile/lib/ui-kit/Button/Button.js.map +1 -1
  919. package/mobile/lib/ui-kit/Button/ButtonInner.d.ts +7 -0
  920. package/mobile/lib/ui-kit/Button/ButtonInner.js +14 -0
  921. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -0
  922. package/mobile/lib/ui-kit/Button/ButtonProps.d.ts +10 -0
  923. package/mobile/lib/ui-kit/Button/ButtonSection.d.ts +5 -0
  924. package/mobile/lib/ui-kit/Button/ButtonSection.js +16 -0
  925. package/mobile/lib/ui-kit/Button/ButtonSection.js.map +1 -0
  926. package/mobile/lib/ui-kit/Description/Description.d.ts +2 -0
  927. package/mobile/lib/ui-kit/Description/Description.js +7 -0
  928. package/mobile/lib/ui-kit/Description/Description.js.map +1 -0
  929. package/mobile/lib/ui-kit/Description/DescriptionProps.d.ts +7 -0
  930. package/mobile/lib/ui-kit/Description/DescriptionProps.js +2 -0
  931. package/mobile/lib/ui-kit/Description/DescriptionProps.js.map +1 -0
  932. package/mobile/lib/ui-kit/Heading/Heading.d.ts +5 -0
  933. package/mobile/lib/ui-kit/Heading/Heading.js +19 -0
  934. package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -0
  935. package/mobile/lib/ui-kit/Heading/HeadingContent.d.ts +15 -0
  936. package/mobile/lib/ui-kit/Heading/HeadingContent.js +2 -0
  937. package/mobile/lib/ui-kit/Heading/HeadingContent.js.map +1 -0
  938. package/mobile/lib/ui-kit/Icon/Icon.js +6 -2
  939. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  940. package/mobile/lib/ui-kit/Icon/IconProps.d.ts +6 -148
  941. package/mobile/lib/ui-kit/Icon/IconProps.js +1 -75
  942. package/mobile/lib/ui-kit/Icon/IconProps.js.map +1 -1
  943. package/mobile/lib/ui-kit/{Img.d.ts → Img/Img.d.ts} +2 -5
  944. package/mobile/lib/ui-kit/{Img.js → Img/Img.js} +7 -4
  945. package/mobile/lib/ui-kit/Img/Img.js.map +1 -0
  946. package/mobile/lib/ui-kit/Img/ImgProps.d.ts +7 -0
  947. package/mobile/lib/ui-kit/Img/ImgProps.js +2 -0
  948. package/mobile/lib/ui-kit/Img/ImgProps.js.map +1 -0
  949. package/mobile/lib/ui-kit/List/List.d.ts +2 -0
  950. package/mobile/lib/ui-kit/List/List.js +10 -0
  951. package/mobile/lib/ui-kit/List/List.js.map +1 -0
  952. package/mobile/lib/ui-kit/List/ListContent.d.ts +4 -0
  953. package/mobile/lib/ui-kit/List/ListContent.js +2 -0
  954. package/mobile/lib/ui-kit/List/ListContent.js.map +1 -0
  955. package/mobile/lib/ui-kit/List/ListItem.d.ts +11 -0
  956. package/mobile/lib/ui-kit/List/ListItem.js +21 -0
  957. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -0
  958. package/mobile/lib/ui-kit/List/ListProps.d.ts +14 -0
  959. package/mobile/lib/ui-kit/List/ListProps.js +2 -0
  960. package/mobile/lib/ui-kit/List/ListProps.js.map +1 -0
  961. package/mobile/lib/ui-kit/Logo/Logo.js +1 -1
  962. package/mobile/lib/ui-kit/Logo/Logo.js.map +1 -1
  963. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  964. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +30 -0
  965. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -0
  966. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.d.ts +6 -0
  967. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js +26 -0
  968. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlDots.js.map +1 -0
  969. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlItem.d.ts +9 -0
  970. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlItem.js +6 -0
  971. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlItem.js.map +1 -0
  972. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.d.ts +10 -0
  973. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.js +9 -0
  974. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlList.js.map +1 -0
  975. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.d.ts +17 -0
  976. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.js +2 -0
  977. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControlProps.js.map +1 -0
  978. package/mobile/lib/ui-kit/SwipeListControl/constants.d.ts +2 -0
  979. package/mobile/lib/ui-kit/SwipeListControl/constants.js +10 -0
  980. package/mobile/lib/ui-kit/SwipeListControl/constants.js.map +1 -0
  981. package/mobile/lib/ui-kit/SwipeListControl/utils/getContainerStyle.d.ts +1 -0
  982. package/mobile/lib/ui-kit/SwipeListControl/utils/getContainerStyle.js +10 -0
  983. package/mobile/lib/ui-kit/SwipeListControl/utils/getContainerStyle.js.map +1 -0
  984. package/mobile/lib/ui-kit/SwipeListControl/utils/getIndexParts.d.ts +4 -0
  985. package/mobile/lib/ui-kit/SwipeListControl/utils/getIndexParts.js +15 -0
  986. package/mobile/lib/ui-kit/SwipeListControl/utils/getIndexParts.js.map +1 -0
  987. package/mobile/lib/ui-kit/SwipeListControl/utils/getScrollPoints.d.ts +8 -0
  988. package/mobile/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js +24 -0
  989. package/mobile/lib/ui-kit/SwipeListControl/utils/getScrollPoints.js.map +1 -0
  990. package/mobile/src/components/Accordion/Accordion.tsx +2 -6
  991. package/mobile/src/components/Accordion/AccordionBlocks.tsx +8 -0
  992. package/mobile/src/components/Accordion/AccordionContent.ts +49 -21
  993. package/mobile/src/components/Accordion/AccordionItem.tsx +1 -1
  994. package/mobile/src/components/BaseTile/BaseTile.tsx +11 -42
  995. package/mobile/src/components/BaseTile/BaseTileProps.ts +9 -11
  996. package/{src/components/BaseTile/getTitleSizeByClassName.ts → mobile/src/components/BaseTile/getTileHeadingType.ts} +5 -4
  997. package/mobile/src/components/BaseTile/getTileMinHeight.ts +12 -0
  998. package/mobile/src/components/BaseTile/getTileRightPadding.ts +12 -0
  999. package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +4 -2
  1000. package/mobile/src/components/BenefitsBlock/BenefitsBlockContent.ts +7 -4
  1001. package/mobile/src/components/Blocks.ts +2 -0
  1002. package/mobile/src/components/ComparisonTable/ComparisonTable.tsx +6 -2
  1003. package/mobile/src/components/ComparisonTable/HeaderCell.tsx +3 -7
  1004. package/mobile/src/components/ContentPage/ContentPage.page.json +1630 -87
  1005. package/mobile/src/components/ContentPage/ContentPage.tsx +2 -8
  1006. package/mobile/src/components/ContentPage/isBlockInRegistry.ts +5 -0
  1007. package/mobile/src/components/ContentPage/normalizeBlock.spec.ts +50 -0
  1008. package/mobile/src/components/ContentPage/normalizeBlock.ts +6 -0
  1009. package/mobile/src/components/ContentPage/{toMobilePage.ts → normalizePage.ts} +13 -14
  1010. package/mobile/src/components/ExchangeRateTile/ExchangeRateTile.tsx +60 -36
  1011. package/mobile/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +3 -4
  1012. package/mobile/src/components/Footer/MediaButton.tsx +2 -1
  1013. package/mobile/src/components/Gallery/Gallery.tsx +58 -39
  1014. package/mobile/src/components/Gallery/GalleryCardInner.tsx +6 -11
  1015. package/mobile/src/components/Gallery/GalleryContainer.tsx +9 -10
  1016. package/mobile/src/components/Gallery/GalleryContent.ts +9 -3
  1017. package/mobile/src/components/Gallery/GalleryInner.tsx +1 -1
  1018. package/mobile/src/components/Gallery/constants.ts +2 -2
  1019. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +4 -4
  1020. package/mobile/src/components/Header/HeaderTop.tsx +1 -1
  1021. package/mobile/src/components/Headline/Headline.tsx +3 -7
  1022. package/mobile/src/components/Headline/HeadlineContent.ts +11 -6
  1023. package/mobile/src/components/LinkDocs/LinkDocs.example.json +4 -1
  1024. package/mobile/src/components/LinkDocs/LinkDocs.tsx +32 -70
  1025. package/mobile/src/components/LinkDocs/LinkDocsContent.ts +29 -7
  1026. package/mobile/src/components/LinkDocs/LinkDocsHorizontalList.tsx +28 -0
  1027. package/mobile/src/components/LinkDocs/LinkDocsList.tsx +33 -0
  1028. package/mobile/src/components/LinkDocs/LinkDocsListItem.tsx +12 -0
  1029. package/mobile/src/components/LinkDocs/LinkDocsListItemBase.tsx +51 -0
  1030. package/mobile/src/components/LinkDocs/LinkDocsVerticalList.tsx +33 -0
  1031. package/mobile/src/components/LinkDocs/linkDocsContentExample.ts +26 -0
  1032. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +11 -8
  1033. package/mobile/src/components/PictureText/PictureText.tsx +5 -4
  1034. package/mobile/src/components/PictureText/PictureTextContent.ts +5 -2
  1035. package/mobile/src/components/Placeholder/PlaceholderContent.ts +3 -3
  1036. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +21 -18
  1037. package/mobile/src/components/ProductBlock/ProductBlockInner.tsx +26 -11
  1038. package/mobile/src/components/ProductBlock/renderBenefit.tsx +3 -2
  1039. package/mobile/src/components/ProductGallery/ProductGallery.tsx +3 -1
  1040. package/mobile/src/components/ProductGallery/ProductGalleryBlock.tsx +6 -6
  1041. package/mobile/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
  1042. package/mobile/src/components/ProductTile/ProductTile.tsx +63 -15
  1043. package/mobile/src/components/ProductTile/ProductTileContent.ts +17 -9
  1044. package/mobile/src/components/PromoTile/PromoTile.tsx +41 -14
  1045. package/mobile/src/components/PromoTile/PromoTileContent.ts +11 -5
  1046. package/mobile/src/components/StepsBlock/StepsBlock.tsx +3 -7
  1047. package/mobile/src/components/TariffsTable/TariffsTable.tsx +6 -2
  1048. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +4 -3
  1049. package/mobile/src/components/TariffsTable/TariffsTableContent.ts +5 -11
  1050. package/mobile/src/components/TariffsTable/TariffsTableRow.tsx +1 -0
  1051. package/mobile/src/components/TextBlock/TextBlock.tsx +20 -16
  1052. package/mobile/src/components/TextBlock/TextBlockContent.ts +4 -1
  1053. package/mobile/src/components/Tile/Tile.tsx +46 -27
  1054. package/mobile/src/components/Tile/TileContent.ts +13 -2
  1055. package/mobile/src/content-page-repository/ContentPageRepository.ts +0 -12
  1056. package/mobile/src/icons/ActualBalanceIcon.svg +1 -3
  1057. package/mobile/src/icons/AppleIcon.svg +1 -1
  1058. package/mobile/src/icons/AtmIcon.svg +6 -6
  1059. package/mobile/src/icons/BankIcon.svg +10 -10
  1060. package/mobile/src/icons/BurgerIcon.svg +1 -1
  1061. package/mobile/src/icons/BurgerIconWhite.svg +1 -1
  1062. package/mobile/src/icons/Calendar2Icon.svg +1 -1
  1063. package/mobile/src/icons/CalendarCircleIcon.svg +1 -1
  1064. package/mobile/src/icons/CalendarIcon.svg +2 -2
  1065. package/mobile/src/icons/CalendarTickIcon.svg +1 -1
  1066. package/mobile/src/icons/CalendarWhiteIcon.svg +1 -1
  1067. package/mobile/src/icons/CardIcon.svg +1 -1
  1068. package/mobile/src/icons/CardPosIcon.svg +1 -1
  1069. package/mobile/src/icons/CardTickIcon.svg +1 -1
  1070. package/mobile/src/icons/CardWithGemIcon.svg +1 -1
  1071. package/mobile/src/icons/ChartSquareIcon.svg +1 -1
  1072. package/mobile/src/icons/ClockIcon.svg +1 -3
  1073. package/mobile/src/icons/CloseIcon.svg +1 -1
  1074. package/mobile/src/icons/ComfortableCompIcon.svg +1 -3
  1075. package/mobile/src/icons/CreditCardsIcon.svg +1 -1
  1076. package/mobile/src/icons/DiscountShapeIcon.svg +1 -1
  1077. package/mobile/src/icons/DocIcon.svg +3 -3
  1078. package/mobile/src/icons/DocIconMonoColor.svg +5 -0
  1079. package/mobile/src/icons/DocumentTextIcon.svg +3 -3
  1080. package/mobile/src/icons/DollarIcon.svg +1 -1
  1081. package/mobile/src/icons/EarthIcon.svg +1 -1
  1082. package/mobile/src/icons/EmptyWalletChangeIcon.svg +1 -1
  1083. package/mobile/src/icons/EmptyWalletIcon.svg +2 -2
  1084. package/mobile/src/icons/EmptyWalletWhiteIcon.svg +1 -1
  1085. package/mobile/src/icons/EuroIcon.svg +1 -1
  1086. package/mobile/src/icons/GeolocationIcon.svg +3 -3
  1087. package/mobile/src/icons/GlassIcon.svg +1 -1
  1088. package/mobile/src/icons/GlobalIcon.svg +1 -1
  1089. package/mobile/src/icons/GridIcon.svg +1 -1
  1090. package/mobile/src/icons/GridIconWhite.svg +1 -1
  1091. package/mobile/src/icons/IconName.ts +16 -0
  1092. package/mobile/src/icons/InterestGrowthIcon.svg +1 -1
  1093. package/mobile/src/icons/InterestIcon.svg +1 -1
  1094. package/mobile/src/icons/JCBIcon.svg +1 -1
  1095. package/mobile/src/icons/LoupeIcon.svg +1 -1
  1096. package/mobile/src/icons/MasterCardIcon.svg +1 -1
  1097. package/mobile/src/icons/MinusIcon.svg +1 -1
  1098. package/mobile/src/icons/MirIcon.svg +1 -1
  1099. package/mobile/src/icons/MoneyIcon.svg +1 -1
  1100. package/mobile/src/icons/MoneyInsuranceIcon.svg +1 -1
  1101. package/mobile/src/icons/MonitorMobileIcon.svg +1 -1
  1102. package/mobile/src/icons/NewDocIcon.svg +1 -3
  1103. package/mobile/src/icons/OfficeIcon.svg +1 -1
  1104. package/mobile/src/icons/OkIcon.svg +1 -1
  1105. package/mobile/src/icons/PassSendIcon.svg +1 -3
  1106. package/mobile/src/icons/PercentageRoundIcon.svg +1 -1
  1107. package/mobile/src/icons/PercentageSquareIcon.svg +2 -2
  1108. package/mobile/src/icons/PercentageSquareWhiteIcon.svg +1 -1
  1109. package/mobile/src/icons/PersonalCardIcon.svg +1 -1
  1110. package/mobile/src/icons/PlayMarketIcon.svg +1 -1
  1111. package/mobile/src/icons/PlusIcon.svg +1 -1
  1112. package/mobile/src/icons/Profile2UserIcon.svg +1 -1
  1113. package/mobile/src/icons/ProfileIcon.svg +1 -1
  1114. package/mobile/src/icons/RoundRubleIcon.svg +1 -1
  1115. package/mobile/src/icons/SafeIcon.svg +1 -1
  1116. package/mobile/src/icons/ShieldTickIcon.svg +1 -1
  1117. package/mobile/src/icons/SignDocsIcon.svg +1 -3
  1118. package/mobile/src/icons/SmallClockIcon.svg +1 -1
  1119. package/mobile/src/icons/TelegramIcon.svg +2 -1
  1120. package/mobile/src/icons/UnionPayIcon.svg +1 -1
  1121. package/mobile/src/icons/UserTickIcon.svg +1 -1
  1122. package/mobile/src/icons/VKIcon.svg +2 -1
  1123. package/mobile/src/icons/VisaIcon.svg +1 -1
  1124. package/mobile/src/icons/WalletAdd2Icon.svg +1 -1
  1125. package/mobile/src/icons/WalletAddIcon.svg +1 -1
  1126. package/mobile/src/icons/WalletIcon.svg +1 -1
  1127. package/mobile/src/icons/WalletWithMoneyIcon.svg +1 -1
  1128. package/mobile/src/index.ts +1 -1
  1129. package/mobile/src/model/ButtonVersion.ts +1 -1
  1130. package/mobile/src/services/sitemap/checkIsHrefSameOrigin.spec.ts +20 -0
  1131. package/mobile/src/services/sitemap/checkIsHrefSameOrigin.ts +6 -0
  1132. package/mobile/src/services/sitemap/isTopItemActive.spec.ts +59 -0
  1133. package/mobile/src/services/sitemap/isTopItemActive.ts +4 -1
  1134. package/mobile/src/types.ts +6 -5
  1135. package/mobile/src/ui-kit/BlockItem/BlockItem.tsx +12 -15
  1136. package/mobile/src/ui-kit/BlockItem/BlockItemProps.ts +2 -2
  1137. package/mobile/src/ui-kit/Button/Button.tsx +11 -24
  1138. package/mobile/src/ui-kit/Button/ButtonInner.tsx +37 -0
  1139. package/mobile/src/ui-kit/Button/ButtonProps.ts +11 -0
  1140. package/mobile/src/ui-kit/Button/ButtonSection.tsx +34 -0
  1141. package/mobile/src/ui-kit/Description/Description.tsx +8 -0
  1142. package/mobile/src/ui-kit/Description/DescriptionProps.ts +8 -0
  1143. package/mobile/src/ui-kit/Heading/Heading.tsx +29 -0
  1144. package/mobile/src/ui-kit/Heading/HeadingContent.ts +17 -0
  1145. package/mobile/src/ui-kit/Icon/Icon.tsx +16 -3
  1146. package/mobile/src/ui-kit/Icon/IconProps.ts +7 -148
  1147. package/mobile/src/ui-kit/{Img.tsx → Img/Img.tsx} +9 -10
  1148. package/mobile/src/ui-kit/Img/ImgProps.ts +9 -0
  1149. package/mobile/src/ui-kit/List/List.tsx +24 -0
  1150. package/mobile/src/ui-kit/List/ListContent.ts +4 -0
  1151. package/mobile/src/ui-kit/List/ListItem.tsx +43 -0
  1152. package/mobile/src/ui-kit/List/ListProps.ts +16 -0
  1153. package/mobile/src/ui-kit/Logo/Logo.tsx +1 -0
  1154. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +62 -0
  1155. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +51 -0
  1156. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlItem.tsx +20 -0
  1157. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +48 -0
  1158. package/mobile/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +19 -0
  1159. package/mobile/src/ui-kit/SwipeListControl/constants.ts +10 -0
  1160. package/mobile/src/ui-kit/SwipeListControl/utils/getContainerStyle.ts +9 -0
  1161. package/mobile/src/ui-kit/SwipeListControl/utils/getIndexParts.spec.ts +19 -0
  1162. package/mobile/src/ui-kit/SwipeListControl/utils/getIndexParts.ts +20 -0
  1163. package/mobile/src/ui-kit/SwipeListControl/utils/getScrollPoints.spec.ts +24 -0
  1164. package/mobile/src/ui-kit/SwipeListControl/utils/getScrollPoints.ts +41 -0
  1165. package/package.json +14 -15
  1166. package/src/components/Accordion/Accordion.fixture.mobile.tsx +10 -10
  1167. package/src/components/Accordion/Accordion.fixture.tsx +54 -10
  1168. package/src/components/Accordion/Accordion.mobile.tsx +2 -6
  1169. package/src/components/Accordion/Accordion.tsx +2 -2
  1170. package/src/components/Accordion/AccordionBlocks.tsx +8 -0
  1171. package/src/components/Accordion/AccordionContent.ts +49 -21
  1172. package/src/components/Accordion/AccordionItem.mobile.tsx +1 -1
  1173. package/src/components/Accordion/AccordionItem.tsx +1 -1
  1174. package/src/components/BaseTile/BaseTile.tsx +10 -34
  1175. package/src/components/BaseTile/BaseTileProps.ts +9 -11
  1176. package/{mobile/src/components/BaseTile/getTitleSizeByClassName.ts → src/components/BaseTile/getTileHeadingType.ts} +5 -4
  1177. package/src/components/BaseTile/getTileMinHeight.ts +12 -0
  1178. package/src/components/BaseTile/getTileRightPadding.ts +12 -0
  1179. package/src/components/BenefitsBlock/BenefitsBlock.tsx +4 -2
  1180. package/src/components/BenefitsBlock/BenefitsBlockContent.ts +7 -4
  1181. package/src/components/Blocks.mobile.ts +2 -0
  1182. package/src/components/ComparisonTable/ComparisonTable.fixture.tsx +1 -0
  1183. package/src/components/ComparisonTable/ComparisonTable.tsx +6 -2
  1184. package/src/components/ComparisonTable/HeaderCell.tsx +3 -7
  1185. package/src/components/ContentPage/ContentPage.fixture.mobile.tsx +3 -3
  1186. package/src/components/ContentPage/ContentPage.fixture.tsx +3 -2
  1187. package/src/components/ContentPage/ContentPage.page.json +15 -81
  1188. package/src/components/ContentPage/ContentPage.tsx +2 -8
  1189. package/src/components/ContentPage/isBlockInRegistry.ts +5 -0
  1190. package/src/components/ContentPage/normalizeBlock.mobile.spec.ts +71 -0
  1191. package/src/components/ContentPage/normalizeBlock.mobile.ts +6 -0
  1192. package/src/components/ContentPage/normalizeBlock.spec.ts +50 -0
  1193. package/src/components/ContentPage/normalizeBlock.ts +7 -0
  1194. package/src/components/ContentPage/{toMobilePage.ts → normalizePage.mobile.ts} +13 -14
  1195. package/src/components/ContentPage/normalizePage.ts +35 -0
  1196. package/src/components/ExchangeRateTile/ExchangeRateTile.tsx +60 -36
  1197. package/src/components/ExchangeRateTile/ExchangeRateTileContent.ts +3 -4
  1198. package/src/components/Footer/Footer.fixture.tsx +0 -126
  1199. package/src/components/Footer/MediaButton.tsx +2 -1
  1200. package/src/components/Gallery/Gallery.fixture.mobile.tsx +103 -0
  1201. package/src/components/Gallery/Gallery.fixture.tsx +5 -4
  1202. package/src/components/Gallery/Gallery.mobile.tsx +58 -39
  1203. package/src/components/Gallery/GalleryCardInner.tsx +6 -11
  1204. package/src/components/Gallery/GalleryContainer.tsx +9 -10
  1205. package/src/components/Gallery/GalleryContent.ts +9 -3
  1206. package/src/components/Gallery/GalleryInner.tsx +1 -1
  1207. package/src/components/Gallery/constants.ts +2 -2
  1208. package/src/components/Header/HeaderSecondaryMenu.tsx +4 -4
  1209. package/src/components/Header/HeaderTop.tsx +1 -1
  1210. package/src/components/Headline/Headline.fixture.tsx +0 -54
  1211. package/src/components/Headline/Headline.mobile.tsx +3 -7
  1212. package/src/components/Headline/Headline.tsx +2 -4
  1213. package/src/components/Headline/HeadlineContent.ts +11 -6
  1214. package/src/components/LinkDocs/LinkDocs.example.json +4 -1
  1215. package/src/components/LinkDocs/LinkDocs.fixture.mobile.tsx +36 -0
  1216. package/src/components/LinkDocs/LinkDocs.fixture.tsx +17 -48
  1217. package/src/components/LinkDocs/LinkDocs.mobile.tsx +44 -0
  1218. package/src/components/LinkDocs/LinkDocs.tsx +35 -52
  1219. package/src/components/LinkDocs/LinkDocsContent.ts +29 -7
  1220. package/src/components/LinkDocs/LinkDocsHorizontalList.tsx +28 -0
  1221. package/src/components/LinkDocs/LinkDocsList.tsx +33 -0
  1222. package/src/components/LinkDocs/LinkDocsListItem.mobile.tsx +12 -0
  1223. package/src/components/LinkDocs/LinkDocsListItem.tsx +14 -0
  1224. package/src/components/LinkDocs/LinkDocsListItemBase.tsx +51 -0
  1225. package/src/components/LinkDocs/LinkDocsVerticalList.tsx +33 -0
  1226. package/src/components/LinkDocs/linkDocsContentExample.ts +26 -0
  1227. package/src/components/MiniGallery/MiniGallery.fixture.tsx +1 -1
  1228. package/src/components/MobileAppTile/MobileAppTile.tsx +47 -20
  1229. package/src/components/MobileAppTile/MobileAppTileContent.ts +11 -8
  1230. package/src/components/PictureText/PictureText.tsx +5 -4
  1231. package/src/components/PictureText/PictureTextContent.ts +5 -2
  1232. package/src/components/Placeholder/PlaceholderContent.ts +3 -3
  1233. package/src/components/ProductBlock/ProductBlock.fixture.mobile.tsx +0 -1
  1234. package/src/components/ProductBlock/ProductBlock.fixture.tsx +3 -1
  1235. package/src/components/ProductBlock/ProductBlockContent.ts +21 -18
  1236. package/src/components/ProductBlock/ProductBlockInner.mobile.tsx +26 -11
  1237. package/src/components/ProductBlock/ProductBlockInner.tsx +28 -12
  1238. package/src/components/ProductBlock/renderBenefit.mobile.tsx +3 -2
  1239. package/src/components/ProductBlock/renderBenefit.tsx +3 -2
  1240. package/src/components/ProductGallery/ProductGallery.fixture.mobile.tsx +0 -1
  1241. package/src/components/ProductGallery/ProductGallery.fixture.tsx +4 -1
  1242. package/src/components/ProductGallery/ProductGallery.mobile.tsx +3 -1
  1243. package/src/components/ProductGallery/ProductGallery.tsx +3 -2
  1244. package/src/components/ProductGallery/ProductGalleryBlock.mobile.tsx +6 -6
  1245. package/src/components/ProductGallery/ProductGalleryBlock.tsx +6 -6
  1246. package/src/components/ProductGallery/ProductGalleryContent.ts +2 -2
  1247. package/src/components/ProductTile/ProductTile.fixture.tsx +28 -0
  1248. package/src/components/ProductTile/ProductTile.tsx +63 -15
  1249. package/src/components/ProductTile/ProductTileContent.ts +17 -9
  1250. package/src/components/PromoTile/PromoTile.fixture.tsx +0 -1
  1251. package/src/components/PromoTile/PromoTile.tsx +41 -14
  1252. package/src/components/PromoTile/PromoTileContent.ts +11 -5
  1253. package/src/components/StepsBlock/StepsBlock.mobile.tsx +3 -7
  1254. package/src/components/StepsBlock/StepsBlock.tsx +2 -2
  1255. package/src/components/TariffsTable/TariffsTable.tsx +6 -2
  1256. package/src/components/TariffsTable/TariffsTableCell.tsx +4 -3
  1257. package/src/components/TariffsTable/TariffsTableContent.ts +5 -11
  1258. package/src/components/TariffsTable/TariffsTableRow.tsx +1 -0
  1259. package/src/components/TextBlock/TextBlock.fixture.mobile.tsx +28 -13
  1260. package/src/components/TextBlock/TextBlock.mobile.tsx +20 -16
  1261. package/src/components/TextBlock/TextBlock.tsx +1 -1
  1262. package/src/components/TextBlock/TextBlockContent.ts +4 -1
  1263. package/src/components/Tile/Tile.fixture.tsx +19 -2
  1264. package/src/components/Tile/Tile.tsx +46 -27
  1265. package/src/components/Tile/TileContent.ts +13 -2
  1266. package/src/content-page-repository/ContentPageRepository.ts +0 -12
  1267. package/src/icons/ActualBalanceIcon.svg +1 -3
  1268. package/src/icons/AppleIcon.svg +1 -1
  1269. package/src/icons/AtmIcon.svg +6 -6
  1270. package/src/icons/BankIcon.svg +10 -10
  1271. package/src/icons/BurgerIcon.svg +1 -1
  1272. package/src/icons/BurgerIconWhite.svg +1 -1
  1273. package/src/icons/Calendar2Icon.svg +1 -1
  1274. package/src/icons/CalendarCircleIcon.svg +1 -1
  1275. package/src/icons/CalendarIcon.svg +2 -2
  1276. package/src/icons/CalendarTickIcon.svg +1 -1
  1277. package/src/icons/CalendarWhiteIcon.svg +1 -1
  1278. package/src/icons/CardIcon.svg +1 -1
  1279. package/src/icons/CardPosIcon.svg +1 -1
  1280. package/src/icons/CardTickIcon.svg +1 -1
  1281. package/src/icons/CardWithGemIcon.svg +1 -1
  1282. package/src/icons/ChartSquareIcon.svg +1 -1
  1283. package/src/icons/ClockIcon.svg +1 -3
  1284. package/src/icons/CloseIcon.svg +1 -1
  1285. package/src/icons/ComfortableCompIcon.svg +1 -3
  1286. package/src/icons/CreditCardsIcon.svg +1 -1
  1287. package/src/icons/DiscountShapeIcon.svg +1 -1
  1288. package/src/icons/DocIcon.svg +3 -3
  1289. package/src/icons/DocIconMonoColor.svg +5 -0
  1290. package/src/icons/DocumentTextIcon.svg +3 -3
  1291. package/src/icons/DollarIcon.svg +1 -1
  1292. package/src/icons/EarthIcon.svg +1 -1
  1293. package/src/icons/EmptyWalletChangeIcon.svg +1 -1
  1294. package/src/icons/EmptyWalletIcon.svg +2 -2
  1295. package/src/icons/EmptyWalletWhiteIcon.svg +1 -1
  1296. package/src/icons/EuroIcon.svg +1 -1
  1297. package/src/icons/GeolocationIcon.svg +3 -3
  1298. package/src/icons/GlassIcon.svg +1 -1
  1299. package/src/icons/GlobalIcon.svg +1 -1
  1300. package/src/icons/GridIcon.svg +1 -1
  1301. package/src/icons/GridIconWhite.svg +1 -1
  1302. package/src/icons/IconName.ts +16 -0
  1303. package/src/icons/InterestGrowthIcon.svg +1 -1
  1304. package/src/icons/InterestIcon.svg +1 -1
  1305. package/src/icons/JCBIcon.svg +1 -1
  1306. package/src/icons/LoupeIcon.svg +1 -1
  1307. package/src/icons/MasterCardIcon.svg +1 -1
  1308. package/src/icons/MinusIcon.svg +1 -1
  1309. package/src/icons/MirIcon.svg +1 -1
  1310. package/src/icons/MoneyIcon.svg +1 -1
  1311. package/src/icons/MoneyInsuranceIcon.svg +1 -1
  1312. package/src/icons/MonitorMobileIcon.svg +1 -1
  1313. package/src/icons/NewDocIcon.svg +1 -3
  1314. package/src/icons/OfficeIcon.svg +1 -1
  1315. package/src/icons/OkIcon.svg +1 -1
  1316. package/src/icons/PassSendIcon.svg +1 -3
  1317. package/src/icons/PercentageRoundIcon.svg +1 -1
  1318. package/src/icons/PercentageSquareIcon.svg +2 -2
  1319. package/src/icons/PercentageSquareWhiteIcon.svg +1 -1
  1320. package/src/icons/PersonalCardIcon.svg +1 -1
  1321. package/src/icons/PlayMarketIcon.svg +1 -1
  1322. package/src/icons/PlusIcon.svg +1 -1
  1323. package/src/icons/Profile2UserIcon.svg +1 -1
  1324. package/src/icons/ProfileIcon.svg +1 -1
  1325. package/src/icons/RoundRubleIcon.svg +1 -1
  1326. package/src/icons/SafeIcon.svg +1 -1
  1327. package/src/icons/ShieldTickIcon.svg +1 -1
  1328. package/src/icons/SignDocsIcon.svg +1 -3
  1329. package/src/icons/SmallClockIcon.svg +1 -1
  1330. package/src/icons/TelegramIcon.svg +2 -1
  1331. package/src/icons/UnionPayIcon.svg +1 -1
  1332. package/src/icons/UserTickIcon.svg +1 -1
  1333. package/src/icons/VKIcon.svg +2 -1
  1334. package/src/icons/VisaIcon.svg +1 -1
  1335. package/src/icons/WalletAdd2Icon.svg +1 -1
  1336. package/src/icons/WalletAddIcon.svg +1 -1
  1337. package/src/icons/WalletIcon.svg +1 -1
  1338. package/src/icons/WalletWithMoneyIcon.svg +1 -1
  1339. package/src/index.ts +1 -1
  1340. package/src/model/ButtonVersion.ts +1 -1
  1341. package/src/services/sitemap/checkIsHrefSameOrigin.spec.ts +20 -0
  1342. package/src/services/sitemap/checkIsHrefSameOrigin.ts +6 -0
  1343. package/src/services/sitemap/isTopItemActive.spec.ts +59 -0
  1344. package/src/services/sitemap/isTopItemActive.ts +4 -1
  1345. package/src/types.ts +6 -5
  1346. package/src/ui-kit/BlockItem/BlockItem.tsx +12 -15
  1347. package/src/ui-kit/BlockItem/BlockItemProps.ts +2 -2
  1348. package/src/ui-kit/Button/Button.fixture.tsx +4 -5
  1349. package/src/ui-kit/Button/Button.mobile.tsx +11 -24
  1350. package/src/ui-kit/Button/Button.tsx +55 -51
  1351. package/src/ui-kit/Button/ButtonInner.tsx +37 -0
  1352. package/src/ui-kit/Button/ButtonProps.ts +11 -0
  1353. package/src/ui-kit/Button/ButtonSection.tsx +34 -0
  1354. package/src/ui-kit/Description/Description.tsx +8 -0
  1355. package/src/ui-kit/Description/DescriptionProps.ts +8 -0
  1356. package/src/ui-kit/Heading/Heading.fixture.mobile.tsx +29 -0
  1357. package/src/ui-kit/Heading/Heading.fixture.tsx +28 -0
  1358. package/src/ui-kit/Heading/Heading.mobile.tsx +29 -0
  1359. package/src/ui-kit/Heading/Heading.tsx +29 -0
  1360. package/src/ui-kit/Heading/HeadingContent.ts +17 -0
  1361. package/src/ui-kit/Icon/Icon.fixture.tsx +20 -12
  1362. package/src/ui-kit/Icon/Icon.tsx +16 -3
  1363. package/src/ui-kit/Icon/IconProps.ts +7 -148
  1364. package/src/ui-kit/{Img.mobile.tsx → Img/Img.mobile.tsx} +9 -10
  1365. package/src/ui-kit/{Img.tsx → Img/Img.tsx} +1 -1
  1366. package/src/ui-kit/Img/ImgProps.ts +9 -0
  1367. package/src/ui-kit/List/List.tsx +24 -0
  1368. package/src/ui-kit/List/ListContent.ts +4 -0
  1369. package/src/ui-kit/List/ListItem.tsx +43 -0
  1370. package/src/ui-kit/List/ListProps.ts +16 -0
  1371. package/src/ui-kit/Logo/Logo.mobile.tsx +1 -0
  1372. package/src/ui-kit/Logo/Logo.tsx +1 -0
  1373. package/src/ui-kit/SwipeListControl/SwipeListControl.fixture.mobile.tsx +16 -0
  1374. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +62 -0
  1375. package/src/ui-kit/SwipeListControl/SwipeListControlDots.tsx +51 -0
  1376. package/src/ui-kit/SwipeListControl/SwipeListControlItem.tsx +20 -0
  1377. package/src/ui-kit/SwipeListControl/SwipeListControlList.tsx +48 -0
  1378. package/src/ui-kit/SwipeListControl/SwipeListControlProps.ts +19 -0
  1379. package/src/ui-kit/SwipeListControl/constants.ts +10 -0
  1380. package/src/ui-kit/SwipeListControl/utils/getContainerStyle.ts +9 -0
  1381. package/src/ui-kit/SwipeListControl/utils/getIndexParts.spec.ts +19 -0
  1382. package/src/ui-kit/SwipeListControl/utils/getIndexParts.ts +20 -0
  1383. package/src/ui-kit/SwipeListControl/utils/getScrollPoints.spec.ts +24 -0
  1384. package/src/ui-kit/SwipeListControl/utils/getScrollPoints.ts +41 -0
  1385. package/dist/components/BaseTile/BaseTile.mobile.d.ts +0 -5
  1386. package/dist/components/BaseTile/BaseTile.mobile.js +0 -17
  1387. package/dist/components/BaseTile/BaseTile.mobile.js.map +0 -1
  1388. package/dist/components/BaseTile/BaseTileInner.d.ts +0 -5
  1389. package/dist/components/BaseTile/BaseTileInner.js +0 -14
  1390. package/dist/components/BaseTile/BaseTileInner.js.map +0 -1
  1391. package/dist/components/BaseTile/BaseTileInner.mobile.d.ts +0 -5
  1392. package/dist/components/BaseTile/BaseTileInner.mobile.js +0 -14
  1393. package/dist/components/BaseTile/BaseTileInner.mobile.js.map +0 -1
  1394. package/dist/components/BaseTile/getTitleSizeByClassName.d.ts +0 -1
  1395. package/dist/components/BaseTile/getTitleSizeByClassName.js.map +0 -1
  1396. package/dist/components/BaseTile/renderButton.d.ts +0 -2
  1397. package/dist/components/BaseTile/renderButton.js +0 -12
  1398. package/dist/components/BaseTile/renderButton.js.map +0 -1
  1399. package/dist/components/BaseTile/renderButton.mobile.d.ts +0 -2
  1400. package/dist/components/BaseTile/renderButton.mobile.js +0 -13
  1401. package/dist/components/BaseTile/renderButton.mobile.js.map +0 -1
  1402. package/dist/components/BaseTile/renderItems.d.ts +0 -2
  1403. package/dist/components/BaseTile/renderItems.js +0 -9
  1404. package/dist/components/BaseTile/renderItems.js.map +0 -1
  1405. package/dist/components/BaseTile/renderItems.mobile.d.ts +0 -2
  1406. package/dist/components/BaseTile/renderItems.mobile.js +0 -9
  1407. package/dist/components/BaseTile/renderItems.mobile.js.map +0 -1
  1408. package/dist/components/ContentPage/toMobilePage.d.ts +0 -2
  1409. package/dist/components/ContentPage/toMobilePage.js +0 -34
  1410. package/dist/components/ContentPage/toMobilePage.js.map +0 -1
  1411. package/dist/ui-kit/Img.js.map +0 -1
  1412. package/dist/ui-kit/Img.mobile.js.map +0 -1
  1413. package/dist/ui-kit/Title/Title.d.ts +0 -3
  1414. package/dist/ui-kit/Title/Title.js +0 -18
  1415. package/dist/ui-kit/Title/Title.js.map +0 -1
  1416. package/dist/ui-kit/Title/Title.mobile.d.ts +0 -3
  1417. package/dist/ui-kit/Title/Title.mobile.js +0 -18
  1418. package/dist/ui-kit/Title/Title.mobile.js.map +0 -1
  1419. package/dist/ui-kit/Title/TitleProps.d.ts +0 -4
  1420. package/dist/ui-kit/Title/TitleProps.js.map +0 -1
  1421. package/lib/components/BaseTile/BaseTile.mobile.d.ts +0 -5
  1422. package/lib/components/BaseTile/BaseTile.mobile.js +0 -15
  1423. package/lib/components/BaseTile/BaseTile.mobile.js.map +0 -1
  1424. package/lib/components/BaseTile/BaseTileInner.d.ts +0 -5
  1425. package/lib/components/BaseTile/BaseTileInner.js +0 -12
  1426. package/lib/components/BaseTile/BaseTileInner.js.map +0 -1
  1427. package/lib/components/BaseTile/BaseTileInner.mobile.d.ts +0 -5
  1428. package/lib/components/BaseTile/BaseTileInner.mobile.js +0 -12
  1429. package/lib/components/BaseTile/BaseTileInner.mobile.js.map +0 -1
  1430. package/lib/components/BaseTile/getTitleSizeByClassName.d.ts +0 -1
  1431. package/lib/components/BaseTile/getTitleSizeByClassName.js.map +0 -1
  1432. package/lib/components/BaseTile/renderButton.d.ts +0 -2
  1433. package/lib/components/BaseTile/renderButton.js +0 -9
  1434. package/lib/components/BaseTile/renderButton.js.map +0 -1
  1435. package/lib/components/BaseTile/renderButton.mobile.d.ts +0 -2
  1436. package/lib/components/BaseTile/renderButton.mobile.js +0 -10
  1437. package/lib/components/BaseTile/renderButton.mobile.js.map +0 -1
  1438. package/lib/components/BaseTile/renderItems.d.ts +0 -2
  1439. package/lib/components/BaseTile/renderItems.js +0 -6
  1440. package/lib/components/BaseTile/renderItems.js.map +0 -1
  1441. package/lib/components/BaseTile/renderItems.mobile.d.ts +0 -2
  1442. package/lib/components/BaseTile/renderItems.mobile.js +0 -6
  1443. package/lib/components/BaseTile/renderItems.mobile.js.map +0 -1
  1444. package/lib/components/ContentPage/toMobilePage.d.ts +0 -2
  1445. package/lib/components/ContentPage/toMobilePage.js.map +0 -1
  1446. package/lib/ui-kit/Img.js.map +0 -1
  1447. package/lib/ui-kit/Img.mobile.js.map +0 -1
  1448. package/lib/ui-kit/Title/Title.d.ts +0 -3
  1449. package/lib/ui-kit/Title/Title.js +0 -16
  1450. package/lib/ui-kit/Title/Title.js.map +0 -1
  1451. package/lib/ui-kit/Title/Title.mobile.d.ts +0 -3
  1452. package/lib/ui-kit/Title/Title.mobile.js +0 -16
  1453. package/lib/ui-kit/Title/Title.mobile.js.map +0 -1
  1454. package/lib/ui-kit/Title/TitleProps.d.ts +0 -4
  1455. package/lib/ui-kit/Title/TitleProps.js +0 -2
  1456. package/lib/ui-kit/Title/TitleProps.js.map +0 -1
  1457. package/mobile/dist/components/BaseTile/BaseTileInner.d.ts +0 -5
  1458. package/mobile/dist/components/BaseTile/BaseTileInner.js +0 -14
  1459. package/mobile/dist/components/BaseTile/BaseTileInner.js.map +0 -1
  1460. package/mobile/dist/components/BaseTile/getTitleSizeByClassName.d.ts +0 -1
  1461. package/mobile/dist/components/BaseTile/getTitleSizeByClassName.js.map +0 -1
  1462. package/mobile/dist/components/BaseTile/renderButton.d.ts +0 -2
  1463. package/mobile/dist/components/BaseTile/renderButton.js +0 -13
  1464. package/mobile/dist/components/BaseTile/renderButton.js.map +0 -1
  1465. package/mobile/dist/components/BaseTile/renderItems.d.ts +0 -2
  1466. package/mobile/dist/components/BaseTile/renderItems.js +0 -9
  1467. package/mobile/dist/components/BaseTile/renderItems.js.map +0 -1
  1468. package/mobile/dist/components/ContentPage/toMobilePage.d.ts +0 -2
  1469. package/mobile/dist/components/ContentPage/toMobilePage.js +0 -34
  1470. package/mobile/dist/components/ContentPage/toMobilePage.js.map +0 -1
  1471. package/mobile/dist/ui-kit/Img.js.map +0 -1
  1472. package/mobile/dist/ui-kit/Title/Title.d.ts +0 -3
  1473. package/mobile/dist/ui-kit/Title/Title.js +0 -18
  1474. package/mobile/dist/ui-kit/Title/Title.js.map +0 -1
  1475. package/mobile/dist/ui-kit/Title/TitleProps.d.ts +0 -4
  1476. package/mobile/dist/ui-kit/Title/TitleProps.js.map +0 -1
  1477. package/mobile/lib/components/BaseTile/BaseTileInner.d.ts +0 -5
  1478. package/mobile/lib/components/BaseTile/BaseTileInner.js +0 -12
  1479. package/mobile/lib/components/BaseTile/BaseTileInner.js.map +0 -1
  1480. package/mobile/lib/components/BaseTile/getTitleSizeByClassName.d.ts +0 -1
  1481. package/mobile/lib/components/BaseTile/getTitleSizeByClassName.js.map +0 -1
  1482. package/mobile/lib/components/BaseTile/renderButton.d.ts +0 -2
  1483. package/mobile/lib/components/BaseTile/renderButton.js +0 -10
  1484. package/mobile/lib/components/BaseTile/renderButton.js.map +0 -1
  1485. package/mobile/lib/components/BaseTile/renderItems.d.ts +0 -2
  1486. package/mobile/lib/components/BaseTile/renderItems.js +0 -6
  1487. package/mobile/lib/components/BaseTile/renderItems.js.map +0 -1
  1488. package/mobile/lib/components/ContentPage/toMobilePage.d.ts +0 -2
  1489. package/mobile/lib/components/ContentPage/toMobilePage.js.map +0 -1
  1490. package/mobile/lib/ui-kit/Img.js.map +0 -1
  1491. package/mobile/lib/ui-kit/Title/Title.d.ts +0 -3
  1492. package/mobile/lib/ui-kit/Title/Title.js +0 -16
  1493. package/mobile/lib/ui-kit/Title/Title.js.map +0 -1
  1494. package/mobile/lib/ui-kit/Title/TitleProps.d.ts +0 -4
  1495. package/mobile/lib/ui-kit/Title/TitleProps.js +0 -2
  1496. package/mobile/lib/ui-kit/Title/TitleProps.js.map +0 -1
  1497. package/mobile/src/components/BaseTile/BaseTileInner.tsx +0 -31
  1498. package/mobile/src/components/BaseTile/renderButton.tsx +0 -20
  1499. package/mobile/src/components/BaseTile/renderItems.tsx +0 -12
  1500. package/mobile/src/ui-kit/Title/Title.tsx +0 -22
  1501. package/mobile/src/ui-kit/Title/TitleProps.ts +0 -5
  1502. package/src/components/BaseTile/BaseTile.mobile.tsx +0 -53
  1503. package/src/components/BaseTile/BaseTileInner.mobile.tsx +0 -31
  1504. package/src/components/BaseTile/BaseTileInner.tsx +0 -37
  1505. package/src/components/BaseTile/renderButton.mobile.tsx +0 -20
  1506. package/src/components/BaseTile/renderButton.tsx +0 -13
  1507. package/src/components/BaseTile/renderItems.mobile.tsx +0 -12
  1508. package/src/components/BaseTile/renderItems.tsx +0 -12
  1509. package/src/components/ContentPage/ContentPage.page.mobile.json +0 -452
  1510. package/src/ui-kit/Title/Title.mobile.tsx +0 -22
  1511. package/src/ui-kit/Title/Title.tsx +0 -22
  1512. package/src/ui-kit/Title/TitleProps.ts +0 -5
@@ -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).UniBlocks={})}(this,(function(e){"use strict";const t=(e,r)=>{t._jsx=e,t._jsxs=r||e};t.vue=e=>{t(((t,{children:r,dangerouslySetInnerHTML:n,...a}={})=>{const i=Object.assign({},a,n?{innerHTML:n.__html}:{});return e(t,i,"string"!=typeof t?()=>r:r)}))};const r=(...e)=>t._jsx(...e),n=(...e)=>t._jsxs(...e),a=e=>(e._tmpl||(e._tmpl=function(t,r){const{children:n,...a}=t||{},i=r?.slots?.default,l=n||i&&i();return e(Object.assign(a,l&&{children:l}),r)},e._tmpl.inheritAttrs=!1),e._tmpl);const i="likesToken";const l={XL:"text-title-lg",L:"text-title",M:"text-title-sm",S:"text-title-xs","2XS":"text-title-2xs","3XS":"text-title-2xs"},s=a((({size:e="L",className:t,children:n,...a})=>r("XL"===e?"h1":"h2",{className:o(l[e],t),...a,children:n}))),o=(...e)=>e.filter(Boolean).join(" "),c=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}},d=a((({className:e="",name:t,alt:a=`Icon ${t}`,title:i=a,asSVG:l,...s})=>{const o=`${c.CDN||""}icons/${t}.svg`;return l?n("svg",{className:e,...s,"aria-hidden":"true",children:[i?r("title",{children:i}):null,a?r("desc",{children:a}):null,r("use",{href:`${o}#icon`,xlinkHref:`${o}#icon`})]}):r("img",{className:e,src:o,alt:a,title:i,...s,"aria-hidden":"true"})})),m={left:"text-left",center:"text-center",right:"text-right"},h=a((({bgColor:e="transparent",align:t="left",className:a="",title:i,description:l})=>{const o=m[t];return n("section",{className:`p-[50px] ${e} ${a}`,children:[i&&r(s,{size:"L",className:`text-primary-text mt-0 font-medium ${o}`,children:i}),l&&r("p",{className:`font-normal text-base mt-4 ${o}`,children:l})]})})),x={left:"text-left",center:"text-center",right:"text-right"},p={double:"mb-8",single:"mb-[26px]"},u={double:"gap-x-5 gap-y-[26px] flex-wrap",single:"gap-3.5 flex-col"},b=a((({className:e="",title:t,align:a,documents:i,icon:l,columnsMode:o="single"})=>{const c=u[o];return n("section",{className:`font-sans p-[50px] bg-white ${e}`,children:[t&&r(s,{className:`font-medium mt-0 ${p[o]} ${x[a??"center"]}`,children:t}),r("div",{className:`flex ${c}`,role:"list",children:i?.length?i.map((({text:e,fileSize:t,...a},i)=>n("a",{className:"group flex text-sm align-middle h-fit\n text-primary-text no-underline hover:text-primary-main\n "+("double"===o?"basis-[calc(50%-20px)]":""),role:"listitem",...a,children:[l&&r(d,{className:"mr-2.5 h-fit",name:l,width:"24px",height:"24px"}),n("span",{className:"self-center",children:[e,r("span",{className:"text-secondary-text group-hover:text-primary-main",children:a?.href&&g(f(a.href),t)})]})]},String(i)))):null})]})})),f=e=>{if(!e)return"";const t=e.split(".").pop();return!t||t.includes("/")?"":t},g=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),v=a((({className:e="",image:{size:t,...a}})=>{const i={width:t?.width?`${t?.width}px`:"100%",height:t?.height?`${t?.height}px`:"100%"};return n("picture",{className:`flex-none ${e}`,children:[a.sources?.length?a.sources.map((({src:e,format:t},n)=>r("source",{srcSet:e,type:N(t)},`${n}_${e}`))):null,r("img",{className:a.className||"",src:a.src,alt:a.alt||a.title,title:a.title,style:i,...t})]})}));function N(e){return e?`image/${String(e)}`:void 0}const y=a((({className:e,title:t,image:a,benefits:i})=>n("section",{className:`relative font-sans text-primary-text bg-white p-14 ${e}`,children:[r(s,{className:"font-medium m-0 text-center",children:t}),n("div",{className:"flex justify-center mt-9",children:[a?.src&&r(v,{className:"mr-6",image:a}),i?.length?r("div",{className:"flex flex-col",children:i.map(w)}):null]})]})));function w(e,t){return n("div",{className:"flex flex-row mb-8",children:[e.icon&&r(d,{className:"w-[48px] h-[48px] bg-main rounded-full box-border p-[12px]",name:e.icon,width:"48",height:"48"}),n("div",{className:"flex gap-1 flex-col h-full ml-5 max-w-[490px]",children:[e.label&&r("div",{className:"font-medium text-primary-text text-xl m-0",children:e.label}),e.description&&r("div",{className:"font-normal text-sm text-secondary-text",children:e.description})]})]},String(t))}const k={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"}},$=a((({title:e,description:t,blockVersion:a="primary",iconVersion:i,image:l,className:s})=>{const o=k[a];return n("section",{className:`font-sans px-9 py-4 flex ${o.background} ${s||""}`,children:["small"===i?C(o.icon):null,"big"===i?S(l):null,n("div",{className:"py-0.5",children:[e&&r("div",{className:`font-medium text-base mb-1 ${o.title}`,children:e}),t&&r("div",{className:`text-sm ${o.description}`,children:t})]})]})}));function C(e){return r("div",{className:"pt-1.5 pl-1 pr-4",children:r("div",{className:`rounded-full h-4 w-4 text-center text-xs ${e}`,children:"i"})})}function S(e){return e?.src?r(v,{className:"pt-0.5 pr-3",image:e}):null}const L={Headline:h,LinkDocs:b,TextBlock:$,PictureText:y},D=a((({blocks:e,context:t})=>r("div",{className:"transition-all duration-300 max-h-0 overflow-hidden group-last:last:pb-0",children:e?.length?e.map(j(t)):null}))),j=e=>(t,n)=>{const a=t?.accordionBlockType;if(!a||!(a in L))return null;return r("div",{className:"mb-5 last:mb-0 pb-5",children:r(L[a],{context:e,...t,className:"!p-0"})},`block_${n}`)},_=a((({label:e,blocks:t,context:a})=>{const{hasContent:i,icon:l,handleToggle:s}=(({context:e,blocks:t})=>{const[r,n]=e.useState(!1),a=t?.length;return{isActive:r,hasContent:a,icon:r?"MinusIcon":"PlusIcon",handleToggle:e=>{if(!a)return;n(!r);const t=(({target:e})=>"BUTTON"===e.tagName?e.nextSibling:e.parentNode.nextSibling)(e);t.style.maxHeight=t.style.maxHeight?null:`${t.scrollHeight}px`}}})({context:a,blocks:t});return n("li",{className:"border-0 border-b border-solid border-main-divider last:border-b-0",children:[n("button",{className:"border-none bg-transparent px-0 py-5 flex justify-between text-left w-full font-sans text-primary-text\n "+(i?"group cursor-pointer":""),onClick:s,children:[r("span",{className:"text-xl pr-2.5 font-medium "+(i?"group-hover:text-primary-main":""),children:e}),i?r(d,{name:l,width:"24",height:"24"}):null]}),i?r(D,{blocks:t,context:a}):null]})})),R=a((({title:e,accordionItems:t,context:a,className:i})=>n("section",{className:`p-[50px] font-sans bg-white text-primary-text ${i||""}`,children:[e?r(s,{className:"m-0 mb-2.5",children:e}):null,t?.length?r("ul",{className:"list-none m-0 p-0",children:t.map(((e,t)=>r(_,{...e,context:a},`AccordionItem${t}`)))}):null]}))),I=a((({className:e,title:t,benefits:a})=>n("section",{className:`font-sans text-primary-text bg-white p-12 pb-2 flex flex-col items-center ${e||""}`,children:[t?r(s,{className:"font-medium m-0 max-w-[47rem] text-center",children:t}):null,a?.length?r("div",{className:"grid grid-cols-2 gap-5 mt-9",children:a.map(T)}):null]}))),T=(e,t)=>n("div",{className:"flex items-center p-10 gap-5 max-w-[580px]",children:[e.icon&&r(d,{className:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",name:e.icon,width:"70",height:"70"}),n("div",{children:[r("h3",{className:"font-medium text-xl m-0",children:e.label}),e.description&&r("div",{className:"font-normal text-sm mt-2",children:e.description})]})]},String(t)),A=({colData:e,colsLengthForScroll:t,activeCardIndex:r,setActiveCardIndex:n})=>{const a=e?.length&&e.length>t;return{nextClick:()=>n(r+1),prevClick:()=>n(r-1),isScrollAvailable:a,showNextButton:a&&e?.length-r>t,showPrevButton:a&&r>0}},M=e=>e?.includes("//"),B=e=>(e||"").replace(/\/?\?.*/,""),P=e=>{if(!e||!M(e))return;const t=e,r=t.indexOf("//"),n=t.indexOf("/",r+"//".length);return-1!==n?t.substring(0,n):t};var O=Object.freeze({__proto__:null,isURL:M,withoutQuery:B,getOrigin:P});const F="/mobile",V=(e,t)=>{if(!e)return e;const r=P(t?.href);return r?e.replace(r,"")||"/":e},Z=e=>e;function H({router:e,handlerDecorator:t=Z},r){const n=((e,t)=>{if(!e)return e;const r=V(e,t)||"",n=t?.pathname.startsWith(F);return n&&!M(r)?`/mobile${r}`:r})(r.href,e);return{...r,href:n,ariaLabel:r.text,onClick:t((t=>{const a=n&&!M(n),i=!r.target||"_self"===r.target;a&&i&&(t.preventDefault(),e.push(n))}),r)}}const z={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"},E={primary:"bg-secondary-dark text-secondary-text",secondary:"bg-secondary-light text-secondary-text"},W="text-center font-sans select-none",G=a((({className:e,text:t,aboveText:n,appendLeft:a,href:i,target:l,onClick:s,children:o,disabled:c,rounded:d,version:m="none",ariaLabel:h,...x})=>{const p=o??r(U,{text:t,aboveText:n,appendLeft:a,rounded:d});return c?r("div",{role:"button","aria-disabled":"true","aria-label":h,tabIndex:"-1",className:`inline-block ${W} ${E[m]||""} ${d?"rounded-full":"rounded-md"} ${e||""}`,children:p}):r("a",{className:`${W} inline-block cursor-pointer no-underline ${z[m]||""} ${d?"rounded-full":"rounded-md"} ${e||""}`,href:i,target:l,onClick:s,"aria-label":h,role:i?"link":"button",...x,children:p})})),U=a((({text:e,aboveText:t,appendLeft:a,rounded:i})=>{const l=!e&&!t&&Boolean(a);return n("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:n("div",{children:[r("div",{className:"text-2xs text-left",children:t}),r("div",{className:"text-button font-medium text-left",children:e})]})]})})),X=a((({className:e,viewBox:t,fill:n="none",width:a,height:i,paths:l,...s})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",className:e,viewBox:t,fill:n,width:a,height:i,children:l.map((({d:e,fill:t,...n},a)=>r("path",{d:e,fill:t||"currentColor",...s,...n},a)))}))),J=[{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"}],Q=a((({className:e,disabled:t,...n})=>r(G,{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,...n,children:r(X,{paths:J,viewBox:"0 0 16 16",fill:"none",width:"16",height:"16"})}))),q="bg-gradient-to-r from-main-gradient-start to-main-gradient-end",K="border-main-stroke border-solid border",Y="border-main-divider border border-t-0 border-x-0",ee="w-[200px] mr-6",te=a((({icon:e,image:t,title:a,link:i})=>n("div",{className:`w-80 box-border flex flex-col items-center rounded-t-md border-b-0 px-7 pt-7 pb-[46px] ${K} ${q}`,role:"columnheader",scope:"col",children:[e&&!t?.src&&r(d,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",name:e,width:"63",height:"63"}),t?.src&&r(v,{className:"mb-[18px]",image:t}),a&&r(s,{size:"S",className:"font-medium m-0 text-center text-white",children:a}),i?.text&&r("div",{className:"mt-auto w-full",children:r(G,{href:i.href,target:i.target,className:"mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active",children:r("div",{className:"font-medium text-xs py-[11px]",children:i.text})})})]}))),re={comparison:"flex gap-4 duration-1000",tariff:"flex flex-grow duration-1000"},ne=a((({children:e,activeCardIndex:t,columnWidth:n,version:a="comparison"})=>r("div",{className:"flex flex-1 overflow-hidden",children:r("div",{className:re[a],style:{transform:`translateX(-${t*n}px)`},children:e})}))),ae=a((({cell:e,isFirstRow:t,isLastRow:n,isFillGradient:a})=>r("div",{className:`w-80 box-border flex flex-col ${K} ${n?"border-t-0 rounded-b-md":"border-y-0"} ${a?q:""}`,role:"cell",children:r("div",{className:`mx-7 h-full ${Y} ${a&&t?"border-t":""} ${n?"":"border-solid"}`,children:e.map(((e,t)=>ie(e,t,a)))})}))),ie=({label:e,description:t},a,i)=>n("div",{className:"first:pt-7 pt-6 last:pb-7",children:[e&&r("h5",{className:"text-xl font-medium m-0 "+(i?"text-white":""),children:e}),t&&r("div",{className:"text-sm opacity-80 "+(i?"text-white":"text-secondary-text"),children:t})]},String(a)),le=a((({children:e})=>r("div",{className:"self-start flex flex-col",role:"row",children:r("div",{className:"flex",children:e})}))),se=a((({row:{header:e,data:t},activeCardIndex:a,isColoredFirstColumn:i,isFirstRow:l,isLastRow:s})=>n(le,{children:[e?.title?r("div",{className:`text-sm py-7 ${Y} w-[200px] mr-6 ${s?"":"border-solid"}`,children:e.title}):null,t?.length?r(ne,{activeCardIndex:a,columnWidth:336,children:t.map(((e,t)=>r(ae,{cell:e,isFirstRow:l,isLastRow:s,isFillGradient:i&&0===t},String(t))))}):null]}))),oe=a((({className:e,context:t,title:a,rowHeaders:i,columns:l,visibleRowLength:o=0,isColoredFirstColumn:c=!1})=>{const d=t.useRouter(),{handlerDecorator:m}=t,[h,x]=t.useState(0),[p,u]=t.useState(!o),b=l?.map((({header:e})=>e||{})),f=l?.map((({data:e})=>e))||[],g=i?.map(((e,t)=>({header:e,data:f.map((e=>e?.[t]||[{}]))}))).slice(0,p?i.length:o),{nextClick:v,prevClick:N,isScrollAvailable:y,showNextButton:w,showPrevButton:k}=A({colData:f,colsLengthForScroll:2,activeCardIndex:h,setActiveCardIndex:x});return n("section",{className:`bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${e||""}`,children:[r(s,{className:"font-medium m-0 max-w-[47rem] text-center mb-9 mx-auto",children:a}),n("div",{role:"table",children:[b?.length?n(le,{children:[r("div",{className:ee,role:"columnheader",scope:"col"}),r(ne,{activeCardIndex:h,columnWidth:336,children:b.map(((e,t)=>r(te,{...e,link:e.link&&H({router:d,handlerDecorator:m},e.link)},String(t))))})]}):null,g?.length?n("div",{className:"relative",children:[g.map(((e,t,{length:n})=>r(se,{row:e,isFirstRow:0===t,isLastRow:t+1===n,activeCardIndex:h,isColoredFirstColumn:c},String(t)))),y?r("div",{children:n("div",{className:"absolute top-7 right-7 z-10",children:[r(Q,{onClick:v,disabled:!w,ariaLabel:"Пролистать вправо"}),r(Q,{className:"mt-4 rotate-180",onClick:N,disabled:!k,ariaLabel:"Пролистать влево"})]})}):null]}):null]}),y?r("div",{className:"absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white"}):null,o?r("div",{className:"pr-[50px]",children:n("div",{className:"flex w-full",children:[r("div",{className:ee}),r("button",{onClick:()=>u(!p),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:r("div",{className:"font-sans font-medium text-xs py-[11px]",children:p?"Скрыть":"Показать все параметры"})})]})}):null]})}));function ce(e,t){const{data:r}=e(de(t),(()=>async function(e){const t=await fetch(de(e));return await t.json()}(t)));return r||{}}function de(e){return`/wcms-resources/${e||"credit-calculator-data"}.json`}const me=[{d:"M10.207.793a1 1 0 0 1 0 1.414l-6 6a1 1 0 0 1-1.414 0l-2.5-2.5a1 1 0 0 1 1.414-1.414L3.5 6.086 8.793.793a1 1 0 0 1 1.414 0Z",fillRule:"evenodd",clipRule:"evenodd",fill:"white"}],he=a((({text:e,checked:t,onChange:a,className:i})=>r("div",{className:i,children:n("label",{className:"flex items-center cursor-pointer relative",children:[r("input",{className:`peer appearance-none w-5 h-5 border-solid border ${t?"border-black":"border-main-stroke"} rounded checked:bg-primary-main checked:border-primary-main m-0`,type:"checkbox",onChange:e=>{a(e.target.checked)},checked:t}),r(X,{paths:me,className:"hidden absolute left-1 ml-px peer-checked:block",width:"11",height:"9",fill:"white",viewBox:"0 0 11 9"}),e?r("span",{className:"font-sans ml-3 text-sm leading-5 cursor-pointer",children:e}):null]})}))),xe=e=>new Intl.NumberFormat("ru-RU",{maximumSignificantDigits:3}).format(e),pe=a((({className:e,title:t,items:a=[],min:i=1,max:l=100,step:s=1,value:o=i,onChange:c})=>{const d=e=>{if(!c)return;const t=Number(e.replace(/\D/g,""));c(t)},m={backgroundSize:`${(100*(o-i)/(l-i)).toFixed(2)}% 100%`};return n("div",{className:e,children:[n("label",{className:"block relative",children:[t?r("span",{className:"absolute text-xs text-secondary-text top-1 mt-0.5 pl-4 ml-0.5",children:t}):null,r("input",{className:"m-0 font-sans text-sm w-full h-12 border border-solid border-main-stroke rounded-md\n outline-none p-0 pl-4 m-0 box-border text-primary-text "+(t?"pt-4":""),value:xe(o),onChange:e=>d(e.target.value),onBlur:()=>{c&&(o<i&&c(i),o>l&&c(l))}}),r("div",{className:"absolute inset-x-0 top-8 px-4",children:r("input",{className:"box-border w-full m-0 cursor-pointer slider",type:"range",min:i,max:l,step:s,value:o,onChange:e=>d(e.target.value),style:m})})]}),r("div",{className:"flex justify-between my-3",children:a.map(((e,t)=>r("span",{className:"text-xs leading-[14px] text-secondary-text pl-4",children:e},String(t))))})]})})),ue=(e,t,r)=>Math.max(t,Math.min(e,r)),be=3e4,fe=3e6,ge=Math.round(41.5),ve=a((({context:e,className:t,directoryName:a})=>{const[i,l]=e.useState(void 0),[s,o]=e.useState(void 0),[c,d]=e.useState(!0),[m,h]=e.useState(!0),x=(e=>{const{tableRows:t,isAnnuity:r=!1}=e;return t&&t.find((e=>e.isAnnuity===r))||{}})({tableRows:ce(e.useAsyncData,a).rows,isAnnuity:c}),p=x.maxSum&&x.minSum?(x.maxSum-x.minSum)/2:1485e3,u=x.maxMonths&&x.minMonths?Math.round((x.maxMonths-x.minMonths)/2):ge,b=x?.minSum||be,f=x?.maxSum||fe,g=x?.minMonths||1,v=x?.maxMonths||84,N=(e=>{const{calculatorParams:t,isInsurance:r}=e;return t?r?t?.rateWithInsurance||5:t?.rateWithoutInsurance||5:5})({calculatorParams:x,isInsurance:m}),y=(e=>{const{calculatorParams:t,paymentType:r,rate:n,sum:a,months:i}=e;if(!t)return 0;const l=ue(a,t.minSum||be,t.maxSum||fe);if("annuity"===r){const e=Number(n)/1200;return l*(e+e/(Math.pow(1+e,i)-1))}return l/i+l*(Number(n)/12)})({calculatorParams:x,paymentType:"annuity",rate:N,sum:i||p,months:s||u}),w=((e,t)=>{const r=Math.ceil((t-e)/12),n=Math.floor(e/12)+1,a=new Array(Math.min(r-1,5)).fill(0).map(((e,t)=>n+t)),i=r+n-1;return a.concat(i)})(g,v);function k(e){o(ue(12*e,g,v))}return r("section",{className:`font-sans text-primary-text p-10 bg-white ${t||""}`,children:n("div",{className:"box-border p-[49px] pr-[56px] mx-auto w-max border-solid border-[3px] border-primary-main rounded-md",children:[n("div",{className:"flex justify-between ",children:[n("div",{className:"mr-[42px]",children:[r(pe,{title:"Желаемая сумма кредита, ₽",items:[`От ${xe(b)} рублей`,`До ${xe(f)} рублей`],min:b,max:f,step:1e3,value:i||p,onChange:l}),r(pe,{className:"mt-[23px]",title:"Срок кредита, месяцев",items:["Или выберите из предложенных вариантов ниже"],min:g,max:v,step:1,value:s||u,onChange:o}),r("div",{className:"flex mb-7",children:w.map(((e,t)=>function(e,t,a){return r("button",{className:"bg-secondary-light rounded-3xl h-10 w-[75px] box-border mr-2 flex items-center justify-center cursor-pointer border-none",onClick:()=>a(e),children:n("span",{className:"font-semibold text-sm",children:[e," ",1===e?"год":e>4?"лет":"года"]})},String(t))}(e,t,k)))}),r(he,{text:"Получаю пенсию на карту Россельхозбанка",checked:c,onChange:d}),r(he,{className:"mt-3 mb-7",text:"Комплексная страховая защита",checked:m,onChange:h})]}),n("div",{className:"box-border h-fit p-9 bg-primary-main rounded-md text-white",children:[r("div",{className:"text-base mb-[18px]",children:"Наше предложение"}),r("div",{className:"text-sm opacity-60",children:"Ежемесячный платёж"}),n("div",{className:"text-lg mb-3",children:[xe(Math.round(y))," ₽"]}),r("div",{className:"text-sm opacity-60",children:"Ставка"}),n("div",{className:"text-lg",children:[N," %"]})]})]}),n("div",{className:"flex items-center",children:[r(G,{className:"mr-3",text:"Отправить заявку",version:"primary",href:"#"}),r("div",{className:"w-80 text-2xs leading-4 text-secondary-text","aria-label":"Соглашение на обработку персональных данных",children:"Отправляя заявку, вы соглашаетесь на обработку персональных данных соответственно требованиям ФЗ «О персональных данных»"})]})]})})}));const Ne=e=>{const t="col-span-",r=e.split(/\s+/).find((e=>e.startsWith(t)));return r?parseInt(r.substring(t.length),10):12};const ye={primary:"text-primary-text",secondary:"text-secondary-text"},we={primary:"bg-primary-main",secondary:"bg-secondary-text"},ke=a((({className:e="",isDotted:t=!0,text:a,children:i,version:l="primary",white:s})=>n("div",{className:`font-sans flex items-baseline ${e}`,role:"listitem",children:[t&&r("div",{className:$e(l,s)}),r("span",{className:s?"text-white":ye[l],children:a||i})]}))),$e=(e,t)=>`rounded-full inline-block mr-3 ${t?"bg-white":we[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 Ce(e=[],t){return r("section",{className:"max-w-[600px] mt-5",role:"list",children:e.map(((e,n)=>r(ke,{className:"mt-2.5 first:mt-0",text:e,version:t},String(n))))})}const Se=a((({context:e,description:t,children:a,buttons:i,image:l,items:s,version:o="primary"})=>{const c=e.useRouter(),{handlerDecorator:m}=e;return n("div",{className:"flex grow w-full justify-between}",children:[n("div",{className:"flex flex-col justify-between items-start}",children:[n("div",{children:[t&&r("div",{className:"font-normal text-base mt-4 max-w-[600px]",children:t}),a,s?.length&&Ce(s,o)]}),i?.length&&r("div",{className:"flex mt-9 gap-3",children:i.map(((e,t)=>function({icon:e,...t},n){if(t?.text)return r(G,e?{appendLeft:r(d,{name:e,width:"24",height:"24"}),...t}:{...t},String(n))}(H({router:c,handlerDecorator:m},e),t)))})]}),l?.src&&r(v,{className:"mt-auto ml-7",image:l})]})}));function Le(e=""){const t=Ne(e);return t<=4?"S":t<=8?"M":"L"}const De=a((({className:e,context:t,title:a,titleSize:i,description:l,children:o,buttons:c,image:d,items:m,version:h="primary"})=>n("div",{className:"font-sans flex flex-col grow h-full items-start",children:[a&&r(s,{size:i||Le(e),className:"font-medium m-0 whitespace-pre-wrap max-w-[600px] "+("primary"===h?"text-primary-text":""),children:a}),r(Se,{context:t,buttons:c,image:d,children:o,description:l,items:m})]}))),je={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},_e=a((e=>{const{children:t,className:n="",version:a="primary",role:i}=e;return r("section",{className:`font-sans p-9 box-border ${n||""} ${je[a]} ${Re(n)} ${Ie(n)} `,role:i,children:r(De,{...e,children:t})})}));function Re(e=""){const t=Ne(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}function Ie(e=""){const t=Ne(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}const Te="https://www.cbr-xml-daily.ru/daily_json.js",Ae=["USD","EUR"],Me={USD:"DollarIcon",EUR:"EuroIcon"},Be=[{text:"Все показатели",href:"https://cbr.ru/currency_base/daily/",version:"secondary"}],Pe=a((({className:e,context:t,title:a})=>{const{data:i}=t.useAsyncData(Te,Ve);return r(_e,{className:e,context:t,title:a||"Курсы обмена валют",buttons:Be,children:n("table",{children:[r("thead",{children:n("tr",{children:[r(Oe,{children:"Валюта"}),r(Oe,{className:"pl-11",children:"Курс"})]})}),r("tbody",{children:Ae.map((e=>{const t=(i?.Valute||{})[e]?.Value;return n("tr",{children:[r(Fe,{className:"pt-4",children:n("div",{className:"flex items-center",children:[r(d,{name:Me[e],width:"24",height:"24"}),r("span",{className:"ml-2",children:e})]})}),r(Fe,{className:"pt-4 pl-11",children:He(t)})]},e)}))})]})})})),Oe=a((({className:e="",children:t})=>r("th",{className:`text-left font-normal text-sm text-secondary-text ${e}`,children:t}))),Fe=a((({className:e="",children:t})=>r("td",{className:`text-left font-normal text-base text-primary-text ${e}`,children:t})));async function Ve(){const e=await fetch(Te);return await e.json()}const Ze=new Intl.NumberFormat("ru",{style:"currency",currency:"RUB"}),He=e=>e?Ze.format(e):"",ze=["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"],Ee={"bg-white":"text-primary-main",transparent:"text-white"},We={"bg-white":"text-black",transparent:"text-white"},Ge=a((({className:e,href:t,children:a,targetBlank:i,bgColor:l="bg-white",hideTitle:s})=>n("a",{className:`inline-flex items-center font-sans no-underline ${e||""}`,href:t||"https://rshb.ru/",target:i?"_blank":"_self",children:[r(X,{className:`${Ee[l]} w-10`,viewBox:"0 0 40 45",paths:ze.map((e=>({d:e})))}),!s&&r("span",{className:`${We[l]} text-base font-medium ml-2.5`,children:a||"Россельхозбанк"})]}))),Ue=a((({className:e,context:t})=>{const{term:a,setTerm:i}=t.useSearch();return n("form",{className:`relative ${e||""}`,children:[n("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[r("div",{className:"w-[24px] h-[24px]",children:r(d,{name:"LoupeIcon",width:"24",height:"24"})}),!a&&r("label",{htmlFor:"search-bar-input",className:"font-sans font-normal text-base text-secondary-text",children:"Поиск по сайту"})]}),r("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"}),r(G,{version:"primary",text:"Найти",className:"invisible peer-focus:visible absolute top-1 right-1",onClick:e=>{e.preventDefault(),console.log("click")},children:r("div",{className:"font-normal text-sm px-9 py-[9px]",children:"Найти"})})]})})),Xe=a((({className:e,items:t,hasButton:a,context:i})=>{const l=i.useRouter(),{handlerDecorator:s}=i;return n("div",{className:`flex flex-col ${e||""}`,children:[t?.length?t.map(Je):null,a?r(G,{version:"primary",className:"my-4",...H({router:l,handlerDecorator:s},{text:"Обратная связь",href:"/",target:"_blank"})}):null]})})),Je=(e,t)=>{const{type:a,text:i,description:l}=e;return n("div",{className:"mb-4",children:[r("div",{children:Qe(a,i)}),r("div",{className:"font-sans text-sm text-secondary-text",children:l})]},String(t))},Qe=(e,t="")=>{switch(e){case"tel":return r("a",{className:"font-sans font-medium text-xl text-primary-text no-underline",href:`tel:${qe(t)}`,children:t});case"email":return r("a",{className:"font-sans font-medium text-xl text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return r("span",{children:t})}},qe=e=>e.replaceAll(/\D/g,""),Ke=a((({links:e,className:t="",context:n})=>{const a=n.useRouter(),{handlerDecorator:i}=n;return r("div",{className:t,children:e?.length?r("div",{className:"flex justify-between items-center gap-5 py-5 border-solid border-x-0 border-y border-y-main-divider",children:e.map(((e,t)=>r(Ye,{index:t,...H({router:a,handlerDecorator:i},e)},String(t))))}):null})})),Ye=a((({className:e="",index:t,text:n,href:a,target:i,onClick:l})=>r("a",{className:`font-sans font-normal text-sm text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${e}`,href:a,target:i,onClick:l,children:n||`Документ ${t}`}))),et=e=>t=>e?.href===t?.href,tt=(e,t)=>{return(n=e,a=t,(n||[]).map((e=>a?.find(et(e))||e))).concat((r=e,(t||[]).filter((e=>!r?.find(et(e))))));var r,n,a};function rt(e){const{data:t}=e(at(),nt);return t||{}}async function nt(){const e=await fetch(at());return await e.json()}function at(){return`/wcms-resources/${c.SITEMAP||"sitemap"}.json`}const it=a((({className:e,items:t,context:n})=>{const a=rt(n.useAsyncData),i=tt(a.topItems,t),l={router:n.useRouter(),handlerDecorator:n.handlerDecorator};return r("div",{className:`flex items-start justify-start gap-11 xl:gap-5 ${e||""}`,children:i?.map(((e,t)=>lt(e,t,l)))})})),lt=(e,t,{router:a,handlerDecorator:i})=>{const{text:l,href:s,items:o,target:c}=e;return n("div",{className:"flex flex-col gap-[14px]",children:[r("a",{className:"block font-sans font-medium text-base text-primary-text no-underline",href:s,target:c||"_self",children:l||`Раздел ${t}`}),o?.map(((e,t)=>r(st,{...H({router:a,handlerDecorator:i},e),index:t},String(t))))]},String(t))},st=a((({text:e,href:t,target:n,index:a})=>r("a",{className:"block font-sans font-normal text-base text-secondary-text hover:text-primary-main no-underline",href:t,target:n||"_self",children:e||`Раздел ${a}`}))),ot=[{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"}],ct=a((({href:e})=>{const{icon:t,width:n,height:a}=ot.find((({origins:t})=>t.some((t=>e?.includes(t)))))||{};return t?r("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,target:"_blank",rel:"noopener noreferrer",children:d&&r(d,{name:t,width:n,height:a,asSVG:!0,className:"block"})}):null})),dt=a((({className:e,media:t,context:n})=>{const a=n.useRouter(),{handlerDecorator:i}=n;return r("div",{className:`flex items-end justify-end gap-2 pt-[30px] pb-7 ${e||""}`,children:t?.map(((e,t)=>r(ct,{...H({router:a,handlerDecorator:i},e)},String(t))))})})),mt=a((({className:e,links:t,context:a})=>{const i=a.useRouter(),{handlerDecorator:l}=a;return n("div",{className:`${e||""}`,children:[r("div",{className:"pt-5 pb-[5px]",children:r("span",{className:"font-sans font-normal text-xs text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?r("div",{className:"flex justify-start items-start gap-5 pt-[5px]",children:t.map(((e,t)=>r(ht,{index:t,...H({router:i,handlerDecorator:l},e)},String(t))))}):null]})})),ht=a((({className:e,index:t,text:n,href:a,target:i,onClick:l})=>r("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:n||`Документ ${t}`}))),xt=a((({className:e,documents:t,relatedEnterprises:a,contacts:i,socialMedia:l,topItems:s,context:o})=>n("footer",{className:`px-9 py-10 bg-white ${e||""}`,children:[n("div",{className:"flex items-stretch gap-[54px] pb-8 xl:gap-8",children:[r(Ge,{className:"w-[280px] xl:w-[220px]"}),r(Ue,{context:o,className:"grow"})]}),n("div",{className:"flex items-stretch gap-[54px] xl:gap-8",children:[r(Xe,{className:"w-[280px] shrink-0 overflow-hidden xl:w-[220px]",items:i,context:o,hasButton:!0}),r(it,{className:"pt-[3px]",context:o,items:s})]}),r(dt,{media:l,context:o}),r(Ke,{links:a,context:o}),r(mt,{links:t,context:o})]}))),pt={primary:"text-secondary-text",secondary:""},ut={normal:3,mini:4},bt={normal:"min-w-[364px] w-[364px]",mini:"min-w-[260px] w-[260px]"},ft={normal:380,mini:276},gt=a((({title:e,description:t,image:a,items:i,button:l,version:s})=>{const o=pt[s??"primary"];return n("div",{children:[n("div",{children:[a?.src?r("div",{className:"flex justify-center",children:r(v,{className:"mb-6",image:a})}):null,e&&vt(e,t,i),t&&r("div",{className:`font-normal text-sm mt-2 ${o}`,children:t}),i?.length?r("section",{className:`max-w-[308px] mt-2 ${o}`,role:"list",children:i.map(((e,t)=>function(e,t,n){return r(ke,{version:n??"primary",children:r("span",{className:"text-sm",children:e})},String(t))}(e,t,s)))}):null]}),l?.text&&r(G,{className:"mt-6",...l})]})}));function vt(e,t,n){return r("div",{className:"font-medium text-xl m-0 "+(t||n?.length?"":"text-center"),children:e})}const Nt=a((({context:e,title:t,description:a,cards:i=[],version:l="normal",activeCardIndex:o})=>n("div",{children:[r("div",{className:"absolute top-0 left-0 bottom-0 w-[84px] bg-gradient-to-r from-white to-transparent"}),n("div",{className:"flex flex-col items-center mb-8",children:[t?r(s,{className:"font-medium m-0 text-center",children:t}):null,a?r("div",{className:"font-normal text-base max-w-[600px] mt-2.5",children:a}):null]}),r("div",{className:`flex ${i?.length<=ut[l]?"justify-center":""} duration-1000`,style:{transform:`translateX(-${o*ft[l]}px)`},role:"list",children:i?.map(((t,n)=>function({card:e,version:t,context:n},a){return r(_e,{context:n,className:`box-border border-solid border rounded-md border-main-divider p-7 mx-2 flex flex-col justify-between\n items-stretch ${bt[t]} w-full col-span-4`,version:e.version,role:"listitem",children:r(gt,{...e})},String(a))}({card:t,version:l,context:e},n)))})]})));const yt=a((({context:e,cards:t=[],className:a,version:i="normal",...l})=>{const[s,o]=e.useState(0),c=t?.length>ut[i],d=c&&t?.length-s>ut[i],m=c&&s>0;return n("section",{className:`relative font-sans text-primary-text bg-white p-[50px] overflow-hidden ${a}`,children:[r(Nt,{context:e,cards:t,version:i,activeCardIndex:s,...l}),m&&r(Q,{className:"absolute top-1/2 left-8 rotate-180",onClick:()=>o(s-1),ariaLabel:"Пролистать влево"}),d&&r(Q,{className:"absolute top-1/2 right-1 z-10",onClick:()=>o(s+1),ariaLabel:"Пролистать вправо"}),r("div",{className:"absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white"})]})})),wt=a((e=>r(yt,{...e,version:"normal"}))),kt=(e,t,r=((e,t)=>t.startsWith(e)))=>r(B(e),(e=>(e||"").replace(F,""))(B(M(e)?t.href:t.pathname))),$t=e=>t=>kt(t.href,e),Ct=e=>(t=[])=>{const r=t?.filter($t(e));var n;return r?.length?(n=e=>e.href?.length||0,e=>e.reduceRight(((e,t)=>n(e)>n(t)?e:t)))(r):null},St="absolute left-0 -bottom-3 w-full h-[2px]",Lt=a((({className:e,text:t,href:a,target:i,active:l,onClick:s,children:o,bgColor:c="bg-white"})=>n("a",{className:`relative inline-block bg-transparent text-center no-underline ${e||""}`,href:a,target:i,onClick:s,children:[r("span",{className:Dt(c,l),children:t||o}),l?r("div",{className:jt(c,l)}):null]}))),Dt=(e,t)=>{let r="text-white";return"bg-white"===e&&(r=t?"text-primary-main":"text-primary-text hover:text-primary-main"),`${r} font-sans font-normal text-base`},jt=(e,t)=>t?`${"bg-white"===e?"bg-primary-main":e} ${St}`:St,_t=a((({className:e="",text:t,href:n,target:a,active:i,flat:l,onClick:s,children:o,ariaLabel:c,bgColor:d="bg-white"})=>r("a",{className:`${Rt(d,i,l)} ${e}`,href:n,target:a,onClick:s,rel:"noopener noreferrer","aria-label":c,children:r("span",{className:It(d,i,l),children:t||o})}))),Rt=(e,t,r)=>{let n="border-transparent";return t&&(n="rounded-md "+("bg-white"===e?"border-primary-main":"border-white")),`${n} inline-block border border-solid bg-transparent text-center no-underline ${r?"":"px-4 py-2"}`},It=(e,t,r)=>{let n="text-white";return"bg-white"===e&&(n=t?"text-primary-main":(r?"text-primary-text":"text-secondary-text")+" hover:text-primary-main"),`${n} font-sans font-normal text-sm`},Tt=a((({className:e="",children:t,ariaLabel:n})=>r("button",{type:"button",className:`border-0 p-0 w-[24px] h-[24px] flex items-center bg-inherit cursor-pointer ${e}`,disabled:!0,"aria-label":n,children:t}))),At={"bg-white":"text-primary-text hover:text-primary-main",transparent:"text-white"},Mt={"bg-white":"text-secondary-light hover:text-secondary-hover",transparent:"text-white"},Bt={"bg-white":"GridIcon",transparent:"GridIconWhite"},Pt=a((({context:e,className:t,defaultLocation:a="",bgColor:i="bg-white"})=>{const[l,s]=e.useGeolocation(a);return n("div",{className:`flex items-center ${t||""}`,children:[r(_t,{className:"mr-5",flat:!0,href:"#",text:l,ariaLabel:"Местоположение",onClick:s,bgColor:i}),r(_t,{className:"mr-7",flat:!0,href:"#",text:"Офисы и банкоматы",ariaLabel:"Список всех доступных офисов и банкоматов",bgColor:i}),r(Tt,{className:`mr-5 ${At[i]}`,ariaLabel:"Поиск по сайту",children:r(d,{name:"LoupeIcon",className:"h-full",asSVG:!0})}),r(Tt,{className:`mr-5 ${At[i]}`,ariaLabel:"Профиль",children:r(d,{name:"ProfileIcon",className:"h-full",asSVG:!0})}),r(Tt,{className:`${Mt[i]} min-w-[32px] min-h-[32px]`,ariaLabel:"Дополнительные ссылки",children:r(d,{name:Bt[i],className:"h-full",asSVG:!0})})]})})),Ot={"bg-white":"bg-main-divider",transparent:"bg-main-divider opacity-30"},Ft=a((({className:e,defaultLocation:t,bgColor:a="bg-white",context:i,topItems:l})=>{const s=i.useRouter(),o=rt(i.useAsyncData),{handlerDecorator:c}=i,d=tt(o.topItems,l),m=d.find((e=>t=>t.items?.some($t(e))||kt(t.href,e))(s)),h=m?.items,x=Ct(s)(h),p=d.map(((e,t)=>r(_t,{active:e===m,...H({router:s,handlerDecorator:c},e),ariaLabel:e.text,bgColor:a},String(t)))),u=h?.map((e=>r(Lt,{className:"mr-8",active:e===x,...H({router:s,handlerDecorator:c},e),bgColor:a},e.href)));return r("header",{className:`pt-5 pb-8 px-20 ${a} ${e||""}`,children:n("div",{className:"container",children:[n("div",{className:"flex items-center",children:[r(Ge,{className:"mr-8",bgColor:a}),p,r(Pt,{context:i,className:"ml-auto",defaultLocation:t,bgColor:a})]}),r("div",{className:`mt-5 h-[1px] ${Ot[a]}`}),r("nav",{className:"mt-5",children:u})]})})})),Vt=a((e=>r(yt,{...e,version:"mini"}))),Zt=a((({className:e,context:t,title:a="Мобильное приложение",qr:i,buttons:l=[]})=>r(_e,{className:e,context:t,title:a,buttons:l,children:n("div",{className:"flex items-center",children:[i?.src&&i?.href&&r("a",{href:i.href,target:"_blank",children:r("img",{src:i.src,alt:a,title:a,width:"164",height:"164",className:"w-[90px] h-[90px] min-w-[90px] min-h-[90px] bg-secondary-light"})}),r("span",{className:"font-normal text-sm text-secondary-text ml-4",children:"Наведите камеру телефона на QR-код и скачайте приложение"})]})}))),Ht=a((({className:e,text:t,onClick:n,href:a,target:i,isActive:l})=>r("a",{className:`bg-inherit no-underline px-4 py-2.5 cursor-pointer rounded text-sm border border-solid hover:text-primary-main ${e||""} ${l?"border-primary-main text-primary-main":"border-white text-secondary-text"}`,onClick:n,href:a,target:i,children:t}))),zt=a((({className:e,context:t,title:a,buttons:i})=>{const l=t.useRouter(),{handlerDecorator:s}=t,o=Ct(l)(i);return n("section",{className:`font-sans text-primary-text rounded-[40px] flex items-center justify-between ${e||""}`,children:[r("h2",{className:"font-medium text-xl m-0",children:a}),i?.length?r("div",{className:"flex rounded-md overflow-hidden bg-white",children:i.filter((({text:e})=>e)).map(((e,t)=>r(Ht,{className:"first:rounded-tl-md first:rounded-bl-md last:rounded-tr-md last:rounded-br-md",isActive:e===o,...H({router:l,handlerDecorator:s},e)},String(t))))}):null]})})),Et=a((({className:e,context:t,title:n})=>r(_e,{className:e,context:t,title:n,description:"Блок в разработке...",children:r("figure",{className:"m-0 min-w-[600px]",children:Wt()})}))),Wt=(e=3)=>Ut(100,e).map((e=>Math.floor(e))).map(Gt),Gt=(e=100,t)=>r("div",{style:{width:`${e}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),Ut=(e,t)=>[e].concat(t>0?Ut(e/1.618,t-1):[]),Xt=a((({text:e,href:t,target:n,onClick:a,className:i="",children:l})=>t?r("a",{className:`no-underline ${i}`,href:t,target:n,onClick:a,children:r("span",{className:i,children:e||l})}):r("span",{className:i,children:e||l})));function Jt(e){return t=>t.reduce(((t,r,n)=>t.length?t.concat({...e,key:n},r):[r]),[])}const Qt={primary:"bg-main",secondary:"bg-white/30"},qt={primary:"text-primary-text",secondary:"text-white"},Kt={primary:"text-secondary-text",secondary:"text-white"};const Yt=a((({className:e,context:t,title:a,titleSize:i,description:l,benefits:s,buttons:o,image:c,items:m,version:h="primary"})=>n("div",{className:`flex grow justify-between items-stretch ${e||""}`,children:[r("div",{className:"flex flex-col",children:r(De,{context:t,title:a,titleSize:i||"XL",description:l,items:m,buttons:o,version:h,children:s?.length?r("div",{className:"flex gap-6 mt-6 mb-3.5",children:s.map(((e,t)=>function(e,t,a){return n("div",{className:"flex gap-4 items-center",children:[e.icon&&r(d,{className:`w-[50px] h-[50px] min-w-[50px] min-h-[50px] rounded-full p-[10px] box-border ${Qt[a]}`,name:e.icon,width:"24",height:"24"}),n("div",{className:"flex gap-1 flex-col h-full max-w-[149px]",children:[r("h4",{className:`font-medium text-xl m-0 ${qt[a]}`,children:e.label}),e.description&&r("div",{className:`font-normal text-sm ${Kt[a]}`,children:e.description})]})]},String(t))}(e,t,h)))}):null})}),c?.src&&r(v,{className:"mt-auto",image:c})]}))),er={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},tr={primary:"text-secondary-text",secondary:"text-white/80"},rr=a((e=>{const{context:t,className:a,breadcrumbs:i,version:l="primary"}=e,s=t.useRouter(),{handlerDecorator:o}=t;return n("section",{className:`font-sans pt-10 pl-[50px] pb-[50px] pr-[7.5rem] box-border min-h-[420px] ${a||""} ${er[l]}`,children:[i?.length?r("div",{className:"text-xs mb-6",children:Jt(r("span",{className:`mx-2 ${tr[l]}`,children:"/"}))(i.map(((e,t)=>r(Xt,{...H({router:s,handlerDecorator:o},{className:tr[l],...e})},String(t)))))}):null,r(Yt,{...e})]})})),nr=a((({className:e,context:t,duration:a=0,slides:i=[]})=>{const l=i.map((e=>e.nav)),s=i.map((e=>e.productBlock)),[o,c]=t.useState(0);return n("section",{className:`font-sans bg-white overflow-hidden w-100 ${e||""}`,children:[r("div",{className:"flex duration-1000",style:{transform:`translateX(-${o}00%)`},role:"list",children:s.map(((e,n)=>function(e,t,n){return r("section",{className:"flex grow-0 shrink-0 basis-full",role:"listitem",children:r("div",{className:"p-10 flex grow",children:r(Yt,{className:"pl-2.5 pt-2.5 pb-1.5 pr-[6.25rem]",context:n,...e})})},String(t))}(e,n,t)))}),r("div",{className:"flex",children:l.map(((e,t)=>function({slide:e,i:t,activeSlideIndex:a,onClick:i,duration:l}){const s=t===a,o=s?"animate-slide":"";return n("button",{type:"button",onClick:i,className:"font-sans group relative overflow-hidden border-0 bg-inherit cursor-pointer text-left px-0 pt-4 pb-5 grow basis-0",children:[n("div",{className:"border-0 border-r border-solid border-main-divider px-6",children:[r("div",{className:"text-sm font-medium pb-1 group-hover:text-primary-text "+(s?"text-primary-text":"text-secondary-text"),children:e?.title}),r("div",{className:"text-xs text-secondary-text pb-[2px]",children:e.desc})]}),r("div",{className:`absolute bottom-0 left-0 w-full h-[3px] bg-primary-main -translate-x-full ${o}`,style:{animationDuration:`${l}s`,animationFillMode:"forwards"}})]},String(t))}({slide:e,i:t,activeSlideIndex:o,onClick:()=>c(t),duration:a})))})]})}));const ar=a((e=>{const{benefits:t,version:a}=e;return r(_e,{...e,children:n("div",{className:"flex mt-5 mb-1",children:[t?.length?r("div",{className:"mr-8",children:t.map(ir)}):null,t?.length?r("div",{className:"pt-1",children:t.map(((e,t)=>function(e,t,n="primary"){return r("div",{className:`text-sm ${t?"mt-4":""} ${{primary:"text-secondary-text",secondary:"text-white"}[n]}`,children:e.description},String(t))}(e,t,a)))}):null]})})}));function ir(e,t){return r("div",{className:"text-xl font-medium "+(t?"mt-2.5":""),children:e.label},String(t))}const lr=a((({className:e,context:t,title:a="Акции и спецпредложения",date:i,description:l,buttons:s=[],version:o})=>r(_e,{className:e,context:t,title:a,buttons:s,version:o,children:n("div",{className:"mt-1.5",children:[i&&r("div",{className:"text-sm mb-2",children:sr(i)}),r("div",{className:"text-base",children:l})]})})));function sr(e){return new Date(e).toLocaleString("ru-RU",{day:"numeric",month:"long",year:"numeric"}).replace("г.","")}const or=a((({className:e,title:t,showLines:a=!0,steps:i})=>n("section",{className:`box-border font-sans text-primary-text bg-white px-20 py-[50px] flex flex-col items-center ${e||""}`,children:[r(s,{className:"font-medium m-0 max-w-[47rem] text-center",children:t}),i?.length?n("div",{className:"box-border py-0.5 mb-0.5 "+(t?"mt-9":""),children:[r("div",{className:"flex items-center px-[88px]",children:Jt(r("div",{className:"h-0.5 w-full bg-secondary-light "+(a?"":"opacity-0")}))(i.map(((e,t)=>cr(e,t))))}),r("div",{className:"flex justify-between gap-x-[101px]",children:i.map(dr)})]}):null]}))),cr=(e,t)=>r("div",{className:"flex flex-col items-center text-center relative",children:r("div",{className:"h-[100px] w-[100px] min-w-[100px] min-h-[100px] bg-secondary-light rounded-full p-[26px] box-border z-10",children:e.icon&&r(d,{name:e.icon,width:"48",height:"48"})||r("span",{className:"font-medium text-title-sm text-secondary-text",children:t+1})})},String(t)),dr=(e,t)=>n("div",{className:"flex flex-col items-center text-center relative w-[276px] whitespace-pre-line overflow-hidden",children:[e.label&&r("div",{className:"font-medium text-xl m-0 mt-4",children:e.label}),e.description&&r("div",{className:"font-normal text-sm text-secondary-text "+(e.label?"mt-2":"mt-4"),children:e.description})]},String(t)),mr=a((({cell:e,isLastRow:t})=>r("div",{className:"first:pl-0 pl-10 w-80 flex-grow flex flex-col border-solid border-main-divider border border-t-0 border-x-0 "+(t?"border-t-0 rounded-b-md":""),role:"cell",children:r("div",{children:e.map(((e,t)=>hr(e,t)))})}))),hr=({label:e,description:t,list:a,image:i,buttons:l},s)=>n("div",{className:"first:pt-5 last:pb-5",children:[s>0&&r("div",{className:"border-main-divider border border-solid border-t-0 border-x-0 my-4"}),e&&r("div",{className:"text-xl font-medium m-0",children:e}),t&&r("div",{className:"text-sm text-secondary-text",children:t}),a?.items?.length?r("div",{className:"flex flex-col justify-between items-start",children:r("div",{role:"list",children:a.items.map(((e,t)=>r(ke,{text:e,version:a.version??"secondary",isDotted:a.isDotted??!0},String(t))))})}):null,i&&r(v,{image:i}),l?.length?l.map((({icon:e,...t},n)=>r(G,{className:(n>0?"ml-3":"")+" w-12 h-12",appendLeft:e&&r(d,{name:e,width:"24px",height:"24px"}),...t},String(n)))):null]},String(s)),xr=a((({row:{header:e,data:t},activeCardIndex:a,isLastRow:i})=>n(le,{children:[r("div",{className:"text-sm py-5 w-[354px] flex-shrink-0 border-main-divider border border-t-0 border-x-0 "+(i?"":"border-solid"),children:n("div",{className:"flex items-center text-primary-text",children:[e?.icon&&r(d,{className:"mr-[14px] max-w-6 max-h-6",name:e.icon,width:"24px",height:"24px"}),e?.title]})}),t?.length?r(ne,{activeCardIndex:a,columnWidth:360,version:"tariff",children:t.map(((e,t)=>r(mr,{cell:e,isLastRow:i},String(t))))}):null]}))),pr=a((({className:e,context:t,title:a,rowHeaders:i,columns:l})=>{const[o,c]=t.useState(0),d=l?.map((({data:e})=>e))||[],m=i?.map(((e,t)=>({header:e,data:d.map((e=>e?.[t]||[{}]))}))),{nextClick:h,prevClick:x,isScrollAvailable:p,showNextButton:u,showPrevButton:b}=A({colData:d,colsLengthForScroll:2,activeCardIndex:o,setActiveCardIndex:c});return n("section",{className:`bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${e||""}`,children:[r(s,{className:"font-medium m-0 max-w-[47rem] text-center mb-9 mx-auto",children:a}),n("div",{role:"table",children:[m?.length?n("div",{className:"relative",children:[m.map(((e,t,{length:n})=>r(xr,{row:e,isLastRow:t+1===n,activeCardIndex:o},String(t)))),p?r("div",{children:n("div",{className:"absolute top-7 right-7 z-10",children:[r(Q,{onClick:h,disabled:!u,ariaLabel:"Пролистать вправо"}),r(Q,{className:"mt-4 rotate-180",onClick:x,disabled:!b,ariaLabel:"Пролистать влево"})]})}):null]}):null,p?r("div",{className:"absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white"}):null]})]})})),ur={Accordion:R,BenefitsBlock:I,ComparisonTable:oe,CreditCalculator:ve,ExchangeRateTile:Pe,Footer:xt,Gallery:wt,Header:Ft,Headline:h,LinkDocs:b,MiniGallery:Vt,MobileAppTile:Zt,PictureText:y,Placeholder:Et,ProductBlock:rr,ProductGallery:nr,ProductTile:ar,PromoTile:lr,StepsBlock:or,TariffsTable:pr,TextBlock:$,Tile:_e,Navigation:zt},br=a((({className:e,onClick:t,ariaLabel:n})=>r("button",{type:"button",className:`border-0 w-[36px] bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":n,children:fr()}))),fr=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return n("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[r("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"}),r("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"})]})},gr=a((({className:e,context:t})=>{const a=t.useLikeService();return n("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:[r(br,{onClick:a.like,ariaLabel:"Поставить отметку «лайк»"}),r(br,{onClick:a.dislike,className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),r("span",{className:"select-none",children:a.likeCount})]})})),vr=({blockClassName:e,block:t,render:r})=>r({blockClassName:e,block:t}),Nr=a((({className:e,context:t,blocksRegistry:a,data:{style:i,blocks:l,slots:s={},likeControl:o,colorPalette:c="pc"},blockDecorator:d=vr})=>{const{header:m}=s;return n("section",{className:`relative ${wr(i)} ${e||""}`,"data-theme":c,children:[m?.blocks?.length?r("div",{className:`${wr(m?.style)}`,children:m.blocks.map(((e,r)=>yr({block:e,blockDecorator:d,blocksRegistry:a,context:t},r)))}):null,l?.length?r("div",{className:"container grid grid-cols-12 gap-1",children:l.map(((e,r)=>yr({block:e,blockDecorator:d,blocksRegistry:a,context:t},r)))}):null,o&&r("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:r(gr,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto",context:t})})]})}));function yr({block:e,blockDecorator:t,blocksRegistry:n,context:a},i){const{type:l}=e;l in n||console.warn(`No block with "${l}" is registered`);const s=n[l]||Et;return t({blockClassName:wr(e.style),block:e,render:e=>{const{version:o,content:c,blocks:d}=e.block;return r(s,{className:e.blockClassName,version:o,context:a,...c,children:d?.length?d.map(((e,r)=>yr({block:e,blockDecorator:t,blocksRegistry:n,context:a},r))):null},`${l}-${i}`)}},`block-${i}`)}function wr(e){return e?e.join(" "):""}const kr=a((({HeadComponent:e,data:t,children:a})=>{const{title:i,description:l,keywords:s,robots:o,og:c}=t;return n(e,{children:[r("title",{children:i}),r("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),l&&r("meta",{name:"description",content:l}),s&&r("meta",{name:"keywords",content:s.join(",")}),o&&r("meta",{name:"robots",content:o.join(",")}),c?Object.entries(c).map((([e,t])=>r("meta",{name:`og:${e}`,content:t},e))):null,a]})}));function $r(e){return e?.filter((({mobile:e})=>!e?.hidden)).map(Cr)}function Cr(e){const{mobile:t}=e;return t?{...e,style:t.style?.length?t.style:e.style}:e}e.Blocks=ur,e.ContentPage=Nr,e.ContentPageHead=kr,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))))))(),r=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await r.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}},e.Header=Ft,e.Icon=d,e.LikeAPI=function(e,t=""){async function r(){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:r,name:n}=await e.json();return globalThis.localStorage.setItem(i,JSON.stringify({token:r,name:n})),{token:r,name:n}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...n){if(!n.length)return[];const{token:a}=await r();try{const r=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:n})}),{likes:i}=await r.json();return i||[]}catch(e){return console.error(e),[]}},like:async function(n){if(!n)return 0;const{token:a,name:i}=await r();try{const r=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:n,user_name:i})}),{likes:l}=await r.json();return l||0}catch(e){return console.error(e),0}},dislike:async function(n){if(!n)return 0;const{token:a,name:i}=await r();try{const r=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:n,user_name:i})}),{likes:l}=await r.json();return l||0}catch(e){return console.error(e),0}}}},e.joinList=Jt,e.projectSettings=c,e.setup=t,e.toMobilePage=function(e){const{blocks:t,slots:r}=e;return{...e,blocks:$r(t),slots:r&&Object.keys(r).reduce(((e,t)=>({...e,[t]:{...r[t],blocks:$r(r[t].blocks)}})),{})}},e.url=O,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).UniBlocks={})}(this,(function(e){"use strict";const t=(e,r)=>{t._jsx=e,t._jsxs=r||e};t.vue=e=>{t(((t,{children:r,dangerouslySetInnerHTML:a,...n}={})=>{const i=Object.assign({},n,a?{innerHTML:a.__html}:{});return e(t,i,"string"!=typeof t?()=>r:r)}))};const r=(...e)=>t._jsx(...e),a=(...e)=>t._jsxs(...e),n=e=>(e._tmpl||(e._tmpl=function(t,r){const{children:a,...n}=t||{},i=r?.slots?.default,l=a||i&&i();return e(Object.assign(n,l&&{children:l}),r)},e._tmpl.inheritAttrs=!1),e._tmpl);const i="likesToken";const l={h1:"text-title-lg tracking-[-0.3px]",h2:"text-title",h3:"text-title-sm",h4:"text-title-xs",h5:"text-title-2xs tracking-[0.2px]",h6:"text-title-2xs tracking-[0.2px]"},s=n((e=>{const{className:t,headingType:a,title:n}=e;if(!a)return;return r(a,{className:`font-sans font-medium ${l[a]} ${t||""}`,children:n})})),c=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}},o={none:"",primary:"text-primary-main"},m=n((({className:e="",name:t,alt:n=`Icon ${t}`,title:i=n,asSVG:l,color:s="primary",...m})=>{const d=`${c.CDN||""}icons/${t}.svg`;return l?a("svg",{className:`${o[s]} ${e}`,...m,"aria-hidden":"true",children:[i?r("title",{children:i}):null,n?r("desc",{children:n}):null,r("use",{href:`${d}#icon`,xlinkHref:`${d}#icon`})]}):r("img",{className:e,src:d,alt:n,title:i,...m,"aria-hidden":"true"})})),d={left:"text-left",center:"text-center",right:"text-right"},h=n((({bgColor:e="transparent",align:t="left",className:n="",title:i,description:l})=>{const c=d[t];return a("section",{className:`p-[50px] ${e} ${n}`,children:[i&&r(s,{headingType:"h2",className:`text-primary-text ${c}`,title:i}),l&&r("p",{className:`font-normal text-base mt-4 ${c}`,children:l})]})})),x=n((({className:e,iconClassName:t,textClassName:n,suffixClassName:i,doc:l,icon:s})=>{const{text:c,fileSize:o,...d}=l;return a("a",{className:e,role:"link",...d,children:[s?r(m,{className:t,name:s,width:"24px",height:"24px",asSVG:!0}):null,c?a("span",{className:n,children:[c,r("span",{className:i,children:d?.href&&p(u(d.href),o)})]}):null]})})),p=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),u=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},b=n((({className:e="",doc:t,icon:a})=>r(x,{className:e,iconClassName:"mr-4 min-w-6 min-h-6 text-primary-text",textClassName:"self-center",suffixClassName:"text-secondary-text group-hover:text-primary-main",doc:t,icon:a}))),f=n((({className:e,documents:t,columnsMode:a="double",icon:n})=>t?.length?r("div",{className:e,role:"list",children:t.map(((e,t)=>r("div",{className:"double"===a?"basis-[calc(50%-20px)]":"",role:"listitem",children:r(b,{className:"group flex text-sm align-middle h-fit w-fit text-primary-text no-underline hover:text-primary-main",doc:e,icon:n})},String(t))))}):null)),g={left:"text-left",center:"text-center",right:"text-right"},N={double:"mb-8",single:"mb-[26px]"},v={double:"flex gap-x-5 gap-y-[26px] flex-wrap",single:"flex gap-3.5 flex-col"},y=n((({className:e="",title:t,subtitle:n,align:i,documents:l,icon:c="DocIcon",columnsMode:o="double"})=>a("section",{className:`font-sans p-[50px] bg-white ${e}`,children:[t?r(s,{headingType:"h2",className:`${n?"mb-2.5":N[o]} ${g[i??"center"]}`,title:t}):null,n?r("h3",{className:`text-base ${N[o]} ${g[i??"center"]}`,children:n}):null,r(f,{className:v[o],columnsMode:o,documents:l,icon:c})]}))),w=n((({className:e="",image:{size:t,...n}})=>{const i={width:t?.width?`${t?.width}px`:"100%",height:t?.height?`${t?.height}px`:"100%"};return a("picture",{className:`flex-none ${e}`,children:[n.sources?.length?n.sources.map((({src:e,format:t},a)=>r("source",{srcSet:e,type:k(t)},`${a}_${e}`))):null,r("img",{className:n.className||"",src:n.src,alt:n.alt||n.title,title:n.title,style:i,...t})]})}));function k(e){return e?`image/${String(e)}`:void 0}const $=n((({className:e="",title:t,image:n,benefits:i})=>a("section",{className:`relative font-sans text-primary-text bg-white p-14 ${e}`,children:[r(s,{headingType:"h2",className:"text-center",title:t}),a("div",{className:"flex justify-center mt-9",children:[n?.src&&r(w,{className:"mr-6",image:n}),i?.length?r("div",{className:"flex flex-col",children:i.map(C)}):null]})]})));function C(e,t){return a("div",{className:"flex flex-row mb-8",children:[e.icon&&r(m,{className:"w-[48px] h-[48px] bg-main rounded-full box-border p-[12px]",name:e.icon,width:"48",height:"48",asSVG:!0}),a("div",{className:"flex gap-1 flex-col h-full ml-5 max-w-[490px]",children:[e.label&&r("div",{className:"font-medium text-primary-text text-xl m-0",children:e.label}),e.description&&r("div",{className:"font-normal text-sm text-secondary-text",children:e.description})]})]},String(t))}const S={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"}},T=n((({title:e,description:t,blockVersion:n="primary",iconVersion:i,image:l,className:s})=>{const c=S[n];return a("section",{className:`font-sans px-9 py-4 flex ${c.background} ${s||""}`,children:["small"===i?D(c.icon):null,"big"===i?L(l):null,a("div",{className:"py-0.5",children:[e&&r("div",{className:`font-medium text-base mb-1 ${c.title}`,children:e}),t&&r("div",{className:`text-sm ${c.description}`,children:t})]})]})}));function D(e){return r("div",{className:"pt-1.5 pl-1 pr-4",children:r("div",{className:`rounded-full h-4 w-4 text-center text-xs ${e}`,children:"i"})})}function L(e){return e?.src?r(w,{className:"pt-0.5 pr-3",image:e}):null}const I=e=>e?.includes("//"),_=e=>(e||"").replace(/\/?\?.*/,""),j=e=>{if(!e||!I(e))return;const t=e,r=t.indexOf("//"),a=t.indexOf("/",r+"//".length);return-1!==a?t.substring(0,a):t};var R=Object.freeze({__proto__:null,isURL:I,withoutQuery:_,getOrigin:j});const A="/mobile",M=(e,t)=>{if(!e)return e;const r=j(t?.href);return r?e.replace(r,"")||"/":e},B=e=>e;function P({router:e,handlerDecorator:t=B},r){const a=((e,t)=>{if(!e)return e;const r=M(e,t)||"",a=t?.pathname.startsWith(A);return a&&!I(r)?`/mobile${r}`:r})(r.href,e);return{...r,href:a,ariaLabel:r.text,onClick:t((t=>{const n=a&&!I(a),i=!r.target||"_self"===r.target;n&&i&&(t.preventDefault(),e.push(a))}),r)}}const V=n((({text:e,aboveText:t,appendLeft:n,rounded:i,version:l})=>{const s=!e&&!t&&Boolean(n);return function({buttonInnerClasses:e,appendLeft:t,withoutText:n,aboveText:i,text:l}){return a("div",{className:e,children:[t||null,n?null:a("div",{children:[r("div",{className:"text-m-2xs text-left",children:i}),r("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:n,withoutText:s,aboveText:t,text:e})}));const O={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:""},F={primary:"bg-secondary-dark text-secondary-text",secondary:"bg-secondary-light text-secondary-text",link:""},Z="text-center font-sans select-none",H=n((({className:e,text:t,aboveText:a,appendLeft:n,href:i,target:l,onClick:s,children:c,disabled:o,rounded:m,version:d="none",ariaLabel:h,...x})=>{const p=c??r(V,{text:t,aboveText:a,appendLeft:n,rounded:m});return o?function({className:e,buttonInner:t,ariaLabel:a,version:n,rounded:i}){return r("div",{role:"button","aria-disabled":"true","aria-label":a,tabIndex:"-1",className:`inline-block ${Z} ${F[n]||""} ${i?"rounded-full":"rounded-md"} ${e||""}`,children:t})}({buttonInner:p,ariaLabel:h,className:e,version:d,rounded:m}):function({className:e,buttonInner:t,ariaLabel:a,version:n,rounded:i,href:l,target:s,onClick:c,rest:o}){return r("a",{className:`${Z} inline-block cursor-pointer no-underline ${O[n]||""} ${i?"rounded-full":"rounded-md"} ${e||""}`,href:l,target:s,onClick:c,"aria-label":a,role:l?"link":"button",...o,children:t})}({buttonInner:p,ariaLabel:h,className:e,version:d,rounded:m,href:i,target:l,onClick:s,rest:x})}));const G=n((({context:e,className:t="",buttons:a})=>{const{handlerDecorator:n}=e,i=e.useRouter();return a?.length?r("div",{className:`${t}`,children:a.map(((e,t)=>function({icon:e,...t},a){if(!t?.text)return;return r(H,e?{appendLeft:r(m,{name:e,width:"24",height:"24",asSVG:!0}),...t}:{...t},String(a))}(P({router:i,handlerDecorator:n},e),t)))}):null}));const E=n((e=>{const{className:t,description:a}=e;return r("div",{className:`font-normal text-base ${t||""}`,children:a})})),W={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text"},z={primary:"bg-primary-main",secondary:"bg-white",gray:"bg-secondary-text"},U=n((({className:e="",isDotted:t=!0,children:n,version:i="primary"})=>a("div",{className:`font-sans flex items-center ${e}`,role:"listitem",children:[t&&r("div",{className:J(i)}),r("span",{className:W[i],children:n})]}))),J=e=>`rounded-full inline-block mr-3 ${z[e]} ${"gray"===e?"w-[6px] h-[6px] min-w-[6px] min-h-[6px]":"w-2 h-2 min-w-2 min-h-2"}`,X=n((e=>{const{className:t="",itemClassName:a,isDotted:n,items:i,version:l}=e;return r("section",{className:`${t}`,role:"list",children:i?.length?i.map(((e,t)=>r(U,{className:a,isDotted:n,version:l,children:e},String(t)))):null})})),Q=n((({className:e="",title:t,children:n,buttons:i,image:l})=>a("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,children:[t,a("div",{className:"flex grow w-full justify-between",children:[a("div",{className:"flex flex-col justify-between",children:[r("div",{children:n}),r("div",{children:i})]}),l]})]}))),q=e=>{const t="col-span-",r=e.split(/\s+/).find((e=>e.startsWith(t)));return r?parseInt(r.substring(t.length),10):12};function K(e=""){const t=q(e);return t<=4?"h4":t<=8?"h3":"h2"}function Y(e=""){const t=q(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function ee(e=""){const t=q(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const te={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},re=n((e=>{const{context:t,title:n,description:i,items:l,children:c,buttons:o,image:m,className:d="",version:h="primary",role:x}=e;return r("section",{className:`font-sans p-9 box-border ${d} ${te[h]} ${ee(d)} ${Y(d)} `,role:x,children:a(Q,{context:t,title:n&&r(s,{headingType:K(d),title:n,className:"whitespace-pre-wrap max-w-[600px] "+("primary"===h?"text-primary-text":"")}),buttons:o?.length?r(G,{context:t,buttons:o,className:"flex mt-9 gap-3"}):null,image:m?.src&&r(w,{className:"mt-auto ml-7",image:m}),children:[i&&r(E,{className:"mt-4 max-w-[600px]",description:i}),c,l?.length?r(X,{items:l}):null]})})})),ae={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},ne=n((({context:e,className:t="",title:n,description:i,benefits:l,buttons:c,image:o,version:m="primary"})=>r("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${t} ${ae[m]} ${ee(t)} ${Y(t)} `,children:a(Q,{context:e,title:n&&r(s,{headingType:K(t),title:n,className:"whitespace-pre-wrap max-w-[600px]"}),buttons:c?.length?r(G,{context:e,buttons:c,className:"flex mt-9 gap-3"}):null,image:o?.src&&r(w,{className:"mt-auto ml-7",image:o}),children:[i&&r(E,{className:"mt-4 max-w-[600px]",description:i}),a("div",{className:"flex mt-5 mb-1",children:[l?.length?r("div",{className:"mr-8",children:l.map(ie)}):null,l?.length?r("div",{className:"pt-1",children:l.map(((e,t)=>function(e,t,a="primary"){return r("div",{className:`text-sm ${t?"mt-4":""} ${{primary:"text-secondary-text",secondary:"text-white"}[a]}`,children:e.description},String(t))}(e,t,m)))}):null]})]})})));function ie(e,t){return r("div",{className:"text-xl font-medium "+(t?"mt-2.5":""),children:e.label},String(t))}const le=n((({className:e,viewBox:t,fill:a="none",width:n,height:i,paths:l,...s})=>r("svg",{xmlns:"http://www.w3.org/2000/svg",className:e,viewBox:t,fill:a,width:n,height:i,children:l.map((({d:e,fill:t,...a},n)=>r("path",{d:e,fill:t||"currentColor",...s,...a},n)))}))),se=[{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"}],ce=n((({className:e,disabled:t,...a})=>r(H,{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,...a,children:r(le,{paths:se,viewBox:"0 0 16 16",fill:"none",width:"16",height:"16"})}))),oe={primary:"bg-white text-secondary-text",secondary:"bg-primary-main text-white"},me={normal:3,mini:4},de={normal:"min-w-[364px] w-[364px]",mini:"min-w-[260px] w-[260px]"},he={normal:380,mini:276},xe={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text"},pe={primary:"bg-primary-main",secondary:"bg-white",gray:"bg-secondary-text"},ue=n((({className:e="",isDotted:t=!0,text:n,children:i,version:l="primary"})=>a("div",{className:`font-sans flex items-center ${e}`,role:"listitem",children:[t&&r("div",{className:be(l)}),r("span",{className:xe[l],children:n||i})]}))),be=e=>`rounded-full inline-block mr-3 ${pe[e]} ${"gray"===e?"w-[6px] h-[6px] min-w-[6px] min-h-[6px]":"w-2 h-2 min-w-2 min-h-2"}`,fe=n((({title:e,description:t,image:n,items:i,button:l,version:s})=>a("div",{children:[a("div",{children:[n?.src?r("div",{className:"flex justify-center",children:r(w,{className:"mb-6",image:n})}):null,e&&ge(e,t,i),t?r("div",{className:"font-normal text-sm mt-2",children:t}):null,i?.length?r("section",{className:"max-w-[308px] mt-2",role:"list",children:i.map(((e,t)=>function(e,t,a){return r(ue,{version:a??"primary",children:r("span",{className:"text-sm",children:e})},String(t))}(e.text,t,s)))}):null]}),l?.text&&r(H,{className:"mt-6",...l})]})));function ge(e,t,a){return r("div",{className:"font-medium text-xl m-0 "+(t||a?.length?"":"text-center"),children:e})}const Ne=n((({context:e,title:t,description:n,cards:i=[],version:l="normal",activeCardIndex:c})=>a("div",{children:[r("div",{className:"absolute top-0 left-0 bottom-0 w-[84px] bg-gradient-to-r from-white to-transparent"}),a("div",{className:"flex flex-col items-center mb-8",children:[t?r(s,{headingType:"h2",className:"text-center",title:t}):null,n?r("div",{className:"font-normal text-base max-w-[600px] mt-2.5",children:n}):null]}),r("div",{className:`flex ${i?.length<=me[l]?"justify-center":""} duration-1000`,style:{transform:`translateX(-${c*he[l]}px)`},role:"list",children:i?.map(((t,a)=>function({card:e,version:t},a){return r("section",{className:`box-border border-solid border rounded-md border-main-divider p-7 mx-2 flex flex-col justify-between\n items-stretch ${de[t]} ${oe[e.version??"primary"]} w-full col-span-4`,role:"listitem",children:r(fe,{...e})},String(a))}({card:t,version:l,context:e},a)))})]})));const ve=n((({context:e,cards:t=[],className:n="",version:i="normal",...l})=>{const[s,c]=e.useState(0),o=t?.length>me[i],m=o&&t?.length-s>me[i],d=o&&s>0;return a("section",{className:`relative font-sans text-primary-text bg-white p-[50px] overflow-hidden ${n}`,children:[r(Ne,{context:e,cards:t,version:i,activeCardIndex:s,...l}),d&&r(ce,{className:"absolute top-1/2 left-8 rotate-180",onClick:()=>c(s-1),ariaLabel:"Пролистать влево"}),m&&r(ce,{className:"absolute top-1/2 right-1 z-10",onClick:()=>c(s+1),ariaLabel:"Пролистать вправо"}),r("div",{className:"absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white"})]})})),ye=n((e=>r(ve,{...e,version:"normal"}))),we=n((e=>r(ve,{...e,version:"mini"}))),ke={Headline:h,LinkDocs:y,TextBlock:T,PictureText:$,Tile:re,ProductTile:ne,Gallery:ye,MiniGallery:we},$e=n((({blocks:e,context:t})=>r("div",{className:"transition-all duration-300 max-h-0 overflow-hidden group-last:last:pb-0",children:e?.length?e.map(Ce(t)):null}))),Ce=e=>(t,a)=>{const n=t?.accordionBlockType;if(!n||!(n in ke))return null;return r("div",{className:"mb-5 last:mb-0 pb-5",children:r(ke[n],{context:e,...t,className:"!p-0"})},`block_${a}`)},Se=n((({label:e,blocks:t,context:n})=>{const{hasContent:i,icon:l,handleToggle:s}=(({context:e,blocks:t})=>{const[r,a]=e.useState(!1),n=t?.length;return{isActive:r,hasContent:n,icon:r?"MinusIcon":"PlusIcon",handleToggle:e=>{if(!n)return;a(!r);const t=(({target:e})=>"BUTTON"===e.tagName?e.nextSibling:e.parentNode.nextSibling)(e);t.style.maxHeight=t.style.maxHeight?null:`${t.scrollHeight}px`}}})({context:n,blocks:t});return a("li",{className:"border-0 border-b border-solid border-main-divider last:border-b-0",children:[a("button",{className:"border-none bg-transparent px-0 py-5 flex justify-between text-left w-full font-sans text-primary-text\n "+(i?"group cursor-pointer":""),onClick:s,children:[r("span",{className:"text-xl pr-2.5 font-medium "+(i?"group-hover:text-primary-main":""),children:e}),i?r(m,{name:l,width:"24",height:"24",asSVG:!0}):null]}),i?r($e,{blocks:t,context:n}):null]})})),Te=n((({title:e,accordionItems:t,context:n,className:i})=>a("section",{className:`p-[50px] font-sans bg-white text-primary-text ${i||""}`,children:[e?r(s,{headingType:"h4",className:"mb-2.5",title:e}):null,t?.length?r("ul",{className:"list-none m-0 p-0",children:t.map(((e,t)=>r(Se,{...e,context:n},`AccordionItem${t}`)))}):null]}))),De=n((({className:e,title:t,benefits:n})=>a("section",{className:`font-sans text-primary-text bg-white p-12 pb-2 flex flex-col items-center ${e||""}`,children:[t?r(s,{headingType:"h2",className:"max-w-[47rem] text-center",title:t}):null,n?.length?r("div",{className:"grid grid-cols-2 gap-5 mt-9",children:n.map(Le)}):null]}))),Le=(e,t)=>a("div",{className:"flex items-center p-10 gap-5 max-w-[580px]",children:[e.icon&&r(m,{className:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",name:e.icon,width:"70",height:"70"}),a("div",{children:[r("h3",{className:"font-medium text-xl m-0",children:e.label}),e.description&&r("div",{className:"font-normal text-sm mt-2",children:e.description})]})]},String(t)),Ie=({colData:e,colsLengthForScroll:t,activeCardIndex:r,setActiveCardIndex:a})=>{const n=e?.length&&e.length>t;return{nextClick:()=>a(r+1),prevClick:()=>a(r-1),isScrollAvailable:n,showNextButton:n&&e?.length-r>t,showPrevButton:n&&r>0}},_e="bg-gradient-to-r from-main-gradient-start to-main-gradient-end",je="border-main-stroke border-solid border",Re="border-main-divider border border-t-0 border-x-0",Ae="w-[200px] mr-6",Me=n((({icon:e,image:t,title:n,link:i})=>a("div",{className:`w-80 box-border flex flex-col items-center rounded-t-md border-b-0 px-7 pt-7 pb-[46px] ${je} ${_e}`,role:"columnheader",scope:"col",children:[e&&!t?.src&&r(m,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",name:e,width:"63",height:"63"}),t?.src&&r(w,{className:"mb-[18px]",image:t}),n&&r(s,{headingType:"h4",className:"text-center text-white",title:n}),i?.text&&r("div",{className:"mt-auto w-full",children:r(H,{href:i.href,target:i.target,className:"mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active",children:r("div",{className:"font-medium text-xs py-[11px]",children:i.text})})})]}))),Be={comparison:"flex gap-4 duration-1000",tariff:"flex flex-grow duration-1000"},Pe=n((({children:e,activeCardIndex:t,columnWidth:a,version:n="comparison"})=>r("div",{className:"flex flex-1 overflow-hidden",children:r("div",{className:Be[n],style:{transform:`translateX(-${t*a}px)`},children:e})}))),Ve=n((({cell:e,isFirstRow:t,isLastRow:a,isFillGradient:n})=>r("div",{className:`w-80 box-border flex flex-col ${je} ${a?"border-t-0 rounded-b-md":"border-y-0"} ${n?_e:""}`,role:"cell",children:r("div",{className:`mx-7 h-full ${Re} ${n&&t?"border-t":""} ${a?"":"border-solid"}`,children:e.map(((e,t)=>Oe(e,t,n)))})}))),Oe=({label:e,description:t},n,i)=>a("div",{className:"first:pt-7 pt-6 last:pb-7",children:[e&&r("h5",{className:"text-xl font-medium m-0 "+(i?"text-white":""),children:e}),t&&r("div",{className:"text-sm opacity-80 "+(i?"text-white":"text-secondary-text"),children:t})]},String(n)),Fe=n((({children:e})=>r("div",{className:"self-start flex flex-col",role:"row",children:r("div",{className:"flex",children:e})}))),Ze=n((({row:{header:e,data:t},activeCardIndex:n,isColoredFirstColumn:i,isFirstRow:l,isLastRow:s})=>a(Fe,{children:[e?.title?r("div",{className:`text-sm py-7 ${Re} w-[200px] mr-6 ${s?"":"border-solid"}`,children:e.title}):null,t?.length?r(Pe,{activeCardIndex:n,columnWidth:336,children:t.map(((e,t)=>r(Ve,{cell:e,isFirstRow:l,isLastRow:s,isFillGradient:i&&0===t},String(t))))}):null]}))),He=n((({className:e,context:t,title:n,rowHeaders:i,columns:l,visibleRowLength:c=0,isColoredFirstColumn:o=!1})=>{const m=t.useRouter(),{handlerDecorator:d}=t,[h,x]=t.useState(0),[p,u]=t.useState(!c),b=l?.map((({header:e})=>e||{})),f=l?.map((({data:e})=>e))||[],g=i?.map(((e,t)=>({header:e,data:f.map((e=>e?.[t]||[{}]))}))).slice(0,p?i.length:c),{nextClick:N,prevClick:v,isScrollAvailable:y,showNextButton:w,showPrevButton:k}=Ie({colData:f,colsLengthForScroll:2,activeCardIndex:h,setActiveCardIndex:x});return a("section",{className:`bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${e||""}`,children:[r(s,{headingType:"h2",className:"max-w-[47rem] text-center mb-9 mx-auto",title:n}),a("div",{role:"table",children:[b?.length?a(Fe,{children:[r("div",{className:Ae,role:"columnheader",scope:"col"}),r(Pe,{activeCardIndex:h,columnWidth:336,children:b.map(((e,t)=>r(Me,{...e,link:e.link&&P({router:m,handlerDecorator:d},e.link)},String(t))))})]}):null,g?.length?a("div",{className:"relative",children:[g.map(((e,t,{length:a})=>r(Ze,{row:e,isFirstRow:0===t,isLastRow:t+1===a,activeCardIndex:h,isColoredFirstColumn:o},String(t)))),y?r("div",{children:a("div",{className:"absolute top-7 right-7 z-10",children:[r(ce,{onClick:N,disabled:!w,ariaLabel:"Пролистать вправо"}),r(ce,{className:"mt-4 rotate-180",onClick:v,disabled:!k,ariaLabel:"Пролистать влево"})]})}):null]}):null]}),y?r("div",{className:"absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white"}):null,c?r("div",{className:"pr-[50px]",children:a("div",{className:"flex w-full",children:[r("div",{className:Ae}),r("button",{onClick:()=>u(!p),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:r("div",{className:"font-sans font-medium text-xs py-[11px]",children:p?"Скрыть":"Показать все параметры"})})]})}):null]})}));function Ge(e,t){const{data:r}=e(Ee(t),(()=>async function(e){const t=await fetch(Ee(e));return await t.json()}(t)));return r||{}}function Ee(e){return`/wcms-resources/${e||"credit-calculator-data"}.json`}const We=[{d:"M10.207.793a1 1 0 0 1 0 1.414l-6 6a1 1 0 0 1-1.414 0l-2.5-2.5a1 1 0 0 1 1.414-1.414L3.5 6.086 8.793.793a1 1 0 0 1 1.414 0Z",fillRule:"evenodd",clipRule:"evenodd",fill:"white"}],ze=n((({text:e,checked:t,onChange:n,className:i})=>r("div",{className:i,children:a("label",{className:"flex items-center cursor-pointer relative",children:[r("input",{className:`peer appearance-none w-5 h-5 border-solid border ${t?"border-black":"border-main-stroke"} rounded checked:bg-primary-main checked:border-primary-main m-0`,type:"checkbox",onChange:e=>{n(e.target.checked)},checked:t}),r(le,{paths:We,className:"hidden absolute left-1 ml-px peer-checked:block",width:"11",height:"9",fill:"white",viewBox:"0 0 11 9"}),e?r("span",{className:"font-sans ml-3 text-sm leading-5 cursor-pointer",children:e}):null]})}))),Ue=e=>new Intl.NumberFormat("ru-RU",{maximumSignificantDigits:3}).format(e),Je=n((({className:e,title:t,items:n=[],min:i=1,max:l=100,step:s=1,value:c=i,onChange:o})=>{const m=e=>{if(!o)return;const t=Number(e.replace(/\D/g,""));o(t)},d={backgroundSize:`${(100*(c-i)/(l-i)).toFixed(2)}% 100%`};return a("div",{className:e,children:[a("label",{className:"block relative",children:[t?r("span",{className:"absolute text-xs text-secondary-text top-1 mt-0.5 pl-4 ml-0.5",children:t}):null,r("input",{className:"m-0 font-sans text-sm w-full h-12 border border-solid border-main-stroke rounded-md\n outline-none p-0 pl-4 m-0 box-border text-primary-text "+(t?"pt-4":""),value:Ue(c),onChange:e=>m(e.target.value),onBlur:()=>{o&&(c<i&&o(i),c>l&&o(l))}}),r("div",{className:"absolute inset-x-0 top-8 px-4",children:r("input",{className:"box-border w-full m-0 cursor-pointer slider",type:"range",min:i,max:l,step:s,value:c,onChange:e=>m(e.target.value),style:d})})]}),r("div",{className:"flex justify-between my-3",children:n.map(((e,t)=>r("span",{className:"text-xs leading-[14px] text-secondary-text pl-4",children:e},String(t))))})]})})),Xe=(e,t,r)=>Math.max(t,Math.min(e,r)),Qe=3e4,qe=3e6,Ke=Math.round(41.5),Ye=n((({context:e,className:t,directoryName:n})=>{const[i,l]=e.useState(void 0),[s,c]=e.useState(void 0),[o,m]=e.useState(!0),[d,h]=e.useState(!0),x=(e=>{const{tableRows:t,isAnnuity:r=!1}=e;return t&&t.find((e=>e.isAnnuity===r))||{}})({tableRows:Ge(e.useAsyncData,n).rows,isAnnuity:o}),p=x.maxSum&&x.minSum?(x.maxSum-x.minSum)/2:1485e3,u=x.maxMonths&&x.minMonths?Math.round((x.maxMonths-x.minMonths)/2):Ke,b=x?.minSum||Qe,f=x?.maxSum||qe,g=x?.minMonths||1,N=x?.maxMonths||84,v=(e=>{const{calculatorParams:t,isInsurance:r}=e;return t?r?t?.rateWithInsurance||5:t?.rateWithoutInsurance||5:5})({calculatorParams:x,isInsurance:d}),y=(e=>{const{calculatorParams:t,paymentType:r,rate:a,sum:n,months:i}=e;if(!t)return 0;const l=Xe(n,t.minSum||Qe,t.maxSum||qe);if("annuity"===r){const e=Number(a)/1200;return l*(e+e/(Math.pow(1+e,i)-1))}return l/i+l*(Number(a)/12)})({calculatorParams:x,paymentType:"annuity",rate:v,sum:i||p,months:s||u}),w=((e,t)=>{const r=Math.ceil((t-e)/12),a=Math.floor(e/12)+1,n=new Array(Math.min(r-1,5)).fill(0).map(((e,t)=>a+t)),i=r+a-1;return n.concat(i)})(g,N);function k(e){c(Xe(12*e,g,N))}return r("section",{className:`font-sans text-primary-text p-10 bg-white ${t||""}`,children:a("div",{className:"box-border p-[49px] pr-[56px] mx-auto w-max border-solid border-[3px] border-primary-main rounded-md",children:[a("div",{className:"flex justify-between ",children:[a("div",{className:"mr-[42px]",children:[r(Je,{title:"Желаемая сумма кредита, ₽",items:[`От ${Ue(b)} рублей`,`До ${Ue(f)} рублей`],min:b,max:f,step:1e3,value:i||p,onChange:l}),r(Je,{className:"mt-[23px]",title:"Срок кредита, месяцев",items:["Или выберите из предложенных вариантов ниже"],min:g,max:N,step:1,value:s||u,onChange:c}),r("div",{className:"flex mb-7",children:w.map(((e,t)=>function(e,t,n){return r("button",{className:"bg-secondary-light rounded-3xl h-10 w-[75px] box-border mr-2 flex items-center justify-center cursor-pointer border-none",onClick:()=>n(e),children:a("span",{className:"font-semibold text-sm",children:[e," ",1===e?"год":e>4?"лет":"года"]})},String(t))}(e,t,k)))}),r(ze,{text:"Получаю пенсию на карту Россельхозбанка",checked:o,onChange:m}),r(ze,{className:"mt-3 mb-7",text:"Комплексная страховая защита",checked:d,onChange:h})]}),a("div",{className:"box-border h-fit p-9 bg-primary-main rounded-md text-white",children:[r("div",{className:"text-base mb-[18px]",children:"Наше предложение"}),r("div",{className:"text-sm opacity-60",children:"Ежемесячный платёж"}),a("div",{className:"text-lg mb-3",children:[Ue(Math.round(y))," ₽"]}),r("div",{className:"text-sm opacity-60",children:"Ставка"}),a("div",{className:"text-lg",children:[v," %"]})]})]}),a("div",{className:"flex items-center",children:[r(H,{className:"mr-3",text:"Отправить заявку",version:"primary",href:"#"}),r("div",{className:"w-80 text-2xs leading-4 text-secondary-text","aria-label":"Соглашение на обработку персональных данных",children:"Отправляя заявку, вы соглашаетесь на обработку персональных данных соответственно требованиям ФЗ «О персональных данных»"})]})]})})}));const et="https://www.cbr-xml-daily.ru/daily_json.js",tt=["USD","EUR"],rt={USD:"DollarIcon",EUR:"EuroIcon"},at=[{text:"Все показатели",href:"https://cbr.ru/currency_base/daily/",version:"secondary"}],nt=n((({className:e="",context:t,title:n="Курсы обмена валют"})=>{const{data:i}=t.useAsyncData(et,st);return r("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${ee(e)} ${Y(e)} `,children:r(Q,{context:t,title:n&&r(s,{headingType:K(e),title:n,className:"whitespace-pre-wrap max-w-[600px]"}),buttons:at?.length?r(G,{context:t,buttons:at,className:"flex mt-9 gap-3"}):null,children:a("table",{children:[r("thead",{children:a("tr",{children:[r(it,{children:"Валюта"}),r(it,{className:"pl-11",children:"Курс"})]})}),r("tbody",{children:tt.map(mt(i))})]})})})})),it=n((({className:e="",children:t})=>r("th",{className:`text-left font-normal text-sm text-secondary-text ${e}`,children:t}))),lt=n((({className:e="",children:t})=>r("td",{className:`text-left font-normal text-base text-primary-text ${e}`,children:t})));async function st(){const e=await fetch(et);return await e.json()}const ct=new Intl.NumberFormat("ru",{style:"currency",currency:"RUB"}),ot=e=>e?ct.format(e):"",mt=e=>t=>{const n=(e?.Valute||{})[t]?.Value;return a("tr",{children:[r(lt,{className:"pt-4",children:a("div",{className:"flex items-center",children:[r(m,{name:rt[t],width:"24",height:"24"}),r("span",{className:"ml-2",children:t})]})}),r(lt,{className:"pt-4 pl-11",children:ot(n)})]},t)},dt=["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"],ht={"bg-white":"text-primary-main",transparent:"text-white"},xt={"bg-white":"text-black",transparent:"text-white"},pt=n((({className:e,href:t,children:n,targetBlank:i,bgColor:l="bg-white",hideTitle:s})=>a("a",{className:`inline-flex items-center font-sans no-underline ${e||""}`,href:t||"https://rshb.ru/",target:i?"_blank":"_self","aria-label":"Россельхозбанк",children:[r(le,{className:`${ht[l]} w-10`,viewBox:"0 0 40 45",paths:dt.map((e=>({d:e})))}),!s&&r("span",{className:`${xt[l]} text-base font-medium ml-2.5`,children:n||"Россельхозбанк"})]}))),ut=n((({className:e,context:t})=>{const{term:n,setTerm:i}=t.useSearch();return a("form",{className:`relative ${e||""}`,children:[a("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[r("div",{className:"w-[24px] h-[24px]",children:r(m,{name:"LoupeIcon",width:"24",height:"24"})}),!n&&r("label",{htmlFor:"search-bar-input",className:"font-sans font-normal text-base text-secondary-text",children:"Поиск по сайту"})]}),r("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:n,onChange:e=>i(e.target.value),type:"text",name:"search-bar-input"}),r(H,{version:"primary",text:"Найти",className:"invisible peer-focus:visible absolute top-1 right-1",onClick:e=>{e.preventDefault(),console.log("click")},children:r("div",{className:"font-normal text-sm px-9 py-[9px]",children:"Найти"})})]})})),bt=n((({className:e,items:t,hasButton:n,context:i})=>{const l=i.useRouter(),{handlerDecorator:s}=i;return a("div",{className:`flex flex-col ${e||""}`,children:[t?.length?t.map(ft):null,n?r(H,{version:"primary",className:"my-4",...P({router:l,handlerDecorator:s},{text:"Обратная связь",href:"/",target:"_blank"})}):null]})})),ft=(e,t)=>{const{type:n,text:i,description:l}=e;return a("div",{className:"mb-4",children:[r("div",{children:gt(n,i)}),r("div",{className:"font-sans text-sm text-secondary-text",children:l})]},String(t))},gt=(e,t="")=>{switch(e){case"tel":return r("a",{className:"font-sans font-medium text-xl text-primary-text no-underline",href:`tel:${Nt(t)}`,children:t});case"email":return r("a",{className:"font-sans font-medium text-xl text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return r("span",{children:t})}},Nt=e=>e.replaceAll(/\D/g,""),vt=n((({links:e,className:t="",context:a})=>{const n=a.useRouter(),{handlerDecorator:i}=a;return r("div",{className:t,children:e?.length?r("div",{className:"flex justify-between items-center gap-5 py-5 border-solid border-x-0 border-y border-y-main-divider",children:e.map(((e,t)=>r(yt,{index:t,...P({router:n,handlerDecorator:i},e)},String(t))))}):null})})),yt=n((({className:e="",index:t,text:a,href:n,target:i,onClick:l})=>r("a",{className:`font-sans font-normal text-sm text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${e}`,href:n,target:i,onClick:l,children:a||`Документ ${t}`}))),wt=e=>t=>e?.href===t?.href,kt=(e,t)=>{return(a=e,n=t,(a||[]).map((e=>n?.find(wt(e))||e))).concat((r=e,(t||[]).filter((e=>!r?.find(wt(e))))));var r,a,n};function $t(e){const{data:t}=e(St(),Ct);return t||{}}async function Ct(){const e=await fetch(St());return await e.json()}function St(){return`/wcms-resources/${c.SITEMAP||"sitemap"}.json`}const Tt=n((({className:e,items:t,context:a})=>{const n=$t(a.useAsyncData),i=kt(n.topItems,t),l={router:a.useRouter(),handlerDecorator:a.handlerDecorator};return r("div",{className:`flex items-start justify-start gap-11 xl:gap-5 ${e||""}`,children:i?.map(((e,t)=>Dt(e,t,l)))})})),Dt=(e,t,{router:n,handlerDecorator:i})=>{const{text:l,href:s,items:c,target:o}=e;return a("div",{className:"flex flex-col gap-[14px]",children:[r("a",{className:"block font-sans font-medium text-base text-primary-text no-underline",href:s,target:o||"_self",children:l||`Раздел ${t}`}),c?.map(((e,t)=>r(Lt,{...P({router:n,handlerDecorator:i},e),index:t},String(t))))]},String(t))},Lt=n((({text:e,href:t,target:a,index:n})=>r("a",{className:"block font-sans font-normal text-base text-secondary-text hover:text-primary-main no-underline",href:t,target:a||"_self",children:e||`Раздел ${n}`}))),It=[{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"}],_t=n((({href:e})=>{const{icon:t,width:a,height:n,label:i}=It.find((({origins:t})=>t.some((t=>e?.includes(t)))))||{};return t?r("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:m&&r(m,{name:t,width:a,height:n,asSVG:!0,className:"block"})}):null})),jt=n((({className:e,media:t,context:a})=>{const n=a.useRouter(),{handlerDecorator:i}=a;return r("div",{className:`flex items-end justify-end gap-2 pt-[30px] pb-7 ${e||""}`,children:t?.map(((e,t)=>r(_t,{...P({router:n,handlerDecorator:i},e)},String(t))))})})),Rt=n((({className:e,links:t,context:n})=>{const i=n.useRouter(),{handlerDecorator:l}=n;return a("div",{className:`${e||""}`,children:[r("div",{className:"pt-5 pb-[5px]",children:r("span",{className:"font-sans font-normal text-xs text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?r("div",{className:"flex justify-start items-start gap-5 pt-[5px]",children:t.map(((e,t)=>r(At,{index:t,...P({router:i,handlerDecorator:l},e)},String(t))))}):null]})})),At=n((({className:e,index:t,text:a,href:n,target:i,onClick:l})=>r("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:n,target:i,onClick:l,children:a||`Документ ${t}`}))),Mt=n((({className:e,documents:t,relatedEnterprises:n,contacts:i,socialMedia:l,topItems:s,context:c})=>a("footer",{className:`px-9 py-10 bg-white ${e||""}`,children:[a("div",{className:"flex items-stretch gap-[54px] pb-8 xl:gap-8",children:[r(pt,{className:"w-[280px] xl:w-[220px]"}),r(ut,{context:c,className:"grow"})]}),a("div",{className:"flex items-stretch gap-[54px] xl:gap-8",children:[r(bt,{className:"w-[280px] shrink-0 overflow-hidden xl:w-[220px]",items:i,context:c,hasButton:!0}),r(Tt,{className:"pt-[3px]",context:c,items:s})]}),r(jt,{media:l,context:c}),r(vt,{links:n,context:c}),r(Rt,{links:t,context:c})]}))),Bt=(e,t,r=((e,t)=>t.startsWith(e)))=>r(_(e),(e=>(e||"").replace(A,""))(_(I(e)?t.href:t.pathname))),Pt=e=>t=>Bt(t.href,e),Vt=e=>(t=[])=>{const r=t?.filter(Pt(e));var a;return r?.length?(a=e=>e.href?.length||0,e=>e.reduceRight(((e,t)=>a(e)>a(t)?e:t)))(r):null},Ot=e=>t=>t.items?.some(Pt(e))||Bt(t.href,e)||((e,t)=>j(e)===j(t.href))(t.href,e),Ft="absolute left-0 -bottom-3 w-full h-[2px]",Zt=n((({className:e,text:t,href:n,target:i,active:l,onClick:s,children:c,bgColor:o="bg-white"})=>a("a",{className:`relative inline-block bg-transparent text-center no-underline ${e||""}`,href:n,target:i,onClick:s,children:[r("span",{className:Ht(o,l),children:t||c}),l?r("div",{className:Gt(o,l)}):null]}))),Ht=(e,t)=>{let r="text-white";return"bg-white"===e&&(r=t?"text-primary-main":"text-primary-text hover:text-primary-main"),`${r} font-sans font-normal text-base`},Gt=(e,t)=>t?`${"bg-white"===e?"bg-primary-main":e} ${Ft}`:Ft,Et=n((({className:e="",text:t,href:a,target:n,active:i,flat:l,onClick:s,children:c,ariaLabel:o,bgColor:m="bg-white"})=>r("a",{className:`${Wt(m,i,l)} ${e}`,href:a,target:n,onClick:s,rel:"noopener noreferrer","aria-label":o,children:r("span",{className:zt(m,i,l),children:t||c})}))),Wt=(e,t,r)=>{let a="border-transparent";return t&&(a="rounded-md "+("bg-white"===e?"border-primary-main":"border-white")),`${a} inline-block border border-solid bg-transparent text-center no-underline ${r?"":"px-4 py-2"}`},zt=(e,t,r)=>{let a="text-white";return"bg-white"===e&&(a=t?"text-primary-main":(r?"text-primary-text":"text-secondary-text")+" hover:text-primary-main"),`${a} font-sans font-normal text-sm`},Ut=n((({className:e="",children:t,ariaLabel:a})=>r("button",{type:"button",className:`border-0 p-0 w-[24px] h-[24px] flex items-center bg-inherit cursor-pointer ${e}`,disabled:!0,"aria-label":a,children:t}))),Jt={"bg-white":"text-primary-text hover:text-primary-main",transparent:"text-white"},Xt={"bg-white":"text-secondary-light hover:text-secondary-hover",transparent:"text-white"},Qt={"bg-white":"GridIcon",transparent:"GridIconWhite"},qt=n((({context:e,className:t,defaultLocation:n="",bgColor:i="bg-white"})=>{const[l,s]=e.useGeolocation(n);return a("div",{className:`flex items-center ${t||""}`,children:[r(Et,{className:"mr-5",flat:!0,href:"#",text:l,ariaLabel:"Местоположение",onClick:s,bgColor:i}),r(Et,{className:"mr-7",flat:!0,href:"#",text:"Офисы и банкоматы",ariaLabel:"Список всех доступных офисов и банкоматов",bgColor:i}),r(Ut,{className:`mr-5 ${Jt[i]}`,ariaLabel:"Поиск по сайту",children:r(m,{name:"LoupeIcon",className:"h-full",asSVG:!0,color:"none"})}),r(Ut,{className:`mr-5 ${Jt[i]}`,ariaLabel:"Профиль",children:r(m,{name:"ProfileIcon",className:"h-full",asSVG:!0,color:"none"})}),r(Ut,{className:`${Xt[i]} min-w-[32px] min-h-[32px]`,ariaLabel:"Дополнительные ссылки",children:r(m,{name:Qt[i],className:"h-full",asSVG:!0,color:"none"})})]})})),Kt={"bg-white":"bg-main-divider",transparent:"bg-main-divider opacity-30"},Yt=n((({className:e,defaultLocation:t,bgColor:n="bg-white",context:i,topItems:l})=>{const s=i.useRouter(),c=$t(i.useAsyncData),{handlerDecorator:o}=i,m=kt(c.topItems,l),d=m.find(Ot(s)),h=d?.items,x=Vt(s)(h),p=m.map(((e,t)=>r(Et,{active:e===d,...P({router:s,handlerDecorator:o},e),ariaLabel:e.text,bgColor:n},String(t)))),u=h?.map((e=>r(Zt,{className:"mr-8",active:e===x,...P({router:s,handlerDecorator:o},e),bgColor:n},e.href)));return r("header",{className:`pt-5 pb-8 px-20 ${n} ${e||""}`,children:a("div",{className:"container",children:[a("div",{className:"flex items-center",children:[r(pt,{className:"mr-8",bgColor:n}),p,r(qt,{context:i,className:"ml-auto",defaultLocation:t,bgColor:n})]}),r("div",{className:`mt-5 h-[1px] ${Kt[n]}`}),r("nav",{className:"mt-5",children:u})]})})})),er=n((({className:e="",context:t,title:n="Мобильное приложение",qr:i,buttons:l=[]})=>r("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${ee(e)} ${Y(e)} `,children:r(Q,{context:t,title:n&&r(s,{headingType:K(e),title:n,className:"whitespace-pre-wrap max-w-[600px]"}),buttons:l?.length?r(G,{context:t,buttons:l,className:"flex mt-9 gap-3"}):null,children:a("div",{className:"flex items-center",children:[i?.src&&i?.href&&r("a",{href:i.href,target:"_blank",children:r("img",{src:i.src,alt:n,title:n,width:"164",height:"164",className:"w-[90px] h-[90px] min-w-[90px] min-h-[90px] bg-secondary-light"})}),r("span",{className:"font-normal text-sm text-secondary-text ml-4",children:"Наведите камеру телефона на QR-код и скачайте приложение"})]})})}))),tr=n((({className:e,text:t,onClick:a,href:n,target:i,isActive:l})=>r("a",{className:`bg-inherit no-underline px-4 py-2.5 cursor-pointer rounded text-sm border border-solid hover:text-primary-main ${e||""} ${l?"border-primary-main text-primary-main":"border-white text-secondary-text"}`,onClick:a,href:n,target:i,children:t}))),rr=n((({className:e,context:t,title:n,buttons:i})=>{const l=t.useRouter(),{handlerDecorator:s}=t,c=Vt(l)(i);return a("section",{className:`font-sans text-primary-text rounded-[40px] flex items-center justify-between ${e||""}`,children:[r("h2",{className:"font-medium text-xl m-0",children:n}),i?.length?r("div",{className:"flex rounded-md overflow-hidden bg-white",children:i.filter((({text:e})=>e)).map(((e,t)=>r(tr,{className:"first:rounded-tl-md first:rounded-bl-md last:rounded-tr-md last:rounded-br-md",isActive:e===c,...P({router:l,handlerDecorator:s},e)},String(t))))}):null]})})),ar=n((({className:e,context:t,title:a})=>r(re,{className:e,context:t,title:a,description:"Блок в разработке...",children:r("figure",{className:"m-0 min-w-[600px]",children:nr()})}))),nr=(e=3)=>lr(100,e).map((e=>Math.floor(e))).map(ir),ir=(e=100,t)=>r("div",{style:{width:`${e}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),lr=(e,t)=>[e].concat(t>0?lr(e/1.618,t-1):[]),sr=n((({text:e,href:t,target:a,onClick:n,className:i="",children:l})=>t?r("a",{className:`no-underline ${i}`,href:t,target:a,onClick:n,children:r("span",{className:i,children:e||l})}):r("span",{className:i,children:e||l})));function cr(e){return t=>t.reduce(((t,r,a)=>t.length?t.concat({...e,key:a},r):[r]),[])}const or={primary:"bg-main",secondary:"bg-white/30"},mr={primary:"text-primary-text",secondary:"text-white"},dr={primary:"text-secondary-text",secondary:"text-white"};const hr=n((({className:e="",context:t,title:n,headingType:i="h2",description:l,benefits:c,buttons:o,image:d,items:h,version:x="primary"})=>a("div",{className:`flex grow justify-between items-stretch ${e}`,children:[r("div",{className:"flex flex-col",children:a(Q,{context:t,title:n&&r(s,{headingType:i,title:n,className:"whitespace-pre-wrap max-w-[600px]"}),buttons:o?.length?r(G,{context:t,buttons:o,className:"flex mt-9 gap-3"}):null,children:[l&&r(E,{className:"mt-4 max-w-[600px]",description:l}),c?.length?r("div",{className:"flex gap-6 mt-6 mb-3.5",children:c.map(((e,t)=>function(e,t,n){return a("div",{className:"flex gap-4 items-center",children:[e.icon&&r(m,{className:`w-[50px] h-[50px] min-w-[50px] min-h-[50px] rounded-full p-[10px] box-border ${or[n]}`,name:e.icon,width:"24",height:"24",asSVG:!0}),a("div",{className:"flex gap-1 flex-col h-full max-w-[149px]",children:[r("div",{className:`font-medium text-xl m-0 ${mr[n]}`,children:e.label}),e.description&&r("div",{className:`font-normal text-sm ${dr[n]}`,children:e.description})]})]},String(t))}(e,t,x)))}):null,h?.length?r(X,{items:h}):null]})}),d?.src&&r(w,{className:"mt-auto",image:d})]}))),xr={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},pr={primary:"text-secondary-text",secondary:"text-white/80"},ur=n((e=>{const{context:t,className:n,breadcrumbs:i,version:l="primary"}=e,s=t.useRouter(),{handlerDecorator:c}=t;return a("section",{className:`font-sans pt-10 pl-[50px] pb-[50px] pr-[7.5rem] box-border min-h-[420px] ${n||""} ${xr[l]}`,children:[i?.length?r("div",{className:"text-xs mb-6",children:cr(r("span",{className:`mx-2 ${pr[l]}`,children:"/"}))(i.map(((e,t)=>r(sr,{...P({router:s,handlerDecorator:c},{className:pr[l],...e})},String(t)))))}):null,r(hr,{...e})]})})),br=n((({className:e,context:t,duration:n=0,slides:i=[]})=>{const l=i.map((e=>e.nav)),s=i.map((e=>e.productBlock)),[c,o]=t.useState(0);return a("section",{className:`font-sans bg-white overflow-hidden w-100 ${e||""}`,children:[r("div",{className:"flex duration-1000",style:{transform:`translateX(-${c}00%)`},role:"list",children:s.map(((e,a)=>function(e,t,a){return r("section",{className:"flex grow-0 shrink-0 basis-full",role:"listitem",children:r("div",{className:"p-10 flex grow",children:r(hr,{className:"pl-2.5 pt-2.5 pb-1.5 pr-[6.25rem]",context:a,...e})})},String(t))}(e,a,t)))}),r("div",{className:"flex",children:l.map(((e,t)=>function({slide:e,i:t,activeSlideIndex:n,onClick:i,duration:l}){const s=t===n,c=s?"animate-slide":"",o=s?"text-primary-text":"text-secondary-text";return a("button",{type:"button",onClick:i,"aria-label":e?.title,className:"font-sans group relative overflow-hidden border-0 bg-inherit cursor-pointer text-left px-0 pt-4 pb-5 grow basis-0",children:[a("div",{className:"border-0 border-r border-solid border-main-divider px-6",children:[r("div",{className:`text-sm font-medium pb-1 group-hover:text-primary-text ${o}`,children:e?.title}),r("div",{className:"text-xs text-secondary-text pb-[2px]",children:e.desc})]}),r("div",{className:`absolute bottom-0 left-0 w-full h-[3px] bg-primary-main -translate-x-full ${c}`,style:{animationDuration:`${l}s`,animationFillMode:"forwards"}})]},String(t))}({slide:e,i:t,activeSlideIndex:c,onClick:()=>o(t),duration:n})))})]})}));const fr={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},gr=n((({className:e="",context:t,title:n="Акции и спецпредложения",date:i,description:l,buttons:c=[],version:o="primary"})=>r("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${fr[o]} ${ee(e)} ${Y(e)} `,children:r(Q,{context:t,title:n?r(s,{headingType:K(e),title:n,className:"whitespace-pre-wrap max-w-[600px]"}):null,buttons:c?.length?r(G,{context:t,buttons:c,className:"flex mt-9 gap-3"}):null,children:a("div",{className:"mt-1.5",children:[i?r("div",{className:"text-sm mb-2",children:Nr(i)}):null,r("div",{className:"text-base",children:l})]})})})));function Nr(e){return new Date(e).toLocaleString("ru-RU",{day:"numeric",month:"long",year:"numeric"}).replace("г.","")}const vr=n((({className:e,title:t,showLines:n=!0,steps:i})=>a("section",{className:`box-border font-sans text-primary-text bg-white px-20 py-[50px] flex flex-col items-center ${e||""}`,children:[r(s,{headingType:"h2",className:"max-w-[47rem] text-center",title:t}),i?.length?a("div",{className:"box-border py-0.5 mb-0.5 "+(t?"mt-9":""),children:[r("div",{className:"flex items-center px-[88px]",children:cr(r("div",{className:"h-0.5 w-full bg-secondary-light "+(n?"":"opacity-0")}))(i.map(((e,t)=>yr(e,t))))}),r("div",{className:"flex justify-between gap-x-[101px]",children:i.map(wr)})]}):null]}))),yr=(e,t)=>r("div",{className:"flex flex-col items-center text-center relative",children:r("div",{className:"h-[100px] w-[100px] min-w-[100px] min-h-[100px] bg-secondary-light rounded-full p-[26px] box-border z-10",children:e.icon&&r(m,{name:e.icon,width:"48",height:"48"})||r("span",{className:"font-medium text-title-sm text-secondary-text",children:t+1})})},String(t)),wr=(e,t)=>a("div",{className:"flex flex-col items-center text-center relative w-[276px] whitespace-pre-line overflow-hidden",children:[e.label&&r("div",{className:"font-medium text-xl m-0 mt-4",children:e.label}),e.description&&r("div",{className:"font-normal text-sm text-secondary-text "+(e.label?"mt-2":"mt-4"),children:e.description})]},String(t)),kr=n((({cell:e,isLastRow:t})=>r("div",{className:"first:pl-0 pl-10 w-80 flex-grow flex flex-col border-solid border-main-divider border border-t-0 border-x-0 "+(t?"border-t-0 rounded-b-md":""),role:"cell",children:r("div",{children:e.map(((e,t)=>$r(e,t)))})}))),$r=({label:e,description:t,list:n,image:i,buttons:l},s)=>a("div",{className:"first:pt-5 last:pb-5",children:[s>0&&r("div",{className:"border-main-divider border border-solid border-t-0 border-x-0 my-4"}),e&&r("div",{className:"text-xl font-medium m-0",children:e}),t&&r("div",{className:"text-sm text-secondary-text",children:t}),n?.items?.length?r("div",{className:"flex flex-col justify-between items-start",children:r("div",{role:"list",children:n.items.map(((e,t)=>r(ue,{className:"text-sm",text:e,version:"gray",isDotted:n.isDotted??!0},String(t))))})}):null,i&&r(w,{image:i}),l?.length?l.map((({icon:e,...t},a)=>r(H,{className:(a>0?"ml-3":"")+" w-12 h-12",appendLeft:e&&r(m,{name:e,width:"24px",height:"24px",asSVG:!0}),...t},String(a)))):null]},String(s)),Cr=n((({row:{header:e,data:t},activeCardIndex:n,isLastRow:i})=>a(Fe,{children:[r("div",{className:"text-sm py-5 w-[354px] flex-shrink-0 border-main-divider border border-t-0 border-x-0 "+(i?"":"border-solid"),children:a("div",{className:"flex items-center text-primary-text",children:[e?.icon&&r(m,{className:"mr-[14px] max-w-6 max-h-6",name:e.icon,width:"24px",height:"24px",asSVG:!0}),e?.title]})}),t?.length?r(Pe,{activeCardIndex:n,columnWidth:360,version:"tariff",children:t.map(((e,t)=>r(kr,{cell:e,isLastRow:i},String(t))))}):null]}))),Sr=n((({className:e,context:t,title:n,rowHeaders:i,columns:l})=>{const[c,o]=t.useState(0),m=l?.map((({data:e})=>e))||[],d=i?.map(((e,t)=>({header:e,data:m.map((e=>e?.[t]||[{}]))}))),{nextClick:h,prevClick:x,isScrollAvailable:p,showNextButton:u,showPrevButton:b}=Ie({colData:m,colsLengthForScroll:2,activeCardIndex:c,setActiveCardIndex:o});return a("section",{className:`bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${e||""}`,children:[r(s,{headingType:"h2",className:"max-w-[47rem] text-center mb-9 mx-auto",title:n}),a("div",{role:"table",children:[d?.length?a("div",{className:"relative",children:[d.map(((e,t,{length:a})=>r(Cr,{row:e,isLastRow:t+1===a,activeCardIndex:c},String(t)))),p?r("div",{children:a("div",{className:"absolute top-7 right-7 z-10",children:[r(ce,{onClick:h,disabled:!u,ariaLabel:"Пролистать вправо"}),r(ce,{className:"mt-4 rotate-180",onClick:x,disabled:!b,ariaLabel:"Пролистать влево"})]})}):null]}):null,p?r("div",{className:"absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white"}):null]})]})})),Tr={Accordion:Te,BenefitsBlock:De,ComparisonTable:He,CreditCalculator:Ye,ExchangeRateTile:nt,Footer:Mt,Gallery:ye,Header:Yt,Headline:h,LinkDocs:y,MiniGallery:we,MobileAppTile:er,PictureText:$,Placeholder:ar,ProductBlock:ur,ProductGallery:br,ProductTile:ne,PromoTile:gr,StepsBlock:vr,TariffsTable:Sr,TextBlock:T,Tile:re,Navigation:rr},Dr=n((({className:e,onClick:t,ariaLabel:a})=>r("button",{type:"button",className:`border-0 w-[36px] bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":a,children:Lr()}))),Lr=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return a("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[r("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"}),r("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"})]})},Ir=n((({className:e,context:t})=>{const n=t.useLikeService();return a("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:[r(Dr,{onClick:n.like,ariaLabel:"Поставить отметку «лайк»"}),r(Dr,{onClick:n.dislike,className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),r("span",{className:"select-none",children:n.likeCount})]})})),_r=({blockClassName:e,block:t,render:r})=>r({blockClassName:e,block:t}),jr=n((({className:e,context:t,blocksRegistry:n,data:{style:i,blocks:l,slots:s={},likeControl:c,colorPalette:o="pc"},blockDecorator:m=_r})=>{const{header:d}=s;return a("section",{className:`relative ${Ar(i)} ${e||""}`,"data-theme":o,children:[d?.blocks?.length?r("div",{className:`${Ar(d?.style)}`,children:d.blocks.map(((e,r)=>Rr({block:e,blockDecorator:m,blocksRegistry:n,context:t},r)))}):null,l?.length?r("div",{className:"container grid grid-cols-12 gap-1",children:l.map(((e,r)=>Rr({block:e,blockDecorator:m,blocksRegistry:n,context:t},r)))}):null,c&&r("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:r(Ir,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto",context:t})})]})}));function Rr({block:e,blockDecorator:t,blocksRegistry:a,context:n},i){const{type:l}=e;l in a||console.warn(`No block with "${l}" is registered`);const s=a[l]||ar;return t({blockClassName:Ar(e.style),block:e,render:e=>{const{version:t,content:a}=e.block;return r(s,{className:e.blockClassName,version:t,context:n,...a},`${l}-${i}`)}},`block-${i}`)}function Ar(e){return e?e.join(" "):""}const Mr=n((({HeadComponent:e,data:t,children:n})=>{const{title:i,description:l,keywords:s,robots:c,og:o}=t;return a(e,{children:[r("title",{children:i}),r("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),l&&r("meta",{name:"description",content:l}),s&&r("meta",{name:"keywords",content:s.join(",")}),c&&r("meta",{name:"robots",content:c.join(",")}),o?Object.entries(o).map((([e,t])=>r("meta",{name:`og:${e}`,content:t},e))):null,n]})}));function Br(e){const{mobile:t,...r}=e;return r}function Pr(e){return e?.filter((e=>function(e,t){return e.type in t}(e,Tr))).map(Br)}e.Blocks=Tr,e.ContentPage=jr,e.ContentPageHead=Mr,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))))))(),r=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await r.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}},e.Header=Yt,e.Icon=m,e.LikeAPI=function(e,t=""){async function r(){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:r,name:a}=await e.json();return globalThis.localStorage.setItem(i,JSON.stringify({token:r,name:a})),{token:r,name:a}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...a){if(!a.length)return[];const{token:n}=await r();try{const r=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n},body:JSON.stringify({node_ids:a})}),{likes:i}=await r.json();return i||[]}catch(e){return console.error(e),[]}},like:async function(a){if(!a)return 0;const{token:n,name:i}=await r();try{const r=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:i},body:JSON.stringify({node_id:a,user_name:i})}),{likes:l}=await r.json();return l||0}catch(e){return console.error(e),0}},dislike:async function(a){if(!a)return 0;const{token:n,name:i}=await r();try{const r=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:n,UserID:i},body:JSON.stringify({node_id:a,user_name:i})}),{likes:l}=await r.json();return l||0}catch(e){return console.error(e),0}}}},e.joinList=cr,e.normalizePage=function(e){if(!e)return;const{blocks:t,slots:r}=e;return{...e,blocks:Pr(t),slots:r&&Object.keys(r).reduce(((e,t)=>({...e,[t]:{...r[t],blocks:Pr(r[t].blocks)}})),{})}},e.projectSettings=c,e.setup=t,e.url=R,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -2,9 +2,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.Accordion = 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 Title_1 = require("../../ui-kit/Title/Title");
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, accordionItems, context, className }) => {
8
- return ((0, jsx_runtime_1.jsxs)("section", { className: `p-[50px] font-sans bg-white text-primary-text ${className || ''}`, children: [title ? (0, jsx_runtime_1.jsx)(Title_1.Title, { className: "m-0 mb-2.5", children: title }) : 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 }, `AccordionItem${i}`))) })) : null] }));
8
+ return ((0, jsx_runtime_1.jsxs)("section", { className: `p-[50px] font-sans bg-white text-primary-text ${className || ''}`, children: [title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h4", className: "mb-2.5", title: title }) : 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 }, `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,oDAAiD;AAEjD,mDAAgD;AAInC,QAAA,SAAS,GAAG,IAAA,aAAG,EAAiB,CAAC,EAAE,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE;IAC7F,OAAO,CACL,qCAAS,SAAS,EAAE,iDAAiD,SAAS,IAAI,EAAE,EAAE,aACnF,KAAK,CAAC,CAAC,CAAC,uBAAC,aAAK,IAAC,SAAS,EAAC,YAAY,YAAE,KAAK,GAAS,CAAC,CAAC,CAAC,IAAI,EAC5D,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,OAA+B,IAAI,EAAE,OAAO,EAAE,OAAO,IAA/C,gBAAgB,CAAC,EAAE,CAAgC,CACxE,CAAC,GACC,CACN,CAAC,CAAC,CAAC,IAAI,IACA,CACX,CAAC;AACJ,CAAC,CAAC,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,EAAiB,CAAC,EAAE,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,EAAE;IAC7F,OAAO,CACL,qCAAS,SAAS,EAAE,iDAAiD,SAAS,IAAI,EAAE,EAAE,aACnF,KAAK,CAAC,CAAC,CAAC,uBAAC,iBAAO,IAAC,WAAW,EAAC,IAAI,EAAC,SAAS,EAAC,QAAQ,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC5E,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,OAA+B,IAAI,EAAE,OAAO,EAAE,OAAO,IAA/C,gBAAgB,CAAC,EAAE,CAAgC,CACxE,CAAC,GACC,CACN,CAAC,CAAC,CAAC,IAAI,IACA,CACX,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -2,9 +2,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.Accordion = 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 Title_1 = require("../../ui-kit/Title/Title");
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)(Title_1.Title, { className: "m-0 mb-2 font-medium text-center", size: "M", children: 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.mobile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Accordion.mobile.js","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,oDAAiD;AAEjD,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,CACP,uBAAC,aAAK,IAAC,SAAS,EAAC,kCAAkC,EAAC,IAAI,EAAC,GAAG,YACzD,KAAK,GACA,CACT,CAAC,CAAC,CAAC,IAAI,EACP,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.mobile.js","sourceRoot":"","sources":["../../../src/components/Accordion/Accordion.mobile.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, context }) => {
11
11
  blocks,
12
12
  });
13
13
  return ((0, jsx_runtime_1.jsxs)("li", { className: "border-0 border-b border-solid border-main-divider last:border-b-0", children: [(0, jsx_runtime_1.jsxs)("button", { className: `border-none bg-transparent px-0 py-5 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-xl 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-xl 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,OAAO,EAAE,EAAE,EAAE;IAClF,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,IAAA,iCAAe,EAAC;QACzD,OAAO;QACP,MAAM;KACP,CAAC,CAAC;IAEH,OAAO,CACL,gCAAI,SAAS,EAAC,oEAAoE,aAChF,oCACE,SAAS,EAAE;UACT,UAAU,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE,EAAE,EAC5C,OAAO,EAAE,YAAY,aAErB,iCACE,SAAS,EAAE,8BACT,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,OAAO,EAAE,EAAE,EAAE;IAClF,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,YAAY,EAAE,GAAG,IAAA,iCAAe,EAAC;QACzD,OAAO;QACP,MAAM;KACP,CAAC,CAAC;IAEH,OAAO,CACL,gCAAI,SAAS,EAAC,oEAAoE,aAChF,oCACE,SAAS,EAAE;UACT,UAAU,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC,EAAE,EAAE,EAC5C,OAAO,EAAE,YAAY,aAErB,iCACE,SAAS,EAAE,8BACT,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"}
@@ -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.mobile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AccordionItem.mobile.js","sourceRoot":"","sources":["../../../src/components/Accordion/AccordionItem.mobile.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.mobile.js","sourceRoot":"","sources":["../../../src/components/Accordion/AccordionItem.mobile.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,11 +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 Title_1 = require("../../ui-kit/Title/Title");
6
- const BaseTileInner_1 = require("./BaseTileInner");
7
- const getTitleSizeByClassName_1 = require("./getTitleSizeByClassName");
8
- const TITLE_CLASSES = 'font-medium m-0 whitespace-pre-wrap max-w-[600px]';
9
- exports.BaseTile = (0, uni_jsx_1.JSX)(({ className, context, title, titleSize, description, children, buttons, image, items, version = 'primary', }) => {
10
- return ((0, jsx_runtime_1.jsxs)("div", { className: `font-sans flex flex-col grow h-full items-start`, children: [title && ((0, jsx_runtime_1.jsx)(Title_1.Title, { size: titleSize || (0, getTitleSizeByClassName_1.getTitleSizeByClassName)(className), className: `${TITLE_CLASSES} ${version === 'primary' ? 'text-primary-text' : ''}`, children: 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] })] }));
11
7
  });
12
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,oDAAiD;AACjD,mDAAgD;AAEhD,uEAAoE;AAIpE,MAAM,aAAa,GAAG,mDAAmD,CAAC;AAE7D,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EACC,SAAS,EACT,OAAO,EACP,KAAK,EACL,SAAS,EACT,WAAW,EACX,QAAQ,EACR,OAAO,EACP,KAAK,EACL,KAAK,EACL,OAAO,GAAG,SAAS,GACpB,EAAE,EAAE;IACH,OAAO,CACL,iCAAK,SAAS,EAAE,iDAAiD,aAC9D,KAAK,IAAI,CACR,uBAAC,aAAK,IACJ,IAAI,EAAE,SAAS,IAAI,IAAA,iDAAuB,EAAC,SAAS,CAAC,EACrD,SAAS,EAAE,GAAG,aAAa,IAAI,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,EAAE,EAAE,YAEhF,KAAK,GACA,CACT,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"}