@redneckz/wildless-cms-uni-blocks 0.3.33 → 0.3.36

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 (636) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +298 -158
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/cosmos-static/icons/ArrowLeftIcon.svg +1 -0
  5. package/cosmos-static/icons/BurgerIcon.svg +1 -1
  6. package/cosmos-static/icons/Calendar2Icon.svg +1 -1
  7. package/cosmos-static/icons/CalendarCircleIcon.svg +1 -1
  8. package/cosmos-static/icons/CalendarIcon.svg +1 -1
  9. package/cosmos-static/icons/CalendarTickIcon.svg +1 -1
  10. package/cosmos-static/icons/CalendarWhiteIcon.svg +1 -1
  11. package/cosmos-static/icons/CardIcon.svg +1 -1
  12. package/cosmos-static/icons/CardPosIcon.svg +1 -1
  13. package/cosmos-static/icons/CardTickIcon.svg +1 -1
  14. package/cosmos-static/icons/ChartSquareIcon.svg +1 -1
  15. package/cosmos-static/icons/CloseIcon.svg +1 -1
  16. package/cosmos-static/icons/DiscountShapeIcon.svg +1 -1
  17. package/cosmos-static/icons/DocIcon.svg +1 -1
  18. package/cosmos-static/icons/DocumentTextIcon.svg +1 -1
  19. package/cosmos-static/icons/EmptyWalletChangeIcon.svg +1 -1
  20. package/cosmos-static/icons/EmptyWalletIcon.svg +1 -1
  21. package/cosmos-static/icons/GlobalIcon.svg +1 -1
  22. package/cosmos-static/icons/GpsIcon.svg +1 -1
  23. package/cosmos-static/icons/InterestIcon.svg +1 -1
  24. package/cosmos-static/icons/MoneyIcon.svg +1 -1
  25. package/cosmos-static/icons/MonitorMobileIcon.svg +1 -1
  26. package/cosmos-static/icons/PercentageRoundIcon.svg +1 -1
  27. package/cosmos-static/icons/PercentageSquareIcon.svg +1 -1
  28. package/cosmos-static/icons/PersonalCardIcon.svg +1 -1
  29. package/cosmos-static/icons/Profile2UserIcon.svg +1 -1
  30. package/cosmos-static/icons/RoundRubleIcon.svg +1 -1
  31. package/cosmos-static/icons/SafeIcon.svg +1 -1
  32. package/cosmos-static/icons/ShieldTickIcon.svg +1 -1
  33. package/cosmos-static/icons/SmallClockIcon.svg +1 -1
  34. package/cosmos-static/icons/UserTickIcon.svg +1 -1
  35. package/cosmos-static/icons/WalletAdd2Icon.svg +1 -1
  36. package/cosmos-static/icons/WalletAddIcon.svg +1 -1
  37. package/cosmos-static/icons/WalletIcon.svg +1 -1
  38. package/cosmos-static/icons/WalletWithMoneyIcon.svg +1 -1
  39. package/dist/components/Blocks.js +1 -1
  40. package/dist/components/Blocks.js.map +1 -1
  41. package/dist/components/ComparisonTable/HeaderCell.js +1 -1
  42. package/dist/components/ComparisonTable/HeaderCell.js.map +1 -1
  43. package/dist/components/ComparisonTable/TableCell.js +1 -1
  44. package/dist/components/ContentPage/ContentPage.js +10 -3
  45. package/dist/components/ContentPage/ContentPage.js.map +1 -1
  46. package/dist/components/ContentPage/ContentPageContext.d.ts +2 -2
  47. package/dist/components/CreditCalculator/renderButton.js +8 -1
  48. package/dist/components/CreditCalculator/renderButton.js.map +1 -1
  49. package/dist/components/Footer/Contacts.js +5 -5
  50. package/dist/components/Footer/Contacts.js.map +1 -1
  51. package/dist/components/Footer/Footer.js +3 -4
  52. package/dist/components/Footer/Footer.js.map +1 -1
  53. package/dist/components/Footer/FooterContent.d.ts +2 -0
  54. package/dist/components/Footer/HorizontalNavigation.js +1 -1
  55. package/dist/components/Footer/HorizontalNavigation.js.map +1 -1
  56. package/dist/components/Footer/MediaButton.js +15 -1
  57. package/dist/components/Footer/MediaButton.js.map +1 -1
  58. package/dist/components/Footer/Sitemap.js +4 -4
  59. package/dist/components/Footer/Sitemap.js.map +1 -1
  60. package/dist/components/Footer/SocialMedia.js +2 -2
  61. package/dist/components/Footer/SocialMedia.js.map +1 -1
  62. package/dist/components/Footer/TextInformation.js +2 -2
  63. package/dist/components/Footer/TextInformation.js.map +1 -1
  64. package/dist/components/Gallery/GalleryCardInner.js +5 -6
  65. package/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  66. package/dist/components/Gallery/GalleryContainer.js +2 -2
  67. package/dist/components/Gallery/GalleryContainer.js.map +1 -1
  68. package/dist/components/Gallery/GalleryInner.js +1 -1
  69. package/dist/components/Header/Header.js +4 -8
  70. package/dist/components/Header/Header.js.map +1 -1
  71. package/dist/components/Header/HeaderSecondaryMenu.js +3 -3
  72. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  73. package/dist/components/Header/HeaderSubMenu.d.ts +9 -0
  74. package/dist/components/Header/HeaderSubMenu.js +37 -0
  75. package/dist/components/Header/HeaderSubMenu.js.map +1 -0
  76. package/dist/components/Header/HeaderSubMenuObserver.d.ts +1 -0
  77. package/dist/components/Header/HeaderSubMenuObserver.js +32 -0
  78. package/dist/components/Header/HeaderSubMenuObserver.js.map +1 -0
  79. package/dist/components/LinkDocs/LinkDocsList.d.ts +1 -1
  80. package/dist/components/LinkDocs/LinkDocsList.js +1 -1
  81. package/dist/components/LinkDocs/LinkDocsList.js.map +1 -1
  82. package/dist/components/LinkDocs/LinkDocsListItem.js +1 -1
  83. package/dist/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  84. package/dist/components/NavigatorTabs/NavigatorTabItem.js +4 -4
  85. package/dist/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  86. package/dist/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
  87. package/dist/components/NavigatorTabs/NavigatorTabs.js +11 -6
  88. package/dist/components/NavigatorTabs/NavigatorTabs.js.map +1 -1
  89. package/dist/components/NavigatorTabs/NavigatorTabsContent.d.ts +3 -1
  90. package/dist/components/ProductBlock/ProductBlock.js +2 -1
  91. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  92. package/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -1
  93. package/dist/components/ProductBlock/ProductBlockInner.js +5 -5
  94. package/dist/components/ProductBlock/ProductBlockInner.js.map +1 -1
  95. package/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -0
  96. package/dist/components/ProductBlock/renderBackwardButton.js +18 -0
  97. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -0
  98. package/dist/components/ProductBlock/renderBenefit.js +2 -2
  99. package/dist/components/ProductBlock/renderBenefit.js.map +1 -1
  100. package/dist/components/Recommendation/RecommendationCard.js +2 -1
  101. package/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  102. package/dist/components/Recommendation/RecommendationContent.d.ts +4 -0
  103. package/dist/components/StepsBlock/StepsBlock.js +6 -5
  104. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  105. package/dist/components/StepsBlock/StepsBlockContent.d.ts +3 -0
  106. package/dist/components/TariffsTable/TariffsTableCell.js +2 -1
  107. package/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  108. package/dist/components/TariffsTable/TariffsTableTileCell.js +2 -1
  109. package/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  110. package/dist/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
  111. package/dist/components/TariffsTable/utils/getButtonAriaLabel.js +6 -0
  112. package/dist/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -0
  113. package/dist/components/Tile/Tile.js +3 -3
  114. package/dist/components/Tile/Tile.js.map +1 -1
  115. package/dist/hooks/useLink.d.ts +1 -1
  116. package/dist/hooks/useLink.js +1 -1
  117. package/dist/hooks/useLink.js.map +1 -1
  118. package/dist/icons/IconName.d.ts +5 -3
  119. package/dist/icons/IconName.js +3 -1
  120. package/dist/icons/IconName.js.map +1 -1
  121. package/dist/setup-fixture.js +0 -4
  122. package/dist/setup-fixture.js.map +1 -1
  123. package/dist/ui-kit/Button/Button.js +6 -1
  124. package/dist/ui-kit/Button/Button.js.map +1 -1
  125. package/dist/ui-kit/Button/ButtonInner.js +2 -2
  126. package/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  127. package/dist/ui-kit/HeaderItem/HeaderItem.js +2 -2
  128. package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  129. package/dist/ui-kit/Heading/Heading.d.ts +2 -1
  130. package/dist/ui-kit/Heading/Heading.js +3 -3
  131. package/dist/ui-kit/Heading/Heading.js.map +1 -1
  132. package/dist/ui-kit/Heading/Heading.mobile.d.ts +2 -1
  133. package/dist/ui-kit/Heading/Heading.mobile.js +2 -2
  134. package/dist/ui-kit/Heading/Heading.mobile.js.map +1 -1
  135. package/dist/ui-kit/Icon/Icon.js +2 -2
  136. package/dist/ui-kit/Icon/Icon.js.map +1 -1
  137. package/dist/ui-kit/List/List.js +2 -0
  138. package/dist/ui-kit/List/List.js.map +1 -1
  139. package/dist/ui-kit/List/ListItem.js +19 -5
  140. package/dist/ui-kit/List/ListItem.js.map +1 -1
  141. package/dist/ui-kit/List/ListProps.d.ts +1 -1
  142. package/dist/ui-kit/Logo/Logo.js +1 -1
  143. package/dist/ui-kit/Logo/Logo.js.map +1 -1
  144. package/dist/ui-kit/SearchBar/SearchBar.js +1 -1
  145. package/dist/ui-kit/SearchBar/SearchBar.js.map +1 -1
  146. package/dist/ui-kit/TopItem/TopItem.d.ts +1 -0
  147. package/dist/ui-kit/TopItem/TopItem.js +1 -1
  148. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  149. package/dist/utils/changeHashOnScroll.d.ts +2 -0
  150. package/dist/utils/changeHashOnScroll.js +16 -0
  151. package/dist/utils/changeHashOnScroll.js.map +1 -0
  152. package/dist/utils/isSSR.d.ts +1 -0
  153. package/dist/utils/isSSR.js +5 -0
  154. package/dist/utils/isSSR.js.map +1 -0
  155. package/dist/utils/tableFunc.d.ts +2 -0
  156. package/dist/utils/tableFunc.js +8 -0
  157. package/dist/utils/tableFunc.js.map +1 -0
  158. package/lib/common.css +1 -1
  159. package/lib/components/Blocks.js +1 -1
  160. package/lib/components/Blocks.js.map +1 -1
  161. package/lib/components/ComparisonTable/HeaderCell.js +1 -1
  162. package/lib/components/ComparisonTable/HeaderCell.js.map +1 -1
  163. package/lib/components/ComparisonTable/TableCell.js +1 -1
  164. package/lib/components/ContentPage/ContentPage.js +10 -3
  165. package/lib/components/ContentPage/ContentPage.js.map +1 -1
  166. package/lib/components/ContentPage/ContentPageContext.d.ts +2 -2
  167. package/lib/components/CreditCalculator/renderButton.js +8 -1
  168. package/lib/components/CreditCalculator/renderButton.js.map +1 -1
  169. package/lib/components/Footer/Contacts.js +5 -5
  170. package/lib/components/Footer/Contacts.js.map +1 -1
  171. package/lib/components/Footer/Footer.js +3 -4
  172. package/lib/components/Footer/Footer.js.map +1 -1
  173. package/lib/components/Footer/FooterContent.d.ts +2 -0
  174. package/lib/components/Footer/HorizontalNavigation.js +1 -1
  175. package/lib/components/Footer/HorizontalNavigation.js.map +1 -1
  176. package/lib/components/Footer/MediaButton.js +15 -1
  177. package/lib/components/Footer/MediaButton.js.map +1 -1
  178. package/lib/components/Footer/Sitemap.js +4 -4
  179. package/lib/components/Footer/Sitemap.js.map +1 -1
  180. package/lib/components/Footer/SocialMedia.js +3 -3
  181. package/lib/components/Footer/SocialMedia.js.map +1 -1
  182. package/lib/components/Footer/TextInformation.js +2 -2
  183. package/lib/components/Footer/TextInformation.js.map +1 -1
  184. package/lib/components/Gallery/GalleryCardInner.js +5 -6
  185. package/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  186. package/lib/components/Gallery/GalleryContainer.js +2 -2
  187. package/lib/components/Gallery/GalleryContainer.js.map +1 -1
  188. package/lib/components/Gallery/GalleryInner.js +1 -1
  189. package/lib/components/Header/Header.js +4 -8
  190. package/lib/components/Header/Header.js.map +1 -1
  191. package/lib/components/Header/HeaderSecondaryMenu.js +3 -3
  192. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  193. package/lib/components/Header/HeaderSubMenu.d.ts +9 -0
  194. package/lib/components/Header/HeaderSubMenu.js +35 -0
  195. package/lib/components/Header/HeaderSubMenu.js.map +1 -0
  196. package/lib/components/Header/HeaderSubMenuObserver.d.ts +1 -0
  197. package/lib/components/Header/HeaderSubMenuObserver.js +30 -0
  198. package/lib/components/Header/HeaderSubMenuObserver.js.map +1 -0
  199. package/lib/components/LinkDocs/LinkDocsList.d.ts +1 -1
  200. package/lib/components/LinkDocs/LinkDocsList.js +1 -1
  201. package/lib/components/LinkDocs/LinkDocsList.js.map +1 -1
  202. package/lib/components/LinkDocs/LinkDocsListItem.js +1 -1
  203. package/lib/components/LinkDocs/LinkDocsListItem.js.map +1 -1
  204. package/lib/components/NavigatorTabs/NavigatorTabItem.js +4 -4
  205. package/lib/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  206. package/lib/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
  207. package/lib/components/NavigatorTabs/NavigatorTabs.js +12 -7
  208. package/lib/components/NavigatorTabs/NavigatorTabs.js.map +1 -1
  209. package/lib/components/NavigatorTabs/NavigatorTabsContent.d.ts +3 -1
  210. package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +1 -0
  211. package/lib/components/ProductBlock/ProductBlock.js +2 -1
  212. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  213. package/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -1
  214. package/lib/components/ProductBlock/ProductBlockInner.js +5 -5
  215. package/lib/components/ProductBlock/ProductBlockInner.js.map +1 -1
  216. package/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -0
  217. package/lib/components/ProductBlock/renderBackwardButton.js +15 -0
  218. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -0
  219. package/lib/components/ProductBlock/renderBenefit.js +2 -2
  220. package/lib/components/ProductBlock/renderBenefit.js.map +1 -1
  221. package/lib/components/Recommendation/RecommendationCard.js +2 -1
  222. package/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  223. package/lib/components/Recommendation/RecommendationContent.d.ts +4 -0
  224. package/lib/components/StepsBlock/StepsBlock.fixture.d.ts +2 -0
  225. package/lib/components/StepsBlock/StepsBlock.js +6 -5
  226. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  227. package/lib/components/StepsBlock/StepsBlockContent.d.ts +3 -0
  228. package/lib/components/TariffsTable/TariffsTableCell.js +2 -1
  229. package/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  230. package/lib/components/TariffsTable/TariffsTableTileCell.js +2 -1
  231. package/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  232. package/lib/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
  233. package/lib/components/TariffsTable/utils/getButtonAriaLabel.js +3 -0
  234. package/lib/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -0
  235. package/lib/components/Tile/Tile.js +3 -3
  236. package/lib/components/Tile/Tile.js.map +1 -1
  237. package/lib/hooks/useLink.d.ts +1 -1
  238. package/lib/hooks/useLink.js +1 -1
  239. package/lib/hooks/useLink.js.map +1 -1
  240. package/lib/icons/IconName.d.ts +5 -3
  241. package/lib/icons/IconName.js +3 -1
  242. package/lib/icons/IconName.js.map +1 -1
  243. package/lib/setup-fixture.js +0 -4
  244. package/lib/setup-fixture.js.map +1 -1
  245. package/lib/ui-kit/Button/Button.js +6 -1
  246. package/lib/ui-kit/Button/Button.js.map +1 -1
  247. package/lib/ui-kit/Button/ButtonInner.js +2 -2
  248. package/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  249. package/lib/ui-kit/HeaderItem/HeaderItem.js +2 -2
  250. package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  251. package/lib/ui-kit/Heading/Heading.d.ts +2 -1
  252. package/lib/ui-kit/Heading/Heading.js +3 -3
  253. package/lib/ui-kit/Heading/Heading.js.map +1 -1
  254. package/lib/ui-kit/Heading/Heading.mobile.d.ts +2 -1
  255. package/lib/ui-kit/Heading/Heading.mobile.js +2 -2
  256. package/lib/ui-kit/Heading/Heading.mobile.js.map +1 -1
  257. package/lib/ui-kit/Icon/Icon.js +2 -2
  258. package/lib/ui-kit/Icon/Icon.js.map +1 -1
  259. package/lib/ui-kit/List/List.js +2 -0
  260. package/lib/ui-kit/List/List.js.map +1 -1
  261. package/lib/ui-kit/List/ListItem.js +19 -5
  262. package/lib/ui-kit/List/ListItem.js.map +1 -1
  263. package/lib/ui-kit/List/ListProps.d.ts +1 -1
  264. package/lib/ui-kit/Logo/Logo.js +1 -1
  265. package/lib/ui-kit/Logo/Logo.js.map +1 -1
  266. package/lib/ui-kit/SearchBar/SearchBar.js +1 -1
  267. package/lib/ui-kit/SearchBar/SearchBar.js.map +1 -1
  268. package/lib/ui-kit/TopItem/TopItem.d.ts +1 -0
  269. package/lib/ui-kit/TopItem/TopItem.js +1 -1
  270. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  271. package/lib/utils/changeHashOnScroll.d.ts +2 -0
  272. package/lib/utils/changeHashOnScroll.js +13 -0
  273. package/lib/utils/changeHashOnScroll.js.map +1 -0
  274. package/lib/utils/isSSR.d.ts +1 -0
  275. package/lib/utils/isSSR.js +2 -0
  276. package/lib/utils/isSSR.js.map +1 -0
  277. package/lib/utils/tableFunc.d.ts +2 -0
  278. package/lib/utils/tableFunc.js +5 -0
  279. package/lib/utils/tableFunc.js.map +1 -0
  280. package/mobile/bundle/bundle.umd.js +76 -23
  281. package/mobile/bundle/bundle.umd.min.js +1 -1
  282. package/mobile/dist/components/ContentPage/ContentPage.js +10 -3
  283. package/mobile/dist/components/ContentPage/ContentPage.js.map +1 -1
  284. package/mobile/dist/components/ContentPage/ContentPageContext.d.ts +2 -2
  285. package/mobile/dist/components/CreditCalculator/renderButton.js +8 -1
  286. package/mobile/dist/components/CreditCalculator/renderButton.js.map +1 -1
  287. package/mobile/dist/components/Footer/Contacts.js +5 -5
  288. package/mobile/dist/components/Footer/Contacts.js.map +1 -1
  289. package/mobile/dist/components/Footer/FooterContent.d.ts +2 -0
  290. package/mobile/dist/components/Footer/MediaButton.js +15 -1
  291. package/mobile/dist/components/Footer/MediaButton.js.map +1 -1
  292. package/mobile/dist/components/Footer/Sitemap.js +4 -4
  293. package/mobile/dist/components/Footer/Sitemap.js.map +1 -1
  294. package/mobile/dist/components/Gallery/GalleryCardInner.js +5 -6
  295. package/mobile/dist/components/Gallery/GalleryCardInner.js.map +1 -1
  296. package/mobile/dist/components/Gallery/GalleryContainer.js +2 -2
  297. package/mobile/dist/components/Gallery/GalleryContainer.js.map +1 -1
  298. package/mobile/dist/components/Gallery/GalleryInner.js +1 -1
  299. package/mobile/dist/components/Header/HeaderSecondaryMenu.js +3 -3
  300. package/mobile/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  301. package/mobile/dist/components/Header/HeaderSubMenu.d.ts +9 -0
  302. package/mobile/dist/components/Header/HeaderSubMenu.js +37 -0
  303. package/mobile/dist/components/Header/HeaderSubMenu.js.map +1 -0
  304. package/mobile/dist/components/Header/HeaderSubMenuObserver.d.ts +1 -0
  305. package/mobile/dist/components/Header/HeaderSubMenuObserver.js +32 -0
  306. package/mobile/dist/components/Header/HeaderSubMenuObserver.js.map +1 -0
  307. package/mobile/dist/components/LinkDocs/LinkDocsList.d.ts +1 -1
  308. package/mobile/dist/components/LinkDocs/LinkDocsList.js +1 -1
  309. package/mobile/dist/components/LinkDocs/LinkDocsList.js.map +1 -1
  310. package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.js +4 -4
  311. package/mobile/dist/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  312. package/mobile/dist/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
  313. package/mobile/dist/components/NavigatorTabs/NavigatorTabs.js +11 -6
  314. package/mobile/dist/components/NavigatorTabs/NavigatorTabs.js.map +1 -1
  315. package/mobile/dist/components/NavigatorTabs/NavigatorTabsContent.d.ts +3 -1
  316. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +3 -1
  317. package/mobile/dist/components/ProductBlock/renderBackwardButton.d.ts +2 -0
  318. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +18 -0
  319. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -0
  320. package/mobile/dist/components/Recommendation/RecommendationCard.js +2 -1
  321. package/mobile/dist/components/Recommendation/RecommendationCard.js.map +1 -1
  322. package/mobile/dist/components/Recommendation/RecommendationContent.d.ts +4 -0
  323. package/mobile/dist/components/StepsBlock/StepsBlockContent.d.ts +3 -0
  324. package/mobile/dist/components/TariffsTable/TariffsTableCell.js +2 -1
  325. package/mobile/dist/components/TariffsTable/TariffsTableCell.js.map +1 -1
  326. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js +2 -1
  327. package/mobile/dist/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  328. package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
  329. package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.js +6 -0
  330. package/mobile/dist/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -0
  331. package/mobile/dist/components/Tile/Tile.js +3 -3
  332. package/mobile/dist/components/Tile/Tile.js.map +1 -1
  333. package/mobile/dist/hooks/useLink.d.ts +1 -1
  334. package/mobile/dist/hooks/useLink.js +1 -1
  335. package/mobile/dist/hooks/useLink.js.map +1 -1
  336. package/mobile/dist/icons/IconName.d.ts +5 -3
  337. package/mobile/dist/icons/IconName.js +3 -1
  338. package/mobile/dist/icons/IconName.js.map +1 -1
  339. package/mobile/dist/setup-fixture.js +0 -4
  340. package/mobile/dist/setup-fixture.js.map +1 -1
  341. package/mobile/dist/ui-kit/Button/ButtonInner.js +2 -2
  342. package/mobile/dist/ui-kit/Button/ButtonInner.js.map +1 -1
  343. package/mobile/dist/ui-kit/Heading/Heading.d.ts +2 -1
  344. package/mobile/dist/ui-kit/Heading/Heading.js +2 -2
  345. package/mobile/dist/ui-kit/Heading/Heading.js.map +1 -1
  346. package/mobile/dist/ui-kit/Icon/Icon.js +2 -2
  347. package/mobile/dist/ui-kit/Icon/Icon.js.map +1 -1
  348. package/mobile/dist/ui-kit/List/List.js +2 -0
  349. package/mobile/dist/ui-kit/List/List.js.map +1 -1
  350. package/mobile/dist/ui-kit/List/ListItem.js +19 -5
  351. package/mobile/dist/ui-kit/List/ListItem.js.map +1 -1
  352. package/mobile/dist/ui-kit/List/ListProps.d.ts +1 -1
  353. package/mobile/dist/ui-kit/TopItem/TopItem.d.ts +1 -0
  354. package/mobile/dist/ui-kit/TopItem/TopItem.js +1 -1
  355. package/mobile/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  356. package/mobile/dist/utils/changeHashOnScroll.d.ts +2 -0
  357. package/mobile/dist/utils/changeHashOnScroll.js +16 -0
  358. package/mobile/dist/utils/changeHashOnScroll.js.map +1 -0
  359. package/mobile/dist/utils/isSSR.d.ts +1 -0
  360. package/mobile/dist/utils/isSSR.js +5 -0
  361. package/mobile/dist/utils/isSSR.js.map +1 -0
  362. package/mobile/dist/utils/tableFunc.d.ts +2 -0
  363. package/mobile/dist/utils/tableFunc.js +8 -0
  364. package/mobile/dist/utils/tableFunc.js.map +1 -0
  365. package/mobile/lib/components/ContentPage/ContentPage.js +10 -3
  366. package/mobile/lib/components/ContentPage/ContentPage.js.map +1 -1
  367. package/mobile/lib/components/ContentPage/ContentPageContext.d.ts +2 -2
  368. package/mobile/lib/components/CreditCalculator/renderButton.js +8 -1
  369. package/mobile/lib/components/CreditCalculator/renderButton.js.map +1 -1
  370. package/mobile/lib/components/Footer/Contacts.js +5 -5
  371. package/mobile/lib/components/Footer/Contacts.js.map +1 -1
  372. package/mobile/lib/components/Footer/FooterContent.d.ts +2 -0
  373. package/mobile/lib/components/Footer/MediaButton.js +15 -1
  374. package/mobile/lib/components/Footer/MediaButton.js.map +1 -1
  375. package/mobile/lib/components/Footer/Sitemap.js +4 -4
  376. package/mobile/lib/components/Footer/Sitemap.js.map +1 -1
  377. package/mobile/lib/components/Gallery/GalleryCardInner.js +5 -6
  378. package/mobile/lib/components/Gallery/GalleryCardInner.js.map +1 -1
  379. package/mobile/lib/components/Gallery/GalleryContainer.js +2 -2
  380. package/mobile/lib/components/Gallery/GalleryContainer.js.map +1 -1
  381. package/mobile/lib/components/Gallery/GalleryInner.js +1 -1
  382. package/mobile/lib/components/Header/HeaderSecondaryMenu.js +3 -3
  383. package/mobile/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  384. package/mobile/lib/components/Header/HeaderSubMenu.d.ts +9 -0
  385. package/mobile/lib/components/Header/HeaderSubMenu.js +35 -0
  386. package/mobile/lib/components/Header/HeaderSubMenu.js.map +1 -0
  387. package/mobile/lib/components/Header/HeaderSubMenuObserver.d.ts +1 -0
  388. package/mobile/lib/components/Header/HeaderSubMenuObserver.js +30 -0
  389. package/mobile/lib/components/Header/HeaderSubMenuObserver.js.map +1 -0
  390. package/mobile/lib/components/LinkDocs/LinkDocsList.d.ts +1 -1
  391. package/mobile/lib/components/LinkDocs/LinkDocsList.js +1 -1
  392. package/mobile/lib/components/LinkDocs/LinkDocsList.js.map +1 -1
  393. package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.js +4 -4
  394. package/mobile/lib/components/NavigatorTabs/NavigatorTabItem.js.map +1 -1
  395. package/mobile/lib/components/NavigatorTabs/NavigatorTabs.d.ts +1 -1
  396. package/mobile/lib/components/NavigatorTabs/NavigatorTabs.js +12 -7
  397. package/mobile/lib/components/NavigatorTabs/NavigatorTabs.js.map +1 -1
  398. package/mobile/lib/components/NavigatorTabs/NavigatorTabsContent.d.ts +3 -1
  399. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +3 -1
  400. package/mobile/lib/components/ProductBlock/renderBackwardButton.d.ts +2 -0
  401. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +15 -0
  402. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -0
  403. package/mobile/lib/components/Recommendation/RecommendationCard.js +2 -1
  404. package/mobile/lib/components/Recommendation/RecommendationCard.js.map +1 -1
  405. package/mobile/lib/components/Recommendation/RecommendationContent.d.ts +4 -0
  406. package/mobile/lib/components/StepsBlock/StepsBlockContent.d.ts +3 -0
  407. package/mobile/lib/components/TariffsTable/TariffsTableCell.js +2 -1
  408. package/mobile/lib/components/TariffsTable/TariffsTableCell.js.map +1 -1
  409. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js +2 -1
  410. package/mobile/lib/components/TariffsTable/TariffsTableTileCell.js.map +1 -1
  411. package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.d.ts +2 -0
  412. package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.js +3 -0
  413. package/mobile/lib/components/TariffsTable/utils/getButtonAriaLabel.js.map +1 -0
  414. package/mobile/lib/components/Tile/Tile.js +3 -3
  415. package/mobile/lib/components/Tile/Tile.js.map +1 -1
  416. package/mobile/lib/hooks/useLink.d.ts +1 -1
  417. package/mobile/lib/hooks/useLink.js +1 -1
  418. package/mobile/lib/hooks/useLink.js.map +1 -1
  419. package/mobile/lib/icons/IconName.d.ts +5 -3
  420. package/mobile/lib/icons/IconName.js +3 -1
  421. package/mobile/lib/icons/IconName.js.map +1 -1
  422. package/mobile/lib/setup-fixture.js +0 -4
  423. package/mobile/lib/setup-fixture.js.map +1 -1
  424. package/mobile/lib/ui-kit/Button/ButtonInner.js +2 -2
  425. package/mobile/lib/ui-kit/Button/ButtonInner.js.map +1 -1
  426. package/mobile/lib/ui-kit/Heading/Heading.d.ts +2 -1
  427. package/mobile/lib/ui-kit/Heading/Heading.js +2 -2
  428. package/mobile/lib/ui-kit/Heading/Heading.js.map +1 -1
  429. package/mobile/lib/ui-kit/Icon/Icon.js +2 -2
  430. package/mobile/lib/ui-kit/Icon/Icon.js.map +1 -1
  431. package/mobile/lib/ui-kit/List/List.js +2 -0
  432. package/mobile/lib/ui-kit/List/List.js.map +1 -1
  433. package/mobile/lib/ui-kit/List/ListItem.js +19 -5
  434. package/mobile/lib/ui-kit/List/ListItem.js.map +1 -1
  435. package/mobile/lib/ui-kit/List/ListProps.d.ts +1 -1
  436. package/mobile/lib/ui-kit/TopItem/TopItem.d.ts +1 -0
  437. package/mobile/lib/ui-kit/TopItem/TopItem.js +1 -1
  438. package/mobile/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  439. package/mobile/lib/utils/changeHashOnScroll.d.ts +2 -0
  440. package/mobile/lib/utils/changeHashOnScroll.js +13 -0
  441. package/mobile/lib/utils/changeHashOnScroll.js.map +1 -0
  442. package/mobile/lib/utils/isSSR.d.ts +1 -0
  443. package/mobile/lib/utils/isSSR.js +2 -0
  444. package/mobile/lib/utils/isSSR.js.map +1 -0
  445. package/mobile/lib/utils/tableFunc.d.ts +2 -0
  446. package/mobile/lib/utils/tableFunc.js +5 -0
  447. package/mobile/lib/utils/tableFunc.js.map +1 -0
  448. package/mobile/src/components/ContentPage/ContentPage.page.json +98 -238
  449. package/mobile/src/components/ContentPage/ContentPage.tsx +14 -2
  450. package/mobile/src/components/ContentPage/ContentPageContext.tsx +2 -2
  451. package/mobile/src/components/CreditCalculator/renderButton.tsx +11 -1
  452. package/mobile/src/components/Footer/Contacts.tsx +7 -10
  453. package/mobile/src/components/Footer/FooterContent.ts +2 -0
  454. package/mobile/src/components/Footer/MediaButton.tsx +15 -1
  455. package/mobile/src/components/Footer/Sitemap.tsx +5 -5
  456. package/mobile/src/components/Gallery/GalleryCardInner.tsx +6 -7
  457. package/mobile/src/components/Gallery/GalleryContainer.tsx +2 -2
  458. package/mobile/src/components/Gallery/GalleryInner.tsx +1 -1
  459. package/mobile/src/components/Header/HeaderSecondaryMenu.tsx +4 -7
  460. package/mobile/src/components/Header/HeaderSubMenu.tsx +103 -0
  461. package/mobile/src/components/Header/HeaderSubMenuObserver.ts +44 -0
  462. package/mobile/src/components/LinkDocs/LinkDocsList.tsx +3 -3
  463. package/mobile/src/components/NavigatorTabs/NavigatorTabItem.tsx +7 -5
  464. package/mobile/src/components/NavigatorTabs/NavigatorTabs.example.json +3 -3
  465. package/mobile/src/components/NavigatorTabs/NavigatorTabs.tsx +17 -9
  466. package/mobile/src/components/NavigatorTabs/NavigatorTabsContent.ts +3 -1
  467. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +3 -1
  468. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +35 -0
  469. package/mobile/src/components/Recommendation/RecommendationCard.tsx +2 -1
  470. package/mobile/src/components/Recommendation/RecommendationContent.ts +4 -0
  471. package/mobile/src/components/StepsBlock/StepsBlockContent.ts +3 -0
  472. package/mobile/src/components/TariffsTable/TariffsTableCell.tsx +2 -0
  473. package/mobile/src/components/TariffsTable/TariffsTableTileCell.tsx +2 -0
  474. package/mobile/src/components/TariffsTable/utils/getButtonAriaLabel.ts +5 -0
  475. package/mobile/src/components/Tile/Tile.example.json +1 -1
  476. package/mobile/src/components/Tile/Tile.tsx +13 -3
  477. package/mobile/src/hooks/useLink.ts +1 -1
  478. package/mobile/src/icons/ArrowDownIcon.svg +1 -1
  479. package/mobile/src/icons/ArrowLeftIcon.svg +4 -0
  480. package/mobile/src/icons/BurgerIcon.svg +4 -4
  481. package/mobile/src/icons/Calendar2Icon.svg +1 -1
  482. package/mobile/src/icons/CalendarCircleIcon.svg +4 -1
  483. package/mobile/src/icons/CalendarIcon.svg +1 -1
  484. package/mobile/src/icons/CalendarTickIcon.svg +6 -1
  485. package/mobile/src/icons/CalendarWhiteIcon.svg +2 -2
  486. package/mobile/src/icons/CardIcon.svg +5 -1
  487. package/mobile/src/icons/CardPosIcon.svg +5 -1
  488. package/mobile/src/icons/CardTickIcon.svg +5 -1
  489. package/mobile/src/icons/ChartSquareIcon.svg +6 -1
  490. package/mobile/src/icons/CloseIcon.svg +4 -4
  491. package/mobile/src/icons/DiscountShapeIcon.svg +4 -1
  492. package/mobile/src/icons/DocIcon.svg +1 -1
  493. package/mobile/src/icons/DocumentTextIcon.svg +2 -2
  494. package/mobile/src/icons/EmptyWalletChangeIcon.svg +8 -1
  495. package/mobile/src/icons/EmptyWalletIcon.svg +2 -2
  496. package/mobile/src/icons/GlobalIcon.svg +5 -1
  497. package/mobile/src/icons/GpsIcon.svg +6 -6
  498. package/mobile/src/icons/IconName.ts +4 -4
  499. package/mobile/src/icons/InterestIcon.svg +6 -1
  500. package/mobile/src/icons/MasterCardIcon.svg +5 -1
  501. package/mobile/src/icons/MinusIcon.svg +3 -1
  502. package/mobile/src/icons/MoneyIcon.svg +5 -1
  503. package/mobile/src/icons/MonitorMobileIcon.svg +4 -1
  504. package/mobile/src/icons/PercentageRoundIcon.svg +4 -1
  505. package/mobile/src/icons/PercentageSquareIcon.svg +1 -1
  506. package/mobile/src/icons/PersonalCardIcon.svg +4 -1
  507. package/mobile/src/icons/PlayMarketIcon.svg +3 -1
  508. package/mobile/src/icons/PlusIcon.svg +3 -1
  509. package/mobile/src/icons/Profile2UserIcon.svg +6 -1
  510. package/mobile/src/icons/RoundRubleIcon.svg +5 -1
  511. package/mobile/src/icons/SafeIcon.svg +7 -1
  512. package/mobile/src/icons/ShieldTickIcon.svg +4 -1
  513. package/mobile/src/icons/SmallClockIcon.svg +4 -1
  514. package/mobile/src/icons/UserTickIcon.svg +5 -1
  515. package/mobile/src/icons/WalletAdd2Icon.svg +6 -1
  516. package/mobile/src/icons/WalletAddIcon.svg +7 -1
  517. package/mobile/src/icons/WalletIcon.svg +7 -1
  518. package/mobile/src/icons/WalletWithMoneyIcon.svg +5 -1
  519. package/mobile/src/setup-fixture.ts +4 -6
  520. package/mobile/src/ui-kit/Button/ButtonInner.tsx +2 -2
  521. package/mobile/src/ui-kit/Heading/Heading.tsx +5 -2
  522. package/mobile/src/ui-kit/Icon/Icon.tsx +2 -2
  523. package/mobile/src/ui-kit/List/List.tsx +2 -0
  524. package/mobile/src/ui-kit/List/ListItem.tsx +19 -5
  525. package/mobile/src/ui-kit/List/ListProps.ts +1 -1
  526. package/mobile/src/ui-kit/TopItem/TopItem.tsx +2 -1
  527. package/mobile/src/utils/changeHashOnScroll.ts +15 -0
  528. package/mobile/src/utils/isSSR.ts +2 -0
  529. package/mobile/src/utils/tableFunc.ts +8 -0
  530. package/package.json +1 -1
  531. package/src/components/Blocks.ts +1 -1
  532. package/src/components/ComparisonTable/HeaderCell.tsx +1 -1
  533. package/src/components/ComparisonTable/TableCell.tsx +1 -1
  534. package/src/components/ContentPage/ContentPage.page.json +98 -238
  535. package/src/components/ContentPage/ContentPage.tsx +14 -2
  536. package/src/components/ContentPage/ContentPageContext.tsx +2 -2
  537. package/src/components/CreditCalculator/renderButton.tsx +11 -1
  538. package/src/components/Footer/Contacts.tsx +7 -10
  539. package/src/components/Footer/Footer.fixture.mobile.tsx +3 -3
  540. package/src/components/Footer/Footer.fixture.tsx +4 -3
  541. package/src/components/Footer/Footer.tsx +15 -13
  542. package/src/components/Footer/FooterContent.ts +2 -0
  543. package/src/components/Footer/HorizontalNavigation.tsx +1 -1
  544. package/src/components/Footer/MediaButton.tsx +15 -1
  545. package/src/components/Footer/Sitemap.tsx +5 -5
  546. package/src/components/Footer/SocialMedia.tsx +8 -5
  547. package/src/components/Footer/TextInformation.tsx +2 -2
  548. package/src/components/Gallery/GalleryCardInner.tsx +6 -7
  549. package/src/components/Gallery/GalleryContainer.tsx +2 -2
  550. package/src/components/Gallery/GalleryInner.tsx +1 -1
  551. package/src/components/Header/Header.tsx +6 -19
  552. package/src/components/Header/HeaderSecondaryMenu.tsx +4 -7
  553. package/src/components/Header/HeaderSubMenu.tsx +103 -0
  554. package/src/components/Header/HeaderSubMenuObserver.ts +44 -0
  555. package/src/components/LinkDocs/LinkDocsList.tsx +3 -3
  556. package/src/components/LinkDocs/LinkDocsListItem.tsx +3 -3
  557. package/src/components/MobileAppTile/MobileAppTile.fixture.tsx +2 -2
  558. package/src/components/NavigatorTabs/NavigatorTabItem.tsx +7 -5
  559. package/src/components/NavigatorTabs/NavigatorTabs.example.json +3 -3
  560. package/src/components/NavigatorTabs/NavigatorTabs.tsx +17 -9
  561. package/src/components/NavigatorTabs/NavigatorTabsContent.ts +3 -1
  562. package/src/components/ProductBlock/ProductBlock.fixture.tsx +35 -34
  563. package/src/components/ProductBlock/ProductBlock.tsx +2 -0
  564. package/src/components/ProductBlock/ProductBlockContent.ts +3 -1
  565. package/src/components/ProductBlock/ProductBlockInner.tsx +14 -8
  566. package/src/components/ProductBlock/renderBackwardButton.tsx +35 -0
  567. package/src/components/ProductBlock/renderBenefit.tsx +4 -4
  568. package/src/components/Recommendation/RecommendationCard.tsx +2 -1
  569. package/src/components/Recommendation/RecommendationContent.ts +4 -0
  570. package/src/components/StepsBlock/StepsBlock.fixture.tsx +59 -0
  571. package/src/components/StepsBlock/StepsBlock.tsx +34 -11
  572. package/src/components/StepsBlock/StepsBlockContent.ts +3 -0
  573. package/src/components/TariffsTable/TariffsTableCell.tsx +2 -0
  574. package/src/components/TariffsTable/TariffsTableTileCell.tsx +2 -0
  575. package/src/components/TariffsTable/utils/getButtonAriaLabel.ts +5 -0
  576. package/src/components/Tile/Tile.example.json +1 -1
  577. package/src/components/Tile/Tile.fixture.tsx +6 -6
  578. package/src/components/Tile/Tile.tsx +13 -3
  579. package/src/hooks/useLink.ts +1 -1
  580. package/src/icons/ArrowDownIcon.svg +1 -1
  581. package/src/icons/ArrowLeftIcon.svg +4 -0
  582. package/src/icons/BurgerIcon.svg +4 -4
  583. package/src/icons/Calendar2Icon.svg +1 -1
  584. package/src/icons/CalendarCircleIcon.svg +4 -1
  585. package/src/icons/CalendarIcon.svg +1 -1
  586. package/src/icons/CalendarTickIcon.svg +6 -1
  587. package/src/icons/CalendarWhiteIcon.svg +2 -2
  588. package/src/icons/CardIcon.svg +5 -1
  589. package/src/icons/CardPosIcon.svg +5 -1
  590. package/src/icons/CardTickIcon.svg +5 -1
  591. package/src/icons/ChartSquareIcon.svg +6 -1
  592. package/src/icons/CloseIcon.svg +4 -4
  593. package/src/icons/DiscountShapeIcon.svg +4 -1
  594. package/src/icons/DocIcon.svg +1 -1
  595. package/src/icons/DocumentTextIcon.svg +2 -2
  596. package/src/icons/EmptyWalletChangeIcon.svg +8 -1
  597. package/src/icons/EmptyWalletIcon.svg +2 -2
  598. package/src/icons/GlobalIcon.svg +5 -1
  599. package/src/icons/GpsIcon.svg +6 -6
  600. package/src/icons/IconName.ts +5 -2
  601. package/src/icons/InterestIcon.svg +6 -1
  602. package/src/icons/MasterCardIcon.svg +5 -1
  603. package/src/icons/MinusIcon.svg +3 -1
  604. package/src/icons/MoneyIcon.svg +5 -1
  605. package/src/icons/MonitorMobileIcon.svg +4 -1
  606. package/src/icons/PercentageRoundIcon.svg +4 -1
  607. package/src/icons/PercentageSquareIcon.svg +1 -1
  608. package/src/icons/PersonalCardIcon.svg +4 -1
  609. package/src/icons/PlayMarketIcon.svg +3 -1
  610. package/src/icons/PlusIcon.svg +3 -1
  611. package/src/icons/Profile2UserIcon.svg +6 -1
  612. package/src/icons/RoundRubleIcon.svg +5 -1
  613. package/src/icons/SafeIcon.svg +7 -1
  614. package/src/icons/ShieldTickIcon.svg +4 -1
  615. package/src/icons/SmallClockIcon.svg +4 -1
  616. package/src/icons/UserTickIcon.svg +5 -1
  617. package/src/icons/WalletAdd2Icon.svg +6 -1
  618. package/src/icons/WalletAddIcon.svg +7 -1
  619. package/src/icons/WalletIcon.svg +7 -1
  620. package/src/icons/WalletWithMoneyIcon.svg +5 -1
  621. package/src/setup-fixture.ts +4 -6
  622. package/src/ui-kit/Button/Button.tsx +20 -15
  623. package/src/ui-kit/Button/ButtonInner.tsx +2 -2
  624. package/src/ui-kit/HeaderItem/HeaderItem.tsx +14 -3
  625. package/src/ui-kit/Heading/Heading.mobile.tsx +5 -2
  626. package/src/ui-kit/Heading/Heading.tsx +6 -3
  627. package/src/ui-kit/Icon/Icon.tsx +2 -2
  628. package/src/ui-kit/List/List.tsx +2 -0
  629. package/src/ui-kit/List/ListItem.tsx +19 -5
  630. package/src/ui-kit/List/ListProps.ts +1 -1
  631. package/src/ui-kit/Logo/Logo.tsx +1 -1
  632. package/src/ui-kit/SearchBar/SearchBar.tsx +2 -2
  633. package/src/ui-kit/TopItem/TopItem.tsx +2 -1
  634. package/src/utils/changeHashOnScroll.ts +15 -0
  635. package/src/utils/isSSR.ts +2 -0
  636. package/src/utils/tableFunc.ts +8 -0
@@ -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,n)=>{t._jsx=e,t._jsxs=n||e};t.vue=e=>{t(((t,{children:n,dangerouslySetInnerHTML:a,...r}={})=>{const l=Object.assign({},r,a?{innerHTML:a.__html}:{});return e(t,l,"string"!=typeof t?()=>n:n)}))};const n=(...e)=>t._jsx(...e),a=(...e)=>t._jsxs(...e),r=e=>(e._tmpl||(e._tmpl=function(t,n){const{children:a,...r}=t||{},l=n?.slots?.default,i=a||l&&l();return e(Object.assign(r,i&&{children:i}),n)},e._tmpl.inheritAttrs=!1),e._tmpl);const l="likesToken";const i={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]"},o=r((e=>{const{className:t="",headingType:a,title:r}=e;if(!a)return;return n(a,{className:`font-sans m-0 ${i[a]} ${t}`,children:r})})),s={left:"text-left",center:"text-center",right:"text-right"},c={transparent:{background:"bg-transparent",text:"text-primary-text",description:"text-primary-text"},primary:{background:"bg-white",text:"text-primary-text",description:"text-primary-text"},secondary:{background:"bg-primary-main",text:"text-white",description:"text-white/80"}},d=r((({bgColorHeadline:e="transparent",align:t="left",className:r="",title:l,description:i,anchor:d=null})=>{const m=c[e];return a("section",{className:`p-[50px] ${m.background} ${r}`,id:d,children:[l&&n(o,{headingType:"h2",className:`text-primary-text ${m.text} ${s[t]}`,title:l}),i&&n("p",{className:`font-normal text-base mt-4 ${m.text} ${s[t]}`,children:i})]})})),m=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}};var h,x;!function(e){e.ActualBalanceIcon="ActualBalanceIcon",e.AppleIcon="AppleIcon",e.ArrowDownIcon="ArrowDownIcon",e.ArrowsRewindRight="ArrowsRewindRight",e.ArrowUpIcon="ArrowUpIcon",e.AtmIcon="AtmIcon",e.BankIcon="BankIcon",e.BurgerIcon="BurgerIcon",e.BurgerIconWhite="BurgerIconWhite",e.Calendar2Icon="Calendar2Icon",e.CalendarCircleIcon="CalendarCircleIcon",e.CalendarIcon="CalendarIcon",e.CalendarTickIcon="CalendarTickIcon",e.CalendarWhiteIcon="CalendarWhiteIcon",e.CardIcon="CardIcon",e.CardPosIcon="CardPosIcon",e.CardTickIcon="CardTickIcon",e.CardWithGemIcon="CardWithGemIcon",e.ChartSquareIcon="ChartSquareIcon",e.ClockIcon="ClockIcon",e.CloseIcon="CloseIcon",e.ComfortableCompIcon="ComfortableCompIcon",e.CreditCardsIcon="CreditCardsIcon",e.DiscountShapeIcon="DiscountShapeIcon",e.DocIcon="DocIcon",e.DocIconMonoColor="DocIconMonoColor",e.DocumentTextIcon="DocumentTextIcon",e.DollarIcon="DollarIcon",e.EarthIcon="EarthIcon",e.EmptyWalletChangeIcon="EmptyWalletChangeIcon",e.EmptyWalletIcon="EmptyWalletIcon",e.EmptyWalletWhiteIcon="EmptyWalletWhiteIcon",e.EuroIcon="EuroIcon",e.GeolocationIcon="GeolocationIcon",e.GlassIcon="GlassIcon",e.GlobalIcon="GlobalIcon",e.GpsIcon="GpsIcon",e.GridIcon="GridIcon",e.GridIconWhite="GridIconWhite",e.InterestGrowthIcon="InterestGrowthIcon",e.InterestIcon="InterestIcon",e.JCBIcon="JCBIcon",e.LoupeIcon="LoupeIcon",e.MasterCardIcon="MasterCardIcon",e.MinusIcon="MinusIcon",e.MirIcon="MirIcon",e.MoneyIcon="MoneyIcon",e.MoneyInsuranceIcon="MoneyInsuranceIcon",e.MonitorMobileIcon="MonitorMobileIcon",e.NewDocIcon="NewDocIcon",e.OfficeIcon="OfficeIcon",e.OkIcon="OkIcon",e.PassSendIcon="PassSendIcon",e.PercentageRoundIcon="PercentageRoundIcon",e.PercentageSquareIcon="PercentageSquareIcon",e.PercentageSquareWhiteIcon="PercentageSquareWhiteIcon",e.PersonalCardIcon="PersonalCardIcon",e.PlayMarketIcon="PlayMarketIcon",e.PlusIcon="PlusIcon",e.Profile2UserIcon="Profile2UserIcon",e.ProfileIcon="ProfileIcon",e.RoundRubleIcon="RoundRubleIcon",e.SafeIcon="SafeIcon",e.ShieldTickIcon="ShieldTickIcon",e.SignDocsIcon="SignDocsIcon",e.SmallClockIcon="SmallClockIcon",e.TelegramIcon="TelegramIcon",e.UnionPayIcon="UnionPayIcon",e.UserTickIcon="UserTickIcon",e.VisaIcon="VisaIcon",e.VKIcon="VKIcon",e.WalletAdd2Icon="WalletAdd2Icon",e.WalletAddIcon="WalletAddIcon",e.WalletIcon="WalletIcon",e.WalletWithMoneyIcon="WalletWithMoneyIcon"}(h||(h={})),function(e){e.ActualBalanceIcon="Деньги",e.AppleIcon="Лого «Apple»",e.ArrowDownIcon="ArrowDownIcon",e.ArrowsRewindRight="ArrowsRewindRight",e.ArrowUpIcon="ArrowUpIcon",e.AtmIcon="Банкомат",e.BankIcon="Банк",e.BurgerIcon="Бургер",e.BurgerIconWhite="Бургер (белый)",e.Calendar2Icon="Календарь 2",e.CalendarCircleIcon="Скруглённый календарь",e.CalendarIcon="Календарь",e.CalendarTickIcon="Календарь с галочкой",e.CalendarWhiteIcon="Календарь белый",e.CardIcon="Кред. карта",e.CardPosIcon="Кред. карта под наклоном",e.CardTickIcon="Кред. карта с галочкой",e.CardWithGemIcon="Карта с драгоценностями",e.ChartSquareIcon="Деньги внутри кошелька",e.ClockIcon="Часы",e.CloseIcon="Крестик",e.ComfortableCompIcon="Кресло",e.CreditCardsIcon="Кредитные карты",e.DiscountShapeIcon="Скидка",e.DocIcon="Документ",e.DocIconMonoColor="Документ (одноцветный)",e.DocumentTextIcon="Документ с текстом",e.DollarIcon="Доллар",e.EarthIcon="Земля",e.EmptyWalletChangeIcon="Пустой кошелёк с возвратом",e.EmptyWalletIcon="Пустой кошелёк",e.EmptyWalletWhiteIcon="Пустой кошелёк (белый)",e.EuroIcon="Евро",e.GeolocationIcon="Геолокация",e.GlassIcon="Зеркало",e.GlobalIcon="Глобус",e.GpsIcon="Gps",e.GridIcon="Сетка",e.GridIconWhite="Сетка (белая)",e.InterestGrowthIcon="Диаграмма роста",e.InterestIcon="Скидка",e.JCBIcon="JCB",e.LoupeIcon="Лупа",e.MasterCardIcon="MasterCard",e.MinusIcon="Минус",e.MirIcon="МИР",e.MoneyIcon="Деньги",e.MoneyInsuranceIcon="Денежное страхование",e.MonitorMobileIcon="Монитор и мобильный",e.NewDocIcon="Новый документ",e.OfficeIcon="Офис",e.OkIcon="Лого «Одноклассники»",e.PassSendIcon="Бизнес",e.PercentageRoundIcon="Проценты (круг.)",e.PercentageSquareIcon="Проценты",e.PercentageSquareWhiteIcon="Проценты белые",e.PersonalCardIcon="Персональная карта",e.PlayMarketIcon="Лого «PlayMarket»",e.PlusIcon="Плюс",e.Profile2UserIcon="Профиль, 2 персоны",e.ProfileIcon="Профиль",e.RoundRubleIcon="Рубль (круг.)",e.SafeIcon="Сейф",e.ShieldTickIcon="Безопасность",e.SignDocsIcon="Подписанные документы",e.SmallClockIcon="Маленькие часы",e.TelegramIcon="Лого «Telegram»",e.UnionPayIcon="UnionPay",e.UserTickIcon="Пользователь",e.VisaIcon="Visa",e.VKIcon="Лого «VK»",e.WalletAdd2Icon="Пополнение карты",e.WalletAddIcon="Кошелёк с плюсом",e.WalletIcon="Кошелёк",e.WalletWithMoneyIcon="Кошелёк с деньгами"}(x||(x={}));const u={none:"",primary:"text-primary-main",secondary:"text-primary-text"},p=r((({className:e="",name:t="",alt:r=`Иконка ${x[t]||t}`,title:l=r,asSVG:i,color:o="primary",...s})=>{const c=`${m.CDN||""}icons/${t}.svg`;return i?a("svg",{className:`${u[o]} ${e}`,...s,"aria-hidden":"true",style:"secondary"===o?{filter:"invert(1)"}:null,children:[l?n("title",{children:l}):null,r?n("desc",{children:r}):null,n("use",{href:`${c}#icon`,xlinkHref:`${c}#icon`})]}):n("img",{className:e,src:c,alt:r,title:l,...s,"aria-hidden":"true"})})),b=r((({className:e="",image:t,imageClassName:a="",...r})=>{if(!t)return null;const l="string"==typeof t?t:t.icon;return l||""===l?l.length?n(p,{className:e,name:l,...r}):null:n(g,{className:e,imageClassName:a,image:t})})),g=r((({className:e="",image:t,imageClassName:r=""})=>t?a("picture",{className:`flex-none ${e}`,children:[t?.sources?.length?t.sources.map((({src:e,format:t},a)=>n("source",{srcSet:e,type:N(t)},`${a}_${e}`))):null,f(t,r)]}):null)),f=(e,t="")=>{const a={width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"100%"},r=e.title||"",l=e.alt||e.title;return n("img",{src:e.src,className:t,alt:l,title:r,style:a,...e.size})};function N(e){return e?`image/${String(e)}`:void 0}const y=r((({className:e,iconClassName:t,textClassName:r,suffixClassName:l,doc:i,icon:o})=>{const{text:s,fileSize:c,...d}=i;return a("a",{className:e,role:"link",...d,children:[o?n(b,{className:t,image:o,width:"24px",height:"24px",asSVG:!0}):null,s?a("span",{className:r,children:[s,n("span",{className:l,children:d?.href&&v(w(d.href),c)})]}):null]})})),v=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),w=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},I=r((({className:e="",doc:t,icon:a})=>n(y,{className:`flex h-full box-border ${e}`,iconClassName:"mr-2.5 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}))),k=r((({className:e,documents:t,columnsMode:a="double",icon:r})=>t?.length?n("div",{className:e,role:"list",children:t.map(((e,t)=>n("div",{className:"double"===a?"basis-[calc(50%-20px)]":"",role:"listitem",children:n(I,{className:"group flex text-sm align-middle h-fit w-fit text-primary-text no-underline hover:text-primary-main",doc:e,icon:r})},String(t))))}):null)),C={left:"text-left",center:"text-center",right:"text-right"},$={double:"mb-8",single:"mb-[26px]"},S={double:"flex gap-x-5 gap-y-[26px] flex-wrap",single:"flex gap-3.5 flex-col"},T=r((({className:e="",title:t,subtitle:r,align:l,documents:i,icon:s={icon:"DocIcon"},columnsMode:c="double",anchor:d=null})=>a("section",{className:`font-sans text-primary-text p-12 bg-white ${e}`,id:d,children:[t?n(o,{headingType:"h2",className:`${r?"mb-2.5":$[c]} ${C[l??"center"]}`,title:t}):null,r?n("h3",{className:`text-base mt-0 font-normal ${$[c]} ${C[l??"center"]}`,children:r}):null,n(k,{className:S[c],columnsMode:c,documents:i,icon:s})]}))),D={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},R=r((({className:e="",title:t,image:r,benefits:l,version:i="primary",directionRight:s=!1,anchor:c=null})=>a("section",{className:`relative font-sans p-14 ${D[i]} ${e}`,id:c,children:[n(o,{headingType:"h2",className:"text-center",title:t}),a("div",{className:"flex justify-center mt-9",children:[r?.src&&n(b,{className:s?"order-2 ml-6":"mr-6",image:r}),l?.length?n("div",{className:"flex flex-col",children:l.map(((e,t)=>function(e,t,r){return a("div",{className:"flex flex-row mb-8",children:[e.icon?n(b,{className:"w-[48px] h-[48px] bg-main rounded-full box-border p-[12px]",image:e.icon,width:"48",height:"48",asSVG:!0}):null,a("div",{className:"flex gap-1 flex-col h-full ml-5 max-w-[490px]",children:[e.label&&n("div",{className:"font-medium text-xl m-0 "+("primary"===r?"text-primary-text":""),children:e.label}),e.description&&n("div",{className:"font-normal text-sm "+("primary"===r?"text-secondary-text":""),children:e.description})]})]},String(t))}(e,t,i)))}):null]})]})));const M=e=>e?.includes("//"),A=e=>(e||"").replace(/\/?\?.*/,""),P=e=>{if(!e||!M(e))return;const t=e,n=t.indexOf("//"),a=t.indexOf("/",n+"//".length);return-1!==a?t.substring(0,a):t},L=e=>{if(!e||!M(e))return;const t=e.indexOf("#");return-1!==t?e.substring(t,e.length):void 0};var j=Object.freeze({__proto__:null,isURL:M,withoutQuery:A,getOrigin:P,getHash:L});const _="/mobile",B=(e,t)=>{if(!e)return e;const n=P(t?.href);return n?e.replace(n,"")||"/":e},W=e=>e;function G({router:e,handlerDecorator:t=W},n){const a=((e,t)=>{if(!e)return e;const n=B(e,t)||"",a=t?.pathname.startsWith(_);return a&&!M(n)?`/mobile${n}`:n})(n.href,e);return{...n,href:a,ariaLabel:n.text,onClick:t((t=>{const r=a&&!M(a),l=!n.target||"_self"===n.target;r&&l&&(t.preventDefault(),e.push(a))}),n)}}const V=r((({text:e,href:t,target:a,onClick:r,className:l="",children:i})=>t?n("a",{className:`no-underline ${l}`,href:t,target:a,onClick:r,children:n("span",{className:l,children:e||i})}):n("span",{className:l,children:e||i})));function E(e){return t=>t.reduce(((t,n,a)=>t.length?t.concat({...e,key:a},n):[n]),[])}const O=r((e=>{const{text:t,aboveText:r,appendLeft:l}=e;return a("div",{className:F(e),children:[l||null,H(e)?a("div",{children:[n("div",{className:"text-m-2xs font-light text-left",children:r}),n("div",{className:"text-base text-left",children:t})]}):null]})})),F=e=>{const{version:t,aboveText:n,rounded:a}=e;if("link"===t)return"";const r="px-8 gap-2 "+(n?"py-2":"py-4");return["flex items-center justify-center",H(e)?r:"h-12 w-12",a?"rounded-full":""].join(" ")},H=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),U={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:""},Z={primary:"bg-secondary-dark text-secondary-text",secondary:"bg-secondary-light text-secondary-text",link:""},z="text-center font-sans select-none",q=r((e=>{const{text:t,aboveText:a,appendLeft:r,children:l,disabled:i,rounded:o}=e,s=l??n(O,{text:t,aboveText:a,appendLeft:r,rounded:o});return n(i?K:J,{...e,children:s})})),J=r((({className:e,ariaLabel:t,version:a="none",rounded:r,href:l,target:i,children:o,onClick:s,...c})=>n("a",{className:`${z} inline-block cursor-pointer no-underline ${U[a]||""} ${r?"rounded-full":"rounded-md"} ${e||""}`,href:l,target:i,onClick:s,"aria-label":t,role:l?"link":"button",...c,children:o}))),K=r((({className:e,children:t,ariaLabel:a,version:r="none",rounded:l})=>n("div",{role:"button","aria-disabled":"true","aria-label":a,tabIndex:"-1",className:`inline-block ${z} ${Z[r]||""} ${l?"rounded-full":"rounded-md"} ${e||""}`,children:t}))),X=r((({context:e,className:t="",buttons:a})=>{const{handlerDecorator:r}=e,l=e.useRouter();return a?.length?n("div",{className:`${t}`,children:a.map(((e,t)=>function({icon:e,...t},a){if(!t?.text)return;return n(q,e?{appendLeft:n(b,{image:e,width:"24",height:"24",asSVG:!0}),...t}:{...t},String(a))}(G({router:l,handlerDecorator:r},e),t)))}):null}));const Q=r((e=>{const{className:t="",description:a}=e;return n("div",{className:`font-normal text-base ${t}`,children:a})})),Y={primary:"bg-primary-main",secondary:"bg-white",gray:"bg-secondary-text"},ee=r((({className:e="",isDotted:t=!0,children:r,version:l="primary"})=>a("div",{className:`font-sans flex items-center ${e}`,role:"listitem",children:[t&&n("div",{className:te(l)}),n("span",{children:r})]}))),te=e=>`rounded-full inline-block mr-3 ${Y[e]} ${"gray"===e?"w-1.5 h-1.5 min-w-1.5 min-h-1.5":"w-2 h-2 min-w-2 min-h-2"}`,ne={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text"},ae=r((e=>{const{className:t="",itemClassName:a,isDotted:r,items:l,version:i="primary"}=e;return n("section",{className:`${ne[i]} ${t}`,role:"list",children:l?.length?l.map(((e,t)=>n(ee,{className:a,isDotted:r,version:i,children:e},String(t)))):null})})),re=r((({className:e="",title:t,children:r,buttons:l,image:i,anchor:o=null})=>a("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,id:o,children:[t,a("div",{className:"flex grow w-full justify-between",children:[a("div",{className:"flex flex-col justify-between w-full",children:[n("div",{children:r}),l?n("div",{children:l}):null]}),i]})]}))),le={primary:"bg-main",secondary:"bg-white/30"},ie={primary:"text-primary-text",secondary:"text-white"},oe={primary:"text-secondary-text",secondary:"text-white"};const se=r((({className:e="",context:t,title:r,headingType:l="h2",description:i,benefits:o,buttons:s,image:c,items:d,version:m="primary",isDotted:h=!0,textBlockClassName:x=""})=>{const u="secondary"===m?"text-white":"text-primary-text";return a("div",{className:`flex grow justify-between items-stretch ${e}`,children:[n("div",{className:`flex flex-col ${x}`,children:a(re,{context:t,title:ce(r,l,u),buttons:de(t,s),children:[i&&n(Q,{className:`mt-[18px] max-w-[600px] text-title-new-sm font-light ${u}`,description:i}),o?.filter((e=>e.label))?.length?n("div",{className:"flex gap-6 mt-6",children:o.map(((e,t)=>function(e,t,r){return a("div",{className:"flex gap-4 items-center",children:[e.icon?n(b,{className:`w-[50px] h-[50px] min-w-[50px] min-h-[50px] rounded-full p-[10px] box-border ${le[r]}`,image:e.icon,width:"24",height:"24",asSVG:!0}):null,a("div",{className:"flex gap-1 flex-col h-full max-w-[149px]",children:[n("div",{className:`font-medium text-xl m-0 ${ie[r]}`,children:e.label}),e.description&&n("div",{className:`font-normal text-sm ${oe[r]}`,children:e.description})]})]},String(t))}(e,t,m)))}):null,d?.length?n(ae,{className:"mt-5 text-title-new-sm font-light",items:d,itemClassName:"mb-[10px]",version:m,isDotted:h}):null]})}),c?.src&&n(b,{className:"mt-auto",image:c})]})})),ce=(e,t,a)=>e&&n(t,{className:`font-sans font-medium m-0 text-title-xl ${a}`,children:e}),de=(e,t)=>t?.length?n(X,{context:e,buttons:t,className:"flex mt-9 gap-3"}):null,me={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},he={primary:"text-secondary-text",secondary:"text-white/80"},xe=r((e=>{const{context:t,className:r="",breadcrumbs:l,version:i="primary",anchor:o=null,...s}=e,c=t.useRouter(),{handlerDecorator:d}=t;return a("section",{className:`font-sans pt-10 pl-[50px] pb-[50px] pr-[7.5rem] box-border min-h-[420px] ${me[i]} ${r}`,id:o,children:[l?.length?n("div",{className:"text-xs mb-6",children:E(n("span",{className:`mx-2 ${he[i]}`,children:"/"}))(l.map(((e,t)=>n(V,{...G({router:c,handlerDecorator:d},{className:he[i],...e})},String(t)))))}):null,n(se,{context:t,version:i,...s})]})})),ue={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"}},pe=r((({title:e,description:t,blockVersion:r="primary",iconVersion:l,image:i,className:o,anchor:s=null})=>{const c=ue[r];return a("section",{className:`font-sans px-9 py-4 flex ${c.background} ${o||""}`,id:s,children:["small"===l?be(c.icon):null,"big"===l?ge(i):null,a("div",{className:"py-0.5",children:[e&&n("div",{className:`font-medium text-base mb-1 ${c.title}`,children:e}),t&&n("div",{className:`text-sm ${c.description}`,children:t})]})]})}));function be(e){return n("div",{className:"pt-1.5 pl-1 pr-4",children:n("div",{className:`rounded-full h-4 w-4 text-center text-xs ${e}`,children:"i"})})}function ge(e){return e?.src?n(b,{className:"pt-0.5 pr-3",image:e}):null}const fe=e=>{const t="col-span-",n=e.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function Ne(e=""){const t=fe(e);return t<=4?"h4":t<=8?"h3":"h2"}function ye(e=""){const t=fe(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function ve(e=""){const t=fe(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const we={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},Ie=r((e=>{const{context:t,title:r,description:l,items:i,children:s,buttons:c,image:d,className:m="",version:h="primary",role:x,anchor:u=null}=e;return n("section",{className:`overflow-hidden font-sans p-9 box-border ${m} ${we[h]} ${ve(m)} ${ye(m)} `,role:x,id:u,children:a(re,{context:t,title:r&&n(o,{headingType:Ne(m),title:r,className:`whitespace-pre-wrap max-w-[600px] ${r?"mb-3":""}\n ${"primary"===h?"text-primary-text":""}`}),buttons:c?.length?n(X,{context:t,buttons:c,className:"flex mt-9 gap-3"}):null,image:d?.src&&n(b,{className:"mt-auto ml-7",image:d}),children:[l&&n(Q,{className:"mt-4 max-w-[600px]",description:l}),s,ke(i,h)]})})}));function ke(e,t){return e?.length?n(ae,{items:e,itemClassName:"mt-2.5 first:mt-0",version:t}):null}const Ce={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},$e=r((({context:e,className:t="",title:r,description:l,benefits:i,buttons:s,image:c,version:d="primary",anchor:m=null})=>n("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${t} ${Ce[d]} ${ve(t)} ${ye(t)} `,id:m,children:a(re,{context:e,title:r&&n(o,{headingType:Ne(t),title:r,className:"whitespace-pre-wrap max-w-[600px]"}),buttons:s?.length?n(X,{context:e,buttons:s,className:"flex mt-9 gap-3"}):null,image:c?.src&&n(b,{className:"mt-auto ml-7",image:c}),children:[l&&n(Q,{className:"mt-4 max-w-[600px]",description:l}),a("div",{className:"flex mt-5 mb-1",children:[i?.length?n("div",{className:"mr-8",children:i.map(Se)}):null,i?.length?n("div",{className:"pt-1",children:i.map(((e,t)=>function(e,t,a="primary"){return n("div",{className:`text-sm ${t?"mt-4":""} ${{primary:"text-secondary-text",secondary:"text-white"}[a]}`,children:e.description},String(t))}(e,t,d)))}):null]})]})})));function Se(e,t){return n("div",{className:"text-xl font-medium "+(t?"mt-2.5":""),children:e.label},String(t))}const Te=r((({className:e,viewBox:t,fill:a="none",width:r,height:l,paths:i,...o})=>n("svg",{xmlns:"http://www.w3.org/2000/svg",className:e,viewBox:t,fill:a,width:r,height:l,children:i.map((({d:e,fill:t,...a},r)=>n("path",{d:e,fill:t||"currentColor",...o,...a},r)))}))),De=[{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"}],Re=r((({className:e,disabled:t,...a})=>n(q,{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:n(Te,{paths:De,viewBox:"0 0 16 16",fill:"none",width:"16",height:"16"})}))),Me={primary:"bg-white text-secondary-text",secondary:"bg-primary-main text-white"},Ae={normal:3,mini:4},Pe={normal:"min-w-[364px] w-[364px]",mini:"min-w-[260px] w-[260px]"},Le={normal:380,mini:276},je=r((({title:e,description:t,image:r,items:l,button:i,version:o})=>{const s=function(e,t,n){return`font-medium text-xl m-0\n ${"secondary"!==e?"text-primary-text":""}\n ${t||n?.length?"":"text-center"}\n `}(o,t,l);return a("div",{className:"h-full flex flex-col justify-between",children:[a("div",{children:[r?.src?n("div",{className:"flex justify-center",children:n(b,{className:"mb-6",image:r})}):null,e?Be(e,s):null,t?n("div",{className:"font-normal text-sm "+(e?"mt-2":""),children:t}):null,l?.length?We(l,o):null]}),i?.text?_e(i):null]})}));function _e(e){return n(q,{className:"mt-6 w-full",appendLeft:e.icon&&n(b,{image:e.icon,width:"24px",height:"24px",asSVG:!0}),...e})}function Be(e,t){return n("div",{className:`font-medium text-xl m-0 ${t}`,children:e})}function We(e,t="primary"){return n(ae,{className:"max-w-[308px] mt-2 text-sm "+("primary"===t?"!text-secondary-text":""),itemClassName:"mt-1 first:mt-0",items:e.filter((e=>e?.text)).map((e=>e.text)),version:t})}const Ge=r((({context:e,title:t,description:r,cards:l=[],version:i="normal",activeCardIndex:s})=>a("div",{children:[n("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?n(o,{headingType:"h2",className:"text-center",title:t}):null,r?n("div",{className:"font-normal text-base max-w-[600px] mt-2.5",children:r}):null]}),n("div",{className:`flex ${l?.length<=Ae[i]?"justify-center":""} duration-1000`,style:{transform:`translateX(-${s*Le[i]}px)`},role:"list",children:l?.map(((t,a)=>function({card:e,version:t},a){return n("section",{className:`box-border border-solid border rounded-md border-main-divider p-7 mx-2 flex flex-col justify-between\n items-stretch ${Pe[t]} ${Me[e.version??"primary"]} w-full col-span-4`,role:"listitem",children:n(je,{...e})},String(a))}({card:t,version:i,context:e},a)))})]})));const Ve=r((({context:e,cards:t=[],className:r="",version:l="normal",anchor:i=null,...o})=>{const[s,c]=e.useState(0),d=t?.length>Ae[l],m=d&&t?.length-s>Ae[l],h=d&&s>0;return a("section",{className:`relative font-sans text-primary-text bg-white p-[50px] overflow-hidden ${r}`,id:i,children:[n(Ge,{context:e,cards:t,version:l,activeCardIndex:s,...o}),h&&n(Re,{className:"absolute top-1/2 left-8 rotate-180 z-10 mt-[25px]",onClick:()=>c(s-1),ariaLabel:"Пролистать влево","data-block-control":"scroll-left"}),m&&n(Re,{className:"absolute top-1/2 right-8 z-10 mt-[25px]",onClick:()=>c(s+1),ariaLabel:"Пролистать вправо","data-block-control":"scroll-right"}),n("div",{className:"absolute top-0 left-0 bottom-0 w-[84px] bg-opacity-from-white"}),n("div",{className:"absolute top-0 right-0 bottom-0 w-[100px] bg-opacity-to-white"})]})})),Ee=r((e=>n(Ve,{...e,version:"normal"}))),Oe=r((e=>n(Ve,{...e,version:"mini"}))),Fe=r((({className:e="",documents:t,anchor:a=null})=>n("section",{className:`font-sans bg-white mt-[10px] ${e}`,id:a,children:n("ul",{className:"flex flex-col text-sm text-secondary-text p-0",children:t?.length?He(t):null})}))),He=e=>e.map(((e,t)=>{const{text:a,...r}=e;return n("li",{className:"mb-4 list-none",children:n("a",{className:"hover:text-primary-main",role:"link",...r,children:a||null})},`list_item_${String(t)}`)})),Ue={Headline:d,LinkDocs:T,TextBlock:pe,PictureText:R,ProductBlock:xe,Tile:Ie,ProductTile:$e,Gallery:Ee,MiniGallery:Oe,LinkList:Fe},Ze=({blocks:e,context:t,className:n,columns:a})=>e?.length?e.map(ze({context:t,className:n,columns:a})):null,ze=({context:e,columns:t,className:a})=>(r,l)=>{const i=r?.blockListType;if(!i||!(i in Ue))return null;return n("div",{className:`${a} ${2===t?"w-1/2":""}`,children:n(Ue[i],{context:e,...r,className:"!p-0"})},`block_${l}`)},qe=r((({blocks:e,context:t})=>n("div",{className:"transition-all duration-300 max-h-0 overflow-hidden",children:Ze({context:t,className:"mb-5 last:mb-0 pb-5",blocks:e})}))),Je=r((({label:e,isExpanded:t,blocks:r,context:l})=>{const{isActive:i,hasContent:o,icon:s,handleToggle:c}=(({context:e,blocks:t,initialState:n=!1})=>{const[a,r]=e.useState(n),l=t?.length;return{isActive:a,hasContent:l,icon:a?"MinusIcon":"PlusIcon",handleToggle:e=>{if(!l)return;r(!a);const t=(({currentTarget:e})=>e.nextSibling)(e);t.style.maxHeight=t.style.maxHeight?null:`${t.scrollHeight}px`}}})({context:l,blocks:r,initialState: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\n ${o?"group cursor-pointer":""}\n `,onClick:c,children:[n("span",{className:"text-xl pr-2.5 font-medium",children:e}),o?n(b,{image:s,width:"24",height:"24",asSVG:!0}):null]}),o?n(qe,{isExpanded:i,blocks:r,context:l}):null]})})),Ke=r((({title:e,description:t,accordionItems:r,context:l,className:i="",anchor:s=null})=>a("section",{className:`p-[50px] font-sans bg-white text-primary-text ${i}`,id:s,children:[e?n(o,{headingType:"h4",className:"mb-2.5",title:e}):null,t?n("div",{className:"mb-2.5 text-base",children:t}):null,r?.length?n("ul",{className:"list-none m-0 p-0",children:r.map(((e,t)=>n(Je,{...e,context:l},`AccordionItem${t}`)))}):null]}))),Xe=r((({className:e,title:t,benefits:r,anchor:l=null})=>a("section",{className:`font-sans text-primary-text bg-white p-12 flex flex-col items-center ${e||""}`,id:l,children:[t?n(o,{headingType:"h2",className:"max-w-[47rem] text-center",title:t}):null,r?.length?n("div",{className:"grid grid-cols-2 gap-8 mt-9",children:r.map(Qe)}):null]}))),Qe=(e,t)=>a("div",{className:"flex items-center gap-5 max-w-[500px]",children:[e.icon?n(b,{className:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",image:e.icon,width:"70",height:"70"}):null,a("div",{children:[n("h3",{className:"font-medium text-xl m-0",children:e.label}),e.description&&n("div",{className:"font-normal text-sm mt-2",children:e.description})]})]},String(t)),Ye=r((({children:e})=>n("div",{className:"self-start flex flex-col",role:"row",children:n("div",{className:"flex",children:e})}))),et="bg-gradient-to-r from-main-gradient-start to-main-gradient-end",tt="border-main-stroke border-solid border",nt="border-main-divider border border-t-0 border-x-0",at="w-[200px] mr-6",rt={comparison:"flex gap-4 duration-1000",tariff:"flex flex-grow duration-1000"},lt=r((({children:e,activeCardIndex:t,columnWidth:a,version:r="comparison"})=>n("div",{className:"flex flex-1 overflow-hidden",children:n("div",{className:rt[r],style:{transform:`translateX(-${t*a}px)`},children:e})}))),it=r((({icon:e,image:t,title:r,link:l})=>a("div",{className:`w-80 box-border flex flex-col items-center rounded-t-md border-b-0 px-7 pt-7 pb-[46px] ${tt} ${et}`,role:"columnheader",scope:"col",children:[e&&!t?.src&&n(b,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}),t?.src&&n(b,{className:"mb-[18px]",image:t}),r&&n(o,{headingType:"h4",className:"text-center text-white",title:r}),l?.text&&n("div",{className:"mt-auto w-full",children:n(q,{href:l.href,target:l.target,className:"mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active",children:n("div",{className:"font-medium text-xs py-[11px]",children:l.text})})})]}))),ot=r((({colHeaders:e,activeCardIndex:t,router:r,handlerDecorator:l})=>a(Ye,{children:[n("div",{className:at,role:"columnheader",scope:"col"}),n(lt,{activeCardIndex:t,columnWidth:336,children:e.map(((e,t)=>n(it,{...e,link:e.link&&G({router:r,handlerDecorator:l},e.link)},String(t))))})]}))),st=r((({cell:e,isFirstRow:t,isLastRow:a,isFillGradient:r})=>n("div",{className:`w-80 box-border flex flex-col ${tt} ${a?"border-t-0 rounded-b-md":"border-y-0"} ${r?et:""}`,role:"cell",children:n("div",{className:`mx-7 h-full ${nt} ${r&&t?"border-t":""} ${a?"border-b-0":"border-solid"}`,children:e.map(((e,t)=>ct(e,t,r)))})}))),ct=({label:e,description:t},r,l)=>a("div",{className:"first:pt-7 pt-6 last:pb-7",children:[e&&n("h5",{className:"text-xl font-medium m-0 "+(l?"text-white":""),children:e}),t&&n("div",{className:"text-sm opacity-80 "+(l?"text-white":"text-secondary-text"),children:t})]},String(r)),dt=r((({row:{header:e,data:t},activeCardIndex:r,isColoredFirstColumn:l,isFirstRow:i,isLastRow:o})=>a(Ye,{children:[e?.title?n("div",{className:`text-sm py-7 ${nt} w-[200px] mr-6 ${o?"border-b-0":"border-solid"}`,children:e.title}):null,t?.length?n(lt,{activeCardIndex:r,columnWidth:336,children:t.map(((e,t)=>n(st,{cell:e,isFirstRow:i,isLastRow:o,isFillGradient:l&&0===t},String(t))))}):null]}))),mt=r((({isScrollAvailable:e,onNextClick:t,onPrevClick:r,showNextButton:l,showPrevButton:i})=>e?n("div",{children:a("div",{className:"absolute top-7 right-7 z-10",children:[n(Re,{onClick:t,disabled:!l,ariaLabel:"Пролистать вправо","data-block-control":"scroll-right"}),n(Re,{className:"mt-4 rotate-180",onClick:r,disabled:!i,ariaLabel:"Пролистать влево","data-block-control":"scroll-left"})]})}):null)),ht=r((({rowData:e,activeCardIndex:t,isColoredFirstColumn:r,...l})=>a("div",{className:"relative",children:[e.map(((e,a,{length:l})=>n(dt,{row:e,isFirstRow:0===a,isLastRow:a+1===l,activeCardIndex:t,isColoredFirstColumn:r},String(a)))),n(mt,{...l})]}))),xt=({columnsLength:e,colsLengthForScroll:t,activeCardIndex:n,setActiveCardIndex:a})=>{const r=e>t;return{onNextClick:()=>a(n+1),onPrevClick:()=>a(n-1),isScrollAvailable:r,showNextButton:r&&e-n>t,showPrevButton:Boolean(r&&n>0)}},ut=r((({context:e,columns:t,rowHeaders:r,isShowAllRow:l,visibleRowLength:i,isColoredFirstColumn:o})=>{const s=e.useRouter(),{handlerDecorator:c}=e,d=t?.map((({header:e})=>e||{})),m=t?.map((({data:e})=>e))||[],h=r?.map(((e,t)=>({header:e,data:m.map((e=>e?.[t]||[{}]))}))).slice(0,l?r.length:i),[x,u]=e.useState(0),p=xt({columnsLength:m.length,colsLengthForScroll:2,activeCardIndex:x,setActiveCardIndex:u}),{isScrollAvailable:b}=p;return a("div",{children:[a("div",{role:"table",children:[d?.length?n(ot,{colHeaders:d,activeCardIndex:x,router:s,handlerDecorator:c}):null,h?.length?n(ht,{rowData:h,activeCardIndex:x,isColoredFirstColumn:o,...p}):null]}),b?n("div",{className:"absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white"}):null]})})),pt=r((({className:e,context:t,title:r,rowHeaders:l,columns:i,visibleRowLength:s=0,isColoredFirstColumn:c=!1,anchor:d=null})=>{const[m,h]=t.useState(!s);return a("section",{className:`bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${e||""}`,id:d,children:[n(o,{headingType:"h2",className:"max-w-[47rem] text-center mb-9 mx-auto",title:r}),n(ut,{context:t,columns:i,rowHeaders:l,isShowAllRow:m,isColoredFirstColumn:c,visibleRowLength:s}),s?bt({isShowAllRow:m,onClick:()=>h(!m)}):null]})})),bt=({isShowAllRow:e,onClick:t})=>n("div",{className:"pr-[50px]",children:a("div",{className:"flex w-full",children:[n("div",{className:at}),n("button",{onClick:t,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:n("div",{className:"font-sans font-medium text-xs py-[11px]",children:e?"Скрыть":"Показать все параметры"})})]})}),gt=r((({tabs:e,currentTabIndex:t,onTabClick:a})=>n("div",{className:"flex items-end border-b border-main-stroke",role:"tablist",children:e?.map(ft(t,a))}))),ft=(e,t)=>(r,l)=>{const i=e===l;return a("div",{className:"flex h-full flex-1 cursor-pointer mr-2 last:mr-0 box-content "+(i?"px-2 h-16 pt-4 pb-2 text-white bg-primary-main":"px-2 h-14 pb-2 pt-3 border border-b-0 border-main-stroke"),role:"tab",onClick:()=>t(l),"aria-selected":String(i),children:[r?.icon?Nt(r,i):null,a("div",{children:[r?.title?n("h3",{className:"font-medium m-0 text-base",children:r?.title}):null,r?.description?n("span",{className:"font-light text-xs "+(i?"":"text-secondary-text"),children:r?.description}):null]})]},String(l))},Nt=(e,t)=>n("div",{className:"h-full mt-1",style:t?{filter:"invert(1)"}:null,children:n(b,{className:"w-5 h-5 mr-3",image:e?.icon||"CardIcon",asSVG:!t})});async function yt(e){const t=await fetch(e);return await t.json()}const vt=[{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"}],wt=r((({text:e,checked:t,onChange:r,className:l})=>n("div",{className:l,children:a("label",{className:"flex items-center cursor-pointer relative",children:[n("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=>{r(e.target.checked)},checked:t}),n(Te,{paths:vt,className:"hidden absolute left-1 ml-px peer-checked:block",width:"11",height:"9",fill:"white",viewBox:"0 0 11 9"}),e?n("span",{className:"font-sans ml-3 text-sm leading-5 cursor-pointer",children:e}):null]})}))),It=(e,t,n)=>Math.max(t,Math.min(e,n)),kt=3e4,Ct=3e6,$t=Math.round(41.5);const St=e=>new Intl.NumberFormat("ru-RU",{maximumSignificantDigits:3}).format(e),Tt=r((({className:e,title:t,items:r=[],min:l=1,max:i=100,step:o=1,value:s=l,onChange:c})=>{const d=e=>{if(!c)return;const t=Number(e.replace(/\D/g,""));c(t)},m={backgroundSize:`${(100*(s-l)/(i-l)).toFixed(2)}% 100%`};return a("div",{className:e,children:[a("label",{className:"block relative",children:[t?n("span",{className:"absolute text-xs text-secondary-text top-1 mt-0.5 pl-4 ml-0.5",children:t}):null,n("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:St(s),onChange:e=>d(e.target.value),onBlur:()=>{c&&(s<l&&c(l),s>i&&c(i))}}),n("div",{className:"absolute inset-x-0 top-[35px] px-4 leading-[18px]",children:n("input",{className:"box-border w-full m-0 cursor-pointer slider",type:"range",min:l,max:i,step:o,value:s,onChange:e=>d(e.target.value),style:m})})]}),n("div",{className:"flex justify-between my-3",children:r.map(((e,t)=>a("span",{className:"text-xs leading-[14px] text-secondary-text pl-4",children:[" ",e," "]},String(t))))})]})}));function Dt(e){const{minMonths:t,maxMonths:a,monthsValue:r,defaultMonths:l,setMonthsValue:i}=e;return n(Tt,{className:"mt-[23px]",title:"Срок кредита, месяцев",items:["Или выберите из предложенных вариантов ниже"],min:t,max:a,step:1,value:r||l,onChange:i})}function Rt(e,t){return a("div",{className:"box-border h-fit p-9 bg-primary-main rounded-md text-white",children:[n("div",{className:"text-base mb-[18px]",children:"Наше предложение"}),n("div",{className:"text-sm opacity-60",children:"Ежемесячный платёж"}),a("div",{className:"text-lg mb-3",children:[St(Math.round(e))," ₽"]}),n("div",{className:"text-sm opacity-60",children:"Ставка"}),a("div",{className:"text-lg",children:[t," %"]})]})}function Mt(e){const{calculatorParams:t,moneyValue:a,defaultSum:r,setMoneyValue:l}=e,i=t?.minSum||kt,o=t?.maxSum||Ct;return n(Tt,{title:"Желаемая сумма кредита, ₽",items:[`От ${St(i)} рублей`,`До ${St(o)} рублей`],min:i,max:o,step:1e3,value:a||r,onChange:l})}const At=r((({context:e,directoryName:t})=>{const[r,l]=e.useState(void 0),[i,o]=e.useState(void 0),[s,c]=e.useState(!0),[d,m]=e.useState(!0),h=function(e,t){const{data:n}=e(function(e){return`/wcms-resources/${e||"credit-calculator-data"}.json`}(t),yt);return n||{}}(e.useAsyncData,t).rows,x=(e=>{const{tableRows:t,isAnnuity:n=!1}=e;return t&&t.find((e=>e.isAnnuity===n))||{}})({tableRows:h,isAnnuity:s}),u=(e=>e.maxSum&&e.minSum?(e.maxSum-e.minSum)/2:1485e3)(x),p=(e=>e.maxMonths&&e.minMonths?Math.round((e.maxMonths-e.minMonths)/2):$t)(x),b=x?.minMonths||1,g=x?.maxMonths||84,f=(e=>{const{calculatorParams:t,isInsurance:n}=e;return t?n?t?.rateWithInsurance||5:t?.rateWithoutInsurance||5:5})({calculatorParams:x,isInsurance:d}),N=(e=>{const{calculatorParams:t,paymentType:n,rate:a,sum:r,months:l}=e;if(!t)return 0;const i=It(r,t.minSum||kt,t.maxSum||Ct);if("annuity"===n){const e=Number(a)/1200;return i*(e+e/(Math.pow(1+e,l)-1))}return i/l+i*(Number(a)/12)})({calculatorParams:x,paymentType:"annuity",rate:f,sum:r||u,months:i||p}),y=((e,t)=>{const n=Math.ceil((t-e)/12),a=Math.floor(e/12)+1,r=new Array(Math.min(n-1,5)).fill(0).map(((e,t)=>a+t)),l=n+a-1;return r.concat(l)})(b,g);function v(e){o(It(12*e,b,g))}return n("section",{className:"mt-7",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:[Mt({calculatorParams:x,moneyValue:r,defaultSum:u,setMoneyValue:l}),Dt({minMonths:b,maxMonths:g,monthsValue:i,defaultMonths:p,setMonthsValue:o}),n("div",{className:"flex mb-7",children:y.map(((e,t)=>function(e,t,r){return n("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:()=>r(e),children:a("span",{className:"font-semibold text-sm",children:[e," ",1===e?"год":e>4?"лет":"года"]})},String(t))}(e,t,v)))}),n(wt,{text:"Получаю пенсию на карту Россельхозбанка",checked:s,onChange:c}),n(wt,{className:"mt-3 mb-7",text:"Комплексная страховая защита",checked:d,onChange:m})]}),Rt(N,f)]}),a("div",{className:"flex items-center",children:[n(q,{className:"mr-3",text:"Отправить заявку",version:"primary",href:"#"}),n("div",{className:"w-80 text-2xs leading-4 text-secondary-text","aria-label":"Соглашение на обработку персональных данных",children:"Отправляя заявку, вы соглашаетесь на обработку персональных данных соответственно требованиям ФЗ «О персональных данных»"})]})]})})})),Pt=[{title:"Кредит",description:"Ставка от 6% до 7 лет",directoryName:"credit-calculator-data",icon:{icon:"CardIcon"}},{title:"Кредит",description:"Ставка от 4% до 7 лет",directoryName:"credit-calculator-data1",icon:{icon:"ChartSquareIcon"}},{title:"Кредит",description:"Ставка от 3% до 6 лет",directoryName:"credit-calculator-data2",icon:{icon:"DiscountShapeIcon"}}],Lt=r((({className:e="",context:t,tabs:r=Pt,anchor:l=null})=>{const[i,s]=t.useState(0);return a("section",{className:`font-sans text-primary-text py-10 bg-white ${e}`,id:l,children:[n(o,{className:"w-full text-center mb-8",headingType:Ne(e),title:"Калькулятор"}),n(gt,{tabs:r,currentTabIndex:i,onTabClick:s}),n(At,{context:t,directoryName:r[i]?.directoryName})]})}));async function jt(){try{const e=await fetch(_t);return await e.json()}catch(e){console.error(e)}}const _t="/api/v1/exchangerates.json",Bt=new Intl.NumberFormat("ru",{style:"currency",currency:"RUB"}),Wt=e=>e?Bt.format(e):"",Gt="font-light text-left font-normal text-sm text-secondary-text",Vt={USD:"DollarIcon",EUR:"EuroIcon"},Et=r((({className:e,exchangeCurrencyItems:t})=>a("table",{className:`h-fit w-fit ${e}`,children:[n("thead",{children:a("tr",{children:[n("th",{className:Gt,children:"Валюта"}),n("th",{className:`${Gt} pl-11`,children:"Купить"}),n("th",{className:`${Gt} pl-11`,children:"Продать"})]})}),n("tbody",{children:t.map((e=>Ot(e)))})]}))),Ot=e=>{const t=e?.currency?.currency;return a("tr",{className:"pb-1",children:[n("td",{className:"pt-4",children:a("div",{className:"flex items-center",children:[t?n(b,{image:{icon:Vt[t]},width:"24",height:"24"}):null,n("span",{className:"text-m-title-md ml-2",children:t})]})}),n("td",{className:"pt-4 pl-11 m-title-md font-light",children:Wt(e.buyExchangeRate)}),n("td",{className:"pt-4 pl-11 m-title-md font-light",children:Wt(e.saleExchangeRate)})]},t)},Ft=r((({className:e="",address:t,distance:r})=>a("div",{className:`flex text-sm ${e}`,children:[n(b,{className:"min-w-fit",image:{icon:"GpsIcon"},width:"24",height:"24",asSVG:!0}),a("div",{className:"ml-3 font-light",children:[t?n("p",{className:"m-0 mb-[3px]",children:t}):null,r?a("p",{className:"text-secondary-text m-0",children:["Курс указан для ближайшего офиса - ",r]}):null]})]}))),Ht=r((({className:e="",id:t,name:a,type:r="text",placeholder:l})=>n("input",{className:e,id:t,name:a||t,type:r,placeholder:l}))),Ut=r((({className:e="",id:t,name:a,children:r})=>n("select",{className:e,id:t,name:a||t,children:r}))),Zt=r((({className:e="",value:t,children:a})=>n("option",{className:e,value:`${t}`,children:a}))),zt=r((({codes:e,className:t=""})=>a("div",{className:`grid gap-3.5 ${t}`,children:[qt("Хочу продать",e),qt("Получу",e),n(q,{className:"box-border mt-3.5 py-3 h-12 w-full",version:"primary",href:"#",children:"Купить валюту"})]})));function qt(e,t){return a("div",{className:"relative flex items-center",children:[n(Ht,{className:"h-10 border pl-4 pt-[7px] pb-[7px] rounded-md text-m-sm w-full appearance-none -mr-12",type:"number",placeholder:`${e}`}),t.length?n(Ut,{className:"h-9 -translate-x-4",children:t.map(((e,t)=>n(Zt,{value:e,children:e},String(t))))}):null]})}const Jt=["USD","EUR"],Kt=["RUB","USD","EUR"],Xt=[{buyExchangeRate:90.6,saleExchangeRate:92.8,currency:{id:2,code:"978",currency:"EUR",name:"Евро"}},{buyExchangeRate:73.75,saleExchangeRate:75.95,currency:{id:1,code:"840",currency:"USD",name:"Американский доллар"}}],Qt={address:"Москва, ул.Ленина д.28",distance:"6км"},Yt=r((({className:e="",context:t,title:r="Курсы обмена валют",anchor:l=null})=>{const i=function(e){const{data:t}=e(_t,jt);return t||{}}(t.useAsyncData)?.exchangeRate?.currencies?.filter((e=>-1!==Jt.indexOf(e?.currency?.currency||"")))||Xt;return n("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e}`,id:l,children:n(re,{context:t,title:n(o,{headingType:Ne(e),title:r,className:"whitespace-pre-wrap"}),children:a("div",{className:"flex",children:[a("div",{className:"mr-[43px] pt-4",children:[i?n(Et,{className:"mb-[31px]",exchangeCurrencyItems:i}):null,n(Ft,{...Qt})]}),i?.length?n(zt,{className:"grow",exchangeCurrencyItems:i,codes:Kt}):null]})})})})),en=["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"],tn={"bg-white":"text-primary-main",transparent:"text-white"},nn={"bg-white":"text-black",transparent:"text-white"},an=r((({className:e,href:t,children:r,targetBlank:l,bgColor:i="bg-white",hideTitle:o})=>a("a",{className:`inline-flex items-center font-sans no-underline ${e||""}`,href:t||"https://rshb.ru/",target:l?"_blank":"_self","aria-label":"Россельхозбанк",children:[n(Te,{className:`${tn[i]} w-10`,viewBox:"0 0 40 45",paths:en.map((e=>({d:e})))}),!o&&n("span",{className:`${nn[i]} text-base font-medium ml-2.5`,children:r||"Россельхозбанк"})]}))),rn=r((({className:e,context:t})=>{const{term:r,setTerm:l}=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:[n("div",{className:"w-[24px] h-[24px]",children:n(b,{image:"LoupeIcon",width:"24",height:"24"})}),!r&&n("label",{htmlFor:"search-bar-input",className:"font-sans font-normal text-base text-secondary-text",children:"Поиск по сайту"})]}),n("input",{id:"search-bar-input",className:"h-12 pl-12 w-full peer font-sans font-normal text-base text-black border border-solid rounded h-full box-border outline-none pr-[6%] border-main-divider focus:border-primary-text",value:r,onChange:e=>l(e.target.value),type:"text",name:"search-bar-input"}),n(q,{version:"primary",text:"Найти",className:"invisible peer-focus:visible absolute top-1 right-1",onClick:e=>{e.preventDefault(),console.log("click")},children:n("div",{className:"font-normal text-sm px-9 py-[9px]",children:"Найти"})})]})})),ln=r((({className:e,items:t,hasButton:r,context:l})=>{const i=l.useRouter(),{handlerDecorator:o}=l;return a("div",{className:`flex flex-col ${e||""}`,children:[t?.length?t.map(on):null,r?n(q,{version:"primary",className:"mt-0.5 mb-5",...G({router:i,handlerDecorator:o},{text:"Обратная связь",href:"/",target:"_blank"})}):null]})})),on=(e,t)=>{const{type:r,text:l,description:i}=e;return a("div",{className:"mb-3.5",children:[n("div",{children:sn(r,l)}),n("div",{className:"font-sans text-sm text-secondary-text",children:i})]},String(t))},sn=(e,t="")=>{switch(e){case"tel":return n("a",{className:"font-sans font-medium text-xl text-primary-text no-underline",href:`tel:${cn(t)}`,children:t});case"email":return n("a",{className:"font-sans font-medium text-xl text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return n("span",{children:t})}},cn=e=>e.replaceAll(/\D/g,""),dn=r((({links:e,className:t="",context:a})=>{const r=a.useRouter(),{handlerDecorator:l}=a;return n("div",{className:t,children:e?.length?n("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)=>n(mn,{index:t,...G({router:r,handlerDecorator:l},e)},String(t))))}):null})})),mn=r((({className:e="",index:t,text:a,href:r,target:l,onClick:i})=>n("a",{className:`font-sans font-normal text-sm text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${e}`,href:r,target:l,onClick:i,children:a||`Документ ${t}`}))),hn=e=>t=>e?.href===t?.href,xn=(e,t)=>{return(a=e,r=t,(a||[]).map((e=>r?.find(hn(e))||e))).concat((n=e,(t||[]).filter((e=>!n?.find(hn(e))))));var n,a,r};function un(e){const{data:t}=e(bn(),pn);return t||{}}async function pn(){const e=await fetch(bn());return await e.json()}function bn(){return`/wcms-resources/${m.SITEMAP||"sitemap"}.json`}const gn=r((({className:e,items:t,context:a})=>{const r=un(a.useAsyncData),l=xn(r.topItems,t),i={router:a.useRouter(),handlerDecorator:a.handlerDecorator};return n("div",{className:`flex items-start justify-start gap-11 xl:gap-5 ${e||""}`,children:l?.map(((e,t)=>fn(e,t,i)))})})),fn=(e,t,{router:r,handlerDecorator:l})=>{const{text:i,href:o,items:s,target:c}=e;return a("div",{className:"flex flex-col gap-[14px]",children:[n("a",{className:"block font-sans font-medium text-base text-primary-text no-underline",href:o,target:c||"_self",children:i||`Раздел ${t}`}),s?.map(((e,t)=>n(Nn,{...G({router:r,handlerDecorator:l},e),index:t},String(t))))]},String(t))},Nn=r((({text:e,href:t,target:a,index:r})=>n("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||`Раздел ${r}`}))),yn=[{origins:["t.me","telegram.org"],icon:{icon:"TelegramIcon"},label:"Телеграм",width:"20px",height:"16px"},{origins:["vk.com"],icon:{icon:"VKIcon"},label:"ВКонтакте",width:"24px",height:"12px"},{origins:["ok.ru"],icon:{icon:"OkIcon"},label:"Одноклассники",width:"12px",height:"20px"}],vn=r((({href:e})=>{const{icon:t,width:a,height:r,label:l}=yn.find((({origins:t})=>t.some((t=>e?.includes(t)))))||{};return t?n("a",{className:"flex items-center justify-center border border-solid border-main-divider rounded-full no-underline outline-none w-[40px] h-[40px] box-border hover:text-primary-main",href:e,"aria-label":l,target:"_blank",rel:"noopener noreferrer",children:t?n(b,{image:t,width:a,height:r,asSVG:!0,className:"block",color:"none"}):null}):null})),wn=r((({className:e,media:t,context:a})=>{const r=a.useRouter(),{handlerDecorator:l}=a;return n("div",{className:`flex items-end gap-2 pt-[30px] pb-7 ${e||""}`,children:t?.map(((e,t)=>n(vn,{...G({router:r,handlerDecorator:l},e)},String(t))))})})),In=r((({className:e,links:t,context:r})=>{const l=r.useRouter(),{handlerDecorator:i}=r;return a("div",{className:`${e||""}`,children:[n("div",{className:"pt-5 pb-[5px]",children:n("span",{className:"font-sans font-normal text-xs text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?n("div",{className:"flex justify-start items-start gap-5 pt-[5px]",children:t.map(((e,t)=>n(kn,{index:t,...G({router:l,handlerDecorator:i},e)},String(t))))}):null]})})),kn=r((({className:e,index:t,text:a,href:r,target:l,onClick:i})=>n("a",{className:`font-sans font-normal text-xs text-secondary-text visited:text-secondary-text hover:text-primary-text inline-block no-underline max-w-[292px] ${e||""}`,href:r,target:l,onClick:i,children:a||`Документ ${t}`}))),Cn=r((({className:e,documents:t,relatedEnterprises:r,contacts:l,socialMedia:i,topItems:o,context:s,anchor:c=null})=>a("footer",{className:`px-9 py-10 bg-white ${e||""}`,id:c,children:[a("div",{className:"flex items-stretch gap-[54px] pb-8 xl:gap-8",children:[n(an,{className:"w-[280px] xl:w-[220px]"}),n(rn,{context:s,className:"grow"})]}),a("div",{className:"flex items-stretch gap-[54px] xl:gap-8",children:[n(ln,{className:"w-[280px] shrink-0 overflow-hidden xl:w-[220px]",items:l,context:s,hasButton:!0}),n(gn,{className:"pt-[3px]",context:s,items:o})]}),n(wn,{media:i,context:s}),n(dn,{links:r,context:s}),n(In,{links:t,context:s})]}))),$n=(e,t,n=((e,t)=>t.startsWith(e)))=>n(A(e),(e=>(e||"").replace(_,""))(A(M(e)?t.href:t.pathname))),Sn=e=>t=>$n(t.href,e),Tn=e=>(t=[])=>{const n=t?.filter(Sn(e));var a;return n?.length?(a=e=>e.href?.length||0,e=>e.reduceRight(((e,t)=>a(e)>a(t)?e:t)))(n):null},Dn=e=>t=>t.items?.some(Sn(e))||$n(t.href,e)||((e,t)=>P(e)===P(t.href))(t.href,e),Rn="absolute left-0 -bottom-3 w-full h-[2px]",Mn=r((({className:e,text:t,href:r,target:l,active:i,onClick:o,children:s,bgColor:c="bg-white"})=>a("a",{className:`relative inline-block bg-transparent text-center no-underline ${e||""}`,href:r,target:l,onClick:o,children:[n("span",{className:An(c,i),children:t||s}),i?n("div",{className:Pn(c,i)}):null]}))),An=(e,t)=>{let n="text-white";return"bg-white"===e&&(n=t?"text-primary-main":"text-primary-text hover:text-primary-main"),`${n} font-sans font-normal text-base`},Pn=(e,t)=>t?`${"bg-white"===e?"bg-primary-main":e} ${Rn}`:Rn,Ln=r((({className:e="",text:t,href:a,target:r,active:l,flat:i,onClick:o,children:s,ariaLabel:c,bgColor:d="bg-white"})=>n("a",{className:`${jn(d,l,i)} ${e}`,href:a,target:r,onClick:o,rel:"noopener noreferrer","aria-label":c,children:n("span",{className:_n(d,l,i),children:t||s})}))),jn=(e,t,n)=>{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 ${n?"":"px-4 py-2"}`},_n=(e,t,n)=>{let a="text-white";return"bg-white"===e&&(a=t?"text-primary-main":(n?"text-primary-text":"text-secondary-text")+" hover:text-primary-main"),`${a} font-sans font-normal text-sm`},Bn=r((({className:e="",children:t,ariaLabel:a})=>n("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}))),Wn={"bg-white":"text-primary-text hover:text-primary-main",transparent:"text-white"},Gn={"bg-white":"text-secondary-light hover:text-secondary-hover",transparent:"text-white"},Vn={"bg-white":"GridIcon",transparent:"GridIconWhite"},En=r((({context:e,className:t,defaultLocation:r="",bgColor:l="bg-white"})=>{const[i,o]=e.useGeolocation(r);return a("div",{className:`flex items-center ${t||""}`,children:[n(Ln,{className:"mr-5",flat:!0,href:"#",text:i,ariaLabel:"Местоположение",onClick:o,bgColor:l}),n(Ln,{className:"mr-7",flat:!0,href:"#",text:"Офисы и банкоматы",ariaLabel:"Список всех доступных офисов и банкоматов",bgColor:l}),n(Bn,{className:`mr-5 ${Wn[l]}`,ariaLabel:"Поиск по сайту",children:n(b,{image:"LoupeIcon",className:"h-full",asSVG:!0,color:"none"})}),n(Bn,{className:`mr-5 ${Wn[l]}`,ariaLabel:"Профиль",children:n(b,{image:"ProfileIcon",className:"h-full",asSVG:!0,color:"none"})}),n(Bn,{className:`${Gn[l]} min-w-[32px] min-h-[32px]`,ariaLabel:"Дополнительные ссылки",children:n(b,{image:Vn[l],className:"h-full",asSVG:!0,color:"none"})})]})})),On={"bg-white":"bg-main-divider",transparent:"bg-main-divider opacity-30"},Fn=r((({className:e,defaultLocation:t="Москва",bgColor:r="bg-white",context:l,topItems:i,anchor:o=null})=>{const s=l.useRouter(),c=un(l.useAsyncData),{handlerDecorator:d}=l,m=xn(c.topItems,i),h=m.find(Dn(s)),x=h?.items,u=Tn(s)(x),p=m.map(((e,t)=>n(Ln,{active:e===h,...G({router:s,handlerDecorator:d},e),ariaLabel:e.text,bgColor:r},String(t)))),b=x?.map((e=>n(Mn,{className:"mr-8",active:e===u,...G({router:s,handlerDecorator:d},e),bgColor:r},e.href)));return n("header",{className:`pt-5 pb-8 px-20 ${r} ${e||""}`,id:o,children:a("div",{className:"container",children:[a("div",{className:"flex items-center",children:[n(an,{className:"mr-8",bgColor:r}),p,n(En,{context:l,className:"ml-auto",defaultLocation:t,bgColor:r})]}),n("div",{className:`mt-5 h-[1px] ${On[r]}`}),n("nav",{className:"mt-5",children:b})]})})})),Hn=r((({className:e="",context:t,title:r="Мобильное приложение",qr:l,buttons:i=[],anchor:s=null})=>n("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${ve(e)} ${ye(e)} `,id:s,children:n(re,{context:t,title:r&&n(o,{headingType:Ne(e),title:r,className:"whitespace-pre-wrap max-w-[600px] mb-7"}),buttons:i?.length?n(X,{context:t,buttons:i,className:"flex mt-7 gap-4"}):null,children:a("div",{className:"flex items-center",children:[l?.src&&l?.href&&n("a",{href:l.href,target:"_blank","aria-label":r,children:n("img",{src:l.src,alt:r,title:r,width:"164",height:"164",className:"w-[90px] h-[90px] min-w-[90px] min-h-[90px] bg-secondary-light"})}),n("span",{className:"font-light text-secondary-text ml-4",children:"Наведите камеру телефона на QR-код и скачайте приложение"})]})})}))),Un=r((({className:e,text:t,onClick:a,href:r,target:l,isActive:i})=>n("a",{className:`bg-inherit no-underline px-4 py-2.5 cursor-pointer rounded text-sm border border-solid hover:text-primary-main ${e||""} ${i?"border-primary-main text-primary-main":"border-white text-secondary-text"}`,onClick:a,href:r,target:l,children:t}))),Zn=r((({className:e,context:t,title:r,buttons:l,anchor:i=null})=>{const o=t.useRouter(),{handlerDecorator:s}=t,c=Tn(o)(l);return a("section",{className:`font-sans text-primary-text rounded-[40px] flex items-center justify-between ${e||""}`,id:i,children:[n("h2",{className:"font-medium text-xl m-0",children:r}),l?.length?n("div",{className:"flex rounded-md overflow-hidden bg-white",children:l.filter((({text:e})=>e)).map(((e,t)=>n(Un,{className:"first:rounded-tl-md first:rounded-bl-md last:rounded-tr-md last:rounded-br-md",isActive:e===c,...G({router:o,handlerDecorator:s},e)},String(t))))}):null]})})),zn=r((({className:e="",label:t,active:a,children:r,onClick:l,anchor:i})=>n("a",{className:qn(e,a),href:`#${i}`,onClick:l,children:n("span",{className:Jn(a),children:t||r})}))),qn=(e,t)=>`${t?"bg-primary-main":"bg-white"} flex-1 flex items-center justify-center ${e}`,Jn=e=>`${e?"text-white":"text-secondary-text hover:text-primary-main"} font-sans font-normal text-sm`,Kn=r((({className:e="",navigatorTabs:t,context:a,anchor:r=null})=>{const l=a.useRouter(),i=L(l.href);return n("section",{className:`sticky top-0 z-20 box-border flex gap-x-1 h-12 ${e}`,id:r,children:t?t.map(Xn(i,l)):null})})),Xn=(e,t)=>(a,r)=>{const l=`#${a.anchor}`;return n(zn,{active:e?l===e:0===r,onClick:()=>t?.replace(l),...a},a.anchor)},Qn=r((({className:e,context:t,title:r,description:l="Блок в разработке...",anchor:i=null})=>n("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${ve(e)} ${ye(e)} `,id:i,children:a(re,{context:t,title:r?n(o,{headingType:Ne(e),title:r,className:"whitespace-pre-wrap max-w-[600px]"}):null,children:[l?n(Q,{className:"mt-4 max-w-[600px]",description:l}):null,n("figure",{className:"m-0 min-w-[600px]",children:Yn()})]})}))),Yn=(e=3)=>ta(100,e).map((e=>Math.floor(e))).map(ea),ea=(e=100,t)=>n("div",{style:{width:`${e}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),ta=(e,t)=>[e].concat(t>0?ta(e/1.618,t-1):[]),na={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},aa=r((({block:e,headingType:t,context:a,className:r=""})=>n("section",{className:`flex grow-0 shrink-0 basis-full ${na[e?.version??"primary"]} ${r}`,role:"listitem",children:n("div",{className:"p-10 flex grow",children:n(se,{className:"pl-2.5 pt-2.5 pb-1.5 pr-[6.25rem]",context:a,headingType:t||"h2",...e})})}))),ra=r((({className:e,context:t,duration:r=0,slides:l=[],anchor:i=null})=>{const o=l.map((e=>e.nav)),s=l.map((e=>e.productBlock)),[c,d]=t.useState(0);return a("section",{className:`font-sans bg-white overflow-hidden w-100 ${e||""}`,id:i,children:[n("div",{className:"flex duration-1000",style:{transform:`translateX(-${c}00%)`},role:"list",children:s.map(((e,a)=>n(aa,{context:t,block:e},String(a))))}),n("div",{className:"flex",children:o.map(((e,t)=>function({slide:e,i:t,activeSlideIndex:r,onClick:l,duration:i}){const o=t===r,s=o?"animate-slide":"",c=o?"text-primary-text":"text-secondary-text";return a("button",{type:"button",onClick:l,"aria-label":e?.title,className:"font-sans group relative overflow-hidden border-0 bg-inherit cursor-pointer text-left px-0 pt-4 pb-[23px] grow basis-0",children:[a("div",{className:"border-0 border-r border-solid border-main-divider px-6",children:[n("div",{className:`text-sm font-medium pb-[3px] group-hover:text-primary-text ${c}`,children:e?.title}),n("div",{className:"text-xs text-secondary-text",children:e.desc})]}),n("div",{className:`absolute bottom-0 left-0 w-full h-[3px] bg-primary-main -translate-x-full ${s}`,style:{animationDuration:`${i}s`,animationFillMode:"forwards"}})]},String(t))}({slide:e,i:t,activeSlideIndex:c,onClick:()=>d(t),duration:r})))})]})}));const la={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},ia={primary:{title:"text-secondary-text",text:"text-secondary-text"},secondary:{title:"text-white",text:"text-white/80"}},oa={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},sa=r((({className:e="",context:t,slides:r=[],version:l="primary",duration:i=0,anchor:o=null})=>{const s=r.map((e=>e.nav)),c=r.map((e=>e.productBlock)),[d,m]=t.useState(0);return a("section",{id:o,className:`box-border pt-[50px] overflow-hidden relative font-sans w-100 ${e}\n ${la[l]}`,children:[n("div",{className:"flex duration-1000 pb-14",style:{transform:`translateX(-${d}00%)`},role:"list",children:c.map(((e,a)=>function(e,t,a){const{version:r}=e,l=r?ia[r].title:"";return n("section",{className:"box-border relative flex grow-0 shrink-0 basis-full",role:"listitem",children:n("div",{className:"flex grow",children:n(se,{className:`pl-[50px] pr-2 z-[1] ${l}`,context:a,textBlockClassName:"mb-[154px]",...e})})},String(t))}({...e,version:l},a,t)))}),n("div",{className:"flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border",children:s.map(((e,t)=>function({slide:e,i:t,activeSlideIndex:r,onClick:l,version:i,duration:o}){const s=t===r,c=s?"bg-white shadow-dark-blue/42 h-[102px] w-[354px] min-w-[354px] max-w-[354px] p-0 border-none":`min-w-[277px] px-0 pt-4 pb-[23px] hover:py-[26px] hover:py-[26px] ease-in duration-300\n ${oa[i]}`,d=s?"text-primary-text text-title-2xs":`text-base ${ia[i].title}`,m=s?"text-secondary-text text-m-title-xs mt-2.5":`text-m-md mt-1.5 ${ia[i].text}`,h="secondary"===i?"border-white/50":"",x=s?"animate-slide":"";return a("button",{type:"button",onClick:l,"aria-label":e?.title,className:`box-border font-sans group relative overflow-hidden border-[1px] cursor-pointer text-left mx-1 grow basis-0 backdrop-blur-sm\n ${c} ${h}\n `,children:[a("div",{className:"border-0 px-6",children:[n("div",{className:`font-medium ${d}`,children:e?.title}),n("div",{className:`text-secondary-text ${m}`,children:e.description})]}),n("div",{className:`absolute bottom-0 left-0 w-full h-[3px] bg-primary-main -translate-x-full ${x}`,style:{animationDuration:`${o}s`,animationFillMode:"forwards"}})]},String(t))}({slide:e,i:t,activeSlideIndex:d,onClick:()=>m(t),version:l,duration:i})))})]})}));const ca={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},da=r((({className:e="",context:t,title:r="Акции и спецпредложения",date:l,description:i,buttons:s=[],version:c="primary",anchor:d=null})=>n("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${ca[c]} ${ve(e)} ${ye(e)} `,id:d,children:n(re,{context:t,title:r?n(o,{headingType:Ne(e),title:r,className:"whitespace-pre-wrap max-w-[600px]"}):null,buttons:s?.length?n(X,{context:t,buttons:s,className:"flex mt-9 gap-3"}):null,children:a("div",{className:"mt-1.5",children:[l?n("div",{className:"text-sm mb-2",children:ma(l)}):null,n("div",{className:"text-base",children:i})]})})})));function ma(e){return new Date(e).toLocaleString("ru-RU",{day:"numeric",month:"long",year:"numeric"}).replace("г.","")}const ha=r((({blocks:e,columns:t=1,context:a})=>n("div",{className:"transition-all duration-300 max-h-0 overflow-hidden",children:n("div",{className:"box-border w-full p-9 "+(t>1?"flex flex-wrap":""),children:Ze({context:a,className:"box-border p-5",columns:t,blocks:e})})}))),xa=r((({label:e,isExpanded:t,blocks:r,columns:l,context:i})=>{const{hasContent:o,icon:s,handleToggle:c,isActive:d}=(({context:e,blocks:t,initialState:n=!1})=>{const[a,r]=e.useState(n),l=t?.length;return{isActive:a,hasContent:l,icon:a?"ArrowUpIcon":"ArrowDownIcon",handleToggle:e=>{if(!l)return;r(!a);const t=(({currentTarget:e})=>e.previousSibling)(e);t.style.maxHeight=t.style.maxHeight?null:`${t.scrollHeight}px`}}})({context:i,blocks:r,initialState:t});return a("div",{className:"border-0 border-b border-solid border-main-divider",children:[o?n(ha,{isExpanded:d,columns:l,blocks:r,context:i}):null,a("button",{className:"border-none bg-primary-main px-0 py-[26px] mb-[1px] w-full font-sans text-white text-base flex justify-center cursor-pointer",onClick:c,children:[n("span",{className:"pr-3",children:d?"Скрыть":e}),o?n(p,{name:s,width:"20",height:"20",asSVG:!0}):null]})]})})),ua=r((({blockItems:e,context:t,className:a})=>n("section",{className:`font-sans bg-white text-primary-text ${a||""}`,children:e?.length?n("div",{className:"list-none m-0 p-0",children:e.map(((e,a)=>n(xa,{...e,context:t},`BlockItem${a}`)))}):null}))),pa=r((({context:e,className:t="",title:r,description:l,items:i,image:o,version:s,socialMedia:c})=>n("section",{className:`border border-solid box-border py-[30px] px-9 min-w-[515px] max-w-[515px] ${t}`,role:"listitem",children:a(re,{context:e,className:"flex justify-between",title:r?n("h4",{className:"font-sans text-title-xs font-normal m-0 mb-3.5",children:r}):null,image:o?.src&&n(b,{className:"mt-auto ml-7",image:o}),children:[l?n(Q,{className:"text-left",description:l}):null,i?.length?n(ae,{className:"text-md font-light flex flex-col gap-2",items:i,version:s}):null,n(wn,{className:"pt-[42px] pb-0",media:c,context:e})]})}))),ba="absolute top-0 bottom-0 w-[84px]",ga=r((({context:e,recommendations:t=[],className:r="",title:l,version:i,anchor:s=null})=>{const[c,d]=e.useState(0),m="secondary"===i?"border-white/50":"border-main-stroke";return a("section",{className:`relative font-sans p-9 overflow-hidden text-center ${"secondary"===i?"bg-primary-main text-white":"bg-white text-primary-text"} ${r}`,id:s,children:[l?n(o,{headingType:"h2",className:"mb-6",title:l}):null,n("div",{className:"flex duration-1000 gap-3.5",style:{transform:`translateX(-${525*c}px)`},role:"list",children:t?.length?t.map(fa({context:e,version:i,className:m})):null}),Na({cardsCount:t.length,activeCardIndex:c,setActiveCardIndex:d}),n("div",{className:`${ba} left-0 ${"secondary"===i?"bg-opacity-from-main":"bg-opacity-from-white"}`}),n("div",{className:`${ba} right-0 ${"secondary"===i?"bg-opacity-to-main":"bg-opacity-to-white"}`})]})})),fa=({context:e,version:t,className:a})=>(r,l)=>n(pa,{context:e,...r,version:t,className:a},String(l)),Na=({cardsCount:e,activeCardIndex:t,setActiveCardIndex:r})=>{const l=e>2,i=l&&e-t>2;return a("div",{children:[l&&t>0&&n(Re,{className:"absolute top-1/2 left-8 rotate-180 z-10 mt-6",onClick:()=>r(t-1),ariaLabel:"Пролистать влево"}),i&&n(Re,{className:"absolute top-1/2 right-8 z-10 mt-6",onClick:()=>r(t+1),ariaLabel:"Пролистать вправо"})]})},ya=r((({className:e="",title:t,showLines:r=!0,steps:l=[],anchor:i=null})=>{const s=l.length>3;return a("section",{className:["box-border font-sans text-primary-text bg-white",s?"px-20":"px-[70px]","py-[50px] flex flex-col items-center",e].join(" "),id:i,children:[n(o,{headingType:"h2",className:"max-w-[47rem] text-center",title:t}),l?.length?a("div",{className:"box-border py-0.5 mb-0.5 "+(t?"mt-9":""),children:[n("div",{className:"flex items-center px-[88px]",children:E(n("div",{className:"h-0.5 w-full bg-secondary-light "+(r?"":"opacity-0")}))(l.map(va))}),n("div",{className:"flex justify-between "+(s?"gap-x-3":"gap-x-[101px]"),children:l.map(wa)})]}):null]})})),va=(e,t)=>n("div",{className:"flex flex-col items-center text-center relative",children:n("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?.icon&&n(b,{image:e.icon,width:"48",height:"48"})||n("span",{className:"font-medium text-title-sm text-secondary-text",children:t+1})})},String(t)),wa=(e,t)=>a("div",{className:"flex flex-col items-center text-center relative w-[276px] whitespace-pre-line overflow-hidden",children:[e.label&&n("div",{className:"font-medium text-xl m-0 mt-4",children:e.label}),e.description&&n("div",{className:"font-normal text-sm text-secondary-text "+(e.label?"mt-2":"mt-4"),children:e.description})]},String(t)),Ia=r((({cell:e,isLastRow:t})=>n("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:n("div",{children:e.map(ka)})}))),ka=({label:e,description:t,list:r,image:l,buttons:i},o)=>a("div",{className:"first:pt-5 last:pb-5",children:[o>0&&n("div",{className:"border-main-divider border border-solid border-t-0 border-x-0 my-4"}),e?n("div",{className:"text-xl font-medium m-0",children:e}):null,t?n("div",{className:"text-sm text-secondary-text",children:t}):null,r?.items?.length?Ca(r):null,l&&n(b,{image:l}),i?.length?$a(i):null]},String(o)),Ca=e=>n(ae,{className:"flex flex-col justify-between items-start text-sm",version:"gray",items:e.items,isDotted:e.isDotted??!0}),$a=e=>n("div",{children:e.map((({icon:e,rounded:t,...a},r)=>n(q,{className:(r>0&&t?"ml-3":"")+" w-12 h-12",rounded:t,appendLeft:e?n(b,{image:e,width:"24px",height:"24px",asSVG:!0}):null,...a},String(r))))}),Sa=r((({row:{header:e,data:t},activeCardIndex:r,isLastRow:l})=>a(Ye,{children:[n("div",{className:"text-sm py-5 w-[354px] flex-shrink-0 border-main-divider border border-t-0 border-x-0 "+(l?"":"border-solid"),children:a("div",{className:"flex items-center text-primary-text",children:[e?.icon?n(b,{className:"mr-[14px] max-w-6 max-h-6",image:e.icon,width:"24px",height:"24px",asSVG:!0}):null,e?.title]})}),t?.length?n(lt,{activeCardIndex:r,columnWidth:360,version:"tariff",children:t.map(((e,t)=>n(Ia,{cell:e,isLastRow:l},String(t))))}):null]}))),Ta=r((({className:e,context:t,title:r,description:l,rowHeaders:i,columns:s,anchor:c=null})=>{const[d,m]=t.useState(0),h=Da(s),x=Ra(i,h),u=xt({columnsLength:h.length,colsLengthForScroll:2,activeCardIndex:d,setActiveCardIndex:m}),{isScrollAvailable:p}=u;return a("section",{className:`bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${e||""}`,id:c,children:[r?n(o,{headingType:"h2",className:"text-center "+(l?"mb-2.5":"mb-9"),title:r}):null,l?n("div",{className:"mb-9 text-center text-m-base",children:l}):null,x?.length?a("div",{role:"table",children:[a("div",{className:"relative",children:[x.map(((e,t,{length:a})=>n(Sa,{row:e,isLastRow:t+1===a,activeCardIndex:d},String(t)))),n(mt,{...u})]}),p?n("div",{className:"absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white"}):null]}):null]})})),Da=e=>e?.map((({data:e})=>e))||[],Ra=(e,t)=>e?.map(((e,n)=>({header:e,data:t.map((e=>e?.[n]||[{}]))}))),Ma={Accordion:Ke,BenefitsBlock:Xe,ComparisonTable:pt,CreditCalculator:Lt,ExchangeRateTile:Yt,Footer:Cn,Gallery:Ee,Header:Fn,Headline:d,LinkDocs:T,MiniGallery:Oe,MobileAppTile:Hn,NavigatorTabs:Kn,PictureText:R,ProductBlock:xe,ProductGallery:ra,ProductGalleryGreen:sa,ProductTile:$e,PromoTile:da,OtherProducts:ua,Recommendation:ga,StepsBlock:ya,TariffsTable:Ta,TextBlock:pe,Tile:Ie,Navigation:Zn,Placeholder:Qn},Aa=r((({className:e,onClick:t,ariaLabel:a})=>n("button",{type:"button",className:`border-0 w-[36px] bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":a,children:Pa()}))),Pa=()=>{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:[n("path",{...e,strokeMiterlimit:"10",d:"M21.48 11.95c.5-1.4-.4-2.6-1.9-2.6h-4c-.6 0-1.1-.5-1-1.2l.5-3.2c.2-.9-.4-1.9-1.3-2.2-.8-.3-1.8.1-2.2.7l-4.1 6.1M7.48 18.35l3.1 2.4c.4.4 1.3.6 1.9.6h3.8c1.2 0 2.5-.9 2.8-2.1l1.24-3.77"}),n("path",{...e,d:"M2.38 18.35v-9.8c0-1.4.6-1.9 2-1.9h1c1.4 0 2 .5 2 1.9v9.8c0 1.4-.6 1.9-2 1.9h-1c-1.4 0-2-.5-2-1.9Z"})]})},La=r((({className:e,context:t,anchor:r=null})=>{const l=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||""}`,id:r,children:[n(Aa,{onClick:l.like,ariaLabel:"Поставить отметку «лайк»"}),n(Aa,{onClick:l.dislike,className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),n("span",{className:"select-none",children:l.likeCount})]})})),ja=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),_a=r((({className:e,context:t,blocksRegistry:r,data:{style:l,blocks:i,slots:o={},likeControl:s,colorPalette:c="pc"},blockDecorator:d=ja})=>{const{header:m}=o;return a("section",{className:`relative ${Wa(l)} ${e||""}`,"data-theme":c,children:[m?.blocks?.length?n("div",{className:`${Wa(m?.style)}`,children:m.blocks.map(((e,n)=>Ba({block:e,blockDecorator:d,blocksRegistry:r,context:t},n)))}):null,i?.length?n("div",{className:"container grid grid-cols-12 gap-1",children:i.map(((e,n)=>Ba({block:e,blockDecorator:d,blocksRegistry:r,context:t},n)))}):null,s&&n("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:n(La,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto",context:t})})]})}));function Ba({block:e,blockDecorator:t,blocksRegistry:a,context:r},l){const{type:i}=e;i&&i in a||console.warn(`No block with "${i}" is registered`);const o=a[i||"Placeholder"]||Qn;return t({blockClassName:`scroll-mt-12 ${Wa(e.style)}`,block:e,render:e=>{const{version:t,content:a,anchor:l}=e.block;return n(o,{className:e.blockClassName,version:t,context:r,anchor:l,...a})}},`block-${l}`)}function Wa(e){return e?e.join(" "):""}const Ga=r((({HeadComponent:e,data:t,children:r})=>{const{title:l,main:i,og:o,twitter:s,jsonLd:c}=t,{description:d,keywords:m,canonical:h,robots:x}=i||{};return a(e,{children:[n("title",{children:l}),n("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),d&&n("meta",{name:"description",content:d}),m&&n("meta",{name:"keywords",content:m.join(",")}),x&&n("meta",{name:"robots",content:x.join(",")}),Va(o),Ea(s),h&&n("link",{rel:"canonical",href:h}),c&&n("script",{type:"application/ld+json",children:c}),r]})}));function Va(e){return e?Object.entries(e).map((([e,t])=>n("meta",{property:`og:${e}`,content:t},e))):null}function Ea(e){return e?Object.entries(e).map((([e,t])=>n("meta",{name:`twitter:${e}`,content:t},e))):null}function Oa(e){const{mobile:t,...n}=e;return n}function Fa(e){return e?.filter((e=>{return t=e?.type,(t||"")in Ma;var t})).map(Oa)}e.Blocks=Ma,e.ContentPage=_a,e.ContentPageHead=Ga,e.DaDataAPI=function(e=""){return{getFetcherAddress:async function(){if(!("geolocation"in navigator))return null;try{const t=await(async()=>new Promise((e=>navigator.geolocation.getCurrentPosition((({coords:t})=>e(t))))))(),n=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await n.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}},e.Header=Fn,e.Icon=p,e.LikeAPI=function(e,t=""){async function n(){try{const e=JSON.parse(globalThis.localStorage.getItem(l)||"");if(e?.token)return e}catch(e){}try{const e=await fetch(`${t}/assist/v1/public/auth`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({prefix:"guest"})}),{token:n,name:a}=await e.json();return globalThis.localStorage.setItem(l,JSON.stringify({token:n,name:a})),{token:n,name:a}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...a){if(!a.length)return[];const{token:r}=await n();try{const n=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:r},body:JSON.stringify({node_ids:a})}),{likes:l}=await n.json();return l||[]}catch(e){return console.error(e),[]}},like:async function(a){if(!a)return 0;const{token:r,name:l}=await n();try{const n=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:r,UserID:l},body:JSON.stringify({node_id:a,user_name:l})}),{likes:i}=await n.json();return i||0}catch(e){return console.error(e),0}},dislike:async function(a){if(!a)return 0;const{token:r,name:l}=await n();try{const n=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:r,UserID:l},body:JSON.stringify({node_id:a,user_name:l})}),{likes:i}=await n.json();return i||0}catch(e){return console.error(e),0}}}},e.joinList=E,e.normalizePage=function(e){if(!e)return;const{blocks:t,slots:n}=e;return{...e,blocks:Fa(t),slots:n&&Object.keys(n).reduce(((e,t)=>({...e,[t]:{...n[t],blocks:Fa(n[t].blocks)}})),{})}},e.projectSettings=m,e.setup=t,e.url=j,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,n)=>{t._jsx=e,t._jsxs=n||e};t.vue=e=>{t(((t,{children:n,dangerouslySetInnerHTML:r,...a}={})=>{const l=Object.assign({},a,r?{innerHTML:r.__html}:{});return e(t,l,"string"!=typeof t?()=>n:n)}))};const n=(...e)=>t._jsx(...e),r=(...e)=>t._jsxs(...e),a=e=>(e._tmpl||(e._tmpl=function(t,n){const{children:r,...a}=t||{},l=n?.slots?.default,i=r||l&&l();return e(Object.assign(a,i&&{children:i}),n)},e._tmpl.inheritAttrs=!1),e._tmpl);const l="likesToken";const i={h1:"text-title-xl 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]"},o=a((e=>{const{className:t="",headingType:r,title:a,as:l}=e;if(!r)return;return n(l||r,{className:`font-sans m-0 ${i[r]} ${t}`,children:a})})),s={left:"text-left",center:"text-center",right:"text-right"},c={transparent:{background:"bg-transparent",text:"text-primary-text",description:"text-primary-text"},primary:{background:"bg-white",text:"text-primary-text",description:"text-primary-text"},secondary:{background:"bg-primary-main",text:"text-white",description:"text-white/80"}},d=a((({bgColorHeadline:e="transparent",align:t="left",className:a="",title:l,description:i,anchor:d=null})=>{const m=c[e];return r("section",{className:`p-[50px] ${m.background} ${a}`,id:d,children:[l&&n(o,{headingType:"h2",className:`text-primary-text ${m.text} ${s[t]}`,title:l}),i&&n("p",{className:`font-normal text-base mt-4 ${m.text} ${s[t]}`,children:i})]})})),m=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}};var h,x;!function(e){e.ActualBalanceIcon="ActualBalanceIcon",e.AppleIcon="AppleIcon",e.ArrowDownIcon="ArrowDownIcon",e.ArrowLeftIcon="ArrowLeftIcon",e.ArrowsRewindRight="ArrowsRewindRight",e.ArrowUpIcon="ArrowUpIcon",e.AtmIcon="AtmIcon",e.BankIcon="BankIcon",e.BurgerIcon="BurgerIcon",e.BurgerIconWhite="BurgerIconWhite",e.Calendar2Icon="Calendar2Icon",e.CalendarCircleIcon="CalendarCircleIcon",e.CalendarIcon="CalendarIcon",e.CalendarTickIcon="CalendarTickIcon",e.CalendarWhiteIcon="CalendarWhiteIcon",e.CardIcon="CardIcon",e.CardPosIcon="CardPosIcon",e.CardTickIcon="CardTickIcon",e.CardWithGemIcon="CardWithGemIcon",e.ChartSquareIcon="ChartSquareIcon",e.ClockIcon="ClockIcon",e.CloseIcon="CloseIcon",e.ComfortableCompIcon="ComfortableCompIcon",e.CreditCardsIcon="CreditCardsIcon",e.DiscountShapeIcon="DiscountShapeIcon",e.DocIcon="DocIcon",e.DocIconMonoColor="DocIconMonoColor",e.DocumentTextIcon="DocumentTextIcon",e.DollarIcon="DollarIcon",e.EarthIcon="EarthIcon",e.EmptyWalletChangeIcon="EmptyWalletChangeIcon",e.EmptyWalletIcon="EmptyWalletIcon",e.EmptyWalletWhiteIcon="EmptyWalletWhiteIcon",e.EuroIcon="EuroIcon",e.GeolocationIcon="GeolocationIcon",e.GlassIcon="GlassIcon",e.GlobalIcon="GlobalIcon",e.GpsIcon="GpsIcon",e.GridIcon="GridIcon",e.GridIconWhite="GridIconWhite",e.InterestGrowthIcon="InterestGrowthIcon",e.InterestIcon="InterestIcon",e.JCBIcon="JCBIcon",e.LoupeIcon="LoupeIcon",e.MasterCardIcon="MasterCardIcon",e.MinusIcon="MinusIcon",e.MirIcon="MirIcon",e.MoneyIcon="MoneyIcon",e.MoneyInsuranceIcon="MoneyInsuranceIcon",e.MonitorMobileIcon="MonitorMobileIcon",e.NewDocIcon="NewDocIcon",e.OfficeIcon="OfficeIcon",e.OkIcon="OkIcon",e.PassSendIcon="PassSendIcon",e.PercentageRoundIcon="PercentageRoundIcon",e.PercentageSquareIcon="PercentageSquareIcon",e.PercentageSquareWhiteIcon="PercentageSquareWhiteIcon",e.PersonalCardIcon="PersonalCardIcon",e.PlayMarketIcon="PlayMarketIcon",e.PlusIcon="PlusIcon",e.Profile2UserIcon="Profile2UserIcon",e.ProfileIcon="ProfileIcon",e.RoundRubleIcon="RoundRubleIcon",e.SafeIcon="SafeIcon",e.ShieldTickIcon="ShieldTickIcon",e.SignDocsIcon="SignDocsIcon",e.SmallClockIcon="SmallClockIcon",e.TelegramIcon="TelegramIcon",e.UnionPayIcon="UnionPayIcon",e.UserTickIcon="UserTickIcon",e.VisaIcon="VisaIcon",e.VKIcon="VKIcon",e.WalletAdd2Icon="WalletAdd2Icon",e.WalletAddIcon="WalletAddIcon",e.WalletIcon="WalletIcon",e.WalletWithMoneyIcon="WalletWithMoneyIcon"}(h||(h={})),function(e){e.ActualBalanceIcon="Деньги",e.AppleIcon="Лого «Apple»",e.ArrowDownIcon="Стрелка 'Вниз'",e.ArrowLeftIcon="Стрелка 'Влево'",e.ArrowsRewindRight="ArrowsRewindRight",e.ArrowUpIcon="ArrowUpIcon",e.AtmIcon="Банкомат",e.BankIcon="Банк",e.BurgerIcon="Бургер",e.BurgerIconWhite="Бургер (белый)",e.Calendar2Icon="Календарь 2",e.CalendarCircleIcon="Скруглённый календарь",e.CalendarIcon="Календарь",e.CalendarTickIcon="Календарь с галочкой",e.CalendarWhiteIcon="Календарь белый",e.CardIcon="Кред. карта",e.CardPosIcon="Кред. карта под наклоном",e.CardTickIcon="Кред. карта с галочкой",e.CardWithGemIcon="Карта с драгоценностями",e.ChartSquareIcon="Деньги внутри кошелька",e.ClockIcon="Часы",e.CloseIcon="Крестик",e.ComfortableCompIcon="Кресло",e.CreditCardsIcon="Кредитные карты",e.DiscountShapeIcon="Скидка",e.DocIcon="Документ",e.DocIconMonoColor="Документ (одноцветный)",e.DocumentTextIcon="Документ с текстом",e.DollarIcon="Доллар",e.EarthIcon="Земля",e.EmptyWalletChangeIcon="Пустой кошелёк с возвратом",e.EmptyWalletIcon="Пустой кошелёк",e.EmptyWalletWhiteIcon="Пустой кошелёк (белый)",e.EuroIcon="Евро",e.GeolocationIcon="Геолокация",e.GlassIcon="Зеркало",e.GlobalIcon="Глобус",e.GpsIcon="Gps",e.GridIcon="Сетка",e.GridIconWhite="Сетка (белая)",e.InterestGrowthIcon="Диаграмма роста",e.InterestIcon="Скидка",e.JCBIcon="JCB",e.LoupeIcon="Лупа",e.MasterCardIcon="MasterCard",e.MinusIcon="Минус",e.MirIcon="МИР",e.MoneyIcon="Деньги",e.MoneyInsuranceIcon="Денежное страхование",e.MonitorMobileIcon="Монитор и мобильный",e.NewDocIcon="Новый документ",e.OfficeIcon="Офис",e.OkIcon="Лого «Одноклассники»",e.PassSendIcon="Бизнес",e.PercentageRoundIcon="Проценты (круг.)",e.PercentageSquareIcon="Проценты",e.PercentageSquareWhiteIcon="Проценты белые",e.PersonalCardIcon="Персональная карта",e.PlayMarketIcon="Лого «PlayMarket»",e.PlusIcon="Плюс",e.Profile2UserIcon="Профиль, 2 персоны",e.ProfileIcon="Профиль",e.RoundRubleIcon="Рубль (круг.)",e.SafeIcon="Сейф",e.ShieldTickIcon="Безопасность",e.SignDocsIcon="Подписанные документы",e.SmallClockIcon="Маленькие часы",e.TelegramIcon="Лого «Telegram»",e.UnionPayIcon="UnionPay",e.UserTickIcon="Пользователь",e.VisaIcon="Visa",e.VKIcon="Лого «VK»",e.WalletAdd2Icon="Пополнение карты",e.WalletAddIcon="Кошелёк с плюсом",e.WalletIcon="Кошелёк",e.WalletWithMoneyIcon="Кошелёк с деньгами"}(x||(x={}));const u={none:"",primary:"text-white",secondary:"text-white"},p=a((({className:e="",name:t="",alt:a=`Иконка ${x[t]||t}`,title:l=a,asSVG:i,color:o="primary",...s})=>{const c=`${m.CDN||""}icons/${t}.svg`;return i?r("svg",{className:`${u[o]} ${e}`,...s,"aria-hidden":"true",style:"secondary"===o?{filter:"invert(1)"}:null,children:[l?n("title",{children:l}):null,a?n("desc",{children:a}):null,n("use",{href:`${c}#icon`,xlinkHref:`${c}#icon`})]}):n("img",{className:e,src:c,alt:a,title:l,...s,"aria-hidden":"true"})})),b=a((({className:e="",image:t,imageClassName:r="",...a})=>{if(!t)return null;const l="string"==typeof t?t:t.icon;return l||""===l?l.length?n(p,{className:e,name:l,...a}):null:n(g,{className:e,imageClassName:r,image:t})})),g=a((({className:e="",image:t,imageClassName:a=""})=>t?r("picture",{className:`flex-none ${e}`,children:[t?.sources?.length?t.sources.map((({src:e,format:t},r)=>n("source",{srcSet:e,type:N(t)},`${r}_${e}`))):null,f(t,a)]}):null)),f=(e,t="")=>{const r={width:e.size?.width?`${e.size?.width}px`:"100%",height:e.size?.height?`${e.size?.height}px`:"100%"},a=e.title||"",l=e.alt||e.title;return n("img",{src:e.src,className:t,alt:l,title:a,style:r,...e.size})};function N(e){return e?`image/${String(e)}`:void 0}const y=a((({className:e,iconClassName:t,textClassName:a,suffixClassName:l,doc:i,icon:o})=>{const{text:s,fileSize:c,...d}=i;return r("a",{className:e,role:"link",...d,children:[o?n(b,{className:t,image:o,width:"24px",height:"24px",asSVG:!0}):null,s?r("span",{className:a,children:[s,n("span",{className:l,children:d?.href&&v(w(d.href),c)})]}):null]})})),v=(e,t)=>(e||t?",":"")+(e?` ${e}`:"")+(t?` (${t})`:""),w=e=>{if(!e)return"";const t=e.lastIndexOf(".");return-1!==t?e.substring(t+1):""},I=a((({className:e="",doc:t,icon:r})=>n(y,{className:`flex h-full box-border ${e}`,iconClassName:"mr-3.5 min-w-6 min-h-6 text-primary-text",textClassName:"self-center font-light",suffixClassName:"text-secondary-text group-hover:text-primary-main",doc:t,icon:r}))),k=a((({className:e,documents:t,columnsMode:r="double",icon:a})=>t?.length?n("div",{className:e,role:"list",children:t.map(((e,t)=>n("div",{className:"double"===r?"basis-[calc(50%-20px)]":"",role:"listitem",children:n(I,{className:"group flex align-middle h-fit w-fit text-primary-text no-underline hover:text-primary-main",doc:e,icon:a})},String(t))))}):null)),C={left:"text-left",center:"text-center",right:"text-right"},$={double:"mb-8",single:"mb-[26px]"},S={double:"flex gap-x-5 gap-y-[26px] flex-wrap",single:"flex gap-3.5 flex-col"},T=a((({className:e="",title:t,subtitle:a,align:l,documents:i,icon:s={icon:"DocIcon"},columnsMode:c="double",anchor:d=null})=>r("section",{className:`font-sans text-primary-text p-12 bg-white ${e}`,id:d,children:[t?n(o,{headingType:"h2",className:`${a?"mb-2.5":$[c]} ${C[l??"center"]}`,title:t}):null,a?n("h3",{className:`text-base mt-0 font-normal ${$[c]} ${C[l??"center"]}`,children:a}):null,n(k,{className:S[c],columnsMode:c,documents:i,icon:s})]}))),D={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},A=a((({className:e="",title:t,image:a,benefits:l,version:i="primary",directionRight:s=!1,anchor:c=null})=>r("section",{className:`relative font-sans p-14 ${D[i]} ${e}`,id:c,children:[n(o,{headingType:"h2",className:"text-center",title:t}),r("div",{className:"flex justify-center mt-9",children:[a?.src&&n(b,{className:s?"order-2 ml-6":"mr-6",image:a}),l?.length?n("div",{className:"flex flex-col",children:l.map(((e,t)=>function(e,t,a){return r("div",{className:"flex flex-row mb-8",children:[e.icon?n(b,{className:"w-[48px] h-[48px] bg-main rounded-full box-border p-[12px]",image:e.icon,width:"48",height:"48",asSVG:!0}):null,r("div",{className:"flex gap-1 flex-col h-full ml-5 max-w-[490px]",children:[e.label&&n("div",{className:"font-medium text-xl m-0 "+("primary"===a?"text-primary-text":""),children:e.label}),e.description&&n("div",{className:"font-normal text-sm "+("primary"===a?"text-secondary-text":""),children:e.description})]})]},String(t))}(e,t,i)))}):null]})]})));const R=e=>e?.includes("//"),M=e=>(e||"").replace(/\/?\?.*/,""),L=e=>{if(!e||!R(e))return;const t=e,n=t.indexOf("//"),r=t.indexOf("/",n+"//".length);return-1!==r?t.substring(0,r):t},P=e=>{if(!e||!R(e))return;const t=e.indexOf("#");return-1!==t?e.substring(t,e.length):void 0};var j=Object.freeze({__proto__:null,isURL:R,withoutQuery:M,getOrigin:L,getHash:P});const _="/mobile",B=(e,t)=>{if(!e)return e;const n=L(t?.href);return n?e.replace(n,"")||"/":e},W=e=>e;function G({router:e,handlerDecorator:t=W},n){const r=((e,t)=>{if(!e)return e;const n=B(e,t)||"",r=t?.pathname.startsWith(_);return r&&!R(n)?`/mobile${n}`:n})(n.href,e);return{...n,href:r,"aria-label":n.text,onClick:t((t=>{const a=r&&!R(r),l=!n.target||"_self"===n.target;a&&l&&(t.preventDefault(),e.push(r))}),n)}}const V=a((({text:e,href:t,target:r,onClick:a,className:l="",children:i})=>t?n("a",{className:`no-underline ${l}`,href:t,target:r,onClick:a,children:n("span",{className:l,children:e||i})}):n("span",{className:l,children:e||i})));function E(e){return t=>t.reduce(((t,n,r)=>t.length?t.concat({...e,key:r},n):[n]),[])}const O=a((e=>{const{text:t,aboveText:a,appendLeft:l}=e;return r("div",{className:F(e),children:[l||null,H(e)?r("div",{children:[n("div",{className:"text-m-2xs font-light text-left",children:a}),n("div",{className:"text-button-sm text-left",children:t})]}):null]})})),F=e=>{const{version:t,aboveText:n,rounded:r}=e;if("link"===t)return"";const a="px-8 gap-2 "+(n?"py-2":"py-[18px]");return["flex items-center justify-center",H(e)?a:"h-12 w-12",r?"rounded-full":""].join(" ")},H=({text:e,aboveText:t,appendLeft:n})=>Boolean(e||t||!n),U={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:""},Z={primary:"bg-secondary-dark text-secondary-text",secondary:"bg-secondary-light text-secondary-text",link:""},z="text-center font-sans select-none",q=a((e=>{const{text:t,aboveText:r,appendLeft:a,children:l,disabled:i,rounded:o}=e,s=l??n(O,{text:t,aboveText:r,appendLeft:a,rounded:o});return n(i?K:J,{...e,children:s})})),J=a((({className:e,ariaLabel:t,version:r="none",rounded:a,href:l,target:i,children:o,onClick:s,...c})=>{const{aboveText:d,appendLeft:m,...h}=c;return n("a",{className:`${z} inline-block cursor-pointer no-underline ${U[r]||""} ${a?"rounded-full":"rounded-md"} ${e||""}`,href:l,target:i,onClick:s,"aria-label":t,role:l?"link":"button",...h,children:o})})),K=a((({className:e,children:t,ariaLabel:r,version:a="none",rounded:l})=>n("div",{role:"button","aria-disabled":"true","aria-label":r,tabIndex:"-1",className:`inline-block ${z} ${Z[a]||""} ${l?"rounded-full":"rounded-md"} ${e||""}`,children:t}))),X=a((({context:e,className:t="",buttons:r})=>{const{handlerDecorator:a}=e,l=e.useRouter();return r?.length?n("div",{className:`${t}`,children:r.map(((e,t)=>function({icon:e,...t},r){if(!t?.text)return;return n(q,e?{appendLeft:n(b,{image:e,width:"24",height:"24",asSVG:!0}),...t}:{...t},String(r))}(G({router:l,handlerDecorator:a},e),t)))}):null}));const Q=a((e=>{const{className:t="",description:r}=e;return n("div",{className:`font-normal text-base ${t}`,children:r})})),Y={primary:"rounded-full inline-block mr-3 mt-2",secondary:"rounded-full inline-block mr-3 mt-2",gray:"rounded-full inline-block mr-3 mt-2",tile:"rounded-full inline-block mr-4","tile-white":"rounded-full inline-block mr-4"},ee={primary:"bg-primary-text",secondary:"bg-white",gray:"bg-secondary-text",tile:"bg-black","tile-white":"bg-white"},te=a((({className:e="",isDotted:t=!0,children:a,version:l="primary"})=>r("div",{className:`font-sans flex items-start ${e}`,role:"listitem",children:[t&&n("div",{className:ne(l)}),n("span",{children:a})]}))),ne=e=>`${Y[e]} ${ee[e]} ${{primary:"w-2 h-2 min-w-2 min-h-2",secondary:"w-2 h-2 min-w-2 min-h-2",gray:"w-1.5 h-1.5 min-w-1.5 min-h-1.5",tile:"w-[7px] h-[7px] min-w-[7px] min-h-[7px]","tile-white":"w-[7px] h-[7px] min-w-[7px] min-h-[7px]"}[e]}`,re={primary:"text-primary-text",secondary:"text-white",gray:"text-secondary-text",tile:"text-primary-text","tile-white":"text-white"},ae=a((e=>{const{className:t="",itemClassName:r,isDotted:a,items:l,version:i="primary"}=e;return n("section",{className:`${re[i]} ${t}`,role:"list",children:l?.length?l.map(((e,t)=>n(te,{className:r,isDotted:a,version:i,children:e},String(t)))):null})})),le=a((({className:e="",title:t,children:a,buttons:l,image:i,anchor:o=null})=>r("div",{className:`font-sans flex flex-col grow h-full items-start ${e}`,id:o,children:[t,r("div",{className:"flex grow w-full justify-between",children:[r("div",{className:"flex flex-col justify-between w-full",children:[n("div",{children:a}),l?n("div",{children:l}):null]}),i]})]}))),ie={primary:"bg-primary-main",secondary:"bg-white/30"},oe={primary:"text-primary-text",secondary:"text-white"},se={primary:"text-secondary-text",secondary:"text-white"};const ce=a((({className:e="",context:t,title:a,headingType:l="h2",description:i,benefits:o,buttons:s,image:c,items:d,version:m="primary",isDotted:h=!0,textBlockClassName:x=""})=>{const u="secondary"===m?"text-white":"text-primary-text";return r("div",{className:`flex grow justify-between items-stretch ${e}`,children:[n("div",{className:`flex flex-col ${x}`,children:r(le,{context:t,title:de(a,l),buttons:me(t,s),children:[i&&n(Q,{className:`mt-4 max-w-[600px] text-md font-light ${u}`,description:i}),o?.filter((e=>e.label))?.length?n("div",{className:"flex gap-6 mt-6",children:o.map(((e,t)=>function(e,t,a){return r("div",{className:"flex gap-4 items-center",children:[e.icon?n(b,{className:`w-[50px] h-[50px] min-w-[50px] min-h-[50px] rounded-full p-[10px] box-border text-white ${ie[a]}`,image:e.icon,width:"24",height:"24",asSVG:!0}):null,r("div",{className:"flex gap-0.5 flex-col h-full max-w-[149px]",children:[n("div",{className:`font-medium text-xl m-0 ${oe[a]}`,children:e.label}),e.description&&n("div",{className:`font-normal text-m-md ${se[a]}`,children:e.description})]})]},String(t))}(e,t,m)))}):null,d?.length?n(ae,{className:"mt-5 text-title-2xs font-light",items:d,itemClassName:"mb-[7px]",version:m,isDotted:h}):null]})}),c?.src&&n(b,{className:"mt-auto",image:c})]})})),de=(e,t)=>e&&n(o,{headingType:t,title:e,className:"whitespace-pre-wrap max-w-[600px]"}),me=(e,t)=>t?.length?n(X,{context:e,buttons:t,className:"flex mt-9 gap-4"}):null,he={primary:"bg-primary-main",secondary:"bg-white"},xe={primary:"text-white",secondary:"text-primary-text"};function ue(e,t,a){return r("div",{className:`flex items-center ${a}`,children:[n(q,{rounded:!0,className:`w-12 h-12 min-h-12 max-h-12 flex items-center justify-center mr-3 ${he[t]}`,ariaLabel:e,children:n(b,{className:`w-4 h-4 min-w-4 min-h-4 rounded-full box-border ${xe[t]}`,image:{icon:"ArrowLeftIcon"},color:"none",width:"24",height:"24",asSVG:!0})}),e?n("span",{className:"text-m-md",children:e}):null]})}const pe={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},be={primary:"text-secondary-text",secondary:"text-white/80"},ge=a((e=>{const{context:t,className:a="",breadcrumbs:l,version:i="primary",anchor:o=null,...s}=e,c=t.useRouter(),{handlerDecorator:d}=t;return r("section",{className:`font-sans pt-10 pl-[50px] pb-[50px] pr-[7.5rem] box-border min-h-[420px] ${pe[i]} ${a}`,id:o,children:[ue("Все дебетовые карты",i,"mb-10"),l?.length?n("div",{className:"text-xs mb-6",children:E(n("span",{className:`mx-2 ${be[i]}`,children:"/"}))(l.map(((e,t)=>n(V,{...G({router:c,handlerDecorator:d},{className:be[i],...e})},String(t)))))}):null,n(ce,{context:t,version:i,...s})]})})),fe={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"}},Ne=a((({title:e,description:t,blockVersion:a="primary",iconVersion:l,image:i,className:o,anchor:s=null})=>{const c=fe[a];return r("section",{className:`font-sans px-9 py-4 flex ${c.background} ${o||""}`,id:s,children:["small"===l?ye(c.icon):null,"big"===l?ve(i):null,r("div",{className:"py-0.5",children:[e&&n("div",{className:`font-medium text-base mb-1 ${c.title}`,children:e}),t&&n("div",{className:`text-sm ${c.description}`,children:t})]})]})}));function ye(e){return n("div",{className:"pt-1.5 pl-1 pr-4",children:n("div",{className:`rounded-full h-4 w-4 text-center text-xs ${e}`,children:"i"})})}function ve(e){return e?.src?n(b,{className:"pt-0.5 pr-3",image:e}):null}const we=e=>{const t="col-span-",n=e.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12};function Ie(e=""){const t=we(e);return t<=4?"h4":t<=8?"h3":"h2"}function ke(e=""){const t=we(e);return t<=6?"min-h-[300px]":t<=8?"min-h-[320px]":"min-h-[360px]"}function Ce(e=""){const t=we(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const $e={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},Se=a((e=>{const{context:t,title:a,description:l,items:i,children:s,buttons:c,image:d,className:m="",version:h="primary",role:x,anchor:u=null}=e;return n("section",{className:`overflow-hidden font-sans p-9 pr-3 box-border ${m} ${$e[h]} ${Ce(m)} ${ke(m)} `,role:x,id:u,children:r(le,{context:t,title:a&&n(o,{headingType:Ie(m),as:"h3",title:a,className:`whitespace-pre-wrap max-w-[600px] ${a?"mb-3":""}\n ${"primary"===h?"text-primary-text":""}`}),buttons:c?.length?n(X,{context:t,buttons:c,className:"flex mt-9 gap-3"}):null,image:d?.src&&n(b,{className:"mt-auto ml-7",image:d}),children:[l&&n(Q,{className:"mt-4 max-w-[600px] text-title-new-sm font-light",description:l}),s,Te(i,h)]})})}));function Te(e,t){return e?.length?n(ae,{items:e,itemClassName:"text-title-new-sm font-light mt-2.5 first:mt-0",version:"primary"===t?"tile":"tile-white"}):null}const De={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},Ae=a((({context:e,className:t="",title:a,description:l,benefits:i,buttons:s,image:c,version:d="primary",anchor:m=null})=>n("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${t} ${De[d]} ${Ce(t)} ${ke(t)} `,id:m,children:r(le,{context:e,title:a&&n(o,{headingType:Ie(t),title:a,className:"whitespace-pre-wrap max-w-[600px]"}),buttons:s?.length?n(X,{context:e,buttons:s,className:"flex mt-9 gap-3"}):null,image:c?.src&&n(b,{className:"mt-auto ml-7",image:c}),children:[l&&n(Q,{className:"mt-4 max-w-[600px]",description:l}),r("div",{className:"flex mt-5 mb-1",children:[i?.length?n("div",{className:"mr-8",children:i.map(Re)}):null,i?.length?n("div",{className:"pt-1",children:i.map(((e,t)=>function(e,t,r="primary"){return n("div",{className:`text-sm ${t?"mt-4":""} ${{primary:"text-secondary-text",secondary:"text-white"}[r]}`,children:e.description},String(t))}(e,t,d)))}):null]})]})})));function Re(e,t){return n("div",{className:"text-xl font-medium "+(t?"mt-2.5":""),children:e.label},String(t))}const Me=a((({className:e,viewBox:t,fill:r="none",width:a,height:l,paths:i,...o})=>n("svg",{xmlns:"http://www.w3.org/2000/svg",className:e,viewBox:t,fill:r,width:a,height:l,children:i.map((({d:e,fill:t,...r},a)=>n("path",{d:e,fill:t||"currentColor",...o,...r},a)))}))),Le=[{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"}],Pe=a((({className:e,disabled:t,...r})=>n(q,{rounded:!0,className:`shadow-[0_4px_25px_rgba(0,0,0,0.07)] w-12 h-12 min-h-12 max-h-12 flex items-center justify-center ${t?"bg-secondary-light text-secondary-text":"bg-white text-primary-text hover:text-primary-main"} ${e||""}`,disabled:t,...r,children:n(Me,{paths:Le,viewBox:"0 0 16 16",fill:"none",width:"16",height:"16"})}))),je={primary:"bg-white text-secondary-text",secondary:"bg-primary-main text-white"},_e={normal:3,mini:4},Be={normal:"min-w-[364px] w-[364px]",mini:"min-w-[260px] w-[260px]"},We={normal:380,mini:276},Ge=a((({title:e,description:t,image:a,items:l,button:i,version:o})=>{const s=function(e){return`text-xl m-0\n ${"secondary"!==e?"text-primary-text":""}\n `}(o);return r("div",{className:"h-full flex flex-col justify-between text-center",children:[r("div",{children:[a?.src?n("div",{className:"flex justify-center",children:n(b,{className:"mb-6",image:a})}):null,e?Ee(e,s):null,t?n("div",{className:"font-light text-m-md-new "+(e?"mt-2":""),children:t}):null,l?.length?Oe(l,o):null]}),i?.text?Ve(i):null]})}));function Ve(e){return n(q,{className:"mt-6 w-full",appendLeft:e.icon&&n(b,{image:e.icon,width:"24px",height:"24px",asSVG:!0}),...e})}function Ee(e,t){return n("div",{className:`text-xl m-0 ${t}`,children:e})}function Oe(e,t="primary"){return n(ae,{className:"max-w-[308px] mt-2 text-sm "+("primary"===t?"!text-secondary-text":""),itemClassName:"mt-1 first:mt-0",items:e.filter((e=>e?.text)).map((e=>e.text)),version:t})}const Fe=a((({context:e,title:t,description:a,cards:l=[],version:i="normal",activeCardIndex:s})=>r("div",{children:[n("div",{className:"absolute top-0 left-0 bottom-0 w-[84px] bg-gradient-to-r from-white to-transparent"}),r("div",{className:"flex flex-col items-center mb-8",children:[t?n(o,{headingType:"h2",className:"text-center",title:t}):null,a?n("div",{className:"font-light text-md max-w-[600px] mt-2.5",children:a}):null]}),n("div",{className:`flex ${l?.length<=_e[i]?"justify-center":""} duration-1000`,style:{transform:`translateX(-${s*We[i]}px)`},role:"list",children:l?.map(((t,r)=>function({card:e,version:t},r){return n("section",{className:`box-border border-solid border border-main-stroke p-6 mx-2 flex flex-col justify-between\n items-stretch ${Be[t]} ${je[e.version??"primary"]} w-full col-span-4`,role:"listitem",children:n(Ge,{...e})},String(r))}({card:t,version:i,context:e},r)))})]})));const He=a((({context:e,cards:t=[],className:a="",version:l="normal",anchor:i=null,...o})=>{const[s,c]=e.useState(0),d=t?.length>_e[l],m=d&&t?.length-s>_e[l],h=d&&s>0;return r("section",{className:`relative font-sans text-primary-text bg-white p-[42px] overflow-hidden ${a}`,id:i,children:[n(Fe,{context:e,cards:t,version:l,activeCardIndex:s,...o}),h&&n(Pe,{className:"absolute top-1/2 left-8 rotate-180 z-10 mt-[25px]",onClick:()=>c(s-1),ariaLabel:"Пролистать влево","data-block-control":"scroll-left"}),m&&n(Pe,{className:"absolute top-1/2 right-8 z-10 mt-[25px]",onClick:()=>c(s+1),ariaLabel:"Пролистать вправо","data-block-control":"scroll-right"}),n("div",{className:"absolute top-0 left-0 bottom-0 w-[84px] bg-opacity-from-white"}),n("div",{className:"absolute top-0 right-0 bottom-0 w-[100px] bg-opacity-to-white"})]})})),Ue=a((e=>n(He,{...e,version:"normal"}))),Ze=a((e=>n(He,{...e,version:"mini"}))),ze=a((({className:e="",documents:t,anchor:r=null})=>n("section",{className:`font-sans bg-white mt-[10px] ${e}`,id:r,children:n("ul",{className:"flex flex-col text-sm text-secondary-text p-0",children:t?.length?qe(t):null})}))),qe=e=>e.map(((e,t)=>{const{text:r,...a}=e;return n("li",{className:"mb-4 list-none",children:n("a",{className:"hover:text-primary-main",role:"link",...a,children:r||null})},`list_item_${String(t)}`)})),Je={Headline:d,LinkDocs:T,TextBlock:Ne,PictureText:A,ProductBlock:ge,Tile:Se,ProductTile:Ae,Gallery:Ue,MiniGallery:Ze,LinkList:ze},Ke=({blocks:e,context:t,className:n,columns:r})=>e?.length?e.map(Xe({context:t,className:n,columns:r})):null,Xe=({context:e,columns:t,className:r})=>(a,l)=>{const i=a?.blockListType;if(!i||!(i in Je))return null;return n("div",{className:`${r} ${2===t?"w-1/2":""}`,children:n(Je[i],{context:e,...a,className:"!p-0"})},`block_${l}`)},Qe=a((({blocks:e,context:t})=>n("div",{className:"transition-all duration-300 max-h-0 overflow-hidden",children:Ke({context:t,className:"mb-5 last:mb-0 pb-5",blocks:e})}))),Ye=a((({label:e,isExpanded:t,blocks:a,context:l})=>{const{isActive:i,hasContent:o,icon:s,handleToggle:c}=(({context:e,blocks:t,initialState:n=!1})=>{const[r,a]=e.useState(n),l=t?.length;return{isActive:r,hasContent:l,icon:r?"MinusIcon":"PlusIcon",handleToggle:e=>{if(!l)return;a(!r);const t=(({currentTarget:e})=>e.nextSibling)(e);t.style.maxHeight=t.style.maxHeight?null:`${t.scrollHeight}px`}}})({context:l,blocks:a,initialState:t});return r("li",{className:"border-0 border-b border-solid border-main-divider last:border-b-0",children:[r("button",{className:`border-none bg-transparent px-0 py-5 flex justify-between text-left w-full font-sans\n ${o?"group cursor-pointer":""}\n `,onClick:c,children:[n("span",{className:"text-xl pr-2.5 font-medium",children:e}),o?n(b,{image:s,width:"24",height:"24",asSVG:!0}):null]}),o?n(Qe,{isExpanded:i,blocks:a,context:l}):null]})})),et=a((({title:e,description:t,accordionItems:a,context:l,className:i="",anchor:s=null})=>r("section",{className:`p-[50px] font-sans bg-white text-primary-text ${i}`,id:s,children:[e?n(o,{headingType:"h4",className:"mb-2.5",title:e}):null,t?n("div",{className:"mb-2.5 text-base",children:t}):null,a?.length?n("ul",{className:"list-none m-0 p-0",children:a.map(((e,t)=>n(Ye,{...e,context:l},`AccordionItem${t}`)))}):null]}))),tt=a((({className:e,title:t,benefits:a,anchor:l=null})=>r("section",{className:`font-sans text-primary-text bg-white p-12 flex flex-col items-center ${e||""}`,id:l,children:[t?n(o,{headingType:"h2",className:"max-w-[47rem] text-center",title:t}):null,a?.length?n("div",{className:"grid grid-cols-2 gap-8 mt-9",children:a.map(nt)}):null]}))),nt=(e,t)=>r("div",{className:"flex items-center gap-5 max-w-[500px]",children:[e.icon?n(b,{className:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",image:e.icon,width:"70",height:"70"}):null,r("div",{children:[n("h3",{className:"font-medium text-xl m-0",children:e.label}),e.description&&n("div",{className:"font-normal text-sm mt-2",children:e.description})]})]},String(t)),rt=a((({children:e})=>n("div",{className:"self-start flex flex-col",role:"row",children:n("div",{className:"flex",children:e})}))),at="bg-gradient-to-r from-main-gradient-start to-main-gradient-end",lt="border-main-stroke border-solid border",it="border-main-divider border border-t-0 border-x-0",ot="w-[200px] mr-6",st={comparison:"flex gap-4 duration-1000",tariff:"flex flex-grow duration-1000"},ct=a((({children:e,activeCardIndex:t,columnWidth:r,version:a="comparison"})=>n("div",{className:"flex flex-1 overflow-hidden",children:n("div",{className:st[a],style:{transform:`translateX(-${t*r}px)`},children:e})}))),dt=a((({icon:e,image:t,title:a,link:l})=>r("div",{className:`w-80 box-border flex flex-col items-center rounded-t-md border-b-0 px-7 pt-7 pb-[46px] ${lt} ${at}`,role:"columnheader",scope:"col",children:[e&&!t?.src&&n(b,{className:"h-[63px] w-[63px] min-w-[63px] min-h-[63px] mb-4",image:e,width:"63",height:"63"}),t?.src&&n(b,{className:"mb-[18px]",image:t}),a&&n(o,{headingType:"h4",as:"h3",className:"text-center text-white",title:a}),l?.text&&n("div",{className:"mt-auto w-full",children:n(q,{href:l.href,target:l.target,className:"mt-4 w-full text-primary-main bg-white hover:bg-secondary-hover active:bg-secondary-active",children:n("div",{className:"font-medium text-xs py-[11px]",children:l.text})})})]}))),mt=a((({colHeaders:e,activeCardIndex:t,router:a,handlerDecorator:l})=>r(rt,{children:[n("div",{className:ot,role:"columnheader",scope:"col"}),n(ct,{activeCardIndex:t,columnWidth:336,children:e.map(((e,t)=>n(dt,{...e,link:e.link&&G({router:a,handlerDecorator:l},e.link)},String(t))))})]}))),ht=a((({cell:e,isFirstRow:t,isLastRow:r,isFillGradient:a})=>n("div",{className:`w-80 box-border flex flex-col ${lt} ${r?"border-t-0 rounded-b-md":"border-y-0"} ${a?at:""}`,role:"cell",children:n("div",{className:`mx-7 h-full ${it} ${a&&t?"border-t":""} ${r?"border-b-0":"border-solid"}`,children:e.map(((e,t)=>xt(e,t,a)))})}))),xt=({label:e,description:t},a,l)=>r("div",{className:"first:pt-7 pt-6 last:pb-7",children:[e&&n("h4",{className:"text-xl font-medium m-0 "+(l?"text-white":""),children:e}),t&&n("div",{className:"text-sm opacity-80 "+(l?"text-white":"text-secondary-text"),children:t})]},String(a)),ut=a((({row:{header:e,data:t},activeCardIndex:a,isColoredFirstColumn:l,isFirstRow:i,isLastRow:o})=>r(rt,{children:[e?.title?n("div",{className:`text-sm py-7 ${it} w-[200px] mr-6 ${o?"border-b-0":"border-solid"}`,children:e.title}):null,t?.length?n(ct,{activeCardIndex:a,columnWidth:336,children:t.map(((e,t)=>n(ht,{cell:e,isFirstRow:i,isLastRow:o,isFillGradient:l&&0===t},String(t))))}):null]}))),pt=a((({isScrollAvailable:e,onNextClick:t,onPrevClick:a,showNextButton:l,showPrevButton:i})=>e?n("div",{children:r("div",{className:"absolute top-7 right-7 z-10",children:[n(Pe,{onClick:t,disabled:!l,ariaLabel:"Пролистать вправо","data-block-control":"scroll-right"}),n(Pe,{className:"mt-4 rotate-180",onClick:a,disabled:!i,ariaLabel:"Пролистать влево","data-block-control":"scroll-left"})]})}):null)),bt=a((({rowData:e,activeCardIndex:t,isColoredFirstColumn:a,...l})=>r("div",{className:"relative",children:[e.map(((e,r,{length:l})=>n(ut,{row:e,isFirstRow:0===r,isLastRow:r+1===l,activeCardIndex:t,isColoredFirstColumn:a},String(r)))),n(pt,{...l})]}))),gt=({columnsLength:e,colsLengthForScroll:t,activeCardIndex:n,setActiveCardIndex:r})=>{const a=e>t;return{onNextClick:()=>r(n+1),onPrevClick:()=>r(n-1),isScrollAvailable:a,showNextButton:a&&e-n>t,showPrevButton:Boolean(a&&n>0)}},ft=a((({context:e,columns:t,rowHeaders:a,isShowAllRow:l,visibleRowLength:i,isColoredFirstColumn:o})=>{const s=e.useRouter(),{handlerDecorator:c}=e,d=t?.map((({header:e})=>e||{})),m=t?.map((({data:e})=>e))||[],h=a?.map(((e,t)=>({header:e,data:m.map((e=>e?.[t]||[{}]))}))).slice(0,l?a.length:i),[x,u]=e.useState(0),p=gt({columnsLength:m.length,colsLengthForScroll:2,activeCardIndex:x,setActiveCardIndex:u}),{isScrollAvailable:b}=p;return r("div",{children:[r("div",{role:"table",children:[d?.length?n(mt,{colHeaders:d,activeCardIndex:x,router:s,handlerDecorator:c}):null,h?.length?n(bt,{rowData:h,activeCardIndex:x,isColoredFirstColumn:o,...p}):null]}),b?n("div",{className:"absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white"}):null]})})),Nt=a((({className:e,context:t,title:a,rowHeaders:l,columns:i,visibleRowLength:s=0,isColoredFirstColumn:c=!1,anchor:d=null})=>{const[m,h]=t.useState(!s);return r("section",{className:`bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${e||""}`,id:d,children:[n(o,{headingType:"h2",className:"max-w-[47rem] text-center mb-9 mx-auto",title:a}),n(ft,{context:t,columns:i,rowHeaders:l,isShowAllRow:m,isColoredFirstColumn:c,visibleRowLength:s}),s?yt({isShowAllRow:m,onClick:()=>h(!m)}):null]})})),yt=({isShowAllRow:e,onClick:t})=>n("div",{className:"pr-[50px]",children:r("div",{className:"flex w-full",children:[n("div",{className:ot}),n("button",{onClick:t,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:n("div",{className:"font-sans font-medium text-xs py-[11px]",children:e?"Скрыть":"Показать все параметры"})})]})}),vt=a((({tabs:e,currentTabIndex:t,onTabClick:r})=>n("div",{className:"flex items-end border-b border-main-stroke",role:"tablist",children:e?.map(wt(t,r))}))),wt=(e,t)=>(a,l)=>{const i=e===l;return r("div",{className:"flex h-full flex-1 cursor-pointer mr-2 last:mr-0 box-content "+(i?"px-2 h-16 pt-4 pb-2 text-white bg-primary-main":"px-2 h-14 pb-2 pt-3 border border-b-0 border-main-stroke"),role:"tab",onClick:()=>t(l),"aria-selected":String(i),children:[a?.icon?It(a,i):null,r("div",{children:[a?.title?n("h3",{className:"font-medium m-0 text-base",children:a?.title}):null,a?.description?n("span",{className:"font-light text-xs "+(i?"":"text-secondary-text"),children:a?.description}):null]})]},String(l))},It=(e,t)=>n("div",{className:"h-full mt-1",style:t?{filter:"invert(1)"}:null,children:n(b,{className:"w-5 h-5 mr-3",image:e?.icon||"CardIcon",asSVG:!t})});async function kt(e){const t=await fetch(e);return await t.json()}const Ct=[{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"}],$t=a((({text:e,checked:t,onChange:a,className:l})=>n("div",{className:l,children:r("label",{className:"flex items-center cursor-pointer relative",children:[n("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}),n(Me,{paths:Ct,className:"hidden absolute left-1 ml-px peer-checked:block",width:"11",height:"9",fill:"white",viewBox:"0 0 11 9"}),e?n("span",{className:"font-sans ml-3 text-sm leading-5 cursor-pointer",children:e}):null]})}))),St=(e,t,n)=>Math.max(t,Math.min(e,n)),Tt=3e4,Dt=3e6,At=Math.round(41.5),Rt=(Mt=[[e=>1===e,"год"],[e=>e<=4,"года"],[()=>!0,"лет"]],e=>{const[,t]=Mt.find((([t])=>t(e)))||[];return t});var Mt;const Lt=e=>new Intl.NumberFormat("ru-RU",{maximumSignificantDigits:3}).format(e),Pt=a((({className:e,title:t,items:a=[],min:l=1,max:i=100,step:o=1,value:s=l,onChange:c})=>{const d=e=>{if(!c)return;const t=Number(e.replace(/\D/g,""));c(t)},m={backgroundSize:`${(100*(s-l)/(i-l)).toFixed(2)}% 100%`};return r("div",{className:e,children:[r("label",{className:"block relative",children:[t?n("span",{className:"absolute text-xs text-secondary-text top-1 mt-0.5 pl-4 ml-0.5",children:t}):null,n("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:Lt(s),onChange:e=>d(e.target.value),onBlur:()=>{c&&(s<l&&c(l),s>i&&c(i))}}),n("div",{className:"absolute inset-x-0 top-[35px] px-4 leading-[18px]",children:n("input",{className:"box-border w-full m-0 cursor-pointer slider",type:"range",min:l,max:i,step:o,value:s,onChange:e=>d(e.target.value),style:m})})]}),n("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))))})]})}));function jt(e){const{minMonths:t,maxMonths:r,monthsValue:a,defaultMonths:l,setMonthsValue:i}=e;return n(Pt,{className:"mt-[23px]",title:"Срок кредита, месяцев",items:["Или выберите из предложенных вариантов ниже"],min:t,max:r,step:1,value:a||l,onChange:i})}function _t(e,t){return r("div",{className:"box-border h-fit p-9 bg-primary-main rounded-md text-white",children:[n("div",{className:"text-base mb-[18px]",children:"Наше предложение"}),n("div",{className:"text-sm opacity-60",children:"Ежемесячный платёж"}),r("div",{className:"text-lg mb-3",children:[Lt(Math.round(e))," ₽"]}),n("div",{className:"text-sm opacity-60",children:"Ставка"}),r("div",{className:"text-lg",children:[t," %"]})]})}function Bt(e){const{calculatorParams:t,moneyValue:r,defaultSum:a,setMoneyValue:l}=e,i=t?.minSum||Tt,o=t?.maxSum||Dt;return n(Pt,{title:"Желаемая сумма кредита, ₽",items:[`От ${Lt(i)} рублей`,`До ${Lt(o)} рублей`],min:i,max:o,step:1e3,value:r||a,onChange:l})}const Wt=a((({context:e,directoryName:t})=>{const[a,l]=e.useState(void 0),[i,o]=e.useState(void 0),[s,c]=e.useState(!0),[d,m]=e.useState(!0),h=function(e,t){const{data:n}=e(function(e){return`/wcms-resources/${e||"credit-calculator-data"}.json`}(t),kt);return n||{}}(e.useAsyncData,t).rows,x=(e=>{const{tableRows:t,isAnnuity:n=!1}=e;return t&&t.find((e=>e.isAnnuity===n))||{}})({tableRows:h,isAnnuity:s}),u=(e=>e.maxSum&&e.minSum?(e.maxSum-e.minSum)/2:1485e3)(x),p=(e=>e.maxMonths&&e.minMonths?Math.round((e.maxMonths-e.minMonths)/2):At)(x),b=x?.minMonths||1,g=x?.maxMonths||84,f=(e=>{const{calculatorParams:t,isInsurance:n}=e;return t?n?t?.rateWithInsurance||5:t?.rateWithoutInsurance||5:5})({calculatorParams:x,isInsurance:d}),N=(e=>{const{calculatorParams:t,paymentType:n,rate:r,sum:a,months:l}=e;if(!t)return 0;const i=St(a,t.minSum||Tt,t.maxSum||Dt);if("annuity"===n){const e=Number(r)/1200;return i*(e+e/(Math.pow(1+e,l)-1))}return i/l+i*(Number(r)/12)})({calculatorParams:x,paymentType:"annuity",rate:f,sum:a||u,months:i||p}),y=((e,t)=>{const n=Math.ceil((t-e)/12),r=Math.floor(e/12)+1,a=new Array(Math.min(n-1,5)).fill(0).map(((e,t)=>r+t)),l=n+r-1;return a.concat(l)})(b,g);function v(e){o(St(12*e,b,g))}return n("section",{className:"mt-7",children:r("div",{className:"box-border p-[49px] pr-[56px] mx-auto w-max border-solid border-[3px] border-primary-main rounded-md",children:[r("div",{className:"flex justify-between",children:[r("div",{className:"mr-[42px]",children:[Bt({calculatorParams:x,moneyValue:a,defaultSum:u,setMoneyValue:l}),jt({minMonths:b,maxMonths:g,monthsValue:i,defaultMonths:p,setMonthsValue:o}),n("div",{className:"flex mb-7",children:y.map(((e,t)=>function(e,t,a){const l=Rt(e);return n("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:r("span",{className:"font-semibold text-sm",children:[e," ",l]})},String(t))}(e,t,v)))}),n($t,{text:"Получаю пенсию на карту Россельхозбанка",checked:s,onChange:c}),n($t,{className:"mt-3 mb-7",text:"Комплексная страховая защита",checked:d,onChange:m})]}),_t(N,f)]}),r("div",{className:"flex items-center",children:[n(q,{className:"mr-3",text:"Отправить заявку",version:"primary",href:"#"}),n("div",{className:"w-80 text-2xs leading-4 text-secondary-text","aria-label":"Соглашение на обработку персональных данных",children:"Отправляя заявку, вы соглашаетесь на обработку персональных данных соответственно требованиям ФЗ «О персональных данных»"})]})]})})})),Gt=[{title:"Кредит",description:"Ставка от 6% до 7 лет",directoryName:"credit-calculator-data",icon:{icon:"CardIcon"}},{title:"Кредит",description:"Ставка от 4% до 7 лет",directoryName:"credit-calculator-data1",icon:{icon:"ChartSquareIcon"}},{title:"Кредит",description:"Ставка от 3% до 6 лет",directoryName:"credit-calculator-data2",icon:{icon:"DiscountShapeIcon"}}],Vt=a((({className:e="",context:t,tabs:a=Gt,anchor:l=null})=>{const[i,s]=t.useState(0);return r("section",{className:`font-sans text-primary-text py-10 bg-white ${e}`,id:l,children:[n(o,{className:"w-full text-center mb-8",headingType:Ie(e),title:"Калькулятор"}),n(vt,{tabs:a,currentTabIndex:i,onTabClick:s}),n(Wt,{context:t,directoryName:a[i]?.directoryName})]})}));async function Et(){try{const e=await fetch(Ot);return await e.json()}catch(e){console.error(e)}}const Ot="/api/v1/exchangerates.json",Ft=new Intl.NumberFormat("ru",{style:"currency",currency:"RUB"}),Ht=e=>e?Ft.format(e):"",Ut="font-light text-left font-normal text-sm text-secondary-text",Zt={USD:"DollarIcon",EUR:"EuroIcon"},zt=a((({className:e,exchangeCurrencyItems:t})=>r("table",{className:`h-fit w-fit ${e}`,children:[n("thead",{children:r("tr",{children:[n("th",{className:Ut,children:"Валюта"}),n("th",{className:`${Ut} pl-11`,children:"Купить"}),n("th",{className:`${Ut} pl-11`,children:"Продать"})]})}),n("tbody",{children:t.map((e=>qt(e)))})]}))),qt=e=>{const t=e?.currency?.currency;return r("tr",{className:"pb-1",children:[n("td",{className:"pt-4",children:r("div",{className:"flex items-center",children:[t?n(b,{image:{icon:Zt[t]},width:"24",height:"24"}):null,n("span",{className:"text-m-title-md ml-2",children:t})]})}),n("td",{className:"pt-4 pl-11 m-title-md font-light",children:Ht(e.buyExchangeRate)}),n("td",{className:"pt-4 pl-11 m-title-md font-light",children:Ht(e.saleExchangeRate)})]},t)},Jt=a((({className:e="",address:t,distance:a})=>r("div",{className:`flex text-sm ${e}`,children:[n(b,{className:"min-w-fit",image:{icon:"GpsIcon"},width:"24",height:"24",asSVG:!0}),r("div",{className:"ml-3 font-light",children:[t?n("p",{className:"m-0 mb-[3px]",children:t}):null,a?r("p",{className:"text-secondary-text m-0",children:["Курс указан для ближайшего офиса - ",a]}):null]})]}))),Kt=a((({className:e="",id:t,name:r,type:a="text",placeholder:l})=>n("input",{className:e,id:t,name:r||t,type:a,placeholder:l}))),Xt=a((({className:e="",id:t,name:r,children:a})=>n("select",{className:e,id:t,name:r||t,children:a}))),Qt=a((({className:e="",value:t,children:r})=>n("option",{className:e,value:`${t}`,children:r}))),Yt=a((({codes:e,className:t=""})=>r("div",{className:`grid gap-3.5 ${t}`,children:[en("Хочу продать",e),en("Получу",e),n(q,{className:"box-border mt-3.5 py-3 h-12 w-full",version:"primary",href:"#",children:"Купить валюту"})]})));function en(e,t){return r("div",{className:"relative flex items-center",children:[n(Kt,{className:"h-10 border pl-4 pt-[7px] pb-[7px] rounded-md text-m-sm w-full appearance-none -mr-12",type:"number",placeholder:`${e}`}),t.length?n(Xt,{className:"h-9 -translate-x-4",children:t.map(((e,t)=>n(Qt,{value:e,children:e},String(t))))}):null]})}const tn=["USD","EUR"],nn=["RUB","USD","EUR"],rn=[{buyExchangeRate:90.6,saleExchangeRate:92.8,currency:{id:2,code:"978",currency:"EUR",name:"Евро"}},{buyExchangeRate:73.75,saleExchangeRate:75.95,currency:{id:1,code:"840",currency:"USD",name:"Американский доллар"}}],an={address:"Москва, ул.Ленина д.28",distance:"6км"},ln=a((({className:e="",context:t,title:a="Курсы обмена валют",anchor:l=null})=>{const i=function(e){const{data:t}=e(Ot,Et);return t||{}}(t.useAsyncData)?.exchangeRate?.currencies?.filter((e=>-1!==tn.indexOf(e?.currency?.currency||"")))||rn;return n("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e}`,id:l,children:n(le,{context:t,title:n(o,{headingType:Ie(e),title:a,className:"whitespace-pre-wrap"}),children:r("div",{className:"flex",children:[r("div",{className:"mr-[43px] pt-4",children:[i?n(zt,{className:"mb-[31px]",exchangeCurrencyItems:i}):null,n(Jt,{...an})]}),i?.length?n(Yt,{className:"grow",exchangeCurrencyItems:i,codes:nn}):null]})})})})),on=["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"],sn={"bg-white":"text-primary-main",transparent:"text-white"},cn={"bg-white":"text-black",transparent:"text-white"},dn=a((({className:e,href:t,children:a,targetBlank:l,bgColor:i="bg-white",hideTitle:o})=>r("a",{className:`inline-flex items-center font-sans no-underline ${e||""}`,href:t||"https://rshb.ru/",target:l?"_blank":"_self","aria-label":"Россельхозбанк",children:[n(Me,{className:`${sn[i]} w-10`,viewBox:"0 0 40 45",paths:on.map((e=>({d:e})))}),!o&&n("span",{className:`${cn[i]} text-m-title-xs font-medium ml-2.5`,children:a||"Россельхозбанк"})]}))),mn=a((({className:e,context:t})=>{const{term:a,setTerm:l}=t.useSearch();return r("form",{className:`relative ${e||""}`,children:[r("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[n("div",{className:"w-[24px] h-[24px]",children:n(b,{image:"LoupeIcon",width:"24",height:"24"})}),!a&&n("label",{htmlFor:"search-bar-input",className:"font-sans font-light text-base text-secondary-text",children:"Поиск по сайту"})]}),n("input",{id:"search-bar-input",className:"h-12 pl-12 w-full peer font-sans font-light 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=>l(e.target.value),type:"text",name:"search-bar-input"}),n(q,{version:"primary",text:"Найти",className:"invisible peer-focus:visible absolute top-1 right-1",onClick:e=>{e.preventDefault(),console.log("click")},children:n("div",{className:"font-normal text-sm px-9 py-[9px]",children:"Найти"})})]})})),hn=a((({className:e="",items:t,hasButton:a,context:l})=>{const i=l.useRouter(),{handlerDecorator:o}=l;return r("div",{className:e,children:[t?.length?t.map(xn):null,a?n(q,{version:"primary",className:"mb-6 w-full",...G({router:i,handlerDecorator:o},{text:"Обратная связь",href:"/",target:"_blank"})}):null]})})),xn=(e,t)=>{const{type:a,text:l,description:i}=e;return r("div",{className:"mb-4",children:[n("div",{children:un(a,l)}),n("div",{className:"mt-1 font-sans font-light text-sm text-secondary-text",children:i})]},String(t))},un=(e,t="")=>{switch(e){case"tel":return n("a",{className:"font-sans text-xl text-primary-text no-underline",href:`tel:${pn(t)}`,children:t});case"email":return n("a",{className:"font-sans text-xl text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return n("span",{children:t})}},pn=e=>e.replaceAll(/\D/g,""),bn=a((({links:e,className:t="",context:r})=>{const a=r.useRouter(),{handlerDecorator:l}=r;return n("div",{className:t,children:e?.length?n("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)=>n(gn,{index:t,...G({router:a,handlerDecorator:l},e)},String(t))))}):null})})),gn=a((({className:e="",index:t,text:r,href:a,target:l,onClick:i})=>n("a",{className:`font-sans font-light text-secondary-text hover:text-primary-main inline-block no-underline max-w-[292px] ${e}`,href:a,target:l,onClick:i,children:r||`Документ ${t}`}))),fn=e=>t=>e?.href===t?.href,Nn=(e,t)=>{return(r=e,a=t,(r||[]).map((e=>a?.find(fn(e))||e))).concat((n=e,(t||[]).filter((e=>!n?.find(fn(e))))));var n,r,a};function yn(e){const{data:t}=e(wn(),vn);return t||{}}async function vn(){const e=await fetch(wn());return await e.json()}function wn(){return`/wcms-resources/${m.SITEMAP||"sitemap"}.json`}const In=a((({className:e="",items:t,context:r})=>{const a=yn(r.useAsyncData),l=Nn(a.topItems,t),i={router:r.useRouter(),handlerDecorator:r.handlerDecorator};return n("div",{className:`flex items-start justify-between gap-11 xl:gap-5 ${e}`,children:l?.map(((e,t)=>kn(e,t,i)))})})),kn=(e,t,{router:a,handlerDecorator:l})=>{const{text:i,href:o,items:s,target:c}=e;return r("div",{className:"flex flex-col w-1/5 last:w-1/4 gap-[14px]",children:[n("a",{className:"block font-sans leading-5 text-base text-primary-text no-underline",href:o,target:c||"_self",children:i||`Раздел ${t}`}),s?.map(((e,t)=>n(Cn,{...G({router:a,handlerDecorator:l},e),index:t},String(t))))]},String(t))},Cn=a((({text:e,href:t,target:r,index:a})=>n("a",{className:"block font-sans font-light text-base text-secondary-text hover:text-primary-main no-underline",href:t,target:r||"_self",children:e||`Раздел ${a}`}))),$n=[{origins:["t.me","telegram.org"],icon:{icon:"TelegramIcon"},label:"Телеграм",width:"20px",height:"16px"},{origins:["vk.com"],icon:{icon:"VKIcon"},label:"ВКонтакте",width:"24px",height:"12px"},{origins:["ok.ru"],icon:{icon:"OkIcon"},label:"Одноклассники",width:"12px",height:"20px"},{origins:["apps.apple.com"],icon:{icon:"AppleIcon"},label:"App Store",width:"20px",height:"22px"},{origins:["play.google.com"],icon:{icon:"PlayMarketIcon"},label:"Google Play",width:"21px",height:"21px"}],Sn=a((({href:e})=>{const{icon:t,width:r,height:a,label:l}=$n.find((({origins:t})=>t.some((t=>e?.includes(t)))))||{};return t?n("a",{className:"flex items-center justify-center border border-solid rounded-md border-main-divider no-underline outline-none w-14 h-14 box-border text-primary-main hover:text-white hover:bg-primary-main hover:border-primary-main",href:e,"aria-label":l,target:"_blank",rel:"noopener noreferrer",children:t?n(b,{image:t,width:r,height:a,asSVG:!0,className:"block",color:"none"}):null}):null})),Tn=a((({className:e="",media:t,context:a,children:l})=>{const i=a.useRouter(),{handlerDecorator:o}=a;return r("div",{children:[n("div",{className:`flex gap-2.5 mb-1.5 ${e}`,children:t?.map(((e,t)=>n(Sn,{...G({router:i,handlerDecorator:o},e)},String(t))))}),n("span",{className:"font-light text-sm text-secondary-text",children:l})]})})),Dn=a((({className:e,links:t,context:a})=>{const l=a.useRouter(),{handlerDecorator:i}=a;return r("div",{className:`${e||""}`,children:[n("div",{className:"pt-5 pb-[5px]",children:n("span",{className:"font-sans font-light text-xs text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?n("div",{className:"flex justify-start items-start gap-5 pt-[5px]",children:t.map(((e,t)=>n(An,{index:t,...G({router:l,handlerDecorator:i},e)},String(t))))}):null]})})),An=a((({className:e,index:t,text:r,href:a,target:l,onClick:i})=>n("a",{className:`font-sans font-light text-xs text-secondary-text visited:text-secondary-text hover:text-primary-text inline-block no-underline max-w-[292px] ${e||""}`,href:a,target:l,onClick:i,children:r||`Документ ${t}`}))),Rn="w-[204px]",Mn=a((({className:e,documents:t,relatedEnterprises:a,contacts:l,socialMedia:i,mobileApps:o,topItems:s,context:c,anchor:d=null})=>r("footer",{className:`px-9 pt-9 pb-8 bg-white ${e||""}`,id:d,children:[r("div",{className:"flex items-stretch gap-[54px] pb-[30px] xl:gap-8",children:[n(dn,{className:Rn}),n(mn,{context:c,className:"grow"})]}),r("div",{className:"flex items-stretch gap-[54px] xl:gap-8",children:[r("div",{className:"w-[204px] flex flex-col shrink-0 overflow-hidden",children:[n(hn,{items:l,context:c,hasButton:!0}),n(Tn,{media:i,context:c,children:"Соцсети"}),n(Tn,{className:"mt-6",media:o,context:c,children:"Мобильное приложение"})]}),n(In,{className:"pt-[3px]",context:c,items:s})]}),n(bn,{className:"mt-24",links:a,context:c}),n(Dn,{links:t,context:c})]}))),Ln=(e,t,n=((e,t)=>t.startsWith(e)))=>n(M(e),(e=>(e||"").replace(_,""))(M(R(e)?t.href:t.pathname))),Pn=e=>t=>Ln(t.href,e),jn=e=>t=>t.items?.some(Pn(e))||Ln(t.href,e)||((e,t)=>L(e)===L(t.href))(t.href,e),_n=a((({className:e="",text:t,href:r,target:a,active:l,flat:i,onClick:o,children:s,ariaLabel:c,bgColor:d="bg-white"})=>n("a",{className:`${Bn(d,l,i)} ${e}`,href:r,target:a,onClick:o,rel:"noopener noreferrer","aria-label":c,children:n("span",{className:Wn(d,l,i),children:t||s})}))),Bn=(e,t,n)=>{let r="border-transparent";return t&&(r="rounded-md "+("bg-white"===e?"border-primary-main":"border-white")),`${r} inline-block border border-solid bg-transparent text-center no-underline ${n?"":"px-4 py-2"}`},Wn=(e,t,n)=>{let r="text-white";return"bg-white"===e&&(r=t?"text-primary-main":(n?"text-primary-text":"text-secondary-text")+" hover:text-primary-main"),`${r} font-sans font-light text-sm`},Gn=a((({className:e="",children:t,ariaLabel:r})=>n("button",{type:"button",className:`border-0 p-0 w-[24px] h-[24px] flex items-center bg-inherit cursor-pointer ${e}`,disabled:!0,"aria-label":r,children:t}))),Vn={"bg-white":"text-primary-text hover:text-primary-main",transparent:"text-white"},En={"bg-white":"text-secondary-light hover:text-secondary-hover",transparent:"text-white"},On={"bg-white":"GridIcon",transparent:"GridIconWhite"},Fn=a((({context:e,className:t,defaultLocation:a="",bgColor:l="bg-white"})=>{const[i,o]=e.useGeolocation(a);return r("div",{className:`flex items-center ${t||""}`,children:[n(_n,{className:"mr-5",flat:!0,href:"#",text:i,ariaLabel:"Местоположение",onClick:o,bgColor:l}),n(_n,{className:"mr-7",flat:!0,href:"#",text:"Офисы и банкоматы",ariaLabel:"Список всех доступных офисов и банкоматов",bgColor:l}),n(Gn,{className:`mr-5 ${Vn[l]}`,ariaLabel:"Поиск по сайту",children:n(b,{image:"LoupeIcon",className:"h-full",asSVG:!0,color:"none"})}),n(Gn,{className:`${En[l]} min-w-[32px] min-h-[32px]`,ariaLabel:"Дополнительные ссылки",children:n(b,{image:On[l],className:"h-full",asSVG:!0,color:"none"})})]})})),Hn=e=>(t=[])=>{const n=t?.filter(Pn(e));var r;return n?.length?(r=e=>e.href?.length||0,e=>e.reduceRight(((e,t)=>r(e)>r(t)?e:t)))(n):null},Un="absolute left-0 -bottom-3 w-full h-[2px]",Zn=a((({className:e="",text:t,href:a,target:l,active:i,onClick:o,children:s,bgColor:c="bg-white",dataItemName:d})=>r("a",{className:`relative inline-block bg-transparent text-center no-underline ${e}`,href:a,target:l,onClick:o,"data-item-name":d,children:[n("span",{className:zn(c,i),children:t||s}),i?n("div",{className:qn(c,i)}):null]}))),zn=(e,t)=>{let n="text-white";return"bg-white"===e&&(n=t?"text-primary-main":"text-primary-text hover:text-primary-main"),`${n} font-sans font-light text-base`},qn=(e,t)=>t?`${"bg-white"===e?"bg-primary-main":e} ${Un}`:Un,Jn="undefined"!=typeof window&&window.document&&window.document.createElement?new IntersectionObserver((e=>{const t=window.document.querySelector("[data-header-submenu-visible=toggled]"),n=Array.from(window.document.querySelectorAll("[data-item-name=header-submenu]")),r=Array.from(window.document.querySelectorAll("[data-item-name=dots-header-submenu]")),a={};e.forEach((e=>{a[String(e.target.toString())]=e.isIntersecting}));const l=Kn(a,r,"hidden");Kn(a,n,"invisible"),t&&(l?t.classList.remove("hidden"):t.classList.add("hidden"))}),{root:window.document,threshold:1}):void 0,Kn=(e,t,n)=>{const r="hidden"!==n;return t.some((t=>{const a=t.toString(),l=r?!e[a]:e[a];return a in e&&t.classList.toggle(n,l),r?t.classList.contains("hidden"):!t.classList.contains("hidden")}))},Xn=a((({context:e,subItems:t,bgColor:a})=>{const[l,i]=e.useState(!1),o=e.useRouter(),{handlerDecorator:s}=e;setTimeout((()=>{globalThis.document.querySelectorAll("[data-item-name=header-submenu]").forEach((e=>{Jn?.observe(e)}))}),200);const c=Hn(o)(t),d=t?.map((e=>n(Zn,{className:"mr-8",active:e===c,...G({router:o,handlerDecorator:s},e),dataItemName:"header-submenu",bgColor:a},e.href)));return r("nav",{className:"relative mt-5",children:[n("div",{className:"overflow-hidden whitespace-nowrap mr-52",children:d}),Qn({subMenuIsShow:l,toggleSubMenu:()=>i(!l),subItems:t,router:o,handlerDecorator:s})]})})),Qn=({subMenuIsShow:e,toggleSubMenu:t,subItems:a,router:l,handlerDecorator:i})=>r("div",{className:"absolute w-52 -top-4 right-0 pt-4 z-40 "+(e?"bg-white rounded-md shadow-blue-gray/24":""),"data-header-submenu-visible":"toggled",children:[n("button",{className:"flex justify-between items-center cursor-pointer h-6 ml-6",onClick:t,"aria-label":""+(e?"Скрыть другие разделы":"Показать другие разделы"),children:Array(3).fill(0).map(((e,t)=>er(t)))}),n("div",{className:"flex flex-col rounded-md bg-white p-6 pb-2 "+(e?"":"hidden"),"aria-hidden":!e,children:Yn(a,l,i)})]}),Yn=(e,t,r)=>e?.map((e=>n("a",{...G({router:t,handlerDecorator:r},e),"data-item-name":"dots-header-submenu",className:"text-base font-light pb-4 hover:text-primary-main",children:e.text},e.href))),er=e=>n("div",{className:"w-[3px] h-[3px] rounded bg-black mr-1"},String(e)),tr={"bg-white":"bg-main-divider",transparent:"bg-main-divider opacity-30"},nr=a((({className:e="",defaultLocation:t="Москва",bgColor:a="bg-white",context:l,topItems:i,anchor:o=null})=>{const s=l.useRouter(),c=yn(l.useAsyncData),{handlerDecorator:d}=l,m=Nn(c.topItems,i),h=m.find(jn(s)),x=m.map(((e,t)=>n(_n,{active:e===h,...G({router:s,handlerDecorator:d},e),"aria-label":e.text,bgColor:a},String(t))));return n("header",{className:`pt-6 pb-8 px-20 ${a} ${e}`,id:o,children:r("div",{className:"container",children:[r("div",{className:"flex items-center",children:[n(dn,{className:"mr-8",bgColor:a}),x,n(Fn,{context:l,className:"ml-auto",defaultLocation:t,bgColor:a})]}),n("div",{className:`mt-6 h-[1px] ${tr[a]}`}),n(Xn,{context:l,subItems:h?.items,bgColor:a})]})})})),rr=a((({className:e="",context:t,title:a="Мобильное приложение",qr:l,buttons:i=[],anchor:s=null})=>n("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${Ce(e)} ${ke(e)} `,id:s,children:n(le,{context:t,title:a&&n(o,{headingType:Ie(e),title:a,className:"whitespace-pre-wrap max-w-[600px] mb-7"}),buttons:i?.length?n(X,{context:t,buttons:i,className:"flex mt-7 gap-4"}):null,children:r("div",{className:"flex items-center",children:[l?.src&&l?.href&&n("a",{href:l.href,target:"_blank","aria-label":a,children:n("img",{src:l.src,alt:a,title:a,width:"164",height:"164",className:"w-[90px] h-[90px] min-w-[90px] min-h-[90px] bg-secondary-light"})}),n("span",{className:"font-light text-secondary-text ml-4",children:"Наведите камеру телефона на QR-код и скачайте приложение"})]})})}))),ar=a((({className:e,text:t,onClick:r,href:a,target:l,isActive:i})=>n("a",{className:`bg-inherit no-underline px-4 py-2.5 cursor-pointer rounded text-sm border border-solid hover:text-primary-main ${e||""} ${i?"border-primary-main text-primary-main":"border-white text-secondary-text"}`,onClick:r,href:a,target:l,children:t}))),lr=a((({className:e,context:t,title:a,buttons:l,anchor:i=null})=>{const o=t.useRouter(),{handlerDecorator:s}=t,c=Hn(o)(l);return r("section",{className:`font-sans text-primary-text rounded-[40px] flex items-center justify-between ${e||""}`,id:i,children:[n("h2",{className:"font-medium text-xl m-0",children:a}),l?.length?n("div",{className:"flex rounded-md overflow-hidden bg-white",children:l.filter((({text:e})=>e)).map(((e,t)=>n(ar,{className:"first:rounded-tl-md first:rounded-bl-md last:rounded-tr-md last:rounded-br-md",isActive:e===c,...G({router:o,handlerDecorator:s},e)},String(t))))}):null]})})),ir=a((({className:e="",label:t,active:r,children:a,onClick:l,href:i,target:o="_self"})=>n("a",{className:or(e,r),target:o,href:i,onClick:l,children:n("span",{className:sr(r),children:t||a})}))),or=(e,t)=>`${t?"bg-primary-main":"group bg-white"} flex-1 flex items-center justify-center cursor-pointer ${e}`,sr=e=>`${e?"text-white":"text-secondary-text group-hover:text-primary-main "} font-sans font-normal text-sm`,cr=a((({className:e="",navigatorTabs:t,context:r,anchor:a=null})=>{const l=r.useRouter(),i=globalThis.location.href;return n("section",{className:`sticky top-0 z-20 box-border flex gap-x-1 h-12 ${e}`,id:a,children:t?t.map(dr(i,l)):null})})),dr=(e,t)=>(r,a)=>{const l=P(e),i=l?r.href===l:0===a;return n(ir,{active:i,onClick:()=>mr(t,r.href),...r},r.href)},mr=(e,t)=>{R(t)||e?.replace(t||"")},hr=a((({blocks:e,columns:t=1,context:r})=>n("div",{className:"transition-all duration-300 max-h-0 overflow-hidden",children:n("div",{className:"box-border w-full p-9 "+(t>1?"flex flex-wrap":""),children:Ke({context:r,className:"box-border p-5",columns:t,blocks:e})})}))),xr=a((({label:e,isExpanded:t,blocks:a,columns:l,context:i})=>{const{hasContent:o,icon:s,handleToggle:c,isActive:d}=(({context:e,blocks:t,initialState:n=!1})=>{const[r,a]=e.useState(n),l=t?.length;return{isActive:r,hasContent:l,icon:r?"ArrowUpIcon":"ArrowDownIcon",handleToggle:e=>{if(!l)return;a(!r);const t=(({currentTarget:e})=>e.previousSibling)(e);t.style.maxHeight=t.style.maxHeight?null:`${t.scrollHeight}px`}}})({context:i,blocks:a,initialState:t});return r("div",{className:"border-0 border-b border-solid border-main-divider",children:[o?n(hr,{isExpanded:d,columns:l,blocks:a,context:i}):null,r("button",{className:"border-none bg-primary-main px-0 py-[26px] mb-[1px] w-full font-sans text-white text-base flex justify-center cursor-pointer",onClick:c,children:[n("span",{className:"pr-3",children:d?"Скрыть":e}),o?n(p,{name:s,width:"20",height:"20",asSVG:!0}):null]})]})})),ur=a((({blockItems:e,context:t,className:r})=>n("section",{className:`font-sans bg-white text-primary-text ${r||""}`,children:e?.length?n("div",{className:"list-none m-0 p-0",children:e.map(((e,r)=>n(xr,{...e,context:t},`BlockItem${r}`)))}):null}))),pr=a((({className:e,context:t,title:a,description:l="Блок в разработке...",anchor:i=null})=>n("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${Ce(e)} ${ke(e)} `,id:i,children:r(le,{context:t,title:a?n(o,{headingType:Ie(e),title:a,className:"whitespace-pre-wrap max-w-[600px]"}):null,children:[l?n(Q,{className:"mt-4 max-w-[600px]",description:l}):null,n("figure",{className:"m-0 min-w-[600px]",children:br()})]})}))),br=(e=3)=>fr(100,e).map((e=>Math.floor(e))).map(gr),gr=(e=100,t)=>n("div",{style:{width:`${e}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),fr=(e,t)=>[e].concat(t>0?fr(e/1.618,t-1):[]),Nr={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},yr=a((({block:e,headingType:t,context:r,className:a=""})=>n("section",{className:`flex grow-0 shrink-0 basis-full ${Nr[e?.version??"primary"]} ${a}`,role:"listitem",children:n("div",{className:"p-10 flex grow",children:n(ce,{className:"pl-2.5 pt-2.5 pb-1.5 pr-[6.25rem]",context:r,headingType:t||"h2",...e})})}))),vr=a((({className:e,context:t,duration:a=0,slides:l=[],anchor:i=null})=>{const o=l.map((e=>e.nav)),s=l.map((e=>e.productBlock)),[c,d]=t.useState(0);return r("section",{className:`font-sans bg-white overflow-hidden w-100 ${e||""}`,id:i,children:[n("div",{className:"flex duration-1000",style:{transform:`translateX(-${c}00%)`},role:"list",children:s.map(((e,r)=>n(yr,{context:t,block:e},String(r))))}),n("div",{className:"flex",children:o.map(((e,t)=>function({slide:e,i:t,activeSlideIndex:a,onClick:l,duration:i}){const o=t===a,s=o?"animate-slide":"",c=o?"text-primary-text":"text-secondary-text";return r("button",{type:"button",onClick:l,"aria-label":e?.title,className:"font-sans group relative overflow-hidden border-0 bg-inherit cursor-pointer text-left px-0 pt-4 pb-[23px] grow basis-0",children:[r("div",{className:"border-0 border-r border-solid border-main-divider px-6",children:[n("div",{className:`text-sm font-medium pb-[3px] group-hover:text-primary-text ${c}`,children:e?.title}),n("div",{className:"text-xs text-secondary-text",children:e.desc})]}),n("div",{className:`absolute bottom-0 left-0 w-full h-[3px] bg-primary-main -translate-x-full ${s}`,style:{animationDuration:`${i}s`,animationFillMode:"forwards"}})]},String(t))}({slide:e,i:t,activeSlideIndex:c,onClick:()=>d(t),duration:a})))})]})}));const wr={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},Ir={primary:{title:"text-secondary-text",text:"text-secondary-text"},secondary:{title:"text-white",text:"text-white/80"}},kr={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},Cr=a((({className:e="",context:t,slides:a=[],version:l="primary",duration:i=0,anchor:o=null})=>{const s=a.map((e=>e.nav)),c=a.map((e=>e.productBlock)),[d,m]=t.useState(0);return r("section",{id:o,className:`box-border pt-[50px] overflow-hidden relative font-sans w-100 ${e}\n ${wr[l]}`,children:[n("div",{className:"flex duration-1000 pb-14",style:{transform:`translateX(-${d}00%)`},role:"list",children:c.map(((e,r)=>function(e,t,r){const{version:a}=e,l=a?Ir[a].title:"";return n("section",{className:"box-border relative flex grow-0 shrink-0 basis-full",role:"listitem",children:n("div",{className:"flex grow",children:n(ce,{className:`pl-[50px] pr-2 z-[1] ${l}`,context:r,textBlockClassName:"mb-[154px]",...e})})},String(t))}({...e,version:l},r,t)))}),n("div",{className:"flex items-center absolute bottom-6 left-0 right-0 px-[26px] box-border",children:s.map(((e,t)=>function({slide:e,i:t,activeSlideIndex:a,onClick:l,version:i,duration:o}){const s=t===a,c=s?"bg-white shadow-dark-blue/42 h-[102px] w-[354px] min-w-[354px] max-w-[354px] p-0 border-none":`min-w-[277px] px-0 pt-4 pb-[23px] hover:py-[26px] hover:py-[26px] ease-in duration-300\n ${kr[i]}`,d=s?"text-primary-text text-title-2xs":`text-base ${Ir[i].title}`,m=s?"text-secondary-text text-m-title-xs mt-2.5":`text-m-md mt-1.5 ${Ir[i].text}`,h="secondary"===i?"border-white/50":"",x=s?"animate-slide":"";return r("button",{type:"button",onClick:l,"aria-label":e?.title,className:`box-border font-sans group relative overflow-hidden border-[1px] cursor-pointer text-left mx-1 grow basis-0 backdrop-blur-sm\n ${c} ${h}\n `,children:[r("div",{className:"border-0 px-6",children:[n("div",{className:`font-medium ${d}`,children:e?.title}),n("div",{className:`text-secondary-text ${m}`,children:e.description})]}),n("div",{className:`absolute bottom-0 left-0 w-full h-[3px] bg-primary-main -translate-x-full ${x}`,style:{animationDuration:`${o}s`,animationFillMode:"forwards"}})]},String(t))}({slide:e,i:t,activeSlideIndex:d,onClick:()=>m(t),version:l,duration:i})))})]})}));const $r={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},Sr=a((({className:e="",context:t,title:a="Акции и спецпредложения",date:l,description:i,buttons:s=[],version:c="primary",anchor:d=null})=>n("section",{className:`bg-white text-primary-text font-sans p-9 box-border ${e} ${$r[c]} ${Ce(e)} ${ke(e)} `,id:d,children:n(le,{context:t,title:a?n(o,{headingType:Ie(e),title:a,className:"whitespace-pre-wrap max-w-[600px]"}):null,buttons:s?.length?n(X,{context:t,buttons:s,className:"flex mt-9 gap-3"}):null,children:r("div",{className:"mt-1.5",children:[l?n("div",{className:"text-sm mb-2",children:Tr(l)}):null,n("div",{className:"text-base",children:i})]})})})));function Tr(e){return new Date(e).toLocaleString("ru-RU",{day:"numeric",month:"long",year:"numeric"}).replace("г.","")}const Dr=a((({context:e,className:t="",title:a,description:l,items:i,image:s,version:c,socialMedia:d})=>n("section",{className:`border border-solid box-border py-[30px] px-9 min-w-[515px] max-w-[515px] ${t}`,role:"listitem",children:r(le,{context:e,className:"flex justify-between",title:a?n(o,{headingType:"h4",as:"h3",className:"font-normal mb-3.5",title:a}):null,image:s?.src&&n(b,{className:"mt-auto ml-7",image:s}),children:[l?n(Q,{className:"text-left",description:l}):null,i?.length?n(ae,{className:"text-md font-light flex flex-col gap-2",items:i,version:c}):null,n(Tn,{className:"pt-[42px] pb-0",media:d,context:e})]})}))),Ar="absolute top-0 bottom-0 w-[84px]",Rr=a((({context:e,recommendations:t=[],className:a="",title:l,version:i,anchor:s=null})=>{const[c,d]=e.useState(0),m="secondary"===i?"border-white/50":"border-main-stroke";return r("section",{className:`relative font-sans p-9 overflow-hidden text-center ${"secondary"===i?"bg-primary-main text-white":"bg-white text-primary-text"} ${a}`,id:s,children:[l?n(o,{headingType:"h2",className:"mb-6",title:l}):null,n("div",{className:"flex duration-1000 gap-3.5",style:{transform:`translateX(-${525*c}px)`},role:"list",children:t?.length?t.map(Mr({context:e,version:i,className:m})):null}),Lr({cardsCount:t.length,activeCardIndex:c,setActiveCardIndex:d}),n("div",{className:`${Ar} left-0 ${"secondary"===i?"bg-opacity-from-main":"bg-opacity-from-white"}`}),n("div",{className:`${Ar} right-0 ${"secondary"===i?"bg-opacity-to-main":"bg-opacity-to-white"}`})]})})),Mr=({context:e,version:t,className:r})=>(a,l)=>n(Dr,{context:e,...a,version:t,className:r},String(l)),Lr=({cardsCount:e,activeCardIndex:t,setActiveCardIndex:a})=>{const l=e>2,i=l&&e-t>2;return r("div",{children:[l&&t>0&&n(Pe,{className:"absolute top-1/2 left-8 rotate-180 z-10 mt-6",onClick:()=>a(t-1),ariaLabel:"Пролистать влево"}),i&&n(Pe,{className:"absolute top-1/2 right-8 z-10 mt-6",onClick:()=>a(t+1),ariaLabel:"Пролистать вправо"})]})},Pr=a((({className:e="",title:t,showLines:a=!0,steps:l=[],button:i,anchor:s=null})=>{const c=l.length>3;return r("section",{className:["box-border font-sans text-primary-text bg-white",c?"px-20":"px-[70px]","py-[50px] flex flex-col items-center",e].join(" "),id:s,children:[n(o,{headingType:"h2",className:"max-w-[47rem] text-center",title:t}),l?.length?r("div",{className:"box-border py-0.5 mb-0.5 "+(t?"mt-9":""),children:[n("div",{className:"flex items-center px-[88px]",children:E(n("div",{className:"h-0.5 w-full bg-secondary-light "+(a?"":"opacity-0")}))(l.map(jr))}),n("div",{className:"flex justify-between "+(c?"gap-x-3":"gap-x-[101px]"),children:l.map(((e,t)=>_r(e,t,Boolean(i?.text))))})]}):null,i?.text?n(q,{className:"box-border mt-[43px] py-3 h-12 w-full max-w-[240px]",version:"primary",href:"#",children:i.text}):null]})})),jr=(e,t)=>n("div",{className:"flex flex-col items-center text-center relative",children:n("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?.icon&&n(b,{image:e.icon,width:"48",height:"48"})||n("span",{className:"font-normal text-title-sm text-secondary-text",children:t+1})})},String(t)),_r=(e,t,a)=>r("div",{className:"flex flex-col items-center justify-between text-center relative w-[276px] whitespace-pre-line overflow-hidden",children:[r("div",{children:[e.label&&n("div",{className:"font-normal text-xl m-0 mt-4",children:e.label}),e.description&&n("div",{className:"font-light text-base text-secondary-text "+(e.label?"mt-2":"mt-4"),children:e.description})]}),e?.button?.text&&!a?n(q,{className:"box-border mt-[38px] py-3 h-12 w-full max-w-[240px]",version:"primary",href:"#",children:e.button.text}):null]},String(t)),Br=e=>e?.alt||e?.title||x[e?.icon?e.icon:""],Wr=a((({cell:e,isLastRow:t})=>n("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:n("div",{children:e.map(Gr)})}))),Gr=({label:e,description:t,list:a,image:l,buttons:i},o)=>r("div",{className:"first:pt-5 last:pb-5",children:[o>0&&n("div",{className:"border-main-divider border border-solid border-t-0 border-x-0 my-4"}),e?n("div",{className:"text-xl font-medium m-0",children:e}):null,t?n("div",{className:"text-sm text-secondary-text",children:t}):null,a?.items?.length?Vr(a):null,l&&n(b,{image:l}),i?.length?Er(i):null]},String(o)),Vr=e=>n(ae,{className:"flex flex-col justify-between items-start text-sm",version:"gray",items:e.items,isDotted:e.isDotted??!0}),Er=e=>n("div",{children:e.map((({icon:e,rounded:t,...r},a)=>n(q,{className:(a>0&&t?"ml-3":"")+" w-12 h-12",ariaLabel:Br(e),rounded:t,appendLeft:e?n(b,{image:e,width:"24px",height:"24px",asSVG:!0}):null,...r},String(a))))}),Or=a((({row:{header:e,data:t},activeCardIndex:a,isLastRow:l})=>r(rt,{children:[n("div",{className:"text-sm py-5 w-[354px] flex-shrink-0 border-main-divider border border-t-0 border-x-0 "+(l?"":"border-solid"),children:r("div",{className:"flex items-center text-primary-text",children:[e?.icon?n(b,{className:"mr-[14px] max-w-6 max-h-6",image:e.icon,width:"24px",height:"24px",asSVG:!0}):null,e?.title]})}),t?.length?n(ct,{activeCardIndex:a,columnWidth:360,version:"tariff",children:t.map(((e,t)=>n(Wr,{cell:e,isLastRow:l},String(t))))}):null]}))),Fr=a((({className:e,context:t,title:a,description:l,rowHeaders:i,columns:s,anchor:c=null})=>{const[d,m]=t.useState(0),h=Hr(s),x=Ur(i,h),u=gt({columnsLength:h.length,colsLengthForScroll:2,activeCardIndex:d,setActiveCardIndex:m}),{isScrollAvailable:p}=u;return r("section",{className:`bg-white font-sans py-[50px] pl-[50px] overflow-hidden text-primary-text relative ${e||""}`,id:c,children:[a?n(o,{headingType:"h2",className:"text-center "+(l?"mb-2.5":"mb-9"),title:a}):null,l?n("div",{className:"mb-9 text-center text-m-base",children:l}):null,x?.length?r("div",{role:"table",children:[r("div",{className:"relative",children:[x.map(((e,t,{length:r})=>n(Or,{row:e,isLastRow:t+1===r,activeCardIndex:d},String(t)))),n(pt,{...u})]}),p?n("div",{className:"absolute top-0 right-0 bottom-0 w-[84px] bg-opacity-to-white"}):null]}):null]})})),Hr=e=>e?.map((({data:e})=>e))||[],Ur=(e,t)=>e?.map(((e,n)=>({header:e,data:t.map((e=>e?.[n]||[{}]))}))),Zr={Accordion:et,BenefitsBlock:tt,ComparisonTable:Nt,CreditCalculator:Vt,ExchangeRateTile:ln,Footer:Mn,Gallery:Ue,Header:nr,Headline:d,LinkDocs:T,MiniGallery:Ze,MobileAppTile:rr,NavigatorTabs:cr,PictureText:A,ProductBlock:ge,ProductGallery:vr,ProductGalleryGreen:Cr,ProductTile:Ae,PromoTile:Sr,OtherProducts:ur,Recommendation:Rr,StepsBlock:Pr,TariffsTable:Fr,TextBlock:Ne,Tile:Se,Navigation:lr,Placeholder:pr},zr=a((({className:e,onClick:t,ariaLabel:r})=>n("button",{type:"button",className:`border-0 w-[36px] bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":r,children:qr()}))),qr=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[n("path",{...e,strokeMiterlimit:"10",d:"M21.48 11.95c.5-1.4-.4-2.6-1.9-2.6h-4c-.6 0-1.1-.5-1-1.2l.5-3.2c.2-.9-.4-1.9-1.3-2.2-.8-.3-1.8.1-2.2.7l-4.1 6.1M7.48 18.35l3.1 2.4c.4.4 1.3.6 1.9.6h3.8c1.2 0 2.5-.9 2.8-2.1l1.24-3.77"}),n("path",{...e,d:"M2.38 18.35v-9.8c0-1.4.6-1.9 2-1.9h1c1.4 0 2 .5 2 1.9v9.8c0 1.4-.6 1.9-2 1.9h-1c-1.4 0-2-.5-2-1.9Z"})]})},Jr=a((({className:e,context:t,anchor:a=null})=>{const l=t.useLikeService();return r("div",{className:`border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${e||""}`,id:a,children:[n(zr,{onClick:l.like,ariaLabel:"Поставить отметку «лайк»"}),n(zr,{onClick:l.dislike,className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),n("span",{className:"select-none",children:l.likeCount})]})})),Kr=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),Xr=a((({className:e="",context:t,blocksRegistry:a,data:{style:l,blocks:i,slots:o={},likeControl:s,colorPalette:c="pc"},blockDecorator:d=Kr})=>{const{header:m}=o,h=t.useRouter();return globalThis.addEventListener("load",(()=>{const e=globalThis.document.querySelectorAll("section[id]");globalThis.document.addEventListener("scroll",(()=>((e,t)=>{t?.forEach((t=>{if(globalThis.location.hash===`#${t?.id}`)return;const n=t?.getBoundingClientRect();n&&n.top>0&&n.top<150&&e.replace(`#${t?.id}`)}))})(h,e)))})),r("section",{className:`relative ${Yr(l)} ${e}`,"data-theme":c,children:[m?.blocks?.length?n("div",{className:`${Yr(m?.style)}`,children:m.blocks.map(((e,n)=>Qr({block:e,blockDecorator:d,blocksRegistry:a,context:t},n)))}):null,i?.length?n("div",{className:"container grid grid-cols-12 gap-1",children:i.map(((e,n)=>Qr({block:e,blockDecorator:d,blocksRegistry:a,context:t},n)))}):null,s&&n("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:n(Jr,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto",context:t},"LikeControl")})]})}));function Qr({block:e,blockDecorator:t,blocksRegistry:r,context:a},l){const{type:i}=e;i&&i in r||console.warn(`No block with "${i}" is registered`);const o=r[i||"Placeholder"]||pr;return t({blockClassName:`scroll-mt-12 ${Yr(e.style)}`,block:e,render:e=>{const{version:t,content:r,anchor:s}=e.block;return n(o,{className:e.blockClassName,version:t,context:a,anchor:s,...r},`${i}-${l}`)}},`block-${l}`)}function Yr(e){return e?e.join(" "):""}const ea=a((({HeadComponent:e,data:t,children:a})=>{const{title:l,main:i,og:o,twitter:s,jsonLd:c}=t,{description:d,keywords:m,canonical:h,robots:x}=i||{};return r(e,{children:[n("title",{children:l}),n("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),d&&n("meta",{name:"description",content:d}),m&&n("meta",{name:"keywords",content:m.join(",")}),x&&n("meta",{name:"robots",content:x.join(",")}),ta(o),na(s),h&&n("link",{rel:"canonical",href:h}),c&&n("script",{type:"application/ld+json",children:c}),a]})}));function ta(e){return e?Object.entries(e).map((([e,t])=>n("meta",{property:`og:${e}`,content:t},e))):null}function na(e){return e?Object.entries(e).map((([e,t])=>n("meta",{name:`twitter:${e}`,content:t},e))):null}function ra(e){const{mobile:t,...n}=e;return n}function aa(e){return e?.filter((e=>{return t=e?.type,(t||"")in Zr;var t})).map(ra)}e.Blocks=Zr,e.ContentPage=Xr,e.ContentPageHead=ea,e.DaDataAPI=function(e=""){return{getFetcherAddress:async function(){if(!("geolocation"in navigator))return null;try{const t=await(async()=>new Promise((e=>navigator.geolocation.getCurrentPosition((({coords:t})=>e(t))))))(),n=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await n.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}},e.Header=nr,e.Icon=p,e.LikeAPI=function(e,t=""){async function n(){try{const e=JSON.parse(globalThis.localStorage.getItem(l)||"");if(e?.token)return e}catch(e){}try{const e=await fetch(`${t}/assist/v1/public/auth`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({prefix:"guest"})}),{token:n,name:r}=await e.json();return globalThis.localStorage.setItem(l,JSON.stringify({token:n,name:r})),{token:n,name:r}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...r){if(!r.length)return[];const{token:a}=await n();try{const n=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:a},body:JSON.stringify({node_ids:r})}),{likes:l}=await n.json();return l||[]}catch(e){return console.error(e),[]}},like:async function(r){if(!r)return 0;const{token:a,name:l}=await n();try{const n=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:a,UserID:l},body:JSON.stringify({node_id:r,user_name:l})}),{likes:i}=await n.json();return i||0}catch(e){return console.error(e),0}},dislike:async function(r){if(!r)return 0;const{token:a,name:l}=await n();try{const n=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:a,UserID:l},body:JSON.stringify({node_id:r,user_name:l})}),{likes:i}=await n.json();return i||0}catch(e){return console.error(e),0}}}},e.joinList=E,e.normalizePage=function(e){if(!e)return;const{blocks:t,slots:n}=e;return{...e,blocks:aa(t),slots:n&&Object.keys(n).reduce(((e,t)=>({...e,[t]:{...n[t],blocks:aa(n[t].blocks)}})),{})}},e.projectSettings=m,e.setup=t,e.url=j,Object.defineProperty(e,"__esModule",{value:!0})}));
@@ -0,0 +1 @@
1
+ <svg id="icon" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7 11.834 3 8.001l4-3.834" stroke="currentColor" stroke-width="2" stroke-linecap="round"/><path d="M14 9.002a1 1 0 1 0 0-2v2Zm-6-2a1 1 0 0 0 0 2v-2Zm6 0H8v2h6v-2Z" fill="currentColor"/></svg>
@@ -1 +1 @@
1
- <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3 6h18M9.49 12H21M3 12h2.99M3 18h18" stroke="#1C1C1C" stroke-width="2" stroke-linecap="round"/></svg>
1
+ <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3 6h18M9.49 12H21M3 12h2.99M3 18h18" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></svg>
@@ -1 +1 @@
1
- <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.5 9.09h17" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M3 13.01V8.5c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5V17c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5" stroke="#1C1C1C" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M11.995 13.7h.01m-3.711 0h.01m-.01 3h.01" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M8 2v3m8-3v3" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/></svg>
1
+ <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.5 9.09h17M3 13.01V8.5c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5V17c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M11.995 13.7h.01m-3.711 0h.01m-.01 3h.01" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M8 2v3m8-3v3" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -1 +1 @@
1
- <svg id="icon" fill="none" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M9.89 5.83v2m4.22-2v2m-6.58 2.31h8.94m-2.97 7.53h-3c-2.5 0-4-1.8-4-4v-3c0-2.2 1.5-4 4-4h3c2.5 0 4 1.8 4 4v3c0 2.2-1.5 4-4 4Z" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M4 6c-1.25 1.67-2 3.75-2 6 0 5.52 4.48 10 10 10s10-4.48 10-10S17.52 2 12 2c-1.43 0-2.8.3-4.03.85" stroke="#1C1C1C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
1
+ <svg id="icon" fill="none" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M9.89 5.83v2m4.22-2v2m-6.58 2.31h8.94m-2.97 7.53h-3c-2.5 0-4-1.8-4-4v-3c0-2.2 1.5-4 4-4h3c2.5 0 4 1.8 4 4v3c0 2.2-1.5 4-4 4Z" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M4 6c-1.25 1.67-2 3.75-2 6 0 5.52 4.48 10 10 10s10-4.48 10-10S17.52 2 12 2c-1.43 0-2.8.3-4.03.85" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -1 +1 @@
1
- <svg id="icon" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path stroke="#1C1C1C" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" d="M8 2v3m8-3v3M3.5 9.09h17M3 13.01V8.5c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5V17c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M15.991 13h.018m-.018 4.006h.018M11.991 13h.018m-.018 4.006h.018M7.991 13h.018m-.018 4.006h.018"/></svg>
1
+ <svg id="icon" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" d="M8 2v3m8-3v3M3.5 9.09h17M3 13.01V8.5c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5V17c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5"/><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M15.991 13h.018m-.018 4.006h.018M11.991 13h.018m-.018 4.006h.018M7.991 13h.018m-.018 4.006h.018"/></svg>
@@ -1 +1 @@
1
- <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 2v3m8-3v3M3.5 9.09h17M3 13.1V8.5c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5v7.86c-.73-.83-1.8-1.36-3-1.36-2.21 0-4 1.79-4 4 0 .75.21 1.46.58 2.06.21.36.48.68.79.94H8c-3.5 0-5-2-5-5" stroke="#1C1C1C" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M11.995 13.7h.01m-3.711 0h.01m-.01 3h.01" stroke="#1C1C1C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M22 19c0 .75-.21 1.46-.58 2.06A3.97 3.97 0 0 1 18 23c-1.01 0-1.93-.37-2.63-1-.31-.26-.58-.58-.79-.94A3.92 3.92 0 0 1 14 19c0-2.21 1.79-4 4-4 1.2 0 2.27.53 3 1.36A4 4 0 0 1 22 19Z" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="m16.44 19 .99.99 2.13-1.97" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
1
+ <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 2v3m8-3v3M3.5 9.09h17M3 13.1V8.5c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5v7.86c-.73-.83-1.8-1.36-3-1.36-2.21 0-4 1.79-4 4 0 .75.21 1.46.58 2.06.21.36.48.68.79.94H8c-3.5 0-5-2-5-5" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M11.995 13.7h.01m-3.711 0h.01m-.01 3h.01" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M22 19c0 .75-.21 1.46-.58 2.06A3.97 3.97 0 0 1 18 23c-1.01 0-1.93-.37-2.63-1-.31-.26-.58-.58-.79-.94A3.92 3.92 0 0 1 14 19c0-2.21 1.79-4 4-4 1.2 0 2.27.53 3 1.36A4 4 0 0 1 22 19Z" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="m16.44 19 .99.99 2.13-1.97" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -1 +1 @@
1
- <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#fff" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round" d="M8 2v3m8-3v3M3.5 9.09h17M3 13.01V8.5c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5V17c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5"/><path stroke="#fff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" d="M15.991 13h.018m-.018 4.006h.018M11.991 13h.018m-.018 4.006h.018M7.991 13h.018m-.018 4.006h.018"/></svg>
1
+ <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round" d="M8 2v3m8-3v3M3.5 9.09h17M3 13.01V8.5c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5V17c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5"/><path stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" d="M15.991 13h.018m-.018 4.006h.018M11.991 13h.018m-.018 4.006h.018M7.991 13h.018m-.018 4.006h.018"/></svg>
@@ -1 +1 @@
1
- <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2 8.5h20" stroke="#1C1C1C" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M6 16.5h2m2.5 0h4" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M22 14.99v1.12c0 3.51-.89 4.39-4.44 4.39H6.44C2.89 20.5 2 19.62 2 16.11V7.89c0-3.51.89-4.39 4.44-4.39h11.11c3.56 0 4.45.88 4.45 4.39v3.09" stroke="#1C1C1C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
1
+ <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2 8.5h20M6 16.5h2m2.5 0h4" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M22 14.99v1.12c0 3.51-.89 4.39-4.44 4.39H6.44C2.89 20.5 2 19.62 2 16.11V7.89c0-3.51.89-4.39 4.44-4.39h11.11c3.56 0 4.45.88 4.45 4.39v3.09" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -1 +1 @@
1
- <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.93 15.88 15.88 3.93" stroke="#1C1C1C" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="m11.1 18.28 1.2-1.2m1.49-1.49 2.39-2.39" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M20.43 8.48c2.1 2.1 2.09 3.16-.03 5.28l-6.64 6.64c-2.12 2.12-3.18 2.13-5.28.03l-4.91-4.91c-2.1-2.1-2.09-3.16.03-5.28l6.64-6.64c2.12-2.12 3.18-2.13 5.28-.03l1.9 1.9M2 22h20" stroke="#1C1C1C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
1
+ <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.93 15.88 15.88 3.93M11.1 18.28l1.2-1.2m1.49-1.49 2.39-2.39" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M20.43 8.48c2.1 2.1 2.09 3.16-.03 5.28l-6.64 6.64c-2.12 2.12-3.18 2.13-5.28.03l-4.91-4.91c-2.1-2.1-2.09-3.16.03-5.28l6.64-6.64c2.12-2.12 3.18-2.13 5.28-.03l1.9 1.9M2 22h20" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -1 +1 @@
1
- <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2 8.5h11.5m-7.5 8h2m2.5 0h4" stroke="#1C1C1C" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M2 11.01V7.89c0-3.51.89-4.39 4.44-4.39h7.06m8.5 7.53v5.08c0 3.51-.89 4.39-4.44 4.39H6.44C2.89 20.5 2 19.62 2 16.11v-1.1" stroke="#1C1C1C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16.5 6 18 7.5l4-4" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
1
+ <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2 8.5h11.5m-7.5 8h2m2.5 0h4" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M2 11.01V7.89c0-3.51.89-4.39 4.44-4.39h7.06m8.5 7.53v5.08c0 3.51-.89 4.39-4.44 4.39H6.44C2.89 20.5 2 19.62 2 16.11v-1.1M16.5 6 18 7.5l4-4" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -1 +1 @@
1
- <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2 12.83V15c0 5 2 7 7 7h6c5 0 7-2 7-7V9c0-5-2-7-7-7H9C4 2 2 4 2 9" stroke="#1C1C1C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 9.08c0 .496-.156.953-.425 1.35-.659.964-2.01 1.57-3.575 1.57-1.564 0-2.916-.616-3.575-1.57A2.394 2.394 0 0 1 8 9.08c0-.855.447-1.62 1.162-2.176.726-.566 1.72-.904 2.827-.904 1.106 0 2.1.348 2.827.904C15.553 7.45 16 8.225 16 9.079Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 9.18v2.813C16 13.753 14.21 15 12.006 15 9.8 15 8 13.742 8 11.993V9.181C8 7.42 9.79 6 12.006 6c1.107 0 2.103.358 2.83.93C15.552 7.504 16 8.302 16 9.18Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 12.18v2.813C16 16.753 14.21 18 12.006 18 9.8 18 8 16.742 8 14.993v-2.812" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
1
+ <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2 12.83V15c0 5 2 7 7 7h6c5 0 7-2 7-7V9c0-5-2-7-7-7H9C4 2 2 4 2 9" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 9.08c0 .496-.156.953-.425 1.35-.659.964-2.01 1.57-3.575 1.57-1.564 0-2.916-.616-3.575-1.57A2.394 2.394 0 0 1 8 9.08c0-.855.447-1.62 1.162-2.176.726-.566 1.72-.904 2.827-.904 1.106 0 2.1.348 2.827.904C15.553 7.45 16 8.225 16 9.079Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 9.18v2.813C16 13.753 14.21 15 12.006 15 9.8 15 8 13.742 8 11.993V9.181C8 7.42 9.79 6 12.006 6c1.107 0 2.103.358 2.83.93C15.552 7.504 16 8.302 16 9.18Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M16 12.18v2.813C16 16.753 14.21 18 12.006 18 9.8 18 8 16.742 8 14.993v-2.812" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -1 +1 @@
1
- <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.703 5.112A.995.995 0 1 1 5.11 3.705l6.221 6.22a.995.995 0 0 1-1.407 1.408L3.703 5.112ZM12.668 14.077a.995.995 0 1 1 1.407-1.408l6.221 6.222a.995.995 0 1 1-1.407 1.407l-6.221-6.221ZM14.075 11.332a.995.995 0 1 1-1.407-1.407l6.22-6.222a.995.995 0 0 1 1.408 1.407l-6.221 6.222ZM5.11 20.226a.995.995 0 0 1-1.407-1.407l6.221-6.221a.995.995 0 0 1 1.407 1.407l-6.22 6.221Z" fill="#1C1C1C"/></svg>
1
+ <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3.703 5.112A.995.995 0 1 1 5.11 3.705l6.221 6.22a.995.995 0 0 1-1.407 1.408L3.703 5.112ZM12.668 14.077a.995.995 0 1 1 1.407-1.408l6.221 6.222a.995.995 0 1 1-1.407 1.407l-6.221-6.221ZM14.075 11.332a.995.995 0 1 1-1.407-1.407l6.22-6.222a.995.995 0 0 1 1.408 1.407l-6.221 6.222ZM5.11 20.226a.995.995 0 0 1-1.407-1.407l6.221-6.221a.995.995 0 0 1 1.407 1.407l-6.22 6.221Z" fill="currentColor"/></svg>
@@ -1 +1 @@
1
- <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m14.66 20.01-1.52 1.52c-.62.62-1.64.62-2.26 0l-1.52-1.52c-.26-.26-.77-.47-1.13-.47H6.08c-.88 0-1.6-.72-1.6-1.6v-2.15c0-.36-.21-.87-.47-1.13l-1.52-1.52c-.62-.62-.62-1.64 0-2.26l1.52-1.52c.26-.26.47-.77.47-1.13V6.08c0-.88.72-1.6 1.6-1.6m3.26-.49 1.52-1.52c.62-.62 1.64-.62 2.26 0l1.52 1.52c.26.26.77.47 1.13.47h2.15c.88 0 1.6.72 1.6 1.6v2.15c0 .36.21.87.47 1.13l1.52 1.52c.62.62.62 1.64 0 2.26l-1.52 1.52c-.26.26-.47.77-.47 1.13v2.15c0 .88-.72 1.6-1.6 1.6" stroke="#1C1C1C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="m9 15 6-6m-.505 5.5h.009m-5.009-5h.008" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
1
+ <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m14.66 20.01-1.52 1.52c-.62.62-1.64.62-2.26 0l-1.52-1.52c-.26-.26-.77-.47-1.13-.47H6.08c-.88 0-1.6-.72-1.6-1.6v-2.15c0-.36-.21-.87-.47-1.13l-1.52-1.52c-.62-.62-.62-1.64 0-2.26l1.52-1.52c.26-.26.47-.77.47-1.13V6.08c0-.88.72-1.6 1.6-1.6m3.26-.49 1.52-1.52c.62-.62 1.64-.62 2.26 0l1.52 1.52c.26.26.77.47 1.13.47h2.15c.88 0 1.6.72 1.6 1.6v2.15c0 .36.21.87.47 1.13l1.52 1.52c.62.62.62 1.64 0 2.26l-1.52 1.52c-.26.26-.47.77-.47 1.13v2.15c0 .88-.72 1.6-1.6 1.6M9 15l6-6m-.505 5.5h.009m-5.009-5h.008" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -1 +1 @@
1
- <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.809 2.759A2.813 2.813 0 0 1 11.742 2h5.524C18.776 2 20 3.16 20 4.59v13.82c0 1.43-1.224 2.59-2.734 2.59H6.734C5.224 21 4 19.84 4 18.41v-5.95c0-.477.408-.864.911-.864.504 0 .912.387.912.864v5.95c0 .476.408.863.911.863h10.532c.503 0 .911-.387.911-.864V4.591c0-.477-.408-.864-.911-.864h-5.367v4.03c0 .955-.816 1.728-1.823 1.728H4.911c-.368 0-.7-.21-.842-.533a.83.83 0 0 1 .198-.941l5.542-5.252Zm.267 2.19L7.112 7.758h2.964v-2.81Z" fill="#1C1C1C"/><rect x="8" y="12" width="8" height="2" rx="1" fill="currentColor"/><rect x="8" y="15" width="5" height="2" rx="1" fill="currentColor"/></svg>
1
+ <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M9.809 2.759A2.813 2.813 0 0 1 11.742 2h5.524C18.776 2 20 3.16 20 4.59v13.82c0 1.43-1.224 2.59-2.734 2.59H6.734C5.224 21 4 19.84 4 18.41v-5.95c0-.477.408-.864.911-.864.504 0 .912.387.912.864v5.95c0 .476.408.863.911.863h10.532c.503 0 .911-.387.911-.864V4.591c0-.477-.408-.864-.911-.864h-5.367v4.03c0 .955-.816 1.728-1.823 1.728H4.911c-.368 0-.7-.21-.842-.533a.83.83 0 0 1 .198-.941l5.542-5.252Zm.267 2.19L7.112 7.758h2.964v-2.81Z" fill="currentColor"/><rect x="8" y="12" width="8" height="2" rx="1" fill="currentColor"/><rect x="8" y="15" width="5" height="2" rx="1" fill="currentColor"/></svg>
@@ -1 +1 @@
1
- <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3 7c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5v10c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5v-5.98" stroke="#1C1C1C" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M14.5 4.5v2c0 1.1.9 2 2 2h2" stroke="#1C1C1C" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M8 13h4M8 17h8" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/></svg>
1
+ <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M3 7c0-3 1.5-5 5-5h8c3.5 0 5 2 5 5v10c0 3-1.5 5-5 5H8c-3.5 0-5-2-5-5v-5.98" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M14.5 4.5v2c0 1.1.9 2 2 2h2M8 13h4M8 17h8" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/></svg>
@@ -1 +1 @@
1
- <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 13.24v-1.73c0-2.07 1.69-3.76 3.76-3.76h11.48c2.07 0 3.76 1.69 3.76 3.76v1.44h-2.02c-.56 0-1.07.22-1.44.6-.42.41-.66 1-.6 1.63.09 1.08 1.08 1.87 2.16 1.87h1.9v1.19c0 2.07-1.69 3.76-3.76 3.76h-5.48" stroke="#1C1C1C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M22.56 13.97v2.06c0 .55-.44 1-1 1.02H19.6c-1.08 0-2.07-.79-2.16-1.87-.06-.63.18-1.22.6-1.63.37-.38.88-.6 1.44-.6h2.08c.56.02 1 .47 1 1.02ZM7 12h7" stroke="#1C1C1C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M3 16.5h5.34c.64 0 1.16.52 1.16 1.16v1.28" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M4.22 15.28 3 16.5l1.22 1.22m5.28 4.06H4.16c-.64 0-1.16-.52-1.16-1.16v-1.28" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="m8.28 23 1.22-1.22-1.22-1.22" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M12.28 2.17a1.9 1.9 0 0 1 2.57 1.78v3.8M2.5 12.41V7.84c0-1.19.73-2.25 1.84-2.67l3.97-1.5" stroke="#1C1C1C" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
1
+ <svg id="icon" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M2.5 13.24v-1.73c0-2.07 1.69-3.76 3.76-3.76h11.48c2.07 0 3.76 1.69 3.76 3.76v1.44h-2.02c-.56 0-1.07.22-1.44.6-.42.41-.66 1-.6 1.63.09 1.08 1.08 1.87 2.16 1.87h1.9v1.19c0 2.07-1.69 3.76-3.76 3.76h-5.48" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M22.56 13.97v2.06c0 .55-.44 1-1 1.02H19.6c-1.08 0-2.07-.79-2.16-1.87-.06-.63.18-1.22.6-1.63.37-.38.88-.6 1.44-.6h2.08c.56.02 1 .47 1 1.02ZM7 12h7" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/><path d="M3 16.5h5.34c.64 0 1.16.52 1.16 1.16v1.28" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M4.22 15.28 3 16.5l1.22 1.22m5.28 4.06H4.16c-.64 0-1.16-.52-1.16-1.16v-1.28" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="m8.28 23 1.22-1.22-1.22-1.22" stroke="currentColor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/><path d="M12.28 2.17a1.9 1.9 0 0 1 2.57 1.78v3.8M2.5 12.41V7.84c0-1.19.73-2.25 1.84-2.67l3.97-1.5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>